ChangeLog 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126
  1. 2008-01-09 Jonathan Pobst <[email protected]>
  2. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  3. [Fixes bug #323552]
  4. 2008-01-09 Geoff Norton <[email protected]>
  5. * XplatUICarbon.cs: Scroll windows in the correct direction.
  6. 2008-01-09 Geoff Norton <[email protected]>
  7. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  8. when the app is deactivated or spaces is enabled.
  9. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  10. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  11. extra separation pixel for the label rect origin if SmallImageList is
  12. null, and thus we don't need that separation between icon and label
  13. rects.
  14. Patch by Ernesto Carrea.
  15. Fixes # 340195.
  16. 2008-01-08 Jonathan Pobst <[email protected]>
  17. * StatusStrip.cs: Invalidate after completing a layout. The base
  18. OnLayout does this, but we don't call the base.
  19. * ToolStripItem.cs: Revert the previous change to invalidate after
  20. the item moves.
  21. [Fixes bug #351341 better.]
  22. 2008-01-07 Geoff Norton <[email protected]>
  23. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  24. not a notification to exit the application. Listen for WM_QUIT
  25. instead.
  26. 2008-01-07 Andreia Gaita <[email protected]>
  27. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  28. 2008-01-07 Jonathan Pobst <[email protected]>
  29. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  30. so it can repaint at the correct location.
  31. [Fixes bug #351341]
  32. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  33. * ListControl.cs: SelectedValue should return a null value if
  34. SelectedIndex is -1. Also, when setting it, it should throw an
  35. ArgumentNullException if the value is null, as well as taking
  36. into account the String.Empty value, instead of ignoring it (we have
  37. tests for that now).
  38. Fixes part of #324286.
  39. 2008-01-06 Jonathan Pobst <[email protected]>
  40. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  41. SelectionStart is updated after pressing enter. Fixes bug #351918.
  42. 2008-01-05 Jonathan Pobst <[email protected]>
  43. * TextControl.cs: Revert a piece r92316 that prevented the fix
  44. from working when there were multiple tags in the text box.
  45. Fixes bug #351881.
  46. 2008-01-05 Jonathan Pobst <[email protected]>
  47. * TextControl.cs: Apply patch from Luke Page that prevents an
  48. NRE when determining the beginning of a paragraph.
  49. Fixes bug #351886.
  50. 2008-01-05 Jonathan Pobst <[email protected]>
  51. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  52. caret gets moved with clicking away from a selected block of
  53. text. Fixes bug #351885.
  54. 2008-01-05 Jonathan Pobst <[email protected]>
  55. * TextControl.cs: Apply patch from Luke Page that takes line
  56. alignment into account for mouse selection, so that center and
  57. right aligned text can be selected.
  58. Fixes bug #351881.
  59. 2008-01-05 Jonathan Pobst <[email protected]>
  60. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  61. issues after loading an RTF file by using the correct line feeds.
  62. Fixes bug #351841.
  63. 2008-01-05 Jonathan Pobst <[email protected]>
  64. * TextControl.cs: When deleting multiple line selections, we need
  65. to invalidate every line beginning at the first line of the selection.
  66. Patch from Luke Page fixes bug #351791.
  67. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  68. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  69. event, don't set SelectedIndex if the number of items is 1. This is
  70. because, for the first item, PositionChanged is fired _before_
  71. ItemChanged (the place where we actually populate the items), and
  72. leave us in a temporary invalid state (since items collection is
  73. empty).
  74. Fixes #349655.
  75. 2008-01-04 Geoff Norton <[email protected]>
  76. * XplatUICarbon.cs: Create native toolwindows instead of
  77. the managed drawing ones.
  78. 2008-01-03 Jonathan Pobst <[email protected]>
  79. * LineTag.cs: If the line doesn't have any characters, return
  80. 0 for GetCharIndex. Fixes an AOORE exception after certain
  81. caret movements. Fixes bug #351683. Patch by Luke Page.
  82. 2008-01-03 Jonathan Pobst <[email protected]>
  83. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  84. is hit when there is selected text, only the selected text gets
  85. deleted, not the character in front of the selection as well.
  86. Fixes bug #351578.
  87. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  88. * ComboBox.cs: When the values are displayed, calculate the
  89. ComboListBox scrollbar's LargeChange based on the visible area's
  90. height and the actuall ItemHeight, instead of calculating it
  91. based on MaxDropItems value, since it's not used by our _current_
  92. 2.0 profile.
  93. Fixes #332366.
  94. 2008-01-03 Jonathan Pobst <[email protected]>
  95. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  96. Patch from Luke Page that fixes issues with font colors and styles
  97. not showing up in a readonly RichTextBox. Fixes bug #324354.
  98. 2008-01-03 Jonathan Pobst <[email protected]>
  99. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  100. from Luke Page. This one fixes bug #349926.
  101. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  102. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  103. an item in the IBindingList source changes with
  104. ListChangedType.ItemAdded. Ignore for now firing the event for other
  105. changes, since we want to have tests for those cases as well.
  106. 2007-12-28 Jonathan Pobst <[email protected]>
  107. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  108. created.
  109. 2007-12-28 Jonathan Pobst <[email protected]>
  110. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  111. character. This is effective because the typical usage of a
  112. TextBox is with a limited amount of fonts and characters, and
  113. the current implementation of TextBox measures everything one
  114. character at a time. Another second or two speedup for bug #347238.
  115. 2007-12-28 Jonathan Pobst <[email protected]>
  116. * Control.cs: Rewrite the Font getter to only query the parent's
  117. Font property once instead of twice. Since this operation is
  118. recursive, the queries were growing exponentially as the control
  119. tree got deeper. Another second or two speedup for bug #347238.
  120. 2007-12-28 Jonathan Pobst <[email protected]>
  121. * Control.cs: Avoid setting a parent (and more importantly, updating
  122. the zorder of all its children) if the parent is already correct in
  123. WmShowWindow. Decreases the startup time of the test case on bug
  124. #347238 from 35 seconds to 11 seconds.
  125. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  126. * X11Dnd.cs: When the dnd operation has started and we are
  127. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  128. This is done to match .Net, which doesn't send those messages after
  129. dnd operation was completed/cancelled.
  130. Fixes #349922.
  131. 2007-12-27 Jonathan Pobst <[email protected]>
  132. * ToolStrip.cs: Previous change should be != null, not == null.
  133. Thanks Gert!
  134. 2007-12-27 Jonathan Pobst <[email protected]>
  135. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  136. user may have moved the mouse off the current item during the event.
  137. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  138. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  139. calling GetItemAt for every MouseMove event by also taking into
  140. account whether any mouse button is pressed (probably dragging);
  141. if so, we can call GetItemAt, and if not, try to not call it
  142. (GetItemAt can be quite expensive when used with a large number of items).
  143. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  144. * ListView.cs: Implement -finally- support for dnd, by calling
  145. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  146. authors list ;-).
  147. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  148. simple calculation of distances for all the items in the owner
  149. listview.
  150. 2007-12-21 Geoff Norton <[email protected]>
  151. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  152. for windows that are originally created as invisible. Fixes missing
  153. main window in paint-mono.
  154. 2007-12-21 Geoff Norton <[email protected]>
  155. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  156. subclass handler for com.novell.mwfview subclassing HIView. Implement
  157. Pasteboard and Dnd methods.
  158. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  159. * ListBox.cs: When we got focus, give focus to first item if there
  160. wasn't any pervious focused item. Also update navigation to depend on
  161. SelectedIndex rather than FocusedItem, just as .Net does.
  162. Fixes #349174.
  163. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  164. * ListBox.cs: Both FindString and FindStringExact methods must do an
  165. case insensitive search, should allow the last valid index to be
  166. passed in the overload taking an initial index, and should also
  167. continue searching from the top back to the specified index when it
  168. reaches the bottom.
  169. 2007-12-19 Jonathan Pobst <[email protected]>
  170. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  171. redraw issue, and allows RichTextBox to draw colored text even while
  172. disabled or readonly.
  173. 2007-12-19 Jonathan Pobst <[email protected]>
  174. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  175. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  176. and doesn't grey text in a disabled RichTextBox.
  177. 2007-12-19 Jonathan Pobst <[email protected]>
  178. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  179. for many RTF commands: quad alignment, separate formatting for blocks
  180. inside groups, and ParDef support. Makes the test case from bug #324589
  181. look much better.
  182. 2007-12-19 Jonathan Pobst <[email protected]>
  183. * LineTag.cs: Fix an error in the new Draw method that caused
  184. a crash when rendering the document on bug #324589.
  185. 2007-12-19 Jonathan Pobst <[email protected]>
  186. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  187. TextControl.cs: Apply patch from Luke Page that adds support
  188. for URL links in RichTextBox.
  189. [Fixes enhancement #342516]
  190. 2007-12-18 Everaldo Canuto <[email protected]>
  191. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  192. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  193. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  194. * ListBox.cs: When a key gets pressed, try to find a string
  195. if the key is a character or a digit.
  196. Fixes #343971.
  197. 2007-12-17 Jonathan Pobst <[email protected]>
  198. * TableLayoutPanel.cs: Remove some unused variables.
  199. 2007-12-17 Jonathan Pobst <[email protected]>
  200. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  201. we don't end up at an invalid date when we click the up/down
  202. spinner to change the month or year. Fixes bug #348682.
  203. 2007-12-17 Jonathan Pobst <[email protected]>
  204. * Application.cs: Calling Exit in 2.0 should chain to the
  205. Exit (CancelEventArgs) version so it can be cancelled.
  206. * Form.cs: Create a flag to allow raising the Closing
  207. events to be skipped. We raise them once in Application.Exit
  208. and don't want to raise them again when the Form is actually
  209. closed. [Fixes bug #349073]
  210. 2007-12-16 Jonathan Pobst <[email protected]>
  211. * ToolStripDropDown.cs: Guard against an NRE when there
  212. hasn't been a mainform set in the application context.
  213. [Fixes bug #349108]
  214. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  215. * ListBox.cs: When SetBoundsCore gets called, besides
  216. calling UpdateScrollBars, update the value of
  217. last_visible_index, since we could need to show more items
  218. than before, and we need to let the paint routines know that.
  219. Fixes #344445.
  220. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  221. * ListView.cs: Add DesignerSerializationVisibility attribute to
  222. InsertionMark property.
  223. * ListViewItem.cs: Add same attribute to Position property.
  224. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  225. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  226. is 2.0 only.
  227. 2007-12-14 Jonathan Pobst <[email protected]>
  228. * ThemeWin32Classic.cs: Don't draw the background on a
  229. flat button if there is a background image.
  230. [Fixes bug #348649]
  231. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  232. * ListBox.cs: If we remove the item currently selected,
  233. remove it not only from SelectedItems, but also
  234. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  235. the items count decreased and focused_item has bigger value than that.
  236. 2007-12-13 Jonathan Pobst <[email protected]>
  237. * Control.cs: Perform our layout after we resize ourselves
  238. if we had to adjust our AutoSize. Missed commit for bug
  239. #346246.
  240. 2007-12-13 Jonathan Pobst <[email protected]>
  241. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  242. we can provide an implementation of AutoSize.
  243. [Fixes bug #346246]
  244. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  245. * ListBox.cs: Add the internal overload Sort (bool paint),
  246. to indicate whether we actually need a paint or we will
  247. call Refresh ourselves. This way we don't request a paint
  248. _before_ having an updated and valid layout.
  249. Fixes #347233.
  250. 2007-12-12 Andreia Gaita <[email protected]>
  251. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  252. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  253. properly invalidated.
  254. Fixes #324237
  255. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  256. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  257. don't simply assign it to our internal group field, but instead
  258. use our Group property, which should do all the neccessary work
  259. required to support groups. Fixes an issue reported to me (mail) by a
  260. guy using this new feature.
  261. 2007-12-11 Jonathan Pobst <[email protected]>
  262. * Control.cs: Use Scale instead of ScaleControl to ensure the
  263. whole hierarchy gets scaled.
  264. [Fixes bug #347282]
  265. 2007-12-10 Jonathan Pobst <[email protected]>
  266. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  267. Parent property. Doing this causes the control to be hosted by
  268. the Form instead of being a popup window.
  269. [Fixes bug #347665]
  270. 2007-12-10 Jonathan Pobst <[email protected]>
  271. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  272. at an index higher than Count, just use Add instead of Insert.
  273. [Fixes bug #347669]
  274. 2007-12-10 Jonathan Pobst <[email protected]>
  275. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  276. DrawPictureBox, this is handled by Control.PaintBackground.
  277. [Fixes bug #347276]
  278. 2007-12-10 Everaldo Canuto <[email protected]>
  279. * MenuAPI.cs: When process menu keys return true by default only if menu is
  280. active. Fixes bug #342892.
  281. 2007-12-09 Andreia Gaita <[email protected]>
  282. * Control.cs: check if windows are actually mapped before
  283. trying to zorder. Fixes #342509, #346955
  284. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  285. * ListView.cs:
  286. * ListViewInsertionMark.cs:
  287. * ThemeWin32Classic.cs: Implement the drawing side of the
  288. new 2.0 ListView.InsertionMark property.
  289. 2007-12-07 Jonathan Pobst <[email protected]>
  290. * CurrencyManager.cs: Silence some debug spew.
  291. 2007-12-07 Geoff Norton <[email protected]>
  292. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  293. masks for our children as well as siblings to avoid having to query
  294. Quartz for this information.
  295. * XplatUICarbon.cs: Implement a delegate based system to pass
  296. information to System.Drawing. Implement Async methods. Remove
  297. the hack for the resize thumb and imlpement a transparent Grow Box.
  298. Rework the messaging system to proplery create window's and messages,
  299. fixes TabControl.
  300. 2007-12-06 Andreia Gaita <[email protected]>
  301. * X11Keyboard.cs: Use Xutf8LookupString to support international
  302. characters under alternate codepages. Patch from #340878
  303. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  304. * ListView.cs: When doing layout computations, set position in the
  305. ListView instances (we cache the position just as .Net does).
  306. * ListViewItem.cs: New internal setter method for Position. Also set
  307. position field as also available in 1.1, since we are going to use it
  308. now in the common case.
  309. 2007-12-06 Andreia Gaita <[email protected]>
  310. * Control.cs: When removing controls, get the actual container
  311. to notify about active control changes. Fixes 341314.
  312. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  313. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  314. 2007-12-05 Andreia Gaita <[email protected]>
  315. * Control.cs: When updating the zorder, ignore windows that are not
  316. mapped. Fixes #342509
  317. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  318. * ListViewItem.cs: Actually implement serialization on this class.
  319. 2007-12-05 Gert Driesen <[email protected]>
  320. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  321. LinkCollection. Spaces to tabs, and removed extra tabs.
  322. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  323. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  324. tests to fail (hopefully).
  325. 2007-12-03 Jonathan Pobst <[email protected]>
  326. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  327. the image margin so custom renderers can correctly place it.
  328. 2007-12-03 Jonathan Pobst <[email protected]>
  329. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  330. so custom renderers can correctly place it.
  331. 2007-12-03 Jonathan Pobst <[email protected]>
  332. * Application.cs: Let WM_CHAR messages flow through to controls
  333. hosted in Strips. [Fixes bug #343972]
  334. 2007-12-02 Jonathan Pobst <[email protected]>
  335. * ToolStripManager.cs: Guard against an NRE I ran into.
  336. 2007-12-02 Jonathan Pobst <[email protected]>
  337. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  338. a Link is manually added to the Links collection, we need to set
  339. its owner, so it can invalidate properly.
  340. [Fixes bug #344012]
  341. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  342. * ListView.cs: When changing ListViewItem.Position (which calls
  343. ListView.ChangeItemLocation), invalidate not only the area
  344. corresponding to the main item, but also to the area occupied
  345. by the items being moved.
  346. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  347. * ListView.cs: When changing the position of a given item,
  348. don't use item bounds, but item areas (which includes the item spacing
  349. between them). Also, use first/last position if the requested
  350. position is outside bounds (as .Net does). Invalidate the previous and
  351. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  352. in a specific position, instead of directly accessing Items collection
  353. (this is done to get the right item - remember an Item can have a
  354. different position in the grid than in the Items collection).
  355. 2007-11-23 Everaldo Canuto <[email protected]>
  356. * MessageBox.cs: Calculate text area instead of just top left, this rect
  357. area will be used in DrawString. Fixes bug #343364.
  358. 2007-11-23 Everaldo Canuto <[email protected]>
  359. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  360. screen width. Partially fixes bug #343364.
  361. 2007-11-23 Everaldo Canuto <[email protected]>
  362. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  363. code inside recalculate, it makes code more simple.
  364. 2007-11-22 Everaldo Canuto <[email protected]>
  365. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  366. between update or add icon. Fixes bug #324344.
  367. 2007-11-21 Andreia Gaita <[email protected]>
  368. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  369. window manager, since that stretches the drawing area to include
  370. the window decorations, and they get hidden. Reverts r84444 and fixes
  371. #335849 and #342790 (mdi and pdn3 regression)
  372. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  373. * ListView.cs: When setting focused item, try to give focus to the
  374. previous one _only_ if the previous one remains valid.
  375. Fixes #342504.
  376. 2007-11-20 Jonathan Pobst <[email protected]>
  377. * Application.cs: Revert r89650, as it broke a common case to fix
  378. an obscure case. Fixes bug #342606.
  379. 2007-11-20 Everaldo Canuto <[email protected]>
  380. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  381. 2007-11-20 Everaldo Canuto <[email protected]>
  382. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  383. alignment. [Fixes #324228]
  384. 2007-11-19 Jonathan Pobst <[email protected]>
  385. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  386. [Fixes bug #342123]
  387. 2007-11-19 Everaldo Canuto <[email protected]>
  388. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  389. it prevent problems when empty captions. [Fixes #342141]
  390. 2007-11-19 Jonathan Pobst <[email protected]>
  391. * Label.cs: Use Size instead of None. Fixes bug #342077.
  392. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  393. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  394. 2007-11-17 Jonathan Pobst <[email protected]>
  395. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  396. but there isn't a MdiContainer.
  397. [Fixes bug #342358]
  398. 2007-11-17 Jonathan Pobst <[email protected]>
  399. * TextControl.cs: Don't recalculate document if the recalc_start and
  400. recalc_end hasn't changed.
  401. [Fixes bug #342505]
  402. 2007-11-17 Gert Driesen <[email protected]>
  403. * DataGridViewTextBoxCell.cs: Removed CWL.
  404. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  405. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  406. 2007-11-16 Jonathan Pobst <[email protected]>
  407. * TextControl.cs: Missed some code for bug 341534 to trigger a
  408. recalculation when the font changes.
  409. 2007-11-16 Andreia Gaita <[email protected]>
  410. * Control.cs: When updating the zorder, check if the child to update is
  411. the same control that is set to always be on top (i.e., scrollbars), and
  412. just put it on top directly. Fixes BadMatch error on pdn3
  413. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  414. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  415. 2007-11-16 Jonathan Pobst <[email protected]>
  416. * Control.cs: Don't perform a new layout when a label changes its text,
  417. cause label handles its own autosizing.
  418. [Fixes bug #342077]
  419. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  420. * ListView.cs: Implement 2.0 FindNearestItem methods.
  421. 2007-11-15 Jonathan Pobst <[email protected]>
  422. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  423. even if the rest of what Join does isn't supported. Add some more
  424. support for vertical toolbars.
  425. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  426. [Fixes the application breaking parts of bug #341998]
  427. 2007-11-15 Jonathan Pobst <[email protected]>
  428. * ToolStripItem.cs: When determining if we have a check/image margin,
  429. we need to look at ShowCheckMargin as well as ShowImageMargin.
  430. 2007-11-15 Geoff Norton <[email protected]>
  431. * XplatUIOSX.cs: Rename to...
  432. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  433. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  434. 2007-11-15 Jonathan Pobst <[email protected]>
  435. * KeysConverter.cs: The default values should be an array of Keys, not
  436. strings. Also, the array has more values for 2.0.
  437. [Fixes bug #341851]
  438. 2007-11-14 Jonathan Pobst <[email protected]>
  439. * Application.cs: Change ExecutablePath to use
  440. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  441. [Fixes bug #323552]
  442. 2007-11-14 Jonathan Pobst <[email protected]>
  443. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  444. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  445. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  446. be ignored. Create a new GetLineEnding that can specify which types of
  447. line endings to look for. On Insert, only create new lines for \n and \r\n.
  448. [Fixes bug #324274]
  449. 2007-11-14 Jonathan Pobst <[email protected]>
  450. * TextBoxBase.cs: As we loop through each line changing the font, tell
  451. the document that the line needs to be recalculated. Fixes bug #341534.
  452. 2007-11-13 Jonathan Pobst <[email protected]>
  453. [Another round of refactoring]
  454. * Line.cs: Add DeleteCharacters.
  455. * LineTag.cs: Add Delete.
  456. * TextBoxBase.cs: Update to use new methods.
  457. * TextControl.cs: Refactor the Delete* methods.
  458. 2007-11-13 Everaldo Canuto <[email protected]>
  459. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  460. the patch. [Fixes #324856]
  461. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  462. * ListView.cs:
  463. * ListViewItem.cs: Add an initial implementation of
  464. 2.0 ListViewItem.Position getter.
  465. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  466. * ListView.cs: Add a reordered_items_indices array, to allow us
  467. to have a different sorting than that of Items (the sorting in Items
  468. could not match the actual sorting in screen). This is needed to
  469. implement a pair of 2.0 features.
  470. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  471. actual position in the ListView grid, since it could have a position
  472. different than its Index (position in ListViewItemCollection).
  473. 2007-11-09 Jonathan Pobst <[email protected]>
  474. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  475. not draw partial lines.
  476. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  477. LineLimit flag from the base is preserved.
  478. Fixes the windows part of bug #338965.
  479. 2007-11-09 Jonathan Pobst <[email protected]>
  480. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  481. so that it can be canceled in KeyPress.
  482. Fixes bug #340078.
  483. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  484. * ListView.cs: In ItemControl, reset mouse-handling related
  485. fields even if we dont' have items (we still should reset them when
  486. we had items but then called Items.Clear). Partially based in a patch
  487. by George Giolfan.
  488. Fixes #338399.
  489. 2007-11-08 Gert Driesen <[email protected]>
  490. * Application.cs: In ProductVersion first try AssemblyFileVersion
  491. before falling back to assembly version. Fixes bug #339787.
  492. 2007-11-08 Andreia Gaita <[email protected]>
  493. * HtmlElement.cs: Implement InnerText setter.
  494. * WebBrowserBase.cs: Implement Navigated event support.
  495. Add flag to track when the browser "document" is ready to be retrieved.
  496. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  497. Make sure browser document is ready before retrieving it.
  498. Clean up cached objects (document) when moving to a new page through
  499. any of the navigation methods.
  500. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  501. Implement OnNavigated event.
  502. 2007-11-07 Jonathan Pobst <[email protected]>
  503. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  504. DrawLinkLabel, this is handled by OnPaintBackground.
  505. Fixes bug #339565, part II.
  506. 2007-11-07 Andreia Gaita <[email protected]>
  507. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  508. getting a Select call on click, so this call needs to be here for now.
  509. Unfixes #325809
  510. 2007-11-07 Geoff Norton <[email protected]>
  511. * OSXStructs.cs: Add the kEventClassApplication constants.
  512. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  513. application is deactivated otherwise Menu overlays linger on top of
  514. other application windows.
  515. 2007-11-07 Geoff Norton <[email protected]>
  516. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  517. dont support cursors yet anyways. This allows Reflector to run.
  518. 2007-11-07 Geoff Norton <[email protected]>
  519. * XplatUIOSX.cs: Implement DragSize.
  520. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  521. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  522. ItemControl, request the focus, as .Net does. This is needed after
  523. Control does not request focus anymore when it receives a
  524. WM_LBUTTONDOWN.
  525. 2007-11-06 Jonathan Pobst <[email protected]>
  526. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  527. Remove the DrawImage call from OnPaint.
  528. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  529. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  530. but before we draw the text for DrawLabel and DrawLinkLabel.
  531. Fixes bug #339565.
  532. 2007-11-05 Andreia Gaita <[email protected]>
  533. * Control.cs: Remove select call on click. Fixes #325809
  534. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  535. * ListViewItem.cs: Add 2.0 Position property getter.
  536. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  537. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  538. Also, to make it work properly, change item's BackColor and
  539. BackgroundImageLayout as needed.
  540. * ThemeWin32Classic.cs: Don't fill any background rectangle
  541. in ListView.ItemControl when drawing items; just let the Control
  542. base implementation fill it.
  543. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  544. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  545. as well as adding a custom 'dummy' Converter, as .net does.
  546. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  547. * PropertyGridView.cs: When clicking drop-down button,
  548. select an index in the listbox only if our standard values collection
  549. has one or more items.
  550. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  551. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  552. property.
  553. 2007-11-04 Gert Driesen <[email protected]>
  554. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  555. the value is not changed. This ensure a pushed button remains in that
  556. state when clicked again. When switching the value of PropertySort
  557. between Categorized and CategorizedAlphabetical, do not update the
  558. grid items and do not fire a PropertyChangedEvent. When clicking the
  559. sorting buttons, do not modify the PropertySort value when switching
  560. between Categorized and CategorizedAlphabetical but only update the
  561. button state.
  562. 2007-11-04 Gert Driesen <[email protected]>
  563. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  564. formatting.
  565. * PropertyGrid.cs: Also put Categorized button in pushed state when
  566. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  567. for help description label.
  568. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  569. * ListView.cs: When calculating the biggest item for a given column,
  570. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  571. the item's width.
  572. 2007-11-03 Gert Driesen <[email protected]>
  573. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  574. value for PropertySort on 1.0 profile. PropertySortChanged event
  575. should only be fired on 2.0 profile. Fixed NullReferenceException
  576. in UpdateSortLayout when PropertyGrid contains no items.
  577. 2007-11-02 Jonathan Pobst <[email protected]>
  578. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  579. [Fixes bug #338554]
  580. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  581. * ListViewItem.cs: Implement 2.0 IndentCount property.
  582. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  583. * X11Dnd.cs: When sending status in a dnd operation, compare current
  584. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  585. the later is only created when a Winforms application is both the
  586. source and the target, but not when we are the target only.
  587. Fixes part of #324251.
  588. 2007-11-01 Geoff Norton <[email protected]>
  589. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  590. order of Z-Order.
  591. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  592. children out of the drawing view on mac.
  593. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  594. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  595. 2007-11-01 Jonathan Pobst <[email protected]>
  596. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  597. on the non-hosted-control part of it shouldn't do anything.
  598. Fixes part of bug #327498.
  599. 2007-11-01 Andreia Gaita <[email protected]>
  600. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  601. 2007-11-01 Jonathan Pobst <[email protected]>
  602. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  603. it does not use flow through to controls that are hosted in menus.
  604. Same with mouse clicks.
  605. * Form.cs: Don't close all menus on click if the click is on a
  606. control hosted in a menu.
  607. Fixes part of bug #327498, and part of bug #325969.
  608. 2007-10-31 Andreia Gaita <[email protected]>
  609. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  610. 2007-10-31 Jonathan Pobst <[email protected]>
  611. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  612. Addresses an issue raised in bug #336218.
  613. 2007-10-30 Jonathan Pobst <[email protected]>
  614. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  615. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  616. 2007-10-30 Andreia Gaita <[email protected]>
  617. * ContainerControl.cs: Check if the active control is a
  618. child of a removed control and update active_control accordingly.
  619. Fixes #329718
  620. 2007-10-29 Jonathan Pobst <[email protected]>
  621. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  622. or the MaxDate. Fixed bug #337693.
  623. 2007-10-29 Jonathan Pobst <[email protected]>
  624. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  625. after calling SetWindowLong for a form, to force an immediate NC refresh.
  626. Fixes first part of bug #325150.
  627. 2007-10-29 Jonathan Pobst <[email protected]>
  628. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  629. simple. Fixes the last part of bug #322668.
  630. 2007-10-29 Jonathan Pobst <[email protected]>
  631. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  632. needs to be TopMost as well, or else the MessageBox is under the form.
  633. Patch by George fixes bug #325300.
  634. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  635. * X11Dnd.cs: When starting a new drag operation, reset the static
  636. 'dropped' field to false (previously the implementation didn't reset
  637. it and got confused after the first drag).
  638. Fixes #325071.
  639. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  640. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  641. items instead of re-creating them all. For this purpose we now cache
  642. both CategoryGridEntry items and the GridEntries for the main object's
  643. properties.
  644. * GridItem.cs: Make SetParent method abstract.
  645. * GridEntry.cs: Override the SetParent method (already there, but now
  646. we override it).
  647. Fixes #324866.
  648. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  649. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  650. depending on its depth (as .Net does). Update the needed values in
  651. MouseDown handler. Also draw the plus/minus rect after the label,
  652. so we don't draw on top of it.
  653. 2007-10-24 Everaldo Canuto <[email protected]>
  654. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  655. processed by forms or controls when menu is active. [Fixes #333548]
  656. 2007-10-24 Jonathan Pobst <[email protected]>
  657. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  658. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  659. focus on mouse over.
  660. 2007-10-24 Jonathan Pobst <[email protected]>
  661. * TextControl.cs: Code cleaning, simplifying.
  662. 2007-10-24 Geoff Norton <[email protected]>
  663. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  664. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  665. 2007-10-24 Jonathan Pobst <[email protected]>
  666. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  667. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  668. 2007-10-24 Andreia Gaita <[email protected]>
  669. * SendKeys.cs: apply jpobst's patch to bug #332409
  670. 2007-10-23 Andreia Gaita <[email protected]>
  671. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  672. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  673. for some reason
  674. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  675. * PropertyGridView.cs: If a property has an UIEditor available,
  676. make the drop-down/editor button available only if the property
  677. is _not_ read only.
  678. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  679. * PropertyGridView.cs: Don't make the grid item textbox
  680. editable when a drop-down control is available, but
  681. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  682. true. The same bur the color of the grid item value's label.
  683. 2007-10-22 Geoff Norton <[email protected]>
  684. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  685. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  686. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  687. driver. Padd the bottom of all real windows so the resize thumb doesn't
  688. obscure scroll/status bars.
  689. 2007-10-22 Jonathan Pobst <[email protected]>
  690. * WindowsFormsSection.cs: Implement.
  691. 2007-10-22 Everaldo Canuto <[email protected]>
  692. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  693. closed see #325434 patch.
  694. 2007-10-22 Everaldo Canuto <[email protected]>
  695. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  696. see #325434 patch.
  697. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  698. * PropertyGridView.cs: When showing the textbox for a grid item,
  699. have two local variables to store the read-only and non-editable
  700. status of a grid item (we were previously using just one variable
  701. to do this, when actually they are slightly different).
  702. Fixes part of #325023.
  703. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  704. * PropertyGridView.cs: When showing a drop-down list, try to get the
  705. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  706. part of #325023.
  707. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  708. * PropertyGrid.cs: When updating a property and populating sub grid
  709. items, remove the previous ones, and invalidate the specific area.
  710. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  711. area behind a grid item.
  712. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  713. clean the items if needed (specially for controls implementing
  714. ICustomTypeDescriptor and returning a variable number of properties).
  715. Fixes #324865.
  716. 2007-10-19 Jonathan Pobst <[email protected]>
  717. * TextControl.cs: Clean up and document the Insert function.
  718. 2007-10-17 Jonathan Pobst <[email protected]>
  719. * TextControl.cs: Make sure we know our start point for updating the view
  720. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  721. update the view.
  722. 2007-10-17 Jonathan Pobst <[email protected]>
  723. * ListView: Couple of corcompare fixes.
  724. 2007-10-17 Geoff Norton <[email protected]>
  725. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  726. the title caption of real window.
  727. 2007-10-17 Jonathan Pobst <[email protected]>
  728. * ErrorProvider.cs: Add the error provider's internal window to a
  729. containercontrol when the parent changes. [Fixes bug #329714]
  730. 2007-10-17 Geoff Norton <[email protected]>
  731. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  732. When we make a new window; restore the old active window - fixes dialogs.
  733. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  734. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  735. when modifying a property, and if found then invalidate as
  736. requested.
  737. Fixes part of #324865.
  738. 2007-10-17 Geoff Norton <[email protected]>
  739. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  740. highly experimental. Fixed coordinate translation. Fixed window locations.
  741. Initial support for clipping. Implemented NC areas and menus. Support for
  742. launching from command line from Will Johansson ([email protected]).
  743. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  744. [email protected])
  745. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  746. Hwnds now track the existence of all of their children for Mac clipping.
  747. * XplatUI.cs: Re-enabled the native driver on the Mac.
  748. 2007-10-17 Jonathan Pobst <[email protected]>
  749. * Line.cs: Move the InsertString function to here.
  750. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  751. functionality to Line.
  752. 2007-10-17 Geoff Norton <[email protected]>
  753. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  754. 2007-10-16 Gert Driesen <[email protected]>
  755. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  756. always setting value to true.
  757. * Form.cs: When changing AcceptButton, notify new and original button.
  758. 2007-10-16 Jonathan Pobst <[email protected]>
  759. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  760. a custom control that implements IButtonControl instead of an actual
  761. button. [Fixes bug #334244]
  762. 2007-10-15 Everaldo Canuto <[email protected]>
  763. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  764. MdiWindowManager.
  765. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  766. active control when activate a new mdi window.
  767. [Fixes bug #330495]
  768. 2007-10-15 Everaldo Canuto <[email protected]>
  769. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  770. is already added.
  771. [Fixes bug #333617]
  772. 2007-10-15 Jonathan Pobst <[email protected]>
  773. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  774. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  775. so we always recalculate the whole document instead of just the new part.
  776. [Fixes bug #325082]
  777. 2007-10-15 Jonathan Pobst <[email protected]>
  778. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  779. when the mouse was to the left of the first character in the line.
  780. 2007-10-15 Jonathan Pobst <[email protected]>
  781. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  782. character, use the property instead of the variable so that the
  783. UseSystemPasswordChar property is taken into account.
  784. [Fixes bug #333748]
  785. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  786. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  787. folder" contex menu appears, actually add the new folder to it, even
  788. if the node is not currently selected. Still use SelectedNode in case
  789. there wasn't found a node under the pointer.
  790. Fixes #325452.
  791. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  792. * ListViewItem.cs: When retrieving the focused state, the index check
  793. should be done only when ListView is in virtualmode, as it is an
  794. expensive check for normal mode.
  795. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  796. * ListViewItem.cs: Make the focus state information be stored
  797. in the ListView, not in the items. This is done to match the MS
  798. behaviour for items that are not yet part of a ListView control;
  799. besides that, since just one item can be focused at the same time,
  800. we save a little space in our items.
  801. Fixes part of #331643.
  802. 2007-10-13 Gert Driesen <[email protected]>
  803. * ComboBox.cs: When focus is lost, deselect the text. When setting
  804. text of control, select all text. Do not hide selection when control
  805. does not have focus. Fixes bug #333663.
  806. 2007-10-13 Gert Driesen <[email protected]>
  807. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  808. instead of ArgumentException when SelectionLength is set to negative
  809. value. Added same check to SelectionStart. Code formatting.
  810. 2007-10-13 Gert Driesen <[email protected]>
  811. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  812. or SelectionStart. Code formatting.
  813. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  814. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  815. indicating that there was not a previous drag-and-drop operation going
  816. on.
  817. Fixes part of #325071.
  818. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  819. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  820. AllowedEffect, don't let the drop operation happen.
  821. Fixes #32580.
  822. 2007-10-12 Jonathan Pobst <[email protected]>
  823. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  824. 2007-10-12 Jonathan Pobst <[email protected]>
  825. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  826. is called.
  827. 2007-10-12 Jonathan Pobst <[email protected]>
  828. * Line.cs: Add a method that finds the tag that contains an x-coord.
  829. * LineTag.cs: Add a method that finds the character at an x-coord using
  830. a binary search, the old way was a linear search.
  831. * TextControl.cs: Change FindCursor to use the above new methods.
  832. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  833. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  834. value different than AllowedEffect). This should be possible to
  835. indicate that dragging is not possible in some control/area.
  836. 2007-10-11 Jonathan Pobst <[email protected]>
  837. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  838. descent internally when font changes instead of outside code being responsible
  839. for setting it.
  840. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  841. instead of accessing internal variables.
  842. 2007-10-09 Everaldo Canuto <[email protected]>
  843. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  844. remove special treatment for ArrangeIcons since it is already arranged.
  845. 2007-10-09 Jonathan Pobst <[email protected]>
  846. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  847. the Win32 backend uses Color.
  848. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  849. Refactor to store a Color instead of a Brush for Color.
  850. 2007-10-09 Jonathan Pobst <[email protected]>
  851. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  852. away. I didn't realize I needed this when I refactored these earlier.
  853. 2007-10-09 Jonathan Pobst <[email protected]>
  854. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  855. store a Color structure and use the ResPool for back color instead of
  856. holding onto brushes.
  857. 2007-10-09 Jonathan Pobst <[email protected]>
  858. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  859. [Fixes bug #325592]
  860. 2007-10-08 Jonathan Pobst <[email protected]>
  861. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  862. to recalculate its size. Fixes a part of bug #331052.
  863. 2007-10-08 Jonathan Pobst <[email protected]>
  864. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  865. button. Fixes a part of bug #331052.
  866. 2007-10-08 Jonathan Pobst <[email protected]>
  867. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  868. the CreateParams.
  869. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  870. decorations.
  871. [Fixes bug #330986]
  872. 2007-10-08 Jonathan Pobst <[email protected]>
  873. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  874. doesn't exist in 1.1. (Thanks jb!)
  875. 2007-10-08 Jonathan Pobst <[email protected]>
  876. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  877. class to allow us to use different backends on different platforms.
  878. Linux uses the current [Draw|Measure]String backend. Windows uses
  879. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  880. of GDI+. This leads to better looking text and more accurate measurements
  881. on Windows, fixing many of the reported issues.
  882. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  883. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  884. * FolderBrowserDialog.cs: When running on Windows,
  885. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  886. since we must match both "C:" and "C:\" forms. A little hackish, but
  887. works.
  888. Fixes #325247.
  889. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  890. * ListView.cs: When calling EndEdit (after editing an item),
  891. create a new instance of LabelEditEventArgs to keep clean the fields
  892. in case we get a new call to BeginEdit; also do Application.DoEvents
  893. to have focus in synch. This is a fix similar to TreeView's #325244.
  894. 2007-10-07 Andreia Gaita <[email protected]>
  895. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  896. * WebBrowserBase.cs: Added dialog support, calling the
  897. WebBrowserDialogs classes for each specific dialog type.
  898. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  899. * ListView.cs: When the last item is focused and is removed,
  900. move the focus to the previous item (in Items order). This is what MS
  901. does.
  902. Fixes #330415.
  903. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  904. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  905. instead of the opposite (RemoveAt call Remove). This is a better
  906. approach since we don't need to to a pair of traversals when using
  907. RemoveAt.
  908. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  909. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  910. check that the node actually has nodes, and if not, move to the
  911. parent node instead.
  912. Fixes #325265.
  913. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  914. * TreeView.cs: Move the previous change to the general case (to
  915. call Application.DoEvents in cases where the method was called by
  916. different places).
  917. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  918. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  919. call Application.DoEvents. This is neccessary when we get a call to
  920. BeginEdit from an AfterLabelEdit handler, because the focus always
  921. goes to the TreeView, even if we try to give it to our
  922. LabelEditTextBox. The call do Application.DoEvents seems to
  923. synchronize the focus, basically.
  924. Fixes #325244.
  925. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  926. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  927. should be false. This also removes some nasty recursive paths. Fixes
  928. part of #325244.
  929. 2007-10-04 Everaldo Canuto <[email protected]>
  930. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  931. state to normal. Also resize window when cascading. Fixes #325433.
  932. 2007-10-04 Jonathan Pobst <[email protected]>
  933. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  934. DefaultForeColor, as drawing empty colored lines isn't very useful.
  935. [Fixes the not drawn lines part of bug #324358]
  936. 2007-10-04 Jonathan Pobst <[email protected]>
  937. * TextControl.cs: Move Line and LineTag classes into separate files to
  938. make things easier to find.
  939. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  940. * RichTextBox.cs: Capitalize LineTag.Length property access.
  941. - This is purely an organizational/formatting change, no logic changed. -
  942. 2007-10-03 Everaldo Canuto <[email protected]>
  943. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  944. text is empty.
  945. 2007-10-03 Everaldo Canuto <[email protected]>
  946. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  947. text is empty.
  948. 2007-10-03 Everaldo Canuto <[email protected]>
  949. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  950. prevent calling of OnBackColorChanged. Fixes #325321.
  951. 2007-10-03 Everaldo Canuto <[email protected]>
  952. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  953. because control can be disabled because owner is disabled.
  954. 2007-10-02 Jonathan Pobst <[email protected]>
  955. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  956. string.Empty, test failed from previous change.
  957. 2007-10-02 Jonathan Pobst <[email protected]>
  958. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  959. is null, not String.Empty. See bug #323038.
  960. 2007-10-01 Jonathan Pobst <[email protected]>
  961. * TextControl.cs: Change the margins to match MS a little better.
  962. Still not perfect for X11 due to some DrawString differences, but
  963. is still an improvement over the old stuff.
  964. Partially fixes #324467.
  965. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  966. * FolderBrowserDialog.cs: When using MyComputer as
  967. RootFolder, let absolute paths be considered as valid ones. Also, use
  968. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  969. for Windows compatibility.
  970. Partially fixes #325247.
  971. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  972. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  973. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  974. method, since it causes the dialog to not select folders directly
  975. under the root path (when setting SelectedPath property).
  976. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  977. * TreeNode.cs: When calling Expand/Collapse and need to call
  978. ExpandBelow/CollapseBelow respectively, take into account
  979. partially visible nodes (previously Expanding/Collapsing
  980. a partially visible node in the bottom was not updating its +- sign).
  981. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  982. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  983. expand nodes below (ExpandBelow), scroll the entire Viewport
  984. area if the node is above it and not visible (instead of scrolling
  985. the area from node's Bottom, which applies only when the node is
  986. visible).
  987. Fixes #325266.
  988. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  989. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  990. node in the bottom area (as .Net does). This is done to preserve the
  991. scroll position when ExpandAll is called before handle is created for
  992. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  993. Fixes #324103.
  994. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  995. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  996. bottom area if we are in fact not using the vertical scroll bar.
  997. Fixes #324824.
  998. 2007-09-27 Jonathan Pobst <[email protected]>
  999. * Control.cs: Comment out a double buffering optimization that doesn't
  1000. take into account invalidates created in OnPaint, causing the control
  1001. to never be redrawn. It would take quite a bit of work to work around
  1002. this, but I left it commented with an explanation for later possible
  1003. optimization.
  1004. [Fixes bug #328681]
  1005. 2007-09-27 Jonathan Pobst <[email protected]>
  1006. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  1007. the text changes.
  1008. * RadioButton.cs: Implement GetPreferredSizeCore.
  1009. [Fixes bug #328672]
  1010. 2007-09-26 Jonathan Pobst <[email protected]>
  1011. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  1012. corcompare stuffs.
  1013. 2007-09-26 Jonathan Pobst <[email protected]>
  1014. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  1015. so that it doesn't get uninstalled on modal forms.
  1016. * Control.cs: Install a sync context when a control is created.
  1017. * WindowsFormsSyncronizationContext.cs: Create a private static control
  1018. to invoke on. This is easier than trying to find a created control we
  1019. can use.
  1020. [Fixes bug #327608]
  1021. 2007-09-25 Jonathan Pobst <[email protected]>
  1022. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  1023. run loop, and uninstall it when done.
  1024. * WindowsFormsSynchronizationContext.cs: Implement.
  1025. [Fixes the common case in bug #327608]
  1026. 2007-09-23 Gert Driesen <[email protected]>
  1027. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  1028. Use case-insensitive lookup of column name in indexer. Code
  1029. formatting.
  1030. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  1031. * TreeNode.cs: When collapsing or expanding a node, check whether its
  1032. change will affect the visible area (we were previously doing a
  1033. IsVisible check, but that check is not enough since children nodes
  1034. could be still visible). Fixes part of #325266.
  1035. 2007-09-21 Jonathan Pobst <[email protected]>
  1036. * TreeView.cs: Always select the first node when the TreeView gets
  1037. focus if there is no currently selected node.
  1038. [Fixes bug #324279]
  1039. 2007-09-21 Jonathan Pobst <[email protected]>
  1040. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  1041. node being selected is null.
  1042. [Patch from Yves Bastide fixes bug #326858]
  1043. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  1044. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  1045. whether all the parent nodes are expanded.
  1046. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  1047. call RecalculateVisibleOrder if all previous nodes are expanded.
  1048. Before that we were doing a IsVisible check, but sometimes the node
  1049. is not in the visible area, but _should_already be ready, because of
  1050. all previous nodes are expanded. Fixes #325259.
  1051. 2007-09-20 Jonathan Pobst <[email protected]>
  1052. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  1053. portion of the item is clicked.
  1054. 2007-09-20 Jonathan Pobst <[email protected]>
  1055. * TextControl.cs: Do not tell the system to move the cursor if the
  1056. textbox isn't focused. Fixes part of bug #322668.
  1057. 2007-09-20 Jonathan Pobst <[email protected]>
  1058. * ComboBox.cs: When there are no items, do not show the dropdown if
  1059. the down arrow is clicked. Fixes part of bug #322668.
  1060. 2007-09-20 Jonathan Pobst <[email protected]>
  1061. * ToolStripComboBox.cs: Manually set the size of this control in the
  1062. constructor, as it doesn't seem to be the same as DefaultSize.
  1063. Fixes a failing monobuild test.
  1064. 2007-09-19 Jonathan Pobst <[email protected]>
  1065. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  1066. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  1067. 2007-09-19 Jonathan Pobst <[email protected]>
  1068. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  1069. Desktop. This lets it work for people who have moved their desktops
  1070. from the default location on windows. For people who have not, both
  1071. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  1072. 2007-09-18 Jonathan Pobst <[email protected]>
  1073. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  1074. but when the base constructor sets this, the control is null. Set it
  1075. again in the constructor. Fixes a failing monobuild test.
  1076. 2007-09-18 Jonathan Pobst <[email protected]>
  1077. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  1078. get called.
  1079. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  1080. called.
  1081. 2007-09-18 Jonathan Pobst <[email protected]>
  1082. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  1083. will handle it themselves.
  1084. * ToolStripItem.cs: When deciding what the text of a tooltip should
  1085. be, use the Text property instead of the text field.
  1086. * ToolStripTextBox.cs: Handle tooltips.
  1087. [Fixes bugs #325417 and #325973]
  1088. 2007-09-18 Jonathan Pobst <[email protected]>
  1089. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  1090. left click. Fixes the easy part of bug #325969.
  1091. 2007-09-18 Jonathan Pobst <[email protected]>
  1092. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  1093. bug #325406, but set a minimum for StatusStrip to 22 to keep
  1094. bug #325390 fixed. I think this minimum would have been figured
  1095. up automatically if the grip was actually a ToolStripItem, but it
  1096. currently is not.
  1097. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  1098. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  1099. as this is apparently the actual value used by .Net. Also apply
  1100. ItemPadding in Details view only, and decrease the general width padding,
  1101. to have only the needed. This should fix #324340 in Windows too.
  1102. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  1103. * ListViewItem.cs: Don't Invalidate item if parent is inside
  1104. a BeginUpdate/EndUpdate block. This prevents to have differences
  1105. between the ListView and items state, as well as avoid some exceptions
  1106. there.
  1107. * ListView.cs: Make 'updating' field internal.
  1108. 2007-09-17 Jonathan Pobst <[email protected]>
  1109. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  1110. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  1111. size if appropriate.
  1112. Fixes reopened bug #325414.
  1113. 2007-09-17 Jonathan Pobst <[email protected]>
  1114. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  1115. * ToolStripItem.cs: Invalidate before and after our new autosize when
  1116. text changes.
  1117. Fixes reopened bug #325390.
  1118. 2007-09-17 Jonathan Pobst <[email protected]>
  1119. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  1120. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  1121. #325044.
  1122. 2007-09-17 Jonathan Pobst <[email protected]>
  1123. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  1124. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  1125. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  1126. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  1127. #82734.
  1128. 2007-09-14 Jonathan Pobst <[email protected]>
  1129. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  1130. item to select when the ToolStrip is selected.
  1131. * ToolStripControlHost: Realign the control when the bounds or visibility
  1132. change.
  1133. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  1134. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  1135. preferred height.
  1136. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  1137. base.OnPaint. Was causing text not to be drawn.
  1138. 2007-09-14 Jonathan Pobst <[email protected]>
  1139. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  1140. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  1141. * TreeView.cs: When creating the label edit text box,
  1142. set is initially to Visible = false. This is done to
  1143. prevent a confusion in the layout which makes it to lose
  1144. focus when shown the first time. Fixes part of #82592.
  1145. 2007-09-13 Andreia Gaita <[email protected]>
  1146. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  1147. 2007-09-13 Jonathan Pobst <[email protected]>
  1148. * ToolStrip.cs: Take Margin into account when calculating preferred
  1149. size. Also, allow preferred size to get smaller than the explicit
  1150. size.
  1151. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  1152. First step towards fixing bug #82747.
  1153. 2007-09-13 Jonathan Pobst <[email protected]>
  1154. * TreeView.cs: Applied patch from [email protected] to not paint the
  1155. full row select background over the plus/minus glyph. Also, turn
  1156. off the focus rectangle for full row select since MS doesn't seem
  1157. to ever paint it. [Fixes bug #81839]
  1158. 2007-09-13 Jonathan Pobst <[email protected]>
  1159. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  1160. This was causing keyboard opened dropdowns to lose focus.
  1161. [Fixes bug #82803]
  1162. 2007-09-13 Jonathan Pobst <[email protected]>
  1163. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  1164. ClientRectangle instead. [Fixes bug #82838]
  1165. 2007-09-13 Jonathan Pobst <[email protected]>
  1166. * SplitContainer.cs: We can't reset Visible on every layout because
  1167. someone may have set Visible = false explicitly on a SplitterPanel.
  1168. Make sure when we switch orientation the SplitterDistance does not
  1169. change. Fixes two failing tests.
  1170. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  1171. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  1172. TextRenderer, since the latter is only available in 2.0.
  1173. 2007-09-13 Ivan N. Zlatev <[email protected]>
  1174. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  1175. * SplitContainer.cs: Implement FixedPanel layouting.
  1176. 2007-09-12 Andreia Gaita <[email protected]>
  1177. * WebBrowserBase.cs: setup shutdown routine
  1178. 2007-09-12 Andreia Gaita <[email protected]>
  1179. * Application.cs: Let keyboard events that are targetted
  1180. to non-mwf windows hosted inside mwf (as in, webbrowser),
  1181. propagate properly. Fixes keyboard handling on the webbrowser.
  1182. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  1183. * ListView.cs: When handling MouseUp event and we are
  1184. highligting a node with the mouse right button, don't trigger
  1185. Before/AfterSelecting event, since we are not actually selecting
  1186. the node.
  1187. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  1188. * TreeView.cs: When editing a node, modify the edit text box
  1189. depending on the text length (as you are typing), like MS does.
  1190. 2007-09-12 Jonathan Pobst <[email protected]>
  1191. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  1192. Override GetPreferredSizeCore to perform calculations. Remove custom
  1193. autosize logic. [Fixes bug #82739]
  1194. 2007-09-12 Jonathan Pobst <[email protected]>
  1195. * TextBoxBase.cs: Modified should default to false.
  1196. 2007-09-11 Jonathan Pobst <[email protected]>
  1197. * Control.cs: Update the anchoring distances even when layout is supspended.
  1198. Patch provided by George fixes bug #82805.
  1199. 2007-09-11 Jonathan Pobst <[email protected]>
  1200. * Control.cs: Provide a setter for ExplicitHeight.
  1201. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  1202. remove the hacks in here for requested_height.
  1203. [Fixes bug #82749]
  1204. 2007-09-11 Jonathan Pobst <[email protected]>
  1205. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  1206. Maximum to lower that its current Value caused an ArgumentException by setting
  1207. the Value to the new Maximum.
  1208. 2007-09-11 Jonathan Pobst <[email protected]>
  1209. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  1210. handle moves to the closest tick when it is being dragged.
  1211. [Fixes bug #82751]
  1212. 2007-09-11 Jonathan Pobst <[email protected]>
  1213. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  1214. can't let them count as real items when calculating where to merge in the
  1215. user's items. [Fixed bug #82786]
  1216. 2007-09-10 Jonathan Pobst <[email protected]>
  1217. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  1218. who want to add a menu item directly onto a toolstrip.
  1219. [Fixes bug #82775, part II]
  1220. 2007-09-10 Jonathan Pobst <[email protected]>
  1221. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  1222. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  1223. don't set it to available.
  1224. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  1225. [Fixes bug #82727, part II]
  1226. 2007-09-10 Jonathan Pobst <[email protected]>
  1227. * StatusStrip.cs: Change item placement to None if not visible.
  1228. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  1229. These should have been committed to fix 82723, but I missed them.
  1230. 2007-09-10 Jonathan Pobst <[email protected]>
  1231. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  1232. Click, and that it is only called once.
  1233. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  1234. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  1235. dropped down.
  1236. [Fixes bug #82775]
  1237. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  1238. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  1239. to match .Net.
  1240. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  1241. instead of 8, just like above. Partially fixes #82734.
  1242. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  1243. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  1244. fixes #82734.
  1245. * ListView.cs: Remove extra space between rows in Details view (match
  1246. .Net).
  1247. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  1248. the DefaultFont.
  1249. 2007-09-08 Gert Driesen <[email protected]>
  1250. * Application.cs: Modified ProductVersion to return value of
  1251. AssemblyInformationVersion if available, and fallback to assembly
  1252. version. Fixes bug #82746. Code formatting.
  1253. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  1254. instead.
  1255. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  1256. * Control.cs: When updating ZOrder for a child control,
  1257. take into account the implicit ones (we need it in our controls
  1258. using them). Fixes #82642.
  1259. 2007-09-07 Jonathan Pobst <[email protected]>
  1260. * ToolStripItem.cs: Add support for animated images.
  1261. [Fixes bug #82726]
  1262. 2007-09-07 Jonathan Pobst <[email protected]>
  1263. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  1264. visible. [Fixes bug #82727]
  1265. 2007-09-06 Jonathan Pobst <[email protected]>
  1266. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  1267. so we repaint using the new size. [Fixes bug #82723]
  1268. 2007-09-06 Jonathan Pobst <[email protected]>
  1269. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  1270. option. [Fixes bug #81779]
  1271. 2007-09-06 Jonathan Pobst <[email protected]>
  1272. * TreeView.cs: Override HandleClick because the StandardClick style is
  1273. set to false. According to MSDN (and testing), the click events should
  1274. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  1275. 2007-09-06 Jonathan Pobst <[email protected]>
  1276. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  1277. the border will disappear. Fixes reopened #82653.
  1278. 2007-09-06 Jonathan Pobst <[email protected]>
  1279. * Control.cs: If the control is autosize, and its preferred size changes
  1280. when it lays out its children, tell its parent so it can be re-layed out.
  1281. Fixing some of the fallout from r85433.
  1282. 2007-09-06 Jonathan Pobst <[email protected]>
  1283. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  1284. and CheckBox share some code.
  1285. 2007-09-06 Jonathan Pobst <[email protected]>
  1286. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  1287. the TrackBar, not every mouse move. [Fixed bug #82718]
  1288. 2007-09-06 Jonathan Pobst <[email protected]>
  1289. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  1290. under 2.0 rendering. [Fixes bug #82657]
  1291. 2007-09-06 Jonathan Pobst <[email protected]>
  1292. * TreeView.cs: If we found a TreeNode to display a context menu, but
  1293. it doesn't have one to show, let the TreeView display its menu
  1294. instead. [Fixes bug #82680]
  1295. 2007-09-06 Jonathan Pobst <[email protected]>
  1296. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  1297. OnPaintInternal instead. Give the internal TextBox a Border property
  1298. so it can draw itself more correctly. [Fixes bug #82653]
  1299. 2007-09-06 Zoltan Varga <[email protected]>
  1300. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  1301. 2007-09-05 Everaldo Canuto <[email protected]>
  1302. * ComboBox.cs: Adjust combobox button state to reflect current state when
  1303. back to enabled = true. Fixes first issue of #82654.
  1304. 2007-09-05 Everaldo Canuto <[email protected]>
  1305. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  1306. setting visible property.
  1307. 2007-09-05 Everaldo Canuto <[email protected]>
  1308. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  1309. fix zorder for controls initially created as non visible. Fixes #82667.
  1310. 2007-09-04 Everaldo Canuto <[email protected]>
  1311. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  1312. mimic win32 look. Fixes #82656.
  1313. 2007-09-01 Zoltan Varga <[email protected]>
  1314. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  1315. Stubs for new net 3.5 classes.
  1316. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  1317. * ListViewItem.cs: In ListViewItemCollection operations calculate
  1318. Layout for owner as well as invalidate it. Fixes part of #82642.
  1319. 2007-08-31 Jonathan Pobst <[email protected]>
  1320. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  1321. when returning Enabled. [Fixes bug #82651]
  1322. 2007-08-30 Everaldo Canuto <[email protected]>
  1323. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  1324. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  1325. * ListView.cs: Put item padding info in a single place
  1326. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  1327. columns again.
  1328. * ThemeWin32Classic.cs:
  1329. * Theme.cs: Likewise.
  1330. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  1331. * ListView.cs: When a ListViewSubItem instance is invalidated,
  1332. invoke Invalidate on parent ListViewItem, not parent ListView.
  1333. Fixes #81570.
  1334. 2007-08-30 Jonathan Pobst <[email protected]>
  1335. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  1336. 2007-08-30 Jonathan Pobst <[email protected]>
  1337. * BindingMemberInfo.cs: Implement == and != operators.
  1338. 2007-08-30 Jonathan Pobst <[email protected]>
  1339. * HtmlElementEventArgs.cs: Implement properties.
  1340. 2007-08-29 Jonathan Pobst <[email protected]>
  1341. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  1342. 2007-08-29 Jonathan Pobst <[email protected]>
  1343. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  1344. Add (string,string,string) to implement the imagekey. It turns out, we
  1345. use the requested imagekey whereas .Net does not. So I broke ours to match
  1346. theirs. :(
  1347. 2007-08-29 Jonathan Pobst <[email protected]>
  1348. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  1349. 2007-08-29 Jonathan Pobst <[email protected]>
  1350. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  1351. 2007-08-29 Gert Driesen <[email protected]>
  1352. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  1353. up-to-date. Fixes bug #82618.
  1354. 2007-08-29 Everaldo Canuto <[email protected]>
  1355. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  1356. reflect document changes. Fixes #82367.
  1357. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  1358. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  1359. as well as add new ones. This should make work the BackgroundImage
  1360. property for ListView again.
  1361. 2007-08-28 Jonathan Pobst <[email protected]>
  1362. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  1363. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  1364. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  1365. 2007-08-28 Jonathan Pobst <[email protected]>
  1366. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  1367. IsKeyLocked.
  1368. 2007-08-28 Jonathan Pobst <[email protected]>
  1369. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  1370. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  1371. 2007-08-28 Jonathan Pobst <[email protected]>
  1372. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  1373. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  1374. 2007-08-27 Ivan N. Zlatev <[email protected]>
  1375. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  1376. 2007-08-27 Ivan N. Zlatev <[email protected]>
  1377. * GridEntry.cs: Implement GetService.
  1378. 2007-08-27 Jonathan Pobst <[email protected]>
  1379. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  1380. for label editting, make sure we focus back on the TreeView.
  1381. [Fixes bug #82590]
  1382. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  1383. * ListView.cs: Add some 2.0 overrides.
  1384. 2007-08-27 Everaldo Canuto <[email protected]>
  1385. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  1386. because getter dont returns right value before handle creation. Thanks
  1387. to George. Fixes #82569.
  1388. 2007-08-27 Everaldo Canuto <[email protected]>
  1389. * Theme.cs: Revert last patch, it causes error under win32.
  1390. 2007-08-27 Everaldo Canuto <[email protected]>
  1391. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  1392. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  1393. logical Desktop rather than the physical file system location. Fixes #82603.
  1394. 2007-08-26 Everaldo Canuto <[email protected]>
  1395. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  1396. for the patch. Fixes #82568.
  1397. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  1398. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  1399. methods.
  1400. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  1401. * ListViewInsertionMark.cs: New stubbed class.
  1402. 2007-08-25 Gert Driesen <[email protected]>
  1403. * FolderBrowserDialog.cs: When adding folder, immediately create the
  1404. directory with temporary name and rename the directory when editing
  1405. finishes. This matches MS. Ensure the node for the new folder is
  1406. selected and LabelEdit is disabled, when editing is either finished
  1407. or cancelled.
  1408. 2007-08-25 Gert Driesen <[email protected]>
  1409. * TreeView.cs: When editing label of node, ensure node is visible.
  1410. 2007-08-25 Ivan N. Zlatev <[email protected]>
  1411. * PropertyGridView.cs: Set the value only if it has changed.
  1412. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  1413. * ListView.cs: Some more code refactoring to add support sorting
  1414. with groups (now for Details view). Remove unused code also.
  1415. 2007-08-24 Jonathan Pobst <[email protected]>
  1416. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  1417. Not a big fan of reacting immediately to a field in an EventArg, but that's
  1418. the way it's done. (This is part of the previous commit that got left out.)
  1419. 2007-08-25 Gert Driesen <[email protected]>
  1420. * FolderBrowserDialog.cs: Removed need for separate description field.
  1421. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  1422. has focus when dialog box is displayed again, regardless of what
  1423. button was pressed the previous time. Set RootFolder and SelectedPath
  1424. each time dialog box is displayed. This ensures the treeview is
  1425. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  1426. when it does not have focus. Added support for more special folders.
  1427. 2007-08-24 Jonathan Pobst <[email protected]>
  1428. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  1429. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  1430. it resets the edit_args.
  1431. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  1432. [Fixes bug #82577]
  1433. 2007-08-24 Gert Driesen <[email protected]>
  1434. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  1435. button to match MS. Provide more meaningful exception message for
  1436. invalid RootFolder value. Use zero-length string when SelectedPath
  1437. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  1438. them in FolderBrowserTreeView. Allow folders to be created in
  1439. RootFolder. Fixes bug #82576.
  1440. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  1441. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  1442. since we need to take into account the group headers and the margin
  1443. between them.
  1444. * ListViewGroup.cs: Add a rows field to store the number of rows per
  1445. group.
  1446. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  1447. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  1448. Anyways, let's just follow the lead.
  1449. 2007-08-24 Jonathan Pobst <[email protected]>
  1450. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  1451. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  1452. controls in GetPreferredSizeCore.
  1453. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  1454. [Fixes bug #82488]
  1455. 2007-08-24 Jonathan Pobst <[email protected]>
  1456. * PrintDialog.cs: Need to instantiate the form variable here too.
  1457. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  1458. * ListView.cs: Do some reorganization to support sorting in groups,
  1459. by doing the layout sequentially in ListView.Items. Also add support
  1460. for the Default Group, which should be available for items with no
  1461. group assigned.
  1462. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  1463. for storing layout info also.
  1464. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  1465. collection, as well as providing internal members to do a traversal
  1466. including the default group (needed when doing layout/drawing).
  1467. * ThemeWin32Classic.cs: When drawing group headers use internal
  1468. ListViewGroupCollection members to take into account the default
  1469. group.
  1470. 2007-08-23 George Giolfan <[email protected]>
  1471. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  1472. 2007-08-23 Jonathan Pobst <[email protected]>
  1473. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  1474. been created. If handle is created, we want arror keys. If we are editing
  1475. a node, we want things like enter, esc, home, end, page up, page down.
  1476. Allows Esc to work for FolderBrowserDialog.
  1477. 2007-08-23 Jonathan Pobst <[email protected]>
  1478. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  1479. they close when ESC is pressed. Thanks Andy!
  1480. 2007-08-23 Jonathan Pobst <[email protected]>
  1481. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  1482. This way we can tell if this is a CommonDialog provided with mono, or one
  1483. that is being implemented outside by a developer. If it is an external one,
  1484. the developer is responsible for showing their own form. We were showing
  1485. our blank form after the developer showed his.
  1486. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  1487. PageSetupDialog.cs: Instantiate form variable in our constructor.
  1488. [Fixes bug #82531]
  1489. 2007-08-23 Jonathan Pobst <[email protected]>
  1490. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  1491. and always return true. [Fixes bug #81616]
  1492. 2007-08-23 Jonathan Pobst <[email protected]>
  1493. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  1494. TextBox. [Fixes bug #82549]
  1495. 2007-08-23 Gert Driesen <[email protected]>
  1496. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  1497. or entered then do not close the dialog. Fixes bug #82539. Removed
  1498. CWLs.
  1499. 2007-08-22 Everaldo Canuto <[email protected]>
  1500. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  1501. code to this method. It is calling every time filter changes. This method
  1502. will help to fix the bug #80887.
  1503. 2007-08-22 Jonathan Pobst <[email protected]>
  1504. * CheckBox.cs: Implement AutoSize calculation.
  1505. 2007-08-22 Jonathan Pobst <[email protected]>
  1506. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  1507. * Theme.cs: Method declarations for 2.0 rendering path.
  1508. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  1509. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  1510. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  1511. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  1512. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  1513. only call Redraw on the parent one time.
  1514. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  1515. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  1516. GetClipboardContent.
  1517. * DataGridViewCell.cs: Implemented GetClipboardContent,
  1518. GetEditedFormattedValue, GetFormattedValue.
  1519. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  1520. 2007-08-21 Jonathan Pobst <[email protected]>
  1521. * TableLayoutStyleCollection.cs: corcompare fix.
  1522. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  1523. * DataObject.cs: Implemented retrieval of convertible / not convertible
  1524. objects.
  1525. 2007-08-21 Jonathan Pobst <[email protected]>
  1526. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  1527. ourselves. This ensures the entire old bounds are repainted, in case our new
  1528. size is smaller. [Fixes bug #82518]
  1529. 2007-08-20 Everaldo Canuto <[email protected]>
  1530. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  1531. flag to make fast handle of mouse events, without this the mouse move is
  1532. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  1533. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  1534. * ListView.cs: When doing layout calculations don't use a ref
  1535. param to keep the current item; instead use its Index value (this
  1536. is specially important when doing the layout with Groups
  1537. and Items being sparse). Also don't take into account items added to
  1538. the Group but not yet added to the main ListView.Items collection.
  1539. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  1540. * ListViewGroupCollection.cs: Forgot to mimic an issue
  1541. in the indexer (don't assign the ListView owner for new values).
  1542. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  1543. * ListViewGroupCollection.cs: Make the string indexer use
  1544. the int based indexer to re-use code, instead of duplicate the code.
  1545. Also Redraw as needed and take into account null values.
  1546. 2007-08-20 Jonathan Pobst <[email protected]>
  1547. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  1548. [Fixes bug #82481]
  1549. 2007-08-20 Jonathan Pobst <[email protected]>
  1550. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  1551. when other buttons are clicked or navigated to.
  1552. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  1553. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  1554. it's XplatUIX11 that attaches them.
  1555. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  1556. * DataGridView.cs: If a column has been added, recreate the editing row.
  1557. Fixes #82226.
  1558. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  1559. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  1560. of the tag to draw. Makes disappearing text show up again.
  1561. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  1562. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  1563. Contents. Fixes #82487.
  1564. 2007-08-19 Andreia Gaita <[email protected]>
  1565. * Added HtmlElement.cs, HtmlElementCollection.cs,
  1566. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  1567. 2007-08-19 Andreia Gaita <[email protected]>
  1568. * BindingSource.cs: Implement this, dispose and getenumerator.
  1569. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  1570. out of AddInternal, throw it only on public Add calls. The
  1571. UsingWebBrowser sample was blowing up with this when setting the
  1572. DataSource after adding DataBindings, so it's likely that .net
  1573. only throws this exception when Add is called directly.
  1574. * ToolStripControlHost.cs: Return the hosted control's text
  1575. property, and not the ToolStripItem one (it would always return
  1576. the initial value).
  1577. * HtmlDocument.cs: Implement GetElementById and All
  1578. * WebBrowser.cs: Remove exception on set_DocumentStream.
  1579. 2007-08-19 Everaldo Canuto <[email protected]>
  1580. * Form.cs: Fix the max and min value for opacity (0~1).
  1581. 2007-08-19 Everaldo Canuto <[email protected]>
  1582. [Fixes #80118]
  1583. * DataGridTableStyle.cs: Default header font is now null, on getter it
  1584. returns datagrid font when is null. On setter permits null.
  1585. * DataGrid.cs:
  1586. - When ResetHeaderFont set header font to null.
  1587. - On EndInit set grid_style.DataGrid.
  1588. 2007-08-19 Everaldo Canuto <[email protected]>
  1589. * TabControl.cs: Fix regression in default padding x.
  1590. 2007-08-19 Everaldo Canuto <[email protected]>
  1591. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  1592. 2007-08-19 Everaldo Canuto <[email protected]>
  1593. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  1594. not 2. Fixes #82229.
  1595. 2007-08-18 Everaldo Canuto <[email protected]>
  1596. * TabControl.cs: Fix tab size when image height is less than text height.
  1597. Partially fixes #81837.
  1598. 2007-08-18 Everaldo Canuto <[email protected]>
  1599. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  1600. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  1601. from taskbar and keep it on "alt_tab". Fixes #81722.
  1602. 2007-08-18 Everaldo Canuto <[email protected]>
  1603. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  1604. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  1605. Fixes #80877 and #79418.
  1606. 2007-08-18 Everaldo Canuto <[email protected]>
  1607. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  1608. between position and one of the screen borders. Fixes #82349.
  1609. 2007-08-18 Everaldo Canuto <[email protected]>
  1610. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  1611. the MessageBox in the taskbar. Fixes #82457.
  1612. 2007-08-18 Everaldo Canuto <[email protected]>
  1613. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  1614. than icon. Fixes #82468.
  1615. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  1616. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  1617. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  1618. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  1619. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  1620. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  1621. FormBorderStyle to decide if we're calculating a new size from the
  1622. client size or not. CreateParams: Don't fake tool windows, only the X11
  1623. backend manages toolwindows manually.
  1624. 2007-08-17 Jonathan Pobst <[email protected]>
  1625. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  1626. ObjectDisposedException.
  1627. 2007-08-17 Jonathan Pobst <[email protected]>
  1628. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  1629. in OnLoad should not have any effect. [Fixes bug #82470]
  1630. 2007-08-17 Jonathan Pobst <[email protected]>
  1631. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  1632. paint for controls that create their own ToolTipWindow instead of
  1633. going through ToolTip.
  1634. 2007-08-17 Jonathan Pobst <[email protected]>
  1635. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  1636. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  1637. * ListViewGroupCollection.cs: Use generic List instead of an
  1638. ArrayList, since this collection is 2.0 only.
  1639. 2007-08-17 Jeffrey Stedfast <[email protected]>
  1640. * ToolTip.cs (Hide): Made public to make the build work (should
  1641. this not be public?).
  1642. 2007-08-17 Jonathan Pobst <[email protected]>
  1643. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  1644. ToolTipWindow.
  1645. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  1646. 2007-08-17 Jonathan Pobst <[email protected]>
  1647. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  1648. PopupEventHandler.cs: Make these internal for 1.1.
  1649. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  1650. use ToolTipWindow internals.
  1651. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  1652. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  1653. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1654. * X11Dnd.cs: Add a null check.
  1655. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1656. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  1657. nothing else succeeds. Fixes #82453.
  1658. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1659. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  1660. rectangle if we're painting to another window than the one the paint
  1661. message was generated on. Simplify the code somewhat, which makes
  1662. PaintEventEnd also simpler.
  1663. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1664. * Control.cs: When changing parent of a form, let the form decide whether
  1665. XplatUI.SetParent should be called or not.
  1666. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  1667. recreating the handle. If the new parent's handle isn't created, don't
  1668. recreate our handle, just destroy it. CreateParams: Check if the
  1669. parent's handle is created before fetching it.
  1670. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1671. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  1672. Update calls to PaintEventStart/End to take a Message argument.
  1673. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  1674. take a Message argument.
  1675. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  1676. Message argument, and handle the case where we don't paint to the window
  1677. for which the paint message was generated.
  1678. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  1679. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  1680. Marshal.GetLastWin32Error. Plug nasty memory leak in
  1681. PaintEventStart/End, we were creating a DC we weren't releasing.
  1682. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  1683. * ListView.cs: Add Groups support in Details view. Also have a small
  1684. method to do the layout of the group header. Don't use a separate
  1685. method to do the groups calculation in Icons view, since our methods
  1686. are now a little simpler.
  1687. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  1688. `Bounds'.
  1689. * ThemeWin32Classic.cs: Likewise.
  1690. 2007-08-16 Jonathan Pobst <[email protected]>
  1691. * Application.cs: Add FilterMessage method and rework our message loop
  1692. logic to use it.
  1693. 2007-08-16 Jonathan Pobst <[email protected]>
  1694. * Application.cs: Add some methods and stub a few methods that are
  1695. pretty much never used.
  1696. 2007-08-15 Jonathan Pobst <[email protected]>
  1697. * TreeNode.cs: Add some serialization methods.
  1698. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  1699. * ListView.cs: In ListViewItemCollection have a
  1700. 'is_main_collection' field to not modify ListViewItem.ListView
  1701. when using it as ListViewGroup.Items (and not ListView.Items)
  1702. and also don't modify selection state (.Net behaviour).
  1703. Instead, set group for items contained in a ListViewGroup.Items collection.
  1704. * ListViewItem.cs: Simplify some code in Group setter.
  1705. * ListViewGroup.cs: use the new .ctor to pass the current instance
  1706. to the ItemsCollection.
  1707. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  1708. instances when adding/removing. Also make Remove use RemoveAt, which
  1709. should perform better.
  1710. 2007-08-14 Jonathan Pobst <[email protected]>
  1711. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  1712. that crept into the 1.1 profile.
  1713. 2007-08-14 Jonathan Pobst <[email protected]>
  1714. * ToolBarButton.cs: Implement ImageKey.
  1715. 2007-08-14 Jonathan Pobst <[email protected]>
  1716. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  1717. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  1718. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  1719. created, it might have gotten destroyed since we last checked. Fixes
  1720. #82405.
  1721. 2007-08-11 Jonathan Pobst <[email protected]>
  1722. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  1723. tooltip will hide when mouse is moved off the control.
  1724. [Fixes bug #82407]
  1725. 2007-08-11 Andreia Gaita <[email protected]>
  1726. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  1727. using Mono.Mozilla for loading and navigating webcontrol
  1728. with xulrunner.
  1729. The initial implementation was done on
  1730. /trunk/mozembed/tests/browser , and copied here.
  1731. 2007-08-11 Gert Driesen <[email protected]>
  1732. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  1733. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  1734. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  1735. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  1736. RowTemplateFull: throw an exception if a column doesn't have a template.
  1737. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  1738. add the row just before it.
  1739. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  1740. selected.
  1741. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  1742. DataGridView field to be able to reach the grid's editing row.
  1743. 2007-08-10 Jonathan Pobst <[email protected]>
  1744. * ToolTip.cs: If the control's handle hasn't been created when it has a
  1745. tooltip set on it, don't check to see if we need to show the tooltip. This
  1746. check was causing the control's handle to be created.
  1747. [Fixes bug #82399]
  1748. 2007-08-10 Jonathan Pobst <[email protected]>
  1749. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  1750. 1.1 2.0
  1751. Handle Not Created -1 0
  1752. Handle Created 0 0
  1753. [Fixes bug #82371]
  1754. 2007-08-10 Jonathan Pobst <[email protected]>
  1755. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  1756. [Fixes bug #82348]
  1757. 2007-08-09 Jonathan Pobst <[email protected]>
  1758. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  1759. * ToolTip.cs: Implement some properties and owner draw.
  1760. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1761. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  1762. show them again, since setting visibility causes a paint, causing an
  1763. endless loop (instead use a temporary and set it all when it's known if
  1764. they should be shown or not). Fixes #79265.
  1765. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1766. * DataGridView.cs: Only do a full column/row selection if a header was
  1767. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  1768. isn't pressed, deselect everything before selecting something.
  1769. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1770. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  1771. behaviour according to bug #81075 - they are returned in the order they
  1772. are selected. Fix HitTest to check if the point is within any of the
  1773. headers. Allow for row/column selection when in ColumnHeader or
  1774. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  1775. the row and column to call when their selected state changes, and
  1776. updated selected_[rows|columns] whenever SetSelected* is called.
  1777. * DataGridViewBand.cs: Initialize isRow correctly. Call
  1778. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  1779. add a SelectedInternal to avoid StackOverflows.
  1780. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  1781. ReadOnly no matter what.
  1782. * DataGridViewSelectedColumnCollection.cs,
  1783. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  1784. the items in reverse order (just as MS does...)
  1785. 2007-08-09 Jonathan Pobst <[email protected]>
  1786. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  1787. itself, not part of a mnemonic. [Fixes bug #82378]
  1788. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1789. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  1790. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  1791. the DGV, the column, the row, or the cell itself is readonly.
  1792. 2007-08-09 Gert Driesen <[email protected]>
  1793. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  1794. OSVersion.Platform.
  1795. * FileDialog.cs: Same.
  1796. * TextRendered.cs: Same.
  1797. * FolderBrowserDialog.cs: Same.
  1798. * TextBoxBase.cs: Same.
  1799. * Application.cs: Same.
  1800. * Cursors.cs: Same.
  1801. * ThemeClearLooks.cs: Same.
  1802. 2007-08-09 Gert Driesen <[email protected]>
  1803. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  1804. instead of duplicating these checks everywhere.
  1805. * FileDialog.cs: Use case-insensitive comparison for populating the
  1806. DirComboBox when not running on unix. Fixes bug #82385.
  1807. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  1808. "Look in".
  1809. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1810. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  1811. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  1812. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  1813. cell and column selection with ctrl and shift pressed. Call the correct
  1814. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  1815. the corresponding virtual method (PaintBackground to paint background,
  1816. etc).
  1817. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  1818. either the column, row or the cell itself is selected.
  1819. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  1820. OnRowsAdded.
  1821. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  1822. here. When the row is selected, don't select all cells. Each cell now
  1823. queries the row to see if the row is selected.
  1824. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  1825. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  1826. SelectionMode.
  1827. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  1828. * ListView.cs: In ListViewItemsCollection check that owner is
  1829. not null before trying to access it (this happens quite often
  1830. using Groups). Also don't duplicate calls by calling CollectionChanged
  1831. method.
  1832. 2007-08-08 Jonathan Pobst <[email protected]>
  1833. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  1834. when we are dismissed to clear keyboard mnemonics.
  1835. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  1836. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  1837. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  1838. was activated by keyboard or the OS tells us to always draw them.
  1839. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  1840. [Fixes bugs #82376, #82377]
  1841. 2007-08-08 Jonathan Pobst <[email protected]>
  1842. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  1843. shot at having it because Alt was pressed.
  1844. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  1845. the first real menu item.
  1846. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  1847. a mnemonic if Text is null.
  1848. [Fixes bug #82374]
  1849. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  1850. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  1851. search do check whether the item is already contained in the
  1852. collection or not; instead check if the owner of the item is the same
  1853. as ours. Also, remove a redundant check in the same method.
  1854. 2007-08-08 Jonathan Pobst <[email protected]>
  1855. * Control.cs: Allow the clip region to be set back to null.
  1856. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  1857. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  1858. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  1859. * GridEntry.cs: Add a null check.
  1860. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  1861. entries. Fixes #82297.
  1862. 2007-08-07 Jonathan Pobst <[email protected]>
  1863. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  1864. for 2.0.
  1865. 2007-08-07 Jonathan Pobst <[email protected]>
  1866. * ListBox.cs: Implement ScaleControl.
  1867. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  1868. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  1869. have a menu strip.
  1870. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  1871. parent has a menu strip. Fixes #81689.
  1872. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  1873. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  1874. moments, so apply some fuzzy logic to determine if the mouse is still
  1875. inside a control or not. Fixes #82288 (for the third time).
  1876. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  1877. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  1878. Don't create the child if it has been disposed already (may happen if
  1879. the user closes the form the Load event).
  1880. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  1881. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  1882. #82288.
  1883. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  1884. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  1885. might call us after we've been destroyed, in which case our own private
  1886. parent field is null. Fixes #82326.
  1887. 2007-08-06 Jonathan Pobst <[email protected]>
  1888. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  1889. check for setting the dropdown's owner.
  1890. 2007-08-06 Jonathan Pobst <[email protected]>
  1891. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  1892. before removing system menu items.
  1893. 2007-08-02 Jonathan Pobst <[email protected]>
  1894. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  1895. folding.
  1896. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  1897. folding.
  1898. * ToolStrip.cs: Add a null check to mnemonics.
  1899. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  1900. no ConnectedArea.
  1901. [Fixes most of bug #81689]
  1902. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  1903. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  1904. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  1905. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  1906. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  1907. * DataGridViewCell.cs: EditType: returns
  1908. DataGridViewTextBoxEditingControl always.
  1909. 2007-08-01 Jonathan Pobst <[email protected]>
  1910. * TextRenderer.cs: Remove the LineLimit string format flag from the
  1911. DrawString fallback method so that things like buttons that aren't
  1912. tall enough to draw a full line will still draw part of the text.
  1913. [Fixes part of bug #82272]
  1914. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  1915. * DataGridView.cs: Implemented AutoResizeColumn(s).
  1916. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  1917. according to the Alignment.
  1918. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  1919. Implement alignment and padding when painting.
  1920. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  1921. exists.
  1922. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  1923. way.
  1924. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  1925. a column is added.
  1926. 2007-07-31 Jonathan Pobst <[email protected]>
  1927. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  1928. which is internal.
  1929. 2007-07-31 Jonathan Pobst <[email protected]>
  1930. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  1931. hide GetPreferredSize from public API.
  1932. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  1933. * ToolStripItem.cs: Stub out drag and drop methods and events.
  1934. * ToolStripManager.cs: Stub out Save/LoadSettings.
  1935. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  1936. * ToolStripPanel.cs: Fix corcompare error.
  1937. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  1938. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  1939. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  1940. 2007-07-31 Jonathan Pobst <[email protected]>
  1941. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  1942. bounds height instead of PreferredHeight. Puts things back the way
  1943. they were for height while still fixing the width. Fixes broken unit
  1944. tests.
  1945. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  1946. * Binding.cs: Implement 2.0 constructors and add a null check.
  1947. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  1948. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  1949. and fix row index (off by one).
  1950. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  1951. * PropertyGridView.cs: Remove debug output.
  1952. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  1953. * Control.cs: We need to reset the is_created flags when the handle is
  1954. destroyed. Fixes #82187.
  1955. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  1956. client coordinates if the window doesn't have a parent.
  1957. Win32GetParent returns the parent or the owner, and for top-level
  1958. windows with no parent (but with an owner) we were calculating the
  1959. location from the location of the owner.
  1960. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  1961. form has been disposed.
  1962. * MdiClient.cs: Add a null-check.
  1963. 2007-07-30 Jonathan Pobst <[email protected]>
  1964. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  1965. actually do auto-sizing. Override the internal GetPreferredSizeCore
  1966. so we can provide an implementation that returns the current width
  1967. and preferred height. Allows anchor = right to work with TextBox 2.0.
  1968. [Fixes bug #82233]
  1969. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  1970. * ListView.cs: Add support for navigating items in Groups mode, by
  1971. creating a big matrix containing all rows and cols of all groups. When
  1972. are in other mode than Details, pressing Up should have a similar
  1973. behaviour as that one of Down (moving to the next available column if
  1974. current one doesn't have an item in the requested row). Also, don't
  1975. proceed to use groups if ShowGroups is false.
  1976. * ListViewGroup.cs: Add an internal int field to store the starting
  1977. row of the group (used by the big matrix used for navigating the
  1978. ListView).
  1979. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  1980. false.
  1981. 2007-07-30 Jonathan Pobst <[email protected]>
  1982. * ToolStripDropDown.cs: When we do Show, start with the
  1983. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  1984. modify the direction to keep it on screen. [Fixes bug #82210]
  1985. 2007-07-29 Gert Driesen <[email protected]>
  1986. * FileDialog.cs: Accept any FilterIndex value, and store it
  1987. unmodified. When FilterIndex is less than 1, or greater than number
  1988. of filters, then default to first filter. Only add filter extension to
  1989. file if user did not specifiy an extension. When type of dialog is
  1990. OpenFileDialog and DefaultExt is set, then only use filter extension
  1991. if: CheckFileExists is true and no file wih the default extension
  1992. exists, or CheckFileExists is false, and user specified file does not
  1993. exist. When CheckFileExists is true, then add first extension of
  1994. selected filter that matches existing file. Perform checks for
  1995. existing file, overwrite and create after extension has been added to
  1996. file name. When CheckFileExists is true and type is SaveFileDialog,
  1997. then only consider first filter extension if DefaultExt is set.
  1998. When CheckFileExists is true, then ignore DefaultExt if file with that
  1999. extension does not exist. Also perform check for existing file when
  2000. type is SaveFileDialog. Changed some field to constants.
  2001. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  2002. * ListView.cs: Take into account the region used by header
  2003. control when doing the vertical scroll (this way we invalidate
  2004. the precise area, and don't get any dirty one).
  2005. 2007-07-27 Everaldo Canuto <[email protected]>
  2006. * FileDialog.cs: Check for valid filterIndex on button open/save.
  2007. Fixes #82184.
  2008. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  2009. * ListView.cs: Update some layout calculations in details view
  2010. and clean the code in a pair of assignations.
  2011. 2007-07-26 Jonathan Pobst <[email protected]>
  2012. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  2013. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  2014. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  2015. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  2016. 2007-07-26 Jonathan Pobst <[email protected]>
  2017. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  2018. performance of thread-safe Graphic methods. (Thanks rolf!)
  2019. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  2020. * ListView.cs: When doing the layout calculations, don't calculate
  2021. scroll bars before handle is created. This is unnecessary and also
  2022. calculating them before handle creation item causes a number of random
  2023. bugs (which begin to appear after Chris' big patch for handle creation
  2024. fixes).
  2025. 2007-07-26 Jonathan Pobst <[email protected]>
  2026. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  2027. for things that don't have a Graphics object. Currently, things just use
  2028. the static Hwnd.bmp_g which is not thread safe.
  2029. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  2030. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  2031. dialog. Fixes #82187.
  2032. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  2033. * DataGridViewElement.cs: Initialize state.
  2034. * DataGridView.cs: Forward a few Mouse events to cells. Add
  2035. GetRowInternal and GetCellInternal that doesn't unshare rows.
  2036. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  2037. don't use the index, but look it up. Add
  2038. DataGridViewControlCollection.RemoveInternal to remove controls
  2039. that Remove won't remove (scrollbars, edit control).
  2040. * DataGridViewColumn.cs: Initialize State correctly.
  2041. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  2042. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  2043. implementing this.
  2044. * DataGridViewRowCollection.cs: Implemented shared rows.
  2045. * DataGridViewRow.cs: Throw exceptions as MS do.
  2046. * DataGridViewCell.cs: A few properties are implemented by a
  2047. Get<Property> method, so move implementation there and remove the
  2048. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  2049. calls when necessary.
  2050. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  2051. complicates matters.
  2052. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  2053. unshare any rows.
  2054. 2007-07-25 Jonathan Pobst <[email protected]>
  2055. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  2056. the children controls. Instead, we will just set up the proper docking for the
  2057. children controls so we don't have to worry about it. [Fixes bug #82188]
  2058. 2007-07-25 Jonathan Pobst <[email protected]>
  2059. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  2060. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  2061. 81847. [Fixes bug #81847]
  2062. 2007-07-25 Jonathan Pobst <[email protected]>
  2063. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  2064. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  2065. an explicit size based on the design-time size of the text. Since our fonts
  2066. may not match this explicit size, we tend to cut off the ends of people's labels.
  2067. 2007-07-24 Jonathan Pobst <[email protected]>
  2068. * Menu.cs: Add some missing methods to MenuItemCollection.
  2069. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  2070. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  2071. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  2072. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  2073. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  2074. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  2075. * DataGridViewElement.cs: State defaults to Visible.
  2076. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  2077. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  2078. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  2079. * Control.cs: Minor 1.1 corcompare fix.
  2080. 2007-07-23 Jonathan Pobst <[email protected]>
  2081. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  2082. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  2083. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  2084. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  2085. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  2086. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  2087. DataGridViewSelectedColumnCollection.cs,
  2088. DataGridViewSelectedRowCollection.cs: Corcompare work.
  2089. 2007-07-23 Jonathan Pobst <[email protected]>
  2090. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  2091. it is autoset by VS2005 designer and the effect is barely noticeable.
  2092. 2007-07-23 Jonathan Pobst <[email protected]>
  2093. * TreeView.cs: Implement HitTest.
  2094. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  2095. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  2096. manually adding and removing the control from the Controls
  2097. collecftion.
  2098. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  2099. EditingControlInternal property that tracks the editing control.
  2100. Always keeping the scrollbars in the Controls collection, as MS
  2101. testing confirms is the right behaviour.
  2102. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  2103. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  2104. according to MSDN and new test.
  2105. 2007-07-20 Jonathan Pobst <[email protected]>
  2106. * TreeNode.cs: Implement ToolTipText.
  2107. * TreeView.cs: Implement tooltips, NodeMouse* events.
  2108. 2007-07-20 Jonathan Pobst <[email protected]>
  2109. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  2110. 2007-07-20 Jonathan Pobst <[email protected]>
  2111. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  2112. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  2113. 2007-07-20 Ivan N. Zlatev <[email protected]>
  2114. * Control.cs, Form.cs, ContainerControl.cs,
  2115. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  2116. for misc properties.
  2117. 2007-07-20 Jonathan Pobst <[email protected]>
  2118. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  2119. * TreeView.cs: Implement StateImageList.
  2120. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2121. * Form.cs: Don't check if the current form is the active form before
  2122. activating it. Fixes #81904.
  2123. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2124. * Form.cs: Don't check if the current form is the active form before
  2125. activating it. Fixes #81904.
  2126. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2127. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  2128. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2129. * Form.cs: Don't try to position the form after loading if the form was
  2130. disposed. Fixes #81969.
  2131. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2132. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  2133. properties. Had to change ToolBar into ToolStrip, which required a
  2134. few #ifs.
  2135. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  2136. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  2137. resized, fixes part of #79829 (vertical lines in toolbar).
  2138. PropertyGrid: Refactored Populate* to something that's easier to
  2139. follow at least for me, as well as splitting it up into several new
  2140. methods, required to update only subitems when something has
  2141. changed by a popup editor or listbox. Don't use events to check
  2142. when any values are changed, since the events are unreliable (we're
  2143. changing the objects the events are registered with, and if the
  2144. event handling requires the objects to be immutable (objects stored
  2145. in hashtables for instance), the events will never be raised).
  2146. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  2147. everytime we change a value, since events are unreliable.
  2148. DropDownButtonClicked: For the same reason don't compare objects to
  2149. check if it has changed or not, it would require all objects to
  2150. derive Equals. Fix dialog location on windows, MS is doing weird
  2151. things when creating parented forms.
  2152. * GridEntry.cs: Add a SelectedObject setter.
  2153. 2007-07-19 Jonathan Pobst <[email protected]>
  2154. * TreeNode.cs: Add some corcompare attributes.
  2155. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  2156. * TreeView.cs: Implement some 2.0 stuffs.
  2157. 2007-07-18 Andreia Gaita <[email protected]>
  2158. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  2159. for moma.
  2160. 2007-07-19 Jonathan Pobst <[email protected]>
  2161. * ListBox.cs: Implement custom tab offsets.
  2162. 2007-07-18 Jonathan Pobst <[email protected]>
  2163. * ToolStripContentPanel.cs: Support System renderer.
  2164. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  2165. 2007-07-18 Jonathan Pobst <[email protected]>
  2166. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  2167. 2007-07-18 Jonathan Pobst <[email protected]>
  2168. * CheckBox.cs: Chain TextAlign to base implementation instead of
  2169. maintaining another one.
  2170. 2007-07-18 Jonathan Pobst <[email protected]>
  2171. * ButtonBase.cs: Fix an incorrect string constant.
  2172. 2007-07-18 Jonathan Pobst <[email protected]>
  2173. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  2174. of creating one for measuring strings.
  2175. 2007-07-18 Jonathan Pobst <[email protected]>
  2176. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  2177. Implement MaxItemSize.
  2178. 2007-07-17 Jonathan Pobst <[email protected]>
  2179. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  2180. for DeviceContext. Instead, use the static one available in Hwnd.
  2181. Informal tests show this saves about 500k on formtest.exe.
  2182. 2007-07-17 Jonathan Pobst <[email protected]>
  2183. * ContainerControl.cs: Implement 2.0 AutoScaling.
  2184. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  2185. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  2186. 2007-07-16 Jonathan Pobst <[email protected]>
  2187. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  2188. Darken the focus color.
  2189. 2007-07-16 Jonathan Pobst <[email protected]>
  2190. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  2191. for the checkbox.
  2192. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  2193. X, Y instead of a rect for drawing text.
  2194. - For ControlPaint.DrawCheckBox, center the check a little better when the
  2195. checkbox is odd width. When drawing a flat checkbox, use a white background
  2196. when state != inactive.
  2197. [Fixes bugs #82097, 82100]
  2198. 2007-07-16 Gert Driesen <[email protected]>
  2199. * ListControl.cs: When changing CurrencyManager, disconnect event
  2200. handlers from previous one. Fixes bug #81771. Code formatting.
  2201. 2007-07-15 Andreia Gaita <[email protected]>
  2202. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  2203. full preview invalidation from layout invalidation, and only invalidate
  2204. the layout when setting zoom or other properties. Invalidation should
  2205. always be done even when resetting properties with the same values as
  2206. what is there. Fixes #81744 and #79830.
  2207. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  2208. * ListView.cs: Implement initial support for Groups. Split some of the
  2209. LayoutIcons code to render a partial list of the items (needed by
  2210. items contained in ListViewGroup instances). Let the
  2211. ListViewItemsCollection.ListView property be modifiable (needed when
  2212. using Groups, too).
  2213. * ListViewGroup.cs: Use a Bounds property rather than a Location
  2214. one. Also invalidate the bounds when they get changed.
  2215. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  2216. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  2217. method as well.
  2218. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  2219. * ListView.cs: When space gets pressed and CheckBoxes is true,
  2220. don't invoke the Begin and EndUpdate methods. We are generating
  2221. a redraw of the entire control without need to do so.
  2222. 2007-07-13 William Holmes <[email protected]>
  2223. * Control.cs: Changing logic in FindFlatForward and
  2224. FindFlatBackward to handle multiple Controls with
  2225. the same TabIndex.
  2226. This fixes bug 81687.
  2227. 2007-07-13 Jonathan Pobst <[email protected]>
  2228. * OSFeature.cs: Enable IsPresent.
  2229. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  2230. * Control.cs: Don't do anything in WmShowWindow if the control has been
  2231. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  2232. control is created, put on a form, the control is disposed (the
  2233. form is never shown), and then we get a MapNotify, triggering a
  2234. WM_SHOWWINDOW.
  2235. * Form.cs: Exclude the current form when sending Deactivate to all
  2236. MdiChildren.
  2237. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  2238. there was a race condition because assigning the handle raises
  2239. events, we can get more messages, therefore trying to assign the
  2240. handle again, which would fail if any of those event handlers
  2241. closed/disposed the control.
  2242. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  2243. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  2244. 2007-07-12 Jonathan Pobst <[email protected]>
  2245. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  2246. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  2247. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  2248. * DateTimePicker.cs: If there's no part format specifier, return an
  2249. empty string.
  2250. 2007-07-12 Jonathan Pobst <[email protected]>
  2251. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  2252. Transparent BorderColor.
  2253. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  2254. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  2255. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  2256. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  2257. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  2258. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  2259. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  2260. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  2261. Remove warnings.
  2262. * X11Structs.cs: Remove warnings, add ToString implementations.
  2263. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  2264. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  2265. size, and not the current size. Fixes #81798.
  2266. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  2267. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  2268. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  2269. to the control yet).
  2270. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  2271. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  2272. mousedowns to the contained textbox.
  2273. * X11Structs.cs: More ToString implementation.
  2274. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  2275. #81791.
  2276. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  2277. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  2278. 2007-07-10 Jonathan Pobst <[email protected]>
  2279. * TableLayoutPanelCellPosition.cs: TypeConverter.
  2280. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  2281. [ Fixes #79761]
  2282. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  2283. controls.
  2284. * PropertyGridView.cs: A few color fixes.
  2285. 2007-07-10 Jackson Harper <[email protected]>
  2286. * TextControl.cs: Remove some old unused text formatting stuff.
  2287. 2007-07-10 Jackson Harper <[email protected]>
  2288. * TreeView.cs: Update full row select invalidation to match the
  2289. newer DrawSelection... method.
  2290. - Make sure to invalidate the entire width when selecting a new
  2291. node, if we have full row selection enabled.
  2292. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  2293. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  2294. display of properties again.
  2295. 2007-07-10 Jonathan Pobst <[email protected]>
  2296. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  2297. to existing collections.
  2298. 2007-07-09 Jonathan Pobst <[email protected]>
  2299. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  2300. that changed between 1.1 and 2.0.
  2301. 2007-07-09 Jonathan Pobst <[email protected]>
  2302. * PowerStatus.cs: Added. This is just a data class, it is filled
  2303. in by SystemInformation.
  2304. 2007-07-09 Jonathan Pobst <[email protected]>
  2305. * Message.cs: Add op_Equality and op_Inequality.
  2306. 2007-07-09 Jonathan Pobst <[email protected]>
  2307. * MenuStrip.cs: Finish corcompare work.
  2308. 2007-07-09 Jonathan Pobst <[email protected]>
  2309. * LinkArea.cs: Add op_Equality and op_Inequality.
  2310. 2007-07-09 Jonathan Pobst <[email protected]>
  2311. * Application.cs: Add MessageLoopCallback delegate.
  2312. 2007-07-09 Jonathan Pobst <[email protected]>
  2313. * ListBox.cs: First set of 2.0 stuffs.
  2314. 2007-07-09 Jonathan Pobst <[email protected]>
  2315. * Control.cs: Make an internal Height property we can override
  2316. without messing up the public API.
  2317. * ListBox.cs: Override HeightInternal to always return the size
  2318. the user set. [Fixes bug #80466]
  2319. 2007-07-08 Jonathan Pobst <[email protected]>
  2320. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  2321. paint cell borders if we haven't calculated where they go yet.
  2322. [Fixes bugs #82040 and #82041]
  2323. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  2324. * ListView.cs: In Details view, set the location of item_control
  2325. in the (0,0) position (and the header_control is thus on the
  2326. item_control). This way the Bounds of the Items are relative to the
  2327. ListView control (before this, they had a Bounds value without the
  2328. header_control offset, which wasn't matching .Net). Fixes #82004.
  2329. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  2330. * ListControl.cs: When DataSource is set to null, pass an empty
  2331. array of object to SetItemsCore. This is done to clean the items
  2332. in the ListContol children. Fixes #81788.
  2333. 2007-07-06 Jonathan Pobst <[email protected]>
  2334. * ListControl.cs: Add 2.0 stuffs.
  2335. 2007-07-06 Jonathan Pobst <[email protected]>
  2336. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  2337. Refresh is overkill for just about every repaint request.
  2338. 2007-07-06 Jonathan Pobst <[email protected]>
  2339. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  2340. so remove my custom Get method and fix the property getter.
  2341. 2007-07-06 Jonathan Pobst <[email protected]>
  2342. * Label.cs: DefaultMargin for 2.0.
  2343. 2007-07-06 Jonathan Pobst <[email protected]>
  2344. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  2345. reported issue where other controls with mnemonics would steal strokes
  2346. from a selected ComboBox.
  2347. 2007-07-06 Jonathan Pobst <[email protected]>
  2348. * ScrollOrientation.cs: Make internal for 1.1.
  2349. * ScrollEventArgs.cs: Add 2.0 stuffs.
  2350. 2007-07-05 Jonathan Pobst <[email protected]>
  2351. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  2352. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  2353. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  2354. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  2355. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  2356. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  2357. * ListView.cs: Implement the so-incredibly broken 2.0
  2358. VirtualItemsSelectionRangeChanged event.
  2359. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  2360. * ListView.cs: When enter is pressed and selection is non empty,
  2361. an OnItemActivate event must be fired.
  2362. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  2363. * ListView.cs: Store the FocusedItem information as an
  2364. int instead of a ListViewItem (needed by VirtualMode).
  2365. Update the calls to SetFocusedItem to pass an index instead of
  2366. an item.
  2367. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  2368. the Focused state from the owner ListView.
  2369. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  2370. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  2371. property. Also, invalidate previous focused item in the mentioned
  2372. property (match .Net).
  2373. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  2374. * ListView.cs: Implement 2.0 FocusedItem property setter.
  2375. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  2376. * ListView.cs: Implement 2.0 TopItem property setter.
  2377. 2007-07-03 Jonathan Pobst <[email protected]>
  2378. * StatusStrip.cs: The default renderer is System.
  2379. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  2380. if the user specifies it.
  2381. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  2382. if we are ManagerRenderMode.
  2383. * ToolStripMenuItem.cs: Calculate our text color better.
  2384. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  2385. from Professional to the base class based off working with the System renderer.
  2386. * ToolStripSystemRenderer.cs: Added.
  2387. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  2388. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  2389. 2007-07-02 Jonathan Pobst <[email protected]>
  2390. * ToolTip.cs: Implement 2.0 Tag property.
  2391. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  2392. * ListView.cs: Implement 2.0 HitTest methods.
  2393. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  2394. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  2395. item is under the pointer or not (sugar). Also remove the TODO
  2396. regarding to the cursor changes in OneClick activation.
  2397. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  2398. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  2399. true; otherwise don't show the underline style.
  2400. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  2401. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  2402. the code to retrieve the item at position only one time. Also
  2403. change cursor when Activation is ItemActivation.OneClick as well
  2404. as invalidate the item if HotTracking is true (to show/hide the
  2405. underline style). Add an internal HotItemIndex property to retrieve
  2406. the current hot item's index.
  2407. * ListViewItem.cs: Add an internal HotFont property to cache the
  2408. font used when HotTracking is true and the pointer moves within the
  2409. item's borders.
  2410. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  2411. HotFont depending on the hot state of the item.
  2412. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  2413. * ListView.cs: Implement 2.0 HotTracking property.
  2414. 2007-06-21 Jonathan Pobst <[email protected]>
  2415. * ToolStripControlHost.cs: If our hosted control never got created,
  2416. don't try to dispose it. [Fixes bug #81909]
  2417. 2007-06-21 Jonathan Pobst <[email protected]>
  2418. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  2419. 2007-06-21 Jonathan Pobst <[email protected]>
  2420. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  2421. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  2422. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  2423. Details view.
  2424. * DrawListViewColumnHeaderEventArgs.cs:
  2425. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  2426. using the DrawText () methods.
  2427. 2007-06-19 Jonathan Pobst <[email protected]>
  2428. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  2429. background which got erased in my changes yesterday.
  2430. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  2431. * ListViewItem.cs: Actually set bounds for subitems in Details view
  2432. (2.0 feature).
  2433. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  2434. can invoke from the owner draw routines if we need it. Also, add
  2435. support for Owner draw in Details view.
  2436. 2007-06-18 Jonathan Pobst <[email protected]>
  2437. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  2438. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  2439. ShowImageMargin setting, properly align text in a ToolStripLabel
  2440. hosted on a ToolStripDropDown.
  2441. 2007-06-18 Jonathan Pobst <[email protected]>
  2442. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  2443. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  2444. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  2445. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  2446. 2007-06-18 Jonathan Pobst <[email protected]>
  2447. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  2448. location to match ToolStripMenuItems.
  2449. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  2450. * DrawListViewColumnHeaderEventArgs.cs:
  2451. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  2452. column headers in ListView.
  2453. 2007-06-15 Jonathan Pobst <[email protected]>
  2454. * UserControl.cs: Implement AutoSize.
  2455. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  2456. * DrawListViewItemEventArgs.cs:
  2457. * ListView.cs:
  2458. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  2459. ListView.
  2460. 2007-06-15 Jonathan Pobst <[email protected]>
  2461. * ToolStripDropDownItemAccessibleObject.cs: Added.
  2462. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  2463. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  2464. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  2465. ToolStripTextBox.cs: corcompare work.
  2466. 2007-06-14 Jonathan Pobst <[email protected]>
  2467. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  2468. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  2469. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  2470. corcompare.
  2471. 2007-06-14 Jonathan Pobst <[email protected]>
  2472. * OSFeature.cs: Add IsPresent.
  2473. * PrintPreviewControl.cs: Add RightToLeft.
  2474. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  2475. * SplitterPanel.cs: Add AutoSizeMode.
  2476. 2007-06-13 Jonathan Pobst <[email protected]>
  2477. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  2478. * MdiClient.cs: Add 2.0 ScaleControl.
  2479. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  2480. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  2481. 2007-06-13 Jonathan Pobst <[email protected]>
  2482. * Form.cs: Implement some scaling methods, stub some RTL methods,
  2483. corcompare work.
  2484. 2007-06-13 Jonathan Pobst <[email protected]>
  2485. * Control.cs: corcompare work.
  2486. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  2487. 2007-06-13 Jonathan Pobst <[email protected]>
  2488. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  2489. ControlPaint 2.0 stuffs.
  2490. 2007-06-12 Jonathan Pobst <[email protected]>
  2491. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  2492. 2007-06-12 Jonathan Pobst <[email protected]>
  2493. * UpDownBase.cs: Add 2.0 stuffs.
  2494. 2007-06-12 Jonathan Pobst <[email protected]>
  2495. * NumericUpDown.cs: Add 2.0 stuffs.
  2496. 2007-06-12 Jonathan Pobst <[email protected]>
  2497. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  2498. 2007-06-12 Jonathan Pobst <[email protected]>
  2499. * ErrorProvider.cs: Implement 2.0 stuffs.
  2500. 2007-06-12 Jonathan Pobst <[email protected]>
  2501. * DomainUpDown.cs: Implement 2.0 stuffs.
  2502. 2007-06-12 Jonathan Pobst <[email protected]>
  2503. * CheckedListBox.cs: Fix RefreshItems signature.
  2504. 2007-06-12 Jonathan Pobst <[email protected]>
  2505. * PictureBox.cs: Implement 2.0 stuffs.
  2506. 2007-06-12 Andreia Gaita <[email protected]>
  2507. * TabControl.cs: Check if there are tabpages before checking
  2508. the selected index - fix #81802 (font changes raise a ResizeTabs
  2509. call on controls.add, which blew up nicely with no tabpages)
  2510. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  2511. * ListView.cs:
  2512. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  2513. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  2514. * ListView.cs:
  2515. * ListViewItem.cs: In VirtualMode the selection information
  2516. resides in the ListView, rather than in the Items. Also, throw
  2517. InvalidOperationExceptions when VirtualMode is being used and
  2518. CheckedItemCollection is accessed.
  2519. 2007-06-08 Jonathan Pobst <[email protected]>
  2520. * ComboBox.cs: Add ScaleControl.
  2521. 2007-06-08 Jonathan Pobst <[email protected]>
  2522. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  2523. 2007-06-08 Jonathan Pobst <[email protected]>
  2524. * GroupBox.cs: Add 2.0 stuffs.
  2525. 2007-06-08 Jonathan Pobst <[email protected]>
  2526. * Panel.cs: Add autosize properties/event.
  2527. 2007-06-07 Jonathan Pobst <[email protected]>
  2528. * Control.cs:
  2529. - When we remove a control, remove it from the collection before performing the layout.
  2530. - Setup an internal property for explicit_bounds.
  2531. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  2532. - Perform a layout when we set a new AutoSizeMode.
  2533. 2007-06-07 Jonathan Pobst <[email protected]>
  2534. * ScrollableControl.cs: Add 2.0 stuffs.
  2535. 2007-06-06 Jonathan Pobst <[email protected]>
  2536. * ScrollBar.cs: Add 2.0 stuffs.
  2537. 2007-06-06 Jonathan Pobst <[email protected]>
  2538. * Splitter.cs: Add 2.0 stuffs.
  2539. 2007-06-06 Jonathan Pobst <[email protected]>
  2540. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  2541. to have BindingContext simply use base implementation.
  2542. 2007-06-06 Jonathan Pobst <[email protected]>
  2543. * ColumnHeader.cs: corcompare fix.
  2544. 2007-06-06 Jonathan Pobst <[email protected]>
  2545. * Button.cs: corcompare fixes.
  2546. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  2547. 2007-06-06 Jonathan Pobst <[email protected]>
  2548. * Button.cs: Override GetPreferredSizeCore.
  2549. * ButtonBase.cs: PerformLayout after changing properties that can affect
  2550. AutoSize. Simplify some mouse/keyboard code.
  2551. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  2552. * MouseEventArgs.cs: Make Location internal for 1.1.
  2553. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  2554. * Theme.cs: Add CalculateButtonAutoSize.
  2555. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  2556. 2007-06-05 Miguel de Icaza <[email protected]>
  2557. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  2558. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  2559. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  2560. since we can get different item instances every time we retrieve it.
  2561. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  2562. * ListView.cs: Work around for #81602, since an unkown an pretty
  2563. infrequent condition appears only in some systems (old linux boxes, it
  2564. seems).
  2565. 2007-06-04 Jonathan Pobst <[email protected]>
  2566. * Button.cs: Completely reformat and a little refactor to bring
  2567. this closer to Mono circa 2007.
  2568. 2007-06-04 Jonathan Pobst <[email protected]>
  2569. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  2570. to be ButtonBase.Invalidate.
  2571. 2007-06-04 Jonathan Pobst <[email protected]>
  2572. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  2573. 2007-06-04 Jonathan Pobst <[email protected]>
  2574. * ButtonBase.cs: Completely reformat and a little refactor to bring
  2575. this closer to Mono circa 2007.
  2576. 2007-06-01 Everaldo Canuto <[email protected]>
  2577. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  2578. values for autosize. Fixes #80137.
  2579. 2007-06-01 Jonathan Pobst <[email protected]>
  2580. * Control.cs: Don't perform layout when AutoSize changes.
  2581. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  2582. directly when autosizing, use SetBounds with BoundsSpecified.None.
  2583. Fixes unit tests my last commit broke.
  2584. 2007-06-01 Jonathan Pobst <[email protected]>
  2585. * Control.cs: Perform layout when AutoSize changes.
  2586. * Form.cs: Implement AutoSizing.
  2587. 2007-06-01 Chris Toshok <[email protected]>
  2588. * DataGrid.cs: remove the XXX'ed check at the top of
  2589. ProcessGridKey. fixes #80464.
  2590. 2007-06-01 Chris Toshok <[email protected]>
  2591. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  2592. adding idempotent (add/remove in Edit()), and also make sure we
  2593. don't add it until after we set the text, so it's not tripped in
  2594. Edit(). Fixes unit test regression.
  2595. 2007-06-01 Jonathan Pobst <[email protected]>
  2596. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  2597. change is user explicit, not when the layout engine moves stuff. Fixes
  2598. anchoring to bottom and right. [Fixes bug #81790]
  2599. 2007-06-01 Andreia Gaita <[email protected]>
  2600. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  2601. 2007-06-01 Andreia Gaita <[email protected]>
  2602. * ContainerControl.cs:
  2603. Fire enter event for common ancestor if it is not a ContainerControl.
  2604. Send focus to the active_control and not the 'value', the active
  2605. control might have been changed in one of the events fired.
  2606. Definitely fixes #80159.
  2607. 2007-06-01 Andreia Gaita <[email protected]>
  2608. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  2609. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  2610. * PropertyGrid.cs: Anchor the help description to the bottom of the
  2611. help panel and refactor SelectGridItem into a
  2612. SelectGridItemInternal that can be set to null (and update it to
  2613. clear the help texts when it is set to null). Set root item to null
  2614. when there's no SelectedObject. Fixes #80438.
  2615. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  2616. when we're recalculating after a resize (only).
  2617. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  2618. * ListView.cs: Implement 2.0 RedrawItems method.
  2619. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  2620. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  2621. handlers from previous data manager when DataSource is set to
  2622. null. Fixes #81771.
  2623. 2007-05-31 Jackson Harper <[email protected]>
  2624. * TextBoxBase.cs: These seem to be the correct values.
  2625. 2007-05-31 Everaldo Canuto <[email protected]>
  2626. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  2627. value. Fixes #81784.
  2628. 2007-05-31 Jonathan Pobst <[email protected]>
  2629. * Control.cs: Implement 2.0 scaling methods.
  2630. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  2631. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  2632. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  2633. corcompare issues.
  2634. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  2635. * ProgressBar.cs: Implemented missing 2.0 members.
  2636. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  2637. * Control.cs: Corcompare issues.
  2638. * MessageBox.cs: Implemented missing 2.0 functions.
  2639. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  2640. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  2641. Implemented more 2.0 members.
  2642. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  2643. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  2644. null (strange, but it seems to happen when running unit tests).
  2645. 2007-05-30 Andreia Gaita <[email protected]>
  2646. * ContainerControl.cs: Set active_control even earlier, before
  2647. firing any events, and undo it if validation returns false.
  2648. 2007-05-30 Andreia Gaita <[email protected]>
  2649. * ContainerControl.cs: Raise Validation and Enter/Leave events
  2650. even if there is no Form and set active_control earlier, just
  2651. before firing Enter events (toshok's patches). Fixes #80647.
  2652. 2007-05-30 Jackson Harper <[email protected]>
  2653. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  2654. things and fix bug #81311.
  2655. 2007-05-30 Jackson Harper <[email protected]>
  2656. * X11Dnd.cs: Now that we have our own event loop, we need to
  2657. cancel when we get a mouseup but it won't be accepted.
  2658. 2007-05-30 Chris Toshok <[email protected]>
  2659. * DataGrid.cs (set_CurrentCell): guard against negative
  2660. column/row.
  2661. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  2662. array index syntax instead of looping over the property names.
  2663. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  2664. and set IsInEditOrNavigateMode to false there.
  2665. 2007-05-30 Jackson Harper <[email protected]>
  2666. * TreeView.cs: Make sure we don't get a bad visible order when
  2667. setting to the top node. Fixes some misc crashing in
  2668. ControlInspector.
  2669. 2007-05-30 Andreia Gaita <[email protected]>
  2670. * UserControl.cs: Add 2.0 AutoSizeMode
  2671. 2007-05-29 Everaldo Canuto <[email protected]>
  2672. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  2673. 2007-05-29 Everaldo Canuto <[email protected]>
  2674. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  2675. lines. Fixes #80285.
  2676. 2007-05-29 Everaldo Canuto <[email protected]>
  2677. * DataGridColumnStyle.cs: Add char trimming column header text format.
  2678. 2007-05-29 Everaldo Canuto <[email protected]>
  2679. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  2680. Fixes #80147.
  2681. 2007-05-29 Jackson Harper <[email protected]>
  2682. * TreeNode.cs: Fix off by one on calculating whether or not a node
  2683. is visible.
  2684. 2007-05-29 Jonathan Pobst <[email protected]>
  2685. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  2686. * ScrollableControl.cs: Force an UpdateDistances when we move the
  2687. scrollbars.
  2688. [Fixes bug #80605]
  2689. 2007-05-29 Andreia Gaita <[email protected]>
  2690. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  2691. update the page setup screen.
  2692. 2007-05-29 Andreia Gaita <[email protected]>
  2693. * PageSetupDialog.cs: Fix landscape mode.
  2694. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  2695. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  2696. IconSizeHorizontalSpacing.
  2697. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  2698. * ListView.cs: The declaration of prev_tooltip_item should be inside
  2699. a NET_2_0 conditional (avoid a warning).
  2700. 2007-05-28 Andreia Gaita <[email protected]>
  2701. * PageSetupDialog.cs: Implement PrintPreview control to display
  2702. the preview thumbnail. Change unit conversion to use
  2703. PrinterUnitConvert methods.
  2704. Note: there is a huge bug in ms.net where the default margins are
  2705. interpreted as centimeters (?), when in fact they are set in inches. When
  2706. loading the page setup dialog initially (ms.net), the default margins
  2707. are set to 1 inch, and the dialog shows them with value 10, when in fact
  2708. it should be 25 (properly converted). Our dialog doesn't have this bug.
  2709. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  2710. RectangleF.
  2711. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  2712. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  2713. * ListView.cs:
  2714. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  2715. items.
  2716. 2007-05-28 Andreia Gaita <[email protected]>
  2717. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  2718. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  2719. bug?), convert the ptr to Int32 first.
  2720. 2007-05-28 Jackson Harper <[email protected]>
  2721. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  2722. recieved, we will exit the dnd tracking loop.
  2723. 2007-05-28 Jackson Harper <[email protected]>
  2724. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  2725. recieved. TODO: I should probably stick a timer on the dropped
  2726. event, and finish the drag if the XDND Finished event never shows
  2727. (because some apps don't seem to send it).
  2728. 2007-05-28 Everaldo Canuto <[email protected]>
  2729. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  2730. #81733.
  2731. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  2732. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  2733. handled.
  2734. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  2735. * MonthCalendar.cs: Set the size after initializing all the relevant
  2736. variables. Fixes #81742.
  2737. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  2738. * KeyEventArgs.cs: Fix typo.
  2739. 2007-05-28 Gert Driesen <[email protected]>
  2740. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  2741. to match MS. Fixed MinDate to only accept value less than or equal
  2742. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  2743. Removed TODO's that are now verified by unit tests.
  2744. 2007-05-27 Gert Driesen <[email protected]>
  2745. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  2746. MS.
  2747. 2007-05-25 Jackson Harper <[email protected]>
  2748. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  2749. it's own message loop.
  2750. * XplatUIX11.cs: Remove some of the dnd hooks
  2751. 2007-05-25 Gert Driesen <[email protected]>
  2752. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  2753. instead of MinimizedWindowSize.
  2754. 2007-05-25 Jackson Harper <[email protected]>
  2755. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  2756. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  2757. * KeyEventArgs.cs: Added SuppressKeyPress.
  2758. * Control.cs: Added support for SuppressKeyPress.
  2759. 2007-05-24 Andreia Gaita <[email protected]>
  2760. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  2761. problems with PieChart. suppress_validation should not be a counter,
  2762. if there are several BeginInit calls, the first EndInit will
  2763. activate validation. Fix exceptions thrown by set_Value.
  2764. * UpDownBase.cs: ValidateText only if it's the user editing it.
  2765. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  2766. * ListControl.cs: FilterItemOnProperty should return the filtered
  2767. item proeprty even if DataSource is null. The same applies for
  2768. GetItemText. Fixes #80427.
  2769. 2007-05-24 Jonathan Pobst <[email protected]>
  2770. * Control.cs: If a control doesn't have a parent when it's Dock is
  2771. set, but it has children, it needs to do a layout. Fixes some nested
  2772. controls issues. [Fixes bug #81199]
  2773. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  2774. * ComboBox.cs: If there are few items in the drop down list, make it
  2775. the exact size the items need, no bigger. Fixes #81612.
  2776. 2007-05-24 Jonathan Pobst <[email protected]>
  2777. * Application.cs: When we have captured the keyboard for a menu,
  2778. check for mouse down events in case we need to close the menu.
  2779. * Control.cs, Form.cs: Remove mouse down checks for menus.
  2780. 2007-05-24 Jackson Harper <[email protected]>
  2781. * TextControl.cs: Handle tabs in non multiline mode a little
  2782. differently.
  2783. 2007-05-24 Jackson Harper <[email protected]>
  2784. * TextControl.cs: We need to manually break apart tabbed text and
  2785. move the tabs, since the system.drawing tabbing mechanism relies
  2786. on tab stops.
  2787. * TextBoxBase.cs: Move the caret properly when the user enters a
  2788. tab.
  2789. 2007-05-24 Jonathan Pobst <[email protected]>
  2790. * ContainerControl.cs: Don't check CanSelect before calling
  2791. ProcessMnemonic.
  2792. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  2793. release a KeyboardActive on click if it's not ours.
  2794. 2007-05-23 Andreia Gaita <[email protected]>
  2795. * ColumnHeader.cs: Add TypeConverter
  2796. 2007-05-23 Everaldo Canuto <[email protected]>
  2797. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  2798. 2007-05-23 Everaldo Canuto <[email protected]>
  2799. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  2800. 2007-05-23 Everaldo Canuto <[email protected]>
  2801. * LinkLabel.cs: Implement public Padding property.
  2802. 2007-05-23 Everaldo Canuto <[email protected]>
  2803. * LinkLabel.cs: Implement public FlatStyle.
  2804. 2007-05-23 Jonathan Pobst <[email protected]>
  2805. * Control.cs: Apply patch from George to call parent.PerformLayout
  2806. when Visible is changed. [Fixes bugs #81118, 81718]
  2807. 2007-05-23 Everaldo Canuto <[email protected]>
  2808. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  2809. 2007-05-23 Everaldo Canuto <[email protected]>
  2810. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  2811. 2007-05-23 Everaldo Canuto <[email protected]>
  2812. * ContextMenu.cs: Implement Collapse.
  2813. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  2814. * ToolBarButton.cs: Implement Name.
  2815. 2007-05-22 Everaldo Canuto <[email protected]>
  2816. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  2817. use current_item, it prevents some NRE. Fixes #81675.
  2818. 2007-05-22 Andreia Gaita <[email protected]>
  2819. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  2820. without updating the text.
  2821. 2007-05-22 Jonathan Pobst <[email protected]>
  2822. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  2823. without calling DeleteObject. [Should fix bug #81709]
  2824. 2007-05-22 Jackson Harper <[email protected]>
  2825. * RichTextBox.cs: Set the line endings correctly, when flushing
  2826. RTF text.
  2827. 2007-05-22 Gert Driesen <[email protected]>
  2828. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  2829. {Width=0,Height=0}.
  2830. 2007-05-22 Jackson Harper <[email protected]>
  2831. * TreeView.cs: Setting top with a null node should set to the very
  2832. top.
  2833. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  2834. * Form.cs: ShowDialog: destroy the handle when message loop is
  2835. finished, matches MS behaviour. Refactor parts of WmClose into
  2836. RaiseCloseEvents, that only raises events if they haven't already
  2837. been raised. Fixes #81688 and #81521.
  2838. * Application.cs: Don't call close on the form when exiting a modal
  2839. loop, it will raise all the (Form)Closed/Closing events again if
  2840. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  2841. which doesn'r raise any events it they have been raised before.
  2842. 2007-05-22 Jonathan Pobst <[email protected]>
  2843. * Control.cs: Add OnPrint.
  2844. * ToolStrip.cs: Add GetChildAtPoint.
  2845. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  2846. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  2847. 2007-05-22 Everaldo Canuto <[email protected]>
  2848. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  2849. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  2850. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  2851. isn't visible anymore. Fixes #81651.
  2852. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  2853. * Control.cs: WmShowWindow: Update children's z-order after setting
  2854. their parent. SetParent may show the window, thereby corrupting
  2855. z-order, since the window will be shown on top.
  2856. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  2857. multiple (and redundant) WM_SHOWWINDOW messages.
  2858. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  2859. event has already been raised.
  2860. * Form.cs: Change is_changing_visible_state to a counter, since
  2861. SetVisibleCore can be called recursively. CreateHandle: when
  2862. creating mdi children, send (De)Activated events.
  2863. * MdiClient.cs: Update use of is_changing_visible_state.
  2864. * Application.cs: OnThreadException: Surround exception handling with
  2865. try/finally to ensure we always reset the error-handling state
  2866. before leaving.
  2867. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  2868. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  2869. (#81704).
  2870. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  2871. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  2872. SmallIcon views, now that we have a standarized horizontal spacing.
  2873. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  2874. 4, just like the other views (Match .Net).
  2875. 2007-05-21 Jonathan Pobst <[email protected]>
  2876. * Control.cs: Delay calculating anchor distances until we actually layout.
  2877. Always query the WM for the actual size and location it put us at instead of
  2878. only when we send negative values.
  2879. [Fixes bugs #81694, 81695]
  2880. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  2881. * Application.cs: Avoid a possible stack overflow when trying to exit
  2882. the application.
  2883. 2007-05-19 Marek Safar <[email protected]>
  2884. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  2885. enum value.
  2886. 2007-05-19 Andreia Gaita <[email protected]>
  2887. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  2888. * NumericUpDownAcceleration.cs,
  2889. NumericUpDownAccelerationCollection.cs: Added 2.0
  2890. implementation.
  2891. 2007-05-19 Gert Driesen <[email protected]>
  2892. * RichTextBox.cs: Recalculate the document after the ScrollBars
  2893. property is changed. Fixes bug #81681.
  2894. 2007-05-18 Jonathan Pobst <[email protected]>
  2895. * DataObject.cs: Implement 2.0 methods.
  2896. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  2897. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  2898. in the center of the checkbox, not in the left-top corner.
  2899. Fixes #80037.
  2900. 2007-05-18 Jackson Harper <[email protected]>
  2901. * RichTextBox.cs: Recalculate the document after the scrollbars
  2902. property is changed.
  2903. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  2904. 81486.
  2905. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  2906. * CreateParams.cs: Make HasWindowManager marginally faster.
  2907. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  2908. into Hwnd so that other drivers can use it as well.
  2909. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  2910. the default location from Hwnd. Fixes MDI client windows always
  2911. showing up at (0,0) in Windows (Win32 won't set the default
  2912. location since the window styles aren't correct).
  2913. 2007-05-18 Gert Driesen <[email protected]>
  2914. * TreeView.cs: Modified DoubleBuffered to just use the base
  2915. implementation.
  2916. 2007-05-18 Jackson Harper <[email protected]>
  2917. * TreeView.cs: Set the top node to the last child node when
  2918. expanding all
  2919. - When we get focus, if there is no selected node, use the top
  2920. node.
  2921. 2007-05-18 Jonathan Pobst <[email protected]>
  2922. * KeysConverter.cs: Add CanConvertTo.
  2923. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  2924. * LinkConverter.cs: Added.
  2925. 2007-05-18 Everaldo Canuto <[email protected]>
  2926. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  2927. it prevents error when file dont have write access. Fixes #81669 and #81667.
  2928. 2007-05-18 Everaldo Canuto <[email protected]>
  2929. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  2930. button text. Fixes #79640.
  2931. 2007-05-18 Everaldo Canuto <[email protected]>
  2932. * Control.cs: According to MSDN controls created in the designer theres
  2933. keyboard accelerators visible by default. So included check for design
  2934. in ShowKeyboardCuesInternal.
  2935. 2007-05-18 Everaldo Canuto <[email protected]>
  2936. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  2937. text. Fixes #81621.
  2938. 2007-05-18 Everaldo Canuto <[email protected]>
  2939. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  2940. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  2941. 2007-05-17 Everaldo Canuto <[email protected]>
  2942. * Control.cs: Finish implementation of UI State using WmChangeUIState
  2943. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  2944. in some controls to check for show_keyboard_cues to draw accell keys "_".
  2945. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  2946. * ListBox.cs: When calculating the horizontal scrollbar
  2947. in single column mode, don't use values less than 0 for
  2948. Maximum. Fixes #81474.
  2949. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  2950. * ListBox.cs: Throw the some missing exceptions in
  2951. ListBox.ObjectCollection methods.
  2952. 2007-05-17 Jackson Harper <[email protected]>
  2953. * TextBoxBase.cs: Recalculate the document when the word wrap
  2954. value has changed. This fixes 81488.
  2955. 2007-05-17 Jonathan Pobst <[email protected]>
  2956. * Clipboard.cs: Implement missing GetText overload.
  2957. 2007-05-17 Chris Toshok <[email protected]>
  2958. * Control.cs (CheckDataBindings): remove the binding_context arg
  2959. to binding.Check.
  2960. * CurrencyManager.cs (OnItemChanged): fix this now that
  2961. BindingManagerBase is fixed. also remove the comment telling where
  2962. the fix should go. We set transfering_data to true/false around
  2963. the call to PushData to keep UpdateIsBinding from being called.
  2964. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  2965. PropertyDescriptorAdded in the 1.1 case. The extra call is
  2966. actually generated by System.Data generating 2 metadata changed
  2967. events of its own per column add. The fix should go there. Add a
  2968. comment to that affect in our test's Assert.Ignore.
  2969. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  2970. we keep a boolean flag (transfering_data) that keeps us from
  2971. calling UpdateIsBinding multiple times if we re-enter either of
  2972. them.
  2973. * ControlBindingsCollection.cs (AddCore): remove the
  2974. binding_context arg to binding.Check.
  2975. * Binding.cs (IsBinding): don't check if we're binding here, just
  2976. return our cached value. we update it in UpdateIsBinding.
  2977. (Check): don't take the binding_context arg, we'll just use our
  2978. control's. Also, for some reason MS doesn't use the data member
  2979. field when getting the bindingmanager for this binding. it just
  2980. uses the datasource. Make this method callable multiple times,
  2981. and only do the is_null_desc stuff if manager.Position != -1 (so
  2982. we don't get an exception accessing manager.Current).
  2983. (UpdateIsBinding): move the code from IsBinding here.
  2984. (PositionChangedHandler): call Check here to we can initialize
  2985. things that require a non- -1 position.
  2986. 2007-05-17 Everaldo Canuto <[email protected]>
  2987. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  2988. control.
  2989. 2007-05-17 Andreia Gaita <[email protected]>
  2990. * TabControl.cs: Add 2.0 methods and events, including
  2991. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  2992. * TabPage.cs: Add 2.0 methods
  2993. 2007-05-17 Everaldo Canuto <[email protected]>
  2994. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  2995. keyboard_cues is properly handled by message method.
  2996. 2007-05-17 Jonathan Pobst <[email protected]>
  2997. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  2998. 2007-05-17 Jonathan Pobst <[email protected]>
  2999. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  3000. 2007-05-16 Everaldo Canuto <[email protected]>
  3001. * Control.cs:
  3002. - WmUpdateUIState added to handle state changes, it make call to
  3003. OnChangeUICues event.
  3004. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  3005. SystemInformation.
  3006. 2007-05-16 Jonathan Pobst <[email protected]>
  3007. * ImageKeyConverter.cs: Added.
  3008. * TreeViewImageKeyConverter.cs: Added.
  3009. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  3010. * ToolTips.cs: Update Text if SetToolTip is called for a control
  3011. already showing the tooltip, as well as restarting its timer; show
  3012. tooltip if we are inside the control bounds by the time of calling
  3013. SetToolTip. Inside ShowTooltip remove the check to not show the
  3014. tooltip again for the active control (it is allowed by .Net to
  3015. show the tooltip on the same control multiple times).
  3016. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  3017. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  3018. 2007-05-16 Andreia Gaita <[email protected]>
  3019. * ContainerControl.cs: only process tab key if there are no
  3020. modifier keys present, otherwise the control does the
  3021. tab processing, if it needs to. Fixes #81622
  3022. * TabControl.cs: Fixes calculation for which tab to select on
  3023. shift+ctrl+tab.
  3024. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  3025. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  3026. 2007-05-15 Jonathan Pobst <[email protected]>
  3027. * Control.cs: Make IsInputCharInternal to allow controls to
  3028. override it and still match MS API.
  3029. * TextBoxBase.cs: Override IsInputCharInternal and always
  3030. return true.
  3031. [Fixes bug #81616]
  3032. 2007-05-15 Jackson Harper <[email protected]>
  3033. * TextBox.cs: Disable some of the menu options when using a
  3034. readonly textbox.
  3035. 2007-05-15 Jackson Harper <[email protected]>
  3036. * TextBox.cs:
  3037. * TextBoxBase.cs:
  3038. * RichTextBox.cs: Some new 2.0 methods
  3039. 2007-05-15 Gert Driesen <[email protected]>
  3040. * FileDialog.cs: On 1.0 profile, do not support multidotted
  3041. extensions.
  3042. 2007-05-14 Jackson Harper <[email protected]>
  3043. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  3044. * RichTextBox.cs: We need to override these methods on 2.0.
  3045. * MaskedTextBox.cs: These are implemented now
  3046. * TextControl.cs: This was off by one.
  3047. 2007-05-14 Jackson Harper <[email protected]>
  3048. * TextControl.cs: Because the line endings are including in the
  3049. text, we don't need to add them in anymore.
  3050. 2007-05-11 Everaldo Canuto <[email protected]>
  3051. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  3052. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  3053. 2007-05-11 Everaldo Canuto <[email protected]>
  3054. * ToolBar.cs: Adjust size to default size when button theres no text and
  3055. image, it fixes remaining issues from #81524.
  3056. 2007-05-11 Everaldo Canuto <[email protected]>
  3057. * ToolBar.cs:
  3058. - When not flat call redraw to recalculate sizes on creare handle to match
  3059. win32 behavior.
  3060. - Revert 77220 because it causes some regressions in toobar
  3061. button.
  3062. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  3063. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  3064. now actually enters a usable state.
  3065. 2007-05-11 Everaldo Canuto <[email protected]>
  3066. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  3067. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  3068. 3 buttons.
  3069. 2007-05-11 Everaldo Canuto <[email protected]>
  3070. * ToolBar.cs: Save default_size on create handle to use later for buttons
  3071. without text, needed to mimic win32 behavior.
  3072. 2007-05-11 Everaldo Canuto <[email protected]>
  3073. * ToolBar.cs: Fix button layour to best fit width or height according to
  3074. vertical or not. Fixes #81524.
  3075. 2007-05-10 Everaldo Canuto <[email protected]>
  3076. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  3077. toolbar size info because different styles theres different sizes.
  3078. Fixes #81522.
  3079. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  3080. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  3081. if we are using checkboxes, checked is true, and we have less
  3082. than two images in StateImageList; for the 1.1 in the same scenario
  3083. draw the first image if we have at least one image in StateImageList.
  3084. Fixes part of #81191.
  3085. 2007-05-10 Jonathan Pobst <[email protected]>
  3086. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  3087. the owner's Items collection on merge.
  3088. 2007-05-10 Jonathan Pobst <[email protected]>
  3089. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  3090. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  3091. and parent/owner gets changed based on gert's unit tests.
  3092. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  3093. * MaskedTextBox.cs: Started implementing parts of it.
  3094. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  3095. * ListView.cs: When clicking the checkbox on the items
  3096. take into account the double clicks even if we have only
  3097. one image in StateImageList (only for 1.0/1.1). Also
  3098. generate an extra change of checked state when we receive
  3099. the second click on checkbox (match .Net behaviour).
  3100. Fixes part of #81191.
  3101. 2007-05-10 Everaldo Canuto <[email protected]>
  3102. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  3103. 2007-05-10 Jonathan Pobst <[email protected]>
  3104. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  3105. even if OnLoad is overriden and base.OnLoad is not called.
  3106. [Fixes bug #81582]
  3107. 2007-05-10 Andreia Gaita <[email protected]>
  3108. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  3109. shame. (I blame my ever-persisting and annoying cold)
  3110. 2007-05-09 Jonathan Pobst <[email protected]>
  3111. * ListView.cs: Don't eat navigation keys. Let them flow through to
  3112. KeyDown/KeyPress routines. [Fixes bug #81569]
  3113. 2007-05-09 Jonathan Pobst <[email protected]>
  3114. * ListView.cs: When handling keys for selecting the item based off
  3115. keyboard input, do not consider keys pressed with Alt or Control. Also,
  3116. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  3117. 2007-05-09 Jonathan Pobst <[email protected]>
  3118. * Control.cs: When using UseWaitCursor, we have to store the requested
  3119. Cursor to use when UseWaitCursor is turned off.
  3120. 2007-05-09 Jonathan Pobst <[email protected]>
  3121. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  3122. to false.
  3123. * Application.cs: Use PreProcessControlMessage instead of
  3124. PreProcessMessage.
  3125. * PreProcessControlMessage.cs: Make internal for 1.1.
  3126. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  3127. * Control.cs: Add InternalContains focus property, which hast the same
  3128. functionality of ContainsFocus, but also including implicit controls.
  3129. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  3130. since we need to know if the focus is contained in our implicit
  3131. ItemControl when calculating Layout. Fixes part of #80888.
  3132. 2007-05-08 Everaldo Canuto <[email protected]>
  3133. * ToolTip.cs: Remove center form string alignment as it must be align to
  3134. left.
  3135. 2007-05-08 Jonathan Pobst <[email protected]>
  3136. * ToolStripItemCollection.cs: Set the new item's parent and owner
  3137. in Insert like we do in Add. [Fixes bug #81568]
  3138. 2007-05-08 Jackson Harper <[email protected]>
  3139. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  3140. - Off by one error in SetTop
  3141. - Disable DoubeBuffering
  3142. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  3143. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  3144. control as much as necessary in order to make it entirely visible,
  3145. instead of centering the control in the container (matches MS
  3146. behaviour). CalculateCanvasSize: we need to take the current scroll
  3147. position into account when calculating the maximum canvas,
  3148. otherwise the following scenario will fail: resize so that the
  3149. scrollbars appear, use the scrollbars to scroll, resize again
  3150. smaller, and now the canvas size is too small. Recalculate: when
  3151. showing scrollbars make sure they start off at 0, and try to scroll
  3152. the active control into view. Fixes #79540. HandleScrollBar: don't
  3153. scroll anywhere if the scrollbar isn't visible.
  3154. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  3155. * ListView.cs: When focus changed, call Layout/Invalidate
  3156. in the focused item to update the selected state (should show
  3157. entire label when ListView is focused, and a part of it if is not).
  3158. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  3159. for displaying the entire label not only the Focused state of the
  3160. item, but also the Focused state of the ListView (match .Net
  3161. behaviour).
  3162. 2007-05-07 Jonathan Pobst <[email protected]>
  3163. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  3164. Implement UseWaitCursor.
  3165. 2007-05-07 Jonathan Pobst <[email protected]>
  3166. Applying contributed patch from Sergey Volk.
  3167. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  3168. of SetDataObject.
  3169. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  3170. 2007-05-07 Jonathan Pobst <[email protected]>
  3171. * Control.cs: Implement DrawToBitmap.
  3172. 2007-05-07 Jonathan Pobst <[email protected]>
  3173. Applying contributed patch from Stefan Noack.
  3174. * Control.cs: Add [Get|Set]AutoSizeMode.
  3175. 2007-05-07 Jonathan Pobst <[email protected]>
  3176. * MdiClient.cs: Unmerge menus when the last child is closed.
  3177. 2007-05-07 Jonathan Pobst <[email protected]>
  3178. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  3179. * ToolStripManager.cs: Call Merge on DropDowns.
  3180. [Fixes bug #81477]
  3181. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  3182. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  3183. uints.
  3184. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  3185. visibility. We can't create forms visible, since we have to set the
  3186. owner before making the form visible (otherwise Win32 will do
  3187. strange things with task bar icons). The problem is that we set the
  3188. internal is_visible to true before creating the control, so
  3189. is_changing_visible_state is the only way of determining if we're
  3190. in the process of creating the form due to setting Visible=true -
  3191. this works because SetVisibleCore explicitly makes the form
  3192. visibile afterwards anyways. Fixes #80775.
  3193. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  3194. * ThemeWin32Classic.cs: When drawing ListViewItems,
  3195. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  3196. or LargeIcon _and_ item is not focused (match .Net behaviour).
  3197. 2007-05-04 Jonathan Pobst <[email protected]>
  3198. * Control.cs, Form.cs: Fix some obsolete method warnings.
  3199. 2007-05-04 Jonathan Pobst <[email protected]>
  3200. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  3201. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  3202. 2007-05-04 Andreia Gaita <[email protected]>
  3203. * ContainerControl.cs: Fix active_control attribution when going
  3204. up the parent chain so that the first parent container gets the control
  3205. and the rest of the parent containers get the child containers (skips
  3206. non-containers). Fixes #80729
  3207. 2007-05-04 Randolph Chung <[email protected]>
  3208. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  3209. [Fixes bug #81499]
  3210. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  3211. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  3212. takes a size parameter, since the CreateParam's size isn't true for
  3213. minimized forms. Fixes #81518,
  3214. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  3215. * Form.cs: Add OnDeactivateInternal.
  3216. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  3217. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  3218. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  3219. accessing the parent. Fixes #81508.
  3220. 2007-05-03 Chris Toshok <[email protected]>
  3221. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  3222. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  3223. was added before the current listposition. Fixes the
  3224. TestInsertRowBeforeCurrent unit test.
  3225. 2007-05-03 Jonathan Pobst <[email protected]>
  3226. * Application.cs: Add RaiseIdle.
  3227. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3228. XplatUIX11.cs: Implement RaiseIdle.
  3229. 2007-05-02 Jonathan Pobst <[email protected]>
  3230. corcompare work: N - Z
  3231. * NotifyIcon.cs
  3232. * ProgressBar.cs
  3233. * RadionButton.cs
  3234. * ScrollableControl.cs
  3235. * SplitContainer.cs
  3236. * SplitterPanel.cs
  3237. * StatusBar.cs
  3238. * SystemInformation.cs
  3239. * TabControl.cs
  3240. * TableLayoutControlCollection.cs
  3241. * TableLayoutPanel.cs
  3242. * TabPage.cs
  3243. * ToolBar.cs
  3244. * ToolBarButton.cs
  3245. * ToolStrip.cs
  3246. * ToolStripComboBox.cs
  3247. * ToolStripContainer.cs
  3248. * ToolStripContentPanel.cs
  3249. * ToolStripDropDown.cs
  3250. * ToolStripDropDownItem.cs
  3251. * ToolStripDropDownMenu.cs
  3252. * ToolStripItem.cs
  3253. * ToolStripItemCollection.cs
  3254. * ToolStripMenuItem.cs
  3255. * ToolStripPanel.cs
  3256. * ToolStripSplitButton.cs
  3257. * ToolTip.cs
  3258. * TreeNode.cs
  3259. * TreeNodeCollection.cs
  3260. * TreeNodeMouseHoverEventArgs.cs
  3261. * TreeView.cs
  3262. 2007-05-01 Everaldo Canuto <[email protected]>
  3263. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  3264. stuff. Thanks aatdark for the patch.
  3265. 2007-05-01 Jonathan Pobst <[email protected]>
  3266. * GridItem.cs: Implement 2.0 Tag property.
  3267. 2007-05-01 Frederik Carlier <[email protected]>
  3268. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  3269. count instead of Nodes.Length. [Fixes bug #81448]
  3270. 2007-05-01 Jonathan Pobst <[email protected]>
  3271. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  3272. [Fixes bug #81506]
  3273. 2007-05-01 Jonathan Pobst <[email protected]>
  3274. corcompare work: A - M
  3275. * BindingNavigator.cs
  3276. * Button.cs
  3277. * ButtonBase.cs
  3278. * CheckBox.cs
  3279. * Control.cs
  3280. * FlowLayoutPanel.cs
  3281. * Form.cs
  3282. * Label.cs
  3283. * LinkLabel.cs
  3284. * ListView.cs
  3285. 2007-05-01 Jonathan Pobst <[email protected]>
  3286. * Application.cs: Give toolstrips a chance to process mnemonics.
  3287. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  3288. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  3289. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  3290. 2007-05-01 Jackson Harper <[email protected]>
  3291. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  3292. wider area too.
  3293. - Don't set the BoundsSpecified
  3294. 2007-04-30 Jonathan Pobst <[email protected]>
  3295. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  3296. message to pass through to a regular control if it hosted by a toolstrip.
  3297. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  3298. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  3299. 2007-04-30 Jonathan Pobst <[email protected]>
  3300. * TextRenderer.cs: Use the flags argument when using the MeasureString
  3301. fallback algorithm.
  3302. 2007-04-30 Jonathan Pobst <[email protected]>
  3303. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  3304. the MDI menu item. [Fixes bug #81483]
  3305. 2007-04-30 Gert Driesen <[email protected]>
  3306. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  3307. string. When setting Name to null, use zero-length string instead.
  3308. 2007-04-29 Andreia Gaita <[email protected]>
  3309. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  3310. DeselectTab). Implement missing 2.0 TabPageCollection methods
  3311. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  3312. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  3313. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  3314. 2007-04-29 Gert Driesen <[email protected]>
  3315. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  3316. Fixes bug #81479. Include details of exception when LoadFile fails.
  3317. 2007-04-28 Alan McGovern <[email protected]>
  3318. * DrawListViewSubItemEventArgs.cs: Added missing setter
  3319. 2007-04-27 Andreia Gaita <[email protected]>
  3320. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  3321. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  3322. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  3323. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  3324. removed in ly last commit (it was breaking the Label edit feature).
  3325. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  3326. StringAlignment.Near for LineAlignment (match .Net).
  3327. 2007-04-27 Andreia Gaita <[email protected]>
  3328. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  3329. of controls if it isn't already there - was blowing up when doing
  3330. tabcontrol.TabPages[i]=new TabPage().
  3331. SetTab now does a replace by removing the page at the index.
  3332. Add a new InsertTab method that inserts a page in a given index
  3333. instead of replacing.
  3334. Implements TabPageCollection.Insert(int, TabPage).
  3335. 2007-04-27 Chris Toshok <[email protected]>
  3336. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  3337. internal handler that can be invoked from our subclasses.) Also,
  3338. add a comment to PushData about how we need to fix it.
  3339. * CurrencyManager.cs: tons of changes here. trying to get things
  3340. matching the behavior of .net wrt event orders (ItemChanged,
  3341. CurrentChanged, PositionChanged.) I've implemented a private .net
  3342. symbol (ChangeRecordState) that appears in stack traces because
  3343. it's actually easier to do this than to effective inline all its
  3344. various behaviors at every call site.
  3345. * RelatedPropertyManager.cs: guard against an exception here by
  3346. not using parent.Current if the position is set to -1 (if the
  3347. parent datasource is cleared, for instance).
  3348. * Binding.cs: don't parse data in PushData (this might be wrong,
  3349. but it jives with MS's behavior.) Also, don't call PushData when
  3350. we get a CurrentChanged event.
  3351. 2007-04-27 Andreia Gaita <[email protected]>
  3352. * WebBrowser.cs,
  3353. WebBrowserBase.cs,
  3354. WebBrowserSiteBase.cs,
  3355. HtmlDocument.cs: Added stubbed out classes, no real implementations
  3356. yet.
  3357. 2007-04-27 Everaldo Canuto <[email protected]>
  3358. * MainMenu.cs: In draw method without parameters call draw method with
  3359. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  3360. as Rect property is already adjusted. Fixes #80694.
  3361. 2007-04-27 Jonathan Pobst <[email protected]>
  3362. * Application.cs: Need to handle keyboard menu deselection here.
  3363. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  3364. navigation, allowing keyboard to work on X11.
  3365. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  3366. 2007-04-27 Everaldo Canuto <[email protected]>
  3367. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  3368. menu bar. It fixes some drawing issues in menu bar.
  3369. 2007-04-27 Everaldo Canuto <[email protected]>
  3370. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  3371. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  3372. when <alt> key is pressed.
  3373. 2007-04-26 Everaldo Canuto <[email protected]>
  3374. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  3375. example just set visible to false and make this prevent from other problems.
  3376. In SystrayAdd always remove pending expose. Fixes #81072.
  3377. 2007-04-26 Marek Safar <[email protected]>
  3378. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  3379. value is set.
  3380. 2007-04-26 Alan McGovern <[email protected]>
  3381. * ListView.cs: Added three missing 2.0 events and corresponding
  3382. EventHandlers. Added the OwnerDraw property.
  3383. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  3384. 2007-04-26 Alan McGovern <[email protected]>
  3385. * DrawListViewItemEventArgs.cs
  3386. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  3387. 2007-04-26 Alan McGovern <[email protected]>
  3388. * TextControl.cs: Fixed typo in constructor
  3389. 2007-04-26 Jonathan Pobst <[email protected]>
  3390. * Application.cs: Create a shortcut path so that currently selected
  3391. MenuStrips can intercept keyboard events without having focus.
  3392. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  3393. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  3394. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  3395. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  3396. generate WM_SYSCOMMAND message in X11 for other platforms.
  3397. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  3398. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  3399. * ToolStripSplitButton.cs: Add DefaultItem property.
  3400. 2007-04-26 Everaldo Canuto <[email protected]>
  3401. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  3402. fixes some menu draw problem on Windows with border diferent from default
  3403. it also fixes #81403.
  3404. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  3405. * Form.cs: Refactor WndProc into separate methods, just like Control is
  3406. doing it.
  3407. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  3408. * Control.cs: set_Text: move the call to the driver into a seperate
  3409. virtual method so that Form can override it.
  3410. * MaskedTextBox.cs: Corcompare fixes.
  3411. * Form.cs: Override UpdateWindowText and only update the styles if the
  3412. form has been shown (fixes #81405).
  3413. 2007-04-25 Jonathan Pobst <[email protected]>
  3414. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  3415. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  3416. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  3417. the form lost focus or another control was clicked.
  3418. 2007-04-25 Gert Driesen <[email protected]>
  3419. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  3420. fixed.
  3421. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  3422. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  3423. DrawListViewItemEventHandler.cs,
  3424. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  3425. Added.
  3426. * X11Structs.cs: More ToString implementation.
  3427. 2007-04-25 Jonathan Pobst <[email protected]>
  3428. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  3429. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  3430. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  3431. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  3432. handle.
  3433. * FormCollection.cs: Don't add a form if it's already in the
  3434. collection.
  3435. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  3436. according to behaviour and MSDN. The ownerWin32 is the active
  3437. window at the moment when we call ShowDialog, not the context's
  3438. main form (the context's main form may open another form that opens
  3439. a form with ShowDialog, the win32 owner is the second form). Add
  3440. and remove forms to the Application.OpenForms in other places to
  3441. better match MS behaviour. Add an IsActive property that raises
  3442. On(de)Activated only if the active state has changed (we were
  3443. raising OnDeactivated before OnActivated while creating forms).
  3444. * Application.cs: Refactor Enabling/Disabling of windows for modal
  3445. dialog loops out to separate methods, and restore the thread
  3446. context when we quit the method. Fixes #81407.
  3447. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  3448. * ListView.cs: In ItemControl.HandleClicks, also fire
  3449. 2.0 MouseClick or MouseDoubleClick events on the parent,
  3450. not only the Click/DoubleClick events.
  3451. 2007-04-24 Andreia Gaita <[email protected]>
  3452. * TableLayoutSettings.cs:
  3453. - Added a GetControls method and a support structure to help the
  3454. TypeConverter to enumerate the controls for serialization.
  3455. - Added a new serialization constructor.
  3456. - Added a isSerialized flag initialized to true on the
  3457. serialization constructor so that the TableLayoutPanel.LayoutSettings
  3458. setter does not throw the designed NotSupportedOperation exception
  3459. when the object is built through deserialization.
  3460. - Implemented GetObjectData
  3461. * TableLayoutPanel.cs: Added check on LayoutSettings.
  3462. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  3463. * ListView.cs: Report Click and DoubleClick events to the parent
  3464. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  3465. from breaking the click count state when using dialog forms (Control
  3466. reports the clicks in a similar fashion). In the previous behaviour
  3467. the last WM_LBUTTONUP message in a double click was sent to the
  3468. ListView's form, instead of the ListView, which was breaking the click
  3469. count for it. Fixes #80387.
  3470. 2007-04-24 Alan McGovern <[email protected]>
  3471. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  3472. 2007-04-24 Jonathan Pobst <[email protected]>
  3473. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  3474. us from created dropdowns for menu items that do not have subitems.
  3475. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  3476. Check HasDropDownItems before calling DropDown so a dropdown will not be
  3477. created if it isn't needed.
  3478. 2007-04-24 Jackson Harper <[email protected]>
  3479. * TreeView.cs: Set the first node to the selected node when we get
  3480. focus if there is no selected node.
  3481. 2007-04-24 Andreia Gaita <[email protected]>
  3482. * MimeIcon.cs: remove using blocks so that image streams are
  3483. not disposed of. Fixes #80151
  3484. 2007-04-24 Jackson Harper <[email protected]>
  3485. * TextBoxBase.cs: Fixup the height of textboxes when the control
  3486. is created.
  3487. 2007-04-24 Jonathan Pobst <[email protected]>
  3488. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  3489. for each ToolStripItem when the parent's RightToLeftChanged is called.
  3490. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  3491. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  3492. Fixes #80163.
  3493. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  3494. property, so that the setter can be overriden too.
  3495. * TextBox.cs: Change GetContextMenuInternal() to use
  3496. ContextMenuInternal.
  3497. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  3498. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  3499. #81406.
  3500. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  3501. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  3502. #81406.
  3503. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  3504. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  3505. avoid duplicate work. Mostily skeleton code, it's not working at
  3506. all yet.
  3507. 2007-04-20 Leszek Ciesielski <[email protected]>
  3508. * NotifyIcon.cs : stub for MouseClick event
  3509. * Application.cs: stub for SetUnhandledExceptionMode
  3510. 2007-04-24 Alan McGovern <[email protected]>
  3511. * BindingNavigator.cs : Initial (partial) implementation
  3512. 2007-04-23 Jackson Harper <[email protected]>
  3513. * TreeView.cs: Do not create the treeview's handle when setting
  3514. the scroll position.
  3515. - ExpandAll needs to compute the scrollbars so it knows which
  3516. position to set the bar too.
  3517. * TreeNode.cs:
  3518. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  3519. 2007-04-23 Jackson Harper <[email protected]>
  3520. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  3521. key. Fixes #81408.
  3522. 2007-04-23 Jonathan Pobst <[email protected]>
  3523. * ToolStripItem.cs: Make GetImageSize internal.
  3524. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  3525. need to draw an item. Fixes a reported issue where images on menus
  3526. that were not 16x16 were drawing incorrectly.
  3527. 2007-04-21 Miguel de Icaza <[email protected]>
  3528. * Padding.cs: Use the converter, fixes the resgen2 issue with
  3529. XMLNotePad.
  3530. 2007-04-21 Jackson Harper <[email protected]>
  3531. * TreeView.cs: Dont try to unhighlight the selected node if there
  3532. isn't a selected node.
  3533. 2007-04-21 Jackson Harper <[email protected]>
  3534. * UpDownBase.cs:
  3535. * TextBoxBase.cs:
  3536. * ListView.cs:
  3537. * ListBox.cs:
  3538. * TreeView.cs: Use the InternalBorderStyle property to set the
  3539. initial border style, this forces the client rectangle to be sized
  3540. correctly.
  3541. 2007-04-20 Jackson Harper <[email protected]>
  3542. * TreeView.cs: Simplify scrolling to the last node after expanding
  3543. all.
  3544. - Fix some off by ones with setting the bottom.
  3545. 2007-04-20 Jonathan Pobst <[email protected]>
  3546. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  3547. that. We were incorrectly doing it the other way around. Also,
  3548. update ClientSize if we change the BorderStyle before the control
  3549. is created.
  3550. 2007-04-20 Gert Driesen <[email protected]>
  3551. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  3552. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  3553. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  3554. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  3555. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  3556. Caption to CaptionHeight.
  3557. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  3558. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  3559. and FixedFrameBorderSize to return value from current XplatUI driver.
  3560. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  3561. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  3562. and FixedFrameBorderSize using win32 API. Renamed Caption to
  3563. CaptionHeight.
  3564. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  3565. * SystemInformation.cs: Fixed typo in BorderSize.
  3566. 2007-04-20 Gert Driesen <[email protected]>
  3567. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  3568. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  3569. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  3570. returning false.
  3571. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  3572. value from XplatUI driver.
  3573. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  3574. SystemParametersInfo.
  3575. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  3576. override.
  3577. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  3578. returning false.
  3579. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  3580. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  3581. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  3582. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  3583. 2007-04-20 Jonathan Pobst <[email protected]>
  3584. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  3585. MenuStrips that contain ToolStripSeparators.
  3586. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  3587. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  3588. DefineStdCursorBitmap.
  3589. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  3590. has been created off a standard cursor. This is used to get a
  3591. bitmap of the standard cursor when Draw or DrawStretched is called
  3592. in order to draw the cursor.
  3593. * X11Structs.cs: Added XcursorImage and XcursorImages.
  3594. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  3595. DefineStdCursorBitmap.
  3596. * Cursors.cs: Update all relevant creations of Cursor to use the new
  3597. internal constructor.
  3598. 2007-04-19 Jackson Harper <[email protected]>
  3599. * TextBox.cs: Move the has_been_focused into the base control, so
  3600. some of the text adding methods can manipulate it (probably time
  3601. for a better name for this flag too).
  3602. - Call a new version of selectall that doesn't scroll
  3603. * TextBoxBase.cs: When we append text, if the document is empty,
  3604. don't scroll. If the document has text already, we scroll to the
  3605. end of the appended text.
  3606. - When the text is changed, we reset the has_been_focused, so the
  3607. next time the control gets focused, all the text is selected.
  3608. 2007-04-19 Jackson Harper <[email protected]>
  3609. * TextControl.cs: Move the margins to the document, add a method
  3610. so the margin sizes can be updated.
  3611. * TextBoxBase.cs: When the border style is changed, update the
  3612. border sizes.
  3613. 2007-04-19 Jonathan Pobst <[email protected]>
  3614. * Control.cs: Respect DefaultPadding.
  3615. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  3616. padding into account.
  3617. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  3618. 2007-04-19 Jackson Harper <[email protected]>
  3619. * TextControl.cs: Oops, we need to use the ClientRect not the
  3620. bounds here.
  3621. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  3622. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  3623. account the double clicks when CheckBoxes are used and
  3624. the pointer is inside the checkbox. Fixes part of #81191.
  3625. 2007-04-18 Jackson Harper <[email protected]>
  3626. * TextControl.cs: Pressing the end key shouldn't move the caret
  3627. past the line ending.
  3628. * TextBoxBase.cs: We can still delete if we are in the line
  3629. ending and the combine will just kill the existing line ending.
  3630. 2007-04-18 Jackson Harper <[email protected]>
  3631. * TextControl.cs: We can't move lines, then invalidate their
  3632. bounds, we need to get the old bounds and combine that with the
  3633. new bounds.
  3634. * TextBoxBase.cs: Before combining two lines for a delete, we need
  3635. to invalidate the area of the old line, since that will be moved
  3636. in the combine operation.
  3637. 2007-04-18 Everaldo Canuto <[email protected]>
  3638. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  3639. with transparent background. Fixes #80482.
  3640. 2007-04-18 Jonathan Pobst <[email protected]>
  3641. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  3642. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  3643. [Fixes bug #81391]
  3644. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  3645. * CreateParams.cs: Add a couple of helper methods and do a less string
  3646. concatenation in ToString.
  3647. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  3648. overload that takes a Control parameter, since this method may be
  3649. called before a control is assigned to the hwnd (from
  3650. CreateWindow), and update CreateWindow to use the new overload. In
  3651. GetMenuOrigin subtract the title bar from the y position if the
  3652. form has a window manager (since we're painting it and not X).
  3653. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  3654. CreateParams to calculate the origin (since border sizes may vary).
  3655. In ScreenToMenu only subtract the title height if we actually have
  3656. a title.
  3657. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  3658. mdi children never have menus of themselves.
  3659. * InternalWindowManager.cs: Implement menu handling like form does.
  3660. Added GetMenuOrigin to calculate the menu origin, can't use the
  3661. CreateParams from the form like normally since it's lying.
  3662. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  3663. windows-like) and add Inflate and comparison operators to the
  3664. Borders type. When calculating MenuOrigin and it's a form with a
  3665. window manager, use the window manager to calculate it.
  3666. 2007-04-17 Chris Toshok <[email protected]>
  3667. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  3668. OnBindingContextChanged thing here. It's only generated from
  3669. ContainerControl.OnCreateControl. Fixes a newly written unit test
  3670. - BindingTest.BindingContextChangedTest4.
  3671. 2007-04-17 Jackson Harper <[email protected]>
  3672. * ScrollBar.cs: When setting values, make sure the current
  3673. position stays within the new values range.
  3674. 2007-04-17 Chris Toshok <[email protected]>
  3675. * Control.cs (CreateControl): talk about a bizarre corner case.
  3676. Don't emit OnBindingContextChanged here if we're a parentless
  3677. control (i.e. if we're a form.). Fixes
  3678. BindingTest.BindingContextChangedTest2.
  3679. 2007-04-17 Everaldo Canuto <[email protected]>
  3680. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  3681. from win32. Fixes #81255.
  3682. 2007-04-17 Everaldo Canuto <[email protected]>
  3683. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  3684. already present in CalculateButtonTextAndImageLayout.
  3685. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  3686. * XplatUIX11.cs: When setting min/max size for a window we need to
  3687. translate the coordinates to x coordinates. Create an overload of
  3688. SetWindowMinMax that takes a CreateParams handling this, and change
  3689. SetWMStyles to call this function (can't use Control.FromHandle in
  3690. the SetWindowMinMax to get the control/CreateParams from the handle
  3691. because the handle might not have been assigned to the control
  3692. yet). Fixes #81371.
  3693. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  3694. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  3695. if StateImageList is non-null and it has less than two items (match MS
  3696. behaviour). Also, in HandleNavKeys handle the Space key, calling
  3697. the new ToggleItemsCheckState method, which tries to change the
  3698. checked state of the selected items. Fixes part of #81191.
  3699. 2007-04-16 Jackson Harper <[email protected]>
  3700. * RichTextBox.cs: namespace cleanup.
  3701. 2007-04-16 Everaldo Canuto <[email protected]>
  3702. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  3703. 2007-04-16 Everaldo Canuto <[email protected]>
  3704. [Fixes #79447]
  3705. * Control.cs: Call invalidate in set_Region.
  3706. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  3707. it dont works here.
  3708. 2007-04-16 Jackson Harper <[email protected]>
  3709. * TextBoxBase.cs: When enter is pressed, we need to update all
  3710. lines below the current.
  3711. 2007-04-16 Jonathan Pobst <[email protected]>
  3712. * MdiClient.cs: Implement implicit menu merging for MDI
  3713. children. When a child form is active, if it has a menustrip
  3714. and the parent form has a MainMenuStrip, automatically merge
  3715. the menus.
  3716. 2007-04-15 Andreia Gaita <[email protected]>
  3717. * TabControl.cs: Refactored sizing methods to not repeat
  3718. code all over the place. Tab bounds are now calculated
  3719. as if alignment is top and single line, and only when
  3720. setting the bounds are the positions adjusted according
  3721. to alignment. Replaced hardcoded positions, spacings and
  3722. paddings by getting the values the ThemeEngine.
  3723. Fixes #79619.
  3724. * Theme.cs: Change TabControl properties and methods so
  3725. that all start with TabControl*. Added more properties
  3726. to help remove hardcoded values on tabcontrol.
  3727. Add CPDrawBorder3D declaration so the Theming classes
  3728. can access it.
  3729. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  3730. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  3731. on the Theming namespace, and call the appropriate methods here.
  3732. Change CPDrawBorder3D to public.
  3733. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  3734. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  3735. the control after firing the OnMouseUp event, instead of sending
  3736. the message before the mentioned event. This is so we can match the
  3737. MS behaviour. Fixes part of #80385.
  3738. 2007-04-13 Jonathan Pobst <[email protected]>
  3739. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  3740. RightToLeft property.
  3741. 2007-04-13 Jonathan Pobst <[email protected]>
  3742. * ToolStrip.cs: Add properties and internal methods to support merging.
  3743. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  3744. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  3745. not trigger reparenting or layouts.
  3746. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  3747. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  3748. is hosting the overflow menu.
  3749. 2007-04-13 Jackson Harper <[email protected]>
  3750. * TextControl.cs: Set the line ending correctly for the first
  3751. inserted line.
  3752. 2007-04-13 Sebastien Pouliot <[email protected]>
  3753. * Theme.cs: Update GetMethod to get the new definition for
  3754. KnownColors.Update (and fix theme color updates).
  3755. 2007-04-12 Everaldo Canuto <[email protected]>
  3756. * MessageBox.cs: Fix some test and button position.
  3757. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  3758. * Form.cs: Consider the implicit controls in
  3759. GetRealChildAtPoint. We need it since this method
  3760. is called on Form when handling the some messages in
  3761. WndProc, and need to consider those implicit ones too.
  3762. Fixes #80385.
  3763. 2007-04-12 Jonathan Pobst <[email protected]>
  3764. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  3765. if there are no ShortcutKeys set.
  3766. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  3767. set, use it when painting.
  3768. 2007-04-12 Jackson Harper <[email protected]>
  3769. * TextControl.cs: Fix some off-by-one issues in line duplication
  3770. and insertion in the undo manager. Also, overwrite the first tag
  3771. of a line on insert, if it is just a zero lengthed tag. This
  3772. prevents us from getting an extra stranded tag at the beginning of
  3773. the first line.
  3774. 2007-04-11 Everaldo Canuto <[email protected]>
  3775. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  3776. to calculated proper size including when handle was not created yet.
  3777. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  3778. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  3779. when the mouse is outside of it's parent's client rectangle. Fixes
  3780. #79982 (take 3, part 2).
  3781. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  3782. * X11Structs.cs: Add a few ToString() overrides.
  3783. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  3784. the window location in a window-manager independent way. Reworked
  3785. FrameExtents, it now actually works. Reworked AddConfigureNotify
  3786. and ReparentNotify handling to use GetTopLevelWindowLocation
  3787. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  3788. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  3789. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  3790. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  3791. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  3792. and generally refactored to do as few calculations as possible
  3793. inside the lock.
  3794. 2007-04-09 Sebastien Pouliot <[email protected]>
  3795. * Theme.cs: Change "reflective-contract" between MWF and SD to
  3796. minimize # of calls, avoid Color serialization and avoid updating
  3797. every "known colors" each time a single one is updated.
  3798. 2007-04-09 Gert Driesen <[email protected]>
  3799. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  3800. when not readonly and the text is explicitly set. Code style updates.
  3801. * DataGridTableStyle.cs: Removed extra line.
  3802. * DataGrid.cs: Code style updates. Removed extra whitespace.
  3803. * DataGridColumnStyle.cs: Code style updates. Removed extra
  3804. whitespace.
  3805. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  3806. * XplatUIX11.cs: Added comment that "fixes" #80021.
  3807. 2007-04-09 Jackson Harper <[email protected]>
  3808. * TextControl.cs: We don't need this -1 on the line count anymore.
  3809. 2007-04-09 Gert Driesen <[email protected]>
  3810. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  3811. entered value to underlying type, and convert it back to a string to
  3812. apply formatting. Modified GetFormattedValue to use TypeConverter
  3813. if available.
  3814. 2007-04-08 Gert Driesen <[email protected]>
  3815. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  3816. Use SubItems property when we want to ensure there's at least one
  3817. subitem. Modified SubItems property to ensure there's always at least
  3818. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  3819. the NRE's reported by MS.
  3820. 2007-04-07 Gert Driesen <[email protected]>
  3821. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  3822. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  3823. Spaces to tabs. Removed extra tabs.
  3824. 2007-04-06 Jonathan Pobst <[email protected]>
  3825. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  3826. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  3827. 2007-04-06 Jackson Harper <[email protected]>
  3828. * TextBoxBase.cs: When a delete removes a line, recalculate all
  3829. lines below that line (they need to get offsets setup correctly)
  3830. and invalidate.
  3831. 2007-04-05 Jackson Harper <[email protected]>
  3832. * TextControl.cs: We need to invalidate across the width of the
  3833. document when we are invalidating multiple lines.
  3834. * TextBoxBase.cs: Don't delete into the line ending.
  3835. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  3836. * ListView.cs: Restore the check for the MouseHover event
  3837. in ListView. It looks like the ListView fires more than one MouseHover
  3838. event when HoverSelection is true _only_ in weird-corner scenarios, but
  3839. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  3840. event.
  3841. 2007-04-05 Mike Kestner <[email protected]>
  3842. * ListView.cs : raise MouseDown before updating selection.
  3843. [Fixes #80373 tab 1&3]
  3844. 2007-04-05 Jonathan Pobst <[email protected]>
  3845. * ToolStripRenderer.cs: Add static method to mirror image.
  3846. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  3847. and RightToLeftAutoMirrorImage.
  3848. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  3849. 2007-04-05 Jonathan Pobst <[email protected]>
  3850. * ToolStripSplitStackLayout.cs: Support Alignment property.
  3851. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  3852. 2007-04-05 Jackson Harper <[email protected]>
  3853. * TextControl.cs: Move around the line endings when crossing line
  3854. boundaries.
  3855. - When combining lines, strip the ending text off the first line.
  3856. 2007-04-05 Jackson Harper <[email protected]>
  3857. * TextControl.cs:
  3858. * TextBoxBase.cs: Try to never move the cursor into the line
  3859. ending.
  3860. 2007-04-04 Jonathan Pobst <[email protected]>
  3861. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  3862. the item is disabled. Also add a few missing methods.
  3863. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  3864. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  3865. to fire just one MouseHover event when HoverSelection is true, since
  3866. .Net does fire more than one MouseHover event in that scenario. Also,
  3867. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  3868. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  3869. Finally, we need to reset the Hover logic in MouseMove, even when we
  3870. don't have a selected item.
  3871. 2007-04-04 Jonathan Pobst <[email protected]>
  3872. * ToolStrip.cs: Add several missing methods, properties, and events.
  3873. 2007-04-04 Chris Toshok <[email protected]>
  3874. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  3875. (0,0,0,0) in Commit, as MS does.
  3876. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  3877. make sure we set CurrentRow on a row header click *before* calling
  3878. Select. This moves the current cell (and the textbox) to the new
  3879. row. The call to Select then hides the textbox, giving us the
  3880. correct behavior. Fixes #80362.
  3881. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  3882. (ListChangedHandler): reorder the position/current changed events,
  3883. and call UpdateIsBinding in the ItemAdded case.
  3884. * GridColumnStylesCollection.cs: add some columns events, one of
  3885. which raises the CollectionChanged event.
  3886. 2007-04-04 Jackson Harper <[email protected]>
  3887. * TextControl.cs: When we delete multiple selection lines
  3888. invalidate the selection area, don't need to do that for single
  3889. lines because the final update view will handle it.
  3890. 2007-04-04 Jonathan Pobst <[email protected]>
  3891. * Control.cs: When we CreateControl, we need to also create all of the
  3892. control's children. The child's OnLoad must also fire before the parent's
  3893. OnLoad. Fixes the toolbox size in PDN.
  3894. 2007-04-04 Jackson Harper <[email protected]>
  3895. * TextBoxBase.cs: When the user presses enter, insert a line
  3896. ending into the text. (Maybe this would be a good spot for
  3897. Environment.NewLine).
  3898. * TextControl.cs: Remove undo manager hack, line endings get
  3899. inserted properly now.
  3900. 2007-04-04 Everaldo Canuto <[email protected]>
  3901. * MenuAPI.cs:
  3902. - Remove unneeded parameters in UpdateCursor.
  3903. - Fix UpdateCursor to check if menu is active.
  3904. - Call UpdateCursor when menu deactivate my click.
  3905. [Fixes remaining issues from #80410]
  3906. 2007-04-04 Everaldo Canuto <[email protected]>
  3907. * Control.cs: GetRealChildAtPoint method added, it make an
  3908. recursive child control search for the point.
  3909. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  3910. menu.
  3911. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  3912. 2007-04-03 Everaldo Canuto <[email protected]>
  3913. * Form.cs: Fix mouse position when send back mouse event after closes
  3914. menu.
  3915. 2007-04-03 Everaldo Canuto <[email protected]>
  3916. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  3917. 2007-04-03 Jonathan Pobst <[email protected]>
  3918. * Control.cs: Fix an issue where if a user resized a control inside
  3919. a sizing method like OnResize, we would overwrite their explicit
  3920. value. Also, only call DefaultSize once in the constructor instead
  3921. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  3922. nothing actually changed.
  3923. 2007-04-03 Jackson Harper <[email protected]>
  3924. * TextControl.cs: Don't attempt to copy text for lines with no
  3925. text in them (technically this shouldn't happen, but we aren't
  3926. always inserting line endings when we should be).
  3927. 2007-04-03 Jackson Harper <[email protected]>
  3928. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  3929. document, because this sets some of the document size properties
  3930. that are needed.
  3931. 2007-04-03 Jackson Harper <[email protected]>
  3932. * TextBoxBase.cs: We need to calculate maximums even if this is
  3933. not a multiline control, because the maxs are used for scrolling.
  3934. - Display the caret after doing a page up/down, we need to
  3935. manually display it because a proper CaretMoved event isn't
  3936. triggered (this is because of the way the math is done to
  3937. determine how far to scroll).
  3938. 2007-04-03 Jonathan Pobst <[email protected]>
  3939. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  3940. (ToolBar was relying on SetBoundsCore to default the values sent
  3941. base off of BoundsSpecified.)
  3942. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  3943. * DateTimePicker.cs: Change Text so that when a null value or empty
  3944. string is assigned to the test we always raise ValueChanged and
  3945. TextChanged (earlier implementation would only raise ValueChanged
  3946. if the current date value was different from DateTime.Now).
  3947. 2007-04-03 Andreia Gaita <[email protected]>
  3948. * ButtonBase: Call update after invalidation, fixes #80194
  3949. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  3950. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  3951. #79335.
  3952. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  3953. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  3954. FormBorderStyle = None, don't give the window any decorations.
  3955. Fixes #81276.
  3956. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  3957. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  3958. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  3959. to check for is a mix of several styles (such as WS_CAPTION for
  3960. instance).
  3961. * Control.cs: Don't paint an area bigger than the client area when
  3962. painting the background colour. Add an internal GetCreateParams.
  3963. Update calls to XplatUI.CalculateWindowRect due to API change.
  3964. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  3965. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  3966. the size if it hasn't been handled by any windows. When creating
  3967. and moving windows, X wants the location of the entire window, but
  3968. the size of the client window, so add
  3969. TranslateClientRectangleToXClientRectangle,
  3970. TranslateWindowSizeToXWindowSIze and
  3971. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  3972. before every window creation and move. Update CalculateWIndowRect
  3973. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  3974. In AddConfigureNotify don't do anything if the hwnd is a zombie
  3975. (fixes the BadWindow we were getting while running the tests),
  3976. always calculate the offsets when it's a parentless window, not
  3977. only when reparented, and translate the window size, since we're
  3978. getting the client size of the whole window, excluding entire
  3979. window.
  3980. * Theme.cs: Added BorderSizableSize.
  3981. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  3982. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  3983. chang
  3984. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  3985. change. Fake the window styles here instead of in XplatUIWin32 so
  3986. that all back-ends get the same window styles (and it's Form that's
  3987. deciding when to use wm, not the Win32 backend anyways)
  3988. * Hwnd.cs: Completely reworked GetWindowRectangle and
  3989. GetClientRectangle - they are now passed a CreateParams and they
  3990. only use Style and ExStyle to determine the rectangles (they should
  3991. now work just like Win32AdjustWindowRectEx - though quite a few
  3992. special cases are probably missing). They should also be 100%
  3993. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  3994. == rect), and all numbers (borders, menu sizes) are taken from the
  3995. current theme. Added a GetBorders helper function that will return
  3996. the borders for any given CreateParams (including captions and
  3997. menus), and GetBorderSize that returns the given border size only.
  3998. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  3999. Hwnd.GetClientRectangle.
  4000. 2007-04-02 Chris Toshok <[email protected]>
  4001. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  4002. logic between the values we present to the user and the values
  4003. which are stored in the column's property. Also, don't call
  4004. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  4005. 2007-04-02 Jackson Harper <[email protected]>
  4006. * TextBoxBase.cs: Scroll faster!
  4007. 2007-04-02 Jonathan Pobst <[email protected]>
  4008. * StatusStrip.cs: Layout fixes for PDN.
  4009. * ToolStrip.cs: Set item's available to true, and placement to main when
  4010. added.
  4011. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  4012. changing in setter before doing any work, add InternalVisible.
  4013. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  4014. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  4015. infinite loop.
  4016. 2007-04-02 Jackson Harper <[email protected]>
  4017. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  4018. text on focus.
  4019. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  4020. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  4021. Makes ToolStripComboBoxes show up again.
  4022. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  4023. * ListView.cs: Add a hover_pending field in ListView
  4024. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  4025. cycle (we are resetting the MouseHover logic in XplatUI
  4026. to handle HoverSelection). Fixes #80429.
  4027. 2007-04-02 Jackson Harper <[email protected]>
  4028. * TextControl.cs: Make sure the attributes get set on the last
  4029. tag.
  4030. - Still have to do the end tag if we have stepped all the ways to
  4031. the end.
  4032. 2007-04-02 Sebastien Pouliot <[email protected]>
  4033. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  4034. on an internal libgdiplus call when the information is already
  4035. available via the public API.
  4036. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  4037. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  4038. control is removed from a control collecftion.
  4039. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  4040. Fixes FormPropertyTest (failed on rare occasions).
  4041. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  4042. of Win32SetParent (when changing from no parent to a parent it
  4043. might add the new parent's location in screen coordinates to this
  4044. window's location).
  4045. * Form.cs: Rework ChangingParent once again, now the handle is
  4046. recreated whenever a FormWindowManager is added or removed (that is
  4047. whenever a normal form is parented or abandoned). Also change
  4048. CreateParams so that all non-toplevel windows always get the
  4049. specified sice (StartupPosition is never considered for
  4050. non-TopLevel forms).
  4051. * ContainerControl.cs: Add ChildControlRemoved, the container control
  4052. needs to be notified when a control is removed from it's
  4053. collection, in the case the removed control is the active control.
  4054. 2007-04-02 Jackson Harper <[email protected]>
  4055. * RichTextBox.cs: Use the new methods for setting the font and
  4056. color, these methods set the specified attribute without
  4057. overriding the other attributes.
  4058. 2007-04-02 Jonathan Pobst <[email protected]>
  4059. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  4060. 2007-03-31 Gert Driesen <[email protected]>
  4061. * TextBox.cs: Added internal ChangeBackColor method to special-case
  4062. Color.Empty. Added check for invalid ScrollBars value.
  4063. * TextBoxBase.cs: Added internal ChangeBackColor method.
  4064. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  4065. internal ChangeBackColor method to special-case Color.Empty. Added
  4066. check for invalid ScrollBars value.
  4067. 2007-03-30 Everaldo Canuto <[email protected]>
  4068. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  4069. 2007-03-30 Jonathan Pobst <[email protected]>
  4070. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  4071. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  4072. [Based on submitted patch from Olivier Duff.]
  4073. 2007-03-30 Jackson Harper <[email protected]>
  4074. * TextBox.cs: Only select all on initial focus if the user has not
  4075. specified a selection area.
  4076. 2007-03-30 Jonathan Pobst <[email protected]>
  4077. * UserControl.cs: Override CreateParams.
  4078. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  4079. [ Fixes #80995 ]
  4080. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  4081. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  4082. check for is a mix of several styles (such as WS_CAPTION for instance).
  4083. * Control.cs: Don't paint an area bigger than the client area when painting
  4084. the background colour. Add an internal GetCreateParams. Update calls to
  4085. XplatUI.CalculateWindowRect due to API change.
  4086. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  4087. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  4088. hasn't been handled by any windows. When creating and moving windows, X
  4089. wants the location of the entire window, but the size of the client
  4090. window, so add TranslateClientRectangleToXClientRectangle,
  4091. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  4092. to cope with this, and call them before every window creation and move.
  4093. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  4094. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  4095. hwnd is a zombie (fixes the BadWindow we were getting while running the
  4096. tests), always calculate the offsets when it's a parentless window, not
  4097. only when reparented, and translate the window size, since we're getting
  4098. the client size of the whole window, excluding entire window.
  4099. * Theme.cs: Added BorderSizableSize.
  4100. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  4101. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  4102. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  4103. Fake the window styles here instead of in XplatUIWin32 so that all
  4104. back-ends get the same window styles (and it's Form that's deciding when
  4105. to use wm, not the Win32 backend anyways)
  4106. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  4107. they are now passed a CreateParams and they only use Style and ExStyle
  4108. to determine the rectangles (they should now work just like
  4109. Win32AdjustWindowRectEx - though quite a few special cases are probably
  4110. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  4111. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  4112. sizes) are taken from the current theme. Added a GetBorders helper
  4113. function that will return the borders for any given CreateParams
  4114. (including captions and menus), and GetBorderSize that returns the given
  4115. border size only.
  4116. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  4117. Hwnd.GetClientRectangle.
  4118. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  4119. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  4120. layout of the mdi children is handled by CreateParams. Fixes
  4121. #79964,
  4122. 2007-03-29 Everaldo Canuto <[email protected]>
  4123. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  4124. processed.
  4125. * Form.cs: When active tracker mouse down is not processed, send event
  4126. back to control inside mouse position. [Fixes #81227]
  4127. 2007-03-29 Jonathan Pobst <[email protected]>
  4128. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  4129. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  4130. stealing focus from the active form on Windows. (Control will be made
  4131. visible in ShowWindow.)
  4132. 2007-03-29 Mike Kestner <[email protected]>
  4133. * ImageList.cs : add internal Changed event.
  4134. * ListView.cs : hook up to StateImageList.Changed to perform
  4135. invalidations when the the state icon list changes. [Fixes #81191]
  4136. 2007-03-29 Jonathan Pobst <[email protected]>
  4137. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  4138. to prevent tooltips from stealing focus from the active form on Windows.
  4139. 2007-03-29 Everaldo Canuto <[email protected]>
  4140. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  4141. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  4142. 2007-03-29 Everaldo Canuto <[email protected]>
  4143. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  4144. balloons.
  4145. 2007-03-29 Jackson Harper <[email protected]>
  4146. * TextControl.cs: When deleting text from non multiline textboxes,
  4147. we need to update the entire document, because line offsets will
  4148. be shifting.
  4149. 2007-03-29 Everaldo Canuto <[email protected]>
  4150. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  4151. added to theme, now we can create themes that uses diferent notify engines
  4152. like notification-daemon from galago project or growl for Mac OS.
  4153. 2007-03-28 Everaldo Canuto <[email protected]>
  4154. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  4155. 2007-03-28 Everaldo Canuto <[email protected]>
  4156. * XplatUIX11.cs: Prevent system to open more than one balloon.
  4157. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  4158. some compiler warning messages.
  4159. 2007-03-28 Everaldo Canuto <[email protected]>
  4160. [Fixes #79149]
  4161. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  4162. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  4163. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  4164. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  4165. systems.
  4166. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  4167. * ListViewItem.cs: Forgot to make Invalidate internal.
  4168. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  4169. * ListView.cs: Add a InvalidateSelection method to
  4170. invalidate methods which are currently selected, and call
  4171. it when setting FullRowSelect and HideSelection, instead of
  4172. calling Redraw.
  4173. 2007-03-28 Chris Toshok <[email protected]>
  4174. * XplatUIX11.cs (UnmapWindow): reindent this block.
  4175. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  4176. the selection_start if we're moving the selection (that is, not
  4177. extending it). Fixes bug #80461.
  4178. 2007-03-28 Jonathan Pobst <[email protected]>
  4179. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  4180. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  4181. create private ControlCollection.
  4182. 2007-03-28 Jonathan Pobst <[email protected]>
  4183. * Control.cs: We need to call OnVisibleChanged for our implicit
  4184. children as well as our normal children. Fixes scrollbars in
  4185. comboboxes not showing up.
  4186. 2007-03-28 Jonathan Pobst <[email protected]>
  4187. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  4188. the check for IsHandleCreated first. The check in CreateHandle is not
  4189. good enough because CreateHandle can be overriden, and the override
  4190. should not be called if the handle is already created.
  4191. 2007-03-28 Jonathan Pobst <[email protected]>
  4192. * ToolStrip.cs: Remove MonoTODO for tooltips.
  4193. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  4194. * ToolStripContainer.cs: Add custom ControlCollection class.
  4195. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  4196. * ToolStripDropDown.cs: Add some missing properties/methods.
  4197. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  4198. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  4199. * ToolStripManager.cs: Add IsShortcutDefined.
  4200. * ToolStripOverflow.cs: Override LayoutEngine.
  4201. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  4202. * ToolStripSeparator.cs: Add ImageKey.
  4203. 2007-03-28 Jackson Harper <[email protected]>
  4204. * TextControl.cs: If a char delete removes a line ending, we need
  4205. to update the ending style.
  4206. - Make sure the line ending calcs get called.
  4207. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  4208. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  4209. it was making the new code not work. Fixed a typo in the new code
  4210. as well. Fixes #79826.
  4211. 2007-03-27 Everaldo Canuto <[email protected]>
  4212. * XplatUIWin32.cs:
  4213. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  4214. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  4215. - SystrayBalloon method implemented.
  4216. [Add support for notifyicon balloon on win32, #79149]
  4217. 2007-03-27 Mike Kestner <[email protected]>
  4218. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  4219. the ms behavior when only one image is added to the list.
  4220. [Fixes #81191]
  4221. 2007-03-27 Jackson Harper <[email protected]>
  4222. * TextControl.cs: Improvements to non multiline line ending
  4223. drawing/measuing.
  4224. 2007-03-27 Everaldo Canuto <[email protected]>
  4225. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  4226. 2007-03-27 Everaldo Canuto <[email protected]>
  4227. * NotifyIcon.cs:
  4228. - Balloon message handling added.
  4229. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  4230. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4231. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  4232. to SystrayBalloon to me like other Systray method, also a
  4233. handle parameter added.
  4234. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  4235. * ListView.cs: Show scrollbars even when items.Count == 0
  4236. but the columns Width is bigger than the ListView.Width.
  4237. Also, when columns.Count == 0 set layout_wd and layout_ht
  4238. to the ClientRectangle values, so we don't show any scrollbar
  4239. in that case.
  4240. 2007-03-27 Everaldo Canuto <[email protected]>
  4241. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  4242. 2007-03-27 Jackson Harper <[email protected]>
  4243. * RichTextBox.cs: The RTF library decodes the text properly for us
  4244. now.
  4245. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  4246. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  4247. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  4248. ListView header (HeaderControl), instead of Control.BackColor.
  4249. 2007-03-27 Jonathan Pobst <[email protected]>
  4250. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  4251. Fixes tab control issues where controls would not show up because they
  4252. never received their OnVisibleChanged call.
  4253. 2007-03-27 Everaldo Canuto <[email protected]>
  4254. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  4255. BalloonTipShown).
  4256. 2007-03-27 Jonathan Pobst <[email protected]>
  4257. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  4258. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  4259. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  4260. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  4261. the handle. Fix WindowState by using the internal variable until we are
  4262. sure that we've been shown.
  4263. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  4264. max or min.
  4265. [Fixes bug #81198]
  4266. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  4267. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  4268. (at least borders). Fixes #79386 on Linux (with a small difference
  4269. in behaviour: when trying to resize a caption-less window metacity
  4270. shows the sysmenu. Resizing is still possible though).
  4271. * XplatUIWin32.cs: When setting window styles send request an extra
  4272. WM_NCCALCSIZE when it's a form without title (due to no text and no
  4273. caption), since Win32 seems to calculate it wrong the first time we
  4274. get the message, though the second time things work as they should.
  4275. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  4276. newly reparented window might show up unparented. Update
  4277. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  4278. there's no title text. Fixes #79386.
  4279. 2007-03-27 Mike Kestner <[email protected]>
  4280. * ListBox.cs : don't perform invalidations if the handle hasn't been
  4281. created. [Fixes #80753]
  4282. 2007-03-27 Mike Kestner <[email protected]>
  4283. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  4284. [Fixes #80428]
  4285. 2007-03-26 Everaldo Canuto <[email protected]>
  4286. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  4287. needed to implement Balloon.
  4288. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  4289. * ListViewItem.cs: In the constructors that take
  4290. an array of strings, don't use ListViewSubItemCollection.AddRange
  4291. method to add items, since we need to have a different behaviour (in
  4292. the constructors we add an item for each null string, opposed to
  4293. the behaviour of AddRange, which adds nothing).
  4294. 2007-03-26 Andreia Gaita <[email protected]>
  4295. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  4296. 2007-03-26 Jackson Harper <[email protected]>
  4297. * TextControl.cs: Draw and measure line endings when in non
  4298. multiline mode.
  4299. - When searching the text, count the end of the last line as a
  4300. word boundary.
  4301. 2007-03-26 Jackson Harper <[email protected]>
  4302. * RichTextBox.cs: The selection_start and selection_end don't
  4303. really track the correct tags for the selection. So we'll manually
  4304. compute the correct tag here.
  4305. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  4306. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  4307. and Continuous styles. Fixes #79469.
  4308. 2007-03-26 Jonathan Pobst <[email protected]>
  4309. * ToolStrip.cs: Implement Tooltips.
  4310. * ToolStripItem.cs: Create internal method for determining tooltip.
  4311. 2007-03-26 Jonathan Pobst <[email protected]>
  4312. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  4313. 2007-03-26 Everaldo Canuto <[email protected]>
  4314. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  4315. it prevents a problem thak keeps icon visible after application
  4316. closes on win32.
  4317. 2007-03-26 Everaldo Canuto <[email protected]>
  4318. * NotifyIcon.cs: Balloon properties and methods created.
  4319. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4320. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  4321. 2007-03-25 Jonathan Pobst <[email protected]>
  4322. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  4323. 2007-03-24 Jonathan Pobst <[email protected]>
  4324. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  4325. parameter indicates which aspects were explicit/user-set.
  4326. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  4327. 2007-03-24 Jonathan Pobst <[email protected]>
  4328. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  4329. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  4330. SmallChange, and Value (2.0).
  4331. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  4332. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  4333. * ListView.cs: Always set item_control.Width in LayoutDetails
  4334. if View is Details. Setting it later in CalculateScrollBars
  4335. in a not-so-corner scenario (the sum of columns width is
  4336. not bigger than the ListView width when handle is created, and then
  4337. that sum gets bigger by increasing the width of the columns)
  4338. causes a very weird recursion path (which shouldn't be happening,
  4339. since header_control sets it in CalculateScrollBars too). This bug
  4340. appeared after Chris' fixes for handle created issues, so probably
  4341. it's related to some handle-creation time.
  4342. 2007-03-23 Chris Toshok <[email protected]>
  4343. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  4344. case where there's an add row, just so we don't end up in a case
  4345. where it's not displayed (this happens when the row is partially
  4346. obscured). Fixes bug #79574.
  4347. 2007-03-23 Jackson Harper <[email protected]>
  4348. * TextControl.cs:
  4349. * TextBoxBase.cs:
  4350. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  4351. also added an enum that represents the line ending type.
  4352. 2007-03-23 Andreia Gaita <[email protected]>
  4353. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  4354. messed with in every method call, but only from DownButton,
  4355. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  4356. 2007-03-23 Chris Toshok <[email protected]>
  4357. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  4358. format objects if the format spec is "". Fixes bug #80889.
  4359. 2007-03-22 Miguel de Icaza <[email protected]>
  4360. * ToolStripPanel.cs (Join): added stubs to build PDN3
  4361. * Control.cs (AutoScrollOffset): Add.
  4362. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  4363. property, its only implemented for Win32, on X11 it defaults to
  4364. some hardcoded value.
  4365. * ToolStripItem.cs (AllowDrop): Add property
  4366. 2007-03-22 Mike Kestner <[email protected]>
  4367. * ListView.cs : in FullRowSelect Details mode, only enable box
  4368. selection if the user clicks over the "item" column outside of the
  4369. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  4370. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  4371. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  4372. handle is not created yet.
  4373. * Form.cs: Select: Don't call CreateHandle if the handle is already
  4374. created, avoids a stack overflow on Windows when we are recreating
  4375. controls.
  4376. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  4377. they are made visible, and override AfterTopMostControl to keep
  4378. them on top when other controls are brought to front.
  4379. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  4380. or force_*scroll_visible is true (old implementation always shows
  4381. scrollbars when needed, no matter what auto_scroll was set to).
  4382. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  4383. IsHandleCreated check.
  4384. 2007-03-22 Andreia Gaita <[email protected]>
  4385. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  4386. row or col separator.
  4387. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  4388. 2007-03-22 Everaldo Canuto <[email protected]>
  4389. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  4390. 2007-03-22 Everaldo Canuto <[email protected]>
  4391. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  4392. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  4393. every time. Fixes #80410.
  4394. 2007-03-22 Chris Toshok <[email protected]>
  4395. * BindingSource.cs (AddNew): partially implement.
  4396. remove a couple of NotImplementedException's
  4397. to get bug #81148 closed.
  4398. 2007-03-22 Everaldo Canuto <[email protected]>
  4399. [Fixes #80380]
  4400. * Control.cs:
  4401. - UpdateCursor method added to update the screen cursor.
  4402. - GetAvailableCursor method added to return cursor for enabled tree,
  4403. it searches for cursor on control and it's parent's for enabled control.
  4404. - Call UpdateCursor method on setter of Cursor property.
  4405. - On setter of Enabled call UpdateCursor when it is false, we need to
  4406. change cursor to normal (or to this parent cursor) because cursor
  4407. setting theres no effect to disabled controls.
  4408. - Some minor source changes to follow the coding style guidelines.
  4409. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  4410. controls.
  4411. 2007-03-22 Chris Toshok <[email protected]>
  4412. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  4413. generates.
  4414. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  4415. * XplatUIX11.cs: Implement default locations for forms.
  4416. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  4417. * Hwnd.cs: Add previous_child_startup_location (to track the current
  4418. startup location for any child forms of the current form) and
  4419. previous_main_startup_location (to track the startup location for
  4420. the current toplevel form).
  4421. 2007-03-21 Jonathan Pobst <[email protected]>
  4422. * Control.cs: Don't trigger a layout if an implicit control is added
  4423. that isn't visible. Also, don't notify the owner when an implicit control
  4424. is added. (Owners shouldn't even know about their implicit controls.)
  4425. 2007-03-21 Jonathan Pobst <[email protected]>
  4426. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  4427. to save some re-layouts.
  4428. 2007-03-21 Everaldo Canuto <[email protected]>
  4429. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  4430. [Fixes #81203]
  4431. 2007-03-21 Jonathan Pobst <[email protected]>
  4432. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  4433. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  4434. 2007-03-21 Mike Kestner <[email protected]>
  4435. * ListView.cs : disable selection update for non-left button clicks
  4436. with mods and over selected items. [Fixes #80524]
  4437. 2007-03-20 Jackson Harper <[email protected]>
  4438. * TextControl.cs:
  4439. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  4440. \r\r\n, \n.
  4441. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  4442. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  4443. very probably a more complicated calculation there. Update the
  4444. textbox' ForeColor and BackColor when the ComboBox' colors are
  4445. changed. Change the border change in LayoutComboBox to only affect
  4446. the textbox, not all the calculations there. Seems to fix most of
  4447. #79436.
  4448. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  4449. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  4450. modifiers + navigation keys as input keys, enables advanced text
  4451. selection in the combobox (like Shift+Left Arrow for instance).
  4452. ComboTextBox now overrides Focused and returns whatever
  4453. ComboBox.Focused returns, since it really should be focused
  4454. whenever the ComboBox is. Fixes #80795. Also make the border around
  4455. the text box one pixel bigger, as mentioned in #79436.
  4456. 2007-03-20 Jackson Harper <[email protected]>
  4457. * TreeView.cs: Don't offset the images, this was causing some
  4458. artifacts when expanding/collapsing with images that were the
  4459. exact height of the treenode.
  4460. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  4461. * TrackBar.cs: Query the theme for the correct value when the mouse
  4462. moves and the thumb is pressed.
  4463. * Theme.cs: Added TrackBarValueFromMousePosition
  4464. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  4465. implementation was updating the trackbar value when drawing, now
  4466. the drawing methods only draw. Fixes #80900. Refactored the
  4467. calculations out to TrackBarValueFromMousePosition and
  4468. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  4469. according to the mouse position whenever it wants to. Changed the
  4470. light coloured pen when drawing the thumb from ControlLight to
  4471. ControlLightLight, because the ControlLight is the same colour as
  4472. the background so the 3D effect is lost.
  4473. 2007-03-20 Everaldo Canuto <[email protected]>
  4474. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  4475. defined. Fixes #80784.
  4476. 2007-03-20 Marek Habersack <[email protected]>
  4477. * ContextMenuStrip.cs: align with the change introduced in
  4478. revision 74664.
  4479. 2007-03-20 Everaldo Canuto <[email protected]>
  4480. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  4481. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  4482. in SetTopmost.
  4483. 2007-03-19 Chris Toshok <[email protected]>
  4484. * Control.cs (WmPaint): don't make use of the Handle property
  4485. after an event is emitted, as the user could have closed the
  4486. form/destroyed the control. Store the Handle in a local variable
  4487. and make use of that. Fixes bug #80768.
  4488. 2007-03-20 Everaldo Canuto <[email protected]>
  4489. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  4490. behavior in X11 environments.
  4491. 2007-03-20 Everaldo Canuto <[email protected]>
  4492. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  4493. because on setter of topmost we dont call SetTopmost when handle is not
  4494. created.
  4495. 2007-03-20 Jackson Harper <[email protected]>
  4496. * TextControl.cs: Need to use SelectionLength () not
  4497. selection_length, since that var is reset to -1.
  4498. - Draw the caret when we don't have focus.
  4499. * TextBox.cs: The selectall actually doesn't occur until the first
  4500. focus.
  4501. * TextBoxBase.cs: Need to update the caret position after a
  4502. selectall.
  4503. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  4504. * ListView.cs: Enable scrolling when using Tile view.
  4505. 2007-03-20 Everaldo Canuto <[email protected]>
  4506. [Fixes #80902]
  4507. * XplatUIDriver.cs: Abstract SetOwner method created.
  4508. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  4509. must be implemented and was masked as todo.
  4510. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  4511. GWL_HWNDPARENT.
  4512. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  4513. cheking for null owner to remove transient. The SetTopmost will be change
  4514. on a decond step.
  4515. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  4516. SetTopmost. Now owned forms will work properly in win32 and X11.
  4517. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  4518. * MdiWindowManager.cs: Update function name.
  4519. * Form.cs: After closing a form MdiParent is always null.
  4520. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  4521. better what it should do: necessary book-keeping when the form is
  4522. closed, it should not close the form itself.
  4523. 2007-03-19 Andreia Gaita <[email protected]>
  4524. * ListViewItem.cs: Fix back and fore color. The subitems only
  4525. use their own colors if they are set, otherwise use the listview's
  4526. colors. Don't set default colors on constructor for subitem.
  4527. Fixes #79315.
  4528. 2007-03-19 Mike Kestner <[email protected]>
  4529. * ListView.cs : make box selection for Details views with
  4530. FullRowSelect conform to MS behavior when clicking in the "item"
  4531. column and clicking outside the defined columns.
  4532. [Fixes case 5-6 of #80374]
  4533. 2007-03-19 Chris Toshok <[email protected]>
  4534. * ScrollableControl.cs: create the controls from within the ctor,
  4535. but don't actually add them until our handle is created. this
  4536. fixes a NRE possibility jpobst found (if you override OnLayout in
  4537. a subclass, it's called before your ctor). Also, add a
  4538. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  4539. 2007-03-19 Jackson Harper <[email protected]>
  4540. * TextBox.cs: Reduce the amount of invalidation we do.
  4541. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  4542. some of them are true by default on MS.
  4543. - Add some functions to reduce the amount of invalidates we do.
  4544. * TextControl.cs: Less invalidation.
  4545. 2007-03-19 Chris Toshok <[email protected]>
  4546. [ Fixes #81773, and *seems* to fix #81553 as well ]
  4547. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  4548. AccumulateDestroyedHandles. We need to do it *after* we send
  4549. WM_DESTROY, as the user's code can access Control.Handle in
  4550. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  4551. move the WM_DESTROY/zombie handling to before the call to
  4552. XDestroyWindow. For some reason without this ordering
  4553. FormTest.RecreateHandle hangs. This ordering is semantically
  4554. equivalent, however, as XDestroyWindow is async anyway.
  4555. 2007-03-19 Gert Driesen <[email protected]>
  4556. * RichTextBox.cs: Reset backcolor_set after setting default.
  4557. 2007-03-19 Chris Toshok <[email protected]>
  4558. * ScrollableControl.cs: the scroll position should not effect the
  4559. canvas size. commit patch from [email protected], which
  4560. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  4561. 2007-03-19 Chris Toshok <[email protected]>
  4562. * ScrollableControl.cs: clean this up a bit. create the
  4563. scrollbars in the ctor and just show/hide them as needed. Also,
  4564. make hscroll_visible/vscroll_visible internal to Recalculate, and
  4565. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  4566. everywhere else. This seems to fix the scrollbars appearing
  4567. beneath the content for me (i have *no* idea why that is,
  4568. however.)
  4569. 2007-03-19 Jonathan Pobst <[email protected]>
  4570. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  4571. some redundacy for stuff in Anchor and Dock that base will take care of.
  4572. [Fixes #80762]
  4573. 2007-03-19 Mike Kestner <[email protected]>
  4574. * ListView.cs : make box selection for Details views without
  4575. FullRowSelect dependent on the text bounds, not item bounds.
  4576. * ListViewItem.cs : add an internal property to obtain the TextBounds
  4577. in Details view. [Fixes case 1-4 of #80374]
  4578. 2007-03-19 Andreia Gaita <[email protected]>
  4579. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  4580. we're < 2.0. #78448 && #80316
  4581. 2007-03-19 Jonathan Pobst <[email protected]>
  4582. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  4583. have the same style available as the previously selected one. Also,
  4584. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  4585. 2007-03-19 Jackson Harper <[email protected]>
  4586. * TextControl.cs: Add an alignment property that all new lines
  4587. will be given.
  4588. - Make sure to use the align shift when calculating the line's X
  4589. position.
  4590. * TextBox.cs: Set the alignment on the document as well as on all
  4591. the document lines.
  4592. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  4593. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  4594. throw if setting the parent of an mdichild that already has an
  4595. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  4596. AssemblyProductAttribute in the assembly, use the type's namespace (as
  4597. MS seems to do). CreateControl: don't create the handle if the control
  4598. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  4599. create handle if the control is not a form. Change FocusInternal to
  4600. virtual so that it can be overriden by Form.
  4601. * TextBox.cs: Update call to FocusInternal.
  4602. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  4603. form is not a toplevel form when it's a mdi child, so update is_toplevel
  4604. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  4605. hasn't been created. Show (IWin32Window): Don't allow this overload for
  4606. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  4607. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  4608. parent isn't visible yet, save the visibility and restore it when the
  4609. parent is made visible.
  4610. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  4611. methods, since the visibility of the scrollbars can be changed from
  4612. several places, not only from AutoScroll.
  4613. [Fixes #81179]
  4614. 2007-03-19 Jackson Harper <[email protected]>
  4615. * RichTextBox.cs: Enable shortcuts by default.
  4616. * TextBoxBase.cs: Add conditional shortcuts.
  4617. 2007-03-19 Everaldo Canuto <[email protected]>
  4618. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  4619. 2007-03-19 Chris Toshok <[email protected]>
  4620. [ Fixes bug #80604]
  4621. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  4622. swallow the message we're waiting on, instead of delivering it, as
  4623. this is only used for the WM_SHOWWINDOW raised from
  4624. MapWindow/UnmapWindow, and the message needs to be generated
  4625. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  4626. before doing the Map/Unmap. Also make sure that the Hwnd is still
  4627. alive after the message has been handled.
  4628. *before* the window is shown.
  4629. * Control.cs (CreateControl): guard a few more things inside the
  4630. if (!is_created) block, as we might end up being called again -
  4631. yay .net.
  4632. (WmShowWindow): call CreateControl if we're showing the control.
  4633. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  4634. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  4635. controls without a handle if they have any parent with a handle. In
  4636. Dispose add a check whether the handle is created or not before
  4637. calling BeginInvoke, this removes the need of the extra disposing
  4638. parameter (which was bogus anyway since it didn't prevent the
  4639. invoke from happening, it only skipped the check for an existing
  4640. handle, meaning that the invoke would call on an inexistent
  4641. handle).
  4642. 2007-03-19 Everaldo Canuto <[email protected]>
  4643. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  4644. appears in taskbar.
  4645. 2007-03-18 Everaldo Canuto <[email protected]>
  4646. * MessageBox.cs:
  4647. - Fixed a problem that dont show help button for messages with 3 buttons.
  4648. - Refactory button size and position calculations, now dont use fixed
  4649. values, also fixed button sizes (#80043) and form's border space.
  4650. - AddButton method created, now all other AddButton methods call this one.
  4651. - Some other source code cosmetic changes.
  4652. 2007-03-18 Jackson Harper <[email protected]>
  4653. * RichTextBox.cs: Don't do this all fonts must match check if
  4654. there is only one char selected.
  4655. 2007-03-18 Jackson Harper <[email protected]>
  4656. * TreeView.cs: ScrollWindow works properly now, so we don't need
  4657. to screw around with the scroll area. This fixes some artifacts
  4658. when expanding and collapsing.
  4659. 2007-03-18 Jackson Harper <[email protected]>
  4660. * TextBoxBase.cs: Allow updating the selection position when the
  4661. cursor is outside the textarea, but we have a capture.
  4662. * TextControl.cs: A special case for when the cursor is outside
  4663. the bounds of the TB.
  4664. 2007-03-18 Jackson Harper <[email protected]>
  4665. * TextBoxBase.cs: Remove image pasting code for now. There is no
  4666. way to get an image on the clipboard right now anyways.
  4667. * TextControl.cs:
  4668. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  4669. 2007-03-18 Everaldo Canuto <[email protected]>
  4670. * MessageBox.cs:
  4671. - Set window properties in constructor intead of on CreateParams.
  4672. - Remove topmost from Window ExStyle.
  4673. - Set ShowInTaskbar to false.
  4674. - Set form border to FixedDialog.
  4675. - Some cosmetic changes and remove unneeded comments.
  4676. - It fixes itens 2,3 and 4 of bug #80043.
  4677. 2007-03-18 Gert Driesen <[email protected]>
  4678. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  4679. none was explicitly set. Fixes part of bug #79949.
  4680. 2007-03-16 George Giolfan <[email protected]>
  4681. * ToolStripComboBox.cs: Add AutoComplete*.
  4682. 2007-03-16 George Giolfan <[email protected]>
  4683. * ToolStripComboBox.cs: Add FlatStyle.
  4684. 2007-03-16 Jonathan Pobst <[email protected]>
  4685. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  4686. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  4687. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  4688. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  4689. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  4690. DataGridColumnStyle.cs: Remove warnings.
  4691. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  4692. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  4693. it.
  4694. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  4695. visibility of mdi child forms. FormSizeChangedHandler: update the
  4696. maximized size if size has changed while maximized.
  4697. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  4698. creating the handle.
  4699. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  4700. avoid creating the handle if not created.
  4701. * XplatUI.cs: Update debug output.
  4702. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  4703. 2007-03-16 Jonathan Pobst <[email protected]>
  4704. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  4705. ProcessCmdKey().
  4706. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  4707. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  4708. Implement keyboard shortcuts.
  4709. 2007-03-15 Everaldo Canuto <[email protected]>
  4710. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  4711. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  4712. ColorDialog and all derived classes.
  4713. 2007-03-15 Everaldo Canuto <[email protected]>
  4714. [ Fixes bug #79828 ]
  4715. * ToolBar.cs:
  4716. - Rename ToolBarButtonInfor to ToolBarItem.
  4717. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  4718. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  4719. collection to be able add same button more than one time on a toolbar.
  4720. - Refactory all properties and methods to use ToolBarItem.
  4721. * ToolBarButton.cs:
  4722. - Remove all propeties and methods that is now in ToolBarItem.
  4723. - Rectangle propery now gets the rectangle from first ToolBarItem to
  4724. mimic win32 behavior.
  4725. - Size calculation and layout methods also removed.
  4726. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  4727. ToolBarItem instead of ToolBarButton to right drawing buttons when
  4728. same button/separator was added more than one time to ToolBar.
  4729. * ThemeNice.cs: Same as above.
  4730. 2007-03-15 Andreia Gaita <[email protected]>
  4731. * XplatUIX11.cs: Fire extra MouseMove events right after
  4732. MouseDown and MouseUp, emulating win32's <censored> behaviour
  4733. for apps that rely on it.
  4734. 2007-03-15 Jackson Harper <[email protected]>
  4735. * TextControl.cs:
  4736. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  4737. it is drawn on the controls client window and there is no NC
  4738. area.
  4739. - Set the background color to gray on 2.0 when we are readonly.
  4740. 2007-03-15 Chris Toshok <[email protected]>
  4741. [ Fixes bug #81144 ]
  4742. * XplatUIX11.cs: implement VirtualScreen independently of
  4743. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  4744. property.
  4745. 2007-03-15 Chris Toshok <[email protected]>
  4746. * Hwnd.cs: add an internal field for the cached_window_state.
  4747. * XplatUIX11.cs: cache the window state, invalidating the cache
  4748. (and thus re-querying the X server) only when we see an update to
  4749. the _NET_WM_STATE property.
  4750. 2007-03-15 Chris Toshok <[email protected]>
  4751. * BindingSource.cs: get a lot of the unit tests working.
  4752. 2007-03-15 Jonathan Pobst <[email protected]>
  4753. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  4754. 0 instead of just bounds > 0. [Fixes bug #80912]
  4755. 2007-03-15 Jonathan Pobst <[email protected]>
  4756. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  4757. and methods.
  4758. 2007-03-15 Ivan N. Zlatev <[email protected]>
  4759. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  4760. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  4761. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  4762. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  4763. 2007-03-15 Chris Toshok <[email protected]>
  4764. [ Fixes #81101 ]
  4765. * Control.cs: add Ivan's fix for 81101, with a slight modification
  4766. - you can set control.Target to null.
  4767. 2007-03-14 Jonathan Pobst <[email protected]>
  4768. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  4769. HideDropDown, use Hide instead to prevent an NRE.
  4770. [Fixes bug #81147]
  4771. 2007-03-14 Jackson Harper <[email protected]>
  4772. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  4773. to calculate the document before the handle is created, in some
  4774. cases. (Actually just one case).
  4775. 2007-03-14 Jackson Harper <[email protected]>
  4776. * TextBoxBase.cs: Need to display the caret after letting the base
  4777. wndproc handle the focus methods, because the caret display
  4778. methods check the focus state.
  4779. - Try to display the caret after updating it's position with SelectWord.
  4780. - Don't need to do an immediate update on this recalc, since there
  4781. will be an invalidate anyways.
  4782. 2007-03-14 Jackson Harper <[email protected]>
  4783. * TreeView.cs: Some workarounds so that we can match event order a
  4784. little better.
  4785. 2007-03-14 Gert Driesen <[email protected]>
  4786. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  4787. #80803. Avoid NullReferenceException when Control does not have
  4788. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  4789. event a single time. Only draw error icon when control is created and
  4790. visible. Fixes failing unit tests.
  4791. 2007-03-14 Andreia Gaita <[email protected]>
  4792. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  4793. Selecting events. Fire Leave and Enter events when changing tabs.
  4794. 2007-03-14 George Giolfan <[email protected]>
  4795. * TreeView.cs: Add TreeViewNodeSorter.
  4796. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  4797. 2007-03-14 Chris Toshok <[email protected]>
  4798. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  4799. removed earlier and I had him add back it. It turns out metacity
  4800. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  4801. just doesn't redraw the window titlebar until you resize the
  4802. window. This also means we aren't recreating the entire window
  4803. hierarchy on X when you change this property. And it looks better
  4804. on windows, too.
  4805. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  4806. * ListViewItem.cs:
  4807. * ListView.cs: Collecting selection information
  4808. is now done in SelectedIndexCollection rather than in
  4809. SelectedListViewItemCollection. This is done so we can
  4810. have the selection information code in one single place
  4811. (virtual mode selection information entirely depends on
  4812. SelectedIndexCollection).
  4813. 2007-03-13 Miguel de Icaza <[email protected]>
  4814. * ErrorProvider.cs: Add stubs for ISupportInitialize
  4815. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  4816. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  4817. in the right order with the right values, from the Checked property,
  4818. just as MS does (instead of triggering them from ListView).
  4819. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  4820. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  4821. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  4822. the correct handler in OnItemCheck method (ItemCheckEventHandler
  4823. instead of EventHandler). This used to throw an InvalidCastException.
  4824. 2007-03-13 Jackson Harper <[email protected]>
  4825. * TextBoxBase.cs: Calculate the document before the handle is
  4826. created, so there isn't an extra invalidate called.
  4827. 2007-03-13 Jonathan Pobst <[email protected]>
  4828. * Form.cs: Don't set owner in ShowDialog until we are sure
  4829. that we aren't going to throw an exception. [Fixes bug #80773]
  4830. 2007-03-12 George Giolfan <[email protected]>
  4831. * TreeView.cs: Make it compile.
  4832. 2007-03-12 Jonathan Pobst <[email protected]>
  4833. * Control.cs: Another place we don't call SizeFromClientSize.
  4834. * Form.cs: Another place we don't call SizeFromClientSize.
  4835. [Fixes bug #81125]
  4836. 2007-03-12 Jackson Harper <[email protected]>
  4837. * TreeView.cs: Basically emulating some strangness here with
  4838. exanding nodes and setting node positions when windows aren't
  4839. created.
  4840. - Also attempting to walk the node tree less than previously, and
  4841. just use visible order calculations for determining offsets.
  4842. - oops made scrolling backwards.
  4843. * TreeNode.cs: We need to start nodes with a zero visible order,
  4844. because the order calcs are based on the first nodes order.
  4845. 2007-03-12 Jonathan Pobst <[email protected]>
  4846. * Form.cs: Don't exit the program if RecreateHandle is called on
  4847. the main form.
  4848. 2007-03-12 Chris Toshok <[email protected]>
  4849. * XEventQueue.cs: remove the use of PostQuitState.
  4850. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  4851. WM_QUIT message in GetMessage, return false (and if we're in the
  4852. nested WaitForHwndMessage, repost the WM_QUIT message).
  4853. 2007-03-12 Jonathan Pobst <[email protected]>
  4854. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  4855. or the MaximizeBox properties. [Part of bug #80640]
  4856. 2007-03-12 Everaldo Canuto <[email protected]>
  4857. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  4858. no links.
  4859. 2007-03-12 Jonathan Pobst <[email protected]>
  4860. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  4861. instead of visible.
  4862. 2007-03-12 Gert Driesen <[email protected]>
  4863. * FileDialog.cs: Use text of File name combobox to determine what
  4864. files the user selected. Added tokenizer to parse the file names.
  4865. Fixes bug #81123.
  4866. 2007-03-12 Jonathan Pobst <[email protected]>
  4867. * Control.cs: We can't call SizeFromClientSize in the constructor,
  4868. but we still need to do the same work, so make an internal version.
  4869. [Fixes bug #80621]
  4870. 2007-03-12 Jackson Harper <[email protected]>
  4871. * TreeView.cs:
  4872. * TreeNode.cs:
  4873. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  4874. IsExpanded.
  4875. 2007-03-12 Jackson Harper <[email protected]>
  4876. * TextBoxBase.cs: Now that the handles are being created a little
  4877. later, we need to make sure that the document is recalculated when
  4878. the handle is created.
  4879. 2007-03-11 Everaldo Canuto <[email protected]>
  4880. * Theme.cs: GetLinkFont abstract method added.
  4881. * LinkLabel.cs:
  4882. - Remove CalcTrimRectangle, no longer needed.
  4883. - Factor also remove, position issues must be fixed in libgdiplus.
  4884. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  4885. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  4886. care about font used to draw links.
  4887. - Set TabStop to true when control is "Selectable", control is selectable
  4888. when have one or more links. Fixes #80501 (test case is also added).
  4889. - Set the LinkArea values after links change, LinkArea values must be
  4890. based in first link position and size, a test case was created.
  4891. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  4892. the attribute must be true LinkArea.Length > 0. The same was applied to
  4893. TabStop.
  4894. * ThemeWin32Classic.cs:
  4895. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  4896. in draw method.
  4897. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  4898. color change.
  4899. - Draw focus rectangle for every parts focused, including parts that
  4900. is on another line, its because regions returns various rectangles
  4901. and not only one. Needed to mimic W32 look.
  4902. - Uses Graphics.Clip to delimite region painted, it mean that now
  4903. complete text is passed to DrawString, with this we solve layout
  4904. issues without create another text renderer.
  4905. - Uses Region.Intersect to fix some flickers problems, now only needed
  4906. parts will redrawed.
  4907. - This changes fixes #79614 and some other unreported issues, on Linux
  4908. some layout problems still remain, the problem is under
  4909. MeasureCharacterRanges but it is an libgdiplus bug.
  4910. 2007-03-10 Gert Driesen <[email protected]>
  4911. * TextBox.cs: Set for foreground color.
  4912. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  4913. this is already done in Control.
  4914. 2007-03-10 Jackson Harper <[email protected]>
  4915. * TextBox.cs: Set the background color, but reset the
  4916. backcolor_set flag which is just for the user setting the
  4917. background color.
  4918. 2007-03-09 Chris Toshok <[email protected]>
  4919. * Control.cs: really remove the call to XplatUI.SetVisible from
  4920. CreateHandle(), like I said I did when I merged the branch.
  4921. * BindingSource.cs: implement some more of this stuff.
  4922. 2007-03-09 Jackson Harper <[email protected]>
  4923. * TextBox.cs: Don't explicitly set our background colors.
  4924. * TextControl.cs:
  4925. * TextBoxBase.cs: Draw readonly text.
  4926. - Need to invalidate when backcolor or readonly are changed.
  4927. 2007-03-09 Jackson Harper <[email protected]>
  4928. * TextBoxBase.cs: Don't set the forecolor until the handle is
  4929. created.
  4930. - Do not raise OnPaint, and removed some old debug code.
  4931. 2007-03-09 George Giolfan <[email protected]>
  4932. * ScrollableControl.cs: Fix mouse wheel scrolling.
  4933. 2007-03-09 Jonathan Pobst <[email protected]>
  4934. * Control.cs: Wire up MouseDoubleClick event.
  4935. 2007-03-09 Jonathan Pobst <[email protected]>
  4936. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  4937. top or bottom.
  4938. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  4939. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  4940. item is added. This logic was moved to ToolStrip.OnItemAdded.
  4941. [Fixes bug #81090]
  4942. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  4943. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  4944. 2007-03-08 Jackson Harper <[email protected]>
  4945. * TreeView.cs: Show the correct image for selected node (this used
  4946. to work, not sure how the code got deleted). Also implemented 2.0 feature
  4947. SelectedImageKey.
  4948. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  4949. * ListView.cs:
  4950. * ListViewItem.cs: Cache index in items when retrieving them
  4951. in VirtualMode.
  4952. 2007-03-08 Jonathan Pobst <[email protected]>
  4953. * ToolStripItem.cs: Don't return the explicit_size if we are using
  4954. AutoSize. Fixes invalidation issue when user has explicitly set a
  4955. size and has AutoSize = true.
  4956. 2007-03-08 Jonathan Pobst <[email protected]>
  4957. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  4958. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  4959. * DataGridView.cs: Remove event handler from DataView when a
  4960. DataTable is used as DataSource.
  4961. 2007-03-08 Jonathan Pobst <[email protected]>
  4962. * Control.cs: Create internal setter for client_size to allow it to be
  4963. set without triggering resizing code.
  4964. * Form.cs: Calculate client_size in constructor, only change client_size
  4965. in FormBorderStyle property if Handle has been created.
  4966. [Fixes #80574, #80791]
  4967. 2007-03-08 George Giolfan <[email protected]>
  4968. * SystemInformation.cs: Add TerminalServerSession.
  4969. 2007-03-07 Jonathan Pobst <[email protected]>
  4970. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  4971. TreeView code.
  4972. 2007-03-07 Jonathan Pobst <[email protected]>
  4973. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  4974. Handle before we were supposed to. Now checks ActivateOnShow property
  4975. in Control.
  4976. * Control.cs: Add internal ActivateOnShow property.
  4977. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  4978. for ActivateOnShow.
  4979. * Hwnd.cs Remove no longer needed no_activate field.
  4980. 2007-03-07 Jackson Harper <[email protected]>
  4981. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  4982. 2.0 properties
  4983. * DrawTreeNodeEventHandler.cs: Add
  4984. * DrawTreeNodeEventArgs.cs: Correct default value.
  4985. 2007-03-07 Chris Toshok <[email protected]>
  4986. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  4987. to be called before NativeWindow.WndProc. Put the HwndCreating
  4988. magic there to hook up our Hwnd's to handles.
  4989. 2007-03-07 Gert Driesen <[email protected]>
  4990. * DataGridView.cs: Comment out debug code.
  4991. 2007-03-07 Chris Toshok <[email protected]>
  4992. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  4993. to make the rest of the world happy]
  4994. * Control.cs (CreateHandle): there's no need to call
  4995. XplatUI.SetVisible here, it's effectively done by
  4996. XplatUI.CreateWindow on X now, and always was on windows.
  4997. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  4998. shortcircuit out of the loop if we have a message loop running on
  4999. this thread.
  5000. [Changelog from merge]
  5001. 2007-03-05 Chris Toshok <[email protected]>
  5002. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  5003. causes handle creation.
  5004. 2007-02-28 Chris Toshok <[email protected]>
  5005. * ApplicationContext.cs: Add a flag to make sure we only raise the
  5006. ThreadExit event once (ExitThreadCore can be indirectly called
  5007. from a few places.) I don't like the additional flag, but it
  5008. makes the event ordering/count correct.
  5009. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  5010. without locking the collection. An enumerator doesn't give us any
  5011. protection from modification anyway. Lock the thread hash and
  5012. replace the complicated enumerator loop with a foreach.
  5013. (Application.CloseForms): make internal so it can be called from
  5014. ApplicationContext. This should probably be moved to MWFThread.
  5015. (Application.ExitThread): don't call MWFThread.Current.Exit()
  5016. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  5017. when the runloop exits (in response to WM_QUIT.)
  5018. (Application.RunLoop): add a comment (and check) for
  5019. context.MainForm being null after setting context.MainForm.Visible
  5020. = true. This is because you're perfectly free to dispose of a
  5021. form in VisibilityChanged. Chalk this up to another case where we
  5022. need to synchronously generate WM_ACTIVATE from Control.Show.
  5023. Also, add handling for WM_QUIT here so we'll exit the loop.
  5024. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  5025. fact that we don't wait if we're only unmapping the whole_window
  5026. makes me a bit nervous, but it doesn't seem to cause any problems
  5027. yet.
  5028. also, add a comment about the stupid, broken and wrong resetting
  5029. of PostQuitState to false in GetMessage().
  5030. In PostQuitMessage, we need to add a WM_QUIT message to the
  5031. thread's queue. We use the FosterParent to get the right
  5032. handle/hwnd/queue.
  5033. Lastly, in SetVisible, we need to unmap both windows, since the
  5034. waiting only happens when we're unmapping the client window. So
  5035. now, the *only* time we unmap just the whole_window is in the hack
  5036. for resizing a control to 0,0.
  5037. 2007-02-21 Chris Toshok <[email protected]>
  5038. * Application.cs (CloseForms): rewrite this so that we don't
  5039. modify the list while we're traversing it.
  5040. 2007-02-20 Chris Toshok <[email protected]>
  5041. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  5042. of OnHandleCreated.
  5043. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  5044. handle is created. otherwise we'll create it here.
  5045. (VerticalScrollEvent): same here.
  5046. * Application.cs (CloseForms): call Form.Dispose, don't post
  5047. WM_CLOSE_INTERNAL.
  5048. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  5049. here. Application should Dispose() of the Form's.
  5050. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  5051. WM_DESTROY as well.
  5052. (MapWindow,UnmapWindow): only actually do the waiting for
  5053. SHOWWINDOW if the control we're dealing with is a Form.
  5054. (CreateWindow): if the control isn't a form, SendMessage
  5055. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  5056. * Control.cs (SetVisibleCore): always use is_visible here, not
  5057. value. If we use value, we can end up re-setting something
  5058. visible if, for instance, you do Control.Hide() in a delegate
  5059. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  5060. 2007-02-20 Chris Toshok <[email protected]>
  5061. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  5062. the message we need. PeekMessage returning false should not be a
  5063. condition under which we exit the loop.
  5064. 2007-02-15 Chris Toshok <[email protected]>
  5065. * Control.cs (Refresh): only refresh if we've got a handle and are
  5066. visible.
  5067. (CreateAccessibilityInstance): CreateControl() here.
  5068. (UpdateChildrenZOrder): complicate the code loop even more by
  5069. taking into account controls that haven't had their handle
  5070. created, and those that aren't visible. But on the flip side,
  5071. simplify the code by splitting it into two loops. one which
  5072. builds up the list of child controls we're interested in, and the
  5073. other that sets the z order of those children.
  5074. 2007-02-14 Chris Toshok <[email protected]>
  5075. * Control.cs: Control.AccessibilityObject causes the control to be
  5076. created, not just the handle.
  5077. 2007-02-14 Chris Toshok <[email protected]>
  5078. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  5079. problem on X where a window might have its handle created (and be
  5080. visible) while the window is unmapped. calling XConfigureWindow
  5081. on an unmapped window is bad, and generates X errors.
  5082. 2007-02-13 Chris Toshok <[email protected]>
  5083. * Control.cs (CreateHandle): don't loop over our children setting
  5084. their parent here. do it when in WndProc when we're shown.
  5085. (UpdateChildrenZOrder): make this internal so we can call it from
  5086. ScrollableControl.
  5087. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  5088. creating its handle. Also, remove the calls to PerformLayout from
  5089. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  5090. OnVisibleChanged only seems to be called directly here for the
  5091. toplevel control. It's propagated down the window hierarchy by
  5092. calls to child.OnParentVisibleChanged.
  5093. (OnVisibleChanged): don't do layout here - it's done (oddly
  5094. enough, according to a glance at stack traces on ms.net..) in
  5095. ScrollableControl.
  5096. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  5097. z order of our children before calling PerformLayout.
  5098. 2007-02-12 Chris Toshok <[email protected]>
  5099. [big change, fixes #80020]
  5100. * AccessibleObject.cs: we need to make owner internal again to fix
  5101. some of ControlAccessibleObject.
  5102. * Control.cs: lots of changes here. add support for WM_CREATE,
  5103. for which we generate OnHandleCreated. Remove the OnHandleCreated
  5104. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  5105. we create child controls. leave the MonoTODO's for the
  5106. accessibility calls, but fix the exceptions so the tests pass.
  5107. Add the InvalidOperationExceptions to Invoke methods, and remove a
  5108. couple of InvokeInternal methods we aren't using.
  5109. Also, add a couple of CreateHandle calls in places where we know
  5110. the handles are being created but our code doesn't reference
  5111. .Handle.
  5112. Make SetVisibleCore call OnVisibleChange if the handle isn't
  5113. created. If the handle is created, we rely on XplatUI.SetVisible
  5114. generating the event synchronously.
  5115. Lastly, make sure we don't use this.Handle inside CreateHandle,
  5116. because we can call back into client (and that code can dispose of
  5117. the control).
  5118. * XplatUIStructs.cs: misc/cleanup.
  5119. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  5120. although we don't populate the wParam properly.
  5121. (CreateWindow): generate WM_CREATE.
  5122. (MapWindow,UnmapWindow): make these calls synchronous, at great
  5123. performance expense (particularly in the unmap case), to match
  5124. win32 behavior.
  5125. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  5126. to call it.
  5127. (set_MdiParent): don't recreate the handle unless it's been
  5128. created already.
  5129. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  5130. it's created.
  5131. * NativeWindow.cs: this is probably the weirdest part of the
  5132. patch. We need a way to link up the window being created to the
  5133. WM_CREATE message. Since we can only be creating one window at a
  5134. time on a given thread, we keep track of a per-thread reference so
  5135. we can dispatch it properly. We also need to keep track of the
  5136. Hwnd currently being created so that the win32 backend doesn't
  5137. have problems.
  5138. * XplatUIWin32.cs: a similar change to the one we made in
  5139. NativeWindow.cs.
  5140. 2007-03-07 Jonathan Pobst <[email protected]>
  5141. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  5142. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  5143. to draw the menu shortcut string.
  5144. 2007-03-07 Jackson Harper <[email protected]>
  5145. * TreeNode.cs: Add the 2.0 collapse method.
  5146. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  5147. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  5148. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  5149. * DataGridView.cs: Change DataSource will clear column and row
  5150. lists. Call Invalidate() to reflect DataSource change.
  5151. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  5152. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  5153. and a new row is added to it.
  5154. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  5155. * DataGridView.cs: Add columns when DataSource is en empty list but
  5156. is a System.Data.DataView (from a System.Data.DataTable).
  5157. 2007-03-06 Andreia Gaita <[email protected]>
  5158. * Label.cs: Implement AutoEllipsis (2.0)
  5159. 2007-03-06 Jackson Harper <[email protected]>
  5160. * TreeView.cs: Implement 2.0 TopNode setter property.
  5161. - Use a local var instead of the skipped_nodes field for computing
  5162. how many nodes to skip. Otherwise we won't scroll because the
  5163. valuechanged handler checks if skipped_nodes is equal to the new
  5164. value.
  5165. - Implement 2.0 Sort method.
  5166. - Add useless 2.0 DoubleBuffer property
  5167. - Implement 2.0 LineColors property. Lets you change the color of
  5168. the lines in the tree. Terribly useful for creating non cohesive
  5169. desktops.
  5170. - Implement 2.0 image key feature.
  5171. 2007-03-06 Jackson Harper <[email protected]>
  5172. * TreeView.cs: We can't get the bounds of the nodes before raising
  5173. the AfterSelect event, because that event could change the node's
  5174. bounds (scrolling, font change, etc).
  5175. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  5176. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  5177. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  5178. update window styles. In CreateParams us VisibleInternal instead of
  5179. VIsible to get the actual visible flag set for this form.
  5180. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  5181. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  5182. handle the case when the form is already maximized, in which case
  5183. it should be restored. Fixes #81043.
  5184. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  5185. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  5186. 2007-03-05 Jackson Harper <[email protected]>
  5187. * TreeViewHitTestInfo.cs: implement.
  5188. 2007-03-05 Jackson Harper <[email protected]>
  5189. * InternalWindowManager.cs: class status fix.
  5190. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  5191. * InternalWindowManager.cs: All windows that have a parent
  5192. are confined to their parent when they're being moved.
  5193. Fixes #80822.
  5194. 2007-03-04 Gert Driesen <[email protected]>
  5195. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  5196. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  5197. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  5198. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  5199. buttons invisible before deciding which ones should be visible
  5200. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  5201. an unused variable.
  5202. * InternalWindowManager.cs: Remove warning.
  5203. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  5204. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  5205. to throw an InvalidOperationException is virtual mode is being used.
  5206. 2007-03-02 Jonathan Pobst <[email protected]>
  5207. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  5208. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  5209. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  5210. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  5211. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  5212. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  5213. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  5214. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  5215. driver.KeyboardDelay from XplatUI.KeyboardDelay
  5216. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  5217. (patch by Sergey Volk)
  5218. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  5219. * ToolWindowManager.cs: Added, contains logic for
  5220. tool windows.
  5221. * CreateParams.cs: Add a few helper methods and an
  5222. internal variable to know which control the CreateParams belongs
  5223. to.
  5224. * Control.cs: Call Form.ChangingParent when the
  5225. parent is about to be changed.
  5226. * XplatUIX11.cs: DeriveStyles (): Set
  5227. caption_height for all windows that have captions and are children.
  5228. Update to use ToolWindowManager instead of InternalWindowManager
  5229. for ToolWindows.
  5230. * XplatUIWin32.cs: Set fake window styles for all
  5231. windows that have window managers.
  5232. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  5233. now duplicated for mdi windows when they are
  5234. maximized, first for the buttons the window itself has, then for
  5235. the buttons that appear in the menu bar. Makes things a little
  5236. easier). Updated UpdateWindowDecorations, SetWindowState and the
  5237. mouse eventhandlers accordingly.
  5238. * Form.cs: Add ChangingParent (), contains the
  5239. logic of what should happen when the parent changes. In MdiParent
  5240. don't set things that ChangingParent () is doing. When handling
  5241. WM_CLOSE, we can close the form if there are any other modal forms
  5242. and the current form is a descendent of the modal form.
  5243. * InternalWindowManager.cs: A lot of refactoring,
  5244. the title buttons are now extracted to a separate container class
  5245. that takes care of all button code (clicks, tooltips, etc). Moved
  5246. Iconic|Maximized|Normal Bounds properties to this class from
  5247. MdiWindowManager, so that the window state logic can succeed for
  5248. other than mdi wm's. Implemented general window state change logic.
  5249. Moved CreateButtons to ThemeWin32Classic, since the theme might
  5250. override which buttons are available when as well as the exact
  5251. location.
  5252. * FormWindowManager.cs: Added, contains logic for
  5253. normal forms.
  5254. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  5255. which buttons go where (and if they are at all visible).
  5256. Removed special handling of maximized windows, since they aren't special.
  5257. In DrawManagedWindowDecorations don't try to draw the text if it is
  5258. empty.
  5259. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  5260. use whatever the wm gives us.
  5261. 2007-03-02 Jonathan Pobst <[email protected]>
  5262. * ButtonBase.cs: Add 2.0 properties.
  5263. * Button.cs: Override Draw for 2.0.
  5264. * Control.cs: Add Entered and Selected properties.
  5265. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  5266. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  5267. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  5268. buttons.
  5269. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  5270. 2007-03-01 Jonathan Pobst <[email protected]>
  5271. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  5272. 2007-03-01 Jonathan Pobst <[email protected]>
  5273. * XplatUIWin32.cs: Register a new class with Windows each time we get
  5274. a new ClassStyle. [Fixes bugs #79432, #80817]
  5275. * Controls.cs: Set the correct ClassStyle in CreateParams.
  5276. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  5277. 2007-03-01 Gert Driesen <[email protected]>
  5278. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  5279. ColumnReordered event must not be signaled when modifying DisplayIndex
  5280. of a ColumnHeader. Added internal ReorderColumns method which takes
  5281. care of drawing, and updating the internal DisplayIndex of the
  5282. ColumnHeader. Added AddColumn method which is invoked from
  5283. ColumnHeaderCollection when adding or inserting columns, and which
  5284. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  5285. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  5286. Recalculated dispay indices after removing a ColumnHeader.
  5287. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  5288. match MS. Allows last display index to be returned after ListView
  5289. is disposed. Update actual location of ColumnHeader when DisplayIndex
  5290. is modified.
  5291. 2007-03-01 Everaldo Canuto <[email protected]>
  5292. * LinkLabel.cs: Improve CalcTrimRectangle.
  5293. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  5294. 2007-02-28 Everaldo Canuto <[email protected]>
  5295. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  5296. get rectangle as a result value.
  5297. 2007-02-28 Everaldo Canuto <[email protected]>
  5298. * LinkLabel.cs: Theres some diferences between rectangle return from
  5299. MeasureCharacterRanges and the area used for DrawString to fix this
  5300. CalcMeasurementFactor method was created, it calcules the diferences
  5301. to be use later to adjust rectangle in draw operations. Fixes #80473.
  5302. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  5303. to adjust draw rectangle.
  5304. 2007-02-27 Everaldo Canuto <[email protected]>
  5305. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  5306. text and some other changes to reduce and optimize source code.
  5307. 2007-02-27 Jonathan Pobst <[email protected]>
  5308. * RadioButton.cs: Implement 2.0 event.
  5309. * RelatedImageListAttribute.cs: Implement new class.
  5310. 2007-02-27 Everaldo Canuto <[email protected]>
  5311. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  5312. 2007-02-27 Jonathan Pobst <[email protected]>
  5313. * CheckBox.cs: Implement 2.0 functionality.
  5314. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  5315. * ListView.cs: Refactor Add and AddRange methods of
  5316. ListViewItemCollection, to not update the ListView
  5317. everytime an item is added in AddRange. Also move the update
  5318. code to a new CollectionChanged method, and call it
  5319. from other methods that need it as well (this should also fix some
  5320. bugs when Sorting is used).
  5321. 2007-02-27 Jackson Harper <[email protected]>
  5322. * TextControl.cs: Try to never let the caret stay in a non-text
  5323. tag.
  5324. * TextBoxBase.cs: Update the caret.
  5325. 2007-02-26 Jonathan Pobst <[email protected]>
  5326. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  5327. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  5328. delete POINT structure, duplicate of one in XplatUIStructs.
  5329. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  5330. 2007-02-26 Gert Driesen <[email protected]>
  5331. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  5332. edit box since otherwise the Label would immediately be set (even if
  5333. the user did not modify the label). In OnKeyDown set Handled to true
  5334. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  5335. columns that are to be removed. In ListViewItemCollection unlink items
  5336. that are to be removed.
  5337. 2007-02-24 Jonathan Pobst <[email protected]>
  5338. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  5339. it when we are done. [Fixes bug #80949]
  5340. 2007-02-23 Jonathan Pobst <[email protected]>
  5341. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  5342. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  5343. * ListView.cs: I forgot to commit the changes for ListView
  5344. in my previous patch.
  5345. 2007-02-23 Jonathan Pobst <[email protected]>
  5346. * Clipboard.cs: Partially implement an overload of SetDataObject.
  5347. * Form.cs: Implement ShowWithoutActivation.
  5348. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  5349. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  5350. This is a first set of changes to make the Virtual mode works,
  5351. by avoiding the retrieval of ListViewItem instances until
  5352. draw time.
  5353. * ListView.cs: Store item position in the ListView instead of the
  5354. ListViewItem, this way we don't request the Bounds property of
  5355. ListViewItem inside the ListView calculations, as well as cache the item
  5356. size in item_size field. Store indexes instead of ListViewItem
  5357. instances in the matrix used by icon view. Add a ItemMatrixLocation
  5358. struct to hold the row and col info of the matrix info.
  5359. * ListViewItem.cs: Don't store the location anymore, and only cache
  5360. the rectangles for GetBounds. Use the ListView.GetItemLocation
  5361. method to retrieve the actual location.
  5362. 2007-02-23 Jonathan Pobst <[email protected]>
  5363. * TextRenderer.cs: Add clipping support, thanks to George.
  5364. [Fixes bug #80949]
  5365. 2007-02-23 Gert Driesen <[email protected]>
  5366. * ListViewItem.cs: Cancel label edit when item is removed from
  5367. ListView.
  5368. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  5369. event before the edit textbox is displayed. Added CancelEdit method
  5370. which is used end to editing while ignoring the value set by the
  5371. user. In EndEdit, set focus to ListView to avoid losing focus to
  5372. other controls. In ListViewItemCollection.Clear, cancel editing of
  5373. any of the items. In Remove, cancel editing of item being removed.
  5374. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  5375. 2007-02-23 Gert Driesen <[email protected]>
  5376. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  5377. bug #80948.
  5378. 2007-02-23 Everaldo Canuto <[email protected]>
  5379. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  5380. compatible with non X11 systems. Fixes #80901.
  5381. 2007-02-23 Gert Driesen <[email protected]>
  5382. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  5383. whether the item should be unselected and reselect. We do no want this
  5384. when we're starting to edit the label. Do not fire the
  5385. SelectedIndexChanged event from ListView when its already been fired
  5386. by modifying ListViewItem.Selected. Fixes bug #80943.
  5387. 2007-02-23 Jonathan Pobst <[email protected]>
  5388. * TextRenderer.cs: Previos commit logic was backwards.
  5389. 2007-02-23 Jonathan Pobst <[email protected]>
  5390. * TextRenderer.cs: Don't add padding on MeasureText if we were
  5391. sent the NoPadding flag.
  5392. 2007-02-23 Everaldo Canuto <[email protected]>
  5393. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  5394. after DrawButton. To prevent image overlaps button borders SetClip and
  5395. ResetClip added before and after draw image. Fixes #79129.
  5396. 2007-02-23 Everaldo Canuto <[email protected]>
  5397. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  5398. window size, it fix problem when you run under win32 that theres
  5399. Size diferent than ClientSize. Also fix controls size and positions
  5400. to mimic Win32. Fixes #80837.
  5401. 2007-02-22 Everaldo Canuto <[email protected]>
  5402. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  5403. menu area to fix some problems for non X11 systems. Fixes #80613.
  5404. 2007-02-22 Jackson Harper <[email protected]>
  5405. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  5406. even if it doesn't have any children.
  5407. 2007-02-22 Jackson Harper <[email protected]>
  5408. * TreeView.cs: Calculate the top node 'on the fly', this
  5409. eliminates issues where you need to click on the tree before
  5410. scrolling it to get the top node computed correctly.
  5411. * TreeNodeCollection.cs: We don't need to mess with the top node
  5412. anymore.
  5413. 2007-02-22 Jackson Harper <[email protected]>
  5414. * DataGridViewRow.cs: Fix typo so height can actually be set.
  5415. Patch by Peter Grimm.
  5416. 2007-02-22 Gert Driesen <[email protected]>
  5417. * FileDialog.cs: Fixed support for renaming files and directories.
  5418. * ListView.cs: Do not lose focus when edit is canceled. Process
  5419. Escape as regular key (to prevent closing of dialogs).
  5420. 2007-02-22 Gert Driesen <[email protected]>
  5421. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  5422. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  5423. 2007-02-22 Gert Driesen <[email protected]>
  5424. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  5425. did not modify label.
  5426. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  5427. modified the text. Reset Label when user presses Escape in edit mode.
  5428. Move focus to ListView after having cancelled or finished editing the
  5429. label.
  5430. 2007-02-21 Gert Driesen <[email protected]>
  5431. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  5432. private. Clear textbox when Text is set to null and SelectedIndex is
  5433. already -1.
  5434. * FileDialog.cs: Removed unnecessary initializations. Removed
  5435. workarounds for ComboBox bugs that are now fixed. Modified
  5436. DefaultExt, InitialDirectory and Title property to change null to
  5437. zero-length string in getters. Avoid directly accessing fields.
  5438. 2007-02-20 Jackson Harper <[email protected]>
  5439. * TextControl.cs: Remove RecalAlignments call, that was some
  5440. debugging leftovers.
  5441. - Don't use the line indent when we shouldn't.
  5442. * RichTextBox.cs: Add support for paragraph left indents.
  5443. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  5444. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  5445. Seems like the class status pages doesn't catch params differences.
  5446. 2007-02-19 Gert Driesen <[email protected]>
  5447. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  5448. 2007-02-19 Gert Driesen <[email protected]>
  5449. * ComboBox.cs: Setting Text should have no effect if item text of
  5450. selected item exactly matches value. First lookup text using
  5451. case-sensitive comparison, and fallback to case-insensitive comparison.
  5452. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  5453. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  5454. paramname to match MS. Restart from first item if string is not found
  5455. after startIndex. Fixed paramname of ArgumentNullException that is
  5456. thrown for null value in ObjectCollection.Contains.
  5457. 2007-02-19 Everaldo Canuto <[email protected]>
  5458. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  5459. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  5460. * ListControl.cs: In SelectedValue use value.Equals to compare for
  5461. equality instead of ==, otherwise it will fail for strings.
  5462. Fixes #80794.
  5463. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  5464. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  5465. since the caret won't show up unless ShowSelection is true.
  5466. Fixes #80795.
  5467. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  5468. * Application.cs: When disabling all forms but the main form, do not
  5469. disable any descendants of the main form (such as mdi children or
  5470. other parented forms). Fixes #80822 on Windows.
  5471. * Form.cs: If we have a parent, set the WS_CHILD style.
  5472. * Control.cs: Update the window styles if the control whose parent has
  5473. changed is a form (the WS_CHILD style has to be switched).
  5474. 2007-02-19 Everaldo Canuto <[email protected]>
  5475. * XplatUIStructs.cs: MsgUIState structure added.
  5476. 2007-02-18 Gert Driesen <[email protected]>
  5477. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  5478. profile, do not check filename(s) for illegal character if filename(s)
  5479. were set non-interactively but always check on 1.0 profile. Fixed NRE
  5480. in DefaultExt and only strip off first leading dot. Improve exception
  5481. message when invalid Filter is set. Do not ignore InitialDirectory if
  5482. it does no exist. Store specified Title, and if empty use default
  5483. title (depending on type of dialog). Added an internal DialogTitle
  5484. property for retrieving dialog title. Fixed logic of displayed dir to
  5485. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  5486. string as its buggy.
  5487. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  5488. FileName is a zero-length string (it can never be null). Override
  5489. DialogTitle property to set default title of dialog box.
  5490. * SaveFileDialog.cs: Override DialogTitle property to set default
  5491. title of dialog box.
  5492. 2007-02-18 Gert Driesen <[email protected]>
  5493. * FileDialog.cs: Modify default text of filename and filetype labels
  5494. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  5495. after we've updated the SelectedIndex. Fixes part of bug #80887.
  5496. * SaveFileDialog.cs: Set text of filetype label.
  5497. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  5498. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  5499. label field. Needed by latest Jackson's fixes for ListView.
  5500. 2007-02-16 Andreia Gaita <[email protected]>
  5501. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  5502. print preview images.
  5503. 2007-02-16 Jackson Harper <[email protected]>
  5504. * ListView.cs: Make AfterLabelEdit work correctly.
  5505. * FileDialog.cs: After changing the name of the folder, we have to
  5506. make sure that it is created, or that we pop up an error because
  5507. it already exists.
  5508. 2007-02-16 Jackson Harper <[email protected]>
  5509. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  5510. System.String are mapped to text.
  5511. - Handle dataobjects, getting all the possible formats out of them
  5512. - We dont need the drag event args before we give feedback. This
  5513. allows feedback cursors to be immediate before selections have
  5514. been converted.
  5515. 2007-02-16 Jackson Harper <[email protected]>
  5516. * TextBoxBase.cs: Modified the method for inserting images to
  5517. taking a line and position instead of tag and position.
  5518. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  5519. into the RTF file.
  5520. * TextControl.cs: Allow images to be inserted as the first tag of
  5521. a line.
  5522. - Fix some off by one issues when we assume the first tag is a
  5523. text tag, not an image tag.
  5524. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  5525. * ListView.cs: Set focus to ListView when ItemControl gets a
  5526. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  5527. Fixes part of #80467.
  5528. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  5529. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  5530. validate Text input (if null or empty string reset Value to default
  5531. value). Fixes #80830.
  5532. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  5533. * ListView.cs: Set owner as null for columns and items when
  5534. Dispose is invoked. Fixes #80607.
  5535. 2007-02-14 Jonathan Pobst <[email protected]>
  5536. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  5537. showing DropDowns, don't show a Grip when doing Flow layout.
  5538. [This fixes the toolbox in PDN 2.72.]
  5539. * ToolStripItem.cs: Add Anchor property and some internal properties to
  5540. reduces needed changes to FlowLayout.
  5541. * ToolStripOverflow.cs: Remove unused variable.
  5542. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  5543. use it in the layout calculations.
  5544. 2007-02-13 Everaldo Canuto <[email protected]>
  5545. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  5546. reported in #79640.
  5547. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  5548. size calculation.
  5549. 2007-02-13 Everaldo Canuto <[email protected]>
  5550. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  5551. MeasureString format, it can make button very large in some cases, it is
  5552. strange but is what win32 do.
  5553. 2007-02-13 Everaldo Canuto <[email protected]>
  5554. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  5555. size calculation.
  5556. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  5557. rendering, the value is based on MenuAccessKeysUnderlined.
  5558. 2007-02-13 Everaldo Canuto <[email protected]>
  5559. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  5560. for most themes.
  5561. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  5562. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  5563. and use MenuAccessKeysUnderlined instead.
  5564. 2007-02-13 Andreia Gaita <[email protected]>
  5565. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  5566. A selected control would not get a Focus call if:
  5567. - the default active control of the container is the same as
  5568. the one that was selected
  5569. - we are switching from one container to another
  5570. Under these conditions, the container being selected already has
  5571. an active_control, which is the same as the one being activated,
  5572. so set_ActiveControl would always return and not send the Focus
  5573. call. Fix to check if the currently active control of the container
  5574. is actually focused.
  5575. 2007-02-13 Jonathan Pobst <[email protected]>
  5576. * StatusStrip.cs: Implement the spring layout.
  5577. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  5578. always matches the host.
  5579. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  5580. and TextAfterImage.
  5581. 2007-02-13 Andreia Gaita <[email protected]>
  5582. * Control.cs: Code reorganization only.
  5583. - Reorganize the WndProc cases so that each case has it's own handling method,
  5584. to help with the no-line-numbering stack traces.
  5585. - Formatting changes (it's vstudio's fault, really :p)
  5586. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  5587. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  5588. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  5589. behaviour.
  5590. 2007-02-12 Jackson Harper <[email protected]>
  5591. * RichTextBox.cs:
  5592. * TextBox.cs: By default we have a non multiline document
  5593. - use the multiline property instead of the internal variable
  5594. * TextBoxBase.cs: Treat multiline and non multiline the same in
  5595. most places.
  5596. - Use the documents multiline flag instead of tracking it ourself
  5597. * TextControl.cs: Attempt at getting multiline to match MS
  5598. behavior. Lines now track an offset, which is either their X or Y
  5599. offset depending on whether or not we are in multiline mode.
  5600. - Update all the methods to understand that lines have an X value.
  5601. - Fix crash in Undo::Duplicate when empty lines are deleted.
  5602. 2007-02-12 Everaldo Canuto <[email protected]>
  5603. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  5604. code moved to properties PreferredHeight and PreferredWidth. It solve the
  5605. all problems when preferred sizes must be recalculated. Fixes #80801.
  5606. 2007-02-12 Everaldo Canuto <[email protected]>
  5607. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  5608. font height when compatible_text_rendering is false. Partially fix #80801.
  5609. 2007-02-09 Gert Driesen <[email protected]>
  5610. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  5611. 2007-02-09 Gert Driesen <[email protected]>
  5612. * Form.cs: Improved exception messages in ShowDialog.
  5613. 2007-02-09 Gert Driesen <[email protected]>
  5614. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  5615. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  5616. if not set. Fixes bug #80764. Avoid accessing current_settings field
  5617. directly.
  5618. 2007-02-08 Everaldo Canuto <[email protected]>
  5619. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  5620. false.
  5621. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  5622. public in 2.0 and for easy maintenance and dont break compatibility it is
  5623. internal in 1.1.
  5624. 2007-02-08 Jonathan Pobst <[email protected]>
  5625. * ToolStripItem.cs: Implement using images from ImageList.
  5626. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  5627. * DateTimePicker.cs: Change default date-formatting culture from
  5628. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  5629. seems to be the way MS does it.
  5630. 2007-02-08 Andreia Gaita <[email protected]>
  5631. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  5632. (the 6 was cut off on the right side)
  5633. 2007-02-08 Jonathan Pobst <[email protected]>
  5634. * Form.cs: Tell MenuStrips to close when the form is clicked.
  5635. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  5636. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  5637. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  5638. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  5639. support for Overflow, where items that do not fit are automatically
  5640. reparented to a drop down menu.
  5641. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  5642. Also: fixes bug #80747.
  5643. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  5644. * ComboBox.cs: Remove warning (unused code).
  5645. * ScrollableControl.cs: Remove warning for 1.1 profile.
  5646. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  5647. * Form.cs: Remove a warning.
  5648. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  5649. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  5650. 'g' specifier, not documented anywhere, but seems to always show up
  5651. as a single space (might have something to do with the DateTime 'g'
  5652. specifier, which is the era format, but since DateTimePicker can't
  5653. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  5654. won't crash if the format has an unmatched quote. Now shows
  5655. single-character formats correctly. Fixes #80744.
  5656. 2007-02-08 Jonathan Pobst <[email protected]>
  5657. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  5658. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  5659. 2007-02-07 Chris Toshok <[email protected]>
  5660. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  5661. background color. it overwrites the background image we've
  5662. already painted. Fixes #80599.
  5663. 2007-02-07 Chris Toshok <[email protected]>
  5664. * DataGrid.cs: return immediately from Edit() when there are no
  5665. columns. Fixes #80662.
  5666. 2007-02-07 Chris Toshok <[email protected]>
  5667. * MessageBox.cs: fix #80625. don't always show the Help button in
  5668. 2.0. use the displayHelpButton parameter to determine if we
  5669. should show it. Also, make the internal show_help field private.
  5670. 2007-02-07 Chris Toshok <[email protected]>
  5671. * Control.cs (SetVisibleCore): check in the proposed patch for
  5672. 80604, and set is_visible before calling CreateControl.
  5673. 2007-02-07 Jonathan Pobst <[email protected]>
  5674. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  5675. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  5676. on it.
  5677. 2007-02-06 Everaldo Canuto <[email protected]>
  5678. * MenuAPI.cs: hotkey_active internal field added, it is required because
  5679. we need to know when hotkeys must be draw, before this change a keystate
  5680. Navigating was used but we can have menu in navigating state without
  5681. hotkeys. Fixes #80694.
  5682. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  5683. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  5684. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  5685. corresponding events and methods to be internal for 1.1 profile and
  5686. public for 2.0 profile (required by SizeGrip).
  5687. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  5688. implicit control list). Don't set the size nor the location of the
  5689. SizeGrip anymore as it's not needed.
  5690. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  5691. draw directly on the captured control (fixes #80656). Removed
  5692. ShowGrip (it wasn't used anywhere), redraw (always true), added
  5693. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  5694. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  5695. be called from SizeGrip.
  5696. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  5697. * Timer.cs: Throw ArgumentException if Interval <= 0.
  5698. 2007-02-05 Jackson Harper <[email protected]>
  5699. * TreeView.cs: We need to check scrollbar visibility when window
  5700. visibility is updated, because non visible trees don't ever add
  5701. scrollbars.
  5702. * Cursor.cs: We want the override cursor to be reset to NULL when
  5703. we set current cursor to the default cursor.
  5704. 2007-02-05 Jackson Harper <[email protected]>
  5705. * TextControl.cs: Don't have crlfs when we are non multiline.
  5706. - Consolidate the line position.
  5707. 2007-02-05 Jackson Harper <[email protected]>
  5708. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  5709. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  5710. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  5711. handling LeaveNotify->NotifyUngrab in order to send
  5712. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  5713. after calling XUngrabPointer, so we call WindowUngrabbed directly
  5714. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  5715. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  5716. MouseCaptureChanged correctly. Also create handles if changing
  5717. Capture (matches MS behaviour).
  5718. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  5719. * SizeGrip.cs: Make the last change 2.0 only.
  5720. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  5721. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  5722. changes to initial size (fixes #80597).
  5723. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  5724. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  5725. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  5726. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  5727. background) and only allow dragging if enabled. This way the
  5728. sizegrip can be used to fill the open square that otherwise would
  5729. have been shown in the bottom right corner of ScrollableControl
  5730. when ScrollableControl is not suppose to support sizing.
  5731. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  5732. sizegrip is shown and enabled, and hook up with necessary events.
  5733. 2007-02-01 Chris Toshok <[email protected]>
  5734. * DataGridTextBoxColumn.cs: clean up the
  5735. GetFormattedString/GetColumnValueAtRow combination of functions.
  5736. Also fix UpdateUI, and the initial state of
  5737. IsInEditOrNavigateMode.
  5738. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  5739. aren't supposed to scroll the textbox here, we're supposed to
  5740. scroll the datagrid.
  5741. 2007-02-01 Chris Toshok <[email protected]>
  5742. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  5743. setting the position.
  5744. 2007-02-01 Chris Toshok <[email protected]>
  5745. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  5746. here, since the most recent focus fixes keep us from generating
  5747. the Leave event when our textbox gets focus.
  5748. (Edit): we should be passing null for the column style's
  5749. instantText parameter.
  5750. 2007-02-01 Jonathan Pobst <[email protected]>
  5751. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  5752. raised. Fixes menu text/icons not showing up in PDN.
  5753. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  5754. * Control.cs: Remove code in constructor that makes every
  5755. control with WS_CHILD set have initial location -1, -1.
  5756. 2007-01-31 Jackson Harper <[email protected]>
  5757. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  5758. XplatUIX11.
  5759. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  5760. 2007-01-31 Jackson Harper <[email protected]>
  5761. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  5762. - Remove some debug code.
  5763. 2007-01-31 Jackson Harper <[email protected]>
  5764. * XplatUIX11.cs: If you set the override cursor during a grab, it
  5765. should actually override the grab cursor. This comes into play
  5766. when you are setting custom cursors in a DND feedback method.
  5767. 2007-01-31 Jackson Harper <[email protected]>
  5768. * X11Dnd.cs: Add support for handling the QueryContinue and
  5769. GiveFeedback events.
  5770. - Cancel drag and drop actions when the escape key is clicked.
  5771. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  5772. can handle the ESCAPE key.
  5773. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  5774. done when dnd events are continued after the button is released.
  5775. - Add a new helper method so that dnd can translate key events.
  5776. 2007-01-31 Alexander Olk <[email protected]>
  5777. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  5778. make it more obvious what is happening.
  5779. 2007-01-30 Jackson Harper <[email protected]>
  5780. * XplatUIX11.cs: Don't break when handling button release in drag
  5781. and drop operations. We need that BUTTONUP message to get through
  5782. so capture is released.
  5783. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  5784. this is handled automatically when the mouse is down.
  5785. 2007-01-30 Jackson Harper <[email protected]>
  5786. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  5787. is closed, so we need to make sure that we aren't changing the
  5788. dialog result when the OK (Open or Save) button has been clicked
  5789. and we are closing the window ourselves. Note we don't need to
  5790. worry about the cache being written in this case, because it was
  5791. already done in the previous FilOk call.
  5792. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  5793. * DateTimePicker.cs: Remove a warning.
  5794. * ComboBox.cs: Remove a couple of warnings.
  5795. 2007-01-29 Chris Toshok <[email protected]>
  5796. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  5797. set one, if SetIcon is passed a null icon.
  5798. 2007-01-29 Andreia Gaita <[email protected]>
  5799. * TextBox.cs: Redraw when the password characters changes
  5800. * TextControl.cs: Check if textbox has a password char and draw
  5801. a line of password chars instead of the text in the line. LineTag gets
  5802. an extra Draw() method which allows document.Draw to override the text
  5803. that will be drawn. Removes 1024 char limitation on length of passworded
  5804. lines.
  5805. 2007-01-29 Jackson Harper <[email protected]>
  5806. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  5807. single chars is not.
  5808. 2007-01-28 Jonathan Pobst <[email protected]>
  5809. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  5810. one pixel. Fix a StackOverflowException caused by an overload wrongly
  5811. calling itself.
  5812. 2007-01-26 Everaldo Canuto <[email protected]>
  5813. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  5814. also remove ProcessArrowKey and put the code inside ProcessKeys.
  5815. 2007-01-26 Jonathan Pobst <[email protected]>
  5816. * PaddingConverter.cs: Added.
  5817. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  5818. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  5819. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  5820. of text (fixes #80601). For panels clip the text to draw to the
  5821. panel (fixes #80603).
  5822. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  5823. * ComboBox.cs: Fixed implementation of ResetText.
  5824. 2007-01-25 Jackson Harper <[email protected]>
  5825. * TextControl.cs: For the last char of a line we need to use the
  5826. line size, not that chars width, since it won't actually be
  5827. computed since the right side of a char is based on the start of
  5828. the left side of the next char, and the next char does not exist.
  5829. 2007-01-25 Chris Toshok <[email protected]>
  5830. * Splitter.cs: fix the new unit tests, and reindent some switch
  5831. statements.
  5832. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  5833. * ComboBox.cs: Implemented 2.0 methods and events.
  5834. * TextBoxBase.cs: Added OnTextUpdate, so that
  5835. ComboBox.ComboTextBox can inform ComboBox of it.
  5836. 2007-01-25 Jackson Harper <[email protected]>
  5837. * TextControl.cs: Respect ShowSelection when deciding whether or
  5838. not to display the caret, this allows comboboxes to have carets
  5839. when the combotextbox does not have focus.
  5840. 2007-01-25 Jackson Harper <[email protected]>
  5841. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  5842. same as the Suspend/Resume for recalc, except this will do actual
  5843. Invalidates.
  5844. - New Undo manager, works much like the MS version.
  5845. - Implemented Redo
  5846. * TextBoxBase.cs: The Cut operation is undoable.
  5847. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  5848. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  5849. on Windows (no difference on Linux).
  5850. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  5851. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  5852. we don't want to activate any windows. Fixes #79433.
  5853. 2007-01-25 Jonathan Pobst <[email protected]>
  5854. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  5855. [Fixes bug #80609]
  5856. 2007-01-25 Alexander Olk <[email protected]>
  5857. * FileDialog.cs:
  5858. - Move to using System.ComponentModel.EventHandlerList
  5859. - Replace Refresh with Invalidate
  5860. - Clear the mime filecache on closing
  5861. - Some other memory reducing work. After beeing closed FD now uses
  5862. only about 300 KB for the fdo mime stuff plus the memory of the
  5863. cached icons.
  5864. * Mime.cs: Changed coding style and removed unnecessary commented
  5865. code. Some more memory memory reducing work.
  5866. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  5867. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  5868. a few other missing 2.0 properties.
  5869. * Theme.cs: Added DrawFlatStyleComboBox.
  5870. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  5871. 2007-01-24 Chris Toshok <[email protected]>
  5872. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  5873. wake_waiting flag, not just when there's data to be read. if we
  5874. don't, then future wakeup's won't reach us and we'll be doomed to
  5875. wait for the entire 1 second timeout forever (unless there are X
  5876. events to be had).
  5877. 2007-01-24 Jonathan Pobst <[email protected]>
  5878. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  5879. until you pass Items.Count, not Items.Count - 1 like 1.1.
  5880. 2007-01-24 Gert Driesen <[email protected]>
  5881. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  5882. 2007-01-24 Jonathan Pobst <[email protected]>
  5883. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  5884. adding the panels in the wrong order.
  5885. 2007-01-24 Jackson Harper <[email protected]>
  5886. * TextBoxBase.cs: When we move the caret we also need to move the
  5887. selection, this fixes some random crashing after doing select
  5888. text, unselect, delete a char, paste.
  5889. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  5890. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  5891. 2007-01-23 Everaldo Canuto <[email protected]>
  5892. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  5893. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  5894. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  5895. 2007-01-23 Everaldo Canuto <[email protected]>
  5896. * ToolBar.cs:
  5897. - Implement support for vertical toolbars. Fixes #80539;
  5898. - Call LayoutToolBar when resize, it fix some other problems in layout.
  5899. - Rename requested_height to requested_size, as we can have width on it
  5900. when toolbar is vertical.
  5901. - Create a private property "Vertical" that uses Dock to verify when
  5902. toolbar is vertical or not.
  5903. - Set ControlStyles when change Dock property.
  5904. - Refactory in LayoutToolBar to have better variables names and to support
  5905. vertical toolbars.
  5906. - Fixes default value for ButtonSize when button count is equal zero, size
  5907. must be (39, 36) test case writed.
  5908. 2007-01-23 Chris Toshok <[email protected]>
  5909. * Control.cs: fix the checks so that they work correctly for mdi
  5910. parents/children.
  5911. 2007-01-23 Chris Toshok <[email protected]>
  5912. * Control.cs: ControlCollection seems to have super-secret
  5913. abstraction breaking knowledge of Mdi containers. allow MdiClient
  5914. to add toplevel controls.
  5915. 2007-01-23 Chris Toshok <[email protected]>
  5916. * Control.cs: throw an ArgumentException if a toplevel control is
  5917. added to our control collection from ControlCollection.Add, as
  5918. well as from ControlCollection.IList.Add. This fixes the
  5919. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  5920. Also, in ControlCollection.IList.Add, don't through an
  5921. ArgumentNullException, throw an ArgumentException, when value ==
  5922. null. This matches MS.
  5923. 2007-01-23 Chris Toshok <[email protected]>
  5924. * BindingSource.cs: initial, incomplete, implementation of
  5925. BindingSource.
  5926. 2007-01-23 Jackson Harper <[email protected]>
  5927. * TextControl.cs:
  5928. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  5929. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  5930. 2007-01-23 Everaldo Canuto <[email protected]>
  5931. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  5932. 2007-01-23 Andreia Gaita <[email protected]>
  5933. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  5934. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  5935. IndexOfKey() for 2.0
  5936. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  5937. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  5938. to prevent it from changing z-order.
  5939. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  5940. leave UI updates in MdiWindowManager.
  5941. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  5942. 1 sized (NC handling goes weird on Linux otherwise).
  5943. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  5944. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  5945. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  5946. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  5947. and SetWindowState(s) to allow for changing the size of an activated child
  5948. before activating it (reduces a lot of flicker).
  5949. 2007-01-22 Jonathan Pobst <[email protected]>
  5950. * Form.cs: Changing FormBorderStyle has different semantics based
  5951. on whether the Form is visible or not. If not visible, don't change
  5952. the Size. But InvalidateNC needs to be called to force the window
  5953. to pick up the changes and redraw itself. [Fixes bug #80574]
  5954. 2007-01-22 Jonathan Pobst <[email protected]>
  5955. [Moma work]
  5956. * ContainerControl.cs: ProcessCmdKey.
  5957. * ErrorProvider.cs: new constructor.
  5958. * Form.cs: fix AutoValidateEvent compiler warning.
  5959. * Label.cs: fix OnAutoSizeChanged compiler warning.
  5960. * MenuStrip.cs: fix CanOverflow compiler warning.
  5961. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  5962. * TextBox.cs: Dispose.
  5963. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  5964. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  5965. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  5966. * ToolStripItem.cs: Overflow, RightToLeft properties.
  5967. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  5968. * Form.cs: Move the layout of the main form to MdiWindowManager.
  5969. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  5970. do a layout of the main window to update MdiClient's client area to
  5971. the right area. Fixes #80533. Remove the calculation of nc size,
  5972. it was just wrong and the correct one is the same as for
  5973. InternalWindowManager.
  5974. 2007-01-20 Jonathan Pobst <[email protected]>
  5975. * Control.cs: Setting Anchor or Dock needs to reset the other
  5976. to its default. [Fixes bug #80556]
  5977. 2007-01-20 Chris Toshok <[email protected]>
  5978. * CheckedListBox.cs: class status changes.
  5979. * ScrollableControl.cs: same.
  5980. * RichTextBox.cs: same.
  5981. * ContainerControl.cs: same.
  5982. * ListView.cs: same.
  5983. * NotifyIcon.cs: same.
  5984. * MenuStrip.cs: same.
  5985. * RadioButton.cs: same.
  5986. * CheckBox.cs: same.
  5987. * PrintPreviewDialog.cs: same.
  5988. * Form.cs: same.
  5989. 2007-01-19 Jonathan Pobst <[email protected]>
  5990. * TreeNode.cs: Apply Alan's patch for Name property.
  5991. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  5992. * Form.cs: Implemented SizeGripStyle.
  5993. * SizeGrip.cs: Check for minimum and maximum size for the
  5994. control being resized and only resize if size has actually
  5995. changed.
  5996. 2007-01-19 Chris Toshok <[email protected]>
  5997. * DataGridColumnStyle.cs: stop setting _readonly in the
  5998. PropertyDescriptor setter. fixes a unit test failure.
  5999. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  6000. just consult our table style (if we have one). We don't need to
  6001. consult the datagrid readonly attribute because that's passed in
  6002. as the _ro arg to Edit. this simplifies things a little.
  6003. * DataGrid.cs: use CurrentColumn instead of
  6004. current_cell.ColumnNumber just to simplify some of the code.
  6005. switch the order of some things in the CurrentCell setter to keep
  6006. the previous cell from getting a textbox again -
  6007. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  6008. So we need to set the new cell before calling it.
  6009. call Edit in OnEnter, as does Microsoft.
  6010. also, make sure the current table style isn't the one we create
  6011. initially when checking to see if it's different than the one
  6012. we're setting it to in BindColumns (this fixes #80421).
  6013. * GridTableStylesCollection.cs: table styles can have "" for a
  6014. mapping name. part of the fix for #80421.
  6015. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  6016. Edit significantly.
  6017. 2007-01-18 Jonathan Pobst <[email protected]>
  6018. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  6019. and less GDI object leaky-er.
  6020. 2007-01-18 Andreia Gaita <[email protected]>
  6021. * LinkLabel.cs: Add opaque control style
  6022. 2007-01-18 Jackson Harper <[email protected]>
  6023. * TextControl.cs: Calculate width properly.
  6024. - Don't store the tag's X offset, this can be figured out very
  6025. easily.
  6026. - When getting the caret tag make sure to get the last empty tag.
  6027. 2007-01-18 Jonathan Pobst <[email protected]>
  6028. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  6029. [Fixes bug #79959]
  6030. * Control.cs: Color.Empty shouldn't count for previous transparent
  6031. redraw changes.
  6032. 2007-01-18 Jackson Harper <[email protected]>
  6033. * TextBox.cs:
  6034. * RichTextBox.cs:
  6035. * TextControl.cs: Starting to merge in some pieces of my older
  6036. undo work. Basically just some slight cleanup of the undo API.
  6037. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  6038. * TrackBar.cs: Fix signature of RightToLeftLayout.
  6039. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  6040. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  6041. * Application.cs: Implemented UseWaitCursor.
  6042. 2007-01-18 Jackson Harper <[email protected]>
  6043. * TextControl.cs: We can't skip tags if any part of the tag is
  6044. visible.
  6045. 2007-01-18 Jonathan Pobst <[email protected]>
  6046. * ContainerControl.cs: Override OnLayout.
  6047. 2007-01-18 Jonathan Pobst <[email protected]>
  6048. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  6049. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  6050. everything else.
  6051. 2007-01-18 Chris Toshok <[email protected]>
  6052. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  6053. (leftover from the container_selected days, I'd wager). fixes bug
  6054. #80546.
  6055. 2007-01-18 Jonathan Pobst <[email protected]>
  6056. * Control.cs: Apply patch from George to fix the new testcase on
  6057. bug #80451. We can't just check for Color.Transparent, we need
  6058. to check if the back color's alpha channel is < 255.
  6059. 2007-01-18 Jonathan Pobst <[email protected]>
  6060. * Form.cs: Move setting show_icon = true to before the constructor
  6061. so that the base constructor has that information when it calculates
  6062. the form's size. Was causing forms to be (6, 6) bigger than they
  6063. were supposed to be. Thanks for catching this Rolf!
  6064. 2007-01-18 Jackson Harper <[email protected]>
  6065. * TextControl.cs: When replacing a selection we need to invalidate
  6066. from the initial selection start, because selection start is moved
  6067. to the end of the replacement.
  6068. 2007-01-18 Andreia Gaita <[email protected]>
  6069. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  6070. 2007-01-18 Chris Toshok <[email protected]>
  6071. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  6072. I just added.
  6073. 2007-01-17 Everaldo Canuto <[email protected]>
  6074. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  6075. layout methods and properties from ToolBarButton must be available
  6076. into ToolBarButtonInfo.
  6077. 2007-01-17 Jonathan Pobst <[email protected]>
  6078. * Control.cs: If the control has a transparent background, we
  6079. need to refresh it when it moves and when it's parent's background
  6080. image changes. [Fixes bug #80451]
  6081. 2007-01-17 Jonathan Pobst <[email protected]>
  6082. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  6083. 2007-01-17 Jonathan Pobst <[email protected]>
  6084. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  6085. [Fixes bug #80447, and probably speeds up things as well]
  6086. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  6087. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  6088. * XplatUIWin32.cs: We need to recalculate NC size after changing
  6089. window style to toolwindow (otherwise the client rectangle will be
  6090. 3 pixels to small for some reason).
  6091. * MdiWindowManager.cs: Revert NC size calculations to match how
  6092. they are calculated only based on window styles (to match
  6093. Win32AdjustWindowRectEx, since otherwise when setting size or
  6094. location, Control will call Win32AdjustWindowRectEx to update client
  6095. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  6096. calculate a different value of client size causing another paint
  6097. (and flickering))
  6098. * InternalWindowManager.cs: When moving or resizing a window only
  6099. update size or location if they actually changed.
  6100. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  6101. (seems to match Windows behaviour better). Cleaned up
  6102. ManagedWindowDecorations to draw what's needed and nothing else
  6103. (was drawing borders and lines where they shouldn't be)
  6104. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  6105. (style = 0xFFFF) and takes into account caption height when
  6106. calculating window rectangle.
  6107. 2007-01-16 Everaldo Canuto <[email protected]>
  6108. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  6109. can be added to toolbar multiple times, we need to maintain a list of
  6110. button information for each positions.
  6111. 2007-01-16 Everaldo Canuto <[email protected]>
  6112. * ToolBar.cs: Some small stetic changes.
  6113. 2007-01-16 Jackson Harper <[email protected]>
  6114. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  6115. that allow us to have nested recalc = false blocks.
  6116. - Add paste support for images in the RichTextBox
  6117. * RichTextBox.cs: flush the text after the color is changed, so
  6118. the change takes effect.
  6119. - Use SuspendRecalc
  6120. - Some extra debugging info
  6121. * TextControl.cs: Tags no longer track their length, it is just
  6122. computed from the next tags length, this makes things a little
  6123. simpler and reduces places that we have to track length changes.
  6124. - Refactored the linetag class a little so we could make it
  6125. a base class for different kinds of tags
  6126. - Created a image tag, a tag that can have a single image inserted
  6127. into it
  6128. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  6129. that we can call suspend multiple times.
  6130. - Add some debugging methods
  6131. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  6132. * MdiClient.cs: Add ActivatePreviousChild for
  6133. mdi child window navigation.
  6134. * Form.cs: Use MdiClient.ActivateNextChild/
  6135. ActivatePreviousChild instead of Form.SelectNextControl
  6136. to select the next/previous child since
  6137. SelectNextControl doesn't do it in the same order
  6138. as mdi children should do it.
  6139. 2007-01-16 Chris Toshok <[email protected]>
  6140. * Control.cs: remove container_selected field.
  6141. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  6142. * MdiClient.cs: Update main form's ActiveChild when
  6143. updating keyboard focus for the mdi child.
  6144. 2007-01-16 Jonathan Pobst <[email protected]>
  6145. * Control.cs: PreferredSize fix.
  6146. * Form.cs: Add several 2.0 events, properties, and methods.
  6147. 2007-01-16 Gert Driesen <[email protected]>
  6148. * Form.cs: Provide meaningful message when MdiParent is assigned a
  6149. Form that is not an MdiContainer.
  6150. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  6151. * MdiClient.cs: Update main form's ActiveChild when
  6152. activating a mdi child.
  6153. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  6154. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  6155. doesn't have a menu.
  6156. * Form.cs: Request NCRecalc after creating a mdi child window.
  6157. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  6158. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  6159. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  6160. sends keyboard focus to the active child, or to the MdiClient
  6161. if there are no child forms.
  6162. 2007-01-15 Chris Toshok <[email protected]>
  6163. * ListView.cs: drop the *Internal overrides, just do our work in
  6164. ItemControl's WndProc instead.
  6165. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  6166. of the various controls, and forward the events properly (in the
  6167. same manner as MS) from the textbox to the UpDown. Also the
  6168. ActiveControl of the UpDownBase gets set properly now. Finally,
  6169. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  6170. * NumericUpDown.cs: set Text in the ctor.
  6171. * DomainUpDown.cs: call UpdateEditText in the ctor.
  6172. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  6173. so even a Selectable = false textbox can be focused if you click
  6174. in it. Go figure.
  6175. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  6176. just add their handling in their respective WndProc's. Also add
  6177. an explicit FocusInternal method that doesn't consult CanFocus
  6178. before calling Select(this).
  6179. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  6180. do our work in WndProc instead.
  6181. * TabControl.cs: same.
  6182. * ComboBox.cs: same.
  6183. 2007-01-15 Everaldo Canuto <[email protected]>
  6184. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  6185. Fixes #80006.
  6186. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  6187. * ListViewItem.cs:
  6188. * ThemeWin32Classic.cs: Don't draw the item text outside
  6189. item bounds in Details view, as well as use trimming.
  6190. Fixes bug #80376.
  6191. 2007-01-15 Jonathan Pobst <[email protected]>
  6192. * Form.cs: Implement Form.ShowIcon.
  6193. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  6194. null, which when combined with the DlgModalFrame window style removes
  6195. the icon from the title bar.
  6196. 2007-01-15 Jonathan Pobst <[email protected]>
  6197. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  6198. 2007-01-15 Everaldo Canuto <[email protected]>
  6199. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  6200. menu when mdi child windows theres a menu, uses insert to get icon
  6201. at first position. Partially fix #80006.
  6202. 2007-01-15 Jonathan Pobst <[email protected]>
  6203. * Clipboard.cs: Implement 2.0 methods.
  6204. 2007-01-15 Everaldo Canuto <[email protected]>
  6205. * Menu.cs: Implement Insert method of MenuItemCollection class
  6206. to fix MenuMerge.
  6207. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  6208. * ListView.cs: Implement 2.0 FindItemWithText method.
  6209. 2007-01-11 Everaldo Canuto <[email protected]>
  6210. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  6211. to calculate menu bar size. Fixes #80290.
  6212. 2007-01-11 Everaldo Canuto <[email protected]>
  6213. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  6214. 2007-01-11 Chris Toshok <[email protected]>
  6215. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  6216. initial form.
  6217. 2007-01-11 Chris Toshok <[email protected]>
  6218. * LinkLabel.cs: make sure to call base.Select in our Select method
  6219. if it turns out we're going to be selected (i.e. if we have a link
  6220. that is going to receive focus). That way our container's
  6221. ActiveControl is updated properly.
  6222. 2007-01-11 Chris Toshok <[email protected]>
  6223. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  6224. they have 1 or more links. this fixes the crash gert reported.
  6225. 2007-01-11 Andreia Gaita <[email protected]>
  6226. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  6227. anymore.
  6228. * Control.cs (Controls.Add): Check if control to be added to the collection
  6229. is a top level control, and throw an ArgumentException if it is.
  6230. Remove ContainerSelectedFlag, not needed anymore.
  6231. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  6232. top most control doesn't activate the form. This fixes a problem in the
  6233. MessageBox, where the default button wouldn't get focus because the form
  6234. was activated before being Loaded - when the Owner is set, SetTopMost is
  6235. called, and it would activate it.
  6236. 2007-01-11 Jonathan Pobst <[email protected]>
  6237. * Button.cs: When clicked and setting the parent form's DialogResult,
  6238. use FindForm instead of Parent, since parent could be a container
  6239. control and not the Form. Fixes bug #80495.
  6240. 2007-01-10 Chris Toshok <[email protected]>
  6241. * Form.cs: move the call to SendControlFocus into the same
  6242. is_loaded check.
  6243. 2007-01-10 Chris Toshok <[email protected]>
  6244. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  6245. It breaks in the face of the new ActiveControl stuff, and should
  6246. be unnecessary.
  6247. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  6248. activecontrol's focus if it's not already set, after we set
  6249. ActiveControl, but before we call OnActivated. Re-fixes #79667
  6250. after the previous focus/active control fixes regressed it.
  6251. * Control.cs: reindent some code.
  6252. 2007-01-10 Chris Toshok <[email protected]>
  6253. * Splitter.cs: clearing some outstanding changes from my tree.
  6254. Replace all accesses (not writes) to the internal dock_style field
  6255. with the Dock property.
  6256. 2007-01-10 Chris Toshok <[email protected]>
  6257. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  6258. FireValidated virtual.
  6259. * Form.cs: override and don't chain up calls to FireEnter and
  6260. FireLeave.
  6261. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  6262. * ListView.cs: Add more text padding space when using
  6263. auto resize for columns (the previous value didn't work fine).
  6264. * ThemeWin32Classic.cs: Update text position inside columns,
  6265. to match the appeareance of .Net.
  6266. * ColumnHeader.cs: When using auto resize, only the Width should
  6267. depend on the sub items, not the Height. Also, set width after
  6268. auto resizing (the value of Width should never remain as -1 or -2).
  6269. 2007-01-10 Chris Toshok <[email protected]>
  6270. * Application.cs: fix compilation errors when debug is enabled.
  6271. 2007-01-10 Chris Toshok <[email protected]>
  6272. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  6273. add some nice ascii art pictures and explanation of the process).
  6274. (GetMostDeeplyNestedActiveControl): new utility function we need
  6275. because our ActiveControl can refer to a child container with its
  6276. own ActiveControl.
  6277. * Form.cs (OnActivated): remove the call to SelectActiveControl
  6278. from here, since you can override this method and not chain up,
  6279. and winforms still sets the active control.
  6280. (OnCreateControl): also remove the unnecessary SelectActiveControl
  6281. call from here.
  6282. (WndProc): it's actually called from the WM_ACTIVATE block, just
  6283. before calling OnActivated.
  6284. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  6285. inside the else. the ActiveControl setter will end up setting
  6286. focus on @control. This keeps us from setting it again (and
  6287. generating an extra LostFocus/GotFocus pair).
  6288. (Select (bool, bool)): reindent.
  6289. 2007-01-10 Jonathan Pobst <[email protected]>
  6290. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  6291. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  6292. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  6293. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  6294. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  6295. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  6296. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  6297. ToolStripTextBox.cs: Another wave of corcompare work.
  6298. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  6299. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  6300. the Width property.
  6301. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  6302. methods by callling Column.AutoResize method on columns.
  6303. 2007-01-09 Jonathan Pobst <[email protected]>
  6304. * Control.cs: Provide proper implementations of PreferredSize
  6305. and GetPreferredSize (2.0).
  6306. 2007-01-09 Jonathan Pobst <[email protected]>
  6307. * Form.cs: Remove one character (!) to make my previous OnClosing
  6308. stuff work for modal windows like MessageBox.
  6309. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  6310. * ListView.cs:
  6311. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  6312. ListView.Columns to get the last displayed column. Fixes #80452.
  6313. 2007-01-09 Everaldo Canuto <[email protected]>
  6314. * Label.cs, LinkLabel.cs: Source code identation fixes.
  6315. 2007-01-08 Everaldo Canuto <[email protected]>
  6316. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  6317. we dont need to invalidate only borders because when we invalidate four
  6318. border lines the invalidate's generates a complete redraw of button,
  6319. because it now invalidate a complete rect some other redraws operations
  6320. are fixed. Fixes #80196.
  6321. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  6322. Remove ToolBarInvalidateEntireButton as it is not used.
  6323. 2007-01-08 Jonathan Pobst <[email protected]>
  6324. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  6325. called for 2.0 profile.
  6326. * CloseReason.cs: Make class internal for 1.1.
  6327. 2007-01-08 Jonathan Pobst <[email protected]>
  6328. * ToolStripManager.cs: Implement FindToolStrip functionality.
  6329. * ToolStrip.cs: Register and unregister with ToolStripManager.
  6330. 2007-01-07 Jonathan Pobst <[email protected]>
  6331. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  6332. to ArrangedElementCollection. Implemented this with as few #if's as
  6333. possible (which is still too many).
  6334. 2007-01-07 Jonathan Pobst <[email protected]>
  6335. * Control.cs: Implement SizeFromClientSize() [2.0].
  6336. 2007-01-07 Everaldo Canuto <[email protected]>
  6337. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  6338. use Theme.BorderSize to calculate area instead of static value 1,
  6339. by the way use new BorderStaticSize instead Border3DSize when
  6340. border_static is true. Fixes #79537.
  6341. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  6342. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  6343. it is not needed.
  6344. 2007-01-06 Everaldo Canuto <[email protected]>
  6345. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  6346. 2007-01-06 Everaldo Canuto <[email protected]>
  6347. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  6348. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  6349. * Hwnd.cs:
  6350. - border_static field added, it will used to define when a control
  6351. theres 3D border but it must be static (thin).
  6352. - In GetWindowRectangle use Theme.BorderSize to calculate area
  6353. instead of static value 1, by the way use new BorderStaticSize instead
  6354. Border3DSize when border_static is true.
  6355. * XplatUIX11.cs, XplatUIOSX.cs:
  6356. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  6357. * Theme.cs: BorderStaticSize field added.
  6358. 2007-01-05 Everaldo Canuto <[email protected]>
  6359. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  6360. 2007-01-05 Everaldo Canuto <[email protected]>
  6361. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  6362. mimic same behavior than win32 that set border only in CreateParams,
  6363. it fix problems under CreateParams overrides. Fix #79442 and partial
  6364. fix #79537.
  6365. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  6366. of thi control you must call recreate handle.
  6367. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  6368. need to do anything as RecreateHangle will take care about borders.
  6369. 2007-01-05 Mike Kestner <[email protected]>
  6370. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  6371. cycles between the ItemControl and parent. Fixes #80388.
  6372. 2007-01-05 Gert Driesen <[email protected]>
  6373. * Control.cs: Lazy init layout engine. Do not directly use
  6374. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  6375. 2007-01-05 Chris Toshok <[email protected]>
  6376. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  6377. unless our list manager has changed (i.e. unless we have reason to
  6378. believe our columns have changed). Fixes #80422.
  6379. also, disable the call do BindColumns in
  6380. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  6381. 1.1 the event isn't raised in response to a column addition on a
  6382. table.)
  6383. 2007-01-05 Jonathan Pobst <[email protected]>
  6384. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  6385. that inheritors can not call it if they choose. Fixes bug #80456.
  6386. 2007-01-05 Andreia Gaita <[email protected]>
  6387. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  6388. doesn't blow up with a null exception on marshalling.
  6389. 2007-01-05 Jonathan Pobst <[email protected]>
  6390. * Control.cs: Implement several 2.0 protected properties and methods.
  6391. Ensure that all necessary events are being called when properties
  6392. are set.
  6393. 2007-01-05 Mike Kestner <[email protected]>
  6394. * ListView.cs: implement PgUp/PgDn for Details view. Also
  6395. fixes First/LastVisibleIndex to use the item_control.ClientRect
  6396. instead of the parent control. Fixes #80378.
  6397. 2006-01-05 Atsushi Enomoto <[email protected]>
  6398. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  6399. determine whether to use yard-pound or not (bug #78399).
  6400. 2006-01-04 Alexander Olk <[email protected]>
  6401. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  6402. problems. So it is time to bring back the old popupbutton colors.
  6403. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  6404. * ColumnHeader.cs:
  6405. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  6406. property by using the internal information of the
  6407. columns order in ListView.
  6408. 2007-01-04 Jonathan Pobst <[email protected]>
  6409. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  6410. Add 2.0 Tag properties.
  6411. * LinkArea.cs: Add 2.0 ToString method.
  6412. 2007-01-03 Chris Toshok <[email protected]>
  6413. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  6414. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  6415. when we're editing, which fixes #80047.
  6416. 2007-01-03 Chris Toshok <[email protected]>
  6417. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  6418. #80404.
  6419. 2007-01-03 Jonathan Pobst <[email protected]>
  6420. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  6421. property and implementation.
  6422. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  6423. for MdiWindowListItem property.
  6424. * ToolStripDropDown.cs: Don't consider hidden menu items while
  6425. laying out the menu.
  6426. 2007-01-03 Andreia Gaita <[email protected]>
  6427. * SendKeys.cs: window handle is not needed in win32, so just
  6428. get the active window for X after parsing keys and don't use
  6429. it when building the message; it is passed by parameter to the
  6430. Xplat method and used there to build the message instead. Also,
  6431. wait for events to be processed on SendWait, as opposed to Send,
  6432. which doesn't wait :) Playing with threads and Send() completely
  6433. hangs on ms.net, only SendWait() works.
  6434. XplatUIX11.cs
  6435. X11Display.cs: Check for valid window handle.
  6436. 2007-01-03 Jackson Harper <[email protected]>
  6437. * TextControl.cs: Need to prevent wrap calculations when replacing
  6438. text (this was there before i removed it accidently).
  6439. - Don't update the cursor during the positioning, just set it to
  6440. selection_start at the end of the operaion.
  6441. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  6442. * Control.cs:
  6443. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  6444. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  6445. * MonthCalendar.cs: Added Click and DoubleClick events again,
  6446. but this time they only hide Control's Click and DoubleClick.
  6447. 2007-01-03 Gert Driesen <[email protected]>
  6448. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  6449. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  6450. 2007-01-02 Jackson Harper <[email protected]>
  6451. * TextBoxBase.cs: We move the caret with the split now, so we
  6452. don't need to explicitly move the caret after splitting. This
  6453. fixes the caret bumping down an extra line on Enter.
  6454. 2007-01-02 Miguel de Icaza <[email protected]>
  6455. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  6456. 2.72).
  6457. * ScrollableControl.cs: Add Scroll event.
  6458. 2007-01-02 Mike Kestner <[email protected]>
  6459. * ListView.cs: one more try with help from [email protected]
  6460. to fix all hdr height padding codepaths. Fixes #80207.
  6461. 2007-01-02 Chris Toshok <[email protected]>
  6462. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  6463. setting it to the Control defaults anyway, and it being after the
  6464. Dock set was screwing up layout.
  6465. (set_Dock): don't short circuit out of setting base.Dock. Also,
  6466. no need to call UpdateStatusBar here, as it'll be re-layed out if
  6467. it needs to be.
  6468. 2007-01-02 Mike Kestner <[email protected]>
  6469. * ListView.cs: patch from [email protected] to add padding
  6470. to header height for width == -1. Fixes the rest of #80207.
  6471. 2007-01-02 Mike Kestner <[email protected]>
  6472. * ListView.cs: rework the mouse event forwarding everaldo added
  6473. to translate the coordinates to the parent control not
  6474. raise the parent events until after we've done our work. Hover
  6475. needs more work, in the case where HoverSelection is on, because
  6476. the item control receives more than one MouseHover per Enter
  6477. event, so we need to ensure only the "first" hover gets forwarded.
  6478. Opening a minor bug for that.
  6479. 2007-01-02 Gert Driesen <[email protected]>
  6480. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  6481. * ListControl.cs: Implemented AllowSelection property. Removed extra
  6482. tabs.
  6483. * ListBox.cs: Implemented AllowSelection property.
  6484. 2007-01-02 Everaldo Canuto <[email protected]>
  6485. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  6486. SelectedItem, it prevent for errors when you must disable item
  6487. before perform click. Fixes #80409.
  6488. 2007-01-02 Everaldo Canuto <[email protected]>
  6489. * MenuAPI.cs: Prevent second level and beyond submenus to close
  6490. until first level when move out side of popup.
  6491. 2007-01-02 Everaldo Canuto <[email protected]>
  6492. * MenuAPI.cs:
  6493. - Down submenu positin in three pixels.
  6494. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  6495. 2007-01-02 Everaldo Canuto <[email protected]>
  6496. * ThemeWin32Classic.cs:
  6497. - Fix popup menu size adding one pixel on the top.
  6498. - Down menu item border from two to one to mimic Win32.
  6499. - Some source identation fixes.
  6500. 2007-01-01 Everaldo Canuto <[email protected]>
  6501. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  6502. position of menu arrows, it fix wrong arrow size.
  6503. 2007-01-01 Everaldo Canuto <[email protected]>
  6504. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  6505. instead of line, it simplify draw operation and fix it using 3D
  6506. borders to mimic Win32.
  6507. 2007-01-01 Jonathan Pobst <[email protected]>
  6508. * StatusStrip.cs: Add implementation of the sizing grip.
  6509. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  6510. StatusStrip rendering.
  6511. 2006-12-31 Chris Toshok <[email protected]>
  6512. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  6513. override the layout style (anchor/dock) of the control. assign to
  6514. Dock instead. Fixes bug #80416.
  6515. * ToolStrip.cs: same.
  6516. 2006-12-31 Andreia Gaita <[email protected]>
  6517. * ContainerControl.cs: Use ContainerSelected flag to check if
  6518. a Container is directly selected, or if Select is called on a
  6519. non-container. If a container is directly selected, focus events
  6520. should not be raised.
  6521. Apply #80411 patch to throw exception on set_ActiveControl if
  6522. control is the same as the current one.
  6523. * Control.cs: Use ContainerSelected flag (see above).
  6524. Add invalidation check to raise event but not invalidate if
  6525. dimensions are 0.
  6526. Apply #80411 patch.
  6527. 2006-12-31 Everaldo Canuto <[email protected]>
  6528. * MenuAPI.cs: After click, dont close popup menu when menu is
  6529. ContextMenu. Fixes #80399.
  6530. 2006-12-30 Chris Toshok <[email protected]>
  6531. * ContainerControl.cs: make sure we throw the exception if the
  6532. container control doesn't contain the control we're setting
  6533. ActiveControl to.
  6534. 2006-12-30 Chris Toshok <[email protected]>
  6535. * Control.cs (SetTopLevel): fix the exception raised by
  6536. SetTopLevel for child controls.
  6537. (set_Anchor): call UpdateDistances when setting the anchor type.
  6538. This fixes bug #80336.
  6539. 2006-12-29 Gert Driesen <[email protected]>
  6540. * Theme.cs: For now, revert back to 8pt font.
  6541. 2006-12-29 Everaldo Canuto <[email protected]>
  6542. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  6543. Fixes #80395.
  6544. 2006-12-29 Chris Toshok <[email protected]>
  6545. * Control.cs: reorder the code in OnResize to give the same event
  6546. ordering as MS.
  6547. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  6548. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  6549. TileHorizontally and TileVertically.
  6550. 2006-12-29 Alexander Olk <[email protected]>
  6551. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  6552. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  6553. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  6554. Corrected copyright and email adress.
  6555. 2006-12-29 Gert Driesen <[email protected]>
  6556. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  6557. of Exception in FullPath property if no TreeView is associated with
  6558. the TreeNode.
  6559. 2006-12-29 Gert Driesen <[email protected]>
  6560. * Theme.cs: Marked default_font as private, and initialize it in ctor
  6561. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  6562. on 2.0 profile.
  6563. * ThemeGtk.cs: Removed default_font intialization.
  6564. * ThemeWin32Classic.cs: Removed default_font initialization.
  6565. 2006-12-28 Chris Toshok <[email protected]>
  6566. * Control.cs: fix a couple of place where we were creating handles
  6567. more aggressively than we should be. Fixes ControlRefresh unit
  6568. tests.
  6569. 2006-12-28 Chris Toshok <[email protected]>
  6570. * Control.cs: contrary to what the comment said, Control.Dock does
  6571. not supercede Control.Anchor - the last one you assign to decides
  6572. the layout behavior. so we need to keep track of which was the
  6573. last set. Also, fix some of the affected property arguments in
  6574. PerformLayout calls, and remove an redundant parent.PerformLayout
  6575. call in OnResized.
  6576. Add a VisibleInternal property, which returns is_visible. We
  6577. can/should get rid of all the usage of this field elsewhere.
  6578. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  6579. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  6580. control style, not DoubleBuffer. Added UseDoubleBuffering property
  6581. that indicates whether doublebuffering is enabled and supported.
  6582. (comment from and code based on Gert Driesen's patch in #80324).
  6583. Fixes #80324.
  6584. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  6585. * Control.cs: Fixed a NRE.
  6586. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  6587. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  6588. for 2.0.
  6589. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  6590. * Control.cs: Rewrote double buffering, now a seperate
  6591. class handles all the buffering, no Graphics is disposed of
  6592. until the painting is finished (earlier implementation
  6593. would crash if the control was resized in the OnPaint,
  6594. since it would cause the double buffer to be recreated
  6595. and the old one disposed), a separate Graphics is
  6596. created for every paint (MS behaviour and anyways the state
  6597. of the Graphics would have to be saved and restored otherwise)
  6598. * XplatUIDriver.cs:
  6599. * XplatUIX11.cs:
  6600. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  6601. so that we can get the graphics for the back buffer without
  6602. having to create a new one and remove the offscreen_dc parameter
  6603. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  6604. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  6605. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  6606. Also make virtual all the key-related methods.
  6607. * ListViewItem.cs: Make virtual the key related methods for
  6608. ListViewSubItemCollection.
  6609. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  6610. * ListView.cs:
  6611. * ListViewItem.cs:
  6612. * ThemeWin32Classic.cs:
  6613. * Theme.cs: Initial support for Tile view in ListView,
  6614. as well as the implementation of the required bits for it (Item
  6615. and Subitem).
  6616. 2006-12-27 Gert Driesen <[email protected]>
  6617. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  6618. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  6619. Provide useful exception messages.
  6620. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  6621. * TrackBar.cs: Remove a warning.
  6622. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  6623. when used by DateTimePicker, fixes #80287. This also requires that
  6624. MonthCalendar implements it's own drawing for the yearly updown control,
  6625. otherwise the Capture tracking would be too complicated. Removed the Click
  6626. and DoubleClick events (according to comments they were hiding the base class
  6627. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  6628. raise these events, not that they cannot be raised. It is possible to raise
  6629. them by calling OnClick and OnDoubleClick). Added two internal fields in
  6630. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  6631. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  6632. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  6633. event, no longer needed.
  6634. 2006-12-27 Gert Driesen <[email protected]>
  6635. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  6636. true if new value differs from current value.
  6637. 2006-12-27 Gert Driesen <[email protected]>
  6638. * Control.cs: ControlCollection.Count must be public. Fixed build of
  6639. unit tests.
  6640. 2006-12-27 Gert Driesen <[email protected]>
  6641. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  6642. 2006-12-27 Gert Driesen <[email protected]>
  6643. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  6644. 2006-12-26 Everaldo Canuto <[email protected]>
  6645. * Control.cs: Invalidates control including when Width and Height is
  6646. equal zero or is not visible, only Paint event must be care about
  6647. this. Fixes #79913.
  6648. 2006-12-26 Chris Toshok <[email protected]>
  6649. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  6650. more corcompare work.
  6651. * DataGridView.cs: fix compiler warning.
  6652. * ColumnHeader.cs: some corcompare work, and also take the
  6653. opportunity to make the internal fields private.
  6654. * ListView.cs: fix the fallout from the above field change.
  6655. 2006-12-26 Jonathan Pobst <[email protected]>
  6656. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  6657. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  6658. ToolStripTextBox.cs: Fixes to events and corcompare.
  6659. 2006-12-26 Everaldo Canuto <[email protected]>
  6660. * ListView.cs: Call owner.OnMousexx event to propagate events from
  6661. item to ListView. Fixes #80367.
  6662. 2006-12-26 Gert Driesen <[email protected]>
  6663. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  6664. if value is less than one. ItemHeight should not be set to a value
  6665. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  6666. Removed extra tabs.
  6667. 2006-12-26 Jonathan Pobst <[email protected]>
  6668. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  6669. * ToolStripStatusLabel.cs: Add Spring for Moma.
  6670. 2006-12-26 Gert Driesen <[email protected]>
  6671. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  6672. Fixed code formatting. Removed debug code.
  6673. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  6674. 2006-12-26 Gert Driesen <[email protected]>
  6675. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  6676. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  6677. ArgumentOutOfRangeException if ColumnCount is negative. In
  6678. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  6679. less than 4 or higher than 32768.
  6680. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  6681. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  6682. Fixed IsFormatProviderDefault to return true if FormatProvider has
  6683. not been explicitly set.
  6684. 2006-12-25 Chris Toshok <[email protected]>
  6685. * Application.cs: add a couple of 2.0 events.
  6686. 2006-12-25 Chris Toshok <[email protected]>
  6687. * Control.cs: fix compiler warning.
  6688. * AxHost.cs: corcompare fixes.
  6689. * ApplicationContext.cs: corcompare fixes.
  6690. 2006-12-25 Chris Toshok <[email protected]>
  6691. * Control.cs: only update dist_right/dist_bottom if the
  6692. width/height is > 0. this fixes anchored controls being resized
  6693. smaller until they disappear and then resized larger again.
  6694. 2006-12-25 Chris Toshok <[email protected]>
  6695. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  6696. since they're nothing more than X/Left and Y/Top, respectively.
  6697. Also, move back to a per-control Bitmap/Graphics for
  6698. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  6699. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  6700. Height.
  6701. 2006-12-25 Miguel de Icaza <[email protected]>
  6702. * MessageBox.cs: Implemented overload that takes a new "bool
  6703. displayHelpButton" by adding a new internal field "show_help".
  6704. When clicked this will raise the HelpRequested on the owner or the
  6705. main form.
  6706. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  6707. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  6708. * ListView.cs: Add support ColumnWidthChanged and
  6709. ColumnWidthChanging.
  6710. Add support for ColumnReordered event.
  6711. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  6712. reorder.
  6713. Very nice codebase!
  6714. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  6715. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  6716. 2006-12-24 Chris Toshok <[email protected]>
  6717. * GridTablesFactory.cs: 2.0 corcompare work.
  6718. * ToolStripContainer.cs: add "override" to
  6719. ContextMenuStripChanged, and remove the local event object.
  6720. * ToolStripDropDown.cs: same with a couple properties.
  6721. * ToolStripPanel.cs: same with AutoSizeChanged event.
  6722. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  6723. * Form.cs: add the remaining 2.0 events, and do some corcompare
  6724. attribute work.
  6725. * DateTimePicker.cs: add "new" to padding.
  6726. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  6727. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  6728. * DataGridView.cs: PaddingChanged is overridden.
  6729. 2006-12-24 Chris Toshok <[email protected]>
  6730. * Control.cs: corecompare work here too.
  6731. * DataGridViewElement.cs, DataGridView.cs,
  6732. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  6733. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  6734. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  6735. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  6736. work.
  6737. 2006-12-24 Miguel de Icaza <[email protected]>
  6738. * Control.cs: Switched the error message on the console for a
  6739. todo. A review of the code will have to cope with this anyways
  6740. (since its a large feature, it is in our radar) and it was
  6741. producing too much output when running PDN.
  6742. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  6743. changes. Applications depend on this (PDN 2.72)
  6744. 2006-12-23 Chris Toshok <[email protected]>
  6745. * TableLayoutSettings.cs: finish up the corcompare work for this
  6746. class.
  6747. 2006-12-23 Chris Toshok <[email protected]>
  6748. * Control.cs: make SetImplicitBounds internal, do some futzing
  6749. with LayoutEngine so that it's available in 1.1, and remove the
  6750. entire duplicated code mess from PerformLayout. Use
  6751. System.Windows.Forms.Layout.DefaultLayout instead.
  6752. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  6753. 2006-12-23 Jonathan Pobst <[email protected]>
  6754. * Form.cs: Add MainMenuStrip property.
  6755. 2006-12-23 Jonathan Pobst <[email protected]>
  6756. * Control.cs: Add ContextMenuStrip property and implementation.
  6757. Fix ContextMenu implementation to show menu centered on control when
  6758. activated using the keyboard instead of showing at screen (0,0).
  6759. * ToolStripDropDown.cs: Fix needed overload of Show ().
  6760. 2006-12-23 Everaldo Canuto <[email protected]>
  6761. * Menu.cs: Name property added for 2.0 profile.
  6762. 2006-12-23 Everaldo Canuto <[email protected]>
  6763. * Menu.cs: Update information about FindMenuItem, method to be
  6764. implemented soon.
  6765. 2006-12-23 Everaldo Canuto <[email protected]>
  6766. * MenuAPI.cs: When deselect items deselect also selected subitems.
  6767. 2006-12-23 Everaldo Canuto <[email protected]>
  6768. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  6769. FindSubItemByCoord to found itens that is not active, also an
  6770. cheking added to FindSubItemByCoord to search for items only
  6771. in visible popup windows. Fixes #80274.
  6772. 2006-12-22 Everaldo Canuto <[email protected]>
  6773. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  6774. internal property, it be care about change ExStyle.
  6775. 2006-12-22 Andreia Gaita <[email protected]>
  6776. * ContainerControl.cs: set activeControl for parent forms up the
  6777. tree when the new activecontrol is a container.
  6778. When validating the active control, if it is a container, also
  6779. raise up the validation for it's active control. Fixes #80280
  6780. * Control.cs: Add internal property flag and check to prevent
  6781. Focus events from getting raised when Select() is called for
  6782. a ContainerControl. There are still too many focus events being
  6783. raised at the moment though.
  6784. Cleaned up the code a bit.
  6785. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  6786. * Control.cs: Added all missing 2.0 events.and
  6787. fixed a couple of corcompare issues.
  6788. * TrackBar.cs: Implemented missing 2.0 bits.
  6789. * MonthCalendar.cs,
  6790. * DateTimePicker.cs,
  6791. * MdiClient.cs: Fixed some corcompare issues.
  6792. 2006-12-21 Jonathan Pobst <[email protected]>
  6793. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  6794. SplitterPanel.cs: corecompare work.
  6795. 2006-12-21 Jonathan Pobst <[email protected]>
  6796. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  6797. Clean up warnings for BackgroundImageChanged and PaddingChanged
  6798. events now that they are implemented in Control.cs.
  6799. 2006-12-21 Jonathan Pobst <[email protected]>
  6800. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  6801. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  6802. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  6803. of TableLayoutPanel and supporting cast.
  6804. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  6805. * XplatUIWin32.cs:
  6806. - GrabWindow now confines the mouse pointer to the confine window.
  6807. - Added Win32ClipCursor and Win32GetClipCursor.
  6808. * Control.cs:
  6809. - Added CaptureWithConfine to be able to capture and confine
  6810. mouse pointer.
  6811. * InternalWindowManager.cs:
  6812. - Call CaptureWithConfine instead of Capture if we're an
  6813. MdiChild (fixes #79982).
  6814. 2006-12-21 Chris Toshok <[email protected]>
  6815. * DataGrid.cs: guard against the initial state of selection, where
  6816. selection_start == -1. make sure we only select from index >= 0.
  6817. Fixes bug #80291.
  6818. 2006-12-21 Chris Toshok <[email protected]>
  6819. * Control.cs: we don't need to be so draconian with
  6820. UpdateDistances, and we thusly don't need to call it before
  6821. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  6822. 2006-12-21 Daniel Nauck <[email protected]>
  6823. * ComboBox.cs,
  6824. TextBox.cs: Implemented AutoComplete properties.
  6825. 2006-12-20 Chris Toshok <[email protected]>
  6826. * DataGridView*.cs: some corecompare work.
  6827. 2006-12-20 Jackson Harper <[email protected]>
  6828. * XplatUIX11.cs: We need to hide the caret when deleting it,
  6829. otherwise you get carets left lying around everywhere.
  6830. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  6831. prevents getting some weird half drawn caret tracers when
  6832. scrolling.
  6833. * TextControl.cs: Attempt to reduce the number of times we need to
  6834. recreate the caret.
  6835. 2006-12-20 Gert Driesen <[email protected]>
  6836. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  6837. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  6838. * DateTimePicker.cs:
  6839. - Implemented missing 2.0 bits.
  6840. - Changed some default values to match MS.
  6841. 2006-12-20 Jackson Harper <[email protected]>
  6842. * TextBoxBase.cs: When changing the font across the document we
  6843. can't recalculate after changing each line, since that will cahnge
  6844. the line count.
  6845. - PreferredHeight is a little different than i thought.
  6846. - When backspacing, move the caret before we do the actual char
  6847. delete, because when that delete crosses a wrap boundary the
  6848. positional information will change.
  6849. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  6850. * Control.cs: Added some missing 2.0 bits:
  6851. BackgroundImageLayout, BackgroundImageLayoutChanged,
  6852. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  6853. add IBindableComponent and IDropTarget implementation.
  6854. * MonthCalendar.cs:
  6855. - Added all missing 2.0 features:
  6856. BackgroundImageLayout, RightToLeftLayout,
  6857. OnHandleDestroyed, RightToLeftLayoutChanged,
  6858. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  6859. PaddingChanged.
  6860. - Rewrote all the BoldDate code, it was completely broken.
  6861. - Fixed all the tests (the tests can now be re-enabled, the
  6862. problems were not with the tests, but with the control, it was
  6863. mostly broken).
  6864. * DateTimePicker.cs: Changed the location where the
  6865. MonthCalendar is shown.
  6866. 2006-12-19 Chris Toshok <[email protected]>
  6867. * DataGridView.cs: add IDropTarget implementation.
  6868. * ToolStripPanel.cs: add IDropTarget implementation.
  6869. 2006-12-19 Jackson Harper <[email protected]>
  6870. * TextControl.cs: soft now means something different than what it
  6871. used to mean, we want to move the caret regardless of whether or
  6872. not this break was soft (would we really have wanted the caret
  6873. to not move with the break in the old context?)
  6874. * TreeView.cs: Make sure we factor in the vert scrollbar when
  6875. calculating the horizontal scrollbar's maximum.
  6876. 2006-12-19 Andreia Gaita <[email protected]>
  6877. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  6878. check for keywords in alternate casing, close bug #80049.
  6879. 2006-12-19 Chris Toshok <[email protected]>
  6880. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  6881. methods (which all do nothing).
  6882. * IDropTarget.cs: add the 4 missing methods.
  6883. 2006-12-19 Chris Toshok <[email protected]>
  6884. * TableLayoutRowStyleCollection.cs: corcompare work.
  6885. * TableLayoutSettings.cs: same.
  6886. * TableLayoutStyle.cs: same.
  6887. * TableLayoutColumnStyleCollection.cs: same.
  6888. 2006-12-19 Jonathan Pobst <[email protected]>
  6889. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  6890. TableLayoutPanel I've had in my local tree for way too long.
  6891. 2006-12-19 Miguel de Icaza <[email protected]>
  6892. * TableLayoutSettings.cs: Finish the public API (still needs all
  6893. the logic to update on changes).
  6894. * TableLayoutPanelCellPosition.cs: new file.
  6895. * TableLayoutRowStyleCollection.cs,
  6896. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  6897. TableLayoutSettings.cs: Track the final 2.0 table api.
  6898. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  6899. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  6900. and Image List 2.0 members for ColummnHeader.
  6901. * ListView.cs: Add key-related 2.0 methods for
  6902. ColumnHeaderCollection.
  6903. 2006-12-19 Gert Driesen <[email protected]>
  6904. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  6905. ArgumentNullException if items argument is null. Ignore null item in
  6906. arrays. Removed extra tabs.
  6907. 2006-12-19 Gert Driesen <[email protected]>
  6908. * MonthCalendar.cs: Fixed InvalidCastException.
  6909. 2006-12-19 Jackson Harper <[email protected]>
  6910. * TextControl.cs: Don't increment the position here.
  6911. - When calculating char positions only add in the line break size
  6912. for hard line breaks.
  6913. 2006-12-19 Andreia Gaita <[email protected]>
  6914. * SendKeys.cs: Changed some things to match ms.net behaviour
  6915. when parsing shifted capital letters.
  6916. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  6917. Add window handle as parameter to SendInput. X11 needs the
  6918. window handle, and the handle being passed to it in the keys
  6919. queue is the active control handle (which windows needs), not
  6920. the window handle.
  6921. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  6922. to support SendKeys on X.
  6923. * X11Keyboard: Implement helper method to lookup a linux keycode
  6924. given the virtual keycode. Added table of keycode-2-virtualkey
  6925. values to support this.
  6926. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  6927. * ListView.cs: Add support for SelectedIndexCollection
  6928. and SelectedItemCollection 2.0 methods. Implement support
  6929. for ImageKey too.
  6930. * ListViewItem.cs: Add support for ListViewSubItemCollection
  6931. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  6932. (it shouldn't call Clear).
  6933. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  6934. 2006-12-19 Jackson Harper <[email protected]>
  6935. * RichTextBox.cs:
  6936. * TextBoxBase.cs: New args for FormatText
  6937. * TextControl.cs: Rewrote the main drawing method, this version
  6938. feels a little easier to understand and debug to me. Hopefully it
  6939. does to others also
  6940. - Fix FormatText to OR in the new formating values. Added
  6941. FormatSpecified param, basically this works in the same way as
  6942. BoundsSpecified in Control.
  6943. - Set the caret properties when the caret is positioned.
  6944. - When wrapping text make sure that we calculate the width of the
  6945. last character
  6946. - when calculating alignments we might have wrapped down to the
  6947. next line, so don't search for an individual tag, search for the
  6948. end of the line
  6949. - We need to invalidate the selection area when we replace the
  6950. selection.
  6951. 2006-12-19 Daniel Nauck <[email protected]>
  6952. * Application.cs: add Restart () 2.0 support
  6953. 2006-12-18 Everaldo Canuto <[email protected]>
  6954. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  6955. property. Fixes #80268.
  6956. 2006-12-18 Everaldo Canuto <[email protected]>
  6957. * MenuAPI.cs: Dont trigger select event when closes top menu
  6958. item. Fixes #80270.
  6959. 2006-12-18 Everaldo Canuto <[email protected]>
  6960. * MenuAPI.cs: When you click on menuitem only trigger onselect
  6961. event for top menu itens. Fixes #80271.
  6962. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  6963. * MdiWindowManager.cs: Make IconicBounds depend on
  6964. the bottom of MdiClient, not the top (fixes #80267)
  6965. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  6966. * MdiClient.cs: Added missing 2.0 attribute
  6967. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  6968. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  6969. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  6970. 2006-12-18 Everaldo Canuto <[email protected]>
  6971. * MenuAPI.cs: Fix click when menuitem is not popup,
  6972. this regression was caused by last commit (#80272).
  6973. 2006-12-17 Everaldo Canuto <[email protected]>
  6974. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  6975. fire click event or close menu. Fixes #80272.
  6976. 2006-12-17 Daniel Nauck <[email protected]>
  6977. * ListViewHitTestInfo.cs: add
  6978. 2006-12-17 Daniel Nauck <[email protected]>
  6979. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  6980. * FlatButtonAppearance.cs: add
  6981. * DockingAttribute.cs: add
  6982. 2006-12-17 Chris Toshok <[email protected]>
  6983. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  6984. and rebind our columns when it does - this way, if you make
  6985. changes to the DataTable (or set the Table attribute on a DataView
  6986. after setting it as the DataGrid's DataSource, the changes are
  6987. made visible.) Fixes bug #80107.
  6988. 2006-12-17 Daniel Nauck <[email protected]>
  6989. * ListViewGroup.cs: add internal Location property for layouting.
  6990. * Theme.cs: add abstract ListViewGroupHeight function.
  6991. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  6992. 2006-12-16 Andreia Gaita <[email protected]>
  6993. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  6994. Added reset of selected index to 0 when adding first tab page.
  6995. Fixes #80264
  6996. * NumericUpDown.cs: Fix NET_2_0 check
  6997. 2006-12-16 Daniel Nauck <[email protected]>
  6998. * ListViewGroup.cs: fixed DefaultValueAttribute value
  6999. 2006-12-16 Daniel Nauck <[email protected]>
  7000. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  7001. 2006-12-15 Miguel de Icaza <[email protected]>
  7002. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  7003. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  7004. ScrollableControl.cs: Add a handful of methods that are
  7005. overwritten in 2.0
  7006. 2006-12-15 Chris Toshok <[email protected]>
  7007. * XplatUIWin32.cs: initial implementation of the Reversible
  7008. drawing functions. there are some problems. DrawReversibleFrame
  7009. doesn't seem to work at all for Dashed FrameStyle, and in the
  7010. Thick case there are drawing errors at the corners (we probably
  7011. need to bind Rectangle instead of doing moveto/lineto's.)
  7012. 2006-12-16 Andreia Gaita <[email protected]>
  7013. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  7014. to send blocks of key messages. Send accumulates keys to send with Flush,
  7015. while SendWait sends all keys immediately.
  7016. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7017. XplatUIX11.cs, XplatUIX11-new.cs:
  7018. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  7019. to Win32 SendInput.
  7020. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  7021. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  7022. testing for ms.net on this class is very tricky, as the tests run too fast
  7023. to allow the hook to release, essentially freezing the keyboard and the
  7024. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  7025. category :p
  7026. 2006-12-16 Daniel Nauck <[email protected]>
  7027. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  7028. added missing attributes.
  7029. 2006-12-15 Daniel Nauck <[email protected]>
  7030. * ListViewGroup.cs: Added missing attributes.
  7031. * ListViewGroupCollection.cs: Added missing attributes.
  7032. 2006-12-15 Daniel Nauck <[email protected]>
  7033. * ListViewItem.cs: fixed ListViewSubItem text property.
  7034. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  7035. * Control.cs: Added missing 2.0 attributes
  7036. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  7037. * MdiClient.cs: Added missing 2.0 attribute.
  7038. * MonthCalendar.cs: Added some missing 2.0 attributes
  7039. and properties.
  7040. 2006-12-15 Daniel Nauck <[email protected]>
  7041. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  7042. 2006-12-15 Jonathan Pobst <[email protected]>
  7043. * MainMenu.cs: Add the new 2.0 constructor to help out people
  7044. using the MainMenu in VS2005.
  7045. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  7046. * MdiChildContext.cs: Removed it, no longer used.
  7047. * MdiClient.cs: Added missing 2.0 attributes.
  7048. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  7049. * InternalWindowManager.cs: Fix a NullRef with previous
  7050. changes for toolwindows.
  7051. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  7052. * Control.cs:
  7053. - Added AfterTopMostControl to allow for certain controls
  7054. to always stay on top when normal controls are brought to
  7055. front.
  7056. * XplatUIWin32.cs:
  7057. - (DrawInversibleRectangle): Get window rectangle from Win32
  7058. in stead of from control, since Win32 doesn't calculate
  7059. screen coords correctly from control's Location if it
  7060. have docked siblings.
  7061. * MdiWindowManager.cs:
  7062. - Correct the control menu popup location when clicked on
  7063. the maximized form icon. (fixes #80223.1)
  7064. - Don't show moving rectangle if mouse hasn't moved from
  7065. the original clicked point.
  7066. - Removed FormGotFocus handler (not used).
  7067. - Calculate the control buttons location from the main
  7068. window's size and not client size (fixes #79770).
  7069. - Form is now closed when the form icon is double-clicked
  7070. (fixes #79775).
  7071. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  7072. * InternalWindowManager.cs:
  7073. - Moved some MDI-only methods to MdiWindowManager.
  7074. - Removed unused properties and methods.
  7075. - Unified method naming for methods handling wm messages.
  7076. - Moved all message handling to seperate methods for
  7077. each message.
  7078. * ThemeWin32Classic.cs:
  7079. - DrawManagedWindowDecorations now draws the title bar
  7080. with a gradient brush.
  7081. - Add a CPDrawButtonInternal that allows us to specify
  7082. light, normal and dark colors for the buttons (control
  7083. buttons for MDI children were drawn with the same light
  7084. color as the background, therefore loosing the 3D effect).
  7085. * SizeGrip.cs:
  7086. - Add a CapturedControl property that is used to
  7087. determine the control to resize (defaults to parent).
  7088. Needed for MdiClient, since its SizeGrip's parent is
  7089. MdiClient, but the control to resize is the main form.
  7090. * MdiClient.cs:
  7091. - Set SizeGrip's CapturedControl to the main form in order
  7092. to resize the main form and not the MdiClient.
  7093. - Override AfterTopMostControl to leave the scrollbars
  7094. always on top.
  7095. 2006-12-15 Daniel Nauck <[email protected]>
  7096. * ListView.cs: fixed ListViewItemCollection AddRange and
  7097. implemented ListViewItemCollection AddRange 2.0 support.
  7098. 2006-12-15 Daniel Nauck <[email protected]>
  7099. * ListViewGroup.cs: Add.
  7100. * ListViewGroupCollection.cs: Add
  7101. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  7102. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  7103. stub for ImageKey 2.0 support.
  7104. 2006-12-14 Mike Kestner <[email protected]>
  7105. * ListView.cs: add text padding to the autocalculation for columns
  7106. of width -2. Fixes #80207.
  7107. 2006-12-14 Mike Kestner <[email protected]>
  7108. * ListView.cs: add some index guarding for partial row navigation
  7109. logic. Fixes #80250.
  7110. 2006-12-14 Mike Kestner <[email protected]>
  7111. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  7112. are added or inserted to the collection. Fixes #81099.
  7113. 2006-12-13 Everaldo Canuto <[email protected]>
  7114. * MenuAPI.cs: Closes menu when right click out side of popup
  7115. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  7116. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  7117. * ListViewItem.cs: Fix dumb error.
  7118. * ListView.cs: Add Find and ContainsKey methods in
  7119. ListViewItemCollection, and also return true for IsReadOnly
  7120. and IsFixedSize (changes for 2.0).
  7121. 2006-12-13 Gert Driesen <[email protected]>
  7122. * Control.cs: Allow Region to be set to null.
  7123. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  7124. * MdiWindowManager.cs: Remove unused (commented out) code.
  7125. * Form.cs: When the MdiChild is maximized, the form needs
  7126. WM_NCMOUSELEAVE, so request it.
  7127. * InternalWindowManager.cs:
  7128. - Added tooltips to control buttons.
  7129. - Removed duplicated control button handling code.
  7130. - Removed unused (commented out) code.
  7131. 2006-12-12 Everaldo Canuto <[email protected]>
  7132. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  7133. was used because we must set cursor without trigger ChangeCursor event
  7134. and without change Cursor control property. Fixes #79963.
  7135. 2006-12-12 Andreia Gaita <[email protected]>
  7136. * Control.cs: Check if Region setter value is null, and ignore
  7137. 2006-12-12 Jackson Harper <[email protected]>
  7138. * TextControl.cs: We were almost always drawing one more line then
  7139. needed, since the GetLineByPixel will return the last line found
  7140. at that pixel. In most cases though, we were invalidating up to
  7141. the junction between two lines.
  7142. - Improve debug code.
  7143. 2006-12-12 Chris Toshok <[email protected]>
  7144. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  7145. and FillReversibleRectangle.
  7146. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  7147. and FillReversibleRectangle.
  7148. * XplatUIWin32.cs: add stubs which do nothing for
  7149. DrawReversibleFrame, DrawReversibleLine, and
  7150. FillReversibleRectangle.
  7151. * XplatUIOSX.cs: add stubs which raise NIE for
  7152. DrawReversibleFrame, DrawReversibleLine, and
  7153. FillReversibleRectangle.
  7154. * XplatUIX11.cs: add working implementation for
  7155. DrawReversibleFrame, DrawReversibleLine, and
  7156. FillReversibleRectangle.
  7157. * ControlPaint.cs: implement DrawReversibleFrame,
  7158. DrawReversibleLine, and FillReversibleRectangle, by calling into
  7159. the appropriate XplatUI method.
  7160. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  7161. * Form.cs: Make MdiClient have the focus even if it's
  7162. not selectable, since it should receive WM_KEY* and WM_MOUSE
  7163. messages. Fixes #79907.
  7164. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  7165. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  7166. queried after the window is created.
  7167. * XplatUIX11.cs: Added SendParentNotify to implement
  7168. WM_PARENTNOTIFY logic. Fixes #79965.
  7169. * Control.cs: Added MakeParam.
  7170. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  7171. * MdiClient.cs: Resume Layout before setting window
  7172. states (fixes #80201).
  7173. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  7174. * MenuAPI.cs: Deselect a menu item after performing
  7175. the click (fixes #80197).
  7176. 2006-12-11 Jackson Harper <[email protected]>
  7177. * TextBoxBase.cs: We need to cap this value, since Maximum -
  7178. ViewPortHeight can be less than zero.
  7179. - Only do selection with the left mouse button.
  7180. * TextBox.cs: Don't tell the world that we have a context menu.
  7181. * Control.cs: New method so that we can control whether or not the
  7182. context menu is visible outside MWF.
  7183. 2006-12-11 Everaldo Canuto <[email protected]>
  7184. * ToolBarButton.cs: Fix text positon.
  7185. 2006-12-11 Miguel de Icaza <[email protected]>
  7186. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  7187. * Control.cs (DoubleBuffered): Add implementation.
  7188. * Application.cs (OpenForms): Add.
  7189. 2006-12-11 Jonathan Pobst <[email protected]>
  7190. * Form.cs: Use opacity instead of Opactiy to determine if we need
  7191. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  7192. 2006-12-11 Jonathan Pobst <[email protected]>
  7193. * Control.cs: Fix NRE if Control.Site was set to null.
  7194. 2006-12-11 Chris Toshok <[email protected]>
  7195. * Control.cs: ControlCollection.Remove should return if the arg is
  7196. null, and ControlCollection.SetChildIndex should raise a ANE.
  7197. 2006-12-11 Gert Driesen <[email protected]>
  7198. * Control.cs: Verify value set for Dock property. Code formatting
  7199. updates.
  7200. 2006-12-11 Jackson Harper <[email protected]>
  7201. * TextControl.cs: Draw the caret and the selection when a flag is
  7202. set on the owner.
  7203. * TextBoxBase.cs: We want to draw the caret and the selection for
  7204. TextBox but not for TextBoxBase.
  7205. - If the window is resized and scrolling is no longer needed (the
  7206. whole doc is visible) set the scroll position to zero.
  7207. - The default SelectWord (the one TextBox uses) should move the
  7208. caret to the end of the word.
  7209. - SelectAll moves the caret to the end of the selection.
  7210. * TextBox.cs: We don't selectall on focus, we just do it when the
  7211. control is created.
  7212. 2006-12-11 Mike Kestner <[email protected]>
  7213. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  7214. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  7215. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  7216. 2.0 support.
  7217. * ListViewItem.cs: Add Name 2.0 property.
  7218. 2006-12-11 Andreia Gaita <[email protected]>
  7219. * TabControl.cs: Set visibility on selected or default tab
  7220. when tabcontrol handle is created, so that it's contents
  7221. actually show up (duh). Fixes #80193
  7222. Don't redraw the control if there is no handle created, as
  7223. the selected index might be completely invalid. Added some tests
  7224. to check for this.
  7225. 2006-12-11 Everaldo Canuto <[email protected]>
  7226. * ToolBar.cs: Uses maximun width and height of all buttons as
  7227. button rectangle when ButtonSize specified, it looks strange but
  7228. is what happens in Win32. Fixes #80189.
  7229. 2006-12-11 Jackson Harper <[email protected]>
  7230. * TextControl.cs: Need to track undo levels ourself, since
  7231. compound actions will mess them up.
  7232. 2006-12-10 Andreia Gaita <[email protected]>
  7233. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  7234. SelectedIndex value is changed (even if it's not valid).
  7235. Reset SelectedIndex to 0 when the handle is created and if
  7236. the current index is invalid.
  7237. Fixes SelectdeIndex unit tests and #80128
  7238. 2006-12-08 Chris Toshok <[email protected]>
  7239. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  7240. calls EndEdit, it needs to be called before we set current_cell to
  7241. its new value. Otherwise, we end up committing the value in the
  7242. textbox to the new cell as well. Fixes bug #80160.
  7243. 2006-12-08 Chris Toshok <[email protected]>
  7244. * Form.cs (set_CancelButton): if the button's DialogResult is
  7245. None, set it to Cancel. Fixes bug 80180.
  7246. 2006-12-08 Jackson Harper <[email protected]>
  7247. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  7248. to watch ourselves when setting the canvas size and setting the
  7249. scrollbar values.
  7250. 2006-12-08 Chris Toshok <[email protected]>
  7251. * DataGrid.cs: comment out the two MakeTransparent calls for the
  7252. time being so people using trunk (and not 1.2.2) on windows can
  7253. actually use the datagrid. This deals with bug #80151.
  7254. 2006-12-08 Jonathan Pobst <[email protected]>
  7255. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  7256. Graphics.DrawImage (image, int, int, int, int) overload instead
  7257. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  7258. the dpi difference and was blurring images it drew.
  7259. [Fixes bug #79960]
  7260. 2006-12-08 Chris Toshok <[email protected]>
  7261. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  7262. rowcnt is 0 (such as with an empty datasource), and make sure we
  7263. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  7264. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  7265. 2006-12-08 Chris Toshok <[email protected]>
  7266. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  7267. grid.
  7268. 2006-12-08 Chris Toshok <[email protected]>
  7269. [ Fixes bug #80167 ]
  7270. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  7271. style is FlatStyle.System.
  7272. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  7273. ButtonBase.flat_style private, and switch uses of it to the public
  7274. property.
  7275. 2006-12-08 Chris Toshok <[email protected]>
  7276. [ Fixes bug #80121 ]
  7277. * ThemeWin32Classic.cs: center the caption text in the datagrid
  7278. when we draw it.
  7279. * DataGrid.cs: lessen the amount we add to the caption height from
  7280. 6 to 2. 6 was making it huge.
  7281. 2006-12-08 Andreia Gaita <[email protected]>
  7282. * UpDownBase: Handle MouseWheel call directly instead of capturing
  7283. the inner textbox's OnMouseWheel. Fixes #80166
  7284. 2006-12-08 Jackson Harper <[email protected]>
  7285. * TextControl.cs: We need to invalidate the textbox when we empty
  7286. it (how had this not been discovered before?)
  7287. 2006-12-08 Jackson Harper <[email protected]>
  7288. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  7289. to behave like MS, we now ignore the eventargs.Click and just
  7290. track state ourself, which we were already doing anyways.
  7291. - Constrain the double click handler to the double click size.
  7292. 2006-12-08 Chris Toshok <[email protected]>
  7293. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  7294. direction if that scrollbar isn't shown. fixes bug #80158.
  7295. 2006-12-08 Andreia Gaita <[email protected]>
  7296. * NumericUpDown.cs: Update value on getter. Fixes #79950
  7297. 2006-12-08 Chris Toshok <[email protected]>
  7298. * MenuItem.cs: add back in the event cloning code. I didn't know
  7299. how to do it in the face of the EventHandlerList work i'd done
  7300. last week. Fixes bug #80183.
  7301. 2006-12-08 Jonathan Pobst <[email protected]>
  7302. * Control.cs: Add an invalidate to the BackgroundImage setter.
  7303. [Fixes 80184]
  7304. 2006-12-07 Jonathan Pobst <[email protected]>
  7305. * ToolStrip*: Add some small properties reported by MoMA, fix event
  7306. firing and default properties based off of unit tests, and add some
  7307. attributes based off of the class status page.
  7308. 2006-12-07 Jackson Harper <[email protected]>
  7309. * TextBoxBase.cs: Take HideSelection into account when determining
  7310. whether or not to show the selection.
  7311. * RichTextBox.cs: After inserting the RTF into the document move
  7312. the cursor to the beginning of the document.
  7313. 2006-12-07 Jonathan Pobst <[email protected]>
  7314. * Control.cs: Remove static ArrayList "controls" which maintained
  7315. a reference to every control created.
  7316. * Application.cs: Create a static FormCollection to maintain a reference
  7317. to every form created. Use it in places that formerly enumerated through
  7318. the controls one looking for forms.
  7319. * Form.cs: Add and remove self from above FormCollection.
  7320. 2006-12-07 Alexander Olk <[email protected]>
  7321. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  7322. not libgdk (though it makes me wonder why I didn't have any
  7323. problems)
  7324. 2006-12-07 Chris Toshok <[email protected]>
  7325. [ you had to know this was coming after that last commit...]
  7326. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  7327. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  7328. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  7329. XCopyArea).
  7330. 2006-12-07 Chris Toshok <[email protected]>
  7331. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  7332. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  7333. all the behavior we need for double buffering.
  7334. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  7335. client side Bitmap, just like the old Control-based double buffer
  7336. code did. The methods are virtual, so each XplatUI driver
  7337. subclass can replace the implementation to use a faster, platform
  7338. specific approach.
  7339. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  7340. double buffer code, and clean things up a bit in the process.
  7341. 2006-12-06 Chris Toshok <[email protected]>
  7342. * Control.cs: reindent WndProc.
  7343. 2006-12-06 Chris Toshok <[email protected]>
  7344. [ I wanna be like BenM when I grow up ]
  7345. * Hwnd.cs: create a single static Graphics object on the static
  7346. Bitmap we create. use this for our text measurements.
  7347. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  7348. This was causing us to allocate a backbuffer for every control,
  7349. even when it wasn't flagged as double buffered. Instead use the
  7350. single graphics instance. This might have implications for
  7351. multithreaded applications. If we run into problems we can switch
  7352. to creating 1 Graphics per control, on the static Hwnd bitmap.
  7353. this change nets us a 7M savings in private dirty mappings when
  7354. running FormsTest.exe.
  7355. 2006-12-06 Chris Toshok <[email protected]>
  7356. * ListView.cs: the BackgroundImage override is just to set
  7357. attributes. chain up to base.BackgroundImage.
  7358. * RichTextBox.cs: same.
  7359. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  7360. changes, so instead a handler for BackgroundImageChanged.
  7361. * Control.cs: make background_image private.
  7362. 2006-12-06 Chris Toshok <[email protected]>
  7363. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  7364. sure we even need this assignment, but roll with it for now.
  7365. * Control.cs: make the cursor field private.
  7366. 2006-12-06 Chris Toshok <[email protected]>
  7367. * Form.cs: we don't need to explicitly set ImeMode to
  7368. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  7369. behavior in the face of ImeMode.Inherit.
  7370. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  7371. change the ctor's assignment to use ImeMode instead of ime_mode.
  7372. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  7373. ImeModeInherit. Only check for the parent's imemode (and return
  7374. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  7375. This fixes the button unit test, which sets both ImeMode and
  7376. DefaultImeMode to ImeMode.Disable.
  7377. also make the ime_mode field private.
  7378. 2006-12-06 Chris Toshok <[email protected]>
  7379. * Control.cs: make control_style private.
  7380. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  7381. setting the styles to true, then setting them to false instead of
  7382. reverting to their previous values.
  7383. also, call SetStyle on the scrollbars instead of using
  7384. control_style directly.
  7385. 2006-12-06 Jonathan Pobst <[email protected]>
  7386. * FormCollection.cs: Implement. [2.0]
  7387. 2006-12-06 Chris Toshok <[email protected]>
  7388. * Control.cs: make tab_stop private.
  7389. * Label.cs: set TabStop, not tab_stop. reformat some event
  7390. add/remove methods to make them more compact.
  7391. 2006-12-06 Chris Toshok <[email protected]>
  7392. * RadioButton.cs: fix TabStop handling.
  7393. 2006-12-06 Chris Toshok <[email protected]>
  7394. * TextBox.cs: remove the explicit assignments to has_focus.
  7395. Control does that.
  7396. * ButtonBase.cs: remove the assignment to has_focus. Control will
  7397. manage that.
  7398. 2006-12-06 Chris Toshok <[email protected]>
  7399. * ButtonBase.cs: remove all uses of is_enabled from this code.
  7400. it's always true when any of the code containing the checks is
  7401. executed.
  7402. 2006-12-06 Chris Toshok <[email protected]>
  7403. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  7404. with different semantics (some are present in both 1.1 and 2.0
  7405. profiles) so that we match MS's behavior in our unit tests.
  7406. 2006-12-06 Jackson Harper <[email protected]>
  7407. * TextControl.cs: Make this operation undoable.
  7408. * TextBoxBase.cs: Factor the border width into the preferred
  7409. height.
  7410. - implement Modified as per the spec.
  7411. 2006-12-06 Chris Toshok <[email protected]>
  7412. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  7413. 2006-12-06 Chris Toshok <[email protected]>
  7414. * Control.cs: make right_to_left and context_menu fields private.
  7415. 2006-12-06 Chris Toshok <[email protected]>
  7416. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  7417. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  7418. Control.child_controls private. switch all uses over to
  7419. Control.Controls.
  7420. 2006-12-06 Chris Toshok <[email protected]>
  7421. * System.Windows.Forms/GroupBox.cs,
  7422. System.Windows.Forms/AccessibleObject.cs,
  7423. System.Windows.Forms/ErrorProvider.cs,
  7424. System.Windows.Forms/Control.cs,
  7425. System.Windows.Forms/UpDownBase.cs,
  7426. System.Windows.Forms/ScrollBar.cs,
  7427. System.Windows.Forms/DateTimePicker.cs,
  7428. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  7429. System.Windows.Forms/ToolTip.cs,
  7430. System.Windows.Forms/RadioButton.cs,
  7431. System.Windows.Forms/LinkLabel.cs,
  7432. System.Windows.Forms/Splitter.cs,
  7433. System.Windows.Forms/TextBoxBase.cs,
  7434. System.Windows.Forms/ToolStripTextBox.cs,
  7435. System.Windows.Forms/ContainerControl.cs,
  7436. System.Windows.Forms/ThemeWin32Classic.cs,
  7437. System.Windows.Forms/SizeGrip.cs,
  7438. System.Windows.Forms/ToolStripDropDown.cs,
  7439. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  7440. private. switch all uses over to Control.Parent.
  7441. 2006-12-06 Chris Toshok <[email protected]>
  7442. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  7443. Control does this before calling emitting these events.
  7444. * TabControl.cs: same.
  7445. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  7446. Control.client_rect.
  7447. * ButtonBase.cs: use the ClientSize property instead of the
  7448. client_size field.
  7449. * ScrollableControl.cs: same.
  7450. * Control.cs: another pass at making properties private. also,
  7451. move the initialization of tab_stop to the ctor.
  7452. 2006-12-05 Andreia Gaita <[email protected]>
  7453. * TabControl.cs: Let the selected index be set freely if the
  7454. control handle is not yet created.
  7455. 2006-12-05 Jonathan Pobst <[email protected]>
  7456. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  7457. internal until I can rewrite DefaultLayout.
  7458. * ToolStrip.cs: Fix build error and some general cleaning.
  7459. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  7460. Fix build errors caused by making some of Control's fields private.
  7461. 2006-12-05 Jackson Harper <[email protected]>
  7462. * TextControl.cs: Redo Insert a little so that it use IndexOf
  7463. instead of Split, this prevents it from messing up on things like
  7464. \n\n\n. Also more effecient since the split array doesn't need to
  7465. be created.
  7466. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  7467. multiline text differently, this is the first of many fixes that
  7468. will make multiline/non-multiline the same thing as far as the
  7469. TextBoxBase is concerned.
  7470. - Don't split the text and insert lines, this can lose some line
  7471. endings (like is the last line a soft or hard break). Instead use
  7472. the new Insert.
  7473. - Fix an off by one when combining all the lines in the Text
  7474. getter.
  7475. - Remove separate multiline handling from the Text getter/setter.
  7476. 2006-12-05 Chris Toshok <[email protected]>
  7477. * ButtonBase.cs: a few changes:
  7478. - don't reinitialize internal Control fields in the ctor when they
  7479. have the same values as Control sets them.
  7480. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  7481. this before calling those methods.
  7482. - we don't need to call Refresh for anything. use Invalidate
  7483. instead.
  7484. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  7485. calls Refresh in its OnEnabledChanged.
  7486. - several of the events we were registered for in the ctor to
  7487. redraw ourselves already include calls to Invalidate in the
  7488. property setters that raise the events. remove the extra
  7489. invalidation.
  7490. - reformat a switch statement that was 83274658 columns wide.
  7491. 2006-12-05 Mike Kestner <[email protected]>
  7492. * ComboBox.cs: fix a unit test regression from a TextBox
  7493. SelectionLength return of -1 when there's no selection.
  7494. 2006-12-05 Chris Toshok <[email protected]>
  7495. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  7496. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  7497. cleaning up some of the internal Control fields being used by
  7498. subclasses.
  7499. 2006-12-05 Mike Kestner <[email protected]>
  7500. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  7501. listbox after AddImplicit calls since it defaults to hidden. Add a
  7502. hack to preserve requested heights across DropDownStyle changes.
  7503. 2006-12-05 Jonathan Pobst <[email protected]>
  7504. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  7505. 2006-12-05 Chris Toshok <[email protected]>
  7506. * DataGridView.cs: fix compiler warnings.
  7507. * PrintControllerWithStatusDialog.cs: same.
  7508. * ToolBar.cs: same.
  7509. * FolderBrowserDialog.cs: same.
  7510. * Splitter.cs: same.
  7511. * DataGridViewComboBoxCell.cs: same.
  7512. * XplatUIWin32.cs: same.
  7513. * PictureBox.cs: same.
  7514. * Win32DnD.cs: same.
  7515. * PageSetupDialog.cs: same.
  7516. * FileDialog.cs: same.
  7517. * PrintDialog.cs: same.
  7518. * DataGridTextBoxColumn.cs: same.
  7519. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  7520. 2006-12-05 Chris Toshok <[email protected]>
  7521. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  7522. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  7523. System.ComponentModel.EventHandlerList work.
  7524. 2006-12-05 Jonathan Chambers <[email protected]>
  7525. * DrawTreeNodeEventArgs.cs: Added.
  7526. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  7527. * InternalWindowManager.cs: Remove an unused field.
  7528. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  7529. * InternalWindowManager.cs:
  7530. - Save the point where the title bar is clicked.
  7531. * MdiWindowManager.cs:
  7532. - Only allow moving of the window as long as the
  7533. clicked point on the title bar does not get out of
  7534. MdiClient's rectangle. Fixes #79982.
  7535. * MdiClient.cs:
  7536. - Added Horizontal/VerticalScrollbarVisible.
  7537. - Simplified the scrollbar sizing algorithm.
  7538. - Cache the difference in scrolled value in
  7539. H/VBarValueChanged and move the calculation out
  7540. of the for loop.
  7541. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  7542. * Control.cs: Make the Console.WriteLine in WndProc
  7543. write more info.
  7544. 2006-12-05 Chris Toshok <[email protected]>
  7545. * ToolStripManager.cs, ToolStripButton.cs,
  7546. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  7547. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  7548. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  7549. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  7550. ToolStripProgressBar.cs, ToolStripContainer.cs,
  7551. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  7552. to using System.ComponentModel.EventHandlerList.
  7553. 2006-12-04 Chris Toshok <[email protected]>
  7554. * LinkLabel.cs: fix up compiler warnings.
  7555. * TableLayoutSettings.cs: same.
  7556. * TreeView.cs: same.
  7557. * ToolBar.cs: same.
  7558. * TabControl.cs: same.
  7559. * RichTextBox.cs: same.
  7560. * ListViewItem.cs: same.
  7561. * PropertyGrid.cs: same.
  7562. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  7563. * ToolTip.cs same.
  7564. * TextRenderer.cs: fix up compiler warnings.
  7565. * Label.cs: same.
  7566. * Form.cs: corcompare fixes.
  7567. * PictureBox.cs: fix up compiler warnings.
  7568. * ImageListStreamer.cs: same.
  7569. * TrackBar.cs: corcompare fix.
  7570. * Control.cs: fix up compiler warnings.
  7571. * SplitterPanel.cs: same.
  7572. * NumericTextBox.cs: same.
  7573. * ImageList.cs: same.
  7574. * StatusStrip.cs: same.
  7575. * ProgressBar.cs: corcompare fix.
  7576. * ToolStripButton.cs: fix up compiler warnings.
  7577. * ToolStripStatusLabel.cs: same.
  7578. * ToolStripSplitButton.cs: same.
  7579. * ToolStripSeparator.cs: same.
  7580. * ToolStripProgressBar.cs: same.
  7581. * ToolStripDropDownMenu.cs: same
  7582. * ToolStripDropDown.cs: same.
  7583. * ToolStripDropDownButton.cs: same.
  7584. * ToolStrip.cs: same.
  7585. * ToolStripControlHost.cs: same.
  7586. * ToolStripContentPanel.cs: same.
  7587. * ToolStripDropDown.cs: same.
  7588. * ToolStripContainer.cs: same.
  7589. * ToolStripPanel.cs: same, and add "new" where we need it to work
  7590. with the new ArrangedElementCollection.
  7591. * ToolStripItemCollection.cs: add "new" where we need it to work
  7592. with the new ArrangedElementCollection.
  7593. 2006-12-04 Andreia Gaita <[email protected]>
  7594. * TabControl.cs: Fix default tab selection to after TabControl
  7595. gets focus and not before. Fixes #80128
  7596. 2006-12-04 Chris Toshok <[email protected]>
  7597. * DataGridTableStyle.cs: remove the gross calling of
  7598. datagrid.Refresh from here. It's a broken idea and it doesn't
  7599. work anyway.
  7600. * DataGrid.cs: instead, just register/unregister from the
  7601. DataGridTableStyle events in CurrentTableStyle. we play it
  7602. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  7603. even though some would most likely not require it. Fixes bug
  7604. #80115 (and one portion of #80117 as a side effect).
  7605. 2006-12-04 Chris Toshok <[email protected]>
  7606. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  7607. so the textbox (if any) goes away. Fixes bug #80117.
  7608. 2006-12-04 Chris Toshok <[email protected]>
  7609. * DataGridColumnStyle.cs: set the column's readonly property
  7610. initially based on the property descriptor's IsReadOnly. Fixes
  7611. bug #80044.
  7612. 2006-12-04 Chris Toshok <[email protected]>
  7613. * ComboBox.cs: wrap the dropdown style changing work in
  7614. SuspendLayout/ResumeLayout. Fixes bug #79968.
  7615. 2006-12-04 Jackson Harper <[email protected]>
  7616. * TextBoxBase.cs: Fix off by one, since these are one-based.
  7617. * TextBox.cs: Select all the text when we get focus. The TextBox
  7618. does this but the RTB does not.
  7619. 2006-12-04 Chris Toshok <[email protected]>
  7620. * DataGridTextBoxColumn.cs: remove some spew.
  7621. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  7622. but some part of me is saying "it shouldn't be here.." At any
  7623. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  7624. setting the value.
  7625. 2006-12-04 Chris Toshok <[email protected]>
  7626. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  7627. to reassign the propertydescriptor.
  7628. 2006-12-04 Jackson Harper <[email protected]>
  7629. * TextBoxBase.cs:
  7630. * TextControl.cs: Remove some unused variables. Maybe this will
  7631. patch things up between mike and I.
  7632. - don't split lines less then one char wide, if the viewport is
  7633. that small text won't be visible anyways.
  7634. 2006-12-04 Jackson Harper <[email protected]>
  7635. * TextBoxBase.cs: Default selection length is -1, need to do some
  7636. more testing on windows to see when this is used for the property.
  7637. - Redid the Lines [] property to that we properly remove soft line
  7638. breaks
  7639. - added support for preserving carriage returns
  7640. - CanUndo is not a variable like 'is undo enabled' it just returns
  7641. true if there is undo operations available.
  7642. - AppendText doesn't need to grab the last tag itself anymore,
  7643. this happens automatically when we move the cursor.
  7644. * TextControl.cs: Add CompoundActions to the undo class. This
  7645. allows combining the other operations into one big option. ie a
  7646. paste will combine { delete old, insert new, move cursor }
  7647. - Add InsertString undo operation
  7648. - New method for deleting multiline text
  7649. - Add carriage returns to lines. So we can preserve carriage
  7650. returns when text is 'roundtripped'
  7651. 2006-12-04 Chris Toshok <[email protected]>
  7652. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  7653. minimum 0. Fixes the scrollbar exception in bug #80136.
  7654. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  7655. * MdiClient.cs:
  7656. * MdiWindowManager: Removed unused fields and methods.
  7657. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  7658. * StatusBar.cs: Update all panels when a AutoSize=Contents
  7659. panel needs updating.
  7660. * StatusBarPanel.cs: Remove twidth and only use initialize.
  7661. Fixes #80031.
  7662. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  7663. * Form.cs: When a form's MdiParent is set add it directly
  7664. on top of the z-order in stead of relying on MdiClient's
  7665. ActivateChild to do it. Fixes #80135.
  7666. * MdiClient.cs:
  7667. - Remove original_order, mdi_child_list is already doing
  7668. the same thing.
  7669. - Create mdi_child_list on construction in
  7670. stead of first use (avoids a few null checks).
  7671. * MenuItem.cs: Use an already existing list of mdi children
  7672. to get the correct order of children and remove the other
  7673. redundant list.
  7674. 2006-12-04 Chris Toshok <[email protected]>
  7675. * PropertyGridView.cs: cached_splitter_location is only used in
  7676. !DOUBLEBUFFER code.
  7677. * PropertyGrid.cs: implement the ComComponentNameChanged event
  7678. using Events, hoping that would fix the warning. Looks like a
  7679. compiler bug instead (#80144).
  7680. * PropertyManager.cs: remove unused method.
  7681. 2006-11-04 Everaldo Canuto <[email protected]>
  7682. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  7683. include parentesis to fix expression evaluation. Fixes #79634.
  7684. 2006-11-02 Everaldo Canuto <[email protected]>
  7685. * MenuAPI.cs:
  7686. - Changes to fix behavior in Menu control, some reported in #80097
  7687. and other detected during behavior refactory like a select event
  7688. problems.
  7689. - Remove unneded "if's" conditions.
  7690. - Created an internal to flag when popup is active in control, we need
  7691. it because in .NET you can have menu active but without popup active
  7692. when you active menu using popup without visible items.
  7693. - Mimic win32 behavior for Select and Popup events.
  7694. - Dont open popup menu when you dont have visible subitems.
  7695. - Do nothing when click on disabled menu item.
  7696. - Some small changes to follow the coding style guidelines.
  7697. - Unselect menu only when another control gives focus. Fixes #80097.
  7698. - Remove unused code.
  7699. * MenuItem.cs: internal VisibleItems method to check if menu
  7700. theres visible subitems, it will be usefull to fix some
  7701. behavior in Menu control.
  7702. 2006-11-01 Everaldo Canuto <[email protected]>
  7703. * Timer.cs: Tag property for 2.0 profile.
  7704. 2006-12-01 Chris Toshok <[email protected]>
  7705. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  7706. * Win32DnD.cs: comment out some unused fields.
  7707. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  7708. some unused properties/methods.
  7709. * XplatUIX11.cs: fix MousePosition so we override the base class's
  7710. property instead of conflicting with it.
  7711. * PictureBox.cs: comment out some unused fields
  7712. * OSXStructs.cs: make some struct fields public.
  7713. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  7714. MousePosition so we override the base class's property instead of
  7715. conflicting with it.
  7716. * X11Dnd.cs: comment out some unused fields
  7717. * X11DesktopColors.cs: fix some struct field visibility to quiet
  7718. the compiler.
  7719. * X11Dnd.cs: remove some debug code.
  7720. * ThemeClearlooks.cs: comment out unused field.
  7721. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  7722. * ThemeGtk.cs: comment out some unused pinvokes.
  7723. * Timer.cs: remove some unused fields.
  7724. * ThemeClearlooks.cs: comment out unused field.
  7725. * UpDownBase.cs: comment out unused field.
  7726. * DataObject.cs: comment out unused field.
  7727. * DataGridBoolColumn.cs: reomve unused field.
  7728. * DataGrid.cs: remove unused field.
  7729. * Cursor.cs: remove old ToBitmap code.
  7730. * ControlPaint.cs: remove unused method.
  7731. * ScrollBar.cs: remove unused fields.
  7732. * ComboBox.cs: remove unused field, and chain up to
  7733. AccessibleObject ctor.
  7734. * ListBox.cs: remove unused field.
  7735. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  7736. * GridEntry.cs: remove unused fields.
  7737. * Binding.cs: remove unused fields.
  7738. * AxHost.cs: remove unused method.
  7739. * ContainerControl.cs: remove unused field.
  7740. * ScrollableControl.cs: remove unused fields.
  7741. 2006-12-01 Chris Toshok <[email protected]>
  7742. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  7743. the Where/WhereString stuff. it's easy enough to CWL
  7744. Environment.StackTrace.
  7745. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  7746. unused private fields.
  7747. 2006-12-01 Jackson Harper <[email protected]>
  7748. * TextControl.cs: Do not update the view while inserting multiline
  7749. text. If we update the view we might wrap lines, before entering
  7750. the new lines, which causes the new line insertion calculations to
  7751. be totally fubared.
  7752. - Remove an old TODO
  7753. - Make debug output a little nicer
  7754. 2006-12-01 Chris Toshok <[email protected]>
  7755. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  7756. 2006-12-01 Chris Toshok <[email protected]>
  7757. [ fix the majority of the CS0108 warnings we've been suppressing ]
  7758. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  7759. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  7760. to "LayoutToolBar" to quiet mcs.
  7761. * TabControl.cs: mark our ControlCollection class as 'new'.
  7762. * TextBoxBase.cs: mark some events as 'new'.
  7763. * Splitter.cs: TabStop is 'new'.
  7764. * ControlBindingsCollection.cs: mark a few methods as new since
  7765. they change the visibility from protected to public.
  7766. * RadioButton.cs: DoubleClick -> base class, and remove unused
  7767. HaveDoubleClick.
  7768. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  7769. events as new.
  7770. * NumericUpDown.cs: TextChanged -> base class.
  7771. * CheckedListBox.cs: mark our ObjectCollection class as new to
  7772. quiet mcs.
  7773. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  7774. muck with the base class.
  7775. * StatusBar.cs: fix some mcs warnings about Update being the same
  7776. name as a base class method.
  7777. * RichTextBox.cs: mark some events as new, and make them do things
  7778. to the base class impl.
  7779. * UserControl.cs: mark TextChanged as new, and have it manipulate
  7780. base.TextChanged.
  7781. * UpDownBase.cs: mark some things new.
  7782. * CheckBox.cs: mark DoubleClick "new", and add some text about
  7783. what we need to look at.
  7784. * Panel.cs: make the events "new", and manipulate the base
  7785. version. these are just here for attributes.
  7786. * AccessibleObject.cs: make owner private.
  7787. * Control.cs: deal with AccessibleObject.owner being private.
  7788. cache our own copy if we need it.
  7789. * Button.cs: add "new" to the DoubleClickEvent.
  7790. * ListBox.cs: no need to track our own has_focus here. let
  7791. Control.has_focus do it for us. Also some other work to clear up
  7792. warnings about not overriding base class methods of the same name.
  7793. * ComboBox.cs: clear up some warnings about not override base
  7794. class methods of the same name.
  7795. 2006-12-01 Chris Toshok <[email protected]>
  7796. * Form.cs: flag a few things as "new" to quiet some of the mcs
  7797. warnings.
  7798. * AxHost.cs: same.
  7799. * PrintPreviewDialog.cs: same.
  7800. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  7801. now DGV isn't so horrible on the class status page. also, move
  7802. all events to using System.ComponentModel.EventHandlerList. my
  7803. wrists hurt.
  7804. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  7805. * MdiWindowManager.cs:
  7806. - Set form to active mdi child if shown,
  7807. and update the active mdi child to the next
  7808. remaining child in the z-order if the form is hidden.
  7809. * Form.cs:
  7810. - Track if the form has been visible and if its
  7811. visibility is beeing changed, so that the MdiClient
  7812. can properly decide the ActiveMdiChild. The MdiClient
  7813. cannot track this since the form can change visibility
  7814. before MdiClient is created.
  7815. * MdiClient.cs:
  7816. - Don't activate anything of the parent form is changing
  7817. its visibility.
  7818. - Rework ActiveMdiChild to only return visible mdi
  7819. children and take into account several other corner
  7820. cases.
  7821. 2006-12-01 Chris Toshok <[email protected]>
  7822. * IBindableComponent.cs: new 2.0 interface.
  7823. 2006-12-01 Gert Driesen <[email protected]>
  7824. * DataGrid.cs: Font for caption area is bold by default.
  7825. 2006-12-01 Everaldo Canuto <[email protected]>
  7826. * Menu.cs: Tag property for 2.0.
  7827. 2006-11-01 Everaldo Canuto <[email protected]>
  7828. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  7829. 2006-12-01 Chris Toshok <[email protected]>
  7830. * TreeView.cs: doh, the Begin* events should be
  7831. TreeViewCancelEventHandler.
  7832. 2006-12-01 Chris Toshok <[email protected]>
  7833. * Form.cs: Form.ControlCollection already stores off the
  7834. form_owner field. don't access the base class's internal "owner"
  7835. field.
  7836. * Control.cs: make all the fields in Control.ControlCollection
  7837. private. there's no need for any internal fields here.
  7838. 2006-12-01 Chris Toshok <[email protected]>
  7839. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  7840. OnHandleCreated. Fixes bug #80109.
  7841. 2006-12-01 Chris Toshok <[email protected]>
  7842. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  7843. SplitContainer.cs, Control.cs, StatusStrip.cs,
  7844. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  7845. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  7846. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  7847. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  7848. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  7849. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  7850. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  7851. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  7852. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  7853. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  7854. do most of the work to convert our code over to use
  7855. System.ComponentModel.Component.Events for
  7856. adding/removing/dispatching events.
  7857. 2006-11-30 Jonathan Pobst <[email protected]>
  7858. * DataGridView.cs: Fix an ArgumentNullException reported
  7859. twice today in IRC.
  7860. 2006-11-30 Mike Kestner <[email protected]>
  7861. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  7862. grabbed listbox. Fixes #80036 and #80101.
  7863. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  7864. * Message.cs: Changed ToString() to match MS.
  7865. 2006-11-30 Jackson Harper <[email protected]>
  7866. * TextBoxBase.cs: You can still change the selected text on a read
  7867. only textbox.
  7868. * TextControl.cs: Lower magic number for wrap calculations. This
  7869. lets text get closer to the right (far) edge.
  7870. 2006-11-30 Jonathan Pobst <[email protected]>
  7871. * Control.cs: Tweak 2.0 layout properties.
  7872. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  7873. * TextRenderer.cs: Add a new overload.
  7874. * ToolStrip*: Huge amount of changes and new features.
  7875. 2006-11-30 Mike Kestner <[email protected]>
  7876. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  7877. scroll range correct. Fixes #79994.
  7878. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  7879. * MdiWindowManager.cs: Update main form's text when
  7880. a form is closed. (fixes #80038)
  7881. 2006-11-30 Everaldo Canuto <[email protected]>
  7882. * ToolBar.cs:
  7883. - Fix an regression in ButtonSize.
  7884. - Get ImeMode default value change to "Disable".
  7885. - Get ShowTooltips default value change to true, default value is
  7886. "false" but after make a test in .NET we get "true" result as default.
  7887. 2006-11-29 Jonathan Pobst <[email protected]>
  7888. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  7889. 2006-11-29 Chris Toshok <[email protected]>
  7890. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  7891. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  7892. SetWindowTransparency hasn't been called.
  7893. 2006-11-29 Chris Toshok <[email protected]>
  7894. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  7895. if it's supported.
  7896. (set_AllowTransparency): reorder things a little so that the
  7897. WS_EX_LAYERED style is removed properly.
  7898. 2006-11-29 Chris Toshok <[email protected]>
  7899. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  7900. * Form.cs: only call the XplatUI transparency method (get/set) if
  7901. SupportsTransparency says it's supported. Otherwise fallback to
  7902. doing nothing (in the set case) or returning the instance field we
  7903. cache (in the get case).
  7904. * XplatUIStructs.cs: add TransparencySupport flag enum.
  7905. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  7906. change to SupportsTransparency.
  7907. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  7908. TransparencySupport.None from SupportsTransparency.
  7909. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  7910. TransparencySupport.Set from SupportsTransparency.
  7911. * XplatUIWin32.cs: implement GetWindowTransparency calling
  7912. GetLayeredWindowAttributes, and implement SupportsTransparency by
  7913. checking whether or not both
  7914. GetWindowTransparency/SetWindowTransparency are available
  7915. entrypoints. We need to do this since SetWindowTransparency is
  7916. available as of win2k, but GetWindowTransparency requires winxp.
  7917. yay win32 api.
  7918. * XplatUI.cs: Add GetWindowTransparency, and change
  7919. SupportsTransparency to allow for either/both Get/Set.
  7920. 2006-11-29 Chris Toshok <[email protected]>
  7921. * DataGrid.cs: keep from going into an infinite loop redrawing a
  7922. datagrid that has no datasource. Fixes bug #80033.
  7923. 2006-11-29 Chris Toshok <[email protected]>
  7924. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  7925. Invalidate) before the mainmenu has been assigned to a control.
  7926. 2006-11-29 Chris Toshok <[email protected]>
  7927. * DataGrid.cs: detect when we should be double the double click
  7928. row/column autosize stuff, although that codepath has yet to be
  7929. written. part of the work for bug #79891.
  7930. 2006-11-29 Chris Toshok <[email protected]>
  7931. * Binding.cs (SetControl): fix unit test.
  7932. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  7933. * PageSetupDialog.cs: Validate the margins and set them in
  7934. PageSettings.
  7935. * NumericTextBox.cs: New class to mimic the behavior of the
  7936. textboxes used in the printing dialogs.
  7937. 2006-11-29 Andreia Gaita <[email protected]>
  7938. * Form.cs: Revert previous change (remove call UpdateBounds
  7939. from form constructor), because it messes with the handle creation
  7940. order, and that one needs lots and lots of love.
  7941. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  7942. for valid printer and throw InvalidPrinterException if document
  7943. is set but printer not valid), adding a MonoTODO. Once
  7944. handle creation is done properly, we can put this back in.
  7945. 2006-11-28 Everaldo Canuto <[email protected]>
  7946. * MenuItem.cs: Create a invalidate method for menu item, to be
  7947. calling from set text, it make text changes to imadiate update
  7948. on screen. Fixes #80013.
  7949. 2006-11-28 Everaldo Canuto <[email protected]>
  7950. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  7951. fixes bug #80070 and some other problem on toolbar buttons
  7952. layout.
  7953. 2006-11-28 Everaldo Canuto <[email protected]>
  7954. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  7955. with dotted brush. Fixes #79564
  7956. 2006-11-28 Andreia Gaita <[email protected]>
  7957. * Form.cs: Removed call to UpdateBounds on Form
  7958. constructor, it was causing a call to CreateHandle
  7959. before it was supposed to.
  7960. * PrintControllerWithStatusDialog: Applied patch
  7961. by Chris Toshok to hide controller when there are
  7962. no printers available.
  7963. PrintDialog.cs: initialize printer settings to
  7964. null - correct DefaultValues test #5
  7965. * PrintPreviewControl.cs: Move PrintController
  7966. initialization to GeneratePreview
  7967. * PrintPreviewDialog.cs:
  7968. - Remove Preview generation from Document_set(). It is
  7969. called on OnPaint
  7970. - Throw InvalidPrinterException on CreateHandle if
  7971. a Document is set but there are no printers or
  7972. printer is not valid.
  7973. * ThemeWin32Classic: don't paint PrintPreviewControl
  7974. if there is nothing to paint
  7975. 2006-11-28 Miguel de Icaza <[email protected]>
  7976. * Form.cs: Add another popular method.
  7977. * TabPage.cs: ditto.
  7978. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  7979. * MenuItem.cs: Fixed a warning.
  7980. * InternalWindowManager: Fixed a warning.
  7981. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  7982. * MenuItem.cs:
  7983. - When cloning a menu also clone MdiList and clone the
  7984. window menu items properly (as the forms and menuitems
  7985. are kept in an internal hashtable, these need updating
  7986. as well)
  7987. - Rewrote the window menu code, menu items are added in the
  7988. order the forms were added to their parent, and they are
  7989. updated every time the window menu is shown (before the
  7990. list was only generated once, in the current order of the
  7991. forms, and would never be updated). A checkmark is shown
  7992. next to the item corresponding to the active mdi child.
  7993. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  7994. * XplatUIStructs.cs:
  7995. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  7996. * XplatUIWin32.cs:
  7997. - Added TME_NONCLIENT to TMEFlags.
  7998. - Handles WM_NCMOUSEMOVE in GetMessage to
  7999. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  8000. * MdiWindowManager:
  8001. - Now merges mdi child menu to parent menu when maximized.
  8002. - Recalculate NC areas of both mdi child and mdi parent.
  8003. Fixes #79757 (4).
  8004. on window state and size changes.Fixes #79844 (3).
  8005. - Handle WM_NCCALCSIZE to properly calculate borders.
  8006. * Form.cs:
  8007. - Add/remove to the mdi containers list of mdi children
  8008. in the order they are added.
  8009. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  8010. to the maximized mdi child.
  8011. * InternalWindowManager.cs:
  8012. - Only execute a click on the control buttons on the mouse up,
  8013. not on the mouse down. Show the state of the button
  8014. (was only showing Normal state, never Pressed state). The
  8015. pressed button now follows the mouse (if you click the Close
  8016. button and move the mouse over the Maximize button, the
  8017. Maximize button will be shown as pressed). Since Win32 does
  8018. not generate WM_NCLBUTTONUP if you release the button outside
  8019. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  8020. it as a mouse up.
  8021. * ThemeWin32Classic.cs:
  8022. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  8023. * MdiClient.cs:
  8024. - Added a list of forms which contains the order the forms are
  8025. added to the mdi parent.
  8026. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  8027. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  8028. - If the active form changes set the scrollbars to the top
  8029. of the Z order, otherwise the form could hide them.
  8030. - Scrollbars are now sized according to ClientSize, not
  8031. to Size, and they take into account the other scrollbar
  8032. to determine maximum.
  8033. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  8034. * XplatUI.cs:
  8035. * XplatUIDriver.cs:
  8036. * XplatUIX11.cs:
  8037. * XplatUIWin32.cs:
  8038. * XplatUIOSX.cs:
  8039. - Added RequestAdditionalWM_NCMessages for windows to
  8040. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  8041. Currently only implemented in XplatUIWin32.
  8042. 2006-11-27 Chris Toshok <[email protected]>
  8043. * Hwnd.cs: only add the hwnd to the windows hash in
  8044. set_WholeWindow and set_ClientWindow if whole_window/client_window
  8045. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  8046. 2006-11-27 Mike Kestner <[email protected]>
  8047. * ComboBox.cs: remove redundant OnDropDown call. It is called
  8048. from the ComboListBox.ShowWindow code. Fixes #79969.
  8049. 2006-11-27 Chris Toshok <[email protected]>
  8050. * Hwnd.cs: remove the setters for ExposePending and
  8051. NCExposePending - noone uses them.
  8052. 2006-11-27 Jackson Harper <[email protected]>
  8053. * TextControl.cs: new param for ReplaceSelection which determines
  8054. whether we select the new selection, or set the cursor to the end
  8055. of the new selection.
  8056. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  8057. pasting, select the new text.
  8058. * RichTextBox.cs: Use new param for ReplaceSelection.
  8059. 2006-11-27 Jackson Harper <[email protected]>
  8060. * TextBoxBase.cs: Set the selection to the caret after the caret
  8061. is moved, otherwise they get out of sync.
  8062. 2006-11-26 Everaldo Canuto <[email protected]>
  8063. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  8064. it fixes #80015
  8065. 2006-11-26 Everaldo Canuto <[email protected]>
  8066. * ThemeWin32Classic.cs:
  8067. - Fix toolbar drop down arrow position.
  8068. - Fix drop down appearance when ToolBar.Appearance is normal,
  8069. it fixes #80018.
  8070. 2006-11-26 Gert Driesen <[email protected]>
  8071. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  8072. * Control.cs: Same.
  8073. * UpDownBase.cs: Same.
  8074. * ButtonBase.cs: Same.
  8075. * ScrollBar.cs: Same.
  8076. * TrackBar.cs: Same.
  8077. * PictureBox.cs: Same.
  8078. * UserControl.cs: Same.
  8079. * Label.cs: Same.
  8080. * ListControl.cs: Same.
  8081. * TextBoxBase.cs: Same.
  8082. * ListView.cs: Same.
  8083. * RichTextBox.cs: Same.
  8084. * TreeView.cs: Same.
  8085. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  8086. * PrintDialog.cs:
  8087. - Text label for where
  8088. - Text label comment was not shown
  8089. 2006-11-23 Everaldo Canuto <[email protected]>
  8090. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  8091. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  8092. * InternalWindowManager.cs:
  8093. - Handle WM_PARENTNOTIFY to activate the form
  8094. if any child control is clicked.
  8095. - The form is only sizable if not minimized.
  8096. * MdiWindowManager.cs:
  8097. - Save the IconicBounds if the form is moved.
  8098. - Rework SetWindowState, now the window bounds
  8099. are stored only if the old window state is Normal.
  8100. * MdiClient.cs:
  8101. - In SetWindowStates store the old window state if
  8102. the window is maximized and restore window state if
  8103. the window looses focus.
  8104. - Don't handle any scrollbar value changes if
  8105. initializing the scroll bars. Fixes #79771.
  8106. - Reworked ArrangeIconicWindows. Current algorithm
  8107. tests bounds agains all other minimized windows, if
  8108. any intersections create new bounds (going left to
  8109. right, bottom to top) and then test again. When
  8110. successful the bounds are saved and never computed
  8111. again. Fixes #79774.
  8112. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  8113. * InternalWindowManager.cs: Added HandleTitleBarUp.
  8114. 2006-11-23 Gert Driesen <[email protected]>
  8115. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  8116. hexadecimal in ParseUserEdit.
  8117. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  8118. * MdiWindowManager.cs:
  8119. - Handle a click on the form's icon to show the
  8120. system menu (when maximized). Fixes #79775.
  8121. - Change the existing click handler for the form's
  8122. icon when not maximized to show on MouseUp.
  8123. Fixes #79776.
  8124. * Form.cs: In OnResize only layout the mdi child's
  8125. parent if it actually has a parent. Might not if
  8126. the window is closing.
  8127. 2006-11-23 Gert Driesen <[email protected]>
  8128. * MdiClient.cs: Ignore active MDI client for text of parent, if
  8129. child has no text set.
  8130. 2006-11-23 Gert Driesen <[email protected]>
  8131. * ToolBar.cs: Fixed ToString to match MS.
  8132. 2006-11-22 Andreia Gaita <[email protected]>
  8133. * NumericUpDown:
  8134. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  8135. update inner values on set. Fixes #79966.
  8136. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  8137. - Fix hexadecimal parsing.
  8138. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  8139. parent. Fixes #79957
  8140. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  8141. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  8142. the actual size has to be queried, since if height /
  8143. width is negative Win32 changes it to 0.
  8144. Fixes #79999 on Windows.
  8145. * XplatUIX11.cs: Set height / width to 0 if negative
  8146. in SetWindowPos. Fixes #79999 on Linux.
  8147. 2006-11-22 Everaldo Canuto <[email protected]>
  8148. * ThemeWin32Classic.cs: Fix text redenring when button is
  8149. pressed.
  8150. 2006-11-22 Everaldo Canuto <[email protected]>
  8151. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  8152. and later navigate by mouse. Fixes #79528.
  8153. 2006-11-21 Everaldo Canuto <[email protected]>
  8154. * ToolBar.cs: Set default value for TabStop to false in
  8155. constructor, it fixes remaining behavior of bug #79863.
  8156. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  8157. * MdiWindowManager.cs:
  8158. * InternalWindowManager.cs:
  8159. - Moved a few methods specific to Mdi from
  8160. InternalWindowManager to MdiWindowManager.
  8161. Fixes #79996.
  8162. 2006-11-21 Chris Toshok <[email protected]>
  8163. * XplatUIOSX.cs: stub out InvalidateNC.
  8164. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  8165. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  8166. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  8167. * XplatUIDriver.cs: add InvalidateNC abstract method.
  8168. * XplatUI.cs: add InvalidateNC.
  8169. 2006-11-21 Everaldo Canuto <[email protected]>
  8170. * ToolBar.cs: Invalidate complete button area when pressed status
  8171. was changed.
  8172. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  8173. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  8174. by 1 when button is pressed.
  8175. 2006-11-20 Everaldo Canuto <[email protected]>
  8176. * ToolButton.cs: Invalidate middle of DropDown button when
  8177. ToolBar theres DropDownArrows.
  8178. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  8179. fix DropDown drawing operations.
  8180. 2006-11-20 Chris Toshok <[email protected]>
  8181. * NativeWindow.cs: fix the formatting of functions ('{' on the
  8182. following line), and enable the thread exception dialog.
  8183. * Application.cs: remove the duplicate exception catching from
  8184. here.
  8185. 2006-11-20 Everaldo Canuto <[email protected]>
  8186. * Toolbar.cs: Triggers button click event when click on icon
  8187. of dropdown ToolBarButton. Fixes #79912.
  8188. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  8189. * Theme.cs:
  8190. * ThemeWin32Classic.cs:
  8191. - Added a property WindowBorderFont to enable themeing
  8192. of mdi child windows' Text.
  8193. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  8194. * InternalWindowManager.cs:
  8195. * Form.cs:
  8196. * MdiClient.cs:
  8197. * MdiWindowManager.cs:
  8198. - If mdi child is maximized, set mdi parent's
  8199. text to "Parent - [Child]". Fixes #79770.
  8200. - If there is any maximized mdi child windows, only the active
  8201. window (and any new windows) is maximized, the rest are normal.
  8202. - On a WindowState change only save mdi child's window bounds
  8203. if the old window state was normal. Fixes #79774.
  8204. - The scroll bars are now calculated on hopefully all
  8205. necessary events. Fixed #79771 / #79844->6 / #79906.
  8206. - MdiClient.SizeScrollBars() now takes into account docked
  8207. controls in the parent when calculating available space.
  8208. - InternalWindowManager now always repaints the entire title
  8209. area. Fixes #79844->1/4/5.
  8210. - Added RequestNCRecalc on mdi child windowstate changes.
  8211. Fixes #79772.
  8212. 2006-11-20 Mike Kestner <[email protected]>
  8213. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  8214. in the MouseUp handler of the listbox and move the return handling
  8215. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  8216. 2006-11-20 Everaldo Canuto <[email protected]>
  8217. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  8218. 2006-11-17 Alexander Olk <[email protected]>
  8219. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  8220. working in 1.2.x anymore. So, updated.
  8221. 2006-11-19 Gert Driesen <[email protected]>
  8222. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  8223. NumberGroupSeparator of current culture instead of assuming en-US.
  8224. Fixed bug #79967.
  8225. 2006-11-17 Mike Kestner <[email protected]>
  8226. * Control.cs: Add the concept of implicit bounds setting so that
  8227. dock/undock round trips preserve explicitly set size/locations.
  8228. Fixes #79313.
  8229. 2006-11-17 Alexander Olk <[email protected]>
  8230. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  8231. can't handle those filters. (Fixes bug #79961)
  8232. 2006-11-17 Chris Toshok <[email protected]>
  8233. [ fixes the exit/crashes associated with #79835. it's clearly
  8234. suboptimal though, we need to figure out a better way to solve
  8235. this. ]
  8236. * PrintPreviewControl.cs: deal with the new invalid printer
  8237. exceptions.
  8238. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  8239. and return false (so CommonDialog.ShowDialog doesn't actually show
  8240. the form.)
  8241. * PrintDialog.cs: enable/disable the Ok button depending on
  8242. whether or not the printer is valid.
  8243. * CommonDialog.cs (ShowDialog): only actually show the form if
  8244. RunDialog returns true.
  8245. 2006-11-17 Jackson Harper <[email protected]>
  8246. * TextControl.cs: When soft splitting a line, mark it as a soft
  8247. split line. Also carry over the current line break to the next
  8248. line.
  8249. 2006-11-17 Chris Toshok <[email protected]>
  8250. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  8251. only want to shift the part of the invalid area that overlaps the
  8252. area we're scrolling. we also don't want to clear the invalid
  8253. area unless the invalid area was entirely contained within the
  8254. scrolling area.
  8255. 2006-11-16 Chris Toshok <[email protected]>
  8256. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  8257. also make sure to free the memory returned by XGetWindowProperty
  8258. in GetText().
  8259. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  8260. 2006-11-16 Chris Toshok <[email protected]>
  8261. * XplatUI.cs: add a new super secret way to get at the totally
  8262. unsupported X11 backend.
  8263. 2006-11-16 Gert Driesen <[email protected]>
  8264. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  8265. 2006-11-16 Jackson Harper <[email protected]>
  8266. * TreeView.cs: Allow more explicit setting of top node position
  8267. for scrollbars. Slower algo, but more accurate.
  8268. - CollapseAll should maintain the current top node.
  8269. * TextBoxBase.cs: When positioning the caret, use the line, pos
  8270. method, since the x, y method does not grab the correct tag, and
  8271. the caret height never gets set correctly. (Maybe I should just do
  8272. away with the caret having its own height, and always use the
  8273. carets current tag for height).
  8274. 2006-11-16 Jonathan Pobst <[email protected]
  8275. [Fixes 79778, 79923]
  8276. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  8277. Parent to the FosterParent instead.
  8278. 2006-11-16 Jackson Harper <[email protected]>
  8279. * TreeView.cs: Need to recalc the topnode when we expand or
  8280. collapse. The scrolling methods can't handle this on their own,
  8281. since they use differences between the last scroll position, and
  8282. those difference get completely messed up since we are expanding
  8283. nodes. This problem should probably be fixed in the scrolling
  8284. methods, so they can figure out exactly where they are, but this
  8285. will slow things down a little.
  8286. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  8287. strings, makes nunit-gui look a lot nicer.
  8288. 2006-11-16 Chris Toshok <[email protected]>
  8289. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  8290. the broken multithreaded event handling we have in here. File
  8291. this entry under "Why we should move to the new X11 backend".
  8292. Any thread can make it into UpdateMessageQueue, which gets events
  8293. from the X socket - some of which could belong to hwnds being
  8294. managed by a different thread. We can also have multiple threads
  8295. in UpdateMessageQueue at the same time, with each one reading from
  8296. the X socket. This leads to many problems, with the following
  8297. solutions:
  8298. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  8299. EnqueueLocked.
  8300. The MotionNotify compression we do can't work across threads
  8301. (without locking the entire queue, perhaps) since we call
  8302. hwnd.Queue.Peek, so we just punt and don't compress motion events
  8303. unless the owning thread is the one which got the X event.
  8304. ConfigureNotify is another fun one, since it modifies the hwnd's
  8305. bounds and then enqueues the event. We add a lock to Hwnd which
  8306. is held when setting configure_pending to true (and enqueuing the
  8307. event).
  8308. There is a race wrt the wake socket. we need to make sure that
  8309. only 1 thread is waiting on that socket, or else a thread could
  8310. sleep waiting for data that never comes. It's difficult (but not
  8311. impossible) to make happen, because it seems to require something
  8312. like the following:
  8313. 1. Thread 1 polls on wake_receive
  8314. 2. poll returns saying there's data to be read on
  8315. wake_receive.
  8316. 3. Thread 2 polls on wake_receive and immediately returns
  8317. saying there's data to be read.
  8318. 4. Thread 2 reads the wakeup byte from wake_receive
  8319. 5. Thread 1 attempts to read the wakeup byte from
  8320. wake_receive.
  8321. 6. Thread 2 exits (due to a form closing, perhaps).
  8322. 7. Thread 1 blocks forever.
  8323. Fun, eh?
  8324. Fixing the Expose handling isn't done yet, and the races inherent
  8325. in that piece of code are responsible for the drawing mistakes you
  8326. see when generating expose events in a MT app (like NPlot). This
  8327. one is the likely to be the hardest to bandaid, and it doesn't
  8328. appear to cause anything but drawing problems. The other issues
  8329. caused apps to exit or hang.
  8330. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  8331. called from a different thread than the one that should be calling
  8332. these functions.
  8333. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  8334. 2006-11-15 Chris Toshok <[email protected]>
  8335. * Application.cs: null out the context's MainForm when we exit
  8336. RunLoop. Fixes a newly checked in unit test as well as the last
  8337. ODE from bug #79933.
  8338. 2006-11-15 Chris Toshok <[email protected]>
  8339. * Form.cs (set_Owner): allow a null value so we can clear the
  8340. form's owner.
  8341. (Dispose): set all our owned_form's Owner properties to null, and
  8342. clear the owned_forms collection.
  8343. (WM_CLOSE): clean up this a little bit.. still not right though.
  8344. * ApplicationContext.cs: OnMainFormClosed should only call
  8345. ExitThreadCore if the main form isn't recreating. Fixes unit
  8346. test.
  8347. 2006-11-15 Jonathan Pobst <[email protected]>
  8348. [Fixes 78346]
  8349. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  8350. 2006-11-15 Jonathan Pobst <[email protected]>
  8351. [Fixes 79433]
  8352. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  8353. keep popup window types from stealing focus from the main form
  8354. on Windows.
  8355. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  8356. * MenuAPI.cs: Set above flag to true.
  8357. 2006-11-15 Chris Toshok <[email protected]>
  8358. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  8359. the button being released is not in wParam.
  8360. 2006-11-15 Jonathan Pobst <[email protected]>
  8361. * Form.cs: Add the released button to MouseEventArgs.Button
  8362. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  8363. on Win32.
  8364. 2006-11-15 Chris Toshok <[email protected]>
  8365. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  8366. GetText(). untested because it's unused in our implementation.
  8367. Control.Text always caches the text, even if
  8368. ControlStyles.CacheText is not set.
  8369. fixes bug #79939.
  8370. 2006-11-15 Chris Toshok <[email protected]>
  8371. [ fixes #79933 ]
  8372. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  8373. message. no hiding, no disposing.
  8374. in the WM_CLOSE handler, hide the form if it's modal.
  8375. 2006-11-15 Chris Toshok <[email protected]>
  8376. * XplatUIX11.cs: use AddExpose instead of sending a message.
  8377. fixes textbox border drawing.
  8378. 2006-11-15 Chris Toshok <[email protected]>
  8379. * PropertyGridView.cs: keep from crashing on mouse move/down when
  8380. the property grid is empty.
  8381. 2006-11-14 Jackson Harper <[email protected]>
  8382. * TextControl.cs: Make PageUp and PageDown more like the MS
  8383. versions.
  8384. * TextBoxBase.cs: When we set the text property position the
  8385. cursor at the beginning of the document.
  8386. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  8387. * Form.cs: if a mdi child's WindowState has changed
  8388. before it's creation, it would display wrong control
  8389. buttons.
  8390. 2006-11-14 Alexander Olk <[email protected]>
  8391. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  8392. (Fixes bug #79927)
  8393. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  8394. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  8395. the window gets to paint its borders even if the window is
  8396. getting smaller.
  8397. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  8398. otherwise the old control buttons would still be painted
  8399. if the window gets bigger.
  8400. * PaintEventArgs.cs: add an internal method so that the clip
  8401. rectangle can be changed.
  8402. 2006-11-13 Chris Toshok <[email protected]>
  8403. [ fixes bug #79745 ]
  8404. * NotifyIcon.cs: lots of cleanup.
  8405. * X11Structs.cs: add an enum for XEMBED messages.
  8406. * XplatUIX11.cs: reindent one of the giant switch statements, it
  8407. was taking up an additional tab stop, and this file is already way
  8408. too wide for my laptop's screen.
  8409. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  8410. we get it, resize the hwnd to the WMNormalHints max_width/height.
  8411. 2006-11-13 Jackson Harper <[email protected]>
  8412. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  8413. teh simple way.
  8414. 2006-11-13 Chris Toshok <[email protected]>
  8415. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  8416. #79898. force a reference to the Region to stick around so the
  8417. unmanaged object isn't collected (rendering our handle in the MSG
  8418. stale).
  8419. 2006-11-13 Chris Toshok <[email protected]>
  8420. * XplatUIX11.cs: fix #79917 for window managers which support
  8421. using XStoreName on the raw utf8, and we need to convert to
  8422. COMPOUND_TEXT if it's non-latin1.
  8423. 2006-11-13 Chris Toshok <[email protected]>
  8424. * Form.cs (set_DialogResult): we need to set closing to false if
  8425. we're setting our result to None. fixes bug #79908.
  8426. 2006-11-13 Jackson Harper <[email protected]>
  8427. * TextControl.cs: When formatting text, compute the adjusted tag
  8428. lengths correctly, using FindTag for the end tag instead of trying
  8429. to figure it out outselves.
  8430. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  8431. the item, ItemHeight doesn't work, because trees with large
  8432. imagelists use those for their height
  8433. * TreeView.cs: ActualItemHeight factors in the image height
  8434. - compute left edge of checkboxes correctly
  8435. - when expanding/collapsing move the bottom down one pixel, so we
  8436. aren't moving part of the node
  8437. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  8438. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  8439. stack in PaintEventStart so that it won't get disposed by the gc
  8440. before reaching PaintEventEnd.
  8441. 2006-11-13 Jackson Harper <[email protected]>
  8442. * TextBoxBase.cs: Don't select the word if we are on a line with
  8443. no text.
  8444. - We don't need to position the caret on mouse up, since the mouse
  8445. move handler should be doing this
  8446. - When double clicking a blank line, the caret is advanced to the
  8447. next line.
  8448. 2006-11-13 Gert Driesen <[email protected]>
  8449. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  8450. 2006-11-12 Gert Driesen <[email protected]>
  8451. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  8452. Fixes part of bug #79910.
  8453. 2006-11-11 Alexander Olk <[email protected]>
  8454. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  8455. (bug #79903). Some minor string updates to match ms.
  8456. 2006-11-10 Alexander Olk <[email protected]>
  8457. * FileDialog.cs: Don't add an extension if the filename
  8458. already ends with that extension.
  8459. 2006-11-10 Jackson Harper <[email protected]>
  8460. * TreeView.cs: Use the currently highlighted node for the
  8461. BeforeSelect event.
  8462. * TextBoxBase.cs: There is no need to expand selection on
  8463. MouseMove.
  8464. - CanUndo means 'is there any undo operations', not 'is undo
  8465. allowed on this textcontrol. Fixed ClearUndo unit test.
  8466. 2006-11-10 Andreia Gaita <[email protected]>
  8467. * Button.cs: only perform click when button is Selectable (so as
  8468. not to activate default buttons when they're disabled)
  8469. * Control.cs: Rewrite of the SelectNextControl and related
  8470. methods. HandleClick now selects next control if the current one
  8471. is being disabled.
  8472. * Form.cs: OnActivated selects next active control only if Load
  8473. has already occurred. If Load hasn't run, there's no point in
  8474. selecting here, Load might change the state of controls.
  8475. * FocusTest.cs: Tests marked as working again for these fixes
  8476. 2006-11-10 Chris Toshok <[email protected]>
  8477. * XplatUIX11.cs: a couple of fixes.
  8478. - use XInternAtoms with almost all the atoms we need to register,
  8479. instead of many, many calls to XInternAtom. should help a bit on
  8480. startup time, at the expense of making the code look a little
  8481. worse.
  8482. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  8483. isn't reparented (which seems to be a clue that we're running fon
  8484. compiz) and they have an Owner form. This fixes the tool windows
  8485. in paint.net when running under compiz.
  8486. - when setting the opacity of a window, support both the case
  8487. where the window has been reparented and also when it hasn't been.
  8488. Since compiz/beryl doesn't seem to reparent windows, and these are
  8489. the only window managers which support translucency, I'm not sure
  8490. why we need the hwnd.reparented case at all.. but leave it in.
  8491. now we get translucent windows in paint.net under compiz/beryl.
  8492. 2006-11-10 Alexander Olk <[email protected]>
  8493. * FileDialog.cs: Always return the value for FilterIndex that
  8494. was set. Internally convert it to values that make sense.
  8495. 2006-11-10 Everaldo Canuto <[email protected]>
  8496. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  8497. 2006-11-10 Everaldo Canuto <[email protected]>
  8498. * Toolbar.cs: Change default value of DropDownArrows to true, the
  8499. signature still using false to make it compatible with MS but the
  8500. initial value is true. Fixes #79855.
  8501. 2006-11-10 Alexander Olk <[email protected]>
  8502. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  8503. only available on Linux.
  8504. 2006-11-09 Everaldo Canuto <[email protected]>
  8505. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  8506. reduce number of calls to redraw method during toolbar creation.
  8507. 2006-11-09 Mike Kestner <[email protected]>
  8508. * ListView.cs : raise SelectedIndexChanged when an item is selected
  8509. programmatically via the Item.Selected property. Gert's nice
  8510. ListViewSelectedIndexChanged test fixture now runs clean.
  8511. 2006-11-09 Mike Kestner <[email protected]>
  8512. * ListView.cs : raise SelectedIndexChanged when a selected item is
  8513. removed from the item collection using Remove or RemoveAt.
  8514. 2006-11-09 Mike Kestner <[email protected]>
  8515. * ListView.cs : raise SelectedIndexChanged once per selected item
  8516. for compat with MS. Fixes #79849+.
  8517. 2006-11-09 Chris Toshok <[email protected]>
  8518. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  8519. we need to (if we have any tab pages). Fixes unit test.
  8520. 2006-11-09 Chris Toshok <[email protected]>
  8521. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  8522. width is 0, not 3. Fixes a unit test.
  8523. 2006-11-09 Mike Kestner <[email protected]>
  8524. * ListView.cs : use Implicit scrollbars so that focus isn't
  8525. stolen from the listview when they are clicked. Fixes #79850.
  8526. 2006-11-09 Chris Toshok <[email protected]>
  8527. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  8528. have a root item. Fixes #79879.
  8529. 2006-11-09 Alexander Olk <[email protected]>
  8530. * FileDialog.cs:
  8531. - Fix ToString ()
  8532. - An ArgumentException is now thrown if a wrong filter
  8533. is applied (matches ms). The previous filter doesn't change
  8534. anymore if an exception is thrown.
  8535. - Changing the FileName property also affects FileNames
  8536. * ColorDialog.cs: The length of the CustomColors array is always
  8537. 16. It doesn't matter if we use a smaller array or null to update
  8538. or change the custom colors property.
  8539. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  8540. for RootFolder if we get a undefined value.
  8541. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  8542. * StatusBarPanel.cs:
  8543. - Width is set to MinWidth if Width is smaller than
  8544. MinWidth. Fixes #79842.
  8545. - MinWidth now always overrides Width (MSDN says MinWidth
  8546. is set to Width when AutoSize = None, but they do not
  8547. behave like that).
  8548. - Style has now the the correct default value.
  8549. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  8550. * TrackBar.cs:
  8551. - The control is completely invalidated on
  8552. Got/LostFocus to draw the focus rectangle correctly.
  8553. - When AutoSize then height is always 45 (width for
  8554. vertical controls).
  8555. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  8556. on the mouse when moved and it doesn't move when grabbed
  8557. until the mouse moves as well. Also fixed some wrong
  8558. calculations when clicking on the thumb (control thought
  8559. click was outside of thumb and didn't grab it).
  8560. Fixes some of the issues in #79718.
  8561. 2006-11-08 Everaldo Canuto <[email protected]>
  8562. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  8563. 2006-11-08 Chris Toshok <[email protected]>
  8564. * PropertyGridView.cs: only call ToggleValue if the item is not
  8565. readonly.
  8566. 2006-11-08 Jackson Harper <[email protected]>
  8567. * TextBoxBase.cs: The RichTextBox and textbox have very different
  8568. word selection methods. Implement the textbox's simple word
  8569. selection here, and let the RichTextBox override and provide it's
  8570. own.
  8571. - Don't do extra selection on mouseup
  8572. * RichTextBox.cs: Use the documents word selection algorithm, I
  8573. think ideally, this function will be pulled into the
  8574. RichTextBox.cs code someday.
  8575. 2006-11-08 Chris Toshok <[email protected]>
  8576. * RootGridEntry.cs: new class to represent GridItemType.Root.
  8577. * CategoryGridEntry.cs: reformat, and add boilerplate.
  8578. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  8579. returns the UI parent anyway, and we need special handling to
  8580. implement the GetTarget method in the face of it. Also, implement
  8581. Select().
  8582. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  8583. a root grid item, and use that instead of PropertyGrid.grid_items.
  8584. Also, make use of TypeConverters (and add limitted support for
  8585. ICustomTypeDescriptors) when initially populating the grid.
  8586. Arrays now show up more or less properly.
  8587. 2006-11-08 Chris Toshok <[email protected]>
  8588. * Application.cs: set the modal dialog to non modal after we close
  8589. it. Fixes bug #79866.
  8590. 2006-11-08 Jackson Harper <[email protected]>
  8591. * TextControl.cs: When combining lines carry over the line end
  8592. style from the end line.
  8593. - Invalidate the selected area when setting it, if it is visible.
  8594. * TextBoxBase.cs: Only rich text box can do full line selects.
  8595. - Make sure to set the cursor position when there is a click,
  8596. otherwise two clicks in separate areas could cause a large chunk
  8597. to be selected.
  8598. 2006-11-07 Everaldo Canuto <[email protected]>
  8599. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  8600. Fixes #79863.
  8601. 2006-11-07 Everaldo Canuto <[email protected]>
  8602. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  8603. time. Remove tooltips when ToolButton click events. Fixes #79856.
  8604. 2006-11-07 Everaldo Canuto <[email protected]>
  8605. * MenuAPI.cs: Ignore right click for menu actions and fixes
  8606. menu border when clicked. Fixes #79846.
  8607. 2006-11-07 Everaldo Canuto <[email protected]>
  8608. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  8609. MouseState after create wParam for message, this fixes mouse button
  8610. equal none in mouse up events.
  8611. 2006-11-07 Andreia Gaita <[email protected]>
  8612. * Control.cs : Focus() now calls Select to set the Container's
  8613. Active Control and to give it focus. To avoid infinite recursion
  8614. (because ActiveControl also calls Focus at one point), a check
  8615. is made in Focus with the help of a new internal variable
  8616. is_focusing.
  8617. 2006-11-07 Mike Kestner <[email protected]>
  8618. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  8619. if there's a selection. Fixes #79849.
  8620. 2006-11-07 Gert Driesen <[email protected]>
  8621. * PropertyGrid.cs: Avoid fixed height of help description label.
  8622. Fixes part of bug #79829.
  8623. 2006-11-07 Chris Toshok <[email protected]>
  8624. * XplatUIX11.cs: fix #79790 again, by using the
  8625. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  8626. 2006-11-07 Everaldo Canuto <[email protected]>
  8627. * ToolBar.cs: Fix left click checking.
  8628. 2006-11-07 Chris Toshok <[email protected]>
  8629. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  8630. 2006-11-07 Chris Toshok <[email protected]>
  8631. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  8632. PropertyManager unit tests.
  8633. * PropertyManager.cs: make property_name internal.
  8634. 2006-11-07 Chris Toshok <[email protected]>
  8635. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  8636. pass a unit test. Also, don't set image_index to anything in
  8637. response to setting the ImageList property.
  8638. 2006-11-07 Everaldo Canuto <[email protected]>
  8639. * ToolBar.cs: Ignore click events when mouse button is not a
  8640. left button, only accepts other button for dropdown menus.
  8641. Fixes #79854.
  8642. 2006-11-07 Chris Toshok <[email protected]>
  8643. * DataGrid.cs: make the back and parent row buttons a little less
  8644. ugly.
  8645. 2006-11-07 Jackson Harper <[email protected]>
  8646. * TextBoxBase.cs: When converting to Text don't put line breaks in
  8647. for soft line breaks.
  8648. * TextControl.cs: There is an initial "fake" line in the document,
  8649. this is now a soft break line, so that an extra line feed doesn't
  8650. get added to the end of documents.
  8651. 2006-11-07 Chris Toshok <[email protected]>
  8652. [ fix bug #79778 ]
  8653. * CurrencyManager.cs: if the list is readonly, don't bother
  8654. checking if IBindingList.AllowNew is true.
  8655. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  8656. for non-DataRowView datasources.. or rather, make it not crash.
  8657. (DataGridPaintRelationRow): make sure we limit the row painting to
  8658. the area not covered by the row header, and make our cell width at
  8659. least large enough to cover the relation area. This allows grids
  8660. that have relations but no rows to render correctly.
  8661. (DataGridPaintRowContents): same type of changes here.
  8662. (SetDataSource): move back to always calling
  8663. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  8664. navigating back through relations.
  8665. (HitTest): handle the case where we have no cells but have
  8666. relations. Right now we generate a hit in cell 0 of whatever the
  8667. row is, not sure if this is strictly correct, but it works for our
  8668. purposes.
  8669. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  8670. bother doing anything.
  8671. 2006-11-07 Jonathan Pobst <[email protected]>
  8672. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  8673. early version of StatusStrip. Not responsible for eaten
  8674. application or firstborn children.
  8675. 2006-11-06 Chris Toshok <[email protected]>
  8676. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  8677. call GetTabRect with a -1 index. Fixes #79847.
  8678. 2006-11-06 Jackson Harper <[email protected]>
  8679. * TreeNodeCollection.cs: Update scrollbars after clearing.
  8680. 2006-11-06 Chris Toshok <[email protected]>
  8681. * NumericUpDown.cs: fix the ToString method for some unit test
  8682. love.
  8683. 2006-11-06 Chris Toshok <[email protected]>
  8684. * PropertyGrid.cs:
  8685. - set the initial SelectedGridItem if we can.
  8686. - Exclude non-mergable properties only if we're merging > 1
  8687. object. Merging 1 object isn't really merging, obviously.
  8688. - Handle PropertySort.NoSort just like Alphabetical, which is
  8689. wrong of course, but at least gets things on the screen.
  8690. * PropertyGridView.cs:
  8691. - Add method "FindFirstItem" which finds the first property grid
  8692. item, so we can select it by default.
  8693. - make use of GridEntry.CanResetValue.
  8694. - Don't call RedrawBelowItemOnExpansion here anymore, the
  8695. individual GridEntry's will do that.
  8696. - Remove the ITypeDescriptorContextImpl internal class.
  8697. * GridEntry.cs:
  8698. - this class needs to implement ITypeDescriptorContext, as it's
  8699. what MS's PropertyDescriptorGridEntry does, which means we can
  8700. remove the ITypeDescriptorContextImpl internal class from
  8701. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  8702. - keep a reference to our PropertyGridView, and move the call to
  8703. RedrawBelowItemOnExpansion here from PGV. This means
  8704. programmaticly setting Expanded actually does something visible.
  8705. - add a CanResetValue() function which takes into account our
  8706. possibly multiple "selected_objects" in the merged case. Shifting
  8707. PropertyGridView to use this method fixes another unreported
  8708. crasher found running the test for #79829.
  8709. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  8710. is updated to reflect this.
  8711. * CategoryGridEntry.cs: the ctor takes the PGV now.
  8712. 2006-11-06 Jackson Harper <[email protected]>
  8713. * TextControl.cs: These are 1 based.
  8714. * TextBoxBase.cs: When setting the selected text, don't change the
  8715. selected text tags, this is done by ReplaceText, just position the
  8716. cursor at the end of the new text.
  8717. 2006-11-06 Alexander Olk <[email protected]>
  8718. * ListView.cs: Allow label edit only when, when LabelEdit is
  8719. set to true.
  8720. 2006-11-06 Jackson Harper <[email protected]>
  8721. * TextControl.cs: If a suitable wrapping position isn't found,
  8722. just wrap right in the middle of a word.
  8723. 2006-11-06 Alexander Olk <[email protected]>
  8724. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  8725. bug #79820.
  8726. 2006-11-06 Jackson Harper <[email protected]>
  8727. * TreeView.cs: Can't use the VisibleCount property when setting
  8728. scrollbar heights, because this doesn't take into account whether
  8729. or not the horz scrollbar just came visible.
  8730. 2006-11-05 Everaldo Canuto <[email protected]>
  8731. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  8732. activated. Fixes #79369, #79832.
  8733. 2006-11-05 Alexander Olk <[email protected]>
  8734. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  8735. had to remove support for links that point to a directory. FileInfo
  8736. returns no usefull information (means, the directory they point to)
  8737. for such links. Replaced some empty string ("") with String.Empty.
  8738. 2006-11-04 Gert Driesen <[email protected]>
  8739. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  8740. NullReferenceException when attempting to remove node that is not in
  8741. collection. Throw NullReferenceException when null is passed to
  8742. Remove. Allow first element of the collection to be removed. Fixes
  8743. bug #79831. In GetEnumerator ().Current return null if positioned
  8744. before the first element of the collection. In GetEnumerator ().Reset,
  8745. position before first element of the collection.
  8746. 2006-11-04 Gert Driesen <[email protected]>
  8747. * PropertyGrid.cs: To match MS, remove default title and description
  8748. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  8749. buttons.
  8750. 2006-11-04 Chris Toshok <[email protected]>
  8751. * Theme.cs: add a Clamp method, just for kicks.
  8752. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  8753. 2006-11-04 Chris Toshok <[email protected]>
  8754. * Form.cs: if the form isn't visible, Close() does nothing.
  8755. 2006-11-03 Chris Toshok <[email protected]>
  8756. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  8757. Hide it.
  8758. (WndProc): don't Dispose after handling the WM_CLOSE message.
  8759. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  8760. them as such, instead of using casts from Control to Form. Also,
  8761. don't Dispose of the modal dialog when we fall out of the loop -
  8762. Close() it instead.
  8763. fixes bug #79813.
  8764. 2006-11-03 Chris Toshok <[email protected]>
  8765. * Control.cs (Dispose): only go through the dispose thing if we're
  8766. @disposing, and we haven't already been disposed. Fixes bug
  8767. #79814.
  8768. * Form.cs: no reason to call "base.Dispose()" here instead of
  8769. "Dispose()".
  8770. 2006-11-03 Mike Kestner <[email protected]>
  8771. * ComboBox.cs : use ToString instead of casts in AddItem for
  8772. sorting functionality. Fixes #79812.
  8773. 2006-11-03 Chris Toshok <[email protected]>
  8774. * Application.cs: pave the way for actually using the thread
  8775. exception dialog. it's ifdefed out at the moment.
  8776. 2006-11-03 Chris Toshok <[email protected]>
  8777. * ThreadExceptionDialog.cs: until we get a better layout, actually
  8778. hide the details textbox and label when we shouldn't see them.
  8779. 2006-11-03 Jackson Harper <[email protected]>
  8780. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  8781. multiline textboxes anymore. This method also determines the
  8782. width/height of a textboxes canvas area.
  8783. - Sorta a revert of the last patch. For multiline just position
  8784. the controls, then bail. This way the scrollbar width won't be
  8785. altered.
  8786. 2006-11-03 Everaldo Canuto <[email protected]>
  8787. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  8788. it dont need. Fixes #79537.
  8789. 2006-11-02 Jackson Harper <[email protected]>
  8790. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  8791. send the status after firing the DndOver event.
  8792. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  8793. * TrackBar.cs: Now orientation only switches height / width if
  8794. the control's handle is created (Win32 does it like this). Also
  8795. fixed a typo in ToString() for a test to pass, changed the
  8796. exception thrown in set_LargeChange and set_SmallChange to
  8797. match Win32 behaviour, and added TrackBar tests to the unit
  8798. tests.
  8799. 2006-11-02 Chris Toshok <[email protected]>
  8800. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  8801. not _NET_WM_STATE_NO_TASKBAR.
  8802. 2006-11-02 Jackson Harper <[email protected]>
  8803. * TextControl.cs: Increment count by one, since in the update view
  8804. count - 1 is used.
  8805. 2006-11-02 Jackson Harper <[email protected]>
  8806. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  8807. the mouse is in the client rectangle (duh).
  8808. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  8809. * TrackBar.cs: Fixed trackbar jumping around when clicking
  8810. on it - the trackbar was not detecting correctly at which
  8811. side of the thumb the click was done. (fixes #79718)
  8812. 2006-11-02 Everaldo Canuto <[email protected]>
  8813. * ListBox.cs: scroll visible area when change SelectedIndex to
  8814. a non visible area. Fixes #79481.
  8815. 2006-11-01 Jackson Harper <[email protected]>
  8816. * TextControl.cs: When replacing the selection move the selection
  8817. start/end/anchor to the end of the new text.
  8818. 2006-11-01 Jackson Harper <[email protected]>
  8819. * XplatUIWin32.cs: When setting the parent change the controls
  8820. visibility to it's visibility flag, not to it's old parents
  8821. visibility (.Visible walks the parent chain).
  8822. 2006-11-01 Chris Toshok <[email protected]>
  8823. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  8824. XSetTransientForHint fix breaks paint .net's tool windows. more
  8825. work needed for that one.
  8826. 2006-11-01 Chris Toshok <[email protected]>
  8827. * ScrollBar.cs: throw ArgumentException instead of Exception in
  8828. LargeChange/SmallChange setters. fixes unit tests.
  8829. 2006-10-31 Andreia Gaita <[email protected]>
  8830. * ContainerControl.cs: reverted rev.67183 (which was itself
  8831. a reversion of rev.66853... eh).
  8832. * Control.cs: Fixes Reflector hang by changing Focus() call
  8833. to what it was before rev.66643 (calling Select() here sets
  8834. ActiveControl, which in some situations calls back Focus and
  8835. eventually does a stack overflow). Temp fix.
  8836. Changes to GetNextControl() to not look for children to select when
  8837. parent cannot be selectable (so it looks for siblings instead)
  8838. 2006-10-31 Mike Kestner <[email protected]>
  8839. * CheckedListBox.cs : off by one error in returned index from
  8840. ObjectCollection.Add. Fixes #79758.
  8841. 2006-10-31 Chris Toshok <[email protected]>
  8842. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  8843. calls for the textbox/spinner, to keep from recursing to the point
  8844. where we crash. Fixes #79760.
  8845. 2006-10-31 Chris Toshok <[email protected]>
  8846. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  8847. null/"" value, just return. matches ms's behavior and fixes some
  8848. failing tests.
  8849. 2006-10-31 Chris Toshok <[email protected]>
  8850. * Control.cs (set_Capture): make a logic a little easier to
  8851. follow.
  8852. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  8853. if it's being destroyed. A necessary fix surely, but a bandaid
  8854. also, to fix the stuck capture problem in bug #78413.
  8855. 2006-10-31 Chris Toshok <[email protected]>
  8856. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  8857. convention of clearing hwnd.ClientRect when we set the
  8858. width/height (so it'll be recalculated by Hwnd).
  8859. 2006-10-31 Andreia Gaita <[email protected]>
  8860. * ContainerControl.cs: reversed Contains check from
  8861. ActiveControl due to hanging problems. This fix
  8862. partly regresses #79667 (button does not have
  8863. initial focus), so this might be a symptom for
  8864. a larger parenting problem (set_ActiveControl
  8865. is being called but the child control does
  8866. not have the parent set yet?)
  8867. 2006-10-31 Mike Kestner <[email protected]>
  8868. * MenuAPI.cs : fix keynav when menu is click activated.
  8869. 2006-10-31 Jonathan Pobst <[email protected]>
  8870. * ToolStrip*: Version 0.2.
  8871. * MenuStrip.cs: Version 0.1.
  8872. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  8873. 2006-10-30 Chris Toshok <[email protected]>
  8874. [ fixes the oversized notify icon issue in bug #79745 ]
  8875. * NotifyIcon.cs: scale the icon down to the size we're given by
  8876. the XplatUI layer (this would be faster if we did it once instead
  8877. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  8878. since it's never invoked.
  8879. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  8880. pixels high by default, so let's hardcode our systray icon to that
  8881. size. The SYSTEM_TRAY protocol should really have a way for
  8882. client apps to query for the correct icon size.. but oh well. A
  8883. couple of patches to deal with the screwy client_window ==
  8884. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  8885. instance, and also make sure we don't XSelectInput twice).
  8886. 2006-10-30 Chris Toshok <[email protected]>
  8887. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  8888. recreating forms. Control recreation is the bane of my existence.
  8889. Fix it in a way that keeps everyone happy.
  8890. 2006-10-30 Chris Toshok <[email protected]>
  8891. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  8892. just non-CHILD ones. otherwise sometimes scrollbars end up with
  8893. client_windows not being resized to the proper size (ReportBuilder
  8894. shows this extremely well).
  8895. 2006-10-30 Chris Toshok <[email protected]>
  8896. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  8897. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  8898. showing up in the gnome taskbar. Fixes bug #79790.
  8899. 2006-10-30 Chris Toshok <[email protected]>
  8900. * ApplicationContext.cs: guard against a NRE.
  8901. * Application.cs: null out the old MainForm for the context, so we
  8902. don't try to use it again once it's disposed. Fixes bug #79783.
  8903. 2006-10-30 Chris Toshok <[email protected]>
  8904. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  8905. BindingContext, set the data source directly, otherwise do the
  8906. lazy approach - the actual ListManager will be created when we get
  8907. a BindingContext. Fixes bug #79700.
  8908. 2006-10-30 Jonathan Pobst <[email protected]>
  8909. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8910. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  8911. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  8912. 2006-10-30 Jonathan Pobst <[email protected]>
  8913. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  8914. of SetVisible that allows a window to be shown, but not activated.
  8915. This is needed on Windows for MenuStrip, and can probably be used
  8916. with MainMenu and ComboBox to fix the focus stealing issues on
  8917. Windows.
  8918. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  8919. 2006-10-30 Alexander Olk <[email protected]>
  8920. * PictureBox.cs: Fix the output of the ToString method.
  8921. 2006-10-29 Chris Toshok <[email protected]>
  8922. * Control.cs (get_TopLevelControl): fix bug #79781.
  8923. 2006-10-29 Chris Toshok <[email protected]>
  8924. * ListControl.cs (set_DataSource): throw Exception here, not
  8925. ArgumentException, to match MS behavior.
  8926. 2006-10-29 Chris Toshok <[email protected]>
  8927. * Form.cs: remove the try-catch's around calls to GetWindowState.
  8928. We can just check the return value.
  8929. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  8930. Instead return -1.
  8931. * XplatUI.cs: Add note about additional return value for
  8932. GetWindowState.
  8933. 2006-10-29 Chris Toshok <[email protected]>
  8934. * Control.cs (CreateHandle): when we create our handle, we also
  8935. create the handles of our child controls. Fixes one of the
  8936. Control unit tests (CH11).
  8937. 2006-10-28 Alexander Olk <[email protected]>
  8938. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  8939. 2006-10-28 Alexander Olk <[email protected]>
  8940. * ThemeClearlooks.cs: A little speedup.
  8941. 2006-10-27 Chris Toshok <[email protected]>
  8942. * Control.cs: implement Control.FromChildHandle in a way that
  8943. matches the docs (and fixes the failed test.)
  8944. 2006-10-27 Chris Toshok <[email protected]>
  8945. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  8946. comments).
  8947. * DataGrid.cs: implement ResetForeColor such that the tests
  8948. succeed.
  8949. 2006-10-27 Chris Toshok <[email protected]>
  8950. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  8951. being set to "". Fixes bug #79759.
  8952. 2006-10-27 Jackson Harper <[email protected]>
  8953. * TextControl.cs: We need to clear the entire selection area when
  8954. setting the start, otherwise multiline selections are still
  8955. visible.
  8956. 2006-10-26 Chris Toshok <[email protected]>
  8957. * PropertyGridView.cs:
  8958. - ifdef all the code specific to the double
  8959. buffer case, and provide some alternatives in the non-doublebuffer
  8960. code, which makes heavy use of XplatUI.ScrollWindow to move things
  8961. around without having to invalidate (and cause flicker). There
  8962. are still some drawing problems in the non-doublebuffered case, so
  8963. DOUBLEBUFFER is defined by default.
  8964. - Fix the way dropdowns are handled. now we explicitly watch for
  8965. the events which might cause the dropdown to close, and break out
  8966. of the nested event loop there. This gets rid of all Capture
  8967. code, at the expense of the Msg special casing. Seems to work,
  8968. though, and fixes bug #79743.
  8969. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  8970. * Control.cs: SetIsRecreating now recreates implicitly added
  8971. child controls as well. Finally fixes #79629. The flag passed to
  8972. SetIsRecreating has also been removed since it wasn't used.
  8973. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  8974. * PageSetupDialog.cs: Clean some code, fix some bits,
  8975. add some checks, and add a printer sub-dialog.
  8976. 2006-10-26 Chris Toshok <[email protected]>
  8977. * PropertyGrid.cs: make set_SelectedObject call
  8978. set_SelectedObjects, and move the duplicate logic to the
  8979. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  8980. * PropertyGridView.cs: hide the textbox when we get a
  8981. SelectedObjectsChanged event.
  8982. Fixes bug #79748.
  8983. 2006-10-26 Chris Toshok <[email protected]>
  8984. * PropertyGridView.cs: deal with the type converter not supporting
  8985. GetStandardValues() or GetStandardValues() returning null, which
  8986. is does in the default case. Fixes #79742.
  8987. 2006-10-25 Andreia Gaita <[email protected]>
  8988. * CheckedListBox.cs: nunit no longer crashes when selecting
  8989. Project/Edit menu option
  8990. 2006-10-25 Andreia Gaita <[email protected]>
  8991. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  8992. is no menu selected. fixes #79739
  8993. 2006-10-25 Chris Toshok <[email protected]>
  8994. * PropertyGridView.cs: factor out the splitter invalidation code
  8995. into the SplitterPercent setter, and for kicks implement the
  8996. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  8997. amount in either direction.
  8998. 2006-10-25 Chris Toshok <[email protected]>
  8999. * PropertyGridView.cs: do some cleanup of the brush used to draw
  9000. text - read only fields should be grayed out. not sure how to do
  9001. this with the textbox, though. but the textbox's should also be
  9002. readonly now at least. Also, hide/show the textbox when resizing
  9003. the control.
  9004. * CursorConverter.cs: use System.Reflection when getting the
  9005. properties of Cursors, as TypeDescriptor.GetProperties isn't
  9006. returning static properties.
  9007. 2006-10-25 Chris Toshok <[email protected]>
  9008. * PropertyGridView.cs: factor out the up/down handling, and reuse
  9009. it for page up/down. also add End/Home support.
  9010. 2006-10-25 Chris Toshok <[email protected]>
  9011. * PropertyGridView.cs:
  9012. - ensure the selected grid item is visible in the scrolled area,
  9013. fixes bug #79572.
  9014. - fix Keys.Down handling when you're on the last item in the
  9015. propertygrid.
  9016. 2006-10-25 Mike Kestner <[email protected]>
  9017. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  9018. clicks too. Fixes #79725.
  9019. 2006-10-24 Chris Toshok <[email protected]>
  9020. * PropertyGrid.cs: use property.Converter instead of
  9021. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  9022. TypeConverters declared on the property as well as on the
  9023. PropertyType. Fixes bug #79678.
  9024. 2006-10-24 Alexander Olk <[email protected]>
  9025. * MimeIcon.cs, Mime.cs:
  9026. Fallback to the default platform handler if no shared mime info
  9027. stuff exists (fixes #79693).
  9028. 2006-10-20 Andreia Gaita <[email protected]>
  9029. * ContainerControl.cs: Incorrect contains check in ActiveControl
  9030. from previous fix (duh).
  9031. 2006-10-20 Chris Toshok <[email protected]>
  9032. * PropertyGridView.cs: the dropdown should be MIN(number of items
  9033. in list, 15). Fixes #79551.
  9034. 2006-10-20 Andreia Gaita <[email protected]>
  9035. Fixes #79384, #79394, #79652, #79667
  9036. * Application.cs:
  9037. - Modal windows are now destroyed in the proper order for windows
  9038. * ContainerControl.cs:
  9039. - ActiveControl setter has more conditions on when to return:
  9040. - if we're reselecting the active control, but it actually
  9041. didn't have focus (window hidden or some such), it runs
  9042. - if the active control being selected doesn't actually
  9043. exist in the container, it returns
  9044. * Form.cs
  9045. - The ShowDialog now gets the current form as the owner when
  9046. invoking without parameters, and correctly activates the owner
  9047. when returning
  9048. * MessageBox.cs
  9049. - MessageBox now catches the Escape key to exit
  9050. 2006-10-20 Chris Toshok <[email protected]>
  9051. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  9052. most of bug #79676):
  9053. - you can navigate around the property grid with the arrow keys.
  9054. - the dropdown is sized properly when the pg has a vertical
  9055. scrollbar.
  9056. - fix the indentation for subentries, and properly select the
  9057. entire label rect.
  9058. - fix the gray bar's drawing (only draw it to the last element,
  9059. not for the height of the control. Also make sure we draw that
  9060. last horizontal grid line.
  9061. - use the same mechanism the datagrid uses wrt the editing textbox
  9062. when scrolling/resizing/etc. Namely, we hide it first, do the
  9063. operation, then show it again (if it's still visible).
  9064. - aggressively remove a lot of unnecessary refreshes (and also
  9065. calls to Invalidate(). call more limited variants, and only redraw
  9066. what we need.)
  9067. * PropertyGrid.cs:
  9068. - when we're populating the merged collection, fill in the UI
  9069. parent with either the passed in item, or the category item we
  9070. create.
  9071. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  9072. * GridItem.cs: drop some fully qualified names.
  9073. * GridEntry.cs: add a "UIParent", which is basically the parent
  9074. treenode.
  9075. * GridItemCollection.cs: add an IndexOf method.
  9076. 2006-10-20 Mike Kestner <[email protected]>
  9077. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  9078. a working win32 NC invalidation mechanism, we can't invalidate
  9079. menus. [Fixes #79705]
  9080. 2006-10-20 Mike Kestner <[email protected]>
  9081. * ListBox.cs : don't update the VScrollbar if the list is empty,
  9082. just hide it. [Fixes #79692]
  9083. 2006-10-20 Jackson Harper <[email protected]>
  9084. * RichTextBox.cs: Handle some special chars better, and don't skip
  9085. the entire group when we encounter a special char that we don't
  9086. handle correctly.
  9087. 2006-10-18 Chris Toshok <[email protected]>
  9088. * PropertyGridView.cs: address a number of issues from bug #79676,
  9089. mostly of the cosmetic variety.
  9090. - The highlight rectangle for indented items not extends all the
  9091. way to the left.
  9092. - Indented items aren't indented so much.
  9093. - the dropdown is properly sized width-wise if the pg has a
  9094. vertical scrollbar.
  9095. 2006-10-18 Chris Toshok <[email protected]>
  9096. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  9097. systray stuff is rather convoluted to begin with.
  9098. systray icons are a single window for some reason (that I haven't
  9099. figured out yet), and for them, client_window == whole_window.
  9100. Given the way the tests are structured elsewhere to determine
  9101. which paints are pending (client vs. nc), that situation will
  9102. always yield PAINT, not NCPAINT. So, if we have a pending
  9103. nc_expose and no pending expose, remove the hwnd from the paint
  9104. queue, and also set nc_expose_pending to false, to keep us from
  9105. blocking further expose's adding the hwnd to the paint queue.
  9106. phew. like i said, a rather convoluted change. Fixes the
  9107. notifyicon repaint issues in bug #79645.
  9108. 2006-10-18 Chris Toshok <[email protected]>
  9109. * Form.cs: when getting the backcolor of the form, don't get
  9110. base.BackColor, as this allows parents to influence the background
  9111. color. This breaks mdi forms. Instead, if the background_color
  9112. is empty, return the default.
  9113. 2006-10-18 Chris Toshok <[email protected]>
  9114. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  9115. to being private instead of internal static.
  9116. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  9117. crap, it wasn't working for more deeply nested controls anyway,
  9118. and we already have the is_recreating flag - use that instead.
  9119. Before calling DestroyHandle in RecreateHandle, recurse through
  9120. the control tree setting it to true. this returns the recreate
  9121. code to much of its original simplicity, while now guaranteeing we
  9122. actually recreate everything we're supposed to. This change gets
  9123. fyireporting actually showing mdi children.
  9124. 2006-10-17 Chris Toshok <[email protected]>
  9125. * Form.cs: remove some debug spew, and collapse some duplicate
  9126. code at the end of SetClientSizeCore.
  9127. * XplatUIX11.cs:
  9128. - add some more debug spew here too wrt Destroy handling.
  9129. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  9130. in Control's handling of WM_DESTROY.
  9131. - Remove the handling of zombie window DestroyNotifies from the
  9132. event loop - we don't need it. Now the only DestroyNotifies we
  9133. actually handle are ones generated by X.
  9134. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  9135. match gtk's (functioning) handling of this. This keep metacity
  9136. from leaving droppings in the form of wm borders with no window
  9137. contents all over the place.
  9138. * Control.cs:
  9139. - add a bunch of debug spew wrt control recreation.
  9140. - fix a bug where we weren't tracking Visible properly on
  9141. recreated hwnds.
  9142. - fixed the WM_PAINT double buffer handling to support re-entrant
  9143. calls (yes, i know it's gross, but it's happening to us).
  9144. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  9145. * ThemeWin32Classic.cs: changed drawing of selected days
  9146. to make them look better.
  9147. 2006-10-16 Chris Toshok <[email protected]>
  9148. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  9149. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  9150. * XplatUIX11.cs: move away from using hwnd.client_dc and
  9151. hwnd.non_client_dc and on to a stack of dc's (and in window's
  9152. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  9153. without puking or not disposing of Graphics objects.
  9154. * XplatUIOSX.cs: same.
  9155. * XplatUIWin32.cs: same.
  9156. 2006-10-03 Alexander Olk <[email protected]>
  9157. * FileDialog.cs: Don't call on_directory_changed inside
  9158. OnSelectedIndexChanged (it changes the SelectedIndex too).
  9159. Instead move it to OnSelectionChangeCommitted.
  9160. 2006-10-13 Chris Toshok <[email protected]>
  9161. * XplatUIX11.cs: more Destroy work. the current code does the
  9162. following things, in order:
  9163. 1. Enumerates all handles of all controls at or below the one
  9164. being destroyed, in pre-order. As it is doing this, it marks the
  9165. handles as zombie and clears all references to them.
  9166. 2. calls XDestroyWindow on the window passed in.
  9167. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  9168. list.
  9169. 2006-10-13 Chris Toshok <[email protected]>
  9170. * XplatUIX11.cs: set hwnd.zombie to true before calling
  9171. SendMessage (WM_DESTROY). this keeps us from marking the new
  9172. window a zombie, and also keeps us from calling sendmessage at
  9173. all.
  9174. 2006-10-13 Jackson Harper <[email protected]>
  9175. * TextControl.cs: Do not show the caret and selection at the same
  9176. time. Reduces ugliness by 35%.
  9177. 2006-10-13 Chris Toshok <[email protected]>
  9178. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  9179. zombie after we do the recursive call, so we actually do call
  9180. SendMessage on the children controls.
  9181. (GetMessage): if we find a pending paint event for a zombie hwnd,
  9182. remove the hwnd from the paint queue, or else it will always be
  9183. there (and we'll effectively loop infinitely)
  9184. 2006-10-13 Mike Kestner <[email protected]>
  9185. * MenuItem.cs : add Selected format under keynav too.
  9186. Fixes #79528.
  9187. 2006-10-13 Gert Driesen <[email protected]>
  9188. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  9189. implementation and that of MS.
  9190. 2006-10-13 Chris Toshok <[email protected]>
  9191. * Control.cs (OnInvalidated) only futz with the invalid_region if
  9192. the control is double buffered. this fixes the apparent hang in
  9193. the ListView unit tests. Someone needs to make the
  9194. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  9195. 2006-10-13 Chris Toshok <[email protected]>
  9196. * PropertyGridView.cs:
  9197. - do a little refactoring so that only one place calls
  9198. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  9199. else call that. Also make it Refresh, since there are redraw bugs
  9200. otherwise (we should take a look at that...)
  9201. - do a little more refactoring work to share the body of code
  9202. involved with the drop down. it was duplicated in the code
  9203. dealing with the listbox handling and in the code dealing with the
  9204. UITypeEditors.
  9205. - add a Capture to the dropdown form's control once it's
  9206. displayed, and add a MouseDown handler that checks to make sure
  9207. the position is inside the control. If it's not, close the
  9208. dropdown. This fixes #78190.
  9209. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  9210. if the value is different than the initial value.
  9211. 2006-10-13 Andreia Gaita <[email protected]>
  9212. * Control.cs: see #78650
  9213. - Fixed GetNextControl for several cases:
  9214. - Changed FindFlatForward to return
  9215. correct sibling control when more than one
  9216. control has same TabIndex as the currently
  9217. focused one.
  9218. - Changed FindFlatBackward to loop children
  9219. from last to first and apply same logic as in
  9220. FindFlatForward
  9221. - Changed FindControlForward to search for
  9222. children when control is not a container
  9223. but has children, or search for siblings if
  9224. control is a container...
  9225. - Changed FindControlBackward to continue
  9226. searching for child controls when hitting
  9227. Panel-like parents
  9228. - Fixed Focus method to update ActiveControl
  9229. (FocusTest.FocusSetsActive failure)
  9230. * TabControl.cs:
  9231. - Focus rectangle now refreshes when gaining
  9232. or losing focus
  9233. - Removed grab for Tab key on IsInputKey that
  9234. was keeping tab navigation from working (#78650)
  9235. 2006-10-13 Chris Toshok <[email protected]>
  9236. * PropertyGridView.cs:
  9237. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  9238. SelectedObjects.
  9239. - Deal with GridItem.Value == null a few places.
  9240. * PropertyGrid.cs:
  9241. - replace the PopulateGridItemCollection with a pair of methods
  9242. which compute the intersection of all the properties in the
  9243. SelectedObjects array. Fixes #79615.
  9244. - Throw ArgumentException from set_SelectedObjects if there's a
  9245. null in the array.
  9246. - Add GetTarget method which can be used to traverse up the
  9247. GridItem.Parent chain. It depends on the assumption that
  9248. selected_objects for different GridEntries are always in the same
  9249. order (a safe assumption). Use this method and loop over all the
  9250. selected objects in the entry when calling RemoveValueChanged and
  9251. AddValueChanged.
  9252. * GridEntry.cs: Make this handle multiple selected objects.
  9253. .Value returns null if not all the selected objects share the same
  9254. value.
  9255. 2006-10-12 Jonathan Pobst <[email protected]>
  9256. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  9257. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  9258. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  9259. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  9260. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  9261. add additional functionality.
  9262. 2006-10-12 Mike Kestner <[email protected]>
  9263. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  9264. * HelpProvider.cs : new ToolTipWindow ctor sig.
  9265. * ToolTip.cs : remove ToolTip param from Window sig since it is
  9266. not used.
  9267. * ToolBar.cs : add tooltip support. Fixes #79565.
  9268. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  9269. * ComboBox.cs: move the events in set_SelectedIndex to
  9270. after the call to HighlightIndex in order to avoid
  9271. possible recursion and subsequent problems with the call
  9272. to HighlightIndex and include a range check in
  9273. set_HighlightIndex. Fixes #79588
  9274. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  9275. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  9276. to ui thread's settings instead of sunday.
  9277. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  9278. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  9279. * DateTimePicker.cs
  9280. * MonthCalendar.cs
  9281. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  9282. and implement missing functionality (selecting different parts
  9283. of the date and edit them individually with the keyboard).
  9284. 2006-10-11 Chris Toshok <[email protected]>
  9285. * Control.cs (OnInvalidated): fix NRE relating to last change.
  9286. 2006-10-11 Chris Toshok <[email protected]>
  9287. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  9288. atoms in _NET_WM_STATE here if the window is maximized. We need
  9289. to do this because we're *replacing* the existing _NET_WM_STATE
  9290. property, so those atoms will be lost otherwise, and any further
  9291. call to GetWindowState will return Normal for a window which is
  9292. actually maximized. Fixes #79338.
  9293. 2006-10-11 Jackson Harper <[email protected]>
  9294. * TextControl.cs: Special case for setting selection end to
  9295. selection start, we basically kill the anchor.
  9296. - some todo comments.
  9297. 2006-10-11 Chris Toshok <[email protected]>
  9298. * Control.cs: switch to using an "invalid_region" to track which
  9299. parts of the image buffer need updating. This is more code than
  9300. the simple fix from r66532. That version just attempted to always
  9301. fill the entire buffer on redraw, which turns out to be
  9302. inefficient when invalidating small rectangles. This version
  9303. simply adds the invalid rectangle to the invalid region. When we
  9304. get any WM_PAINT message we see if it can be filled using the
  9305. image buffer, and if it can't (if the paint event's clip rectangle
  9306. is visible in the invalid region) we first fill the image buffer.
  9307. So, the image buffer is still a cache, we just fill it lazily.
  9308. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  9309. need it any longer.
  9310. 2006-10-11 Chris Toshok <[email protected]>
  9311. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  9312. well as size after calling XMoveResizeWindow. This keeps us from
  9313. ignoring future SetWindowPos calls. Fixes the disappearing
  9314. DateTimePicker in the ToolBarDockExample from bug #72499.
  9315. 2006-10-11 Chris Toshok <[email protected]>
  9316. * TextBoxBase.cs: reorder things a bit when it comes to
  9317. resizing-causing-recalculation. we were recalculating the
  9318. document when our position was changed, which shouldn't happen.
  9319. We only care about size changes. Clear up some more redundant
  9320. recalculation calls while I'm at it. This makes the toolbar dock
  9321. example snappy when you're just dragging toolbars around (since it
  9322. causes a relayout whenever you move one.)
  9323. 2006-10-11 Chris Toshok <[email protected]>
  9324. * ToolBarButton.cs (get_Rectangle): this only returns
  9325. Rectangle.Empty if Visible == false, or Parent == null.
  9326. Parent.Visible doesn't matter.
  9327. 2006-10-10 Chris Toshok <[email protected]>
  9328. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  9329. by .net 1.1, so switch to an internal method instead.
  9330. 2006-10-10 Chris Toshok <[email protected]>
  9331. * Control.cs (WM_PAINT): when a control is double buffered we draw
  9332. initially to the ImageBuffer and then copy from there. But when a
  9333. parent control which has child controls is double buffered, the
  9334. initial drawing doesn't encompass the entire ClientRectangle of
  9335. the parent control, so we end up with uninitialized bits (this is
  9336. easily seen by dragging the top toolbar in
  9337. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  9338. manually set the ClipRectangle of the paint_event (only the one we
  9339. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  9340. of the nastiness in bug #72499.
  9341. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  9342. which we use in Control.cs's WM_PAINT handling.
  9343. 2006-10-10 Jackson Harper <[email protected]>
  9344. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  9345. 2006-10-10 Chris Toshok <[email protected]>
  9346. * Cursor.cs: Apply a slightly different patch to the one suggested
  9347. in #79609.
  9348. 2006-10-10 Jackson Harper <[email protected]>
  9349. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  9350. not the parent form.
  9351. * TextControl.cs: use difference in old line count vs new count to
  9352. calculate how many lines were added, this takes into account soft
  9353. line breaks properly.
  9354. 2006-10-10 Chris Toshok <[email protected]>
  9355. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  9356. rectangle located at 0,0 and the size of the text. Use
  9357. ClientRectangle instead. This fixes rendering of non-left aligned
  9358. link labels.
  9359. 2006-10-10 Jackson Harper <[email protected]>
  9360. * TextBoxBase.cs: When we set the selection start position the
  9361. caret.
  9362. * TextControl.cs: Need to update the caret when we decrement it to
  9363. zero.
  9364. - Make sure that the selection_visible flag gets reset to false if
  9365. the selection isn't visible. Before this you could get it set to
  9366. visible by changing the selection start, then changing the end to
  9367. equal the start.
  9368. 2006-10-09 Jackson Harper <[email protected]>
  9369. * TreeView.cs: Don't update scrollbars when we aren't visible.
  9370. * TreeNodeCollection.cs: Only need to update scrollbars if being
  9371. added to an expanded visible node or the root node.
  9372. 2006-10-09 Chris Toshok <[email protected]>
  9373. * XplatUIX11.cs (SendMessage): fix NRE.
  9374. 2006-10-09 Jackson Harper <[email protected]>
  9375. * TextBoxBase.cs: Implement horizontal autoscrolling.
  9376. * TextControl.cs: Add a movement types that allows moving forward
  9377. and backwards without wrapping.
  9378. 2006-10-09 Mike Kestner <[email protected]>
  9379. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  9380. with focus "expansion" of labels. Fixes #79532 and then some.
  9381. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  9382. when wrapping.
  9383. 2006-10-09 Jackson Harper <[email protected]>
  9384. * TextBoxBase.cs: Set the default max values to MaxValue since
  9385. we use the scrollbar for autoscrolling and the default value is
  9386. 100. If we don't do this the caret won't keep up with typing
  9387. after about 18 characters.
  9388. * TextControl.cs: Make sure the selection is offset by the
  9389. viewport x. This fixes selection when using auto scrolling.
  9390. 2006-10-07 Andreia Gaita <[email protected]>
  9391. * Form.cs: The active control should be selected after the
  9392. OnLoad so that any child control initialization that affects
  9393. the selection is done. Fixes #79406
  9394. 2006-10-06 Chris Toshok <[email protected]>
  9395. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  9396. to have no evil effects.
  9397. - Stop selecting StructureNotifyMask on non-toplevel windows.
  9398. The only way children should be resized is by using the SWF api,
  9399. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  9400. Toplevel windows can be interacted with via the window manager,
  9401. and so we keep the input mask there.
  9402. The other event StructureNotifyMask gives us (that we care
  9403. about) is DestroyNotify. The code is already structured such
  9404. that it assumes we won't be getting a DestroyNotify event for
  9405. the window we pass to XDestroyWindow (which is what
  9406. StructureNotifyMask is supposed to guarantee.) So, that code
  9407. shouldn't be affected by this either.
  9408. - Stop selecting VisibilityChangeMask altogether.
  9409. We weren't doing anything with the resulting events anyway.
  9410. This vastly reduces the number of X requests and events we see
  9411. when resizing/laying out a large ui.
  9412. 2006-10-06 Chris Toshok <[email protected]>
  9413. * ScrollableControl.cs (DisplayRectangle): we need to take into
  9414. account the DockPadding regardless of whether or not auto_scroll
  9415. == true. rework this slightly to this effect, and fix bug #79606,
  9416. and part of #72499 (you can now see the drag handles and drag
  9417. toolbars around).
  9418. 2006-10-06 Gert Driesen <[email protected]>
  9419. * ListViewItem.cs: Collections of selected and checked items are now
  9420. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  9421. we mark the collection "dirty".
  9422. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  9423. to only clear SelectedItems when a new item is selected and MultiSelect
  9424. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  9425. event of ListViewItemCollection, and mark its list dirty whenever
  9426. that event is fire. This allows us to return selected/checked items
  9427. in the same order as they are in the Items collection. This matches
  9428. the MS behavior.
  9429. 2006-10-06 Chris Toshok <[email protected]>
  9430. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  9431. right mouse clicks. Fixes bug #79593.
  9432. 2006-10-06 Chris Toshok <[email protected]>
  9433. * Splitter.cs: doh, fix splitters that don't want to cancel the
  9434. movement when you drag them. Also, impose the limits on the
  9435. values we send to the SplitterMovingEvent. Fixes #79598.
  9436. 2006-10-06 Jackson Harper <[email protected]>
  9437. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  9438. since we use this for auto scrolling also.
  9439. 2006-10-05 Chris Toshok <[email protected]>
  9440. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  9441. beginning to think that most datagrid column types don't need this
  9442. method. Fixes bug #79392.
  9443. 2006-10-05 Chris Toshok <[email protected]>
  9444. * DataGrid.cs: move back to a more lazy scheme for creating the
  9445. CurrencyManager, so we aren't updating it every time you set
  9446. either DataSource or DataMember. Also, don't call
  9447. RecreateDataGridRows if the currency manager hasn't changed.
  9448. 2006-10-05 Chris Toshok <[email protected]>
  9449. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  9450. emitted, SelectedIndex should already be updated. Fixes bug
  9451. #78929.
  9452. 2006-10-05 Jonathan Pobst <[email protected]>
  9453. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  9454. ToolStripTextBox.cs: Initial commit.
  9455. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  9456. 2006-10-05 Jackson Harper <[email protected]>
  9457. * TabControl.cs: We need to invalidate the tab control area when
  9458. new ones are added (duh).
  9459. 2006-10-03 Chris Toshok <[email protected]>
  9460. * Form.cs (ProcessDialogKey): if the focused control is in this
  9461. form and is a button, call its PerformClick method here. Fixes
  9462. #79534.
  9463. 2006-10-04 Jackson Harper <[email protected]>
  9464. * TabPage.cs: Ignore setting of Visible, and add an internal
  9465. method for setting the controls visibility. TabPage's Visible
  9466. property is a little strange on MS, this seems to make us
  9467. compatible, and fixes cases where people set all the tab pages to
  9468. visible.
  9469. * TabControl.cs: Use the new internal setting on tab pages
  9470. visibility.
  9471. 2006-10-03 Mike Kestner <[email protected]>
  9472. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  9473. 2006-10-03 Mike Kestner <[email protected]>
  9474. * ListView.cs : use is_visible instead of Visible to check if
  9475. scrollbars should be placed/sized. Also some max_wrap_width
  9476. love for LargeIcon view. [Fixes #79533]
  9477. 2006-10-03 Atsushi Enomoto <[email protected]>
  9478. * TextControl.cs :
  9479. Make set_TextAlign() do actually update the align. Fixed #78403.
  9480. 2006-10-03 Chris Toshok <[email protected]>
  9481. * DataGrid.cs: fix a crash when switching datasources if the
  9482. vertical scrollbar is at someplace other than Value = 0. Also,
  9483. reduce the number of recalculation passes we do in SetDataSource
  9484. from 2 to 1.
  9485. 2006-10-03 Jackson Harper <[email protected]>
  9486. * TextBoxBase.cs: Move the if value the same bail check up, we
  9487. don't want to empty the document if it is already empty, this
  9488. seems to severly mess up the caret. TODO: I should probably fix
  9489. the empty statement to update teh caret somehow.
  9490. 2006-10-03 Chris Toshok <[email protected]>
  9491. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  9492. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  9493. reflection, an internal row type, properties on said type, etc.)
  9494. will work with our datagrid. Fixes #79531.
  9495. 2006-10-03 Alexander Olk <[email protected]>
  9496. * FileDialog.cs: Don't crash if a path is not accessible
  9497. (System.UnauthorizedAccessException). Fixes #79569.
  9498. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  9499. a ':' too. Return unknown icon for those paths/files.
  9500. 2006-10-03 Sebastien Pouliot <[email protected]>
  9501. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  9502. GetContainerControl returns null.
  9503. 2006-10-02 Chris Toshok <[email protected]>
  9504. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  9505. call to XGetWindowAttributes instead of "handle". fixes an X
  9506. error using notifyicon after the NotifyIconWindow to Form base
  9507. class switch.
  9508. 2006-10-02 Chris Toshok <[email protected]>
  9509. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  9510. server grab and looping we need to do to get down to the most
  9511. deeply nested child window.
  9512. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  9513. QueryPointer again after the WarpPointer so we can generate a
  9514. proper (fake) MotionNotify event to be enqueued in the destination
  9515. window's queue.
  9516. (GetCursorPos): call QueryPointer.
  9517. Fixes #79556.
  9518. 2006-10-02 Jackson Harper <[email protected]>
  9519. * NotifyIcon.cs: Derive the notify icon from a form, so things
  9520. like FindForm work on it.
  9521. - Swallow the WM_CONTEXTMENU message, since that is generated on
  9522. mouse down, and context menu is a mouse up kinda guy. I believe
  9523. the correct fix here is probably to make the notify icon entirely
  9524. NC area, but this seems to work fine for anyone not manipulating
  9525. WndProc.
  9526. 2006-10-02 Jonathan Pobst <[email protected]>
  9527. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  9528. ToolStripItemCollection.cs, ToolStripLabel.cs,
  9529. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  9530. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  9531. Initial implementation.
  9532. * TextRenderer.cs: Provide padding to MeasureText.
  9533. 2006-10-02 Sebastien Pouliot <[email protected]>
  9534. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  9535. of ButtonBaseAccessibleObject. Fix bug #79552.
  9536. 2006-10-02 Jackson Harper <[email protected]>
  9537. * MdiWindowManager.cs: When maximizing use the containers client
  9538. rect, not it's bounds, so nc area is accounted correctly.
  9539. - Use the parent form's size for the menu position, since the
  9540. client isn't always the full form size.
  9541. 2006-10-01 Chris Toshok <[email protected]>
  9542. * ScrollableControl.cs: make sure neither right_edge or
  9543. bottom_edge are < 0, since they're used as LargeChange for the
  9544. horiz/vert scrollbars respectively. Fixes #79539.
  9545. 2006-10-01 Chris Toshok <[email protected]>
  9546. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  9547. the xplatuix11 code can cause us to destroy/recreate our handle.
  9548. * XplatUIX11.cs
  9549. (SystrayAdd):
  9550. - this code can be invoked many times for the same Hwnd. Make
  9551. sure we only destroy the client window once (the first time this
  9552. method is called). This fixes bug #79544.
  9553. - Remove the call to the improperly bound XSync. why we had two
  9554. bindings to this, I will never know, but this call resulted in
  9555. events being discarded from the queue(!).
  9556. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  9557. not our current state but the state we wish to be in. So, 0 if
  9558. we don't want to be mapped. Change it to 1.
  9559. (SystrayRemove): The XEMBED spec makes mention of the fact that
  9560. gtk doesn't support the reparent of client windows away from the
  9561. embedder. Looking at gtksocket-x11.c seems to agree with this.
  9562. The only avenue we have for removing systray icons is to destroy
  9563. them. We don't want the handle to go away for good, though, so
  9564. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  9565. #79545.
  9566. 2006-10-01 Chris Toshok <[email protected]>
  9567. * Form.cs (WndProc): inline the native_enabled variable usage into
  9568. the cases in which it's used. Fixes #79536.
  9569. 2006-09-29 Mike Kestner <[email protected]>
  9570. * ListView.cs : toggle the selection state for ctrl clicks in
  9571. multiselect mode. [Fixes #79417]
  9572. 2006-09-29 Mike Kestner <[email protected]>
  9573. * ListView.cs : kill CanMultiSelect and refactor the selection
  9574. code to support multiselection in the absence of mod keys. Steal
  9575. arrow/home/end keys by overriding InternalPreProcessMessage to
  9576. restore regressed keynav behavior.
  9577. [Fixes #79416]
  9578. 2006-09-29 Jackson Harper <[email protected]>
  9579. * MdiClient.cs: Repaint the titlebars when the active window is
  9580. changed.
  9581. 2006-09-29 Chris Toshok <[email protected]>
  9582. * Application.cs: when entering a runloop with a modal, make sure
  9583. the hwnd is enabled. Fixes #79480.
  9584. 2006-09-29 Chris Toshok <[email protected]>
  9585. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  9586. when ListManager.CanAddRows == false, bump us back one.
  9587. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  9588. listmanager.CanAddRows check. This makes ArrayLists uneditable
  9589. using a datagrid, which is not right.
  9590. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  9591. is an IEditable, but call property_descriptor.SetValue regardless.
  9592. fixes #79435.
  9593. 2006-09-29 Chris Toshok <[email protected]>
  9594. * DataGridBoolColumn.cs: we need to test equality in the face of
  9595. possible null values (as is the case with the default NullValue).
  9596. This patch keeps us from crashing in that case.
  9597. 2006-09-29 Jackson Harper <[email protected]>
  9598. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  9599. here, since it will get called for every node collection in the
  9600. tree. This is now done in the treeview once the sorting is
  9601. finished.
  9602. * TreeView.cs: Recalculate the visible order, and update the
  9603. scrollbars after sorting, set the top nope to the root so that the
  9604. recalc actually works.
  9605. 2006-09-29 Chris Toshok <[email protected]>
  9606. * LinkLabel.cs: more handling of the default link collection in
  9607. the face of LinkArea manipulation. The default link collection
  9608. contains 1 element (start=0,length=-1). If the user sets LinkArea
  9609. to anything and the links collection is the default, clear it.
  9610. Then only add the link if its nonempty. Fixes #79518.
  9611. 2006-09-29 Chris Toshok <[email protected]>
  9612. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  9613. piece correctly when we hit a '\n'. Fixes #79517.
  9614. 2006-09-29 Chris Toshok <[email protected]>
  9615. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  9616. change the binding of gdk_init_check to take two IntPtr's, and
  9617. pass IntPtr.Zero for both of them. Fixes #79520.
  9618. 2006-09-29 Mike Kestner <[email protected]>
  9619. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  9620. [Fixes #78779]
  9621. 2006-09-28 Jackson Harper <[email protected]>
  9622. * XplatUIX11.cs: When translating NC messages make sure we go from
  9623. whole window to screen, not client window to screen.
  9624. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  9625. method doesn't exist
  9626. - Skip over controls that aren't forms when arranging.
  9627. 2006-09-28 Jackson Harper <[email protected]>
  9628. * XplatUIWin32.cs: Clip the rect to the parent window.
  9629. * XplatUIStructs.cs: Add clipping modes struct.
  9630. * InternalWindowManager.cs: New private method that factors title
  9631. bar heights in when calculating the pos of an NC mouse message.
  9632. - Use SendMessage to force a paint when the form's size is changed
  9633. instead of painting the decorations immediately.
  9634. - Don't let the NC button click messages get to DefWndProc,
  9635. because they will attempt to handle windowing themself, and this
  9636. messes up z-order (it will put them in front of the scrollbars).
  9637. * XplatUIX11.cs: Make sure that we don't reset window managers if
  9638. we already have one (ie the window is an MDI window).
  9639. 2006-09-28 Chris Toshok <[email protected]>
  9640. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  9641. menu code really needs going over.
  9642. 2006-09-27 Chris Toshok <[email protected]>
  9643. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  9644. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  9645. window is maximizable. So, we need to make sure that even if we
  9646. clear the border/wm frame of those functions, they're still
  9647. available (basically, we remove the decoration without removing
  9648. the function). Half the fix for #79338.
  9649. 2006-09-27 Chris Toshok <[email protected]>
  9650. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  9651. Fixes bug #79515.
  9652. 2006-09-27 Chris Toshok <[email protected]>
  9653. * Splitter.cs: reorder things a bit so that we don't actually
  9654. draw/move the splitter until after calling OnSplitterMoving. This
  9655. lets users cancel/disallow the movement by explicitly setting
  9656. event.SplitX/SplitY. Fixes #79372.
  9657. 2006-09-27 Jackson Harper <[email protected]>
  9658. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  9659. because it is most likely on a window being destroyed, and that
  9660. will give us an X11 error.
  9661. 2006-09-27 Chris Toshok <[email protected]>
  9662. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  9663. the dropdown button now toggles between showing and hiding the
  9664. dropdown. Also, get rid of dropdown_form_showing and just use
  9665. dropdown_form.Visible. We still don't do a grab, but I'll leave
  9666. that part to someone who has handled Capture-fu before.
  9667. 2006-09-27 Chris Toshok <[email protected]>
  9668. * DataGrid.cs: return false if alt isn't pressed when '0' is
  9669. pressed. this keeps the '0' key from being swallowed, and fixes
  9670. bug #79350.
  9671. 2006-09-27 Chris Toshok <[email protected]>
  9672. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  9673. Calling Refresh (in response to a scrollbar event) screws up the
  9674. scrollbar painting. Fixes bug #78923.
  9675. 2006-09-27 Chris Toshok <[email protected]>
  9676. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  9677. then insert into hashtable" blocks threadsafe.
  9678. 2006-09-27 Chris Toshok <[email protected]>
  9679. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  9680. baseclass's, since otherwise the
  9681. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  9682. effect. This gets the close button back in messageboxes.
  9683. 2006-09-27 Chris Toshok <[email protected]>
  9684. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  9685. flag, not just != 0. this makes flags that are actually multiple
  9686. bits (like WS_CAPTION) work. fixes bug #79508.
  9687. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  9688. * PageSetupDialog.cs: add support for getting and settings the
  9689. paper size, source and orientation.
  9690. 2006-09-26 Chris Toshok <[email protected]>
  9691. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  9692. and caption == "", we need to remove the resize handles as well as
  9693. the title bar.
  9694. * Control.cs (set_Text): turns out that setting Text on a form
  9695. should change the WM styles on the window, since if ControlBox ==
  9696. false, the only way to get a window border is to have a non-""
  9697. Text property. check winforms/forms/text.cs for an example. so,
  9698. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  9699. update both window styles and title. This fixes a lot of dialogs
  9700. (including the preferences dialog in MonoCalendar.)
  9701. 2006-09-26 Chris Toshok <[email protected]>
  9702. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  9703. control isn't a Form), call Win32ShowWindow to hide the window,
  9704. but don't update the control Visible property. When we reparent
  9705. back to a parent control, call SetVisible in order for the
  9706. window's visibility to be reinstated.
  9707. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  9708. the FosterParent.
  9709. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  9710. call for good, since it breaks MonoCalendar (and other things I'm
  9711. sure.) Also, set all_controls to null *after* the owner calls,
  9712. which end up regenerating it.
  9713. (ChangeParent): allow new_parent to be == null, passing
  9714. IntPtr.Zero down to XplatUI.
  9715. this fixes #79294 the right way.
  9716. 2006-09-26 Mike Kestner <[email protected]>
  9717. * GridEntry.cs : internal SetParent method.
  9718. * PropertyGrid.cs : attach to property changed on the proper
  9719. target if we have a hierarchical grid with subobjects. Setup
  9720. GridItem.Parent for hierarchical items.
  9721. * PropertyGridView.cs : Set value on the correct target for
  9722. hierarchical grids. [Fixes #78903]
  9723. 2006-09-26 Chris Toshok <[email protected]>
  9724. * Control.cs (ChildNeedsRecreating): this should return true if
  9725. either we're being recreated and the child is in our list, or our
  9726. parent is waiting for our recreation.
  9727. 2006-09-26 Chris Toshok <[email protected]>
  9728. * Control.cs (ControlCollection.Remove): reinstate the
  9729. value.Hide() call as suggested in bug #79294.
  9730. 2006-09-26 Sebastien Pouliot <[email protected]>
  9731. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  9732. coordinates (versus a relative move).
  9733. 2006-09-26 Chris Toshok <[email protected]>
  9734. * Control.cs: rework child recreation a little bit. It turns out
  9735. that we race between the DestroyNotify the WM_DESTROY message. If
  9736. the parent gets its DestroyNotify before the child gets the
  9737. WM_DESTROY message, the child ends up not recreating (since the
  9738. parent finishes its recreation on DestroyNotify, and the child
  9739. checks ParentIsRecreating.)
  9740. So, instead we store off a list of all the child controls which
  9741. need to be recreated when the parent control starts to recreate
  9742. itself. Then, when child controls get their WM_DESTROY message we
  9743. check to see if they're in the parent's pending recreation list,
  9744. and if so, we recreate. This removes all dependency on ordering
  9745. from the code and fixes the initial MonoCalendar upgrade dialog.
  9746. 2006-09-26 Jackson Harper <[email protected]>
  9747. * TextControl.cs: Use the Line to get the length of the line,
  9748. since soft line breaks can change the end line.
  9749. 2006-09-26 Chris Toshok <[email protected]>
  9750. * Control.cs (ControlCollection.AddImplicit): don't add the
  9751. control again if it's already in one of our lists. This keeps us
  9752. from adding controls over and over again for comboboxes when their
  9753. handle gets recreated (as the combobox adds implicit controls in
  9754. OnHandleCreated). Fixes the X11 errors in bug #79480.
  9755. 2006-09-26 Jackson Harper <[email protected]>
  9756. * TextControl.cs: When deleting characters make sure that any
  9757. orphaned zero lengthed tags get deleted.
  9758. - Fix ToString for zero lengthed tags.
  9759. 2006-09-25 Jackson Harper <[email protected]>
  9760. * TextControl.cs: When getting a tag at the location there can be
  9761. multiple tags at the same spot, these are 0-lengthed tags that
  9762. appear when extra formatting has been stuck in a location. We
  9763. need to pull out the last of these 0 lengthed tags.
  9764. 2006-09-25 Jackson Harper <[email protected]>
  9765. * TextControl.cs: Fix print out in debug method.
  9766. * TextBoxBase.cs: When text is set bail if we are setting to the
  9767. previous value.
  9768. 2006-09-24 Alexander Olk <[email protected]>
  9769. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  9770. It is now possible to change the selected index in a FontXXXListBox
  9771. with the up and down arrow keys from the FontXXXTextBoxes.
  9772. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  9773. FontXXXListBoxes to match ms.
  9774. 2006-09-22 Sebastien Pouliot <[email protected]>
  9775. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  9776. anyone can dispose it, anytime. All other properties returns enums,
  9777. structs or basic types so they don't need such tricks.
  9778. 2006-09-22 Jackson Harper <[email protected]>
  9779. * XplatUI.cs:
  9780. * XplatUIWin32.cs:
  9781. * Clipboard.cs:
  9782. * DataFormats.cs:
  9783. * XplatUIOSX.cs:
  9784. * XplatUIDriver.cs: Update interface to add a primary selection
  9785. flag, so the driver can use the primary selection buffer if
  9786. needed.
  9787. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  9788. * RichTextBox.cs: We need to supply the data object to paste now
  9789. (so we can choose to supply CLIPBOARD or PRIMARY).
  9790. * TextBoxBase.cs: Supply data object to paste (see above).
  9791. - Middle click uses the primary selection data object.
  9792. 2006-09-21 Chris Toshok <[email protected]>
  9793. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  9794. of SetWMStyles. It's still a rat's nest and is largely
  9795. order-dependent which I dislike immensely. This also fixes the X
  9796. button disappearing from toplevel forms.
  9797. 2006-09-21 Mike Kestner <[email protected]>
  9798. * ListBox.cs: move Jordi's click/dblclick raising code to the
  9799. mouse up handler.
  9800. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  9801. * ListBox.cs: Fixes 79450
  9802. 2006-09-21 Mike Kestner <[email protected]>
  9803. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  9804. to deal with people updating the TreeNodeCollection after the tree
  9805. is disposed. "Fixes" 79330.
  9806. 2006-09-20 Jackson Harper <[email protected]>
  9807. * TextControl.cs: Push the cursor record onto the undo stack
  9808. before the delete action. This fixes 78651.
  9809. 2006-09-20 Jonathan Chambers <[email protected]>
  9810. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  9811. CreateParams. Fixes 79329.
  9812. 2006-09-19 Chris Toshok <[email protected]>
  9813. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  9814. things up a bit. First, get rid of the NetAtoms array (and the NA
  9815. enum), and just embed the atoms as static fields. Also, add a
  9816. couple of functions (StyleSet and ExStyleSet) to clean up all the
  9817. bitmask testing of styles.
  9818. * X11Structs.cs: remove the NA enum, not needed anymore.
  9819. 2006-09-19 Chris Toshok <[email protected]>
  9820. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  9821. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  9822. added cleanup to get MessageBox titles appearing again, which were
  9823. broken by my earlier fix for caption-less/ControlBox-less windows.
  9824. 2006-09-18 Jonathan Pobst <[email protected]>
  9825. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  9826. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  9827. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  9828. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  9829. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  9830. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  9831. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  9832. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  9833. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  9834. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  9835. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  9836. Inital import.
  9837. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  9838. ToolStripButton.cs: Stubs needed for above.
  9839. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  9840. 2006-09-15 Chris Toshok <[email protected]>
  9841. * XplatUIX11.cs:
  9842. - make the MessageQueues hashtable Synchronized.
  9843. - SendMessage: if the Hwnd is owned by a different thread, use the
  9844. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  9845. thread. Fixes bug #79201.
  9846. 2006-09-15 Chris Toshok <[email protected]>
  9847. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  9848. ControlBox == false, we disallow maximize/minimize/close. If the
  9849. form Caption is "" we also disallow move (and get rid of the Title
  9850. decoration). Unfortunately, regardless of how things are set,
  9851. we're stuck with the Title and WM menu.
  9852. 2006-09-15 Chris Toshok <[email protected]>
  9853. * Application.cs: add locking around the static message_filters
  9854. ArrayList, part of #79196.
  9855. 2006-09-15 Chris Toshok <[email protected]>
  9856. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  9857. Form.ControlBox == false, the window has no titlebar nor resize
  9858. handles. fixes bug #79368.
  9859. 2006-09-15 Chris Toshok <[email protected]>
  9860. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  9861. >= 0. Fixes bug #79370.
  9862. 2006-09-15 Jonathan Pobst <[email protected]>
  9863. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  9864. * Control.cs:
  9865. Add properties: LayoutEngine, Margin, DefaultMargin.
  9866. Add method: GetPreferredSize.
  9867. Move layout logic from PerformLayout to layout engines.
  9868. 2006-09-13 Chris Toshok <[email protected]>
  9869. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  9870. fix for #79326 broke #78718, so this change addresses that.
  9871. - in SendWMDestroyMessages remove the call to
  9872. CleanupCachedWindows, since we might be recreating the control and
  9873. need to maintain the references to right Hwnd handles. Also, set
  9874. the zombie flag to true for each of the children in the hierarchy
  9875. instead of calling hwnd.Dispose. This will cause GetMessage to
  9876. ignore all events for the window except for DestroyNotify.
  9877. - In GetMessage, ignore messages except for DestroyNotify for
  9878. zombie hwnds.
  9879. * Control.cs: revert the is_recreating fix from the last
  9880. ChangeLog. It's definitely "right", but it breaks switching from
  9881. an MDI form to a non-MDI form. Will need to revisit that.
  9882. * Hwnd.cs: add a zombie flag, which means "the
  9883. client_window/whole_window handles are invalid, but we're waiting
  9884. for the DestroyNotify event to come in for them". Set the flag to
  9885. false explicitly if setting WholeWindow/ClientWindow, and also
  9886. when Disposing.
  9887. 2006-09-13 Chris Toshok <[email protected]>
  9888. * XplatUIX11.cs: rework window destruction slightly.
  9889. - when destroying the windows associated with a control, we don't
  9890. need 2 separate XDestroyWindow calls. Just the one for the
  9891. whole_window (or for client_window if whole_window is somehow
  9892. IntPtr.Zero -- can this happen?) is enough.
  9893. - reworked SendWMDestroyMessages slightly, so we always dispose
  9894. the child control hwnd's after sending the messages.
  9895. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  9896. the two places it was used (one was even using hwnd.Handle and the
  9897. other hwnd.client_window. ugh), adding another call in
  9898. SendWMDestroyMessages. We need this new call because now the
  9899. DestroyNotify events in the queue will be ignored for the child
  9900. controls (as their hwnd's were disposed, and the window id's
  9901. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  9902. - this fixes bug #79326.
  9903. 2006-09-13 Chris Toshok <[email protected]>
  9904. * Control.cs: don't always set is_recreating to false at the end
  9905. of RecreateHandle, since sometimes we're not done (and won't be
  9906. until WndProc handles the WM_DESTROY message). Also, set
  9907. is_recreating to false in the WM_DESTROY handling code. Part of
  9908. the fix for bug #79326.
  9909. 2006-09-13 Miguel de Icaza <[email protected]>
  9910. * X11DesktopColors.cs: Start the droppage of debugging messages.
  9911. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  9912. 2006-09-13 Jonathan Pobst <[email protected]>
  9913. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  9914. 2006-09-12 Chris Toshok <[email protected]>
  9915. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  9916. to create it using SetDataSource. Fixes bug #79151.
  9917. 2006-09-11 Chris Toshok <[email protected]>
  9918. * XEventQueue.cs: add a DispatchIdle property.
  9919. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  9920. either the queue is null, or the queue has DispatchIdle set to
  9921. true.
  9922. (DoEvents): set queue.DispatchIdle to false around the
  9923. peek/translate/dispatch message loop in this method. This keeps
  9924. Application.Doevents from emitting idle events. Part of the fix
  9925. for #78823.
  9926. 2006-09-11 Chris Toshok <[email protected]>
  9927. * DataGrid.cs (set_DataSource): make this work for both the
  9928. winforms/datagrid test and ReportBuilder. It seems as though when
  9929. we've created a ListManager (or maybe it's if we have a
  9930. BindingContext?), when we set the DataSource it clears the
  9931. DataMember to "". otherwise we reuse the datamember. Fixes bug
  9932. #79333.
  9933. 2006-09-11 Chris Toshok <[email protected]>
  9934. * XplatUIX11.cs: deal with queue being null, which happens in all
  9935. the Clipboard functions. Fixes one of the two problems mentioned
  9936. in #78612.
  9937. 2006-09-11 Chris Toshok <[email protected]>
  9938. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  9939. button on various spots (including outside the menu) works closer
  9940. to MS, and doesn't crash. Fixes #79343.
  9941. 2006-09-11 Gert Driesen <[email protected]>
  9942. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  9943. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  9944. and the internal comparer is set. When a new ListViewItemSorter is set,
  9945. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  9946. was specified. No further processing is necessary if SortOrder is set
  9947. to it's current value. If Sorting is modified to None, and View is
  9948. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  9949. (either custom or our internal ItemComparer) to null, on 1.0 profile
  9950. only set item_sorter to null if its our internal IComparer. If Sorting
  9951. is modified to Ascending or Descending, then use our internal IComparer
  9952. if none is set, and if the current IComparer is our internal one then:
  9953. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  9954. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  9955. Enum.IsDefined to verify whether a valid View value is specified in
  9956. its setter. Automatically sort listview items when listview is
  9957. created. In Sort, do nothing if ListView is not yet created, or if
  9958. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  9959. to None or ListViewItemSorter was set to null). Added Sort overload
  9960. taking a bool to indicate whether the ListView should be redrawn when
  9961. items are sorted (we use this in ListViewItemCollection to avoid double
  9962. redraws). Modified our internal IComparer to take the sort order into
  9963. account. In Add and AddRange methods of ListViewItemCollection, also
  9964. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  9965. view), but use overload with noredraw option to avoid double redraw.
  9966. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  9967. true when View is Tile, and do the same when attempting to set View to
  9968. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  9969. for selected/checked indices, as it involves overhead when sorting is
  9970. done while these collections are not used all that often. Instead
  9971. we'll build the indices on demand. Modified IList implementation of
  9972. CheckedIndexCollection to use public methods if object is int.
  9973. Modified CheckedListViewItemCollection to hide checked items if
  9974. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  9975. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  9976. IList implementation in SelectedIndexCollection to use public methods
  9977. if object is int. Modified SelectedListViewItemCollection to hide
  9978. selected items if listview is not yet created.
  9979. * ListViewItem.cs: CheckedIndices list no longer needs to be
  9980. maintained separately (see ListView changes). Also clone font, fixes
  9981. test failure.
  9982. 2006-09-11 Mike Kestner <[email protected]>
  9983. * ComboBox.cs: if we are updating the contents of the currently
  9984. selected index, refresh the control or the textbox selection.
  9985. [Fixes #79066]
  9986. 2006-09-11 Mike Kestner <[email protected]>
  9987. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  9988. the 'specified' logic has been moved there. This seems like a bug
  9989. in Control.cs, since our current SetBoundsCore completely ignores
  9990. the specified parameter. Peter's commit seems to indicate that is
  9991. the way the MS control implementation works. [Fixes #79325]
  9992. 2006-09-10 Jonathan Chambers <[email protected]>
  9993. * XplatUI.cs: Set default_class_name to be composed
  9994. of current domain id. This allows MWF to be loaded in multiple
  9995. domains on Win32.
  9996. 2006-09-09 Miguel de Icaza <[email protected]>
  9997. * X11Keyboard.cs: If we are unable to obtain the input method, do
  9998. not call CreateXic to create the input context. Should fix
  9999. #78944/79276.
  10000. 2006-09-08 Alexander Olk <[email protected]>
  10001. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  10002. Simplified gnome support by adding more pinvokes to get the
  10003. icon for a file or mime type.
  10004. 2006-09-08 Jackson Harper <[email protected]>
  10005. * MenuAPI.cs: Deslect popup context menu items before closing the
  10006. window, so that you don't see the previously selected item
  10007. selected when you reopen the menu.
  10008. * TextControl.cs: Update the cursor position even if we don't have
  10009. focus. This fixes typing in things like the ComboBox. I'm not
  10010. totally sure we should always set the visibility if we don't have
  10011. focus, but couldn't find any corner cases where the cursor showed
  10012. up when it shouldn't.
  10013. 2006-09-08 Chris Toshok <[email protected]>
  10014. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  10015. our arrays are length 256. & 0xff before indexing. Fixes the
  10016. crash in bug #78077.
  10017. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  10018. * ThemeWin32Classic.cs:
  10019. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  10020. is true. Handle that check box too.
  10021. 2006-09-07 Chris Toshok <[email protected]>
  10022. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  10023. 79244.
  10024. 2006-09-07 Chris Toshok <[email protected]>
  10025. * Control.cs: in set_BackColor only do the work if
  10026. background_color != value.
  10027. * XplatUIX11.cs: move the clearing of invalid areas (both client
  10028. and nc) to the same block of code where we set (nc_)expose_pending
  10029. to false. That is, move it from PaintEventEnd to PaintEventStart,
  10030. so things that cause invalidates from within OnPaint will trigger
  10031. another call to OnPaint. Fixes bug #79262.
  10032. 2006-09-07 Alexander Olk <[email protected]>
  10033. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  10034. * FileDialog.cs: Fix typo
  10035. 2006-09-07 Jackson Harper <[email protected]>
  10036. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  10037. for tab pages if they have any.
  10038. 2006-09-06 Mike Kestner <[email protected]>
  10039. * Splitter.cs: use the "current" rect when finishing drag handle
  10040. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  10041. 2006-09-06 Mike Kestner <[email protected]>
  10042. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  10043. support offset splitters. [Fixes #79298]
  10044. 2006-09-06 Alexander Olk <[email protected]>
  10045. * Mime.cs: Fixed a bug that could override the global mime type
  10046. result.
  10047. 2006-09-05 Jackson Harper <[email protected]>
  10048. * TabControl.cs: Better calculation method for setting the slider
  10049. pos. Prevents crashes on really wide tabs.
  10050. - Draw Image on tab pages if an image list is used.
  10051. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  10052. * MonthCalendar.cs: When Font changes, the Size should be
  10053. updated to fit the new font's space requirements.
  10054. 2006-09-02 Alexander Olk <[email protected]>
  10055. * ListBox.cs: If the items are cleared with Items.Clear set
  10056. top_index to 0.
  10057. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  10058. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  10059. fire DateChanged event instead of DateSelected event when
  10060. the date was changed by keyboard interaction.
  10061. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  10062. * DateTimePicker.cs: Handle DateChanged for the associated
  10063. month_calendar control, and set month_calendar.Font from
  10064. OnFontChanged method, as well as resize the height of the
  10065. control when needed. Make PreferredHeight proportional.
  10066. 2006-09-01 Chris Toshok <[email protected]>
  10067. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  10068. properties.
  10069. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  10070. 2006-09-01 Peter Dennis Bartok <[email protected]>
  10071. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  10072. for decorations (Fixes #79219)
  10073. 2006-09-01 Mike Kestner <[email protected]>
  10074. * ComboBox.cs: first stab at sorting plus some selection handling
  10075. fixes to bring us more in line with MS behavior. Also switches back
  10076. to index based selection. Alternative patches for index-based
  10077. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  10078. and [email protected] on bug 78848. I assume they were similar to this
  10079. code I've had simmering in my tree forever.
  10080. [Fixes #78848]
  10081. 2006-09-01 Chris Toshok <[email protected]>
  10082. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  10083. when setting list position guard against ending up with a -1 index
  10084. (the other part of the fix for #78812). Should probably make sure
  10085. we don't need the analogous fix in the ItemDeleted case.
  10086. * DataGrid.cs:
  10087. - in SetDataSource, work around the fact that the way
  10088. OnBindingContextChanged is invoked will cause us to re-enter this
  10089. method. I'll remove the hack once I investigate
  10090. OnBindingContextChanged.
  10091. - fix the logic in set_DataSource and set_DataMember (basically
  10092. what to do if the other of the two is null.)
  10093. - in OnListManagerItemChanged, we need to take into account the
  10094. edit row when deciding whether or not to call RecreateDataGridRows
  10095. (part of the fix for #78812).
  10096. 2006-09-01 Jackson Harper <[email protected]>
  10097. * Splitter.cs: Don't do anything if there is no control to affect
  10098. (prevents us from crashing in weird tet cases).
  10099. * TreeView.cs: Bounding box for the mouse movement reverting
  10100. focus/selection back to previously selected node. This matches
  10101. MS, and makes the tree a lot more useable.
  10102. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  10103. use clipping so they are not drawn. This fixes when the control
  10104. is set to have a transparent background, or if it was over an
  10105. image.
  10106. 2006-09-01 Alexander Olk <[email protected]>
  10107. * MimeIcon.cs: Improved handling for reading default icons when
  10108. using gnome (2.16 made it necessary). Check and read svg icons
  10109. first, then 48x48 and then 32x32 icons.
  10110. 2006-08-31 Chris Toshok <[email protected]>
  10111. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  10112. visible.
  10113. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  10114. ProcessKeyPreview. Fixes part of #77806.
  10115. * DataGrid.cs: big patch.
  10116. - revert the queueing up of DataSource/DataMember if inside
  10117. BeginInit/EndInit calls. That's not the way the datagrid achieves
  10118. its delayed databinding. Instead, call SetDataSource in
  10119. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  10120. #78811.
  10121. - Also, it wasn't mentioned in #78811, but the test case exhibits
  10122. behavior that was lacking in our datagrid implementation - Columns
  10123. that have mapping names that don't exist in the datasource's
  10124. properties aren't shown. Yuck. To fix this I added the bound
  10125. field to the column style, and basically any calculation to figure
  10126. out anything about columns uses a loop to find the bound columns.
  10127. still need to investigate if I can cache an array of the bound
  10128. columns or if the indices must be the same.
  10129. - When setting CurrentCell, we no longer abort if the cell being
  10130. edited was in the add row. This fixes the other part of #77806.
  10131. - The new code also fixes #78807.
  10132. * ThemeWin32Classic.cs: perpetrate the same disgusting
  10133. column.bound field hack, and only render bound fields.
  10134. 2006-08-31 Chris Toshok <[email protected]>
  10135. * DataGridColumnStyle.cs: add bound field. this field is true if
  10136. the datasource has a property corresponding to the mapping name.
  10137. * DataGridTableStyle.cs: set the bound field on the column styles
  10138. depending on whether or not we have a column for that property.
  10139. 2006-08-31 Peter Dennis Bartok <[email protected]>
  10140. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  10141. splitter control (fixes #79228)
  10142. 2006-08-31 Chris Toshok <[email protected]>
  10143. * DataGridColumnStyle.cs: we need to delay the assignment of
  10144. property descriptor until the last possible moment due to the lazy
  10145. databinding stuff in the datagrid. Also, fix the exceptions
  10146. thrown by CheckValidDataSource to match MS.
  10147. 2006-08-31 Jackson Harper <[email protected]>
  10148. * Form.cs: When activated select the active control, if there is
  10149. no active control, we select the first control.
  10150. * XplatUIX11.cs: If there is no focus control when we get a
  10151. FocusIn event, find the toplevel form and activate it. This
  10152. occurs when you popup a window, it becomes the focus window, then
  10153. you close that window, giving focus back to the main window.
  10154. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  10155. * MonthCalendar.cs:
  10156. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  10157. as StringFormat with Center alignments in MonthCalendar,
  10158. instead of creating new ones when drawing the control.
  10159. Also, draw the month name in bold style.
  10160. 2006-08-30 Peter Dennis Bartok <[email protected]>
  10161. * Control.cs:
  10162. - PerformLayout(): It would seem MS performs the fill even if the
  10163. control is not visible (part of #79218 fix)
  10164. - ResetBackColor(): Use the setter to reset the color, to allow
  10165. overriders to catch the change.
  10166. * Form.cs:
  10167. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  10168. - CreateHandle(): dito (part of $79218 fix)
  10169. - Don't set an icon if we have a dialog
  10170. * ScrollableControl.cs:
  10171. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  10172. - ScrollIntoView(): No need to scroll if control is already visible
  10173. (resolves fixme and fixes #79218)
  10174. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  10175. * MonthCalendar.cs: Change proportions in SingleMonthSize
  10176. to match the aspect of the original control.
  10177. 2006-08-29 Alexander Olk <[email protected]>
  10178. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  10179. get updated when they get maximized.
  10180. 2006-08-29 Peter Dennis Bartok <[email protected]>
  10181. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  10182. 2006-08-29 Chris Toshok <[email protected]>
  10183. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  10184. 2006-08-29 Jackson Harper <[email protected]>
  10185. * TreeView.cs: Need to track selected node and highlighted node,
  10186. they aren't always the same thing, when the mouse is down on a
  10187. node it is hilighted, but not selected yet.
  10188. - Do the HideSelection stuff right
  10189. - Need to focus on rbutton mouse down. And redraw selection when
  10190. right click is mouse upped.
  10191. 2006-08-29 Mike Kestner <[email protected]>
  10192. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  10193. when SubItems.Count < Columns.Count. [Fixes #79167]
  10194. 2006-08-28 Peter Dennis Bartok <[email protected]>
  10195. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  10196. 2006-08-28 Peter Dennis Bartok <[email protected]>
  10197. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  10198. from X. Only send based on ConfigureNotify if we don't have the
  10199. correct location in hwnd (if the window manager moved us)
  10200. 2006-08-28 Mike Kestner <[email protected]>
  10201. * ListView.cs: remove a TODO.
  10202. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  10203. [Fixes ListView part of #79166]
  10204. 2006-08-28 Mike Kestner <[email protected]>
  10205. * ListView.cs: move wheel handler to parent since it is focused
  10206. instead of the item_control now. [Fixes #79177]
  10207. 2006-08-28 Mike Kestner <[email protected]>
  10208. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  10209. when the control is focused. [Fixes #79171]
  10210. 2006-08-28 Mike Kestner <[email protected]>
  10211. * ListView.cs: size the item and header controls for empty and
  10212. unscrollable views.
  10213. * ThemeWin32Classic.cs: draw disabled backgrounds.
  10214. [Fixes #79187]
  10215. 2006-08-28 Chris Toshok <[email protected]>
  10216. * Form.cs: remove unused "active_form" static field.
  10217. * Hwnd.cs: lock around accesses to static windows collection.
  10218. * Application.cs: lock threads in Exit ().
  10219. 2006-08-28 Chris Toshok <[email protected]>
  10220. * NativeWindow.cs: lock around accesses to window_collection.
  10221. 2006-08-28 Chris Toshok <[email protected]>
  10222. * Control.cs: err, fix this the right way, by locking on controls
  10223. when using it. not by making it synchronized.
  10224. 2006-08-28 Chris Toshok <[email protected]>
  10225. * Control.cs: make the static "controls" field synchronized, as it
  10226. gets updated from multiple threads.
  10227. 2006-08-27 Peter Dennis Bartok <[email protected]>
  10228. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  10229. Prevent other threads from exiting when calling thread sets quit state.
  10230. * XEventQueue.cs: Added PostQuitState property
  10231. 2006-08-27 Chris Toshok <[email protected]>
  10232. * AsyncMethodData.cs: add a slot for the window handle.
  10233. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  10234. window (the destination control's window, not the foster window).
  10235. * Control.cs (BeginInvokeInternal): store the window's handle in
  10236. the AsyncMethodData.
  10237. 2006-08-27 Peter Dennis Bartok <[email protected]>
  10238. * XplatUIX11.cs:
  10239. - PostQuitMessage: Removed resetting S.D display handle, we might have
  10240. another loop started after calling PostQuitMessage (Fixes #79119)
  10241. - Created destructor to reset S.D handle
  10242. 2006-08-27 Peter Dennis Bartok <[email protected]>
  10243. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  10244. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10245. * TextControl.cs (Insert): Update the caret position even if we don't
  10246. have a handle yet, just don't call the driver in that case.
  10247. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  10248. to the end of the new selection text (Fixes #79184)
  10249. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10250. * Form.cs (Activate): Only activate if the handle is created)
  10251. * Control.c:
  10252. - Mark window as invisible when it's disposed
  10253. - Check if window handle is created when setting window visible,
  10254. instead of relying just on the is_created variable
  10255. - Check if object is disposed when creating the control (Fixes #79155)
  10256. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10257. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  10258. when allowing layout again. Otherwise we re-generate the anchoring
  10259. distance to the border again and actually alter what the user wanted
  10260. This is ugly, it'd be better if we used DisplayRectangle instead of
  10261. ClientRectangle for Control.UpdateDistances, but that causes us to
  10262. have other problems (initial anchoring positons would be wrong)
  10263. (Fixes #78835)
  10264. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10265. * Control.cs:
  10266. - The size and location setters shouldn't go directly to
  10267. SetBoundsCore, but to SetBounds, which triggers layout on the
  10268. parent, then calls SetBoundsCore. (Related to fix for #78835)
  10269. - SetBounds: Moved actual location update code into this function
  10270. from SetBoundsCore, to match MS. Added call to PerformLayout if
  10271. we have a parent (to trigger resizing of anchored parents if the
  10272. child size has changed (see testcase for #78835)
  10273. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  10274. new control code
  10275. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  10276. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10277. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  10278. System.Drawing when a toplevel window gets closed; there might
  10279. be other toplevel windows belonging to the same app (Fixes #78052)
  10280. 2006-08-26 Alexander Olk <[email protected]>
  10281. * FileDialog.cs: After reading FileDialog settings from mwf_config
  10282. use Desktop prefix only if a real folder doesn't exist anymore.
  10283. * FontDialog.cs: Added char sets.
  10284. It is now possible to select the font, size or style with the
  10285. textboxes.
  10286. 2006-08-25 Kornél Pál <[email protected]>
  10287. * PrintPreviewDialog.cs: Use assembly name constants.
  10288. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10289. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  10290. scrollbar from whacking it's buttons)
  10291. 2006-08-24 Chris Toshok <[email protected]>
  10292. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  10293. in this patch (aggregating setting Left/Top/Width/Height to
  10294. setting Bounds on the scrollbars), but the crux of the fix is in
  10295. Recalculate, where we scroll by the remaining scroll_position if
  10296. we're hiding a scrollbar. The 2*$5 reward in the comment is
  10297. serious.
  10298. 2006-08-24 Jackson Harper <[email protected]>
  10299. * MdiClient.cs:
  10300. * MdiWindowManager.cs: If the form is made a non-mdi window we
  10301. need to remove the form closed event so that closing forms works
  10302. correctly.
  10303. 2006-08-24 Jackson Harper <[email protected]>
  10304. * Control.cs: Make IsRecreating internal so that the driver can
  10305. check it
  10306. - Temporarily remove the Hide when controls are removed, its
  10307. making a whole bunch of things not work because visibility isn't
  10308. getting reset elsewhere correctly
  10309. * Form.cs: Need to do a full handle recreation when the mdi parent
  10310. is set.
  10311. * XplatUIX11.cs: If we are recreating handles don't dispose the
  10312. HWNDs. What was happening is the handles were being recreated in
  10313. SendWMDestroyMessages, but then flow continued on in that method
  10314. and destroyed the new handles.
  10315. 2006-08-23 Jackson Harper <[email protected]>
  10316. * Form.cs: MdiClient is always at the back of the bus
  10317. * Control.cs: When the order of items in the collection is changed
  10318. we need to reset the all_controls array
  10319. - do the same sorta setup thats done when adding a control when a
  10320. control is set on the collection.
  10321. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10322. * TextBoxBase.cs (get_Text): Return an empty array if our document
  10323. is empty (fixes #79052)
  10324. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10325. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  10326. on WM_SYSCHAR messages (fixes #79053)
  10327. 2006-08-23 Chris Toshok <[email protected]>
  10328. * DataGrid.cs: fix flickering when scrolling vertically.
  10329. 2006-08-23 Chris Toshok <[email protected]>
  10330. * DataGrid.cs (EndEdit): only invalidate the row header when we
  10331. need to.
  10332. 2006-08-23 Chris Toshok <[email protected]>
  10333. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  10334. methods. fixes the flicker when scrolling around.
  10335. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10336. * FileDialog.cs: Making sure the control is created before we get a
  10337. chance to use it with BeginInvoke (Fixes #79096)
  10338. 2006-08-23 Chris Toshok <[email protected]>
  10339. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  10340. width to use when painting the rows.
  10341. 2006-08-23 Peter Dennis Bartok <[email protected]>
  10342. * TextBoxBase.cs:
  10343. - Throw ArgumentException if a negative value is passed to SelectionLength
  10344. - Update the selection end if start is moved. end needs to be always
  10345. after start. (Fixes #79095)
  10346. - Track selection length; MS keeps the selection length even if start
  10347. is changed; reset on all other operations affection selection
  10348. 2006-08-22 Jackson Harper <[email protected]>
  10349. * TreeView.cs: Make sure both scrollbars get displayed and sized
  10350. correctly when the other bar is visible.
  10351. - Use the original clip rectangle for checking if the area between
  10352. the two scrollbars is visible, not the viewport adjusted clipping
  10353. rectangle.
  10354. 2006-08-22 Jackson Harper <[email protected]>
  10355. * Binding.cs: We don't use IsBinding because it requires the
  10356. control to be created, which really shouldn't be necessary just to
  10357. set a property on the control.
  10358. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  10359. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  10360. ArgumentNullReferenceException when the argument is null.
  10361. 2006-08-21 Jackson Harper <[email protected]>
  10362. * Timer.cs: Track the thread that the timer is started in (NOT
  10363. CREATED), this way messages for it will only be triggered on its
  10364. queue.
  10365. * XEventQueue.cs: Track the timers here, this makes timers per
  10366. thread, like MS.
  10367. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  10368. 2006-08-19 Chris Toshok <[email protected]>
  10369. * XplatUIX11.cs: after further communication with pdb, we get the
  10370. best of both worlds. SetZOrder working for un-Mapped windows, and
  10371. no X errors for un-mapped windows.
  10372. 2006-08-19 Chris Toshok <[email protected]>
  10373. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  10374. as it was causing pdn toolbars to not have the correct stacking.
  10375. 2006-08-18 Mike Kestner <[email protected]>
  10376. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  10377. calculation. Not sure why control should ever be setting a negative
  10378. width though. Fixes #78931.
  10379. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  10380. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  10381. null items in ObjectCollection class.
  10382. * ListBox.cs.: Likewise.
  10383. 2006-08-18 Atsushi Enomoto <[email protected]>
  10384. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  10385. as the base method in ThemeWin32Classic should work fine.
  10386. Fixed bug #78607.
  10387. 2006-08-18 Jackson Harper <[email protected]>
  10388. * Binding.cs: When validating if the value entered doesn't convert
  10389. properly reset to the old value.
  10390. * RadioButton.cs: Don't fire click when we get focus.
  10391. 2006-08-18 Jackson Harper <[email protected]>
  10392. * FileDialog.cs: Paint the selection on the directory combobox the
  10393. same way as on MS.
  10394. 2006-08-17 Jackson Harper <[email protected]>
  10395. * ErrorProvider.cs: Don't allow the error control to be selected.
  10396. * Control.cs: Don't send the SetFocus messages, the control
  10397. activation will do this, and if we do it blindly here validation
  10398. does not work.
  10399. 2006-08-17 Jackson Harper <[email protected]>
  10400. * Control.cs:
  10401. * ContainerControl.cs: Make validation events fire in the correct
  10402. order. TODO: For some reason the first validation event is not
  10403. getting fired.
  10404. 2006-08-17 Mike Kestner <[email protected]>
  10405. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  10406. 2006-08-17 Mike Kestner <[email protected]>
  10407. * ComboBox.cs : implement scroll wheel support for popped-down
  10408. state. Fixes #78945.
  10409. 2006-08-17 Jackson Harper <[email protected]>
  10410. * TreeView.cs: Specify treeview actions (old patch that didn't get
  10411. committed for some reason).
  10412. - Don't let the mouse wheel scroll us too far. Just want to make
  10413. the bottom node visible, not scroll it all the ways to the top.
  10414. 2006-08-17 Jackson Harper <[email protected]>
  10415. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  10416. 2006-08-17 Mike Kestner <[email protected]>
  10417. * ComboBox.cs : don't do mouseover selection in simple mode.
  10418. 2006-08-16 Jackson Harper <[email protected]>
  10419. * Form.cs: Fire the closing events for all the mdi child windows
  10420. when a window is closed. If the cancel args are set to true, the
  10421. main window still gets the event fired, but it doesn't not close.
  10422. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  10423. handler, instead of when the button is clicked, so cancelling the
  10424. close works correctly.
  10425. * ComboBox.cs: Send the mouse down to the scrollbar.
  10426. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  10427. * ListBox.cs: When passing 'null' to SelectedItem,
  10428. set SelectedIndex to -1, to unselect items. This is the
  10429. observed behaviour in .Net.
  10430. 2006-08-16 Peter Dennis Bartok <[email protected]>
  10431. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  10432. MS flags saying there won't be any. (fixes #78800)
  10433. * Control.cs (HandleClick): Made virtual
  10434. 2006-08-16 Atsushi Enomoto <[email protected]>
  10435. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  10436. cultures. Fixed bug #78399.
  10437. 2006-08-16 Jackson Harper <[email protected]>
  10438. * Form.cs: Use the MdiClients MdiChildren property to access
  10439. MdiChildren instead of creating the array from the child controls.
  10440. * MdiClient.cs: Maintain a separate array of the mdi children, so
  10441. that insertion order is maintained when the Z-order is changed.
  10442. 2006-08-16 Mike Kestner <[email protected]>
  10443. * ListView.cs : add an ItemComparer and default to it for sorting.
  10444. Fixes #79076, but sorting needs a complete overhaul to be compat with
  10445. MS.
  10446. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10447. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  10448. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10449. * Hwnd.cs (Mapped): Properly traverse the tree
  10450. 2006-08-15 Chris Toshok <[email protected]>
  10451. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  10452. pass manager.Current.GetType() to ParseData. It has to be the
  10453. property type. So, hold off doing the ParseData until we're in
  10454. SetPropertyValue where we know the type. This fixes the crash in
  10455. #78821 but the textbox is still empty.
  10456. 2006-08-15 Chris Toshok <[email protected]>
  10457. * DataGrid.cs:
  10458. - when we're scrolling, only call Edit() again if the
  10459. current cell is still unobscured. Fixes bug #78927.
  10460. - when handling mousedown on a cell, ensure the cell is visible
  10461. before calling Edit.
  10462. - remove the properties from DataGridRow, and remove the
  10463. DataGridParentRow class altogether.
  10464. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10465. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  10466. fire OnTextChanged by ourselves. There's no point calling base,
  10467. we don't set the base value anywhere else. Fixes #78773.
  10468. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  10469. * ListBox.cs: Call CollectionChanged when modifying
  10470. an item from Items indexer, to update the actual items
  10471. in the list box.
  10472. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  10473. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  10474. to match .Net behaviour.
  10475. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10476. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  10477. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10478. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  10479. 2006-08-15 Peter Dennis Bartok <[email protected]>
  10480. * MessageBox.cs: Prevent potential NRE exception.
  10481. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  10482. 2006-08-14 Peter Dennis Bartok <[email protected]>
  10483. * MessageBox.cs: Calculate the owner of a messagebox, also make
  10484. it topmost. Fixes #78753
  10485. 2006-08-14 Chris Toshok <[email protected]>
  10486. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  10487. programmatically move windows. first, set the PPosition hint as
  10488. well as the USPosition hint. Second include some code from pdb
  10489. that sets the window type to NORMAL when we set the transient for
  10490. hint. This is because, in the absence of a window type, metacity
  10491. thinks any window with TransientFor set is a dialog, and refuses
  10492. to let us move it programmatically. fascists.
  10493. 2006-08-14 Peter Dennis Bartok <[email protected]>
  10494. * XplatUIX11.cs: When setting normal hints, take into consideration
  10495. an different hints previously set so we don't delete them (fixes #78866)
  10496. 2006-08-12 Chris Toshok <[email protected]>
  10497. * ToolBarButton.cs: make Layout return a boolean, if something to
  10498. do with the button's layout changed.
  10499. * ToolBar.cs:
  10500. - add another parameter to Redraw, @force, which all existing
  10501. calls set to true.
  10502. - make the Layout function return a boolean which is true if the
  10503. layout has actually changed. Redraw now uses this (and @force)
  10504. to determine when to invalidate. At present the only place
  10505. where @force can be false is the call from OnResize, when
  10506. background_image == null. So, resizing a toolbar when the
  10507. layout doesn't change results in no drawing.
  10508. 2006-08-12 Chris Toshok <[email protected]>
  10509. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  10510. the VScrollBar and HScrollbar reversed. oops.
  10511. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  10512. scrollbars. we were assigning them twice (once in
  10513. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  10514. therefore causing two scrollbar resizes (and redraws?) to happen
  10515. per grid resize.
  10516. 2006-08-12 Chris Toshok <[email protected]>
  10517. * ToolBarButton.cs: redraw the entire button if the theme tells us
  10518. to.
  10519. * Theme.cs: add ToolBarInvalidateEntireButton.
  10520. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  10521. buttons, just the border.
  10522. * ThemeNice.cs: redraw the entire toolbar button since we need to
  10523. draw the highlight image.
  10524. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  10525. we need to redraw the entire button (not just the border).
  10526. 2006-08-11 Peter Dennis Bartok <[email protected]>
  10527. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  10528. for vertical bars. Fixes the mismatches shown by #78513
  10529. 2006-08-11 Alexander Olk <[email protected]>
  10530. * FileDialog.cs: If a saved/remembered path doesn't exist
  10531. anymore, fall back to "Desktop".
  10532. 2006-08-11 Peter Dennis Bartok <[email protected]>
  10533. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  10534. parent. It's apparently legal to not have one
  10535. * XplatUIX11.cs:
  10536. - SetZOrder: Don't try to set Z-Order on an unmapped window
  10537. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  10538. it unless the coordinates are negative
  10539. 2006-08-10 Mike Kestner <[email protected]>
  10540. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  10541. when setting to null per msdn docs. Fixes #78854.
  10542. 2006-08-10 Chris Toshok <[email protected]>
  10543. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  10544. flickering by setting a clip rectangle on the Graphics when we
  10545. need to redraw just a particular menuitem. Also, rename "OnClick"
  10546. to "OnMouseDown" to reflect what it actually is.
  10547. * Form.cs: track the OnMouseDown change.
  10548. 2006-08-10 Peter Dennis Bartok <[email protected]>
  10549. * CommonDialog.cs: Properly inherit the CreateParams from the form
  10550. and only change what we need. Fixes #78865
  10551. 2006-08-10 Chris Toshok <[email protected]>
  10552. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  10553. flickering in flat mode (and most of the flickering in general) by
  10554. only invalidating the button border (and not the entire rectangle)
  10555. when the state changes. A couple of cases still flicker:
  10556. ToggleButtons, and the dropdown arrow case when the user mouse
  10557. ups.
  10558. 2006-08-10 Alexander Olk <[email protected]>
  10559. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  10560. for german keyboards. Numlock state shouldn't affect the behaviour
  10561. of the Del key. Fixes bug #78291.
  10562. 2006-08-10 Chris Toshok <[email protected]>
  10563. * ListControl.cs: remove the items.Clear line from BindDataItems,
  10564. as this is the first thing done by both subclasses in their
  10565. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  10566. passed -1, refresh the list. This gets databinding working when
  10567. the datasource is set on the list before the datasource is
  10568. populated (as in wf-apps/ReportBuilder.)
  10569. * ComboBox.cs: remove the argument to BindDataItems. This call
  10570. should really go away, and be initiated by the ListControl code.
  10571. * ListBox.cs: same.
  10572. 2006-08-09 Peter Dennis Bartok <[email protected]>
  10573. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  10574. if no data is in the document when the control is displayed
  10575. 2006-08-09 Peter Dennis Bartok <[email protected]>
  10576. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  10577. yes (fixes #78806)
  10578. * TextControl.cs:
  10579. - PositionCaret: Allow positioning of caret but don't call methods
  10580. requiring a handle if the window isn't created yet
  10581. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  10582. - owner_HandleCreated: Don't position the caret, just update it's
  10583. location. User might have already set a different position
  10584. 2006-08-09 Peter Dennis Bartok <[email protected]>
  10585. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  10586. windows. Screws up the returned coordinates for child windows.
  10587. Fixes #78825. I'm hoping this doesn't break something, since the
  10588. code was explicitly put in 8 months ago, but no bug was attached.
  10589. Menus still seem to work properly.
  10590. 2006-08-08 Chris Toshok <[email protected]>
  10591. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  10592. supposed to do - delay data binding until the EndInit call. Also,
  10593. make the table style collection's CollectionChangeAction.Refresh
  10594. work properly.
  10595. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  10596. (with action = Refresh) when a consituent table's MappingName is
  10597. changed.
  10598. 2006-08-08 Chris Toshok <[email protected]>
  10599. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  10600. Invalidate, since changing the text can change the size of the all
  10601. toolbar buttons.
  10602. 2006-08-08 Peter Dennis Bartok <[email protected]>
  10603. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  10604. we don't have it yet
  10605. 2006-08-08 Chris Toshok <[email protected]>
  10606. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  10607. dialog, as this causes X errors later on, since we actually
  10608. destroy the window. Instead, .Hide() it.
  10609. 2006-08-08 Peter Dennis Bartok <[email protected]>
  10610. * ComboBox.cs: Added focus reflection for popup window
  10611. * XplatUIX11.cs:
  10612. - Removed transient setting for non-app windows for now, not sure it
  10613. was needed
  10614. - Fixed logic checking if we have captions when deciding
  10615. override_redirect, WS_CAPTION is two bits and a 0 check was not
  10616. sufficient
  10617. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  10618. complicated
  10619. * Form.cs:
  10620. - AddOwnedForm: Don't just add the form to the list, call the property
  10621. to ensure the driver is informed about the ownership as well
  10622. - CreateHandle: Set the TopMost status in the driver if we have an owner
  10623. * XplatUI.cs: Fixed debug statement
  10624. 2006-08-08 Jonathan Pobst <[email protected]>
  10625. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  10626. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  10627. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  10628. TrackBarRenderer.cs: Make constructor private.
  10629. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  10630. * ProfessionalColorTable.cs: Make properties virtual.
  10631. 2006-08-06 Duncan Mak <[email protected]>
  10632. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  10633. is not changing.
  10634. 2006-08-04 Jonathan Pobst <[email protected]>
  10635. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  10636. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  10637. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  10638. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  10639. Initial import of new 2.0 classes.
  10640. 2006-08-04 Jonathan Pobst <[email protected]>
  10641. * Application.cs: Add 2.0 VisualStyles properties.
  10642. 2006-08-04 Jonathan Pobst <[email protected]>
  10643. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10644. XplatUIX11.cs: Create property to allow access to existing private
  10645. variable "themes_enabled"
  10646. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  10647. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  10648. file size, as otherwise our class libraries fail using windows. Fixes
  10649. bug #78759.
  10650. 2006-08-04 Jackson Harper <[email protected]>
  10651. * Form.cs:
  10652. * XplatUIX11.cs: Move the toolwindow window manager creation into
  10653. the X11 driver, this way on win32 we can let windows create/handle
  10654. the toolwindows.
  10655. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  10656. * PrintDialog.cs: Remove some redundant checks, add some others,
  10657. clean some code, and move the focus to the text boxes when the
  10658. values are incorrect.
  10659. 2006-08-04 Alexander Olk <[email protected]>
  10660. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  10661. 2006-08-03 Alexander Olk <[email protected]>
  10662. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  10663. handled correctly. Fixes bug #79001.
  10664. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  10665. * PrintDialog.cs: The "Copies" numeric up down must have
  10666. set the Minimum property to 1; only if the value is bigger
  10667. than 1, activate "Collate" check box. This is the behaviour of .Net.
  10668. Also modify the Document elements only if it is not null.
  10669. 2006-08-03 Jackson Harper <[email protected]>
  10670. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  10671. length. (We have a larger array then actual node count).
  10672. 2006-08-03 Jackson Harper <[email protected]>
  10673. * ComboBox.cs: Don't show selection by default.
  10674. - The SelectAll isn't needed here, since the focus code should do
  10675. that
  10676. - DDL style lists to manual selection drawing, so when they
  10677. get/lose focus they have to invalidate.
  10678. 2006-08-03 Peter Dennis Bartok <[email protected]>
  10679. * TextBoxBase.cs: Don't always show all selections by default.
  10680. 2006-08-03 Jonathan Pobst <[email protected]>
  10681. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  10682. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  10683. Fixed various typos.
  10684. 2006-08-03 Alexander Olk <[email protected]>
  10685. * Control.cs: Removing the controls in a ControlCollection with
  10686. Clear now hides the controls as expected. Fixes bug #78804.
  10687. 2006-08-03 Jackson Harper <[email protected]>
  10688. * Control.cs: Revert previous focus patch, it breaks reflector.
  10689. 2006-08-03 Jackson Harper <[email protected]>
  10690. * ComboBox.cs: Cleanup selection and focus with the combobox.
  10691. This also eliminates some duplicated keyboard code, since now
  10692. everything is handled by the main class.
  10693. - Make list selection work on mouse up instead of down, to match
  10694. MS.
  10695. 2006-08-02 Jackson Harper <[email protected]>
  10696. * Control.cs: Setting focus needs to go through the whole
  10697. selection mechanism.
  10698. 2006-08-02 Chris Toshok <[email protected]>
  10699. * PrintPreviewDialog.cs: change MinimumSize to use
  10700. base.MinimumSize so it works.
  10701. 2006-08-02 Peter Dennis Bartok <[email protected]>
  10702. * TextControl.cs:
  10703. - UpdateCaret: Added sanity check in case caret isn't defined yet
  10704. - Line.Delete: Now updating selection and caret markers if we're
  10705. transfering a node (Properly fixes #78323)
  10706. - SetSelectionEnd: Added sanity check
  10707. * TextBoxBase.cs: Removed broken attempt to fix #78323
  10708. 2006-08-01 Chris Toshok <[email protected]>
  10709. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  10710. Close() call is handled in Form, not here.
  10711. 2006-08-01 Chris Toshok <[email protected]>
  10712. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  10713. layout/rendering.
  10714. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  10715. for sizes < 100% zoom. The code now aggressively attempts to keep
  10716. from calling document.Print (), and tries not to use the scaling
  10717. g.DrawImage whenever possible (it still does if you scale to >
  10718. 100%, since usually that involves huge images).
  10719. * PrintPreviewControl.cs: hook up the close button.
  10720. 2006-08-01 Jonathan Pobst <[email protected]>
  10721. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  10722. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  10723. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  10724. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  10725. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  10726. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  10727. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  10728. Removed [Serializable] for 2.0 Event Handlers.
  10729. 2006-07-31 Jackson Harper <[email protected]>
  10730. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  10731. * TextControl.cs: Uncomment out the body of this method.
  10732. 2006-07-31 Alexander Olk <[email protected]>
  10733. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  10734. standard cursors.
  10735. 2006-07-31 Peter Dennis Bartok <[email protected]>
  10736. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  10737. that embed TextBox and need selections visible even if textbox is not
  10738. focused to enforce that behaviour.
  10739. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  10740. selection drawing
  10741. 2006-07-31 Peter Dennis Bartok <[email protected]>
  10742. * TextControl.cs:
  10743. - Added new SetSelectionStart/SetSelectionEnd overloads
  10744. - Fixed viewport width assignment to be accurate
  10745. - Adjusted alignment line shift calculations to allow cursor on right
  10746. aligned lines to be always visible at the right border (like MS)
  10747. * TextBoxBase.cs:
  10748. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  10749. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  10750. - CalculateScrollBars: Use ViewPort size instead of window size, to
  10751. properly consider space occupied by the border and scrollbars
  10752. (Fixes #78661)
  10753. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  10754. calculations; no longer leaves artifacts
  10755. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  10756. calculation bugs (Still missing right/center align calculations)
  10757. 2006-07-31 Peter Dennis Bartok <[email protected]>
  10758. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  10759. use of both scroll rect and clip rect, as they do the same.
  10760. 2006-07-31 Peter Dennis Bartok <[email protected]>
  10761. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  10762. in the event handler (fixes #78912)
  10763. 2006-07-31 Chris Toshok <[email protected]>
  10764. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  10765. grid.ListManager.Count, since grid.ListManager might be null.
  10766. This of course begs the question "why are we drawing rows for a
  10767. grid with no list manager (and therefor no rows)?" Fixes the
  10768. crash in bug #78929.
  10769. 2006-07-31 Chris Toshok <[email protected]>
  10770. * RelatedPropertyManager.cs: Don't always chain up to the parent
  10771. ctor. instead, call SetDataSource if the parent's position is !=
  10772. -1. Fixes the crash in #78822.
  10773. 2006-07-31 Chris Toshok <[email protected]>
  10774. * DataGrid.cs (get_ListManager): use field instead of property
  10775. accessors for datasource and datamember.
  10776. (RowsCount): make internal again.
  10777. (OnMouseDown): end edits before resizing columns/rows.
  10778. (OnMouseUp): restart edits after resizing columns/rows.
  10779. 2006-07-30 Peter Dennis Bartok <[email protected]>
  10780. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  10781. This fixes the situation where the last set cursor is displayed
  10782. whenever the mouse is over scrollbars.
  10783. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  10784. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  10785. Document properties, as well as initial values.
  10786. 2006-07-29 Peter Dennis Bartok <[email protected]>
  10787. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  10788. and ClientEdge results in a 3-pixel border, which is
  10789. wrong.
  10790. 2006-07-28 Jackson Harper <[email protected]>
  10791. * TreeNodeCollection.cs: Fix the clear method.
  10792. - Fix the Shrink also
  10793. 2006-07-27 Jackson Harper <[email protected]>
  10794. * TreeView.cs: Make sure the visible order is computed when we
  10795. attempt to size the scrollbars (for trees that mess with the
  10796. scrolling when they shouldn't.
  10797. - Make sure to give the scrollbars valid values.
  10798. 2006-07-26 Peter Dennis Bartok <[email protected]>
  10799. * XplatUIX11.cs: Move motion compression code to where it
  10800. has less performance impact
  10801. 2006-07-26 Jackson Harper <[email protected]>
  10802. * UpDownBase.cs: When the control is selected make the child
  10803. controls non selectable, so that a click on them won't do a
  10804. focus/unfocus cycle.
  10805. - Don't give focus to the text box when the spinner is selected.
  10806. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  10807. 2006-07-26 Chris Toshok <[email protected]>
  10808. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  10809. satisfied with this solution. If the bitmaps are small, we should
  10810. just cache them in the PrintPreviewDialog and draw them here.
  10811. Also, the layout is broken for the 2-up and 3-up cases.
  10812. * Theme.cs: add PrintPReviewControlPaint.
  10813. * PrintPreviewDialog.cs: first pass implementation.
  10814. * PrintPreviewControl.cs: first pass implementation. No
  10815. scrollbars yet.
  10816. * PrintDialog.cs: only validate fields if that particular portion
  10817. of the UI is enabled. Also, set the document's controller to a
  10818. PrintControllerWithStatusDialog wrapping the document's print
  10819. controller.
  10820. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  10821. bring up a SaveFileDialog (i hope we don't want to match the
  10822. behavior of the crappy windows file entry) and set the
  10823. PrinterSettings.PrintFileName accordingly.
  10824. 2006-07-26 Jackson Harper <[email protected]>
  10825. * ContainerControl.cs: Add a field that disables auto selecting
  10826. the next control in a container when the container is activated.
  10827. * UpDownBase.cs: Don't select the text box when the up down is
  10828. selected.
  10829. 2006-07-26 Peter Dennis Bartok <[email protected]>
  10830. * XEventQueue.cs: Added methods for peeking (used for compression
  10831. of successive events)
  10832. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  10833. mouse move events (fixes #78732)
  10834. 2006-07-25 Jackson Harper <[email protected]>
  10835. * UpDownBase.cs: Use an internal class for the textbox so that we
  10836. can control focus. the updown control should always have focus,
  10837. if either the text area or the buttons are clicked.
  10838. - Send the key messages to the textbox, since it never actually
  10839. has focus
  10840. - Activate and decativate the textbox caret.
  10841. 2006-07-24 Jackson Harper <[email protected]>
  10842. * Control.cs: Use the directed select when selecting a control,
  10843. this way the container controls override will get called and the
  10844. whole ActiveControl chain will get triggered. TODO: probably need
  10845. to make sure this gets done everywhere instead of the old
  10846. Select(Control).
  10847. * ContainerControl.cs: Implement the directed Select method to
  10848. find and activate the correct child control.
  10849. 2006-07-22 Mike Kestner <[email protected]>
  10850. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  10851. menu handling code so that clicks without a grab work too.
  10852. [Fixes #78914]
  10853. 2006-07-22 Alexander Olk <[email protected]>
  10854. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  10855. Added some small optimizations.
  10856. 2006-07-21 Matt Hargett <[email protected]>
  10857. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  10858. 2006-07-21 Peter Dennis Bartok <[email protected]>
  10859. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  10860. tests pass and match MS in some strange border cases.
  10861. 2006-07-21 Chris Toshok <[email protected]>
  10862. * ThemeWin32Classic.cs: handle drawing of the relation links and
  10863. parent row buttons.
  10864. * Theme.cs: change args to DataGridPaintParentRow.
  10865. * DataGrid.cs: Don't use controls for the relation links and
  10866. parent buttons, so we have to handle all their interactions in
  10867. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  10868. when we're navigating through child tables, so we can reinstate
  10869. selection, expanded state, current cell, etc.
  10870. 2006-07-20 Chris Toshok <[email protected]>
  10871. * ToolBar.cs: When we redraw a button, for whatever reason,
  10872. there's no reason to redraw the entire toolbar. Also, don't call
  10873. Control.Refresh from within Redraw, as it's much heavier than
  10874. Invalidate (which is really what we want).
  10875. 2006-07-20 Chris Toshok <[email protected]>
  10876. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  10877. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  10878. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  10879. traces from within a debug IBindingList datasource
  10880. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  10881. to work in a similar fashion.
  10882. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  10883. * ListBox.cs: Don't call Sort () when setting
  10884. the Sorted property to false (avoid an unnecessary sort).
  10885. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  10886. * ListControl.cs: DataSource should throw an ArgumentException
  10887. instead of a normal exception when the argument is not of the
  10888. correct type.
  10889. 2006-07-20 Mike Kestner <[email protected]>
  10890. * Control.cs: add InternalPreProcessMessage to allow us to steal
  10891. key events before MWF gets its paws on them. Adapted from a
  10892. suggestion by eno.
  10893. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  10894. up/down/left/right navigation. Override the new internal control
  10895. method to steal the events since they never make it to WndProc.
  10896. * ToolBarButton.cs: don't worry about pushed when setting hilight
  10897. since the drawing code prefers pushed to hilight. Invalidate on
  10898. Hilight changes. Fixes #78547 and #78525.
  10899. 2006-07-20 Peter Dennis Bartok <[email protected]>
  10900. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  10901. the canvas size. Fixes #78868
  10902. 2006-07-20 Peter Dennis Bartok <[email protected]>
  10903. * Splitter.cs: Track requested split position until first layout
  10904. is performed. Fixes #78871
  10905. 2006-07-20 Peter Dennis Bartok <[email protected]>
  10906. * Application.cs: Removed code that forces 1.x for the version
  10907. number if the version started with 0. Not sure why that code was
  10908. there and I couldn't find any bugs that indicated we needed it.
  10909. Fixes #78869
  10910. 2006-07-20 Alexander Olk <[email protected]>
  10911. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  10912. ResetDefaults(), just write some output to the console until it's
  10913. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  10914. 2006-07-19 Jonathan Chambers <[email protected]>
  10915. * PropertyGridView.cs: set StartPosition of drop down forms
  10916. so they appear in correct initial spot. Fixes #78190.
  10917. 2006-07-19 Mike Kestner <[email protected]>
  10918. * ThemeWin32Classic.cs: use parent background color when drawing
  10919. flat toolbars. Restructure the conditionals to make sure non-flat
  10920. non-Divider toolbars are filled too. Fixes #78837.
  10921. 2006-07-19 Mike Kestner <[email protected]>
  10922. * ListBox.cs: Sort on collection changes even if the handle
  10923. isn't created yet. Fixes #78813.
  10924. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  10925. * ListControl.cs: DisplayMember should never be null,
  10926. and now we assign String.Empty when null is passed to it (this
  10927. is the .Net way).
  10928. 2006-07-17 Mike Kestner <[email protected]>
  10929. * ListViewItem.cs: restructure Font and subitem Font handling
  10930. to hold a specific font and refer back to owner on null.
  10931. Fixes #78761.
  10932. 2006-07-17 Mike Kestner <[email protected]>
  10933. * ToolBar.cs: bandaid for side-effect of previous patch which was
  10934. discarding explicit heights for non-AutoSize toolbars. Need to
  10935. extend my format tester to deal with AutoSize=false. Fixes #78864.
  10936. 2006-07-15 Jackson Harper <[email protected]>
  10937. * LabelEditTextBox.cs:
  10938. * TreeView.cs: Use a new LabelEdit class for node editing, this
  10939. class automatically 'closes' itself when it gets the enter key or
  10940. loses focus.
  10941. - Use the client rectangle when setting the trees scrollbars, so
  10942. border style is taken into account.
  10943. 2006-07-14 Jackson Harper <[email protected]>
  10944. * TreeNode.cs:
  10945. * TreeView.cs: Make the editing work similar to MSs, firing the
  10946. events correctly and ending edits correctly.
  10947. 2006-07-14 Mike Kestner <[email protected]>
  10948. * ToolBarButton.cs:
  10949. * ToolBar.cs: layout restructuring and redraw enhancements to support
  10950. formatting changes gracefully, like setting TextAlign, ImageList,
  10951. ButtonSize, and Appearance. Handles explicit button sizing quirks
  10952. of the MS controls. Things like flat toolbars ignoring button size
  10953. but becoming constant sized at the largest button's size. Normal
  10954. toolbars with an image set cannot be shrunk smaller than the image,
  10955. but text can be clipped/ignored.
  10956. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  10957. is zero. Seems like DrawString should be smart enough to not put
  10958. anything on screen though. Also trim labels and ellipsize at the char
  10959. boundary, not word.
  10960. Fixes #78711 and #78483.
  10961. 2006-07-14 Alexander Olk <[email protected]>
  10962. * FolderBrowserDialog.cs: Disable "New Folder" button and
  10963. "New Folder" contextmenu menuitem if a folder like "My Computer"
  10964. is selected.
  10965. 2006-07-14 Alexander Olk <[email protected]>
  10966. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  10967. * FolderBrowserDialog.cs:
  10968. - Use MWFConfig to store and read size and position settings
  10969. - Added code to create a new folder (button or context menu).
  10970. Use TreeView labeledit to change the name of the new folder.
  10971. 2006-07-14 Jackson Harper <[email protected]>
  10972. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  10973. when the tree is scrolled we end editing.
  10974. 2006-07-14 Alexander Olk <[email protected]>
  10975. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  10976. Down arrows
  10977. 2006-07-14 Jonathan Pobst <[email protected]>
  10978. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  10979. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  10980. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  10981. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  10982. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  10983. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  10984. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  10985. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  10986. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  10987. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  10988. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  10989. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  10990. ListViewItemSelectionChangedEventHandler.cs,
  10991. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  10992. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  10993. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  10994. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  10995. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  10996. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  10997. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  10998. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  10999. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  11000. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  11001. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  11002. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  11003. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  11004. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  11005. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  11006. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  11007. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  11008. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  11009. WebBrowserNavigatingEventHandler.cs,
  11010. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  11011. 2006-07-14 Jonathan Pobst <[email protected]>
  11012. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  11013. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  11014. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  11015. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  11016. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  11017. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  11018. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  11019. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  11020. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  11021. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  11022. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  11023. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  11024. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  11025. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  11026. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  11027. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  11028. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  11029. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  11030. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  11031. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  11032. ListViewItemStates.cs, MaskFormat.cs: Added
  11033. 2006-07-13 Jonathan Chambers <[email protected]>
  11034. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  11035. Patch from eno for bug 78558.
  11036. 2006-07-13 Jackson Harper <[email protected]>
  11037. * TreeView.cs: When an edit is finished make sure that the
  11038. selected node is visible.
  11039. - When setting the top/bottom use the scrollbars is_visible, so
  11040. everything will be set correctly even if the tree isn't visible
  11041. yet.
  11042. 2006-07-13 Jackson Harper <[email protected]>
  11043. * ComboBox.cs: Revert the item->index part of my previous patch.
  11044. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  11045. the edit box has lost focus (duh).
  11046. - Just make the edit box not visible when we get return, that will
  11047. take the focus, which will call EndEdit
  11048. * TreeNode.cs When we start editing, notify the treeview.
  11049. 2006-07-12 Jackson Harper <[email protected]>
  11050. * ComboBox.cs: Clear out old items before setting the item list.
  11051. This prevents databound controls from having their items added
  11052. twice.
  11053. - Switch the combobox to use indices whereever possible instead of
  11054. using Item's. This allows usto navigate through lists that have
  11055. more then one item with the same string value (ie a, b, b, a).
  11056. - Scroll the listboxes scrollbar when a non visible item is
  11057. highlighted
  11058. - Allow keypress to cycle through all the possible values. For
  11059. example if you have b1, b2, b3 and hold down the B key all the
  11060. values will be cycled through.
  11061. 2006-07-12 Jackson Harper <[email protected]>
  11062. * TextBoxBase.cs:
  11063. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  11064. this using the internal methods.
  11065. * Control.cs: Add OnGotFocusInternal. A new method that allows
  11066. controls to "override" OnGotFocus and change focus behavior if
  11067. needed.
  11068. - Same thing for LostFocus
  11069. * ComboBox.cs: Pass off focus to the text control properly.
  11070. 2006-07-12 Alexander Olk <[email protected]>
  11071. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  11072. * FolderBrowserDialog.cs: Almost a complete rewrite.
  11073. - Better support for Environment.Specialfolders
  11074. - Added support for MWFVFS
  11075. - Made setting SelectedPath work
  11076. 2006-07-12 Jackson Harper <[email protected]>
  11077. * Control.cs: Optimze getting all the controls.
  11078. 2006-07-11 Jackson Harper <[email protected]>
  11079. * ContainerControl.cs: Override SETFOCUS in the container control,
  11080. so that it is not selected on mouse click.
  11081. 2006-07-11 Peter Dennis Bartok <[email protected]>
  11082. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  11083. Hopefully we will have a better way once all of focus is complete.
  11084. 2006-07-11 Peter Dennis Bartok <[email protected]>
  11085. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  11086. a compile error with csc.
  11087. 2006-07-11 Jackson Harper <[email protected]>
  11088. * Control.cs: When hiding a control only select the next control
  11089. if the current control was focused.
  11090. - Don't handle enter/leave when setting/killing focus, this is
  11091. done by the container control.
  11092. - Remove is_selected, it's not needed anymore.
  11093. - Add utility methods for selecting a child control, and for
  11094. firing the Enter/Leave events.
  11095. * ContainerControl.cs: When a control is activated fire the
  11096. enter/leave events.
  11097. - Don't wrap when processing the tab key, so that focus can be
  11098. moved outside of the container.
  11099. - Use the correct active control
  11100. 2006-07-11 Jackson Harper <[email protected]>
  11101. * ComboBox.cs: Remove some debug code that was blinding me.
  11102. * UpDownBase.cs: These controls actually aren't implicit, they are
  11103. visible to the user.
  11104. 2006-07-10 Chris Toshok <[email protected]>
  11105. * DataGrid.cs: move back to the is_adding boolean field. god i
  11106. hate this is_editing/is_adding/is_changing stuff.
  11107. 2006-07-10 Chris Toshok <[email protected]>
  11108. * DataGridTableStyle.cs: just check if the property type is bool.
  11109. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  11110. Don't use CanRenderType.
  11111. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  11112. if our text == NullText. Remove CanRenderType.
  11113. * DataGridBoolColumn.cs: nuke CanRenderType.
  11114. * DataGrid.cs: reenable some code to end the current edit inside
  11115. of set_CurrentCell. This fixes the other 1.1.16 regression.
  11116. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  11117. Also, remove the visible_row_count arg from CalcRowHeaders, since
  11118. we don't need to worry about the actual height of the area.
  11119. 2006-07-10 Chris Toshok <[email protected]>
  11120. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  11121. mode, just return.
  11122. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  11123. the real sense of the IsInEditOrNavigateMode property (true =
  11124. navigate, false = edit). Also, update OnKeyPress to reflect this.
  11125. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  11126. column style exists, we still need to set its property descriptor
  11127. to match up with our list manager.
  11128. 2006-07-10 Chris Toshok <[email protected]>
  11129. * ThemeWin32Classic.cs: implement the new row/header painting
  11130. approach. The parent row painting will likely go away and
  11131. replaced with label controls, but the rest seems to work ok (and
  11132. efficiently).
  11133. * Theme.cs: change the way we draw datagrid rows. we don't draw
  11134. the row headers as a block now. Instead we draw them in the
  11135. normal draw-row loop. Add some calls for drawing parent rows and
  11136. relation rows.
  11137. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  11138. a default table style. Set the defaults from ThemeEngine.Current,
  11139. not SystemColors. Fix lots of misc issues with property setters.
  11140. * DataGrid.cs: move loads of style information out of this class
  11141. as it's being duplicated with DataGridTableStyle. keep track of a
  11142. special DataGridTableStyle for the properties we used to mirror
  11143. here. Switch all the style properties to access this table style
  11144. instead of instance fields of this class. Also add a internal
  11145. class to represent parent rows (more needs to be stored here, like
  11146. the selection state from the parent table, as well as the
  11147. expansion state.) Also, for datasources with relations, do the
  11148. right thing for collapse/expand, and add support for the
  11149. navigation/parent row buttons.
  11150. Lastly, fix the crash in the 1.1.16 build.
  11151. * GridTableStylesCollection.cs: make the explicit interface
  11152. implementations call the class's methods as opposed to duplicating
  11153. them.
  11154. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  11155. 0 so the text doesn't jump around when we move the cursor.
  11156. 2006-07-10 Jackson Harper <[email protected]>
  11157. * TextBoxBase.cs:
  11158. * ListBox.cs: Match MS's ToString (this makes debugging focus
  11159. stuff infinitely easier).
  11160. 2006-07-10 Jackson Harper <[email protected]>
  11161. * Control.cs (SelectNextControl): When checking the control's
  11162. parent use this instead of ctrl.parent so that null can be passed
  11163. to SelectNextControl. (I have unit tests for this).
  11164. - Remove unused var.
  11165. 2006-07-10 Chris Toshok <[email protected]>
  11166. * CurrencyManager.cs: correct one regression, the removal of the
  11167. finalType field. Also, add a MonoTODO on CanAddRows, implement
  11168. Refresh() correctly, and fix some event emission in
  11169. ListChangedHandler.
  11170. 2006-07-07 Alexander Olk <[email protected]>
  11171. * FileDialog.cs: Don't use brackets for new folders if they exist
  11172. under *nix. Instead use -(number of existing folders +1).
  11173. 2006-07-07 Alexander Olk <[email protected]>
  11174. * FileDialog.cs:
  11175. - Fixed really nasty bug #78771
  11176. - Don't block the whole GUI when reading directories with a lot of
  11177. entries. Use an other thread instead and call BeginInvoke to
  11178. update the ListView in MWFFileView
  11179. 2006-07-07 Chris Toshok <[email protected]>
  11180. * Control.cs (Dispose): release any Capture when disposing.
  11181. 2006-07-07 Chris Toshok <[email protected]>
  11182. * LinkLabel.cs (Select): if we chain up to the parent, set
  11183. focused_index to -1 so we'll search for the first available link
  11184. the next time the user tabs into us. Also, if the direction is
  11185. backward and focused_index == -1, start the search from the last
  11186. element.
  11187. 2006-07-07 Chris Toshok <[email protected]>
  11188. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  11189. is beyond the end of the text, don't do anything.
  11190. (CreateLinkPieces): set our ControlStyles.Selectable based on
  11191. whether or not we have any links.
  11192. (Link.Invalidate): use a loop instead of foreach.
  11193. (Link.set_Start): null out owner.sorted_links so it'll be
  11194. recreated by CreateLinkPieces.
  11195. 2006-07-06 Chris Toshok <[email protected]>
  11196. * LinkLabel.cs: revert the SetStyle change.
  11197. 2006-07-06 Chris Toshok <[email protected]>
  11198. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  11199. (OnEnableChanged): s/Refresh/Invalidate
  11200. (OnGotFocus): if we have a focused index already, refocus it (so
  11201. if we mouse out/in to the window it'll focus the right link).
  11202. (OnKeyDown): move the tab handling out of here.
  11203. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  11204. when we lose focus.
  11205. (OnMouseDown): don't Capture here - Control handles it. Also,
  11206. focus the active link.
  11207. (OnMouseUp): don't deal with Capture.
  11208. (OnPaintBackgroundInternal): remove.
  11209. (OnTextAlignChanged): CreateLinkPieces before calling the
  11210. superclass's method.
  11211. (OnTextChanged): call CreateLinkPieces before calling superclass's
  11212. method.
  11213. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  11214. move around.
  11215. (Select): implement this, moving the selection between different
  11216. links, and call parent.SelectNextControl if we don't have another
  11217. link to focus in the given direction.
  11218. (CreateLinkPieces): call Invalidate instead of Refresh.
  11219. 2006-07-06 Chris Toshok <[email protected]>
  11220. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  11221. new LinkLabel internals.
  11222. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  11223. over pieces looking for active/focused/etc links. also, deal with
  11224. runs of text (and links) with embedded \n's in them, and use
  11225. MeasureCharacterRanges instead of MeasureString to figure out the
  11226. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  11227. two-step.
  11228. 2006-07-04 Jackson Harper <[email protected]>
  11229. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  11230. XKB or key auto repeat, do it manually. Without key auto repeat,
  11231. when a key is held down we get key press, key release, key press,
  11232. key release, ... with auto repeat we get key press, key press, key
  11233. press ..., and then a release when the key is actually released.
  11234. 2006-07-03 Jackson Harper <[email protected]>
  11235. * TabControl.cs:
  11236. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  11237. rules, they are always control color regardless of the background
  11238. color.
  11239. 2006-07-02 Alexander Olk <[email protected]>
  11240. * FileDialog.cs: Added internal class MWFConfig.
  11241. Removed Registry support and replaced it with support for the new
  11242. MWFConfig class. See MWFConfig comments for more information.
  11243. 2006-06-30 Alexander Olk <[email protected]>
  11244. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  11245. rectangle. Added some patches from eno from bug #78490 and fixed
  11246. the arrow position for small up and down CPDrawScrollButtons.
  11247. 2006-06-30 Jackson Harper <[email protected]>
  11248. * InternalWindowManager.cs: Remove some debug code.
  11249. * Form.cs: When an MdiParent is set to null, the window is
  11250. "detatched" and becomes a normal window.
  11251. * MdiClient.cs: Don't bring the new child form to the front until
  11252. it is activated (setting it as active does this), this makes the
  11253. previously active forms titlebar get redrawn as inactive.
  11254. 2006-06-29 Peter Dennis Bartok <[email protected]>
  11255. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  11256. with later controls
  11257. 2006-06-29 Mike Kestner <[email protected]>
  11258. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  11259. arrow in keynav state. Fixes #78682.
  11260. 2006-06-28 Atsushi Enomoto <[email protected]>
  11261. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  11262. order (fixes #78393)
  11263. 2006-06-28 Jonathan Pobst <[email protected]>
  11264. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  11265. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  11266. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  11267. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  11268. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  11269. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  11270. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  11271. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  11272. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  11273. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  11274. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  11275. values)
  11276. 2006-06-28 Mike Kestner <[email protected]>
  11277. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  11278. 2006-06-28 Atsushi Enomoto <[email protected]>
  11279. * PropertyGrid.cs,
  11280. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  11281. item lines from other area (It also makes BackColor consistent and
  11282. compatible with .NET). Fixed bug #78564.
  11283. 2006-06-28 Jonathan Chambers <[email protected]>
  11284. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  11285. Patch from Eno for #78555.
  11286. 2006-06-27 Chris Toshok <[email protected]>
  11287. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  11288. * DataGridColumnStyle.cs: same.
  11289. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  11290. * DataGridDrawingLogic.cs: nuke.
  11291. 2006-06-27 Chris Toshok <[email protected]>
  11292. * DataGridTableStyle.cs: clean up the constructors, and build the
  11293. list of child relations for this table. I have no idea if this is
  11294. where we should be doing it (it probably isn't), but since we're
  11295. already iterating over the properties..
  11296. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  11297. struct and array for keeping track of row information, similar to
  11298. what's shown in a hack on
  11299. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  11300. * Theme.cs: be consistent about the naming of DataGrid methods,
  11301. prefering ColumnWidths and RowHeights over columnsWidths and
  11302. RowsHeights.
  11303. * ThemeWin32Classic.cs: same, and also add support for variable
  11304. sized rows (and the +/- expansion icons for related rows).
  11305. 2006-06-27 Peter Dennis Bartok <[email protected]>
  11306. * TextBoxBase.cs: Applied Eno's patch from #78660
  11307. 2006-06-27 Peter Dennis Bartok <[email protected]>
  11308. * Form.cs (ScaleCore): We don't want to scale our form if it's
  11309. state is minimized or maximized, but we still need to scale our
  11310. child windows. Also, added try/finally block to ensure layout
  11311. gets reset (Fixes #78697)
  11312. 2006-06-27 Peter Dennis Bartok <[email protected]>
  11313. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  11314. 2006-06-27 Peter Dennis Bartok <[email protected]>
  11315. * Form.cs: Fixed c+p error and added check to resize form if minimum
  11316. size is bigger than current size (Fixes #78709)
  11317. 2006-06-26 Peter Dennis Bartok <[email protected]>
  11318. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  11319. 2006-06-26 Mike Kestner <[email protected]>
  11320. * ComboBox.cs: only do Keypress handling in the combo when there
  11321. are items in the collection. Fixes #78710.
  11322. 2006-06-26 Chris Toshok <[email protected]>
  11323. * Binding.cs: make this work bi-directionally. also, clear up
  11324. other mixups between Push/Pull Data (e.g. we're supposed to pull
  11325. data when validating).
  11326. * BindingManagerBase.cs: trim some fully qualified collection
  11327. types.
  11328. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  11329. 2006-06-23 Chris Toshok <[email protected]>
  11330. * PropertyManager.cs: It appears (according to the unit tests)
  11331. that PropertyManager doesn't use
  11332. PropertyDescriptor.AddValueChanged to track propery value changes
  11333. in its datasource, but uses the same scheme as Binding, where it
  11334. looks for a <Property>Changed event and binds to it.
  11335. Also, according to the docs, IsSuspended always returns false for
  11336. a property manager with a non-null datasource.
  11337. 2006-06-22 Peter Dennis Bartok <[email protected]>
  11338. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  11339. need to update the actual DialogResult. (Fixes #78613)
  11340. 2006-06-22 Peter Dennis Bartok <[email protected]>
  11341. * Form.cs (ShowDialog): Release any captures before running the
  11342. new message pump (fixes #78680)
  11343. 2006-06-22 Mike Kestner <[email protected]>
  11344. * ListView.cs: Layout column widths properly in details mode even
  11345. if HeaderStyle.None is set. Fixes #78691.
  11346. 2006-06-21 Peter Dennis Bartok <[email protected]>
  11347. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  11348. 2006-06-21 Peter Dennis Bartok <[email protected]>
  11349. * Control.cs (ContainsFocus): Using new driver method to get focused
  11350. window, instead of trying to use internal tracking var, which can
  11351. recursion issues (Fixes #78685)
  11352. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  11353. XplatUIWin32.cs: Added GetFocus method to return focused window
  11354. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  11355. * ColorDialog.cs: when the mouse button is pressed inside the color
  11356. matrix, don't let the cursor move out of it until the button is
  11357. released, which is the behavior on windows. Changed 'colours' by
  11358. 'colors' to use the same word consistently.
  11359. 2006-06-21 Chris Toshok <[email protected]>
  11360. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  11361. child relation and back, using a stack). Also, remove
  11362. GetDataSource and the code that calls it - it's not needed. Also,
  11363. track CurrencyManager.ListName's removal.
  11364. 2006-06-21 Chris Toshok <[email protected]>
  11365. * CurrencyManager.cs: push some of the original type checking from
  11366. BindingContext.CreateBindingManager to here, and remove some of
  11367. the finalType stuff. Need more tests to make sure I've got the
  11368. ListName part right, and we might need more in SetDataSource.
  11369. * PropertyManager.cs: add a ctor that takes just the datasource,
  11370. and no property name. Make SetDataSource work with a null
  11371. property_name, and make Current return the data_source if the
  11372. property descriptor is null. this makes 'string foo = "hi";
  11373. BindingContext[foo].Current' return "hi" as it should.
  11374. * RelatedCurrencyManager.cs: make this code more generic - there's
  11375. no reason the parent manager has to be CurrencyManager, and
  11376. there's no reason to pass the DataRelation. It suffices to use a
  11377. BindingManagerBase and PropetyDescriptor.
  11378. * RelatedPropertyManager.cs: make a similar change here.
  11379. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  11380. flower I knew it could be.
  11381. 2006-06-20 Chris Toshok <[email protected]>
  11382. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  11383. data in the source has changed and we need to update the control,
  11384. so s/PullData/PushData.
  11385. * CurrencyManager.cs: Refresh is meant to update the control from
  11386. data in the datasource. So, s/PullData/PushData.
  11387. * BindingContext.cs: add more ugliness (we weren't handling the
  11388. case where data_source = DataTable and data_member = column_name).
  11389. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  11390. from the perspective of the datasource. PullData pulls from the
  11391. control, PushData pushes to the control.
  11392. 2006-06-20 Chris Toshok <[email protected]>
  11393. * BindingContext.cs: rewrite the CreateBindingManager code to
  11394. handle navigation paths more or less properly. This could
  11395. definitely stand some more work, in particular to push the
  11396. recursion up to the toplevel. But that relies on fixes in other
  11397. places (System.Data comes to mind).
  11398. Also, move to a flat hashtable (and encode the twolevel nature of
  11399. the dictionary into the hash key). This lets us implement the
  11400. IEnumerable.GetEnumerator method.
  11401. * RelatedCurrencyManager.cs: new class. Update our view based on
  11402. our relation and our parent CurrencyManager's position.
  11403. * CurrencyManager.cs: split out some logic from the ctor into
  11404. SetView, so it can be called from the new RelatedCurrencyManager
  11405. subclass.
  11406. * RelatedPropertyManager.cs: new class. Update our datasource
  11407. based on the position of our parent CurrencyManager.
  11408. * PropertyManager.cs: split out some logic from the ctor into
  11409. SetDataSource, so it can be called from the new RelatedDataSource
  11410. subclass. Also, make the Current getter return the value
  11411. of the PropertyDescriptor, not the data_source.
  11412. * Binding.cs: no need to duplicate the string splitting code here.
  11413. 2006-06-19 Peter Dennis Bartok <[email protected]>
  11414. * Control.cs:
  11415. - set_Enabled: OnEnabledChanged is not called if the inherited state
  11416. of the control is not altered, even though we might be changing the
  11417. internal state of the control (#78458)
  11418. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  11419. OnEnabledChanged, to allow easy altering of any child window state
  11420. - OnEnabledChanged: Added code to enable/disable driver window state
  11421. - OnParentEnabledChanged: Instead of firing the event, call
  11422. OnEnabledChanged, which will fire the event and also a) set driver
  11423. window state and pass the enabled state to any grandchildren (#78458)
  11424. 2006-06-19 Jackson Harper <[email protected]>
  11425. * InternalWindowManager.cs: We don't set the cursor explicitly
  11426. thats done via the response to NCHITTESTs.
  11427. - Don't need to adjust for titlebar heights anymore, the
  11428. coordinates are coming in the correct coordinates now (see peters
  11429. last patch).
  11430. 2006-06-19 Peter Dennis Bartok <[email protected]>
  11431. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  11432. being translated relative to whole window, instead of client window.
  11433. That caused broken offsets on mouseclick (and caused gas for our
  11434. InternalWindowManager)
  11435. 2006-06-15 Peter Dennis Bartok <[email protected]>
  11436. * TextControl.cs:
  11437. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  11438. - Undo(): Added replay of cursor move on DeleteChars action; added
  11439. calling Undo() again if a recorded cursor move is invalid (to
  11440. ensure that some action is performed on Undo)
  11441. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  11442. 2006-06-16 Jackson Harper <[email protected]>
  11443. * MdiClient.cs: Instead of just sizing maximized windows when
  11444. there is a resize we also have to adjust the Y of minimized
  11445. windows, so they stay pinned to the bottom of the mdi container.
  11446. - Eliminate separate tracking of the active control, we can just
  11447. get this from the controls collection.
  11448. - Paint the decorations for the newly activated titlebar so we get
  11449. a pretty blue bar.
  11450. * InternalWindowManager.cs:
  11451. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  11452. even if they are a tool window.
  11453. 2006-06-15 Peter Dennis Bartok <[email protected]>
  11454. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  11455. undo buffer, these can happen when text was deleted and the cursor
  11456. was recorded first. Since we will also have a recorded cursor
  11457. after the delete this is not an issue. (Fixes #78651)
  11458. 2006-06-14 Peter Dennis Bartok <[email protected]>
  11459. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  11460. instead properly track control states internally (allows us to
  11461. remove is_selected from Control)
  11462. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  11463. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  11464. whose width is not a multiple of 8.
  11465. 2006-06-13 Jackson Harper <[email protected]>
  11466. * MdiClient.cs: Only maximize the next child if the current one
  11467. is maximized.
  11468. 2006-06-13 Chris Toshok <[email protected]>
  11469. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  11470. modified. Also, guard against grid or grid_drawing being null in
  11471. Invalidate.
  11472. * DataGrid.cs: Reformat tons of getters/setters. In the
  11473. DataMember setter, just call SetNewDataSource instead of
  11474. duplicating some of its functionality. In SetNewDataSource, don't
  11475. check ListManager for null, since the property getter creates the
  11476. object if needed.
  11477. * DataGridTableStyle.cs: don't set TableStyle or call
  11478. SetDataGridInternal on the column here, it's done in
  11479. GridColumnStylesCollection.Add.
  11480. * GridColumnStylesCollection.cs: fix all the explicit interface
  11481. implementations to just call our methods. Nuke AddInternal() and
  11482. move the body of it to Add(). Also, add a call to
  11483. column.SetDataGridInternal to Add().
  11484. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  11485. base()+duplicate code. Also, use the Format property instead of
  11486. format to generate an Invalidate ala MS. Lastly, create the
  11487. textbox here, unconditionally.
  11488. (set_Format): call Invalidate.
  11489. (get_TextBox): no need to call EnsureTextBox.
  11490. (Commit): remove the message box.
  11491. (Edit) remove the call to EnsureTextBox.
  11492. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  11493. (EnterNullValue): no need to check textbox for null.
  11494. (HideEditBox): no need to check textbox for null.
  11495. (SetDataGridInColumn): add the textbox to the grid's controls.
  11496. (EnsureTextBox): nuke.
  11497. 2006-06-13 Jackson Harper <[email protected]>
  11498. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  11499. and redraw the buttons when needed. Unhook when the window is
  11500. unmaximized.
  11501. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  11502. needs this so that it can redraw its buttons when the menu is
  11503. repainted.
  11504. * InternalWindowManager.cs:
  11505. * Form.cs: The method order has changed for DrawMaximizedButtons,
  11506. so that it can be a PaintEventHandler.
  11507. 2006-06-13 Jackson Harper <[email protected]>
  11508. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  11509. window is activated and maximized, even if it wasn't before.
  11510. - When a new window is activated repaint the decorations of the
  11511. old one, so that it no longer has the Active "look" (the blue
  11512. titlebar).
  11513. * InternalWindowManager.cs: Open up CreateButtons to base classes
  11514. so they can recreate the buttons on state changes.
  11515. - If a window is maximized give it all three buttons
  11516. * MdiWindowManager.cs: Create the titlebar buttons when the state
  11517. is changed, this is needed because a toolwindow will not have all
  11518. three buttons until it is maximized.
  11519. 2006-06-13 Atsushi Enomoto <[email protected]>
  11520. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  11521. Fixed bug #78609.
  11522. 2006-06-12 Jackson Harper <[email protected]>
  11523. * KeysConverter.cs: Make sure we handle the Ctrl special case
  11524. if its the only key.
  11525. 2006-06-12 Jackson Harper <[email protected]>
  11526. * Theme.cs: Add a method to get the size of a managed window
  11527. toolbar button.
  11528. * InternalWindowManager.cs: Remove the ButtonSize property, this
  11529. should be retrieved from the theme.
  11530. * MdiWindowManager.cs: Get the button size from the theme
  11531. * ThemeWin32Classic.cs: Make the method to get the managed window
  11532. titlebar button size public.
  11533. - Handle the different button sizes of maximized toolwindows
  11534. (should match any maximized window).
  11535. - Get the titlebar height from the theme, not the WM (which gets
  11536. it from the theme).
  11537. 2006-06-12 Jackson Harper <[email protected]>
  11538. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  11539. event down to the mdi window manager.
  11540. - Expose some extra stuff to base classes
  11541. - Make sure to end the Capture on an NC Mouse up, so that we can
  11542. get double clicks properly, and the sizing doens't stick.
  11543. - When doing PointToClient contain it in the workable desktop
  11544. area, this prevents windows from changing size when the cursor is
  11545. pulled outside of the working area while sizing.
  11546. * MdiWindowManager.cs: When we get a double click maximize the
  11547. window.
  11548. - Reset the cursor after handling mode changes.
  11549. 2006-06-12 Peter Dennis Bartok <[email protected]>
  11550. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  11551. current desktop, instead of just assuming a 0, 0 origin. This
  11552. is needed for our internal window manager, to know the top
  11553. margin of the desktop
  11554. 2006-06-12 Chris Toshok <[email protected]>
  11555. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  11556. we need this to get rid of the selected background in the bool
  11557. column.
  11558. (CancelEditing): move the ConcedeFocus call to above the Abort
  11559. call. Also, set is_changing to false and invalidate the row
  11560. header if we were changing before.
  11561. (ProcessKeyPreviewInternal): remove, since noone outside this
  11562. class calls it anymore. Roll the code into ProcessKeyPreview.
  11563. (EndEdit): remove the internal version.
  11564. (InvalidateCurrentRowHeader): make private.
  11565. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  11566. Keys.Escape handling (and with it the last call to
  11567. DataGrid.EndEdit from outside the class.)
  11568. 2006-06-12 Chris Toshok <[email protected]>
  11569. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  11570. (OnKeyPress): set isedit to true.
  11571. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  11572. already handled by the grid.
  11573. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  11574. right. ugh.
  11575. (set_DataSource): SetDataSource always returns true, so stop
  11576. putting it in an if statement.
  11577. (EndEdit): get rid of some {}'s
  11578. (ProcessGridKey): return true in case Keys.Escape.
  11579. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  11580. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  11581. PositionChanged, stopped connecting to CurrentChanged.
  11582. (GetDataSource): simplify this a bunch.
  11583. (SetDataSource): change return type from bool to void.
  11584. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  11585. to this, and make sure we don't set ListManager.Position inside
  11586. set_CurrentCell.
  11587. (OnListManagerItemChanged): if we're passed an actual index,
  11588. redraw that row.
  11589. * CurrencyManager.cs (set_Position): don't call PullData here.
  11590. 2006-06-09 Jackson Harper <[email protected]>
  11591. * TreeNode.cs: Recalculate the visible order before doing the
  11592. Expand/Collapse Below calls, because those calls generate an
  11593. expose.
  11594. - Reduce calls to the TreeView property, which is mildly expensive
  11595. by using a local var.
  11596. * Form.cs: Layout the MDI child windows when creating the parent
  11597. form.
  11598. - Don't use the internal constructor anymore
  11599. * MdiClient.cs: use the parent form width/height (if available)
  11600. when laying out the child windows, we do this because the
  11601. mdiclient isn't docked yet when the initial layout is done.
  11602. - Don't need an internal constructor anymore.
  11603. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  11604. * FileDialog.cs: handle access errors when trying to create a folder
  11605. or changing to a directory. No need to initialize out parameters.
  11606. 2006-06-08 Alexander Olk <[email protected]>
  11607. * FileDialog.cs: Append a number when creating a new folder if the
  11608. folder already exists (use parenthesis instead of square brackets)
  11609. 2006-06-08 Alexander Olk <[email protected]>
  11610. * FileDialog.cs:
  11611. - Disabled registry support for windows and added better registry
  11612. error checking for other systems (need to investigate why it
  11613. works perfectly on my system)
  11614. - If a folder already exist show an error MessageBox instead of
  11615. trying to create an indexed name.
  11616. - Fixed a non intentional typo.
  11617. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  11618. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  11619. 2006-06-08 Alexander Olk <[email protected]>
  11620. * FileDialog.cs: When creating a new folder don't crash if the
  11621. folder already exists.
  11622. 2006-06-08 Alexander Olk <[email protected]>
  11623. * FileDialog.cs: Allmost a complete rewrite.
  11624. - added a "virtual" file system that handles the differences
  11625. between unix and windows file systems (especially the directory
  11626. structure). Moved most of the directory and file handling code
  11627. into the vfs.
  11628. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  11629. UnixFileSystem and FSEntry.
  11630. - Recently used folder/directory, size, location and used file names
  11631. (file name ComboBox) are now stored in the registry and get read
  11632. before the dialog shows up (fixes part 6 of bug #78446).
  11633. - Creation of new folders/directories is now possible (context menu
  11634. or ToolBar). Added TextEntryDialog for this that fills in the gap
  11635. until ListView.LabelEdit works.
  11636. - Fixed cursor handling (bug #78527) and focus handling for
  11637. PopupButtonPanel
  11638. - Various "Search in" ComboBox enhancements. The content of the
  11639. dropdown listbox now almost matches ms.
  11640. - Changed the behaviour when the user switches to SpecialFolder
  11641. Recent to show the ListView in View.Details.
  11642. - Beside using the ToolBar to change the View property of the
  11643. file ListView it is now possible to use the context menu too.
  11644. 2006-06-08 Alexander Olk <[email protected]>
  11645. * ComboBox.cs: Don't create a new ObjectCollection when an item
  11646. gets inserted. Just insert the item in the existing object_items
  11647. ArrayList.
  11648. 2006-06-08 Jackson Harper <[email protected]>
  11649. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  11650. that the treeview and root node checks are done also, this fixes a
  11651. regression i caused in the unit tests.
  11652. 2006-06-07 Wade Berrier <[email protected]>
  11653. * RichTextBox.cs: More ISO8859-1 -> unicode
  11654. 2006-06-07 Mike Kestner <[email protected]>
  11655. * ComboBox.cs : use items to hold highlight/selection so that
  11656. collection insertions don't require synchronization.
  11657. 2006-06-07 Jackson Harper <[email protected]>
  11658. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  11659. routine. We now always keep the sized edge at the cursor instead
  11660. of computing movement and adjusting rects. There is one buglet
  11661. with this method though when the cursor is moved over area that
  11662. the window can not expand too (such as the toolbars on the desktop).
  11663. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  11664. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  11665. here. Fixes crash on startup in AlbumSurfer.
  11666. 2006-06-07 Peter Dennis Bartok <[email protected]>
  11667. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  11668. values
  11669. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  11670. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  11671. statement to avoid calling XNextEvent which will block if another thread
  11672. took the event that we were expecting. Fixes bug #78605.
  11673. 2006-06-07 Mike Kestner <[email protected]>
  11674. * ListView.cs : isolated checkbox clicking from the selection logic.
  11675. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  11676. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  11677. * Form.cs: Check that the value passed to Form.DialogResult
  11678. is a valid enum value.
  11679. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  11680. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  11681. Computer'. Clicking it in the network view goes to 'My Computer'.
  11682. Added CIFS filesystem type. Display the mount point of filesystems.
  11683. Avoid duplicate mount points (happens for me with CIFS);
  11684. 2006-06-06 Jackson Harper <[email protected]>
  11685. * InternalWindowManager.cs: Draw the maximized windows buttons
  11686. when resizing.
  11687. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  11688. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  11689. all other dialogs. Fixes bug #78585.
  11690. 2006-06-06 Mike Kestner <[email protected]>
  11691. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  11692. Only invalidate checkbox on checkstate changes to avoid flicker.
  11693. * ListBox.cs : avoid unselect/select when clicking selected item.
  11694. avoid reselection flicker for already multiselected items.
  11695. Fixes #78382.
  11696. 2006-06-06 Jackson Harper <[email protected]>
  11697. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  11698. the parent form so that the menu is removed if needed.
  11699. 2006-06-06 Mike Kestner <[email protected]>
  11700. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  11701. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  11702. 2006-06-06 Mike Kestner <[email protected]>
  11703. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  11704. 2006-06-06 Jackson Harper <[email protected]>
  11705. * Control.cs: Use the property (instead of the field) to get the
  11706. default cursor so it is instantiated correctly.
  11707. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  11708. resizes so we need to manually repaint the window decorations here.
  11709. - Set the titlebar button locations as soon as they are created,
  11710. otherwise they are not set correctly on win32.
  11711. 2006-06-06 Chris Toshok <[email protected]>
  11712. * CurrencyManager.cs (set_Position): call PullData before
  11713. OnCurrentChanged.
  11714. (AddNew): after calling IBindingList.AddNew, update our
  11715. listposition, and call OnCurrentChanged/OnPositionChanged (without
  11716. calling PullData).
  11717. (OnCurrentChanged): remove the call to PullData from here.
  11718. (OnItemChanged): remove the call to PushData from here.
  11719. (OnPositionChanged): change the test from == null to != null to
  11720. match the other methods.
  11721. (ListChangedHandler): the grossest part of the patch. Implement
  11722. this such that it passes the unit tests in CurrencyManagerTest and
  11723. the output more or less matches that of MS's implementation.
  11724. 2006-06-06 Mike Kestner <[email protected]>
  11725. * ListView.cs : only update check state on single click.
  11726. * ThemeWin32Classic.cs : fix focus drawing for details view without
  11727. fullrowselect. Fixes #78454.
  11728. * XplatUIX11.cs : fix for double click emission.
  11729. 2006-06-05 Jonathan Chambers <[email protected]>
  11730. * PropertyGridView.cs : Applied Atsushi's patch to fix
  11731. font dialog bug (#78197).
  11732. 2006-06-05 Jackson Harper <[email protected]>
  11733. * TreeNode.cs: Compute the next node for expanding/collapsing
  11734. correctly. We now factor in nodes without a NextNode
  11735. correctly. (Fixes somes cases in nunit-gui).
  11736. * InternalWindowManager.cs: Set the bounds when updating the
  11737. virtual position of a tool window.
  11738. 2006-06-05 Chris Toshok <[email protected]>
  11739. * DataGrid.cs: rename cached_currencymgr to list_manager.
  11740. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  11741. some.
  11742. (CurrentRow, CurrentColumn): single accessors so we can make the
  11743. cursor movement code a lot easier to understand.
  11744. (CurrentRowIndex): implement this in terms of CurrentRow.
  11745. (BeginEdit): clean this up a bit.
  11746. (CancelEditing): sort out the is_editing/is_changing/is_adding
  11747. stuff a little.
  11748. (EndEdit): minor changes.
  11749. (OnKeyDown): add a comment about a (most likely) unnecessary
  11750. check.
  11751. (OnMouseDown): cancel editing when we click on a row header. And
  11752. use the CurrentRow setter, not CurrentCell.
  11753. (ProcessDialogKey): directly call ProcessGridKey.
  11754. (UpdateSelectionAfterCursorMove): factor out this common block of
  11755. code (it's used everywhere that we move the cursor by updating row
  11756. or column).
  11757. (ProcessGridKey): pretty substantial overhaul. Use the
  11758. CurrentRow/CurrentColumn properties to make the code a lot more
  11759. readable. Only use the CurrentCell property when we have to
  11760. modify both row and column at once. Tab behavior is still broken,
  11761. and Delete is untested.
  11762. (Select): if we have no selected rows, set selection_start to
  11763. @row.
  11764. (EditCurrentCell): rename EditCell this. It was only ever invoked
  11765. with CurrentCell as the arg, so drop the arg and rename it.
  11766. * DataGridColumnStyle.cs: clean up the constructors a little, and
  11767. drop CommonConstructor().
  11768. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  11769. actually get notified when the user hits it.
  11770. (ProcessKeyMessage): *substantially* simplify this method.
  11771. There's no reason (that I can see) for the textbox to be making
  11772. calls into the datagrid at all. Remove all of them but the ones
  11773. for Enter handling. those will take some more work.
  11774. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  11775. calling HideEditBox.
  11776. (HideEditBox): if we have an active textbox, render it invisible
  11777. without causing a re-layout of the datagrid.
  11778. 2006-06-05 Mike Kestner <[email protected]>
  11779. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  11780. collection changes by resetting it to Items[0]. Fixes #78587.
  11781. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  11782. * MessageBox.cs: if the height of the text is larger than the icon_size,
  11783. use that. Fixes bug #78575.
  11784. 2006-06-05 Jackson Harper <[email protected]>
  11785. * TreeView.cs: Fix line drawing when scrolling. To do this each
  11786. node is basically responsible for drawing its entire horizontal
  11787. area. When drawing a node it draws its parent node lines if
  11788. needed.
  11789. - Adjust the clip area to the viewport rectangle
  11790. - Fix Left/Right key handling to match MS. (It expand/collapses
  11791. and moves to parents/first child but does not move selection to
  11792. sibling nodes).
  11793. - Fix SetTop to work with new bound calculation code
  11794. - When scrollbars are no longer needed we need to reset scrolling
  11795. vars and recalculate the visible order so the redraw is correct
  11796. * TreeNode.cs: We can't expand/collapse nodes with no children.
  11797. 2006-06-03 John Luke <[email protected]>
  11798. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  11799. so the colors work without dev packages
  11800. 2006-06-02 Peter Dennis Bartok <[email protected]>
  11801. * Control.cs
  11802. - Select: Implemented to just use activate. Seems to match MS
  11803. behaviour closest. Documented to only do actual control walking
  11804. based on it's parameters if in a container control so I moved
  11805. the code there.
  11806. - Removed selection check logic from our internal Select() method
  11807. * ContainerControl.cs:
  11808. - Select: Moved selection logic from Control here, since MS documents
  11809. that containers obey the bool arguments. No longer calling base
  11810. 2006-06-02 Jackson Harper <[email protected]>
  11811. * TreeView.cs: If the selected node isn't changed when we get
  11812. focus update the previously selected node so that we see the
  11813. selection box.
  11814. 2006-06-02 Mike Kestner <[email protected]>
  11815. * ComboBox.cs: restructure grab and general mouse event handling.
  11816. Make the composite control raise mouse events like it was a single
  11817. control for leaves/enters/motion/up/down events. fix dropdown list
  11818. coordinate mangling and refactor it into the scrollbar subclass to
  11819. reduce code duplication. Fixes #78282 #78361 and #78457.
  11820. 2006-06-02 Mike Kestner <[email protected]>
  11821. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  11822. automatically in the Control.WndProc.
  11823. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  11824. * FileDialog.cs: fix crash when running SharpChess, which sets the
  11825. FilterIndex to 2 with only one Filter.
  11826. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  11827. * ToolBar.cs: add SizeSpecified property.
  11828. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  11829. try to figure out our real size, otherwise fallback to what the
  11830. container says.
  11831. 2006-06-01 Peter Dennis Bartok <[email protected]>
  11832. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  11833. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  11834. up the event
  11835. 2006-06-01 Mike Kestner <[email protected]>
  11836. * ListView.cs: revamp the focus management in ListView. It still
  11837. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  11838. better than not handling focus at all. Will revisit when pdb feels
  11839. the general focus handling is solid. Fixes #78526.
  11840. 2006-06-01 Jackson Harper <[email protected]>
  11841. * TreeView.cs: Set the default border style in the constructor.
  11842. - Move painting to use OnPaintInternal instead of capturing
  11843. WM_PAINT, this is the correct way of doing things
  11844. - UpdateBelow shouldn't invalidate the scrollbar area
  11845. - Cap the top on update below in case the node was above the top
  11846. of the viewport rectangle.
  11847. - ExpandBelow and Collapse below need to obey Begin/End Update.
  11848. * TreeNode.cs: Make is_expanded internal so the treenode
  11849. collection can change it without firing the whole event chain.
  11850. * TreeNodeCollection.cs: When clearing all the child nodes make
  11851. sure to recalc the visible order.
  11852. - Improve algo for remove the top node
  11853. 2006-06-01 Peter Dennis Bartok <[email protected]>
  11854. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  11855. SendMessage directly calling window procedures, which in turn might
  11856. call SetFocus()
  11857. 2006-06-01 Peter Dennis Bartok <[email protected]>
  11858. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  11859. has focus (works around X11 sending a FocusIn after our SetFocus)
  11860. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  11861. 2006-06-01 Alexander Olk <[email protected]>
  11862. * Mime.cs: Fix for the NET_2_0 build.
  11863. NameValueCollection needs StringComparer now.
  11864. 2006-05-31 Chris Toshok <[email protected]>
  11865. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  11866. return (via an out parameter) the starting X of the column.
  11867. (UpdateVisibleColumn): track change to FromPixelToColumn.
  11868. (HitTest): add a ColumnResize case here.
  11869. (DrawResizeLine): new function, probably poorly named.
  11870. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  11871. only need to keep one reference.
  11872. (set_ListManager): same.
  11873. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  11874. Also, add support for HitTestType.ColumnResize.
  11875. (OnMouseMove): add column resize behavior here, and change the
  11876. cursor to the correct one as we move around the datagrid.
  11877. (OnMouseUp): terminate the column resize if we're resizing.
  11878. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  11879. for the current cell.
  11880. (ConnectListManagerEvents): use cached_currencymgr.
  11881. (DisconnectListManagerEvents): fill this in, using
  11882. cached_currencymgr.
  11883. (SetCurrentCell): remove cached_currencymgr_events handling.
  11884. (SetDataMember): only call DisconnectListManagerEvents if
  11885. cached_currencymgr is != null.
  11886. (SetDataSource): same.
  11887. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  11888. cached_currencymgr.
  11889. 2006-05-31 Jackson Harper <[email protected]>
  11890. * BindingManagerBase.cs: Remove somedebug code that creeped into
  11891. SVN.
  11892. * TreeNode.cs: We get the indent level dynamically right now, so
  11893. don't track it as a member.
  11894. * TreeNodeCollection.cs: Make sure all nodes added to the list
  11895. have parents, treeviews/topnodes setup properly.
  11896. - Don't attempt to track indent level.
  11897. 2006-05-30 Jackson Harper <[email protected]>
  11898. * BindingContext.cs: Create the currency manager tables here.
  11899. This allows us to more easily create null tables (when bad data
  11900. members are used), and more easily create related currency
  11901. managers.
  11902. * CurrencyManager.cs: All the table creation stuff is done by the
  11903. binding context now.
  11904. - Current should throw an exception if listposition is -1.
  11905. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  11906. been bound yet.
  11907. 2006-05-30 Mike Kestner <[email protected]>
  11908. * ListView.cs: allow reexpansion of zero-width column headers.
  11909. Fixes #78528.
  11910. 2006-05-28 Chris Toshok <[email protected]>
  11911. * CurrencyManager.cs (get_Current): after the late binding
  11912. listposition = -1 fix, we need to guard against it here and return
  11913. null, otherwise we raise an exception (which is swallowed
  11914. elsewhere, and breaks datagrid databinding.)
  11915. 2006-05-26 Peter Dennis Bartok <[email protected]>
  11916. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  11917. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  11918. 2006-05-26 Jackson Harper <[email protected]>
  11919. * ControlPaint.cs:
  11920. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  11921. values, it's faster and it's all we care about (we don't care if
  11922. the names aren't equal).
  11923. * KeyboardLayouts.cs: Eliminate some dead code.
  11924. - Lazy init things
  11925. * X11Keyboard.cs: Lazy init keyboard detection.
  11926. - Cleanup access modifiers a little.
  11927. 2006-05-26 Peter Dennis Bartok <[email protected]>
  11928. * XplatUIX11.cs: Once again, attempting to get layout just right.
  11929. 2006-05-26 Peter Dennis Bartok <[email protected]>
  11930. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  11931. the sizes of each link section, that will result in sizes that
  11932. match DrawString's layout (Fixes #78391)
  11933. 2006-05-27 Alexander Olk <[email protected]>
  11934. * FileDialog.cs: If AddExtension property is true autocomplete the
  11935. extensions in SaveFileDialog correctly. Fixes bug #78453.
  11936. Set MyNetwork and MyComputer to "C:\" for windows. This should
  11937. fix part 8 of bug #78446 for now.
  11938. 2006-05-26 Chris Toshok <[email protected]>
  11939. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  11940. invalidate the current row header if we need to, but presumably
  11941. we'll invalidate the row corrsponding to the bounds or
  11942. editingControl.
  11943. (GridHScrolled): switch back to this method, as it's part of the
  11944. public api. *sigh*.
  11945. (GridVScrolled): same.
  11946. (OnMouseWheel): hack up something that more or less works. Call
  11947. GridHScrolled/GridVScrolled directly, instead of duplicating much
  11948. of their code here.
  11949. (EnsureCellVisibility): reinstate a bunch of this code, since we
  11950. can't just set the scrollbar Value and expect to do all the work
  11951. in the ValueChanged handler. Also, Call Update() after scrolling
  11952. in one direction so the other XplatX11.ScrollWindow call has the
  11953. proper stuff in the proper places.
  11954. (EditCell): set is_editing to true before calling .Edit.
  11955. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  11956. don't bother comparing first.
  11957. (OnKeyPress): call grid.ColumnStartedEditing before calling
  11958. base.OnKeyPress. this will set is_changing and invalidate the row
  11959. header if necessary.
  11960. (ProcessKeyMessage): for WM_CHAR messages, call
  11961. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  11962. and WM_KEYDOWN.
  11963. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  11964. it's done in the DataGrid.
  11965. (NextState): call grid.ColumnStartedEditing, which takes care of
  11966. invalidating the row header (and setting is_changing).
  11967. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  11968. here. it's done in the DataGrid.
  11969. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  11970. * Control.cs: allow changing the cursor when the mouse position is
  11971. out of bounds but Capture is set.
  11972. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  11973. linklabel but released somewhere else.
  11974. 2006-05-25 Jackson Harper <[email protected]>
  11975. * TreeView.cs: When we get focus if there is no selected node make
  11976. it the top node
  11977. - Remove some uneeded setup code from Draw.
  11978. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  11979. a new node is inserted make the new node the top.
  11980. * XplatUIX11.cs:
  11981. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  11982. be used (should be faster).
  11983. 2006-05-25 Chris Toshok <[email protected]>
  11984. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  11985. problem with the last commit.
  11986. 2006-05-25 Chris Toshok <[email protected]>
  11987. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  11988. need the invalidate call here, while scrolling right-to-left via
  11989. the left arrow key (i.e. moving the editing cell while scrolling).
  11990. * DataGrid.cs (.ctor): remove the initialization of
  11991. ctrl_pressed/shift_pressed. We no longer track them using key
  11992. up/down handlers, but by using Control.ModifierKeys. Also, switch
  11993. to using ValueChanged handlers on the scrollbars instead of
  11994. Scrolled event handlers. This simplifies a bunch of the scrolling
  11995. code.
  11996. (GridHValueChanged): rename from GridHScrolled, and change it to
  11997. work with the new event args.
  11998. (GridVValueChanged): same.
  11999. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  12000. (OnMouseWheel): actually scroll the datagrid. Don't change the
  12001. selected cell.
  12002. (ProcessGridKey): correct all the keyboard navigation stuff I
  12003. could find. Ctrl up/down/left/right/home/end work now.
  12004. (EnsureCellVisibility): correct method name spelling. Also,
  12005. simplify this a touch by not explicitly calling the
  12006. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  12007. scrollbar value.
  12008. (OnKeyUpDG): no need for this method now.
  12009. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  12010. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  12011. Fixes bug #78392.
  12012. 2006-05-25 Chris Toshok <[email protected]>
  12013. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  12014. r61019.
  12015. 2006-05-25 Peter Dennis Bartok <[email protected]>
  12016. * Application.cs: Moved setting of is_modal and closing to before
  12017. we create the control, to allow the event handlers called as a
  12018. result of creation affect closing. Also removed Gonzalo's previous
  12019. change to setting DialogResult, the behaviour has been moved to
  12020. Form.ShowDialog()
  12021. * Form.cs:
  12022. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  12023. handle it instead
  12024. - ShowDialog(): If no dialog result is set, we need to return Cancel
  12025. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  12026. the close is cancelled
  12027. 2006-05-25 Jackson Harper <[email protected]>
  12028. * StatusBar.cs: We only need to update the sizes of the other
  12029. panels when we have auto size contents. Also we are only updating
  12030. the contents of the panel, not the borders, so compensate for the
  12031. border width (TODO: get this width from the theme somehow).
  12032. * TreeView.cs: Scrollable is true by default
  12033. - Use invalidate instead of refresh where needed
  12034. - Factor the scrollable value into scrollbar updating
  12035. - Update the scrollbars if the Scrollable property is altered
  12036. - Update the selected node if its ImageIndex is changed
  12037. - Handle null nodes in UpdateNode (mainly so we don't have to
  12038. check if selected is null when updating it
  12039. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  12040. are factored into the visible count
  12041. - Use VisibleCount for clarity in the code
  12042. - When the font is changed we need to recurse through all the
  12043. nodes and invalidate their sizes
  12044. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  12045. * Application.cs: set the DialogResult to fixed when the main form is
  12046. hidden or destroyed while being modal.
  12047. 2006-05-25 Miguel de Icaza <[email protected]>
  12048. * Theme.cs: Use Tangoified messagebox icons.
  12049. (GetSizedResourceImage): Also cope with width = 0 and do not
  12050. trigger a warning in that case (0 means "give me your icon from
  12051. the resouce, no special size needed).
  12052. 2006-05-25 Peter Dennis Bartok <[email protected]>
  12053. * Application.cs: Leave runloop if the the main modal form is
  12054. hidden (fixes #78484)
  12055. 2006-05-25 Atsushi Enomoto <[email protected]>
  12056. * BindingContext.cs : reject null datasource in Contains() and
  12057. Item[].
  12058. * CurrencyManager.cs : check data_member validity when data_source
  12059. is dataset. When it is late binding, the initial position is -1.
  12060. 2006-05-24 Jackson Harper <[email protected]>
  12061. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  12062. inserted nodes that aren't visible. This changes the
  12063. max_visible_order which confuses scrollbar settings.
  12064. - Use the enumerator to get the prev node instead of duplicating
  12065. code.
  12066. * TreeView.cs: Use new method for setting scrollbar values
  12067. - Don't set the bounds every time the scrollbar is updated
  12068. - When updating below the root node use an invalidate instead of a
  12069. refresh to prevent the child controls (scrollbars) from being
  12070. refreshed. (UpdateBelow still needs to be reworked anyways).
  12071. - Reenable SetBottom now that visible orders are set correctly,
  12072. added some debug code incase we ever get bad values there again.
  12073. - Set the scrollbar max to 2 less then the max value, this
  12074. compensates for the max value being one above the node count, and
  12075. for scrollbars adding one extra "notch".
  12076. - When drawing image nodes if there is an imagelist we draw the
  12077. first image in the list if the supplied image index is out of the
  12078. image list's bounds.
  12079. 2006-05-24 Peter Dennis Bartok <[email protected]>
  12080. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  12081. we receive a size change from the WM (Fixes #78503)
  12082. 2006-05-24 Peter Dennis Bartok <[email protected]>
  12083. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  12084. rectangle (Fixes #78501)
  12085. 2006-05-24 Peter Dennis Bartok <[email protected]>
  12086. * ButtonBase.cs:
  12087. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  12088. as a bitfield.
  12089. - Fixed MouseMove to no longer switch pressed state unless the left
  12090. mouse button is pressed. Atsushi provided the original patch (#78485)
  12091. 2006-05-24 Jackson Harper <[email protected]>
  12092. * ScrollBar.cs: New internal methods that allow us to change a
  12093. couple values on the scrollbar (the most common case is maximum
  12094. and large change) without getting multiple invalidates.
  12095. 2006-05-24 Chris Toshok <[email protected]>
  12096. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  12097. (Edit): save off the original state in oldState, and set
  12098. grid.is_editing to true.
  12099. (OnKeyDown): abort editing if escape is pressed. also, call
  12100. NextState if space is pressed.
  12101. (OnMouseDown): call NextState.
  12102. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  12103. here. Also, only invalidate the row header once (on the initial
  12104. is_changing switch) to save on redraws.
  12105. 2006-05-24 Chris Toshok <[email protected]>
  12106. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  12107. if the value in the cell is different than it was before. This
  12108. keeps us from triggering a layout when we move around a datarid
  12109. with a highlighted cell.
  12110. (Edit): suspend layout when creating/positining the text box, and
  12111. resume passing false so we don't ever actually re-layout.
  12112. (ReleaseHostedControl): same.
  12113. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  12114. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  12115. control-key sequences should go to the datagrid - remove that
  12116. lock. Also, modify the conditions under which we move between
  12117. cells when moving the cursor within a cell, and remove the "this"
  12118. and "base" from field accesses. We weren't even consistent, given
  12119. they all were in the base class.
  12120. 2006-05-24 Atsushi Enomoto <[email protected]>
  12121. * Binding.cs : (.ctor)
  12122. An obvious NRE fix for BindingTest.CtorNullTest().
  12123. 2006-05-23 Chris Toshok <[email protected]>
  12124. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  12125. them between lines. This fixes some quirks editing cells in the
  12126. datagrid.
  12127. 2006-05-23 Jackson Harper <[email protected]>
  12128. * TreeView.cs: Use begin/end update when doing expand/collapse all
  12129. so that we don't get flicker on the scrollbar.
  12130. 2006-05-23 Jackson Harper <[email protected]>
  12131. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  12132. treenode calculations to be independant of the painting code. To
  12133. do this nodes track a visible order which is calculated by the
  12134. treeview.
  12135. - Call new methods for expanding/collapsing nodes. These methods
  12136. use scrollwindow so we don't have to update everything below the
  12137. node.
  12138. * TreeView.cs: Refactored drawing and scrolling code. We don't
  12139. need to update nodes when drawing anymore or calculate scrollbar
  12140. stuff.
  12141. - Added new methods for expanding/collapsing nodes. These methods
  12142. use ScrollWindow so as to not have to redraw all the nodes below.
  12143. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  12144. we add/remove nodes or sort.
  12145. - Handle removing the selected and the top node properly.
  12146. 2006-05-23 Chris Toshok <[email protected]>
  12147. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  12148. maybe this should actually happen in the datagrid code?
  12149. (EndEdit): no need to invalidate anything, given that
  12150. ReleaseHostedControl causes the datagrid to relayout, which
  12151. invalidates everything anyway.
  12152. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  12153. in SetCurrentCell).
  12154. (set_SelectionBackColor): call InvalidateSelection instead of
  12155. Refresh.
  12156. (set_SelectionForeColor): same.
  12157. (BeginEdit): Flesh this out a bit.
  12158. (CancelEditing): only do any of this if we're editing/adding.
  12159. (EndEdit): same.
  12160. (OnMouseDown): there's no need to cancel editing here, it's done
  12161. in SetCurrentCell.
  12162. (SetCurrentCell): only invalidate the current row header if it's a
  12163. different row than the new one.
  12164. (ShiftSelection): fix this to work like MS does.
  12165. (ResetSelection): factor out the invalidation of selected_rows to
  12166. InvalidateSelection.
  12167. (SetDataSource): cancel any editing that's going on.
  12168. * DataGridColumnStyle.cs
  12169. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  12170. call the non-interface version.
  12171. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  12172. header rectangle with the clip rectangle so we don't redraw the
  12173. entire header for just a small area. Gets rid of the last flicker
  12174. when horizontally scrolling.
  12175. (DataGridPaintRow): same.
  12176. 2006-05-23 Mike Kestner <[email protected]>
  12177. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  12178. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  12179. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  12180. Critical bug report.
  12181. 2006-05-23 Peter Dennis Bartok <[email protected]>
  12182. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  12183. and this fixes #78493
  12184. 2006-05-23 Miguel de Icaza <[email protected]>
  12185. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  12186. size is not found.
  12187. * FileDialog.cs: Do not change the background for the side bar as
  12188. it wont work nicely with the theme, and also reduces the artifacts
  12189. in rendering the icons (which I want to fix too).
  12190. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  12191. resources, not resgen resources.
  12192. (PlatformDefaultHandler): Pull images using the new API.
  12193. 2006-05-23 Peter Dennis Bartok <[email protected]>
  12194. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  12195. a reference to the hwnd and will not remove it unless there are
  12196. no pending exposures (fixes #78341)
  12197. * XplatUI.cs: Improved debug
  12198. 2006-05-23 Atsushi Enomoto <[email protected]>
  12199. * MenuAPI.cs : don't handle OnClick event when it was not the left
  12200. button. Fixed bug #78487.
  12201. 2006-05-23 Mike Kestner <[email protected]>
  12202. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  12203. prefer submenus to the top menu for item lookup, to avoid popping down
  12204. top-row items.
  12205. 2006-05-23 Alexander Olk <[email protected]>
  12206. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  12207. Graphics.FillRectangle as the visual results are really bad (even
  12208. on win). We now draw perfect arrows (and perfect shadows when the
  12209. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  12210. Pen.DashPattern to draw the dots of each line.
  12211. 2006-05-22 Alexander Olk <[email protected]>
  12212. * FileDialog.cs: Update the filename combobox when navigating through
  12213. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  12214. 2006-05-22 Mike Kestner <[email protected]>
  12215. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  12216. Fixes #78463.
  12217. 2006-05-22 Mike Kestner <[email protected]>
  12218. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  12219. requests. Fix a misspelled parameter and a copy paste exception error
  12220. in Select.
  12221. 2006-05-22 Peter Dennis Bartok <[email protected]>
  12222. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  12223. to get the same width/height (5/13) on X11 as the default font has on
  12224. win32. This means that our DefaultFont emSize is smaller than the
  12225. the MS SWF equivalent (even thought the width/height stays the same)
  12226. 2006-05-20 Jackson Harper <[email protected]>
  12227. * MdiClient.cs:
  12228. * MdiWindowManager.cs:
  12229. * InternalWindowManager.cs: Make sure to use the border width from
  12230. the theme.
  12231. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  12232. * PrintDialog.cs: Implements printer details
  12233. 2006-05-19 Alexander Olk <[email protected]>
  12234. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  12235. Fixes part 1 and 2 of bug #78446
  12236. 2006-05-19 Peter Dennis Bartok <[email protected]>
  12237. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  12238. instead of sticking to the first ever calculated value
  12239. 2006-05-19 Mike Kestner <[email protected]>
  12240. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  12241. PointToClient, since Capture is set. Fixes #78344.
  12242. 2006-05-19 Mike Kestner <[email protected]>
  12243. * ListView.cs: match MS behavior in Details view where items are not
  12244. drawn if Columns.Count == 0.
  12245. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  12246. Use a separate pen to draw the check, since changing the width affects
  12247. the box as well. Fixes #78454.
  12248. 2006-05-18 Miguel de Icaza <[email protected]>
  12249. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  12250. exception should throw the name of the invalid argument.
  12251. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  12252. there are no files listed.
  12253. 2006-05-18 Jackson Harper <[email protected]>
  12254. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  12255. up.
  12256. 2006-05-18 Peter Dennis Bartok <[email protected]>
  12257. * Control.cs: Brought back our old UpdateZOrder method as a private
  12258. function and switched our calls from UpdateZOrder to the new one.
  12259. This fixes the Paint.Net canvas disappearing bug.
  12260. 2006-05-18 Jackson Harper <[email protected]>
  12261. * Theme.cs:
  12262. * ThemeWin32Classic.cs:
  12263. * InternalWindowManager.cs: Move the drawing into the theme,
  12264. expose everything the theme should need from the window manager.
  12265. 2006-05-18 Peter Dennis Bartok <[email protected]>
  12266. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  12267. from the call to NativeWindow to avoid walking up the parent chain
  12268. further than needed (speeds up setting cursors and avoids setting
  12269. the wrong cursor if a parent has another cursor defined)
  12270. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  12271. the icon as hotspot, not what's contained as hotspot in the icon
  12272. file. This fixes the perceived drawing offset seen with Paint.Net
  12273. 2006-05-18 Peter Dennis Bartok <[email protected]>
  12274. * XplatUIX11.cs:
  12275. - Store the calculated rectangle in Hwnd object and use it when
  12276. setting the client size
  12277. - Force Toolwindows to always be type Dock, to ensure they're on top
  12278. 2006-05-18 Mike Kestner <[email protected]>
  12279. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  12280. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  12281. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  12282. Substantial refactoring to remove confusing nested classes. Coding
  12283. standard and Get+Set->property refactorings. Shift to index based
  12284. highlighting in ComboListBox instead of constantly using IndexOf and
  12285. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  12286. in FileDialog growth. Draw borders manually since Simple mode needs
  12287. to look like two independent controls. Make listbox border
  12288. conditional to DropDownStyle. Improved OwnerDraw support.
  12289. 2006-05-18 Sebastien Pouliot <[email protected]>
  12290. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  12291. Don't set the disposed graphics to null, so we can throw the "right"
  12292. exception if the graphics is reused later (added a flag to avoid
  12293. double disposing). Some behaviours are different under 2.0 and are
  12294. filled under bug #78448.
  12295. 2006-05-18 Peter Dennis Bartok <[email protected]>
  12296. * Control.cs: When double-buffering is enabled, we need to reset
  12297. our graphics context between paint calls. Otherwise, any
  12298. transformations and other alterations on the context will
  12299. become cumulative (#77734)
  12300. 2006-05-18 Mike Kestner <[email protected]>
  12301. * ListView.cs: do focused item selection like MS on clicks.
  12302. Rework focus handling for ItemControl so LostFocus invalidates as
  12303. well.
  12304. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  12305. the ListView ItemControl has focus.
  12306. 2006-05-17 Peter Dennis Bartok <[email protected]>
  12307. * XplatUIX11.cs: If client_window ends up being width or height zero
  12308. due to border settings, move it off window inside whole_window (#78433)
  12309. 2006-05-17 Alexander Olk <[email protected]>
  12310. * Mime.cs: Shrink the mime file cache correctly.
  12311. 2006-05-17 Alexander Olk <[email protected]>
  12312. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  12313. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12314. * XplatUIX11.cs (AddExpose): More sanity checks
  12315. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12316. * XplatUIX11.cs:
  12317. - AddExpose: Don't add expose ranges outside the size of our
  12318. window
  12319. - Cast opacity values to Int32 to avoid crashes with certain
  12320. values
  12321. - Added disabled code paths that protect against illegal cross-
  12322. thread painting (Developers.exe)
  12323. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12324. * ProgressBar.cs: Invalidate the control when it's resized
  12325. since block size is based on control size. (#78388)
  12326. 2006-05-16 Miguel de Icaza <[email protected]>
  12327. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  12328. of setting the incoming argument to the "reset" value, we set the
  12329. this.datamember to string.empty (before we were invalidating the
  12330. incoming data).
  12331. Fixes 78420
  12332. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12333. * Form.cs: Only apply transparency settings after the form
  12334. is created. (Fixes #77800)
  12335. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12336. * ApplicationContext.cs: Grab the HandleDestroyed event so
  12337. we know when to fire OnMainFormClosed
  12338. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12339. * Application.cs: Introduced sub-class to allow tracking of
  12340. threads and centralized triggering of the event mess for
  12341. ThreadExit, AppExit, etc.. (#76156)
  12342. 2006-05-16 Alexander Olk <[email protected]>
  12343. * MimeIcon.cs:
  12344. - Do not return a null icon index value for a mime subclass.
  12345. Instead try the main mime type class too.
  12346. - Seems that some newer distributions don't have a link to some
  12347. gnome default icons anymore. So check the default gnome dir too.
  12348. 2006-05-16 Jackson Harper <[email protected]>
  12349. * MdiClient.cs: Don't paint the parent background image if we have
  12350. our own background image.
  12351. 2006-05-16 Peter Dennis Bartok <[email protected]>
  12352. * Control.cs:
  12353. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  12354. controls, all filled controls are supposed to overlap (#78080)
  12355. - UpdateZOrder is supposed to update the control's z-order in the
  12356. parent's z-order chain. Fixed to behave like that
  12357. - BringToFront: Removed obsolete code
  12358. - SendToBack: Simplyfied
  12359. - SetChildIndex: Trigger layout calculations when Z-order changes
  12360. since layout is done by z-order
  12361. 2006-05-16 Chris Toshok <[email protected]>
  12362. [ fixes bug #78410 ]
  12363. * DataGrid.cs (set_AlternatingBackColor): use
  12364. grid_drawing.InvalidateCells instead of Refresh().
  12365. (set_BackColor): call grid_drawing.InvalidateCells.
  12366. (set_BackgroundColor): use Invalidate instead of Refresh.
  12367. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  12368. invalidate the cell area.
  12369. 2006-05-15 Chris Toshok <[email protected]>
  12370. [ fixes bug #78011 ]
  12371. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  12372. on to DataGridPaintRow.
  12373. (DataGridPaintRow): take a clip argument, and only draw the cells
  12374. which intersect it. same with the not_usedarea.
  12375. * Theme.cs (DataGridPaintRow) add @clip parameter.
  12376. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  12377. XplatUI.ScrollWindow.
  12378. (ScrollToRow): same.
  12379. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  12380. with last column which was causing a gray swath to appear with the
  12381. XplatUI.ScrollWindow code.
  12382. 2006-05-15 Chris Toshok <[email protected]>
  12383. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  12384. use XplatUI.ScrollWindow.
  12385. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  12386. 2006-05-15 Peter Dennis Bartok <[email protected]>
  12387. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  12388. 2006-05-15 Peter Dennis Bartok <[email protected]>
  12389. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  12390. file since there are no equivalent X11 cursors
  12391. 2006-05-15 Atsushi Enomoto <[email protected]>
  12392. * MonthCalendar.cs : DateTimePicker should reflect selected date
  12393. on mouse*up*, not mouse*down*. Fixed originally reported part of
  12394. bug #76474.
  12395. 2006-05-15 Atsushi Enomoto <[email protected]>
  12396. * TabControl.cs : When argument index is equal or more than tab
  12397. count, just ignore. Fixed bug #78395.
  12398. 2006-05-15 Peter Dennis Bartok <[email protected]>
  12399. * Control.cs: Dispose all child controls when control is diposed (#78394)
  12400. 2006-05-14 Alexander Olk <[email protected]>
  12401. * ColorDialog.cs: Finally it is possible to select the color with
  12402. the text boxes
  12403. 2006-05-14 Alexander Olk <[email protected]>
  12404. * PrintDialog.cs: Fix typo
  12405. 2006-05-14 Alexander Olk <[email protected]>
  12406. * PrintDialog.cs: PrintDialog is not resizable
  12407. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  12408. color. Made some ToolBar drawing methods protected virtual.
  12409. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  12410. * PrintDialog.cs: Implementation of the PrintDialog
  12411. 2006-05-12 Chris Toshok <[email protected]>
  12412. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  12413. thumb, instead use MoveThumb. This has the side effect of making
  12414. most of the other thumb moving machinery use MoveThumb as well.
  12415. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  12416. need to actually invalidate the rectangle where the new thumb will
  12417. go.
  12418. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  12419. We force an Update() after, so it's not as fast as it could be,
  12420. but at least there's zero flicker and no droppings.
  12421. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  12422. (UpdateThumbPos): add another argument (dirty), which says whether
  12423. or not to calculate/add dirty regions which we later invalidate.
  12424. For cases where we know we're going to use MoveThumb, we pass
  12425. false for this. Otherwise, pass true.
  12426. 2006-05-12 Jackson Harper <[email protected]>
  12427. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  12428. the status bar.
  12429. 2006-05-12 Peter Dennis Bartok <[email protected]>
  12430. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  12431. and GetClipRegion methods and UserClipWontExposeParent property.
  12432. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  12433. overriding UserClipWontExposeParent property, setting to false, since
  12434. Win32 handles the required expose messages to draw our clipped parent
  12435. areas internally
  12436. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  12437. PaintEventStart to set the user clip region if set.
  12438. * Control.cs:
  12439. - Now internally tracking the Region for the control since we need to
  12440. store it if the handle is not yet created and only set it when it
  12441. becomes created. Before setting the region forced handle creation
  12442. - Added code to draw the parents underneath a user-clipped region
  12443. * Hwnd.cs: Added UserClip property
  12444. 2006-05-12 Chris Toshok <[email protected]>
  12445. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  12446. (set_Maximum): same.
  12447. (set_Minimum): same.
  12448. (set_SmallChange): same.
  12449. (OnMouseUpSB): remove the call to refresh when releasing the
  12450. thumb. We shouldn't need it.
  12451. 2006-05-12 Miguel de Icaza <[email protected]>
  12452. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  12453. AutoSize set to None, we do not need to relayout everything, we
  12454. just need to invalidate the current region.
  12455. (Draw): Do not draw the entire ClientArea, just redraw the
  12456. clip area being passed.
  12457. * MdiClient.cs: Make MdiClient constructor with the Form argument
  12458. internal.
  12459. 2006-05-12 Jackson Harper <[email protected]>
  12460. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  12461. parents background image, but strangely not their own.
  12462. - (DrawStatusBarPanel): Take into account horizontal alignment
  12463. when drawing the strings and icons.
  12464. 2006-05-12 Mike Kestner <[email protected]>
  12465. * ListBox.cs: avoid invalidations for focus when the collection is
  12466. empty.
  12467. 2006-05-12 Chris Toshok <[email protected]>
  12468. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  12469. invalidate the entire thumb area. Call InvalidateDirty which
  12470. limits the redraw to the thumb itself and surrounding pixels.
  12471. * XplatUIX11.cs (ScrollWindow): optimize copying.
  12472. 2006-05-12 Chris Toshok <[email protected]>
  12473. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  12474. Figure out the positioning/layout in a single pass instead of
  12475. multiple recursive invocations. Speeds up the initial display of
  12476. the data grid. Also, make many things private that were
  12477. originally public but unused outside this class.
  12478. 2006-05-11 Jackson Harper <[email protected]>
  12479. * MdiClient.cs: Improved layout code.
  12480. 2006-05-11 Jonathan Chambers <[email protected]>
  12481. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  12482. not SelectedObject.
  12483. 2006-05-11 Chris Toshok <[email protected]>
  12484. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  12485. union of that will always be {0,0,width,height}.
  12486. 2006-05-11 Jackson Harper <[email protected]>
  12487. * Form.cs: Match MS's DefaultSize for forms (they must have
  12488. changed the size in sp2).
  12489. 2006-05-11 Atsushi Enomoto <[email protected]>
  12490. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  12491. 2006-05-11 Atsushi Enomoto <[email protected]>
  12492. * TextControl.cs : Fixed bug #78109. This incorrect position
  12493. comparison caused crash on automatic line split.
  12494. * TextBoxBase.cs : reduce duplicate code.
  12495. 2006-05-10 Jackson Harper <[email protected]>
  12496. * MdiClient.cs: Active form is only sent to the back when using
  12497. the Next form functionality, when a form is clicked the current
  12498. active shouldn't be sent to the back.
  12499. - Layout the mdi windows when the container is first made visible.
  12500. * Form.cs: Give the MdiClient a ref to the containing form when we
  12501. create it.
  12502. 2006-05-10 Atsushi Enomoto <[email protected]>
  12503. * LinkLabel.cs : link_font could be uninitialized, so populate one
  12504. before actual use. Fixed bug #78340.
  12505. 2006-05-10 Atsushi Enomoto <[email protected]>
  12506. * XplatUIX11.cs : clipboard format native value is IntPtr.
  12507. Fixed bug #78283.
  12508. 2006-05-10 Peter Dennis Bartok <[email protected]>
  12509. * Control.cs:
  12510. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  12511. which is passed up the parent chain by DefWndProc
  12512. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  12513. to DefWndProc (#77956)
  12514. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  12515. 2006-05-10 Jackson Harper <[email protected]>
  12516. * MdiClient.cs: We need to remove the controls from the mdi
  12517. collection, when we close the window.
  12518. * MdiWindowManager.cs: Special handling of closing mdi windows.
  12519. * InternalWindowManager.cs: Make the close method virtual so the
  12520. mdi window manager can handle it specially.
  12521. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  12522. * DataGrid.cs:
  12523. - Recalculate grid when the data source has changed
  12524. - Matches styles provided by user from all data sources types
  12525. * DataGridTableStyle.cs: For columns that provided by the user set the
  12526. with the preferred value is there was unassigned.
  12527. * CurrencyManager.cs: throw OnItemChanged event
  12528. 2006-05-10 Peter Dennis Bartok <[email protected]>
  12529. * PictureBox.cs: Don't animate until handle is created. Start animation
  12530. when handle is created.
  12531. 2006-05-10 Peter Dennis Bartok <[email protected]>
  12532. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  12533. current codebase.
  12534. * XEventQueue.cs: We don't need to provide the extra info
  12535. 2006-05-10 Jackson Harper <[email protected]>
  12536. * MdiClient.cs: If the mdi clients parent form has a background
  12537. image set, we draw that background image for the mdi area's
  12538. background.
  12539. 2006-05-10 Peter Dennis Bartok <[email protected]>
  12540. * TextBoxBase.cs: Set IBeam cursor (#78347)
  12541. 2006-05-10 Mike Kestner <[email protected]>
  12542. * ToolBar.cs: fix some text padding issues with ButtonSize
  12543. calculation. Update the default size to match MS documentation.
  12544. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  12545. button size. Fixes #78296.
  12546. 2006-05-10 Mike Kestner <[email protected]>
  12547. * ListBox.cs: use is_visible for scrollbar positioning in case the
  12548. control isn't on screen yet. Fix off by one with Right vs Width
  12549. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  12550. 2006-05-10 Jackson Harper <[email protected]>
  12551. * X11Dnd.cs: Drop to a control with another control on top of it.
  12552. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  12553. be modified in click handlers. TODO: Look for similar problems in
  12554. other controls.
  12555. 2006-05-09 Jackson Harper <[email protected]>
  12556. * Form.cs: Window managers need the old window state when setting
  12557. window state now.
  12558. * InternalWindowManager.cs: Allow the base mdi window manager to
  12559. handle more of the MDI only stuff (like maximize buttons).
  12560. * MdiWindowManager.cs: Fix some snafus in changing the window
  12561. state. Add all the menu functionality, for both popup and
  12562. maximized menus.
  12563. * MdiClient.cs: When a new form is selected the currently
  12564. activated form is sent to the back, this matches MS.
  12565. - Implement a new method to activate the next mdi child window.
  12566. 2006-05-08 Peter Dennis Bartok <[email protected]>
  12567. * Control.cs:
  12568. - Added new InternalCapture method to allow controls to prevent
  12569. the capture behaviour on the click handlers
  12570. - Switched to use InternalCapture
  12571. * ComboBox.cs:
  12572. - Using InternalCapture to prevent mouse captures from being released
  12573. on mouse button release (Fixes #78100)
  12574. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  12575. returns Form borders if a caption is present. (Fixes #78310)
  12576. 2006-05-08 Peter Dennis Bartok <[email protected]>
  12577. * TreeNode.cs: Changed serialization .ctor to not require every field
  12578. to be present. (#78265)
  12579. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  12580. 2006-05-05 Alexander Olk <[email protected]>
  12581. * MimeIcon.cs: for is faster than foreach for strings.
  12582. 2006-05-05 Mike Kestner <[email protected]>
  12583. * CheckedListBox.cs: update check handling code to not use selected.
  12584. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  12585. behavior for visual feedback, motion response, shift/ctrl handling,
  12586. and properly deal with all 4 selection modes. Updates to bounds
  12587. handling logic. Add scroll wheel support. [Fixes #77842]
  12588. 2006-05-05 Peter Dennis Bartok <[email protected]>
  12589. * ListView.cs:
  12590. - Moved adding of Implicit controls into .ctor. That way, subsequent
  12591. creation of the controls will not cause them to think they are
  12592. toplevel windows (fixes #78200 header problem)
  12593. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  12594. - Switched visibility setting of header control to use internal field
  12595. to avoid triggering handle creation
  12596. - Now checking if handle is created before causing a refresh when items
  12597. are added (This makes us now match handle creation time with MS)
  12598. * Splitter.cs: Removed loading of private splitter cursor, switched to
  12599. Cursors version now that that is loading the right ones
  12600. * Cursors.cs: Load proper splitter cursors from resources
  12601. * Cursor.cs: Added second method of loading resource cursors for the
  12602. VS.Net users amongst us
  12603. 2006-05-05 Mike Kestner <[email protected]>
  12604. * ListView.cs: give header_control a minimum size based on the
  12605. ListView size.
  12606. 2006-05-05 Peter Dennis Bartok <[email protected]>
  12607. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  12608. window seems to do that with metacity, so set that type. (#78120)
  12609. 2006-05-05 Mike Kestner <[email protected]>
  12610. * ListViewItem.cs: fix Details mode checkbox layout bug.
  12611. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  12612. at the end of the header, if it exists. [Fixes for #78200]
  12613. 2006-05-04 Jackson Harper <[email protected]>
  12614. * MdiClient.cs: Add a helper property to get the container form.
  12615. * MdiWindowManager.cs: We have to make sure to use the menu origin
  12616. when drawing the icons and buttons, this fixes maximized window
  12617. icons/buttons on win32.
  12618. * InternalWindowManager.cs: Reset the restore captions when a
  12619. window goes from Maximized to Minimized and vice versa. Move the
  12620. DrawMaximizedButtons into the MdiWindowManager source, tool
  12621. windows can't be maximized. NOTE: This could use a little
  12622. refactoring if time ever permits.
  12623. 2006-05-03 Jonathan Chambers <[email protected]>
  12624. * TextBox.cs: Add MWFCategoryAttributes
  12625. * TextBoxBase.cs: Add MWFCategoryAttributes
  12626. * Form.cs: Add MWFCategoryAttributes
  12627. 2006-05-03 Jonathan Chambers <[email protected]>
  12628. * Control.cs: Add MWFCategoryAttributes
  12629. * ScrollableControl.cs: Add MWFCategoryAttributes
  12630. 2006-05-03 Alexander Olk <[email protected]>
  12631. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  12632. Divider is true. Fix a little glitch in PropertyToolBar
  12633. drawing code
  12634. 2006-05-02 Peter Dennis Bartok <[email protected]>
  12635. * Control.cs:
  12636. - Dispose: Call base.Dispose, this causes the disposed event
  12637. to be fired (and probably other, more important stuff)
  12638. - SetVisibleCore: Set is_visible to true after creating the
  12639. window so that the window still gets created invisible (if
  12640. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  12641. to generate a WM_ACTIVE message
  12642. * Form.cs: Call Dispose when we want to destroy the window, instead of
  12643. just destroying the handle (Dispose will do that for us)
  12644. * XplatUIX11.cs:
  12645. - RootWindow also needs a queue, so we can properly process the
  12646. property change events from RootWindow (like Activate)
  12647. - Generatic synthetic WM_ACTIVE message when the active window is
  12648. being destroyed
  12649. 2006-05-01 Peter Dennis Bartok <[email protected]>
  12650. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  12651. bounds are changed
  12652. 2006-05-01 Peter Dennis Bartok <[email protected]>
  12653. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  12654. for determining width and height (image might not be assigned if
  12655. we're drawing an imagelist)
  12656. 2006-05-01 Peter Dennis Bartok <[email protected]>
  12657. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  12658. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  12659. height from system
  12660. * Theme.cs: No longer returns hardcoded menu height, instead calls
  12661. new driver method
  12662. * Form.cs (OnLoad): Scaling happens before triggering Load events
  12663. on MS (# 78257)
  12664. 2006-05-01 Mike Kestner <[email protected]>
  12665. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  12666. 2006-04-30 Peter Dennis Bartok <[email protected]>
  12667. * TextBoxBase.cs: Removed Fixme
  12668. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  12669. 2006-04-30 Peter Dennis Bartok <[email protected]>
  12670. * XplatUIX11.cs:
  12671. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  12672. the rectangle relative to the parent, considering borders. We
  12673. don't really want that.
  12674. - ScrollWindow: Fixed warning to be more understandable
  12675. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  12676. scrollbars and scroll only the visible area
  12677. * RichTextBox.cs: Removed debug output
  12678. 2006-04-29 Peter Dennis Bartok <[email protected]>
  12679. * NumericUpDown.cs (Text): Just use base
  12680. * UpDownBase.cs: Ensure txtView is created before using it
  12681. 2006-04-29 Peter Dennis Bartok <[email protected]>
  12682. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  12683. casting to IntPtr to avoid 64bit overflow errors
  12684. 2006-04-29 Peter Dennis Bartok <[email protected]>
  12685. * Control.cs:
  12686. - AllowDrop: Don't force handle creation.
  12687. - CreateHandle: Added call to tell driver if we're allowed to drop
  12688. 2006-04-27 Alexander Olk <[email protected]>
  12689. * FileDialog.cs: Remember the last directory not only for the
  12690. current instance but also for new FileDialog instances.
  12691. 2006-04-29 Peter Dennis Bartok <[email protected]>
  12692. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  12693. broke sending async messages
  12694. 2006-04-29 Peter Dennis Bartok <[email protected]>
  12695. * XplatUIX11.cs:
  12696. - ScrollWindow: Fixed method. We finally generate expose events again
  12697. for scrolled areas. This was causing 'garbage' when scrolling
  12698. textbox and other controls that used ScrollWindow
  12699. - Switched from using the regular queue for paint events to the MS
  12700. model of 'generating' paint events when the queue is empty.
  12701. We use the new XQueueEvent.Paint subclass to store which windows
  12702. need painting.
  12703. - AddExpose now takes the x/y/width/height of the exposed area
  12704. and inserts the window into the paint queue if not already there
  12705. - InvalidateWholeWindow: Switched to use new AddExpose method
  12706. - UpdateMessageQueue: Added which queue to monitor for paint events
  12707. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  12708. the unlikely case nothing above handles it. We reset the expose
  12709. pending states to get them off the queue.
  12710. - GetMessage: Now pulls a paint event if no other events are in the
  12711. queue
  12712. - Invalidate: Switched to new AddExpose method
  12713. - PeekMessage: Updated to understand pending paint events
  12714. - UpdateWindow: Fixed logic bug. We were only updating if the window
  12715. didn't need updating. Also switched to sending WM_PAINT directly,
  12716. like MS does.
  12717. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  12718. and random access Remove(). The random access is needed to handle
  12719. UpdateWindow() where a WM_PAINT is sent directly without accessing
  12720. the queue.
  12721. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  12722. allow for better feedback when scrolling. Scrollbars are small and
  12723. the immediate update should make it 'feel' more responsive without
  12724. slowing things down. ScrollBar still needs it's invaliate logic
  12725. updated to not always invalidate the whole bar on certain changes.
  12726. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  12727. * Control.cs:
  12728. (BackColor): if the control does not support a transparent background,
  12729. return the default backcolor when the parent backcolor is transparent.
  12730. 2006-04-28 Peter Dennis Bartok <[email protected]>
  12731. * Application.cs: Updated to new StartLoop/GetMessage API
  12732. * RichTextBox.cs: Provide some output on RTF parsing errors
  12733. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  12734. new queue_id argument to GetMessage and PeekMessage to allow faster
  12735. handling of per-thread queues in drivers.
  12736. * Hwnd.cs: Added Queue tracking and property
  12737. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  12738. * XEventQueue.cs: Added thread trackingA
  12739. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  12740. * XplatUIX11.cs:
  12741. - Implemented new per-thread queue
  12742. - GetMessage: Fixed return/break behaviour on several cases. We were
  12743. returning stale messages in some cases, instead of just processing
  12744. the next message
  12745. 2006-04-27 Jonathan Chambers <[email protected]>
  12746. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  12747. 2006-04-27 Peter Dennis Bartok <[email protected]>
  12748. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  12749. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  12750. 2006-04-27 Jonathan Chambers <[email protected]>
  12751. * PropertyGridView.cs: Fix drop down width.
  12752. 2006-04-27 Alexander Olk <[email protected]>
  12753. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  12754. a mess in DrawToolBar, so I removed one of them.
  12755. 2006-04-27 Alexander Olk <[email protected]>
  12756. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  12757. needed (clip). Otherwise we get artifacts.
  12758. 2006-04-26 Peter Dennis Bartok <[email protected]>
  12759. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  12760. dimension is fixed
  12761. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  12762. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  12763. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  12764. if it matches the scale base font (avoids unneeded scaling)
  12765. 2006-04-26 Alexander Olk <[email protected]>
  12766. * X11DesktopColors.cs: One gtk_init_check should be enough
  12767. 2006-04-26 Peter Dennis Bartok <[email protected]>
  12768. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  12769. match MS behaviour
  12770. 2006-04-26 Peter Dennis Bartok <[email protected]>
  12771. * TextBoxBase.cs:
  12772. - Generate OnTextChanged for Backspace even if we're only deleting
  12773. the current selection
  12774. - When setting the Text property, only select all text if the
  12775. control does not have focus when it is being set. Otherwise
  12776. just place the cursor at the beginning of the control
  12777. 2006-04-26 Alexander Olk <[email protected]>
  12778. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  12779. Added a little helper to draw PropertyGrid ToolBar with a different
  12780. border and a different BackColor.
  12781. * PropertyGrid.cs: Some background parts didn't get painted with the
  12782. correct background color. Added a class that helps us to draw the
  12783. correct border for PropertyGridView and a class that helps us to
  12784. draw ToolBars with a different backcolor
  12785. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  12786. 2006-04-25 Jonathan Chambers <[email protected]>
  12787. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  12788. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  12789. 2006-04-25 Peter Dennis Bartok <[email protected]>
  12790. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  12791. into the palette entries. Also, since we're working on a copy
  12792. we needed to copy the palette back onto the bitmap.
  12793. * Cursor.cs: Same fix as XplatUIWin32.cs.
  12794. 2006-04-25 Peter Dennis Bartok <[email protected]>
  12795. * ImageListStreamer.cs: Need to read the var (or we're off)
  12796. 2006-04-25 Peter Dennis Bartok <[email protected]>
  12797. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  12798. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  12799. TextBoxBase.cs: Unused var fixes
  12800. * AxHost.cs: Small 2.0 fix
  12801. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  12802. as it seems that is what at least Metacity expects. This will make
  12803. icons show up on 64bit platforms. We still have some 64bit size
  12804. issues, though, since the startup app window size still won't match.
  12805. 2006-04-25 Mike Kestner <[email protected]>
  12806. * *.cs: cleanup newly reported exception var unused warnings.
  12807. 2006-04-25 Alexander Olk <[email protected]>
  12808. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  12809. ms
  12810. 2006-04-25 Alexander Olk <[email protected]>
  12811. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  12812. image. The image position is always the same, no matter if the
  12813. button is pressed or not.
  12814. 2006-04-25 Alexander Olk <[email protected]>
  12815. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  12816. selection and set the correct filename for SaveFileDialog.
  12817. Patch by Emery Conrad.
  12818. 2006-04-24 Mike Kestner <[email protected]>
  12819. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  12820. check for item.X outside the ClientRect instead of item.Y. Fixes
  12821. #78151.
  12822. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  12823. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  12824. trust that value blindly and do some sanity check. Fixes bug #77814.
  12825. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  12826. * ImageListStreamer.cs: save the mask as a 1bpp image.
  12827. 2006-04-21 Mike Kestner <[email protected]>
  12828. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  12829. pass Checked and Indeterminate to the Theme Engine. Improve
  12830. encapsulation with ListBox.
  12831. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  12832. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  12833. nested types. Move all CheckState functionality to CheckedListBox.
  12834. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  12835. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  12836. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  12837. single base list. Fix scrollbar sizing and placement to mirror MS.
  12838. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  12839. used.
  12840. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  12841. for CheckedListBox by using new DrawItemState info. Center the
  12842. checkboxes on the items. Use new StringFormat property.
  12843. 2006-04-18 Jackson Harper <[email protected]>
  12844. * Form.cs: MdiChildren don't do default locations the same way as
  12845. regular forms. This prevents a crash when trying to position the
  12846. mdi windows.
  12847. 2006-04-17 Jonathan Chambers <[email protected]>
  12848. * PropertyGridTextBox.cs: Formatting, copyright
  12849. * PropertiesTab.cs: Formatting
  12850. * PropertyGrid.cs: Formatting
  12851. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  12852. click toggling of values
  12853. 2006-04-17 Peter Dennis Bartok <[email protected]>
  12854. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  12855. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  12856. every time a control is created
  12857. * Application.cs: Removed obsolete EnableRTLMirroring method
  12858. 2006-04-18 Gert Driesen <[email protected]>
  12859. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  12860. SelectedIndex to -1. Fixes bug #78121.
  12861. 2006-04-17 Jackson Harper <[email protected]>
  12862. * Binding.cs: Handle null values for Current and BindingContext.
  12863. This occurs when binding is a little delayed.
  12864. * CurrencyManager.cs: return null for Current when there are no
  12865. items in the list.
  12866. - Hookup to the listchanged event on the DataView and update
  12867. bindings when the list is changed. This fixes late binding of
  12868. controls.
  12869. 2006-04-17 Jackson Harper <[email protected]>
  12870. * X11Dnd.cs:
  12871. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  12872. Ringenbach.
  12873. 2006-04-15 Alexander Olk <[email protected]>
  12874. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  12875. place
  12876. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  12877. with the correct ButtonState
  12878. 2006-04-14 Peter Dennis Bartok <[email protected]>
  12879. * XplatUIX11.cs: Improved distinguishing between window types to
  12880. tell the WM a type closer to what the app wants (Fixes #78107)
  12881. 2006-04-14 Alexander Olk <[email protected]>
  12882. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  12883. GrabHandle
  12884. 2006-04-14 Alexander Olk <[email protected]>
  12885. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  12886. drawing code to reflect the size grip changes
  12887. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  12888. * ImageListStreamer.cs: fix handling of the mask that follows the main
  12889. bitmap when deserializing and serialize it properly. The generated mask
  12890. should better be a 1bpp image, but I'll do that later.
  12891. 2006-04-13 Alexander Olk <[email protected]>
  12892. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  12893. path doesn't fit into some of our Current.Places
  12894. 2006-04-13 Jackson Harper <[email protected]>
  12895. * ComboBox.cs: Use borders instead of drawing our own decorations,
  12896. try to obey correct rules for heights.
  12897. * Theme.cs:
  12898. * ThemeNice.cs:
  12899. * ThemeClearLooks.cs:
  12900. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  12901. this is now handled by borders.
  12902. - Remove unused DrawListBoxDecorationSize method.
  12903. 2006-04-13 Mike Kestner <[email protected]>
  12904. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  12905. reported by Alex.
  12906. 2006-04-13 Alexander Olk <[email protected]>
  12907. * ThemeWin32Classic.cs:
  12908. - Fixed CPDrawStringDisabled
  12909. - Corrected drawing of disabled menu items
  12910. - Fixed drawing of disabled radio buttons (bug #78095)
  12911. - Draw check in a disabled CheckBox with color ControlDark
  12912. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12913. * Form.cs: Use the provided width when calculating the menu size;
  12914. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  12915. and ClientSize.Width won't be updated yet
  12916. * Application.cs: Use Visible instead of Show() to make form visible,
  12917. this way we create the handle later and menusize is considered
  12918. 2006-04-12 Mike Kestner <[email protected]>
  12919. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  12920. reporting.
  12921. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12922. * TextBox.cs: Implemented context menu
  12923. 2006-04-12 Mike Kestner <[email protected]>
  12924. * ListView.cs: implement box selection. fixes #77838.
  12925. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  12926. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12927. * XplatUIX11.cs: Added setting of window type when transient window
  12928. is created (metacity would move it otherwise)
  12929. * X11Structs.cs: Added WINDOW_TYPE atoms
  12930. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  12931. background (the control is Opaque but still wants transparent
  12932. backgrounds)
  12933. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12934. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  12935. that set Opaque but don't mean it (like all ButtonBase-derived
  12936. controls) to still draw their background
  12937. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  12938. the background
  12939. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12940. * Control.cs (PaintControlBackground): Set the graphics object
  12941. on our PaintEvent to null to prevent it from being disposed
  12942. when the PaintEvent gets disposed
  12943. 2006-04-12 Alexander Olk <[email protected]>
  12944. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  12945. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  12946. 2006-04-12 Peter Dennis Bartok <[email protected]>
  12947. * Control.cs:
  12948. - Added transparency check to BackColor property. Transparent
  12949. backgrounds are only allowed if the control styles permit it
  12950. - Added recursive painting of parent control background and
  12951. foreground if a control with a transparent backcolor is drawn
  12952. (Thanks to Tim Ringenback for providing his 'hack' as a base
  12953. for this patch) Fixes #77985 and #78026.
  12954. - Added Opaque style check before calling OnPaintBackground, no
  12955. need to draw the background if the control is opaque
  12956. - Removed ControlAccessibleObject owner variable (inherited from
  12957. base, no need to define again)
  12958. - Added some documentation links explaining the drawing events
  12959. and styles
  12960. 2006-04-11 Peter Dennis Bartok <[email protected]>
  12961. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  12962. that the affected control is the located at the left border of our
  12963. parent (Fixes #77936)
  12964. 2006-04-11 Peter Dennis Bartok <[email protected]>
  12965. * TextBoxBase.cs: When rendering disabled or readonly controls,
  12966. draw the background with 'Control' instead of 'Window' color as
  12967. long as the user hasn't specifically set a color
  12968. 2006-04-11 Peter Dennis Bartok <[email protected]>
  12969. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  12970. since that won't be updated if the user types text (only if it's
  12971. programatically set)
  12972. 2006-04-11 Peter Dennis Bartok <[email protected]>
  12973. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  12974. layout changes do to app-triggered resizes will have the proper
  12975. display rectangle for layout
  12976. 2006-04-11 Alexander Olk <[email protected]>
  12977. * ThemeWin32Classic.cs:
  12978. - Make use of the SystemBrushes and SystemPens wherever possible
  12979. - Corrected some highlight colors
  12980. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  12981. drawing
  12982. * Theme.cs: Added Empty field to CPColor struct
  12983. 2006-04-11 Peter Dennis Bartok <[email protected]>
  12984. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  12985. is displayed when calculating the display rectangle. Thanks to Mike
  12986. for teaching me the err of my ways.
  12987. 2006-04-10 Peter Dennis Bartok <[email protected]>
  12988. * ScrollableControl.cs:
  12989. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  12990. (instead of 0,0) and we now return the real width/height instead of
  12991. just the clientrectangle, adjusted for padding. The rectangle is
  12992. now cached and created by the new CalculateDisplayRectangle method.
  12993. - Created new CalculateDisplayRectange method, which basically does
  12994. what get_DisplayRectangle() did originally, but now using the
  12995. right edge instead of DisplayRectangle to determine the size of
  12996. our scrollbars
  12997. - get_Canvas(): Fixed it to properly calculate canvas for
  12998. right/bottom controls which seem to be placed to the right/bottom
  12999. of any controls that have a fixed location
  13000. - Removed TODO that's taken care of
  13001. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  13002. and SetDisplayRectLocation according to new MSDN2 docs
  13003. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  13004. event when that is called, this is added for compatibility
  13005. - ScrollControlIntoView(): Implemented.
  13006. - Switched scrollbars to be implicit, they shouldn't be selectable
  13007. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  13008. call it when the active control is set/changed
  13009. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  13010. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  13011. implicit_control variable (used for native Win32 message generation)
  13012. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  13013. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  13014. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  13015. * XplatUIStructs.cs: Added ScrollBarCommands enum
  13016. 2006-04-10 Jackson Harper <[email protected]>
  13017. * ButtonBase.cs:
  13018. * CheckedListBox.cs:
  13019. * ComboBox.cs:
  13020. * DataGrid.cs:
  13021. * DataGridView.cs:
  13022. * Form.cs:
  13023. * GroupBox.cs:
  13024. * ListBox.cs:
  13025. * PrintPreviewControl.cs:
  13026. * ProgressBar.cs:
  13027. * PropertyGrid.cs:
  13028. * Splitter.cs:
  13029. * StatusBar.cs:
  13030. * TrackBar.cs:
  13031. * UpDownBase.cs: Fixup base event overrides.
  13032. 2006-04-06 Mike Kestner <[email protected]>
  13033. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  13034. all user-initiated value changes to min <= value <= max-thumbsz+1.
  13035. (set_Value): check for vert/horiz when calculating new thumb position.
  13036. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  13037. like MS does.
  13038. (OnMouseMoveSB): refactor the thumb dragging code and refine
  13039. invalidation logic to reduce flicker.
  13040. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  13041. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  13042. (UpdateThumbPosition): small code readability cleanup
  13043. 2006-04-10 Alexander Olk <[email protected]>
  13044. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  13045. different
  13046. 2006-04-08 Alexander Olk <[email protected]>
  13047. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  13048. 2006-04-08 Alexander Olk <[email protected]>
  13049. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  13050. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  13051. This dramatically reduces the number of Pen.Dispose calls.
  13052. Where possible call ResPool methods only once instead of calling it
  13053. over and over again (for example for the same color).
  13054. 2006-04-06 Mike Kestner <[email protected]>
  13055. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  13056. Also remove an unused private field on the collection. Fixes #77972.
  13057. 2006-04-06 Alexander Olk <[email protected]>
  13058. * ThemeNice.cs: Added ToolBar drawing code
  13059. 2006-04-06 Mike Kestner <[email protected]>
  13060. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  13061. I'm assuming that means we need to look up the toplevel for the
  13062. provided control. Fixes the crash trace in #77911 but exposes another
  13063. crash in some strange reflection usage in NDocGui.
  13064. 2006-04-06 Alexander Olk <[email protected]>
  13065. * ThemeNice.cs: Gave it a little silver touch and added Images
  13066. method
  13067. * FontDialog.cs: FontDialog is not resizable
  13068. * FileDialg.cs: Added SizeGripStyle.Show
  13069. 2006-04-05 Jackson Harper <[email protected]>
  13070. * KeyboardLayouts.cs: Remove warning.
  13071. 2006-04-05 Jackson Harper <[email protected]>
  13072. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  13073. all of our controls instead of Paint +=.
  13074. * ListBox.cs:
  13075. * ListView.cs:
  13076. * MenuAPI.cs:
  13077. * MessageBox.cs:
  13078. * NotifyIcon.cs:
  13079. * ProgressBar.cs:
  13080. * ScrollBar.cs:
  13081. * Splitter.cs:
  13082. * StatusBar.cs:
  13083. * TabControl.cs:
  13084. * TextBoxBase.cs:
  13085. * ToolBar.cs:
  13086. * TrackBar.cs:
  13087. * UpDownBase.cs:
  13088. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  13089. use OnPaintInternal. Remove Width/Height and Visible checks in
  13090. paint handler, this is done at a higher level now.
  13091. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  13092. * PaintEventArgs.cs: Add a handled flag so controls that don't
  13093. want anymore painting after OnPaintInternal can make sure OnPaint
  13094. isn't called.
  13095. 2006-04-05 Mike Kestner <[email protected]>
  13096. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  13097. state of the form, so that we don't process events when Modal dialogs
  13098. are up. Fixes #77922.
  13099. 2006-04-05 Alexander Olk <[email protected]>
  13100. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  13101. checking is done.
  13102. 2006-04-05 Mike Kestner <[email protected]>
  13103. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  13104. 2006-04-05 Mike Kestner <[email protected]>
  13105. * ListView.cs (HeaderMouseMove): null guarding for the over column
  13106. when setting up the drag_to_index. Fixes #78015.
  13107. 2006-04-04 Peter Dennis Bartok <[email protected]>
  13108. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  13109. in the taskbar. Transient windows seem to accomplish that.
  13110. 2006-04-04 Peter Dennis Bartok <[email protected]>
  13111. * Form.cs:
  13112. - Re-enabled CreateParams.X/Y code for FormStartPosition
  13113. - Added code for manual placement when creating the Control
  13114. - Incomplete patch to treat MDI forms differently when
  13115. setting the ClientSizeCore. (Still need to figure out handling
  13116. x/y coords there)
  13117. * XplatUIX11.cs:
  13118. - When we're explicitly setting the X/Y position of a non-Child
  13119. window, let the WM know. Metacity really wants this.
  13120. 2006-04-04 Alexander Olk <[email protected]>
  13121. * ThemeNice.cs: Added CPDrawButton
  13122. 2006-04-04 Alexander Olk <[email protected]>
  13123. * ThemeNice.cs: Changed the color for focused buttons and activated
  13124. the arrows for small scroll buttons.
  13125. 2006-04-04 Alexander Olk <[email protected]>
  13126. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  13127. anymore. Changed some method modifiers to protected (virtual)
  13128. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  13129. changes
  13130. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  13131. Updated drawing of menus, buttons and progressbars; added
  13132. CPDrawBorder3D
  13133. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  13134. * ImageListStreamer.cs: implemented serialization/deserialization
  13135. of the images.
  13136. 2006-04-03 Alexander Olk <[email protected]>
  13137. * ThemeWin32Classic.cs:
  13138. - Removed all the DrawFrameControl stuff; CPDrawButton,
  13139. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  13140. inside the methods
  13141. - Updated and corrected the drawing code of CPDrawButton,
  13142. CPDrawCheckBox and CPDrawRadioButton to better match ms
  13143. - Updated theme checkbox and radiobutton code to use the CP*
  13144. methods
  13145. 2006-03-31 Peter Dennis Bartok <[email protected]>
  13146. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  13147. bug is fixed
  13148. 2006-03-31 Jackson Harper <[email protected]>
  13149. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  13150. sometimes.
  13151. * UpDownBase.cs: Don't CreateGraphics manually, use a
  13152. Refresh. Ideally we would invalidate the correct areas here.
  13153. 2006-03-31 Peter Dennis Bartok <[email protected]>
  13154. * XplatUIX11.cs:
  13155. - We now track the mapping state of windows. If a window (or
  13156. one of it's parents) is not mapped we no longer permit
  13157. WM_PAINT messages to be generated since we'd otherwise get
  13158. lots of BadMatch X errors. Jackson did all the work figuring
  13159. out the problem.
  13160. - Destroying the caret if the window it's contained in is
  13161. destroyed. Can't use regular DestroyCaret method since it
  13162. might fall into a drawing function (trying to remove the
  13163. caret) and with that generate new BadMatch errors. Again,
  13164. Jackson tracked this down.
  13165. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  13166. make sure we send the messages to all windows. (The old code
  13167. would send the WM_DESTROY to the window, and then all child
  13168. windows would be 'gone' because the WM_DESTROY handle lookup
  13169. would no longer find the destroyed window)
  13170. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  13171. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  13172. 2006-03-31 Jackson Harper <[email protected]>
  13173. * ScrollableControl.cs: Dont recalc if we are not visible.
  13174. 2006-03-31 Mike Kestner <[email protected]>
  13175. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  13176. the visibility branch.
  13177. 2006-03-31 Jackson Harper <[email protected]>
  13178. * ScrollBar.cs: Cap values when incrementing/decrementing.
  13179. 2006-03-31 Mike Kestner <[email protected]>
  13180. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  13181. * ToolTip.cs: guard against timer expirations with no active control.
  13182. Not sure why it happened.
  13183. 2006-03-31 Mike Kestner <[email protected]>
  13184. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  13185. text.
  13186. * ToolTip.cs: Position the tooltip based on where the cursor is at
  13187. popup time, not at MouseEnter time. Add a Down state so that we don't
  13188. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  13189. positioning offset. Lookup DisplaySize at positioning time, since it
  13190. can theoretically change during invocation.
  13191. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  13192. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  13193. 2006-03-31 Alexander Olk <[email protected]>
  13194. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  13195. Fixes behaviour when the Text property of the box is String.Empty
  13196. 2006-03-31 Peter Dennis Bartok <[email protected]>
  13197. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  13198. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  13199. a window)
  13200. 2006-03-31 Alexander Olk <[email protected]>
  13201. * FileDialog.cs: Visual enhancement for the popup buttons in
  13202. PopupButtonPanel
  13203. 2006-03-31 Alexander Olk <[email protected]>
  13204. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  13205. code
  13206. 2006-03-30 Alexander Olk <[email protected]>
  13207. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  13208. highlighted menu items to match ms
  13209. 2006-03-30 Peter Dennis Bartok <[email protected]>
  13210. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  13211. 2006-03-30 Mike Kestner <[email protected]>
  13212. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  13213. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  13214. go active to account for HotLight to Selected transition.
  13215. * MenuItem.cs: add internal Selected prop. Fill out the Status
  13216. property by calculating it from item info. Add HotLight,
  13217. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  13218. 2006-03-30 Mike Kestner <[email protected]>
  13219. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  13220. 2006-03-29 Jackson Harper <[email protected]>
  13221. * Form.cs: Implement TODO.
  13222. 2006-03-29 Peter Dennis Bartok <[email protected]>
  13223. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  13224. missing proper dialog setup in the constructor
  13225. 2006-03-29 Peter Dennis Bartok <[email protected]>
  13226. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  13227. * Control.cs:
  13228. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  13229. - Fixed ResetBindings and removed TODO
  13230. - Added check for cross-thread calls to get_Handle()
  13231. - Added Marshaller attribute for set_Font to satisfy class status
  13232. * FontDialog.cs: Removed TODOs that seemed implemented
  13233. * UpDownBase.cs: Removed unneeded TODO and Fixme
  13234. * MessageBox.cs: Implemented support for Default button and removed TODO
  13235. * FileDialog.cs: Removed obsolete TODO
  13236. * DomainUpDown.cs: Removed obsolete TODO
  13237. * ButtonBase.cs: Removed obsolete TODO
  13238. * XplatUIWin32.cs: Removed obsolete TODO
  13239. * Form.cs:
  13240. - Removed obsolete TODO
  13241. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  13242. internal status updates
  13243. - Making sure the active control is selected when the control is created
  13244. * CurrencyManager.cs: Removed obsolete TODO
  13245. 2006-03-29 Mike Kestner <[email protected]>
  13246. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  13247. of PrintPreviewDialog and RichTextBox.
  13248. 2006-03-29 Alexander Olk <[email protected]>
  13249. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  13250. DarkDark, Light and LightLight colors for a specific color
  13251. * ThemeWin32Classic.cs:
  13252. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  13253. Appearance = Button
  13254. - Make use of the new ResPool helper CPColor
  13255. - Draw ProgressBar and StatusBar with correct 3D borders
  13256. 2006-03-29 Alexander Olk <[email protected]>
  13257. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  13258. 2006-03-28 Mike Kestner <[email protected]>
  13259. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  13260. calculating col/row counts.
  13261. 2006-03-28 Mike Kestner <[email protected]>
  13262. * ColumnHeader.cs:
  13263. * ListView.cs:
  13264. * ListViewItem.cs:
  13265. * Menu.cs:
  13266. switch to explicit interface method implementation for some methods
  13267. corcompare identifies as inconsistent with MS.
  13268. 2006-03-28 Mike Kestner <[email protected]>
  13269. * MainMenu.cs:
  13270. * Menu.cs:
  13271. add a few missing methods from the class status output.
  13272. 2006-03-28 Alexander Olk <[email protected]>
  13273. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  13274. correct.
  13275. 2006-03-28 Mike Kestner <[email protected]>
  13276. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  13277. 2006-03-27 Mike Kestner <[email protected]>
  13278. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  13279. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  13280. 2006-03-27 Alexander Olk <[email protected]>
  13281. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  13282. 2006-03-25 Alexander Olk <[email protected]>
  13283. * ThemeWin32Classic.cs:
  13284. - GroupBox: Inserted a little gap between the text and the lines
  13285. on the right side
  13286. - Made the code in CPDrawBorder3D more readable
  13287. - Corrected the drawing location of the up and down arrows in
  13288. CPDrawScrollButton
  13289. 2006-03-25 Alexander Olk <[email protected]>
  13290. * ControlPaint.cs: Corrected line widths in DrawBorder for
  13291. ButtonBorderStyle Inset and Outset
  13292. 2006-03-25 Alexander Olk <[email protected]>
  13293. * ThemeWin32Classic.cs:
  13294. - Rewrote the totally broken CPDrawBorder3D method. That was
  13295. one of the main problems for the terrific ThemeWin32Classic
  13296. look
  13297. - Updated and corrected Button drawing
  13298. - Correct the dimensions of the SizeGrip to match ms ones
  13299. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  13300. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  13301. Border3DStyle.Sunken to match ms.
  13302. 2006-03-25 Alexander Olk <[email protected]>
  13303. * ThemeWin32Classic.cs: First small part of the "de-uglify
  13304. ThemeWin32Classic" effort, SizeGrip
  13305. 2006-03-24 Jackson Harper <[email protected]>
  13306. * XplatUIX11.cs: Give a max idle time of one second, this matches
  13307. MS and forces an Idle event every second when there are no other
  13308. events in the queue.
  13309. 2006-03-24 Mike Kestner <[email protected]>
  13310. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  13311. * ListView.Item.cs: fix layout issues with null image lists and images
  13312. smaller than checkbox size.
  13313. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  13314. mode like MS does. It's weird, but consistent. ;-)
  13315. Fixes #77890.
  13316. 2006-03-24 Mike Kestner <[email protected]>
  13317. * ListView.cs: Scroll wheel support for the item control. Fixes
  13318. #77839.
  13319. 2006-03-23 Jackson Harper <[email protected]>
  13320. * ScrollableControl.cs: Special case negative sized areas, not
  13321. zero.
  13322. * MonthCalendar.cs: Save the rect of the clicked date so we can
  13323. use it for invalidation.
  13324. - Try to cut down on the number of invalidates
  13325. - Invalidate the rect the mouse is over and was over when moving
  13326. the mouse, so we get the focus box following the cursor.
  13327. 2006-03-23 Mike Kestner <[email protected]>
  13328. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  13329. focus rectangle drawing. Fixes #77835.
  13330. 2006-03-23 Mike Kestner <[email protected]>
  13331. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  13332. the if and else if and reverting back to the original == check on the
  13333. None conditional.
  13334. 2006-03-23 Alexander Olk <[email protected]>
  13335. * FontDialog.cs: Update the example panel if the selected index of
  13336. the fontListBox changes.
  13337. 2006-03-23 Alexander Olk <[email protected]>
  13338. * FileDialog.cs: Make FileDialog remember which directory it was in
  13339. last in the same execution.
  13340. 2006-03-22 Mike Kestner <[email protected]>
  13341. * FileDialog.cs: make the DropDownMenu on the toolbar display
  13342. RadioChecks since they are mutually exclusive and that's what MS does.
  13343. 2006-03-22 Mike Kestner <[email protected]>
  13344. * Theme.cs: add Color param to CPDrawMenuGlyph.
  13345. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  13346. checks and radio marks and arrows are visible on highlighted items.
  13347. * ControlPaint.cs: update to use new Theme signature.
  13348. 2006-03-22 Mike Kestner <[email protected]>
  13349. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  13350. is active. Fixes #77870.
  13351. 2006-03-22 Alexander Olk <[email protected]>
  13352. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  13353. to be focused/selected after startup
  13354. 2006-03-22 Alexander Olk <[email protected]>
  13355. * ColorDialog.cs:
  13356. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  13357. CustomColors and ShowHelp properties
  13358. - Some internal rewrites to get better results when using the
  13359. ColorMatrix
  13360. 2006-03-22 Mike Kestner <[email protected]>
  13361. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  13362. HoverSelection. Fixes #77836.
  13363. 2006-03-22 Mike Kestner <[email protected]>
  13364. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  13365. ToggleButtons. (De)Sensitize the Back button around a stack count of
  13366. 1, not 0. Update ButtonSize based on a pixel count of the win32
  13367. control. Adjust the toolbar size/location for new button size.
  13368. 2006-03-22 Jackson Harper <[email protected]>
  13369. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  13370. true.
  13371. * ScrollBar.cs: When doing increments and decrements we need to
  13372. set the Value property so that ValueChanged gets raised. A
  13373. possible optimization here would be to make an internal SetValue
  13374. that doesn't invalidate immediately.
  13375. * ToolTip.cs: Tooltips get added to their container (when
  13376. supplied) so they get disposed when the container is disposed.
  13377. - Don't create tooltips for String.Empty. This prevents all these
  13378. little 2-3 pixel windows from showing up when running nunit-gui
  13379. and driving me mad.
  13380. * Form.cs: Don't set topmost when setting the owner if the handles
  13381. haven't been created yet. The topmost set will happen when the
  13382. handles are created.
  13383. 2006-03-22 Peter Dennis Bartok <[email protected]>
  13384. * XplatUIX11.cs:
  13385. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  13386. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  13387. visible (to allow them to recalculate their sizes)
  13388. 2006-03-21 Mike Kestner <[email protected]>
  13389. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  13390. methods. Removed a ton of redundant code. Still not really happy with
  13391. the border rendering, but I think that's mainly because of the
  13392. ControlDarkDark being black instead of a dark grey. Depending on how
  13393. close we want to be, we might want to revisit those color choices.
  13394. Among the new features added during the refactor were DropDownArrow
  13395. pressed rendering, Disabled image rendering. Proper flat appearance
  13396. boundary rendering. Removed the Divider and Wrapping dividers since I
  13397. can't figure out any combination of themes and conditions to make the
  13398. MS control draw a horizontal line on a toolbar despite what the
  13399. Divider property docs indicate.
  13400. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  13401. conditions and incorrect layout. Updated to coding standard.
  13402. * ToolBarButton.cs: refactored layout and positioning code from
  13403. ToolBar to here. Invalidate wherever possible instead of forcing
  13404. redraws of the whole toolbar.
  13405. (Known remaining issues: explicit ButtonSize smaller than provided
  13406. images.)
  13407. 2006-03-21 Mike Kestner <[email protected]>
  13408. * ContextMenu.cs (Show): use the position parameter instead of just
  13409. showing at the MousePosition.
  13410. 2006-03-21 Jackson Harper <[email protected]>
  13411. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  13412. control handle this.
  13413. * TreeNodeCollection.cs: If we are clearing the root node we need
  13414. to reset top_node so calcs can still happen.
  13415. * ThemeWin32Classic.cs: This is a Flags so we need to check
  13416. properly.
  13417. 2006-03-21 Jackson Harper <[email protected]>
  13418. * DataGrid.cs: Create columns when the binding context has been
  13419. changed.
  13420. * X11Structs.cs: Keysyms are uints.
  13421. - Add size to fix build.
  13422. 2006-03-21 Peter Dennis Bartok <[email protected]>
  13423. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  13424. XplatUIOSX.cs:
  13425. - Added ResetMouseHover method to allow controls to retrigger
  13426. hovering if they need it more than once
  13427. - Implemented MouseHoverTime and MouseHoverSize properties
  13428. * Timer.cs: Start() must reset the interval
  13429. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  13430. properties
  13431. 2006-03-21 Jackson Harper <[email protected]>
  13432. * X11Keyboard.cs: improved layout detection. Move the nonchar
  13433. tables into this file.
  13434. * KeyboardLayouts.cs: Move the tables into resource files.
  13435. 2006-03-21 Mike Kestner <[email protected]>
  13436. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  13437. 2006-03-21 Alexander Olk <[email protected]>
  13438. * Mime.cs: Various speed optimizations. Looking up mime types
  13439. is now 2 times faster than before
  13440. 2006-03-17 Peter Dennis Bartok <[email protected]>
  13441. * CreateParams.cs: Added internal menu field
  13442. * Control.cs:
  13443. - Switched call order for UpdateBounds; now we always call
  13444. the one that also takes ClientSize, and we're calculating the
  13445. client size via driver method in the others. The previous
  13446. method of tracking client size by difference wasn't working
  13447. for forms where even the starting client size wouldn't match
  13448. the overall form size (due to borders) (Part of fix for #77729)
  13449. - CreateParams(): Do not use parent.Handle unless the handle is
  13450. already created. Causes havoc with Nexxia and throws off our
  13451. creation of controls
  13452. * XplatUIX11.cs:
  13453. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  13454. - Switched handling of ConfigureNotify over to new PerformNCCalc
  13455. method (consolidates code)
  13456. - Changed RequestNCRecalc to use new PerformNCCalc method
  13457. - Added calls to RequestNCRecalc when menus and borders are changed
  13458. to allow app to set NC size. (Part of fix for #77729) This matches
  13459. when MS send a WM_NCRECALC on Win32 windows.
  13460. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  13461. (Part of fix for #77729). This matches what MS does, they also
  13462. send that message when the form is made visible.
  13463. - XException.GetMessage: Improved usability of X errors by including
  13464. a translation of the window into Hwnd and Control class
  13465. - Improved debug info for window creation, reparenting and destruction
  13466. - Created helper method WindowIsMapped() [Currently not used]
  13467. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  13468. * Form.cs:
  13469. - CreateParams: Now setting our menu on the new internal menu field
  13470. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  13471. avoid calculating the same property twice
  13472. * Hwnd.cs:
  13473. - Improved usability of ToString() for debugging purposes
  13474. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  13475. determine the height of the menu, instead of just the font. This
  13476. required to also create a graphics context and to keep a bmp
  13477. around (for performance reasons)
  13478. 2006-03-17 Peter Dennis Bartok <[email protected]>
  13479. * MenuAPI.cs: Added OnMouseUp method
  13480. * Form.cs:
  13481. - Now remembering the requested client size, avoids size errors
  13482. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  13483. instead of base if the menu is active. This is required due to
  13484. control now capturing and releasing on down/up and it would
  13485. prematurely release our menu capture
  13486. 2006-03-17 Jackson Harper <[email protected]>
  13487. * KeyboardLayouts.cs: Add the czech layouts.
  13488. 2006-03-16 Jackson Harper <[email protected]>
  13489. * Control.cs: Use the viewport space when sizing not the controls
  13490. client size, so things like ScrollableControl that effect the
  13491. viewport size (when scrollbars are added) are computed correctly.
  13492. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  13493. of ManagerEntrys.
  13494. - Handle creating BindingManagers for null data sources.
  13495. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  13496. source, otherwise when rows are added they are added to the 'fake'
  13497. datasource and we will crash when trying to set the position in
  13498. those rows.
  13499. - Use Implicit scrollbars on the datagrid so they arent
  13500. selectable.
  13501. 2006-03-16 Jackson Harper <[email protected]>
  13502. * Binding.cs:
  13503. * InternalWindowManager.cs:
  13504. * MdiWindowManager.cs:
  13505. * X11Keyboard.cs: I really want Mike to love me again (fix
  13506. compiler warnings).
  13507. 2006-03-16 Peter Dennis Bartok <[email protected]>
  13508. * DataGrid.cs:
  13509. - OnMouseDown: Switch to editing mode when clicking on the cell
  13510. even if we're clicking on the cell that's currently
  13511. selected
  13512. - ProcessGridKey: Left/Right now wrap like MS.Net does
  13513. - ProcessGridKey: Tab now knows to add a new row when tab is
  13514. pressed in the cell of the last column of the
  13515. last row
  13516. - ProcessGridKey: Enter now adds another row if pressed in the last
  13517. row and selectes the new row, same column cell
  13518. - ProcessGridKey: Home/End navigate columns, not rows, like
  13519. originally implemented
  13520. - Broke ProcessKeyPreview code out into an extra Internal method
  13521. so it can be called from the edit code
  13522. * DataGridTextBox.cs (ProcessKeyMessage):
  13523. - Switched to accept Tab keypresses
  13524. - Added F2 handling to allow jumping to the end of the edited cell
  13525. - Added logic to allow moving caret left/right inside edited cell
  13526. and making the edited cell jump when the caret hits cell borders
  13527. - Tab and Enter are now passed to the datagrid after being handled
  13528. * TextBoxBase.cs:
  13529. - Removed capture code now that Control handles it
  13530. - set_SelectionStart now ensures caret is visible
  13531. 2006-03-16 Jackson Harper <[email protected]>
  13532. * TrackBar.cs: Debackwards the increment/decrement for handling
  13533. mouse clicks on the bar with vertical trackbars.
  13534. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  13535. bottom to match MS.
  13536. 2006-03-16 Mike Kestner <[email protected]>
  13537. * ListView.cs: make shift/ctrl keyboard and mouse selection
  13538. consistent with the MS control. Fix a bug in
  13539. SelectedListViewItemCollection.Clear that was pissing me off for the
  13540. better part of a day because the collection was being altered
  13541. underneath us as we walked the list.
  13542. 2006-03-16 Peter Dennis Bartok <[email protected]>
  13543. * Control.cs: Not sure how we could miss this so long, but it seems
  13544. that MS.Net has Capture set all the way from before calling
  13545. OnMouseDown through sending the mouse events until after
  13546. OnMouseUp. This will fix DataGrid's selection being set to end
  13547. at the location of the MouseUp.
  13548. 2006-03-15 Jackson Harper <[email protected]>
  13549. * BindingContext.cs: Check the binding after its added so that it
  13550. can initialize the binding managers and hookup to events.
  13551. * Binding.cs: Data members seem to sometimes include rows/cols in
  13552. the format Row.Column we now take this into account.
  13553. - Hookup to the position changed event so we can update the
  13554. control when the position has changed in the data set.
  13555. * CurrencyManager.cs: Take into account the row/col naming
  13556. convention when creating dataset tables.
  13557. * BindingContext.cs: Using a newer better way of storing
  13558. datasource/datamember pairs. Hopefully this better matches MS for
  13559. looking up binding managers.
  13560. 2006-03-15 Jackson Harper <[email protected]>
  13561. * BindingContext.cs: The currency manager needs the data member
  13562. name, if the member is a data set we use the name to find the
  13563. correct table.
  13564. * CurrencyManager.cs: When creating the list prefer an IList over
  13565. an IListSource.
  13566. - Attempt to create a DataTable from a DataSet (TODO: might need
  13567. some better error checking here, although MS doesn't seem to have much)
  13568. - If we have a DataTable create a view and use it as our list.
  13569. 2006-03-15 Mike Kestner <[email protected]>
  13570. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  13571. keyboard navigation. Support Up/Down/Left/Right selection correctly
  13572. for all 4 View modes.
  13573. * ListViewItem.cs: add internal row/col fields for icon layouts.
  13574. 2006-03-15 Jackson Harper <[email protected]>
  13575. * TabControl.cs: Redraw the tabs when we resize so their newly
  13576. calculated sizes are drawn on screen.
  13577. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  13578. composite characters.
  13579. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  13580. - filter events so that composite characters can be created
  13581. patches by peter
  13582. * X11Structs.cs: Add XIMProperties enum.
  13583. 2006-03-14 Peter Dennis Bartok <[email protected]>
  13584. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  13585. unless it's created
  13586. 2006-03-14 Peter Dennis Bartok <[email protected]>
  13587. * Control.cs (PerformLayout): We don't need to consider visiblity
  13588. for anchoring, only for docking. This fixes 'whacky' alignment
  13589. in listbox and other controls that use implicit scrollbars after
  13590. the previous PerformLayout patch
  13591. * ListBox.cs: Switched to use implicit scrollbars
  13592. 2006-03-14 Mike Kestner <[email protected]>
  13593. * ToolBar.cs:
  13594. * VScrollBar.cs:
  13595. - chain up the "new event" overrides to base and use
  13596. OnEvent to raise them. Part of fix for bug #76509.
  13597. 2006-03-14 Alexander Olk <[email protected]>
  13598. * FileDialog.cs: Do not select an item in the parent directory
  13599. on backspace
  13600. 2006-03-14 Peter Dennis Bartok <[email protected]>
  13601. * Control.cs (PerformLayout): It would seem that we considered
  13602. invisible windows for our layout. Not quite the right thing
  13603. to do. Now we don't any longer, thereby fixing bug #76889.
  13604. 2006-03-14 Peter Dennis Bartok <[email protected]>
  13605. * Control.cs (CanFocus): I goofed. A control can have focus
  13606. even though it's not selectable. Made it match MS docs.
  13607. 2006-03-13 Peter Dennis Bartok <[email protected]>
  13608. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  13609. center by default (fixes #76895)
  13610. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  13611. all uses of Border3DSides.All with the explicit ORd together
  13612. Left|Right|Top|Bottom because I assume that nobody was aware
  13613. that All also implies a center fill. Most places I checked had
  13614. a fill right above.
  13615. * ProgressBarStyle.cs: Added
  13616. 2006-03-13 Mike Kestner <[email protected]>
  13617. * ListView.cs: fix breakage in drag shadow header positioning
  13618. from Peter's csc compilation fix.
  13619. 2006-03-13 Mike Kestner <[email protected]>
  13620. * ListView.cs: fix NRE produced by backspacing twice in a focused
  13621. FileDialog.
  13622. 2006-03-13 Mike Kestner <[email protected]>
  13623. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  13624. 2006-03-13 Peter Dennis Bartok <[email protected]>
  13625. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  13626. be changed
  13627. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  13628. the allowed size before making programmatic size changes
  13629. 2006-03-13 Peter Dennis Bartok <[email protected]>
  13630. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  13631. set, metacity is broken and will still use the emty sizes in
  13632. the struct. (Fix for #77089)
  13633. 2006-03-13 Peter Dennis Bartok <[email protected]>
  13634. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  13635. WindowExStyles and marked both enums as Flags
  13636. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  13637. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  13638. to match WindowStyles split
  13639. * XplatUIX11.cs:
  13640. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  13641. - Updated to match WindowStyles split
  13642. * XplatUIWin32.cs:
  13643. - Fixed FosterParent creation, was using ExStyle on the Style field
  13644. (This should help with Popup focus issues)
  13645. - Updated to match WindowStyles split
  13646. 2006-03-13 Jackson Harper <[email protected]>
  13647. * MdiWindowManager.cs: Use the system menu height. Fixes some
  13648. strange sizing issues.
  13649. 2006-03-12 Peter Dennis Bartok <[email protected]>
  13650. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  13651. * TextBoxBase.cs:
  13652. - Scroll to caret after inserting text (#77672)
  13653. - Make scroll range one pixel higher, fixes off-by-one error (and
  13654. makes underlines visible on the last line)
  13655. 2006-03-12 Peter Dennis Bartok <[email protected]>
  13656. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  13657. the keyboard state from being stuck with keys in 'pressed' state when
  13658. focus is switched away via keyboard
  13659. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  13660. reset the keyboard if no X11 KeyUp events are expected to come
  13661. * X11Structs.cs: Switched type of Visible to bool to match driver
  13662. 2006-03-12 Peter Dennis Bartok <[email protected]>
  13663. * TextControl.cs:
  13664. - Switched caret to be just 1 pixel wide, matches MS and looks less
  13665. clunky
  13666. - Moved caret display 1 pixel down from the top of the control
  13667. to improve view
  13668. - InsertCharAtCharet: Update the selection start if moving the caret
  13669. (fixes bug #77696; based on patch suggested by [email protected])
  13670. - No longer always creating the caret when the caret methods are
  13671. called. Only the actual ShowCaret/HideCaret will do that now
  13672. - Only setting caret visible if the owner control has focus
  13673. - UpdateView: Added invalidation-shortcut logic for center and right
  13674. aligned text. Previously we'd update all according to the left
  13675. logic which caused drawing errors. Also fixed height of invalidated
  13676. areas, now properly invalidating the whole area (was off-by-one)
  13677. - owner_HandleCreated: Always generate the document when the
  13678. handle is created; this ensures that
  13679. * TextBoxBase.cs:
  13680. - Fixed situation where caret would disappear under the right
  13681. window border, also improved scrolling behaviour on left-
  13682. aligned textboxes
  13683. - Fixed right-aligned textboxes to have a border to the
  13684. right instead of the caret being under the right border
  13685. * XplatUIX11.cs:
  13686. - Switched from 'nested' to simple visible/not visible tracking
  13687. for caret (part of fix for #77671)
  13688. - No longer passing through translated FocusIn/FocusOut messages
  13689. since we were notifying too often and the wrong windows. Instead
  13690. we just notify our focussed window of receiving or loosing focus
  13691. * XplatUIWin32.cs: Switched from 'nested' show/hide
  13692. counting for caret to simple visible yes/no behaviour (part of
  13693. fix for #77671)
  13694. 2006-03-11 Alexander Olk <[email protected]>
  13695. * Mime.cs: Remove debug code...
  13696. 2006-03-11 Alexander Olk <[email protected]>
  13697. * MimeGenerated.cs: Removed
  13698. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  13699. and subclasses) from /usr/(local/)share/mime and
  13700. $HOME/.local/share/mime.
  13701. 2006-03-10 Jackson Harper <[email protected]>
  13702. * MdiWindowManager.cs: Recalc the NC area when a window is
  13703. maximized/restored so that the menu area is drawn on forms that
  13704. don't have a menu.
  13705. 2006-03-10 Peter Dennis Bartok <[email protected]>
  13706. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  13707. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  13708. us to force a WM_NCCALCRESIZE message being sent. This is needed
  13709. for MDI maximizing.
  13710. 2006-03-10 Jackson Harper <[email protected]>
  13711. * Form.cs: We need to use the ActiveMenu when calculating menu
  13712. height.
  13713. - Fix nullref when the window manager hasn't been created yet.
  13714. * Control.cs: Fix nullref when we try to bring a control to the
  13715. front that has no parent.
  13716. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  13717. height.
  13718. - Add a dummy item to the maximized menu so it always has the
  13719. correct height. Otherwise when there are no menus we don't get our
  13720. icon and buttons.
  13721. 2006-03-10 Jackson Harper <[email protected]>
  13722. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  13723. stuff.
  13724. * Form.cs: Make the window_state internal so the window managers
  13725. can track it.
  13726. - When an MDI child is maximized let its window manager create the
  13727. main menu (so it can add its icon).
  13728. - Notify the window managers of state changes
  13729. - Let the window manager paint its buttons and handle button
  13730. clicks on the menu when it is maximized.
  13731. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  13732. window manager, since tool windows don't use it, only mdi windows.
  13733. - Tell the main form that we don't want it to handle NCPAINT
  13734. itself to avoid extra painting.
  13735. - Handle clicks on a maximized windows menu.
  13736. - Handle window state changes
  13737. - Handle minimize/maximize clicks correctly by setting the window state.
  13738. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  13739. when clicking on the forms icon).
  13740. - New method to create a forms maximized menu. This is its normal
  13741. menu + an icon.
  13742. - Handle window state changes.
  13743. - Handle sizing of maximized windows. Maximized windows are just
  13744. drawn bigger then the parent visible area. All controls are still
  13745. there, they are just outside the visible area (this matches windows).
  13746. * MdiClient.cs: No scrollbars when a child window is maximized.
  13747. - Let the children windows figure out how big they should be when
  13748. sizing maximized windows.
  13749. - Implement a version of ArrangeIconicWindows somewhat similar to
  13750. Windows version. There are some little differences, but I don't
  13751. think any app will rely on the layout of minimized mdi windows.
  13752. 2006-03-10 Peter Dennis Bartok <[email protected]>
  13753. * Padding.cs: Several fixes to allow compiling with csc 2.0
  13754. 2006-03-09 Jackson Harper <[email protected]>
  13755. * Menu.cs:
  13756. * MenuItem.cs: Cheap hack so we can add items to the list without
  13757. the events being raised. This allows adding mdi items during
  13758. drawing. TODO: Should probably find a better time to add the items.
  13759. 2006-03-10 Peter Dennis Bartok <[email protected]>
  13760. * ThemeWin32Classic.cs:
  13761. - CheckBox_DrawText: Added logic to not wrap if not enough space
  13762. is available (Fix for bug #77727)
  13763. - RadioButton_DrawText: Added logic not to wrap if not enough
  13764. space is available (Fix for bug #77727). Also removed some
  13765. duplicate code, DrawString always drawing the regular text
  13766. before hitting the if statement.
  13767. 2006-03-10 Peter Dennis Bartok <[email protected]>
  13768. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  13769. 2006-03-10 Peter Dennis Bartok <[email protected]>
  13770. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  13771. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  13772. methods. Moved the new 2.0 properties into alphabetical order with
  13773. other properties and added MonoTODO tags
  13774. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13775. * AutoScaleMode.cs: Added. Fix build.
  13776. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13777. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  13778. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  13779. and was requiring premature handle creation for calls from above
  13780. * Form.cs, Control.cs: Removed handle arguments from calls to
  13781. CalculateClientRect()
  13782. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13783. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  13784. drag_column.column_rect is MarshalByRef and can't be used that way
  13785. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13786. * AxHost.cs: Added deserialization constructor for
  13787. AxHost+State (fixes 77743)
  13788. 2006-03-09 Mike Kestner <[email protected]>
  13789. * ListView.cs:
  13790. - Added column drag reordering for details view.
  13791. - fixed behavior when mouse is dragged off column and
  13792. AllowColumnReorder is false.
  13793. * ColumnHeader.cs: clone the format too in Clone.
  13794. * Theme.cs: add DrawListViewHeaderDragDetails method.
  13795. * ThemeWin32Classic.cs:
  13796. - impl new method for drawing drag column shadows and targets.
  13797. - support column offset for details mode in DrawListViewItem.
  13798. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13799. * TextControl.cs: Reset the char_count when the document is cleared
  13800. (Fixes bug reported on mono-winforms mailing list)
  13801. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13802. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  13803. of calling base we simply process the key ourselves, since both
  13804. DefWindowProc and the handled method would set m.Result.
  13805. (Fixes #77732)
  13806. 2006-03-09 Peter Dennis Bartok <[email protected]>
  13807. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  13808. method also moves the window; instead implemented a copy of
  13809. Control.ScaleCore (Part of fix for #77456)
  13810. * TextBoxBase.cs:
  13811. - Created new CreateGraphicsInternal method to allow providing
  13812. a graphics context when no handle is created without triggering
  13813. handle creation. (Part of fix for #77456)
  13814. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  13815. * TextControl.cs:
  13816. - Switched Constructor to require TextBoxBase instead of Control (to
  13817. allow uncast access to CreateGraphicsInternal)
  13818. - Safeguarded use of owner.Handle property. No longer accessing it
  13819. unless the handle is already created.
  13820. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  13821. - Now triggering a recalc when owning control becomes visible
  13822. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  13823. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  13824. premature handle creation (Part of fix for #77456)
  13825. * Control.cs:
  13826. - We now only destroy our double-buffering buffers when the
  13827. control is resized or disposed, but not when visibility
  13828. changes. (The code even re-created them twice every time)
  13829. - Now requiring a redraw of the buffer on visibility changes
  13830. (fixes bug 77654 part 2)
  13831. - Not passing OnParentVisibleChanged up unless the control
  13832. is visible
  13833. - CanFocus: Fixed to match MS documentation
  13834. - Focus: Fixed to return actual focus state and to check if
  13835. setting focus is legal before setting it
  13836. 2006-03-08 Peter Dennis Bartok <[email protected]>
  13837. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  13838. when to draw focus rectangle by looking at parent focus and
  13839. selected state instead. This fixes TabPages on Linux sometimes
  13840. having none or multiple focus rectangles.
  13841. * XplatUIX11.cs (SetFocus):
  13842. - Don't set the focus if the same window already has focus
  13843. - Use SendMessage instead of PostMessage (like it's Win32
  13844. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  13845. to match MS behaviour
  13846. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  13847. are not selectable.
  13848. 2006-03-07 Jackson Harper <[email protected]>
  13849. * PictureBox.cs: Revert line I accidently committed last week.
  13850. 2006-03-07 Peter Dennis Bartok <[email protected]>
  13851. * Control.cs:
  13852. - Added new IsRecreating and ParentIsRecreating properties to
  13853. allow testing if RecreateHandle has been called on ourselves
  13854. or one of our parents
  13855. - WndProc(WM_DESTROY): If our control handle is being recreated
  13856. we immediately need to create the handle when receiving the
  13857. destroy, that way our child windows find a valid parent handle
  13858. when they themselves are being recreated upon WM_DESTROY receipt
  13859. (fix for bug #77654 part 1)
  13860. * XplatUIX11.cs:
  13861. - DestroyWindow: WM_DESTROY must be sent to our own window before
  13862. notifying any child windows. MS documents that child windows
  13863. are still valid when WM_DESTROY is received. (Control now relies on
  13864. this behaviour)
  13865. - Added some fine-grain debug options
  13866. 2006-03-06 Jackson Harper <[email protected]>
  13867. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  13868. box and base calculations off this.
  13869. * MdiChildContext.cs:
  13870. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  13871. anymore.
  13872. 2006-03-06 Peter Dennis Bartok <[email protected]>
  13873. * Splitter.cs: In situations where the affected control is added
  13874. to the parent's control list after the splitter, we would not
  13875. populate affected. Now we try populating it on mousedown, if
  13876. it's not already set, and force it to be re-set whenever our
  13877. parent changes.
  13878. 2006-03-03 Matt Hargett <[email protected]>
  13879. * Control.cs: implement Control.Padding
  13880. * Padding.cs: -Padding.All returns -1 when constructing with the
  13881. implicit default ctor
  13882. -Padding.ToString() matches MS.NET
  13883. * ContainerControl.cs: implement
  13884. ContainerControl.AutoScaleDimensions
  13885. * ListControl.cs: implement ListControl.FormattingEnabled
  13886. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  13887. * ButtonBase.cs:
  13888. * TabPage.cs: Implement UseVisualStyleBackColor.
  13889. * PictureBox.cs: Implement PictureBox.InitialImage.
  13890. 2006-03-03 Mike Kestner <[email protected]>
  13891. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  13892. event declarations to proxy to base event.
  13893. * ListViewItem.cs: update to use ItemControl.
  13894. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  13895. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  13896. column header label rendering for 0 width columns.
  13897. 2006-03-03 Peter Dennis Bartok <[email protected]>
  13898. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  13899. that causes the control to be created. Fixes #77476.
  13900. 2006-03-02 Jackson Harper <[email protected]>
  13901. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  13902. expose_pending.
  13903. 2006-03-02 Peter Dennis Bartok <[email protected]>
  13904. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  13905. passed in for the EventArgs (fixes #77690)
  13906. 2006-03-01 Jackson Harper <[email protected]>
  13907. * ScrollBar.cs: Refresh afterbeing resized.
  13908. 2006-02-28 Mike Kestner <[email protected]>
  13909. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  13910. Clean up a tracker compile warning.
  13911. * MenuItem.cs: add internal PerformPopup method.
  13912. [Fixes #77457]
  13913. 2006-02-28 Peter Dennis Bartok <[email protected]>
  13914. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  13915. implicit expose) when the text is set to null
  13916. 2006-02-28 Peter Dennis Bartok <[email protected]>
  13917. * RichTextBox.cs (FlushText): When newline is true, we always
  13918. need to split the line, even if no text is on it and we may
  13919. never eat newlines. (Fixes #77669)
  13920. 2006-02-28 Mike Kestner <[email protected]>
  13921. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  13922. and set Selected instead.
  13923. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  13924. collections.
  13925. 2006-02-28 Peter Dennis Bartok <[email protected]>
  13926. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  13927. 2006-02-28 Alexander Olk <[email protected]>
  13928. * FontDialog.cs:
  13929. - Got rid of the panel. All controls are now directly added to
  13930. the dialog form
  13931. - It is now possible to set a font with the Font property
  13932. - MinSize and MaxSize property do now what they should
  13933. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  13934. - Searching and selecting a font with the font textbox works now,
  13935. the same applies to the style and size textbox
  13936. - Draw the correct 3D border in the example panel
  13937. - Fixed a little mem leak (unused fonts didn't get disposed)
  13938. - Many other internal updates/rewrites...
  13939. - Fix typo
  13940. 2006-02-27 Peter Dennis Bartok <[email protected]>
  13941. * TextControl.cs:
  13942. - InsertRTFFromStream: Added 'number of characters inserted' argument
  13943. - set_SelectedRTF: Now using the number of characters to calculate
  13944. the new location for the selection and cursor (x/y cannot be used
  13945. due to potentially already wrapped text)
  13946. 2006-02-27 Peter Dennis Bartok <[email protected]>
  13947. * TextControl.cs: Added property and implemented means to allow
  13948. disabling recalculation of a document (can be used to speed up
  13949. multiple inserts and is needed to make RTF inserts predictable, see
  13950. bug #77659)
  13951. * RichTextBox.cs: Using the new NoRecalc property of Document to
  13952. keep x/y insert locations predictable. Also makes it faster inserting
  13953. large chunks of RTF
  13954. 2006-02-27 Peter Dennis Bartok <[email protected]>
  13955. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  13956. it's easier for a child control to handle the other messages without
  13957. having to duplicate the special functionality
  13958. * TextBoxBase.cs
  13959. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  13960. code to handle processing the key ourselves, in order to get
  13961. access to the result of KeyEventArgs.Handled. We now only call
  13962. ProcessKey if they key hasn't been handled already. Fixes #77526.
  13963. - set_Text: If null or empty string is given, just clear the
  13964. document. Fixes part of #77526
  13965. 2006-02-27 Jackson Harper <[email protected]>
  13966. * SizeGrip.cs: Paint the background color before painting the grip
  13967. so things look right.
  13968. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  13969. 2006-02-27 Mike Kestner <[email protected]>
  13970. * ListView.cs:
  13971. - Restructure layout and invalidation model to remove a ton of
  13972. flicker from the control and speed up performance in general.
  13973. - Add manual column resize, flickers like crazy, but I already have
  13974. some ideas on how I'll fix that. (#76822)
  13975. - Merge the three Icon-based views into a single layout method.
  13976. - Move item selection interaction logic from the item since
  13977. interaction with the collections is more appropriate to the view.
  13978. - Deselection on non-item clicks.
  13979. * ListViewItem.cs:
  13980. - Encapsulate most of the layout. Add some internal props to trigger
  13981. layout. Move to a model where Items invalidate themselves instead
  13982. of just invalidating the whole control every time something changes.
  13983. - Invalidate on Text/Caption changes.
  13984. - switch to an offset based layout model to avoid having to absolute
  13985. position every element on item moves.
  13986. - correct checkbox layout to conform to MS layout.
  13987. * ThemeWin32Classic.cs:
  13988. - refactor some column header drawing code.
  13989. - fix string justification for column headers (#76821)
  13990. - make SmallIcon labels top justified for compat with MS impl.
  13991. * ThemeClearlooks.cs:
  13992. - adjust to new ListViewItem internal checkbox bounds api.
  13993. 2006-02-27 Jackson Harper <[email protected]>
  13994. * Control.cs: Change where implicit controls fall in the zorder.
  13995. They are now on top of all children.
  13996. - Synced AddImplicit code with Add
  13997. - Removed unused enumerator.
  13998. * SizeGrip.cs: Remove the TODO as its been TODONE.
  13999. 2006-02-26 Peter Dennis Bartok <[email protected]>
  14000. * TextControl.cs(Insert): Combine the last lines unless the insertion
  14001. string ends with \n\n, otherwise we leave one line too many (Fixes
  14002. something I noticed with the testapp for #77526; the bug itself was
  14003. already fixed in the previous checkin)
  14004. 2006-02-26 Peter Dennis Bartok <[email protected]>
  14005. * RichTextBox.cs:
  14006. - SelectionColor and SelectionFont methods no longer set absolute
  14007. styles. Instead, the keep font or color respectively (This
  14008. resolves a long-standing FIXME in the code)
  14009. - When flushing RTF text, the insert code now considers text trailing
  14010. behind the insertion point (Fixes the bug where when replacing
  14011. the selected text via SelectedRTF the remainder of the line behind
  14012. the selection would stay on the first insertion line)
  14013. * TextBoxBase.cs:
  14014. - AppendText now updates the selection points after inserting text
  14015. - AppendText now ensures that the last tag (sometimes 0-length) of
  14016. the document is used for the style information (Fixes part of
  14017. bug #77220)
  14018. * TextControl.cs:
  14019. - Created new FontDefiniton class to allow describing partial style
  14020. changes
  14021. - StreamLine() now takes a lines argument, to allow it to decide
  14022. whether an encountered zero-length tag is the last in the document
  14023. (which must be kept to not loose the font/color contained in it,
  14024. for later appends)
  14025. - Created Combine() and Split() methods for Marker structs, to
  14026. support marker updates due to reformatted documents (soft line
  14027. wraps)
  14028. - Implemented Document.CaretTag setter
  14029. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  14030. of the last line (Not the cause, but also exposed by bug #77220)
  14031. - Added LineTag argument to InsertString method, to allow callers
  14032. to force a certain tag to be used (required to force use of the
  14033. trailing zero-length tag of a document)
  14034. - Now updating markers in Combine(), to avoid stale tag markers
  14035. - Added some method descriptions to aid maintenance
  14036. - Implemented new FormatText concept, allowing additive/subtractive
  14037. formatting by only specifying the components that are to be
  14038. changed. This was needed for resolving the RTB.SelectedColor/
  14039. RTB.SelectedFont fixmes
  14040. - Added Break() support method to allow breaking up linetags (used
  14041. for partial formatting)
  14042. - Added GenerateTextFormat() method. It is used for partial
  14043. formatting and allows to generate a full font/color from given
  14044. attributes and an existing tag.
  14045. 2006-02-26 Jackson Harper <[email protected]>
  14046. * XplatUIX11.cs: Use the correct caption height.
  14047. - Translate hittest coordinates to screen coords to match MS.
  14048. * XplatUIWin32.cs: When we create MDI windows we need to reset
  14049. some of the style flags, so we get a nice blank window, and can
  14050. draw all the decorations ourselves.
  14051. - Set a clipping rectangle on the non client paint event, the
  14052. window manager drawing code needs one.
  14053. * Form.cs: The window manager needs to know when the window state
  14054. has been updated.
  14055. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  14056. don't need to factor in border and title sizes in these
  14057. methods. TODO: Remove the args and fix the call points.
  14058. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  14059. properly.
  14060. - Let the driver set the cursors.
  14061. - Improve active window handling
  14062. - Correct sizes for title bars and buttons.
  14063. - Match MS drawing better
  14064. * MdiWindowManager.cs: We don't need to handle border style
  14065. updates specially anymore.
  14066. - Check for scrollbars when windows are done moving
  14067. - Handle Active properly.
  14068. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  14069. correctly. I am spewing the exception though, so we don't hide the
  14070. bugs.
  14071. 2006-02-26 Pedro Martinez Julia <[email protected]>
  14072. * DataGridViewRowPostPaintEventArgs.cs,
  14073. DataGridViewCellPaintingEventArgs.cs,
  14074. DataGridViewRowCollection.cs,
  14075. DataGridViewRowPrePaintEventArgs.cs,
  14076. DataGridViewCell.cs: Clear a few warnings and implement a few
  14077. exceptions that should be thrown.
  14078. 2006-02-22 Peter Dennis Bartok <[email protected]>
  14079. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  14080. 'inheriting' our parent's (non-default) cursor. (Part of
  14081. the fix for #77479)
  14082. 2006-02-22 Peter Dennis Bartok <[email protected]>
  14083. * XplatUIX11.cs: Fixed cast to make csc happy
  14084. 2006-02-22 Peter Dennis Bartok <[email protected]>
  14085. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  14086. it's for the client area (part of fix for #77479 and needed
  14087. for MDI window cursor handling)
  14088. * XplatUIX11.cs
  14089. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  14090. the appropriate default cursors and also passing the message
  14091. up the parent chain
  14092. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  14093. for non-client areas
  14094. 2006-02-15 Jackson Harper <[email protected]>
  14095. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  14096. is a real MDI window
  14097. 2006-02-14 Alexander Olk <[email protected]>
  14098. * X11DesktopColors.cs: Instead of checking the desktop session
  14099. string for "KDE" check if it starts with "KDE"
  14100. 2006-02-10 Jackson Harper <[email protected]>
  14101. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  14102. systems).
  14103. 2006-02-10 Alexander Olk <[email protected]>
  14104. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  14105. errors
  14106. * ColorDialog.cs:
  14107. - Got rid of the panel. All controls are now directly added to
  14108. the dialog form
  14109. - Changed to mono coding style
  14110. 2006-02-10 Jackson Harper <[email protected]>
  14111. * InternalWindowManager.cs: We don't need the set visibility to
  14112. false hack anymore now that peter has written beautiful shutdown
  14113. code.
  14114. 2006-02-10 Peter Dennis Bartok <[email protected]>
  14115. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  14116. where already explicitly destroyed
  14117. 2006-02-10 Jackson Harper <[email protected]>
  14118. * MdiClient.cs: Handle the case where windows are too high or to
  14119. the left and we need scrollbars.
  14120. 2006-02-10 Alexander Olk <[email protected]>
  14121. * MimeIcon.cs: Added some icons
  14122. * FileDialog.cs:
  14123. - Fixed bug #77477
  14124. - Got rid of the panel. All controls are now directly added to
  14125. the dialog form
  14126. - Changed to mono coding style
  14127. - On Linux "My Computer" and "My Network" will now show some
  14128. more usefull information. A new class, MasterMount, gathers
  14129. this information from /proc/mount. Updated MWFFileView to make
  14130. use of this information
  14131. - Fixed a bug that caused FileDialog to crash when
  14132. ".recently_used" file had a zero size
  14133. - FilterIndex does now what it should
  14134. - Some Refactoring
  14135. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  14136. FileDialog changes
  14137. 2006-02-09 Jackson Harper <[email protected]>
  14138. * ComboBox.cs: Don't touch if null.
  14139. 2006-02-09 Peter Dennis Bartok <[email protected]>
  14140. * Cursor.cs: 64bit safeness fix
  14141. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  14142. 2006-02-09 Jackson Harper <[email protected]>
  14143. * Form.cs: If a form is made into an MDI form update the styles so
  14144. all the props can get set correctly.
  14145. - Kill the mdi_container when we dont need it anymore.
  14146. * InternalWindowManager.cs: Add missing NOT
  14147. 2006-02-08 Jackson Harper <[email protected]>
  14148. * InternalWindowManager.cs: Respek clipping when drawing MDi
  14149. decorations.
  14150. 2006-02-08 Jackson Harper <[email protected]>
  14151. * Hwnd.cs: Add bits to track non client expose events.
  14152. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  14153. gives us a proper invalid rect and will allow for some nice
  14154. optimizations with NC client drawing
  14155. - MDI windows are children windows, so move their style handling
  14156. into the child window block.
  14157. * InternalWindowManager.cs: Remove a state reset that was
  14158. getting invoked at the wrong time. Fixes managed windows getting
  14159. into a 'stuck' captured state.
  14160. 2006-02-07 Peter Dennis Bartok <[email protected]>
  14161. * TextControl.cs (Document.ctor): Now initializing
  14162. selection_anchor. Fixes #77493
  14163. 2006-02-07 Jackson Harper <[email protected]>
  14164. * TrackBar.cs: The increment/decrements were backwards.
  14165. 2006-02-07 Mike Kestner <[email protected]>
  14166. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  14167. to the instance itself.
  14168. 2006-02-07 Peter Dennis Bartok <[email protected]>
  14169. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  14170. on ulongs and pointers, the size differs between 32bit and 64bit
  14171. systems.
  14172. 2006-02-07 Mike Kestner <[email protected]>
  14173. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  14174. for 64 bit platforms to work around a metacity bug.
  14175. 2006-02-07 Jackson Harper <[email protected]>
  14176. * TrackBar.cs: Process the input keys we need, and hookup to
  14177. KeyDown instead of using WndProc, so we get key messages.
  14178. 2006-02-06 Peter Dennis Bartok <[email protected]>
  14179. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  14180. machine we're on.
  14181. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  14182. we need to translate the XdndVersion atoms array before sending it
  14183. 2006-02-06 Peter Dennis Bartok <[email protected]>
  14184. * XplatUIX11.cs:
  14185. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  14186. number of bits for the property, not the number of bytes. The
  14187. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  14188. but would not crash since it specified 8 bits instead of 4 bits)
  14189. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  14190. defined as XID -> long in the C headers)
  14191. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  14192. references since those are now IntPtr to begin with
  14193. - Switched all Atom.XXX 'int' casts to IntPtr casts
  14194. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  14195. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  14196. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  14197. * X11Structs.cs:
  14198. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  14199. - Changed atom in HoverStruct to be IntPtr
  14200. * X11DnD.cs:
  14201. - Removed local DllImports, switched code to use those from XplatUIX11
  14202. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  14203. 2006-02-06 Mike Kestner <[email protected]>
  14204. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  14205. method signatures in the import region. There may still be some
  14206. lingering struct marshaling issues, as I didn't drill down into those.
  14207. Yet.
  14208. 2006-02-06 Jackson Harper <[email protected]>
  14209. * ComboBox.cs: Dont manually set the top_item, this is computed
  14210. when the scrollbar position is set.
  14211. 2006-02-06 Mike Kestner <[email protected]>
  14212. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  14213. startup crashes on amd64. There's other fixes needed. All pinvoke
  14214. usage of Atom needs to be mapped to IntPtr for example. And there are
  14215. likely other int/long issues to be addressed.
  14216. 2006-02-04 Alexander Olk <[email protected]>
  14217. * FileDialog.cs: One more...
  14218. 2006-02-03 Alexander Olk <[email protected]>
  14219. * FileDialog.cs: Next try
  14220. 2006-02-03 Alexander Olk <[email protected]>
  14221. * FileDialog.cs: First part of fix for #77464
  14222. 2006-02-03 Alexander Olk <[email protected]>
  14223. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  14224. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  14225. AcceptButton border drawing.
  14226. 2006-02-03 Peter Dennis Bartok <[email protected]>
  14227. * Form.cs: Moved positioning of form after auto scaling is applied,
  14228. otherwise it would possibly use wrong form size.
  14229. 2006-02-03 Peter Dennis Bartok <[email protected]>
  14230. * Control.cs (RecreateHandle): No need to re-create any child
  14231. controls, the child windows will get destroyed automatically by
  14232. the windowing system or driver, and re-created when the handle
  14233. is being accessed the first time. Fixes #77456
  14234. * Form.cs: No longer setting the form to closing if the handle is
  14235. being recreated. This seems like the right thing to do, don't
  14236. have a bug or testcase for this, though.
  14237. 2006-02-02 Peter Dennis Bartok <[email protected]>
  14238. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  14239. controls to avoid unwanted side effects
  14240. 2006-02-02 Peter Dennis Bartok <[email protected]>
  14241. * Control.cs:
  14242. - ScaleCore needs to scale the bounds, not the ClientSize of the
  14243. control. Fixes #77416.
  14244. - DefaultSize is 0,0 for control
  14245. * TextBoxBase.cs:
  14246. - DefaultSize is 100, 20
  14247. - SetBoundsCore: Now enforcing the height, no matter if the provided
  14248. height is more or less than the preferred one, as long as AutoSize
  14249. is on
  14250. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  14251. 2006-02-02 Peter Dennis Bartok <[email protected]>
  14252. * Control.cs:
  14253. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  14254. call unless both performLayout is true *and* we have a pending
  14255. layout change
  14256. - ResumeLayout: MS does not completely nest Suspend and Resume,
  14257. they bottom out at 0, fixed our code to match that.
  14258. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  14259. SetBoundsCore, we were updating even when we shouldn't. This fixes
  14260. swf-anchors mis-anchoring when resizing the app fast and lots.
  14261. - UpdateDistances: Now only setting the left and top distance if
  14262. we have a parent and are not suspended, this is based on
  14263. a suggestion by Don Edvaldson in bug #77355.
  14264. - OnVisibleChanged: Fixed logic when to create the control. We may
  14265. not create the control if we have no parent or if it's not visible;
  14266. switched to using Visible property instead of is_visible field
  14267. since the property also considers parent states. This fixes a bug
  14268. when starting Paint.Net
  14269. 2006-02-02 Jackson Harper <[email protected]>
  14270. * Form.cs: If the forms handle hasn't been created yet don't call
  14271. into xplatui to make it top most, just set the topmost flag on the
  14272. form in CreateParams
  14273. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  14274. 2006-02-01 Jackson Harper <[email protected]>
  14275. * ScrollableControl.cs: Refactored the Recalculate method a
  14276. little, this wasn't handling all the variants of bottom and right
  14277. bars needed to be added and added/removed based on their
  14278. counterparts being added/removed (which changes the drawable
  14279. size). Also we special case client widths and heights of 0 and
  14280. don't add the scrollbar for those.
  14281. 2006-02-01 Peter Dennis Bartok <[email protected]>
  14282. * XplatUIX11.cs:
  14283. - Added method to get AbsoluteGeometry(); currently unused, but might
  14284. be used in the future, if we try again to figure out toplevel
  14285. coordinates with some more crappy window managers
  14286. - Added FrameExtents() method to retrieve the WM set decoration size
  14287. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  14288. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  14289. * Hwnd.cs:
  14290. - Added whacky_wm tracking var for metacity
  14291. - Added logic to have default menu height if the actual menu height
  14292. has not yet been calculated (part of fix for #77426)
  14293. * Form.cs: Keep track whether client size has been set and re-set
  14294. it if a menu is added/removed afterwards (Fixes #77426)
  14295. 2006-01-31 Jackson Harper <[email protected]>
  14296. * Control.cs: When a new Site is set on the component attempt to
  14297. pull the AmbientProperties from it.
  14298. 2006-01-31 Peter Dennis Bartok <[email protected]>
  14299. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  14300. in the background of the owning form. Fixes #77332
  14301. 2006-01-31 Alexander Olk <[email protected]>
  14302. * MimeIcon.cs: Fix for #77409
  14303. 2006-01-31 Alexander Olk <[email protected]>
  14304. * XplatUIX11GTK.cs: Initial import
  14305. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  14306. * FixedSizeTextBox: fixes class signature
  14307. 2006-01-30 Jackson Harper <[email protected]>
  14308. * FixedSizeTextBox.cs: New internal class that represents a
  14309. textBox that will not be scaled.
  14310. * TreeView.cs:
  14311. * ComboBox.cs:
  14312. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  14313. standard TextBox.
  14314. 2006-01-30 Peter Dennis Bartok <[email protected]>
  14315. * XplatUIX11.cs: Retrieve default screen number instead of
  14316. assuming 0. Attempted fix for #77318
  14317. 2006-01-30 Peter Dennis Bartok <[email protected]>
  14318. * XplatUIWin32.cs:
  14319. - GetWindowPos: When a window is parented by FosterParent, use
  14320. the desktop instead of FosterParent as the base to get coordinates
  14321. - CreateWindow: Don't make FosterParent the parent window for Popups
  14322. if we don't want a taskbar entry, Popups automatically don't get one
  14323. * Hwnd.cs: Need to call remove to actually remove the key from the
  14324. hash table
  14325. 2006-01-30 Mike Kestner <[email protected]>
  14326. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  14327. 2006-01-30 Jackson Harper <[email protected]>
  14328. * TreeView.cs:
  14329. * TreeNode.cs: Raise events no matter how the treenode is
  14330. checked. Patch by Don Edvalson.
  14331. 2006-01-30 Jackson Harper <[email protected]>
  14332. * TreeNode.cs: Signature fix.
  14333. 2006-01-29 Alexander Olk <[email protected]>
  14334. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  14335. 2006-01-20 Mike Kestner <[email protected]>
  14336. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  14337. event forwarding when menus are active.
  14338. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  14339. Most of the patch is pdb's with a little rework.
  14340. 2006-01-26 Peter Dennis Bartok <[email protected]>
  14341. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  14342. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  14343. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  14344. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  14345. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  14346. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  14347. the PaintWindowDecorations method
  14348. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  14349. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  14350. * MenuAPI.cs: Made tracker window invisible
  14351. * XplatUIWin32.cs:
  14352. - Removed GetMenuDC and ReleaseMenuDC methods
  14353. - Implemented the client=false path for PaintEventStart and
  14354. PaintEventEnd
  14355. 2006-01-26 Peter Dennis Bartok <[email protected]>
  14356. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  14357. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  14358. styles
  14359. * Form.cs:
  14360. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  14361. the style
  14362. - CreateParams: Reworked the styles to match MS look'n'feel,
  14363. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  14364. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  14365. 2006-01-26 Peter Dennis Bartok <[email protected]>
  14366. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  14367. window is not mapped, since otherwise every form that's being
  14368. created is considered minimized, which is wrong.
  14369. * Form.cs: Catching the exception and returning our internal value
  14370. instead
  14371. 2006-01-26 Peter Dennis Bartok <[email protected]>
  14372. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  14373. SetWindowMinMax() to have means to tell the driver about the minimum,
  14374. maximum and maximized state window sizes. (Part of the fix for #76485)
  14375. * Form.cs:
  14376. - Implemented tracking of minimum and maximum window size, now calling
  14377. new SetWindowMinMax() driver method to tell the driver (Part of the
  14378. fix for #76485)
  14379. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  14380. (Completes fix for #76485)
  14381. - Calling new SetWindowMinMax driver method when the handle for a
  14382. form is created, to make sure the driver knows about it even if
  14383. the values have been set before the window was created
  14384. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  14385. to avoid messing up our anchoring calculations (partial fix
  14386. for #77355)
  14387. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  14388. * XplatUIX11.cs:
  14389. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  14390. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  14391. (and presumably other freedesktop.org compliant WMs). Left the
  14392. assumption unmapped=minimized, needed for SetVisible to work.
  14393. - Now setting the window state when creating windows
  14394. - Fixed SetVisible to consider/set the window state when mapping
  14395. a Form. We cannot set the state before it's mapped, and we cannot
  14396. use Form.WindowState once it's mapped (since it would ask the
  14397. driver and get 'normal'. Therefore, we grab the state before
  14398. mapping, map, and then set state.
  14399. - Implmemented SetWindowMinMax method; Metacity does not seem to
  14400. honor the ZoomHints, though.
  14401. * XplatUIWin32.cs:
  14402. - Removed MINMAXINFO (moved to XplatUIStructs)
  14403. - Added SetWindowMinMax stub (on Win32 the only way to set that
  14404. information is in response to the WM_GETMINMAXINFO message, which
  14405. is handled in Form.cs)
  14406. - Added logic to SetVisible to set the proper window state when a
  14407. form is made visible (fixes #75720)
  14408. 2006-01-26 Jackson Harper <[email protected]>
  14409. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  14410. same way we handle them with Invoke.
  14411. 2006-01-25 Peter Dennis Bartok <[email protected]>
  14412. * Form.cs:
  14413. - Added tracking of window state so CreateParams can return
  14414. the appropriate style
  14415. - Moved setting of WS_CAPTION style in CreateParams to allow
  14416. styles without caption
  14417. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  14418. control if the TextBox property is accessed. Fixes #77345
  14419. * Control.cs:
  14420. - get_Created: now uses is_disposed and is_created to determine
  14421. return value (suggested by Jackson)
  14422. - CreateHandle: No longer exits if the handle is being recreated
  14423. - RecreateHandle: If the handle is not yet created call the
  14424. appropriate method to create either control or handle. If the
  14425. control is already created CreateHandle will simply exit instead
  14426. of just creating the handle
  14427. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  14428. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  14429. is called.
  14430. * XplatUIX11.cs:
  14431. - When DestroyWindow is called, instead of waiting for the
  14432. DestroyNotification from X11, we directly post it to the WndProc
  14433. and immediately dispose the hwnd object.
  14434. Same applies to DestroyChildWindows, and this obsoletes the
  14435. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  14436. child windows before our own, to avoid X11 errors.
  14437. - Removed the direct sending of WM_PAINT on UpdateWindow
  14438. * XplatUIWin32.cs:
  14439. - Reworked DoEvents and GetMessage to allow access to internal queue
  14440. even when trying non-blocking access to the queue. Fixes #77335.
  14441. Based on a patch suggestion by Don Edvalson. The new private
  14442. GetMessage can now also be used as a backend for a PeekMessage
  14443. frontend version.
  14444. * XplatUI.cs: Improved debug output for CreateWindow
  14445. 2006-01-25 Jackson Harper <[email protected]>
  14446. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  14447. 2006-01-24 Jackson Harper <[email protected]>
  14448. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  14449. when we have a MaxDropItems lower then the selected index.
  14450. 2006-01-24 Jackson Harper <[email protected]>
  14451. * Control.cs: Don't allow selection of non visible controls, allow
  14452. selection of controls without parents.
  14453. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  14454. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  14455. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  14456. 2006-01-23 Jackson Harper <[email protected]>
  14457. * UpDownBase.cs: Make the textbox handle all the selection and
  14458. tabbing. This fixes tabing to updown controls.
  14459. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  14460. * TextBoxBase.cs: fixes exception thown the object was null
  14461. 2006-01-23 Jackson Harper <[email protected]>
  14462. * ButtonBase.cs: Just use the base CreateParams. They set
  14463. visibility and enabled correctly.
  14464. * ComboBox.cs:
  14465. * TrackBar.cs:
  14466. * MonthCalendar.cs: Lets let the base set as much of the
  14467. createparams as possible so we don't have duplicate code all over
  14468. the place.
  14469. 2006-01-22 Alexander Olk <[email protected]>
  14470. * ThemeGtk.cs: Added TrackBar and some experimental code to
  14471. get double buffering back
  14472. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  14473. * DataGrid.cs: Allows row number set internally higher than the last
  14474. when creating a new row. Restores the editing functionality.
  14475. 2006-01-20 Mike Kestner <[email protected]>
  14476. * MimeIcon.cs: delay Image creation until the icons are accessed
  14477. instead of creating 190 scaled images on GnomeHandler startup.
  14478. 2006-01-19 Peter Dennis Bartok <[email protected]>
  14479. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  14480. first call base before processing the event. Fixes #77279
  14481. 2006-01-19 Peter Dennis Bartok <[email protected]>
  14482. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  14483. that the stride for the GDI bitmap would match the stride of
  14484. a DIB or a Cursor.
  14485. 2006-01-19 Alexander Olk <[email protected]>
  14486. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  14487. 2006-01-19 Jackson Harper <[email protected]>
  14488. * ComboBox.cs: Hookup the text controls keydown event so we get
  14489. those when the text control has the focus.
  14490. 2006-01-18 Peter Dennis Bartok <[email protected]>
  14491. * Label.cs: Now using the base events instead of defining new ones;
  14492. this allows us to just call the base properties without having to
  14493. duplicate all base property logic
  14494. 2006-01-18 Peter Dennis Bartok <[email protected]>
  14495. * Label.cs: A label by default is not a tabstop (Fixes one of our
  14496. failing nunit tests)
  14497. 2006-01-18 Peter Dennis Bartok <[email protected]>
  14498. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  14499. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  14500. 2006-01-18 Peter Dennis Bartok <[email protected]>
  14501. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  14502. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  14503. This fixes #77218
  14504. * XplatUIWin32.cs:
  14505. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  14506. constructor creates images that can't be saved. Part of the fix
  14507. for #76103
  14508. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  14509. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  14510. bug fix for handling window state in forms properly)
  14511. 2006-01-18 Alexander Olk <[email protected]>
  14512. * ThemeGtk.cs: Simplify ScrollBar drawing
  14513. 2006-01-18 Jackson Harper <[email protected]>
  14514. * Splitter.cs: Set the default dock style for the splitter control
  14515. in the constructor.
  14516. 2006-01-18 Alexander Olk <[email protected]>
  14517. * ThemeGtk.cs: Corrected StateType and ShadowType for
  14518. gtk_paint_box
  14519. 2006-01-18 Alexander Olk <[email protected]>
  14520. * Control.cs: Make use of Theme.DoubleBufferingSupported
  14521. * ThemeGtk.cs:
  14522. - Added drawing for flat style buttons
  14523. - Added ScrollBar drawing
  14524. 2006-01-18 Alexander Olk <[email protected]>
  14525. * ThemeClearlooks.cs: Removed some unneeded code.
  14526. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  14527. 2006-01-17 Peter Dennis Bartok <[email protected]>
  14528. * LinkLabel.cs: We need to update the hover drawing when
  14529. leaving the control as well.
  14530. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  14531. * DataGrid.cs: Clicking on non empty areas in the columns
  14532. area was giving an exception
  14533. 2006-01-17 Jackson Harper <[email protected]>
  14534. * ThemeWin32Classic.cs:
  14535. * ListView.cs: Do not draw/clip the headers when the header style
  14536. is None.
  14537. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  14538. * DataGrid.cs: Fixes 77260
  14539. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  14540. * DataGrid.cs: Clicking on a column on a empty grid was giving
  14541. an exception
  14542. 2006-01-17 Peter Dennis Bartok <[email protected]>
  14543. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  14544. or any keypress will crash the grid.
  14545. 2006-01-17 Mike Kestner <[email protected]>
  14546. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  14547. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  14548. invisible/previously-visible items.
  14549. [Fixes #76909]
  14550. 2006-01-17 Alexander Olk <[email protected]>
  14551. * ThemeClearlooks.cs:
  14552. - Added CL_Draw_Button method; now other theme controls that are
  14553. not derived from button or do not have a button can draw buttons
  14554. too
  14555. - Updated ComboBox drawing
  14556. - Beautified RadioButton drawing
  14557. - Corrected drawing of bottom and left tabs
  14558. - Beautified DateTimePicker and MonthCalendar
  14559. - Added CPDrawButton and CPDrawRadioButton
  14560. 2006-01-16 Jackson Harper <[email protected]>
  14561. * ComboBox.cs: Set the initial value of the scrollbar to the
  14562. current index. Reduce the numbers of refreshs and IndexOfs called.
  14563. 2006-01-14 Alexander Olk <[email protected]>
  14564. * FileDialog.cs: When the file listview is focused hitting the
  14565. backspace key moves the fileview to the parent directory
  14566. 2006-01-13 Peter Dennis Bartok <[email protected]>
  14567. * Form.cs:
  14568. - Added RecreateHandle call when changing taskbar visibility to
  14569. trigger reparenting in Win32 driver (Fixes #75719)
  14570. - If a window has minimize or maximize buttons, it cannot have
  14571. a help button
  14572. * XplatUIWin32.cs:
  14573. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  14574. the toplevel form with FosterParent (A toolwindow not on the
  14575. taskbar) (Fixes #75719)
  14576. - Made FosterParent a toolwindow
  14577. 2006-01-13 Alexander Olk <[email protected]>
  14578. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  14579. 2006-01-13 Alexander Olk <[email protected]>
  14580. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  14581. is currently over that control, make sure that tooltip_window.Text
  14582. gets updated
  14583. 2006-01-13 Mike Kestner <[email protected]>
  14584. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  14585. 2006-01-13 Jackson Harper <[email protected]>
  14586. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  14587. value passed. Also redraw the selected node when we recieve
  14588. focus, so tabbing between trees works correctly.
  14589. 2006-01-13 Alexander Olk <[email protected]>
  14590. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  14591. ~/.gconf/%gconf-tree.xml, so use
  14592. .gconf/desktop/gnome/interface/%gconf.xml
  14593. 2006-01-13 Peter Dennis Bartok <[email protected]>
  14594. * TextControl.cs: Draw text in gray if control is disabled
  14595. 2006-01-13 Peter Dennis Bartok <[email protected]>
  14596. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  14597. make sure it's always visible. Fixes #76680.
  14598. 2006-01-13 Peter Dennis Bartok <[email protected]>
  14599. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  14600. 2006-01-13 Jonathan Chambers <[email protected]>
  14601. * PageSetupDialog.cs: Added.
  14602. * PrintDialog.cs: Attributes.
  14603. * PrintPreviewControl.cs: Updates.
  14604. * PrintPreviewDialog.cs: Updates.
  14605. 2006-01-12 Peter Dennis Bartok <[email protected]>
  14606. * Control.cs: Undid my selection check fix, since it's not needed
  14607. * TextBoxBase.cs:
  14608. - Now considering the presence of hscroll/vscroll when sizing
  14609. vscroll/hscroll respectively. Fixed bug #77077
  14610. - Added Left/Up/Down/Right to IsInputKey list to prevent
  14611. ContainerControl from stealing them. This fixes what I broke
  14612. with my last checkin.
  14613. 2006-01-12 Peter Dennis Bartok <[email protected]>
  14614. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  14615. I finally understand how the property can be set without a setter :-)
  14616. 2006-01-12 Peter Dennis Bartok <[email protected]>
  14617. * Application.cs:
  14618. - Switched RunLoop to use static Message.Create to create a
  14619. Message object
  14620. - Added PreProcessMessage call in runloop for keyboard events; this
  14621. is part of the fix for #77219, I overlooked this originally in the
  14622. MSDN doc for PreProcessMessage
  14623. * Control.cs:
  14624. - Removed call to PreProcessMessage from handling of keyboard
  14625. messages; it's supposed to be done in the message pump
  14626. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  14627. per MSDN documentation.
  14628. - IsInputChar: All chars are input chars by default; removed the
  14629. parent calling chain, MS does not document that
  14630. - PreProcessMessage: If IsInputChar is true, we want to return false
  14631. to allow dispatching of the message
  14632. - When selecting the next control, now also check that we're not
  14633. selecting ourselves again and therefore return a false positive.
  14634. * TextBoxBase.cs:
  14635. - Tried to match return values for IsInputKey and ProcessDialogKey
  14636. to what MS returns; moved processing of our special keys outside
  14637. ProcessDialogKey since MS does not seem to return true on those.
  14638. - Moved code that previously was in ProcessDialogKey into new private
  14639. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  14640. - Reworked handling of WM_CHAR to not have to duplicate code from
  14641. Control.cs anymore, instead we simply call down to base.
  14642. 2006-01-12 Jackson Harper <[email protected]>
  14643. * ComboBox.cs: We always need to refresh the text area when
  14644. EndUpdate is called. Fixes the combobox in the file dialog.
  14645. * Control.cs: Don't create the creator_thread until the controls
  14646. handle is created. Also in InvokeRequired we check if the
  14647. creator_thread is null. This gives the effect of InvokeRequired
  14648. returning true if the controls handle is not created yet, and
  14649. matches MS.
  14650. 2006-01-12 Peter Dennis Bartok <[email protected]>
  14651. * XplatUI.cs:
  14652. - Added StartLoop() driver method. This is used to allow drivers to
  14653. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  14654. loop for a particular thread
  14655. - Added EndLoop() driver method. This is called once the message
  14656. pump for the thread is shut down
  14657. - Added SupportsTransparency method to allow the driver to indicate
  14658. opacity support for windows
  14659. * Form.cs:
  14660. - Removed TODO attribute, completed AllowTransparency property
  14661. - Added documented logic to Opacity
  14662. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  14663. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  14664. versions of CompatibleTextRendering
  14665. * X11Structs.cs: Added opacity atom to our atom enumeration
  14666. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  14667. of a form might be set before it's reparented by the WM, and we need
  14668. the opacity value without calling up to Form)
  14669. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  14670. SupportsTransparency() driver methods
  14671. * Application.cs: Now calling StartLoop and EndLoop driver methods
  14672. * XplatUIX11.cs:
  14673. - Added opacity atom registration
  14674. - Added StartLoop()/EndLoop() methods. They're empty right now but
  14675. will need to get implemented when we switch to a per-thread queue
  14676. - Implemented SupportsTransparency() method
  14677. - Implemented SetWindowTransparency() method
  14678. - Added support for setting the opacity value when a window is
  14679. reparented (since the opacity needs to be set on the WM frame)
  14680. * XplatUIOSX.cs, XplatUIWin32.cs:
  14681. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  14682. 2006-01-12 Alexander Olk <[email protected]>
  14683. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  14684. 2006-01-12 Alexander Olk <[email protected]>
  14685. * FileDialog.cs: Added ToolTip for MWFFileView
  14686. * MimeIcon.cs: Rewrote GnomeHandler.
  14687. - Get currently used gnome icon theme from
  14688. ($HOME)/.gconf/%gconf-tree.xml
  14689. - Make use of inherited icon themes
  14690. - Support SVG icon themes like Tango via librsvg
  14691. 2006-01-12 Miguel de Icaza <[email protected]>
  14692. Revert's Jackson's revert which broke 2.0 builds. Fix both
  14693. builds.
  14694. * Application.cs: Move the use_compatible_text_rendering outside
  14695. the NET_2_0 define. If we ever need to use the
  14696. use_compatible_text_rendering on the individual controls they will
  14697. access the variable from the common shared code paths.
  14698. 2006-01-12 Peter Dennis Bartok <[email protected]>
  14699. * XplatUI.cs:
  14700. - Added more granular debug options
  14701. - Added method to print both window text and id
  14702. - Switched debug output to use new Window() debug method
  14703. - Added IsEnabled() driver method
  14704. - Added EnableWindow() driver method
  14705. * Form.cs:
  14706. - Removed end_modal; no longer needed, new loop handles termination
  14707. via 'closing' variable
  14708. - If form is modal, setting DialogResult will now initiate loop
  14709. termination via 'closing' variable
  14710. - Added support for is_enabled/WS_DISABLED to CreateParams
  14711. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  14712. does all the work
  14713. - Removed code that's now in RunLoop from ShowDialog()
  14714. - Added various documented sanity checks to ShowDialog()
  14715. - Added handling of WM_DESTROY message; we set 'closing' on getting
  14716. the message to indicate the message pump to terminate
  14717. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  14718. send by the Application.ExitThread method. (We send the message
  14719. to destroy the window after all other events have been
  14720. processed through the queue, instead of destroying the handle
  14721. directly)
  14722. - Moved code from Close() method to WM_CLOSE handler; added logic
  14723. to only send close-related events if the form is not displayed
  14724. modal
  14725. * Splitter.cs (..ctor): Fixed typo in resource name
  14726. * Control.cs:
  14727. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  14728. brush now
  14729. - set_Cursor: Now only setting calling into XplatUI if the handle for
  14730. the control is already created; this avoids implict handle creation
  14731. or crashes if it's not created
  14732. - set_Enabled: Now setting the enabled state via the new driver method
  14733. instead of just tracking it
  14734. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  14735. - CreateControl: Reordered event firing and method calls to more
  14736. closely fire events in the order MS does. Now setting the
  14737. enabled state in the driver when creating the control.
  14738. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  14739. match MS order
  14740. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  14741. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  14742. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  14743. * Hwnd.cs:
  14744. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  14745. - Added EnabledHwnd property to easily allow a driver to find the
  14746. handle of the first enabled window in the parent chain (this is
  14747. used by drivers to pass up input events of disabled windows)
  14748. * XplatUIDriver.cs: Added IsEnabled() method
  14749. * Application.cs:
  14750. - Removed crude and obsolete exiting tracking variable
  14751. - Removed internal ModalRun(); replaced by RunLoop()
  14752. - Implemented private CloseForms() method to allow closing all
  14753. windows owned by a particular (or all) threads
  14754. - Exit() now properly closes all windows without forcing the message
  14755. pump to quit
  14756. - Removed obsolete InternalExit() method
  14757. - Changed Run() methods to use new RunLoop() message pump
  14758. - Implemented new RunLoop() method for both modal and non-modal forms
  14759. * CommonDialog.cs:
  14760. - get_CreateParams: Added setting of WS_DISABLED
  14761. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  14762. invoked via Form.ShowDialog()
  14763. * NativeWindow.cs: We don't remove the window from the collection when
  14764. the handle is destroyed; there might still be messages for it in the
  14765. queue (mainly the resulting WM_DESTROY); instead it will be removed
  14766. when Control calls InvalidateHandle in the WM_DESTROY handler
  14767. * XplatUIX11.cs:
  14768. - CreateWindow: Added logic to handle the WS_DISABLED window style
  14769. - EnableWindow: Implemented based on Hwnd.Enabled
  14770. - GetMessage: Reset PostQuitState so the method can be called again
  14771. - Implemented support for disabled windows (passing messages to the
  14772. first enabled parent) in handling all input messages
  14773. - Added optimizations for handling Expose events
  14774. - Implemeted new driver method IsEnabled()
  14775. - Now always resetting paint pending tracking vars when we start paint
  14776. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  14777. * XplatUIOSX.cs: Added IsEnabled method stub
  14778. * XplatUIWin32.cs: Implemented new IsEnabled() method
  14779. 2006-01-11 Jackson Harper <[email protected]>
  14780. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  14781. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  14782. variables a little.
  14783. * ColorDialog.cs: Clear out the old form before adding the new
  14784. panel.
  14785. 2006-01-11 Jackson Harper <[email protected]>
  14786. * X11Dnd.cs: Make sure to add all the text formats when adding
  14787. strings to the data object.
  14788. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  14789. do some redrawing too. Also change the UpdateNode to an
  14790. UpdateBelow so the newly added node gets painted.
  14791. 2006-01-11 Miguel de Icaza <[email protected]>
  14792. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  14793. LinkLabel.cs, PropertyGrid.cs: Implement the
  14794. UseCompatibleTextRendering property for 2.x
  14795. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  14796. 2006-01-11 Jackson Harper <[email protected]>
  14797. * TreeView.cs: Use the property for setting the selected node so
  14798. the correct events get raised.
  14799. * TreeNode.cs: Update the tree when the fore/back colours of a
  14800. node are set.
  14801. 2006-01-10 Jackson Harper <[email protected]>
  14802. * TreeView.cs: Allow setting SelectedNode to null.
  14803. 2006-01-9 Jonathan Chambers <[email protected]>
  14804. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  14805. 2006-01-9 Jonathan Chambers <[email protected]>
  14806. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  14807. 2006-01-9 Jonathan Chambers <[email protected]>
  14808. * PrintDialog.cs: Added attributes and set default property values.
  14809. 2006-01-9 Jonathan Chambers <[email protected]>
  14810. * PrintControllerWithStatusDialog.cs:
  14811. Added PrintControllerWithStatusDialog.
  14812. 2006-01-9 Jonathan Chambers <[email protected]>
  14813. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  14814. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  14815. 2006-01-9 Jonathan Chambers <[email protected]>
  14816. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  14817. 2006-01-09 Jonathan Chambers <[email protected]>
  14818. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  14819. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  14820. 2006-01-08 Alexander Olk <[email protected]>
  14821. * MimeIcon.cs: Added internal class SVGUtil.
  14822. 2006-01-08 Alexander Olk <[email protected]>
  14823. * FileDialog.cs: Don't crash if there are two files with the
  14824. same name but different locations.
  14825. 2006-01-08 John BouAntoun <[email protected]>
  14826. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  14827. dates across multiple month grids. Used to not highlight entire
  14828. month, but does now.
  14829. 2006-01-06 Jackson Harper <[email protected]>
  14830. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  14831. message loop. Change timer intervals to numbers that seem more
  14832. natural.
  14833. 2006-01-06 John BouAntoun <[email protected]>
  14834. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  14835. object for location info since screen object is now implemented.
  14836. 2006-01-05 Jackson Harper <[email protected]>
  14837. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  14838. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  14839. AsyncMethodResult, this is because we ALWAYS want the
  14840. ManualResetEvent to get set.
  14841. * Control.cs: When disposing use an async invoke to call shutdown
  14842. code, so that thigns don't block on the finalizer thread. Also
  14843. check if we even have a message loop before trying to send
  14844. messages, if we don't then don't bother sending messages.
  14845. - No more weak references for async methods
  14846. * XplatUIDriver.cs: No more weak references for async methods.
  14847. 2006-01-04 Alexander Olk <[email protected]>
  14848. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  14849. returns two FontFamily with the same name
  14850. 2006-01-04 Peter Dennis Bartok <[email protected]>
  14851. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  14852. drawing disabled text. Instead using the ColorGrayText color
  14853. 2006-01-04 Jackson Harper <[email protected]>
  14854. * TreeNode.cs: redraw the node when its image index is changed.
  14855. 2006-01-04 Peter Dennis Bartok <[email protected]>
  14856. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  14857. time I checked there are no others like it.
  14858. 2006-01-04 Jackson Harper <[email protected]>
  14859. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  14860. this gives the behavoir I was looking for.
  14861. * Control.cs: Special case Invoking EventHandlers, this matches MS
  14862. and fixes part of bug #76326.
  14863. 2006-01-04 Alexander Olk <[email protected]>
  14864. * ThemeClearlooks.cs, FileDialog.cs:
  14865. - Reflect the latest Theme class changes
  14866. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  14867. with DateTime
  14868. 2006-01-04 Alexander Olk <[email protected]>
  14869. * Theme.cs: Cache UI resource images and resize them if needed
  14870. 2006-01-03 Peter Dennis Bartok <[email protected]>
  14871. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  14872. is called. This fixes the crash in Nexxia when setting the font
  14873. attributes in the chat. [However, RTF needs a look-over to make sure
  14874. that all SelectionXXX methods handle the special case that selection
  14875. is empty and therefore the change must be applied to all text starting
  14876. at the cursor/selection start]
  14877. 2006-01-03 Peter Dennis Bartok <[email protected]>
  14878. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  14879. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  14880. * X11Keyboard.cs: Switched to new way of calling PostMessage
  14881. 2006-01-03 Peter Dennis Bartok <[email protected]>
  14882. * Theme.cs: Added theme interface for images to allow the theme to
  14883. control what images are used for things like FileDialog, MessageBox
  14884. icons, etc.
  14885. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  14886. 2006-01-03 Alexander Olk <[email protected]>
  14887. * FileDialog.cs:
  14888. - Removed some dead code
  14889. - Opening a recently used file does work now
  14890. - Small UI enhancements
  14891. - Refactoring
  14892. 2006-01-02 Alexander Olk <[email protected]>
  14893. * FileDialog.cs: Forgot too add __MonoCS__
  14894. 2006-01-02 Alexander Olk <[email protected]>
  14895. * FileDialog.cs: We are able to read recently used files now let's
  14896. go on and write them.
  14897. 2006-01-01 Alexander Olk <[email protected]>
  14898. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  14899. button
  14900. * MimeIcon.cs: Do a check for the top level media type also
  14901. 2005-12-31 Alexander Olk <[email protected]>
  14902. * ThemeClearlooks.cs:
  14903. - Added CPDrawStringDisabled
  14904. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  14905. some chars if the text doesn't fit into text_rect
  14906. - DrawListViewItem: If View = View.LargeIcon center the image;
  14907. rewrote the drawing of ListViewItem.Text if View =
  14908. View.LargeIcon
  14909. 2005-12-31 Alexander Olk <[email protected]>
  14910. * MimeIcon.cs: Use default KDE icon theme if there is no
  14911. "48x48" directory for the current icon theme, fixes #77114
  14912. * Mime.cs: Disable not working and actually not used code.
  14913. * ThemeWin32Classic.cs:
  14914. - Replace "new SolidBrush" in GetControlBackBrush and
  14915. GetControlForeBrush with ResPool.GetSolidBrush
  14916. - Changed DrawListViewItem from private to protected virtual
  14917. * FileDialog.cs:
  14918. - Added form.MaximizeBox = true
  14919. - Don't throw an exception if there is a broken symbolic link
  14920. 2005-12-23 Jackson Harper <[email protected]>
  14921. * TabControl.cs: Give the panels focus, keyboard navigation is
  14922. fixed so this works correctly now.
  14923. - We need these key events also.
  14924. * ToolBar.cs: Remove some of the poor mans double buffering.
  14925. 2005-12-24 Alexander Olk <[email protected]>
  14926. * ComboBox.cs: The internal TextBox now returns the focus.
  14927. 2005-12-23 Jackson Harper <[email protected]>
  14928. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  14929. 2005-12-23 Peter Dennis Bartok <[email protected]>
  14930. * Control.cs: Removed debug code
  14931. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  14932. implicit children
  14933. 2005-12-23 Peter Dennis Bartok <[email protected]>
  14934. * Control.cs: When creating the control, update the Z-order after
  14935. all it's children are created, too. (Fixes nexxia not showing
  14936. picturebox bug)
  14937. 2005-12-23 Peter Dennis Bartok <[email protected]>
  14938. * Control.cs: Do not update the anchoring distances if layout is
  14939. suspended, instead do it once layout is resumed
  14940. 2005-12-22 Peter Dennis Bartok <[email protected]>
  14941. * Control.cs:
  14942. - After many hours of debugging, for both Jackson and
  14943. myself, it turns out that it helps to set the parent of a control
  14944. if you want to actually see it onscreen. In the spirit of that
  14945. discovery, we're now setting the parent of the control and
  14946. it's children when the control's handle is created. This fix
  14947. will make Lutz Roeder's Reflector run happily.
  14948. - now just creating the handle instead of the whole control when
  14949. getting a graphics context for the control.
  14950. 2005-12-22 Peter Dennis Bartok <[email protected]>
  14951. * ScrollableControl.cs: When calculating the canvas, don't consider
  14952. the scrollbar widths. Instead, predict if horizontal scrollbar
  14953. will affect canvas when deciding on vertical display and vice versa.
  14954. 2005-12-22 Peter Dennis Bartok <[email protected]>
  14955. * RichTextBox.cs: Set default RTF font for documents that don't
  14956. have a font table (Fixes #77076)
  14957. 2005-12-22 Jackson Harper <[email protected]>
  14958. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  14959. clipboard. This prevents a NullRef in that case.
  14960. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  14961. clipboard. PRIMARY is for the currently selected text only. (We
  14962. should implement PRIMARY at some point.
  14963. 2005-12-21 Peter Dennis Bartok <[email protected]>
  14964. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  14965. a Unicode function with a structure that was defined in Ansi way.
  14966. This fixes #76942.
  14967. 2005-12-21 Jackson Harper <[email protected]>
  14968. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  14969. on. Because thats how it rolls. (and this avoids it using ambient
  14970. colours).
  14971. * ThemeWin32Classic.cs: Use the proper back color for filling.
  14972. * Menu.cs: Use the system menu bar color for drawing menu
  14973. bars. Using the window back color will bring ambient colours into
  14974. the picture.
  14975. 2005-12-21 Alexander Olk <[email protected]>
  14976. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  14977. Bitmaps were created and not disposed.
  14978. 2005-12-21 Peter Dennis Bartok <[email protected]>
  14979. * Control.cs (CreateControl): Don't do anything if the control is
  14980. already created, otherwise we'd fire the OnCreated event more than
  14981. once
  14982. 2005-12-21 Peter Dennis Bartok <[email protected]>
  14983. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  14984. will always match. Instead return -1. Fixes #76464.
  14985. 2005-12-21 Peter Dennis Bartok <[email protected]>
  14986. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  14987. neither the beginning nor the end of the line (Fixes bug #76479)
  14988. 2005-12-21 Peter Dennis Bartok <[email protected]>
  14989. * Control.cs:
  14990. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  14991. where handle is invalid
  14992. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  14993. instead of slower linear search
  14994. * NativeWindow.cs: Don't remove the window from the hashtable until
  14995. after the driver has destroyed it (since the driver might use
  14996. Control.FromHandle to lookup the control object
  14997. * Hwnd.cs: Added DestroyPending property to track if a window is
  14998. already destroyed as far as the driver is concerned and only hasn't
  14999. yet notified the control
  15000. * XplatUIX11.cs:
  15001. - Activate(): Check if the window is still valid before using the
  15002. handle
  15003. - Implemented DestroyChildWindow() method to mark child windows as
  15004. destroyed when a window is destroyed. This prevents situations
  15005. where we might call an X method based on queued events for a
  15006. window that already has been destroyed but we haven't yet pulled
  15007. the destroy method from the queue.
  15008. - Added a call to the new DestroyChildWindow() method to the drivers
  15009. DestroyWindow code. Also now marking the destroyed window itself
  15010. as pending
  15011. 2005-12-20 Jackson Harper <[email protected]>
  15012. * StatusBar.cs:
  15013. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  15014. anymore. Just do them when needed, also track the rects of panels
  15015. so that we can optimize refreshing more in the future.
  15016. 2005-12-20 Alexander Olk <[email protected]>
  15017. * ColorDialog.cs: Fixed focus drawing in small color controls
  15018. 2005-12-19 Jackson Harper <[email protected]>
  15019. * InternalWindowManager.cs:
  15020. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  15021. moving windows works properly.
  15022. 2005-12-19 Peter Dennis Bartok <[email protected]>
  15023. * Control.cs:
  15024. - Removed call to InitLayout() from SetBoundsCore(); doc says
  15025. it's only called when a control is added to a container
  15026. - Split InitLayout logic, moved to separate UpdateDistances() method
  15027. since we need to perform those calculations more often than just
  15028. when adding the control to a container. (Needed to fix #77022)
  15029. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  15030. - Reduced the OnBindingContextChanged events count, don't send them
  15031. unless the control is created, we still aren't totally matching
  15032. MS, but I can't quite figure out some of their rules
  15033. 2005-12-18 Alexander Olk <[email protected]>
  15034. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  15035. stripes
  15036. 2005-12-18 Alexander Olk <[email protected]>
  15037. * ThemeClearlooks.cs:
  15038. - Updated ProgressBar drawing
  15039. - Corrected drawing of ScrollBars and scroll buttons
  15040. - Some temporary fixes for minor pixel artefacts
  15041. 2005-12-18 Peter Dennis Bartok <[email protected]>
  15042. * Control.cs:
  15043. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  15044. cause events to be sent in the same order as MS does.
  15045. - Added ChangeParent() method to trigger various OnXXXChanged events
  15046. that need to be fired when a parent changes (This is a reworking
  15047. of the patch from r54254, with the X11 errors fixed)
  15048. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  15049. since on MS we get OnLayoutChanged events when calling Clear()
  15050. - Changed Enabled property to consider parent state as well, if a
  15051. parent is not enabled, the control will not be either
  15052. - Changed Parent property to simply call Controls.Add() since that
  15053. now does all the work required, this way we avoid code duplication
  15054. - Threw in a few OnBindingsContextChanged calls to try and match
  15055. when MS sends them. We seem to send a few too many, though.
  15056. - Added call to CreateControl when adding the control to a parent.
  15057. We were never calling CreateControl. Still needs some work, in
  15058. some places we treat HandleCreated and ControlCreated as equal,
  15059. which is wrong
  15060. - Removed obsolete commented out code from UpdateZOrder()
  15061. 2005-12-18 Alexander Olk <[email protected]>
  15062. * ThemeClearlooks.cs: Updated TrackBar drawing.
  15063. 2005-12-17 Alexander Olk <[email protected]>
  15064. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  15065. 2005-12-17 Alexander Olk <[email protected]>
  15066. * FileDialog.cs: Add the Help button and the open readonly
  15067. checkbox only if needed
  15068. 2005-12-16 Jackson Harper <[email protected]>
  15069. * Control.cs: Make sure we have an active menu before trying to
  15070. process commands on it. Prevents menu-less forms from crashing
  15071. when Alt is pressed.
  15072. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  15073. Dieter Bremes.
  15074. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  15075. 2.0 build.
  15076. 2005-12-16 Jackson Harper <[email protected]>
  15077. * InternalWindowManager.cs: Don't translate tool windows screen
  15078. coordinates. This fixes windows 'bouncing' around when being moved.
  15079. 2005-12-15 Peter Dennis Bartok <[email protected]>
  15080. * TextBoxBase.cs:
  15081. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  15082. not quite MS compatible, MS uses that number only for single line
  15083. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  15084. the limit at 2GB)
  15085. - Now enforcing the MaxLength limit when entering characters
  15086. - Added argument to internal Paste() method to track if it's called
  15087. from programatically or via keyboard, since keyboard driven pastes
  15088. need to enforce max-length
  15089. - Added logic to Paste to only paste as many chars as MaxLength
  15090. allows
  15091. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  15092. * TextControl.cs:
  15093. - Added Length property to return number of characters in document
  15094. - Added private CharCount property which only tracks actual chars
  15095. in the document (no linefeeds) and fires event when CharCount
  15096. changes
  15097. - Added tracking of character count to all methods that alter it
  15098. - Added LengthChanged event to allow applications to subscribe
  15099. to any changes to the document
  15100. 2005-12-15 Peter Dennis Bartok <[email protected]>
  15101. * TextBox.cs:
  15102. - Removed local password_char field (moved to TextBoxBase)
  15103. - Now setting the document's password var when password is
  15104. set
  15105. * TextBoxBase.cs:
  15106. - Added password_char field (needed here so MultiLine can
  15107. access it)
  15108. - Added logic to MultiLine property setter to set the document's
  15109. variable when password display is allowed
  15110. - Removed debug code and made some debug code conditional
  15111. * TextControl.cs:
  15112. - Added RecalculatePasswordLine() method to handle special password
  15113. char only lines
  15114. - Added PasswordChar property, also added related tracking vars
  15115. - Draw() method now uses local text var for grabbing text to draw,
  15116. this var is set to line.text unless we're doing password display,
  15117. then it is set to the pre-generated all-password-chars line
  15118. - Added calling RecalculatePasswordLine() method for password lines
  15119. 2005-12-14 Peter Dennis Bartok <[email protected]>
  15120. * Hwnd.cs:
  15121. - Added Reparented property to allow tracking of Window Manager
  15122. reparenting actions (which affect X/Y calculations of toplevel
  15123. windows)
  15124. - Made ToString() print window handles in hex
  15125. * XplatUIX11.cs:
  15126. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  15127. determine if X/Y needs offsetting
  15128. - AddConfigureNotify(): Fixed offset calculations
  15129. - Now adds ReparentNotify messages into the queue
  15130. - Now processes ReparentNotify messages and causes a
  15131. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  15132. is reparented (as most likely it's X/Y coordinates are changed
  15133. due to that)
  15134. 2005-12-14 Jackson Harper <[email protected]>
  15135. * XplatUIX11.cs: Tool windows still need to respek focus.
  15136. 2005-12-14 Peter Dennis Bartok <[email protected]>
  15137. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  15138. have a working release
  15139. 2005-12-13 Jackson Harper <[email protected]>
  15140. * Form.cs: Update styles after setting the border style regardless
  15141. of whether or not the window is using a window manager.
  15142. 2005-12-13 Jackson Harper <[email protected]>
  15143. * Form.cs: We now hook into an internal window manager instead of just an
  15144. MDI subsystem, this is so we can have properly behaving tool windows.
  15145. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  15146. * InternalWindowManager.cs: New internal class that acts as a
  15147. window manager for tool windows and as a base for mdi windows.
  15148. * MdiWindowManager.cs: New class that acts as a window manager for
  15149. mdi windows.
  15150. 2005-12-12 Jackson Harper <[email protected]>
  15151. * Control.cs: Updates so we match behavoir for for implicit
  15152. controls. Fixes explosions in MDI.
  15153. 2005-12-12 Jackson Harper <[email protected]>
  15154. * Control.cs: Implement Invalidate (Region).
  15155. 2005-12-12 Peter Dennis Bartok <[email protected]>
  15156. * Control.cs:
  15157. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  15158. the same events as MS does. MS fires events for each property
  15159. except, for unknown reasons, Cursor, when the control is reparented.
  15160. I can't seem to totally match add/remove since MS also fires some
  15161. VisibleChanged events, which makes no sense. Consolidated the
  15162. parenting code into a separate method so it can be called from
  15163. both Add and Remove. set_Parent no longer needs any special logic
  15164. as it calls the parent's add method which implicitly fires
  15165. all events
  15166. - Removed some obsolete code and debug output
  15167. - Enabled state is inherited from parents, if this is enabled
  15168. 2005-12-08 Peter Dennis Bartok <[email protected]>
  15169. * Form.cs: Removed commented out code
  15170. 2005-12-08 Peter Dennis Bartok <[email protected]>
  15171. * Control.cs:
  15172. - Added internal version of Invoke, with additional argument
  15173. indicating if we're calling it from a Dispose() handler. That
  15174. way we can avoid BeginInvoke throwing an exception if we're
  15175. calling for an already destroyed window.
  15176. - Added a dispose argument to BeginInvokeInternal, and made the
  15177. check if a valid window handle chain exists conditional on
  15178. it not being a dispose call
  15179. - Removed code in DestroyHandle to destroy our children. Since we
  15180. now handle the WM_DESTROY message we will catch all our children
  15181. being destroyed.
  15182. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  15183. * Form.cs:
  15184. - Added a field to track the application context of the form.
  15185. - No need to set closing variable as response to WM_CLOSE, instead
  15186. we destroy the window. We also call PostQuitMessage if the form
  15187. has an application context (which makes it the main app form,
  15188. which, when closed terminates the app)
  15189. * XplatUI.cs:
  15190. - Dropped Exit() method, it's naming was confusing
  15191. - Added PostQuitMessage() which causes GetMessage to return false
  15192. once the message queue is empty
  15193. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  15194. PostQuitMessage()
  15195. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  15196. no longer a valid XplatUI method, but left it in since it's used
  15197. internally. Added empty PostQuitMessage() method.
  15198. * MenuAPI.cs: Replaced call to Exit() with call to
  15199. PostQuitMessage, even though this is probably no longer needed.
  15200. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  15201. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  15202. * Application.cs:
  15203. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  15204. - Removed old debug code that would call XplatUI for exception
  15205. display, enabled standard exception handling (Still not enabled
  15206. though, until NativeWindow's ExternalExceptionHandler define
  15207. is removed
  15208. * NativeWindow.cs:
  15209. - Added internal method to allow control to update NativeWindow
  15210. after a window has been destroyed
  15211. - Added handling of already destroyed windows when calling i
  15212. DestroyWindow
  15213. - Added removal of handle from list on ReleaseHandle
  15214. * XplatUIX11.cs:
  15215. - Dropped GetMessageResult var and related code
  15216. - Added PostQuitState to field to track if PostQuitMessage has been
  15217. called
  15218. - Dropped Exit() method
  15219. - Added PostQuitMessage() method
  15220. - GetMessage now will return false if PostQuitState is set and no
  15221. more messages are in the queue.
  15222. - Expose handler will no longer generate WM_PAINT messages if we are
  15223. in PostQuitState since it's very likely any windows have already
  15224. been destroyed, and since Hwnd won't get updated until we have
  15225. processed the DestroyNotify we'd be causing X errors.
  15226. 2005-12-07 Peter Dennis Bartok <[email protected]>
  15227. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  15228. Thanks to Mike for pointing out the err of my ways.
  15229. 2005-12-07 Peter Dennis Bartok <[email protected]>
  15230. * Control.cs(PreProcessMessage): Moved menu handling back, but
  15231. after all other key handling, to match MS (who handles Menu in
  15232. DefWndProc)
  15233. * Menu.cs (WndProc): Removed my brainfart
  15234. 2005-12-07 Peter Dennis Bartok <[email protected]>
  15235. * Control.cs(PreProcessMessage): Removed special menu handling
  15236. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  15237. 2005-12-07 Mike Kestner <[email protected]>
  15238. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  15239. state according in tracker.
  15240. * Menu.cs : promote tracker field to base class and provide a tracker
  15241. lookup capability. Add/Remove shortcuts dynamically if the top menu
  15242. has a tracker. Unparent items that are removed from the collection.
  15243. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  15244. * Theme*.cs: add always_show_hotkeys field to support configurability
  15245. of mnemonic display. win32 doesn't show mnemonics until Alt is
  15246. pressed.
  15247. 2005-12-07 Jackson Harper <[email protected]>
  15248. * MdiChildContext.cs: Use Control.ResetCursor.
  15249. * Control.cs: ResetCursor needs to set the property so that the
  15250. correct XplatUI call gets made.
  15251. 2005-12-07 Peter Dennis Bartok <[email protected]>
  15252. * Control.cs: More fixes to make our key events match MS. We
  15253. were not setting the modifier state on KeyData, and we were
  15254. not generating any events when Alt was pressed with a key
  15255. since handling of WM_SYSxxx was missing for the OnKey methods.
  15256. 2005-12-07 Jackson Harper <[email protected]>
  15257. * MdiChildContext.cs: reenable the sizing code.
  15258. - When the mouse leaves a window reset its cursor.
  15259. 2005-12-07 Alexander Olk <[email protected]>
  15260. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  15261. 2005-12-07 Peter Dennis Bartok <[email protected]>
  15262. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  15263. widths of Fixed3D borders
  15264. 2005-12-07 Jackson Harper <[email protected]>
  15265. * MdiClient.cs: Fix warnings. Earn Mike's love.
  15266. 2005-12-07 Alexander Olk <[email protected]>
  15267. * ThemeClearlooks.cs:
  15268. - Adjusted mouse over button color
  15269. - Added first parts of CheckBox drawing
  15270. - Added correct color for selected text background
  15271. - Fixed ComboBox drawing
  15272. - Added CPDrawBorder3D and CPDrawBorder
  15273. 2005-12-06 Peter Dennis Bartok <[email protected]>
  15274. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  15275. 2005-12-06 Peter Dennis Bartok <[email protected]>
  15276. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  15277. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  15278. alert users via sound. We could add an enum arg with different
  15279. types of alerts in the future
  15280. 2005-12-06 Peter Dennis Bartok <[email protected]>
  15281. * Control.cs: Fix behaviour problems pointed out by Mike
  15282. 2005-12-05 Mike Kestner <[email protected]>
  15283. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  15284. prop setters. Calls parent.Refresh for now, but could be maybe be
  15285. optimized with an internal method on StatusBar at some point.
  15286. [Fixes #76513]
  15287. 2005-12-05 Peter Dennis Bartok <[email protected]>
  15288. * RichTextBox.cs: Implemented get_SelectionColor
  15289. 2005-12-05 Alexander Olk <[email protected]>
  15290. * ThemeClearlooks.cs:
  15291. - Removed dead code
  15292. - Draw black button border only if button is Form.AcceptButton
  15293. - Draw correct button color for pressed RadioButton if the mouse
  15294. has entered the button
  15295. - Updated ProgressBar drawing!
  15296. - Updated CPDrawSizeGrip drawing
  15297. - Updated StatusBarPanel drawing
  15298. 2005-12-05 Mike Kestner <[email protected]>
  15299. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  15300. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  15301. 2005-12-04 Alexander Olk <[email protected]>
  15302. * ThemeClearlooks.cs: Initial check-in, activate with
  15303. export MONO_THEME=clearlooks
  15304. * ThemeEngine.cs: Added ThemeClearlooks
  15305. 2005-12-03 Mike Kestner <[email protected]>
  15306. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  15307. [Fixes #76897]
  15308. 2005-12-02 Jackson Harper <[email protected]>
  15309. * Form.cs: If the child form has no menu the default main menu is
  15310. used as the active menu.
  15311. 2005-12-02 Peter Dennis Bartok <[email protected]>
  15312. * ListBox.cs: Check if any items exist before trying to resolve
  15313. coordinates into items
  15314. 2005-12-02 Peter Dennis Bartok <[email protected]>
  15315. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  15316. as the second color for the background hatch
  15317. 2005-12-02 Peter Dennis Bartok <[email protected]>
  15318. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  15319. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  15320. sure that what we pass to FormatText is always 1-based. Fixes #76885
  15321. 2005-11-29 Miguel de Icaza <[email protected]>
  15322. * NumericUpDown.cs (EndInit): When we are done initializing,
  15323. reflect any updates on the UI.
  15324. 2005-12-02 Jackson Harper <[email protected]>
  15325. * ImplicitHScrollBar.cs:
  15326. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  15327. their container controls.
  15328. * TreeView.cs: Use the new implicit scrollbars.
  15329. 2005-12-02 Jackson Harper <[email protected]>
  15330. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  15331. can play with it.
  15332. * TreeNodeCollection.cs: If we remove the topnode we need to
  15333. update topnode to the next node in line.
  15334. - When clearing nodes go through the same process as removing
  15335. them, so they get depareneted and checked if they are top node.
  15336. 2005-12-01 Jackson Harper <[email protected]>
  15337. * TreeView.cs: When imagelists are used the image area is
  15338. selectable as well as the text.
  15339. - If there are no selected nodes select the first one.
  15340. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  15341. so don't do it more then we need to.
  15342. 2005-12-01 Jackson Harper <[email protected]>
  15343. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  15344. that arrows can be scaled.
  15345. 2005-12-01 Jackson Harper <[email protected]>
  15346. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  15347. fail. Patch by Dieter Bremes
  15348. 2005-11-30 Jackson Harper <[email protected]>
  15349. * Form.cs: Property is 2.0 only
  15350. * PrintDialog.cs: Signature fix.
  15351. 2005-11-30 Peter Dennis Bartok <[email protected]>
  15352. * TextControl.cs:
  15353. - No longer artificially moves text 2 pixels down (now that we have
  15354. borders this is no longer needed)
  15355. - Added calcs for left, hanging and right indent
  15356. 2005-11-23 Mike Kestner <[email protected]>
  15357. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  15358. 2005-11-30 Jackson Harper <[email protected]>
  15359. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  15360. get cloned as part of CloneMenu ().
  15361. * Menu.cs: Make sure the parent of the items get set correctly
  15362. when they are added. And the owners are notified of the changes.
  15363. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  15364. we can change the menu being displayed/handled by the form without
  15365. changing the menu assosciated with the form.
  15366. - Don't let Mdi children draw/handle menus.
  15367. 2005-11-30 Jackson Harper <[email protected]>
  15368. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  15369. a MenuChanged event. Just to make the API a little more
  15370. consistent.
  15371. * MainMenu.cs:
  15372. * MenuItem.cs: Use the new OnMenuChanged
  15373. * MdiChildContext.cs: Handle menu merging.
  15374. * Form.cs: Implement MergedMenu.
  15375. 2005-11-30 Jackson Harper <[email protected]>
  15376. * Menu.cs: We were misusing Add. Add goes behind the specified
  15377. index according to the docs, and does not replace the specified
  15378. index. So I added an Insert method.
  15379. 2005-11-30 Peter Dennis Bartok <[email protected]>
  15380. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  15381. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  15382. is for Jackson
  15383. * RichTextBox.cs: Added calls to base for DnD events
  15384. 2005-11-28 Peter Dennis Bartok <[email protected]>
  15385. * TextControl.cs:
  15386. - Fixed drag-selection related crash; style fixes
  15387. - Implemented undo class
  15388. o Implemented method to capture document state for specified
  15389. range in document tree
  15390. o Implemented method to restore captured document state
  15391. o Implemented cursor tracking
  15392. o Implemented basic undo stack
  15393. - Added undo cursor tracking to methods altering cursor location
  15394. - Added undo tracking to selection deletion (still missing
  15395. other text-altering hookups)
  15396. * RichTextBox.cs:
  15397. - Added SelectionLength property
  15398. - Implemented CanPaste()
  15399. - Implemented Paste()
  15400. - Added missing protected methods
  15401. - Fixed RTF->Document conversion; now uses font index 0 and color
  15402. index 0 as the default font for the parsed text
  15403. - Fixed RTF<->Document font size translation
  15404. - Fixed RTF generation, now properly handles cross-tag boundaries
  15405. for single line selection
  15406. - No longer always appends blank line to generated RTF
  15407. - Removed TODOs
  15408. - Added missing attributes
  15409. - Hooked up undo-related methods
  15410. * TextBoxBase.cs:
  15411. - Implemented Copy()
  15412. - Implemented Paste()
  15413. - Implemented Cut()
  15414. - Fixed caret mis-behaviour on backspace across line-boundaries
  15415. 2005-11-29 Jackson Harper <[email protected]>
  15416. * MdiClient.cs: Add a method for activating mdi children. Very
  15417. basic right now. I imagine someday it might need more girth.
  15418. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  15419. children windows names are added to the menu item.
  15420. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  15421. mdilist. This happens regardless of whether or not there are any
  15422. mdi windows to see in the list, and according to my tests happens
  15423. before the items are even added. Also happens if there isn't even
  15424. an mdi client to get windows from.
  15425. 2005-11-29 Alexander Olk <[email protected]>
  15426. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  15427. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  15428. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  15429. * DataGridTableStyle.cs:
  15430. - Create always the styles for the missing columns even if they are
  15431. provided by the user (not default table style)
  15432. * DataGrid.cs:
  15433. - Fixes bug 76770
  15434. - Fixes SetDataBinding (always re-attach source)
  15435. - Fixes SetNewDataSource (only clear styles if they are not for
  15436. this source)
  15437. - Expands OnTableStylesCollectionChanged to handle style refresh
  15438. and remove properly
  15439. 2005-11-29 Jackson Harper <[email protected]>
  15440. * FileDialog.cs: Implement missing bits, remove some dead
  15441. code.
  15442. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  15443. creation of the panel so that the options set on the dialog are
  15444. seen when the panel is created.
  15445. * TreeView.cs: raise a click when items are clicked.
  15446. 2005-11-29 Jackson Harper <[email protected]>
  15447. * MdiClient.cs: Pass some signature methods through to base.
  15448. 2005-11-28 Jackson Harper <[email protected]>
  15449. * ListView.cs: Raise the click event when items are clicked.
  15450. 2005-11-28 Jackson Harper <[email protected]>
  15451. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  15452. a nullref.
  15453. 2005-11-27 Alexander Olk <[email protected]>
  15454. * ThemeNice.cs: - Removed 1 pixel bitmaps
  15455. - Use SmoothingMode.AntiAlias where it makes sense
  15456. (ScrollButton arrow for example)
  15457. - Enhanced Button focus drawing
  15458. - Fixed ComboBox drawing (no artefacts anymore, focus
  15459. rectangle is back again, reduced size of ComboButton, etc.)
  15460. - Fixed RadioButton focus drawing for Appearence.Button
  15461. - Slight ScrollButton redesign
  15462. - Some LinearGradientBrush size fixes
  15463. - GroupBoxes have now rounded edges
  15464. - Fixed StatusBar drawing
  15465. 2005-11-25 Alexander Olk <[email protected]>
  15466. * ThemeNice.cs: - Remove dead code
  15467. - use correct background colors for menus, etc.
  15468. - Fake pixel drawing with 1 pixel bitmaps
  15469. 2005-11-24 Jackson Harper <[email protected]>
  15470. * MdiClient.cs: Size the scrollbars when resizing the window.
  15471. - Resize the maximized windows when the client is resized
  15472. * Form.cs: Make the child context available
  15473. 2005-11-23 Jackson Harper <[email protected]>
  15474. * MdiChildContext.cs: Don't size windows if they are maximized.
  15475. 2005-11-23 Mike Kestner <[email protected]>
  15476. * ContextMenu.cs: use MenuTracker.
  15477. * Control.cs: remove menu handle usage.
  15478. * Form.cs: remove menu handle usage.
  15479. * Hwnd.cs: remove menu handle usage.
  15480. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  15481. motion and clicks to the new Tracker handlers.
  15482. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  15483. and handle usage.
  15484. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  15485. Killed the MENU and MENUITEM data types and associated collections
  15486. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  15487. MenuTracker class that exposes the leftovers from the old MenuAPI
  15488. static methods. Restructured Capture handling so that only one grab is
  15489. done for the entire menu hierarchy instead of handing off grabs to
  15490. submenus. Tracker now has an invisible control to Capture when active.
  15491. * MenuItem.cs: add sizing accessors, kill Create
  15492. and handle usage.
  15493. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  15494. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  15495. MENU(ITEM). remove menu handle usage, use Menu directly.
  15496. * XplatUIDriver.cs: remove menu handle usage.
  15497. * XplatUIOSX.cs: remove menu handle usage.
  15498. * XplatUIWin32.cs: remove menu handle usage.
  15499. * XplatUIX11.cs: remove menu handle usage.
  15500. 2005-11-22 Jackson Harper <[email protected]>
  15501. * Hwnd.cs: Don't compute the menu size for
  15502. DefaultClientRectangle.
  15503. - Reenable menu sizes being computed for GetClienRectangle.
  15504. * Form.cs: Remove comment of trechery
  15505. 2005-11-22 Jackson Harper <[email protected]>
  15506. * Hwnd.cs: The adjustments for the menu bar are made when it is
  15507. attached to the form.
  15508. 2005-11-19 Jackson Harper <[email protected]>
  15509. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  15510. (just like on windows).
  15511. 2005-11-19 Jackson Harper <[email protected]>
  15512. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  15513. use real buttons anymore because they are in non client area. The
  15514. one TODO here is that I need to somehow invalidate a section of
  15515. the non client area.
  15516. 2005-11-18 Jackson Harper <[email protected]>
  15517. * Control.cs: Put the enum check back in now that MDI doesnt have
  15518. to use this to set border styles.
  15519. * Form.cs: Only set mdi child windows borders if the handle has
  15520. been created.
  15521. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  15522. this directly on to the driver.
  15523. - Get the move start position before adjusting for the titlebar
  15524. height, this fixes the windows "skipping" when they are first
  15525. moved.
  15526. 2005-11-18 Jackson Harper <[email protected]>
  15527. * XplatUIX11.cs: Just compute the mdi borders separately as they
  15528. don't totally match up with normal form borders.
  15529. 2005-11-18 Jackson Harper <[email protected]>
  15530. * Control.cs: Set WS_ styles for borders, so that the driver does
  15531. not have to retrieve the control instance to figure out what kind
  15532. of borders it should have.
  15533. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  15534. driver can know its an mdi child easily.
  15535. * XplatUIX11.cs: Get the border styles and whether the window is
  15536. MDI from the Styles and ExStyles params instead of having to get a
  15537. control. This prevents a chicken and egg problem.
  15538. 2005-11-18 Jackson Harper <[email protected]>
  15539. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  15540. 2005-11-18 Jackson Harper <[email protected]>
  15541. * MdiClient.cs: Calculate when to add and remove scrollbars
  15542. correctly.
  15543. * MdiChildContext.cs: Adjust the y position to take the titlebar
  15544. into account.
  15545. - No height for FormBorderStyle.None
  15546. 2005-11-18 Jackson Harper <[email protected]>
  15547. * Control.cs: Allow non enum values to be used for
  15548. InternalBorderStyle. MDI does this to set a special border style.
  15549. - New utility methods for converting points to/from client coords
  15550. - Add the newly created control to the Controls collection before
  15551. updating its style. This way UpdateStyle can walk the control
  15552. heirarchy to find the control if needed.
  15553. so I don't need to create a new Point object all the time.
  15554. * Form.cs: Let MDI windows handle their border styles.
  15555. - Set styles on MDI windows so the correct title style is derived.
  15556. * MdiChildContext.cs: Move all the painting and window handling
  15557. into the non client area.
  15558. - Use correct sizing and put correct buttons on frames based on
  15559. the FormBorderStyle.
  15560. - Notify the mdi client about scrolling
  15561. - Need to handle the buttons ourselves now, because they are all
  15562. in non client areas and we can't add controls there.
  15563. * MdiClient.cs: Halfway to scrolling, this implementation is
  15564. somewhat broken though, we need to check to make sure other
  15565. windows aren't causing scrolling before removing the bars. Also
  15566. the bars need to be drawn on top, maybe I can switch implicit
  15567. controls to be on top.
  15568. * Hwnd.cs: caption_height and tool_caption_height are now
  15569. properties of an hwnd, this way they can be set by the driver
  15570. based on the type of window they are. In X11 the window manager
  15571. handles the decorations so caption_height is zero unless its an
  15572. MDI window.
  15573. - Add 3 pixel borders for MDI windows (0xFFFF).
  15574. - Get rid of some code duplication, have DefaultClientRectanle
  15575. just call GetClientRectangle.
  15576. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  15577. Hwnd now.
  15578. - Set border styles differently for mdi windows.
  15579. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  15580. Hwnd now.
  15581. 2005-11-15 Mike Kestner <[email protected]>
  15582. * Menu.cs: when adding an item to the collection, if item is already
  15583. parented, remove it from the parent.
  15584. 2005-11-13 Alexander Olk <[email protected]>
  15585. * X11DesktopColors.cs: Added KDE support
  15586. 2005-11-11 Peter Dennis Bartok <[email protected]>
  15587. * XplatUIWin32.cs:
  15588. - Clipboard methods now can translate Rtf format
  15589. - No longer removes clipboard contents whenever a new format is added
  15590. to allow placing multiple formats on the clipboard
  15591. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  15592. will place all formats contained in it onto the clipboard. Also
  15593. now cleans the clipboard before placing a new object onto it
  15594. * RichTextBox.cs:
  15595. - Implemented set_Rtf
  15596. - Implemented set_SelectedRtf
  15597. - Created InsertRTFFromStream() method to allow single code base
  15598. for all properties and methods that insert RTF into document
  15599. - Removed debug output
  15600. * TextControl.cs:
  15601. - Fixed Delete(int) to fix up line numbers
  15602. - Fixed ReplaceSelection to combine start and end line
  15603. - Fixed serious DeleteChars bug that would leave the document tree
  15604. broken
  15605. - Improved DumpTree with several logic checks to detect broken
  15606. document trees
  15607. - Removed debug lines
  15608. - Fixed Caret.WordForward/WordBack moving code, now always also
  15609. updates caret.tag (fixes crash when word-selecting across tag
  15610. boundaries via keyboard)
  15611. - Added Insert() method for inserting multiline text into documents
  15612. - Fixed DeleteChars() calculation errors that would cause a broken
  15613. tag chain with multiple tag lines
  15614. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  15615. - Split() no longer moves caret if split is at caret location
  15616. - ReplaceSelection() now updates the cursor and re-displays it
  15617. - ReplaceSelection() now uses new Insert() method to avoid code
  15618. duplication
  15619. - FormatText() can now handle formatting partial lines
  15620. * TextBoxBase.cs:
  15621. - Append now uses new TextControl.Insert() method (this avoids
  15622. duplicate code)
  15623. - Implemented Ctrl-X (Cut) (
  15624. - Implemented Ctrl-C (Copy)
  15625. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  15626. regeneration when pasting text; roundtripping Copy&Paste within
  15627. edit control still fails due to some calculation bugs in GenerateRTF)
  15628. - The Delete key will now remove the current selection if it is visible
  15629. * TextBox.cs: Removed debug lines
  15630. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  15631. driver to be initialized and can't therefore be done via a static ctor)
  15632. 2005-11-10 Peter Dennis Bartok <[email protected]>
  15633. * TextControl.cs: Added backend code for finding char arrays and strings
  15634. * TextBoxBase.cs:
  15635. - Added mouse wheel scroll support
  15636. - Added support for VScroll and HScroll events
  15637. * RichTextBox.cs:
  15638. - Implemented all seven Find() variants
  15639. - Implemented GetCharFromPosition()
  15640. - Implemented GetCharIndexFromPosition()
  15641. - Implemented GetLineFromIndex()
  15642. - Implemented GetPositionFromCharIndex();
  15643. - Implemented SaveFile for PlainText and UnicodeText
  15644. - Fixed set_Font, now setting a new font applies that font to
  15645. the whole document
  15646. - Implemented generic Document to RTF converter
  15647. - Implemented SaveFile for RichText format (still missing unicode
  15648. conversion for non-ansi chars)
  15649. - Implemented get_Rtf
  15650. - Implemented get_SelectedRtf
  15651. 2005-11-09 Peter Dennis Bartok <[email protected]>
  15652. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  15653. to allow any captures to be released before triggering OnClick. This
  15654. way a click handler may capture the mouse without interference.
  15655. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  15656. This way we send them even though X may not allow a grab (if the window
  15657. isn't visible, for example)
  15658. 2005-11-08 Pedro Martinez Julia <[email protected]>
  15659. * DataGridViewRowEventArgs.cs: DataGridView implementation
  15660. * DataGridViewElement.cs: DataGridView implementation
  15661. * DataGridViewComboBoxCell.cs: DataGridView implementation
  15662. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  15663. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  15664. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  15665. * ImageLayout.cs: DataGridView implementation
  15666. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  15667. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  15668. * DataGridViewSelectionMode.cs: DataGridView implementation
  15669. * IDataGridViewEditingControl.cs: DataGridView implementation
  15670. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  15671. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  15672. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  15673. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  15674. * DataGridViewColumnSortMode.cs: DataGridView implementation
  15675. * DataGridView.cs: DataGridView implementation
  15676. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  15677. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  15678. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  15679. * Padding.cs: DataGridView implementation
  15680. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  15681. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  15682. * DataGridViewRowEventHandler.cs: DataGridView implementation
  15683. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  15684. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  15685. * DataGridViewButtonCell.cs: DataGridView implementation
  15686. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  15687. * DataGridViewEditMode.cs: DataGridView implementation
  15688. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  15689. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  15690. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  15691. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  15692. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  15693. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  15694. * DataGridViewCellEventHandler.cs: DataGridView implementation
  15695. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  15696. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  15697. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  15698. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  15699. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  15700. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  15701. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  15702. * QuestionEventArgs.cs: DataGridView implementation
  15703. * IDataGridViewEditingCell.cs: DataGridView implementation
  15704. * DataGridViewTriState.cs: DataGridView implementation
  15705. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  15706. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  15707. * DataGridViewColumnCollection.cs: DataGridView implementation
  15708. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  15709. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  15710. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  15711. * DataGridViewColumn.cs: DataGridView implementation
  15712. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  15713. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  15714. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  15715. * DataGridViewRow.cs: DataGridView implementation
  15716. * DataGridViewImageCellLayout.cs: DataGridView implementation
  15717. * DataGridViewImageCell.cs: DataGridView implementation
  15718. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  15719. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  15720. * DataGridViewHeaderCell.cs: DataGridView implementation
  15721. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  15722. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  15723. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  15724. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  15725. * QuestionEventHandler.cs: DataGridView implementation
  15726. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  15727. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  15728. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  15729. * DataGridViewCell.cs: DataGridView implementation
  15730. * DataGridViewCellEventArgs.cs: DataGridView implementation
  15731. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  15732. * DataGridViewCellStyle.cs: DataGridView implementation
  15733. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  15734. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  15735. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  15736. * TextFormatFlags.cs: DataGridView implementation
  15737. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  15738. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  15739. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  15740. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  15741. * DataGridViewButtonColumn.cs: DataGridView implementation
  15742. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  15743. * HandledMouseEventArgs.cs: DataGridView implementation
  15744. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  15745. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  15746. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  15747. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  15748. * DataGridViewRowCollection.cs: DataGridView implementation
  15749. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  15750. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  15751. * DataGridViewHitTestType.cs: DataGridView implementation
  15752. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  15753. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  15754. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  15755. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  15756. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  15757. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  15758. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  15759. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  15760. * DataGridViewContentAlignment.cs: DataGridView implementation
  15761. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  15762. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  15763. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  15764. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  15765. * DataGridViewPaintParts.cs: DataGridView implementation
  15766. * DataGridViewCellCollection.cs: DataGridView implementation
  15767. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  15768. * DataGridViewImageColumn.cs: DataGridView implementation
  15769. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  15770. * DataGridViewElementStates.cs: DataGridView implementation
  15771. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  15772. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  15773. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  15774. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  15775. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  15776. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  15777. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  15778. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  15779. * DataGridViewTextBoxCell.cs: DataGridView implementation
  15780. * DataGridViewBand.cs: DataGridView implementation
  15781. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  15782. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  15783. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  15784. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  15785. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  15786. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  15787. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  15788. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  15789. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  15790. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  15791. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  15792. 2005-11-08 Peter Dennis Bartok <[email protected]>
  15793. * ThemeWin32Classic.cs:
  15794. - Draw the outside focus rectangle around buttons
  15795. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  15796. doesn't use end caps for every dash of a line anymore. This
  15797. workaround ignores the forecolor.
  15798. 2005-11-08 Kornél Pál <[email protected]>
  15799. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  15800. endian safe.
  15801. 2005-11-07 Jackson Harper <[email protected]>
  15802. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  15803. 2005-11-07 Jackson Harper <[email protected]>
  15804. * ScrollableControl.cs: Calculate the maximum and change vars
  15805. (more) correctly so that scrollbars appear as a sensible size.
  15806. 2005-11-04 Jackson Harper <[email protected]>
  15807. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  15808. collection.
  15809. * TreeView.cs: When the tree is sorted null out the top_node so
  15810. that it is recalculated.
  15811. - Use dotted lines instead of dashed lines to match MS better.
  15812. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  15813. * ListView.cs:
  15814. - Implements key search for items. Useful when browsing files with FileDialog
  15815. - When changing view mode or when clear the items reset scrollbar positions
  15816. 2005-11-04 Jackson Harper <[email protected]>
  15817. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  15818. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  15819. as to what the method may do as there is no real way of creating a
  15820. derived CurrencyManager and calling the method.
  15821. 2005-11-03 Jackson Harper <[email protected]>
  15822. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  15823. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  15824. method which seems to just be used internally to refresh the tabs.
  15825. 2005-11-03 Jackson Harper <[email protected]>
  15826. * TabControl.cs: Implement the remove method. Fix some broken
  15827. comments.
  15828. 2005-11-03 Peter Dennis Bartok <[email protected]>
  15829. * DateTimePicker.cs:
  15830. - Added missing DateTimePickerAccessibleObject class
  15831. - Added missing events
  15832. - Added OnFontChanged method
  15833. * Form.cs: Added missing attributes
  15834. * TreeView.cs: Added missing attributes
  15835. 2005-11-03 Peter Dennis Bartok <[email protected]>
  15836. * GridItemCollection.cs: Fix signatures
  15837. 2005-11-03 Peter Dennis Bartok <[email protected]>
  15838. * XplatUI.cs: Updated build rev/date
  15839. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  15840. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  15841. * Application.cs: Trigger context-specific ExitThread events
  15842. 2005-11-03 Jackson Harper <[email protected]>
  15843. * Menu.cs:
  15844. * MainMenu.cs:
  15845. * GridTableStylesCollection.cs:
  15846. * Timer.cs:
  15847. * TabPage.cs:
  15848. * HelpProvider.cs:
  15849. * StatusBar.cs:
  15850. * MonthCalendar.cs: Signature fixes
  15851. 2005-11-03 Jackson Harper <[email protected]>
  15852. * TreeNodeCollection.cs: Remove should not be virtual.
  15853. * TreeView.cs: Implement the last of the missing methods.
  15854. 2005-11-03 Jackson Harper <[email protected]>
  15855. * TreeNodeConverter.cs: Implement to get off my class-status back.
  15856. 2005-11-03 Jackson Harper <[email protected]>
  15857. * TreeView.cs: Hookup the bits for drag and drop.
  15858. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  15859. that nodes can be moved from tree to tree easily this just causes
  15860. all sorts of problems.
  15861. * TreeNodeCollection: Don't need to give treenodes an index and
  15862. treeview anymore when they are added, these are computed on the
  15863. fly. Also make sure to remove a node before its added.
  15864. 2005-11-03 Peter Dennis Bartok <[email protected]>
  15865. * TextControl.cs:
  15866. - Added CaretSelection enum
  15867. - Added comparison methods to Marker struct, makes selection code
  15868. more readable
  15869. - Added SelectionStart and SelectionEnd as 'moveable' location for
  15870. the CaretDirection enum and handler
  15871. - Added selection_prev variable to track optimized invalidation for
  15872. word and line selection
  15873. - Added SelectionVisible property (returns true if there is a valid
  15874. selection)
  15875. - Switched CaretHasFocus to only display the caret if there is no
  15876. visible selection
  15877. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  15878. using the direct character index; should be much faster
  15879. - Added various conditional debug statements
  15880. - Fixed invalidation calculation for selection ranges
  15881. - Added ExpandSelection() method to support word and line selection
  15882. - Switched SetSelectionToCaret to use new Marker compare overloads
  15883. - Added central IsWordSeparator() method to determine word
  15884. separators/whitespace and FindWordSeparator() to streamline common
  15885. usage of IsWordSeparator()
  15886. * TextBoxBase.cs:
  15887. - Removed unneeded grabbed variable, it was just mirroring
  15888. Control.Capture
  15889. - No longer firing OnTextChanged event when Text setter is called,
  15890. since the base will fire the event for us
  15891. - Added handling of Ctrl-Up/Down selection
  15892. - Added handling of Shift-Cursorkey selection
  15893. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  15894. words
  15895. - Added handling of Shift and Ctrl-Shift-Home/End selection
  15896. - Removed some debug output
  15897. - Added handling for single/double/tripple-click to place caret/
  15898. select word/select line respectively (Fixes bug #76031)
  15899. - Added support for drag expansion of word/line selection
  15900. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  15901. current selection
  15902. 2005-11-02 Jackson Harper <[email protected]>
  15903. * X11Dnd.cs: If the drag is going to and from a MWF window just
  15904. copy the data instead of sending it out through the X Selection
  15905. mechanism.
  15906. 2005-11-02 Jackson Harper <[email protected]>
  15907. * X11Dnd.cs:
  15908. * XplatUIX11.cs: When in a drag we don't want motion notify
  15909. messages to get passed on to the other controls. This prevents
  15910. mouse move messages from showing up in the drag source.
  15911. 2005-11-02 Jackson Harper <[email protected]>
  15912. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  15913. the correct button is release to end a drag.
  15914. * XplatUIX11.cs: Make the button state internal so the drag system
  15915. can access it. Dragging needs to know about all button releases,
  15916. not just left button.
  15917. 2005-11-02 Miguel de Icaza <[email protected]>
  15918. * Form.cs (Icon): If the icon is null, reset the icon to the
  15919. default value.
  15920. * Cursor.cs: When writing the AND-mask bitmap do not include the
  15921. number of colors, but hardcode those to two (black and white),
  15922. fixes the loading of color cursors (Paint Dot Net).
  15923. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  15924. turn off autoscaling.
  15925. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  15926. 2005-11-02 Jackson Harper <[email protected]>
  15927. * X11Dnd.cs: Make sure to send a status message if the pointer
  15928. enters a control that can not accept a drop, otherwise the cursor
  15929. isn't updated correctly. Also tried to compress the lines of code
  15930. a bit.
  15931. 2005-11-02 Jackson Harper <[email protected]>
  15932. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  15933. set actions correctly. This isn't perfect as XDND and win32 have
  15934. some differences on how you allow actions. I'll clear this up by
  15935. adding a path for drag from MWF to MWF windows.
  15936. * XplatUIX11.cs: Hook into the dnd system.
  15937. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  15938. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  15939. previously shown but they are no longer need it. Very obvious when
  15940. browsing files with FileDialog.
  15941. 2005-11-01 Peter Dennis Bartok <[email protected]>
  15942. * Control.cs: We always need to call OnPaintBackground. We pretty much
  15943. ignore AllPaintingInWmPaint and always do the painting there, whether
  15944. it's set or not, since we always ignore the WM_ERASEBKGND message
  15945. (which we don't generate on X11). This fixes #76616.
  15946. * Panel.cs: Removed unneeded background painting. This happens properly
  15947. in Control.cs already
  15948. 2005-10-31 Mike Kestner <[email protected]>
  15949. * Menu.cs: Add items to collection before setting their index.
  15950. * MenuItem.cs : add range checking with ArgumentException like MS.
  15951. [Fixes #76510]
  15952. 2005-10-31 Jackson Harper <[email protected]>
  15953. * ListBox.cs: Invalidate if the area is visible at all not just
  15954. contained in the visible rect. Fixes unselection of semi visible
  15955. items.
  15956. 2005-10-31 Jackson Harper <[email protected]>
  15957. * Control.cs: Consistently name the dnd methods. Make them
  15958. internal so we can override them to match some MS behavoir
  15959. internally.
  15960. * Win32DnD.cs: Use the new consistent names.
  15961. 2005-10-31 Jackson Harper <[email protected]>
  15962. * TreeView.cs: Don't draw the selected node when we lose focus.
  15963. 2005-10-31 Jackson Harper <[email protected]>
  15964. * X11Dnd.cs: We still need to reset the state even though a full
  15965. reset isn't being done, otherwise status's still get sent all over
  15966. the place.
  15967. 2005-10-31 Jackson Harper <[email protected]>
  15968. * Control.cs: Make the dnd_aware flag internal so the dnd
  15969. subsystem can check it. Catch exceptions thrown in dnd handlers to
  15970. match MS behavoir.
  15971. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  15972. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  15973. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  15974. flags to reduce the number of dnd enters/status's sent.
  15975. 2005-10-31 Jackson Harper <[email protected]>
  15976. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  15977. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  15978. * PictureBox.cs: Fixes 76512
  15979. 2005-10-28 Jackson Harper <[email protected]>
  15980. * X11Dnd.cs: Early implementation to support winforms being a drag
  15981. source for data on X11. Also restructured the converters so they
  15982. can go both ways now.
  15983. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  15984. 2005-10-27 Peter Dennis Bartok <[email protected]>
  15985. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  15986. clipboard requests
  15987. 2005-10-27 Jackson Harper <[email protected]>
  15988. * TreeNode.cs: Implement serialization so my DnD examples will work.
  15989. 2005-10-24 Kornél Pál <[email protected]>
  15990. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  15991. TreeView.cs: Don't dispose objects that are not owned.
  15992. 2005-10-24 Peter Dennis Bartok <[email protected]>
  15993. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  15994. should retrieve the current cursor and report that, but XplatUI
  15995. doesn't (yet) have an interface for that (and I'm not sure I even
  15996. can, on X11)
  15997. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  15998. until any message loop processing is done (and the WM_SETCURSOR
  15999. replaces the cursor to the proper one)
  16000. * XplatUIX11.cs:
  16001. - Fixed override behaviour, we can't set the cursor globally on X11,
  16002. just for our windows.
  16003. - Invalidating the System.Drawing X11 display handle when we are
  16004. shutting down
  16005. * Control.cs: Fix to make csc happy
  16006. 2005-10-23 Peter Dennis Bartok <[email protected]>
  16007. * TextBoxBase.cs:
  16008. - get_Text: Add last line (without trailing newline) to returned
  16009. value (Fixes 76212)
  16010. - get_TextLength: Count last line in returned length
  16011. - ToString: Call Text property instead of duplicating code
  16012. 2005-10-23 Kornél Pál <[email protected]>
  16013. * ImageList.cs: Dispose ImageAttributes objects.
  16014. 2005-10-22 Kornél Pál <[email protected]>
  16015. * ImageList.cs: Use attribute constructors with less arguments where
  16016. possible.
  16017. 2005-10-22 Kornél Pál <[email protected]>
  16018. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  16019. Use typeof instead of strings when assembly is referenced. Added
  16020. some more comments.
  16021. 2005-10-21 Jackson Harper <[email protected]>
  16022. * ListView.cs: Raise a double click event. Also tried to somewhat
  16023. fix when the selectedindexchanged event is raised. Its still
  16024. broken though.
  16025. 2005-10-21 Jackson Harper <[email protected]>
  16026. * TreeView.cs: New method to invalidate the plus minus area of a
  16027. node without invalidating the whole node (maybe this can be used
  16028. in some more places).
  16029. * TreeNodeCollection.cs: When adding to an empty node we need to
  16030. invalidate its plus minus area so the little block shows up.
  16031. 2005-10-21 Jackson Harper <[email protected]>
  16032. * TreeView.cs: Make sure that when we invalidate a node the bounds
  16033. are big enough to cover the selected box and the focus
  16034. rectangle. Use a different colour for the lines connecting nodes
  16035. so they show up with all themes.
  16036. 2005-10-21 Peter Dennis Bartok <[email protected]>
  16037. * NativeWindow.cs: Don't call anything that could call into the driver,
  16038. we might be on a different thread.
  16039. 2005-10-21 Peter Dennis Bartok <[email protected]>
  16040. * Control.cs(Dispose): Since Dispose might run on a different thread,
  16041. make sure that we call methods that could call into the driver via
  16042. invoke, to avoid thread issues
  16043. 2005-10-21 Peter Dennis Bartok <[email protected]>
  16044. * XplatUI.cs: Removed finalizer
  16045. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  16046. not allowing to be called on the finalizer thread.
  16047. 2005-10-21 Kornél Pál <[email protected]>
  16048. * ImageList.cs:
  16049. - Reverted r51889 and r51891.
  16050. - Added ImageListItem class that stores unmodified image items and image
  16051. properties required to create list images until handle is created.
  16052. - Added AddItem and moved image creation logic to AddItemInternal.
  16053. - Added CreateHandle method that creates images based on unmodified items.
  16054. - Added DestroyHandle that changes state to store unmodified items.
  16055. - Add and AddStrip methods no more create handle.
  16056. - ReduceColorDepth has no return value.
  16057. - Dispose destroys handle.
  16058. - Modified other methods to reflect the above changes.
  16059. - Implemented key support.
  16060. - Added profile 2.0 members and attributes.
  16061. - Added private Reset and ShouldSerialize methods that provide the same
  16062. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  16063. them as they are private.
  16064. - Added some more comments about implementation details.
  16065. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  16066. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  16067. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  16068. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  16069. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  16070. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  16071. * DataGridColumnStyle.cs: Remove debug message
  16072. 2005-10-20 Jackson Harper <[email protected]>
  16073. * TreeView.cs: We can always get input keys regardless of whether
  16074. or not editing is enabled. They are used for navigation.
  16075. 2005-10-20 Jackson Harper <[email protected]>
  16076. * TreeNode.cs: Use the viewport rect for determining if a node
  16077. needs to be moved for visibility. Don't use Begin/End edit. This
  16078. calls a full refresh when its done.
  16079. * TreeView.cs: New SetBottom works correctly. Make the viewport
  16080. rect property internal so the treenodes can see it. When clicking
  16081. on a node we need to ensure that its visible because it might just
  16082. be partly visible when clicked.
  16083. 2005-10-20 Jackson Harper <[email protected]>
  16084. * TreeNodeCollection.cs: Remove debug code.
  16085. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  16086. * Datagrid.cs: Implements column sorting in Datagrid
  16087. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  16088. 2005-10-20 Jackson Harper <[email protected]>
  16089. * TreeNodeCollection.cs: Remove items properly. Update the correct
  16090. area after removing them.
  16091. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  16092. * Datagrid.cs: Should not call base.OnPaintBackground
  16093. 2005-10-20 Peter Dennis Bartok <[email protected]>
  16094. * XplatUIX11.cs (GetMessage):
  16095. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  16096. window instead of client window
  16097. - Now properly calculates NC_xBUTTONUP message coordinates
  16098. - ScreenToMenu now properly calculates it's coordinates of whole
  16099. window, since menus are in the whole window, not in the client
  16100. window
  16101. - Added WholeToScreen coordinate translation method
  16102. 2005-10-20 Peter Dennis Bartok <[email protected]>
  16103. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  16104. want to return a message, loop back to the beginning of the function
  16105. and grab the next real message to process instead.
  16106. 2005-10-20 Peter Dennis Bartok <[email protected]>
  16107. * Splitter.cs: Properly set limits if no filler control is used
  16108. 2005-10-19 Jackson Harper <[email protected]>
  16109. * ColorDialog.cs: Don't show the help button if it is not enabled
  16110. instead of disabling it (this is what MS does). Don't create the
  16111. panel until the dialog is run, otherwise the vars (such as
  16112. ShowHelp) are not set yet.
  16113. 2005-10-19 Jackson Harper <[email protected]>
  16114. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  16115. are reduced when adding nodes.
  16116. * TreeNode.cs:
  16117. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  16118. tree.
  16119. 2005-10-19 Jackson Harper <[email protected]>
  16120. * FolderBrowserDialog.cs: End editing our treeview so the window
  16121. actually gets refreshed.
  16122. 2005-10-18 Peter Dennis Bartok <[email protected]>
  16123. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  16124. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  16125. inside of WM_PAINT
  16126. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  16127. * MenuAPI.cs: Returns after Hidding window
  16128. * XplatUIX11.cs: Added TODO found while debugging menu issues
  16129. 2005-10-18 Peter Dennis Bartok <[email protected]>
  16130. * XplatUIX11.cs: Do not re-map the whole window when it's size
  16131. becomes non-zero unless it's supposed to be actually visible
  16132. 2005-10-18 Jackson Harper <[email protected]>
  16133. * TreeView.cs: We don't need to keep a count anymore.
  16134. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  16135. use the Grow method.
  16136. 2005-10-18 Jackson Harper <[email protected]>
  16137. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  16138. implement it manually here.
  16139. 2005-10-18 Jackson Harper <[email protected]>
  16140. * ImageList.cs: Dont kill the list when the colour depth is
  16141. changed, just change the colour depth of all the images.
  16142. - Same goes for setting the image size. Just resize them all
  16143. instead of killing the list softly.
  16144. 2005-10-18 Jackson Harper <[email protected]>
  16145. * Control.cs: Don't invalidate empty rectangles.
  16146. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  16147. * ListViewItem.cs:
  16148. - Adds checked item to the Checked/Item lists (where empty before)
  16149. - Do not add items to the Selected lists if they are already present
  16150. * ListView.cs:
  16151. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  16152. - When deleting items make sure that we delete them for the Selected
  16153. and Checked list also.
  16154. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  16155. * Label.cs: Dispose objects no longer used
  16156. * ThemeWin32Classic.cs: Dispose objects no longer used
  16157. 2005-10-18 Jackson Harper <[email protected]>
  16158. * TabControl.cs: Don't refresh the whole control when the tabs are
  16159. scrolled, we just need to refresh the tab area.
  16160. 2005-10-17 Jackson Harper <[email protected]>
  16161. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  16162. after handle when we need it.
  16163. 2005-10-17 Peter Dennis Bartok <[email protected]>
  16164. * Control.cs: When the parent size changes, recalculate anchor
  16165. positions. Partial fix for #76462
  16166. 2005-10-17 Peter Dennis Bartok <[email protected]>
  16167. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  16168. drawn. Fixes #76462
  16169. 2005-10-17 Jackson Harper <[email protected]>
  16170. * MonthCalendar.cs: Don't create the numeric up down until our
  16171. handle is created. Otherwise our handle is created in the
  16172. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  16173. yet.
  16174. 2005-10-17 Jackson Harper <[email protected]>
  16175. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  16176. correctly.
  16177. 2005-10-17 Rafael Teixeira <[email protected]>
  16178. * TreeNode.cs : small logical fix (was using local var instead of field)
  16179. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  16180. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  16181. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  16182. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  16183. 2005-10-16 Peter Dennis Bartok <[email protected]>
  16184. * Control.cs:
  16185. - Re-implemented anchoring code. My first version was really broken.
  16186. This fixes bug #76033. Unlike the previous implementation we will
  16187. no longer have round errors since all numbers are calculated from
  16188. scratch every time. Removed various anchor-related obsolete vars.
  16189. - InitLayout no longer causes layout event firing and layout to be
  16190. performed
  16191. 2005-10-16 Jackson Harper <[email protected]>
  16192. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  16193. which was broken).
  16194. 2005-10-16 Jackson Harper <[email protected]>
  16195. * TabControl.cs: Remove debug code.
  16196. 2005-10-16 Jackson Harper <[email protected]>
  16197. * XEventQueue.cs: Increase the default queue size (very simple
  16198. apps needed to grow the queue).
  16199. * Hwnd.cs: No finalizer so we don't need to suppress
  16200. finalization. Compute the invalid area manually so a new rectangle
  16201. does not newto be created.
  16202. * ScrollableControl.cs: Don't set any params (otherwise visibility
  16203. isn't set correctly).
  16204. * MdiChildContext.cs: New constructor takes the mdi parent so it
  16205. doesn't have to be computed and avoids a crash on windows. Draw
  16206. the window icon properly, and allow the text to be seen.
  16207. * Form.cs: Use new MdiChildContext constructor. Make sure the
  16208. child context isn't null in wndproc.
  16209. * TabControl.cs: Don't set focus, this is muddling keyboard
  16210. behavoir. Expand the tab rows when a window size increase will
  16211. allow extra tabs to be seen. Don't allow tabs smaller than the
  16212. width of a window to be scrolled out of view.
  16213. * TreeNode.cs:
  16214. * TreeView.cs: Use measure string to calculate a nodes width, the
  16215. width is cached and only updated when the text or the font is
  16216. changed. Don't check for expand/collapse clicks on the first level
  16217. nodes if root lines are disabled.
  16218. 2005-10-16 Ritvik Mayank <[email protected]>
  16219. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  16220. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  16221. * DataGridBoolColumn.cs: fixes warning
  16222. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  16223. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  16224. to match more to match more precisely the MS Net behavior
  16225. 2005-10-13 Peter Dennis Bartok <[email protected]>
  16226. * Hwnd.cs: Added field to track if window is mapped
  16227. * XplatUIX11.cs:
  16228. - Unmap windows if they become 0-size, re-map when
  16229. they are >0 again; fixes #76035
  16230. - Re-set our error handler after initializing X11Desktop
  16231. to override any error handlers Gtk or whatever was called
  16232. may have set.
  16233. 2005-10-13 Peter Dennis Bartok <[email protected]>
  16234. * CheckedListBox.cs: Removed unused vars
  16235. * ListView.cs: Fixed signatures
  16236. * RichTextBox.cs: Removed unused vars
  16237. * TextBoxBase.cs: Removed unused vars
  16238. * XplatUIWin32.cs: Removed unused vars
  16239. * XplatUIX11.cs: Removed unused vars
  16240. * XplatUI.cs: Updated version and date to latest published
  16241. 2005-10-13 Peter Dennis Bartok <[email protected]>
  16242. * Cursor.cs: Added private .ctor to work around a bug in
  16243. resourceset (Thanks to Geoff Norton for the help on this)
  16244. * SplitterEventArgs.cs: Made fields accessible so we don't
  16245. waste boatloads of objects and can reuse the same one
  16246. in Splitter
  16247. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  16248. any captions and borders when generating screen coordinates
  16249. * Splitter.cs: Reimplemented control, now fully complete, uses
  16250. rubberband drawing, supports and obeys all properties, has
  16251. proper cursors
  16252. 2005-10-13 Miguel de Icaza <[email protected]>
  16253. * Form.cs (Form): Setup default values for autoscale and
  16254. autoscale_base_size; Make these instance variables, not static
  16255. variables.
  16256. (OnLoad): on the first load, adjust the size of the form.
  16257. 2005-10-13 Peter Dennis Bartok <[email protected]>
  16258. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  16259. width argument to DrawReversibleRectangle()
  16260. * XplatUIWin32.cs, XplatUIX11.cs:
  16261. - Implemented width for DrawReversibleRectangle()
  16262. - Added logic to DrawReversibleRectangle that recognizes a zero
  16263. width or height and only draws a line in that situation
  16264. 2005-10-12 Peter Dennis Bartok <[email protected]>
  16265. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  16266. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  16267. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  16268. method (it uses our FosterParent window to get a graphics context)
  16269. 2005-10-12 Peter Dennis Bartok <[email protected]>
  16270. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  16271. and SetWindowBackground methods
  16272. * Control.cs:
  16273. - Setting proper ControlStyles
  16274. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  16275. EraseWindowBackground, instead we draw the window background
  16276. ourselves in PaintControlBackground. This behaviour is
  16277. required to match MS, where, when OnPaintBackground is not
  16278. called, the background is not drawn.
  16279. - Removed unneeded Refresh() in set_Text
  16280. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  16281. * XplatUIX11.cs:
  16282. - Created DeriveStyles method to translate from CreateParams to
  16283. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  16284. matches FormBorderStyle enum values)
  16285. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  16286. style calculations into single DeriveStyles method
  16287. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  16288. from redrawing the whole window on any resize or expose.
  16289. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  16290. all styles were applied to our whole/client window appropriately
  16291. - Removed EraseWindowBackground() and SetWindowBackground() methods
  16292. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  16293. no longer clear/redraw the background through X
  16294. - Removed handling of erase_pending bit, we have no use for it (or
  16295. so it seems)
  16296. * XplatUIOSX.cs:
  16297. - Removed generation and handling of WM_ERASEBKGND message
  16298. - Removed EraseWindowBackground() and SetWindowBackground() methods
  16299. - Removed handling of hwnd.ErasePending flag
  16300. * XplatUIWin32.cs:
  16301. - Removed EraseWindowBackground() and SetWindowBackground() methods
  16302. - We no longer call EraseWindowBackground on PaintEventStart, we
  16303. ignore the fErase flag, erasing is handled in Control in the
  16304. background handler
  16305. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  16306. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  16307. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  16308. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  16309. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  16310. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  16311. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  16312. 2005-10-12 Jonathan Chambers <[email protected]>
  16313. * PropertyGrids.cs: Get sub properties
  16314. * PropertyGridView.cs: Fix drawing code
  16315. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  16316. * ListBox.cs: Fixes 76383
  16317. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  16318. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  16319. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  16320. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  16321. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  16322. * ComboBox.cs: Fixes border drawing
  16323. 2005-10-10 Miguel de Icaza <[email protected]>
  16324. * MimeIcon.cs: Ignore errors if the file can not be read.
  16325. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  16326. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  16327. - Fixed border calculations
  16328. - Fixed horizontal scrolling in single column listboxes
  16329. - Fixed drawing issues
  16330. 2005-10-10 Peter Dennis Bartok <[email protected]>
  16331. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  16332. FormBorderStyle enum
  16333. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  16334. code to determine FormBorderStyles from CreateParams
  16335. * Form.cs:
  16336. - Fixed bug where we'd set the wrong window styles if we were
  16337. not creating an MDI window
  16338. - Added call to XplatUI.SetBorderStyle when form borders are set
  16339. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  16340. * Hwnd.cs:
  16341. - Removed obsolete edge style
  16342. - Switched from BorderStyle to FormBorderStyle
  16343. 2005-10-10 Jackson Harper <[email protected]>
  16344. * Form.cs: Use the property to get the window handle instead of
  16345. accessing it directly. Prevents a null reference exception.
  16346. 2005-10-10 Jackson Harper <[email protected]>
  16347. * TreeView.cs: Don't adjust the rect given to DrawString now that
  16348. our libgdiplus draws correctly.
  16349. 2005-10-08 Jackson Harper <[email protected]>
  16350. * TreeView.cs: Don't try to find the clicked on node if there are
  16351. no nodes in the tree.
  16352. 2005-10-08 Alexander Olk <[email protected]>
  16353. * RichTextBox.cs:
  16354. restore
  16355. 2005-10-08 Alexander Olk <[email protected]>
  16356. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  16357. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  16358. ErrorProvider.cs:
  16359. Use ResPool for brushes and dispose System.Drawing objects that
  16360. are not used anymore.
  16361. 2005-10-07 Jackson Harper <[email protected]>
  16362. * MdiChildContext.cs: Use the new borders instead of drawing them
  16363. ourselves.
  16364. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  16365. * Calling UpdateBounds after changing the window's BorderStyle
  16366. since the style can change the ClientSize
  16367. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16368. * Control.cs: Made PaintControlBackground virtual
  16369. * Panel.cs: Overriding PaintControlBackground instead of using paint
  16370. event; paint event method was interfering with 'real' users of the
  16371. event.
  16372. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  16373. * ThemeWin32Classic.cs: remove border drawing since it is handled
  16374. by the base control class now and was causing double border drawing.
  16375. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16376. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  16377. but it does seem to match MS behaviour. This fixes bug #75324
  16378. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16379. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  16380. somewhat hackish looking
  16381. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16382. * TextBoxBase.cs:
  16383. - We now accept Enter even if AcceptEnter is false, if the containing
  16384. form does not have an AcceptButton configured (fixes bug #76355)
  16385. - Calculations are now fixed to no longer use Width/Height, but
  16386. ClientSize.Width/Height, since we now support borders (this was
  16387. a result of fixing borders and therefore bug #76166)
  16388. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  16389. true (fixes bug #76354)
  16390. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16391. * Control.cs:
  16392. - Defaulting BorderStyle and setting it in XplatUI when our window
  16393. is created
  16394. - Added enum check to InternalBorderStyle setter
  16395. * XplatUIX11.cs:
  16396. - Added drawing of window borders
  16397. - Now properly calculates WM decorations offset for toplevel
  16398. windows (fixes bug #74763)
  16399. * XplatUIWin32.cs:
  16400. - Implemented BorderStyles for windows (we're letting win32 draw
  16401. the border for us)
  16402. - Fixed the signature for SetWindowLong
  16403. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  16404. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  16405. setting borders
  16406. * UpDownBase.cs: Remove drawing of borders, this is handled by
  16407. the driver, outside the client area
  16408. * ListView.cs: Removed bogus border calculations. The control should
  16409. be oblivious to borders, since those are not part of the client
  16410. area.
  16411. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  16412. * ThemeWin32Classic.cs: Removed border calculations from ListView
  16413. drawing code
  16414. 2005-10-06 Jackson Harper <[email protected]>
  16415. * MdiChildContext.cs: Clear out the old virtual position remove
  16416. all the unneeded calls to CreateGraphics.
  16417. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16418. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  16419. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16420. * Form.cs:
  16421. - Added loading and setting of our new default icon
  16422. - Only set icon if window is already created
  16423. 2005-10-06 Peter Dennis Bartok <[email protected]>
  16424. * Label.cs:
  16425. - Do not explicitly set the foreground and background colors, to
  16426. allow inheriting from parents (fixes #76302)
  16427. - Use Control's InternalBorderStyle property to deal with borders
  16428. 2005-10-06 Jackson Harper <[email protected]>
  16429. * MdiChildContext.cs: Use the new xplatui function to draw a
  16430. reversible rect.
  16431. 2005-10-06 Jackson Harper <[email protected]>
  16432. * Form.cs: Add the parent before creating the child context cause
  16433. we need the parent when setting up the child.
  16434. 2005-10-06 Jackson Harper <[email protected]>
  16435. * FolderBrowserDialog.cs: redo the tree population code so a
  16436. second thread isn't used. Should be a lot faster and more stable
  16437. now.
  16438. 2005-10-05 Jackson Harper <[email protected]>
  16439. * TreeView.cs: There are no expand/collapse boxes if the node has
  16440. no children.
  16441. 2005-10-05 Jackson Harper <[email protected]>
  16442. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  16443. 2005-10-05 Alexander Olk <[email protected]>
  16444. * FileDialog.cs: Fix InitialDirectory
  16445. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  16446. * ComboBox.cs:
  16447. - Fixes changing between styles
  16448. - Fixes simple mode
  16449. - Fixes last item crashing when navigating with keyboard
  16450. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  16451. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  16452. 2005-10-05 Jackson Harper <[email protected]>
  16453. * TreeView.cs: If updating the root node do a full refresh.
  16454. * TreeNode.cs: The root node should be expanded by default. Also
  16455. added a utility prop to tell if we are the root node.
  16456. * TreeNodeCollection.cs: Only refresh if the node we are being
  16457. added to is expanded. Also added a comment on a potential
  16458. optimization.
  16459. 2005-10-04 Peter Dennis Bartok <[email protected]>
  16460. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  16461. in dispose method. Fixes #76330
  16462. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  16463. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  16464. - Implements vertical and horizontal scrolling using XplatUI
  16465. - Fixes keyboard navagation
  16466. - Fixes EnsureVisible
  16467. - Drawing fixes
  16468. - Handles and draws focus properly
  16469. 2005-10-04 Kornél Pál <[email protected]>
  16470. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  16471. Create handle. NET_2_0: Destroy handle when value is null.
  16472. 2005-10-03 Jackson Harper <[email protected]>
  16473. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  16474. revert and a new patch to prevent the thumb from refreshing so
  16475. much.
  16476. 2005-10-02 Jackson Harper <[email protected]>
  16477. * ScrollBar.cs: Don't update position if it hasn't actually
  16478. changed. This occurs when you hold down the increment/decrement
  16479. buttons and the thumb gets to the max/min.
  16480. 2005-10-01 Jackson Harper <[email protected]>
  16481. * Form.cs:
  16482. * MdiChildContext.cs:
  16483. * MdiClient.cs: Implement ActiveMdiChild in Form.
  16484. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  16485. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  16486. 2005-10-01 Peter Dennis Bartok <[email protected]>
  16487. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  16488. be found
  16489. 2005-09-30 Jackson Harper <[email protected]>
  16490. * ListBox.cs: Don't do a full refresh unless some data has
  16491. actually changed.
  16492. 2005-09-30 Jackson Harper <[email protected]>
  16493. * TreeView.cs: Make sure that the checkboxes size is factored in
  16494. even when not visible.
  16495. 2005-09-30 Peter Dennis Bartok <[email protected]>
  16496. * FileDialog.cs: Fix Jordi's build break
  16497. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  16498. * FileDialog.cs:
  16499. - Use standard the Windows colours for the combobox as espected
  16500. - Dispose objects that use resouces when no longer need them
  16501. 2005-09-30 Peter Dennis Bartok <[email protected]>
  16502. * X11DesktopColors.cs: Initial incomplete implementation
  16503. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  16504. 2005-09-30 Peter Dennis Bartok <[email protected]>
  16505. * Theme.cs:
  16506. - Switched Theme color names to match the names defined in
  16507. System.Drawing.KnownColors. Life's hard enough, no need to make
  16508. it harder.
  16509. - Added setters to all theme color properties so themes can set
  16510. their color schemes. The setters also propagate the color changes
  16511. to System.Drawing.KnownColors via reflection
  16512. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  16513. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  16514. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  16515. use the new, more logical theme color names
  16516. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  16517. post-NT colors
  16518. * ThemeWin32Classic.cs:
  16519. - Removed code to set the old classic Windows colors. Instead it
  16520. now relies on the colors returned by System.Drawing.KnownColors
  16521. which will be either modern static colors (Unix) or colors
  16522. read from the user's configuration (Win32)
  16523. - Updated to use the new, more logical theme color names
  16524. - Switched DataGrid drawing code to use only Theme colors instead of
  16525. a mix of System.Drawing.KnownColors and Theme colors
  16526. - DrawFrameControl(): Removed code that fills the button area, the
  16527. fill would overwrite any previous fill done by a control. This
  16528. fixes bug #75338
  16529. - Added DrawReversibleRectangle() stub
  16530. * ScrollableControl.cs: Set visible state to false when scrollbars
  16531. are removed (pdn fix)
  16532. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  16533. DrawReversibleRectangle() method to allow drawing primitive
  16534. 'rubber bands'
  16535. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  16536. 2005-09-30 Kornél Pál <[email protected]>
  16537. * ImageList.cs: Add(Icon): Create handle.
  16538. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  16539. * ListView.cs:
  16540. * ThemeWin32Classic.cs:
  16541. - Fixes detail mode
  16542. - Sets clippings
  16543. - Issues with drawing
  16544. 2005-09-30 Kornél Pál <[email protected]>
  16545. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  16546. source has to be the ImageList.
  16547. 2005-09-30 Kornél Pál <[email protected]>
  16548. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  16549. 2005-09-30 Kornél Pál <[email protected]>
  16550. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  16551. 2005-09-30 Kornél Pál <[email protected]>
  16552. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  16553. 2005-09-29 Jonathan Chambers <[email protected]>
  16554. * GridItem.cs: Fixed TODOs
  16555. * GridItemCollection.cs: Added ICollection interface
  16556. 2005-09-30 Kornél Pál <[email protected]>
  16557. * ImageList.cs: Resize icons when needed.
  16558. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  16559. * ListViewItem.cs
  16560. - Fixes GetBounds and returns on screen rects
  16561. * ListView.cs:
  16562. - Fixes vertical and horzintal scrolling of items
  16563. * ThemeWin32Classic.cs:
  16564. - Fixes drawing
  16565. 2005-09-29 Raja R Harinath <[email protected]>
  16566. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  16567. 2005-09-29 Kornél Pál <[email protected]>
  16568. * ImageList.cs: Added comments about handle creation. Moved Handle,
  16569. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  16570. Handle is created in Add methods.
  16571. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  16572. * DataGridDrawingLogic.cs:
  16573. - Takes rows into account on Colum calculations
  16574. - Returns the column when clickig
  16575. * DataGrid.cs:
  16576. - Fixes default HitTestInfo values
  16577. - Fixes HitTestInfo.ToString
  16578. - Fixes ResetBackColor
  16579. 2005-09-28 Jackson Harper <[email protected]>
  16580. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  16581. sizing or cursor changes). Also added some temp code to draw the
  16582. titlebars text (Makes dev a little easier).
  16583. 2005-09-28 Kornél Pál <[email protected]>
  16584. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  16585. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  16586. * ListBox.cs: Fixes bug 76253
  16587. 2005-09-28 Kornél Pál <[email protected]>
  16588. * ImageList.cs: Added comments about the current implementation. Added
  16589. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  16590. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  16591. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  16592. with Bitmap.LockBits for better performance. Revised the whole file to
  16593. match MS.NET behaviour and provide better performance. Non-public
  16594. interface members are calling public members even when they throw
  16595. NotSupportedException for better maintainability. Moved ColorDepth,
  16596. ImageSize, ImageStream and TransparentColor implementations to
  16597. ImageCollection for better performance as these properties are not used
  16598. by ImageList.
  16599. * ImageListStreamer.cs: Added a new internal constructor that takes an
  16600. ImageList.ImageCollection and serializes Images based on
  16601. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  16602. match ImageList property name.
  16603. 2005-09-28 Kazuki Oikawa <[email protected]>
  16604. * ListBox.cs: Fixes IndexFromPoint for last item
  16605. 2005-09-27 Jackson Harper <[email protected]>
  16606. * Form.cs: Set the position of new mdi children correctly.
  16607. 2005-09-27 Jackson Harper <[email protected]>
  16608. * MdiClient.cs: New mdi children need to be added to the back of
  16609. the controls collection so the zorder is set correctly. Also add a
  16610. count of all the child windows that have been created.
  16611. 2005-09-27 Jackson Harper <[email protected]>
  16612. * Form.cs (CreateParams): Setup MDI forms correctly.
  16613. 2005-09-27 Jackson Harper <[email protected]>
  16614. * MdiChildContext.cs:
  16615. * MonthCalendar.cs:
  16616. * UpDownBase.cs:
  16617. * ListBox.cs:
  16618. * ListView.cs:
  16619. * TextBoxBase.cs:
  16620. * TreeView.cs:
  16621. * ScrollableControl.cs:
  16622. * ComboBox.cs: Add implicit controls using the new implict control
  16623. functionality in ControlCollection. Also try to block multiple
  16624. control add in a suspend/resume layout to save some cycles.
  16625. 2005-09-27 Jackson Harper <[email protected]>
  16626. * Control.cs: Add functionality to the controls collection to add
  16627. 'implicit controls' these are controls that are created by the
  16628. containing control but should not be exposed to the user. Such as
  16629. scrollbars in the treeview.
  16630. * Form.cs: The list var of the ControlsCollection is no longer
  16631. available because of the potential of implicit controls getting
  16632. ignored by someone accessing the list directly.
  16633. 2005-09-26 Peter Dennis Bartok <[email protected]>
  16634. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  16635. loose it's parent. (Fixed bug introduced in r49103 when we added
  16636. setting the child parent to null on Remove)
  16637. 2005-09-26 Gert Driesen <[email protected]>
  16638. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  16639. * Splitter.cs: Added missing attributes for BorderStyle property.
  16640. * TextBoxBase.cs: Marked Calculate* methods internal.
  16641. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  16642. MS.NET.
  16643. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  16644. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  16645. 2005-09-25 Jackson Harper <[email protected]>
  16646. * TreeView.cs: Update the node bounds correctly regardless of
  16647. whether the node is visible.
  16648. 2005-09-25 Jackson Harper <[email protected]>
  16649. * ImageList.cs: Don't dispose the image after it is added to the
  16650. image list. Only reformat images that need to be resized.
  16651. 2005-09-25 Jackson Harper <[email protected]>
  16652. * ImageList.cs: Don't set the format when changing the image.
  16653. 2005-09-25 Jackson Harper <[email protected]>
  16654. * TreeView.cs: We can't just assume the node has a font. Use the
  16655. treeviews font if no node font is available.
  16656. 2005-09-25 Jackson Harper <[email protected]>
  16657. * TreeView.cs: Allow the scrollbars to be reset with negative
  16658. values.
  16659. - Don't add scrollbars to negative sized windows.
  16660. 2005-09-23 Jackson Harper <[email protected]>
  16661. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  16662. old Mono.Posix. Also remove some stray code that shouldn't have
  16663. been committed.
  16664. 2005-09-23 Jackson Harper <[email protected]>
  16665. * TreeView.cs: Attempt at proper sizing of the horizontal
  16666. scrollbar. Also don't resize the scrollbars unless they are
  16667. visible.
  16668. 2005-09-23 Jackson Harper <[email protected]>
  16669. * TreeView.cs: We don't need to expand the invalid area when the
  16670. selection changes, as this is all drawn in the node's bounding
  16671. box. The area needs to be expanded (previous typo was contracting
  16672. it) when the focus rect moves.
  16673. 2005-09-23 Jackson Harper <[email protected]>
  16674. * TreeView.cs: Display the selection box under the correct
  16675. circumstances. We were rendering white text with no selection box
  16676. before.
  16677. 2005-09-23 Peter Dennis Bartok <[email protected]>
  16678. * TextControl.cs(Split): Now updates selection start/end if it points
  16679. into a line that's being split. Fixes a FIXME and bug #75258
  16680. 2005-09-23 Jackson Harper <[email protected]>
  16681. * Binding.cs:
  16682. * ListControl.cs: Don't use the path when retrieving binding
  16683. managers from the binding context. My bat sense tells me that the
  16684. path is only used on insertion.
  16685. 2005-09-22 Jackson Harper <[email protected]>
  16686. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  16687. 2005-09-22 Jackson Harper <[email protected]>
  16688. * Splitter.cs: There are special cursors used for splitting.
  16689. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  16690. 2005-09-22 Jackson Harper <[email protected]>
  16691. * Splitter.cs: Change the cursor appropriately when the splitter
  16692. is moused over, so the user actually knows there is a splitter
  16693. there.
  16694. 2005-09-22 Hisham Mardam Bey <[email protected]>
  16695. * Label.cs : Fix ToString method to give same output as MS.NET
  16696. 2005-09-22 Jackson Harper <[email protected]>
  16697. * TreeView.cs: Create the scrollbars when the handle is created
  16698. and add them right away, just make them invisble. Also account for
  16699. the window being shrunk vertically to the point that the vert
  16700. scrollbar needs to be added.
  16701. - Remove some 0.5 adjustments to get around anti aliasing issues.
  16702. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  16703. * MainMenu.cs: Fixes default value
  16704. * MenuItem.cs: Fixes default value
  16705. 2005-09-22 Kazuki Oikawa <[email protected]>
  16706. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  16707. 2005-09-21 Jackson Harper <[email protected]>
  16708. * Control.cs: Don't try to set the border style on the window if
  16709. it hasn't been created. When the window is created the border
  16710. style will be used.
  16711. 2005-09-21 Peter Dennis Bartok <[email protected]>
  16712. * Control.cs (Update): Don't call XplatUI if we don't have a
  16713. window handle yet
  16714. 2005-09-21 Peter Dennis Bartok <[email protected]>
  16715. * ContainerControl.cs: Instead of throwing an exception, print
  16716. a one-time warning about Validate not being implemented
  16717. * XplatUIWin32.cs: Removed debug output
  16718. 2005-09-21 Peter Dennis Bartok <[email protected]>
  16719. * Control.cs: Only set XplatUI background if we expect the windowing
  16720. system to handle the background. This stops controls that draw their
  16721. own background from flickering
  16722. * XplatUIX11.cs: Support custom visuals and colormaps for window
  16723. creation. This allows, amongst other things, using MWF X11 windows
  16724. with OpenGL.
  16725. 2005-09-21 Peter Dennis Bartok <[email protected]>
  16726. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  16727. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  16728. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  16729. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  16730. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  16731. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  16732. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  16733. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  16734. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  16735. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  16736. GridColumnStylesCollection.cs,
  16737. IDataGridColumnStyleEditingNotificationService.cs,
  16738. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  16739. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  16740. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  16741. TreeNodeCollection.cs, AmbientProperties.cs,
  16742. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  16743. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  16744. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  16745. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  16746. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  16747. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  16748. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  16749. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  16750. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  16751. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  16752. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  16753. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  16754. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  16755. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  16756. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  16757. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  16758. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  16759. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  16760. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  16761. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  16762. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  16763. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  16764. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  16765. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  16766. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  16767. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  16768. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  16769. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  16770. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  16771. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  16772. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  16773. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  16774. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  16775. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  16776. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  16777. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  16778. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  16779. 2005-09-21 Jackson Harper <[email protected]>
  16780. * TreeNode.cs: Call Before/After Expand not Collapse when
  16781. expanding.
  16782. 2005-09-20 Jackson Harper <[email protected]>
  16783. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  16784. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  16785. * ListViewItem.cs:
  16786. - Fixes bug 76120
  16787. - Fixes proper storing of subitems
  16788. - Fixes not updated items
  16789. 2005-09-20 Peter Dennis Bartok <[email protected]>
  16790. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  16791. things if our window handle isn't created yet. Also disabled
  16792. debug for TextBoxBase
  16793. 2005-09-20 Peter Dennis Bartok <[email protected]>
  16794. * MenuAPI.cs: Remove filtering of events to allow menu usage
  16795. 2005-09-20 Miguel de Icaza <[email protected]>
  16796. * Cursor.cs: Allow null to be passed to Cursor.Current.
  16797. 2005-09-20 Alexander Olk <[email protected]>
  16798. * ThemeWin32Classic.cs:
  16799. - Change some private methods/fields to protected virtual so that
  16800. they can be accessed and overriden in derived classes
  16801. - First refactoring of some methods. Derived themes now don't
  16802. need to duplicate the complete code from ThemeWin32Classic
  16803. * ThemeNice.cs:
  16804. - Added nice StatusBar
  16805. - Derive from ThemeWin32Classic and not Theme
  16806. - Removed duplicate ThemeWin32Classic code
  16807. 2005-09-20 Miguel de Icaza <[email protected]>
  16808. * Control.cs (ControlCollection.Add): If the value null is passed
  16809. the control is ignored.
  16810. Optimize this loop.
  16811. 2005-09-19 Peter Dennis Bartok <[email protected]>
  16812. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  16813. PostQuitMessage state.
  16814. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  16815. 2005-09-19 Peter Dennis Bartok <[email protected]>
  16816. * Application.cs: Our constructor will never get called, move
  16817. initialization to fields; fixes bug #75933
  16818. 2005-09-19 Hisham Mardam Bey <[email protected]>
  16819. * FileDialog.cs :
  16820. - Allow files to be selected properly using file name
  16821. combo box.
  16822. - Add ability to change diretory (absolute / relative)
  16823. using file name combo box.
  16824. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  16825. * ListBox.cs:
  16826. - Fixes Multicolumn listboxes item wrong calculations
  16827. - Allows to click when only one item is in the listbox
  16828. - Fixes crash when no items using keyboard navigation
  16829. 2005-09-16 Alexander Olk <[email protected]>
  16830. * ComboBox.cs: Reverted almost everything from the latest patch which
  16831. broke ComboBox
  16832. 2005-09-16 Kazuki Oikawa <[email protected]>
  16833. * ToolTip.cs:
  16834. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  16835. * ComboBox.cs:
  16836. - When DropDownStyle is Simple, it does not show scrollbar
  16837. to the last item of the list.
  16838. - When DropDownStyle is Simple, it crashed when the list was
  16839. scrolled down with the down cursor key.
  16840. - Fixed a bug that when DropDownStyle is DropDownList, the
  16841. selected item was not shown.
  16842. - The position of the selected item was not preserved when
  16843. the next dropdown happened.
  16844. * ThemeWin32Classic.cs:
  16845. - Items were wrapped at the right end.
  16846. * CheckedListBox.cs:
  16847. - Fixed Add method
  16848. * ListBox.cs:
  16849. - Items should be fully shown.
  16850. - When resizing and vertical scrollbar disappeared, the item
  16851. of index 0 should be on the top of the list.
  16852. - GetItemRectangle should consider the size of ver. scrollbar
  16853. * StatusBar.cs:
  16854. - SizingGrip area should not be allocated when it is not
  16855. displayed.
  16856. - Now it reflects MinWidth of the containing panel and
  16857. fixed a crash that happens when its width becomes so small.
  16858. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  16859. * CheckedListBox.cs: Fixes bug 76028
  16860. * ListBox.cs: Fixes bug 76028
  16861. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  16862. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  16863. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  16864. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  16865. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  16866. 2005-09-09 Jonathan Chambers <[email protected]>
  16867. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  16868. 2005-09-09 Jonathan Chambers <[email protected]>
  16869. * IRootGridEntry.cs: Added
  16870. * PropertyGridCommands.cs: Added
  16871. * PropertiesTab.cs: Added missing methods and property
  16872. * PropertyGridView.cs: Made class internal
  16873. * PropertyGridTextBox.cs: Made class internal
  16874. 2005-09-09 Alexander Olk <[email protected]>
  16875. * MimeIcon.cs: Try to check some other environment variables
  16876. if "DESKTOP_SESSION" returns "default"
  16877. 2005-09-09 Alexander Olk <[email protected]>
  16878. * ThemeNice.cs: Corrected background colors (e.g. menus)
  16879. * ColorDialog.cs: Use correct background colors for controls
  16880. 2005-09-09 Alexander Olk <[email protected]>
  16881. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  16882. 2005-09-08 Peter Dennis Bartok <[email protected]>
  16883. * RichTextBox.cs: Added initial implementation
  16884. * lang.cs: Removed. Was accidentally checked in long time ago
  16885. * TODO: Removed. Contents were obsolete
  16886. 2005-09-06 Jonathan Chambers <[email protected]>
  16887. * PropertiesTab.cs : Added
  16888. 2005-09-06 Jonathan Chambers <[email protected]>
  16889. * PropertyGrid.cs : Update
  16890. * PropertyGridView.cs : Update
  16891. * System.Windows.Forms.resx : Added images and strings
  16892. 2005-09-06 Peter Dennis Bartok <[email protected]>
  16893. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  16894. 2005-09-06 Peter Dennis Bartok <[email protected]>
  16895. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  16896. a busy loop right after the Ungrab the X11 display is otherwise
  16897. blocked
  16898. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  16899. * ThemeWin32Classic.cs: Optimise the use of clipping
  16900. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  16901. * DataGrid.cs: fixes recursion bug
  16902. 2005-09-03 Alexander Olk <[email protected]>
  16903. * ThemeNice.cs:
  16904. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  16905. - Cleanup
  16906. 2005-09-02 Alexander Olk <[email protected]>
  16907. * ThemeNice.cs: Draw nice ProgressBars
  16908. 2005-09-01 Miguel de Icaza <[email protected]>
  16909. * VScrollBar.cs: Another buglet found by Aaron's tool.
  16910. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  16911. bug finder.
  16912. 2005-08-30 Alexander Olk <[email protected]>
  16913. * ThemeNice.cs:
  16914. - Added nicer menu drawing
  16915. - Updated DrawTab
  16916. - some refactoring
  16917. 2005-08-30 Peter Dennis Bartok <[email protected]>
  16918. * CreateParams.cs (ToString): Made output match MS
  16919. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  16920. handle is already created (to avoid forcing window creation)
  16921. * XplatUIX11.cs: Set window text to caption after creating window,
  16922. in case Text was set before window was created
  16923. * Form.cs: Use this.Text instead of a static string as caption
  16924. 2005-08-30 Peter Dennis Bartok <[email protected]>
  16925. * NotifyIcon.cs: Don't set the window to visible; this screws
  16926. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  16927. OnPaint without a bitmap)
  16928. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  16929. happen very often anyway; we could add the check to the WM_PAINT
  16930. event generation code
  16931. 2005-08-30 Peter Dennis Bartok <[email protected]>
  16932. * NotifyIcon.cs: Fill the icon area with a background color, to
  16933. avoid 'residue' when transparent icons are drawn
  16934. * XplatUIX11.cs:
  16935. - Handle whole_window == client_window when destroying windows
  16936. - SystrayAdd(): Set client_window to whole_window value to
  16937. get mouse and other events passed to NotifyIcon
  16938. 2005-08-30 Peter Dennis Bartok <[email protected]>
  16939. * Form.cs: Set proper default for Opacity property
  16940. * NotifyIcon.cs:
  16941. - ShowSystray(): Don't bother creating telling the OS
  16942. about the systray item if no icon is provided
  16943. - Now handles WM_NCPAINT message to deal with whole/client window
  16944. split
  16945. - Create window as visible to not get caught by Expose optimization
  16946. * Hwnd.cs: Removed debug message
  16947. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  16948. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  16949. PaintEventStart/End to use new client argument
  16950. * TextBoxBase.cs:
  16951. - Commented out debug messages
  16952. - Switched PaintEventStart/End to use new client argument
  16953. * XplatUI.cs: Added client window bool to PaintEventStart()/
  16954. PaintEventEnd() calls, to support drawing in non-client areas
  16955. * XplatUIDriver.cs:
  16956. - Added client window bool to PaintEventStart()/PaintEventEnd()
  16957. calls, to support drawing in non-client areas
  16958. - Added conditional compile to allow using MWF BeginInvoke
  16959. on MS runtime
  16960. * XplatUIX11.cs:
  16961. - Added some conditional debug output
  16962. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  16963. whole/client window split
  16964. - Implemented handling of client argument to PaintEventStart()/End()
  16965. * Control.cs:
  16966. - Throw exception if BeginInvoke() is called and the window handle
  16967. or one of the window's parent handles is not created
  16968. - Added conditional compile to allow using MWF BeginInvoke on
  16969. MS runtime
  16970. - get_Parent(): Only sets parent if handle is created. This avoids
  16971. forcing window handle creation when parent is set.
  16972. - Now fires Layout and Parent changed events in proper order
  16973. - Switched to use Handle instead of window.Handle for Z-Order setting,
  16974. the get_Parent() patch above causes us to possibly get null for 'window'
  16975. - Implemented handling of client argument to PaintEventStart()/End()
  16976. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  16977. default handling)
  16978. - Now sends a Refresh() to all child windows when Refresh() is called
  16979. 2005-08-29 Peter Dennis Bartok <[email protected]>
  16980. * Form.cs: Added (non-functional) Opacity property
  16981. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  16982. 2005-08-29 Alexander Olk <[email protected]>
  16983. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  16984. use export MONO_THEME=nice to activate it.
  16985. Currently supported controls:
  16986. - Button
  16987. - ComboBox
  16988. - ScrollBar
  16989. - TabControl (TabAlignment.Top only, other will follow)
  16990. * ThemeEngine.cs: Add theme nice
  16991. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  16992. if enabled
  16993. 2005-08-25 Jonathan Chambers <[email protected]>
  16994. * Splitter.cs: Resize docked control and its neighbor.
  16995. 2005-08-24 Rafael Teixeira <[email protected]>
  16996. -- Making Windows with Menus layout correctly --
  16997. * Form.cs : The first leg of the fix
  16998. Menu setter - adjust Client Size as needed to make space for the menu
  16999. SetClientSizeCore - doesn't call base version to be able to pass the
  17000. menu handle to XplatUI.CalculateWindowRect
  17001. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  17002. * XplatUIX11.cs: The critical second leg of the fix
  17003. GetWindowPos needs to use a recalculated client_rect
  17004. so that resizing the window doesn't break layout of child controls.
  17005. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  17006. Lots of \t\n killed
  17007. 2005-08-23 Peter Dennis Bartok <[email protected]>
  17008. * Label.cs: Now properly recalculates width and height on Font and Text
  17009. changes if AutoSize is set
  17010. 2005-08-19 Rafael Teixeira <[email protected]>
  17011. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  17012. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  17013. * ImageList.cs: Makes ToString method compatible with MS
  17014. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  17015. * MenuAPI.cs: fixes bug 75716
  17016. 2005-08-11 Umadevi S <[email protected]>
  17017. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  17018. 2005-08-11 Umadevi S <[email protected]>
  17019. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  17020. 2005-08-10 Umadevi S <[email protected]>
  17021. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  17022. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  17023. * Menu.cs: fixes bug 75700
  17024. * MenuAPI.cs: fixes navigation issues
  17025. 2005-08-09 Umadevi S <[email protected]>
  17026. * CheckedListBox.cs - simple fix for GetItemChecked.
  17027. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  17028. * ComboBox.cs: Serveral fixes
  17029. * ListBox.cs: Serveral fixes
  17030. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  17031. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  17032. * ListBox.cs: Fixes FindString methods
  17033. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  17034. * DataGrid.cs: fixes bugs exposed by new tests
  17035. 2005-08-04 Peter Dennis Bartok <[email protected]>
  17036. * Mime.cs: Compile Mono assembly references only if compiling
  17037. with Mono (Allows to build with VS.Net again)
  17038. 2005-07-28 Marek Safar <[email protected]>
  17039. * Control.cs (PaintControlBackground): Draw background image
  17040. corrrectly.
  17041. (CheckForIllegalCrossThreadCalls): Stubbed.
  17042. * Form.cs (OnCreateControl): Center when should be centered.
  17043. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  17044. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  17045. * Binding.cs: Binding to properties should be case unsensitive
  17046. 2005-07-18 [email protected]
  17047. * DataGrid.cs: fixes setmember order
  17048. 2005-07-07 Alexander Olk <[email protected]>
  17049. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  17050. * FileDialog.cs: FileDialog is now resizable and uses the new
  17051. MimeIconEngine
  17052. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  17053. * DataGridTextBoxColumn.cs: default value
  17054. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  17055. * GridTableStylesCollection.cs: fixes checking MappingName
  17056. * DataGridDrawingLogic.cs: fixes drawing logic issues
  17057. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  17058. * DataGrid.cs: fixes
  17059. 2005-07-06 Alexander Olk <[email protected]>
  17060. * MimeGenerated.cs: Use case sensitive comparer for
  17061. NameValueCollections
  17062. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  17063. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  17064. * ThemeWin32Classic.cs: bug fixes, code refactoring
  17065. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  17066. * DataGrid.cs: bug fixes, code refactoring
  17067. * DataGridTextBox.cs: bug fixes, code refactoring
  17068. * DataGridColumnStyle.cs: bug fixes, code refactoring
  17069. * Theme.cs: bug fixes, code refactoring
  17070. 2005-07-01 Peter Bartok <[email protected]>
  17071. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  17072. and other text box usage
  17073. 2005-07-01 Jackson Harper <[email protected]>
  17074. * TabControl.cs: Make sure the bottom of the tab covers the pages
  17075. border.
  17076. 2005-06-30 Peter Bartok <[email protected]>
  17077. * Form.cs (ShowDialog): Assign owner of the dialog
  17078. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  17079. might have been moved to a tag with different height
  17080. 2005-06-30 Jackson Harper <[email protected]>
  17081. * Form.cs: Don't create an infinite loop when setting focus
  17082. * MenuItem.cs: Don't dirty the parents if we don't have any
  17083. 2005-06-29 Ben Maurer <[email protected]>
  17084. * LibSupport.cs: Rename
  17085. 2005-06-29 Peter Bartok <[email protected]>
  17086. * TextBoxBase.cs: Re-align caret after deleting a character
  17087. * TextControl.cs:
  17088. - DeleteChars(): Ensure that tag covers the provided position
  17089. - StreamLine(): Drop reference for dropped tag
  17090. 2005-06-29 Peter Bartok <[email protected]>
  17091. * TextControl.cs:
  17092. - Selections now work properly, anchoring at the initial location
  17093. and properly extending in either direction (SetSelectionToCaret(),
  17094. SetSelectionStart() and SetSelectionEnd())
  17095. - No longer redraws the whole control on selection change, now
  17096. calculates delta between previous and new selection and only
  17097. invalidates/redraws that area
  17098. - Fixed FindPos() math off-by-one errors
  17099. - Changed DeleteChars() to verify the provided tag covers the
  17100. provided position, selections may have a tag that doesn't cover
  17101. the position if the selection is at a tag border
  17102. - Fixed off-by-one errors in DeleteChars()
  17103. - Added missing streamlining check in DeleteChars() to remove
  17104. zero-length tags
  17105. - Implemented Invalidate() method, now properly calculates exposures
  17106. between two given lines/positions
  17107. - Implemented SetSelection()
  17108. - Obsoleted and removed FixupSelection()
  17109. - Improved RecalculateDocument() logic, removing code duplication
  17110. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  17111. * LibSupport.cs: changes to match different input/output arguments.
  17112. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  17113. * LibSupport.cs: added libsupport.so init routine.
  17114. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  17115. * ControlBindingsCollection.cs
  17116. - Throws an exception on null datasource when adding
  17117. - Checks for duplicated bindings when adding
  17118. 2005-06-28 Jackson Harper <[email protected]>
  17119. * TreeView.cs (OnKeyDown): Support left and right properly
  17120. (navigates as well as expanding and collapsing.
  17121. - Add support for Multiply, this expands all the selected nodes
  17122. children.
  17123. - Fix some tabbing.
  17124. 2005-06-28 Jackson Harper <[email protected]>
  17125. * TreeView.cs: Implement keyboard navigation, currently supports,
  17126. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  17127. support for toggling checkboxes with the space bar.
  17128. 2005-06-28 Jackson Harper <[email protected]>
  17129. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  17130. tree.
  17131. 2005-06-28 Jackson Harper <[email protected]>
  17132. * TreeView.cs: Add missing event.
  17133. 2005-06-27 Peter Bartok <[email protected]>
  17134. * TextControl.cs:
  17135. - Made line ending size configurable (now allows for counting
  17136. lineendings as \n or \r\n)
  17137. - Added margin to viewport to keep caret visible on right side
  17138. - Fixed translation routines for line/pos to documentpos to consider
  17139. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  17140. - Fixed some line-endings to be unix style
  17141. - Fixed Document.FormatText to perform it's calculations 1-based
  17142. - Added descriptions for a few methods that might otherwise get
  17143. used wrong
  17144. - Added NOTE section with some basic conventions to remember at
  17145. the top of the file
  17146. - Major fixup for RichTextBox selection drawing:
  17147. * Fixed crashes when multiple tags on a single line were selected
  17148. * fixed selection box drawing not overlaying text
  17149. * fixed bogus offset calculation for tags not starting at index 1
  17150. * Switched behaviour from using multiple Substrings of a
  17151. StringBuilder.ToString() to using multiple
  17152. StringBuilder.ToString(start, length) statements, hoping this is
  17153. faster (kept original version commented out in the code, in case
  17154. original version was faster)
  17155. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  17156. alignment != Left
  17157. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  17158. call it as well
  17159. 2005-06-27 Jackson Harper <[email protected]>
  17160. * TabControl.cs: Move to the left and right with the arrow
  17161. keys. These keys don't cycle beyond first and last like
  17162. tab. Refresh all the tabs when scrolling them to the left or
  17163. right.
  17164. 2005-06-27 Jackson Harper <[email protected]>
  17165. * TabControl.cs:
  17166. - ToString: Added method
  17167. - CreateParams: Remove TODO and comment
  17168. - OnKeyDown: Cycle through bounds properly.
  17169. - SelectedIndex: Scroll to the right or left if we need to
  17170. display the newly selected tab.
  17171. 2005-06-23 Jackson Harper <[email protected]>
  17172. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  17173. set.
  17174. 2005-06-23 Jackson Harper <[email protected]>
  17175. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  17176. CTRL-SHIFT-TAB, and HOME, END are there any others?
  17177. 2005-06-23 Jackson Harper <[email protected]>
  17178. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  17179. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  17180. * DataGridTextBoxColumn.cs: fixes and enhancements
  17181. * ThemeWin32Classic.cs: fixes and enhancements
  17182. * DataGridBoolColumn.cs: fixes and enhancements
  17183. * DataGridDrawingLogic.cs: fixes and enhancements
  17184. * CurrencyManager.cs: fixes and enhancements
  17185. * DataGrid.cs: fixes and enhancements
  17186. * DataGridColumnStyle.cs: fixes and enhancements
  17187. 2005-06-22 Jackson Harper <[email protected]>
  17188. * TabControl.cs: Add some missing methods that just call into the
  17189. base. Make the TabPageCollection's IList interface behave in the
  17190. same manner as the MS implementation.
  17191. 2005-06-22 Peter Bartok <[email protected]>
  17192. * TextControl.cs: Added sanity check
  17193. * TextBoxBase.cs:
  17194. - Fixed wrapping behaviour, don't set wrap on single line controls
  17195. (this fixes the breakage of colordialog introduced in an earlier
  17196. checkin)
  17197. - Added rudimentary support for autoscrolling right-aligned controls
  17198. (still needs fixing, also, center alignment scroll is missing)
  17199. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  17200. * ScrollBar.cs: Fixes thumbpos on Maximum values
  17201. 2005-06-21 Jonathan Chambers <[email protected]>
  17202. * PropertyGridView.cs: Pass context information to UITypeEditors
  17203. 2005-06-21 Peter Bartok <[email protected]>
  17204. * TextBoxBase.cs:
  17205. - Now calling PositionCaret with absolute space coordinates
  17206. - Enabled vertical scrolling
  17207. - Better tracking of scrollbar changes, tied into WidthChange
  17208. event
  17209. - Improved cursor tracking
  17210. - Removed debug output
  17211. * TextControl.cs:
  17212. - PositionCaret coordinates are now works in absolute space, not
  17213. the canvas
  17214. - Improved tracking of document size
  17215. - Added events for width and height changes
  17216. 2005-06-21 Peter Bartok <[email protected]>
  17217. * Form.cs: Set focus to active control when form is activated
  17218. * TextControl.cs:
  17219. - Added word-wrap functionality to RecalculateLine()
  17220. - Added some short function descriptions for VS.Net to aid in
  17221. writing dependent controls
  17222. - Added Caret property, returning the current coords of the caret
  17223. - Added ViewPortWidth and ViewPortHeight properties
  17224. - Added Wrap property
  17225. - Added CaretMoved event
  17226. - Removed some old debug code
  17227. - Split() can now create soft splits
  17228. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  17229. - Added method to format existing text
  17230. - Fixed size/alignment calculations to use viewport
  17231. - RecalculateDocument now can handle changing line-numbers while
  17232. calculating lines
  17233. * TextBox.cs:
  17234. - Added some wrap logic, we don't wrap if alignment is not left
  17235. - Added casts for scrollbar var, base class switched types to
  17236. also support RichTextBoxA
  17237. - Implemented handling of scrollbar visibility flags
  17238. * TextBoxBase.cs:
  17239. - Switched scrollbars type to RichTextBoxScrollBars to support
  17240. RichTextBox
  17241. - Added tracking of canvas width/height
  17242. - Switched scrollbars to be not selectable (to keep focus on text)
  17243. - Added central CalculateDocument() method to handle all redraw
  17244. requirements
  17245. - Added ReadOnly support
  17246. - Added WordWrap support
  17247. - Fixed handling of Enter key (we now treat it as a DialogKey)
  17248. - Fixed caret positioning when h or v scroll is not zero
  17249. - Fixed placing/generation of vertical scrollbar
  17250. - Added CalculateScrollBars() method to allow updating scrollbar
  17251. limits and visibility
  17252. - Fixed handling of horizontal scroll
  17253. - Added handling of vertical scroll
  17254. - Implemented auto-'jump' when caret moves to close to a left or
  17255. right border and there is text to be scrolled into view (currently
  17256. there's the potential for a stack overflow, until a bug in
  17257. scrollbar is fixed)
  17258. 2005-06-21 Geoff Norton <[email protected]>
  17259. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  17260. 2005-06-19 Alexander Olk <[email protected]>
  17261. * Mime.cs:
  17262. - added inodes.
  17263. - return application/x-zerosize for files with size zero
  17264. (if no extension pattern matches).
  17265. - check matches collection for strings too.
  17266. - return only the first mime type if the name value
  17267. collection has more than one mime type.
  17268. 2005-06-18 Jonathan Chambers <[email protected]>
  17269. * PropertyGrid.cs: Cleaned up some TODOs
  17270. * PropertyGridView.cs: Added support for UITypeEditors
  17271. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  17272. * DataGrid.cs: clears cached value
  17273. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  17274. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  17275. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  17276. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  17277. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  17278. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  17279. * ThemeWin32Classic.cs: fixes colour
  17280. 2005-06-15 Peter Bartok <[email protected]>
  17281. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  17282. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  17283. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  17284. * Control.cs: Added some MWFCategory and MWFDescription attributes
  17285. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  17286. 2005-06-15 Alexander Olk <[email protected]>
  17287. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  17288. usage
  17289. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  17290. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  17291. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  17292. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  17293. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  17294. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  17295. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  17296. 2005-06-13 Jackson Harper <[email protected]>
  17297. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  17298. isn't printed when the user enables dropping. (X11 does accept
  17299. drops).
  17300. 2005-06-13 Jackson Harper <[email protected]>
  17301. * TreeView.cs: Remove some TODOS.
  17302. 2005-06-13 Jackson Harper <[email protected]>
  17303. * Form.cs: Hook into the mdi framework.
  17304. * MdiClient.cs: Use the base control collections add method so
  17305. parents get setup correctly. Set the default back colour and dock
  17306. style.
  17307. * MdiChildContext.cs: New class, this bad actor handles an
  17308. instance of an MDI window. Right now there is only basic
  17309. support. You can drag, close, and resize windows. Minimize and
  17310. Maximize are partially implemented.
  17311. 2005-06-13 Jackson Harper <[email protected]>
  17312. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  17313. freaky when both vals are negative. NOTE: There are probably other
  17314. places in XplatUIX11 that this needs to be done.
  17315. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  17316. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  17317. * DataGridColumnStyle.cs: fixes signature
  17318. 2005-06-12 Jackson Harper <[email protected]>
  17319. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  17320. windows.
  17321. 2005-06-11 Jackson Harper <[email protected]>
  17322. * StatusBarPanel.cs: Signature cleanups. Implement
  17323. BeginInit/EndInit.
  17324. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  17325. * DataGridTextBoxColumn.cs: Honors aligment
  17326. * GridColumnStylesCollection.cs: Contains is case unsensitive
  17327. * GridTableStylesCollection.cs: several fixes
  17328. * DataGridTableStyle.cs: default column creation
  17329. * DataGridDrawingLogic.cs: fixes
  17330. * CurrencyManager.cs: ListName property
  17331. * DataGrid.cs: multiple styles support
  17332. * DataGridColumnStyle.cs: fixes
  17333. 2005-06-10 Peter Bartok <[email protected]>
  17334. * Control.cs(Select): Moved SetFocus call to avoid potential
  17335. loops if controls change the active control when getting focus
  17336. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  17337. the up/down buttons
  17338. 2005-06-10 Matthias Felgner <[email protected]>
  17339. * ImageListConverter.cs: Implemented
  17340. 2005-06-10 John BouAntoun <[email protected]>
  17341. * MonthCalendar.cs: Wired in NumericUpDown control for year
  17342. 2005-06-10 John BouAntoun <[email protected]>
  17343. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  17344. DoubleClick events, since they are not meant to be fired.
  17345. 2005-06-09 Peter Bartok <[email protected]>
  17346. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  17347. Jonathan's standalone controls into MWF, implemented missing
  17348. events, attributes and methods; added xxxAccessible classes
  17349. * AccessibleObject.cs: Made fields internal so other classes
  17350. can change them if needed
  17351. 2005-06-09 Jonathan Gilbert <[email protected]>
  17352. * UpDownBase.cs: Complete implementation
  17353. * NumericUpDown.cs: Complete implementation
  17354. * DomainUpDown.cs: Complete implementation
  17355. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  17356. * DataGridTextBoxColumn.cs: drawing fixes
  17357. * DataGridCell.cs: fixes ToString method to match MSNet
  17358. * DataGridTableStyle.cs: fixes
  17359. * DataGridBoolColumn.cs: fixes, drawing
  17360. * DataGridDrawingLogic.cs: fixes, new methods
  17361. * DataGridTextBox.cs: Keyboard and fixes
  17362. * DataGrid.cs:
  17363. - Keyboard navigation
  17364. - Scrolling fixes
  17365. - Row selection (single, multiple, deletion, etc)
  17366. - Lots of fixes
  17367. 2005-06-07 Jackson Harper <[email protected]>
  17368. * ThemeWin32Classic.cs: Clear the background area when drawing
  17369. buttons.
  17370. 2005-06-06 Peter Bartok <[email protected]>
  17371. * ImageListStreamer.cs: Fixed signature for GetData
  17372. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  17373. * ComboBox.cs:
  17374. - Added missing ChildAccessibleObject class
  17375. - Added missing OnXXXFocus overrides, switched to using those
  17376. instead of the event handler
  17377. * Control.cs:
  17378. - Added Parent property for ControlAccessibleObject
  17379. - Fixed signatures
  17380. - Fixed attributes
  17381. - Added ResetBindings()
  17382. * ListBindingConverter.cs: Implemented some methods
  17383. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  17384. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  17385. * ContainerControl.cs: Fixed signature, now subscribing to the
  17386. ControlRemoved event instead of overriding the handler, LAMESPEC
  17387. * CurrencyManager.cs: Added missing attribute
  17388. * MonthCalendar.cs: Added missing properties
  17389. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  17390. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  17391. 2005-06-06 Gaurav Vaish and Ankit Jain
  17392. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  17393. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  17394. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  17395. * Control.cs: fixes CreateParams Width / Height.
  17396. 2005-06-05 Peter Bartok <[email protected]>
  17397. * Win32DnD.cs: Removed compilation warnings
  17398. 2005-06-05 Peter Bartok <[email protected]>
  17399. * Control.cs (CreateParams): Since we don't know if one of the
  17400. properties we use is overridden, lets make sure if we fail accessing
  17401. we continue with a backup plan
  17402. 2005-06-05 Peter Bartok <[email protected]>
  17403. * Win32DnD.cs:
  17404. - Removed debug output
  17405. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  17406. struct
  17407. - Plugged resource leak
  17408. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  17409. MS size
  17410. 2005-06-05 Peter Bartok <[email protected]>
  17411. * XplatUIWin32.cs: Removed DnD code
  17412. * Win32DnD.cs: Implemented drop source and drop target functionality
  17413. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  17414. * UpDownBase.cs: remove duplicate addition of event, enable some code
  17415. that was commented out.
  17416. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  17417. Validate input when a key is pressed. It works fine now for every
  17418. combination of Hexadecimal. Only missing some drawing love when sharing
  17419. space with other controls.
  17420. 2005-06-04 Peter Bartok <[email protected]>
  17421. * Control.cs:
  17422. - We need to pass a window for DragDrop, so enable callback events
  17423. - Added DnD callback events when being a DragSource
  17424. * XplatUI.cs (StartDrag): Added window handle argument
  17425. * XplatUIDriver.cs (StartDrag): Added window handle argument
  17426. * QueryContinueDragEventArgs: Made fields internally accessible so
  17427. drivers can set them
  17428. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  17429. can set them
  17430. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  17431. * DataGridTextBoxColumn.cs: column text editing
  17432. * DataGridTableStyle.cs: Respect columns styles created by the user
  17433. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  17434. * DataGridBoolColumn.cs: bool column editing
  17435. * DataGrid.cs: fixes to scrolling, properties, etc
  17436. * DataGridTextBox.cs: handle keyboard
  17437. * DataGridColumnStyle.cs: fixes
  17438. 2005-06-02 Jackson Harper <[email protected]>
  17439. * ImageListStreamer.cs: Somewhat broken implementation of
  17440. GetObjectData. The RLE needs some work to match MS properly.
  17441. 2005-06-02 Jackson Harper <[email protected]>
  17442. * X11Dnd.cs: Attempting to keep at least one file in MWF
  17443. monostyled.
  17444. 2005-06-02 Peter Bartok <[email protected]>
  17445. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  17446. that way
  17447. 2005-06-02 Peter Bartok <[email protected]>
  17448. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  17449. * XplatUI.cs: Added DoDragDrop() method
  17450. * XplatUIDriver.cs: Added DoDragDrop() method
  17451. 2005-06-02 Jackson Harper <[email protected]>
  17452. * Splitter.cs: Implement BorderStyle.
  17453. 2005-06-02 Jackson Harper <[email protected]>
  17454. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  17455. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  17456. X11 using XDND.
  17457. 2005-06-02 Peter Bartok <[email protected]>
  17458. * DataObject.cs:
  17459. - Added Data setter
  17460. - Fixed broken insertion code for SetData, now also
  17461. overwrites any existing entry of the same format name
  17462. * Hwnd.cs: Added list of pointers that automatically gets
  17463. freed when the window is disposed
  17464. * XplatUI.cs: Call driver initialization method when loading
  17465. a driver
  17466. * Control.cs:
  17467. - OnDragLeave takes EventArgs, not DragEventArgs
  17468. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  17469. supported
  17470. - Forces style update when drop state changes
  17471. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  17472. not perfect since we cannot (yet) call the IDataObject.GetData()
  17473. method, we keep getting 0x80004005 error, dunno why)
  17474. 2005-06-02 Peter Bartok <[email protected]>
  17475. * DragEventArgs.cs: Make fields internal so we can cache the
  17476. object and re-set the fields from XplatUI
  17477. 2005-06-02 Jackson Harper <[email protected]>
  17478. * Control.cs: Add some internal methods so the DnD subsystem can
  17479. raise DnD events. Also call into the driver when AllowDrop is set.
  17480. * XplatUI.cs:
  17481. * XplatUIDriver.cs: New method for setting whether or not a window
  17482. is allowed to accept drag and drop messages.
  17483. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  17484. * ScrollBar.cs: Make sure that values sent in Scroll events
  17485. are always between Maximum and Minimum.
  17486. 2005-06-01 Marek Safar <[email protected]>
  17487. * Menu.cs: Call MenuChanged when menuitem visibility has been
  17488. changed.
  17489. * MenuItem.cs: Rebuild menu when item is (not) visible.
  17490. * MainMenu.cs: MainMenu has special MenuChanged.
  17491. * Theme.cs: Caption and FrameBorderSize are not fixed.
  17492. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  17493. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  17494. * XplatUIX11.cs,
  17495. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  17496. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  17497. 2005-05-30 Jackson Harper <[email protected]>
  17498. * DataFormat.cs: We can't statically initialize this stuff because
  17499. it calls into the xplatui and could create a loop. So we lazy init
  17500. it.
  17501. 2005-05-28 Jackson Harper <[email protected]>
  17502. * Control.cs: Proper implementation of Product(Name/Version).
  17503. 2005-05-27 Jackson Harper <[email protected]>
  17504. * DataObject.cs: Dont crash if no data is found.
  17505. 2005-05-26 Rafael Teixeira <[email protected]>
  17506. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  17507. as per status page, guessing it should be set to true
  17508. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  17509. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  17510. * DataGridTableStyle.cs: set proper formatting text, def header text
  17511. * ThemeWin32Classic.cs: new themable paramaters
  17512. * DataGridBoolColumn.cs: paint check box, get data, fixes
  17513. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  17514. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  17515. * DataGridColumnStyle.cs: fixes
  17516. * Theme.cs: new themable paramaters
  17517. 2005-05-26 Peter Bartok <[email protected]>
  17518. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  17519. 2005-05-24 Jonathan S. Chambers <[email protected]>
  17520. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  17521. 2005-05-24 Peter Bartok <[email protected]>
  17522. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  17523. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  17524. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  17525. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  17526. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  17527. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  17528. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  17529. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  17530. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  17531. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  17532. missing attributes, etc
  17533. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  17534. 2005-05-24 Peter Bartok <[email protected]>
  17535. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  17536. when user tries to get help
  17537. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  17538. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  17539. to suppress warnings
  17540. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  17541. avoid unreachable code warning
  17542. 2005-05-20 Peter Bartok <[email protected]>
  17543. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  17544. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  17545. * DataGridTextBoxColumn.cs: Basic painting methods
  17546. * DataGridTableStyle.cs: Set table style in the column
  17547. * ThemeWin32Classic.cs: Use Theme for colors
  17548. * DataGridDrawingLogic.cs: Implement more drawing
  17549. * DataGrid.cs: drawing, theming, enhacements, fixes
  17550. * DataGridColumnStyle.cs: fixes, drawing
  17551. * Theme.cs: theming for Datagrid
  17552. 2005-05-20 Peter Bartok <[email protected]>
  17553. * Cursor.cs: Implemented GetObjectData() method
  17554. 2005-05-20 Peter Bartok <[email protected]>
  17555. * Cursors.cs: Added setting of cursor name
  17556. * Cursor.cs:
  17557. - Implemented constructors
  17558. - Implemented Draw and DrawStretched
  17559. - Implemented Current property
  17560. - Implemented == and != operators
  17561. - Implemented Dispose()
  17562. - Implemented ToString
  17563. - Added missing attributes
  17564. * XplatUIX11.cs:
  17565. - Added missing reset for OverrideCursor when DoEvents is called
  17566. - Fixed creation of cursor, logic was wrong
  17567. * XplatUIWin32.cs:
  17568. - Added missing reset for OverrideCursor when DoEvents is called
  17569. - Fixed creation of cursor, bit arrays were swapped
  17570. * Clipboard.cs: Removed obsolete MonoTODO attribute
  17571. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  17572. * ComboBox.cs: fixes OnSelectedItemChanged
  17573. * ControlBindingsCollection.cs: fixes item range check
  17574. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  17575. * UpDownBase.cs:
  17576. - Calc preferred height properly
  17577. - Implement missing properties
  17578. * NumericUpDown.cs: Implement missing events
  17579. 2005-05-19 Jackson Harper <[email protected]>
  17580. * TabControl.cs: New method that resizes the tab pages before
  17581. redrawing them. This as needed as the control is double buffered
  17582. and sizing will not be recalculated unless ResizeTabPages is
  17583. called.
  17584. * TabPage.cs: Set base.Text instead of Text in the constructor so
  17585. that UpdateOwner does not get called. Use the new Redraw method of
  17586. TabControl instead of Refresh so the sizing is recalculated.
  17587. * ThemeWin32Classic.cs: Draw the text for button tabs.
  17588. 2005-05-19 Jackson Harper <[email protected]>
  17589. * Control.cs: Paint control background images. Fix typo where
  17590. PaintControlBackground was not getting called correctly.
  17591. 2005-05-19 Peter Bartok <[email protected]>
  17592. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  17593. I can investigate, apparently I broke FileDialog
  17594. 2005-05-19 Marek Safar <[email protected]>
  17595. * AxHost.cs: Some simple properties.
  17596. * Control.cs: window must be accessible after ctor.
  17597. * Form.cs: Added TransparencyKey property.
  17598. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  17599. * XplatUIWin32.cs: SetBorderStyle implemented.
  17600. 2005-05-18 Peter Bartok <[email protected]>
  17601. * DataObject.cs: Entries are not global but particular to the
  17602. DataObject, now it behaves that way
  17603. * XplatUIWin32.cs: Implemented Clipboard methods
  17604. * Clipboard.cs: Implemented
  17605. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  17606. * XplatUIOSX.cs: Updated to final clipboard prototypes
  17607. * XplatUIX11.cs: Implemented Clipboard methods
  17608. * XplatUIDriver.cs: Updated to final clipboard prototypes
  17609. * XplatUIStructs.cs:
  17610. - Added BITMAPINFOHEADER struct
  17611. - Added ClipboardFormats enum
  17612. * X11Structs.cs:
  17613. - Added ClipboardStruct
  17614. - Added Atom enum items for clipboard types
  17615. - Fixed atom types for Selection event structures
  17616. * DataFormats.cs:
  17617. - Added internal properties and methods for drivers to enumerate
  17618. all known formats
  17619. - Switched initialization method to allow drivers to assign their
  17620. own IDs even for the MS predefined clipboard IDs
  17621. * XplatUI.cs: Updated to final clipboard interface
  17622. 2005-05-18 Jonathan S. Chambers <[email protected]>
  17623. * PropertyGridView.cs: Fixed compiler warnings.
  17624. 2005-05-18 Jonathan S. Chambers <[email protected]>
  17625. * PropertyGrid.cs: Added some event calls
  17626. * PropertyGridView.cs: Change drawing code to use double buffering
  17627. * PropertyGridTextBox.cs: Changed Text property name
  17628. * GridItem.cs: Added Bounds property.
  17629. * GridEntry.cs: Added Bounds property.
  17630. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  17631. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  17632. since GetType() may not return the correct type if the object is
  17633. a remoting proxy.
  17634. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  17635. * TreeNodeCollection.cs: fixes get/set item ranges
  17636. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  17637. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  17638. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  17639. * ComboBox.cs: Fix item range comparation
  17640. * ListView.cs: Fix item range comparation
  17641. 2005-05-03 Alexander Olk <[email protected]>
  17642. * FontDialog.cs:
  17643. - Clear example panel when OnPaint is called
  17644. - Better solution for displaying the example panel text
  17645. - Select default indexes in the ListBoxes
  17646. 2005-05-11 Geoff Norton <[email protected]>
  17647. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  17648. 2005-05-11 Peter Bartok <[email protected]>
  17649. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  17650. * SelectionRangeConverter.cs: Implemented
  17651. * PropertyGrid.cs: Fixed attribute value
  17652. * Control.cs:
  17653. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  17654. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  17655. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  17656. that's common to all drivers. First methods to go there are
  17657. Sebastien Pouliot's CAS Stack Propagation helper methods
  17658. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  17659. Sebastien Pouliot for CAS Stack Propagation
  17660. 2005-05-11 Geoff Norton <[email protected]>
  17661. * OSXStructs.cs:
  17662. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  17663. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  17664. * DataGridTextBoxColumn.cs: fixed some members
  17665. * GridColumnStylesCollection.cs: indexed column is case insensitive
  17666. * DataGridTableStyle.cs: fixes
  17667. * ThemeWin32Classic.cs: add new theme parameter
  17668. * Theme.cs: add new theme parameter
  17669. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  17670. * DataGrid.cs: fixes, new internal properties, etc.
  17671. * DataGridColumnStyle.cs: allows to set grid value
  17672. *
  17673. 2005-05-10 Peter Bartok <[email protected]>
  17674. * AccessibleObject.cs:
  17675. - Removed MonoTODO attribute on help, method is correct
  17676. - Fixed Bounds property
  17677. * AxHost.cs: Moved MonoTODO
  17678. * ButtonBase.cs: Now setting AccessibleObject properties
  17679. * RadioButton.cs: Setting proper AccessibleObject role
  17680. * CheckBox.cs: Setting proper AccessibleObject role
  17681. * ControlBindingsCollection.cs: Added properties, methods and attributes
  17682. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  17683. userdefined DataFormats.Format items as well
  17684. * ListControl.cs: Removed data_member from the public eye
  17685. * OpenFileDialog.cs:
  17686. - Made class sealed
  17687. - Added missing attributes
  17688. * SaveFileDialog.cs: Added missing attributes
  17689. * ImageListStreamer.cs: Fixed code that caused warnings
  17690. * LinkLabel.cs: Removed unreachable code
  17691. * TreeView.cs: Fixed code that caused warnings
  17692. * PropertyGridView.cs: Fixed code that caused warnings
  17693. * GridColumnStylesCollection.cs: Added missing attributes
  17694. * GridTableStylesCollection: Added missing attribute
  17695. * PropertyManager: Added .ctor
  17696. * SecurityIDType: Added
  17697. * DataObject.cs: Implemented class
  17698. * LinkArea.cs: Added missing attribute
  17699. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  17700. * RadioButton.cs: call base method to allow to fire OnClick event
  17701. * UpDownBase.cs: OnMouseUp call base method
  17702. * CheckedListBox.cs: call base method before returning
  17703. * TrackBar.cs: call base method before returning
  17704. 2005-05-10 Peter Bartok <[email protected]>
  17705. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  17706. for messages
  17707. 2005-05-10 Peter Bartok <[email protected]>
  17708. * DataFormats.cs: Implemented
  17709. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  17710. XplatUIX11.cs: Added Clipboard APIs
  17711. * XplatUIWin32.cs: Implemented Clipboard APIs
  17712. * FolderBrowserDialog.cs: Added missing event, attributes
  17713. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  17714. * CheckBox.cs: call base method to allow to fire OnClick event
  17715. 2005-05-09 Sebastien Pouliot <[email protected]>
  17716. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  17717. 2005-05-06 Peter Bartok <[email protected]>
  17718. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  17719. * Screen.cs: Implemented
  17720. * HelpNavigator.cs: Added
  17721. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  17722. property
  17723. * HelpProvider.cs: Implemented all we can do until we have a CHM
  17724. help library (which means that "What's This" does work now)
  17725. 2005-05-06 Jackson Harper <[email protected]>
  17726. * XplatUIX11.cs: Fix waking up the main loop.
  17727. 2005-05-05 Peter Bartok <[email protected]>
  17728. * XplatUI.cs: Updated revision
  17729. * Form.cs: Removed enless loop
  17730. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  17731. * Label.cs (OnPaint): Added call to base.OnPaint()
  17732. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  17733. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  17734. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  17735. * AxHost.cs: Added
  17736. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  17737. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  17738. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  17739. reuse of ToolTipWindow by other controls
  17740. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  17741. * XplatUIX11.cs: Now clipping drawing area (experimental)
  17742. * PictureBox.cs: Moved base.OnPaint() call to end of method
  17743. * Theme.cs: Fixed ToolTip abstracts to match new format
  17744. * ErrorProvider.cs: Implemented
  17745. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  17746. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  17747. * LinkLabel.cs:
  17748. - Adds cursors
  17749. - Handles focus
  17750. - Implements LinkBehavior
  17751. - Fixes many issues
  17752. 2005-05-03 Jackson Harper <[email protected]>
  17753. * ListView.cs: Calculate the scrollbar positioning on resize and
  17754. paint, so they get put in the correct place.
  17755. 2005-05-03 Alexander Olk <[email protected]>
  17756. * ColorDialogs.cs: The small color panels are now handled by
  17757. SmallColorControl. This fixes drawing of the focus rectangle
  17758. and adds a 3D border.
  17759. 2005-05-03 Peter Bartok <[email protected]>
  17760. * Control.cs: Modified version of Jonathan Chamber's fix for
  17761. double-buffering
  17762. 2005-05-03 Jackson Harper <[email protected]>
  17763. * ListView.cs: Remove redraw variable. Control now handles whether
  17764. or not a redraw needs to be done, and will only raise the paint
  17765. event if redrawing is needed.
  17766. 2005-05-03 Jackson Harper <[email protected]>
  17767. * Splitter.cs: No decorations for the splitter form. Cache the
  17768. hatch brush.
  17769. 2005-05-03 Jackson Harper <[email protected]>
  17770. * TreeView.cs: Use dashed lines to connect nodes. Use the
  17771. ControlPaint method for drawing the focus rect instead of doing
  17772. that in treeview.
  17773. 2005-05-02 Peter Bartok <[email protected]>
  17774. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  17775. 2005-04-29 Jackson Harper <[email protected]>
  17776. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  17777. entire image buffer. Just clear the clipping rectangle.
  17778. 2005-04-29 Jackson Harper <[email protected]>
  17779. * ThemeWin32Classic.cs: Don't draw list view items that are
  17780. outside the clipping rectangle.
  17781. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  17782. * ListBox.cs: added horizontal item scroll
  17783. 2005-04-29 Jackson Harper <[email protected]>
  17784. * ThemeWin32Classic.cs: Remove some old debug code that was
  17785. causing flicker with the new double buffering code.
  17786. 2005-04-29 John BouAntoun <[email protected]>
  17787. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  17788. behave like combobox and comboboxlist (still not sure if this is
  17789. correct though).
  17790. 2005-04-28 Jackson Harper <[email protected]>
  17791. * ThemeWin32Classic.cs: Don't fill the middle of progress
  17792. bars. This fills areas outside of the clip bounds that don't need
  17793. to be filled.
  17794. 2005-04-28 Jackson Harper <[email protected]>
  17795. * Control.cs: Don't expose functionality to touch the image buffers.
  17796. * ProgressBar.cs:
  17797. * ListView.cs: We do not need to (and no longer can) manipulate
  17798. the image buffers directly. All of this is handled by Control.
  17799. 2005-04-28 Peter Bartok <[email protected]>
  17800. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  17801. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  17802. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  17803. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  17804. * Combobox:
  17805. - Adjust control's height for non-simple comboboxes (bug fix)
  17806. - Remove dead code
  17807. * MenuAPI.cs: remove unused var
  17808. * ScrollBar.cs: remove unsed var
  17809. * ListBox.cs: unselect items when clearing
  17810. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  17811. * ListControl.cs: honors OnPositionChanged and default Selected Item
  17812. * ListBox.cs: unselect items when clearing
  17813. 2005-04-27 Jackson Harper <[email protected]>
  17814. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  17815. if a "correct" keyboard is not found. This will make us not crash,
  17816. but might give some users bad keyboard layouts...seems to be the
  17817. same thing rewind does.
  17818. 2005-04-27 Jackson Harper <[email protected]>
  17819. * BindingManagerBase.cs: Attach the current/position changed
  17820. handlers to their respective events.
  17821. 2005-04-27 Jackson Harper <[email protected]>
  17822. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  17823. not just a blit.
  17824. * ThemeWin32Classic.cs: Don't fill the background for picture
  17825. boxes. This could overright user drawing.
  17826. * ComboBox.cs: Just fill the clipping rect not the entire client
  17827. rect when drawing the background. This prevents pieces of the
  17828. image buffer from getting overwritten and is theoretically faster.
  17829. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  17830. * ComboBox.cs: Databinding support fixes, fire missing events
  17831. * ListControl.cs: implement missing methods and properties, fixes
  17832. * ThemeWin32Classic.cs: Databiding support on Drawing
  17833. * CheckedListBox.cs: Databinding support fixes, fire missing events
  17834. * ListBox.cs: Databinding support fixes, fire missing events
  17835. 2005-04-25 Peter Bartok <[email protected]>
  17836. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  17837. 2005-04-25 Jackson Harper <[email protected]>
  17838. * TreeView.cs: Use the horizontal scrollbars height not width when
  17839. determining how much of the client area is available.
  17840. 2005-04-25 Jackson Harper <[email protected]>
  17841. * Control.cs: Double buffering is handled differently now. As per
  17842. the spec, the extra buffer is created in the WM_PAINT message and
  17843. passed down to the control's drawing code.
  17844. * GroupBox.cs:
  17845. * Label.cs:
  17846. * CheckBox.cs:
  17847. * ProgressBar.cs:
  17848. * RadioButton.cs:
  17849. * ColorDialog.cs:
  17850. * ComboBox.cs:
  17851. * PropertyGridView.cs:
  17852. * UpDownBase.cs:
  17853. * MessageBox.cs:
  17854. * MenuAPI.cs:
  17855. * ListView.cs:
  17856. * ButtonBase.cs:
  17857. * SizeGrip.cs:
  17858. * ScrollBar.cs:
  17859. * ListBox.cs:
  17860. * TrackBar.cs:
  17861. * ToolBar.cs:
  17862. * PictureBox.cs:
  17863. * DateTimePicker.cs:
  17864. * StatusBar.cs:
  17865. * TreeView.cs: Update to new double buffering system.
  17866. * MonthCalendar.cs: Uncomment block, as Capture is now
  17867. working. Update to new double buffering
  17868. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  17869. * PaintEventArgs.cs: New internal method allows us to set the
  17870. graphics object. This is used for double buffering.
  17871. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  17872. rectangle. The internal paint_area var has been removed from
  17873. StatusBar. The clipping rect should be used instead.
  17874. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  17875. * TabPage.cs: The RefreshTabs method was removed, so just call the
  17876. tab controls Refresh method now.
  17877. * TabControl.cs: Update to new double buffering. Make sure the
  17878. handle is created before sizing the tab pages, otherwise we will
  17879. get stuck in a loop.
  17880. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  17881. * LinkLabel.cs: Fix typo, bug #74719; patch
  17882. from Borja Sanchez Zamorano
  17883. 2005-04-22 Jackson Harper <[email protected]>
  17884. * TreeNode.cs: Implement Handle stuff.
  17885. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  17886. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  17887. * DataGridTextBoxColumn.cs: call base constructors, fixes
  17888. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  17889. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  17890. * DataGridTableStyle.cs: implements create default column styles
  17891. * DataGridBoolColumn.cs: which types can handle
  17892. * DataGrid.cs: missing methods, fixes, new functionality
  17893. * DataGridColumnStyle.cs: fixes
  17894. 2005-04-20 Alexander Olk <[email protected]>
  17895. * FolderBrowserDialog.cs:
  17896. - Use a thread to fill the TreeView
  17897. - Adjusted some sizes
  17898. 2005-04-19 Peter Bartok <[email protected]>
  17899. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  17900. property. Fixes #74360.
  17901. 2005-04-19 Jackson Harper <[email protected]>
  17902. * XEventQueue.cs: Lock when getting the lockqueue size.
  17903. * PictureBox.cs: Call base OnPaint
  17904. 2005-04-19 Peter Bartok <[email protected]>
  17905. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  17906. messages were no longer being processed (this broke BeginInvoke)
  17907. 2005-04-18 Jackson Harper <[email protected]>
  17908. * TreeView.cs: buglet that caused node images to get drawn
  17909. regardless of whether or not they were in the clipping rectangle.
  17910. 2005-04-18 Jackson Harper <[email protected]>
  17911. * CurrencyManager.cs: There are four rules for GetItemProperties:
  17912. - If the type is an array use the element type of the array
  17913. - If the type is a typed list, use the type
  17914. - If the list contains an Item property that is not an object, use
  17915. that property
  17916. - use the first element of the list if there are any elements in
  17917. the list.
  17918. 2005-04-17 Jackson Harper <[email protected]>
  17919. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  17920. click. This handles offsets for scrolling properly and reduces
  17921. memory. Also fixed GetNode to not offset now that TopNode works
  17922. properly.
  17923. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  17924. 2005-04-17 Jackson Harper <[email protected]>
  17925. * CursorConverter.cs: Initial implementation.
  17926. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  17927. * ListControl.cs: work towards complex data binding support on ListControl
  17928. * CurrencyManager.cs: work towards complex data binding support on ListControl
  17929. * ListBox.cs: work towards complex data binding support on ListControl
  17930. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  17931. * GridTableStylesCollection.cs: fixes name and constructor
  17932. * DataGridTableStyle.cs: fixes
  17933. * DataGridBoolColumn.cs: fixes names and constructors
  17934. * DataGrid.cs: define methods and properties. Some init implementations
  17935. * DataGridCell.cs: define methods and properties. Some init implementations
  17936. * GridTablesFactory.cs: Define methods and properties
  17937. 2005-04-15 Geoff Norton <[email protected]>
  17938. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  17939. graphics port changes. We still want the coordinates in global screen
  17940. coordinates.
  17941. 2005-04-14 Jackson Harper <[email protected]>
  17942. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  17943. check plus minus or checkbox clicks unless those features are enabled.
  17944. 2005-04-14 Jackson Harper <[email protected]>
  17945. * TreeView.cs: Add methods for setting the top and bottom visible
  17946. nodes. TreeNode::EnsureVisible uses these methods.
  17947. * TreeNode.cs: Implement EnsureVisible
  17948. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  17949. * Form.cs: Pospone menu assignation if the window has not been created yet
  17950. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  17951. size and position
  17952. 2005-04-12 Jackson Harper <[email protected]>
  17953. * TreeView.cs: Set the TopNode properly when scrolling
  17954. occurs. This has the added benifit of reducing the amount of
  17955. walking that needs to be done when drawing. Also removed an old
  17956. misleading TODO.
  17957. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  17958. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  17959. * Timer.cs: fixes interval setting when the timer is already enabled
  17960. 2005-04-10 Alexander Olk <[email protected]>
  17961. * FolderBrowserDialog.cs: First approach
  17962. 2005-04-09 Peter Bartok <[email protected]>
  17963. * FolderBrowserDialog: Added
  17964. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  17965. * LinkLabel.cs: move drawing code into the theme
  17966. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  17967. * Theme.cs: define DrawLinkLabel method
  17968. 2005-04-05 Jackson Harper <[email protected]>
  17969. * BindingContext.cs: Use weak references so these bad actors don't
  17970. stay alive longer then they need to.
  17971. 2005-04-05 Jackson Harper <[email protected]>
  17972. * ListControl.cs: Basic implementation of complex databinding.
  17973. * ComboBox.cs:
  17974. * ListBox.cs: Add calls to ListControl databinding methods.
  17975. 2005-04-05 Alexander Olk <[email protected]>
  17976. * FileDialog.cs:
  17977. - Don't change PopupButtonState to Normal when the
  17978. PopupButton gets pressed several times.
  17979. - Renamed ButtonPanel to PopupButtonPanel
  17980. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  17981. * ColorDialog.cs: Use cached objects instead of creating them
  17982. * LinkLabel.cs: Use cached objects instead of creating them
  17983. * Splitter.cs: Use cached objects instead of creating them
  17984. * FontDialog.cs: Use cached objects instead of creating them
  17985. * PropertyGridView.cs: Use cached objects instead of creating them
  17986. * MessageBox.cs: Use cached objects instead of creating them
  17987. * FileDialog.cs: Use cached objects instead of creating them
  17988. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  17989. * TreeView.cs: Use cached objects instead of creating them
  17990. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  17991. * Control.cs: use Equals to compare the font since no == op
  17992. * ScrollBar.cs: use Equals to compare the font since no == op
  17993. 2005-04-04 Alexander Olk <[email protected]>
  17994. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  17995. 2005-04-01 Jackson Harper <[email protected]>
  17996. * Binding.cs: Implement IsBinding.
  17997. * BindingManagerBase.cs:
  17998. * PropertyManager.cs:
  17999. * CurrencyManager.cs: Add IsSuspended property.
  18000. 2005-04-01 Jackson Harper <[email protected]>
  18001. * Binding.cs: Had some IsAssignableFrom calls backwards.
  18002. 2005-04-01 Jackson Harper <[email protected]>
  18003. * Binding.cs: Handle null data members when pulling data.
  18004. * PropertyManager.cs: Handle the data member being a property that
  18005. does not exist.
  18006. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  18007. * DataGridTextBoxColumn.cs: fixes signature
  18008. * DataGrid.cs: calls right constructor
  18009. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  18010. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  18011. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  18012. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  18013. * DataGridTableStyle.cs: implements DataGridTableStyle
  18014. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  18015. * DataGridTextBox.cs: implements DataGridTextBox
  18016. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  18017. 2005-03-31 Alexander Olk <[email protected]>
  18018. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  18019. 2005-03-29 Peter Bartok <[email protected]>
  18020. * Application.cs:
  18021. - Properly implemented CompanyName property
  18022. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  18023. returns a path that includes CompanyName, ProductName and
  18024. Version (fixes bug #70330)
  18025. 2005-03-29 Stefan Buehler <[email protected]>
  18026. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  18027. fixes bug #72588.
  18028. 2005-03-28 Alexander Olk <[email protected]>
  18029. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  18030. - Added ReadOnly CheckBox
  18031. - Further refactoring: moved some code from Open-/SaveFileDialog
  18032. to FileDialog
  18033. 2005-03-28 Alexander Olk <[email protected]>
  18034. * OpenFileDialog.cs: Fixed CheckFileExists
  18035. * FileDialog.cs:
  18036. Moved FileView and DirComboBox outside FileDialog class.
  18037. They can now be used outside FileDialog
  18038. 2005-03-27 Alexander Olk <[email protected]>
  18039. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  18040. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  18041. 2005-03-27 Alexander Olk <[email protected]>
  18042. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  18043. - Added missing CreatePrompt property in SaveDialog
  18044. - Overall SaveDialog handling should be better now
  18045. - Added non standard ShowHiddenFiles property
  18046. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  18047. - Added InitialDirectory and RestoreDirectory support
  18048. 2005-03-26 Alexander Olk <[email protected]>
  18049. * FileDialog.cs: Made dirComboBox usable
  18050. 2005-03-24 Alexander Olk <[email protected]>
  18051. * FileDialog.cs: Added Filter support (case sensitiv)
  18052. 2005-03-24 Jackson Harper <[email protected]>
  18053. * TabControl.cs: Need a couple more pixels for the lines.
  18054. 2005-03-23 Jackson Harper <[email protected]>
  18055. * TabControl.cs: Give the tab page focus when it is selected.
  18056. 2005-03-23 Jackson Harper <[email protected]>
  18057. * TabControl.cs: Account for the drawing of tabs borders when
  18058. invalidating. If the slider was clicked dont do click detection on
  18059. the tabs.
  18060. 2005-03-23 Jackson Harper <[email protected]>
  18061. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  18062. 2005-03-22 Jonathan Chambers <[email protected]>
  18063. * CategoryGridEntry.cs: Added
  18064. * GridItem.cs: Added helper properties
  18065. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  18066. * GridEntry.cs: Updated code for collection
  18067. * PropertyGrid.cs: Cleaned up some formatting
  18068. * PropertyGridView.cs: Added drop down functionality for enums.
  18069. * GridItemCollection.cs: Added enumerator logic
  18070. * PropertyGridEntry.cs: Added
  18071. 2005-03-19 Alexander Olk <[email protected]>
  18072. * FileDialog.cs:
  18073. - Removed unnecessary commented code
  18074. - Fixed handling for entering the filename manually in the combobox
  18075. 2005-03-19 Alexander Olk <[email protected]>
  18076. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  18077. 2005-03-18 Peter Bartok <[email protected]>
  18078. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  18079. them being touching the border
  18080. 2005-03-18 Peter Bartok <[email protected]>
  18081. * TextControl.cs: Quick hack to center text better
  18082. 2005-03-18 Peter Bartok <[email protected]>
  18083. * ControlPaint.cs:
  18084. - Don't throw NotImplemented exceptions, just print a notice once
  18085. instead (requested by Miguel). This makes running existing SWF
  18086. apps a bit easier
  18087. * Control.cs:
  18088. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  18089. - Added context menu trigger on right click
  18090. * Panel.cs: Trigger invalidate on resize
  18091. * StatusBar.cs:
  18092. - Removed old double-buffer drawing
  18093. - Added ResizeRedraw style to force proper update of statusbar
  18094. * ListView.cs:
  18095. - Removed debug output
  18096. * ThemeWin32Classic.cs:
  18097. - Fixed drawing of status bar, now draws Text property if there
  18098. are no defined panels
  18099. 2005-03-18 Jackson Harper <[email protected]>
  18100. * ImageList.cs: When the image stream is set pull all the images
  18101. from it.
  18102. * ImageListStreamer.cs: Implement reading image list streams.
  18103. 2005-03-18 Peter Bartok <[email protected]>
  18104. * ThemeWin32Classic.cs (DrawPictureBox):
  18105. - Fixed calculations for centered drawing
  18106. - Fixed drawing for normal mode, not scaling the image on normal
  18107. 2005-03-18 Peter Bartok <[email protected]>
  18108. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  18109. textbox
  18110. * FileDialog.cs:
  18111. - Made Open/Save button the accept button for FileDialog
  18112. - Tied the cancel button to the IButtonControl cancel button
  18113. - Save/Open now properly builds the pathname
  18114. - Now handles user-entered text
  18115. - Preventing crash on right-click if no item is selected
  18116. - Fixed Text property, now uses contents of textbox
  18117. - Fixed SelectedText property, now just returns the text part that
  18118. is selected in the text box
  18119. 2005-03-18 Jackson Harper <[email protected]>
  18120. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  18121. rect, make sure to de-adjust the interior rect after drawing the
  18122. tab text.
  18123. 2005-03-18 Peter Bartok <[email protected]>
  18124. * MenuAPI.cs: Remove menu *before* executing selected action to
  18125. prevent the menu from 'hanging around'
  18126. 2005-03-17 Geoff Norton <[email protected]>
  18127. * XplatUIOSX.cs: Implemented WorkingArea property
  18128. 2005-03-17 Peter Bartok <[email protected]>
  18129. * XplatUIX11.cs: Fixed menu coord calculations
  18130. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  18131. for calculating offsets
  18132. 2005-03-17 Peter Bartok <[email protected]>
  18133. * Hwnd.cs: Do not consider menu presence for default client
  18134. rectangle location/size
  18135. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  18136. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  18137. translation functions
  18138. * FileDialog.cs: Fixed (what I presume is a) typo
  18139. 2005-03-17 Jonathan Gilbert <[email protected]>
  18140. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  18141. X access (avoids X-Async errors)
  18142. 2005-03-16 Jackson Harper <[email protected]>
  18143. * TabControl.cs: Raise the SelectedIndexChanged event.
  18144. 2005-03-16 Alexander Olk <[email protected]>
  18145. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  18146. - Removed vertical ToolBar and replaced it with a custom panel
  18147. (desktop and home button already work)
  18148. - Added Help button (some controls get resized or relocated then)
  18149. - Draw correct text depending on Open or Save.
  18150. - Fixed some typos...
  18151. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  18152. * ScrollBar.cs:
  18153. - Only change Maximum and Minimum when need it (bug fix)
  18154. 2005-03-15 Peter Bartok <[email protected]>
  18155. * Form.cs: Use Handle for icon, to trigger creation if
  18156. the window does not yet exist
  18157. * Control.cs:
  18158. - CanSelect: Slight performance improvement
  18159. - Focus(): Preventing possible recursion
  18160. - Invalidate(): Removed ControlStyle based clear flag setting
  18161. - WM_PAINT: fixed logic for calling OnPaintBackground
  18162. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  18163. EraseWindowBackground if the control doesn't paint background
  18164. * XplatUIWin32.cs:
  18165. - Moved EraseWindowBackground() method to internal methods
  18166. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  18167. is sent via SendMessage on BeginPaint call on Win32
  18168. * XplatUIX11.cs:
  18169. - Added EraseWindowBackground() method
  18170. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  18171. PaintEventStart, which more closely matches Win32 behaviour
  18172. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  18173. - Fixed SetFocus() to properly deal with client and whole windows
  18174. * Hwnd.cs: Added ErasePending property
  18175. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  18176. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  18177. 2005-03-12 Geoff Norton <[email protected]>
  18178. * XplatUIOSX.cs:
  18179. - Fix hard loop when timers exist.
  18180. - Fix bugs with middle and right click for 3 button mice.
  18181. 2005-03-11 Peter Bartok <[email protected]>
  18182. * XplatUIX11.cs:
  18183. - get_WorkingArea: Need to call X directly, GetWindowPos only
  18184. returns cached data now
  18185. - Added sanity check to GetWindowPos hwnd usage
  18186. 2005-03-11 Jackson Harper <[email protected]>
  18187. * BindingManagerBase.cs: This method isn't used anymore as
  18188. PullData now updates the data in the control.
  18189. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  18190. * Form.cs: fixes menu drawing on X11
  18191. * MenuAPI.cs: fixes menu drawing on X11
  18192. 2005-03-11 Peter Bartok <[email protected]>
  18193. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  18194. from Jonathan Gilbert; should fix bug #73606
  18195. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  18196. in Screen coordinates. Thanks, Jordi.
  18197. * Form.cs: Added missing attribute
  18198. 2005-03-11 Peter Bartok <[email protected]>
  18199. * Form.cs:
  18200. - Rudimentary Mdi support
  18201. - Removed outdated FormParent code
  18202. - Implemented lots of missing properties and methods, still missing
  18203. transparency support
  18204. - Added missing attributes
  18205. - Implemented support for MaximumBounds
  18206. - Added firing of various events
  18207. * XplatUI.cs: Added SetIcon() method
  18208. * XplatUIDriver.cs: Added SetIcon() abstract
  18209. * XplatUIOSX.cs: Stubbed out SetIcon() method
  18210. * XplatUIX11.cs:
  18211. - Implemented SetIcon() support
  18212. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  18213. - Switched to unix line endings
  18214. * XplatUIWin32.cs:
  18215. - Made POINT internal so for can access it as part of MINMAX
  18216. - Implemented SetIcon() support
  18217. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  18218. native Mdi support again, might have to go managed)
  18219. * Control.cs: Now fires the StyleChanged event
  18220. * MdiClient.cs: Added; still mostly empty
  18221. 2005-03-10 Peter Bartok <[email protected]>
  18222. * SaveFileDialog.cs: Added emtpy file
  18223. 2005-03-08 Peter Bartok <[email protected]>
  18224. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  18225. in turn triggers OnCreateContro) when creating a handle for the
  18226. first time.
  18227. * TextControl.cs: Fixed endless loop in certain cases when
  18228. replacing the current selection
  18229. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  18230. * ScrollBar.cs:
  18231. - Honors NewValue changes in Scroll events allowing apps to change it
  18232. - Adds First and Last Scroll events
  18233. - Fixes Thumb events
  18234. 2005-03-07 Peter Bartok <[email protected]>
  18235. * Hwnd.cs: Added DefaultClientRectangle property
  18236. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  18237. more detailed debug information
  18238. * XplatUIX11.cs:
  18239. - Fixed size-change feedback loop, where we would pull an old size
  18240. off the queue and mistakenly change our window's size to an
  18241. earlier value
  18242. - Now compressing ConfigureNotify events, to reduce looping and
  18243. redraw issues
  18244. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  18245. is called
  18246. 2005-03-07 Jackson Harper <[email protected]>
  18247. * Binding.cs: Push data pushes from data -> property. Check if the
  18248. property is readonly when attempting to set it.
  18249. 2005-03-07 Jackson Harper <[email protected]>
  18250. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  18251. instead of IsSubclassOf. Pulling data now sets the value on the
  18252. control.
  18253. * PropertyManager.cs:
  18254. * CurrencyManager.cs: Just need to pull data when updating now,
  18255. because PullData will set the value on the control.
  18256. 2005-03-04 Jackson Harper <[email protected]>
  18257. * Binding.cs: Implement data type parsing and converting on pulled
  18258. data. TODO: Are there more ways the data can be converted?
  18259. 2005-03-04 Jackson Harper <[email protected]>
  18260. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  18261. controls Validating method so we can repull the data when the
  18262. control loses focus.
  18263. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  18264. * ColumnHeader.cs:
  18265. - Fixes null string format
  18266. * ListView.cs:
  18267. - Adds enum type checks
  18268. - Fixes redrawing and recalc need after changing some properties
  18269. - Fixes on focus_item set after the event
  18270. - Fixes adding columns after the control has been created
  18271. * ThemeWin32Classic.cs:
  18272. - Fixes CheckBox focus rectangle
  18273. - Fixes ColumnHeader drawing
  18274. 2005-03-03 Jackson Harper <[email protected]>
  18275. * Binding.cs: Bind to <Property>Changed events so we can detect
  18276. when properties are changed and update the data.
  18277. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  18278. * ImageList.cs:
  18279. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  18280. - Fixes ImageList constructor with ImageList container
  18281. - Fixes image scaling (wrong parameters at DrawImage)
  18282. 2005-02-02 Jackson Harper <[email protected]>
  18283. * Binding.cs: Make property searches case-insensitive. Eliminate
  18284. some duplicated code.
  18285. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  18286. * ComboBox.cs:
  18287. - Handle focus event
  18288. - Fix scrollbar events
  18289. - Discard highlighted item if remove it
  18290. - Fixes SelectedItem with strings
  18291. 2005-03-01 Peter Bartok <[email protected]>
  18292. * Control.cs:
  18293. - Fixed Visible property, now follows (once again) parent chain
  18294. to return false if any control in the chain is visible=false
  18295. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  18296. - Fixed several places where is_visible instead of Visible was used
  18297. - Implemented FIXME related to focus selection when setting focused
  18298. control to be invisible
  18299. * XplatUIWin32.cs: Now using proper method to find out if window is
  18300. visible. Thanks to Jordi for pointing it out
  18301. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  18302. * ComboBox.cs: show/hide scrollbar instead of creating it
  18303. 2005-02-27 Jackson Harper <[email protected]>
  18304. * CurrencyManager.cs: Add PositionChanged stuff.
  18305. 2005-02-27 Peter Bartok <[email protected]>
  18306. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  18307. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  18308. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  18309. * XplatUIX11.cs:
  18310. - Implemented GetMenuDC()
  18311. - Implemented GetMenuOrigin()
  18312. - Implemented ReleaseMenuDC()
  18313. - Implemented generation of WM_NCPAINT message
  18314. - Implemented generation and handling of WM_NCCALCSIZE message
  18315. * Form.cs: Added debug helper message for Jordi's menu work
  18316. * Hwnd.cs:
  18317. - Modified ClientRect property; added setter, fixed getter to handle
  18318. setting of ClientRect
  18319. - Added MenuOrigin property
  18320. 2005-02-26 Peter Bartok <[email protected]>
  18321. * XplatUIX11.cs:
  18322. - Destroys the caret if a window that's being destroyed contains it
  18323. - Ignores expose events coming from the X11 queue for windows that
  18324. already are destroyed
  18325. - Now uses the proper variable for handling DestroyNotify, before we
  18326. marked the wrong window as destroyed
  18327. - Improved/added some debug output
  18328. 2005-02-26 Peter Bartok <[email protected]>
  18329. * X11Keyboard.cs: Fixes to work on 64bit systems
  18330. 2005-02-26 Peter Bartok <[email protected]>
  18331. * Control.cs:
  18332. - Now calling OnHandleDestroyed from DestroyHandle()
  18333. instead of Dispose()
  18334. - Removed bogus call to controls.Remove() from DestroyHandle()
  18335. 2005-02-26 Peter Bartok <[email protected]>
  18336. * Control.cs: Properly destroy child windows when our handle is
  18337. destroyed
  18338. 2005-02-25 Peter Bartok <[email protected]>
  18339. * XplatUI.cs:
  18340. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  18341. - Alphabetized Static Methods and Subclasses
  18342. * XplatUIX11.cs:
  18343. - Added XException class to allow custom handling of X11 exceptions
  18344. - Created custom X11 error handler, tied into XException class
  18345. - Added support for MONO_XEXCEPTIONS env var to allow the user
  18346. to either throw an exception on X errors or continue running
  18347. after displaying the error
  18348. - Added handling of DestroyNotify message
  18349. - Added handler for CreateNotify message (still disabled)
  18350. - Improved (tried to at least) Where method to provide file and lineno
  18351. * X11Structs.cs:
  18352. - Added XErrorHandler delegate
  18353. - Added XRequest enumeration (to suppor translation of errors)
  18354. 2005-02-25 Jackson Harper <[email protected]>
  18355. * PropertyManager.cs: Implement editing features
  18356. * CurrencyManager.cs:
  18357. * Binding.cs: First attempt at UpdateIsBinding
  18358. * BindingManagerBase.cs: Call UpdateIsBinding before
  18359. pushing/pulling data.
  18360. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  18361. * MenuAPI.cs: Respect disabled items
  18362. * ThemeWin32Classic.cs
  18363. - Caches ImageAttributes creation for DrawImageDisabled
  18364. - Fixes vertical menu line drawing
  18365. - Draws disabled arrows in disable menu items
  18366. 2005-02-24 Peter Bartok <[email protected]>
  18367. * Hwnd.cs:
  18368. - Added UserData property to allow associating arbitrary objects
  18369. with the handle
  18370. - Fixed leak; now removing Hwnd references from static windows array
  18371. * XplatUIWin32.cs:
  18372. - Fixed Graphics leak in PaintEventEnd
  18373. - Removed usage of HandleData, switched over to Hwnd class
  18374. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  18375. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  18376. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  18377. * ScrollBar.cs: Fixes bug
  18378. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  18379. keyboard navigation enhancements
  18380. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  18381. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  18382. * GroupBox.cs: Add control styles
  18383. * Label.cs: Add control styles
  18384. * UpDownBase.cs: Add control styles
  18385. * ListBox.cs: Add control styles
  18386. * XplatUIWin32.cs: Fixes wrong parameter order
  18387. 2005-02-23 Chris Bacon <[email protected]>
  18388. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  18389. 2005-02-23 Jackson Harper <[email protected]>
  18390. * PropertyManager.cs: Implement property binding. This doesn't
  18391. seem to work yet though as (I think) there are some bugs in
  18392. System.ComponentModel.PropertyDescriptor.
  18393. * BindingContext.cs: Use new PropertyManager constructor.
  18394. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  18395. * ProgressBar.cs: use clip region in ProgressBar
  18396. * ThemeWin32Classic.cs: use clip region in ProgressBar
  18397. 2004-02-22 Jackson Harper <[email protected]>
  18398. * BindingsCollection.cs: Remove some debug code.
  18399. 2005-02-22 Jackson Harper <[email protected]>
  18400. * BindingContext.cs:
  18401. * ControlBindingsCollection.cs:
  18402. * CurrencyManager.cs:
  18403. * Binding.cs:
  18404. * BindingManagerBase.cs: Initial implementation
  18405. * BindingsCollection.cs: Add an internal contains method that the
  18406. BindingManagerBase uses to ensure bindings aren't added twice to
  18407. the collection.
  18408. * PropertyManager.cs: Stubbed out.
  18409. * Control.cs:
  18410. * ContainerControl.cs: Hook up databinding
  18411. 2005-02-22 Geoff Norton <[email protected]>
  18412. * XplatUIOSX.cs:
  18413. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  18414. Fixed Invalidate/Update chain.
  18415. Fixed tons of other minor bugs (this is almost a complete rewrite).
  18416. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  18417. * ComboBox.cs: do subcontrol creation when the control is created
  18418. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  18419. * Label.cs: fixes image drawing (image and imagelist)
  18420. * ThemeWin32Classic.cs: cache brushes
  18421. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  18422. * Form.cs: Move menu drawing code to Theme class
  18423. * ComboBox.cs: Move ComboBox drawing code to Theme class
  18424. * MenuItem.cs: Move menu drawing code to Theme class
  18425. * MenuAPI.cs: Move menu drawing code to Theme class
  18426. * ThemeWin32Classic.cs: New methods
  18427. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  18428. * ListBox.cs: Move Listbox drawing code to Theme class
  18429. * Theme.cs: New methods
  18430. 2005-02-20 Peter Bartok <[email protected]>
  18431. * Control.cs:
  18432. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  18433. only process mnemonics on those)
  18434. - Fixed event sequence for key handling; first calling
  18435. ProcessKeyEventArgs now
  18436. * TextBoxBase.cs:
  18437. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  18438. for processing non-character keys
  18439. - Fixed WM_CHAR to generate proper event sequence before processing
  18440. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  18441. generation
  18442. 2005-02-19 Peter Bartok <[email protected]>
  18443. * UserControl.cs: Added TextChanged event; added attributes
  18444. * SizeGrip.cs: Implemented resizing and optional display of grip
  18445. * Form.cs: Fixed attribute
  18446. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  18447. Changed meaning of ScrollWindow bool argument; instead of the
  18448. clear attribute (which will be true usually anyway), it gives the
  18449. option of moving child controls as well.
  18450. * XplatUIX11.cs:
  18451. - Changed to match new ScrollWindow argument
  18452. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  18453. now handles the implicit parent window a WM puts around us
  18454. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  18455. to work)
  18456. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  18457. * TreeView.cs: Adjusted to new ScrollWindow arguments
  18458. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  18459. * Form.cs: Menu integration with non-client area
  18460. * MenuItem.cs: Menu integration with non-client area
  18461. * MenuAPI.cs: Menu integration with non-client area
  18462. 2005-02-18 Peter Bartok <[email protected]>
  18463. * MethodInvoker.cs: Added
  18464. * MdiLayout.cs: Added
  18465. * SendKeys.cs: Started implementation
  18466. * ErrorIconAlignment.cs: Added
  18467. 2005-02-18 Peter Bartok <[email protected]>
  18468. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  18469. * Form.cs: Added handling for Menu-related Non-client messages
  18470. 2005-02-17 Peter Bartok <[email protected]>
  18471. * UpDownBase.cs: Fixed typo, compilation errors
  18472. * DomainUpDown.cs: Fixed attribute value
  18473. 2005-02-16 Miguel de Icaza <[email protected]>
  18474. * UpDownBase.cs: Attach entry events.
  18475. Propagate events.
  18476. Add ForeColor property, Focused, InterceptArrowKeys (interception
  18477. does not work yet).
  18478. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  18479. * Form.cs:
  18480. - Redraw non client are on Setmenu
  18481. - Calc proper menu starting point
  18482. 2005-02-17 Peter Bartok <[email protected]>
  18483. * Application.cs: Fixed message_filter check
  18484. 2005-02-17 Peter Bartok <[email protected]>
  18485. * Application.cs: Now calls registered message filters
  18486. * DockStyle.cs: Fixed attribute
  18487. * Form.cs: Fixed attribute
  18488. * Menu.cs: Fixed attribute
  18489. * ToolTip.cs: Fixed attribute
  18490. * TreeNode.cs: Added missing attributes and arranged in regions
  18491. * PropertyGrid.cs: Fixed signatures
  18492. * TreeNodeCollection.cs: Added attributes
  18493. * Splitter.cs: Added missing attributes; arranged into regions
  18494. * TabPage.cs: Added missing attributes; arranged into regions
  18495. * TextBoxBase.cs: Added missing attributes
  18496. * TextBox.cs: Added missing attributes
  18497. * ArrangeDirection.cs: Added missing attributes
  18498. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  18499. * ToolBarButton.cs: Fixed attributes
  18500. * AnchorStyles.cs: Fixed attribute
  18501. * TrackBar.cs: Fixed attributes
  18502. * TabControl.cs: Added missing attributes and arranged into regions
  18503. * ToolBar.cs: Fixed attribute
  18504. * StatusBar.cs: Fixed signature, organized into regions and added
  18505. attributes
  18506. * StatusBarPanel.cs: Fixed attributes
  18507. * ContentsResizedEventArgs.cs: Implemented
  18508. * ContentsResizedEventHandler.cs: Implemented
  18509. * DateBoldEventArgs.cs: Implemented
  18510. * DateBoldEventHandler.cs: Implemented
  18511. * UpDownEventArgs.cs: Implemented
  18512. * UpDownEventHandler.cs: Implemented
  18513. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  18514. * Form.cs: first Menu NC refactoring
  18515. * MenuAPI.cs: first Menu NC refactoring
  18516. 2005-02-16 Peter Bartok <[email protected]>
  18517. * ImeMode.cs: Added missing attributes
  18518. * Menu.cs: Fixed attribute
  18519. * GroupBox.cs: Fixed attribute
  18520. * Label.cs: Fixed attribute
  18521. * ColorDialog.cs (RunDialog): Removed TODO attribute
  18522. * ComboBox.cs: Fixed attributes
  18523. * ListControl.cs: Added missing attributes
  18524. * PropertyGrid.cs: Fixed attributes
  18525. * Control.cs: Fixed attributes
  18526. * ListViewItem.cs: Added TypeConverter attribute
  18527. * NotifyIcon.cs: Fixed attributes
  18528. * ListView.cs: Fixed attributes
  18529. * ButtonBase.cs: Fixed attribute
  18530. * ImageList.cs: Added missing attributes
  18531. * ContainerControl.cs: Fixed signature
  18532. * CheckedListBox.cs: Fixed attribute; added missing attributes
  18533. * Panel.cs: Fixed attributes
  18534. * PropertyTabChangedEventArgs.cs: Added missing attribute
  18535. * PropertyValueChangedEventArgs.cs: Added missing attribute
  18536. * Binding.cs: Fixed attribute
  18537. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  18538. * ListBox.cs: Fixed attribute; added missing attributes;
  18539. * ScrollableControl.cs: Added missing attributes
  18540. * PictureBox.cs: Added missing attributes; implemented missing property
  18541. * DateTimePicker.cs: Added missing attributes
  18542. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  18543. * MonthCalendar.cs: Fixed attributes
  18544. * StatusBarPanel.cs: Added missing attributes
  18545. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  18546. 2005-02-16 Peter Bartok <[email protected]>
  18547. * TextBoxBase.cs: The previous method to enforce height yet remember
  18548. the requested high was less than ideal, this is an attempt to do
  18549. it better.
  18550. * Control.cs: Added comment about possible problem
  18551. * Copyright: Updated format
  18552. * GridItemType.cs: Fixed swapped values
  18553. 2005-02-15 Jackson Harper <[email protected]>
  18554. * BaseCollection.cs: Use property so we never access an
  18555. uninitialized list. Also initialize the list in the property.
  18556. 2005-02-15 Peter Bartok <[email protected]>
  18557. * GroupBox.cs (ProcessMnemonic): Implemented
  18558. * Label.cs (ProcessMnemonic): Implemented
  18559. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  18560. hotkeys
  18561. 2005-02-15 Peter Bartok <[email protected]>
  18562. * RadioButton.cs (ProcessMnemonic): Implemented
  18563. * CheckBox.cs (ProcessMnemonic): Implemented
  18564. * Control.cs:
  18565. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  18566. handling
  18567. - Added internal method to allow calling ProcessMnemonic from other
  18568. controls
  18569. * ContainerControl.cs:
  18570. - Started support for handling validation chain handling
  18571. - Implemented ProcessMnemonic support
  18572. - Added Select() call to Active, to make sure the active control
  18573. receives focus
  18574. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  18575. FormParent rewrite)
  18576. * ThemeWin32Classic.cs:
  18577. - DrawCheckBox(): Fixed stringformat to show hotkeys
  18578. - DrawRadioButton(): Fixed stringformat to show hotkeys
  18579. * CommonDialog.cs: Removed WndProc override, not needed
  18580. 2005-02-14 Peter Bartok <[email protected]>
  18581. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  18582. missed those in the rewrite
  18583. 2005-02-14 Miguel de Icaza <[email protected]>
  18584. * NumericUpDown.cs (Increment, ToString): Add.
  18585. (DecimalPlaces): implement.
  18586. Add attributes.
  18587. * UpDownBase.cs: Add the designer attributes.
  18588. 2005-02-13 Peter Bartok <[email protected]>
  18589. * Panel.cs: Removed border_style, now in Control
  18590. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  18591. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  18592. 2005-02-13 Peter Bartok <[email protected]>
  18593. * MouseButtons.cs: Added missing attributes
  18594. * XplatUIStructs.cs: Added enumeration for title styles
  18595. * LeftRightAlignment.cs: Added missing attributes
  18596. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  18597. it compatible with Graphics.FromHwnd()
  18598. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  18599. * Keys.cs: Added missing attributes
  18600. * SelectionRange.cs: Added missing attributes
  18601. * SelectionRangeConverter.cs: Added
  18602. * XplatUI.cs:
  18603. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  18604. ReleaseMenuDC methods
  18605. - Renamed ReleaseWindow to UngrabWindow
  18606. - Added proper startup notice to allow version identification
  18607. * Form.cs:
  18608. - Added missing attributes
  18609. - Removed FormParent concept
  18610. * Label.cs: Removed border_style field, now in Control
  18611. * RadioButton.cs: Now properly selects RadioButton when focus is
  18612. received
  18613. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  18614. * Control.cs:
  18615. - Added missing attributes
  18616. - Added borderstyle handling
  18617. - Removed FormParent concept support
  18618. - Fixed calls to XplatUI to match changed APIs
  18619. - Fixed bug that would case us to use disposed Graphics objects
  18620. - Removed unneeded internal methods
  18621. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  18622. - SelectNextControl(): Fixed to properly check common parents
  18623. * TextBoxBase.cs: Removed border_style field (now in Control)
  18624. * MessageBox.cs:
  18625. - Patch by Robert Thompson ([email protected]): Added icon support,
  18626. fixed calculations for form size
  18627. - Added support for localized strings and icons
  18628. - Improved form size calculations, added border
  18629. * ListView.cs: Removed border_style field (now in Control)
  18630. * X11Structs.cs: Moved several structs from X11 driver here
  18631. * X11Keyboard.cs: Changed debug message
  18632. * Application.cs: Removed FormParent concept support
  18633. * CommonDialog.cs:
  18634. - Resetting end_modal flag
  18635. - Removed FormParent concept support
  18636. * NativeWindow.cs: Removed FormParent concept support
  18637. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  18638. Client area and Non-Client whole window to allow support for WM_NC
  18639. messages
  18640. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  18641. prevent using it until it supports Hwnd as per Geoff Norton's request
  18642. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  18643. * PictureBox.cs: Removed border_style field, now in Control
  18644. * XplatUIWin32.cs: Added new driver methods
  18645. 2005-02-12 Peter Bartok <[email protected]>
  18646. * OpacityConverter.cs: Implemented
  18647. * Hwnd.cs: Internal class to support drivers that need to emulate
  18648. client area/non-client area window behaviour
  18649. 2005-02-11 Peter Bartok <[email protected]>
  18650. * KeysConverter.cs: Implemented
  18651. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  18652. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  18653. * LinkLabel: Added missing attributes
  18654. * MainMenu.cs: fixes ToString
  18655. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  18656. * ListBox.cs: fixes event position
  18657. * TrackBar.cs: adds missing attributes and events
  18658. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  18659. * MenuItem.cs: Use SystemInformation and bug fixes
  18660. * MenuAPI.cs: Use SystemInformation and bug fixes
  18661. 2005-02-09 Jackson Harper <[email protected]>
  18662. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  18663. their keystate otherwise things like VK_MENU get stuck "on".
  18664. 2005-02-09 Kazuki Oikawa <[email protected]>
  18665. * ListBox.cs: Fixes AddRange bug
  18666. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  18667. * ProgressBar.cs
  18668. - Add missing attributes
  18669. - Add missing method
  18670. * CheckedListBox.cs: Added missing attributes
  18671. - Add missing attributes
  18672. - Remove extra method
  18673. * ComboBox.cs: Added missing attributes
  18674. * VScrollBar.cs: Added missing attributes
  18675. * ScrollBar.cs: Added missing attributes
  18676. * ListBox.cs: Fixes signature, add missing consts
  18677. * LinkArea.cs: Added missing attributes
  18678. 2005-02-08 Peter Bartok <[email protected]>
  18679. * Menu.cs: Added missing attributes
  18680. * MainMenu.cs: Added missing attributes
  18681. * GroupBox.cs: Added missing attributes
  18682. * Label.cs: Added missing attributes
  18683. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  18684. * ColorDialog.cs:
  18685. - Added Instance and Options properties
  18686. - Added missing attributes
  18687. * Cursor.cs: Made Serializable
  18688. * NotifyIcon: Added missing attributes
  18689. * MenuItem.cs: Added missing attributes
  18690. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  18691. * Panel.cs: Added Missing attributes
  18692. * MonthCalendar.cs: Fixed CreateParams
  18693. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  18694. * LinkLabel.cs:
  18695. - Fixes signature
  18696. - Fixes issues with links
  18697. - Adds the class attributes
  18698. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  18699. * ComboBox.cs:
  18700. - Fixes button when no items available in dropdown
  18701. - Fixes repainting problems
  18702. - Adds the class attributes
  18703. 2005-02-07 Geoff Norton <[email protected]>
  18704. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  18705. the current theme. Cache these on startup.
  18706. 2005-02-07 Jackson Harper <[email protected]>
  18707. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  18708. the scrollbar buttons when they are depressed.
  18709. 2005-02-07 Geoff Norton <[email protected]>
  18710. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  18711. Get the display size from the main displayid. We currently dont
  18712. support multiple display configurations.
  18713. 2005-02-07 Geoff Norton <[email protected]>
  18714. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  18715. 2005-02-07 Miguel de Icaza <[email protected]>
  18716. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  18717. 2005-02-05 Jonathan Chambers <[email protected]>
  18718. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  18719. 2005-02-04 Jackson Harper <[email protected]>
  18720. * ThemeWin32Classic.cs: Respect the clipping rect when
  18721. drawing. Only fill the intersection of clips and rects so there
  18722. isn't a lot of large fills.
  18723. * ScrollBar.cs: Pass the correct clipping rect to the theme
  18724. engine. Remove some debug code.
  18725. 2005-02-05 John BouAntoun <[email protected]>
  18726. * DateTimePicker.cs:
  18727. - Fixed crash on DateTime.Parse, use Constructor instead
  18728. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  18729. * MenuItem.cs:
  18730. * MenuAPI.cs:
  18731. - Owner draw support (MeasureItem and DrawItem)
  18732. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  18733. * Menu.cs:
  18734. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  18735. - Fixes MenuItems.Add range
  18736. * MenuItem.cs:
  18737. - MergeMenu and Clone and CloneMenu functions
  18738. 2005-02-03 Jackson Harper <[email protected]>
  18739. * ScrollBar.cs: Make abstract
  18740. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  18741. is abstract.
  18742. 2005-02-03 Jackson Harper <[email protected]>
  18743. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  18744. all the unneeded refreshes and uses invalidates with properly
  18745. computed rects.
  18746. 2005-02-03 Peter Bartok <[email protected]>
  18747. * ComponentModel.cs: Added
  18748. * IDataGridEditingService.cs: Added
  18749. * Timer.cs: Added missing attributes
  18750. * ToolTip.cs: Added missing attributes
  18751. 2005-02-03 Jonathan Chambers <[email protected]>
  18752. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  18753. 2005-02-03 Peter Bartok <[email protected]>
  18754. * ListBox.cs: Added missing attributes
  18755. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  18756. * ListBox.cs:
  18757. - Fixes font height after font change
  18758. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  18759. 2005-02-02 Peter Bartok <[email protected]>
  18760. * HandleData.cs: Introduced static methods to allow class
  18761. to be more self-contained and track it's own HandleData objects
  18762. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  18763. HandleData to use new static methods
  18764. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  18765. * Combobox.cs:
  18766. - Fixes default size and PreferredHeight
  18767. - Missing events
  18768. - ObjectCollection.Insert implementation
  18769. * ListControl.cs
  18770. - Fixes signature
  18771. * ListBox.cs:
  18772. - Several fixes
  18773. - ObjectCollection.Insert implementation
  18774. - No selection after clean
  18775. - Small fixes
  18776. 2005-01-31 John BouAntoun <[email protected]>
  18777. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  18778. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  18779. * Combobox.cs:
  18780. - Caches ItemHeight calculation for OwnerDrawVariable
  18781. - Handles dropdown properly
  18782. - Fixes several minor bugs
  18783. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  18784. * ListBox.cs:
  18785. - Fixes 71946 and 71950
  18786. - Fixes changing Multicolumn on the fly
  18787. - Fixes keyboard navigation on Multicolumn listboxes
  18788. 2005-01-31 Geoff Norton <[email protected]>
  18789. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  18790. crash reporter log.
  18791. 2005-01-31 Geoff Norton <[email protected]>
  18792. * XplatUIOSX.cs: Allow applications to actually exit.
  18793. 2005-01-31 Geoff Norton <[email protected]>
  18794. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  18795. their parent at creation time rather than lazily later. Fixes a major
  18796. regression we were experiencing.
  18797. 2005-01-31 John BouAntoun <[email protected]>
  18798. * ThemeWin32Classic.cs: more date time picker painting fixes
  18799. * DateTimePicker.cs: more monthcalendar drop down fixes
  18800. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  18801. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  18802. * ScrollBar.cs:
  18803. - When moving the thumb going outside the control should stop the moving
  18804. - Adds the firing of missing events
  18805. - Fixes no button show if Size is not specified
  18806. - End / Home keys for keyboard navigation
  18807. 2005-01-30 Peter Bartok <[email protected]>
  18808. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  18809. sanity check to prevent theoretical loop
  18810. * XplatUIWin32.cs (SetVisible): Removed debug output
  18811. * XplatUIX11.cs (SystrayChange): Added sanity check
  18812. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  18813. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  18814. behaviour, valid until the X11 client window rewrite is done
  18815. * TextBox.cs (ctor): Setting proper default foreground and background
  18816. colors
  18817. 2005-01-30 John BouAntoun <[email protected]>
  18818. * Theme: Added DrawDateTimePicker to interface
  18819. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  18820. * DateTimePicker.cs: Created (still needs keys and painting code)
  18821. * DateTimePickerFormat.cs: added
  18822. * MonthCalendar.cs: fixed CreateParams for popup window mode
  18823. 2005-01-29 Peter Bartok <[email protected]>
  18824. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  18825. this should also the calculations for ligher/darker
  18826. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  18827. 2005-01-29 Peter Bartok <[email protected]>
  18828. * ArrangeDirection.cs: Added
  18829. * ArrangeStartingPositon.cs: Added
  18830. * SystemInformation.cs: Implemented
  18831. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  18832. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  18833. used by SystemInformation class
  18834. * X11Strucs.cs: Added XSizeHints structure
  18835. * MenuAPI.cs:
  18836. - Fixed CreateParams to make sure the menu window is always visible
  18837. - TrackPopupMenu: Added check to make sure we don't draw the
  18838. menu offscreen
  18839. 2005-01-29 Peter Bartok <[email protected]>
  18840. * HandleData.cs: Added method for altering invalid area
  18841. * TextBoxBase.cs: Implemented TextLength
  18842. 2005-01-28 Peter Bartok <[email protected]>
  18843. * XplatUIX11.cs: Improvement over last patch, not sending
  18844. the WM_PAINT directly anymore, instead we scroll any pending
  18845. exposed areas and let the system pick out the WM_PAINT later
  18846. 2005-01-28 Peter Bartok <[email protected]>
  18847. * SWF.csproj: Deleted, no longer used. Instead,
  18848. Managed.Windows.Forms/SWF.csproj should be used
  18849. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  18850. directly, to avoid a potential race condition with the next
  18851. scroll
  18852. 2005-01-28 Peter Bartok <[email protected]>
  18853. * XplatUI.cs: Made class internal
  18854. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  18855. * CheckedListBox.cs:
  18856. - Draw focus
  18857. - Fixed Drawing
  18858. - Missing methods and events
  18859. 2005-01-27 Peter Bartok <[email protected]>
  18860. * Application.cs (Run): Don't use form if we don't have one
  18861. 2005-01-27 Peter Bartok <[email protected]>
  18862. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  18863. 2005-01-27 Peter Bartok <[email protected]>
  18864. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  18865. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  18866. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  18867. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  18868. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  18869. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  18870. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  18871. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  18872. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  18873. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  18874. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  18875. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  18876. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  18877. * Combobox.cs:
  18878. - Draw focus on Simple Combobox
  18879. - Fixes drawing issues
  18880. - fixes 71834
  18881. 2005-01-27 Peter Bartok <[email protected]>
  18882. * Form.cs:
  18883. - Place window in default location, instead of hardcoded 0/0
  18884. - Send initial LocationChanged event
  18885. * Control.cs:
  18886. - UpdateBounds after creation to find out where the WM placed us
  18887. - Make sure that if the ParentForm changes location the Form
  18888. is notified
  18889. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  18890. to the root, but to whatever the WM placed around us.
  18891. Translate to root coordinates before returning toplevel
  18892. coordinates
  18893. * XplatUIWin32.cs: Removed debug output
  18894. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  18895. flag to GetWindowPos, to allow translation of coordinates on X11
  18896. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  18897. * ListBox.cs: connect LostFocus Event
  18898. 2005-01-27 Peter Bartok <[email protected]>
  18899. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  18900. XplatUIX11.cs: Extended the Systray API
  18901. * Form.cs: Removed debug output
  18902. * Application.cs: Fixed focus assignment, always need to call
  18903. XplatUI.Activate() since Form.Activate() has rules that may
  18904. prevent activation
  18905. * NotifyIcon.cs: Should be complete now
  18906. * ToolTip.cs: Worked around possible timer bug
  18907. 2005-01-27 Jackson Harper <[email protected]>
  18908. * TabControl.cs:
  18909. - Only invalidate the effected tabs when the
  18910. selected index changes. This reduces drawing and gets rid of some
  18911. flicker.
  18912. - Only refresh if the tabs need to be shifted, otherwise only
  18913. invalidate the slider button.
  18914. - On windows the tabs are not filled to right if the slider is
  18915. visible.
  18916. 2005-01-27 Jackson Harper <[email protected]>
  18917. * TabControl.cs: Only refresh on mouseup if we are showing the
  18918. slider. Also only invalidate the button whose state has changed.
  18919. 2005-01-26 Peter Bartok <[email protected]>
  18920. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  18921. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  18922. and SystrayRemove() methods
  18923. * XplatUIOSX.cs: Stubbed Systray methods
  18924. * XplatUIX11.cs:
  18925. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  18926. methods
  18927. - Fixed broken XChangeProperty calls (marshalling messed up things)
  18928. * X11Structs.cs: Added enums and structs required for Size hinting
  18929. * NotifyIcon.cs: Added & implemented
  18930. 2005-01-26 Jackson Harper <[email protected]>
  18931. * TabControl.cs: Space vertically layed out tabs properly.
  18932. 2005-01-26 Peter Bartok <[email protected]>
  18933. * Form.cs (CreateClientParams): Always set the location to 0,0
  18934. since we're a child window.
  18935. * Control.cs (SetVisibleCore): Always explicitly setting the location
  18936. of a toplevel window, apparently X11 doesn't like to move windows
  18937. while they're not mapped.
  18938. 2005-01-26 Jackson Harper <[email protected]>
  18939. * TabControl.cs: Implement FillToRight size mode with vertically
  18940. rendered tabs.
  18941. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  18942. * ControlPaint.cs, ThemeWin32Classic.cs
  18943. - Fixes DrawFocusRectangle
  18944. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  18945. * MenuAPI.cs:
  18946. - MenuBar tracking only starts when item is first clicked
  18947. - Fixes menu hidding for multiple subitems
  18948. - Unselect item in MenuBar when item Executed
  18949. - Fixes bug 71495
  18950. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  18951. * ListControl.cs:
  18952. - IsInputKey for ListBox
  18953. * ListBox.cs:
  18954. - Focus item
  18955. - Shift and Control item selection
  18956. - Implement SelectionMode.MultiExtended
  18957. - Fixes RightToLeft
  18958. * ComboBox.cs:
  18959. - IsInputKey implemented
  18960. - Do not generate OnTextChangedEdit on internal txt changes
  18961. 2005-01-23 Peter Bartok <[email protected]>
  18962. * AccessibleObject.cs: Partially implemented Select()
  18963. * MonthCalendar.cs: Added missing attributes and events
  18964. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  18965. form can properly override CreateParams.
  18966. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  18967. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  18968. Control performs Invalidate & Update
  18969. * NativeWindow (CreateHandle): Added special handling for Form
  18970. and Form.FormParent classes to allow overriding of From.CreateParams
  18971. * Control.cs:
  18972. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  18973. name 'owner'
  18974. - ControlNativeWindow: Added Owner property
  18975. - Removed usage of Refresh() on property changes, changed into
  18976. Invalidate(), we need to wait until the queue is processed for
  18977. updates, direct calls might cause problems if not all vars for
  18978. Paint are initialized
  18979. - Added call to UpdateStyles() when creating the window, to set any
  18980. styles that CreateWindow might have ignored.
  18981. - Added support for Form CreateParent overrides to UpdateStyles()
  18982. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  18983. CreateParams are now properly overridable
  18984. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  18985. CreateParams are now properly overridable
  18986. 2005-01-23 Miguel de Icaza <[email protected]>
  18987. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  18988. OnTextBoxChanged.
  18989. Capture LostFocus and OnTextBoxChanged. The later introduces a
  18990. recursive invocation that I have not figured out yet.
  18991. Reset the timer when not using (it was accumulating).
  18992. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  18993. user has made changes that require validation.
  18994. Reset changing to avoid loops.
  18995. 2005-01-22 Miguel de Icaza <[email protected]>
  18996. * NumericUpDown.cs: Display value at startup.
  18997. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  18998. ValidateEditText.
  18999. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  19000. filled in. Added some basic parsing of text.
  19001. Still missing the OnXXX method overrides, and figuring out the
  19002. events that must be emitted.
  19003. * UpDownBase.cs: Handle UserEdit on the Text property.
  19004. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  19005. * ComboBox.cs:
  19006. - Fixes IntegralHeight
  19007. - ToString method
  19008. 2005-01-21 Jackson Harper <[email protected]>
  19009. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  19010. is set so that the page visibility is updated and the tabs are
  19011. sized correctly.
  19012. 2005-01-21 Jackson Harper <[email protected]>
  19013. * TabControl.cs: Use cliping rectangle for blitting. Give the
  19014. theme the clipping rect so we can do clipping while
  19015. drawing. Remove some debug code.
  19016. 2005-01-21 Jackson Harper <[email protected]>
  19017. * TabPage.cs: Add a new method so tab pages can force the tab
  19018. control to recalculate the tab page sizes.
  19019. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  19020. sizes.
  19021. 2005-01-20 Jackson Harper <[email protected]>
  19022. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  19023. 2005-01-20 Jackson Harper <[email protected]>
  19024. * TreeView.cs: Set the bounds for nodes properly. They were
  19025. getting screwed up when checkboxes were not enabled, but images
  19026. were.
  19027. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  19028. * ListBox.cs:
  19029. - Owner draw support
  19030. - Fixes
  19031. 2005-01-20 Jackson Harper <[email protected]>
  19032. * XplatUIStructs.cs: More misc keys
  19033. * X11Keyboard.cs: Ignore some control keys.
  19034. 2005-01-20 Jackson Harper <[email protected]>
  19035. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  19036. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  19037. 2005-01-19 Peter Bartok <[email protected]>
  19038. * Control.cs: Un-selecting the control when it is loosing focus
  19039. 2005-01-19 Jackson Harper <[email protected]>
  19040. * TreeView.cs: Hook up to the text controls leave event so we can
  19041. end editing when the users clicks outside the text box.
  19042. 2005-01-19 Jackson Harper <[email protected]>
  19043. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  19044. get set in the conversion array.
  19045. 2005-01-19 Peter Bartok <[email protected]>
  19046. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  19047. focus is properly set
  19048. * Button.cs:
  19049. - Added missing attributes
  19050. - removed styles, those are already set in the base class
  19051. * ButtonBase.cs:
  19052. - Added missing attributes
  19053. - Added clip window styles
  19054. * CheckBox.cs: Added missing attributes
  19055. * CommonDialog.cs:
  19056. - FormParentWindow.CreateParams: Added required clip styles
  19057. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  19058. also filters modifier keys
  19059. * MessageBox.cs:
  19060. - Added assignment of Accept and Cancel button to enable Enter
  19061. and Esc keys in MessageBox dialogs
  19062. - FormParentWindow.CreateParams: Added required clip styles
  19063. * RadioButton.cs: Added missing attributes
  19064. * TextControl.cs: No longer draws selection if control does not
  19065. have focus
  19066. * TextBoxBase.cs:
  19067. - Now draws simple rectangle around test area to make it obvious
  19068. there's a control. This is a hack until we properly support borders
  19069. - A few simple fixes to support selections better, now erases selected
  19070. text when typing, and resets selection when using movement keys
  19071. 2005-01-19 Miguel de Icaza <[email protected]>
  19072. * UpDownBase.cs: Added some new properties.
  19073. * DomainUpDown.cs: Implement a lot to get my test working.
  19074. 2005-01-19 Geoff Norton <[email protected]>
  19075. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  19076. 2005-01-19 Geoff Norton <[email protected]>
  19077. * OSXStructs (WindowAttributes): Fixed csc complaints
  19078. 2005-01-19 Geoff Norton <[email protected]>
  19079. * XplayUIOSX.cs:
  19080. OSXStructs.cs: Initial refactor to move enums and consts into
  19081. OSXStructs and use them in the driver for greater readability.
  19082. 2005-01-19 Geoff Norton <[email protected]>
  19083. * XplatUIOSX.cs: Initial support for Standard Cursors.
  19084. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  19085. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  19086. * ComboBox.cs: ability to change style when the ctrl is already
  19087. created, missing methods and events, bug fixes, signature fixes
  19088. 2005-01-19 Peter Bartok <[email protected]>
  19089. * Cursors.cs (ctor): Added ctor to fix signature
  19090. 2005-01-18 Peter Bartok <[email protected]>
  19091. * Button.cs: Implemented DoubleClick event
  19092. * ButtonBase.cs:
  19093. - Fixed keyboard handling to behave like MS, where the press of
  19094. Spacebar is equivalent to a mousedown, and the key release is
  19095. equivalent to mouseup. Now a spacebar push will give the same
  19096. visual feedback like a mouse click.
  19097. - Added missing attributes
  19098. - Added ImeModeChanged event
  19099. - Added support for generating DoubleClick event for derived classes
  19100. * CheckBox.cs:
  19101. - Implemented DoubleClick event
  19102. - Added missing attributes
  19103. * CommonDialog.cs: Added missing attribute
  19104. * ContextMenu.cs: Added missing attributes
  19105. * RadioButton.cs:
  19106. - AutoChecked buttons do not allow to be unselected when clicked
  19107. (otherwise we might end up with no selected buttons in a group)
  19108. - Added missing attributes
  19109. - Implemented DoubleClickEvent
  19110. * ThreadExceptionDialog.cs: Enabled TextBox code
  19111. 2005-01-18 Peter Bartok <[email protected]>
  19112. * Form.cs: Removed debug output
  19113. * Button.cs: Added support for DoubleClick method
  19114. 2005-01-18 Peter Bartok <[email protected]>
  19115. * Form.cs:
  19116. - Added method to parent window that allows triggering size
  19117. calculations when a menu is added/removed
  19118. - set_Menu: Cleaned up mess from early days of Form and Control,
  19119. now properly triggers a recalc when a menu is added/removed
  19120. - Added case to select form itself as focused form if no child
  19121. controls exist
  19122. - Added PerformLayout call when showing dialog, to ensure properly
  19123. placed controls
  19124. * Control.cs:
  19125. - Select(): Made internal so Form can access it
  19126. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  19127. status
  19128. * Application.cs (Run): Removed hack and calls PerformLayout instead
  19129. to trigger calculation when Form becomes visible
  19130. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  19131. * ComboBox.cs: fixes for ownerdraw
  19132. 2005-01-18 Peter Bartok <[email protected]>
  19133. * TextControl.cs:
  19134. - Sentinel is no longer static, each Document gets it's own, this
  19135. avoids locking or alternatively overwrite problems when more
  19136. than one text control is used simultaneously.
  19137. - Switched to use Hilight and HilightText brushes for text selection
  19138. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  19139. 2005-01-18 Peter Bartok <[email protected]>
  19140. * Control.cs:
  19141. - Hooked up the following events:
  19142. o ControlAdded
  19143. o ControlRemoved
  19144. o HandleDestroyed
  19145. o ImeModeChanged
  19146. o ParentChanged
  19147. o TabStopChanged
  19148. o Invalidated
  19149. o SystemColorsChanged
  19150. o ParentFontChanged
  19151. o Move
  19152. - Removed debug output
  19153. - Added a call to the current theme's ResetDefaults when a color change
  19154. is detected
  19155. * Form.cs: Now setting the proper ImeMode
  19156. * Theme.cs: Defined a method to force recreation of cached resources
  19157. and rereading of system defaults (ResetDefaults())
  19158. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  19159. 2005-01-17 Peter Bartok <[email protected]>
  19160. * Control.cs: Added missing attributes
  19161. 2005-01-17 Jackson Harper <[email protected]>
  19162. * TreeNode.cs: Implement editing. Add missing properties selected
  19163. and visible.
  19164. * TreeView.cs: Implement node editing. Also some fixes to use
  19165. Invalidate (invalid area) instead of Refresh when selecting.
  19166. 2005-01-17 Peter Bartok <[email protected]>
  19167. * Control.cs:
  19168. - Implemented InvokeGotFocus() method
  19169. - Implemented InvokeLostFocus() method
  19170. - Implemented InvokePaint() method
  19171. - Implemented InvokePaintBackground() method
  19172. - Implemented InvokeClick() method
  19173. - Implemented FindForm() method
  19174. - Implemented RectangleToClient() method
  19175. - Implemented ClientToRectangle() method
  19176. - Implemented ResetBackColor() method
  19177. - Implemented ResetCursor() method
  19178. - Implemented ResetFont() method
  19179. - Implemented ResteForeColor() method
  19180. - Implemented ResetImeMode() method
  19181. - Implemented ResetLeftToRight() method
  19182. - Implemented ResetText() method
  19183. - Implemented Scale() methods
  19184. - Implemented ScaleCore() method
  19185. - Implemented Update() method
  19186. - Removed unused variables
  19187. - Stubbed AccessibilityNotifyClients and
  19188. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  19189. with those yet)
  19190. - Now setting proper default for RightToLeft property
  19191. - Fixed bug in SetClientSizeCore that would cause windows to get
  19192. really big
  19193. - Now sending Click/DoubleClick events
  19194. - Now selecting controls when left mouse button is clicked on
  19195. selectable control
  19196. * AccessibleEvents.cs: Added
  19197. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  19198. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  19199. * XplatUIWin32.cs: Implemented UpdateWindow() method
  19200. * XplatUIX11.cs: Implemented UpdateWindow() method
  19201. * Form.cs: Removed stray semicolon causing CS0162 warning
  19202. * ThemeWin32Classic.cs: Fixed unused variable warnings
  19203. * ScrollableControl.cs: Now calls base method for ScaleCore
  19204. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  19205. style to avoid interference with internal click handler (which is
  19206. different than standard Control click handling)
  19207. * RadioButton.cs:
  19208. - Now unchecks all sibling radio buttons when control is
  19209. selected (Fixes #68756)
  19210. - Removed internal tabstop variable, using the one inherited from
  19211. Control
  19212. 2005-01-17 Jackson Harper <[email protected]>
  19213. * NavigateEventArgs.cs: Fix base type.
  19214. * LinkLabel.cs: Sig fix
  19215. 2005-01-17 Jackson Harper <[email protected]>
  19216. * TreeView.cs: Only invalidate the effected nodes bounds when
  19217. selecting nodes.
  19218. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  19219. * XplatUIWin32.cs: fixes Win32 marshaling
  19220. * XplatUIX11.cs: fixes method signature
  19221. 2005-01-17 Peter Bartok <[email protected]>
  19222. * XplatUIX11.cs: Clean up resources when we no longer need them
  19223. 2005-01-17 Peter Bartok <[email protected]>
  19224. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  19225. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  19226. and DestroyCursor() methods.
  19227. * Cursor.cs: Partially implemented, now supports standard cursors;
  19228. still contains some debug code
  19229. * Cursors.cs: Implemented class
  19230. * Control.cs:
  19231. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  19232. appropriate cursor
  19233. - Implemented Cursor property
  19234. - Replaced break; with return; more straightforwar and possibly
  19235. faster
  19236. - Now properly setting the result for WM_HELP
  19237. * X11Structs.cs: Added CursorFontShape enum
  19238. * XplatUIStructs.cs:
  19239. - Added StdCursor enum (to support DefineStdCursor() method)
  19240. - Added HitTest enum (to support sending WM_SETCURSOR message)
  19241. * XplatUIX11.cs:
  19242. - Now sends the WM_SETCURSOR message
  19243. - Implemented new cursor methods
  19244. * XplatUIOSX.cs: Stubbed new cursor methods
  19245. * XplatUIWin32.cs:
  19246. - Implemented new cursor methods
  19247. - Added GetSystemMetrics function and associated enumeration
  19248. 2005-01-15 Peter Bartok <[email protected]>
  19249. * Control.cs:
  19250. - WndProc(): Now handles EnableNotifyMessage
  19251. - SelectNextControl(): Fixed bug where if no child or sibling
  19252. controls exist we looped endlessly
  19253. 2005-01-14 Jackson Harper <[email protected]>
  19254. * TreeView.cs: Recalculate the tab pages when a new one is added
  19255. so that the proper bounding rects are created.
  19256. 2005-01-14 Jackson Harper <[email protected]>
  19257. * TreeView.cs: Draw a gray box instead of a grip in the lower
  19258. right hand corner when there are both horizontal and vertical
  19259. scroll bars.
  19260. 2005-01-14 Jackson Harper <[email protected]>
  19261. * Control.cs: When erasing backgrounds use FromHwnd instead of
  19262. FromHdc when there is a NULL wparam. This occurs on the X driver.
  19263. * XplatUIX11.cs: Set the wparam to NULL.
  19264. 2005-01-13 Jackson Harper <[email protected]>
  19265. * PictureBox.cs: Implement missing methods (except ToString, need
  19266. to test that on windows) and events. When visibility is changed we
  19267. need to redraw the image because the buffers are killed. When size
  19268. is changed refresh if the sizemode needs it.
  19269. 2005-01-13 Peter Bartok <[email protected]>
  19270. * Control.cs (SelectNextControl): Was using wrong method to select
  19271. a control
  19272. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  19273. * ComboBox.cs: fixes dropstyle
  19274. 2005-01-13 Peter Bartok <[email protected]>
  19275. * Form.cs:
  19276. - Implemented Select() override
  19277. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  19278. - Now sets keyboard focus on startup
  19279. * Control.cs (SelectNextControl): Now properly handles directed=true
  19280. * TextBoxBase.cs:
  19281. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  19282. - Added (really bad) focus rectangle (mostly for testing)
  19283. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  19284. to enforce redraw on focus changes
  19285. * ContainerControl.cs:
  19286. - Fixed detection of Shift-Tab key presses
  19287. - Fixed traversal with arrow keys
  19288. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  19289. gonna keep this or if it's complete yet
  19290. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  19291. * ComboBox.cs: missing properties, fixes
  19292. 2005-01-13 Peter Bartok <[email protected]>
  19293. * Panel.cs (ctor): Setting Selectable window style to off
  19294. * Splitter.cs (ctor): Setting Selectable window style to off
  19295. * GroupBox.cs (ctor): Setting Selectable window style to off
  19296. * Label.cs (ctor): Setting Selectable window style to off
  19297. 2005-01-12 Miguel de Icaza <[email protected]>
  19298. * UpDownBase.cs (InitTimer): If the timer has been already
  19299. created, enable it.
  19300. Use a TextBox instead of a Label.
  19301. 2005-01-12 Jackson Harper <[email protected]>
  19302. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  19303. draw the connecting node lines (when ShowLines is true).
  19304. * TreeNode.cs: The nodes index can now be updated. This is used
  19305. when a node collection is sorted.
  19306. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  19307. insert or an existing unsorted node collection can be sorted.
  19308. 2005-01-12 Peter Bartok <[email protected]>
  19309. * ContainerControl.cs: Implemented ProcessDialogKeys()
  19310. 2005-01-12 Peter Bartok <[email protected]>
  19311. * Control.cs:
  19312. - Implemented SelectNextControl() method
  19313. - Several focus related bug fixes
  19314. - Fixed Docking calculations to match MS documentation and
  19315. behaviour
  19316. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  19317. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  19318. bug fixes
  19319. 2005-01-12 Peter Bartok <[email protected]>
  19320. * Control.cs:
  19321. - Fixed broken Contains() method
  19322. - Implemented GetNextControl() method. Finally. This is the pre-
  19323. requisite for focus handling.
  19324. 2005-01-12 Peter Bartok <[email protected]>
  19325. * OSXStrucs.cs: Added
  19326. 2005-01-12 Peter Bartok <[email protected]>
  19327. * XplatUIWin32.cs:
  19328. - Removed PeekMessageFlags
  19329. - Implemented SetWindowStyle() method
  19330. * XplatUIStructs.cs: Added PeekMessageFlags
  19331. * X11Structs: Added missing border_width field to XWindowChanges struct
  19332. * XplatUIX11.cs:
  19333. - PeekMessage: Now throws exception if flags which are not yet
  19334. supported are passed
  19335. - Implemented SetWindowStyle() method
  19336. - Fixed SetZOrder to handle AfterHwnd properly
  19337. * XplatUI.cs: Added SetWindowStyle() method
  19338. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  19339. * Control.cs:
  19340. - Implemented UpdateStyles() method
  19341. - Implemented UpdateZOrder() method
  19342. * XplatUIOSX.cs: Added SetWindowStyle() stub
  19343. 2005-01-12 Geoff Norton <[email protected]>
  19344. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  19345. button mouse).
  19346. 2005-01-11 Jackson Harper <[email protected]>
  19347. * TreeView.cs: Still need to draw lines to siblings even if out of
  19348. the current node is out of the clip.
  19349. 2005-01-11 Jackson Harper <[email protected]>
  19350. * TreeView.cs: When setting the hbar/vbar/grip position use
  19351. SetBounds so that perform layout is only called once. Also suspend
  19352. and resume layout so layout is only done once for all controls.
  19353. - Removed some debug fluff
  19354. * SizeGrip.cs: Call base implmentation in overriding methods.
  19355. - When visibility is changed the drawing buffers are killed so we
  19356. need to redraw.
  19357. 2005-01-11 Jackson Harper <[email protected]>
  19358. * TreeView.cs: Calculate the open node count while drawing. This
  19359. saves us an entire tree traversal for every paint operation. Use
  19360. a member var for the open node count so less vars are passed around.
  19361. 2005-01-11 John BouAntoun <[email protected]>
  19362. * MonthCalendar.cs:
  19363. - fixed selection to use mousemove, not mouse polling on timer
  19364. * ThemeWin32Classic.cs
  19365. - removed redundant unused variable "no_more_content"
  19366. 2005-01-11 Peter Bartok <[email protected]>
  19367. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  19368. are pending, so it now calls PeekMessage instead of GetMessage;
  19369. implemented a incomplete version of PeekMessage
  19370. 2005-01-11 Peter Bartok <[email protected]>
  19371. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  19372. I18n issues
  19373. * TextBoxBase.cs: Added sending of TextChanged event
  19374. 2005-01-10 Jackson Harper <[email protected]>
  19375. * TreeView.cs: Try not to draw outside the clipping rectangle on
  19376. each node element.
  19377. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  19378. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  19379. 2005-01-10 Jackson Harper <[email protected]>
  19380. * TreeView.cs:
  19381. - Implement fast scrolling. Now only the newly
  19382. exposed nodes are drawn and the old image is moved using the
  19383. XplatUI::ScrollWindow method.
  19384. - Factor in height of nodes when calculating whether or not the
  19385. node is in the clipping rect.
  19386. 2005-01-10 Jackson Harper <[email protected]>
  19387. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  19388. 2005-01-10 Peter Bartok <[email protected]>
  19389. * Application.cs: Added temporary hack to resolve all our resize
  19390. required issues on startup. This will get fixed properly at
  19391. some point in the future
  19392. 2005-01-10 Jackson Harper <[email protected]>
  19393. * SizeGrip.cs: New internal class that is used as a sizing
  19394. grip control...hence the name.
  19395. 2005-01-10 Peter Bartok <[email protected]>
  19396. * Control.cs: Implemented proper TabIndex handling, now assigning
  19397. a tabindex when a control is added to a container
  19398. * GroupBox.cs (ctor): Now sets the Container style bit, required
  19399. for Control.GetNextControl()
  19400. 2005-01-09 Jackson Harper <[email protected]>
  19401. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  19402. 2005-01-09 Peter Bartok <[email protected]>
  19403. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  19404. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  19405. an overload for ScrollWindow to allow only scrolling a rectangle
  19406. 2005-01-09 Peter Bartok <[email protected]>
  19407. * Form.cs:
  19408. - Implemented SetDesktopBounds method
  19409. - Implemented SetDesktopLocation method
  19410. 2005-01-08 Jackson Harper <[email protected]>
  19411. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  19412. the node count has changed, this removes to VScroll::Refresh calls
  19413. when drawing.
  19414. 2005-01-08 Geoff Norton <[email protected]>
  19415. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  19416. 2005-01-07 Jackson Harper <[email protected]>
  19417. * TreeNode.cs: Just update the single node when it is
  19418. checked. Don't refresh after toggling, the Expand/Collapse already
  19419. handles this.
  19420. * TreeView.cs: Respect clipping a little more when drawing. Try
  19421. not to redraw things that don't need to be redrawn. Just hide the
  19422. scrollbars when they are no longer needed instead of removing
  19423. them, so they don't have to be created again and again.
  19424. 2005-01-07 Geoff Norton <[email protected]>
  19425. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  19426. coordinates to window space to place the caret properly, FIXED.
  19427. Implement GetWindowState & SetWindowState
  19428. 2005-01-06 Peter Bartok <[email protected]>
  19429. * Form.cs:
  19430. - Implemented ClientSize property
  19431. - Implemented DesktopBounds property
  19432. - Implemented DesktopLocation property
  19433. - Implemented IsRestrictedWindow property
  19434. - Implemented Size property
  19435. - Implemented TopLevel property
  19436. - Implemented FormWindowState property
  19437. * Control.cs:
  19438. - Implemented GetTopLevel() method
  19439. - Implemented SetTopLevel() method
  19440. * X11Structs.cs (Atom):
  19441. - Added AnyPropertyType definition
  19442. - Added MapState definiton and updated XWindowAttribute struct
  19443. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  19444. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  19445. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  19446. * XplatUIWin32.cs:
  19447. - Implemented GetWindowState() and SetWindowState() methods
  19448. - Fixed Win32GetWindowLong return type
  19449. * XplatUIX11.cs:
  19450. - Introduced central function for sending NET_WM messages
  19451. - Implemented GetWindowState() and SetWindowState() methods
  19452. * TextBoxBase.cs (set_Lines):
  19453. - Now uses Foreground color for text added via Text property (Duh!)
  19454. - Added code to remember programmatically requested size (fixes
  19455. behaviour when Multiline is set after Size)
  19456. - Added AutoSize logic
  19457. 2005-01-06 Jackson Harper <[email protected]>
  19458. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  19459. 2005-01-06 Jackson Harper <[email protected]>
  19460. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  19461. set to less then 0.
  19462. 2005-01-06 Jackson Harper <[email protected]>
  19463. * ScrollableControl.cs: Lazy init the scrollbars.
  19464. 2005-01-06 Jackson Harper <[email protected]>
  19465. * Theme.cs: Speed up getting pens and solid brushes, by using
  19466. their ARGB as a hash instead of tostring and not calling Contains.
  19467. 2005-01-06 Peter Bartok <[email protected]>
  19468. * Form.cs:
  19469. - Implemented OnActivated and OnDeactivate event trigger
  19470. - Implemented Activate() method
  19471. - Fixed ShowDialog() to activate the form that was active before
  19472. the dialog was shown
  19473. * XplatUIX11.cs:
  19474. - Added global active_window var that tracks the currently active
  19475. X11 window
  19476. - Now always grabs Property changes from the root window to always
  19477. catch changes on the active window property
  19478. - Added code to PropertyNotify handler to send Active/Inactive
  19479. messages when state changes. This puts X11 and Win32 en par on
  19480. WM_ACTIVATE notifications (except for double notifications when
  19481. the user clicks away from our modal window to another one of our
  19482. windows)
  19483. 2005-01-05 Jackson Harper <[email protected]>
  19484. * ImageList.cs: Implment ctor
  19485. 2005-01-05 Geoff Norton <[email protected]>
  19486. * XplatUIOSX.cs: Implement Activate/SetTopmost
  19487. 2005-01-05 Geoff Norton <[email protected]>
  19488. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  19489. 2005-01-05 Geoff Norton <[email protected]>
  19490. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  19491. 2005-01-05 Peter Bartok <[email protected]>
  19492. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  19493. XplatUIOSX.cs: Added GetActive method to return the currently
  19494. active window for the application (or null, if none is active)
  19495. * Form.cs:
  19496. - Implemented ActiveForm
  19497. - Commented out owner assignment for modal dialogs (causes problems
  19498. on Win32, since the owner will be disabled)
  19499. - Reworked some Active/Focus handling (still incomplete)
  19500. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  19501. (causes problems on Win32, since the owner will be disabled)
  19502. * IWin32Window: Added ComVisible attribute
  19503. 2005-01-05 Peter Bartok <[email protected]>
  19504. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  19505. required XplatUI functions.
  19506. 2005-01-05 Peter Bartok <[email protected]>
  19507. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  19508. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  19509. to implement focus and activation handling; still incomplete and
  19510. with debug output
  19511. 2005-01-04 Peter Bartok <[email protected]>
  19512. * TextBoxBase.cs: Changed access level for Document property to
  19513. match switch to internal for TextControl
  19514. 2005-01-04 Peter Bartok <[email protected]>
  19515. * AccessibleObject: Added ComVisible attribute
  19516. 2005-01-04 Jackson Harper <[email protected]>
  19517. * X11Keyboard.cs: Remove unneeded var.
  19518. 2005-01-04 Jackson Harper <[email protected]>
  19519. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  19520. but PAINT.
  19521. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  19522. ClientMessage. This makes apps exit cleanly (more often).
  19523. 2005-01-04 Jackson Harper <[email protected]>
  19524. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  19525. handling focus, return correct colors and fonts,
  19526. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  19527. handle selection, horizontal scrolling, and mouse interaction.
  19528. 2005-01-04 Peter Bartok <[email protected]>
  19529. * ICommandExecutor.cs: Added
  19530. * IDataGridColumnStyleEditingNotificationService.cs: Added
  19531. * IFeatureSupport.cs: Added
  19532. * IFileReaderService.cs: Added
  19533. * IDataObject.cs: Added ComVisible attribute
  19534. * AmbientProperties.cs: Added
  19535. * BaseCollection.cs: Added missing attributes
  19536. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  19537. * BaseCollection.cs: Added missing attributes
  19538. * Binding.cs: Added TypeConverter attribute
  19539. * BindingContext.cs: Added DefaultEvent attribute
  19540. * BindingsCollection.cs: Added DefaultEvent attribute
  19541. * Button.cs: Added DefaultValue attribute
  19542. * DragEventArgs.cs: Added ComVisible attribute
  19543. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  19544. * KeyEventArgs.cs: Added ComVisible attribute
  19545. * KeyPressEventArgs.cs: Added ComVisible attribute
  19546. * MouseEventArgs.cs: Added ComVisible attribute
  19547. * NavigateEventArgs.cs: Added
  19548. * NavigateEventHandler.cs: Added
  19549. * FeatureSupport.cs: Added
  19550. * OSFeature.cs: Added
  19551. * Theme.cs: Added abstract Version property to support OSFeature
  19552. * ThemeWin32Classic.cs: Added Version property to
  19553. support OSFeature.Themes
  19554. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  19555. the proper styles to avoid background drawing are set, also doesn't
  19556. match MS signature
  19557. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  19558. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  19559. * ScrollEventArgs.cs: Added ComVisible attribute
  19560. * SplitterEventArgs.cs: Added ComVisible attribute
  19561. * AccessibleSelection.cs: Added Flags attribute
  19562. * Appearance.cs: Added ComVisible attribute
  19563. * Border3DSide.cs: Added ComVisible attribute
  19564. * Border3DStyle.cs: Added ComVisible attribute
  19565. * BorderStyle.cs: Added ComVisible attribute
  19566. * DragAction.cs: Added ComVisible attribute
  19567. * ErrorBlinkStyle.cs: Added
  19568. * ScrollEventType.cs: Added ComVisible attribute
  19569. * AnchorStyles.cs: Added Editor attribute
  19570. * DockStyle.cs: Added Editor attribute
  19571. * HorizontalAlignment.cs: Added ComVisible attribute
  19572. * HelpEventArgs.cs: Added ComVisible attribute
  19573. * PaintEventArgs.cs: Added IDisposable
  19574. 2005-01-04 Peter Bartok <[email protected]>
  19575. * TextControl.cs: Switched Line, LineTag and Document classes to
  19576. internal
  19577. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  19578. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  19579. Simple mode, fixes, IntegralHeight, etc.
  19580. 2005-01-04 Peter Bartok <[email protected]>
  19581. * TextBoxBase.cs: Using proper font variable now
  19582. 2005-01-04 Peter Bartok <[email protected]>
  19583. * Form.cs (ShowDialog): Set parent to owner, if provided
  19584. * GroupBox.cs: Removed unused vars
  19585. * TextControl.cs:
  19586. - Added GetHashCode() for Document and LineTag classes
  19587. - Removed unused variables
  19588. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  19589. to allow translation between continuous char position and line/pos
  19590. * CheckBox.cs: Removed vars that are provided by base class
  19591. * RadioButton.cs: Removed vars that are provided by base class, added
  19592. new keyword where required
  19593. * LinkLabel.cs: Added new keyword where required
  19594. * Control.cs (WndProc): Removed unused variable
  19595. * TextBoxBase.cs:
  19596. - Finished SelectionLength property
  19597. - Implemented SelectionStart property
  19598. - Implemented Text property
  19599. - Removed unused vars
  19600. * MessageBox.cs: Added new keyword where required
  19601. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  19602. WndProc signature
  19603. * MenuAPI.cs: Added new keyword where required
  19604. * ButtonBase.cs: Removed vars that are provided by base class, added
  19605. new keyword where required
  19606. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  19607. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  19608. into this)
  19609. * Application.cs (Run): Now triggers the ThreadExit event
  19610. * CommonDialog.cs: Added new keyword where required; now properly sets
  19611. parent (owner) for dialog
  19612. * XplatUIX11.cs: Commented out unused vars
  19613. * StatusBar.cs: Fixed signature for Text property
  19614. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  19615. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  19616. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  19617. TrackBar.cs, MonthCalendar.cs: remove unused vars
  19618. 2005-01-03 Jackson Harper <[email protected]>
  19619. * ThemeWin32Classic.cs:
  19620. * X11Keyboard.cs: Remove unused vars.
  19621. 2005-01-03 Peter Bartok <[email protected]>
  19622. * TextBox.cs:
  19623. - set_Text: Tied into TextControl
  19624. - set_TextAlignment: Tied into TextControl
  19625. * TextControl.cs:
  19626. - Added alignment properties and implemented alignment handling
  19627. and drawing (still has a bug, not generating proper expose events)
  19628. - Added new Line() constructor to allow passing the line alignment
  19629. - Fixed selection setting, properly handling end<start now
  19630. - Added aligment considerations to RecalculateDocument()
  19631. * TextBoxBase.cs:
  19632. - Now properly enforces control height for single line controls
  19633. - Added support for CharacterCasing
  19634. - Added IsInputKey override
  19635. - Fixed Keys.Enter logic
  19636. - Added SetBoundsCore override
  19637. - Fixed mouse selection handling
  19638. 2005-01-03 Jackson Harper <[email protected]>
  19639. * TreeView.cs:
  19640. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  19641. - Checkboxes are always aligned to the bottom of the node,
  19642. regardless of item height.
  19643. - Use the node bounds to draw the text so we can center it when
  19644. the item height is greater then the font height.
  19645. - Node::Bounds are only the text part of the node.
  19646. * TreeNode.cs: New method to combine collapsing and unchecking all
  19647. nodes recursively.
  19648. 2005-01-02 Jackson Harper <[email protected]>
  19649. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  19650. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  19651. tree when a check is changed. TODO: Only refresh the checked node.
  19652. 2004-12-30 Jackson Harper <[email protected]>
  19653. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  19654. * TreeNode.cs: When collapsing make sure to never collapse the
  19655. root node.
  19656. 2004-12-29 Jackson Harper <[email protected]>
  19657. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  19658. 2004-12-28 Zoltan Varga <[email protected]>
  19659. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  19660. 2004-12-28 Peter Bartok <[email protected]>
  19661. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  19662. not yet assigned
  19663. 2004-12-28 Peter Bartok <[email protected]>
  19664. * Control.cs (WndProc): Added WM_HELP handler, now generates
  19665. HelpRequested event
  19666. * Form.cs: Added HelpButton property and required support code
  19667. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  19668. 2004-12-28 Peter Bartok <[email protected]>
  19669. * CommonDialog.cs:
  19670. - Made DialogForm.owner variable internal
  19671. - Added check to ensure owner form is set before setting
  19672. owner properties in CreateParams
  19673. 2004-12-28 Geoff Norton <[email protected]>
  19674. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  19675. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  19676. GetCursorPos. Fix major visibility issues. Rework the windowing
  19677. system to support borderless/titleless windows (implements menus).
  19678. Fix GetWindowPos. Implement initial background color support for
  19679. views.
  19680. 2004-12-28 Peter Bartok <[email protected]>
  19681. * Form.cs (get_CreateParams): Make sure we have an owner before using
  19682. the owner variable. Implement proper default if no owner exists
  19683. 2004-12-28 Peter Bartok <[email protected]>
  19684. * In preparation for making Managed.Windows.Forms the default build target
  19685. for System.Windows.Forms, the following stubbed files were added.
  19686. Dialogs are currently being implemented by contributors and are only
  19687. short-term place holders.
  19688. * ColorDialog.cs: Initial check-in (minmal stub)
  19689. * DataGrid.cs: Initial check-in (minimal stub)
  19690. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  19691. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  19692. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  19693. * FontDialog.cs: Initial check-in (minimal stub)
  19694. * FileDialog.cs: Initial check-in (minimal stub)
  19695. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  19696. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  19697. * OpenFileDialog: Initial check-in (minimal stub)
  19698. * IComponentEditorPageSite.cs: Initial check-in
  19699. * Splitter.cs: Initial check-in (for Jackson)
  19700. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  19701. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  19702. * TextBox.cs: Initial check-in; still needs some wiring to
  19703. TextControl backend
  19704. * Form.cs: Implemented ControlBox property
  19705. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  19706. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  19707. * TextControl.cs: Added selection functionality; added todo header
  19708. * TextBoxBase.cs:
  19709. - Implemented Lines property
  19710. - Implemented TextHeight property
  19711. - Implemented SelectedText property
  19712. - Implemented SelectionLength property
  19713. - Implemented SelectAll method
  19714. - Implemented ToString method
  19715. - Removed and cleaned up some debug code
  19716. - Implemented (still buggy) mouse text selection
  19717. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  19718. * ComboBox.cs: Complete DropDownList implementation, fixes.
  19719. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  19720. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  19721. * ComboBoxStyle.cs: ComboBoxStyle enum
  19722. * ComboBox.cs: Initial work on ComboBox control
  19723. 2004-12-21 Peter Bartok <[email protected]>
  19724. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  19725. forward so that anything that creates a window gets the default,
  19726. also no longer uses Visible property in CreateParams to avoid
  19727. walking up the parent chain and possibly get the wrong visible
  19728. status. Fixed IsVisible to no longer walk up to the parent.
  19729. 2004-12-21 Peter Bartok <[email protected]>
  19730. * Form.cs (ShowDialog): Unset modality for the proper window
  19731. 2004-12-20 Peter Bartok <[email protected]>
  19732. * CommonDialog.cs: Initial check-in
  19733. 2004-12-20 Peter Bartok <[email protected]>
  19734. * Control.cs (Visible): Now uses the parent window instead of the
  19735. client area window for the property
  19736. * Form.cs
  19737. - ShowDialog(): Now uses the proper window for modality
  19738. - The default visibility state for the form parent is now false. This
  19739. will prevent the user from seeing all the changes to the form and
  19740. its controls before the application hits Application.Run()
  19741. - Removed some stale commented out code
  19742. * NativeWindow.cs:
  19743. - Added FindWindow() method to have a method to check for existence
  19744. of a window handle
  19745. - Added ability to override default exception handling (for example
  19746. when debugging with VS.Net; to do this the ExternalExceptionHandler
  19747. define must be set
  19748. - Removed some useless debug output
  19749. * XplatUIX11.cs:
  19750. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  19751. not working as expected
  19752. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  19753. property to allow switching back to the modal window if focus is
  19754. given to another one of our windows (Application Modal)
  19755. - Now only sets override_redirect if we create a window
  19756. without WS_CAPTION
  19757. - Moved EventMask selection before mapping of newly created window
  19758. so we can catch the map event as well
  19759. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  19760. - Added various Atom related DllImports
  19761. - Implemented Exit() method
  19762. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  19763. in the CreateParams
  19764. * MessageBox.cs: Now properly deals with the FormParent window by
  19765. providing an override the FormParent CreateParams property to
  19766. set as POPUP instead of OVERLAPPED window.
  19767. 2004-12-19 Geoff Norton <[email protected]>
  19768. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  19769. Minor code cleanup.
  19770. 2004-12-19 Geoff Norton <[email protected]>
  19771. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  19772. 2004-12-18 Peter Bartok <[email protected]>
  19773. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  19774. implementing SetModal() method
  19775. 2004-12-18 Peter Bartok <[email protected]>
  19776. * X11Structs.cs (XGCValues): Fixed type of function element
  19777. * XplatUI.cs: Added ScrollWindow() method
  19778. * XplatUIDriver.cs: Added ScrollWindow() abstract
  19779. * XplatUIWin32.cs: Implemented ScrollWindow() method
  19780. * XplatUIX11.cs: Implemented ScrollWindow() method
  19781. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  19782. 2004-12-17 Geoff Norton <[email protected]>
  19783. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  19784. Some more keyboard support (INCOMPLETE)
  19785. 2004-12-17 Peter Bartok <[email protected]>
  19786. * TextControl.cs:
  19787. - Added color attribute to line tags.
  19788. - Added color argument to all functions dealing with tags
  19789. - Added color argument support to various functions
  19790. - Fixed miss-calculation of baseline/shift in certain circumstances
  19791. * TextBoxBase.cs: Added new color option to test code
  19792. 2004-12-17 Jackson Harper <[email protected]>
  19793. * TreeNode.cs:
  19794. * MonthCalendar.cs: Signature fixes
  19795. 2004-12-17 Geoff Norton <[email protected]>
  19796. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  19797. keyboard event moved it. Create a new graphics context for each paint resolves this
  19798. 2004-12-17 Geoff Norton <[email protected]>
  19799. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  19800. Make caret exist and go blink blink. Initial keyboard support.
  19801. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  19802. works.
  19803. 2004-12-17 Jackson Harper <[email protected]>
  19804. * XplatUIStructs.cs: Updated set of virtual keycodes.
  19805. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  19806. 2004-12-17 Jackson Harper <[email protected]>
  19807. * XplatUIX11.cs: Prune old keyboard code.
  19808. 2004-12-17 Jackson Harper <[email protected]>
  19809. * XplatUIX11.cs: When generating mouse wparams get the modifier
  19810. keys from the ModifierKeys property.
  19811. 2004-12-17 Jackson Harper <[email protected]>
  19812. * X11Keyboard.cs: Send up/down input when generating
  19813. messages. Remove some unused vars.
  19814. 2004-12-17 Jackson Harper <[email protected]>
  19815. * TabControl.cs:
  19816. * TreeView.cs: get rid of warnings.
  19817. 2004-12-17 Jackson Harper <[email protected]>
  19818. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  19819. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  19820. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  19821. CheckedListBox.cs: Implementation
  19822. 2004-12-17 Peter Bartok <[email protected]>
  19823. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  19824. 2004-12-16 Peter Bartok <[email protected]>
  19825. * TextControl.cs:
  19826. - InsertCharAtCaret(): Fixed start pos fixup
  19827. - CaretLine_get: No longer derives the line from the tag, the tag
  19828. could be stale if lines in the document have been added or deleted
  19829. - RebalanceAfterDelete(): Fixed bug in balancing code
  19830. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  19831. - Line.Streamline(): Now can also elminate leading empty tags
  19832. - DumpTree(): Added a few more tests and prevented exception on
  19833. uninitialized data
  19834. - Added Debug section for Combining lines
  19835. - Delete(): Now copies all remaining properties of a line
  19836. * TextBoxBase.cs:
  19837. - Left mousebutton now sets the caret (and middle button still acts
  19838. as formatting tester, which must go away soon)
  19839. - Added Debug section for Deleting/Combining lines
  19840. - Fixed calculations for UpdateView after Combining lines
  19841. 2004-12-16 Peter Bartok <[email protected]>
  19842. * TextControl.cs: Now properly aligns text on a baseline, using the
  19843. new XplatUI.GetFontMetrics() method. Simplified several calculations
  19844. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  19845. defined
  19846. 2004-12-16 Peter Bartok <[email protected]>
  19847. * XplatUI.cs: Added GetFontMetrics() method
  19848. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  19849. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  19850. into libgdiplus, our private GetFontMetrics function
  19851. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  19852. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  19853. 2004-12-16 Jackson Harper <[email protected]>
  19854. * XplatUIStruct.cs: Add enum for dead keys
  19855. * X11Keyboard.cs: Map and unmap dead keys.
  19856. 2004-12-16 Jackson Harper <[email protected]>
  19857. * X11Keyboard.cs: Detect and use the num lock mask.
  19858. 2004-12-16 Peter Bartok <[email protected]>
  19859. * Control.cs (CreateGraphics): Added check to make sure the
  19860. handle of the window exists before calling Graphics.FromHwnd()
  19861. 2004-12-16 Peter Bartok <[email protected]>
  19862. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  19863. contains a lot of code that's not supposed to be there for the
  19864. real thing, but required for developing/testing the textbox
  19865. backend.
  19866. 2004-12-16 Peter Bartok <[email protected]>
  19867. * TextControl.cs:
  19868. - Fixed Streamline method
  19869. - Added FindTag method to Line
  19870. - Added DumpTree method for debugging
  19871. - Added DecrementLines() method for deleting lines
  19872. - Fixed UpdateView to update the cursor to end-of-line on single-line
  19873. updates
  19874. - Added PositionCaret() method
  19875. - Fixed MoveCaret(LineDown) to move into the last line, too
  19876. - Added InsertChar overload
  19877. - Fixed InsertChar tag offset calculations
  19878. - Added DeleteChar() method
  19879. - Added Combine() method for folding lines
  19880. - Fixed Delete() method, no longer allocates wasted Line object and
  19881. now copies all properties when swapping nodes
  19882. - Delete() method now updates document line counter
  19883. 2004-12-15 Jackson Harper <[email protected]>
  19884. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  19885. * X11Keyboard.cs: Expose the currently selected modifier keys
  19886. through a property.
  19887. 2004-12-15 Peter Bartok <[email protected]>
  19888. * TextControl.cs: Initial check-in. Still incomplete
  19889. 2004-12-15 Jackson Harper <[email protected]>
  19890. * TreeNode.cs:
  19891. * TreeView.cs: Fix build on csc (second time today ;-))
  19892. 2004-12-15 Jackson Harper <[email protected]>
  19893. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  19894. is calculated and use this for click testing.
  19895. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  19896. 2004-12-15 Jackson Harper <[email protected]>
  19897. * TreeView.cs: Pass the nodes image index to the image list when
  19898. drawing that image.
  19899. 2004-12-15 Jackson Harper <[email protected]>
  19900. * X11Keyboard.cs: Set messages hwnd.
  19901. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  19902. post_message calls.
  19903. 2004-12-15 Jackson Harper <[email protected]>
  19904. * X11Keyboard.cs: Fix to compile with csc.
  19905. 2004-12-15 Jackson Harper <[email protected]>
  19906. * X11Structs.cs: Add key mask values
  19907. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  19908. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  19909. down/up foo into WM_CHAR foo
  19910. * KeyboardLayouts.cs: Common keyboard layouts
  19911. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  19912. post messages into the main queue.
  19913. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  19914. * Button.cs: implement ProcessMnemonic
  19915. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  19916. brushes everytime
  19917. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  19918. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  19919. 2004-12-12 John BouAntoun <[email protected]>
  19920. * MonthCalendar.cs: Implemented click-hold for next/previous month
  19921. and date selection
  19922. 2004-12-11 Peter Bartok <[email protected]>
  19923. * X11Structs.cs:
  19924. - Added XKeyboardState (moved from XplatUIX11.cs)
  19925. - Added XCreateGC related enums and structures
  19926. - Added GXFunction for XSetFunction
  19927. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  19928. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  19929. CaretVisible() calls
  19930. * ToolTip.cs: Added code to prevent stealing focus from app windows
  19931. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  19932. DestroyCaret, SetCaretPos and CaretVisible)
  19933. * XplatUIX11.cs:
  19934. - Added implementation for caret functions
  19935. - Moved hover variables into a struct, to make it a bit easier
  19936. on the eyes and to debug
  19937. - Removed XKeyboardState (moved to XplatUIX11.cs)
  19938. - Moved Keyboard properties into the properties region
  19939. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  19940. call to get a graphics context for our control
  19941. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  19942. * TreeView.cs: Fixed bug. No matter what color was set it would always
  19943. return SystemColors.Window
  19944. * XplatUIWin32.cs: Implemented caret overrides
  19945. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  19946. * ListBox.cs: fire events, implement missing methods and properties,
  19947. sorting.
  19948. 2004-12-10 John BouAntoun <[email protected]>
  19949. * MonthCalendar.cs: invalidation bug fixing
  19950. * ThemeWin32Classic.cs: paint fixing
  19951. 2004-12-09 Geoff Norton <[email protected]>
  19952. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  19953. prepare the CGContextRef there now.
  19954. 2004-12-09 John BouAntoun <[email protected]>
  19955. * MonthCalendar.cs:
  19956. - optimisationL only invalidate areas that have changed
  19957. * ThemeWin32Classic.cs:
  19958. - only paint parts that intersect with clip_area
  19959. 2004-12-09 Peter Bartok <[email protected]>
  19960. * Application.cs: Undid changes from r37004 which cause problems
  19961. on X11
  19962. 2004-12-09 Ravindra <[email protected]>
  19963. * ToolBar.cs: Added support for displaying ContextMenu
  19964. attached to a button on ToolBar.
  19965. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  19966. property.
  19967. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  19968. * Label.cs: autosize works in text change and removes unnecessary
  19969. invalidate
  19970. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  19971. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  19972. remove warnings
  19973. 2004-12-08 Geoff Norton <[email protected]>
  19974. * XplatUIOSX.cs: Added mouse move/click/grab support
  19975. Remove some debugging WriteLines not needed anymore.
  19976. Add window resizing/positioning.
  19977. Fix visibility on reparenting.
  19978. 2004-12-08 Peter Bartok <[email protected]>
  19979. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  19980. 2004-12-07 Geoff Norton <[email protected]>
  19981. * XplatUIOSX.cs: Initial checkin
  19982. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  19983. 2004-12-03 Ravindra <[email protected]>
  19984. * ListView.cs: Added some keybindings and fixed scrolling.
  19985. ScrollBars listen to ValueChanged event instead of Scroll
  19986. Event. This would let us take care of all changes being
  19987. done in the scrollbars' values programmatically or manually.
  19988. * ListView.cs (CanMultiselect): Added a check for shift key.
  19989. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  19990. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  19991. of ListViewSubItemCollection as well.
  19992. 2004-12-06 Peter Bartok <[email protected]>
  19993. * Control.cs (Parent): Added check and exception to prevent
  19994. circular parenting
  19995. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  19996. * ListBox.cs: implemented clipping, selection single and multiple,
  19997. bug fixing
  19998. 2004-12-03 Ravindra <[email protected]>
  19999. * ListView.cs (ListView_KeyDown):
  20000. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  20001. when CTRL key is pressed.
  20002. * ListViewItem.cs (Selected): Fixed setting the property.
  20003. 2004-12-03 Marek Safar <[email protected]>
  20004. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  20005. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  20006. MinimizeBox, ShowInTaskbar, TopMost properties.
  20007. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  20008. will be implemented).
  20009. 2004-12-03 Marek Safar <[email protected]>
  20010. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  20011. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  20012. tests.
  20013. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  20014. * TreeView.cs: BackColor is Colors.Window.
  20015. 2004-12-01 Jackson Harper <[email protected]>
  20016. * TreeView.cs: When resizing the tree if the user is making it
  20017. smaller we don't get expose events, so we need to handle adding
  20018. the horizontal scrollbar in the size changed handler as well as
  20019. the expose handler.
  20020. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  20021. * DrawItemState.cs: fixes wrong enum values
  20022. 2004-12-01 Jackson Harper <[email protected]>
  20023. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  20024. 2004-12-01 Jackson Harper <[email protected]>
  20025. * NodeLabelEditEventArgs.cs:
  20026. * NodeLabelEditEventHandler.cs:
  20027. * OpenTreeNodeEnumerator.cs:
  20028. * TreeNode.cs:
  20029. * TreeNodeCollection.cs:
  20030. * TreeView.cs:
  20031. * TreeViewAction.cs:
  20032. * TreeViewCancelEventArgs.cs:
  20033. * TreeViewCancelEventHandler.cs:
  20034. * TreeViewEventArgs.cs:
  20035. * TreeViewEventHandler.cs: Initial implementation.
  20036. 2004-12-01 Ravindra <[email protected]>
  20037. * ListView.cs (CalculateListView): Fixed scrolling related
  20038. calculations. Also, removed some debug statements from other
  20039. places.
  20040. * ListViewItem.cs: Changed access to 'selected' instance variable
  20041. from private to internal.
  20042. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  20043. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  20044. * ThemeWin32Classic.cs: remove cache of brush and pens for
  20045. specific controls and use the global system, fixes scrollbutton
  20046. bugs (for small sizes, disabled, etc)
  20047. * ScrollBar.cs: does not show the thumb for very small controls
  20048. (as MS) and allow smaller buttons that the regular size
  20049. 2004-12-01 Miguel de Icaza <[email protected]>
  20050. * UpDownBase.cs: Add abstract methods for the interface.
  20051. Add new virtual methods (need to be hooked up to TextEntry when it
  20052. exists).
  20053. Add override methods for most features.
  20054. Computes the size, forces the height of the text entry.
  20055. * NumericUpDown.cs: Put here the current testing code.
  20056. * Set eol-style property on all files that do not have mixed line
  20057. endings, to minimize the future problems. There are still a few
  20058. files with mixed endings, and someone should choose whether they
  20059. want to move it or not.
  20060. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  20061. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  20062. System.Colors
  20063. 2004-11-30 Ravindra <[email protected]>
  20064. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  20065. drawing and replaced use of SystemColors by theme colors.
  20066. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  20067. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  20068. same ListViewItem is being added more than once.
  20069. 2004-11-30 John BouAntoun <[email protected]>
  20070. * MonthCalendar.cs:
  20071. - ControlStyles love to make the control not flicker
  20072. 2004-11-30 Peter Bartok <[email protected]>
  20073. * CharacterCasing.cs: Added
  20074. 2004-11-29 Peter Bartok <[email protected]>
  20075. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  20076. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  20077. I am removing these files as they conflict with already completed
  20078. work. While it is fantastic to get contributions to MWF, I
  20079. respectfully ask that everyone please coordinate their contributions
  20080. through mono-winforms-list or #mono-winforms at this time. We're
  20081. explicitly avoiding stubbing and don't want controls that don't have
  20082. their basic functionality implemented in svn. Please also see
  20083. http://www.mono-project.com/contributing/winforms.html
  20084. 2004-11-29 Marek Safar <[email protected]>
  20085. * Application.cs (ModalRun): Don't hang after exit.
  20086. * Theme.cs: New TreeViewDefaultSize property.
  20087. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  20088. with less hardcoded SystemColors constant.
  20089. Implemented TreeViewDefaultSize.
  20090. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  20091. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  20092. 2004-11-29 John BouAntoun <[email protected]>
  20093. * MonthCalendar.cs:
  20094. - Fix NextMonthDate and PrevMonthDate click moving calendar
  20095. 2004-11-26 John BouAntoun <[email protected]>
  20096. * MonthCalendar.cs:
  20097. - Fix usage of ScrollChange Property when scrolling months
  20098. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  20099. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  20100. - Fixes menu destroying
  20101. - Support adding and removing items on already created menus
  20102. 2004-11-26 John BouAntoun <[email protected]>
  20103. * MonthCalendar.cs:
  20104. - Re-worked all bolded dates handling to match win32
  20105. * ThemeWin32Classic.cs:
  20106. - Fixed rendering with bolded dates
  20107. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  20108. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  20109. - Horizontal scroolbar
  20110. - Multicolumn
  20111. - Fixes
  20112. 2004-11-25 John BouAntoun <[email protected]>
  20113. * MonthCalendar.cs:
  20114. - Fix Usage of MaxSelectionCount from SelectionRange
  20115. - Fixed Shift + Cursor Selection
  20116. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  20117. - Fixed normal cursor selection to be compat with win32
  20118. - Fixed Shift + Mouse Click selection
  20119. 2004-11-24 Peter Bartok <[email protected]>
  20120. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  20121. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  20122. * XplatUIX11.cs:
  20123. - CreatedKeyBoardMsg now updates keystate with Alt key
  20124. - Added workaround for timer crash to CheckTimers, Jackson will
  20125. develop a proper fix and check in later
  20126. - Implemented DispatchMessage
  20127. - Removed calling the native window proc from GetMessage (call
  20128. now moved to DispatchMessage)
  20129. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  20130. the keydata (Fixes bug #69831)
  20131. * XplatUIWin32.cs:
  20132. - (DispatchMessage): Switched to return IntPtr
  20133. - Added DllImport for SetFocus
  20134. 2004-11-24 Ravindra <[email protected]>
  20135. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  20136. background drawing.
  20137. * ListViewItem.cs: Fixed various properties, calculations
  20138. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  20139. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  20140. and some internal properties. Fixed MouseDown handler and Paint
  20141. method.
  20142. 2004-11-24 John BouAntoun <[email protected]>
  20143. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  20144. 2004-11-24 John BouAntoun <[email protected]>
  20145. * ContainerControl.cs: correct accidental check in of local changes
  20146. 2004-11-24 John BouAntoun <[email protected]>
  20147. * ThemeWin32Classic.cs:
  20148. - Fixed Drawing Last month in grid (sometimes not showing)
  20149. * MonthCalendar.cs:
  20150. - Fixed title width calculation bug (makeing title small)
  20151. 2004-11-23 Peter Bartok <[email protected]>
  20152. * XplatUIX11.cs:
  20153. - Added generation of WM_MOUSEHOVER event
  20154. - Added missing assignment of async_method atom
  20155. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  20156. 2004-11-23 John BouAntoun <[email protected]>
  20157. * ThemeWin32Classic.cs:
  20158. - Fixed Drawing of today circle when showtodaycircle not set
  20159. - fixed drawing of first and last month in the grid (gay dates)
  20160. * MonthCalendar.cs:
  20161. - Fixed Drawing of today circle
  20162. - Fixed drawing of grady dates
  20163. - Fixed HitTest for today link when ShowToday set to false
  20164. - Fixed DefaultSize to obey ShowToday
  20165. 2004-11-23 John BouAntoun <[email protected]>
  20166. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  20167. * System.Windows.Forms/Theme.cs
  20168. * MonthCalendar.cs: added for MonthCalendar
  20169. * SelectionRange.cs: added for MonthCalendar
  20170. * Day.cs: added for MonthCalendar: added for MonthCalendar
  20171. * DateRangeEventArgs.cs: added for MonthCalendar
  20172. * DateRangeEventHandler.cs: added for MonthCalendar
  20173. 2004-11-22 Ravindra <[email protected]>
  20174. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  20175. property.
  20176. 2004-11-22 Miguel de Icaza <[email protected]>
  20177. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  20178. event handler.
  20179. * NumericUpDown.cs: Added new implementation.
  20180. * UpDownBase.cs: Added new implementation.
  20181. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  20182. implementations.
  20183. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  20184. implementations.
  20185. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  20186. methods.
  20187. 2004-11-21 Miguel de Icaza <[email protected]>
  20188. * Timer.cs (Dispose): Should call the base dispose when
  20189. overriding.
  20190. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  20191. * ScrollBar.cs: updates thumb position when max, min or increment
  20192. is changed
  20193. 2004-11-21 Ravindra <[email protected]>
  20194. * ListView.cs: Implemented item selection, activation and
  20195. column header style. Fixed properties to do a redraw, if
  20196. required. Added support for MouseHover, DoubleClick, KeyDown
  20197. and KeyUp event handling and some minor fixes.
  20198. * ListViewItem.cs: Fixed constructor.
  20199. * ThemeWin32Classic.cs: Improved drawing for ListView.
  20200. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  20201. * ThemeWin32Classic.cs: initial listbox drawing code
  20202. * DrawMode.cs: new enumerator
  20203. * ListControl.cs: stubbed class
  20204. * ListBox.cs: initial implementation
  20205. * Theme.cs: new methods definitions
  20206. * SelectionMode.cs: new enumerator
  20207. 2004-11-17 Peter Bartok <[email protected]>
  20208. * XplatUIWin32.cs: Added double-click events to the class style
  20209. * Control.cs (WndProc):
  20210. - Added handling of click-count to MouseDown/ MouseUp events.
  20211. - Added handling of middle and right mouse buttons
  20212. - Removed old debug code
  20213. 2004-11-17 Jackson Harper <[email protected]>
  20214. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  20215. 2004-11-17 Ravindra <[email protected]>
  20216. * ListView.cs: Added event handling for MouseMove/Up/Down.
  20217. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  20218. * ThemeWin32Classic.cs: We need to clear the graphics context and
  20219. draw column header in a proper state.
  20220. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  20221. * Menu.cs: fixes signature
  20222. 2004-11-16 Peter Bartok <[email protected]>
  20223. * XplatUIX11.cs (GetMessage): Implemented generation of
  20224. double click mouse messages
  20225. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  20226. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  20227. not by menu
  20228. 2004-11-11 Peter Bartok <[email protected]>
  20229. * HandleData.cs: Added Visible property
  20230. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  20231. HandleData
  20232. * XplatUIX11.cs: Removed old debug leftovers
  20233. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  20234. * Control.cs (WndProc): Removed old debug leftovers,
  20235. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  20236. needed WM_SIZE handling
  20237. 2004-11-11 Jackson Harper <[email protected]>
  20238. * OwnerDrawPropertyBag.cs:
  20239. * TreeViewImageIndexConverter.cs: Initial implementation
  20240. 2004-11-10 Jackson Harper <[email protected]>
  20241. * ThemeWin32Classic.cs:
  20242. * TabControl.cs: instead of moving tabs by the slider pos just
  20243. start drawing at the tab that is offset by the slider. This way
  20244. scrolling always moves by exactly one tab.
  20245. 2004-11-10 Jackson Harper <[email protected]>
  20246. * TabControl.cs: You can only scroll left when the slider has
  20247. already ben moved right.
  20248. 2004-11-10 Jackson Harper <[email protected]>
  20249. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  20250. the clip area.
  20251. 2004-11-10 Jackson Harper <[email protected]>
  20252. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  20253. clip area.
  20254. 2004-11-09 Jackson Harper <[email protected]>
  20255. * TabControl.cs (CalcXPos): New helper method so we can determine
  20256. the proper place to start drawing vertical tabs.
  20257. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  20258. 2004-11-09 Jackson Harper <[email protected]>
  20259. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  20260. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  20261. and Bottom, left and right are illegal values for this and
  20262. multiline is enabled when the alignment is set to left or right.
  20263. (DrawTab): Each alignment block should draw the text itself now
  20264. because Left requires special love. Also add rendering for Left
  20265. aligned tabs.
  20266. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  20267. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  20268. does not destroy the windows, removes debugging messages
  20269. 2004-11-09 jba <[email protected]>
  20270. * ThemeWin32Classic.cs
  20271. (DrawButtonBase): Fix verticle text rect clipping in windows
  20272. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  20273. rendering and incorrect text rect clipping
  20274. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  20275. rendering and incorrect text rect clipping
  20276. 2004-11-08 Jackson Harper <[email protected]>
  20277. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  20278. bottom when they are bottom aligned so the bottoms of the tabs get
  20279. displayed.
  20280. * TabControl.cs (DropRow): Move rows up instead of down when the
  20281. tab control is bottom aligned.
  20282. 2004-11-08 13:59 pbartok
  20283. * XplatUIX11.cs:
  20284. - Added handling for various window styles
  20285. - Added handling for popup windows
  20286. - Added SetTopmost handling
  20287. 2004-11-08 13:55 pbartok
  20288. * XplatUIWin32.cs:
  20289. - Added argument to SetTopmost method
  20290. - Fixed broken ClientToScreen function
  20291. 2004-11-08 13:53 pbartok
  20292. * XplatUIStructs.cs:
  20293. - Added missing WS_EX styles
  20294. 2004-11-08 13:53 pbartok
  20295. * XplatUI.cs, XplatUIDriver.cs:
  20296. - Added argument to SetTopmost
  20297. 2004-11-08 13:52 pbartok
  20298. * X11Structs.cs:
  20299. - Added XSetWindowAttributes structure
  20300. - Improved XWindowAttributes structure
  20301. - Added SetWindowValuemask enum
  20302. - Added window creation arguments enum
  20303. - Added gravity enum
  20304. - Added Motif hints structure
  20305. - Added various Motif flags and enums
  20306. - Added PropertyMode enum for property functions
  20307. 2004-11-08 13:50 pbartok
  20308. * Form.cs:
  20309. - Fixed arguments for updated SetTopmost method
  20310. 2004-11-08 13:49 pbartok
  20311. * ToolTip.cs:
  20312. - Fixed arguments for updated SetTopmost function
  20313. - Fixed usage of PointToClient
  20314. 2004-11-08 13:44 pbartok
  20315. * MenuAPI.cs:
  20316. - Added Clipping of children and siblings
  20317. 2004-11-08 13:41 pbartok
  20318. * MainMenu.cs:
  20319. - Removed SetMenuBarWindow call. We do this in Form.cs
  20320. 2004-11-08 13:40 jackson
  20321. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  20322. scrolling jimmi in the correct location with bottom aligned tabs
  20323. 2004-11-08 13:36 pbartok
  20324. * ContainerControl.cs:
  20325. - Implemented BindingContext
  20326. - Implemented ParentForm
  20327. 2004-11-08 12:46 jackson
  20328. * TabControl.cs: Put bottom rendered tabs in the right location
  20329. 2004-11-08 07:15 jordi
  20330. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  20331. removes dead code
  20332. 2004-11-05 17:30 jackson
  20333. * TabControl.cs: When selected tabs are expanded make sure they
  20334. don't go beyond the edges of the tab control
  20335. 2004-11-05 14:57 jackson
  20336. * TabControl.cs: Reset show_slider so if the control is resized to
  20337. a size where it is no longer needed it's not displayed anymore
  20338. 2004-11-05 13:16 jackson
  20339. * TabControl.cs: Make tab pages non visible when added to the
  20340. control
  20341. 2004-11-05 12:42 jackson
  20342. * TabControl.cs: Implement SizeMode.FillToRight
  20343. 2004-11-05 12:16 jackson
  20344. * Control.cs: Do not call CreateHandle if the handle is already
  20345. created
  20346. 2004-11-05 11:46 jackson
  20347. * TabControl.cs: Remove superflous call to CalcTabRows
  20348. 2004-11-05 09:07 jackson
  20349. * XplatUIX11.cs: Update for Mono.Posix changes
  20350. 2004-11-05 07:00 ravindra
  20351. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  20352. scrolling.
  20353. 2004-11-04 22:47 jba
  20354. * ThemeWin32Classic.cs:
  20355. - Fix Button rendering for FlatStyle = Flat or Popup
  20356. - Fix RadioButton and CheckBox rendering when Appearance = Button
  20357. (normal and flatstyle).
  20358. - Correct outer rectangle color when drawing focus rectangle
  20359. - Adjust button bounds to be 1 px smaller when focused
  20360. - Make button not draw sunken 3d border when pushed (windows compat)
  20361. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  20362. - Offset the text in RadioButton and Checkbox when being rendered as
  20363. a button.
  20364. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  20365. radiobuttons
  20366. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  20367. - Fixed disabled text rendering for normally rendered radiobuttons
  20368. 2004-11-04 10:26 jackson
  20369. * TabControl.cs: Recalculate tab rows when resizing
  20370. 2004-11-04 07:47 jordi
  20371. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  20372. collection completion, drawing issues, missing features
  20373. 2004-11-04 05:03 ravindra
  20374. * ScrollBar.cs:
  20375. - We need to recalculate the Thumb area when
  20376. LargeChange/maximum/minimum values are changed.
  20377. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  20378. than minimum. This is required to handle the case if large_change is
  20379. more than max, and use LargeChange property instead of large_change
  20380. variable.
  20381. - We return max+1 when large_change is more than max, like MS does.
  20382. 2004-11-04 04:29 ravindra
  20383. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  20384. - Changed default value signatures (prefixed all with ListView).
  20385. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  20386. ListView.
  20387. - Fixed calculations for ListViewItem and implemented Clone()
  20388. method.
  20389. 2004-11-04 04:26 ravindra
  20390. * Theme.cs, ThemeWin32Classic.cs:
  20391. - Changed default ListView values signatures (prefixed all with
  20392. ListView).
  20393. - Fixed default size values for VScrollBar and HScrollBar.
  20394. - Fixed DrawListViewItem method.
  20395. 2004-11-04 04:05 ravindra
  20396. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  20397. 2004-11-04 04:04 ravindra
  20398. * ImageList.cs: Implemented the missing overload for Draw method.
  20399. 2004-11-03 19:29 jackson
  20400. * TabControl.cs: Handle dropping rows on selection properly
  20401. 2004-11-03 11:59 jackson
  20402. * TabControl.cs: remove debug code
  20403. 2004-11-03 11:52 jackson
  20404. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  20405. the scrolly widgerywoo
  20406. 2004-11-02 13:52 jackson
  20407. * TabControl.cs: Resize the tab pages and tabs when the tab control
  20408. is resized
  20409. 2004-11-02 13:40 jackson
  20410. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  20411. selected tab to the bottom
  20412. 2004-11-02 13:39 jackson
  20413. * TabPage.cs: Store the tab pages row
  20414. 2004-11-02 12:33 jordi
  20415. * MenuItem.cs: fixes handle creation
  20416. 2004-11-02 11:42 jackson
  20417. * TabControl.cs: signature fix
  20418. 2004-11-02 08:56 jackson
  20419. * TabControl.cs: Calculate whether the tab is on an edge properly.
  20420. Remove top secret debugging code
  20421. 2004-11-01 19:57 jackson
  20422. * TabControl.cs: Add click handling, and proper sizing
  20423. 2004-11-01 19:47 jackson
  20424. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  20425. tab controls
  20426. 2004-11-01 19:39 jackson
  20427. * TabPage.cs: add internal property to store the bounds of a tab
  20428. page
  20429. 2004-10-30 04:23 ravindra
  20430. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  20431. values.
  20432. 2004-10-30 04:21 ravindra
  20433. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  20434. fixed calculations.
  20435. 2004-10-30 03:06 pbartok
  20436. * XplatUIX11.cs:
  20437. - Removed extension of DllImported libs
  20438. 2004-10-29 09:55 jordi
  20439. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  20440. navigation, itemcollection completion, menu fixes
  20441. 2004-10-27 22:58 pbartok
  20442. * XplatUIX11.cs:
  20443. - Now throws a nice error message when no X display could be opened
  20444. 2004-10-26 13:51 jordi
  20445. * ListView.cs: removes warning
  20446. 2004-10-26 03:55 ravindra
  20447. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  20448. ThemeWin32Classic.cs: Some formatting for my last checkins.
  20449. 2004-10-26 03:36 ravindra
  20450. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  20451. control and default values.
  20452. 2004-10-26 03:35 ravindra
  20453. * Theme.cs: Added some default values for ListView control.
  20454. 2004-10-26 03:33 ravindra
  20455. * ToolBar.cs: ToolBar should use the user specified button size, if
  20456. there is any. Added a size_specified flag for the same.
  20457. 2004-10-26 03:33 ravindra
  20458. * ColumnHeader.cs: Added some internal members and calculations for
  20459. ColumnHeader.
  20460. 2004-10-26 03:32 ravindra
  20461. * ListViewItem.cs: Calculations for ListViewItem.
  20462. 2004-10-26 03:31 ravindra
  20463. * ListView.cs: Added some internal members and calculations for
  20464. ListView.
  20465. 2004-10-22 13:31 jordi
  20466. * MenuAPI.cs: speedup menus drawing
  20467. 2004-10-22 13:16 jackson
  20468. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  20469. expose event
  20470. 2004-10-22 11:49 jackson
  20471. * Control.cs: oops
  20472. 2004-10-22 11:41 jackson
  20473. * Control.cs: Check to see if the window should have its background
  20474. repainted by X when drawing.
  20475. 2004-10-22 11:31 jackson
  20476. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  20477. clear is true, this way we do not get flicker from X repainting the
  20478. background
  20479. 2004-10-22 11:28 jackson
  20480. * XEventQueue.cs: Queue properly
  20481. 2004-10-21 09:38 jackson
  20482. * XEventQueue.cs: Fix access modifier
  20483. 2004-10-21 09:36 jackson
  20484. * XEventQueue.cs: Don't loose messages
  20485. 2004-10-21 09:22 jackson
  20486. * XEventQueue.cs: Don't loose messages
  20487. 2004-10-20 04:15 jordi
  20488. * BootMode.cs: enum need it by SystemInfo
  20489. 2004-10-19 21:58 pbartok
  20490. * XplatUIWin32.cs:
  20491. - Small sanity check
  20492. 2004-10-19 21:56 pbartok
  20493. * Form.cs:
  20494. - Added private FormParentWindow class which acts as the container
  20495. for our form and as the non-client area where menus are drawn
  20496. - Added/Moved required tie-ins to Jordi's menus
  20497. - Fixed/Implemented the FormStartPosition functionality
  20498. 2004-10-19 21:52 pbartok
  20499. * Control.cs:
  20500. - Removed unneeded locals
  20501. - Added code to all size and location properties to understand and
  20502. deal with the parent container of Form
  20503. 2004-10-19 21:33 pbartok
  20504. * Application.cs:
  20505. - Fixed to deal with new Form subclasses for menus
  20506. 2004-10-19 17:48 jackson
  20507. * XEventQueue.cs: commit correct version of file
  20508. 2004-10-19 16:50 jackson
  20509. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  20510. 2004-10-19 16:15 jordi
  20511. * MenuAPI.cs: MenuBarCalcSize returns the height
  20512. 2004-10-19 08:31 pbartok
  20513. * Control.cs:
  20514. - Added missing call to PreProcessMessage before calling OnXXXKey
  20515. methods
  20516. 2004-10-19 00:04 ravindra
  20517. * ToolTip.cs: Fixed constructor.
  20518. 2004-10-18 09:31 jordi
  20519. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  20520. 2004-10-18 09:26 jordi
  20521. * MenuItem.cs: fixes MenuItem class signature
  20522. 2004-10-18 08:56 jordi
  20523. * MenuAPI.cs: prevents windows from showing in the taskbar
  20524. 2004-10-18 00:28 ravindra
  20525. * ToolTip.cs: Suppressed a warning message.
  20526. 2004-10-18 00:27 ravindra
  20527. * Control.cs: Default value of visible property must be true.
  20528. 2004-10-17 23:19 pbartok
  20529. * ToolTip.cs:
  20530. - Complete implementation
  20531. 2004-10-17 23:19 pbartok
  20532. * XplatUIX11.cs:
  20533. - Added EnableWindow method
  20534. - Added SetModal stub
  20535. - Added generation of WM_ACTIVATE message (still needs testing)
  20536. - Added SetTopMost stub
  20537. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  20538. 2004-10-17 23:17 pbartok
  20539. * XplatUIWin32.cs:
  20540. - Removed VirtualKeys to XplatUIStructs
  20541. - Implemented SetTopMost method
  20542. - Implemented EnableWindow method
  20543. - Bugfix in ScreenToClient()
  20544. - Bugfixes in ClientToScreen()
  20545. 2004-10-17 22:51 pbartok
  20546. * XplatUIStructs.cs:
  20547. - Added WS_EX styles to WindowStyles enumeration
  20548. 2004-10-17 22:50 pbartok
  20549. * XplatUI.cs, XplatUIDriver.cs:
  20550. - Added method for enabling/disabling windows
  20551. - Added method for setting window modality
  20552. - Added method for setting topmost window
  20553. 2004-10-17 22:49 pbartok
  20554. * ThemeWin32Classic.cs:
  20555. - Added ToolTip drawing code
  20556. 2004-10-17 22:49 pbartok
  20557. * Theme.cs:
  20558. - Added ToolTip abstracts
  20559. 2004-10-17 22:47 pbartok
  20560. * Form.cs:
  20561. - Fixed Form.ControlCollection to handle owner relations
  20562. - Added Owner/OwnedForms handling
  20563. - Implemented Z-Ordering for owned forms
  20564. - Removed unneeded private overload of ShowDialog
  20565. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  20566. so I hope)
  20567. - Fixed Close(), had wrong default
  20568. - Added firing of OnLoad event
  20569. - Added some commented out debug code for Ownership handling
  20570. 2004-10-17 22:16 pbartok
  20571. * Control.cs:
  20572. - Fixed/implemented flat list of controls
  20573. 2004-10-17 22:14 pbartok
  20574. * Application.cs:
  20575. - Added code to simulate modal dialogs on Win32
  20576. 2004-10-17 16:11 jordi
  20577. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  20578. mouse event
  20579. 2004-10-17 13:39 jordi
  20580. * MenuAPI.cs: menu drawing fixes
  20581. 2004-10-15 09:10 ravindra
  20582. * StructFormat.cs: General Enum.
  20583. 2004-10-15 09:09 ravindra
  20584. * SizeGripStyle.cs: Enum for Form.
  20585. 2004-10-15 09:08 ravindra
  20586. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  20587. in Theme for ListView.
  20588. 2004-10-15 09:06 ravindra
  20589. * ColumnHeader.cs: Flushing some formatting changes.
  20590. 2004-10-15 09:05 ravindra
  20591. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  20592. style.
  20593. 2004-10-15 09:03 ravindra
  20594. * ListView.cs: Implemented Paint method and fixed coding style.
  20595. 2004-10-15 07:34 jordi
  20596. * MenuAPI.cs: fix for X11
  20597. 2004-10-15 07:32 ravindra
  20598. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  20599. - Renamed Paint() method to Draw() for clarity. Also, moved
  20600. DrawImage() to OnPaint().
  20601. 2004-10-15 07:25 ravindra
  20602. * CheckBox.cs, RadioButton.cs:
  20603. - Removed Redraw (), we get it from ButtonBase.
  20604. - Implemented Paint (), to do class specific painting.
  20605. 2004-10-15 07:16 ravindra
  20606. * ButtonBase.cs:
  20607. - Redraw () is not virtual now.
  20608. - Added an internal virtual method Paint (), so that
  20609. derived classes can do their painting on their own.
  20610. - Modified OnPaint () to call Paint ().
  20611. 2004-10-15 06:43 jordi
  20612. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  20613. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  20614. 2004-10-15 00:30 ravindra
  20615. * MessageBox.cs:
  20616. - MessageBox on windows does not have min/max buttons.
  20617. This change in CreateParams fixes this on Windows. We
  20618. still need to implement this windowstyle behavior in
  20619. our X11 driver.
  20620. 2004-10-14 05:14 ravindra
  20621. * ToolBar.cs:
  20622. - Changed Redraw () to do a Refresh () always.
  20623. - Fixed the MouseMove event handling when mouse is pressed,
  20624. ie drag event handling.
  20625. - Replaced the usage of ToolBarButton.Pressed property to
  20626. ToolBarButton.pressed internal variable.
  20627. 2004-10-14 05:10 ravindra
  20628. * ToolBarButton.cs:
  20629. - Added an internal member 'inside' to handle mouse move
  20630. with mouse pressed ie mouse drag event.
  20631. - Changed 'Pressed' property to return true only when
  20632. 'inside' and 'pressed' are both true.
  20633. - Some coding style love.
  20634. 2004-10-14 00:17 ravindra
  20635. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  20636. public method.
  20637. 2004-10-14 00:15 ravindra
  20638. * ButtonBase.cs: Redraw () related improvements.
  20639. 2004-10-14 00:14 ravindra
  20640. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  20641. removed unnecessary calls to Button.Show () method.
  20642. 2004-10-13 17:50 pbartok
  20643. * XplatUIX11.cs:
  20644. - Formatting fix
  20645. - Removed destroying of window until we solve the problem of X
  20646. destroying the window before us on shutdown
  20647. 2004-10-13 16:32 pbartok
  20648. * ButtonBase.cs:
  20649. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  20650. 2004-10-13 14:18 pbartok
  20651. * XplatUIX11.cs:
  20652. - Added code to destroy the X window
  20653. 2004-10-13 14:18 pbartok
  20654. * XplatUIWin32.cs:
  20655. - Added code to destroy a window
  20656. 2004-10-13 14:12 pbartok
  20657. * ButtonBase.cs:
  20658. - Added the Redraw on Resize that got dropped in the last rev
  20659. 2004-10-13 09:06 pbartok
  20660. * ThemeWin32Classic.cs:
  20661. - Path from John BouAntoun:
  20662. * Fix check rendering (centre correctly for normal style, offset
  20663. correctly for FlatStyle).
  20664. * Fix border color usage (use backcolor) for FlatStyle.Popup
  20665. * Use checkbox.Capture instead of checkbox.is_pressed when
  20666. rendering flatstyle states.
  20667. 2004-10-12 21:48 pbartok
  20668. * ThemeWin32Classic.cs:
  20669. - Removed all occurences of SystemColors and replaced them with the
  20670. matching theme color
  20671. 2004-10-12 21:41 pbartok
  20672. * ThemeWin32Classic.cs:
  20673. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  20674. him using the function for flatstyle drawing
  20675. - Changed functions to use the new version of CPDrawBorder3D
  20676. 2004-10-12 21:15 pbartok
  20677. * ControlPaint.cs:
  20678. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  20679. match MS documentation. They need to return defined colors if the
  20680. passed color matches the configured control color. Thanks to John
  20681. BouAntoun for pointing this out.
  20682. 2004-10-12 20:57 pbartok
  20683. * Control.cs:
  20684. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  20685. color is changed
  20686. 2004-10-12 20:46 pbartok
  20687. * CheckBox.cs:
  20688. - Fix from John BouAntoun: Now properly sets the Appearance property
  20689. 2004-10-12 20:45 pbartok
  20690. * ThemeWin32Classic.cs:
  20691. - Fixes from John BouAntoun: now handles forecolors and backcolors
  20692. for flatstyle rendered controls much better; It also fixes normal
  20693. checkbox rendering when pushed or disabled.
  20694. 2004-10-08 02:50 jordi
  20695. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  20696. work
  20697. 2004-10-07 08:56 jordi
  20698. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  20699. 2004-10-06 03:59 jordi
  20700. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  20701. XplatUIWin32.cs: removes warnings from compilation
  20702. 2004-10-05 12:23 jackson
  20703. * RadioButton.cs: Fix ctor
  20704. 2004-10-05 11:10 pbartok
  20705. * MessageBox.cs:
  20706. - Partial implementation by Benjamin Dasnois
  20707. 2004-10-05 10:15 jackson
  20708. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  20709. by John BouAntoun
  20710. 2004-10-05 03:07 ravindra
  20711. * ToolBar.cs:
  20712. - Removed a private method, Draw ().
  20713. - Fixed the ButtonDropDown event handling.
  20714. - Fixed MouseMove event handling.
  20715. 2004-10-05 03:04 ravindra
  20716. * ThemeWin32Classic.cs:
  20717. - Added DrawListView method and ListViewDefaultSize property.
  20718. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  20719. - Changed DOS style CRLF to Unix format (dos2unix).
  20720. 2004-10-05 03:03 ravindra
  20721. * Theme.cs:
  20722. - Added DrawListView method and ListViewDefaultSize property.
  20723. 2004-10-05 02:42 ravindra
  20724. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  20725. clicks on DropDown arrow.
  20726. 2004-10-04 22:56 jackson
  20727. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  20728. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  20729. Control handle the buffers, derived classes should not have to
  20730. CreateBuffers themselves.
  20731. 2004-10-04 21:20 jackson
  20732. * StatusBar.cs: The control handles resizing the buffers now.
  20733. 2004-10-04 21:18 jackson
  20734. * Control.cs: When resizing the buffers should be invalidated. This
  20735. should be handled in Control not in derived classes.
  20736. 2004-10-04 14:45 jackson
  20737. * TabPage.cs: oops
  20738. 2004-10-04 02:14 pbartok
  20739. * LeftRightAlignment.cs:
  20740. - Initial check-in
  20741. 2004-10-04 01:09 jordi
  20742. * ThemeWin32Classic.cs: fixes right button position causing right
  20743. button not showing on horizontal scrollbars
  20744. 2004-10-02 13:12 pbartok
  20745. * XplatUIX11.cs:
  20746. - Simplified the Invalidate method by using an X call instead of
  20747. generating the expose ourselves
  20748. - Added an expose when the window background is changed
  20749. - Implemented ClientToScreen method
  20750. 2004-10-02 13:08 pbartok
  20751. * XplatUIWin32.cs:
  20752. - Added Win32EnableWindow method (test for implementing modal
  20753. dialogs)
  20754. - Added ClientToScreen method and imports
  20755. 2004-10-02 13:07 pbartok
  20756. * XplatUI.cs, XplatUIDriver.cs:
  20757. - Added ClientToScreen coordinate translation method
  20758. 2004-10-02 13:06 pbartok
  20759. * KeyPressEventArgs.cs:
  20760. - Fixed access level for constructor
  20761. 2004-10-02 13:06 pbartok
  20762. * NativeWindow.cs:
  20763. - Changed access level for the window_collection hash table
  20764. 2004-10-02 13:05 pbartok
  20765. * Form.cs:
  20766. - Added KeyPreview property
  20767. - Added Menu property (still incomplete, pending Jordi's menu work)
  20768. - Implemented ProcessCmdKey
  20769. - Implemented ProcessDialogKey
  20770. - Implemented ProcessKeyPreview
  20771. 2004-10-02 13:02 pbartok
  20772. * Control.cs:
  20773. - Added private method to get the Control object from the window
  20774. handle
  20775. - Implemented ContextMenu property
  20776. - Implemented PointToScreen
  20777. - Implemented PreProcessMessage
  20778. - Implemented IsInputChar
  20779. - Implemented IsInputKey
  20780. - Implemented ProcessCmdKey
  20781. - Completed ProcessKeyEventArgs
  20782. - Fixed message loop to call the proper chain of functions on key
  20783. events
  20784. - Implemented ProcessDialogChar
  20785. - Implemented ProcessDialogKey
  20786. - Implemented ProcessKeyMessage
  20787. - Implemented ProcessKeyPreview
  20788. - Added RaiseDragEvent stub (MS internal method)
  20789. - Added RaiseKeyEvent stub (MS internal method)
  20790. - Added RaiseMouseEvent stub (MS Internal method)
  20791. - Added RaisePaintEvent stub (MS Internal method)
  20792. - Added ResetMouseEventArgs stub (MS Internal method)
  20793. - Implemented RtlTranslateAlignment
  20794. - Implemented RtlTranslateContent
  20795. - Implemented RtlTranslateHorizontal
  20796. - Implemented RtlTranslateLeftRight
  20797. - Added generation of KeyPress event
  20798. 2004-10-02 05:57 ravindra
  20799. * ListViewItem.cs: Added attributes.
  20800. 2004-10-02 05:32 ravindra
  20801. * ListView.cs: Added attributes.
  20802. 2004-10-01 11:53 jackson
  20803. * Form.cs: Implement the Close method so work on MessageBox can
  20804. continue.
  20805. 2004-09-30 14:06 pbartok
  20806. * XplatUIX11.cs:
  20807. - Bug fixes
  20808. 2004-09-30 11:34 jackson
  20809. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  20810. 2004-09-30 07:26 ravindra
  20811. * ListViewItemConverter.cs: Converter for ListViewItem.
  20812. 2004-09-30 07:26 ravindra
  20813. * SortOrder.cs: Enum for ListView control.
  20814. 2004-09-30 07:25 ravindra
  20815. * ColumnHeader.cs: Supporting class for ListView control.
  20816. 2004-09-30 07:24 ravindra
  20817. * ListView.cs, ListViewItem.cs: Initial implementation.
  20818. 2004-09-30 07:20 ravindra
  20819. * ItemActivation.cs: Enum for ListView Control.
  20820. 2004-09-29 20:29 pbartok
  20821. * XplatUIX11.cs:
  20822. - Added lookup of pixel value for background color; tries to get a
  20823. color 'close' to the requested color, it avoids having to create a
  20824. colormap. Depending on the display this could mean the used color
  20825. is slightly off the desired color. Might have to change it to a more
  20826. resource intensive colormap approach, but it will work as a
  20827. workaround to avoid red screens.
  20828. 2004-09-29 14:27 jackson
  20829. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  20830. 2004-09-28 12:44 pbartok
  20831. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  20832. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  20833. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  20834. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  20835. TrackBar.cs, VScrollBar.cs:
  20836. - Streamlined Theme interfaces:
  20837. * Each DrawXXX method for a control now is passed the object for
  20838. the control to be drawn in order to allow accessing any state the
  20839. theme might require
  20840. * ControlPaint methods for the theme now have a CP prefix to avoid
  20841. name clashes with the Draw methods for controls
  20842. * Every control now retrieves it's DefaultSize from the current
  20843. theme
  20844. 2004-09-28 12:17 jackson
  20845. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  20846. drawing
  20847. 2004-09-24 14:57 jackson
  20848. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  20849. Gives us a nice little performance boost.
  20850. 2004-09-24 12:02 jackson
  20851. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  20852. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  20853. Control and supporting classes. Initial checkin
  20854. 2004-09-23 13:08 jackson
  20855. * Form.cs: Temp build fixage
  20856. 2004-09-23 01:39 ravindra
  20857. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  20858. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  20859. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  20860. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  20861. EventHandlers needed by ListView Control.
  20862. 2004-09-22 14:12 pbartok
  20863. * ScrollableControl.cs:
  20864. - Implemented DockPadding property
  20865. - Implemented AutoScroll property
  20866. - Implemented AutoScrollMargin property
  20867. - Implemented AutoScrollMinSize property
  20868. - Implemented AutoScrollPosition property
  20869. - Implemented DisplayRectangle property (still incomplete)
  20870. - Implemented CreateParams property
  20871. - Implemented HScroll property
  20872. - Implemented VScroll property
  20873. - Implemented OnVisibleChanged property
  20874. 2004-09-22 14:09 pbartok
  20875. * Form.cs:
  20876. - Added Form.ControllCollection class
  20877. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  20878. RemoveOwnedForm (still incomplete, missing on-top and common
  20879. minimize/maximize behaviour)
  20880. - Added StartPosition property (still incomplete, does not use when
  20881. creating the form)
  20882. - Added ShowDialog() methods (still incomplete, missing forcing the
  20883. dialog modal)
  20884. 2004-09-22 14:05 pbartok
  20885. * Application.cs:
  20886. - Added message loop for modal dialogs
  20887. 2004-09-22 14:02 pbartok
  20888. * GroupBox.cs:
  20889. - Fixed wrong types for events
  20890. 2004-09-22 14:00 pbartok
  20891. * Shortcut.cs, FormWindowState.cs:
  20892. - Fixed wrong values
  20893. 2004-09-22 12:01 jackson
  20894. * Control.cs: Text is never null
  20895. 2004-09-20 22:14 pbartok
  20896. * XplatUIWin32.cs:
  20897. - Fixed accessibility level for Idle handler
  20898. 2004-09-20 18:54 jackson
  20899. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  20900. XplatUIX11.cs: New message loop that uses poll so we don't get a
  20901. busy loop
  20902. 2004-09-17 10:43 pbartok
  20903. * ScrollBar.cs:
  20904. - Fixed behaviour of arrow buttons. Now properly behaves like
  20905. Buttons (and like Microsoft's scrollbar arrow buttons)
  20906. 2004-09-17 10:14 pbartok
  20907. * ScrollBar.cs:
  20908. - Added missing release of keyboard/mouse capture
  20909. 2004-09-17 06:18 jordi
  20910. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  20911. Theme.cs: Very early menu support
  20912. 2004-09-16 17:45 pbartok
  20913. * XplatUIWin32.cs:
  20914. - Fixed sending a window to the front
  20915. - Added overload for SetWindowPos to avoid casting
  20916. 2004-09-16 17:44 pbartok
  20917. * Control.cs:
  20918. - Added SendToBack and BringToFront methods
  20919. 2004-09-16 07:00 ravindra
  20920. * Copyright: Added Novell URL.
  20921. 2004-09-16 07:00 ravindra
  20922. * ToolBar.cs: Invalidate should be done before redrawing.
  20923. 2004-09-15 21:19 ravindra
  20924. * ColumnHeaderStyle.cs: Enum for ListView Control.
  20925. 2004-09-15 21:18 ravindra
  20926. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  20927. ListView Control.
  20928. 2004-09-13 18:26 jackson
  20929. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  20930. properly
  20931. 2004-09-13 18:13 jackson
  20932. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  20933. a second thread and post messages into the main threads message
  20934. queue. This makes timing much more consistent. Both win2K and XP
  20935. have a minimum timer value of 15 milliseconds, so we now do this
  20936. too.
  20937. 2004-09-13 15:18 pbartok
  20938. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  20939. XplatUIX11.cs:
  20940. - Added Z-Ordering methods
  20941. 2004-09-13 10:56 pbartok
  20942. * Form.cs:
  20943. - Fixed #region names
  20944. - Moved properties and methods into their proper #regions
  20945. 2004-09-13 10:51 pbartok
  20946. * Form.cs:
  20947. - Added Accept and CancelButton properties
  20948. - Added ProcessDialogKey() method
  20949. 2004-09-13 08:18 pbartok
  20950. * IWindowTarget.cs:
  20951. - Initial check-in
  20952. 2004-09-10 21:50 pbartok
  20953. * Control.cs:
  20954. - Added DoDragDrop() [incomplete]
  20955. - Properly implemented 'Visible' handling
  20956. - Added SetVisibleCore()
  20957. - Implemented FindChildAtPoint()
  20958. - Implemented GetContainerControl()
  20959. - Implemented Hide()
  20960. 2004-09-10 19:28 pbartok
  20961. * Control.cs:
  20962. - Moved methods into their appropriate #regions
  20963. - Reordered methods within regions alphabetically
  20964. 2004-09-10 18:57 pbartok
  20965. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  20966. - Added method to retrieve text from window
  20967. 2004-09-10 18:56 pbartok
  20968. * Control.cs:
  20969. - Moved some internal functions into the internal region
  20970. - Implemented FontHeight
  20971. - Implemented RenderRightToLeft
  20972. - Implemented ResizeRedraw
  20973. - Implemented ShowFocusCues
  20974. - Implemented ShowKeyboardCues
  20975. - Implemented FromChildHandle
  20976. - Implemented FromHandle
  20977. - Implemented IsMnemonic
  20978. - Implemented ReflectMessage
  20979. - All public and protected Static Methods are now complete
  20980. 2004-09-10 16:54 pbartok
  20981. * Control.cs:
  20982. - Implemented remaining missing public instance properties
  20983. - Alphabetized some out of order properties
  20984. 2004-09-10 05:51 ravindra
  20985. * PictureBox.cs: Added a check for null image.
  20986. 2004-09-10 00:59 jordi
  20987. * GroupBox.cs: remove cvs tag
  20988. 2004-09-09 05:25 ravindra
  20989. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  20990. 2004-09-09 05:23 ravindra
  20991. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  20992. parent redraw.
  20993. 2004-09-09 02:28 pbartok
  20994. * ThemeWin32Classic.cs:
  20995. - Improve disabled string look
  20996. 2004-09-09 01:15 jordi
  20997. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  20998. args and handler
  20999. 2004-09-08 23:56 ravindra
  21000. * ItemBoundsPortion.cs: It's enum, not a class!
  21001. 2004-09-08 23:47 ravindra
  21002. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  21003. Enums for Form.
  21004. 2004-09-08 21:13 ravindra
  21005. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  21006. ListView control.
  21007. 2004-09-08 21:03 ravindra
  21008. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  21009. avoid crash.
  21010. 2004-09-08 21:01 ravindra
  21011. * ScrollableControl.cs: Removed unreachable code.
  21012. 2004-09-08 06:45 jordi
  21013. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  21014. 2004-09-08 01:00 jackson
  21015. * XplatUIX11.cs: Only run the timers when updating the message
  21016. queue. This effectively gives X messages a higher priority then
  21017. timer messages. Timers still need love though
  21018. 2004-09-07 14:01 jackson
  21019. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  21020. this for us and the handle is no longer valid.
  21021. 2004-09-07 13:59 jackson
  21022. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  21023. loop that manages to not crash. TODO: Add poll and cleanup timers
  21024. 2004-09-07 11:12 jordi
  21025. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  21026. 2004-09-07 03:40 jordi
  21027. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  21028. fixes, methods, multiple links
  21029. 2004-09-06 06:55 jordi
  21030. * Control.cs: Caches ClientRectangle rectangle value
  21031. 2004-09-05 02:03 jordi
  21032. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  21033. certain situations
  21034. 2004-09-04 11:10 jordi
  21035. * Label.cs: Refresh when font changed
  21036. 2004-09-02 16:24 pbartok
  21037. * Control.cs:
  21038. - Added sanity check to creation of double buffer bitmap
  21039. 2004-09-02 16:24 pbartok
  21040. * ButtonBase.cs:
  21041. - Fixed selection of text color
  21042. - Fixed handling of resize event; now properly recreates double
  21043. buffering bitmap
  21044. - Added missing assignment of TextAlignment
  21045. - Added proper default for TextAlignment
  21046. 2004-09-02 14:26 pbartok
  21047. * RadioButton.cs:
  21048. - Added missing RadioButton.RadioButtonAccessibleObject class
  21049. 2004-09-02 14:26 pbartok
  21050. * Control.cs:
  21051. - Added missing Control.ControlAccessibleObject class
  21052. - Started to implement Select()ion mechanisms, still very incomplete
  21053. 2004-09-02 14:25 pbartok
  21054. * AccessibleObject.cs:
  21055. - Added missing methods
  21056. 2004-09-02 14:23 pbartok
  21057. * AccessibleNavigation.cs, AccessibleSelection.cs:
  21058. - Initial check-in
  21059. 2004-09-02 10:32 jordi
  21060. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  21061. pool for pens, brushes, and hatchbruses
  21062. 2004-09-01 15:30 jackson
  21063. * StatusBar.cs: Fix typo
  21064. 2004-09-01 14:44 pbartok
  21065. * RadioButton.cs:
  21066. - Fixed state
  21067. 2004-09-01 14:39 pbartok
  21068. * Button.cs, RadioButton.cs:
  21069. - Functional initial check-in
  21070. 2004-09-01 14:01 pbartok
  21071. * CheckBox.cs:
  21072. - Added missing default
  21073. - Added missing region mark
  21074. 2004-09-01 09:10 jordi
  21075. * Label.cs: fixes method signatures, new methods, events, fixes
  21076. autosize
  21077. 2004-09-01 07:19 jordi
  21078. * Control.cs: Init string variables with an empty object
  21079. 2004-09-01 04:20 jordi
  21080. * Control.cs: fires OnFontChanged event
  21081. 2004-08-31 20:07 pbartok
  21082. * ButtonBase.cs:
  21083. - Enabled display of strings
  21084. 2004-08-31 20:05 pbartok
  21085. * Form.cs:
  21086. - Added (partial) implementation of DialogResult; rest needs to be
  21087. implemented when the modal loop code is done
  21088. 2004-08-31 19:55 pbartok
  21089. * CheckBox.cs:
  21090. - Fixed to match the removal of the needs_redraw concept
  21091. 2004-08-31 19:55 pbartok
  21092. * ButtonBase.cs:
  21093. - Removed the rather odd split between 'needs redraw' and redrawing
  21094. - Now handles the events that require regeneration (ambient
  21095. properties and size)
  21096. 2004-08-31 19:41 pbartok
  21097. * Control.cs:
  21098. - Added firing of BackColorChanged event
  21099. - Added TopLevelControl property
  21100. - Fixed handling of WM_ERASEBKGRND message
  21101. 2004-08-31 12:49 pbartok
  21102. * ButtonBase.cs:
  21103. - Removed debug
  21104. - Minor fixes
  21105. 2004-08-31 12:48 pbartok
  21106. * CheckBox.cs:
  21107. - Finished (famous last words)
  21108. 2004-08-31 04:35 jordi
  21109. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  21110. scrolling bugs, adds new methods
  21111. 2004-08-30 14:42 pbartok
  21112. * CheckBox.cs:
  21113. - Implemented CheckBox drawing code
  21114. 2004-08-30 14:42 pbartok
  21115. * ButtonBase.cs:
  21116. - Made Redraw() and CheckRedraw() virtual
  21117. - Improved mouse up/down/move logic to properly track buttons
  21118. 2004-08-30 09:44 pbartok
  21119. * CheckBox.cs:
  21120. - Updated to fix broken build. Not complete yet.
  21121. 2004-08-30 09:28 pbartok
  21122. * CheckState.cs:
  21123. - Initial checkin
  21124. 2004-08-30 09:17 pbartok
  21125. * Appearance.cs:
  21126. - Initial check-in
  21127. 2004-08-27 16:12 ravindra
  21128. * ToolBarButton.cs: Added TypeConverter attribute.
  21129. 2004-08-27 16:07 ravindra
  21130. * ImageIndexConverter.cs: Implemented.
  21131. 2004-08-27 14:17 pbartok
  21132. * Control.cs:
  21133. - Removed unneeded stack vars
  21134. - First attempt to fix sizing issues when layout is suspended
  21135. 2004-08-25 15:35 jordi
  21136. * ScrollBar.cs: more fixes to scrollbar
  21137. 2004-08-25 14:04 ravindra
  21138. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  21139. Added the missing divider code and grip for ToolBar Control.
  21140. 2004-08-25 13:20 pbartok
  21141. * Control.cs:
  21142. - Control now properly passes the ambient background color to child
  21143. controls
  21144. 2004-08-25 13:20 jordi
  21145. * ScrollBar.cs: small bug fix regarding bar position
  21146. 2004-08-25 12:33 pbartok
  21147. * Timer.cs:
  21148. - Now only calls SetTimer or KillTimer if the enabled state has
  21149. changed
  21150. 2004-08-25 12:33 pbartok
  21151. * XplatUIWin32.cs:
  21152. - Fixed timer handling, now seems to work
  21153. - Improved error message for window creation
  21154. 2004-08-25 12:32 pbartok
  21155. * Control.cs:
  21156. - Fixed generation of MouseUp message
  21157. 2004-08-25 12:29 jordi
  21158. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  21159. and fixes for progressbar
  21160. 2004-08-24 18:43 ravindra
  21161. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  21162. in ToolBar control.
  21163. 2004-08-24 17:15 pbartok
  21164. * Panel.cs:
  21165. - Added #region
  21166. - Added missing events
  21167. - Alphabetized
  21168. 2004-08-24 17:14 pbartok
  21169. * StatusBar.cs, PictureBox.cs:
  21170. - Now uses Control's CreateParams
  21171. 2004-08-24 16:36 pbartok
  21172. * XplatUIX11.cs:
  21173. - Fixed background color handling
  21174. - Fixed sending of enter/leave events on a grab
  21175. 2004-08-24 16:35 pbartok
  21176. * X11Structs.cs:
  21177. - Refined definitions for CrossingEvent
  21178. 2004-08-24 12:37 jordi
  21179. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  21180. formmating, methods signature, and adds missing events
  21181. 2004-08-24 12:24 jordi
  21182. * Control.cs: fire OnEnabledChanged event
  21183. 2004-08-24 11:17 pbartok
  21184. * XplatUIWin32.cs:
  21185. - Implemented SetTimer() and KillTimer()
  21186. 2004-08-24 11:16 pbartok
  21187. * XplatUIX11.cs:
  21188. - Now uses Remove instead of Add to kill the timer
  21189. 2004-08-24 10:16 jackson
  21190. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  21191. picture boxes in the theme now. Draw picture box borders and obey
  21192. sizing modes
  21193. 2004-08-24 05:49 jackson
  21194. * Timer.cs: Remove top secret debugging code
  21195. 2004-08-24 05:34 jackson
  21196. * PictureBox.cs: Temp hack to make picture boxes draw their full
  21197. image
  21198. 2004-08-24 05:29 jackson
  21199. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  21200. XplatUIX11.cs: Move timers to the driver level. On X they are
  21201. queued by the driver and checked on idle.
  21202. 2004-08-24 01:07 jackson
  21203. * XplatUIX11.cs: Use a queue for async messages instead of passing
  21204. them as ClientMessages since that was totally broken. Also simply
  21205. check for events and return an idle message if none are found. This
  21206. gives us an idle handler, and prevents deadlocking when no messages
  21207. are in the queue.
  21208. 2004-08-23 18:19 ravindra
  21209. * XplatUIWin32.cs: Removed the unwanted destructor.
  21210. 2004-08-23 17:27 pbartok
  21211. * ButtonBase.cs:
  21212. - Finishing touches. Works now, just needs some optimizations.
  21213. 2004-08-23 16:53 jordi
  21214. * ScrollBar.cs: small fix
  21215. 2004-08-23 16:45 pbartok
  21216. * Application.cs:
  21217. - Removed debug output
  21218. - Simplifications
  21219. 2004-08-23 16:43 jordi
  21220. * ScrollBar.cs: [no log message]
  21221. 2004-08-23 16:10 pbartok
  21222. * Form.cs:
  21223. - Fixed handling of WM_CLOSE message
  21224. - Removed debug output
  21225. 2004-08-23 16:09 pbartok
  21226. * Application.cs:
  21227. - Added handling of Idle event
  21228. - Added handling of form closing
  21229. - Fixed reporting of MessageLoop property
  21230. - Removed some unneeded code, should provide a bit of a speedup
  21231. 2004-08-23 15:22 pbartok
  21232. * Control.cs:
  21233. - Added InitLayout() method
  21234. - Added code to properly perform layout when Anchor or Dock property
  21235. is changed
  21236. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  21237. LAMESPEC, tried to do it in a way that makes sense
  21238. 2004-08-23 14:10 jordi
  21239. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  21240. properties and methods
  21241. 2004-08-23 13:55 pbartok
  21242. * Control.cs:
  21243. - Properly fixed Jordi's last fix
  21244. - Now uses Cursor's Position property instead of calling XplatUI
  21245. directly
  21246. 2004-08-23 13:44 jordi
  21247. * PaintEventHandler.cs: Adding missing attribute
  21248. 2004-08-23 13:39 pbartok
  21249. * Cursor.cs:
  21250. - Implemented Position property
  21251. 2004-08-23 13:39 pbartok
  21252. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  21253. - Added method to move mouse cursor
  21254. 2004-08-23 13:39 pbartok
  21255. * XplatUIX11.cs:
  21256. - Fixed setting of background color
  21257. - Added method to move mouse cursor
  21258. 2004-08-23 13:16 jordi
  21259. * Control.cs: avoids null exception
  21260. 2004-08-22 17:46 jackson
  21261. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  21262. PictureBox
  21263. 2004-08-22 17:40 jackson
  21264. * XplatUIX11.cs: Add some missing locks
  21265. 2004-08-22 15:10 pbartok
  21266. * Control.cs, Form.cs:
  21267. - Removed OverlappedWindow style from Control, instead it's default
  21268. now is child
  21269. - Made form windows OverlappedWindow by default
  21270. 2004-08-22 13:34 jackson
  21271. * ScrollBar.cs: Update the position through the Value property so
  21272. the OnValueChanged event is raised.
  21273. 2004-08-22 12:04 pbartok
  21274. * SWF.csproj:
  21275. - Added Cursor.cs and UserControl.cs
  21276. 2004-08-22 12:03 pbartok
  21277. * Cursor.cs:
  21278. - Started implementation, not usable yet
  21279. 2004-08-22 12:00 pbartok
  21280. * UserControl.cs:
  21281. - Implemented UserControl (complete)
  21282. 2004-08-21 19:20 ravindra
  21283. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  21284. 2004-08-21 18:49 ravindra
  21285. * ToolBar.cs: Probably this completes the missing attributes in
  21286. toolbar control.
  21287. 2004-08-21 18:03 ravindra
  21288. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  21289. Fixed toolbar control signatures.
  21290. 2004-08-21 16:32 pbartok
  21291. * LinkLabel.cs:
  21292. - Signature Fixes
  21293. 2004-08-21 16:30 pbartok
  21294. * Label.cs:
  21295. - Signature fixes
  21296. 2004-08-21 16:19 pbartok
  21297. * Control.cs, Label.cs:
  21298. - Signature fixes
  21299. 2004-08-21 15:57 pbartok
  21300. * ButtonBase.cs:
  21301. - Added loads of debug output for development
  21302. - Fixed typo in method name
  21303. 2004-08-21 15:52 pbartok
  21304. * ToolBarButtonClickEventArgs.cs:
  21305. - Added missing base class
  21306. 2004-08-21 14:53 pbartok
  21307. * Control.cs:
  21308. - Updated to match new GrabWindow signature
  21309. 2004-08-21 14:51 pbartok
  21310. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21311. - Added method to get default display size
  21312. 2004-08-21 14:23 pbartok
  21313. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21314. - Added method to query current grab state
  21315. - Added argument to allow confining a grab to a window
  21316. 2004-08-21 14:22 pbartok
  21317. * Keys.cs:
  21318. - Added [Flags] attribute so that modifiers can be used in bitwise
  21319. ops
  21320. 2004-08-21 14:21 pbartok
  21321. * TrackBar.cs, ScrollBar.cs:
  21322. - Replaced direct XplatUI calls with their Control counterpart
  21323. 2004-08-21 13:32 pbartok
  21324. * Control.cs:
  21325. - Implemented Created property
  21326. 2004-08-21 13:28 pbartok
  21327. * Control.cs:
  21328. - Implemented ContainsFocus
  21329. 2004-08-21 13:26 pbartok
  21330. * Control.cs:
  21331. - Implemented CausesValidation
  21332. 2004-08-21 13:21 pbartok
  21333. * Control.cs:
  21334. - Implemented CanFocus
  21335. - Implemented CanSelect
  21336. - Implemented Capture
  21337. 2004-08-21 12:35 pbartok
  21338. * XplatUIWin32.cs:
  21339. - Fixed bug with Async message handling
  21340. - Implemented getting the ModifierKeys
  21341. 2004-08-21 12:32 jackson
  21342. * AsyncMethodResult.cs: Make sure we have the mutex before we
  21343. release it. Fixes BeginInvoke on windows
  21344. 2004-08-21 11:31 pbartok
  21345. * XplatUIWin32.cs, XplatUIX11.cs:
  21346. - Drivers now return proper mouse state
  21347. 2004-08-21 10:54 jackson
  21348. * Control.cs: Implement EndInvoke
  21349. 2004-08-21 10:48 jackson
  21350. * Timer.cs: Remove unneeded finalizer
  21351. 2004-08-20 19:52 ravindra
  21352. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  21353. in mouse event handling in the ToolBar control.
  21354. 2004-08-20 19:50 ravindra
  21355. * ImageList.cs: Changed draw method to use the arguments passed in
  21356. to draw the image.
  21357. 2004-08-20 18:58 pbartok
  21358. * XplatUIStructs.cs:
  21359. - Added private message for async communication
  21360. 2004-08-20 17:38 ravindra
  21361. * Control.cs: Made RightToLeft property virtual and removed a
  21362. Console.WriteLine.
  21363. 2004-08-20 14:39 jordi
  21364. * ThemeGtk.cs: use style_attach
  21365. 2004-08-20 14:39 pbartok
  21366. * XplatUIWin32.cs:
  21367. - Added jackson's Async code from X11 to Win32
  21368. 2004-08-20 14:09 pbartok
  21369. * SWF.csproj:
  21370. - Added all new files
  21371. 2004-08-20 14:09 pbartok
  21372. * Control.cs:
  21373. - Added call to set window background color
  21374. 2004-08-20 14:03 pbartok
  21375. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  21376. - Added method for setting the window background
  21377. 2004-08-20 14:02 pbartok
  21378. * XplatUIWin32.cs:
  21379. - Added method for setting the background color
  21380. - Added handling for erasing the window background
  21381. 2004-08-20 13:45 jordi
  21382. * TrackBar.cs: fixes timer, new properties and methods
  21383. 2004-08-20 13:34 jackson
  21384. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  21385. correct thread
  21386. 2004-08-20 13:22 jackson
  21387. * Timer.cs: Timer Tick events are now handed through Controls Async
  21388. mechanism so the callbacks are executed in the same thread as X
  21389. 2004-08-20 13:19 jackson
  21390. * XplatUIDriver.cs: Expose functionality to send async messages
  21391. through the driver
  21392. 2004-08-20 13:18 jackson
  21393. * Control.cs: Implement Begininvoke
  21394. 2004-08-20 13:14 jackson
  21395. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  21396. messages through the driver
  21397. 2004-08-20 13:12 jackson
  21398. * XplatUIX11.cs: Lock before all X operations. Also added Async
  21399. method functionality through XSendEvent
  21400. 2004-08-20 13:11 jackson
  21401. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  21402. This will screw up on 64 bit systems)
  21403. 2004-08-20 13:10 jackson
  21404. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  21405. Async messages through X/Win32
  21406. 2004-08-19 19:39 pbartok
  21407. * XplatUIX11.cs:
  21408. - Updated code to match new HandleData.DeviceContext type
  21409. 2004-08-19 19:38 pbartok
  21410. * HandleData.cs:
  21411. - Made DeviceContext a generic object to allow usage from various
  21412. drivers
  21413. - Added support for queueing Windows messages
  21414. 2004-08-19 19:37 pbartok
  21415. * XplatUIWin32.cs:
  21416. - Added generation of MouseEnter, MouseLeave and MouseHover events
  21417. - Added cleanup on EndPaint
  21418. 2004-08-19 19:17 pbartok
  21419. * Control.cs:
  21420. - Added handling of WM_MOUSEHOVER
  21421. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  21422. code
  21423. 2004-08-19 18:55 jordi
  21424. * ThemeGtk.cs: fixes button order
  21425. 2004-08-19 18:12 jordi
  21426. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  21427. 2004-08-19 17:09 pbartok
  21428. * Control.cs:
  21429. - Added Right property
  21430. - Added RightToLeft property
  21431. 2004-08-19 16:27 jordi
  21432. * ThemeGtk.cs: experimental GTK theme support
  21433. 2004-08-19 16:26 jordi
  21434. * ITheme.cs, Theme.cs: move themes from an interface to a class
  21435. 2004-08-19 16:25 jordi
  21436. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  21437. theme enhancaments
  21438. 2004-08-19 16:04 pbartok
  21439. * XplatUIX11.cs:
  21440. - Added colormap basics
  21441. - Added a way to re-initialize with a different display handle
  21442. - Fixed setting of the window background color
  21443. - Added various X11 imports related to colors and colormaps
  21444. 2004-08-19 15:51 pbartok
  21445. * X11Structs.cs:
  21446. - Removed packing hints (Paolo suggested this a while back)
  21447. - fixed colormap type
  21448. - Added default Atom types
  21449. - Added Screen and color structs and enums
  21450. 2004-08-19 15:39 pbartok
  21451. * ImageList.cs:
  21452. - Added missing Draw() method
  21453. - Added missing RecreateHandle event
  21454. 2004-08-19 15:30 pbartok
  21455. * Form.cs:
  21456. - Added handling of WM_CLOSE
  21457. 2004-08-18 13:16 jordi
  21458. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  21459. a table
  21460. 2004-08-18 09:56 jordi
  21461. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  21462. 2004-08-17 15:31 ravindra
  21463. * SWF.csproj: Updated project.
  21464. 2004-08-17 15:25 pbartok
  21465. * Control.cs:
  21466. - Drawing improvement; don't call UpdateBounds if we are not visible
  21467. (or have been minimized)
  21468. 2004-08-17 15:24 pbartok
  21469. * XplatUIWin32.cs:
  21470. - Finished IsVisible
  21471. - Added Win32GetWindowPlacement
  21472. 2004-08-17 15:08 jackson
  21473. * Panel.cs: Initial checkin of the Panel
  21474. 2004-08-17 14:25 pbartok
  21475. * Control.cs:
  21476. - Fixed broken handling of default window sizes
  21477. 2004-08-17 13:29 jackson
  21478. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  21479. has a large startup time.
  21480. 2004-08-17 10:25 jackson
  21481. * HandleData.cs: union areas properly
  21482. 2004-08-17 10:12 jackson
  21483. * HandleData.cs: union areas properly
  21484. 2004-08-16 20:00 ravindra
  21485. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  21486. 2004-08-16 18:48 ravindra
  21487. * ToolBar.cs: Added attributes.
  21488. 2004-08-16 17:17 ravindra
  21489. * SWF.csproj: Updated project.
  21490. 2004-08-16 17:16 jackson
  21491. * XplatUIX11.cs: Check for more expose events before sending a
  21492. WM_PAINT so they can all be grouped together. This makes dragging a
  21493. window across another window redraw in a sane way.
  21494. 2004-08-16 15:47 pbartok
  21495. * Control.cs:
  21496. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  21497. support OnMouseEnter/Leave()
  21498. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  21499. exposure handling
  21500. 2004-08-16 15:46 pbartok
  21501. * XplatUIStructs.cs, XplatUIX11.cs:
  21502. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  21503. OnMouseEnter/Leave()
  21504. 2004-08-16 15:34 jackson
  21505. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  21506. sure messages get the message field set to WM_NULL if they are not
  21507. handled.
  21508. 2004-08-16 15:24 jackson
  21509. * HandleData.cs: HandleData is used for storing message information
  21510. for window handles
  21511. 2004-08-15 17:23 ravindra
  21512. * ColorDepth.cs: Added attribute.
  21513. 2004-08-15 17:23 ravindra
  21514. * SWF.csproj: Updated project for ToolBar Control.
  21515. 2004-08-15 17:20 ravindra
  21516. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  21517. control and also dos2unix format.
  21518. 2004-08-15 17:13 ravindra
  21519. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  21520. ToolBarButtonClickEventArgs.cs,
  21521. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  21522. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  21523. 2004-08-15 15:31 pbartok
  21524. * ButtonBase.cs:
  21525. - First (mostly) working version
  21526. 2004-08-13 16:15 pbartok
  21527. * Control.cs:
  21528. - Fixed Anchor default
  21529. 2004-08-13 15:43 pbartok
  21530. * Control.cs:
  21531. - Changed GetCursorPos signature
  21532. 2004-08-13 15:42 pbartok
  21533. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  21534. - Changed signature for GetCursorPos
  21535. 2004-08-13 15:25 pbartok
  21536. * XplatUIX11.cs:
  21537. - Cleanup
  21538. - Fixed resizing/exposure handling
  21539. 2004-08-13 15:22 jordi
  21540. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  21541. with tickposition
  21542. 2004-08-13 14:55 jordi
  21543. * TrackBar.cs: change from wndproc to events
  21544. 2004-08-13 13:00 jordi
  21545. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  21546. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  21547. 2004-08-13 12:53 pbartok
  21548. * XplatUIWin32.cs:
  21549. - Changed GetWindowPos to also provide client area size
  21550. - Fixed broken prototypes for several win32 functions
  21551. 2004-08-13 12:53 pbartok
  21552. * XplatUI.cs, XplatUIDriver.cs:
  21553. - Changed GetWindowPos to also provide client area size
  21554. 2004-08-13 12:52 pbartok
  21555. * XplatUIX11.cs:
  21556. - Added generation of WM_POSCHANGED
  21557. - Changed GetWindowPos to also provide client area size
  21558. 2004-08-13 12:52 pbartok
  21559. * Control.cs:
  21560. - Added Dispose() and destructor
  21561. - Fixed resizing and bounds calculation
  21562. - Fixed Layout
  21563. - Added memory savings for invisible windows
  21564. 2004-08-13 12:46 jordi
  21565. * TrackBar.cs: adds timer and grap window
  21566. 2004-08-13 10:25 jackson
  21567. * Timer.cs: SWF Timer
  21568. 2004-08-12 16:59 pbartok
  21569. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21570. - Implemented method to get current mouse position
  21571. 2004-08-12 14:29 jordi
  21572. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  21573. enhancement, fix mouse problems, highli thumb, etc
  21574. 2004-08-12 13:31 pbartok
  21575. * Control.cs:
  21576. - Fixed Anchoring bugs
  21577. 2004-08-12 13:01 jackson
  21578. * StatusBar.cs: Don't forget things
  21579. 2004-08-12 12:54 jackson
  21580. * ThemeWin32Classic.cs: Handle owner draw status bars
  21581. 2004-08-12 12:54 jackson
  21582. * StatusBar.cs: Implement missing properties, events, and methods.
  21583. Handle mouse clicking
  21584. 2004-08-12 10:19 jackson
  21585. * StatusBarPanelClickEventArgs.cs,
  21586. StatusBarPanelClickEventHandler.cs: Classes for handling status
  21587. bar panel click events
  21588. 2004-08-12 10:10 jackson
  21589. * Control.cs: Add missing properties
  21590. 2004-08-12 09:46 pbartok
  21591. * BindingsManagerBase.cs:
  21592. - Name changed to BindingManagerBase.cs
  21593. 2004-08-12 09:25 jordi
  21594. * ScrollableControl.cs: calls ctrlbase instead of exeception
  21595. 2004-08-11 16:28 pbartok
  21596. * InputLanguageChangingEventArgs.cs:
  21597. - Never check in before compiling. Fixes the last check-in
  21598. 2004-08-11 16:26 pbartok
  21599. * InputLanguageChangingEventArgs.cs:
  21600. - More signature fixes
  21601. 2004-08-11 16:20 pbartok
  21602. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  21603. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  21604. ImageListStreamer.cs, InputLanguage.cs,
  21605. InputLanguageChangedEventArgs.cs,
  21606. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  21607. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  21608. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  21609. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21610. - Signature fixes
  21611. 2004-08-11 16:16 pbartok
  21612. * Application.cs:
  21613. - Fixed Signature
  21614. - Added .Net 1.1 method
  21615. 2004-08-11 15:25 pbartok
  21616. * SWF.csproj:
  21617. - Fixed BindingManagerBase.cs filename
  21618. 2004-08-11 15:22 pbartok
  21619. * BindingManagerBase.cs:
  21620. - Was checked in with wrong filename
  21621. 2004-08-11 14:50 pbartok
  21622. * SWF.csproj:
  21623. - Updated
  21624. 2004-08-11 13:41 jordi
  21625. * XplatUIWin32.cs: Fixes ClientRect
  21626. 2004-08-11 13:19 pbartok
  21627. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  21628. XplatUIX11.cs:
  21629. - We had SetWindowPos and MoveWindow to set window positions and
  21630. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  21631. keep SetWindowPos as matching counterpart
  21632. - Added some X11 sanity checking
  21633. 2004-08-11 12:59 pbartok
  21634. * Control.cs:
  21635. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  21636. (It seems that SetBounds is just a front for SetBoundsCore and
  21637. SetBoundsCore updates the underlying window system and
  21638. UpdateBounds is responsible for updating the variables associated
  21639. with the Control and sending the events)
  21640. - Major cleanup of Size handling; we now have two sizes, client_size
  21641. and bounds. Bounds defines the window with decorations, client_size
  21642. without them.
  21643. 2004-08-11 12:55 pbartok
  21644. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21645. - Added method to calculate difference between decorated window and
  21646. raw client area
  21647. 2004-08-11 12:54 pbartok
  21648. * Label.cs:
  21649. - Forcing redraw on resize
  21650. 2004-08-11 11:43 pbartok
  21651. * ImageList.cs:
  21652. - Removed disposing of the actual images when the list is disposed
  21653. 2004-08-11 09:13 pbartok
  21654. * Control.cs:
  21655. - Now properly reparents windows
  21656. 2004-08-11 08:37 pbartok
  21657. * Control.cs:
  21658. - Duh!
  21659. 2004-08-11 07:47 pbartok
  21660. * Control.cs:
  21661. - Rewrote the collection stuff. Might not be as fast now, not
  21662. keeping the number of children around and accessible directly, but
  21663. it's more straightforward
  21664. 2004-08-11 07:44 pbartok
  21665. * AccessibleObject.cs:
  21666. - Fixed to match ControlCollection rewrite
  21667. 2004-08-11 07:43 pbartok
  21668. * ImageList.cs:
  21669. - Added missing creation of the collection list
  21670. 2004-08-10 20:08 jackson
  21671. * StatusBar.cs: Get the paint message from WndProc
  21672. 2004-08-10 19:31 jackson
  21673. * ThemeWin32Classic.cs: Create Brushes as little as possible
  21674. 2004-08-10 19:20 jackson
  21675. * UICues.cs: Add Flags attribute
  21676. 2004-08-10 19:19 jackson
  21677. * StatusBarPanel.cs: Signature cleanup
  21678. 2004-08-10 19:10 jackson
  21679. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  21680. Initial implementation of status bar item drawing
  21681. 2004-08-10 17:27 jordi
  21682. * TrackBar.cs: add missing methods, properties, and restructure to
  21683. hide extra ones
  21684. 2004-08-10 16:24 jackson
  21685. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  21686. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  21687. attribute
  21688. 2004-08-10 13:21 jordi
  21689. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  21690. enhancements and standarize on win colors defaults
  21691. 2004-08-10 12:52 jackson
  21692. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  21693. ThemeWin32Classic.cs: Implement DrawItem functionality
  21694. 2004-08-10 12:47 jordi
  21695. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  21696. 2004-08-10 12:32 jordi
  21697. * Control.cs: throw ontextchange event
  21698. 2004-08-10 11:43 pbartok
  21699. * Control.cs:
  21700. - Added more to the still unfinished Dock/Anchor layout code
  21701. 2004-08-10 11:39 pbartok
  21702. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  21703. - Added GetWindowPos method
  21704. 2004-08-10 11:36 pbartok
  21705. * XplatUIWin32.cs:
  21706. - Implemented several methods
  21707. 2004-08-10 09:47 jackson
  21708. * TrackBar.cs: Allow control to handle buffering
  21709. 2004-08-10 09:41 jackson
  21710. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  21711. 2004-08-10 09:24 jackson
  21712. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  21713. 2004-08-10 09:09 jackson
  21714. * StatusBar.cs: Let Control handle all the buffering.
  21715. 2004-08-10 09:08 jackson
  21716. * Control.cs: Control will now handle the buffering code, so each
  21717. control does not have to implement this.
  21718. 2004-08-10 08:34 jackson
  21719. * XplatUIDriver.cs: Use default colors from the theme
  21720. 2004-08-09 17:12 pbartok
  21721. * ImageList.cs:
  21722. - Fixed several bugs Ravindra pointed out
  21723. 2004-08-09 16:11 pbartok
  21724. * Control.cs:
  21725. - Added incomplete dock layout code
  21726. - Added support for mouse wheel
  21727. 2004-08-09 16:09 pbartok
  21728. * XplatUIX11.cs:
  21729. - Added handling for middle and right mousebutton
  21730. - Added handling for mouse wheel
  21731. - Added handling for key state and mouse state and position
  21732. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  21733. messages
  21734. 2004-08-09 15:40 jackson
  21735. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  21736. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  21737. checkin
  21738. 2004-08-09 15:37 jackson
  21739. * StatusBar.cs: Initial implementation of StatusBar
  21740. 2004-08-09 15:36 jackson
  21741. * ITheme.cs: Add support for drawing status bar and getting status
  21742. bar item sizes
  21743. 2004-08-09 15:35 pbartok
  21744. * MouseButtons.cs:
  21745. - Fixed values
  21746. 2004-08-09 15:34 jackson
  21747. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  21748. status bar item sizes
  21749. 2004-08-09 15:21 jackson
  21750. * ThemeWin32Classic.cs: Use known colors for default control
  21751. colours
  21752. 2004-08-09 15:12 jackson
  21753. * ThemeWin32Classic.cs: Make the default font static, it is static
  21754. in control so this doesn't change functionality and creating fonts
  21755. is sloooooow.
  21756. 2004-08-09 14:56 pbartok
  21757. * X11Structs.cs:
  21758. - Added GrabMode enum
  21759. 2004-08-09 14:55 pbartok
  21760. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21761. - Removed Run method, was only required for initial development
  21762. 2004-08-09 14:51 pbartok
  21763. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  21764. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  21765. capture
  21766. 2004-08-09 13:48 pbartok
  21767. * XplatUIX11.cs:
  21768. - Fixed default sizing for child windows
  21769. 2004-08-09 12:56 pbartok
  21770. * XplatUIX11.cs:
  21771. - Added generation of WM_DESTROY message
  21772. - Added handling of window manager induced shutdown
  21773. 2004-08-09 11:31 jackson
  21774. * ThemeWin32Classic.cs: New names for control properties
  21775. 2004-08-09 11:25 jackson
  21776. * Control.cs: Use new color names
  21777. 2004-08-09 11:02 jackson
  21778. * XplatUI.cs: Get default window properties from the theme
  21779. 2004-08-09 11:01 jackson
  21780. * ITheme.cs: The theme engine now controls default window
  21781. properties
  21782. 2004-08-09 11:00 jackson
  21783. * ThemeWin32Classic.cs: Add default window color properties
  21784. 2004-08-09 10:17 jackson
  21785. * ThemeWin32Classic.cs: Use correct default back color
  21786. 2004-08-09 10:05 jackson
  21787. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  21788. the theme now.
  21789. 2004-08-09 09:56 jackson
  21790. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  21791. 2004-08-09 09:54 jackson
  21792. * Control.cs: Get default properties from the theme.
  21793. 2004-08-09 09:53 jackson
  21794. * ITheme.cs: Themes now handle default control properties
  21795. 2004-08-09 09:53 jackson
  21796. * ThemeWin32Classic.cs: Themes now handle default control
  21797. properties so coloring will be consistent
  21798. 2004-08-08 16:54 jordi
  21799. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  21800. 2004-08-08 15:08 jordi
  21801. * XplatUIX11.cs: fixes keyboard crash
  21802. 2004-08-08 13:47 jordi
  21803. * Label.cs: add cvs header info
  21804. 2004-08-08 12:09 jackson
  21805. * ThemeWin32Classic.cs: Add pen_buttonface
  21806. 2004-08-08 11:52 jordi
  21807. * Label.cs, LinkLabel.cs: [no log message]
  21808. 2004-08-08 11:34 jordi
  21809. * ThemeWin32Classic.cs: Use Windows Standard Colours
  21810. 2004-08-07 17:32 jordi
  21811. * TrackBar.cs: throw exceptions of invalid enums values
  21812. 2004-08-07 17:31 jordi
  21813. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  21814. draw method name
  21815. 2004-08-07 16:56 jackson
  21816. * HorizontalAlignment.cs: Initial checkin
  21817. 2004-08-07 13:16 jordi
  21818. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  21819. methods
  21820. 2004-08-07 13:05 jordi
  21821. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  21822. GetSysColor defines
  21823. 2004-08-06 18:01 pbartok
  21824. * ThemeWin32Classic.cs:
  21825. - Fixed some rounding issues with float/int
  21826. 2004-08-06 18:00 jackson
  21827. * DockStyle.cs, AnchorStyles.cs:
  21828. Add flags and serializable attributes.
  21829. 2004-08-06 17:46 pbartok
  21830. * XplatUIX11.cs:
  21831. - Implemented GetParent
  21832. 2004-08-06 17:18 pbartok
  21833. * TrackBar.cs:
  21834. - Fixed some rounding issues with float/int
  21835. 2004-08-06 17:17 pbartok
  21836. * X11Structs.cs, XplatUIX11.cs:
  21837. - Fixed Refresh and Invalidate
  21838. 2004-08-06 15:30 pbartok
  21839. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  21840. - Fixed recursive loop when resizing
  21841. - Improved/fixed redrawing on expose messages
  21842. 2004-08-06 09:53 jordi
  21843. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  21844. keyboard navigation
  21845. 2004-08-06 08:02 pbartok
  21846. * X11Structs.cs, XplatUIX11.cs:
  21847. - Fixed reparenting
  21848. - Fixed window border creation
  21849. 2004-08-05 15:38 pbartok
  21850. * XplatUIX11.cs:
  21851. - Attempted fix for reparenting problems
  21852. 2004-08-04 15:14 pbartok
  21853. * Control.cs:
  21854. - Fixed Invalidation bug (calculated wrong client area)
  21855. - Added ClientSize setter
  21856. 2004-08-04 15:13 pbartok
  21857. * Form.cs:
  21858. - Added AutoScale properties
  21859. 2004-08-04 15:13 pbartok
  21860. * SWF.csproj:
  21861. - Added latest files
  21862. 2004-08-04 14:11 pbartok
  21863. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  21864. XplatUIX11.cs:
  21865. - Added Invalidate handling
  21866. 2004-08-03 17:09 jordi
  21867. * XplatUIDriver.cs: fixes spelling mistake
  21868. 2004-07-27 09:53 jordi
  21869. * TrackBar.cs: fixes trackbar events, def classname, methods
  21870. signature
  21871. 2004-07-27 09:29 jordi
  21872. * ScrollBar.cs: fixes scrollbar events
  21873. 2004-07-27 04:38 jordi
  21874. * Control.cs: changes to be able to run winforms samples
  21875. 2004-07-26 11:42 jordi
  21876. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  21877. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  21878. 2004-07-26 05:41 jordi
  21879. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  21880. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  21881. implementation
  21882. 2004-07-22 09:22 jordi
  21883. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  21884. check link overlapping, implement events, and fixes
  21885. 2004-07-21 10:28 jordi
  21886. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  21887. 2004-07-21 10:19 jordi
  21888. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  21889. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  21890. LinkLabelLinkClickedEventArgs.cs,
  21891. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  21892. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  21893. implementation
  21894. 2004-07-19 13:09 jordi
  21895. * Control.cs, Label.cs: label control re-written: added missing
  21896. functionlity, events, and properties
  21897. 2004-07-19 10:49 jordi
  21898. * Control.cs: fixes SetBounds logic
  21899. 2004-07-19 01:29 jordi
  21900. * Control.cs: Call RefreshWindow only if the window has created
  21901. 2004-07-15 14:05 pbartok
  21902. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  21903. - Implemented ImageList and ImageList.ImageCollection classes
  21904. - Added ColorDepth enumeration
  21905. - Updated SWF VS.Net project
  21906. 2004-07-15 11:06 jordi
  21907. * XplatUIStructs.cs: added MsgButons enum
  21908. 2004-07-15 11:03 jordi
  21909. * Control.cs: added basic mouse handeling events
  21910. 2004-07-15 03:38 jordi
  21911. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  21912. Vertical TrackBar control implementation
  21913. 2004-07-13 09:33 jordi
  21914. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  21915. 2004-07-13 09:31 jordi
  21916. * Control.cs, Form.cs: commit: new properties and fixes form size
  21917. problems
  21918. 2004-07-09 14:13 miguel
  21919. * ProgressBar.cs: Spelling
  21920. 2004-07-09 11:25 pbartok
  21921. * ProgressBar.cs:
  21922. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  21923. faster
  21924. 2004-07-09 11:17 miguel
  21925. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  21926. * ProgressBar.cs: Fixed spelling for `block'
  21927. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  21928. style guidelines.
  21929. Avoid using the += on rect.X, that exposed a bug in the compiler.
  21930. 2004-07-08 23:21 pbartok
  21931. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  21932. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  21933. BaseCollection.cs, Binding.cs, BindingContext.cs,
  21934. BindingMemberInfo.cs, BindingsCollection.cs,
  21935. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  21936. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  21937. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  21938. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  21939. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  21940. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  21941. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  21942. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  21943. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  21944. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  21945. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  21946. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  21947. InputLanguageChangedEventArgs.cs,
  21948. InputLanguageChangedEventHandler.cs,
  21949. InputLanguageChangingEventArgs.cs,
  21950. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  21951. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  21952. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  21953. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  21954. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  21955. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  21956. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  21957. QueryAccessibilityHelpEventArgs.cs,
  21958. QueryAccessibilityHelpEventHandler.cs,
  21959. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  21960. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  21961. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  21962. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  21963. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  21964. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  21965. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  21966. XplatUIX11.cs, lang.cs:
  21967. - Initial check-in