ChangeLog 1.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617
  1. 2008-04-20 Ivan N. Zlatev <[email protected]>
  2. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  3. if the handle is disabled.
  4. [Fixes bug #371751]
  5. 2008-04-20 Ivan N. Zlatev <[email protected]>
  6. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  7. for forms with FormBorderStyle.None.
  8. [Fixes bug #349571]
  9. 2008-04-20 Ivan N. Zlatev <[email protected]>
  10. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  11. WM_EXITSIZEMOVE.
  12. [Fixes bug #346529 for the X11 backend]
  13. 2008-04-19 Ivan N. Zlatev <[email protected]>
  14. * XplatUIX11.cs:
  15. - Send a mouse Enter message after say dragging the mouse with a
  16. button down and then release it in another client.
  17. - Reset the cursor to prevent X11 from remembering it and setting it
  18. before the control gets WM_SETCURSOR.
  19. - Qeueue a mouse move after a mouse enter like win32.
  20. [Fixes bug #323234]
  21. 2008-04-19 Ivan N. Zlatev <[email protected]>
  22. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  23. It's sent when the form gets moved, resized, closed.
  24. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  25. [Fixes bug #359193 for X11]
  26. 2008-04-19 Ivan N. Zlatev <[email protected]>
  27. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  28. the build.
  29. 2008-04-19 Ivan N. Zlatev <[email protected]>
  30. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  31. group. Fixes the 1.1 build.
  32. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  33. * ListView.cs: Use display indexes for selection in Details view, as
  34. well as do the proper layout based on display indexes for that view
  35. too.
  36. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  37. * ListView.cs: Focused item information is now stored as a display
  38. index, and display indexes are used all over the place for selection,
  39. instead of ListViewItem.Index values, which doesn't give us enough
  40. information to modify the selection in groups mode, and was broken.
  41. 2008-04-18 Ivan N. Zlatev <[email protected]>
  42. * Control.cs: Do not fire MouseDown if validation of the control has
  43. failed.
  44. * Form.cs: Validate the form before closing.
  45. [Fixes bugs #330501 and #353310]
  46. 2008-04-18 Andreia Gaita <[email protected]>
  47. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  48. CreateWebBrowserSiteBase implementations
  49. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  50. Style and TabIndex setters
  51. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  52. * ListViewGroup.cs: When returning the actual item count, return the
  53. proper count for default group.
  54. Fix the tests.
  55. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  56. * ListView.cs:
  57. * ListViewGroup.cs: When calculating groups layout, get the actual
  58. number of items per group, since groups added to the group BUT not
  59. added to the ListView are just ignored, and can cause some nasty
  60. exceptions because of the lack of synchronization. Also for
  61. ListViewGroup don't use lazy initialization for items, since we
  62. the common scenario is to use it always - and it helps us to refactor
  63. and clean the .ctor overloads.
  64. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  65. * ListView.cs: When adding an item to a ListViewItemCollection
  66. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  67. the added item hasn't beeen previously added to the ListView instance
  68. refered by the group, since it will be ignored. This should avoid some
  69. really nasty flickering.
  70. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  71. * ListView.cs: When accessing an item in a specific display
  72. position, use the helper method GetItemAtDisplayIndex, instead of
  73. direct access to the reordered_items_indices array. When doing layout
  74. for groups set the correct Items index for the display position (since
  75. in groups mode items don't have the same position as in Items
  76. collection).
  77. * ListViewGroup.cs: Add a field to store the starting item number,
  78. which is later used when calculating the layout.
  79. Fixes #360805.
  80. 2008-04-17 Gert Driesen <[email protected]>
  81. * Application.cs: Fixed ProductVersion to fallback to the assembly
  82. version. Fixes regression for bug #325413.
  83. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  84. * ListView.cs: New helper method to retrieve an item in a _specific
  85. display_ position (the items can be displayed in a different order
  86. than one of Items collection).
  87. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  88. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  89. specific display position (again remember that items can be sorted
  90. different than Items).
  91. 2008-04-16 Jonathan Pobst <[email protected]>
  92. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  93. list and update it when the collection changes. We were recreating
  94. this several times per row paint and for every pixel the mouse moved
  95. across the grid.
  96. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  97. changes.
  98. 2008-04-16 Jonathan Pobst <[email protected]>
  99. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  100. list to use generics.
  101. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  102. and remove unneccessay casts.
  103. 2008-04-16 Jonathan Pobst <[email protected]>
  104. * DataGridViewBand.cs: Add internal way to set displayed variable.
  105. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  106. * DataGridView.cs: Make sure we always keep track of Displayed
  107. rows and columns, and only draw things that are displayed.
  108. 2008-04-16 Atsushi Enomoto <[email protected]>
  109. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  110. whether the key events are filtered or not. Introduced
  111. PreFilter() process for this purpose. This fixes atokx3/iiimx
  112. shift state issue.
  113. 2008-04-16 Andreia Gaita <[email protected]>
  114. * HtmlHistory.cs: Implement Length property
  115. 2008-04-15 Jonathan Pobst <[email protected]>
  116. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  117. away the edit textbox. Refactor to reuse column sort code.
  118. 2008-04-12 Everaldo Canuto <[email protected]>
  119. * MenuAPI.cs: Remove the code that save and restore capture status of
  120. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  121. cause some others, I cant figure the possible problems of this patch but
  122. right now remove the code looks to be better than keep it. This patch fixes
  123. bugs #357638, #378721 and #379570.
  124. 2008-04-12 Andreia Gaita <[email protected]>
  125. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  126. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  127. add missing properties and event handlers.
  128. 2008-04-14 Jonathan Pobst <[email protected]>
  129. * ListBox.cs: Make sure the LargeChange we are setting is at least
  130. zero, to prevent an IOORE. [Fixes bug #379531]
  131. 2008-04-13 Andy Hume <[email protected]>
  132. * ComboBox.cs: Support item navigation by entering text. Firstly,
  133. in DropDownList mode, for each key-press select the next item
  134. starting with that letter.
  135. For other modes, when no item selected, on arrow-up/-down and open
  136. drop-down select the first item matching the text in the textbox.
  137. 2008-04-14 Atsushi Enomoto <[email protected]>
  138. * X11Keyboard.cs : Control.FromHandle() could return null
  139. in MoveCurrentCaretPos().
  140. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  141. * ListView.cs: When changing the size in VirtualMode, also Reset the
  142. selection.
  143. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  144. changing selection info for VirtualMode.
  145. Fixes #372618.
  146. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  147. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  148. view, don't use LineLimit for the first item - use NoWrap *always*
  149. instead, since ListView.LabelWrap is not used for this view.
  150. Fixes #378054.
  151. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  152. * Binding.cs: Call UpdateIsBinding when setting control - probably
  153. Binding is already usable and we don't need to wait to check the
  154. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  155. Created, just like 2.0 does.
  156. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  157. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  158. * Binding.cs: Just realized we don't need to have a handler for
  159. BindingContextChanged, since this info should be now consumed directly
  160. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  161. state info is checked directly, instead of caching it.
  162. * CurrencyManager.cs: IsSuspended should return always false if Count
  163. == 0.
  164. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  165. * Binding.cs: When calling PushData, return if manager.Count == 0,
  166. since we just don't have data to be read. Also, when setting the
  167. Control for binding, hook up some events to refresh the IsBinding
  168. state when BindingContext change or control gets created; use
  169. Control.IsHandleCreated instead of Control.Created check to set
  170. IsBinding state - we *actually* need to modify IsBinding when control
  171. is created, but we don't have any Created event, only HandleCreated.
  172. Fixes part of #349364.
  173. 2008-04-11 Geoff Norton <[email protected]>
  174. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  175. warping a null Caret.
  176. 2008-04-11 Jonathan Pobst <[email protected]>
  177. * DataGridView.cs: Implement row/column autosizing methods. Implement
  178. autosorting.
  179. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  180. * DataGridViewRowCollection.cs: Add an internal sorting method.
  181. 2008-04-11 Jonathan Pobst <[email protected]>
  182. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  183. value in ListView drawing code.
  184. 2008-04-11 Jonathan Pobst <[email protected]>
  185. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  186. is clicked. Respect the user setting Cancel in FileOk.
  187. 2008-04-11 Geoff Norton <[email protected]>
  188. * ListView.cs: Avoid setting and resetting control Width/Heights and
  189. calculate the final value and set it once. Prevents a feedback loop
  190. on the mac.
  191. 2008-04-10 Jonathan Pobst <[email protected]>
  192. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  193. [Fixes bug #378869]
  194. 2008-04-10 Atsushi Enomoto <[email protected]>
  195. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  196. Add some on-the-spot code, but it seems we don't need it.
  197. 2008-04-10 Jonathan Pobst <[email protected]>
  198. * Form.cs: Add method for DataGridView to trigger focus cues
  199. even when it handles the tab keypress.
  200. 2008-04-10 Jonathan Pobst <[email protected]>
  201. * DataGridView.cs: More keyboard handling, tab, esc.
  202. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  203. when at the beginning or end of the text in the text box.
  204. 2008-04-09 Jonathan Pobst <[email protected]>
  205. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  206. 2008-04-09 Jonathan Pobst <[email protected]>
  207. * DataGridView.cs: Some fixups for showing and adding the edit control.
  208. * DataGridViewButtonColumn.cs: Implement ToString.
  209. * DataGridViewCell.cs: Size and position the control simultaneously.
  210. * DataGridViewTextBoxCell.cs: Use base to position control.
  211. 2008-04-09 Jonathan Pobst <[email protected]>
  212. * DataGridViewCell.cs: Fix up some formatting and painting code.
  213. * DataGridViewImageCell.cs: Implement some NIEX methods.
  214. 2008-04-09 Jonathan Pobst <[email protected]>
  215. * ToolStripItemCollection.cs: What moving an item from one owner
  216. to another, remove from source owner before adding to destination.
  217. [Fixes bug #378109]
  218. 2008-04-09 Jonathan Pobst <[email protected]>
  219. * PictureBox.cs: Call Load when ImageLocation is set.
  220. [Fixes bug #378308]
  221. 2008-04-09 Atsushi Enomoto <[email protected]>
  222. * X11Keyboard.cs, XplatUIX11.cs :
  223. Implement over-the-spot mode (with some odd offsets).
  224. - set preedit position when caret is set.
  225. - Wrap XMoveResizeWindow() to move preedit position.
  226. 2008-04-08 Everaldo Canuto <[email protected]>
  227. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  228. array lenght.
  229. 2008-04-08 Everaldo Canuto <[email protected]>
  230. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  231. and ScanTableIndex public, it fix compilations errors when compiling
  232. WinForms to generate keyboard layout resources.
  233. 2008-04-08 Everaldo Canuto <[email protected]>
  234. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  235. different element count than scan table. It prevents some errors in non
  236. standard keyboards.
  237. 2008-04-08 Jonathan Pobst <[email protected]>
  238. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  239. 2008-04-08 Jonathan Pobst <[email protected]>
  240. * DataGridView.cs: Call OnContentClick.
  241. * DataGridViewCell.cs: Do a null check on ValueType instead
  242. of valueType.
  243. * DataGridViewCheckBoxCell.cs: Implement.
  244. 2008-04-08 Atsushi Enomoto <[email protected]>
  245. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  246. 2008-04-08 Atsushi Enomoto <[email protected]>
  247. * X11Keyboard.cs : Check XGetIMValues() return value in
  248. case it does not return input styles in some environment.
  249. 2008-04-08 Atsushi Enomoto <[email protected]>
  250. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  251. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  252. * BindingContext.cs: Stub UpdateBinding method.
  253. 2008-04-07 Atsushi Enomoto <[email protected]>
  254. * X11Structs.cs : added couple of structs for XIM support.
  255. * X11Keyboard.cs :
  256. Release XIM in case it failed to create XIC.
  257. Use consts for XNblah string.
  258. Add support for IM style customization and XIC creation
  259. for preedit-position and preedit-callback.
  260. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  261. (list of: over-the-spot | on-the-spot | root). Only root
  262. mode works so far.
  263. (redoing r99172 with fix.)
  264. 2008-04-07 Jonathan Pobst <[email protected]>
  265. * TreeView.cs: Center the checkbox a little better.
  266. 2008-04-07 Jonathan Pobst <[email protected]>
  267. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  268. Apply very nice patch from Ernesto Carrea that simplifies our
  269. scrollbar drawing. [From bug #376146]
  270. 2008-04-07 Jonathan Pobst <[email protected]>
  271. * TreeView.cs: Correct the location of the root node checkbox when
  272. ShowRootLines = false. Don't draw the root lines for the root node
  273. when ShowRootLines = false. [Fixes bug #377535]
  274. 2008-04-06 Gert Driesen <[email protected]>
  275. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  276. Fixed line endings.
  277. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  278. line endings.
  279. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  280. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  281. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  282. * ImeMode.cs: Added missing field.
  283. * HtmlWindow.cs: Code formatting. Fixed line endings.
  284. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  285. warnings.
  286. * HtmlHistory.cs: Code formatting. Fixed line endings.
  287. * HtmlDocument.cs: Code formatting. Fixed line endings.
  288. * ToolStripPanel.cs: Added missing IList implementation.
  289. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  290. 2008-04-06 Gert Driesen <[email protected]>
  291. * BindingContext.cs: Changed argument names to fix corcompare errors.
  292. * DataGridView.cs: Removed extra explicit interface implementation
  293. of IDropTarget. Code formatting.
  294. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  295. * ComboBox.cs: Changed argument names to fix corcompare errors.
  296. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  297. errors.
  298. * GridColumnStylesCollection.cs: Changed argument names to fix
  299. corcompare errors. Removed extra tabs.
  300. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  301. errors.
  302. * Control.cs: Changed argument names to fix corcompare errors. Code
  303. formatting. Removed extra explicit IList implementation.
  304. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  305. formatting. Use string.Empty instead of "".
  306. * GridItemCollection.cs: Changed argument names to fix corcompare
  307. errors. Code formatting.
  308. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  309. corcompare errors. Code formatting.
  310. * ImageList.cs: Changed argument names to fix corcompare errors.
  311. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  312. * DataGridViewRowCollection.cs: Changed argument names to fix
  313. corcompare errors. Code formatting.
  314. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  315. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  316. fix corcompare errors. Code formatting.
  317. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  318. corcompare errors. Code formatting.
  319. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  320. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  321. formatting.
  322. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  323. Code formatting.
  324. * BindingSource.cs: Changed argument names to fix corcompare errors.
  325. Removed extra explicit interface implementations.
  326. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  327. fix corcompare errors. Code formatting.
  328. * ToolStripItemCollection.cs: Removed extra explicit interface
  329. implementation of IList.ReadOnly.
  330. * DataGridViewColumnCollection.cs: Changed argument names to fix
  331. corcompare errors. Code formatting.
  332. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  333. * ListView.cs: Changed argument names to fix corcompare errors.
  334. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  335. errors.
  336. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  337. errors.
  338. * ListBindingHelper.cs: Changed argument names to fix corcompare
  339. errors.
  340. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  341. fix corcompare errors. Code formatting.
  342. * ToolStripPanel.cs: Removed extra explicit implementation of
  343. IDropTarget interface.
  344. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  345. formatting. Removed extra tabs and spaces.
  346. * DataGridViewCellCollection.cs: Changed argument names to fix
  347. corcompare errors.
  348. * Help.cs: Changed argument names to fix corcompare errors. Code
  349. formatting.
  350. * TabControl.cs: Changed argument names to fix corcompare errors.
  351. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  352. errors.
  353. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  354. errors.
  355. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  356. * ListBindingHelper.cs: When returning properties, only return those
  357. that are browsable. Also, don't do a linear search of the properties,
  358. but use the indexer of the PropertyDescriptorCollection class.
  359. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  360. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  361. Dictionary containing the related (child) currency managers. Also,
  362. when setting DataSource, add datasource to our List if it is not a list.
  363. 2008-04-05 Ivan N. Zlatev <[email protected]>
  364. * PropertyGridTextBox.cs: Fix background color of the buttons.
  365. * PropertyGridView.cs: Make the entry less jumpy.
  366. 2008-04-05 Ivan N. Zlatev <[email protected]>
  367. * PropertyGrid.cs: Fix unused variable warnings.
  368. 2008-04-05 Ivan N. Zlatev <[email protected]>
  369. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  370. double-click. It expanded it once in the mouse down and then
  371. again in the double-click handler.
  372. 2008-04-04 Ivan N. Zlatev <[email protected]>
  373. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  374. TypeConverter and UITypeEditors.
  375. 2008-04-04 Ivan N. Zlatev <[email protected]>
  376. * Control.cs: Visibility should be set synchronously,
  377. so we must also redraw once it is and not rely on layouting or
  378. other code to repaint.
  379. [Fixes bug #339898]
  380. 2008-04-04 Jonathan Pobst <[email protected]>
  381. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  382. 2008-04-03 Jonathan Pobst <[email protected]>
  383. * Control.cs: Invalidate when the alpha channel is less than 255,
  384. not only when control is transparent.
  385. 2008-04-03 Jonathan Pobst <[email protected]>
  386. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  387. Implement some painting convenience methods that threw NIEX.
  388. 2008-04-03 Jonathan Pobst <[email protected]>
  389. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  390. * DataGridViewLinkCell.cs: Implement.
  391. 2008-04-03 Ivan N. Zlatev <[email protected]>
  392. * GridEntry.cs: Report the conversion exception error description.
  393. [Fixes bug #375792]
  394. 2008-04-03 Ivan N. Zlatev <[email protected]>
  395. * PropertyGridView.cs: Do not scroll to item on resize.
  396. [Fixes bug #375789]
  397. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  398. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  399. dataSource parameter is ICurrencyManagerProvider, then return
  400. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  401. instead of creating a new one.
  402. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  403. * BindingSource.cs: Implement support for Type instances as
  404. DataSource.
  405. 2008-04-02 Jonathan Pobst <[email protected]>
  406. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  407. * DataGridViewCell.cs: Make some painting routines internally virtual.
  408. * DataGridViewButtonCell.cs: Implement.
  409. 2008-04-02 Jonathan Pobst <[email protected]>
  410. * Control.cs: We always need to invalidate our children with
  411. transparent backgrounds when we are invalidated.
  412. [Fixes bug #376081]
  413. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  414. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  415. and CancelCurrentEdit on CurrencyManager respectively. Implement
  416. support for ICancelAddNew too.
  417. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  418. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  419. call EndNew/CancelNew if list is ICancelAddNew.
  420. 2008-04-01 Jonathan Pobst <[email protected]>
  421. * DataGridView.cs: Guard against an exception while painting
  422. if there are no rows.
  423. 2008-04-01 Jonathan Pobst <[email protected]>
  424. * DataGridView.cs: Implement a bunch of keyboard commands.
  425. 2008-03-31 Jonathan Pobst <[email protected]>
  426. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  427. isn't set, don't call OnPaint. [Fixes bug #375300]
  428. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  429. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  430. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  431. hookup the remaining events related to CurrencyManager, and fire
  432. OnListChanged also for the Clear () method.
  433. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  434. * BindingSource.cs: Use Current and Position implementations in
  435. CurrencyManager instead of using our own routines, since we need
  436. to be in synch with it. Count should NEVER return a -1 value, and
  437. also report ListChanged events for both simple IList data
  438. sources (manually) as well for IBindingList ones (by hooking up an
  439. event handler for it).
  440. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  441. * BindingSource.cs: Make one .ctor call the another, to avoid
  442. duplicate code. Add the CurrencyManager property, and also for AddNew
  443. throw the proper exceptions and show better error messages.
  444. 2008-03-28 Jonathan Pobst <[email protected]>
  445. * ComboBox.cs: Only adjust selectedindex if Handle has been
  446. created. Fixes failing test.
  447. 2008-03-28 Jonathan Pobst <[email protected]>
  448. * ComboBox.cs: Adjust selectedindex if we insert a new item
  449. above the current selectedindex in a sorted ComboBox.
  450. [Fixes bug #374654]
  451. 2008-03-28 Jonathan Pobst <[email protected]>
  452. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  453. [Fixes bug #374712]
  454. 2008-03-28 Jonathan Pobst <[email protected]>
  455. * DataGridViewTextBoxCell.cs: Implement stuffs.
  456. 2008-03-27 Jonathan Pobst <[email protected]>
  457. * TreeView.cs: Create the scrollbars even earlier to be
  458. double dog certain they are created before they are accessed.
  459. 2008-03-27 Jonathan Pobst <[email protected]>
  460. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  461. 2008-03-27 Jonathan Pobst <[email protected]>
  462. * ScrollBar.cs: Create an internal safe Value setter so we
  463. won't crash if we try to set a value outside the min and max.
  464. * TextBoxBase.cs: Use safe value setter to guard against a
  465. potential NRE that is being reported by Reflector.
  466. 2008-03-27 Jonathan Pobst <[email protected]>
  467. * TreeView.cs: Create the scrollbars earlier in the constructor
  468. to attempt to guard against an NRE in SetTop in Reflector.
  469. 2008-03-27 Jonathan Pobst <[email protected]>
  470. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  471. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  472. show messagebox on data format error, use column display index
  473. correctly, make sure HitTest supports new layout stuff,
  474. make sure scrollbars support new layout stuff.
  475. 2008-03-27 Atsushi Enomoto <[email protected]>
  476. * XplatUIX11.cs : Patch by Doug Rintoul.
  477. For some IM engines, keypress events need to delay call
  478. to XPending() and XNextEvent() in the loop so that it
  479. does not mess the orders in XIM commit callback.
  480. Some KeyRelease events such as shift keys need to be
  481. processed both in the IM engine and winforms driver
  482. itself since winforms holds its own state check.
  483. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  484. 2008-03-27 Atsushi Enomoto <[email protected]>
  485. * X11Keyboard.cs, XplatUIX11.cs :
  486. add primitive support for XIM input support (preedit-
  487. nothing and status-nothing). It requires precise event
  488. capturing (XSelectInput/"filterEvents") and different
  489. call to XFilterEvent against root window.
  490. Get composed string and send dummy WM_IME_COMPOSITION.
  491. Free XIM and XIC instances in finalizer.
  492. (This first patch does not include suggested changes
  493. by Doug Rintoul. It will follow.)
  494. 2008-03-26 Jonathan Pobst <[email protected]>
  495. * DataGridView.cs: When binding to a property, if the property
  496. doesn't have a setter, set the column to readonly.
  497. [Fixes bug #343965]
  498. 2008-03-26 Jonathan Pobst <[email protected]>
  499. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  500. we aren't dropped down. Support Home/End in DropDownList mode.
  501. [Fixes bug #371990]
  502. 2008-03-26 Jonathan Pobst <[email protected]>
  503. * TreeNodeCollection.cs: Don't increment count until we've
  504. saved our index to return.
  505. [Fixes bug #373603]
  506. 2008-03-25 Jonathan Pobst <[email protected]>
  507. * Label.cs: Add padding to the label's AutoSize calculation.
  508. [Fixes bug #373792]
  509. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  510. * ListBindingHelper.cs: Actually implement GetListName method.
  511. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  512. * BindingSource.cs: Throw the propert expceptions for some methods, as
  513. well as detect the list item type for Add method if DataSource is null.
  514. 2008-03-25 Jonathan Pobst <[email protected]>
  515. * DataGridViewCell.cs: I don't know why I commented this out,
  516. putting it back for now.
  517. 2008-03-25 Jonathan Pobst <[email protected]>
  518. * DataGridViewCell.cs: Remove storage for owning column, just
  519. use column index.
  520. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  521. * DataGridViewColumnHeaderCell.cs: If the header text has been
  522. explicitly set, return it.
  523. [Fixes bug #325979]
  524. 2008-03-25 Jonathan Pobst <[email protected]>
  525. * DataGridViewRowCollection.cs: Disable row sharing when
  526. using data binding. Its a great feature, but lets work on
  527. getting DGV usable first before we worry about optimizations.
  528. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  529. * BindingSource.cs: When resetting our internal list, compute list
  530. item type information to be used for indirect list access. Also
  531. implement/tune some properties and methods related to the list access
  532. too.
  533. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  534. BindingSource.
  535. 2008-03-24 Jonathan Pobst <[email protected]>
  536. * DataGridView.cs: If RowCount is increased while ColumnCount
  537. is zero, add a column. [Fixes bug #331649]
  538. 2008-03-24 Jonathan Pobst <[email protected]>
  539. * DataGridViewRowCollection.cs: When adding new rows for
  540. databinding, make sure they are place before the add row.
  541. [Fixes bug #343961]
  542. 2008-03-24 Jonathan Pobst <[email protected]>
  543. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  544. instead of Index order.
  545. 2008-03-24 Jonathan Pobst <[email protected]>
  546. * DataGridView.cs: If columns are added by increasing ColumnCount,
  547. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  548. [Fixes bug #325588]
  549. 2008-03-24 Jonathan Pobst <[email protected]>
  550. * DataGridView.cs: Turn off and on the "new row" when
  551. AllowUserToAddRows is toggled. When the handle is created,
  552. set current cell and selected cell/row/col.
  553. 2008-03-24 Jonathan Pobst <[email protected]>
  554. * ComboBox.cs: When navigating the drop down by keyboard, we
  555. need to scroll the list box if our selection moves out of the
  556. currently shown items. [Fixes bug #371990]
  557. 2008-03-24 Luke Page <[email protected]>
  558. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  559. on the control. Also now handles unicode compatibility characters and
  560. stores the unicode compatibility length on the stack. Fixes Bugs
  561. #355198 and #366436.
  562. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  563. * BindingSource..cs: Take into account DataMember when re-creating the
  564. List property, and also create a specific kind of list as needed.
  565. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  566. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  567. get an empty IEnumerable, try to detect whether the datamember is
  568. valid or not for that type, if true, return null, and throw exception
  569. otherwise.
  570. 2008-03-22 Jonathan Pobst <[email protected]>
  571. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  572. retract it. [Fixes bug #371989]
  573. 2008-03-22 Ivan N. Zlatev <[email protected]>
  574. * PropertyGrid.cs: Initialize the sorting button as pushed.
  575. 2008-03-22 Ivan N. Zlatev <[email protected]>
  576. * PropertyGrid.cs:
  577. - Visually select the PropertyTab.
  578. - Filter Properties by Attributes properly.
  579. 2008-03-21 Jonathan Pobst <[email protected]>
  580. * MenuItem.cs: Remove menu item from parent when disposed.
  581. [Fixes bug #372845]
  582. 2008-03-21 Jonathan Pobst <[email protected]>
  583. * ToolBar.cs: Don't reset layout_type if Dock = None.
  584. 2008-03-21 Andreia Gaita <[email protected]>
  585. * UserControl.cs: Select the first available control when we get focus.
  586. Fixes #372616
  587. 2008-03-21 Jonathan Pobst <[email protected]>
  588. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  589. the content if we are in edit mode. [Fixes bug #343964]
  590. 2008-03-21 Jonathan Pobst <[email protected]>
  591. * DataGridViewCell.cs: Fix border painting for column headers.
  592. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  593. * BindingSource.cs: When setting or resetting data source,
  594. use ListBindingHelper.GetList () method, since it will get the list in
  595. case datasource is IListSource.
  596. 2008-03-20 Jonathan Pobst <[email protected]>
  597. * DataGridViewCell.cs: Implement lots more stuffs.
  598. 2008-03-20 Ivan N. Zlatev <[email protected]>
  599. * PropertyGridView.cs, GridEntry.cs: Implement support for
  600. UITypeEditor.IsDropDownResizable.
  601. 2008-03-20 Jonathan Pobst <[email protected]>
  602. * DataGridViewCell.cs: Remove unused variables, improve how
  603. several of the property getters work.
  604. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  605. get its size from the parent row/col.
  606. 2008-03-20 Ivan N. Zlatev <[email protected]>
  607. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  608. user alters manually the PropertyTabs collection via the
  609. PropertyTabs property.
  610. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  611. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  612. new tests for them to be sure to be compatible with .net.
  613. 2008-03-20 Andreia Gaita <[email protected]>
  614. * WebBrowserBase.cs: Fix attributes, add events
  615. * WebBrowser.cs: Fix Padding signature
  616. 2008-03-20 Ivan N. Zlatev <[email protected]>
  617. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  618. 2008-03-19 Jonathan Pobst <[email protected]>
  619. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  620. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  621. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  622. passes the new suite of tests for it.
  623. 2008-03-18 Andreia Gaita <[email protected]>
  624. * WebBrowser.cs: Add missing attributes, missing Padding and
  625. DefaultSize properties, remove extraneous getters
  626. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  627. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  628. method overloads.
  629. 2008-03-16 Jonathan Pobst <[email protected]>
  630. * ComboBox.cs: Move resetting the selected index to keypress
  631. instead of textchanged. Changing the text programmatically
  632. should not trigger resetting the selected index. Fixes test.
  633. 2008-03-16 Jonathan Pobst <[email protected]>
  634. * ComboBox.cs: When the user types into the textbox, reset
  635. the selected index to -1. [Fixes bug #371672]
  636. 2008-03-16 Jonathan Pobst <[email protected]>
  637. * FileDialog.cs: Support Control-A for selecting everything
  638. in an OpenFileDialog. [Fixes bug #371564]
  639. 2008-03-15 Jonathan Pobst <[email protected]>
  640. * DataGridView.cs: When row/column visible/height properties
  641. change, invalidate. Take the NIEX out of InvalidateRow/Column
  642. etc. We don't support them yet, but we can just invalidate
  643. everything until we do support them. (Added MonoTODO). Set
  644. proper control styles.
  645. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  646. are turned off.
  647. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  648. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  649. 2008-03-14 Jonathan Pobst <[email protected]>
  650. * DataGridViewRow.cs: Only paint the white background in
  651. cell bounds, the row bounds extends past the cells if the
  652. grid width isn't as wide as the DGV.
  653. 2008-03-14 Jonathan Pobst <[email protected]>
  654. * DataGridView*: Completely revamp the drawing to match the
  655. public API. Our grids now look better, and call all the
  656. appropriate methods and event to allow users to override
  657. the painting and do their own.
  658. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  659. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  660. 2008-03-13 Jonathan Pobst <[email protected]>
  661. * DataGridView.cs: Implement BorderStyle.
  662. 2008-03-13 Jonathan Pobst <[email protected]>
  663. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  664. are comparing attributes, make sure we only look at the
  665. one we are interested. These calls were failing if there
  666. were more than one attribute.
  667. [Fixes bug #370385]
  668. 2008-03-13 Jonathan Pobst <[email protected]>
  669. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  670. 2008-03-12 Jonathan Pobst <[email protected]>
  671. * PageSetupDialog.cs: Stub EnableMetric.
  672. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  673. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  674. ProcessTabKey.
  675. 2008-03-12 Jonathan Pobst <[email protected]>
  676. * MonthCalendar.cs: Remove unused variable.
  677. 2008-03-12 Jonathan Pobst <[email protected]>
  678. * DataGridView*.cs: corcompare stuffs.
  679. 2008-03-11 Jonathan Pobst <[email protected]>
  680. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  681. The savings aren't worth the extra code to fix the optimization.
  682. [Fixes bug #368585]
  683. 2008-03-11 Jonathan Pobst <[email protected]>
  684. * ToolBar.cs: Always call base.Dock in the Dock override so that
  685. Control's layout_type gets reset correctly.
  686. [Fixes bug #368882]
  687. 2008-03-11 Ivan N. Zlatev <[email protected]>
  688. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  689. 2008-03-11 Jonathan Pobst <[email protected]>
  690. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  691. at the same time we do explicit ones, because we have to give all
  692. other controls on the container a chance to handle explicit ones
  693. first. If no one has an explicit mnemonic, then we can let the
  694. MenuStrip have a shot at implicit mnemonics.
  695. * MenuStrip.cs: Create an implicit mnemonic function.
  696. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  697. mnemonics for MenuStrips.
  698. [Fixes bug #368493]
  699. 2008-03-11 Jonathan Pobst <[email protected]>
  700. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  701. DataGridColumnStyle.cs: corcompare stuffs.
  702. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  703. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  704. Details - This is needed after we added the bits to use any available
  705. column also for List and SmallIcon view.
  706. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  707. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  708. at the proper place, not only when changing SelectedIndex and changing
  709. the selection using keys/mouse, as .net does.
  710. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  711. * ControlBindingsCollection.cs: Implement last 2.0
  712. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  713. in the new 2.0 Add methods.
  714. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  715. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  716. return if no items are previously selected - this is done to avoid
  717. firing OnSelectedIndexChanged without need to do so. Also,
  718. when creating handle ensure that the focused item is visible (as
  719. .net does).
  720. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  721. * ListBox.cs: Rewrote/refactored most of selection code. We require
  722. the following things in selection: a) keep selection sorted (both
  723. indices and items), b) SelectedIndices automatically detect the
  724. selection mode, c) SelectedIndex should be the first selected item
  725. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  726. not only for SelectedIndex, which is specially important in Multi*
  727. selection modes. To achieve this we are moving the selection core to
  728. SelectedIndexCollection and make depend all selection modifications on
  729. it.
  730. Fixes #366438.
  731. 2008-03-06 Jonathan Pobst <[email protected]>
  732. * ToolStrip.cs: Enable implicit mnemonics for drop down
  733. menu strips. [Fixes part of bug #367692]
  734. 2008-03-06 Jonathan Pobst <[email protected]>
  735. corcompare - fix parameter names [stragglers].
  736. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  737. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  738. TabControl.cs.
  739. 2008-03-06 Jonathan Pobst <[email protected]>
  740. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  741. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  742. mnemonic, let the ToolStripManager have it even if it doesn't
  743. have a matching mnemonic.
  744. [Fixes bug #367499]
  745. 2008-03-06 Jonathan Pobst <[email protected]>
  746. corcompare - fix warning about implicit implementation
  747. * ToolStrip.cs: Add IToolStripData interface.
  748. * IToolStripData.cs: Add.
  749. 2008-03-06 Jonathan Pobst <[email protected]>
  750. corcompare - fix warning about implicit implementation
  751. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  752. * IBounds.cs: Add.
  753. 2008-03-05 Jonathan Pobst <[email protected]>
  754. corcompare - fix parameter names [N-Z].
  755. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  756. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  757. PropertyManager.cs, RichTextBox.cs,
  758. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  759. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  760. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  761. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  762. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  763. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  764. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  765. ToolStripPanel.cs, ToolStripSeparator.cs,
  766. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  767. UICuesEventHandler.cs, UpDownBase.cs.
  768. 2008-03-05 Jonathan Pobst <[email protected]>
  769. corcompare - fix parameter names [G-M].
  770. GridColumnStylesCollection.cs, GridItemCollection.cs,
  771. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  772. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  773. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  774. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  775. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  776. 2008-03-05 Jonathan Pobst <[email protected]>
  777. corcompare - fix parameter names [A-F].
  778. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  779. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  780. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  781. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  782. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  783. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  784. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  785. 2008-03-03 Ivan N. Zlatev <[email protected]>
  786. * GridEntry.cs: Do not convert not only if the types match,
  787. but also if the property type is assigneable from the value's
  788. type.
  789. [Fixes bug #366566]
  790. 2008-03-03 Ivan N. Zlatev <[email protected]>
  791. * PropertyGridView.cs:
  792. - Subscribe to the listbox only once and not everytime.
  793. - Update the textbox even if SetValue fails.
  794. - Close the listbox before calling TrySetValue just in case.
  795. [Fixes bug #366569]
  796. 2008-03-03 Jonathan Pobst <[email protected]>
  797. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  798. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  799. * ListView.cs: Implement support for custom column width based on
  800. Columns collection (we were previously using this collection only
  801. with Details view).
  802. Fixes #364484.
  803. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  804. * ListViewItem.cs: For Tile view, always set bounds for the first
  805. subitem (which is the main one), and also don't let Width be larger
  806. than ListView.TileSize.Width. Improve code readibility also.
  807. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  808. in Tile view, _always_ use the NoWrap flag.
  809. Fixes #360798.
  810. 2008-02-29 Ivan N. Zlatev <[email protected]>
  811. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  812. in case.
  813. * GridEntry.cs: For MS compitability make all child properties
  814. readonly if the parent is readonly. Ugh.
  815. [Fixes bug #365945 and #365944]
  816. 2008-02-29 Andreia Gaita <[email protected]>
  817. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  818. relative to the history
  819. 2008-02-29 Andreia Gaita <[email protected]>
  820. * HtmlElement.cs: More handlers for mouse and key events
  821. 2008-02-28 Andreia Gaita <[email protected]>
  822. * WebBrowserBase.cs: MouseClick sig changed.
  823. * HtmlHistory.cs: Implement history navigation
  824. * HtmlElement.cs: Add event handlers, and connect them.
  825. 2008-02-28 Ivan N. Zlatev <[email protected]>
  826. * GridEntry.cs:
  827. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  828. so that DisplayNameAttribute doesn't get ignored.
  829. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  830. - Add support for PasswordPropertyTextAttribute
  831. * PropertyGridView.cs: Check if an entry is a password.
  832. [Fixes bugs #365589, #365586, #365588]
  833. 2008-02-28 Andreia Gaita <[email protected]>
  834. * PropertyGridView.cs: Revert the message filtering change, as we
  835. need it to block after all. Remove block parameter, unnecessary.
  836. 2008-02-27 Jonathan Pobst <[email protected]>
  837. * UserControl.cs: Better implementation of GetPreferredSize.
  838. First step to fixing bug #361441.
  839. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  840. * Binding.cs: Actually implement data binding support for
  841. classes implementing IBindableComponent.
  842. * ControlBindingsCollection.cs: Likewise.
  843. 2008-02-26 Andreia Gaita <[email protected]>
  844. * PropertyGridView.cs: Use a message filter to check when to
  845. close the dropdown
  846. 2008-02-26 Andreia Gaita <[email protected]>
  847. * Application.cs: Change the message_filters loop so a filter
  848. can be removed while looping.
  849. 2008-02-26 Ivan N. Zlatev <[email protected]>
  850. * GridEntry.cs: Optimization in ToggleValue so that it caches
  851. the current value.
  852. * PropertyGridView.cs: An optimization so that the property isn't
  853. re-read twice for each StandardValue added to the drop-down menu.
  854. Patch by Andy Hume <[email protected]> under the MIT/X11
  855. license.
  856. [Fixes bug #362755]
  857. 2008-02-26 Jonathan Pobst <[email protected]>
  858. * Application.cs: Apply patch from Justin Cherniak to match
  859. MS better for ProductName, ProductVersion, and CompanyName.
  860. [Fixes bug #361709]
  861. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  862. * Binding.cs: Actually implement 2.0 NullValue property. Also
  863. when changing the formatting related properties, only update the state
  864. if formatting_enabled is true (we don't mind otherwise).
  865. 2008-02-25 Jonathan Pobst <[email protected]>
  866. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  867. [Fixes bug #364486]
  868. 2008-02-25 Ivan N. Zlatev <[email protected]>
  869. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  870. of GetType on the current value as it uses reflection to
  871. determine the type. This fixes the case where the new value is
  872. null.
  873. 2008-02-25 Ivan N. Zlatev <[email protected]>
  874. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  875. past the view.
  876. 2008-02-24 Luke Page <[email protected]>
  877. * Line.cs, TextControl.cs: Implement offset x and y so that a
  878. document doesn't have to begin at (0,0) on the viewpoint.
  879. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  880. bars and switches the text alignment (and therefore is now
  881. implemented for textbox). Fixes #321383.
  882. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  883. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  884. properties. Also when changing FormattingEnabled update the control
  885. property -as .Net does-.
  886. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  887. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  888. * Binding.cs: Add stubs for the overloads of the Add method in
  889. CBCollection.
  890. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  891. * Binding.cs: PullData () returns a false value if we got an exception.
  892. Also when validating the control and we get an error, instead of
  893. setting the value of the previous one, cancel the event (tested in 1.1
  894. and 2.0).
  895. 2008-02-22 Jonathan Pobst <[email protected]>
  896. * TreeView.cs: Make selected_node and highlighted_node internal.
  897. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  898. to null when Nodes.Clear is called.
  899. [Fixes bug #363884]
  900. 2008-02-21 Jonathan Pobst <[email protected]>
  901. * FontDialog.cs: Ensure that when the Font is set in code,
  902. all the gui pieces are updated accordingly.
  903. [Fixes bug #361020]
  904. 2008-02-21 Jonathan Pobst <[email protected]>
  905. * TextRenderer.cs: Respect proposed size for MeasureString.
  906. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  907. autosize, use a proposed width to force wrapping for long text.
  908. [Fixes bug #360981]
  909. 2008-02-21 Jonathan Pobst <[email protected]>
  910. * TreeView.cs: Factor in checkboxes = false and state images in
  911. to HitTest. [Fixes bug #363360]
  912. 2008-02-21 Jonathan Pobst <[email protected]>
  913. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  914. when drawing the selected range.
  915. [Fixes bug #363648]
  916. 2008-02-21 Jonathan Pobst <[email protected]>
  917. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  918. ResizeRedraw control styles.
  919. [Fixes bug #363555]
  920. 2008-02-20 Jonathan Pobst <[email protected]>
  921. * TreeView.cs: StateImages are basically custom checkboxes, so
  922. factor their size the same as real checkboxes when determining
  923. what got clicked.
  924. [Fixes bug #363367]
  925. 2008-02-20 Jonathan Pobst <[email protected]>
  926. * MessageBox.cs: Make the message box wider if the form caption
  927. is longer than the text in the form.
  928. [Fixes bug #361137]
  929. 2008-02-20 Ivan N. Zlatev <[email protected]>
  930. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  931. 2008-02-20 Jonathan Pobst <[email protected]>
  932. * TreeNode.cs: Guard against an NRE when the parent's
  933. StateImageList hasn't been set.
  934. [Fixes bug #363353]
  935. 2008-02-20 Jonathan Pobst <[email protected]>
  936. * SplitContainer.cs: Add SupportsTransparentBackColor and
  937. OptimizedDoubleBuffering control styles.
  938. [Fixes bug #363303]
  939. 2008-02-20 Jonathan Pobst <[email protected]>
  940. * Application.cs: For the app data paths and the registry key paths,
  941. ensure they are created before returning them to the user.
  942. [Fixes bug #361709]
  943. 2008-02-20 Jonathan Pobst <[email protected]>
  944. * Application.cs: Guard against an NRE in CompanyName and
  945. ProductName.
  946. 2008-02-20 Jonathan Pobst <[email protected]>
  947. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  948. make sure we handle all three cases correctly: attribute is present,
  949. attribute is present but is an empty string, and attribute is not
  950. present.
  951. 2008-02-20 Ivan N. Zlatev <[email protected]>
  952. * PropertyGridView.cs:
  953. - Fix a NRE that caused a test failure
  954. - Another performance improvement - cache the standard values
  955. listbox.
  956. 2008-02-19 Jonathan Pobst <[email protected]>
  957. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  958. code paths.
  959. 2008-02-19 Ivan N. Zlatev <[email protected]>
  960. * PropertyGridView.cs: Fix a big performance bug.
  961. 2008-02-19 Jonathan Pobst <[email protected]>
  962. * SelectionRange.cs: Apply patch from Andy Hume to make
  963. constructor behavior more accurate. [Fixes bug #362117]
  964. 2008-02-19 Andreia Gaita <[email protected]>
  965. * Control.cs: Added a new flag is_disposing to track if the
  966. window is currently in the process of being disposed of.
  967. This is used so that, when firing visibility changes triggered
  968. by unparenting controls during Dispose, the control doesn't
  969. get created again.
  970. 2008-02-19 Jonathan Pobst <[email protected]>
  971. * ComboBox.cs: Set height to preferred height when the handle
  972. is created. [Fixes bug #360862]
  973. 2008-02-18 Andreia Gaita <[email protected]>
  974. * XplatUIX11.cs: Create FosterParent with border width at 0.
  975. With the previous value of 4, everytime a control got reparented
  976. from parent = null, it's location would be shifted right and
  977. down by 4, since these coordinates would be offset by the
  978. FosterParent's border width.
  979. 2008-02-18 Ivan N. Zlatev <[email protected]>
  980. * Control.cs: During diposing firstly remove ourselfes from
  981. the parent and *then* destroy our handle, because removing
  982. ourselfes from the parent controls collection causes
  983. VisibilityChange, etc events, which require a handle and end
  984. up recreating the control.
  985. 2008-02-17 Ivan N. Zlatev <[email protected]>
  986. * GridEntry.cs: Set expanded state before notifying that the
  987. expansion has taken place.
  988. * PropertyGridView.cs:
  989. - Set the propertygridtextbox text to the selected
  990. StandardValue before proceeding to setting it.
  991. - Scrolling bugfixes.
  992. 2008-02-16 Ivan N. Zlatev <[email protected]>
  993. * GridEntry.cs:
  994. - Fix ValueText to not return null.
  995. - Fix conversion error reporting to actually happen.
  996. * PropertyGridView.cs: Set entry only if the text has changed.
  997. [Fixes bug #362116]
  998. 2008-02-16 Ivan N. Zlatev <[email protected]>
  999. * GridEntry.cs:
  1000. - Fix handling of a null current value.
  1001. - Swallow editor exceptions.
  1002. [Fixes bug #362114]
  1003. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1004. * PropertyGrid.cs: Clear current items first thing before
  1005. repopulating subitems.
  1006. * GridEntry.cs:
  1007. - Handle null StandardValuesCollection.
  1008. - Mark as not editable if there is no PropertyDescriptor and
  1009. if the Converter cannot convert from string.
  1010. [Part of fix for bugs #360666 and #358332]
  1011. 2008-02-15 Luke Page <[email protected]>
  1012. * MaskedTextBox.cs: Now skips non editable characters after a
  1013. character has been entered and we are progressing to the next
  1014. position in the MaskedTextBox.
  1015. 2008-02-15 Luke Page <[email protected]>
  1016. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  1017. that it changes the selection rather than just repositioning the
  1018. cursor. Fixes Bug #360873.
  1019. 2008-02-15 Luke Page <[email protected]>
  1020. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  1021. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  1022. correctly. See #359330
  1023. 2008-02-15 Andreia Gaita <[email protected]>
  1024. * XplatUIX11.cs: If the handle is null when posting a message, use the
  1025. current thread queue to post instead. Fixes #332409
  1026. * SendKeys.cs: Slight optimization
  1027. 2008-02-14 Ivan N. Zlatev <[email protected]>
  1028. * PropertyGrid.cs, PropertyGridView.cs:
  1029. Fix multiple scrolling and sizing issues.
  1030. [Fixes bug #359199]
  1031. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1032. * PropertyGridView.cs: Ensure that drop down editors are shown
  1033. in the WorkingArea of the screen.
  1034. [Fixes bug #359807]
  1035. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1036. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  1037. [Fixes bug #360666]
  1038. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  1039. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  1040. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1041. * PropertyGridView.cs:
  1042. - Clear the controls in the drop down form after it is hidden.
  1043. - Fix Width sizing of the dropdown editors to match MSFT.
  1044. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1045. * PropertyGridView.cs:
  1046. - Fix height for drawing the grid entry
  1047. text value, so that it clips multiline text properly.
  1048. - Fix unfocusing to match MSFT.
  1049. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1050. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  1051. Fixes a bug where on repopulation after value changed items become
  1052. expandable.
  1053. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  1054. * Binding.cs: For the 2.0 profile, look for a
  1055. 'PropertyChanged' event in the target control, and add checks for
  1056. DataSourceUpdateMode property to change -or not- the data source
  1057. from validation/control property change.
  1058. 2008-02-10 Atsushi Enomoto <[email protected]>
  1059. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  1060. not compare struct with null in 2.0).
  1061. 2008-02-10 Luke Page <[email protected]>
  1062. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  1063. updates the provider and if not using a provider, uses the internal document
  1064. class implementation of password char. Also when showing text, uses display string
  1065. from the provider, instead of the actual text.
  1066. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1067. * Binding.cs: Ooooops, forgot to take into account the data_source
  1068. and binding_member_info null case (it was breaking the Binding tests).
  1069. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1070. * Binding.cs: Implement support for data source changes exposed by
  1071. 'PropertyNameChanged' events, and update the control property as
  1072. needed.
  1073. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1074. * Binding.cs: Implement 2.0 WriteValue method.
  1075. 2008-02-08 Jonathan Pobst <[email protected]>
  1076. Commit patch from James Purcell for better AutoScale implementation:
  1077. * ScaleControl should call GetScaledBounds with the control's total size rather
  1078. than client size. GetScaledBounds should handle ignoring the borders in its
  1079. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  1080. (for the most part they just call the base code now since that is fixed).
  1081. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  1082. without having to override ScaleChildren (since none of .NET's controls do).
  1083. This is required for most controls in Mono that have scrollbars to prevent the
  1084. scrollbars from being moved/resized.
  1085. * Nested ContainerControls can have a different scale mode than their parent.
  1086. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  1087. designer produce different results both of which look incorrect).
  1088. * Default AutoScaleMode for ContainerControl should be Inherit.
  1089. * Simplified workaround for ComboBox scaling issue.
  1090. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  1091. 1.0 style auto scaling should scale the whole control's size instead of
  1092. ignoring the borders (except for Form) and the rounding is done differently to
  1093. preserve control alignment.
  1094. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  1095. GetAutoScaleSize.
  1096. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  1097. * CurrentAutoScaleDimensions should round the estimated character width instead
  1098. of truncating.
  1099. * ListBox's GetScaledBounds should always use the height it was set to instead
  1100. of the height that was passed in. This prevents rounding errors from
  1101. accumulating quickly with IntegralHeight.
  1102. [Bug #359098]
  1103. 2008-02-08 Andreia Gaita <[email protected]>
  1104. * Form.cs: Add a null check (darn it).
  1105. 2008-02-08 Jonathan Pobst <[email protected]>
  1106. * MdiClient.cs: Make sure the requesting form actually owns the
  1107. control menu items before removing them. Also, use
  1108. Suspend/ResumeLayout when adding or removing items so we only
  1109. layout once.
  1110. [Fixes bug #359887]
  1111. 2008-02-08 Jonathan Pobst <[email protected]>
  1112. * Control.cs: Guard against an NRE in ShowFocusCues.
  1113. [Fixes bug #359830]
  1114. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1115. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  1116. property, as well as stubbing DataSourceUpdateMode.
  1117. 2008-02-08 Andreia Gaita <[email protected]>
  1118. * Form.cs: When closing forms, get focus back to the active control of the
  1119. active form. [Fixes #341314, corner case]
  1120. 2008-02-07 Jonathan Pobst <[email protected]>
  1121. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  1122. area, so any old scrollbar artifacts are cleaned up.
  1123. [Fixes bug #336305]
  1124. 2008-02-07 Jonathan Pobst <[email protected]>
  1125. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  1126. for our menus, display that control box menu instead of the 1.1
  1127. menu one.
  1128. 2008-02-07 Jonathan Pobst <[email protected]>
  1129. * MdiControlStrip.cs: Add property to access the mdi form tied to
  1130. each toolstripitem.
  1131. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  1132. to the implicitly merged menu. Every time we clicked the form, items
  1133. were getting removed and the re-added, causing the form to jump around
  1134. as the menu resized.
  1135. 2008-02-07 Jonathan Pobst <[email protected]>
  1136. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  1137. was being reset by the implicit menu merge for menustrips.
  1138. [Fixes bug #336296]
  1139. 2008-02-07 Jonathan Pobst <[email protected]>
  1140. * Form.cs: Don't do the previous change when WindowState = Normal,
  1141. or it messes up where the window is placed. Fixes test failure.
  1142. 2008-02-07 Jonathan Pobst <[email protected]>
  1143. * Form.cs: When becoming visible, if we are an MDI child, call
  1144. SetWindowState with a dummy old_state so that changes will actually
  1145. be made.
  1146. [Fixes the 2nd part of bug #325473]
  1147. 2008-02-07 Andreia Gaita <[email protected]>
  1148. * Control.cs: Reset properties to their pre parent-change values in case
  1149. the new parent == null (in which case we're basically removing the control,
  1150. and don't want any events fired due to fake property changes)
  1151. [Fixes #355850]
  1152. 2008-02-06 Ivan N. Zlatev <[email protected]>
  1153. * PropertyGridView.cs:
  1154. - Refactor SetValue to allow setting the value
  1155. when a custom editor is used, but the entry is not editable.
  1156. - Remove the custom editor control on CloseDropDown.
  1157. [Fixes #359196]
  1158. 2008-02-06 Andreia Gaita <[email protected]>
  1159. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  1160. reflection only on 1.1, this property is public on system.drawing on 2.0.
  1161. Fixed #359247
  1162. 2008-02-06 Andreia Gaita <[email protected]>
  1163. * WebBrowser.cs: Do a normal page refresh by default.
  1164. 2008-02-05 Andreia Gaita <[email protected]>
  1165. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  1166. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  1167. platforms. Fixes #359036
  1168. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  1169. platform-specific flags.
  1170. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  1171. * Binding.cs: Add 2.0 BindableComponent property - just return control
  1172. by now.
  1173. 2008-02-05 Everaldo Canuto <[email protected]>
  1174. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  1175. Jonathan for this patch. Fixes #358442.
  1176. 2008-02-05 Jonathan Pobst <[email protected]>
  1177. * Form.cs: If we change the active MDI child form, let the others
  1178. know they need to repaint their title bar so it will appear inactive.
  1179. [Fixes part 1 of bug #325473]
  1180. 2008-02-05 Ivan N. Zlatev <[email protected]>
  1181. * PropertyGridView.cs: Do not trucate custom editors' width
  1182. and align them to the left.
  1183. [Fixes #358353 and #358349]
  1184. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  1185. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  1186. Also fix the arguments passed to CollectionChangeEventArgs in the
  1187. related methods.
  1188. 2008-02-04 Geoff Norton <[email protected]>
  1189. * Hwnd.cs: The conversion to Quartz coordinates happens in
  1190. System.Drawing. Removing this translation from here.
  1191. 2008-02-04 Ivan N. Zlatev <[email protected]>
  1192. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  1193. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  1194. GridItemCollection.cs:
  1195. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  1196. 2008-02-04 Geoff Norton <[email protected]>
  1197. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  1198. SYSKEYUP if any other key has been pressed in the mean time.
  1199. Fixes #324404
  1200. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  1201. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  1202. when the item in current position is different than 0. Also, save the
  1203. item index in the beginning of the operation, instead of getting the
  1204. index of the item when the event is actually performed. Lastly clean
  1205. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  1206. triggered.
  1207. [Fixes #357873]
  1208. 2008-02-03 Jonathan Pobst <[email protected]>
  1209. * Form.cs: Alt-Minus for MDI children system menu should work
  1210. with both the minus keys on the keyboard.
  1211. [Fixes bug #336295]
  1212. 2008-02-03 Jonathan Pobst <[email protected]>
  1213. * Control.cs: Don't invalidate on region change. The WM should
  1214. take care of this automagically. Keeps us out of an infinite
  1215. paint loop if someone changes the Region in the OnPaint.
  1216. [Fixes bug #358327]
  1217. 2008-02-04 Ivan N. Zlatev <[email protected]>
  1218. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  1219. 2008-02-03 Jonathan Pobst <[email protected]>
  1220. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  1221. down the MonthCalendar only on F4, not Alt+F4.
  1222. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  1223. [Fixes bug #358340]
  1224. 2008-02-03 Jonathan Pobst <[email protected]>
  1225. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  1226. if its part of a DateTimePicker, else, use the back color.
  1227. [Fixes bug #358339]
  1228. 2008-02-03 Jonathan Pobst <[email protected]>
  1229. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  1230. [Fixes bug #358342]
  1231. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  1232. * CurrencyManager.cs: When we get a ListChanged event from our source,
  1233. always fire our own ListChanged event, as .Net does.
  1234. 2008-02-03 Luke Page <[email protected]>
  1235. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  1236. #358379.
  1237. 2008-02-03 Luke Page <[email protected]>
  1238. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  1239. property. Removed if for richtext property that was always true.
  1240. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  1241. 2008-02-03 Luke Page <[email protected]>
  1242. * TextBoxBase.cs - commited patch from James Purcell that
  1243. correctly sets the FixedHeight control style when the MultiLine
  1244. property is changed on a TextBox control. Fixes bug 358229.
  1245. 2008-02-02 Luke Page <[email protected]>
  1246. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  1247. Fixes bug 351938 - caret is positioned correctly when drawn
  1248. and when calculating textual position of caret, no longer
  1249. has a NRE in certain situations.
  1250. 2008-02-01 Geoff Norton <[email protected]>
  1251. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  1252. get that region removed from the paint event.
  1253. * XplatUICarbon.cs: Remove the window mapping after disposing of
  1254. window. Prevents a crash with handle reuse. Optimize exposes
  1255. only onto visible windows (rare; but possible).
  1256. 2008-02-01 Jonathan Pobst <[email protected]>
  1257. * UpDownBase.cs: Make sure the internal textbox calls the base's
  1258. OnMouseDown and OnMouseUp so the textbox will function correctly.
  1259. There were notes saying it doesn't chain up, but its an internal
  1260. class, so our implementation may differ.
  1261. [Fixes bug #357482]
  1262. 2008-02-01 Jonathan Pobst <[email protected]>
  1263. * ListBox.cs: Fix a logic error and don't process MouseDown
  1264. for mouse buttons other than Left.
  1265. 2008-02-01 Jonathan Pobst <[email protected]>
  1266. * Control.cs: Remove HeightInternal.
  1267. * ListBox.cs: Commit patch from James Purcell that correctly
  1268. calculates heights for ListBoxen.
  1269. [Fixes bug #357152]
  1270. 2008-02-01 Jonathan Pobst <[email protected]>
  1271. * Label.cs: Apply patch from James Purcell that corrects the
  1272. signature of the AutoSize property.
  1273. [Fixes bug #357605]
  1274. 2008-02-01 Jonathan Pobst <[email protected]>
  1275. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  1276. other than the left mouse button.
  1277. 2008-01-31 Jonathan Pobst <[email protected]>
  1278. * Control.cs: Remove my awesome optimization as it caused some
  1279. regressions with control ordering. :(
  1280. [Fixes bug #357467]
  1281. 2008-01-31 Ivan N. Zlatev <[email protected]>
  1282. * PropertyGridView.cs: Fix a NRE on double click when there is no
  1283. selected object.
  1284. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  1285. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  1286. 2008-01-30 Jonathan Pobst <[email protected]>
  1287. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  1288. [Fixes bug #357146]
  1289. 2008-01-29 Jonathan Pobst <[email protected]>
  1290. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  1291. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  1292. instead of Hwnd.bmp_g.
  1293. 2008-01-29 Jonathan Pobst <[email protected]>
  1294. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  1295. Use the Hwnd one instead.
  1296. 2008-01-29 Jonathan Pobst <[email protected]>
  1297. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  1298. 2008-01-29 Jonathan Pobst <[email protected]>
  1299. * Form.cs: corcompare for RestoreBounds.
  1300. 2008-01-29 Jonathan Pobst <[email protected]>
  1301. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  1302. 2008-01-29 Jonathan Pobst <[email protected]>
  1303. * Form.cs: Handle Alt-Minus for MDI children forms.
  1304. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  1305. Add mnemonics to the control menu.
  1306. [Fixes bug #336295]
  1307. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  1308. * Binding.cs: Initial implementation bits of FormattingEnabled
  1309. property and BindingComplete event (2.0).
  1310. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  1311. and exception.
  1312. 2008-01-28 Jonathan Pobst <[email protected]>
  1313. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  1314. table.Location. [Fixes bug #354672]
  1315. 2008-01-28 Jonathan Pobst <[email protected]>
  1316. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  1317. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  1318. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  1319. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  1320. of doing all the re-bound work, just invalidate and call SetControlText
  1321. to set the updated text of selected item to our textbox.
  1322. Fixes #333750.
  1323. 2008-01-28 Andreia Gaita <[email protected]>
  1324. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  1325. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  1326. missing properties and methods. Add Load, Unload, Error, GotFocus,
  1327. LostFocus, Resize, Scroll events (only load and unload are connected)
  1328. 2008-01-27 Gert Driesen <[email protected]>
  1329. * AccessibleObject.cs: Modified argument names to match MS.
  1330. * Button.cs: Modified argument names to match MS.
  1331. * BindingContext.cs: Modified argument names to match MS.
  1332. * BindingMemberInfo.cs: Modified argument names to match MS.
  1333. * ButtonBase.cs: Modified argument names to match MS.
  1334. * ComboBox.cs: Modified argument names to match MS.
  1335. * Control.cs: Modified argument names to match MS.
  1336. * CheckedListBox.cs: Modified argument names to match MS.
  1337. * CommonDialog.cs: Modified argument names to match MS.
  1338. * DataGrid.cs: Modified argument names to match MS.
  1339. * CursorConverter.cs: Modified argument names to match MS.
  1340. * ControlPaint.cs: Modified argument names to match MS.
  1341. * CheckBox.cs: Modified argument names to match MS.
  1342. * ControlBindingsCollection.cs: Modified argument names to match MS.
  1343. * BindingSource.cs: Modified argument names to match MS.
  1344. * DataFormats.cs: Modified argument names to match MS.
  1345. * ContainerControl.cs: Modified argument names to match MS.
  1346. * CurrencyManager.cs: Modified argument names to match MS.
  1347. * Application.cs: Modified argument names to match MS.
  1348. * ContextMenuStrip.cs: Modified argument names to match MS.
  1349. * ContextMenu.cs: Modified argument names to match MS.
  1350. * BindingManagerBase.cs: Modified argument names to match MS.
  1351. * WindowsFormsSection.cs: Fixed line ending.
  1352. 2008-01-27 Andreia Gaita <[email protected]>
  1353. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  1354. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  1355. while.
  1356. 2008-01-26 Gert Driesen <[email protected]>
  1357. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  1358. MS. Code formatting.
  1359. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  1360. * Binding.cs: Don't avoid the Format event if the control
  1361. property type is object. Also, if the value retrieved by
  1362. the data source is null _and_ the control proeprty type
  1363. is object, return Convert.DBNull (match .Net).
  1364. Fixes part of #324286.
  1365. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  1366. * ListControl.cs: Since we are getting two BinginContextChanged events
  1367. for the same binding context instance (when the control is added to
  1368. form, and when the form is actually shown), take it into account only the
  1369. first time for a given binding context instance.
  1370. Fixes part of #324286.
  1371. 2008-01-26 Ivan N. Zlatev <[email protected]>
  1372. * PropertryGridView.cs: Ops.
  1373. 2008-01-26 Ivan N. Zlatev <[email protected]>
  1374. * PropertyGridView.cs: Close dropdown form if the owner form is
  1375. moved or minimized.
  1376. [Fixes bug #322446]
  1377. 2008-01-25 Ivan N. Zlatev <[email protected]>
  1378. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  1379. RootGridEntry.cs, CategoryGridEntry.cs:
  1380. PropertyGrid rewrite.
  1381. - Rewrite all of the control logic in PropertyGrid.
  1382. - Rewrite all of the ComponentModel logic in GridEntry.
  1383. - Rewrite all UI work in PropertyGridView.
  1384. - Many bugfixes, etc.
  1385. 2008-01-24 Jonathan Pobst <[email protected]>
  1386. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  1387. when all contained controls are autosize or dock-fill. Also take into
  1388. account when the total percentage of column/row sizes is not 100%.
  1389. [Fixes bug #354672]
  1390. 2008-01-24 Andreia Gaita <[email protected]>
  1391. * HtmlDocument.cs:
  1392. - Save a reference to the IDocument in the instance and
  1393. use that one instead of going to WebHost.Document; the document that the
  1394. WebHost returns might not be the right one (in case of frames).
  1395. - Use the hashcode returned from the IDocument interface.
  1396. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  1397. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  1398. LinkColor, Url, VisitedColor, Window
  1399. * HtmlElement.cs:
  1400. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  1401. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  1402. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  1403. SetAttribute, Equals, equality operators.
  1404. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  1405. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  1406. * HtmlElementCollection.cs: Change implementation to use a generic
  1407. collection. Implemented Enumerator and CopyTo
  1408. * HtmlHistory.cs: Add constructor, no implementation yet.
  1409. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  1410. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  1411. Equals, equality operators.
  1412. * HtmlWindowCollection.cs: Implemented.
  1413. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  1414. has been deprecated).
  1415. * WebBrowserBase.cs: Use Completed event to track document loading
  1416. (Navigated has been deprecated)
  1417. 2008-01-24 Jonatham Pobst <[email protected]>
  1418. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  1419. level MenuItems do not respect tabs.
  1420. [Fixes bug #355196]
  1421. 2008-01-23 Geoff Norton <[email protected]>
  1422. * XplatUICarbon.cs: Ensure that windows are created in their initial
  1423. FormWindowState. Finished fixing Fullscreen windows on Carbon
  1424. 2008-01-23 Everaldo Canuto <[email protected]>
  1425. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  1426. be used as grab_control. Also save status of capture before show ContextMenu
  1427. and restore it after close.
  1428. 2008-01-23 Everaldo Canuto <[email protected]>
  1429. * Control.cs: Internal FindRootParent method added to return high control
  1430. in parent tree.
  1431. 2008-01-23 Geoff Norton <[email protected]>
  1432. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  1433. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  1434. it work again. Handle HITTEST events.
  1435. 2008-01-23 Geoff Norton <[email protected]>
  1436. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  1437. a crash in certain cases. Support for fullscreen windows in certain cases.
  1438. 2008-01-23 Jonathan Pobst <[email protected]>
  1439. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  1440. [Fixes bug #355703]
  1441. 2008-01-23 Geoff Norton <[email protected]>
  1442. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  1443. 2008-01-23 Geoff Norton <[email protected]>
  1444. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  1445. 2008-01-23 Everaldo Canuto <[email protected]>
  1446. * SplitContainer.cs: Remove unused declarations.
  1447. * Binding.cs: Remove unused declarations.
  1448. 2008-01-23 Everaldo Canuto <[email protected]>
  1449. * Form.cs: Remove unused declaration of 'active' in Activate method.
  1450. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  1451. prevent compilation warnings.
  1452. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  1453. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  1454. * Bindings.cs: Remove unused formatting_enabled declaration.
  1455. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  1456. warnings.
  1457. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  1458. warnings.
  1459. * PropertyGridView.cs: Remove usused 'ex' declaration.
  1460. * DataGridView.cs: Remove unused declarations.
  1461. 2008-01-23 Everaldo Canuto <[email protected]>
  1462. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  1463. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  1464. to Control class, it makes possible to grab menu to controls that can't
  1465. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  1466. WmMouseMove removed since it was used only to track menu events.
  1467. * Control.cs:
  1468. - Moved all active_tracker stuff from Form.
  1469. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  1470. can call this method instead of reimplement all necessary code handle for
  1471. menu tracker.
  1472. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  1473. and WmMouseMove).
  1474. * MenuAPI.cs:
  1475. - Remove special handle to ToolStripOverflow, now we can grab menu to
  1476. controls that can't reach Form using parent tree.
  1477. - Change type of grab_control from Form to Control.
  1478. 2008-01-22 Geoff Norton <[email protected]>
  1479. * TextBoxBase.cs: Split up the sizing of controls and placing of
  1480. controls. Fixes a bug where scrollbars in Reflector could be sized
  1481. wrong and have non-working thumbers.
  1482. 2008-01-23 Geoff Norton <[email protected]>
  1483. * XplatUI.cs: Refactor environment variables to default support to the
  1484. Carbon driver on the Mac.
  1485. 2008-01-23 Everaldo Canuto <[email protected]>
  1486. * Label.cs: Uses new LabelPainter for drawing operations.
  1487. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  1488. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  1489. 2008-01-22 Geoff Norton <[email protected]>
  1490. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  1491. 2008-01-22 Jonathan Pobst <[email protected]>
  1492. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  1493. through the normal flat button code and don't draw the checkbox glyph.
  1494. * Theme.cs: Button->ButtonBase signature change.
  1495. [Fixes bug #324755]
  1496. 2008-01-22 Everaldo Canuto <[email protected]>
  1497. * LinkLabel.cs: Uses new class LinkLabelPainter.
  1498. 2008-01-22 Everaldo Canuto <[email protected]>
  1499. * MessageBox.cs: Adjust right border space, we don't need to add
  1500. "space_border*2" two times.
  1501. 2008-01-22 Jonathan Pobst <[email protected]>
  1502. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  1503. becomes a wrapper around Padding.
  1504. [Fixes a part of bug #354676]
  1505. 2008-01-22 Geoff Norton <[email protected]>
  1506. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  1507. acquired. Also ensure the buffer is large enough to grab the header
  1508. we need on linux boxes.
  1509. 2008-01-22 Jonathan Pobst <[email protected]>
  1510. * Control.cs: Implement a custom enumerator so people can delete
  1511. from the Controls collection while in a foreach.
  1512. [Fixes bug #355074]
  1513. 2008-01-22 Ivan N. Zlatev <[email protected]>
  1514. * PropertyGridView.cs: Fix focusing behavior:
  1515. - Tab should focus the grid text box.
  1516. - Clicking on the labels shouldn't focus the grid text box.
  1517. 2008-01-22 Ivan N. Zlatev <[email protected]>
  1518. * PropertyGridView.cs: IsValueTypeGridItem should return true
  1519. for Arrays as well.
  1520. 2008-01-22 Ivan N. Zlatev <[email protected]>
  1521. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  1522. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  1523. reflect the property name role.
  1524. - PropertyGrid.GetTarget is not required as the target is known
  1525. (TargetObjects).
  1526. - Setting values will handle value types as a special case now and
  1527. populate them up in the chain.
  1528. [Fixes #354990]
  1529. 2008-01-21 Jonathan Pobst <[email protected]>
  1530. * Hwnd.cs: Create a public property for the Graphics we keep around.
  1531. 2008-01-21 Ivan N. Zlatev <[email protected]>
  1532. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  1533. when the current object selection changes.
  1534. Fixes failing test SelectedObject_Null2.B5.
  1535. 2008-01-21 Ivan N. Zlatev <[email protected]>
  1536. * PropertyGrid.cs: Process Browsable properties with
  1537. DesignerSerializationVisibilityAttribute.Content as being expandable.
  1538. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  1539. will not be expandable. We should be nested components-friendly now.
  1540. 2008-01-21 Andreia Gaita <[email protected]>
  1541. * WebBrowserBase.cs: Check if control was loaded properly,
  1542. don't bind if it wasn't.
  1543. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  1544. GetElementFromPoint, equality operators, OpenNew, Write.
  1545. Remove extra set_Body
  1546. 2008-01-18 Jonathan Pobst <[email protected]>
  1547. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  1548. that makes our AutoScale* stuff more tolerant to different orders
  1549. of being set. [Fixes bug #354669]
  1550. 2008-01-18 Ivan N. Zlatev <[email protected]>
  1551. * PropertyGridView.cs, PropertyGridTextBox.cs:
  1552. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  1553. [Fixes #339005 and #348209]
  1554. 2008-01-18 Ivan N. Zlatev <[email protected]>
  1555. * PropertyGridView.cs: Hide the grid text box before adjusting it
  1556. for the newly selected GridItem.
  1557. [Fixes #338999]
  1558. 2008-01-18 Jonathan Pobst <[email protected]>
  1559. * Form.cs: Give MDI children the opportunity to cancel the parent form
  1560. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  1561. properly for both the parent and child.
  1562. * Application.cs: Signature of internal method changed, pass the previous
  1563. default of false.
  1564. [Fixes bug #354286]
  1565. 2008-01-17 Ivan N. Zlatev <[email protected]>
  1566. * PropertyGridView.cs: Set the property value only if it has changed.
  1567. [Fixes bug #338997]
  1568. 2008-01-17 Jonathan Pobst <[email protected]>
  1569. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  1570. If the mouse hasn't actually moved, ignore these messages so the currently
  1571. highlighted menuitem isn't reset to the one under the mouse.
  1572. [Fixes bug #333668]
  1573. 2008-01-17 Ivan N. Zlatev <[email protected]>
  1574. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  1575. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  1576. to reflect the change visually.
  1577. [Fixes bug #338998]
  1578. 2008-01-17 Jonathan Pobst <[email protected]>
  1579. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  1580. to 2.0 button drawing.
  1581. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  1582. the button text is tall enough for one line. LineLimit says it will
  1583. always draw at least one line, but it is a lie.
  1584. [Fixes bug #324941]
  1585. 2008-01-17 Atsushi Enomoto <[email protected]>
  1586. * XplatUIStructs.cs, X11Keyboard.cs :
  1587. added some more VK_* keys to be handled.
  1588. 2008-01-16 Andreia Gaita <[email protected]>
  1589. * Control.cs: Check if there is a container before setting or getting
  1590. the validation flag.
  1591. 2008-01-16 Andreia Gaita <[email protected]>
  1592. * ContainerControl.cs: Add flag to track if a control cancels validation,
  1593. so we don't fire click events.
  1594. * Control.cs:
  1595. - (HandleClick) Check if validation was cancelled before firing the click
  1596. events (doubleclicks are fired, but not clicks)
  1597. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  1598. ContainerControl.set_ActiveControl, but in the case of non-selectable
  1599. controls, like a Label, activecontrol is not set.
  1600. * ButtonBase.cs: Only fire clicks if validation passes.
  1601. Fixes #353310
  1602. 2008-01-16 Geoff Norton <[email protected]>
  1603. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  1604. trunk
  1605. 2008-01-16 Jonathan Pobst <[email protected]>
  1606. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  1607. SelectedPath, just display the default dialog instead of crashing.
  1608. [Fixes bug #348989]
  1609. 2008-01-16 Geoff Norton <[email protected]>
  1610. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  1611. AddExpose instead of trusting apples compositing manager which doesn't
  1612. work for our use case. Remove some dead code causing warnings and
  1613. redecorate some other code to prevent warnings.
  1614. 2008-01-16 Geoff Norton <[email protected]>
  1615. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  1616. carbon signals us to redraw. Fixes another portion of the flickering bug
  1617. 2008-01-16 Everaldo Canuto <[email protected]>
  1618. * Form.cs: Prevent the MdiParent property to be set when value is the same
  1619. as value already set. Fixes bug #328019.
  1620. 2008-01-16 Everaldo Canuto <[email protected]>
  1621. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  1622. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  1623. 2008-01-16 Everaldo Canuto <[email protected]>
  1624. * InternalWindowManager.cs: Invalidade close button after mouse up when
  1625. mdi form is prevented to close.
  1626. 2008-01-16 Everaldo Canuto <[email protected]>
  1627. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  1628. thanks to Andy Hume. Fixes bug #325433.
  1629. 2008-01-16 Andreia Gaita <[email protected]>
  1630. * LinkLabel.cs: Reset focused_index when resellecting the control.
  1631. Fixes #323190
  1632. 2008-01-15 Geoff Norton <[email protected]>
  1633. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  1634. messages.
  1635. 2008-01-15 Jonathan Pobst <[email protected]>
  1636. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  1637. of truncate.
  1638. 2008-01-15 Jonathan Pobst <[email protected]>
  1639. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  1640. Form.AutoScale to false.
  1641. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  1642. AutoScaleBaseSize should be changed on Font change unless it has been
  1643. explicitly set.
  1644. [Fixes bug #353827]
  1645. 2008-01-15 Everaldo Canuto <[email protected]>
  1646. * MenuAPI.cs: On instance of MenuTracker check if source control is
  1647. ToolStripOverflow and use properly method to find form.
  1648. [Fixes bug #338511]
  1649. 2008-01-15 Everaldo Canuto <[email protected]>
  1650. [Fixes bug #323241 Transparent toolbar support]
  1651. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  1652. is flat.
  1653. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  1654. defined in control style to mimic win32 behavior.
  1655. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  1656. it will be transparent.
  1657. 2008-01-14 Everaldo Canuto <[email protected]>
  1658. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  1659. CreateParams for ToolBar controls.
  1660. 2008-01-14 Jonathan Pobst <[email protected]>
  1661. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  1662. FixedToolWindow, SizeableToolWindow, or None for border styles have
  1663. different minimum sizes than regular forms. Implemented to fix
  1664. regression in PDN with toolbox being too wide.
  1665. 2008-01-14 Andreia Gaita <[email protected]>
  1666. * HtmlElementCollection.cs: Implemented
  1667. * HtmlElement.cs: Implemented:
  1668. - All
  1669. - InnerHtml
  1670. - InnerText
  1671. - Id
  1672. - Name
  1673. - FirstChild
  1674. * HtmlDocument.cs: Implemented GetElementsByTagName.
  1675. 2008-01-14 Jonathan Pobst <[email protected]>
  1676. * Screen.cs: Stub BitsPerPixel to always return 32.
  1677. 2008-01-14 Jonathan Pobst <[email protected]>
  1678. * Form.cs: Implement RestoreBounds.
  1679. 2008-01-14 Jonathan Pobst <[email protected]>
  1680. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  1681. Sebastien and his fabulous magical problem-finding machine:
  1682. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  1683. respect the value set.
  1684. 2008-01-14 Everaldo Canuto <[email protected]>
  1685. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  1686. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  1687. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  1688. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  1689. messages (to match .Net), we need to remove the capture ourselves.
  1690. 2008-01-11 Jonathan Pobst <[email protected]>
  1691. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  1692. will process the message and close our window.
  1693. [Fixes bug #324328]
  1694. 2008-01-10 Geoff Norton <[email protected]>
  1695. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  1696. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  1697. window manager.
  1698. 2008-01-10 Jonathan Pobst <[email protected]>
  1699. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  1700. failing test.
  1701. 2008-01-10 Jonathan Pobst <[email protected]>
  1702. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  1703. Linux doesn't care, having a minimum matches MS and keeps the window
  1704. from becoming too small to use window decorations.
  1705. [Fixes bug #338996]
  1706. 2008-01-10 Jonathan Pobst <[email protected]>
  1707. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  1708. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  1709. control. [Fixes bug #325419]
  1710. 2008-01-10 Jonathan Pobst <[email protected]>
  1711. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  1712. SelectedIndexChanged event. This closes the combobox dropdown, and we
  1713. were trying to dispose it. [Fixes bug #352830]
  1714. 2008-01-09 Jonathan Pobst <[email protected]>
  1715. * Control.cs, Form.cs: Implement the necessary semantics for
  1716. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  1717. to determine if a focus rectangle should be drawn.
  1718. * PropertyGrid.cs: Fix property visibility to match override.
  1719. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  1720. 2008-01-09 Jonathan Pobst <[email protected]>
  1721. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  1722. [Fixes bug #323552]
  1723. 2008-01-09 Geoff Norton <[email protected]>
  1724. * XplatUICarbon.cs: Scroll windows in the correct direction.
  1725. 2008-01-09 Geoff Norton <[email protected]>
  1726. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  1727. when the app is deactivated or spaces is enabled.
  1728. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  1729. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  1730. extra separation pixel for the label rect origin if SmallImageList is
  1731. null, and thus we don't need that separation between icon and label
  1732. rects.
  1733. Patch by Ernesto Carrea.
  1734. Fixes # 340195.
  1735. 2008-01-08 Jonathan Pobst <[email protected]>
  1736. * StatusStrip.cs: Invalidate after completing a layout. The base
  1737. OnLayout does this, but we don't call the base.
  1738. * ToolStripItem.cs: Revert the previous change to invalidate after
  1739. the item moves.
  1740. [Fixes bug #351341 better.]
  1741. 2008-01-07 Geoff Norton <[email protected]>
  1742. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  1743. not a notification to exit the application. Listen for WM_QUIT
  1744. instead.
  1745. 2008-01-07 Andreia Gaita <[email protected]>
  1746. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  1747. 2008-01-07 Jonathan Pobst <[email protected]>
  1748. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  1749. so it can repaint at the correct location.
  1750. [Fixes bug #351341]
  1751. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  1752. * ListControl.cs: SelectedValue should return a null value if
  1753. SelectedIndex is -1. Also, when setting it, it should throw an
  1754. ArgumentNullException if the value is null, as well as taking
  1755. into account the String.Empty value, instead of ignoring it (we have
  1756. tests for that now).
  1757. Fixes part of #324286.
  1758. 2008-01-06 Jonathan Pobst <[email protected]>
  1759. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  1760. SelectionStart is updated after pressing enter. Fixes bug #351918.
  1761. 2008-01-05 Jonathan Pobst <[email protected]>
  1762. * TextControl.cs: Revert a piece r92316 that prevented the fix
  1763. from working when there were multiple tags in the text box.
  1764. Fixes bug #351881.
  1765. 2008-01-05 Jonathan Pobst <[email protected]>
  1766. * TextControl.cs: Apply patch from Luke Page that prevents an
  1767. NRE when determining the beginning of a paragraph.
  1768. Fixes bug #351886.
  1769. 2008-01-05 Jonathan Pobst <[email protected]>
  1770. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  1771. caret gets moved with clicking away from a selected block of
  1772. text. Fixes bug #351885.
  1773. 2008-01-05 Jonathan Pobst <[email protected]>
  1774. * TextControl.cs: Apply patch from Luke Page that takes line
  1775. alignment into account for mouse selection, so that center and
  1776. right aligned text can be selected.
  1777. Fixes bug #351881.
  1778. 2008-01-05 Jonathan Pobst <[email protected]>
  1779. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  1780. issues after loading an RTF file by using the correct line feeds.
  1781. Fixes bug #351841.
  1782. 2008-01-05 Jonathan Pobst <[email protected]>
  1783. * TextControl.cs: When deleting multiple line selections, we need
  1784. to invalidate every line beginning at the first line of the selection.
  1785. Patch from Luke Page fixes bug #351791.
  1786. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  1787. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  1788. event, don't set SelectedIndex if the number of items is 1. This is
  1789. because, for the first item, PositionChanged is fired _before_
  1790. ItemChanged (the place where we actually populate the items), and
  1791. leave us in a temporary invalid state (since items collection is
  1792. empty).
  1793. Fixes #349655.
  1794. 2008-01-04 Geoff Norton <[email protected]>
  1795. * XplatUICarbon.cs: Create native toolwindows instead of
  1796. the managed drawing ones.
  1797. 2008-01-03 Jonathan Pobst <[email protected]>
  1798. * LineTag.cs: If the line doesn't have any characters, return
  1799. 0 for GetCharIndex. Fixes an AOORE exception after certain
  1800. caret movements. Fixes bug #351683. Patch by Luke Page.
  1801. 2008-01-03 Jonathan Pobst <[email protected]>
  1802. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  1803. is hit when there is selected text, only the selected text gets
  1804. deleted, not the character in front of the selection as well.
  1805. Fixes bug #351578.
  1806. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  1807. * ComboBox.cs: When the values are displayed, calculate the
  1808. ComboListBox scrollbar's LargeChange based on the visible area's
  1809. height and the actuall ItemHeight, instead of calculating it
  1810. based on MaxDropItems value, since it's not used by our _current_
  1811. 2.0 profile.
  1812. Fixes #332366.
  1813. 2008-01-03 Jonathan Pobst <[email protected]>
  1814. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  1815. Patch from Luke Page that fixes issues with font colors and styles
  1816. not showing up in a readonly RichTextBox. Fixes bug #324354.
  1817. 2008-01-03 Jonathan Pobst <[email protected]>
  1818. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  1819. from Luke Page. This one fixes bug #349926.
  1820. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  1821. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  1822. an item in the IBindingList source changes with
  1823. ListChangedType.ItemAdded. Ignore for now firing the event for other
  1824. changes, since we want to have tests for those cases as well.
  1825. 2007-12-28 Jonathan Pobst <[email protected]>
  1826. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  1827. created.
  1828. 2007-12-28 Jonathan Pobst <[email protected]>
  1829. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  1830. character. This is effective because the typical usage of a
  1831. TextBox is with a limited amount of fonts and characters, and
  1832. the current implementation of TextBox measures everything one
  1833. character at a time. Another second or two speedup for bug #347238.
  1834. 2007-12-28 Jonathan Pobst <[email protected]>
  1835. * Control.cs: Rewrite the Font getter to only query the parent's
  1836. Font property once instead of twice. Since this operation is
  1837. recursive, the queries were growing exponentially as the control
  1838. tree got deeper. Another second or two speedup for bug #347238.
  1839. 2007-12-28 Jonathan Pobst <[email protected]>
  1840. * Control.cs: Avoid setting a parent (and more importantly, updating
  1841. the zorder of all its children) if the parent is already correct in
  1842. WmShowWindow. Decreases the startup time of the test case on bug
  1843. #347238 from 35 seconds to 11 seconds.
  1844. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  1845. * X11Dnd.cs: When the dnd operation has started and we are
  1846. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  1847. This is done to match .Net, which doesn't send those messages after
  1848. dnd operation was completed/cancelled.
  1849. Fixes #349922.
  1850. 2007-12-27 Jonathan Pobst <[email protected]>
  1851. * ToolStrip.cs: Previous change should be != null, not == null.
  1852. Thanks Gert!
  1853. 2007-12-27 Jonathan Pobst <[email protected]>
  1854. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  1855. user may have moved the mouse off the current item during the event.
  1856. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  1857. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  1858. calling GetItemAt for every MouseMove event by also taking into
  1859. account whether any mouse button is pressed (probably dragging);
  1860. if so, we can call GetItemAt, and if not, try to not call it
  1861. (GetItemAt can be quite expensive when used with a large number of items).
  1862. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  1863. * ListView.cs: Implement -finally- support for dnd, by calling
  1864. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  1865. authors list ;-).
  1866. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  1867. simple calculation of distances for all the items in the owner
  1868. listview.
  1869. 2007-12-21 Geoff Norton <[email protected]>
  1870. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  1871. for windows that are originally created as invisible. Fixes missing
  1872. main window in paint-mono.
  1873. 2007-12-21 Geoff Norton <[email protected]>
  1874. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  1875. subclass handler for com.novell.mwfview subclassing HIView. Implement
  1876. Pasteboard and Dnd methods.
  1877. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  1878. * ListBox.cs: When we got focus, give focus to first item if there
  1879. wasn't any pervious focused item. Also update navigation to depend on
  1880. SelectedIndex rather than FocusedItem, just as .Net does.
  1881. Fixes #349174.
  1882. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  1883. * ListBox.cs: Both FindString and FindStringExact methods must do an
  1884. case insensitive search, should allow the last valid index to be
  1885. passed in the overload taking an initial index, and should also
  1886. continue searching from the top back to the specified index when it
  1887. reaches the bottom.
  1888. 2007-12-19 Jonathan Pobst <[email protected]>
  1889. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  1890. redraw issue, and allows RichTextBox to draw colored text even while
  1891. disabled or readonly.
  1892. 2007-12-19 Jonathan Pobst <[email protected]>
  1893. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  1894. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  1895. and doesn't grey text in a disabled RichTextBox.
  1896. 2007-12-19 Jonathan Pobst <[email protected]>
  1897. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  1898. for many RTF commands: quad alignment, separate formatting for blocks
  1899. inside groups, and ParDef support. Makes the test case from bug #324589
  1900. look much better.
  1901. 2007-12-19 Jonathan Pobst <[email protected]>
  1902. * LineTag.cs: Fix an error in the new Draw method that caused
  1903. a crash when rendering the document on bug #324589.
  1904. 2007-12-19 Jonathan Pobst <[email protected]>
  1905. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  1906. TextControl.cs: Apply patch from Luke Page that adds support
  1907. for URL links in RichTextBox.
  1908. [Fixes enhancement #342516]
  1909. 2007-12-18 Everaldo Canuto <[email protected]>
  1910. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  1911. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  1912. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  1913. * ListBox.cs: When a key gets pressed, try to find a string
  1914. if the key is a character or a digit.
  1915. Fixes #343971.
  1916. 2007-12-17 Jonathan Pobst <[email protected]>
  1917. * TableLayoutPanel.cs: Remove some unused variables.
  1918. 2007-12-17 Jonathan Pobst <[email protected]>
  1919. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  1920. we don't end up at an invalid date when we click the up/down
  1921. spinner to change the month or year. Fixes bug #348682.
  1922. 2007-12-17 Jonathan Pobst <[email protected]>
  1923. * Application.cs: Calling Exit in 2.0 should chain to the
  1924. Exit (CancelEventArgs) version so it can be cancelled.
  1925. * Form.cs: Create a flag to allow raising the Closing
  1926. events to be skipped. We raise them once in Application.Exit
  1927. and don't want to raise them again when the Form is actually
  1928. closed. [Fixes bug #349073]
  1929. 2007-12-16 Jonathan Pobst <[email protected]>
  1930. * ToolStripDropDown.cs: Guard against an NRE when there
  1931. hasn't been a mainform set in the application context.
  1932. [Fixes bug #349108]
  1933. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  1934. * ListBox.cs: When SetBoundsCore gets called, besides
  1935. calling UpdateScrollBars, update the value of
  1936. last_visible_index, since we could need to show more items
  1937. than before, and we need to let the paint routines know that.
  1938. Fixes #344445.
  1939. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  1940. * ListView.cs: Add DesignerSerializationVisibility attribute to
  1941. InsertionMark property.
  1942. * ListViewItem.cs: Add same attribute to Position property.
  1943. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  1944. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  1945. is 2.0 only.
  1946. 2007-12-14 Jonathan Pobst <[email protected]>
  1947. * ThemeWin32Classic.cs: Don't draw the background on a
  1948. flat button if there is a background image.
  1949. [Fixes bug #348649]
  1950. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  1951. * ListBox.cs: If we remove the item currently selected,
  1952. remove it not only from SelectedItems, but also
  1953. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  1954. the items count decreased and focused_item has bigger value than that.
  1955. 2007-12-13 Jonathan Pobst <[email protected]>
  1956. * Control.cs: Perform our layout after we resize ourselves
  1957. if we had to adjust our AutoSize. Missed commit for bug
  1958. #346246.
  1959. 2007-12-13 Jonathan Pobst <[email protected]>
  1960. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  1961. we can provide an implementation of AutoSize.
  1962. [Fixes bug #346246]
  1963. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  1964. * ListBox.cs: Add the internal overload Sort (bool paint),
  1965. to indicate whether we actually need a paint or we will
  1966. call Refresh ourselves. This way we don't request a paint
  1967. _before_ having an updated and valid layout.
  1968. Fixes #347233.
  1969. 2007-12-12 Andreia Gaita <[email protected]>
  1970. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  1971. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  1972. properly invalidated.
  1973. Fixes #324237
  1974. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  1975. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  1976. don't simply assign it to our internal group field, but instead
  1977. use our Group property, which should do all the neccessary work
  1978. required to support groups. Fixes an issue reported to me (mail) by a
  1979. guy using this new feature.
  1980. 2007-12-11 Jonathan Pobst <[email protected]>
  1981. * Control.cs: Use Scale instead of ScaleControl to ensure the
  1982. whole hierarchy gets scaled.
  1983. [Fixes bug #347282]
  1984. 2007-12-10 Jonathan Pobst <[email protected]>
  1985. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  1986. Parent property. Doing this causes the control to be hosted by
  1987. the Form instead of being a popup window.
  1988. [Fixes bug #347665]
  1989. 2007-12-10 Jonathan Pobst <[email protected]>
  1990. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  1991. at an index higher than Count, just use Add instead of Insert.
  1992. [Fixes bug #347669]
  1993. 2007-12-10 Jonathan Pobst <[email protected]>
  1994. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  1995. DrawPictureBox, this is handled by Control.PaintBackground.
  1996. [Fixes bug #347276]
  1997. 2007-12-10 Everaldo Canuto <[email protected]>
  1998. * MenuAPI.cs: When process menu keys return true by default only if menu is
  1999. active. Fixes bug #342892.
  2000. 2007-12-09 Andreia Gaita <[email protected]>
  2001. * Control.cs: check if windows are actually mapped before
  2002. trying to zorder. Fixes #342509, #346955
  2003. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  2004. * ListView.cs:
  2005. * ListViewInsertionMark.cs:
  2006. * ThemeWin32Classic.cs: Implement the drawing side of the
  2007. new 2.0 ListView.InsertionMark property.
  2008. 2007-12-07 Jonathan Pobst <[email protected]>
  2009. * CurrencyManager.cs: Silence some debug spew.
  2010. 2007-12-07 Geoff Norton <[email protected]>
  2011. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  2012. masks for our children as well as siblings to avoid having to query
  2013. Quartz for this information.
  2014. * XplatUICarbon.cs: Implement a delegate based system to pass
  2015. information to System.Drawing. Implement Async methods. Remove
  2016. the hack for the resize thumb and imlpement a transparent Grow Box.
  2017. Rework the messaging system to proplery create window's and messages,
  2018. fixes TabControl.
  2019. 2007-12-06 Andreia Gaita <[email protected]>
  2020. * X11Keyboard.cs: Use Xutf8LookupString to support international
  2021. characters under alternate codepages. Patch from #340878
  2022. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2023. * ListView.cs: When doing layout computations, set position in the
  2024. ListView instances (we cache the position just as .Net does).
  2025. * ListViewItem.cs: New internal setter method for Position. Also set
  2026. position field as also available in 1.1, since we are going to use it
  2027. now in the common case.
  2028. 2007-12-06 Andreia Gaita <[email protected]>
  2029. * Control.cs: When removing controls, get the actual container
  2030. to notify about active control changes. Fixes 341314.
  2031. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2032. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  2033. 2007-12-05 Andreia Gaita <[email protected]>
  2034. * Control.cs: When updating the zorder, ignore windows that are not
  2035. mapped. Fixes #342509
  2036. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  2037. * ListViewItem.cs: Actually implement serialization on this class.
  2038. 2007-12-05 Gert Driesen <[email protected]>
  2039. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  2040. LinkCollection. Spaces to tabs, and removed extra tabs.
  2041. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  2042. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  2043. tests to fail (hopefully).
  2044. 2007-12-03 Jonathan Pobst <[email protected]>
  2045. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  2046. the image margin so custom renderers can correctly place it.
  2047. 2007-12-03 Jonathan Pobst <[email protected]>
  2048. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  2049. so custom renderers can correctly place it.
  2050. 2007-12-03 Jonathan Pobst <[email protected]>
  2051. * Application.cs: Let WM_CHAR messages flow through to controls
  2052. hosted in Strips. [Fixes bug #343972]
  2053. 2007-12-02 Jonathan Pobst <[email protected]>
  2054. * ToolStripManager.cs: Guard against an NRE I ran into.
  2055. 2007-12-02 Jonathan Pobst <[email protected]>
  2056. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  2057. a Link is manually added to the Links collection, we need to set
  2058. its owner, so it can invalidate properly.
  2059. [Fixes bug #344012]
  2060. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  2061. * ListView.cs: When changing ListViewItem.Position (which calls
  2062. ListView.ChangeItemLocation), invalidate not only the area
  2063. corresponding to the main item, but also to the area occupied
  2064. by the items being moved.
  2065. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  2066. * ListView.cs: When changing the position of a given item,
  2067. don't use item bounds, but item areas (which includes the item spacing
  2068. between them). Also, use first/last position if the requested
  2069. position is outside bounds (as .Net does). Invalidate the previous and
  2070. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  2071. in a specific position, instead of directly accessing Items collection
  2072. (this is done to get the right item - remember an Item can have a
  2073. different position in the grid than in the Items collection).
  2074. 2007-11-23 Everaldo Canuto <[email protected]>
  2075. * MessageBox.cs: Calculate text area instead of just top left, this rect
  2076. area will be used in DrawString. Fixes bug #343364.
  2077. 2007-11-23 Everaldo Canuto <[email protected]>
  2078. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  2079. screen width. Partially fixes bug #343364.
  2080. 2007-11-23 Everaldo Canuto <[email protected]>
  2081. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  2082. code inside recalculate, it makes code more simple.
  2083. 2007-11-22 Everaldo Canuto <[email protected]>
  2084. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  2085. between update or add icon. Fixes bug #324344.
  2086. 2007-11-21 Andreia Gaita <[email protected]>
  2087. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  2088. window manager, since that stretches the drawing area to include
  2089. the window decorations, and they get hidden. Reverts r84444 and fixes
  2090. #335849 and #342790 (mdi and pdn3 regression)
  2091. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  2092. * ListView.cs: When setting focused item, try to give focus to the
  2093. previous one _only_ if the previous one remains valid.
  2094. Fixes #342504.
  2095. 2007-11-20 Jonathan Pobst <[email protected]>
  2096. * Application.cs: Revert r89650, as it broke a common case to fix
  2097. an obscure case. Fixes bug #342606.
  2098. 2007-11-20 Everaldo Canuto <[email protected]>
  2099. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  2100. 2007-11-20 Everaldo Canuto <[email protected]>
  2101. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  2102. alignment. [Fixes #324228]
  2103. 2007-11-19 Jonathan Pobst <[email protected]>
  2104. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  2105. [Fixes bug #342123]
  2106. 2007-11-19 Everaldo Canuto <[email protected]>
  2107. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  2108. it prevent problems when empty captions. [Fixes #342141]
  2109. 2007-11-19 Jonathan Pobst <[email protected]>
  2110. * Label.cs: Use Size instead of None. Fixes bug #342077.
  2111. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  2112. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  2113. 2007-11-17 Jonathan Pobst <[email protected]>
  2114. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  2115. but there isn't a MdiContainer.
  2116. [Fixes bug #342358]
  2117. 2007-11-17 Jonathan Pobst <[email protected]>
  2118. * TextControl.cs: Don't recalculate document if the recalc_start and
  2119. recalc_end hasn't changed.
  2120. [Fixes bug #342505]
  2121. 2007-11-17 Gert Driesen <[email protected]>
  2122. * DataGridViewTextBoxCell.cs: Removed CWL.
  2123. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2124. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  2125. 2007-11-16 Jonathan Pobst <[email protected]>
  2126. * TextControl.cs: Missed some code for bug 341534 to trigger a
  2127. recalculation when the font changes.
  2128. 2007-11-16 Andreia Gaita <[email protected]>
  2129. * Control.cs: When updating the zorder, check if the child to update is
  2130. the same control that is set to always be on top (i.e., scrollbars), and
  2131. just put it on top directly. Fixes BadMatch error on pdn3
  2132. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2133. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  2134. 2007-11-16 Jonathan Pobst <[email protected]>
  2135. * Control.cs: Don't perform a new layout when a label changes its text,
  2136. cause label handles its own autosizing.
  2137. [Fixes bug #342077]
  2138. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2139. * ListView.cs: Implement 2.0 FindNearestItem methods.
  2140. 2007-11-15 Jonathan Pobst <[email protected]>
  2141. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  2142. even if the rest of what Join does isn't supported. Add some more
  2143. support for vertical toolbars.
  2144. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  2145. [Fixes the application breaking parts of bug #341998]
  2146. 2007-11-15 Jonathan Pobst <[email protected]>
  2147. * ToolStripItem.cs: When determining if we have a check/image margin,
  2148. we need to look at ShowCheckMargin as well as ShowImageMargin.
  2149. 2007-11-15 Geoff Norton <[email protected]>
  2150. * XplatUIOSX.cs: Rename to...
  2151. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  2152. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  2153. 2007-11-15 Jonathan Pobst <[email protected]>
  2154. * KeysConverter.cs: The default values should be an array of Keys, not
  2155. strings. Also, the array has more values for 2.0.
  2156. [Fixes bug #341851]
  2157. 2007-11-14 Jonathan Pobst <[email protected]>
  2158. * Application.cs: Change ExecutablePath to use
  2159. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  2160. [Fixes bug #323552]
  2161. 2007-11-14 Jonathan Pobst <[email protected]>
  2162. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  2163. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  2164. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  2165. be ignored. Create a new GetLineEnding that can specify which types of
  2166. line endings to look for. On Insert, only create new lines for \n and \r\n.
  2167. [Fixes bug #324274]
  2168. 2007-11-14 Jonathan Pobst <[email protected]>
  2169. * TextBoxBase.cs: As we loop through each line changing the font, tell
  2170. the document that the line needs to be recalculated. Fixes bug #341534.
  2171. 2007-11-13 Jonathan Pobst <[email protected]>
  2172. [Another round of refactoring]
  2173. * Line.cs: Add DeleteCharacters.
  2174. * LineTag.cs: Add Delete.
  2175. * TextBoxBase.cs: Update to use new methods.
  2176. * TextControl.cs: Refactor the Delete* methods.
  2177. 2007-11-13 Everaldo Canuto <[email protected]>
  2178. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  2179. the patch. [Fixes #324856]
  2180. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  2181. * ListView.cs:
  2182. * ListViewItem.cs: Add an initial implementation of
  2183. 2.0 ListViewItem.Position getter.
  2184. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  2185. * ListView.cs: Add a reordered_items_indices array, to allow us
  2186. to have a different sorting than that of Items (the sorting in Items
  2187. could not match the actual sorting in screen). This is needed to
  2188. implement a pair of 2.0 features.
  2189. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  2190. actual position in the ListView grid, since it could have a position
  2191. different than its Index (position in ListViewItemCollection).
  2192. 2007-11-09 Jonathan Pobst <[email protected]>
  2193. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  2194. not draw partial lines.
  2195. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  2196. LineLimit flag from the base is preserved.
  2197. Fixes the windows part of bug #338965.
  2198. 2007-11-09 Jonathan Pobst <[email protected]>
  2199. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  2200. so that it can be canceled in KeyPress.
  2201. Fixes bug #340078.
  2202. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  2203. * ListView.cs: In ItemControl, reset mouse-handling related
  2204. fields even if we dont' have items (we still should reset them when
  2205. we had items but then called Items.Clear). Partially based in a patch
  2206. by George Giolfan.
  2207. Fixes #338399.
  2208. 2007-11-08 Gert Driesen <[email protected]>
  2209. * Application.cs: In ProductVersion first try AssemblyFileVersion
  2210. before falling back to assembly version. Fixes bug #339787.
  2211. 2007-11-08 Andreia Gaita <[email protected]>
  2212. * HtmlElement.cs: Implement InnerText setter.
  2213. * WebBrowserBase.cs: Implement Navigated event support.
  2214. Add flag to track when the browser "document" is ready to be retrieved.
  2215. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  2216. Make sure browser document is ready before retrieving it.
  2217. Clean up cached objects (document) when moving to a new page through
  2218. any of the navigation methods.
  2219. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  2220. Implement OnNavigated event.
  2221. 2007-11-07 Jonathan Pobst <[email protected]>
  2222. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  2223. DrawLinkLabel, this is handled by OnPaintBackground.
  2224. Fixes bug #339565, part II.
  2225. 2007-11-07 Andreia Gaita <[email protected]>
  2226. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  2227. getting a Select call on click, so this call needs to be here for now.
  2228. Unfixes #325809
  2229. 2007-11-07 Geoff Norton <[email protected]>
  2230. * OSXStructs.cs: Add the kEventClassApplication constants.
  2231. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  2232. application is deactivated otherwise Menu overlays linger on top of
  2233. other application windows.
  2234. 2007-11-07 Geoff Norton <[email protected]>
  2235. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  2236. dont support cursors yet anyways. This allows Reflector to run.
  2237. 2007-11-07 Geoff Norton <[email protected]>
  2238. * XplatUIOSX.cs: Implement DragSize.
  2239. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  2240. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  2241. ItemControl, request the focus, as .Net does. This is needed after
  2242. Control does not request focus anymore when it receives a
  2243. WM_LBUTTONDOWN.
  2244. 2007-11-06 Jonathan Pobst <[email protected]>
  2245. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  2246. Remove the DrawImage call from OnPaint.
  2247. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  2248. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  2249. but before we draw the text for DrawLabel and DrawLinkLabel.
  2250. Fixes bug #339565.
  2251. 2007-11-05 Andreia Gaita <[email protected]>
  2252. * Control.cs: Remove select call on click. Fixes #325809
  2253. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  2254. * ListViewItem.cs: Add 2.0 Position property getter.
  2255. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2256. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  2257. Also, to make it work properly, change item's BackColor and
  2258. BackgroundImageLayout as needed.
  2259. * ThemeWin32Classic.cs: Don't fill any background rectangle
  2260. in ListView.ItemControl when drawing items; just let the Control
  2261. base implementation fill it.
  2262. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2263. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  2264. as well as adding a custom 'dummy' Converter, as .net does.
  2265. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2266. * PropertyGridView.cs: When clicking drop-down button,
  2267. select an index in the listbox only if our standard values collection
  2268. has one or more items.
  2269. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2270. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  2271. property.
  2272. 2007-11-04 Gert Driesen <[email protected]>
  2273. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  2274. the value is not changed. This ensure a pushed button remains in that
  2275. state when clicked again. When switching the value of PropertySort
  2276. between Categorized and CategorizedAlphabetical, do not update the
  2277. grid items and do not fire a PropertyChangedEvent. When clicking the
  2278. sorting buttons, do not modify the PropertySort value when switching
  2279. between Categorized and CategorizedAlphabetical but only update the
  2280. button state.
  2281. 2007-11-04 Gert Driesen <[email protected]>
  2282. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  2283. formatting.
  2284. * PropertyGrid.cs: Also put Categorized button in pushed state when
  2285. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  2286. for help description label.
  2287. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  2288. * ListView.cs: When calculating the biggest item for a given column,
  2289. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  2290. the item's width.
  2291. 2007-11-03 Gert Driesen <[email protected]>
  2292. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  2293. value for PropertySort on 1.0 profile. PropertySortChanged event
  2294. should only be fired on 2.0 profile. Fixed NullReferenceException
  2295. in UpdateSortLayout when PropertyGrid contains no items.
  2296. 2007-11-02 Jonathan Pobst <[email protected]>
  2297. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  2298. [Fixes bug #338554]
  2299. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  2300. * ListViewItem.cs: Implement 2.0 IndentCount property.
  2301. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  2302. * X11Dnd.cs: When sending status in a dnd operation, compare current
  2303. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  2304. the later is only created when a Winforms application is both the
  2305. source and the target, but not when we are the target only.
  2306. Fixes part of #324251.
  2307. 2007-11-01 Geoff Norton <[email protected]>
  2308. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  2309. order of Z-Order.
  2310. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  2311. children out of the drawing view on mac.
  2312. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  2313. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  2314. 2007-11-01 Jonathan Pobst <[email protected]>
  2315. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  2316. on the non-hosted-control part of it shouldn't do anything.
  2317. Fixes part of bug #327498.
  2318. 2007-11-01 Andreia Gaita <[email protected]>
  2319. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  2320. 2007-11-01 Jonathan Pobst <[email protected]>
  2321. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  2322. it does not use flow through to controls that are hosted in menus.
  2323. Same with mouse clicks.
  2324. * Form.cs: Don't close all menus on click if the click is on a
  2325. control hosted in a menu.
  2326. Fixes part of bug #327498, and part of bug #325969.
  2327. 2007-10-31 Andreia Gaita <[email protected]>
  2328. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  2329. 2007-10-31 Jonathan Pobst <[email protected]>
  2330. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  2331. Addresses an issue raised in bug #336218.
  2332. 2007-10-30 Jonathan Pobst <[email protected]>
  2333. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  2334. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  2335. 2007-10-30 Andreia Gaita <[email protected]>
  2336. * ContainerControl.cs: Check if the active control is a
  2337. child of a removed control and update active_control accordingly.
  2338. Fixes #329718
  2339. 2007-10-29 Jonathan Pobst <[email protected]>
  2340. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  2341. or the MaxDate. Fixed bug #337693.
  2342. 2007-10-29 Jonathan Pobst <[email protected]>
  2343. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  2344. after calling SetWindowLong for a form, to force an immediate NC refresh.
  2345. Fixes first part of bug #325150.
  2346. 2007-10-29 Jonathan Pobst <[email protected]>
  2347. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  2348. simple. Fixes the last part of bug #322668.
  2349. 2007-10-29 Jonathan Pobst <[email protected]>
  2350. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  2351. needs to be TopMost as well, or else the MessageBox is under the form.
  2352. Patch by George fixes bug #325300.
  2353. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  2354. * X11Dnd.cs: When starting a new drag operation, reset the static
  2355. 'dropped' field to false (previously the implementation didn't reset
  2356. it and got confused after the first drag).
  2357. Fixes #325071.
  2358. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  2359. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  2360. items instead of re-creating them all. For this purpose we now cache
  2361. both CategoryGridEntry items and the GridEntries for the main object's
  2362. properties.
  2363. * GridItem.cs: Make SetParent method abstract.
  2364. * GridEntry.cs: Override the SetParent method (already there, but now
  2365. we override it).
  2366. Fixes #324866.
  2367. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  2368. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  2369. depending on its depth (as .Net does). Update the needed values in
  2370. MouseDown handler. Also draw the plus/minus rect after the label,
  2371. so we don't draw on top of it.
  2372. 2007-10-24 Everaldo Canuto <[email protected]>
  2373. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  2374. processed by forms or controls when menu is active. [Fixes #333548]
  2375. 2007-10-24 Jonathan Pobst <[email protected]>
  2376. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  2377. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  2378. focus on mouse over.
  2379. 2007-10-24 Jonathan Pobst <[email protected]>
  2380. * TextControl.cs: Code cleaning, simplifying.
  2381. 2007-10-24 Geoff Norton <[email protected]>
  2382. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  2383. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  2384. 2007-10-24 Jonathan Pobst <[email protected]>
  2385. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  2386. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  2387. 2007-10-24 Andreia Gaita <[email protected]>
  2388. * SendKeys.cs: apply jpobst's patch to bug #332409
  2389. 2007-10-23 Andreia Gaita <[email protected]>
  2390. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  2391. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  2392. for some reason
  2393. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  2394. * PropertyGridView.cs: If a property has an UIEditor available,
  2395. make the drop-down/editor button available only if the property
  2396. is _not_ read only.
  2397. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  2398. * PropertyGridView.cs: Don't make the grid item textbox
  2399. editable when a drop-down control is available, but
  2400. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  2401. true. The same bur the color of the grid item value's label.
  2402. 2007-10-22 Geoff Norton <[email protected]>
  2403. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  2404. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  2405. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  2406. driver. Padd the bottom of all real windows so the resize thumb doesn't
  2407. obscure scroll/status bars.
  2408. 2007-10-22 Jonathan Pobst <[email protected]>
  2409. * WindowsFormsSection.cs: Implement.
  2410. 2007-10-22 Everaldo Canuto <[email protected]>
  2411. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  2412. closed see #325434 patch.
  2413. 2007-10-22 Everaldo Canuto <[email protected]>
  2414. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  2415. see #325434 patch.
  2416. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  2417. * PropertyGridView.cs: When showing the textbox for a grid item,
  2418. have two local variables to store the read-only and non-editable
  2419. status of a grid item (we were previously using just one variable
  2420. to do this, when actually they are slightly different).
  2421. Fixes part of #325023.
  2422. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  2423. * PropertyGridView.cs: When showing a drop-down list, try to get the
  2424. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  2425. part of #325023.
  2426. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  2427. * PropertyGrid.cs: When updating a property and populating sub grid
  2428. items, remove the previous ones, and invalidate the specific area.
  2429. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  2430. area behind a grid item.
  2431. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  2432. clean the items if needed (specially for controls implementing
  2433. ICustomTypeDescriptor and returning a variable number of properties).
  2434. Fixes #324865.
  2435. 2007-10-19 Jonathan Pobst <[email protected]>
  2436. * TextControl.cs: Clean up and document the Insert function.
  2437. 2007-10-17 Jonathan Pobst <[email protected]>
  2438. * TextControl.cs: Make sure we know our start point for updating the view
  2439. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  2440. update the view.
  2441. 2007-10-17 Jonathan Pobst <[email protected]>
  2442. * ListView: Couple of corcompare fixes.
  2443. 2007-10-17 Geoff Norton <[email protected]>
  2444. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  2445. the title caption of real window.
  2446. 2007-10-17 Jonathan Pobst <[email protected]>
  2447. * ErrorProvider.cs: Add the error provider's internal window to a
  2448. containercontrol when the parent changes. [Fixes bug #329714]
  2449. 2007-10-17 Geoff Norton <[email protected]>
  2450. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  2451. When we make a new window; restore the old active window - fixes dialogs.
  2452. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  2453. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  2454. when modifying a property, and if found then invalidate as
  2455. requested.
  2456. Fixes part of #324865.
  2457. 2007-10-17 Geoff Norton <[email protected]>
  2458. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  2459. highly experimental. Fixed coordinate translation. Fixed window locations.
  2460. Initial support for clipping. Implemented NC areas and menus. Support for
  2461. launching from command line from Will Johansson ([email protected]).
  2462. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  2463. [email protected])
  2464. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  2465. Hwnds now track the existence of all of their children for Mac clipping.
  2466. * XplatUI.cs: Re-enabled the native driver on the Mac.
  2467. 2007-10-17 Jonathan Pobst <[email protected]>
  2468. * Line.cs: Move the InsertString function to here.
  2469. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  2470. functionality to Line.
  2471. 2007-10-17 Geoff Norton <[email protected]>
  2472. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  2473. 2007-10-16 Gert Driesen <[email protected]>
  2474. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  2475. always setting value to true.
  2476. * Form.cs: When changing AcceptButton, notify new and original button.
  2477. 2007-10-16 Jonathan Pobst <[email protected]>
  2478. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  2479. a custom control that implements IButtonControl instead of an actual
  2480. button. [Fixes bug #334244]
  2481. 2007-10-15 Everaldo Canuto <[email protected]>
  2482. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  2483. MdiWindowManager.
  2484. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  2485. active control when activate a new mdi window.
  2486. [Fixes bug #330495]
  2487. 2007-10-15 Everaldo Canuto <[email protected]>
  2488. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  2489. is already added.
  2490. [Fixes bug #333617]
  2491. 2007-10-15 Jonathan Pobst <[email protected]>
  2492. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  2493. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  2494. so we always recalculate the whole document instead of just the new part.
  2495. [Fixes bug #325082]
  2496. 2007-10-15 Jonathan Pobst <[email protected]>
  2497. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  2498. when the mouse was to the left of the first character in the line.
  2499. 2007-10-15 Jonathan Pobst <[email protected]>
  2500. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  2501. character, use the property instead of the variable so that the
  2502. UseSystemPasswordChar property is taken into account.
  2503. [Fixes bug #333748]
  2504. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  2505. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  2506. folder" contex menu appears, actually add the new folder to it, even
  2507. if the node is not currently selected. Still use SelectedNode in case
  2508. there wasn't found a node under the pointer.
  2509. Fixes #325452.
  2510. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  2511. * ListViewItem.cs: When retrieving the focused state, the index check
  2512. should be done only when ListView is in virtualmode, as it is an
  2513. expensive check for normal mode.
  2514. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  2515. * ListViewItem.cs: Make the focus state information be stored
  2516. in the ListView, not in the items. This is done to match the MS
  2517. behaviour for items that are not yet part of a ListView control;
  2518. besides that, since just one item can be focused at the same time,
  2519. we save a little space in our items.
  2520. Fixes part of #331643.
  2521. 2007-10-13 Gert Driesen <[email protected]>
  2522. * ComboBox.cs: When focus is lost, deselect the text. When setting
  2523. text of control, select all text. Do not hide selection when control
  2524. does not have focus. Fixes bug #333663.
  2525. 2007-10-13 Gert Driesen <[email protected]>
  2526. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  2527. instead of ArgumentException when SelectionLength is set to negative
  2528. value. Added same check to SelectionStart. Code formatting.
  2529. 2007-10-13 Gert Driesen <[email protected]>
  2530. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  2531. or SelectionStart. Code formatting.
  2532. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  2533. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  2534. indicating that there was not a previous drag-and-drop operation going
  2535. on.
  2536. Fixes part of #325071.
  2537. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  2538. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  2539. AllowedEffect, don't let the drop operation happen.
  2540. Fixes #32580.
  2541. 2007-10-12 Jonathan Pobst <[email protected]>
  2542. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  2543. 2007-10-12 Jonathan Pobst <[email protected]>
  2544. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  2545. is called.
  2546. 2007-10-12 Jonathan Pobst <[email protected]>
  2547. * Line.cs: Add a method that finds the tag that contains an x-coord.
  2548. * LineTag.cs: Add a method that finds the character at an x-coord using
  2549. a binary search, the old way was a linear search.
  2550. * TextControl.cs: Change FindCursor to use the above new methods.
  2551. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  2552. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  2553. value different than AllowedEffect). This should be possible to
  2554. indicate that dragging is not possible in some control/area.
  2555. 2007-10-11 Jonathan Pobst <[email protected]>
  2556. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  2557. descent internally when font changes instead of outside code being responsible
  2558. for setting it.
  2559. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  2560. instead of accessing internal variables.
  2561. 2007-10-09 Everaldo Canuto <[email protected]>
  2562. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  2563. remove special treatment for ArrangeIcons since it is already arranged.
  2564. 2007-10-09 Jonathan Pobst <[email protected]>
  2565. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  2566. the Win32 backend uses Color.
  2567. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  2568. Refactor to store a Color instead of a Brush for Color.
  2569. 2007-10-09 Jonathan Pobst <[email protected]>
  2570. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  2571. away. I didn't realize I needed this when I refactored these earlier.
  2572. 2007-10-09 Jonathan Pobst <[email protected]>
  2573. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  2574. store a Color structure and use the ResPool for back color instead of
  2575. holding onto brushes.
  2576. 2007-10-09 Jonathan Pobst <[email protected]>
  2577. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  2578. [Fixes bug #325592]
  2579. 2007-10-08 Jonathan Pobst <[email protected]>
  2580. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  2581. to recalculate its size. Fixes a part of bug #331052.
  2582. 2007-10-08 Jonathan Pobst <[email protected]>
  2583. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  2584. button. Fixes a part of bug #331052.
  2585. 2007-10-08 Jonathan Pobst <[email protected]>
  2586. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  2587. the CreateParams.
  2588. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  2589. decorations.
  2590. [Fixes bug #330986]
  2591. 2007-10-08 Jonathan Pobst <[email protected]>
  2592. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  2593. doesn't exist in 1.1. (Thanks jb!)
  2594. 2007-10-08 Jonathan Pobst <[email protected]>
  2595. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  2596. class to allow us to use different backends on different platforms.
  2597. Linux uses the current [Draw|Measure]String backend. Windows uses
  2598. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  2599. of GDI+. This leads to better looking text and more accurate measurements
  2600. on Windows, fixing many of the reported issues.
  2601. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  2602. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  2603. * FolderBrowserDialog.cs: When running on Windows,
  2604. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  2605. since we must match both "C:" and "C:\" forms. A little hackish, but
  2606. works.
  2607. Fixes #325247.
  2608. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  2609. * ListView.cs: When calling EndEdit (after editing an item),
  2610. create a new instance of LabelEditEventArgs to keep clean the fields
  2611. in case we get a new call to BeginEdit; also do Application.DoEvents
  2612. to have focus in synch. This is a fix similar to TreeView's #325244.
  2613. 2007-10-07 Andreia Gaita <[email protected]>
  2614. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  2615. * WebBrowserBase.cs: Added dialog support, calling the
  2616. WebBrowserDialogs classes for each specific dialog type.
  2617. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  2618. * ListView.cs: When the last item is focused and is removed,
  2619. move the focus to the previous item (in Items order). This is what MS
  2620. does.
  2621. Fixes #330415.
  2622. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  2623. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  2624. instead of the opposite (RemoveAt call Remove). This is a better
  2625. approach since we don't need to to a pair of traversals when using
  2626. RemoveAt.
  2627. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  2628. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  2629. check that the node actually has nodes, and if not, move to the
  2630. parent node instead.
  2631. Fixes #325265.
  2632. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  2633. * TreeView.cs: Move the previous change to the general case (to
  2634. call Application.DoEvents in cases where the method was called by
  2635. different places).
  2636. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  2637. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  2638. call Application.DoEvents. This is neccessary when we get a call to
  2639. BeginEdit from an AfterLabelEdit handler, because the focus always
  2640. goes to the TreeView, even if we try to give it to our
  2641. LabelEditTextBox. The call do Application.DoEvents seems to
  2642. synchronize the focus, basically.
  2643. Fixes #325244.
  2644. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  2645. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  2646. should be false. This also removes some nasty recursive paths. Fixes
  2647. part of #325244.
  2648. 2007-10-04 Everaldo Canuto <[email protected]>
  2649. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  2650. state to normal. Also resize window when cascading. Fixes #325433.
  2651. 2007-10-04 Jonathan Pobst <[email protected]>
  2652. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  2653. DefaultForeColor, as drawing empty colored lines isn't very useful.
  2654. [Fixes the not drawn lines part of bug #324358]
  2655. 2007-10-04 Jonathan Pobst <[email protected]>
  2656. * TextControl.cs: Move Line and LineTag classes into separate files to
  2657. make things easier to find.
  2658. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  2659. * RichTextBox.cs: Capitalize LineTag.Length property access.
  2660. - This is purely an organizational/formatting change, no logic changed. -
  2661. 2007-10-03 Everaldo Canuto <[email protected]>
  2662. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  2663. text is empty.
  2664. 2007-10-03 Everaldo Canuto <[email protected]>
  2665. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  2666. text is empty.
  2667. 2007-10-03 Everaldo Canuto <[email protected]>
  2668. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  2669. prevent calling of OnBackColorChanged. Fixes #325321.
  2670. 2007-10-03 Everaldo Canuto <[email protected]>
  2671. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  2672. because control can be disabled because owner is disabled.
  2673. 2007-10-02 Jonathan Pobst <[email protected]>
  2674. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  2675. string.Empty, test failed from previous change.
  2676. 2007-10-02 Jonathan Pobst <[email protected]>
  2677. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  2678. is null, not String.Empty. See bug #323038.
  2679. 2007-10-01 Jonathan Pobst <[email protected]>
  2680. * TextControl.cs: Change the margins to match MS a little better.
  2681. Still not perfect for X11 due to some DrawString differences, but
  2682. is still an improvement over the old stuff.
  2683. Partially fixes #324467.
  2684. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  2685. * FolderBrowserDialog.cs: When using MyComputer as
  2686. RootFolder, let absolute paths be considered as valid ones. Also, use
  2687. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  2688. for Windows compatibility.
  2689. Partially fixes #325247.
  2690. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  2691. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  2692. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  2693. method, since it causes the dialog to not select folders directly
  2694. under the root path (when setting SelectedPath property).
  2695. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  2696. * TreeNode.cs: When calling Expand/Collapse and need to call
  2697. ExpandBelow/CollapseBelow respectively, take into account
  2698. partially visible nodes (previously Expanding/Collapsing
  2699. a partially visible node in the bottom was not updating its +- sign).
  2700. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  2701. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  2702. expand nodes below (ExpandBelow), scroll the entire Viewport
  2703. area if the node is above it and not visible (instead of scrolling
  2704. the area from node's Bottom, which applies only when the node is
  2705. visible).
  2706. Fixes #325266.
  2707. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  2708. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  2709. node in the bottom area (as .Net does). This is done to preserve the
  2710. scroll position when ExpandAll is called before handle is created for
  2711. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  2712. Fixes #324103.
  2713. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  2714. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  2715. bottom area if we are in fact not using the vertical scroll bar.
  2716. Fixes #324824.
  2717. 2007-09-27 Jonathan Pobst <[email protected]>
  2718. * Control.cs: Comment out a double buffering optimization that doesn't
  2719. take into account invalidates created in OnPaint, causing the control
  2720. to never be redrawn. It would take quite a bit of work to work around
  2721. this, but I left it commented with an explanation for later possible
  2722. optimization.
  2723. [Fixes bug #328681]
  2724. 2007-09-27 Jonathan Pobst <[email protected]>
  2725. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  2726. the text changes.
  2727. * RadioButton.cs: Implement GetPreferredSizeCore.
  2728. [Fixes bug #328672]
  2729. 2007-09-26 Jonathan Pobst <[email protected]>
  2730. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  2731. corcompare stuffs.
  2732. 2007-09-26 Jonathan Pobst <[email protected]>
  2733. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  2734. so that it doesn't get uninstalled on modal forms.
  2735. * Control.cs: Install a sync context when a control is created.
  2736. * WindowsFormsSyncronizationContext.cs: Create a private static control
  2737. to invoke on. This is easier than trying to find a created control we
  2738. can use.
  2739. [Fixes bug #327608]
  2740. 2007-09-25 Jonathan Pobst <[email protected]>
  2741. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  2742. run loop, and uninstall it when done.
  2743. * WindowsFormsSynchronizationContext.cs: Implement.
  2744. [Fixes the common case in bug #327608]
  2745. 2007-09-23 Gert Driesen <[email protected]>
  2746. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  2747. Use case-insensitive lookup of column name in indexer. Code
  2748. formatting.
  2749. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  2750. * TreeNode.cs: When collapsing or expanding a node, check whether its
  2751. change will affect the visible area (we were previously doing a
  2752. IsVisible check, but that check is not enough since children nodes
  2753. could be still visible). Fixes part of #325266.
  2754. 2007-09-21 Jonathan Pobst <[email protected]>
  2755. * TreeView.cs: Always select the first node when the TreeView gets
  2756. focus if there is no currently selected node.
  2757. [Fixes bug #324279]
  2758. 2007-09-21 Jonathan Pobst <[email protected]>
  2759. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  2760. node being selected is null.
  2761. [Patch from Yves Bastide fixes bug #326858]
  2762. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  2763. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  2764. whether all the parent nodes are expanded.
  2765. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  2766. call RecalculateVisibleOrder if all previous nodes are expanded.
  2767. Before that we were doing a IsVisible check, but sometimes the node
  2768. is not in the visible area, but _should_already be ready, because of
  2769. all previous nodes are expanded. Fixes #325259.
  2770. 2007-09-20 Jonathan Pobst <[email protected]>
  2771. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  2772. portion of the item is clicked.
  2773. 2007-09-20 Jonathan Pobst <[email protected]>
  2774. * TextControl.cs: Do not tell the system to move the cursor if the
  2775. textbox isn't focused. Fixes part of bug #322668.
  2776. 2007-09-20 Jonathan Pobst <[email protected]>
  2777. * ComboBox.cs: When there are no items, do not show the dropdown if
  2778. the down arrow is clicked. Fixes part of bug #322668.
  2779. 2007-09-20 Jonathan Pobst <[email protected]>
  2780. * ToolStripComboBox.cs: Manually set the size of this control in the
  2781. constructor, as it doesn't seem to be the same as DefaultSize.
  2782. Fixes a failing monobuild test.
  2783. 2007-09-19 Jonathan Pobst <[email protected]>
  2784. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  2785. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  2786. 2007-09-19 Jonathan Pobst <[email protected]>
  2787. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  2788. Desktop. This lets it work for people who have moved their desktops
  2789. from the default location on windows. For people who have not, both
  2790. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  2791. 2007-09-18 Jonathan Pobst <[email protected]>
  2792. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  2793. but when the base constructor sets this, the control is null. Set it
  2794. again in the constructor. Fixes a failing monobuild test.
  2795. 2007-09-18 Jonathan Pobst <[email protected]>
  2796. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  2797. get called.
  2798. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  2799. called.
  2800. 2007-09-18 Jonathan Pobst <[email protected]>
  2801. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  2802. will handle it themselves.
  2803. * ToolStripItem.cs: When deciding what the text of a tooltip should
  2804. be, use the Text property instead of the text field.
  2805. * ToolStripTextBox.cs: Handle tooltips.
  2806. [Fixes bugs #325417 and #325973]
  2807. 2007-09-18 Jonathan Pobst <[email protected]>
  2808. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  2809. left click. Fixes the easy part of bug #325969.
  2810. 2007-09-18 Jonathan Pobst <[email protected]>
  2811. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  2812. bug #325406, but set a minimum for StatusStrip to 22 to keep
  2813. bug #325390 fixed. I think this minimum would have been figured
  2814. up automatically if the grip was actually a ToolStripItem, but it
  2815. currently is not.
  2816. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  2817. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  2818. as this is apparently the actual value used by .Net. Also apply
  2819. ItemPadding in Details view only, and decrease the general width padding,
  2820. to have only the needed. This should fix #324340 in Windows too.
  2821. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  2822. * ListViewItem.cs: Don't Invalidate item if parent is inside
  2823. a BeginUpdate/EndUpdate block. This prevents to have differences
  2824. between the ListView and items state, as well as avoid some exceptions
  2825. there.
  2826. * ListView.cs: Make 'updating' field internal.
  2827. 2007-09-17 Jonathan Pobst <[email protected]>
  2828. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  2829. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  2830. size if appropriate.
  2831. Fixes reopened bug #325414.
  2832. 2007-09-17 Jonathan Pobst <[email protected]>
  2833. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  2834. * ToolStripItem.cs: Invalidate before and after our new autosize when
  2835. text changes.
  2836. Fixes reopened bug #325390.
  2837. 2007-09-17 Jonathan Pobst <[email protected]>
  2838. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  2839. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  2840. #325044.
  2841. 2007-09-17 Jonathan Pobst <[email protected]>
  2842. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  2843. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  2844. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  2845. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  2846. #82734.
  2847. 2007-09-14 Jonathan Pobst <[email protected]>
  2848. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  2849. item to select when the ToolStrip is selected.
  2850. * ToolStripControlHost: Realign the control when the bounds or visibility
  2851. change.
  2852. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  2853. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  2854. preferred height.
  2855. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  2856. base.OnPaint. Was causing text not to be drawn.
  2857. 2007-09-14 Jonathan Pobst <[email protected]>
  2858. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  2859. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  2860. * TreeView.cs: When creating the label edit text box,
  2861. set is initially to Visible = false. This is done to
  2862. prevent a confusion in the layout which makes it to lose
  2863. focus when shown the first time. Fixes part of #82592.
  2864. 2007-09-13 Andreia Gaita <[email protected]>
  2865. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  2866. 2007-09-13 Jonathan Pobst <[email protected]>
  2867. * ToolStrip.cs: Take Margin into account when calculating preferred
  2868. size. Also, allow preferred size to get smaller than the explicit
  2869. size.
  2870. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  2871. First step towards fixing bug #82747.
  2872. 2007-09-13 Jonathan Pobst <[email protected]>
  2873. * TreeView.cs: Applied patch from [email protected] to not paint the
  2874. full row select background over the plus/minus glyph. Also, turn
  2875. off the focus rectangle for full row select since MS doesn't seem
  2876. to ever paint it. [Fixes bug #81839]
  2877. 2007-09-13 Jonathan Pobst <[email protected]>
  2878. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  2879. This was causing keyboard opened dropdowns to lose focus.
  2880. [Fixes bug #82803]
  2881. 2007-09-13 Jonathan Pobst <[email protected]>
  2882. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  2883. ClientRectangle instead. [Fixes bug #82838]
  2884. 2007-09-13 Jonathan Pobst <[email protected]>
  2885. * SplitContainer.cs: We can't reset Visible on every layout because
  2886. someone may have set Visible = false explicitly on a SplitterPanel.
  2887. Make sure when we switch orientation the SplitterDistance does not
  2888. change. Fixes two failing tests.
  2889. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  2890. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  2891. TextRenderer, since the latter is only available in 2.0.
  2892. 2007-09-13 Ivan N. Zlatev <[email protected]>
  2893. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  2894. * SplitContainer.cs: Implement FixedPanel layouting.
  2895. 2007-09-12 Andreia Gaita <[email protected]>
  2896. * WebBrowserBase.cs: setup shutdown routine
  2897. 2007-09-12 Andreia Gaita <[email protected]>
  2898. * Application.cs: Let keyboard events that are targetted
  2899. to non-mwf windows hosted inside mwf (as in, webbrowser),
  2900. propagate properly. Fixes keyboard handling on the webbrowser.
  2901. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  2902. * ListView.cs: When handling MouseUp event and we are
  2903. highligting a node with the mouse right button, don't trigger
  2904. Before/AfterSelecting event, since we are not actually selecting
  2905. the node.
  2906. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  2907. * TreeView.cs: When editing a node, modify the edit text box
  2908. depending on the text length (as you are typing), like MS does.
  2909. 2007-09-12 Jonathan Pobst <[email protected]>
  2910. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  2911. Override GetPreferredSizeCore to perform calculations. Remove custom
  2912. autosize logic. [Fixes bug #82739]
  2913. 2007-09-12 Jonathan Pobst <[email protected]>
  2914. * TextBoxBase.cs: Modified should default to false.
  2915. 2007-09-11 Jonathan Pobst <[email protected]>
  2916. * Control.cs: Update the anchoring distances even when layout is supspended.
  2917. Patch provided by George fixes bug #82805.
  2918. 2007-09-11 Jonathan Pobst <[email protected]>
  2919. * Control.cs: Provide a setter for ExplicitHeight.
  2920. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  2921. remove the hacks in here for requested_height.
  2922. [Fixes bug #82749]
  2923. 2007-09-11 Jonathan Pobst <[email protected]>
  2924. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  2925. Maximum to lower that its current Value caused an ArgumentException by setting
  2926. the Value to the new Maximum.
  2927. 2007-09-11 Jonathan Pobst <[email protected]>
  2928. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  2929. handle moves to the closest tick when it is being dragged.
  2930. [Fixes bug #82751]
  2931. 2007-09-11 Jonathan Pobst <[email protected]>
  2932. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  2933. can't let them count as real items when calculating where to merge in the
  2934. user's items. [Fixed bug #82786]
  2935. 2007-09-10 Jonathan Pobst <[email protected]>
  2936. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  2937. who want to add a menu item directly onto a toolstrip.
  2938. [Fixes bug #82775, part II]
  2939. 2007-09-10 Jonathan Pobst <[email protected]>
  2940. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  2941. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  2942. don't set it to available.
  2943. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  2944. [Fixes bug #82727, part II]
  2945. 2007-09-10 Jonathan Pobst <[email protected]>
  2946. * StatusStrip.cs: Change item placement to None if not visible.
  2947. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  2948. These should have been committed to fix 82723, but I missed them.
  2949. 2007-09-10 Jonathan Pobst <[email protected]>
  2950. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  2951. Click, and that it is only called once.
  2952. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  2953. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  2954. dropped down.
  2955. [Fixes bug #82775]
  2956. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  2957. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  2958. to match .Net.
  2959. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  2960. instead of 8, just like above. Partially fixes #82734.
  2961. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  2962. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  2963. fixes #82734.
  2964. * ListView.cs: Remove extra space between rows in Details view (match
  2965. .Net).
  2966. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  2967. the DefaultFont.
  2968. 2007-09-08 Gert Driesen <[email protected]>
  2969. * Application.cs: Modified ProductVersion to return value of
  2970. AssemblyInformationVersion if available, and fallback to assembly
  2971. version. Fixes bug #82746. Code formatting.
  2972. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  2973. instead.
  2974. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  2975. * Control.cs: When updating ZOrder for a child control,
  2976. take into account the implicit ones (we need it in our controls
  2977. using them). Fixes #82642.
  2978. 2007-09-07 Jonathan Pobst <[email protected]>
  2979. * ToolStripItem.cs: Add support for animated images.
  2980. [Fixes bug #82726]
  2981. 2007-09-07 Jonathan Pobst <[email protected]>
  2982. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  2983. visible. [Fixes bug #82727]
  2984. 2007-09-06 Jonathan Pobst <[email protected]>
  2985. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  2986. so we repaint using the new size. [Fixes bug #82723]
  2987. 2007-09-06 Jonathan Pobst <[email protected]>
  2988. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  2989. option. [Fixes bug #81779]
  2990. 2007-09-06 Jonathan Pobst <[email protected]>
  2991. * TreeView.cs: Override HandleClick because the StandardClick style is
  2992. set to false. According to MSDN (and testing), the click events should
  2993. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  2994. 2007-09-06 Jonathan Pobst <[email protected]>
  2995. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  2996. the border will disappear. Fixes reopened #82653.
  2997. 2007-09-06 Jonathan Pobst <[email protected]>
  2998. * Control.cs: If the control is autosize, and its preferred size changes
  2999. when it lays out its children, tell its parent so it can be re-layed out.
  3000. Fixing some of the fallout from r85433.
  3001. 2007-09-06 Jonathan Pobst <[email protected]>
  3002. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  3003. and CheckBox share some code.
  3004. 2007-09-06 Jonathan Pobst <[email protected]>
  3005. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  3006. the TrackBar, not every mouse move. [Fixed bug #82718]
  3007. 2007-09-06 Jonathan Pobst <[email protected]>
  3008. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  3009. under 2.0 rendering. [Fixes bug #82657]
  3010. 2007-09-06 Jonathan Pobst <[email protected]>
  3011. * TreeView.cs: If we found a TreeNode to display a context menu, but
  3012. it doesn't have one to show, let the TreeView display its menu
  3013. instead. [Fixes bug #82680]
  3014. 2007-09-06 Jonathan Pobst <[email protected]>
  3015. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  3016. OnPaintInternal instead. Give the internal TextBox a Border property
  3017. so it can draw itself more correctly. [Fixes bug #82653]
  3018. 2007-09-06 Zoltan Varga <[email protected]>
  3019. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  3020. 2007-09-05 Everaldo Canuto <[email protected]>
  3021. * ComboBox.cs: Adjust combobox button state to reflect current state when
  3022. back to enabled = true. Fixes first issue of #82654.
  3023. 2007-09-05 Everaldo Canuto <[email protected]>
  3024. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  3025. setting visible property.
  3026. 2007-09-05 Everaldo Canuto <[email protected]>
  3027. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  3028. fix zorder for controls initially created as non visible. Fixes #82667.
  3029. 2007-09-04 Everaldo Canuto <[email protected]>
  3030. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  3031. mimic win32 look. Fixes #82656.
  3032. 2007-09-01 Zoltan Varga <[email protected]>
  3033. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  3034. Stubs for new net 3.5 classes.
  3035. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  3036. * ListViewItem.cs: In ListViewItemCollection operations calculate
  3037. Layout for owner as well as invalidate it. Fixes part of #82642.
  3038. 2007-08-31 Jonathan Pobst <[email protected]>
  3039. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  3040. when returning Enabled. [Fixes bug #82651]
  3041. 2007-08-30 Everaldo Canuto <[email protected]>
  3042. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  3043. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3044. * ListView.cs: Put item padding info in a single place
  3045. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  3046. columns again.
  3047. * ThemeWin32Classic.cs:
  3048. * Theme.cs: Likewise.
  3049. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3050. * ListView.cs: When a ListViewSubItem instance is invalidated,
  3051. invoke Invalidate on parent ListViewItem, not parent ListView.
  3052. Fixes #81570.
  3053. 2007-08-30 Jonathan Pobst <[email protected]>
  3054. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  3055. 2007-08-30 Jonathan Pobst <[email protected]>
  3056. * BindingMemberInfo.cs: Implement == and != operators.
  3057. 2007-08-30 Jonathan Pobst <[email protected]>
  3058. * HtmlElementEventArgs.cs: Implement properties.
  3059. 2007-08-29 Jonathan Pobst <[email protected]>
  3060. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  3061. 2007-08-29 Jonathan Pobst <[email protected]>
  3062. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  3063. Add (string,string,string) to implement the imagekey. It turns out, we
  3064. use the requested imagekey whereas .Net does not. So I broke ours to match
  3065. theirs. :(
  3066. 2007-08-29 Jonathan Pobst <[email protected]>
  3067. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  3068. 2007-08-29 Jonathan Pobst <[email protected]>
  3069. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  3070. 2007-08-29 Gert Driesen <[email protected]>
  3071. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  3072. up-to-date. Fixes bug #82618.
  3073. 2007-08-29 Everaldo Canuto <[email protected]>
  3074. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  3075. reflect document changes. Fixes #82367.
  3076. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  3077. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  3078. as well as add new ones. This should make work the BackgroundImage
  3079. property for ListView again.
  3080. 2007-08-28 Jonathan Pobst <[email protected]>
  3081. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  3082. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  3083. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  3084. 2007-08-28 Jonathan Pobst <[email protected]>
  3085. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  3086. IsKeyLocked.
  3087. 2007-08-28 Jonathan Pobst <[email protected]>
  3088. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  3089. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  3090. 2007-08-28 Jonathan Pobst <[email protected]>
  3091. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  3092. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  3093. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3094. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  3095. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3096. * GridEntry.cs: Implement GetService.
  3097. 2007-08-27 Jonathan Pobst <[email protected]>
  3098. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  3099. for label editting, make sure we focus back on the TreeView.
  3100. [Fixes bug #82590]
  3101. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  3102. * ListView.cs: Add some 2.0 overrides.
  3103. 2007-08-27 Everaldo Canuto <[email protected]>
  3104. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  3105. because getter dont returns right value before handle creation. Thanks
  3106. to George. Fixes #82569.
  3107. 2007-08-27 Everaldo Canuto <[email protected]>
  3108. * Theme.cs: Revert last patch, it causes error under win32.
  3109. 2007-08-27 Everaldo Canuto <[email protected]>
  3110. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  3111. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  3112. logical Desktop rather than the physical file system location. Fixes #82603.
  3113. 2007-08-26 Everaldo Canuto <[email protected]>
  3114. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  3115. for the patch. Fixes #82568.
  3116. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3117. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  3118. methods.
  3119. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3120. * ListViewInsertionMark.cs: New stubbed class.
  3121. 2007-08-25 Gert Driesen <[email protected]>
  3122. * FolderBrowserDialog.cs: When adding folder, immediately create the
  3123. directory with temporary name and rename the directory when editing
  3124. finishes. This matches MS. Ensure the node for the new folder is
  3125. selected and LabelEdit is disabled, when editing is either finished
  3126. or cancelled.
  3127. 2007-08-25 Gert Driesen <[email protected]>
  3128. * TreeView.cs: When editing label of node, ensure node is visible.
  3129. 2007-08-25 Ivan N. Zlatev <[email protected]>
  3130. * PropertyGridView.cs: Set the value only if it has changed.
  3131. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3132. * ListView.cs: Some more code refactoring to add support sorting
  3133. with groups (now for Details view). Remove unused code also.
  3134. 2007-08-24 Jonathan Pobst <[email protected]>
  3135. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  3136. Not a big fan of reacting immediately to a field in an EventArg, but that's
  3137. the way it's done. (This is part of the previous commit that got left out.)
  3138. 2007-08-25 Gert Driesen <[email protected]>
  3139. * FolderBrowserDialog.cs: Removed need for separate description field.
  3140. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  3141. has focus when dialog box is displayed again, regardless of what
  3142. button was pressed the previous time. Set RootFolder and SelectedPath
  3143. each time dialog box is displayed. This ensures the treeview is
  3144. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  3145. when it does not have focus. Added support for more special folders.
  3146. 2007-08-24 Jonathan Pobst <[email protected]>
  3147. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  3148. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  3149. it resets the edit_args.
  3150. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  3151. [Fixes bug #82577]
  3152. 2007-08-24 Gert Driesen <[email protected]>
  3153. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  3154. button to match MS. Provide more meaningful exception message for
  3155. invalid RootFolder value. Use zero-length string when SelectedPath
  3156. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  3157. them in FolderBrowserTreeView. Allow folders to be created in
  3158. RootFolder. Fixes bug #82576.
  3159. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3160. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  3161. since we need to take into account the group headers and the margin
  3162. between them.
  3163. * ListViewGroup.cs: Add a rows field to store the number of rows per
  3164. group.
  3165. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  3166. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  3167. Anyways, let's just follow the lead.
  3168. 2007-08-24 Jonathan Pobst <[email protected]>
  3169. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  3170. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  3171. controls in GetPreferredSizeCore.
  3172. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  3173. [Fixes bug #82488]
  3174. 2007-08-24 Jonathan Pobst <[email protected]>
  3175. * PrintDialog.cs: Need to instantiate the form variable here too.
  3176. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3177. * ListView.cs: Do some reorganization to support sorting in groups,
  3178. by doing the layout sequentially in ListView.Items. Also add support
  3179. for the Default Group, which should be available for items with no
  3180. group assigned.
  3181. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  3182. for storing layout info also.
  3183. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  3184. collection, as well as providing internal members to do a traversal
  3185. including the default group (needed when doing layout/drawing).
  3186. * ThemeWin32Classic.cs: When drawing group headers use internal
  3187. ListViewGroupCollection members to take into account the default
  3188. group.
  3189. 2007-08-23 George Giolfan <[email protected]>
  3190. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  3191. 2007-08-23 Jonathan Pobst <[email protected]>
  3192. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  3193. been created. If handle is created, we want arror keys. If we are editing
  3194. a node, we want things like enter, esc, home, end, page up, page down.
  3195. Allows Esc to work for FolderBrowserDialog.
  3196. 2007-08-23 Jonathan Pobst <[email protected]>
  3197. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  3198. they close when ESC is pressed. Thanks Andy!
  3199. 2007-08-23 Jonathan Pobst <[email protected]>
  3200. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  3201. This way we can tell if this is a CommonDialog provided with mono, or one
  3202. that is being implemented outside by a developer. If it is an external one,
  3203. the developer is responsible for showing their own form. We were showing
  3204. our blank form after the developer showed his.
  3205. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  3206. PageSetupDialog.cs: Instantiate form variable in our constructor.
  3207. [Fixes bug #82531]
  3208. 2007-08-23 Jonathan Pobst <[email protected]>
  3209. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  3210. and always return true. [Fixes bug #81616]
  3211. 2007-08-23 Jonathan Pobst <[email protected]>
  3212. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  3213. TextBox. [Fixes bug #82549]
  3214. 2007-08-23 Gert Driesen <[email protected]>
  3215. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  3216. or entered then do not close the dialog. Fixes bug #82539. Removed
  3217. CWLs.
  3218. 2007-08-22 Everaldo Canuto <[email protected]>
  3219. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  3220. code to this method. It is calling every time filter changes. This method
  3221. will help to fix the bug #80887.
  3222. 2007-08-22 Jonathan Pobst <[email protected]>
  3223. * CheckBox.cs: Implement AutoSize calculation.
  3224. 2007-08-22 Jonathan Pobst <[email protected]>
  3225. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  3226. * Theme.cs: Method declarations for 2.0 rendering path.
  3227. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  3228. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  3229. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  3230. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  3231. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  3232. only call Redraw on the parent one time.
  3233. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  3234. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  3235. GetClipboardContent.
  3236. * DataGridViewCell.cs: Implemented GetClipboardContent,
  3237. GetEditedFormattedValue, GetFormattedValue.
  3238. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  3239. 2007-08-21 Jonathan Pobst <[email protected]>
  3240. * TableLayoutStyleCollection.cs: corcompare fix.
  3241. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  3242. * DataObject.cs: Implemented retrieval of convertible / not convertible
  3243. objects.
  3244. 2007-08-21 Jonathan Pobst <[email protected]>
  3245. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  3246. ourselves. This ensures the entire old bounds are repainted, in case our new
  3247. size is smaller. [Fixes bug #82518]
  3248. 2007-08-20 Everaldo Canuto <[email protected]>
  3249. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  3250. flag to make fast handle of mouse events, without this the mouse move is
  3251. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  3252. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3253. * ListView.cs: When doing layout calculations don't use a ref
  3254. param to keep the current item; instead use its Index value (this
  3255. is specially important when doing the layout with Groups
  3256. and Items being sparse). Also don't take into account items added to
  3257. the Group but not yet added to the main ListView.Items collection.
  3258. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3259. * ListViewGroupCollection.cs: Forgot to mimic an issue
  3260. in the indexer (don't assign the ListView owner for new values).
  3261. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3262. * ListViewGroupCollection.cs: Make the string indexer use
  3263. the int based indexer to re-use code, instead of duplicate the code.
  3264. Also Redraw as needed and take into account null values.
  3265. 2007-08-20 Jonathan Pobst <[email protected]>
  3266. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  3267. [Fixes bug #82481]
  3268. 2007-08-20 Jonathan Pobst <[email protected]>
  3269. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  3270. when other buttons are clicked or navigated to.
  3271. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3272. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  3273. it's XplatUIX11 that attaches them.
  3274. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3275. * DataGridView.cs: If a column has been added, recreate the editing row.
  3276. Fixes #82226.
  3277. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3278. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  3279. of the tag to draw. Makes disappearing text show up again.
  3280. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3281. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  3282. Contents. Fixes #82487.
  3283. 2007-08-19 Andreia Gaita <[email protected]>
  3284. * Added HtmlElement.cs, HtmlElementCollection.cs,
  3285. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  3286. 2007-08-19 Andreia Gaita <[email protected]>
  3287. * BindingSource.cs: Implement this, dispose and getenumerator.
  3288. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  3289. out of AddInternal, throw it only on public Add calls. The
  3290. UsingWebBrowser sample was blowing up with this when setting the
  3291. DataSource after adding DataBindings, so it's likely that .net
  3292. only throws this exception when Add is called directly.
  3293. * ToolStripControlHost.cs: Return the hosted control's text
  3294. property, and not the ToolStripItem one (it would always return
  3295. the initial value).
  3296. * HtmlDocument.cs: Implement GetElementById and All
  3297. * WebBrowser.cs: Remove exception on set_DocumentStream.
  3298. 2007-08-19 Everaldo Canuto <[email protected]>
  3299. * Form.cs: Fix the max and min value for opacity (0~1).
  3300. 2007-08-19 Everaldo Canuto <[email protected]>
  3301. [Fixes #80118]
  3302. * DataGridTableStyle.cs: Default header font is now null, on getter it
  3303. returns datagrid font when is null. On setter permits null.
  3304. * DataGrid.cs:
  3305. - When ResetHeaderFont set header font to null.
  3306. - On EndInit set grid_style.DataGrid.
  3307. 2007-08-19 Everaldo Canuto <[email protected]>
  3308. * TabControl.cs: Fix regression in default padding x.
  3309. 2007-08-19 Everaldo Canuto <[email protected]>
  3310. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  3311. 2007-08-19 Everaldo Canuto <[email protected]>
  3312. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  3313. not 2. Fixes #82229.
  3314. 2007-08-18 Everaldo Canuto <[email protected]>
  3315. * TabControl.cs: Fix tab size when image height is less than text height.
  3316. Partially fixes #81837.
  3317. 2007-08-18 Everaldo Canuto <[email protected]>
  3318. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  3319. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  3320. from taskbar and keep it on "alt_tab". Fixes #81722.
  3321. 2007-08-18 Everaldo Canuto <[email protected]>
  3322. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  3323. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  3324. Fixes #80877 and #79418.
  3325. 2007-08-18 Everaldo Canuto <[email protected]>
  3326. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  3327. between position and one of the screen borders. Fixes #82349.
  3328. 2007-08-18 Everaldo Canuto <[email protected]>
  3329. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  3330. the MessageBox in the taskbar. Fixes #82457.
  3331. 2007-08-18 Everaldo Canuto <[email protected]>
  3332. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  3333. than icon. Fixes #82468.
  3334. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  3335. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  3336. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  3337. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  3338. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  3339. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  3340. FormBorderStyle to decide if we're calculating a new size from the
  3341. client size or not. CreateParams: Don't fake tool windows, only the X11
  3342. backend manages toolwindows manually.
  3343. 2007-08-17 Jonathan Pobst <[email protected]>
  3344. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  3345. ObjectDisposedException.
  3346. 2007-08-17 Jonathan Pobst <[email protected]>
  3347. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  3348. in OnLoad should not have any effect. [Fixes bug #82470]
  3349. 2007-08-17 Jonathan Pobst <[email protected]>
  3350. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  3351. paint for controls that create their own ToolTipWindow instead of
  3352. going through ToolTip.
  3353. 2007-08-17 Jonathan Pobst <[email protected]>
  3354. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  3355. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  3356. * ListViewGroupCollection.cs: Use generic List instead of an
  3357. ArrayList, since this collection is 2.0 only.
  3358. 2007-08-17 Jeffrey Stedfast <[email protected]>
  3359. * ToolTip.cs (Hide): Made public to make the build work (should
  3360. this not be public?).
  3361. 2007-08-17 Jonathan Pobst <[email protected]>
  3362. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  3363. ToolTipWindow.
  3364. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  3365. 2007-08-17 Jonathan Pobst <[email protected]>
  3366. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  3367. PopupEventHandler.cs: Make these internal for 1.1.
  3368. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  3369. use ToolTipWindow internals.
  3370. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  3371. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  3372. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3373. * X11Dnd.cs: Add a null check.
  3374. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3375. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  3376. nothing else succeeds. Fixes #82453.
  3377. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3378. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  3379. rectangle if we're painting to another window than the one the paint
  3380. message was generated on. Simplify the code somewhat, which makes
  3381. PaintEventEnd also simpler.
  3382. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3383. * Control.cs: When changing parent of a form, let the form decide whether
  3384. XplatUI.SetParent should be called or not.
  3385. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  3386. recreating the handle. If the new parent's handle isn't created, don't
  3387. recreate our handle, just destroy it. CreateParams: Check if the
  3388. parent's handle is created before fetching it.
  3389. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3390. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  3391. Update calls to PaintEventStart/End to take a Message argument.
  3392. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  3393. take a Message argument.
  3394. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  3395. Message argument, and handle the case where we don't paint to the window
  3396. for which the paint message was generated.
  3397. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  3398. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  3399. Marshal.GetLastWin32Error. Plug nasty memory leak in
  3400. PaintEventStart/End, we were creating a DC we weren't releasing.
  3401. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  3402. * ListView.cs: Add Groups support in Details view. Also have a small
  3403. method to do the layout of the group header. Don't use a separate
  3404. method to do the groups calculation in Icons view, since our methods
  3405. are now a little simpler.
  3406. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  3407. `Bounds'.
  3408. * ThemeWin32Classic.cs: Likewise.
  3409. 2007-08-16 Jonathan Pobst <[email protected]>
  3410. * Application.cs: Add FilterMessage method and rework our message loop
  3411. logic to use it.
  3412. 2007-08-16 Jonathan Pobst <[email protected]>
  3413. * Application.cs: Add some methods and stub a few methods that are
  3414. pretty much never used.
  3415. 2007-08-15 Jonathan Pobst <[email protected]>
  3416. * TreeNode.cs: Add some serialization methods.
  3417. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  3418. * ListView.cs: In ListViewItemCollection have a
  3419. 'is_main_collection' field to not modify ListViewItem.ListView
  3420. when using it as ListViewGroup.Items (and not ListView.Items)
  3421. and also don't modify selection state (.Net behaviour).
  3422. Instead, set group for items contained in a ListViewGroup.Items collection.
  3423. * ListViewItem.cs: Simplify some code in Group setter.
  3424. * ListViewGroup.cs: use the new .ctor to pass the current instance
  3425. to the ItemsCollection.
  3426. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  3427. instances when adding/removing. Also make Remove use RemoveAt, which
  3428. should perform better.
  3429. 2007-08-14 Jonathan Pobst <[email protected]>
  3430. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  3431. that crept into the 1.1 profile.
  3432. 2007-08-14 Jonathan Pobst <[email protected]>
  3433. * ToolBarButton.cs: Implement ImageKey.
  3434. 2007-08-14 Jonathan Pobst <[email protected]>
  3435. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  3436. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  3437. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  3438. created, it might have gotten destroyed since we last checked. Fixes
  3439. #82405.
  3440. 2007-08-11 Jonathan Pobst <[email protected]>
  3441. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  3442. tooltip will hide when mouse is moved off the control.
  3443. [Fixes bug #82407]
  3444. 2007-08-11 Andreia Gaita <[email protected]>
  3445. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  3446. using Mono.Mozilla for loading and navigating webcontrol
  3447. with xulrunner.
  3448. The initial implementation was done on
  3449. /trunk/mozembed/tests/browser , and copied here.
  3450. 2007-08-11 Gert Driesen <[email protected]>
  3451. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  3452. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  3453. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  3454. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  3455. RowTemplateFull: throw an exception if a column doesn't have a template.
  3456. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  3457. add the row just before it.
  3458. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  3459. selected.
  3460. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  3461. DataGridView field to be able to reach the grid's editing row.
  3462. 2007-08-10 Jonathan Pobst <[email protected]>
  3463. * ToolTip.cs: If the control's handle hasn't been created when it has a
  3464. tooltip set on it, don't check to see if we need to show the tooltip. This
  3465. check was causing the control's handle to be created.
  3466. [Fixes bug #82399]
  3467. 2007-08-10 Jonathan Pobst <[email protected]>
  3468. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  3469. 1.1 2.0
  3470. Handle Not Created -1 0
  3471. Handle Created 0 0
  3472. [Fixes bug #82371]
  3473. 2007-08-10 Jonathan Pobst <[email protected]>
  3474. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  3475. [Fixes bug #82348]
  3476. 2007-08-09 Jonathan Pobst <[email protected]>
  3477. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  3478. * ToolTip.cs: Implement some properties and owner draw.
  3479. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3480. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  3481. show them again, since setting visibility causes a paint, causing an
  3482. endless loop (instead use a temporary and set it all when it's known if
  3483. they should be shown or not). Fixes #79265.
  3484. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3485. * DataGridView.cs: Only do a full column/row selection if a header was
  3486. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  3487. isn't pressed, deselect everything before selecting something.
  3488. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3489. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  3490. behaviour according to bug #81075 - they are returned in the order they
  3491. are selected. Fix HitTest to check if the point is within any of the
  3492. headers. Allow for row/column selection when in ColumnHeader or
  3493. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  3494. the row and column to call when their selected state changes, and
  3495. updated selected_[rows|columns] whenever SetSelected* is called.
  3496. * DataGridViewBand.cs: Initialize isRow correctly. Call
  3497. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  3498. add a SelectedInternal to avoid StackOverflows.
  3499. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  3500. ReadOnly no matter what.
  3501. * DataGridViewSelectedColumnCollection.cs,
  3502. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  3503. the items in reverse order (just as MS does...)
  3504. 2007-08-09 Jonathan Pobst <[email protected]>
  3505. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  3506. itself, not part of a mnemonic. [Fixes bug #82378]
  3507. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3508. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  3509. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  3510. the DGV, the column, the row, or the cell itself is readonly.
  3511. 2007-08-09 Gert Driesen <[email protected]>
  3512. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  3513. OSVersion.Platform.
  3514. * FileDialog.cs: Same.
  3515. * TextRendered.cs: Same.
  3516. * FolderBrowserDialog.cs: Same.
  3517. * TextBoxBase.cs: Same.
  3518. * Application.cs: Same.
  3519. * Cursors.cs: Same.
  3520. * ThemeClearLooks.cs: Same.
  3521. 2007-08-09 Gert Driesen <[email protected]>
  3522. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  3523. instead of duplicating these checks everywhere.
  3524. * FileDialog.cs: Use case-insensitive comparison for populating the
  3525. DirComboBox when not running on unix. Fixes bug #82385.
  3526. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  3527. "Look in".
  3528. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3529. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  3530. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  3531. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  3532. cell and column selection with ctrl and shift pressed. Call the correct
  3533. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  3534. the corresponding virtual method (PaintBackground to paint background,
  3535. etc).
  3536. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  3537. either the column, row or the cell itself is selected.
  3538. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  3539. OnRowsAdded.
  3540. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  3541. here. When the row is selected, don't select all cells. Each cell now
  3542. queries the row to see if the row is selected.
  3543. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  3544. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  3545. SelectionMode.
  3546. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  3547. * ListView.cs: In ListViewItemsCollection check that owner is
  3548. not null before trying to access it (this happens quite often
  3549. using Groups). Also don't duplicate calls by calling CollectionChanged
  3550. method.
  3551. 2007-08-08 Jonathan Pobst <[email protected]>
  3552. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  3553. when we are dismissed to clear keyboard mnemonics.
  3554. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  3555. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  3556. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  3557. was activated by keyboard or the OS tells us to always draw them.
  3558. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  3559. [Fixes bugs #82376, #82377]
  3560. 2007-08-08 Jonathan Pobst <[email protected]>
  3561. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  3562. shot at having it because Alt was pressed.
  3563. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  3564. the first real menu item.
  3565. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  3566. a mnemonic if Text is null.
  3567. [Fixes bug #82374]
  3568. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  3569. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  3570. search do check whether the item is already contained in the
  3571. collection or not; instead check if the owner of the item is the same
  3572. as ours. Also, remove a redundant check in the same method.
  3573. 2007-08-08 Jonathan Pobst <[email protected]>
  3574. * Control.cs: Allow the clip region to be set back to null.
  3575. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  3576. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  3577. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  3578. * GridEntry.cs: Add a null check.
  3579. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  3580. entries. Fixes #82297.
  3581. 2007-08-07 Jonathan Pobst <[email protected]>
  3582. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  3583. for 2.0.
  3584. 2007-08-07 Jonathan Pobst <[email protected]>
  3585. * ListBox.cs: Implement ScaleControl.
  3586. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  3587. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  3588. have a menu strip.
  3589. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  3590. parent has a menu strip. Fixes #81689.
  3591. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  3592. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  3593. moments, so apply some fuzzy logic to determine if the mouse is still
  3594. inside a control or not. Fixes #82288 (for the third time).
  3595. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  3596. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  3597. Don't create the child if it has been disposed already (may happen if
  3598. the user closes the form the Load event).
  3599. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  3600. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  3601. #82288.
  3602. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  3603. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  3604. might call us after we've been destroyed, in which case our own private
  3605. parent field is null. Fixes #82326.
  3606. 2007-08-06 Jonathan Pobst <[email protected]>
  3607. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  3608. check for setting the dropdown's owner.
  3609. 2007-08-06 Jonathan Pobst <[email protected]>
  3610. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  3611. before removing system menu items.
  3612. 2007-08-02 Jonathan Pobst <[email protected]>
  3613. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  3614. folding.
  3615. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  3616. folding.
  3617. * ToolStrip.cs: Add a null check to mnemonics.
  3618. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  3619. no ConnectedArea.
  3620. [Fixes most of bug #81689]
  3621. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  3622. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  3623. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  3624. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  3625. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  3626. * DataGridViewCell.cs: EditType: returns
  3627. DataGridViewTextBoxEditingControl always.
  3628. 2007-08-01 Jonathan Pobst <[email protected]>
  3629. * TextRenderer.cs: Remove the LineLimit string format flag from the
  3630. DrawString fallback method so that things like buttons that aren't
  3631. tall enough to draw a full line will still draw part of the text.
  3632. [Fixes part of bug #82272]
  3633. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  3634. * DataGridView.cs: Implemented AutoResizeColumn(s).
  3635. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  3636. according to the Alignment.
  3637. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  3638. Implement alignment and padding when painting.
  3639. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  3640. exists.
  3641. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  3642. way.
  3643. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  3644. a column is added.
  3645. 2007-07-31 Jonathan Pobst <[email protected]>
  3646. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  3647. which is internal.
  3648. 2007-07-31 Jonathan Pobst <[email protected]>
  3649. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  3650. hide GetPreferredSize from public API.
  3651. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  3652. * ToolStripItem.cs: Stub out drag and drop methods and events.
  3653. * ToolStripManager.cs: Stub out Save/LoadSettings.
  3654. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  3655. * ToolStripPanel.cs: Fix corcompare error.
  3656. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  3657. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  3658. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  3659. 2007-07-31 Jonathan Pobst <[email protected]>
  3660. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  3661. bounds height instead of PreferredHeight. Puts things back the way
  3662. they were for height while still fixing the width. Fixes broken unit
  3663. tests.
  3664. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  3665. * Binding.cs: Implement 2.0 constructors and add a null check.
  3666. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  3667. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  3668. and fix row index (off by one).
  3669. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  3670. * PropertyGridView.cs: Remove debug output.
  3671. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  3672. * Control.cs: We need to reset the is_created flags when the handle is
  3673. destroyed. Fixes #82187.
  3674. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  3675. client coordinates if the window doesn't have a parent.
  3676. Win32GetParent returns the parent or the owner, and for top-level
  3677. windows with no parent (but with an owner) we were calculating the
  3678. location from the location of the owner.
  3679. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  3680. form has been disposed.
  3681. * MdiClient.cs: Add a null-check.
  3682. 2007-07-30 Jonathan Pobst <[email protected]>
  3683. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  3684. actually do auto-sizing. Override the internal GetPreferredSizeCore
  3685. so we can provide an implementation that returns the current width
  3686. and preferred height. Allows anchor = right to work with TextBox 2.0.
  3687. [Fixes bug #82233]
  3688. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  3689. * ListView.cs: Add support for navigating items in Groups mode, by
  3690. creating a big matrix containing all rows and cols of all groups. When
  3691. are in other mode than Details, pressing Up should have a similar
  3692. behaviour as that one of Down (moving to the next available column if
  3693. current one doesn't have an item in the requested row). Also, don't
  3694. proceed to use groups if ShowGroups is false.
  3695. * ListViewGroup.cs: Add an internal int field to store the starting
  3696. row of the group (used by the big matrix used for navigating the
  3697. ListView).
  3698. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  3699. false.
  3700. 2007-07-30 Jonathan Pobst <[email protected]>
  3701. * ToolStripDropDown.cs: When we do Show, start with the
  3702. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  3703. modify the direction to keep it on screen. [Fixes bug #82210]
  3704. 2007-07-29 Gert Driesen <[email protected]>
  3705. * FileDialog.cs: Accept any FilterIndex value, and store it
  3706. unmodified. When FilterIndex is less than 1, or greater than number
  3707. of filters, then default to first filter. Only add filter extension to
  3708. file if user did not specifiy an extension. When type of dialog is
  3709. OpenFileDialog and DefaultExt is set, then only use filter extension
  3710. if: CheckFileExists is true and no file wih the default extension
  3711. exists, or CheckFileExists is false, and user specified file does not
  3712. exist. When CheckFileExists is true, then add first extension of
  3713. selected filter that matches existing file. Perform checks for
  3714. existing file, overwrite and create after extension has been added to
  3715. file name. When CheckFileExists is true and type is SaveFileDialog,
  3716. then only consider first filter extension if DefaultExt is set.
  3717. When CheckFileExists is true, then ignore DefaultExt if file with that
  3718. extension does not exist. Also perform check for existing file when
  3719. type is SaveFileDialog. Changed some field to constants.
  3720. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  3721. * ListView.cs: Take into account the region used by header
  3722. control when doing the vertical scroll (this way we invalidate
  3723. the precise area, and don't get any dirty one).
  3724. 2007-07-27 Everaldo Canuto <[email protected]>
  3725. * FileDialog.cs: Check for valid filterIndex on button open/save.
  3726. Fixes #82184.
  3727. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  3728. * ListView.cs: Update some layout calculations in details view
  3729. and clean the code in a pair of assignations.
  3730. 2007-07-26 Jonathan Pobst <[email protected]>
  3731. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  3732. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  3733. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  3734. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  3735. 2007-07-26 Jonathan Pobst <[email protected]>
  3736. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  3737. performance of thread-safe Graphic methods. (Thanks rolf!)
  3738. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  3739. * ListView.cs: When doing the layout calculations, don't calculate
  3740. scroll bars before handle is created. This is unnecessary and also
  3741. calculating them before handle creation item causes a number of random
  3742. bugs (which begin to appear after Chris' big patch for handle creation
  3743. fixes).
  3744. 2007-07-26 Jonathan Pobst <[email protected]>
  3745. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  3746. for things that don't have a Graphics object. Currently, things just use
  3747. the static Hwnd.bmp_g which is not thread safe.
  3748. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  3749. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  3750. dialog. Fixes #82187.
  3751. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  3752. * DataGridViewElement.cs: Initialize state.
  3753. * DataGridView.cs: Forward a few Mouse events to cells. Add
  3754. GetRowInternal and GetCellInternal that doesn't unshare rows.
  3755. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  3756. don't use the index, but look it up. Add
  3757. DataGridViewControlCollection.RemoveInternal to remove controls
  3758. that Remove won't remove (scrollbars, edit control).
  3759. * DataGridViewColumn.cs: Initialize State correctly.
  3760. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  3761. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  3762. implementing this.
  3763. * DataGridViewRowCollection.cs: Implemented shared rows.
  3764. * DataGridViewRow.cs: Throw exceptions as MS do.
  3765. * DataGridViewCell.cs: A few properties are implemented by a
  3766. Get<Property> method, so move implementation there and remove the
  3767. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  3768. calls when necessary.
  3769. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  3770. complicates matters.
  3771. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  3772. unshare any rows.
  3773. 2007-07-25 Jonathan Pobst <[email protected]>
  3774. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  3775. the children controls. Instead, we will just set up the proper docking for the
  3776. children controls so we don't have to worry about it. [Fixes bug #82188]
  3777. 2007-07-25 Jonathan Pobst <[email protected]>
  3778. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  3779. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  3780. 81847. [Fixes bug #81847]
  3781. 2007-07-25 Jonathan Pobst <[email protected]>
  3782. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  3783. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  3784. an explicit size based on the design-time size of the text. Since our fonts
  3785. may not match this explicit size, we tend to cut off the ends of people's labels.
  3786. 2007-07-24 Jonathan Pobst <[email protected]>
  3787. * Menu.cs: Add some missing methods to MenuItemCollection.
  3788. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  3789. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  3790. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  3791. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  3792. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  3793. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  3794. * DataGridViewElement.cs: State defaults to Visible.
  3795. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  3796. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  3797. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  3798. * Control.cs: Minor 1.1 corcompare fix.
  3799. 2007-07-23 Jonathan Pobst <[email protected]>
  3800. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  3801. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  3802. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  3803. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  3804. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  3805. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  3806. DataGridViewSelectedColumnCollection.cs,
  3807. DataGridViewSelectedRowCollection.cs: Corcompare work.
  3808. 2007-07-23 Jonathan Pobst <[email protected]>
  3809. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  3810. it is autoset by VS2005 designer and the effect is barely noticeable.
  3811. 2007-07-23 Jonathan Pobst <[email protected]>
  3812. * TreeView.cs: Implement HitTest.
  3813. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  3814. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  3815. manually adding and removing the control from the Controls
  3816. collecftion.
  3817. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  3818. EditingControlInternal property that tracks the editing control.
  3819. Always keeping the scrollbars in the Controls collection, as MS
  3820. testing confirms is the right behaviour.
  3821. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  3822. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  3823. according to MSDN and new test.
  3824. 2007-07-20 Jonathan Pobst <[email protected]>
  3825. * TreeNode.cs: Implement ToolTipText.
  3826. * TreeView.cs: Implement tooltips, NodeMouse* events.
  3827. 2007-07-20 Jonathan Pobst <[email protected]>
  3828. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  3829. 2007-07-20 Jonathan Pobst <[email protected]>
  3830. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  3831. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  3832. 2007-07-20 Ivan N. Zlatev <[email protected]>
  3833. * Control.cs, Form.cs, ContainerControl.cs,
  3834. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  3835. for misc properties.
  3836. 2007-07-20 Jonathan Pobst <[email protected]>
  3837. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  3838. * TreeView.cs: Implement StateImageList.
  3839. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3840. * Form.cs: Don't check if the current form is the active form before
  3841. activating it. Fixes #81904.
  3842. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3843. * Form.cs: Don't check if the current form is the active form before
  3844. activating it. Fixes #81904.
  3845. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3846. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  3847. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3848. * Form.cs: Don't try to position the form after loading if the form was
  3849. disposed. Fixes #81969.
  3850. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3851. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  3852. properties. Had to change ToolBar into ToolStrip, which required a
  3853. few #ifs.
  3854. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  3855. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  3856. resized, fixes part of #79829 (vertical lines in toolbar).
  3857. PropertyGrid: Refactored Populate* to something that's easier to
  3858. follow at least for me, as well as splitting it up into several new
  3859. methods, required to update only subitems when something has
  3860. changed by a popup editor or listbox. Don't use events to check
  3861. when any values are changed, since the events are unreliable (we're
  3862. changing the objects the events are registered with, and if the
  3863. event handling requires the objects to be immutable (objects stored
  3864. in hashtables for instance), the events will never be raised).
  3865. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  3866. everytime we change a value, since events are unreliable.
  3867. DropDownButtonClicked: For the same reason don't compare objects to
  3868. check if it has changed or not, it would require all objects to
  3869. derive Equals. Fix dialog location on windows, MS is doing weird
  3870. things when creating parented forms.
  3871. * GridEntry.cs: Add a SelectedObject setter.
  3872. 2007-07-19 Jonathan Pobst <[email protected]>
  3873. * TreeNode.cs: Add some corcompare attributes.
  3874. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  3875. * TreeView.cs: Implement some 2.0 stuffs.
  3876. 2007-07-18 Andreia Gaita <[email protected]>
  3877. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  3878. for moma.
  3879. 2007-07-19 Jonathan Pobst <[email protected]>
  3880. * ListBox.cs: Implement custom tab offsets.
  3881. 2007-07-18 Jonathan Pobst <[email protected]>
  3882. * ToolStripContentPanel.cs: Support System renderer.
  3883. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  3884. 2007-07-18 Jonathan Pobst <[email protected]>
  3885. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  3886. 2007-07-18 Jonathan Pobst <[email protected]>
  3887. * CheckBox.cs: Chain TextAlign to base implementation instead of
  3888. maintaining another one.
  3889. 2007-07-18 Jonathan Pobst <[email protected]>
  3890. * ButtonBase.cs: Fix an incorrect string constant.
  3891. 2007-07-18 Jonathan Pobst <[email protected]>
  3892. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  3893. of creating one for measuring strings.
  3894. 2007-07-18 Jonathan Pobst <[email protected]>
  3895. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  3896. Implement MaxItemSize.
  3897. 2007-07-17 Jonathan Pobst <[email protected]>
  3898. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  3899. for DeviceContext. Instead, use the static one available in Hwnd.
  3900. Informal tests show this saves about 500k on formtest.exe.
  3901. 2007-07-17 Jonathan Pobst <[email protected]>
  3902. * ContainerControl.cs: Implement 2.0 AutoScaling.
  3903. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  3904. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  3905. 2007-07-16 Jonathan Pobst <[email protected]>
  3906. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  3907. Darken the focus color.
  3908. 2007-07-16 Jonathan Pobst <[email protected]>
  3909. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  3910. for the checkbox.
  3911. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  3912. X, Y instead of a rect for drawing text.
  3913. - For ControlPaint.DrawCheckBox, center the check a little better when the
  3914. checkbox is odd width. When drawing a flat checkbox, use a white background
  3915. when state != inactive.
  3916. [Fixes bugs #82097, 82100]
  3917. 2007-07-16 Gert Driesen <[email protected]>
  3918. * ListControl.cs: When changing CurrencyManager, disconnect event
  3919. handlers from previous one. Fixes bug #81771. Code formatting.
  3920. 2007-07-15 Andreia Gaita <[email protected]>
  3921. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  3922. full preview invalidation from layout invalidation, and only invalidate
  3923. the layout when setting zoom or other properties. Invalidation should
  3924. always be done even when resetting properties with the same values as
  3925. what is there. Fixes #81744 and #79830.
  3926. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  3927. * ListView.cs: Implement initial support for Groups. Split some of the
  3928. LayoutIcons code to render a partial list of the items (needed by
  3929. items contained in ListViewGroup instances). Let the
  3930. ListViewItemsCollection.ListView property be modifiable (needed when
  3931. using Groups, too).
  3932. * ListViewGroup.cs: Use a Bounds property rather than a Location
  3933. one. Also invalidate the bounds when they get changed.
  3934. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  3935. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  3936. method as well.
  3937. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  3938. * ListView.cs: When space gets pressed and CheckBoxes is true,
  3939. don't invoke the Begin and EndUpdate methods. We are generating
  3940. a redraw of the entire control without need to do so.
  3941. 2007-07-13 William Holmes <[email protected]>
  3942. * Control.cs: Changing logic in FindFlatForward and
  3943. FindFlatBackward to handle multiple Controls with
  3944. the same TabIndex.
  3945. This fixes bug 81687.
  3946. 2007-07-13 Jonathan Pobst <[email protected]>
  3947. * OSFeature.cs: Enable IsPresent.
  3948. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  3949. * Control.cs: Don't do anything in WmShowWindow if the control has been
  3950. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  3951. control is created, put on a form, the control is disposed (the
  3952. form is never shown), and then we get a MapNotify, triggering a
  3953. WM_SHOWWINDOW.
  3954. * Form.cs: Exclude the current form when sending Deactivate to all
  3955. MdiChildren.
  3956. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  3957. there was a race condition because assigning the handle raises
  3958. events, we can get more messages, therefore trying to assign the
  3959. handle again, which would fail if any of those event handlers
  3960. closed/disposed the control.
  3961. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  3962. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  3963. 2007-07-12 Jonathan Pobst <[email protected]>
  3964. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  3965. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  3966. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  3967. * DateTimePicker.cs: If there's no part format specifier, return an
  3968. empty string.
  3969. 2007-07-12 Jonathan Pobst <[email protected]>
  3970. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  3971. Transparent BorderColor.
  3972. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  3973. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  3974. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  3975. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  3976. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  3977. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  3978. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  3979. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  3980. Remove warnings.
  3981. * X11Structs.cs: Remove warnings, add ToString implementations.
  3982. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  3983. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  3984. size, and not the current size. Fixes #81798.
  3985. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  3986. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  3987. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  3988. to the control yet).
  3989. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  3990. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  3991. mousedowns to the contained textbox.
  3992. * X11Structs.cs: More ToString implementation.
  3993. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  3994. #81791.
  3995. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  3996. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  3997. 2007-07-10 Jonathan Pobst <[email protected]>
  3998. * TableLayoutPanelCellPosition.cs: TypeConverter.
  3999. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4000. [ Fixes #79761]
  4001. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  4002. controls.
  4003. * PropertyGridView.cs: A few color fixes.
  4004. 2007-07-10 Jackson Harper <[email protected]>
  4005. * TextControl.cs: Remove some old unused text formatting stuff.
  4006. 2007-07-10 Jackson Harper <[email protected]>
  4007. * TreeView.cs: Update full row select invalidation to match the
  4008. newer DrawSelection... method.
  4009. - Make sure to invalidate the entire width when selecting a new
  4010. node, if we have full row selection enabled.
  4011. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4012. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  4013. display of properties again.
  4014. 2007-07-10 Jonathan Pobst <[email protected]>
  4015. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  4016. to existing collections.
  4017. 2007-07-09 Jonathan Pobst <[email protected]>
  4018. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  4019. that changed between 1.1 and 2.0.
  4020. 2007-07-09 Jonathan Pobst <[email protected]>
  4021. * PowerStatus.cs: Added. This is just a data class, it is filled
  4022. in by SystemInformation.
  4023. 2007-07-09 Jonathan Pobst <[email protected]>
  4024. * Message.cs: Add op_Equality and op_Inequality.
  4025. 2007-07-09 Jonathan Pobst <[email protected]>
  4026. * MenuStrip.cs: Finish corcompare work.
  4027. 2007-07-09 Jonathan Pobst <[email protected]>
  4028. * LinkArea.cs: Add op_Equality and op_Inequality.
  4029. 2007-07-09 Jonathan Pobst <[email protected]>
  4030. * Application.cs: Add MessageLoopCallback delegate.
  4031. 2007-07-09 Jonathan Pobst <[email protected]>
  4032. * ListBox.cs: First set of 2.0 stuffs.
  4033. 2007-07-09 Jonathan Pobst <[email protected]>
  4034. * Control.cs: Make an internal Height property we can override
  4035. without messing up the public API.
  4036. * ListBox.cs: Override HeightInternal to always return the size
  4037. the user set. [Fixes bug #80466]
  4038. 2007-07-08 Jonathan Pobst <[email protected]>
  4039. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  4040. paint cell borders if we haven't calculated where they go yet.
  4041. [Fixes bugs #82040 and #82041]
  4042. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4043. * ListView.cs: In Details view, set the location of item_control
  4044. in the (0,0) position (and the header_control is thus on the
  4045. item_control). This way the Bounds of the Items are relative to the
  4046. ListView control (before this, they had a Bounds value without the
  4047. header_control offset, which wasn't matching .Net). Fixes #82004.
  4048. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4049. * ListControl.cs: When DataSource is set to null, pass an empty
  4050. array of object to SetItemsCore. This is done to clean the items
  4051. in the ListContol children. Fixes #81788.
  4052. 2007-07-06 Jonathan Pobst <[email protected]>
  4053. * ListControl.cs: Add 2.0 stuffs.
  4054. 2007-07-06 Jonathan Pobst <[email protected]>
  4055. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  4056. Refresh is overkill for just about every repaint request.
  4057. 2007-07-06 Jonathan Pobst <[email protected]>
  4058. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  4059. so remove my custom Get method and fix the property getter.
  4060. 2007-07-06 Jonathan Pobst <[email protected]>
  4061. * Label.cs: DefaultMargin for 2.0.
  4062. 2007-07-06 Jonathan Pobst <[email protected]>
  4063. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  4064. reported issue where other controls with mnemonics would steal strokes
  4065. from a selected ComboBox.
  4066. 2007-07-06 Jonathan Pobst <[email protected]>
  4067. * ScrollOrientation.cs: Make internal for 1.1.
  4068. * ScrollEventArgs.cs: Add 2.0 stuffs.
  4069. 2007-07-05 Jonathan Pobst <[email protected]>
  4070. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  4071. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  4072. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  4073. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4074. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  4075. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4076. * ListView.cs: Implement the so-incredibly broken 2.0
  4077. VirtualItemsSelectionRangeChanged event.
  4078. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4079. * ListView.cs: When enter is pressed and selection is non empty,
  4080. an OnItemActivate event must be fired.
  4081. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4082. * ListView.cs: Store the FocusedItem information as an
  4083. int instead of a ListViewItem (needed by VirtualMode).
  4084. Update the calls to SetFocusedItem to pass an index instead of
  4085. an item.
  4086. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  4087. the Focused state from the owner ListView.
  4088. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4089. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  4090. property. Also, invalidate previous focused item in the mentioned
  4091. property (match .Net).
  4092. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4093. * ListView.cs: Implement 2.0 FocusedItem property setter.
  4094. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  4095. * ListView.cs: Implement 2.0 TopItem property setter.
  4096. 2007-07-03 Jonathan Pobst <[email protected]>
  4097. * StatusStrip.cs: The default renderer is System.
  4098. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  4099. if the user specifies it.
  4100. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  4101. if we are ManagerRenderMode.
  4102. * ToolStripMenuItem.cs: Calculate our text color better.
  4103. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  4104. from Professional to the base class based off working with the System renderer.
  4105. * ToolStripSystemRenderer.cs: Added.
  4106. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  4107. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  4108. 2007-07-02 Jonathan Pobst <[email protected]>
  4109. * ToolTip.cs: Implement 2.0 Tag property.
  4110. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  4111. * ListView.cs: Implement 2.0 HitTest methods.
  4112. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  4113. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  4114. item is under the pointer or not (sugar). Also remove the TODO
  4115. regarding to the cursor changes in OneClick activation.
  4116. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  4117. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  4118. true; otherwise don't show the underline style.
  4119. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4120. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  4121. the code to retrieve the item at position only one time. Also
  4122. change cursor when Activation is ItemActivation.OneClick as well
  4123. as invalidate the item if HotTracking is true (to show/hide the
  4124. underline style). Add an internal HotItemIndex property to retrieve
  4125. the current hot item's index.
  4126. * ListViewItem.cs: Add an internal HotFont property to cache the
  4127. font used when HotTracking is true and the pointer moves within the
  4128. item's borders.
  4129. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  4130. HotFont depending on the hot state of the item.
  4131. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4132. * ListView.cs: Implement 2.0 HotTracking property.
  4133. 2007-06-21 Jonathan Pobst <[email protected]>
  4134. * ToolStripControlHost.cs: If our hosted control never got created,
  4135. don't try to dispose it. [Fixes bug #81909]
  4136. 2007-06-21 Jonathan Pobst <[email protected]>
  4137. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  4138. 2007-06-21 Jonathan Pobst <[email protected]>
  4139. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  4140. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  4141. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  4142. Details view.
  4143. * DrawListViewColumnHeaderEventArgs.cs:
  4144. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  4145. using the DrawText () methods.
  4146. 2007-06-19 Jonathan Pobst <[email protected]>
  4147. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  4148. background which got erased in my changes yesterday.
  4149. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  4150. * ListViewItem.cs: Actually set bounds for subitems in Details view
  4151. (2.0 feature).
  4152. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  4153. can invoke from the owner draw routines if we need it. Also, add
  4154. support for Owner draw in Details view.
  4155. 2007-06-18 Jonathan Pobst <[email protected]>
  4156. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4157. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  4158. ShowImageMargin setting, properly align text in a ToolStripLabel
  4159. hosted on a ToolStripDropDown.
  4160. 2007-06-18 Jonathan Pobst <[email protected]>
  4161. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  4162. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  4163. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  4164. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  4165. 2007-06-18 Jonathan Pobst <[email protected]>
  4166. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  4167. location to match ToolStripMenuItems.
  4168. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  4169. * DrawListViewColumnHeaderEventArgs.cs:
  4170. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  4171. column headers in ListView.
  4172. 2007-06-15 Jonathan Pobst <[email protected]>
  4173. * UserControl.cs: Implement AutoSize.
  4174. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  4175. * DrawListViewItemEventArgs.cs:
  4176. * ListView.cs:
  4177. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  4178. ListView.
  4179. 2007-06-15 Jonathan Pobst <[email protected]>
  4180. * ToolStripDropDownItemAccessibleObject.cs: Added.
  4181. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  4182. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  4183. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  4184. ToolStripTextBox.cs: corcompare work.
  4185. 2007-06-14 Jonathan Pobst <[email protected]>
  4186. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  4187. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  4188. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  4189. corcompare.
  4190. 2007-06-14 Jonathan Pobst <[email protected]>
  4191. * OSFeature.cs: Add IsPresent.
  4192. * PrintPreviewControl.cs: Add RightToLeft.
  4193. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  4194. * SplitterPanel.cs: Add AutoSizeMode.
  4195. 2007-06-13 Jonathan Pobst <[email protected]>
  4196. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  4197. * MdiClient.cs: Add 2.0 ScaleControl.
  4198. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  4199. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  4200. 2007-06-13 Jonathan Pobst <[email protected]>
  4201. * Form.cs: Implement some scaling methods, stub some RTL methods,
  4202. corcompare work.
  4203. 2007-06-13 Jonathan Pobst <[email protected]>
  4204. * Control.cs: corcompare work.
  4205. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  4206. 2007-06-13 Jonathan Pobst <[email protected]>
  4207. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  4208. ControlPaint 2.0 stuffs.
  4209. 2007-06-12 Jonathan Pobst <[email protected]>
  4210. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  4211. 2007-06-12 Jonathan Pobst <[email protected]>
  4212. * UpDownBase.cs: Add 2.0 stuffs.
  4213. 2007-06-12 Jonathan Pobst <[email protected]>
  4214. * NumericUpDown.cs: Add 2.0 stuffs.
  4215. 2007-06-12 Jonathan Pobst <[email protected]>
  4216. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  4217. 2007-06-12 Jonathan Pobst <[email protected]>
  4218. * ErrorProvider.cs: Implement 2.0 stuffs.
  4219. 2007-06-12 Jonathan Pobst <[email protected]>
  4220. * DomainUpDown.cs: Implement 2.0 stuffs.
  4221. 2007-06-12 Jonathan Pobst <[email protected]>
  4222. * CheckedListBox.cs: Fix RefreshItems signature.
  4223. 2007-06-12 Jonathan Pobst <[email protected]>
  4224. * PictureBox.cs: Implement 2.0 stuffs.
  4225. 2007-06-12 Andreia Gaita <[email protected]>
  4226. * TabControl.cs: Check if there are tabpages before checking
  4227. the selected index - fix #81802 (font changes raise a ResizeTabs
  4228. call on controls.add, which blew up nicely with no tabpages)
  4229. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  4230. * ListView.cs:
  4231. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  4232. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  4233. * ListView.cs:
  4234. * ListViewItem.cs: In VirtualMode the selection information
  4235. resides in the ListView, rather than in the Items. Also, throw
  4236. InvalidOperationExceptions when VirtualMode is being used and
  4237. CheckedItemCollection is accessed.
  4238. 2007-06-08 Jonathan Pobst <[email protected]>
  4239. * ComboBox.cs: Add ScaleControl.
  4240. 2007-06-08 Jonathan Pobst <[email protected]>
  4241. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  4242. 2007-06-08 Jonathan Pobst <[email protected]>
  4243. * GroupBox.cs: Add 2.0 stuffs.
  4244. 2007-06-08 Jonathan Pobst <[email protected]>
  4245. * Panel.cs: Add autosize properties/event.
  4246. 2007-06-07 Jonathan Pobst <[email protected]>
  4247. * Control.cs:
  4248. - When we remove a control, remove it from the collection before performing the layout.
  4249. - Setup an internal property for explicit_bounds.
  4250. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  4251. - Perform a layout when we set a new AutoSizeMode.
  4252. 2007-06-07 Jonathan Pobst <[email protected]>
  4253. * ScrollableControl.cs: Add 2.0 stuffs.
  4254. 2007-06-06 Jonathan Pobst <[email protected]>
  4255. * ScrollBar.cs: Add 2.0 stuffs.
  4256. 2007-06-06 Jonathan Pobst <[email protected]>
  4257. * Splitter.cs: Add 2.0 stuffs.
  4258. 2007-06-06 Jonathan Pobst <[email protected]>
  4259. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  4260. to have BindingContext simply use base implementation.
  4261. 2007-06-06 Jonathan Pobst <[email protected]>
  4262. * ColumnHeader.cs: corcompare fix.
  4263. 2007-06-06 Jonathan Pobst <[email protected]>
  4264. * Button.cs: corcompare fixes.
  4265. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  4266. 2007-06-06 Jonathan Pobst <[email protected]>
  4267. * Button.cs: Override GetPreferredSizeCore.
  4268. * ButtonBase.cs: PerformLayout after changing properties that can affect
  4269. AutoSize. Simplify some mouse/keyboard code.
  4270. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  4271. * MouseEventArgs.cs: Make Location internal for 1.1.
  4272. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  4273. * Theme.cs: Add CalculateButtonAutoSize.
  4274. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  4275. 2007-06-05 Miguel de Icaza <[email protected]>
  4276. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  4277. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  4278. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  4279. since we can get different item instances every time we retrieve it.
  4280. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  4281. * ListView.cs: Work around for #81602, since an unkown an pretty
  4282. infrequent condition appears only in some systems (old linux boxes, it
  4283. seems).
  4284. 2007-06-04 Jonathan Pobst <[email protected]>
  4285. * Button.cs: Completely reformat and a little refactor to bring
  4286. this closer to Mono circa 2007.
  4287. 2007-06-04 Jonathan Pobst <[email protected]>
  4288. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  4289. to be ButtonBase.Invalidate.
  4290. 2007-06-04 Jonathan Pobst <[email protected]>
  4291. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  4292. 2007-06-04 Jonathan Pobst <[email protected]>
  4293. * ButtonBase.cs: Completely reformat and a little refactor to bring
  4294. this closer to Mono circa 2007.
  4295. 2007-06-01 Everaldo Canuto <[email protected]>
  4296. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  4297. values for autosize. Fixes #80137.
  4298. 2007-06-01 Jonathan Pobst <[email protected]>
  4299. * Control.cs: Don't perform layout when AutoSize changes.
  4300. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  4301. directly when autosizing, use SetBounds with BoundsSpecified.None.
  4302. Fixes unit tests my last commit broke.
  4303. 2007-06-01 Jonathan Pobst <[email protected]>
  4304. * Control.cs: Perform layout when AutoSize changes.
  4305. * Form.cs: Implement AutoSizing.
  4306. 2007-06-01 Chris Toshok <[email protected]>
  4307. * DataGrid.cs: remove the XXX'ed check at the top of
  4308. ProcessGridKey. fixes #80464.
  4309. 2007-06-01 Chris Toshok <[email protected]>
  4310. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  4311. adding idempotent (add/remove in Edit()), and also make sure we
  4312. don't add it until after we set the text, so it's not tripped in
  4313. Edit(). Fixes unit test regression.
  4314. 2007-06-01 Jonathan Pobst <[email protected]>
  4315. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  4316. change is user explicit, not when the layout engine moves stuff. Fixes
  4317. anchoring to bottom and right. [Fixes bug #81790]
  4318. 2007-06-01 Andreia Gaita <[email protected]>
  4319. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  4320. 2007-06-01 Andreia Gaita <[email protected]>
  4321. * ContainerControl.cs:
  4322. Fire enter event for common ancestor if it is not a ContainerControl.
  4323. Send focus to the active_control and not the 'value', the active
  4324. control might have been changed in one of the events fired.
  4325. Definitely fixes #80159.
  4326. 2007-06-01 Andreia Gaita <[email protected]>
  4327. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  4328. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  4329. * PropertyGrid.cs: Anchor the help description to the bottom of the
  4330. help panel and refactor SelectGridItem into a
  4331. SelectGridItemInternal that can be set to null (and update it to
  4332. clear the help texts when it is set to null). Set root item to null
  4333. when there's no SelectedObject. Fixes #80438.
  4334. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  4335. when we're recalculating after a resize (only).
  4336. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  4337. * ListView.cs: Implement 2.0 RedrawItems method.
  4338. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  4339. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  4340. handlers from previous data manager when DataSource is set to
  4341. null. Fixes #81771.
  4342. 2007-05-31 Jackson Harper <[email protected]>
  4343. * TextBoxBase.cs: These seem to be the correct values.
  4344. 2007-05-31 Everaldo Canuto <[email protected]>
  4345. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  4346. value. Fixes #81784.
  4347. 2007-05-31 Jonathan Pobst <[email protected]>
  4348. * Control.cs: Implement 2.0 scaling methods.
  4349. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4350. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  4351. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  4352. corcompare issues.
  4353. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4354. * ProgressBar.cs: Implemented missing 2.0 members.
  4355. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4356. * Control.cs: Corcompare issues.
  4357. * MessageBox.cs: Implemented missing 2.0 functions.
  4358. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4359. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  4360. Implemented more 2.0 members.
  4361. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4362. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  4363. null (strange, but it seems to happen when running unit tests).
  4364. 2007-05-30 Andreia Gaita <[email protected]>
  4365. * ContainerControl.cs: Set active_control even earlier, before
  4366. firing any events, and undo it if validation returns false.
  4367. 2007-05-30 Andreia Gaita <[email protected]>
  4368. * ContainerControl.cs: Raise Validation and Enter/Leave events
  4369. even if there is no Form and set active_control earlier, just
  4370. before firing Enter events (toshok's patches). Fixes #80647.
  4371. 2007-05-30 Jackson Harper <[email protected]>
  4372. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  4373. things and fix bug #81311.
  4374. 2007-05-30 Jackson Harper <[email protected]>
  4375. * X11Dnd.cs: Now that we have our own event loop, we need to
  4376. cancel when we get a mouseup but it won't be accepted.
  4377. 2007-05-30 Chris Toshok <[email protected]>
  4378. * DataGrid.cs (set_CurrentCell): guard against negative
  4379. column/row.
  4380. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  4381. array index syntax instead of looping over the property names.
  4382. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  4383. and set IsInEditOrNavigateMode to false there.
  4384. 2007-05-30 Jackson Harper <[email protected]>
  4385. * TreeView.cs: Make sure we don't get a bad visible order when
  4386. setting to the top node. Fixes some misc crashing in
  4387. ControlInspector.
  4388. 2007-05-30 Andreia Gaita <[email protected]>
  4389. * UserControl.cs: Add 2.0 AutoSizeMode
  4390. 2007-05-29 Everaldo Canuto <[email protected]>
  4391. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  4392. 2007-05-29 Everaldo Canuto <[email protected]>
  4393. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  4394. lines. Fixes #80285.
  4395. 2007-05-29 Everaldo Canuto <[email protected]>
  4396. * DataGridColumnStyle.cs: Add char trimming column header text format.
  4397. 2007-05-29 Everaldo Canuto <[email protected]>
  4398. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  4399. Fixes #80147.
  4400. 2007-05-29 Jackson Harper <[email protected]>
  4401. * TreeNode.cs: Fix off by one on calculating whether or not a node
  4402. is visible.
  4403. 2007-05-29 Jonathan Pobst <[email protected]>
  4404. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  4405. * ScrollableControl.cs: Force an UpdateDistances when we move the
  4406. scrollbars.
  4407. [Fixes bug #80605]
  4408. 2007-05-29 Andreia Gaita <[email protected]>
  4409. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  4410. update the page setup screen.
  4411. 2007-05-29 Andreia Gaita <[email protected]>
  4412. * PageSetupDialog.cs: Fix landscape mode.
  4413. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  4414. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  4415. IconSizeHorizontalSpacing.
  4416. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  4417. * ListView.cs: The declaration of prev_tooltip_item should be inside
  4418. a NET_2_0 conditional (avoid a warning).
  4419. 2007-05-28 Andreia Gaita <[email protected]>
  4420. * PageSetupDialog.cs: Implement PrintPreview control to display
  4421. the preview thumbnail. Change unit conversion to use
  4422. PrinterUnitConvert methods.
  4423. Note: there is a huge bug in ms.net where the default margins are
  4424. interpreted as centimeters (?), when in fact they are set in inches. When
  4425. loading the page setup dialog initially (ms.net), the default margins
  4426. are set to 1 inch, and the dialog shows them with value 10, when in fact
  4427. it should be 25 (properly converted). Our dialog doesn't have this bug.
  4428. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  4429. RectangleF.
  4430. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  4431. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  4432. * ListView.cs:
  4433. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  4434. items.
  4435. 2007-05-28 Andreia Gaita <[email protected]>
  4436. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  4437. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  4438. bug?), convert the ptr to Int32 first.
  4439. 2007-05-28 Jackson Harper <[email protected]>
  4440. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  4441. recieved, we will exit the dnd tracking loop.
  4442. 2007-05-28 Jackson Harper <[email protected]>
  4443. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  4444. recieved. TODO: I should probably stick a timer on the dropped
  4445. event, and finish the drag if the XDND Finished event never shows
  4446. (because some apps don't seem to send it).
  4447. 2007-05-28 Everaldo Canuto <[email protected]>
  4448. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  4449. #81733.
  4450. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  4451. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  4452. handled.
  4453. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  4454. * MonthCalendar.cs: Set the size after initializing all the relevant
  4455. variables. Fixes #81742.
  4456. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  4457. * KeyEventArgs.cs: Fix typo.
  4458. 2007-05-28 Gert Driesen <[email protected]>
  4459. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  4460. to match MS. Fixed MinDate to only accept value less than or equal
  4461. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  4462. Removed TODO's that are now verified by unit tests.
  4463. 2007-05-27 Gert Driesen <[email protected]>
  4464. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  4465. MS.
  4466. 2007-05-25 Jackson Harper <[email protected]>
  4467. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  4468. it's own message loop.
  4469. * XplatUIX11.cs: Remove some of the dnd hooks
  4470. 2007-05-25 Gert Driesen <[email protected]>
  4471. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  4472. instead of MinimizedWindowSize.
  4473. 2007-05-25 Jackson Harper <[email protected]>
  4474. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  4475. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  4476. * KeyEventArgs.cs: Added SuppressKeyPress.
  4477. * Control.cs: Added support for SuppressKeyPress.
  4478. 2007-05-24 Andreia Gaita <[email protected]>
  4479. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  4480. problems with PieChart. suppress_validation should not be a counter,
  4481. if there are several BeginInit calls, the first EndInit will
  4482. activate validation. Fix exceptions thrown by set_Value.
  4483. * UpDownBase.cs: ValidateText only if it's the user editing it.
  4484. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  4485. * ListControl.cs: FilterItemOnProperty should return the filtered
  4486. item proeprty even if DataSource is null. The same applies for
  4487. GetItemText. Fixes #80427.
  4488. 2007-05-24 Jonathan Pobst <[email protected]>
  4489. * Control.cs: If a control doesn't have a parent when it's Dock is
  4490. set, but it has children, it needs to do a layout. Fixes some nested
  4491. controls issues. [Fixes bug #81199]
  4492. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  4493. * ComboBox.cs: If there are few items in the drop down list, make it
  4494. the exact size the items need, no bigger. Fixes #81612.
  4495. 2007-05-24 Jonathan Pobst <[email protected]>
  4496. * Application.cs: When we have captured the keyboard for a menu,
  4497. check for mouse down events in case we need to close the menu.
  4498. * Control.cs, Form.cs: Remove mouse down checks for menus.
  4499. 2007-05-24 Jackson Harper <[email protected]>
  4500. * TextControl.cs: Handle tabs in non multiline mode a little
  4501. differently.
  4502. 2007-05-24 Jackson Harper <[email protected]>
  4503. * TextControl.cs: We need to manually break apart tabbed text and
  4504. move the tabs, since the system.drawing tabbing mechanism relies
  4505. on tab stops.
  4506. * TextBoxBase.cs: Move the caret properly when the user enters a
  4507. tab.
  4508. 2007-05-24 Jonathan Pobst <[email protected]>
  4509. * ContainerControl.cs: Don't check CanSelect before calling
  4510. ProcessMnemonic.
  4511. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  4512. release a KeyboardActive on click if it's not ours.
  4513. 2007-05-23 Andreia Gaita <[email protected]>
  4514. * ColumnHeader.cs: Add TypeConverter
  4515. 2007-05-23 Everaldo Canuto <[email protected]>
  4516. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  4517. 2007-05-23 Everaldo Canuto <[email protected]>
  4518. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  4519. 2007-05-23 Everaldo Canuto <[email protected]>
  4520. * LinkLabel.cs: Implement public Padding property.
  4521. 2007-05-23 Everaldo Canuto <[email protected]>
  4522. * LinkLabel.cs: Implement public FlatStyle.
  4523. 2007-05-23 Jonathan Pobst <[email protected]>
  4524. * Control.cs: Apply patch from George to call parent.PerformLayout
  4525. when Visible is changed. [Fixes bugs #81118, 81718]
  4526. 2007-05-23 Everaldo Canuto <[email protected]>
  4527. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  4528. 2007-05-23 Everaldo Canuto <[email protected]>
  4529. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  4530. 2007-05-23 Everaldo Canuto <[email protected]>
  4531. * ContextMenu.cs: Implement Collapse.
  4532. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  4533. * ToolBarButton.cs: Implement Name.
  4534. 2007-05-22 Everaldo Canuto <[email protected]>
  4535. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  4536. use current_item, it prevents some NRE. Fixes #81675.
  4537. 2007-05-22 Andreia Gaita <[email protected]>
  4538. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  4539. without updating the text.
  4540. 2007-05-22 Jonathan Pobst <[email protected]>
  4541. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  4542. without calling DeleteObject. [Should fix bug #81709]
  4543. 2007-05-22 Jackson Harper <[email protected]>
  4544. * RichTextBox.cs: Set the line endings correctly, when flushing
  4545. RTF text.
  4546. 2007-05-22 Gert Driesen <[email protected]>
  4547. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  4548. {Width=0,Height=0}.
  4549. 2007-05-22 Jackson Harper <[email protected]>
  4550. * TreeView.cs: Setting top with a null node should set to the very
  4551. top.
  4552. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  4553. * Form.cs: ShowDialog: destroy the handle when message loop is
  4554. finished, matches MS behaviour. Refactor parts of WmClose into
  4555. RaiseCloseEvents, that only raises events if they haven't already
  4556. been raised. Fixes #81688 and #81521.
  4557. * Application.cs: Don't call close on the form when exiting a modal
  4558. loop, it will raise all the (Form)Closed/Closing events again if
  4559. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  4560. which doesn'r raise any events it they have been raised before.
  4561. 2007-05-22 Jonathan Pobst <[email protected]>
  4562. * Control.cs: Add OnPrint.
  4563. * ToolStrip.cs: Add GetChildAtPoint.
  4564. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  4565. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  4566. 2007-05-22 Everaldo Canuto <[email protected]>
  4567. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  4568. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  4569. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  4570. isn't visible anymore. Fixes #81651.
  4571. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  4572. * Control.cs: WmShowWindow: Update children's z-order after setting
  4573. their parent. SetParent may show the window, thereby corrupting
  4574. z-order, since the window will be shown on top.
  4575. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  4576. multiple (and redundant) WM_SHOWWINDOW messages.
  4577. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  4578. event has already been raised.
  4579. * Form.cs: Change is_changing_visible_state to a counter, since
  4580. SetVisibleCore can be called recursively. CreateHandle: when
  4581. creating mdi children, send (De)Activated events.
  4582. * MdiClient.cs: Update use of is_changing_visible_state.
  4583. * Application.cs: OnThreadException: Surround exception handling with
  4584. try/finally to ensure we always reset the error-handling state
  4585. before leaving.
  4586. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  4587. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  4588. (#81704).
  4589. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  4590. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  4591. SmallIcon views, now that we have a standarized horizontal spacing.
  4592. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  4593. 4, just like the other views (Match .Net).
  4594. 2007-05-21 Jonathan Pobst <[email protected]>
  4595. * Control.cs: Delay calculating anchor distances until we actually layout.
  4596. Always query the WM for the actual size and location it put us at instead of
  4597. only when we send negative values.
  4598. [Fixes bugs #81694, 81695]
  4599. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  4600. * Application.cs: Avoid a possible stack overflow when trying to exit
  4601. the application.
  4602. 2007-05-19 Marek Safar <[email protected]>
  4603. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  4604. enum value.
  4605. 2007-05-19 Andreia Gaita <[email protected]>
  4606. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  4607. * NumericUpDownAcceleration.cs,
  4608. NumericUpDownAccelerationCollection.cs: Added 2.0
  4609. implementation.
  4610. 2007-05-19 Gert Driesen <[email protected]>
  4611. * RichTextBox.cs: Recalculate the document after the ScrollBars
  4612. property is changed. Fixes bug #81681.
  4613. 2007-05-18 Jonathan Pobst <[email protected]>
  4614. * DataObject.cs: Implement 2.0 methods.
  4615. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  4616. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  4617. in the center of the checkbox, not in the left-top corner.
  4618. Fixes #80037.
  4619. 2007-05-18 Jackson Harper <[email protected]>
  4620. * RichTextBox.cs: Recalculate the document after the scrollbars
  4621. property is changed.
  4622. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  4623. 81486.
  4624. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  4625. * CreateParams.cs: Make HasWindowManager marginally faster.
  4626. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  4627. into Hwnd so that other drivers can use it as well.
  4628. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  4629. the default location from Hwnd. Fixes MDI client windows always
  4630. showing up at (0,0) in Windows (Win32 won't set the default
  4631. location since the window styles aren't correct).
  4632. 2007-05-18 Gert Driesen <[email protected]>
  4633. * TreeView.cs: Modified DoubleBuffered to just use the base
  4634. implementation.
  4635. 2007-05-18 Jackson Harper <[email protected]>
  4636. * TreeView.cs: Set the top node to the last child node when
  4637. expanding all
  4638. - When we get focus, if there is no selected node, use the top
  4639. node.
  4640. 2007-05-18 Jonathan Pobst <[email protected]>
  4641. * KeysConverter.cs: Add CanConvertTo.
  4642. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  4643. * LinkConverter.cs: Added.
  4644. 2007-05-18 Everaldo Canuto <[email protected]>
  4645. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  4646. it prevents error when file dont have write access. Fixes #81669 and #81667.
  4647. 2007-05-18 Everaldo Canuto <[email protected]>
  4648. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  4649. button text. Fixes #79640.
  4650. 2007-05-18 Everaldo Canuto <[email protected]>
  4651. * Control.cs: According to MSDN controls created in the designer theres
  4652. keyboard accelerators visible by default. So included check for design
  4653. in ShowKeyboardCuesInternal.
  4654. 2007-05-18 Everaldo Canuto <[email protected]>
  4655. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  4656. text. Fixes #81621.
  4657. 2007-05-18 Everaldo Canuto <[email protected]>
  4658. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  4659. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  4660. 2007-05-17 Everaldo Canuto <[email protected]>
  4661. * Control.cs: Finish implementation of UI State using WmChangeUIState
  4662. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  4663. in some controls to check for show_keyboard_cues to draw accell keys "_".
  4664. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  4665. * ListBox.cs: When calculating the horizontal scrollbar
  4666. in single column mode, don't use values less than 0 for
  4667. Maximum. Fixes #81474.
  4668. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  4669. * ListBox.cs: Throw the some missing exceptions in
  4670. ListBox.ObjectCollection methods.
  4671. 2007-05-17 Jackson Harper <[email protected]>
  4672. * TextBoxBase.cs: Recalculate the document when the word wrap
  4673. value has changed. This fixes 81488.
  4674. 2007-05-17 Jonathan Pobst <[email protected]>
  4675. * Clipboard.cs: Implement missing GetText overload.
  4676. 2007-05-17 Chris Toshok <[email protected]>
  4677. * Control.cs (CheckDataBindings): remove the binding_context arg
  4678. to binding.Check.
  4679. * CurrencyManager.cs (OnItemChanged): fix this now that
  4680. BindingManagerBase is fixed. also remove the comment telling where
  4681. the fix should go. We set transfering_data to true/false around
  4682. the call to PushData to keep UpdateIsBinding from being called.
  4683. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  4684. PropertyDescriptorAdded in the 1.1 case. The extra call is
  4685. actually generated by System.Data generating 2 metadata changed
  4686. events of its own per column add. The fix should go there. Add a
  4687. comment to that affect in our test's Assert.Ignore.
  4688. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  4689. we keep a boolean flag (transfering_data) that keeps us from
  4690. calling UpdateIsBinding multiple times if we re-enter either of
  4691. them.
  4692. * ControlBindingsCollection.cs (AddCore): remove the
  4693. binding_context arg to binding.Check.
  4694. * Binding.cs (IsBinding): don't check if we're binding here, just
  4695. return our cached value. we update it in UpdateIsBinding.
  4696. (Check): don't take the binding_context arg, we'll just use our
  4697. control's. Also, for some reason MS doesn't use the data member
  4698. field when getting the bindingmanager for this binding. it just
  4699. uses the datasource. Make this method callable multiple times,
  4700. and only do the is_null_desc stuff if manager.Position != -1 (so
  4701. we don't get an exception accessing manager.Current).
  4702. (UpdateIsBinding): move the code from IsBinding here.
  4703. (PositionChangedHandler): call Check here to we can initialize
  4704. things that require a non- -1 position.
  4705. 2007-05-17 Everaldo Canuto <[email protected]>
  4706. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  4707. control.
  4708. 2007-05-17 Andreia Gaita <[email protected]>
  4709. * TabControl.cs: Add 2.0 methods and events, including
  4710. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  4711. * TabPage.cs: Add 2.0 methods
  4712. 2007-05-17 Everaldo Canuto <[email protected]>
  4713. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  4714. keyboard_cues is properly handled by message method.
  4715. 2007-05-17 Jonathan Pobst <[email protected]>
  4716. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  4717. 2007-05-17 Jonathan Pobst <[email protected]>
  4718. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  4719. 2007-05-16 Everaldo Canuto <[email protected]>
  4720. * Control.cs:
  4721. - WmUpdateUIState added to handle state changes, it make call to
  4722. OnChangeUICues event.
  4723. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  4724. SystemInformation.
  4725. 2007-05-16 Jonathan Pobst <[email protected]>
  4726. * ImageKeyConverter.cs: Added.
  4727. * TreeViewImageKeyConverter.cs: Added.
  4728. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  4729. * ToolTips.cs: Update Text if SetToolTip is called for a control
  4730. already showing the tooltip, as well as restarting its timer; show
  4731. tooltip if we are inside the control bounds by the time of calling
  4732. SetToolTip. Inside ShowTooltip remove the check to not show the
  4733. tooltip again for the active control (it is allowed by .Net to
  4734. show the tooltip on the same control multiple times).
  4735. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  4736. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  4737. 2007-05-16 Andreia Gaita <[email protected]>
  4738. * ContainerControl.cs: only process tab key if there are no
  4739. modifier keys present, otherwise the control does the
  4740. tab processing, if it needs to. Fixes #81622
  4741. * TabControl.cs: Fixes calculation for which tab to select on
  4742. shift+ctrl+tab.
  4743. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  4744. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  4745. 2007-05-15 Jonathan Pobst <[email protected]>
  4746. * Control.cs: Make IsInputCharInternal to allow controls to
  4747. override it and still match MS API.
  4748. * TextBoxBase.cs: Override IsInputCharInternal and always
  4749. return true.
  4750. [Fixes bug #81616]
  4751. 2007-05-15 Jackson Harper <[email protected]>
  4752. * TextBox.cs: Disable some of the menu options when using a
  4753. readonly textbox.
  4754. 2007-05-15 Jackson Harper <[email protected]>
  4755. * TextBox.cs:
  4756. * TextBoxBase.cs:
  4757. * RichTextBox.cs: Some new 2.0 methods
  4758. 2007-05-15 Gert Driesen <[email protected]>
  4759. * FileDialog.cs: On 1.0 profile, do not support multidotted
  4760. extensions.
  4761. 2007-05-14 Jackson Harper <[email protected]>
  4762. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  4763. * RichTextBox.cs: We need to override these methods on 2.0.
  4764. * MaskedTextBox.cs: These are implemented now
  4765. * TextControl.cs: This was off by one.
  4766. 2007-05-14 Jackson Harper <[email protected]>
  4767. * TextControl.cs: Because the line endings are including in the
  4768. text, we don't need to add them in anymore.
  4769. 2007-05-11 Everaldo Canuto <[email protected]>
  4770. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  4771. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  4772. 2007-05-11 Everaldo Canuto <[email protected]>
  4773. * ToolBar.cs: Adjust size to default size when button theres no text and
  4774. image, it fixes remaining issues from #81524.
  4775. 2007-05-11 Everaldo Canuto <[email protected]>
  4776. * ToolBar.cs:
  4777. - When not flat call redraw to recalculate sizes on creare handle to match
  4778. win32 behavior.
  4779. - Revert 77220 because it causes some regressions in toobar
  4780. button.
  4781. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  4782. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  4783. now actually enters a usable state.
  4784. 2007-05-11 Everaldo Canuto <[email protected]>
  4785. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  4786. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  4787. 3 buttons.
  4788. 2007-05-11 Everaldo Canuto <[email protected]>
  4789. * ToolBar.cs: Save default_size on create handle to use later for buttons
  4790. without text, needed to mimic win32 behavior.
  4791. 2007-05-11 Everaldo Canuto <[email protected]>
  4792. * ToolBar.cs: Fix button layour to best fit width or height according to
  4793. vertical or not. Fixes #81524.
  4794. 2007-05-10 Everaldo Canuto <[email protected]>
  4795. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  4796. toolbar size info because different styles theres different sizes.
  4797. Fixes #81522.
  4798. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  4799. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  4800. if we are using checkboxes, checked is true, and we have less
  4801. than two images in StateImageList; for the 1.1 in the same scenario
  4802. draw the first image if we have at least one image in StateImageList.
  4803. Fixes part of #81191.
  4804. 2007-05-10 Jonathan Pobst <[email protected]>
  4805. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  4806. the owner's Items collection on merge.
  4807. 2007-05-10 Jonathan Pobst <[email protected]>
  4808. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  4809. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  4810. and parent/owner gets changed based on gert's unit tests.
  4811. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  4812. * MaskedTextBox.cs: Started implementing parts of it.
  4813. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  4814. * ListView.cs: When clicking the checkbox on the items
  4815. take into account the double clicks even if we have only
  4816. one image in StateImageList (only for 1.0/1.1). Also
  4817. generate an extra change of checked state when we receive
  4818. the second click on checkbox (match .Net behaviour).
  4819. Fixes part of #81191.
  4820. 2007-05-10 Everaldo Canuto <[email protected]>
  4821. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  4822. 2007-05-10 Jonathan Pobst <[email protected]>
  4823. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  4824. even if OnLoad is overriden and base.OnLoad is not called.
  4825. [Fixes bug #81582]
  4826. 2007-05-10 Andreia Gaita <[email protected]>
  4827. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  4828. shame. (I blame my ever-persisting and annoying cold)
  4829. 2007-05-09 Jonathan Pobst <[email protected]>
  4830. * ListView.cs: Don't eat navigation keys. Let them flow through to
  4831. KeyDown/KeyPress routines. [Fixes bug #81569]
  4832. 2007-05-09 Jonathan Pobst <[email protected]>
  4833. * ListView.cs: When handling keys for selecting the item based off
  4834. keyboard input, do not consider keys pressed with Alt or Control. Also,
  4835. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  4836. 2007-05-09 Jonathan Pobst <[email protected]>
  4837. * Control.cs: When using UseWaitCursor, we have to store the requested
  4838. Cursor to use when UseWaitCursor is turned off.
  4839. 2007-05-09 Jonathan Pobst <[email protected]>
  4840. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  4841. to false.
  4842. * Application.cs: Use PreProcessControlMessage instead of
  4843. PreProcessMessage.
  4844. * PreProcessControlMessage.cs: Make internal for 1.1.
  4845. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  4846. * Control.cs: Add InternalContains focus property, which hast the same
  4847. functionality of ContainsFocus, but also including implicit controls.
  4848. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  4849. since we need to know if the focus is contained in our implicit
  4850. ItemControl when calculating Layout. Fixes part of #80888.
  4851. 2007-05-08 Everaldo Canuto <[email protected]>
  4852. * ToolTip.cs: Remove center form string alignment as it must be align to
  4853. left.
  4854. 2007-05-08 Jonathan Pobst <[email protected]>
  4855. * ToolStripItemCollection.cs: Set the new item's parent and owner
  4856. in Insert like we do in Add. [Fixes bug #81568]
  4857. 2007-05-08 Jackson Harper <[email protected]>
  4858. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  4859. - Off by one error in SetTop
  4860. - Disable DoubeBuffering
  4861. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  4862. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  4863. control as much as necessary in order to make it entirely visible,
  4864. instead of centering the control in the container (matches MS
  4865. behaviour). CalculateCanvasSize: we need to take the current scroll
  4866. position into account when calculating the maximum canvas,
  4867. otherwise the following scenario will fail: resize so that the
  4868. scrollbars appear, use the scrollbars to scroll, resize again
  4869. smaller, and now the canvas size is too small. Recalculate: when
  4870. showing scrollbars make sure they start off at 0, and try to scroll
  4871. the active control into view. Fixes #79540. HandleScrollBar: don't
  4872. scroll anywhere if the scrollbar isn't visible.
  4873. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  4874. * ListView.cs: When focus changed, call Layout/Invalidate
  4875. in the focused item to update the selected state (should show
  4876. entire label when ListView is focused, and a part of it if is not).
  4877. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  4878. for displaying the entire label not only the Focused state of the
  4879. item, but also the Focused state of the ListView (match .Net
  4880. behaviour).
  4881. 2007-05-07 Jonathan Pobst <[email protected]>
  4882. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  4883. Implement UseWaitCursor.
  4884. 2007-05-07 Jonathan Pobst <[email protected]>
  4885. Applying contributed patch from Sergey Volk.
  4886. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  4887. of SetDataObject.
  4888. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  4889. 2007-05-07 Jonathan Pobst <[email protected]>
  4890. * Control.cs: Implement DrawToBitmap.
  4891. 2007-05-07 Jonathan Pobst <[email protected]>
  4892. Applying contributed patch from Stefan Noack.
  4893. * Control.cs: Add [Get|Set]AutoSizeMode.
  4894. 2007-05-07 Jonathan Pobst <[email protected]>
  4895. * MdiClient.cs: Unmerge menus when the last child is closed.
  4896. 2007-05-07 Jonathan Pobst <[email protected]>
  4897. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  4898. * ToolStripManager.cs: Call Merge on DropDowns.
  4899. [Fixes bug #81477]
  4900. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  4901. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  4902. uints.
  4903. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  4904. visibility. We can't create forms visible, since we have to set the
  4905. owner before making the form visible (otherwise Win32 will do
  4906. strange things with task bar icons). The problem is that we set the
  4907. internal is_visible to true before creating the control, so
  4908. is_changing_visible_state is the only way of determining if we're
  4909. in the process of creating the form due to setting Visible=true -
  4910. this works because SetVisibleCore explicitly makes the form
  4911. visibile afterwards anyways. Fixes #80775.
  4912. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  4913. * ThemeWin32Classic.cs: When drawing ListViewItems,
  4914. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  4915. or LargeIcon _and_ item is not focused (match .Net behaviour).
  4916. 2007-05-04 Jonathan Pobst <[email protected]>
  4917. * Control.cs, Form.cs: Fix some obsolete method warnings.
  4918. 2007-05-04 Jonathan Pobst <[email protected]>
  4919. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  4920. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  4921. 2007-05-04 Andreia Gaita <[email protected]>
  4922. * ContainerControl.cs: Fix active_control attribution when going
  4923. up the parent chain so that the first parent container gets the control
  4924. and the rest of the parent containers get the child containers (skips
  4925. non-containers). Fixes #80729
  4926. 2007-05-04 Randolph Chung <[email protected]>
  4927. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  4928. [Fixes bug #81499]
  4929. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  4930. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  4931. takes a size parameter, since the CreateParam's size isn't true for
  4932. minimized forms. Fixes #81518,
  4933. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  4934. * Form.cs: Add OnDeactivateInternal.
  4935. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  4936. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  4937. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  4938. accessing the parent. Fixes #81508.
  4939. 2007-05-03 Chris Toshok <[email protected]>
  4940. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  4941. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  4942. was added before the current listposition. Fixes the
  4943. TestInsertRowBeforeCurrent unit test.
  4944. 2007-05-03 Jonathan Pobst <[email protected]>
  4945. * Application.cs: Add RaiseIdle.
  4946. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4947. XplatUIX11.cs: Implement RaiseIdle.
  4948. 2007-05-02 Jonathan Pobst <[email protected]>
  4949. corcompare work: N - Z
  4950. * NotifyIcon.cs
  4951. * ProgressBar.cs
  4952. * RadionButton.cs
  4953. * ScrollableControl.cs
  4954. * SplitContainer.cs
  4955. * SplitterPanel.cs
  4956. * StatusBar.cs
  4957. * SystemInformation.cs
  4958. * TabControl.cs
  4959. * TableLayoutControlCollection.cs
  4960. * TableLayoutPanel.cs
  4961. * TabPage.cs
  4962. * ToolBar.cs
  4963. * ToolBarButton.cs
  4964. * ToolStrip.cs
  4965. * ToolStripComboBox.cs
  4966. * ToolStripContainer.cs
  4967. * ToolStripContentPanel.cs
  4968. * ToolStripDropDown.cs
  4969. * ToolStripDropDownItem.cs
  4970. * ToolStripDropDownMenu.cs
  4971. * ToolStripItem.cs
  4972. * ToolStripItemCollection.cs
  4973. * ToolStripMenuItem.cs
  4974. * ToolStripPanel.cs
  4975. * ToolStripSplitButton.cs
  4976. * ToolTip.cs
  4977. * TreeNode.cs
  4978. * TreeNodeCollection.cs
  4979. * TreeNodeMouseHoverEventArgs.cs
  4980. * TreeView.cs
  4981. 2007-05-01 Everaldo Canuto <[email protected]>
  4982. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  4983. stuff. Thanks aatdark for the patch.
  4984. 2007-05-01 Jonathan Pobst <[email protected]>
  4985. * GridItem.cs: Implement 2.0 Tag property.
  4986. 2007-05-01 Frederik Carlier <[email protected]>
  4987. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  4988. count instead of Nodes.Length. [Fixes bug #81448]
  4989. 2007-05-01 Jonathan Pobst <[email protected]>
  4990. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  4991. [Fixes bug #81506]
  4992. 2007-05-01 Jonathan Pobst <[email protected]>
  4993. corcompare work: A - M
  4994. * BindingNavigator.cs
  4995. * Button.cs
  4996. * ButtonBase.cs
  4997. * CheckBox.cs
  4998. * Control.cs
  4999. * FlowLayoutPanel.cs
  5000. * Form.cs
  5001. * Label.cs
  5002. * LinkLabel.cs
  5003. * ListView.cs
  5004. 2007-05-01 Jonathan Pobst <[email protected]>
  5005. * Application.cs: Give toolstrips a chance to process mnemonics.
  5006. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  5007. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  5008. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  5009. 2007-05-01 Jackson Harper <[email protected]>
  5010. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  5011. wider area too.
  5012. - Don't set the BoundsSpecified
  5013. 2007-04-30 Jonathan Pobst <[email protected]>
  5014. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  5015. message to pass through to a regular control if it hosted by a toolstrip.
  5016. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  5017. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  5018. 2007-04-30 Jonathan Pobst <[email protected]>
  5019. * TextRenderer.cs: Use the flags argument when using the MeasureString
  5020. fallback algorithm.
  5021. 2007-04-30 Jonathan Pobst <[email protected]>
  5022. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  5023. the MDI menu item. [Fixes bug #81483]
  5024. 2007-04-30 Gert Driesen <[email protected]>
  5025. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  5026. string. When setting Name to null, use zero-length string instead.
  5027. 2007-04-29 Andreia Gaita <[email protected]>
  5028. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  5029. DeselectTab). Implement missing 2.0 TabPageCollection methods
  5030. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  5031. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  5032. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  5033. 2007-04-29 Gert Driesen <[email protected]>
  5034. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  5035. Fixes bug #81479. Include details of exception when LoadFile fails.
  5036. 2007-04-28 Alan McGovern <[email protected]>
  5037. * DrawListViewSubItemEventArgs.cs: Added missing setter
  5038. 2007-04-27 Andreia Gaita <[email protected]>
  5039. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  5040. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  5041. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  5042. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  5043. removed in ly last commit (it was breaking the Label edit feature).
  5044. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  5045. StringAlignment.Near for LineAlignment (match .Net).
  5046. 2007-04-27 Andreia Gaita <[email protected]>
  5047. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  5048. of controls if it isn't already there - was blowing up when doing
  5049. tabcontrol.TabPages[i]=new TabPage().
  5050. SetTab now does a replace by removing the page at the index.
  5051. Add a new InsertTab method that inserts a page in a given index
  5052. instead of replacing.
  5053. Implements TabPageCollection.Insert(int, TabPage).
  5054. 2007-04-27 Chris Toshok <[email protected]>
  5055. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  5056. internal handler that can be invoked from our subclasses.) Also,
  5057. add a comment to PushData about how we need to fix it.
  5058. * CurrencyManager.cs: tons of changes here. trying to get things
  5059. matching the behavior of .net wrt event orders (ItemChanged,
  5060. CurrentChanged, PositionChanged.) I've implemented a private .net
  5061. symbol (ChangeRecordState) that appears in stack traces because
  5062. it's actually easier to do this than to effective inline all its
  5063. various behaviors at every call site.
  5064. * RelatedPropertyManager.cs: guard against an exception here by
  5065. not using parent.Current if the position is set to -1 (if the
  5066. parent datasource is cleared, for instance).
  5067. * Binding.cs: don't parse data in PushData (this might be wrong,
  5068. but it jives with MS's behavior.) Also, don't call PushData when
  5069. we get a CurrentChanged event.
  5070. 2007-04-27 Andreia Gaita <[email protected]>
  5071. * WebBrowser.cs,
  5072. WebBrowserBase.cs,
  5073. WebBrowserSiteBase.cs,
  5074. HtmlDocument.cs: Added stubbed out classes, no real implementations
  5075. yet.
  5076. 2007-04-27 Everaldo Canuto <[email protected]>
  5077. * MainMenu.cs: In draw method without parameters call draw method with
  5078. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  5079. as Rect property is already adjusted. Fixes #80694.
  5080. 2007-04-27 Jonathan Pobst <[email protected]>
  5081. * Application.cs: Need to handle keyboard menu deselection here.
  5082. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  5083. navigation, allowing keyboard to work on X11.
  5084. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  5085. 2007-04-27 Everaldo Canuto <[email protected]>
  5086. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  5087. menu bar. It fixes some drawing issues in menu bar.
  5088. 2007-04-27 Everaldo Canuto <[email protected]>
  5089. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  5090. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  5091. when <alt> key is pressed.
  5092. 2007-04-26 Everaldo Canuto <[email protected]>
  5093. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  5094. example just set visible to false and make this prevent from other problems.
  5095. In SystrayAdd always remove pending expose. Fixes #81072.
  5096. 2007-04-26 Marek Safar <[email protected]>
  5097. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  5098. value is set.
  5099. 2007-04-26 Alan McGovern <[email protected]>
  5100. * ListView.cs: Added three missing 2.0 events and corresponding
  5101. EventHandlers. Added the OwnerDraw property.
  5102. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  5103. 2007-04-26 Alan McGovern <[email protected]>
  5104. * DrawListViewItemEventArgs.cs
  5105. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  5106. 2007-04-26 Alan McGovern <[email protected]>
  5107. * TextControl.cs: Fixed typo in constructor
  5108. 2007-04-26 Jonathan Pobst <[email protected]>
  5109. * Application.cs: Create a shortcut path so that currently selected
  5110. MenuStrips can intercept keyboard events without having focus.
  5111. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  5112. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  5113. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  5114. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  5115. generate WM_SYSCOMMAND message in X11 for other platforms.
  5116. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  5117. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  5118. * ToolStripSplitButton.cs: Add DefaultItem property.
  5119. 2007-04-26 Everaldo Canuto <[email protected]>
  5120. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  5121. fixes some menu draw problem on Windows with border diferent from default
  5122. it also fixes #81403.
  5123. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5124. * Form.cs: Refactor WndProc into separate methods, just like Control is
  5125. doing it.
  5126. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5127. * Control.cs: set_Text: move the call to the driver into a seperate
  5128. virtual method so that Form can override it.
  5129. * MaskedTextBox.cs: Corcompare fixes.
  5130. * Form.cs: Override UpdateWindowText and only update the styles if the
  5131. form has been shown (fixes #81405).
  5132. 2007-04-25 Jonathan Pobst <[email protected]>
  5133. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  5134. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  5135. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  5136. the form lost focus or another control was clicked.
  5137. 2007-04-25 Gert Driesen <[email protected]>
  5138. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  5139. fixed.
  5140. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5141. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  5142. DrawListViewItemEventHandler.cs,
  5143. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  5144. Added.
  5145. * X11Structs.cs: More ToString implementation.
  5146. 2007-04-25 Jonathan Pobst <[email protected]>
  5147. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  5148. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  5149. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5150. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  5151. handle.
  5152. * FormCollection.cs: Don't add a form if it's already in the
  5153. collection.
  5154. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  5155. according to behaviour and MSDN. The ownerWin32 is the active
  5156. window at the moment when we call ShowDialog, not the context's
  5157. main form (the context's main form may open another form that opens
  5158. a form with ShowDialog, the win32 owner is the second form). Add
  5159. and remove forms to the Application.OpenForms in other places to
  5160. better match MS behaviour. Add an IsActive property that raises
  5161. On(de)Activated only if the active state has changed (we were
  5162. raising OnDeactivated before OnActivated while creating forms).
  5163. * Application.cs: Refactor Enabling/Disabling of windows for modal
  5164. dialog loops out to separate methods, and restore the thread
  5165. context when we quit the method. Fixes #81407.
  5166. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  5167. * ListView.cs: In ItemControl.HandleClicks, also fire
  5168. 2.0 MouseClick or MouseDoubleClick events on the parent,
  5169. not only the Click/DoubleClick events.
  5170. 2007-04-24 Andreia Gaita <[email protected]>
  5171. * TableLayoutSettings.cs:
  5172. - Added a GetControls method and a support structure to help the
  5173. TypeConverter to enumerate the controls for serialization.
  5174. - Added a new serialization constructor.
  5175. - Added a isSerialized flag initialized to true on the
  5176. serialization constructor so that the TableLayoutPanel.LayoutSettings
  5177. setter does not throw the designed NotSupportedOperation exception
  5178. when the object is built through deserialization.
  5179. - Implemented GetObjectData
  5180. * TableLayoutPanel.cs: Added check on LayoutSettings.
  5181. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  5182. * ListView.cs: Report Click and DoubleClick events to the parent
  5183. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  5184. from breaking the click count state when using dialog forms (Control
  5185. reports the clicks in a similar fashion). In the previous behaviour
  5186. the last WM_LBUTTONUP message in a double click was sent to the
  5187. ListView's form, instead of the ListView, which was breaking the click
  5188. count for it. Fixes #80387.
  5189. 2007-04-24 Alan McGovern <[email protected]>
  5190. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  5191. 2007-04-24 Jonathan Pobst <[email protected]>
  5192. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  5193. us from created dropdowns for menu items that do not have subitems.
  5194. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  5195. Check HasDropDownItems before calling DropDown so a dropdown will not be
  5196. created if it isn't needed.
  5197. 2007-04-24 Jackson Harper <[email protected]>
  5198. * TreeView.cs: Set the first node to the selected node when we get
  5199. focus if there is no selected node.
  5200. 2007-04-24 Andreia Gaita <[email protected]>
  5201. * MimeIcon.cs: remove using blocks so that image streams are
  5202. not disposed of. Fixes #80151
  5203. 2007-04-24 Jackson Harper <[email protected]>
  5204. * TextBoxBase.cs: Fixup the height of textboxes when the control
  5205. is created.
  5206. 2007-04-24 Jonathan Pobst <[email protected]>
  5207. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  5208. for each ToolStripItem when the parent's RightToLeftChanged is called.
  5209. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5210. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  5211. Fixes #80163.
  5212. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  5213. property, so that the setter can be overriden too.
  5214. * TextBox.cs: Change GetContextMenuInternal() to use
  5215. ContextMenuInternal.
  5216. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5217. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  5218. #81406.
  5219. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5220. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  5221. #81406.
  5222. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5223. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  5224. avoid duplicate work. Mostily skeleton code, it's not working at
  5225. all yet.
  5226. 2007-04-20 Leszek Ciesielski <[email protected]>
  5227. * NotifyIcon.cs : stub for MouseClick event
  5228. * Application.cs: stub for SetUnhandledExceptionMode
  5229. 2007-04-24 Alan McGovern <[email protected]>
  5230. * BindingNavigator.cs : Initial (partial) implementation
  5231. 2007-04-23 Jackson Harper <[email protected]>
  5232. * TreeView.cs: Do not create the treeview's handle when setting
  5233. the scroll position.
  5234. - ExpandAll needs to compute the scrollbars so it knows which
  5235. position to set the bar too.
  5236. * TreeNode.cs:
  5237. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  5238. 2007-04-23 Jackson Harper <[email protected]>
  5239. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  5240. key. Fixes #81408.
  5241. 2007-04-23 Jonathan Pobst <[email protected]>
  5242. * ToolStripItem.cs: Make GetImageSize internal.
  5243. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  5244. need to draw an item. Fixes a reported issue where images on menus
  5245. that were not 16x16 were drawing incorrectly.
  5246. 2007-04-21 Miguel de Icaza <[email protected]>
  5247. * Padding.cs: Use the converter, fixes the resgen2 issue with
  5248. XMLNotePad.
  5249. 2007-04-21 Jackson Harper <[email protected]>
  5250. * TreeView.cs: Dont try to unhighlight the selected node if there
  5251. isn't a selected node.
  5252. 2007-04-21 Jackson Harper <[email protected]>
  5253. * UpDownBase.cs:
  5254. * TextBoxBase.cs:
  5255. * ListView.cs:
  5256. * ListBox.cs:
  5257. * TreeView.cs: Use the InternalBorderStyle property to set the
  5258. initial border style, this forces the client rectangle to be sized
  5259. correctly.
  5260. 2007-04-20 Jackson Harper <[email protected]>
  5261. * TreeView.cs: Simplify scrolling to the last node after expanding
  5262. all.
  5263. - Fix some off by ones with setting the bottom.
  5264. 2007-04-20 Jonathan Pobst <[email protected]>
  5265. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  5266. that. We were incorrectly doing it the other way around. Also,
  5267. update ClientSize if we change the BorderStyle before the control
  5268. is created.
  5269. 2007-04-20 Gert Driesen <[email protected]>
  5270. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  5271. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  5272. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  5273. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  5274. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  5275. Caption to CaptionHeight.
  5276. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  5277. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  5278. and FixedFrameBorderSize to return value from current XplatUI driver.
  5279. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  5280. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  5281. and FixedFrameBorderSize using win32 API. Renamed Caption to
  5282. CaptionHeight.
  5283. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  5284. * SystemInformation.cs: Fixed typo in BorderSize.
  5285. 2007-04-20 Gert Driesen <[email protected]>
  5286. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  5287. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  5288. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  5289. returning false.
  5290. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  5291. value from XplatUI driver.
  5292. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  5293. SystemParametersInfo.
  5294. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  5295. override.
  5296. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  5297. returning false.
  5298. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5299. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  5300. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5301. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  5302. 2007-04-20 Jonathan Pobst <[email protected]>
  5303. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  5304. MenuStrips that contain ToolStripSeparators.
  5305. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5306. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  5307. DefineStdCursorBitmap.
  5308. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  5309. has been created off a standard cursor. This is used to get a
  5310. bitmap of the standard cursor when Draw or DrawStretched is called
  5311. in order to draw the cursor.
  5312. * X11Structs.cs: Added XcursorImage and XcursorImages.
  5313. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  5314. DefineStdCursorBitmap.
  5315. * Cursors.cs: Update all relevant creations of Cursor to use the new
  5316. internal constructor.
  5317. 2007-04-19 Jackson Harper <[email protected]>
  5318. * TextBox.cs: Move the has_been_focused into the base control, so
  5319. some of the text adding methods can manipulate it (probably time
  5320. for a better name for this flag too).
  5321. - Call a new version of selectall that doesn't scroll
  5322. * TextBoxBase.cs: When we append text, if the document is empty,
  5323. don't scroll. If the document has text already, we scroll to the
  5324. end of the appended text.
  5325. - When the text is changed, we reset the has_been_focused, so the
  5326. next time the control gets focused, all the text is selected.
  5327. 2007-04-19 Jackson Harper <[email protected]>
  5328. * TextControl.cs: Move the margins to the document, add a method
  5329. so the margin sizes can be updated.
  5330. * TextBoxBase.cs: When the border style is changed, update the
  5331. border sizes.
  5332. 2007-04-19 Jonathan Pobst <[email protected]>
  5333. * Control.cs: Respect DefaultPadding.
  5334. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  5335. padding into account.
  5336. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  5337. 2007-04-19 Jackson Harper <[email protected]>
  5338. * TextControl.cs: Oops, we need to use the ClientRect not the
  5339. bounds here.
  5340. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  5341. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  5342. account the double clicks when CheckBoxes are used and
  5343. the pointer is inside the checkbox. Fixes part of #81191.
  5344. 2007-04-18 Jackson Harper <[email protected]>
  5345. * TextControl.cs: Pressing the end key shouldn't move the caret
  5346. past the line ending.
  5347. * TextBoxBase.cs: We can still delete if we are in the line
  5348. ending and the combine will just kill the existing line ending.
  5349. 2007-04-18 Jackson Harper <[email protected]>
  5350. * TextControl.cs: We can't move lines, then invalidate their
  5351. bounds, we need to get the old bounds and combine that with the
  5352. new bounds.
  5353. * TextBoxBase.cs: Before combining two lines for a delete, we need
  5354. to invalidate the area of the old line, since that will be moved
  5355. in the combine operation.
  5356. 2007-04-18 Everaldo Canuto <[email protected]>
  5357. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  5358. with transparent background. Fixes #80482.
  5359. 2007-04-18 Jonathan Pobst <[email protected]>
  5360. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  5361. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  5362. [Fixes bug #81391]
  5363. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  5364. * CreateParams.cs: Add a couple of helper methods and do a less string
  5365. concatenation in ToString.
  5366. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  5367. overload that takes a Control parameter, since this method may be
  5368. called before a control is assigned to the hwnd (from
  5369. CreateWindow), and update CreateWindow to use the new overload. In
  5370. GetMenuOrigin subtract the title bar from the y position if the
  5371. form has a window manager (since we're painting it and not X).
  5372. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  5373. CreateParams to calculate the origin (since border sizes may vary).
  5374. In ScreenToMenu only subtract the title height if we actually have
  5375. a title.
  5376. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  5377. mdi children never have menus of themselves.
  5378. * InternalWindowManager.cs: Implement menu handling like form does.
  5379. Added GetMenuOrigin to calculate the menu origin, can't use the
  5380. CreateParams from the form like normally since it's lying.
  5381. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  5382. windows-like) and add Inflate and comparison operators to the
  5383. Borders type. When calculating MenuOrigin and it's a form with a
  5384. window manager, use the window manager to calculate it.
  5385. 2007-04-17 Chris Toshok <[email protected]>
  5386. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  5387. OnBindingContextChanged thing here. It's only generated from
  5388. ContainerControl.OnCreateControl. Fixes a newly written unit test
  5389. - BindingTest.BindingContextChangedTest4.
  5390. 2007-04-17 Jackson Harper <[email protected]>
  5391. * ScrollBar.cs: When setting values, make sure the current
  5392. position stays within the new values range.
  5393. 2007-04-17 Chris Toshok <[email protected]>
  5394. * Control.cs (CreateControl): talk about a bizarre corner case.
  5395. Don't emit OnBindingContextChanged here if we're a parentless
  5396. control (i.e. if we're a form.). Fixes
  5397. BindingTest.BindingContextChangedTest2.
  5398. 2007-04-17 Everaldo Canuto <[email protected]>
  5399. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  5400. from win32. Fixes #81255.
  5401. 2007-04-17 Everaldo Canuto <[email protected]>
  5402. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  5403. already present in CalculateButtonTextAndImageLayout.
  5404. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  5405. * XplatUIX11.cs: When setting min/max size for a window we need to
  5406. translate the coordinates to x coordinates. Create an overload of
  5407. SetWindowMinMax that takes a CreateParams handling this, and change
  5408. SetWMStyles to call this function (can't use Control.FromHandle in
  5409. the SetWindowMinMax to get the control/CreateParams from the handle
  5410. because the handle might not have been assigned to the control
  5411. yet). Fixes #81371.
  5412. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  5413. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  5414. if StateImageList is non-null and it has less than two items (match MS
  5415. behaviour). Also, in HandleNavKeys handle the Space key, calling
  5416. the new ToggleItemsCheckState method, which tries to change the
  5417. checked state of the selected items. Fixes part of #81191.
  5418. 2007-04-16 Jackson Harper <[email protected]>
  5419. * RichTextBox.cs: namespace cleanup.
  5420. 2007-04-16 Everaldo Canuto <[email protected]>
  5421. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  5422. 2007-04-16 Everaldo Canuto <[email protected]>
  5423. [Fixes #79447]
  5424. * Control.cs: Call invalidate in set_Region.
  5425. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  5426. it dont works here.
  5427. 2007-04-16 Jackson Harper <[email protected]>
  5428. * TextBoxBase.cs: When enter is pressed, we need to update all
  5429. lines below the current.
  5430. 2007-04-16 Jonathan Pobst <[email protected]>
  5431. * MdiClient.cs: Implement implicit menu merging for MDI
  5432. children. When a child form is active, if it has a menustrip
  5433. and the parent form has a MainMenuStrip, automatically merge
  5434. the menus.
  5435. 2007-04-15 Andreia Gaita <[email protected]>
  5436. * TabControl.cs: Refactored sizing methods to not repeat
  5437. code all over the place. Tab bounds are now calculated
  5438. as if alignment is top and single line, and only when
  5439. setting the bounds are the positions adjusted according
  5440. to alignment. Replaced hardcoded positions, spacings and
  5441. paddings by getting the values the ThemeEngine.
  5442. Fixes #79619.
  5443. * Theme.cs: Change TabControl properties and methods so
  5444. that all start with TabControl*. Added more properties
  5445. to help remove hardcoded values on tabcontrol.
  5446. Add CPDrawBorder3D declaration so the Theming classes
  5447. can access it.
  5448. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  5449. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  5450. on the Theming namespace, and call the appropriate methods here.
  5451. Change CPDrawBorder3D to public.
  5452. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  5453. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  5454. the control after firing the OnMouseUp event, instead of sending
  5455. the message before the mentioned event. This is so we can match the
  5456. MS behaviour. Fixes part of #80385.
  5457. 2007-04-13 Jonathan Pobst <[email protected]>
  5458. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  5459. RightToLeft property.
  5460. 2007-04-13 Jonathan Pobst <[email protected]>
  5461. * ToolStrip.cs: Add properties and internal methods to support merging.
  5462. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  5463. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  5464. not trigger reparenting or layouts.
  5465. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  5466. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  5467. is hosting the overflow menu.
  5468. 2007-04-13 Jackson Harper <[email protected]>
  5469. * TextControl.cs: Set the line ending correctly for the first
  5470. inserted line.
  5471. 2007-04-13 Sebastien Pouliot <[email protected]>
  5472. * Theme.cs: Update GetMethod to get the new definition for
  5473. KnownColors.Update (and fix theme color updates).
  5474. 2007-04-12 Everaldo Canuto <[email protected]>
  5475. * MessageBox.cs: Fix some test and button position.
  5476. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  5477. * Form.cs: Consider the implicit controls in
  5478. GetRealChildAtPoint. We need it since this method
  5479. is called on Form when handling the some messages in
  5480. WndProc, and need to consider those implicit ones too.
  5481. Fixes #80385.
  5482. 2007-04-12 Jonathan Pobst <[email protected]>
  5483. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  5484. if there are no ShortcutKeys set.
  5485. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  5486. set, use it when painting.
  5487. 2007-04-12 Jackson Harper <[email protected]>
  5488. * TextControl.cs: Fix some off-by-one issues in line duplication
  5489. and insertion in the undo manager. Also, overwrite the first tag
  5490. of a line on insert, if it is just a zero lengthed tag. This
  5491. prevents us from getting an extra stranded tag at the beginning of
  5492. the first line.
  5493. 2007-04-11 Everaldo Canuto <[email protected]>
  5494. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  5495. to calculated proper size including when handle was not created yet.
  5496. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  5497. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  5498. when the mouse is outside of it's parent's client rectangle. Fixes
  5499. #79982 (take 3, part 2).
  5500. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  5501. * X11Structs.cs: Add a few ToString() overrides.
  5502. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  5503. the window location in a window-manager independent way. Reworked
  5504. FrameExtents, it now actually works. Reworked AddConfigureNotify
  5505. and ReparentNotify handling to use GetTopLevelWindowLocation
  5506. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  5507. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  5508. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  5509. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  5510. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  5511. and generally refactored to do as few calculations as possible
  5512. inside the lock.
  5513. 2007-04-09 Sebastien Pouliot <[email protected]>
  5514. * Theme.cs: Change "reflective-contract" between MWF and SD to
  5515. minimize # of calls, avoid Color serialization and avoid updating
  5516. every "known colors" each time a single one is updated.
  5517. 2007-04-09 Gert Driesen <[email protected]>
  5518. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  5519. when not readonly and the text is explicitly set. Code style updates.
  5520. * DataGridTableStyle.cs: Removed extra line.
  5521. * DataGrid.cs: Code style updates. Removed extra whitespace.
  5522. * DataGridColumnStyle.cs: Code style updates. Removed extra
  5523. whitespace.
  5524. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  5525. * XplatUIX11.cs: Added comment that "fixes" #80021.
  5526. 2007-04-09 Jackson Harper <[email protected]>
  5527. * TextControl.cs: We don't need this -1 on the line count anymore.
  5528. 2007-04-09 Gert Driesen <[email protected]>
  5529. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  5530. entered value to underlying type, and convert it back to a string to
  5531. apply formatting. Modified GetFormattedValue to use TypeConverter
  5532. if available.
  5533. 2007-04-08 Gert Driesen <[email protected]>
  5534. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  5535. Use SubItems property when we want to ensure there's at least one
  5536. subitem. Modified SubItems property to ensure there's always at least
  5537. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  5538. the NRE's reported by MS.
  5539. 2007-04-07 Gert Driesen <[email protected]>
  5540. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  5541. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  5542. Spaces to tabs. Removed extra tabs.
  5543. 2007-04-06 Jonathan Pobst <[email protected]>
  5544. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  5545. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  5546. 2007-04-06 Jackson Harper <[email protected]>
  5547. * TextBoxBase.cs: When a delete removes a line, recalculate all
  5548. lines below that line (they need to get offsets setup correctly)
  5549. and invalidate.
  5550. 2007-04-05 Jackson Harper <[email protected]>
  5551. * TextControl.cs: We need to invalidate across the width of the
  5552. document when we are invalidating multiple lines.
  5553. * TextBoxBase.cs: Don't delete into the line ending.
  5554. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  5555. * ListView.cs: Restore the check for the MouseHover event
  5556. in ListView. It looks like the ListView fires more than one MouseHover
  5557. event when HoverSelection is true _only_ in weird-corner scenarios, but
  5558. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  5559. event.
  5560. 2007-04-05 Mike Kestner <[email protected]>
  5561. * ListView.cs : raise MouseDown before updating selection.
  5562. [Fixes #80373 tab 1&3]
  5563. 2007-04-05 Jonathan Pobst <[email protected]>
  5564. * ToolStripRenderer.cs: Add static method to mirror image.
  5565. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  5566. and RightToLeftAutoMirrorImage.
  5567. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  5568. 2007-04-05 Jonathan Pobst <[email protected]>
  5569. * ToolStripSplitStackLayout.cs: Support Alignment property.
  5570. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  5571. 2007-04-05 Jackson Harper <[email protected]>
  5572. * TextControl.cs: Move around the line endings when crossing line
  5573. boundaries.
  5574. - When combining lines, strip the ending text off the first line.
  5575. 2007-04-05 Jackson Harper <[email protected]>
  5576. * TextControl.cs:
  5577. * TextBoxBase.cs: Try to never move the cursor into the line
  5578. ending.
  5579. 2007-04-04 Jonathan Pobst <[email protected]>
  5580. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  5581. the item is disabled. Also add a few missing methods.
  5582. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  5583. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  5584. to fire just one MouseHover event when HoverSelection is true, since
  5585. .Net does fire more than one MouseHover event in that scenario. Also,
  5586. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  5587. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  5588. Finally, we need to reset the Hover logic in MouseMove, even when we
  5589. don't have a selected item.
  5590. 2007-04-04 Jonathan Pobst <[email protected]>
  5591. * ToolStrip.cs: Add several missing methods, properties, and events.
  5592. 2007-04-04 Chris Toshok <[email protected]>
  5593. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  5594. (0,0,0,0) in Commit, as MS does.
  5595. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  5596. make sure we set CurrentRow on a row header click *before* calling
  5597. Select. This moves the current cell (and the textbox) to the new
  5598. row. The call to Select then hides the textbox, giving us the
  5599. correct behavior. Fixes #80362.
  5600. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  5601. (ListChangedHandler): reorder the position/current changed events,
  5602. and call UpdateIsBinding in the ItemAdded case.
  5603. * GridColumnStylesCollection.cs: add some columns events, one of
  5604. which raises the CollectionChanged event.
  5605. 2007-04-04 Jackson Harper <[email protected]>
  5606. * TextControl.cs: When we delete multiple selection lines
  5607. invalidate the selection area, don't need to do that for single
  5608. lines because the final update view will handle it.
  5609. 2007-04-04 Jonathan Pobst <[email protected]>
  5610. * Control.cs: When we CreateControl, we need to also create all of the
  5611. control's children. The child's OnLoad must also fire before the parent's
  5612. OnLoad. Fixes the toolbox size in PDN.
  5613. 2007-04-04 Jackson Harper <[email protected]>
  5614. * TextBoxBase.cs: When the user presses enter, insert a line
  5615. ending into the text. (Maybe this would be a good spot for
  5616. Environment.NewLine).
  5617. * TextControl.cs: Remove undo manager hack, line endings get
  5618. inserted properly now.
  5619. 2007-04-04 Everaldo Canuto <[email protected]>
  5620. * MenuAPI.cs:
  5621. - Remove unneeded parameters in UpdateCursor.
  5622. - Fix UpdateCursor to check if menu is active.
  5623. - Call UpdateCursor when menu deactivate my click.
  5624. [Fixes remaining issues from #80410]
  5625. 2007-04-04 Everaldo Canuto <[email protected]>
  5626. * Control.cs: GetRealChildAtPoint method added, it make an
  5627. recursive child control search for the point.
  5628. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  5629. menu.
  5630. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  5631. 2007-04-03 Everaldo Canuto <[email protected]>
  5632. * Form.cs: Fix mouse position when send back mouse event after closes
  5633. menu.
  5634. 2007-04-03 Everaldo Canuto <[email protected]>
  5635. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  5636. 2007-04-03 Jonathan Pobst <[email protected]>
  5637. * Control.cs: Fix an issue where if a user resized a control inside
  5638. a sizing method like OnResize, we would overwrite their explicit
  5639. value. Also, only call DefaultSize once in the constructor instead
  5640. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  5641. nothing actually changed.
  5642. 2007-04-03 Jackson Harper <[email protected]>
  5643. * TextControl.cs: Don't attempt to copy text for lines with no
  5644. text in them (technically this shouldn't happen, but we aren't
  5645. always inserting line endings when we should be).
  5646. 2007-04-03 Jackson Harper <[email protected]>
  5647. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  5648. document, because this sets some of the document size properties
  5649. that are needed.
  5650. 2007-04-03 Jackson Harper <[email protected]>
  5651. * TextBoxBase.cs: We need to calculate maximums even if this is
  5652. not a multiline control, because the maxs are used for scrolling.
  5653. - Display the caret after doing a page up/down, we need to
  5654. manually display it because a proper CaretMoved event isn't
  5655. triggered (this is because of the way the math is done to
  5656. determine how far to scroll).
  5657. 2007-04-03 Jonathan Pobst <[email protected]>
  5658. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  5659. (ToolBar was relying on SetBoundsCore to default the values sent
  5660. base off of BoundsSpecified.)
  5661. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  5662. * DateTimePicker.cs: Change Text so that when a null value or empty
  5663. string is assigned to the test we always raise ValueChanged and
  5664. TextChanged (earlier implementation would only raise ValueChanged
  5665. if the current date value was different from DateTime.Now).
  5666. 2007-04-03 Andreia Gaita <[email protected]>
  5667. * ButtonBase: Call update after invalidation, fixes #80194
  5668. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  5669. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  5670. #79335.
  5671. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  5672. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  5673. FormBorderStyle = None, don't give the window any decorations.
  5674. Fixes #81276.
  5675. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  5676. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  5677. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  5678. to check for is a mix of several styles (such as WS_CAPTION for
  5679. instance).
  5680. * Control.cs: Don't paint an area bigger than the client area when
  5681. painting the background colour. Add an internal GetCreateParams.
  5682. Update calls to XplatUI.CalculateWindowRect due to API change.
  5683. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  5684. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  5685. the size if it hasn't been handled by any windows. When creating
  5686. and moving windows, X wants the location of the entire window, but
  5687. the size of the client window, so add
  5688. TranslateClientRectangleToXClientRectangle,
  5689. TranslateWindowSizeToXWindowSIze and
  5690. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  5691. before every window creation and move. Update CalculateWIndowRect
  5692. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  5693. In AddConfigureNotify don't do anything if the hwnd is a zombie
  5694. (fixes the BadWindow we were getting while running the tests),
  5695. always calculate the offsets when it's a parentless window, not
  5696. only when reparented, and translate the window size, since we're
  5697. getting the client size of the whole window, excluding entire
  5698. window.
  5699. * Theme.cs: Added BorderSizableSize.
  5700. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  5701. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  5702. chang
  5703. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  5704. change. Fake the window styles here instead of in XplatUIWin32 so
  5705. that all back-ends get the same window styles (and it's Form that's
  5706. deciding when to use wm, not the Win32 backend anyways)
  5707. * Hwnd.cs: Completely reworked GetWindowRectangle and
  5708. GetClientRectangle - they are now passed a CreateParams and they
  5709. only use Style and ExStyle to determine the rectangles (they should
  5710. now work just like Win32AdjustWindowRectEx - though quite a few
  5711. special cases are probably missing). They should also be 100%
  5712. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  5713. == rect), and all numbers (borders, menu sizes) are taken from the
  5714. current theme. Added a GetBorders helper function that will return
  5715. the borders for any given CreateParams (including captions and
  5716. menus), and GetBorderSize that returns the given border size only.
  5717. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  5718. Hwnd.GetClientRectangle.
  5719. 2007-04-02 Chris Toshok <[email protected]>
  5720. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  5721. logic between the values we present to the user and the values
  5722. which are stored in the column's property. Also, don't call
  5723. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  5724. 2007-04-02 Jackson Harper <[email protected]>
  5725. * TextBoxBase.cs: Scroll faster!
  5726. 2007-04-02 Jonathan Pobst <[email protected]>
  5727. * StatusStrip.cs: Layout fixes for PDN.
  5728. * ToolStrip.cs: Set item's available to true, and placement to main when
  5729. added.
  5730. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  5731. changing in setter before doing any work, add InternalVisible.
  5732. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  5733. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  5734. infinite loop.
  5735. 2007-04-02 Jackson Harper <[email protected]>
  5736. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  5737. text on focus.
  5738. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  5739. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  5740. Makes ToolStripComboBoxes show up again.
  5741. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  5742. * ListView.cs: Add a hover_pending field in ListView
  5743. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  5744. cycle (we are resetting the MouseHover logic in XplatUI
  5745. to handle HoverSelection). Fixes #80429.
  5746. 2007-04-02 Jackson Harper <[email protected]>
  5747. * TextControl.cs: Make sure the attributes get set on the last
  5748. tag.
  5749. - Still have to do the end tag if we have stepped all the ways to
  5750. the end.
  5751. 2007-04-02 Sebastien Pouliot <[email protected]>
  5752. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  5753. on an internal libgdiplus call when the information is already
  5754. available via the public API.
  5755. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  5756. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  5757. control is removed from a control collecftion.
  5758. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  5759. Fixes FormPropertyTest (failed on rare occasions).
  5760. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  5761. of Win32SetParent (when changing from no parent to a parent it
  5762. might add the new parent's location in screen coordinates to this
  5763. window's location).
  5764. * Form.cs: Rework ChangingParent once again, now the handle is
  5765. recreated whenever a FormWindowManager is added or removed (that is
  5766. whenever a normal form is parented or abandoned). Also change
  5767. CreateParams so that all non-toplevel windows always get the
  5768. specified sice (StartupPosition is never considered for
  5769. non-TopLevel forms).
  5770. * ContainerControl.cs: Add ChildControlRemoved, the container control
  5771. needs to be notified when a control is removed from it's
  5772. collection, in the case the removed control is the active control.
  5773. 2007-04-02 Jackson Harper <[email protected]>
  5774. * RichTextBox.cs: Use the new methods for setting the font and
  5775. color, these methods set the specified attribute without
  5776. overriding the other attributes.
  5777. 2007-04-02 Jonathan Pobst <[email protected]>
  5778. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  5779. 2007-03-31 Gert Driesen <[email protected]>
  5780. * TextBox.cs: Added internal ChangeBackColor method to special-case
  5781. Color.Empty. Added check for invalid ScrollBars value.
  5782. * TextBoxBase.cs: Added internal ChangeBackColor method.
  5783. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  5784. internal ChangeBackColor method to special-case Color.Empty. Added
  5785. check for invalid ScrollBars value.
  5786. 2007-03-30 Everaldo Canuto <[email protected]>
  5787. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  5788. 2007-03-30 Jonathan Pobst <[email protected]>
  5789. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  5790. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  5791. [Based on submitted patch from Olivier Duff.]
  5792. 2007-03-30 Jackson Harper <[email protected]>
  5793. * TextBox.cs: Only select all on initial focus if the user has not
  5794. specified a selection area.
  5795. 2007-03-30 Jonathan Pobst <[email protected]>
  5796. * UserControl.cs: Override CreateParams.
  5797. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  5798. [ Fixes #80995 ]
  5799. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  5800. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  5801. check for is a mix of several styles (such as WS_CAPTION for instance).
  5802. * Control.cs: Don't paint an area bigger than the client area when painting
  5803. the background colour. Add an internal GetCreateParams. Update calls to
  5804. XplatUI.CalculateWindowRect due to API change.
  5805. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  5806. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  5807. hasn't been handled by any windows. When creating and moving windows, X
  5808. wants the location of the entire window, but the size of the client
  5809. window, so add TranslateClientRectangleToXClientRectangle,
  5810. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  5811. to cope with this, and call them before every window creation and move.
  5812. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  5813. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  5814. hwnd is a zombie (fixes the BadWindow we were getting while running the
  5815. tests), always calculate the offsets when it's a parentless window, not
  5816. only when reparented, and translate the window size, since we're getting
  5817. the client size of the whole window, excluding entire window.
  5818. * Theme.cs: Added BorderSizableSize.
  5819. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  5820. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  5821. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  5822. Fake the window styles here instead of in XplatUIWin32 so that all
  5823. back-ends get the same window styles (and it's Form that's deciding when
  5824. to use wm, not the Win32 backend anyways)
  5825. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  5826. they are now passed a CreateParams and they only use Style and ExStyle
  5827. to determine the rectangles (they should now work just like
  5828. Win32AdjustWindowRectEx - though quite a few special cases are probably
  5829. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  5830. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  5831. sizes) are taken from the current theme. Added a GetBorders helper
  5832. function that will return the borders for any given CreateParams
  5833. (including captions and menus), and GetBorderSize that returns the given
  5834. border size only.
  5835. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  5836. Hwnd.GetClientRectangle.
  5837. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  5838. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  5839. layout of the mdi children is handled by CreateParams. Fixes
  5840. #79964,
  5841. 2007-03-29 Everaldo Canuto <[email protected]>
  5842. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  5843. processed.
  5844. * Form.cs: When active tracker mouse down is not processed, send event
  5845. back to control inside mouse position. [Fixes #81227]
  5846. 2007-03-29 Jonathan Pobst <[email protected]>
  5847. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  5848. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  5849. stealing focus from the active form on Windows. (Control will be made
  5850. visible in ShowWindow.)
  5851. 2007-03-29 Mike Kestner <[email protected]>
  5852. * ImageList.cs : add internal Changed event.
  5853. * ListView.cs : hook up to StateImageList.Changed to perform
  5854. invalidations when the the state icon list changes. [Fixes #81191]
  5855. 2007-03-29 Jonathan Pobst <[email protected]>
  5856. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  5857. to prevent tooltips from stealing focus from the active form on Windows.
  5858. 2007-03-29 Everaldo Canuto <[email protected]>
  5859. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  5860. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  5861. 2007-03-29 Everaldo Canuto <[email protected]>
  5862. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  5863. balloons.
  5864. 2007-03-29 Jackson Harper <[email protected]>
  5865. * TextControl.cs: When deleting text from non multiline textboxes,
  5866. we need to update the entire document, because line offsets will
  5867. be shifting.
  5868. 2007-03-29 Everaldo Canuto <[email protected]>
  5869. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  5870. added to theme, now we can create themes that uses diferent notify engines
  5871. like notification-daemon from galago project or growl for Mac OS.
  5872. 2007-03-28 Everaldo Canuto <[email protected]>
  5873. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  5874. 2007-03-28 Everaldo Canuto <[email protected]>
  5875. * XplatUIX11.cs: Prevent system to open more than one balloon.
  5876. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  5877. some compiler warning messages.
  5878. 2007-03-28 Everaldo Canuto <[email protected]>
  5879. [Fixes #79149]
  5880. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  5881. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  5882. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  5883. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  5884. systems.
  5885. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  5886. * ListViewItem.cs: Forgot to make Invalidate internal.
  5887. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  5888. * ListView.cs: Add a InvalidateSelection method to
  5889. invalidate methods which are currently selected, and call
  5890. it when setting FullRowSelect and HideSelection, instead of
  5891. calling Redraw.
  5892. 2007-03-28 Chris Toshok <[email protected]>
  5893. * XplatUIX11.cs (UnmapWindow): reindent this block.
  5894. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  5895. the selection_start if we're moving the selection (that is, not
  5896. extending it). Fixes bug #80461.
  5897. 2007-03-28 Jonathan Pobst <[email protected]>
  5898. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  5899. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  5900. create private ControlCollection.
  5901. 2007-03-28 Jonathan Pobst <[email protected]>
  5902. * Control.cs: We need to call OnVisibleChanged for our implicit
  5903. children as well as our normal children. Fixes scrollbars in
  5904. comboboxes not showing up.
  5905. 2007-03-28 Jonathan Pobst <[email protected]>
  5906. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  5907. the check for IsHandleCreated first. The check in CreateHandle is not
  5908. good enough because CreateHandle can be overriden, and the override
  5909. should not be called if the handle is already created.
  5910. 2007-03-28 Jonathan Pobst <[email protected]>
  5911. * ToolStrip.cs: Remove MonoTODO for tooltips.
  5912. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  5913. * ToolStripContainer.cs: Add custom ControlCollection class.
  5914. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  5915. * ToolStripDropDown.cs: Add some missing properties/methods.
  5916. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  5917. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  5918. * ToolStripManager.cs: Add IsShortcutDefined.
  5919. * ToolStripOverflow.cs: Override LayoutEngine.
  5920. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  5921. * ToolStripSeparator.cs: Add ImageKey.
  5922. 2007-03-28 Jackson Harper <[email protected]>
  5923. * TextControl.cs: If a char delete removes a line ending, we need
  5924. to update the ending style.
  5925. - Make sure the line ending calcs get called.
  5926. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  5927. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  5928. it was making the new code not work. Fixed a typo in the new code
  5929. as well. Fixes #79826.
  5930. 2007-03-27 Everaldo Canuto <[email protected]>
  5931. * XplatUIWin32.cs:
  5932. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  5933. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  5934. - SystrayBalloon method implemented.
  5935. [Add support for notifyicon balloon on win32, #79149]
  5936. 2007-03-27 Mike Kestner <[email protected]>
  5937. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  5938. the ms behavior when only one image is added to the list.
  5939. [Fixes #81191]
  5940. 2007-03-27 Jackson Harper <[email protected]>
  5941. * TextControl.cs: Improvements to non multiline line ending
  5942. drawing/measuing.
  5943. 2007-03-27 Everaldo Canuto <[email protected]>
  5944. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  5945. 2007-03-27 Everaldo Canuto <[email protected]>
  5946. * NotifyIcon.cs:
  5947. - Balloon message handling added.
  5948. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  5949. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5950. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  5951. to SystrayBalloon to me like other Systray method, also a
  5952. handle parameter added.
  5953. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  5954. * ListView.cs: Show scrollbars even when items.Count == 0
  5955. but the columns Width is bigger than the ListView.Width.
  5956. Also, when columns.Count == 0 set layout_wd and layout_ht
  5957. to the ClientRectangle values, so we don't show any scrollbar
  5958. in that case.
  5959. 2007-03-27 Everaldo Canuto <[email protected]>
  5960. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  5961. 2007-03-27 Jackson Harper <[email protected]>
  5962. * RichTextBox.cs: The RTF library decodes the text properly for us
  5963. now.
  5964. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  5965. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  5966. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  5967. ListView header (HeaderControl), instead of Control.BackColor.
  5968. 2007-03-27 Jonathan Pobst <[email protected]>
  5969. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  5970. Fixes tab control issues where controls would not show up because they
  5971. never received their OnVisibleChanged call.
  5972. 2007-03-27 Everaldo Canuto <[email protected]>
  5973. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  5974. BalloonTipShown).
  5975. 2007-03-27 Jonathan Pobst <[email protected]>
  5976. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  5977. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  5978. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  5979. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  5980. the handle. Fix WindowState by using the internal variable until we are
  5981. sure that we've been shown.
  5982. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  5983. max or min.
  5984. [Fixes bug #81198]
  5985. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  5986. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  5987. (at least borders). Fixes #79386 on Linux (with a small difference
  5988. in behaviour: when trying to resize a caption-less window metacity
  5989. shows the sysmenu. Resizing is still possible though).
  5990. * XplatUIWin32.cs: When setting window styles send request an extra
  5991. WM_NCCALCSIZE when it's a form without title (due to no text and no
  5992. caption), since Win32 seems to calculate it wrong the first time we
  5993. get the message, though the second time things work as they should.
  5994. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  5995. newly reparented window might show up unparented. Update
  5996. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  5997. there's no title text. Fixes #79386.
  5998. 2007-03-27 Mike Kestner <[email protected]>
  5999. * ListBox.cs : don't perform invalidations if the handle hasn't been
  6000. created. [Fixes #80753]
  6001. 2007-03-27 Mike Kestner <[email protected]>
  6002. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  6003. [Fixes #80428]
  6004. 2007-03-26 Everaldo Canuto <[email protected]>
  6005. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  6006. needed to implement Balloon.
  6007. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  6008. * ListViewItem.cs: In the constructors that take
  6009. an array of strings, don't use ListViewSubItemCollection.AddRange
  6010. method to add items, since we need to have a different behaviour (in
  6011. the constructors we add an item for each null string, opposed to
  6012. the behaviour of AddRange, which adds nothing).
  6013. 2007-03-26 Andreia Gaita <[email protected]>
  6014. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  6015. 2007-03-26 Jackson Harper <[email protected]>
  6016. * TextControl.cs: Draw and measure line endings when in non
  6017. multiline mode.
  6018. - When searching the text, count the end of the last line as a
  6019. word boundary.
  6020. 2007-03-26 Jackson Harper <[email protected]>
  6021. * RichTextBox.cs: The selection_start and selection_end don't
  6022. really track the correct tags for the selection. So we'll manually
  6023. compute the correct tag here.
  6024. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  6025. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  6026. and Continuous styles. Fixes #79469.
  6027. 2007-03-26 Jonathan Pobst <[email protected]>
  6028. * ToolStrip.cs: Implement Tooltips.
  6029. * ToolStripItem.cs: Create internal method for determining tooltip.
  6030. 2007-03-26 Jonathan Pobst <[email protected]>
  6031. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  6032. 2007-03-26 Everaldo Canuto <[email protected]>
  6033. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  6034. it prevents a problem thak keeps icon visible after application
  6035. closes on win32.
  6036. 2007-03-26 Everaldo Canuto <[email protected]>
  6037. * NotifyIcon.cs: Balloon properties and methods created.
  6038. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6039. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  6040. 2007-03-25 Jonathan Pobst <[email protected]>
  6041. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  6042. 2007-03-24 Jonathan Pobst <[email protected]>
  6043. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  6044. parameter indicates which aspects were explicit/user-set.
  6045. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  6046. 2007-03-24 Jonathan Pobst <[email protected]>
  6047. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  6048. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  6049. SmallChange, and Value (2.0).
  6050. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  6051. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  6052. * ListView.cs: Always set item_control.Width in LayoutDetails
  6053. if View is Details. Setting it later in CalculateScrollBars
  6054. in a not-so-corner scenario (the sum of columns width is
  6055. not bigger than the ListView width when handle is created, and then
  6056. that sum gets bigger by increasing the width of the columns)
  6057. causes a very weird recursion path (which shouldn't be happening,
  6058. since header_control sets it in CalculateScrollBars too). This bug
  6059. appeared after Chris' fixes for handle created issues, so probably
  6060. it's related to some handle-creation time.
  6061. 2007-03-23 Chris Toshok <[email protected]>
  6062. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  6063. case where there's an add row, just so we don't end up in a case
  6064. where it's not displayed (this happens when the row is partially
  6065. obscured). Fixes bug #79574.
  6066. 2007-03-23 Jackson Harper <[email protected]>
  6067. * TextControl.cs:
  6068. * TextBoxBase.cs:
  6069. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  6070. also added an enum that represents the line ending type.
  6071. 2007-03-23 Andreia Gaita <[email protected]>
  6072. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  6073. messed with in every method call, but only from DownButton,
  6074. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  6075. 2007-03-23 Chris Toshok <[email protected]>
  6076. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  6077. format objects if the format spec is "". Fixes bug #80889.
  6078. 2007-03-22 Miguel de Icaza <[email protected]>
  6079. * ToolStripPanel.cs (Join): added stubs to build PDN3
  6080. * Control.cs (AutoScrollOffset): Add.
  6081. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  6082. property, its only implemented for Win32, on X11 it defaults to
  6083. some hardcoded value.
  6084. * ToolStripItem.cs (AllowDrop): Add property
  6085. 2007-03-22 Mike Kestner <[email protected]>
  6086. * ListView.cs : in FullRowSelect Details mode, only enable box
  6087. selection if the user clicks over the "item" column outside of the
  6088. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  6089. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6090. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  6091. handle is not created yet.
  6092. * Form.cs: Select: Don't call CreateHandle if the handle is already
  6093. created, avoids a stack overflow on Windows when we are recreating
  6094. controls.
  6095. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  6096. they are made visible, and override AfterTopMostControl to keep
  6097. them on top when other controls are brought to front.
  6098. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  6099. or force_*scroll_visible is true (old implementation always shows
  6100. scrollbars when needed, no matter what auto_scroll was set to).
  6101. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  6102. IsHandleCreated check.
  6103. 2007-03-22 Andreia Gaita <[email protected]>
  6104. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  6105. row or col separator.
  6106. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  6107. 2007-03-22 Everaldo Canuto <[email protected]>
  6108. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  6109. 2007-03-22 Everaldo Canuto <[email protected]>
  6110. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  6111. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  6112. every time. Fixes #80410.
  6113. 2007-03-22 Chris Toshok <[email protected]>
  6114. * BindingSource.cs (AddNew): partially implement.
  6115. remove a couple of NotImplementedException's
  6116. to get bug #81148 closed.
  6117. 2007-03-22 Everaldo Canuto <[email protected]>
  6118. [Fixes #80380]
  6119. * Control.cs:
  6120. - UpdateCursor method added to update the screen cursor.
  6121. - GetAvailableCursor method added to return cursor for enabled tree,
  6122. it searches for cursor on control and it's parent's for enabled control.
  6123. - Call UpdateCursor method on setter of Cursor property.
  6124. - On setter of Enabled call UpdateCursor when it is false, we need to
  6125. change cursor to normal (or to this parent cursor) because cursor
  6126. setting theres no effect to disabled controls.
  6127. - Some minor source changes to follow the coding style guidelines.
  6128. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  6129. controls.
  6130. 2007-03-22 Chris Toshok <[email protected]>
  6131. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  6132. generates.
  6133. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6134. * XplatUIX11.cs: Implement default locations for forms.
  6135. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  6136. * Hwnd.cs: Add previous_child_startup_location (to track the current
  6137. startup location for any child forms of the current form) and
  6138. previous_main_startup_location (to track the startup location for
  6139. the current toplevel form).
  6140. 2007-03-21 Jonathan Pobst <[email protected]>
  6141. * Control.cs: Don't trigger a layout if an implicit control is added
  6142. that isn't visible. Also, don't notify the owner when an implicit control
  6143. is added. (Owners shouldn't even know about their implicit controls.)
  6144. 2007-03-21 Jonathan Pobst <[email protected]>
  6145. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  6146. to save some re-layouts.
  6147. 2007-03-21 Everaldo Canuto <[email protected]>
  6148. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  6149. [Fixes #81203]
  6150. 2007-03-21 Jonathan Pobst <[email protected]>
  6151. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  6152. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  6153. 2007-03-21 Mike Kestner <[email protected]>
  6154. * ListView.cs : disable selection update for non-left button clicks
  6155. with mods and over selected items. [Fixes #80524]
  6156. 2007-03-20 Jackson Harper <[email protected]>
  6157. * TextControl.cs:
  6158. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  6159. \r\r\n, \n.
  6160. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6161. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  6162. very probably a more complicated calculation there. Update the
  6163. textbox' ForeColor and BackColor when the ComboBox' colors are
  6164. changed. Change the border change in LayoutComboBox to only affect
  6165. the textbox, not all the calculations there. Seems to fix most of
  6166. #79436.
  6167. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6168. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  6169. modifiers + navigation keys as input keys, enables advanced text
  6170. selection in the combobox (like Shift+Left Arrow for instance).
  6171. ComboTextBox now overrides Focused and returns whatever
  6172. ComboBox.Focused returns, since it really should be focused
  6173. whenever the ComboBox is. Fixes #80795. Also make the border around
  6174. the text box one pixel bigger, as mentioned in #79436.
  6175. 2007-03-20 Jackson Harper <[email protected]>
  6176. * TreeView.cs: Don't offset the images, this was causing some
  6177. artifacts when expanding/collapsing with images that were the
  6178. exact height of the treenode.
  6179. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6180. * TrackBar.cs: Query the theme for the correct value when the mouse
  6181. moves and the thumb is pressed.
  6182. * Theme.cs: Added TrackBarValueFromMousePosition
  6183. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  6184. implementation was updating the trackbar value when drawing, now
  6185. the drawing methods only draw. Fixes #80900. Refactored the
  6186. calculations out to TrackBarValueFromMousePosition and
  6187. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  6188. according to the mouse position whenever it wants to. Changed the
  6189. light coloured pen when drawing the thumb from ControlLight to
  6190. ControlLightLight, because the ControlLight is the same colour as
  6191. the background so the 3D effect is lost.
  6192. 2007-03-20 Everaldo Canuto <[email protected]>
  6193. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  6194. defined. Fixes #80784.
  6195. 2007-03-20 Marek Habersack <[email protected]>
  6196. * ContextMenuStrip.cs: align with the change introduced in
  6197. revision 74664.
  6198. 2007-03-20 Everaldo Canuto <[email protected]>
  6199. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  6200. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  6201. in SetTopmost.
  6202. 2007-03-19 Chris Toshok <[email protected]>
  6203. * Control.cs (WmPaint): don't make use of the Handle property
  6204. after an event is emitted, as the user could have closed the
  6205. form/destroyed the control. Store the Handle in a local variable
  6206. and make use of that. Fixes bug #80768.
  6207. 2007-03-20 Everaldo Canuto <[email protected]>
  6208. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  6209. behavior in X11 environments.
  6210. 2007-03-20 Everaldo Canuto <[email protected]>
  6211. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  6212. because on setter of topmost we dont call SetTopmost when handle is not
  6213. created.
  6214. 2007-03-20 Jackson Harper <[email protected]>
  6215. * TextControl.cs: Need to use SelectionLength () not
  6216. selection_length, since that var is reset to -1.
  6217. - Draw the caret when we don't have focus.
  6218. * TextBox.cs: The selectall actually doesn't occur until the first
  6219. focus.
  6220. * TextBoxBase.cs: Need to update the caret position after a
  6221. selectall.
  6222. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  6223. * ListView.cs: Enable scrolling when using Tile view.
  6224. 2007-03-20 Everaldo Canuto <[email protected]>
  6225. [Fixes #80902]
  6226. * XplatUIDriver.cs: Abstract SetOwner method created.
  6227. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  6228. must be implemented and was masked as todo.
  6229. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  6230. GWL_HWNDPARENT.
  6231. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  6232. cheking for null owner to remove transient. The SetTopmost will be change
  6233. on a decond step.
  6234. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  6235. SetTopmost. Now owned forms will work properly in win32 and X11.
  6236. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6237. * MdiWindowManager.cs: Update function name.
  6238. * Form.cs: After closing a form MdiParent is always null.
  6239. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  6240. better what it should do: necessary book-keeping when the form is
  6241. closed, it should not close the form itself.
  6242. 2007-03-19 Andreia Gaita <[email protected]>
  6243. * ListViewItem.cs: Fix back and fore color. The subitems only
  6244. use their own colors if they are set, otherwise use the listview's
  6245. colors. Don't set default colors on constructor for subitem.
  6246. Fixes #79315.
  6247. 2007-03-19 Mike Kestner <[email protected]>
  6248. * ListView.cs : make box selection for Details views with
  6249. FullRowSelect conform to MS behavior when clicking in the "item"
  6250. column and clicking outside the defined columns.
  6251. [Fixes case 5-6 of #80374]
  6252. 2007-03-19 Chris Toshok <[email protected]>
  6253. * ScrollableControl.cs: create the controls from within the ctor,
  6254. but don't actually add them until our handle is created. this
  6255. fixes a NRE possibility jpobst found (if you override OnLayout in
  6256. a subclass, it's called before your ctor). Also, add a
  6257. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  6258. 2007-03-19 Jackson Harper <[email protected]>
  6259. * TextBox.cs: Reduce the amount of invalidation we do.
  6260. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  6261. some of them are true by default on MS.
  6262. - Add some functions to reduce the amount of invalidates we do.
  6263. * TextControl.cs: Less invalidation.
  6264. 2007-03-19 Chris Toshok <[email protected]>
  6265. [ Fixes #81773, and *seems* to fix #81553 as well ]
  6266. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  6267. AccumulateDestroyedHandles. We need to do it *after* we send
  6268. WM_DESTROY, as the user's code can access Control.Handle in
  6269. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  6270. move the WM_DESTROY/zombie handling to before the call to
  6271. XDestroyWindow. For some reason without this ordering
  6272. FormTest.RecreateHandle hangs. This ordering is semantically
  6273. equivalent, however, as XDestroyWindow is async anyway.
  6274. 2007-03-19 Gert Driesen <[email protected]>
  6275. * RichTextBox.cs: Reset backcolor_set after setting default.
  6276. 2007-03-19 Chris Toshok <[email protected]>
  6277. * ScrollableControl.cs: the scroll position should not effect the
  6278. canvas size. commit patch from [email protected], which
  6279. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  6280. 2007-03-19 Chris Toshok <[email protected]>
  6281. * ScrollableControl.cs: clean this up a bit. create the
  6282. scrollbars in the ctor and just show/hide them as needed. Also,
  6283. make hscroll_visible/vscroll_visible internal to Recalculate, and
  6284. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  6285. everywhere else. This seems to fix the scrollbars appearing
  6286. beneath the content for me (i have *no* idea why that is,
  6287. however.)
  6288. 2007-03-19 Jonathan Pobst <[email protected]>
  6289. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  6290. some redundacy for stuff in Anchor and Dock that base will take care of.
  6291. [Fixes #80762]
  6292. 2007-03-19 Mike Kestner <[email protected]>
  6293. * ListView.cs : make box selection for Details views without
  6294. FullRowSelect dependent on the text bounds, not item bounds.
  6295. * ListViewItem.cs : add an internal property to obtain the TextBounds
  6296. in Details view. [Fixes case 1-4 of #80374]
  6297. 2007-03-19 Andreia Gaita <[email protected]>
  6298. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  6299. we're < 2.0. #78448 && #80316
  6300. 2007-03-19 Jonathan Pobst <[email protected]>
  6301. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  6302. have the same style available as the previously selected one. Also,
  6303. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  6304. 2007-03-19 Jackson Harper <[email protected]>
  6305. * TextControl.cs: Add an alignment property that all new lines
  6306. will be given.
  6307. - Make sure to use the align shift when calculating the line's X
  6308. position.
  6309. * TextBox.cs: Set the alignment on the document as well as on all
  6310. the document lines.
  6311. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  6312. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  6313. throw if setting the parent of an mdichild that already has an
  6314. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  6315. AssemblyProductAttribute in the assembly, use the type's namespace (as
  6316. MS seems to do). CreateControl: don't create the handle if the control
  6317. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  6318. create handle if the control is not a form. Change FocusInternal to
  6319. virtual so that it can be overriden by Form.
  6320. * TextBox.cs: Update call to FocusInternal.
  6321. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  6322. form is not a toplevel form when it's a mdi child, so update is_toplevel
  6323. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  6324. hasn't been created. Show (IWin32Window): Don't allow this overload for
  6325. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  6326. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  6327. parent isn't visible yet, save the visibility and restore it when the
  6328. parent is made visible.
  6329. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  6330. methods, since the visibility of the scrollbars can be changed from
  6331. several places, not only from AutoScroll.
  6332. [Fixes #81179]
  6333. 2007-03-19 Jackson Harper <[email protected]>
  6334. * RichTextBox.cs: Enable shortcuts by default.
  6335. * TextBoxBase.cs: Add conditional shortcuts.
  6336. 2007-03-19 Everaldo Canuto <[email protected]>
  6337. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  6338. 2007-03-19 Chris Toshok <[email protected]>
  6339. [ Fixes bug #80604]
  6340. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  6341. swallow the message we're waiting on, instead of delivering it, as
  6342. this is only used for the WM_SHOWWINDOW raised from
  6343. MapWindow/UnmapWindow, and the message needs to be generated
  6344. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  6345. before doing the Map/Unmap. Also make sure that the Hwnd is still
  6346. alive after the message has been handled.
  6347. *before* the window is shown.
  6348. * Control.cs (CreateControl): guard a few more things inside the
  6349. if (!is_created) block, as we might end up being called again -
  6350. yay .net.
  6351. (WmShowWindow): call CreateControl if we're showing the control.
  6352. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  6353. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  6354. controls without a handle if they have any parent with a handle. In
  6355. Dispose add a check whether the handle is created or not before
  6356. calling BeginInvoke, this removes the need of the extra disposing
  6357. parameter (which was bogus anyway since it didn't prevent the
  6358. invoke from happening, it only skipped the check for an existing
  6359. handle, meaning that the invoke would call on an inexistent
  6360. handle).
  6361. 2007-03-19 Everaldo Canuto <[email protected]>
  6362. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  6363. appears in taskbar.
  6364. 2007-03-18 Everaldo Canuto <[email protected]>
  6365. * MessageBox.cs:
  6366. - Fixed a problem that dont show help button for messages with 3 buttons.
  6367. - Refactory button size and position calculations, now dont use fixed
  6368. values, also fixed button sizes (#80043) and form's border space.
  6369. - AddButton method created, now all other AddButton methods call this one.
  6370. - Some other source code cosmetic changes.
  6371. 2007-03-18 Jackson Harper <[email protected]>
  6372. * RichTextBox.cs: Don't do this all fonts must match check if
  6373. there is only one char selected.
  6374. 2007-03-18 Jackson Harper <[email protected]>
  6375. * TreeView.cs: ScrollWindow works properly now, so we don't need
  6376. to screw around with the scroll area. This fixes some artifacts
  6377. when expanding and collapsing.
  6378. 2007-03-18 Jackson Harper <[email protected]>
  6379. * TextBoxBase.cs: Allow updating the selection position when the
  6380. cursor is outside the textarea, but we have a capture.
  6381. * TextControl.cs: A special case for when the cursor is outside
  6382. the bounds of the TB.
  6383. 2007-03-18 Jackson Harper <[email protected]>
  6384. * TextBoxBase.cs: Remove image pasting code for now. There is no
  6385. way to get an image on the clipboard right now anyways.
  6386. * TextControl.cs:
  6387. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  6388. 2007-03-18 Everaldo Canuto <[email protected]>
  6389. * MessageBox.cs:
  6390. - Set window properties in constructor intead of on CreateParams.
  6391. - Remove topmost from Window ExStyle.
  6392. - Set ShowInTaskbar to false.
  6393. - Set form border to FixedDialog.
  6394. - Some cosmetic changes and remove unneeded comments.
  6395. - It fixes itens 2,3 and 4 of bug #80043.
  6396. 2007-03-18 Gert Driesen <[email protected]>
  6397. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  6398. none was explicitly set. Fixes part of bug #79949.
  6399. 2007-03-16 George Giolfan <[email protected]>
  6400. * ToolStripComboBox.cs: Add AutoComplete*.
  6401. 2007-03-16 George Giolfan <[email protected]>
  6402. * ToolStripComboBox.cs: Add FlatStyle.
  6403. 2007-03-16 Jonathan Pobst <[email protected]>
  6404. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  6405. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  6406. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  6407. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  6408. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  6409. DataGridColumnStyle.cs: Remove warnings.
  6410. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  6411. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  6412. it.
  6413. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  6414. visibility of mdi child forms. FormSizeChangedHandler: update the
  6415. maximized size if size has changed while maximized.
  6416. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  6417. creating the handle.
  6418. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  6419. avoid creating the handle if not created.
  6420. * XplatUI.cs: Update debug output.
  6421. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  6422. 2007-03-16 Jonathan Pobst <[email protected]>
  6423. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  6424. ProcessCmdKey().
  6425. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  6426. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  6427. Implement keyboard shortcuts.
  6428. 2007-03-15 Everaldo Canuto <[email protected]>
  6429. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  6430. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  6431. ColorDialog and all derived classes.
  6432. 2007-03-15 Everaldo Canuto <[email protected]>
  6433. [ Fixes bug #79828 ]
  6434. * ToolBar.cs:
  6435. - Rename ToolBarButtonInfor to ToolBarItem.
  6436. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  6437. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  6438. collection to be able add same button more than one time on a toolbar.
  6439. - Refactory all properties and methods to use ToolBarItem.
  6440. * ToolBarButton.cs:
  6441. - Remove all propeties and methods that is now in ToolBarItem.
  6442. - Rectangle propery now gets the rectangle from first ToolBarItem to
  6443. mimic win32 behavior.
  6444. - Size calculation and layout methods also removed.
  6445. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  6446. ToolBarItem instead of ToolBarButton to right drawing buttons when
  6447. same button/separator was added more than one time to ToolBar.
  6448. * ThemeNice.cs: Same as above.
  6449. 2007-03-15 Andreia Gaita <[email protected]>
  6450. * XplatUIX11.cs: Fire extra MouseMove events right after
  6451. MouseDown and MouseUp, emulating win32's <censored> behaviour
  6452. for apps that rely on it.
  6453. 2007-03-15 Jackson Harper <[email protected]>
  6454. * TextControl.cs:
  6455. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  6456. it is drawn on the controls client window and there is no NC
  6457. area.
  6458. - Set the background color to gray on 2.0 when we are readonly.
  6459. 2007-03-15 Chris Toshok <[email protected]>
  6460. [ Fixes bug #81144 ]
  6461. * XplatUIX11.cs: implement VirtualScreen independently of
  6462. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  6463. property.
  6464. 2007-03-15 Chris Toshok <[email protected]>
  6465. * Hwnd.cs: add an internal field for the cached_window_state.
  6466. * XplatUIX11.cs: cache the window state, invalidating the cache
  6467. (and thus re-querying the X server) only when we see an update to
  6468. the _NET_WM_STATE property.
  6469. 2007-03-15 Chris Toshok <[email protected]>
  6470. * BindingSource.cs: get a lot of the unit tests working.
  6471. 2007-03-15 Jonathan Pobst <[email protected]>
  6472. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  6473. 0 instead of just bounds > 0. [Fixes bug #80912]
  6474. 2007-03-15 Jonathan Pobst <[email protected]>
  6475. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  6476. and methods.
  6477. 2007-03-15 Ivan N. Zlatev <[email protected]>
  6478. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  6479. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  6480. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  6481. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  6482. 2007-03-15 Chris Toshok <[email protected]>
  6483. [ Fixes #81101 ]
  6484. * Control.cs: add Ivan's fix for 81101, with a slight modification
  6485. - you can set control.Target to null.
  6486. 2007-03-14 Jonathan Pobst <[email protected]>
  6487. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  6488. HideDropDown, use Hide instead to prevent an NRE.
  6489. [Fixes bug #81147]
  6490. 2007-03-14 Jackson Harper <[email protected]>
  6491. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  6492. to calculate the document before the handle is created, in some
  6493. cases. (Actually just one case).
  6494. 2007-03-14 Jackson Harper <[email protected]>
  6495. * TextBoxBase.cs: Need to display the caret after letting the base
  6496. wndproc handle the focus methods, because the caret display
  6497. methods check the focus state.
  6498. - Try to display the caret after updating it's position with SelectWord.
  6499. - Don't need to do an immediate update on this recalc, since there
  6500. will be an invalidate anyways.
  6501. 2007-03-14 Jackson Harper <[email protected]>
  6502. * TreeView.cs: Some workarounds so that we can match event order a
  6503. little better.
  6504. 2007-03-14 Gert Driesen <[email protected]>
  6505. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  6506. #80803. Avoid NullReferenceException when Control does not have
  6507. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  6508. event a single time. Only draw error icon when control is created and
  6509. visible. Fixes failing unit tests.
  6510. 2007-03-14 Andreia Gaita <[email protected]>
  6511. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  6512. Selecting events. Fire Leave and Enter events when changing tabs.
  6513. 2007-03-14 George Giolfan <[email protected]>
  6514. * TreeView.cs: Add TreeViewNodeSorter.
  6515. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  6516. 2007-03-14 Chris Toshok <[email protected]>
  6517. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  6518. removed earlier and I had him add back it. It turns out metacity
  6519. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  6520. just doesn't redraw the window titlebar until you resize the
  6521. window. This also means we aren't recreating the entire window
  6522. hierarchy on X when you change this property. And it looks better
  6523. on windows, too.
  6524. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  6525. * ListViewItem.cs:
  6526. * ListView.cs: Collecting selection information
  6527. is now done in SelectedIndexCollection rather than in
  6528. SelectedListViewItemCollection. This is done so we can
  6529. have the selection information code in one single place
  6530. (virtual mode selection information entirely depends on
  6531. SelectedIndexCollection).
  6532. 2007-03-13 Miguel de Icaza <[email protected]>
  6533. * ErrorProvider.cs: Add stubs for ISupportInitialize
  6534. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  6535. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  6536. in the right order with the right values, from the Checked property,
  6537. just as MS does (instead of triggering them from ListView).
  6538. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  6539. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  6540. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  6541. the correct handler in OnItemCheck method (ItemCheckEventHandler
  6542. instead of EventHandler). This used to throw an InvalidCastException.
  6543. 2007-03-13 Jackson Harper <[email protected]>
  6544. * TextBoxBase.cs: Calculate the document before the handle is
  6545. created, so there isn't an extra invalidate called.
  6546. 2007-03-13 Jonathan Pobst <[email protected]>
  6547. * Form.cs: Don't set owner in ShowDialog until we are sure
  6548. that we aren't going to throw an exception. [Fixes bug #80773]
  6549. 2007-03-12 George Giolfan <[email protected]>
  6550. * TreeView.cs: Make it compile.
  6551. 2007-03-12 Jonathan Pobst <[email protected]>
  6552. * Control.cs: Another place we don't call SizeFromClientSize.
  6553. * Form.cs: Another place we don't call SizeFromClientSize.
  6554. [Fixes bug #81125]
  6555. 2007-03-12 Jackson Harper <[email protected]>
  6556. * TreeView.cs: Basically emulating some strangness here with
  6557. exanding nodes and setting node positions when windows aren't
  6558. created.
  6559. - Also attempting to walk the node tree less than previously, and
  6560. just use visible order calculations for determining offsets.
  6561. - oops made scrolling backwards.
  6562. * TreeNode.cs: We need to start nodes with a zero visible order,
  6563. because the order calcs are based on the first nodes order.
  6564. 2007-03-12 Jonathan Pobst <[email protected]>
  6565. * Form.cs: Don't exit the program if RecreateHandle is called on
  6566. the main form.
  6567. 2007-03-12 Chris Toshok <[email protected]>
  6568. * XEventQueue.cs: remove the use of PostQuitState.
  6569. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  6570. WM_QUIT message in GetMessage, return false (and if we're in the
  6571. nested WaitForHwndMessage, repost the WM_QUIT message).
  6572. 2007-03-12 Jonathan Pobst <[email protected]>
  6573. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  6574. or the MaximizeBox properties. [Part of bug #80640]
  6575. 2007-03-12 Everaldo Canuto <[email protected]>
  6576. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  6577. no links.
  6578. 2007-03-12 Jonathan Pobst <[email protected]>
  6579. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  6580. instead of visible.
  6581. 2007-03-12 Gert Driesen <[email protected]>
  6582. * FileDialog.cs: Use text of File name combobox to determine what
  6583. files the user selected. Added tokenizer to parse the file names.
  6584. Fixes bug #81123.
  6585. 2007-03-12 Jonathan Pobst <[email protected]>
  6586. * Control.cs: We can't call SizeFromClientSize in the constructor,
  6587. but we still need to do the same work, so make an internal version.
  6588. [Fixes bug #80621]
  6589. 2007-03-12 Jackson Harper <[email protected]>
  6590. * TreeView.cs:
  6591. * TreeNode.cs:
  6592. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  6593. IsExpanded.
  6594. 2007-03-12 Jackson Harper <[email protected]>
  6595. * TextBoxBase.cs: Now that the handles are being created a little
  6596. later, we need to make sure that the document is recalculated when
  6597. the handle is created.
  6598. 2007-03-11 Everaldo Canuto <[email protected]>
  6599. * Theme.cs: GetLinkFont abstract method added.
  6600. * LinkLabel.cs:
  6601. - Remove CalcTrimRectangle, no longer needed.
  6602. - Factor also remove, position issues must be fixed in libgdiplus.
  6603. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  6604. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  6605. care about font used to draw links.
  6606. - Set TabStop to true when control is "Selectable", control is selectable
  6607. when have one or more links. Fixes #80501 (test case is also added).
  6608. - Set the LinkArea values after links change, LinkArea values must be
  6609. based in first link position and size, a test case was created.
  6610. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  6611. the attribute must be true LinkArea.Length > 0. The same was applied to
  6612. TabStop.
  6613. * ThemeWin32Classic.cs:
  6614. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  6615. in draw method.
  6616. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  6617. color change.
  6618. - Draw focus rectangle for every parts focused, including parts that
  6619. is on another line, its because regions returns various rectangles
  6620. and not only one. Needed to mimic W32 look.
  6621. - Uses Graphics.Clip to delimite region painted, it mean that now
  6622. complete text is passed to DrawString, with this we solve layout
  6623. issues without create another text renderer.
  6624. - Uses Region.Intersect to fix some flickers problems, now only needed
  6625. parts will redrawed.
  6626. - This changes fixes #79614 and some other unreported issues, on Linux
  6627. some layout problems still remain, the problem is under
  6628. MeasureCharacterRanges but it is an libgdiplus bug.
  6629. 2007-03-10 Gert Driesen <[email protected]>
  6630. * TextBox.cs: Set for foreground color.
  6631. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  6632. this is already done in Control.
  6633. 2007-03-10 Jackson Harper <[email protected]>
  6634. * TextBox.cs: Set the background color, but reset the
  6635. backcolor_set flag which is just for the user setting the
  6636. background color.
  6637. 2007-03-09 Chris Toshok <[email protected]>
  6638. * Control.cs: really remove the call to XplatUI.SetVisible from
  6639. CreateHandle(), like I said I did when I merged the branch.
  6640. * BindingSource.cs: implement some more of this stuff.
  6641. 2007-03-09 Jackson Harper <[email protected]>
  6642. * TextBox.cs: Don't explicitly set our background colors.
  6643. * TextControl.cs:
  6644. * TextBoxBase.cs: Draw readonly text.
  6645. - Need to invalidate when backcolor or readonly are changed.
  6646. 2007-03-09 Jackson Harper <[email protected]>
  6647. * TextBoxBase.cs: Don't set the forecolor until the handle is
  6648. created.
  6649. - Do not raise OnPaint, and removed some old debug code.
  6650. 2007-03-09 George Giolfan <[email protected]>
  6651. * ScrollableControl.cs: Fix mouse wheel scrolling.
  6652. 2007-03-09 Jonathan Pobst <[email protected]>
  6653. * Control.cs: Wire up MouseDoubleClick event.
  6654. 2007-03-09 Jonathan Pobst <[email protected]>
  6655. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  6656. top or bottom.
  6657. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  6658. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  6659. item is added. This logic was moved to ToolStrip.OnItemAdded.
  6660. [Fixes bug #81090]
  6661. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  6662. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  6663. 2007-03-08 Jackson Harper <[email protected]>
  6664. * TreeView.cs: Show the correct image for selected node (this used
  6665. to work, not sure how the code got deleted). Also implemented 2.0 feature
  6666. SelectedImageKey.
  6667. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  6668. * ListView.cs:
  6669. * ListViewItem.cs: Cache index in items when retrieving them
  6670. in VirtualMode.
  6671. 2007-03-08 Jonathan Pobst <[email protected]>
  6672. * ToolStripItem.cs: Don't return the explicit_size if we are using
  6673. AutoSize. Fixes invalidation issue when user has explicitly set a
  6674. size and has AutoSize = true.
  6675. 2007-03-08 Jonathan Pobst <[email protected]>
  6676. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  6677. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  6678. * DataGridView.cs: Remove event handler from DataView when a
  6679. DataTable is used as DataSource.
  6680. 2007-03-08 Jonathan Pobst <[email protected]>
  6681. * Control.cs: Create internal setter for client_size to allow it to be
  6682. set without triggering resizing code.
  6683. * Form.cs: Calculate client_size in constructor, only change client_size
  6684. in FormBorderStyle property if Handle has been created.
  6685. [Fixes #80574, #80791]
  6686. 2007-03-08 George Giolfan <[email protected]>
  6687. * SystemInformation.cs: Add TerminalServerSession.
  6688. 2007-03-07 Jonathan Pobst <[email protected]>
  6689. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  6690. TreeView code.
  6691. 2007-03-07 Jonathan Pobst <[email protected]>
  6692. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  6693. Handle before we were supposed to. Now checks ActivateOnShow property
  6694. in Control.
  6695. * Control.cs: Add internal ActivateOnShow property.
  6696. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  6697. for ActivateOnShow.
  6698. * Hwnd.cs Remove no longer needed no_activate field.
  6699. 2007-03-07 Jackson Harper <[email protected]>
  6700. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  6701. 2.0 properties
  6702. * DrawTreeNodeEventHandler.cs: Add
  6703. * DrawTreeNodeEventArgs.cs: Correct default value.
  6704. 2007-03-07 Chris Toshok <[email protected]>
  6705. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  6706. to be called before NativeWindow.WndProc. Put the HwndCreating
  6707. magic there to hook up our Hwnd's to handles.
  6708. 2007-03-07 Gert Driesen <[email protected]>
  6709. * DataGridView.cs: Comment out debug code.
  6710. 2007-03-07 Chris Toshok <[email protected]>
  6711. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  6712. to make the rest of the world happy]
  6713. * Control.cs (CreateHandle): there's no need to call
  6714. XplatUI.SetVisible here, it's effectively done by
  6715. XplatUI.CreateWindow on X now, and always was on windows.
  6716. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  6717. shortcircuit out of the loop if we have a message loop running on
  6718. this thread.
  6719. [Changelog from merge]
  6720. 2007-03-05 Chris Toshok <[email protected]>
  6721. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  6722. causes handle creation.
  6723. 2007-02-28 Chris Toshok <[email protected]>
  6724. * ApplicationContext.cs: Add a flag to make sure we only raise the
  6725. ThreadExit event once (ExitThreadCore can be indirectly called
  6726. from a few places.) I don't like the additional flag, but it
  6727. makes the event ordering/count correct.
  6728. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  6729. without locking the collection. An enumerator doesn't give us any
  6730. protection from modification anyway. Lock the thread hash and
  6731. replace the complicated enumerator loop with a foreach.
  6732. (Application.CloseForms): make internal so it can be called from
  6733. ApplicationContext. This should probably be moved to MWFThread.
  6734. (Application.ExitThread): don't call MWFThread.Current.Exit()
  6735. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  6736. when the runloop exits (in response to WM_QUIT.)
  6737. (Application.RunLoop): add a comment (and check) for
  6738. context.MainForm being null after setting context.MainForm.Visible
  6739. = true. This is because you're perfectly free to dispose of a
  6740. form in VisibilityChanged. Chalk this up to another case where we
  6741. need to synchronously generate WM_ACTIVATE from Control.Show.
  6742. Also, add handling for WM_QUIT here so we'll exit the loop.
  6743. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  6744. fact that we don't wait if we're only unmapping the whole_window
  6745. makes me a bit nervous, but it doesn't seem to cause any problems
  6746. yet.
  6747. also, add a comment about the stupid, broken and wrong resetting
  6748. of PostQuitState to false in GetMessage().
  6749. In PostQuitMessage, we need to add a WM_QUIT message to the
  6750. thread's queue. We use the FosterParent to get the right
  6751. handle/hwnd/queue.
  6752. Lastly, in SetVisible, we need to unmap both windows, since the
  6753. waiting only happens when we're unmapping the client window. So
  6754. now, the *only* time we unmap just the whole_window is in the hack
  6755. for resizing a control to 0,0.
  6756. 2007-02-21 Chris Toshok <[email protected]>
  6757. * Application.cs (CloseForms): rewrite this so that we don't
  6758. modify the list while we're traversing it.
  6759. 2007-02-20 Chris Toshok <[email protected]>
  6760. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  6761. of OnHandleCreated.
  6762. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  6763. handle is created. otherwise we'll create it here.
  6764. (VerticalScrollEvent): same here.
  6765. * Application.cs (CloseForms): call Form.Dispose, don't post
  6766. WM_CLOSE_INTERNAL.
  6767. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  6768. here. Application should Dispose() of the Form's.
  6769. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  6770. WM_DESTROY as well.
  6771. (MapWindow,UnmapWindow): only actually do the waiting for
  6772. SHOWWINDOW if the control we're dealing with is a Form.
  6773. (CreateWindow): if the control isn't a form, SendMessage
  6774. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  6775. * Control.cs (SetVisibleCore): always use is_visible here, not
  6776. value. If we use value, we can end up re-setting something
  6777. visible if, for instance, you do Control.Hide() in a delegate
  6778. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  6779. 2007-02-20 Chris Toshok <[email protected]>
  6780. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  6781. the message we need. PeekMessage returning false should not be a
  6782. condition under which we exit the loop.
  6783. 2007-02-15 Chris Toshok <[email protected]>
  6784. * Control.cs (Refresh): only refresh if we've got a handle and are
  6785. visible.
  6786. (CreateAccessibilityInstance): CreateControl() here.
  6787. (UpdateChildrenZOrder): complicate the code loop even more by
  6788. taking into account controls that haven't had their handle
  6789. created, and those that aren't visible. But on the flip side,
  6790. simplify the code by splitting it into two loops. one which
  6791. builds up the list of child controls we're interested in, and the
  6792. other that sets the z order of those children.
  6793. 2007-02-14 Chris Toshok <[email protected]>
  6794. * Control.cs: Control.AccessibilityObject causes the control to be
  6795. created, not just the handle.
  6796. 2007-02-14 Chris Toshok <[email protected]>
  6797. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  6798. problem on X where a window might have its handle created (and be
  6799. visible) while the window is unmapped. calling XConfigureWindow
  6800. on an unmapped window is bad, and generates X errors.
  6801. 2007-02-13 Chris Toshok <[email protected]>
  6802. * Control.cs (CreateHandle): don't loop over our children setting
  6803. their parent here. do it when in WndProc when we're shown.
  6804. (UpdateChildrenZOrder): make this internal so we can call it from
  6805. ScrollableControl.
  6806. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  6807. creating its handle. Also, remove the calls to PerformLayout from
  6808. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  6809. OnVisibleChanged only seems to be called directly here for the
  6810. toplevel control. It's propagated down the window hierarchy by
  6811. calls to child.OnParentVisibleChanged.
  6812. (OnVisibleChanged): don't do layout here - it's done (oddly
  6813. enough, according to a glance at stack traces on ms.net..) in
  6814. ScrollableControl.
  6815. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  6816. z order of our children before calling PerformLayout.
  6817. 2007-02-12 Chris Toshok <[email protected]>
  6818. [big change, fixes #80020]
  6819. * AccessibleObject.cs: we need to make owner internal again to fix
  6820. some of ControlAccessibleObject.
  6821. * Control.cs: lots of changes here. add support for WM_CREATE,
  6822. for which we generate OnHandleCreated. Remove the OnHandleCreated
  6823. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  6824. we create child controls. leave the MonoTODO's for the
  6825. accessibility calls, but fix the exceptions so the tests pass.
  6826. Add the InvalidOperationExceptions to Invoke methods, and remove a
  6827. couple of InvokeInternal methods we aren't using.
  6828. Also, add a couple of CreateHandle calls in places where we know
  6829. the handles are being created but our code doesn't reference
  6830. .Handle.
  6831. Make SetVisibleCore call OnVisibleChange if the handle isn't
  6832. created. If the handle is created, we rely on XplatUI.SetVisible
  6833. generating the event synchronously.
  6834. Lastly, make sure we don't use this.Handle inside CreateHandle,
  6835. because we can call back into client (and that code can dispose of
  6836. the control).
  6837. * XplatUIStructs.cs: misc/cleanup.
  6838. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  6839. although we don't populate the wParam properly.
  6840. (CreateWindow): generate WM_CREATE.
  6841. (MapWindow,UnmapWindow): make these calls synchronous, at great
  6842. performance expense (particularly in the unmap case), to match
  6843. win32 behavior.
  6844. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  6845. to call it.
  6846. (set_MdiParent): don't recreate the handle unless it's been
  6847. created already.
  6848. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  6849. it's created.
  6850. * NativeWindow.cs: this is probably the weirdest part of the
  6851. patch. We need a way to link up the window being created to the
  6852. WM_CREATE message. Since we can only be creating one window at a
  6853. time on a given thread, we keep track of a per-thread reference so
  6854. we can dispatch it properly. We also need to keep track of the
  6855. Hwnd currently being created so that the win32 backend doesn't
  6856. have problems.
  6857. * XplatUIWin32.cs: a similar change to the one we made in
  6858. NativeWindow.cs.
  6859. 2007-03-07 Jonathan Pobst <[email protected]>
  6860. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  6861. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  6862. to draw the menu shortcut string.
  6863. 2007-03-07 Jackson Harper <[email protected]>
  6864. * TreeNode.cs: Add the 2.0 collapse method.
  6865. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  6866. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  6867. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  6868. * DataGridView.cs: Change DataSource will clear column and row
  6869. lists. Call Invalidate() to reflect DataSource change.
  6870. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  6871. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  6872. and a new row is added to it.
  6873. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  6874. * DataGridView.cs: Add columns when DataSource is en empty list but
  6875. is a System.Data.DataView (from a System.Data.DataTable).
  6876. 2007-03-06 Andreia Gaita <[email protected]>
  6877. * Label.cs: Implement AutoEllipsis (2.0)
  6878. 2007-03-06 Jackson Harper <[email protected]>
  6879. * TreeView.cs: Implement 2.0 TopNode setter property.
  6880. - Use a local var instead of the skipped_nodes field for computing
  6881. how many nodes to skip. Otherwise we won't scroll because the
  6882. valuechanged handler checks if skipped_nodes is equal to the new
  6883. value.
  6884. - Implement 2.0 Sort method.
  6885. - Add useless 2.0 DoubleBuffer property
  6886. - Implement 2.0 LineColors property. Lets you change the color of
  6887. the lines in the tree. Terribly useful for creating non cohesive
  6888. desktops.
  6889. - Implement 2.0 image key feature.
  6890. 2007-03-06 Jackson Harper <[email protected]>
  6891. * TreeView.cs: We can't get the bounds of the nodes before raising
  6892. the AfterSelect event, because that event could change the node's
  6893. bounds (scrolling, font change, etc).
  6894. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  6895. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  6896. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  6897. update window styles. In CreateParams us VisibleInternal instead of
  6898. VIsible to get the actual visible flag set for this form.
  6899. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  6900. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  6901. handle the case when the form is already maximized, in which case
  6902. it should be restored. Fixes #81043.
  6903. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  6904. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  6905. 2007-03-05 Jackson Harper <[email protected]>
  6906. * TreeViewHitTestInfo.cs: implement.
  6907. 2007-03-05 Jackson Harper <[email protected]>
  6908. * InternalWindowManager.cs: class status fix.
  6909. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  6910. * InternalWindowManager.cs: All windows that have a parent
  6911. are confined to their parent when they're being moved.
  6912. Fixes #80822.
  6913. 2007-03-04 Gert Driesen <[email protected]>
  6914. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  6915. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  6916. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  6917. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  6918. buttons invisible before deciding which ones should be visible
  6919. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  6920. an unused variable.
  6921. * InternalWindowManager.cs: Remove warning.
  6922. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  6923. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  6924. to throw an InvalidOperationException is virtual mode is being used.
  6925. 2007-03-02 Jonathan Pobst <[email protected]>
  6926. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  6927. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  6928. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  6929. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  6930. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  6931. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  6932. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  6933. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  6934. driver.KeyboardDelay from XplatUI.KeyboardDelay
  6935. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  6936. (patch by Sergey Volk)
  6937. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  6938. * ToolWindowManager.cs: Added, contains logic for
  6939. tool windows.
  6940. * CreateParams.cs: Add a few helper methods and an
  6941. internal variable to know which control the CreateParams belongs
  6942. to.
  6943. * Control.cs: Call Form.ChangingParent when the
  6944. parent is about to be changed.
  6945. * XplatUIX11.cs: DeriveStyles (): Set
  6946. caption_height for all windows that have captions and are children.
  6947. Update to use ToolWindowManager instead of InternalWindowManager
  6948. for ToolWindows.
  6949. * XplatUIWin32.cs: Set fake window styles for all
  6950. windows that have window managers.
  6951. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  6952. now duplicated for mdi windows when they are
  6953. maximized, first for the buttons the window itself has, then for
  6954. the buttons that appear in the menu bar. Makes things a little
  6955. easier). Updated UpdateWindowDecorations, SetWindowState and the
  6956. mouse eventhandlers accordingly.
  6957. * Form.cs: Add ChangingParent (), contains the
  6958. logic of what should happen when the parent changes. In MdiParent
  6959. don't set things that ChangingParent () is doing. When handling
  6960. WM_CLOSE, we can close the form if there are any other modal forms
  6961. and the current form is a descendent of the modal form.
  6962. * InternalWindowManager.cs: A lot of refactoring,
  6963. the title buttons are now extracted to a separate container class
  6964. that takes care of all button code (clicks, tooltips, etc). Moved
  6965. Iconic|Maximized|Normal Bounds properties to this class from
  6966. MdiWindowManager, so that the window state logic can succeed for
  6967. other than mdi wm's. Implemented general window state change logic.
  6968. Moved CreateButtons to ThemeWin32Classic, since the theme might
  6969. override which buttons are available when as well as the exact
  6970. location.
  6971. * FormWindowManager.cs: Added, contains logic for
  6972. normal forms.
  6973. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  6974. which buttons go where (and if they are at all visible).
  6975. Removed special handling of maximized windows, since they aren't special.
  6976. In DrawManagedWindowDecorations don't try to draw the text if it is
  6977. empty.
  6978. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  6979. use whatever the wm gives us.
  6980. 2007-03-02 Jonathan Pobst <[email protected]>
  6981. * ButtonBase.cs: Add 2.0 properties.
  6982. * Button.cs: Override Draw for 2.0.
  6983. * Control.cs: Add Entered and Selected properties.
  6984. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  6985. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  6986. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  6987. buttons.
  6988. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  6989. 2007-03-01 Jonathan Pobst <[email protected]>
  6990. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  6991. 2007-03-01 Jonathan Pobst <[email protected]>
  6992. * XplatUIWin32.cs: Register a new class with Windows each time we get
  6993. a new ClassStyle. [Fixes bugs #79432, #80817]
  6994. * Controls.cs: Set the correct ClassStyle in CreateParams.
  6995. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  6996. 2007-03-01 Gert Driesen <[email protected]>
  6997. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  6998. ColumnReordered event must not be signaled when modifying DisplayIndex
  6999. of a ColumnHeader. Added internal ReorderColumns method which takes
  7000. care of drawing, and updating the internal DisplayIndex of the
  7001. ColumnHeader. Added AddColumn method which is invoked from
  7002. ColumnHeaderCollection when adding or inserting columns, and which
  7003. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  7004. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  7005. Recalculated dispay indices after removing a ColumnHeader.
  7006. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  7007. match MS. Allows last display index to be returned after ListView
  7008. is disposed. Update actual location of ColumnHeader when DisplayIndex
  7009. is modified.
  7010. 2007-03-01 Everaldo Canuto <[email protected]>
  7011. * LinkLabel.cs: Improve CalcTrimRectangle.
  7012. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  7013. 2007-02-28 Everaldo Canuto <[email protected]>
  7014. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  7015. get rectangle as a result value.
  7016. 2007-02-28 Everaldo Canuto <[email protected]>
  7017. * LinkLabel.cs: Theres some diferences between rectangle return from
  7018. MeasureCharacterRanges and the area used for DrawString to fix this
  7019. CalcMeasurementFactor method was created, it calcules the diferences
  7020. to be use later to adjust rectangle in draw operations. Fixes #80473.
  7021. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  7022. to adjust draw rectangle.
  7023. 2007-02-27 Everaldo Canuto <[email protected]>
  7024. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  7025. text and some other changes to reduce and optimize source code.
  7026. 2007-02-27 Jonathan Pobst <[email protected]>
  7027. * RadioButton.cs: Implement 2.0 event.
  7028. * RelatedImageListAttribute.cs: Implement new class.
  7029. 2007-02-27 Everaldo Canuto <[email protected]>
  7030. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  7031. 2007-02-27 Jonathan Pobst <[email protected]>
  7032. * CheckBox.cs: Implement 2.0 functionality.
  7033. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  7034. * ListView.cs: Refactor Add and AddRange methods of
  7035. ListViewItemCollection, to not update the ListView
  7036. everytime an item is added in AddRange. Also move the update
  7037. code to a new CollectionChanged method, and call it
  7038. from other methods that need it as well (this should also fix some
  7039. bugs when Sorting is used).
  7040. 2007-02-27 Jackson Harper <[email protected]>
  7041. * TextControl.cs: Try to never let the caret stay in a non-text
  7042. tag.
  7043. * TextBoxBase.cs: Update the caret.
  7044. 2007-02-26 Jonathan Pobst <[email protected]>
  7045. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  7046. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  7047. delete POINT structure, duplicate of one in XplatUIStructs.
  7048. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  7049. 2007-02-26 Gert Driesen <[email protected]>
  7050. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  7051. edit box since otherwise the Label would immediately be set (even if
  7052. the user did not modify the label). In OnKeyDown set Handled to true
  7053. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  7054. columns that are to be removed. In ListViewItemCollection unlink items
  7055. that are to be removed.
  7056. 2007-02-24 Jonathan Pobst <[email protected]>
  7057. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  7058. it when we are done. [Fixes bug #80949]
  7059. 2007-02-23 Jonathan Pobst <[email protected]>
  7060. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  7061. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7062. * ListView.cs: I forgot to commit the changes for ListView
  7063. in my previous patch.
  7064. 2007-02-23 Jonathan Pobst <[email protected]>
  7065. * Clipboard.cs: Partially implement an overload of SetDataObject.
  7066. * Form.cs: Implement ShowWithoutActivation.
  7067. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  7068. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7069. This is a first set of changes to make the Virtual mode works,
  7070. by avoiding the retrieval of ListViewItem instances until
  7071. draw time.
  7072. * ListView.cs: Store item position in the ListView instead of the
  7073. ListViewItem, this way we don't request the Bounds property of
  7074. ListViewItem inside the ListView calculations, as well as cache the item
  7075. size in item_size field. Store indexes instead of ListViewItem
  7076. instances in the matrix used by icon view. Add a ItemMatrixLocation
  7077. struct to hold the row and col info of the matrix info.
  7078. * ListViewItem.cs: Don't store the location anymore, and only cache
  7079. the rectangles for GetBounds. Use the ListView.GetItemLocation
  7080. method to retrieve the actual location.
  7081. 2007-02-23 Jonathan Pobst <[email protected]>
  7082. * TextRenderer.cs: Add clipping support, thanks to George.
  7083. [Fixes bug #80949]
  7084. 2007-02-23 Gert Driesen <[email protected]>
  7085. * ListViewItem.cs: Cancel label edit when item is removed from
  7086. ListView.
  7087. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  7088. event before the edit textbox is displayed. Added CancelEdit method
  7089. which is used end to editing while ignoring the value set by the
  7090. user. In EndEdit, set focus to ListView to avoid losing focus to
  7091. other controls. In ListViewItemCollection.Clear, cancel editing of
  7092. any of the items. In Remove, cancel editing of item being removed.
  7093. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  7094. 2007-02-23 Gert Driesen <[email protected]>
  7095. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  7096. bug #80948.
  7097. 2007-02-23 Everaldo Canuto <[email protected]>
  7098. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  7099. compatible with non X11 systems. Fixes #80901.
  7100. 2007-02-23 Gert Driesen <[email protected]>
  7101. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  7102. whether the item should be unselected and reselect. We do no want this
  7103. when we're starting to edit the label. Do not fire the
  7104. SelectedIndexChanged event from ListView when its already been fired
  7105. by modifying ListViewItem.Selected. Fixes bug #80943.
  7106. 2007-02-23 Jonathan Pobst <[email protected]>
  7107. * TextRenderer.cs: Previos commit logic was backwards.
  7108. 2007-02-23 Jonathan Pobst <[email protected]>
  7109. * TextRenderer.cs: Don't add padding on MeasureText if we were
  7110. sent the NoPadding flag.
  7111. 2007-02-23 Everaldo Canuto <[email protected]>
  7112. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  7113. after DrawButton. To prevent image overlaps button borders SetClip and
  7114. ResetClip added before and after draw image. Fixes #79129.
  7115. 2007-02-23 Everaldo Canuto <[email protected]>
  7116. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  7117. window size, it fix problem when you run under win32 that theres
  7118. Size diferent than ClientSize. Also fix controls size and positions
  7119. to mimic Win32. Fixes #80837.
  7120. 2007-02-22 Everaldo Canuto <[email protected]>
  7121. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  7122. menu area to fix some problems for non X11 systems. Fixes #80613.
  7123. 2007-02-22 Jackson Harper <[email protected]>
  7124. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  7125. even if it doesn't have any children.
  7126. 2007-02-22 Jackson Harper <[email protected]>
  7127. * TreeView.cs: Calculate the top node 'on the fly', this
  7128. eliminates issues where you need to click on the tree before
  7129. scrolling it to get the top node computed correctly.
  7130. * TreeNodeCollection.cs: We don't need to mess with the top node
  7131. anymore.
  7132. 2007-02-22 Jackson Harper <[email protected]>
  7133. * DataGridViewRow.cs: Fix typo so height can actually be set.
  7134. Patch by Peter Grimm.
  7135. 2007-02-22 Gert Driesen <[email protected]>
  7136. * FileDialog.cs: Fixed support for renaming files and directories.
  7137. * ListView.cs: Do not lose focus when edit is canceled. Process
  7138. Escape as regular key (to prevent closing of dialogs).
  7139. 2007-02-22 Gert Driesen <[email protected]>
  7140. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  7141. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  7142. 2007-02-22 Gert Driesen <[email protected]>
  7143. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  7144. did not modify label.
  7145. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  7146. modified the text. Reset Label when user presses Escape in edit mode.
  7147. Move focus to ListView after having cancelled or finished editing the
  7148. label.
  7149. 2007-02-21 Gert Driesen <[email protected]>
  7150. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  7151. private. Clear textbox when Text is set to null and SelectedIndex is
  7152. already -1.
  7153. * FileDialog.cs: Removed unnecessary initializations. Removed
  7154. workarounds for ComboBox bugs that are now fixed. Modified
  7155. DefaultExt, InitialDirectory and Title property to change null to
  7156. zero-length string in getters. Avoid directly accessing fields.
  7157. 2007-02-20 Jackson Harper <[email protected]>
  7158. * TextControl.cs: Remove RecalAlignments call, that was some
  7159. debugging leftovers.
  7160. - Don't use the line indent when we shouldn't.
  7161. * RichTextBox.cs: Add support for paragraph left indents.
  7162. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  7163. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  7164. Seems like the class status pages doesn't catch params differences.
  7165. 2007-02-19 Gert Driesen <[email protected]>
  7166. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  7167. 2007-02-19 Gert Driesen <[email protected]>
  7168. * ComboBox.cs: Setting Text should have no effect if item text of
  7169. selected item exactly matches value. First lookup text using
  7170. case-sensitive comparison, and fallback to case-insensitive comparison.
  7171. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  7172. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  7173. paramname to match MS. Restart from first item if string is not found
  7174. after startIndex. Fixed paramname of ArgumentNullException that is
  7175. thrown for null value in ObjectCollection.Contains.
  7176. 2007-02-19 Everaldo Canuto <[email protected]>
  7177. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  7178. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7179. * ListControl.cs: In SelectedValue use value.Equals to compare for
  7180. equality instead of ==, otherwise it will fail for strings.
  7181. Fixes #80794.
  7182. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7183. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  7184. since the caret won't show up unless ShowSelection is true.
  7185. Fixes #80795.
  7186. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7187. * Application.cs: When disabling all forms but the main form, do not
  7188. disable any descendants of the main form (such as mdi children or
  7189. other parented forms). Fixes #80822 on Windows.
  7190. * Form.cs: If we have a parent, set the WS_CHILD style.
  7191. * Control.cs: Update the window styles if the control whose parent has
  7192. changed is a form (the WS_CHILD style has to be switched).
  7193. 2007-02-19 Everaldo Canuto <[email protected]>
  7194. * XplatUIStructs.cs: MsgUIState structure added.
  7195. 2007-02-18 Gert Driesen <[email protected]>
  7196. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  7197. profile, do not check filename(s) for illegal character if filename(s)
  7198. were set non-interactively but always check on 1.0 profile. Fixed NRE
  7199. in DefaultExt and only strip off first leading dot. Improve exception
  7200. message when invalid Filter is set. Do not ignore InitialDirectory if
  7201. it does no exist. Store specified Title, and if empty use default
  7202. title (depending on type of dialog). Added an internal DialogTitle
  7203. property for retrieving dialog title. Fixed logic of displayed dir to
  7204. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  7205. string as its buggy.
  7206. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  7207. FileName is a zero-length string (it can never be null). Override
  7208. DialogTitle property to set default title of dialog box.
  7209. * SaveFileDialog.cs: Override DialogTitle property to set default
  7210. title of dialog box.
  7211. 2007-02-18 Gert Driesen <[email protected]>
  7212. * FileDialog.cs: Modify default text of filename and filetype labels
  7213. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  7214. after we've updated the SelectedIndex. Fixes part of bug #80887.
  7215. * SaveFileDialog.cs: Set text of filetype label.
  7216. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  7217. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  7218. label field. Needed by latest Jackson's fixes for ListView.
  7219. 2007-02-16 Andreia Gaita <[email protected]>
  7220. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  7221. print preview images.
  7222. 2007-02-16 Jackson Harper <[email protected]>
  7223. * ListView.cs: Make AfterLabelEdit work correctly.
  7224. * FileDialog.cs: After changing the name of the folder, we have to
  7225. make sure that it is created, or that we pop up an error because
  7226. it already exists.
  7227. 2007-02-16 Jackson Harper <[email protected]>
  7228. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  7229. System.String are mapped to text.
  7230. - Handle dataobjects, getting all the possible formats out of them
  7231. - We dont need the drag event args before we give feedback. This
  7232. allows feedback cursors to be immediate before selections have
  7233. been converted.
  7234. 2007-02-16 Jackson Harper <[email protected]>
  7235. * TextBoxBase.cs: Modified the method for inserting images to
  7236. taking a line and position instead of tag and position.
  7237. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  7238. into the RTF file.
  7239. * TextControl.cs: Allow images to be inserted as the first tag of
  7240. a line.
  7241. - Fix some off by one issues when we assume the first tag is a
  7242. text tag, not an image tag.
  7243. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  7244. * ListView.cs: Set focus to ListView when ItemControl gets a
  7245. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  7246. Fixes part of #80467.
  7247. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  7248. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  7249. validate Text input (if null or empty string reset Value to default
  7250. value). Fixes #80830.
  7251. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  7252. * ListView.cs: Set owner as null for columns and items when
  7253. Dispose is invoked. Fixes #80607.
  7254. 2007-02-14 Jonathan Pobst <[email protected]>
  7255. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  7256. showing DropDowns, don't show a Grip when doing Flow layout.
  7257. [This fixes the toolbox in PDN 2.72.]
  7258. * ToolStripItem.cs: Add Anchor property and some internal properties to
  7259. reduces needed changes to FlowLayout.
  7260. * ToolStripOverflow.cs: Remove unused variable.
  7261. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  7262. use it in the layout calculations.
  7263. 2007-02-13 Everaldo Canuto <[email protected]>
  7264. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  7265. reported in #79640.
  7266. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  7267. size calculation.
  7268. 2007-02-13 Everaldo Canuto <[email protected]>
  7269. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  7270. MeasureString format, it can make button very large in some cases, it is
  7271. strange but is what win32 do.
  7272. 2007-02-13 Everaldo Canuto <[email protected]>
  7273. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  7274. size calculation.
  7275. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  7276. rendering, the value is based on MenuAccessKeysUnderlined.
  7277. 2007-02-13 Everaldo Canuto <[email protected]>
  7278. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  7279. for most themes.
  7280. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  7281. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  7282. and use MenuAccessKeysUnderlined instead.
  7283. 2007-02-13 Andreia Gaita <[email protected]>
  7284. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  7285. A selected control would not get a Focus call if:
  7286. - the default active control of the container is the same as
  7287. the one that was selected
  7288. - we are switching from one container to another
  7289. Under these conditions, the container being selected already has
  7290. an active_control, which is the same as the one being activated,
  7291. so set_ActiveControl would always return and not send the Focus
  7292. call. Fix to check if the currently active control of the container
  7293. is actually focused.
  7294. 2007-02-13 Jonathan Pobst <[email protected]>
  7295. * StatusStrip.cs: Implement the spring layout.
  7296. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  7297. always matches the host.
  7298. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  7299. and TextAfterImage.
  7300. 2007-02-13 Andreia Gaita <[email protected]>
  7301. * Control.cs: Code reorganization only.
  7302. - Reorganize the WndProc cases so that each case has it's own handling method,
  7303. to help with the no-line-numbering stack traces.
  7304. - Formatting changes (it's vstudio's fault, really :p)
  7305. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  7306. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  7307. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  7308. behaviour.
  7309. 2007-02-12 Jackson Harper <[email protected]>
  7310. * RichTextBox.cs:
  7311. * TextBox.cs: By default we have a non multiline document
  7312. - use the multiline property instead of the internal variable
  7313. * TextBoxBase.cs: Treat multiline and non multiline the same in
  7314. most places.
  7315. - Use the documents multiline flag instead of tracking it ourself
  7316. * TextControl.cs: Attempt at getting multiline to match MS
  7317. behavior. Lines now track an offset, which is either their X or Y
  7318. offset depending on whether or not we are in multiline mode.
  7319. - Update all the methods to understand that lines have an X value.
  7320. - Fix crash in Undo::Duplicate when empty lines are deleted.
  7321. 2007-02-12 Everaldo Canuto <[email protected]>
  7322. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  7323. code moved to properties PreferredHeight and PreferredWidth. It solve the
  7324. all problems when preferred sizes must be recalculated. Fixes #80801.
  7325. 2007-02-12 Everaldo Canuto <[email protected]>
  7326. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  7327. font height when compatible_text_rendering is false. Partially fix #80801.
  7328. 2007-02-09 Gert Driesen <[email protected]>
  7329. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  7330. 2007-02-09 Gert Driesen <[email protected]>
  7331. * Form.cs: Improved exception messages in ShowDialog.
  7332. 2007-02-09 Gert Driesen <[email protected]>
  7333. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  7334. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  7335. if not set. Fixes bug #80764. Avoid accessing current_settings field
  7336. directly.
  7337. 2007-02-08 Everaldo Canuto <[email protected]>
  7338. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  7339. false.
  7340. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  7341. public in 2.0 and for easy maintenance and dont break compatibility it is
  7342. internal in 1.1.
  7343. 2007-02-08 Jonathan Pobst <[email protected]>
  7344. * ToolStripItem.cs: Implement using images from ImageList.
  7345. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7346. * DateTimePicker.cs: Change default date-formatting culture from
  7347. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  7348. seems to be the way MS does it.
  7349. 2007-02-08 Andreia Gaita <[email protected]>
  7350. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  7351. (the 6 was cut off on the right side)
  7352. 2007-02-08 Jonathan Pobst <[email protected]>
  7353. * Form.cs: Tell MenuStrips to close when the form is clicked.
  7354. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  7355. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  7356. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  7357. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  7358. support for Overflow, where items that do not fit are automatically
  7359. reparented to a drop down menu.
  7360. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  7361. Also: fixes bug #80747.
  7362. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7363. * ComboBox.cs: Remove warning (unused code).
  7364. * ScrollableControl.cs: Remove warning for 1.1 profile.
  7365. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7366. * Form.cs: Remove a warning.
  7367. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7368. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  7369. 'g' specifier, not documented anywhere, but seems to always show up
  7370. as a single space (might have something to do with the DateTime 'g'
  7371. specifier, which is the era format, but since DateTimePicker can't
  7372. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  7373. won't crash if the format has an unmatched quote. Now shows
  7374. single-character formats correctly. Fixes #80744.
  7375. 2007-02-08 Jonathan Pobst <[email protected]>
  7376. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  7377. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  7378. 2007-02-07 Chris Toshok <[email protected]>
  7379. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  7380. background color. it overwrites the background image we've
  7381. already painted. Fixes #80599.
  7382. 2007-02-07 Chris Toshok <[email protected]>
  7383. * DataGrid.cs: return immediately from Edit() when there are no
  7384. columns. Fixes #80662.
  7385. 2007-02-07 Chris Toshok <[email protected]>
  7386. * MessageBox.cs: fix #80625. don't always show the Help button in
  7387. 2.0. use the displayHelpButton parameter to determine if we
  7388. should show it. Also, make the internal show_help field private.
  7389. 2007-02-07 Chris Toshok <[email protected]>
  7390. * Control.cs (SetVisibleCore): check in the proposed patch for
  7391. 80604, and set is_visible before calling CreateControl.
  7392. 2007-02-07 Jonathan Pobst <[email protected]>
  7393. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  7394. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  7395. on it.
  7396. 2007-02-06 Everaldo Canuto <[email protected]>
  7397. * MenuAPI.cs: hotkey_active internal field added, it is required because
  7398. we need to know when hotkeys must be draw, before this change a keystate
  7399. Navigating was used but we can have menu in navigating state without
  7400. hotkeys. Fixes #80694.
  7401. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  7402. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  7403. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  7404. corresponding events and methods to be internal for 1.1 profile and
  7405. public for 2.0 profile (required by SizeGrip).
  7406. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  7407. implicit control list). Don't set the size nor the location of the
  7408. SizeGrip anymore as it's not needed.
  7409. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  7410. draw directly on the captured control (fixes #80656). Removed
  7411. ShowGrip (it wasn't used anywhere), redraw (always true), added
  7412. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  7413. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  7414. be called from SizeGrip.
  7415. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  7416. * Timer.cs: Throw ArgumentException if Interval <= 0.
  7417. 2007-02-05 Jackson Harper <[email protected]>
  7418. * TreeView.cs: We need to check scrollbar visibility when window
  7419. visibility is updated, because non visible trees don't ever add
  7420. scrollbars.
  7421. * Cursor.cs: We want the override cursor to be reset to NULL when
  7422. we set current cursor to the default cursor.
  7423. 2007-02-05 Jackson Harper <[email protected]>
  7424. * TextControl.cs: Don't have crlfs when we are non multiline.
  7425. - Consolidate the line position.
  7426. 2007-02-05 Jackson Harper <[email protected]>
  7427. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  7428. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  7429. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  7430. handling LeaveNotify->NotifyUngrab in order to send
  7431. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  7432. after calling XUngrabPointer, so we call WindowUngrabbed directly
  7433. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  7434. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  7435. MouseCaptureChanged correctly. Also create handles if changing
  7436. Capture (matches MS behaviour).
  7437. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  7438. * SizeGrip.cs: Make the last change 2.0 only.
  7439. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  7440. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  7441. changes to initial size (fixes #80597).
  7442. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  7443. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  7444. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  7445. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  7446. background) and only allow dragging if enabled. This way the
  7447. sizegrip can be used to fill the open square that otherwise would
  7448. have been shown in the bottom right corner of ScrollableControl
  7449. when ScrollableControl is not suppose to support sizing.
  7450. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  7451. sizegrip is shown and enabled, and hook up with necessary events.
  7452. 2007-02-01 Chris Toshok <[email protected]>
  7453. * DataGridTextBoxColumn.cs: clean up the
  7454. GetFormattedString/GetColumnValueAtRow combination of functions.
  7455. Also fix UpdateUI, and the initial state of
  7456. IsInEditOrNavigateMode.
  7457. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  7458. aren't supposed to scroll the textbox here, we're supposed to
  7459. scroll the datagrid.
  7460. 2007-02-01 Chris Toshok <[email protected]>
  7461. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  7462. setting the position.
  7463. 2007-02-01 Chris Toshok <[email protected]>
  7464. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  7465. here, since the most recent focus fixes keep us from generating
  7466. the Leave event when our textbox gets focus.
  7467. (Edit): we should be passing null for the column style's
  7468. instantText parameter.
  7469. 2007-02-01 Jonathan Pobst <[email protected]>
  7470. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  7471. raised. Fixes menu text/icons not showing up in PDN.
  7472. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  7473. * Control.cs: Remove code in constructor that makes every
  7474. control with WS_CHILD set have initial location -1, -1.
  7475. 2007-01-31 Jackson Harper <[email protected]>
  7476. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  7477. XplatUIX11.
  7478. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  7479. 2007-01-31 Jackson Harper <[email protected]>
  7480. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  7481. - Remove some debug code.
  7482. 2007-01-31 Jackson Harper <[email protected]>
  7483. * XplatUIX11.cs: If you set the override cursor during a grab, it
  7484. should actually override the grab cursor. This comes into play
  7485. when you are setting custom cursors in a DND feedback method.
  7486. 2007-01-31 Jackson Harper <[email protected]>
  7487. * X11Dnd.cs: Add support for handling the QueryContinue and
  7488. GiveFeedback events.
  7489. - Cancel drag and drop actions when the escape key is clicked.
  7490. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  7491. can handle the ESCAPE key.
  7492. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  7493. done when dnd events are continued after the button is released.
  7494. - Add a new helper method so that dnd can translate key events.
  7495. 2007-01-31 Alexander Olk <[email protected]>
  7496. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  7497. make it more obvious what is happening.
  7498. 2007-01-30 Jackson Harper <[email protected]>
  7499. * XplatUIX11.cs: Don't break when handling button release in drag
  7500. and drop operations. We need that BUTTONUP message to get through
  7501. so capture is released.
  7502. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  7503. this is handled automatically when the mouse is down.
  7504. 2007-01-30 Jackson Harper <[email protected]>
  7505. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  7506. is closed, so we need to make sure that we aren't changing the
  7507. dialog result when the OK (Open or Save) button has been clicked
  7508. and we are closing the window ourselves. Note we don't need to
  7509. worry about the cache being written in this case, because it was
  7510. already done in the previous FilOk call.
  7511. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  7512. * DateTimePicker.cs: Remove a warning.
  7513. * ComboBox.cs: Remove a couple of warnings.
  7514. 2007-01-29 Chris Toshok <[email protected]>
  7515. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  7516. set one, if SetIcon is passed a null icon.
  7517. 2007-01-29 Andreia Gaita <[email protected]>
  7518. * TextBox.cs: Redraw when the password characters changes
  7519. * TextControl.cs: Check if textbox has a password char and draw
  7520. a line of password chars instead of the text in the line. LineTag gets
  7521. an extra Draw() method which allows document.Draw to override the text
  7522. that will be drawn. Removes 1024 char limitation on length of passworded
  7523. lines.
  7524. 2007-01-29 Jackson Harper <[email protected]>
  7525. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  7526. single chars is not.
  7527. 2007-01-28 Jonathan Pobst <[email protected]>
  7528. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  7529. one pixel. Fix a StackOverflowException caused by an overload wrongly
  7530. calling itself.
  7531. 2007-01-26 Everaldo Canuto <[email protected]>
  7532. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  7533. also remove ProcessArrowKey and put the code inside ProcessKeys.
  7534. 2007-01-26 Jonathan Pobst <[email protected]>
  7535. * PaddingConverter.cs: Added.
  7536. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  7537. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  7538. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  7539. of text (fixes #80601). For panels clip the text to draw to the
  7540. panel (fixes #80603).
  7541. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  7542. * ComboBox.cs: Fixed implementation of ResetText.
  7543. 2007-01-25 Jackson Harper <[email protected]>
  7544. * TextControl.cs: For the last char of a line we need to use the
  7545. line size, not that chars width, since it won't actually be
  7546. computed since the right side of a char is based on the start of
  7547. the left side of the next char, and the next char does not exist.
  7548. 2007-01-25 Chris Toshok <[email protected]>
  7549. * Splitter.cs: fix the new unit tests, and reindent some switch
  7550. statements.
  7551. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  7552. * ComboBox.cs: Implemented 2.0 methods and events.
  7553. * TextBoxBase.cs: Added OnTextUpdate, so that
  7554. ComboBox.ComboTextBox can inform ComboBox of it.
  7555. 2007-01-25 Jackson Harper <[email protected]>
  7556. * TextControl.cs: Respect ShowSelection when deciding whether or
  7557. not to display the caret, this allows comboboxes to have carets
  7558. when the combotextbox does not have focus.
  7559. 2007-01-25 Jackson Harper <[email protected]>
  7560. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  7561. same as the Suspend/Resume for recalc, except this will do actual
  7562. Invalidates.
  7563. - New Undo manager, works much like the MS version.
  7564. - Implemented Redo
  7565. * TextBoxBase.cs: The Cut operation is undoable.
  7566. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  7567. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  7568. on Windows (no difference on Linux).
  7569. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  7570. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  7571. we don't want to activate any windows. Fixes #79433.
  7572. 2007-01-25 Jonathan Pobst <[email protected]>
  7573. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  7574. [Fixes bug #80609]
  7575. 2007-01-25 Alexander Olk <[email protected]>
  7576. * FileDialog.cs:
  7577. - Move to using System.ComponentModel.EventHandlerList
  7578. - Replace Refresh with Invalidate
  7579. - Clear the mime filecache on closing
  7580. - Some other memory reducing work. After beeing closed FD now uses
  7581. only about 300 KB for the fdo mime stuff plus the memory of the
  7582. cached icons.
  7583. * Mime.cs: Changed coding style and removed unnecessary commented
  7584. code. Some more memory memory reducing work.
  7585. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  7586. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  7587. a few other missing 2.0 properties.
  7588. * Theme.cs: Added DrawFlatStyleComboBox.
  7589. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  7590. 2007-01-24 Chris Toshok <[email protected]>
  7591. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  7592. wake_waiting flag, not just when there's data to be read. if we
  7593. don't, then future wakeup's won't reach us and we'll be doomed to
  7594. wait for the entire 1 second timeout forever (unless there are X
  7595. events to be had).
  7596. 2007-01-24 Jonathan Pobst <[email protected]>
  7597. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  7598. until you pass Items.Count, not Items.Count - 1 like 1.1.
  7599. 2007-01-24 Gert Driesen <[email protected]>
  7600. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  7601. 2007-01-24 Jonathan Pobst <[email protected]>
  7602. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  7603. adding the panels in the wrong order.
  7604. 2007-01-24 Jackson Harper <[email protected]>
  7605. * TextBoxBase.cs: When we move the caret we also need to move the
  7606. selection, this fixes some random crashing after doing select
  7607. text, unselect, delete a char, paste.
  7608. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  7609. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  7610. 2007-01-23 Everaldo Canuto <[email protected]>
  7611. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  7612. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  7613. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  7614. 2007-01-23 Everaldo Canuto <[email protected]>
  7615. * ToolBar.cs:
  7616. - Implement support for vertical toolbars. Fixes #80539;
  7617. - Call LayoutToolBar when resize, it fix some other problems in layout.
  7618. - Rename requested_height to requested_size, as we can have width on it
  7619. when toolbar is vertical.
  7620. - Create a private property "Vertical" that uses Dock to verify when
  7621. toolbar is vertical or not.
  7622. - Set ControlStyles when change Dock property.
  7623. - Refactory in LayoutToolBar to have better variables names and to support
  7624. vertical toolbars.
  7625. - Fixes default value for ButtonSize when button count is equal zero, size
  7626. must be (39, 36) test case writed.
  7627. 2007-01-23 Chris Toshok <[email protected]>
  7628. * Control.cs: fix the checks so that they work correctly for mdi
  7629. parents/children.
  7630. 2007-01-23 Chris Toshok <[email protected]>
  7631. * Control.cs: ControlCollection seems to have super-secret
  7632. abstraction breaking knowledge of Mdi containers. allow MdiClient
  7633. to add toplevel controls.
  7634. 2007-01-23 Chris Toshok <[email protected]>
  7635. * Control.cs: throw an ArgumentException if a toplevel control is
  7636. added to our control collection from ControlCollection.Add, as
  7637. well as from ControlCollection.IList.Add. This fixes the
  7638. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  7639. Also, in ControlCollection.IList.Add, don't through an
  7640. ArgumentNullException, throw an ArgumentException, when value ==
  7641. null. This matches MS.
  7642. 2007-01-23 Chris Toshok <[email protected]>
  7643. * BindingSource.cs: initial, incomplete, implementation of
  7644. BindingSource.
  7645. 2007-01-23 Jackson Harper <[email protected]>
  7646. * TextControl.cs:
  7647. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  7648. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  7649. 2007-01-23 Everaldo Canuto <[email protected]>
  7650. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  7651. 2007-01-23 Andreia Gaita <[email protected]>
  7652. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  7653. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  7654. IndexOfKey() for 2.0
  7655. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  7656. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  7657. to prevent it from changing z-order.
  7658. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  7659. leave UI updates in MdiWindowManager.
  7660. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  7661. 1 sized (NC handling goes weird on Linux otherwise).
  7662. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  7663. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  7664. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  7665. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  7666. and SetWindowState(s) to allow for changing the size of an activated child
  7667. before activating it (reduces a lot of flicker).
  7668. 2007-01-22 Jonathan Pobst <[email protected]>
  7669. * Form.cs: Changing FormBorderStyle has different semantics based
  7670. on whether the Form is visible or not. If not visible, don't change
  7671. the Size. But InvalidateNC needs to be called to force the window
  7672. to pick up the changes and redraw itself. [Fixes bug #80574]
  7673. 2007-01-22 Jonathan Pobst <[email protected]>
  7674. [Moma work]
  7675. * ContainerControl.cs: ProcessCmdKey.
  7676. * ErrorProvider.cs: new constructor.
  7677. * Form.cs: fix AutoValidateEvent compiler warning.
  7678. * Label.cs: fix OnAutoSizeChanged compiler warning.
  7679. * MenuStrip.cs: fix CanOverflow compiler warning.
  7680. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  7681. * TextBox.cs: Dispose.
  7682. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  7683. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  7684. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  7685. * ToolStripItem.cs: Overflow, RightToLeft properties.
  7686. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  7687. * Form.cs: Move the layout of the main form to MdiWindowManager.
  7688. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  7689. do a layout of the main window to update MdiClient's client area to
  7690. the right area. Fixes #80533. Remove the calculation of nc size,
  7691. it was just wrong and the correct one is the same as for
  7692. InternalWindowManager.
  7693. 2007-01-20 Jonathan Pobst <[email protected]>
  7694. * Control.cs: Setting Anchor or Dock needs to reset the other
  7695. to its default. [Fixes bug #80556]
  7696. 2007-01-20 Chris Toshok <[email protected]>
  7697. * CheckedListBox.cs: class status changes.
  7698. * ScrollableControl.cs: same.
  7699. * RichTextBox.cs: same.
  7700. * ContainerControl.cs: same.
  7701. * ListView.cs: same.
  7702. * NotifyIcon.cs: same.
  7703. * MenuStrip.cs: same.
  7704. * RadioButton.cs: same.
  7705. * CheckBox.cs: same.
  7706. * PrintPreviewDialog.cs: same.
  7707. * Form.cs: same.
  7708. 2007-01-19 Jonathan Pobst <[email protected]>
  7709. * TreeNode.cs: Apply Alan's patch for Name property.
  7710. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  7711. * Form.cs: Implemented SizeGripStyle.
  7712. * SizeGrip.cs: Check for minimum and maximum size for the
  7713. control being resized and only resize if size has actually
  7714. changed.
  7715. 2007-01-19 Chris Toshok <[email protected]>
  7716. * DataGridColumnStyle.cs: stop setting _readonly in the
  7717. PropertyDescriptor setter. fixes a unit test failure.
  7718. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  7719. just consult our table style (if we have one). We don't need to
  7720. consult the datagrid readonly attribute because that's passed in
  7721. as the _ro arg to Edit. this simplifies things a little.
  7722. * DataGrid.cs: use CurrentColumn instead of
  7723. current_cell.ColumnNumber just to simplify some of the code.
  7724. switch the order of some things in the CurrentCell setter to keep
  7725. the previous cell from getting a textbox again -
  7726. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  7727. So we need to set the new cell before calling it.
  7728. call Edit in OnEnter, as does Microsoft.
  7729. also, make sure the current table style isn't the one we create
  7730. initially when checking to see if it's different than the one
  7731. we're setting it to in BindColumns (this fixes #80421).
  7732. * GridTableStylesCollection.cs: table styles can have "" for a
  7733. mapping name. part of the fix for #80421.
  7734. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  7735. Edit significantly.
  7736. 2007-01-18 Jonathan Pobst <[email protected]>
  7737. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  7738. and less GDI object leaky-er.
  7739. 2007-01-18 Andreia Gaita <[email protected]>
  7740. * LinkLabel.cs: Add opaque control style
  7741. 2007-01-18 Jackson Harper <[email protected]>
  7742. * TextControl.cs: Calculate width properly.
  7743. - Don't store the tag's X offset, this can be figured out very
  7744. easily.
  7745. - When getting the caret tag make sure to get the last empty tag.
  7746. 2007-01-18 Jonathan Pobst <[email protected]>
  7747. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  7748. [Fixes bug #79959]
  7749. * Control.cs: Color.Empty shouldn't count for previous transparent
  7750. redraw changes.
  7751. 2007-01-18 Jackson Harper <[email protected]>
  7752. * TextBox.cs:
  7753. * RichTextBox.cs:
  7754. * TextControl.cs: Starting to merge in some pieces of my older
  7755. undo work. Basically just some slight cleanup of the undo API.
  7756. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  7757. * TrackBar.cs: Fix signature of RightToLeftLayout.
  7758. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  7759. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  7760. * Application.cs: Implemented UseWaitCursor.
  7761. 2007-01-18 Jackson Harper <[email protected]>
  7762. * TextControl.cs: We can't skip tags if any part of the tag is
  7763. visible.
  7764. 2007-01-18 Jonathan Pobst <[email protected]>
  7765. * ContainerControl.cs: Override OnLayout.
  7766. 2007-01-18 Jonathan Pobst <[email protected]>
  7767. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  7768. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  7769. everything else.
  7770. 2007-01-18 Chris Toshok <[email protected]>
  7771. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  7772. (leftover from the container_selected days, I'd wager). fixes bug
  7773. #80546.
  7774. 2007-01-18 Jonathan Pobst <[email protected]>
  7775. * Control.cs: Apply patch from George to fix the new testcase on
  7776. bug #80451. We can't just check for Color.Transparent, we need
  7777. to check if the back color's alpha channel is < 255.
  7778. 2007-01-18 Jonathan Pobst <[email protected]>
  7779. * Form.cs: Move setting show_icon = true to before the constructor
  7780. so that the base constructor has that information when it calculates
  7781. the form's size. Was causing forms to be (6, 6) bigger than they
  7782. were supposed to be. Thanks for catching this Rolf!
  7783. 2007-01-18 Jackson Harper <[email protected]>
  7784. * TextControl.cs: When replacing a selection we need to invalidate
  7785. from the initial selection start, because selection start is moved
  7786. to the end of the replacement.
  7787. 2007-01-18 Andreia Gaita <[email protected]>
  7788. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  7789. 2007-01-18 Chris Toshok <[email protected]>
  7790. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  7791. I just added.
  7792. 2007-01-17 Everaldo Canuto <[email protected]>
  7793. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  7794. layout methods and properties from ToolBarButton must be available
  7795. into ToolBarButtonInfo.
  7796. 2007-01-17 Jonathan Pobst <[email protected]>
  7797. * Control.cs: If the control has a transparent background, we
  7798. need to refresh it when it moves and when it's parent's background
  7799. image changes. [Fixes bug #80451]
  7800. 2007-01-17 Jonathan Pobst <[email protected]>
  7801. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  7802. 2007-01-17 Jonathan Pobst <[email protected]>
  7803. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  7804. [Fixes bug #80447, and probably speeds up things as well]
  7805. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  7806. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  7807. * XplatUIWin32.cs: We need to recalculate NC size after changing
  7808. window style to toolwindow (otherwise the client rectangle will be
  7809. 3 pixels to small for some reason).
  7810. * MdiWindowManager.cs: Revert NC size calculations to match how
  7811. they are calculated only based on window styles (to match
  7812. Win32AdjustWindowRectEx, since otherwise when setting size or
  7813. location, Control will call Win32AdjustWindowRectEx to update client
  7814. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  7815. calculate a different value of client size causing another paint
  7816. (and flickering))
  7817. * InternalWindowManager.cs: When moving or resizing a window only
  7818. update size or location if they actually changed.
  7819. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  7820. (seems to match Windows behaviour better). Cleaned up
  7821. ManagedWindowDecorations to draw what's needed and nothing else
  7822. (was drawing borders and lines where they shouldn't be)
  7823. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  7824. (style = 0xFFFF) and takes into account caption height when
  7825. calculating window rectangle.
  7826. 2007-01-16 Everaldo Canuto <[email protected]>
  7827. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  7828. can be added to toolbar multiple times, we need to maintain a list of
  7829. button information for each positions.
  7830. 2007-01-16 Everaldo Canuto <[email protected]>
  7831. * ToolBar.cs: Some small stetic changes.
  7832. 2007-01-16 Jackson Harper <[email protected]>
  7833. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  7834. that allow us to have nested recalc = false blocks.
  7835. - Add paste support for images in the RichTextBox
  7836. * RichTextBox.cs: flush the text after the color is changed, so
  7837. the change takes effect.
  7838. - Use SuspendRecalc
  7839. - Some extra debugging info
  7840. * TextControl.cs: Tags no longer track their length, it is just
  7841. computed from the next tags length, this makes things a little
  7842. simpler and reduces places that we have to track length changes.
  7843. - Refactored the linetag class a little so we could make it
  7844. a base class for different kinds of tags
  7845. - Created a image tag, a tag that can have a single image inserted
  7846. into it
  7847. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  7848. that we can call suspend multiple times.
  7849. - Add some debugging methods
  7850. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  7851. * MdiClient.cs: Add ActivatePreviousChild for
  7852. mdi child window navigation.
  7853. * Form.cs: Use MdiClient.ActivateNextChild/
  7854. ActivatePreviousChild instead of Form.SelectNextControl
  7855. to select the next/previous child since
  7856. SelectNextControl doesn't do it in the same order
  7857. as mdi children should do it.
  7858. 2007-01-16 Chris Toshok <[email protected]>
  7859. * Control.cs: remove container_selected field.
  7860. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  7861. * MdiClient.cs: Update main form's ActiveChild when
  7862. updating keyboard focus for the mdi child.
  7863. 2007-01-16 Jonathan Pobst <[email protected]>
  7864. * Control.cs: PreferredSize fix.
  7865. * Form.cs: Add several 2.0 events, properties, and methods.
  7866. 2007-01-16 Gert Driesen <[email protected]>
  7867. * Form.cs: Provide meaningful message when MdiParent is assigned a
  7868. Form that is not an MdiContainer.
  7869. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  7870. * MdiClient.cs: Update main form's ActiveChild when
  7871. activating a mdi child.
  7872. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  7873. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  7874. doesn't have a menu.
  7875. * Form.cs: Request NCRecalc after creating a mdi child window.
  7876. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  7877. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  7878. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  7879. sends keyboard focus to the active child, or to the MdiClient
  7880. if there are no child forms.
  7881. 2007-01-15 Chris Toshok <[email protected]>
  7882. * ListView.cs: drop the *Internal overrides, just do our work in
  7883. ItemControl's WndProc instead.
  7884. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  7885. of the various controls, and forward the events properly (in the
  7886. same manner as MS) from the textbox to the UpDown. Also the
  7887. ActiveControl of the UpDownBase gets set properly now. Finally,
  7888. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  7889. * NumericUpDown.cs: set Text in the ctor.
  7890. * DomainUpDown.cs: call UpdateEditText in the ctor.
  7891. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  7892. so even a Selectable = false textbox can be focused if you click
  7893. in it. Go figure.
  7894. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  7895. just add their handling in their respective WndProc's. Also add
  7896. an explicit FocusInternal method that doesn't consult CanFocus
  7897. before calling Select(this).
  7898. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  7899. do our work in WndProc instead.
  7900. * TabControl.cs: same.
  7901. * ComboBox.cs: same.
  7902. 2007-01-15 Everaldo Canuto <[email protected]>
  7903. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  7904. Fixes #80006.
  7905. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  7906. * ListViewItem.cs:
  7907. * ThemeWin32Classic.cs: Don't draw the item text outside
  7908. item bounds in Details view, as well as use trimming.
  7909. Fixes bug #80376.
  7910. 2007-01-15 Jonathan Pobst <[email protected]>
  7911. * Form.cs: Implement Form.ShowIcon.
  7912. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  7913. null, which when combined with the DlgModalFrame window style removes
  7914. the icon from the title bar.
  7915. 2007-01-15 Jonathan Pobst <[email protected]>
  7916. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  7917. 2007-01-15 Everaldo Canuto <[email protected]>
  7918. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  7919. menu when mdi child windows theres a menu, uses insert to get icon
  7920. at first position. Partially fix #80006.
  7921. 2007-01-15 Jonathan Pobst <[email protected]>
  7922. * Clipboard.cs: Implement 2.0 methods.
  7923. 2007-01-15 Everaldo Canuto <[email protected]>
  7924. * Menu.cs: Implement Insert method of MenuItemCollection class
  7925. to fix MenuMerge.
  7926. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  7927. * ListView.cs: Implement 2.0 FindItemWithText method.
  7928. 2007-01-11 Everaldo Canuto <[email protected]>
  7929. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  7930. to calculate menu bar size. Fixes #80290.
  7931. 2007-01-11 Everaldo Canuto <[email protected]>
  7932. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  7933. 2007-01-11 Chris Toshok <[email protected]>
  7934. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  7935. initial form.
  7936. 2007-01-11 Chris Toshok <[email protected]>
  7937. * LinkLabel.cs: make sure to call base.Select in our Select method
  7938. if it turns out we're going to be selected (i.e. if we have a link
  7939. that is going to receive focus). That way our container's
  7940. ActiveControl is updated properly.
  7941. 2007-01-11 Chris Toshok <[email protected]>
  7942. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  7943. they have 1 or more links. this fixes the crash gert reported.
  7944. 2007-01-11 Andreia Gaita <[email protected]>
  7945. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  7946. anymore.
  7947. * Control.cs (Controls.Add): Check if control to be added to the collection
  7948. is a top level control, and throw an ArgumentException if it is.
  7949. Remove ContainerSelectedFlag, not needed anymore.
  7950. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  7951. top most control doesn't activate the form. This fixes a problem in the
  7952. MessageBox, where the default button wouldn't get focus because the form
  7953. was activated before being Loaded - when the Owner is set, SetTopMost is
  7954. called, and it would activate it.
  7955. 2007-01-11 Jonathan Pobst <[email protected]>
  7956. * Button.cs: When clicked and setting the parent form's DialogResult,
  7957. use FindForm instead of Parent, since parent could be a container
  7958. control and not the Form. Fixes bug #80495.
  7959. 2007-01-10 Chris Toshok <[email protected]>
  7960. * Form.cs: move the call to SendControlFocus into the same
  7961. is_loaded check.
  7962. 2007-01-10 Chris Toshok <[email protected]>
  7963. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  7964. It breaks in the face of the new ActiveControl stuff, and should
  7965. be unnecessary.
  7966. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  7967. activecontrol's focus if it's not already set, after we set
  7968. ActiveControl, but before we call OnActivated. Re-fixes #79667
  7969. after the previous focus/active control fixes regressed it.
  7970. * Control.cs: reindent some code.
  7971. 2007-01-10 Chris Toshok <[email protected]>
  7972. * Splitter.cs: clearing some outstanding changes from my tree.
  7973. Replace all accesses (not writes) to the internal dock_style field
  7974. with the Dock property.
  7975. 2007-01-10 Chris Toshok <[email protected]>
  7976. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  7977. FireValidated virtual.
  7978. * Form.cs: override and don't chain up calls to FireEnter and
  7979. FireLeave.
  7980. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  7981. * ListView.cs: Add more text padding space when using
  7982. auto resize for columns (the previous value didn't work fine).
  7983. * ThemeWin32Classic.cs: Update text position inside columns,
  7984. to match the appeareance of .Net.
  7985. * ColumnHeader.cs: When using auto resize, only the Width should
  7986. depend on the sub items, not the Height. Also, set width after
  7987. auto resizing (the value of Width should never remain as -1 or -2).
  7988. 2007-01-10 Chris Toshok <[email protected]>
  7989. * Application.cs: fix compilation errors when debug is enabled.
  7990. 2007-01-10 Chris Toshok <[email protected]>
  7991. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  7992. add some nice ascii art pictures and explanation of the process).
  7993. (GetMostDeeplyNestedActiveControl): new utility function we need
  7994. because our ActiveControl can refer to a child container with its
  7995. own ActiveControl.
  7996. * Form.cs (OnActivated): remove the call to SelectActiveControl
  7997. from here, since you can override this method and not chain up,
  7998. and winforms still sets the active control.
  7999. (OnCreateControl): also remove the unnecessary SelectActiveControl
  8000. call from here.
  8001. (WndProc): it's actually called from the WM_ACTIVATE block, just
  8002. before calling OnActivated.
  8003. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  8004. inside the else. the ActiveControl setter will end up setting
  8005. focus on @control. This keeps us from setting it again (and
  8006. generating an extra LostFocus/GotFocus pair).
  8007. (Select (bool, bool)): reindent.
  8008. 2007-01-10 Jonathan Pobst <[email protected]>
  8009. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  8010. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  8011. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  8012. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8013. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  8014. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  8015. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  8016. ToolStripTextBox.cs: Another wave of corcompare work.
  8017. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8018. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  8019. the Width property.
  8020. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  8021. methods by callling Column.AutoResize method on columns.
  8022. 2007-01-09 Jonathan Pobst <[email protected]>
  8023. * Control.cs: Provide proper implementations of PreferredSize
  8024. and GetPreferredSize (2.0).
  8025. 2007-01-09 Jonathan Pobst <[email protected]>
  8026. * Form.cs: Remove one character (!) to make my previous OnClosing
  8027. stuff work for modal windows like MessageBox.
  8028. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8029. * ListView.cs:
  8030. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  8031. ListView.Columns to get the last displayed column. Fixes #80452.
  8032. 2007-01-09 Everaldo Canuto <[email protected]>
  8033. * Label.cs, LinkLabel.cs: Source code identation fixes.
  8034. 2007-01-08 Everaldo Canuto <[email protected]>
  8035. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  8036. we dont need to invalidate only borders because when we invalidate four
  8037. border lines the invalidate's generates a complete redraw of button,
  8038. because it now invalidate a complete rect some other redraws operations
  8039. are fixed. Fixes #80196.
  8040. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  8041. Remove ToolBarInvalidateEntireButton as it is not used.
  8042. 2007-01-08 Jonathan Pobst <[email protected]>
  8043. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  8044. called for 2.0 profile.
  8045. * CloseReason.cs: Make class internal for 1.1.
  8046. 2007-01-08 Jonathan Pobst <[email protected]>
  8047. * ToolStripManager.cs: Implement FindToolStrip functionality.
  8048. * ToolStrip.cs: Register and unregister with ToolStripManager.
  8049. 2007-01-07 Jonathan Pobst <[email protected]>
  8050. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  8051. to ArrangedElementCollection. Implemented this with as few #if's as
  8052. possible (which is still too many).
  8053. 2007-01-07 Jonathan Pobst <[email protected]>
  8054. * Control.cs: Implement SizeFromClientSize() [2.0].
  8055. 2007-01-07 Everaldo Canuto <[email protected]>
  8056. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  8057. use Theme.BorderSize to calculate area instead of static value 1,
  8058. by the way use new BorderStaticSize instead Border3DSize when
  8059. border_static is true. Fixes #79537.
  8060. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  8061. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  8062. it is not needed.
  8063. 2007-01-06 Everaldo Canuto <[email protected]>
  8064. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  8065. 2007-01-06 Everaldo Canuto <[email protected]>
  8066. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  8067. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  8068. * Hwnd.cs:
  8069. - border_static field added, it will used to define when a control
  8070. theres 3D border but it must be static (thin).
  8071. - In GetWindowRectangle use Theme.BorderSize to calculate area
  8072. instead of static value 1, by the way use new BorderStaticSize instead
  8073. Border3DSize when border_static is true.
  8074. * XplatUIX11.cs, XplatUIOSX.cs:
  8075. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  8076. * Theme.cs: BorderStaticSize field added.
  8077. 2007-01-05 Everaldo Canuto <[email protected]>
  8078. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  8079. 2007-01-05 Everaldo Canuto <[email protected]>
  8080. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  8081. mimic same behavior than win32 that set border only in CreateParams,
  8082. it fix problems under CreateParams overrides. Fix #79442 and partial
  8083. fix #79537.
  8084. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  8085. of thi control you must call recreate handle.
  8086. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  8087. need to do anything as RecreateHangle will take care about borders.
  8088. 2007-01-05 Mike Kestner <[email protected]>
  8089. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  8090. cycles between the ItemControl and parent. Fixes #80388.
  8091. 2007-01-05 Gert Driesen <[email protected]>
  8092. * Control.cs: Lazy init layout engine. Do not directly use
  8093. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  8094. 2007-01-05 Chris Toshok <[email protected]>
  8095. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  8096. unless our list manager has changed (i.e. unless we have reason to
  8097. believe our columns have changed). Fixes #80422.
  8098. also, disable the call do BindColumns in
  8099. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  8100. 1.1 the event isn't raised in response to a column addition on a
  8101. table.)
  8102. 2007-01-05 Jonathan Pobst <[email protected]>
  8103. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  8104. that inheritors can not call it if they choose. Fixes bug #80456.
  8105. 2007-01-05 Andreia Gaita <[email protected]>
  8106. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  8107. doesn't blow up with a null exception on marshalling.
  8108. 2007-01-05 Jonathan Pobst <[email protected]>
  8109. * Control.cs: Implement several 2.0 protected properties and methods.
  8110. Ensure that all necessary events are being called when properties
  8111. are set.
  8112. 2007-01-05 Mike Kestner <[email protected]>
  8113. * ListView.cs: implement PgUp/PgDn for Details view. Also
  8114. fixes First/LastVisibleIndex to use the item_control.ClientRect
  8115. instead of the parent control. Fixes #80378.
  8116. 2006-01-05 Atsushi Enomoto <[email protected]>
  8117. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  8118. determine whether to use yard-pound or not (bug #78399).
  8119. 2006-01-04 Alexander Olk <[email protected]>
  8120. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  8121. problems. So it is time to bring back the old popupbutton colors.
  8122. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  8123. * ColumnHeader.cs:
  8124. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  8125. property by using the internal information of the
  8126. columns order in ListView.
  8127. 2007-01-04 Jonathan Pobst <[email protected]>
  8128. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  8129. Add 2.0 Tag properties.
  8130. * LinkArea.cs: Add 2.0 ToString method.
  8131. 2007-01-03 Chris Toshok <[email protected]>
  8132. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  8133. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  8134. when we're editing, which fixes #80047.
  8135. 2007-01-03 Chris Toshok <[email protected]>
  8136. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  8137. #80404.
  8138. 2007-01-03 Jonathan Pobst <[email protected]>
  8139. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  8140. property and implementation.
  8141. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  8142. for MdiWindowListItem property.
  8143. * ToolStripDropDown.cs: Don't consider hidden menu items while
  8144. laying out the menu.
  8145. 2007-01-03 Andreia Gaita <[email protected]>
  8146. * SendKeys.cs: window handle is not needed in win32, so just
  8147. get the active window for X after parsing keys and don't use
  8148. it when building the message; it is passed by parameter to the
  8149. Xplat method and used there to build the message instead. Also,
  8150. wait for events to be processed on SendWait, as opposed to Send,
  8151. which doesn't wait :) Playing with threads and Send() completely
  8152. hangs on ms.net, only SendWait() works.
  8153. XplatUIX11.cs
  8154. X11Display.cs: Check for valid window handle.
  8155. 2007-01-03 Jackson Harper <[email protected]>
  8156. * TextControl.cs: Need to prevent wrap calculations when replacing
  8157. text (this was there before i removed it accidently).
  8158. - Don't update the cursor during the positioning, just set it to
  8159. selection_start at the end of the operaion.
  8160. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8161. * Control.cs:
  8162. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  8163. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8164. * MonthCalendar.cs: Added Click and DoubleClick events again,
  8165. but this time they only hide Control's Click and DoubleClick.
  8166. 2007-01-03 Gert Driesen <[email protected]>
  8167. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  8168. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  8169. 2007-01-02 Jackson Harper <[email protected]>
  8170. * TextBoxBase.cs: We move the caret with the split now, so we
  8171. don't need to explicitly move the caret after splitting. This
  8172. fixes the caret bumping down an extra line on Enter.
  8173. 2007-01-02 Miguel de Icaza <[email protected]>
  8174. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  8175. 2.72).
  8176. * ScrollableControl.cs: Add Scroll event.
  8177. 2007-01-02 Mike Kestner <[email protected]>
  8178. * ListView.cs: one more try with help from [email protected]
  8179. to fix all hdr height padding codepaths. Fixes #80207.
  8180. 2007-01-02 Chris Toshok <[email protected]>
  8181. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  8182. setting it to the Control defaults anyway, and it being after the
  8183. Dock set was screwing up layout.
  8184. (set_Dock): don't short circuit out of setting base.Dock. Also,
  8185. no need to call UpdateStatusBar here, as it'll be re-layed out if
  8186. it needs to be.
  8187. 2007-01-02 Mike Kestner <[email protected]>
  8188. * ListView.cs: patch from [email protected] to add padding
  8189. to header height for width == -1. Fixes the rest of #80207.
  8190. 2007-01-02 Mike Kestner <[email protected]>
  8191. * ListView.cs: rework the mouse event forwarding everaldo added
  8192. to translate the coordinates to the parent control not
  8193. raise the parent events until after we've done our work. Hover
  8194. needs more work, in the case where HoverSelection is on, because
  8195. the item control receives more than one MouseHover per Enter
  8196. event, so we need to ensure only the "first" hover gets forwarded.
  8197. Opening a minor bug for that.
  8198. 2007-01-02 Gert Driesen <[email protected]>
  8199. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  8200. * ListControl.cs: Implemented AllowSelection property. Removed extra
  8201. tabs.
  8202. * ListBox.cs: Implemented AllowSelection property.
  8203. 2007-01-02 Everaldo Canuto <[email protected]>
  8204. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  8205. SelectedItem, it prevent for errors when you must disable item
  8206. before perform click. Fixes #80409.
  8207. 2007-01-02 Everaldo Canuto <[email protected]>
  8208. * MenuAPI.cs: Prevent second level and beyond submenus to close
  8209. until first level when move out side of popup.
  8210. 2007-01-02 Everaldo Canuto <[email protected]>
  8211. * MenuAPI.cs:
  8212. - Down submenu positin in three pixels.
  8213. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  8214. 2007-01-02 Everaldo Canuto <[email protected]>
  8215. * ThemeWin32Classic.cs:
  8216. - Fix popup menu size adding one pixel on the top.
  8217. - Down menu item border from two to one to mimic Win32.
  8218. - Some source identation fixes.
  8219. 2007-01-01 Everaldo Canuto <[email protected]>
  8220. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  8221. position of menu arrows, it fix wrong arrow size.
  8222. 2007-01-01 Everaldo Canuto <[email protected]>
  8223. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  8224. instead of line, it simplify draw operation and fix it using 3D
  8225. borders to mimic Win32.
  8226. 2007-01-01 Jonathan Pobst <[email protected]>
  8227. * StatusStrip.cs: Add implementation of the sizing grip.
  8228. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  8229. StatusStrip rendering.
  8230. 2006-12-31 Chris Toshok <[email protected]>
  8231. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  8232. override the layout style (anchor/dock) of the control. assign to
  8233. Dock instead. Fixes bug #80416.
  8234. * ToolStrip.cs: same.
  8235. 2006-12-31 Andreia Gaita <[email protected]>
  8236. * ContainerControl.cs: Use ContainerSelected flag to check if
  8237. a Container is directly selected, or if Select is called on a
  8238. non-container. If a container is directly selected, focus events
  8239. should not be raised.
  8240. Apply #80411 patch to throw exception on set_ActiveControl if
  8241. control is the same as the current one.
  8242. * Control.cs: Use ContainerSelected flag (see above).
  8243. Add invalidation check to raise event but not invalidate if
  8244. dimensions are 0.
  8245. Apply #80411 patch.
  8246. 2006-12-31 Everaldo Canuto <[email protected]>
  8247. * MenuAPI.cs: After click, dont close popup menu when menu is
  8248. ContextMenu. Fixes #80399.
  8249. 2006-12-30 Chris Toshok <[email protected]>
  8250. * ContainerControl.cs: make sure we throw the exception if the
  8251. container control doesn't contain the control we're setting
  8252. ActiveControl to.
  8253. 2006-12-30 Chris Toshok <[email protected]>
  8254. * Control.cs (SetTopLevel): fix the exception raised by
  8255. SetTopLevel for child controls.
  8256. (set_Anchor): call UpdateDistances when setting the anchor type.
  8257. This fixes bug #80336.
  8258. 2006-12-29 Gert Driesen <[email protected]>
  8259. * Theme.cs: For now, revert back to 8pt font.
  8260. 2006-12-29 Everaldo Canuto <[email protected]>
  8261. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  8262. Fixes #80395.
  8263. 2006-12-29 Chris Toshok <[email protected]>
  8264. * Control.cs: reorder the code in OnResize to give the same event
  8265. ordering as MS.
  8266. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  8267. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  8268. TileHorizontally and TileVertically.
  8269. 2006-12-29 Alexander Olk <[email protected]>
  8270. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  8271. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  8272. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  8273. Corrected copyright and email adress.
  8274. 2006-12-29 Gert Driesen <[email protected]>
  8275. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  8276. of Exception in FullPath property if no TreeView is associated with
  8277. the TreeNode.
  8278. 2006-12-29 Gert Driesen <[email protected]>
  8279. * Theme.cs: Marked default_font as private, and initialize it in ctor
  8280. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  8281. on 2.0 profile.
  8282. * ThemeGtk.cs: Removed default_font intialization.
  8283. * ThemeWin32Classic.cs: Removed default_font initialization.
  8284. 2006-12-28 Chris Toshok <[email protected]>
  8285. * Control.cs: fix a couple of place where we were creating handles
  8286. more aggressively than we should be. Fixes ControlRefresh unit
  8287. tests.
  8288. 2006-12-28 Chris Toshok <[email protected]>
  8289. * Control.cs: contrary to what the comment said, Control.Dock does
  8290. not supercede Control.Anchor - the last one you assign to decides
  8291. the layout behavior. so we need to keep track of which was the
  8292. last set. Also, fix some of the affected property arguments in
  8293. PerformLayout calls, and remove an redundant parent.PerformLayout
  8294. call in OnResized.
  8295. Add a VisibleInternal property, which returns is_visible. We
  8296. can/should get rid of all the usage of this field elsewhere.
  8297. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8298. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  8299. control style, not DoubleBuffer. Added UseDoubleBuffering property
  8300. that indicates whether doublebuffering is enabled and supported.
  8301. (comment from and code based on Gert Driesen's patch in #80324).
  8302. Fixes #80324.
  8303. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8304. * Control.cs: Fixed a NRE.
  8305. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8306. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  8307. for 2.0.
  8308. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8309. * Control.cs: Rewrote double buffering, now a seperate
  8310. class handles all the buffering, no Graphics is disposed of
  8311. until the painting is finished (earlier implementation
  8312. would crash if the control was resized in the OnPaint,
  8313. since it would cause the double buffer to be recreated
  8314. and the old one disposed), a separate Graphics is
  8315. created for every paint (MS behaviour and anyways the state
  8316. of the Graphics would have to be saved and restored otherwise)
  8317. * XplatUIDriver.cs:
  8318. * XplatUIX11.cs:
  8319. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  8320. so that we can get the graphics for the back buffer without
  8321. having to create a new one and remove the offscreen_dc parameter
  8322. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  8323. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  8324. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  8325. Also make virtual all the key-related methods.
  8326. * ListViewItem.cs: Make virtual the key related methods for
  8327. ListViewSubItemCollection.
  8328. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  8329. * ListView.cs:
  8330. * ListViewItem.cs:
  8331. * ThemeWin32Classic.cs:
  8332. * Theme.cs: Initial support for Tile view in ListView,
  8333. as well as the implementation of the required bits for it (Item
  8334. and Subitem).
  8335. 2006-12-27 Gert Driesen <[email protected]>
  8336. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  8337. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  8338. Provide useful exception messages.
  8339. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  8340. * TrackBar.cs: Remove a warning.
  8341. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  8342. when used by DateTimePicker, fixes #80287. This also requires that
  8343. MonthCalendar implements it's own drawing for the yearly updown control,
  8344. otherwise the Capture tracking would be too complicated. Removed the Click
  8345. and DoubleClick events (according to comments they were hiding the base class
  8346. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  8347. raise these events, not that they cannot be raised. It is possible to raise
  8348. them by calling OnClick and OnDoubleClick). Added two internal fields in
  8349. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  8350. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  8351. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  8352. event, no longer needed.
  8353. 2006-12-27 Gert Driesen <[email protected]>
  8354. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  8355. true if new value differs from current value.
  8356. 2006-12-27 Gert Driesen <[email protected]>
  8357. * Control.cs: ControlCollection.Count must be public. Fixed build of
  8358. unit tests.
  8359. 2006-12-27 Gert Driesen <[email protected]>
  8360. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  8361. 2006-12-27 Gert Driesen <[email protected]>
  8362. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  8363. 2006-12-26 Everaldo Canuto <[email protected]>
  8364. * Control.cs: Invalidates control including when Width and Height is
  8365. equal zero or is not visible, only Paint event must be care about
  8366. this. Fixes #79913.
  8367. 2006-12-26 Chris Toshok <[email protected]>
  8368. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  8369. more corcompare work.
  8370. * DataGridView.cs: fix compiler warning.
  8371. * ColumnHeader.cs: some corcompare work, and also take the
  8372. opportunity to make the internal fields private.
  8373. * ListView.cs: fix the fallout from the above field change.
  8374. 2006-12-26 Jonathan Pobst <[email protected]>
  8375. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  8376. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  8377. ToolStripTextBox.cs: Fixes to events and corcompare.
  8378. 2006-12-26 Everaldo Canuto <[email protected]>
  8379. * ListView.cs: Call owner.OnMousexx event to propagate events from
  8380. item to ListView. Fixes #80367.
  8381. 2006-12-26 Gert Driesen <[email protected]>
  8382. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  8383. if value is less than one. ItemHeight should not be set to a value
  8384. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  8385. Removed extra tabs.
  8386. 2006-12-26 Jonathan Pobst <[email protected]>
  8387. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  8388. * ToolStripStatusLabel.cs: Add Spring for Moma.
  8389. 2006-12-26 Gert Driesen <[email protected]>
  8390. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  8391. Fixed code formatting. Removed debug code.
  8392. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  8393. 2006-12-26 Gert Driesen <[email protected]>
  8394. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  8395. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  8396. ArgumentOutOfRangeException if ColumnCount is negative. In
  8397. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  8398. less than 4 or higher than 32768.
  8399. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  8400. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  8401. Fixed IsFormatProviderDefault to return true if FormatProvider has
  8402. not been explicitly set.
  8403. 2006-12-25 Chris Toshok <[email protected]>
  8404. * Application.cs: add a couple of 2.0 events.
  8405. 2006-12-25 Chris Toshok <[email protected]>
  8406. * Control.cs: fix compiler warning.
  8407. * AxHost.cs: corcompare fixes.
  8408. * ApplicationContext.cs: corcompare fixes.
  8409. 2006-12-25 Chris Toshok <[email protected]>
  8410. * Control.cs: only update dist_right/dist_bottom if the
  8411. width/height is > 0. this fixes anchored controls being resized
  8412. smaller until they disappear and then resized larger again.
  8413. 2006-12-25 Chris Toshok <[email protected]>
  8414. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  8415. since they're nothing more than X/Left and Y/Top, respectively.
  8416. Also, move back to a per-control Bitmap/Graphics for
  8417. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  8418. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  8419. Height.
  8420. 2006-12-25 Miguel de Icaza <[email protected]>
  8421. * MessageBox.cs: Implemented overload that takes a new "bool
  8422. displayHelpButton" by adding a new internal field "show_help".
  8423. When clicked this will raise the HelpRequested on the owner or the
  8424. main form.
  8425. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  8426. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  8427. * ListView.cs: Add support ColumnWidthChanged and
  8428. ColumnWidthChanging.
  8429. Add support for ColumnReordered event.
  8430. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  8431. reorder.
  8432. Very nice codebase!
  8433. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  8434. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  8435. 2006-12-24 Chris Toshok <[email protected]>
  8436. * GridTablesFactory.cs: 2.0 corcompare work.
  8437. * ToolStripContainer.cs: add "override" to
  8438. ContextMenuStripChanged, and remove the local event object.
  8439. * ToolStripDropDown.cs: same with a couple properties.
  8440. * ToolStripPanel.cs: same with AutoSizeChanged event.
  8441. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  8442. * Form.cs: add the remaining 2.0 events, and do some corcompare
  8443. attribute work.
  8444. * DateTimePicker.cs: add "new" to padding.
  8445. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  8446. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  8447. * DataGridView.cs: PaddingChanged is overridden.
  8448. 2006-12-24 Chris Toshok <[email protected]>
  8449. * Control.cs: corecompare work here too.
  8450. * DataGridViewElement.cs, DataGridView.cs,
  8451. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  8452. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  8453. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  8454. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  8455. work.
  8456. 2006-12-24 Miguel de Icaza <[email protected]>
  8457. * Control.cs: Switched the error message on the console for a
  8458. todo. A review of the code will have to cope with this anyways
  8459. (since its a large feature, it is in our radar) and it was
  8460. producing too much output when running PDN.
  8461. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  8462. changes. Applications depend on this (PDN 2.72)
  8463. 2006-12-23 Chris Toshok <[email protected]>
  8464. * TableLayoutSettings.cs: finish up the corcompare work for this
  8465. class.
  8466. 2006-12-23 Chris Toshok <[email protected]>
  8467. * Control.cs: make SetImplicitBounds internal, do some futzing
  8468. with LayoutEngine so that it's available in 1.1, and remove the
  8469. entire duplicated code mess from PerformLayout. Use
  8470. System.Windows.Forms.Layout.DefaultLayout instead.
  8471. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  8472. 2006-12-23 Jonathan Pobst <[email protected]>
  8473. * Form.cs: Add MainMenuStrip property.
  8474. 2006-12-23 Jonathan Pobst <[email protected]>
  8475. * Control.cs: Add ContextMenuStrip property and implementation.
  8476. Fix ContextMenu implementation to show menu centered on control when
  8477. activated using the keyboard instead of showing at screen (0,0).
  8478. * ToolStripDropDown.cs: Fix needed overload of Show ().
  8479. 2006-12-23 Everaldo Canuto <[email protected]>
  8480. * Menu.cs: Name property added for 2.0 profile.
  8481. 2006-12-23 Everaldo Canuto <[email protected]>
  8482. * Menu.cs: Update information about FindMenuItem, method to be
  8483. implemented soon.
  8484. 2006-12-23 Everaldo Canuto <[email protected]>
  8485. * MenuAPI.cs: When deselect items deselect also selected subitems.
  8486. 2006-12-23 Everaldo Canuto <[email protected]>
  8487. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  8488. FindSubItemByCoord to found itens that is not active, also an
  8489. cheking added to FindSubItemByCoord to search for items only
  8490. in visible popup windows. Fixes #80274.
  8491. 2006-12-22 Everaldo Canuto <[email protected]>
  8492. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  8493. internal property, it be care about change ExStyle.
  8494. 2006-12-22 Andreia Gaita <[email protected]>
  8495. * ContainerControl.cs: set activeControl for parent forms up the
  8496. tree when the new activecontrol is a container.
  8497. When validating the active control, if it is a container, also
  8498. raise up the validation for it's active control. Fixes #80280
  8499. * Control.cs: Add internal property flag and check to prevent
  8500. Focus events from getting raised when Select() is called for
  8501. a ContainerControl. There are still too many focus events being
  8502. raised at the moment though.
  8503. Cleaned up the code a bit.
  8504. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  8505. * Control.cs: Added all missing 2.0 events.and
  8506. fixed a couple of corcompare issues.
  8507. * TrackBar.cs: Implemented missing 2.0 bits.
  8508. * MonthCalendar.cs,
  8509. * DateTimePicker.cs,
  8510. * MdiClient.cs: Fixed some corcompare issues.
  8511. 2006-12-21 Jonathan Pobst <[email protected]>
  8512. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  8513. SplitterPanel.cs: corecompare work.
  8514. 2006-12-21 Jonathan Pobst <[email protected]>
  8515. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  8516. Clean up warnings for BackgroundImageChanged and PaddingChanged
  8517. events now that they are implemented in Control.cs.
  8518. 2006-12-21 Jonathan Pobst <[email protected]>
  8519. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  8520. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  8521. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  8522. of TableLayoutPanel and supporting cast.
  8523. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  8524. * XplatUIWin32.cs:
  8525. - GrabWindow now confines the mouse pointer to the confine window.
  8526. - Added Win32ClipCursor and Win32GetClipCursor.
  8527. * Control.cs:
  8528. - Added CaptureWithConfine to be able to capture and confine
  8529. mouse pointer.
  8530. * InternalWindowManager.cs:
  8531. - Call CaptureWithConfine instead of Capture if we're an
  8532. MdiChild (fixes #79982).
  8533. 2006-12-21 Chris Toshok <[email protected]>
  8534. * DataGrid.cs: guard against the initial state of selection, where
  8535. selection_start == -1. make sure we only select from index >= 0.
  8536. Fixes bug #80291.
  8537. 2006-12-21 Chris Toshok <[email protected]>
  8538. * Control.cs: we don't need to be so draconian with
  8539. UpdateDistances, and we thusly don't need to call it before
  8540. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  8541. 2006-12-21 Daniel Nauck <[email protected]>
  8542. * ComboBox.cs,
  8543. TextBox.cs: Implemented AutoComplete properties.
  8544. 2006-12-20 Chris Toshok <[email protected]>
  8545. * DataGridView*.cs: some corecompare work.
  8546. 2006-12-20 Jackson Harper <[email protected]>
  8547. * XplatUIX11.cs: We need to hide the caret when deleting it,
  8548. otherwise you get carets left lying around everywhere.
  8549. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  8550. prevents getting some weird half drawn caret tracers when
  8551. scrolling.
  8552. * TextControl.cs: Attempt to reduce the number of times we need to
  8553. recreate the caret.
  8554. 2006-12-20 Gert Driesen <[email protected]>
  8555. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  8556. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  8557. * DateTimePicker.cs:
  8558. - Implemented missing 2.0 bits.
  8559. - Changed some default values to match MS.
  8560. 2006-12-20 Jackson Harper <[email protected]>
  8561. * TextBoxBase.cs: When changing the font across the document we
  8562. can't recalculate after changing each line, since that will cahnge
  8563. the line count.
  8564. - PreferredHeight is a little different than i thought.
  8565. - When backspacing, move the caret before we do the actual char
  8566. delete, because when that delete crosses a wrap boundary the
  8567. positional information will change.
  8568. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  8569. * Control.cs: Added some missing 2.0 bits:
  8570. BackgroundImageLayout, BackgroundImageLayoutChanged,
  8571. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  8572. add IBindableComponent and IDropTarget implementation.
  8573. * MonthCalendar.cs:
  8574. - Added all missing 2.0 features:
  8575. BackgroundImageLayout, RightToLeftLayout,
  8576. OnHandleDestroyed, RightToLeftLayoutChanged,
  8577. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  8578. PaddingChanged.
  8579. - Rewrote all the BoldDate code, it was completely broken.
  8580. - Fixed all the tests (the tests can now be re-enabled, the
  8581. problems were not with the tests, but with the control, it was
  8582. mostly broken).
  8583. * DateTimePicker.cs: Changed the location where the
  8584. MonthCalendar is shown.
  8585. 2006-12-19 Chris Toshok <[email protected]>
  8586. * DataGridView.cs: add IDropTarget implementation.
  8587. * ToolStripPanel.cs: add IDropTarget implementation.
  8588. 2006-12-19 Jackson Harper <[email protected]>
  8589. * TextControl.cs: soft now means something different than what it
  8590. used to mean, we want to move the caret regardless of whether or
  8591. not this break was soft (would we really have wanted the caret
  8592. to not move with the break in the old context?)
  8593. * TreeView.cs: Make sure we factor in the vert scrollbar when
  8594. calculating the horizontal scrollbar's maximum.
  8595. 2006-12-19 Andreia Gaita <[email protected]>
  8596. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  8597. check for keywords in alternate casing, close bug #80049.
  8598. 2006-12-19 Chris Toshok <[email protected]>
  8599. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  8600. methods (which all do nothing).
  8601. * IDropTarget.cs: add the 4 missing methods.
  8602. 2006-12-19 Chris Toshok <[email protected]>
  8603. * TableLayoutRowStyleCollection.cs: corcompare work.
  8604. * TableLayoutSettings.cs: same.
  8605. * TableLayoutStyle.cs: same.
  8606. * TableLayoutColumnStyleCollection.cs: same.
  8607. 2006-12-19 Jonathan Pobst <[email protected]>
  8608. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  8609. TableLayoutPanel I've had in my local tree for way too long.
  8610. 2006-12-19 Miguel de Icaza <[email protected]>
  8611. * TableLayoutSettings.cs: Finish the public API (still needs all
  8612. the logic to update on changes).
  8613. * TableLayoutPanelCellPosition.cs: new file.
  8614. * TableLayoutRowStyleCollection.cs,
  8615. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  8616. TableLayoutSettings.cs: Track the final 2.0 table api.
  8617. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  8618. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  8619. and Image List 2.0 members for ColummnHeader.
  8620. * ListView.cs: Add key-related 2.0 methods for
  8621. ColumnHeaderCollection.
  8622. 2006-12-19 Gert Driesen <[email protected]>
  8623. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  8624. ArgumentNullException if items argument is null. Ignore null item in
  8625. arrays. Removed extra tabs.
  8626. 2006-12-19 Gert Driesen <[email protected]>
  8627. * MonthCalendar.cs: Fixed InvalidCastException.
  8628. 2006-12-19 Jackson Harper <[email protected]>
  8629. * TextControl.cs: Don't increment the position here.
  8630. - When calculating char positions only add in the line break size
  8631. for hard line breaks.
  8632. 2006-12-19 Andreia Gaita <[email protected]>
  8633. * SendKeys.cs: Changed some things to match ms.net behaviour
  8634. when parsing shifted capital letters.
  8635. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  8636. Add window handle as parameter to SendInput. X11 needs the
  8637. window handle, and the handle being passed to it in the keys
  8638. queue is the active control handle (which windows needs), not
  8639. the window handle.
  8640. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  8641. to support SendKeys on X.
  8642. * X11Keyboard: Implement helper method to lookup a linux keycode
  8643. given the virtual keycode. Added table of keycode-2-virtualkey
  8644. values to support this.
  8645. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  8646. * ListView.cs: Add support for SelectedIndexCollection
  8647. and SelectedItemCollection 2.0 methods. Implement support
  8648. for ImageKey too.
  8649. * ListViewItem.cs: Add support for ListViewSubItemCollection
  8650. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  8651. (it shouldn't call Clear).
  8652. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  8653. 2006-12-19 Jackson Harper <[email protected]>
  8654. * RichTextBox.cs:
  8655. * TextBoxBase.cs: New args for FormatText
  8656. * TextControl.cs: Rewrote the main drawing method, this version
  8657. feels a little easier to understand and debug to me. Hopefully it
  8658. does to others also
  8659. - Fix FormatText to OR in the new formating values. Added
  8660. FormatSpecified param, basically this works in the same way as
  8661. BoundsSpecified in Control.
  8662. - Set the caret properties when the caret is positioned.
  8663. - When wrapping text make sure that we calculate the width of the
  8664. last character
  8665. - when calculating alignments we might have wrapped down to the
  8666. next line, so don't search for an individual tag, search for the
  8667. end of the line
  8668. - We need to invalidate the selection area when we replace the
  8669. selection.
  8670. 2006-12-19 Daniel Nauck <[email protected]>
  8671. * Application.cs: add Restart () 2.0 support
  8672. 2006-12-18 Everaldo Canuto <[email protected]>
  8673. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  8674. property. Fixes #80268.
  8675. 2006-12-18 Everaldo Canuto <[email protected]>
  8676. * MenuAPI.cs: Dont trigger select event when closes top menu
  8677. item. Fixes #80270.
  8678. 2006-12-18 Everaldo Canuto <[email protected]>
  8679. * MenuAPI.cs: When you click on menuitem only trigger onselect
  8680. event for top menu itens. Fixes #80271.
  8681. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  8682. * MdiWindowManager.cs: Make IconicBounds depend on
  8683. the bottom of MdiClient, not the top (fixes #80267)
  8684. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  8685. * MdiClient.cs: Added missing 2.0 attribute
  8686. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  8687. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  8688. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  8689. 2006-12-18 Everaldo Canuto <[email protected]>
  8690. * MenuAPI.cs: Fix click when menuitem is not popup,
  8691. this regression was caused by last commit (#80272).
  8692. 2006-12-17 Everaldo Canuto <[email protected]>
  8693. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  8694. fire click event or close menu. Fixes #80272.
  8695. 2006-12-17 Daniel Nauck <[email protected]>
  8696. * ListViewHitTestInfo.cs: add
  8697. 2006-12-17 Daniel Nauck <[email protected]>
  8698. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  8699. * FlatButtonAppearance.cs: add
  8700. * DockingAttribute.cs: add
  8701. 2006-12-17 Chris Toshok <[email protected]>
  8702. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  8703. and rebind our columns when it does - this way, if you make
  8704. changes to the DataTable (or set the Table attribute on a DataView
  8705. after setting it as the DataGrid's DataSource, the changes are
  8706. made visible.) Fixes bug #80107.
  8707. 2006-12-17 Daniel Nauck <[email protected]>
  8708. * ListViewGroup.cs: add internal Location property for layouting.
  8709. * Theme.cs: add abstract ListViewGroupHeight function.
  8710. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  8711. 2006-12-16 Andreia Gaita <[email protected]>
  8712. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  8713. Added reset of selected index to 0 when adding first tab page.
  8714. Fixes #80264
  8715. * NumericUpDown.cs: Fix NET_2_0 check
  8716. 2006-12-16 Daniel Nauck <[email protected]>
  8717. * ListViewGroup.cs: fixed DefaultValueAttribute value
  8718. 2006-12-16 Daniel Nauck <[email protected]>
  8719. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  8720. 2006-12-15 Miguel de Icaza <[email protected]>
  8721. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  8722. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  8723. ScrollableControl.cs: Add a handful of methods that are
  8724. overwritten in 2.0
  8725. 2006-12-15 Chris Toshok <[email protected]>
  8726. * XplatUIWin32.cs: initial implementation of the Reversible
  8727. drawing functions. there are some problems. DrawReversibleFrame
  8728. doesn't seem to work at all for Dashed FrameStyle, and in the
  8729. Thick case there are drawing errors at the corners (we probably
  8730. need to bind Rectangle instead of doing moveto/lineto's.)
  8731. 2006-12-16 Andreia Gaita <[email protected]>
  8732. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  8733. to send blocks of key messages. Send accumulates keys to send with Flush,
  8734. while SendWait sends all keys immediately.
  8735. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8736. XplatUIX11.cs, XplatUIX11-new.cs:
  8737. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  8738. to Win32 SendInput.
  8739. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  8740. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  8741. testing for ms.net on this class is very tricky, as the tests run too fast
  8742. to allow the hook to release, essentially freezing the keyboard and the
  8743. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  8744. category :p
  8745. 2006-12-16 Daniel Nauck <[email protected]>
  8746. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  8747. added missing attributes.
  8748. 2006-12-15 Daniel Nauck <[email protected]>
  8749. * ListViewGroup.cs: Added missing attributes.
  8750. * ListViewGroupCollection.cs: Added missing attributes.
  8751. 2006-12-15 Daniel Nauck <[email protected]>
  8752. * ListViewItem.cs: fixed ListViewSubItem text property.
  8753. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  8754. * Control.cs: Added missing 2.0 attributes
  8755. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  8756. * MdiClient.cs: Added missing 2.0 attribute.
  8757. * MonthCalendar.cs: Added some missing 2.0 attributes
  8758. and properties.
  8759. 2006-12-15 Daniel Nauck <[email protected]>
  8760. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  8761. 2006-12-15 Jonathan Pobst <[email protected]>
  8762. * MainMenu.cs: Add the new 2.0 constructor to help out people
  8763. using the MainMenu in VS2005.
  8764. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  8765. * MdiChildContext.cs: Removed it, no longer used.
  8766. * MdiClient.cs: Added missing 2.0 attributes.
  8767. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  8768. * InternalWindowManager.cs: Fix a NullRef with previous
  8769. changes for toolwindows.
  8770. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  8771. * Control.cs:
  8772. - Added AfterTopMostControl to allow for certain controls
  8773. to always stay on top when normal controls are brought to
  8774. front.
  8775. * XplatUIWin32.cs:
  8776. - (DrawInversibleRectangle): Get window rectangle from Win32
  8777. in stead of from control, since Win32 doesn't calculate
  8778. screen coords correctly from control's Location if it
  8779. have docked siblings.
  8780. * MdiWindowManager.cs:
  8781. - Correct the control menu popup location when clicked on
  8782. the maximized form icon. (fixes #80223.1)
  8783. - Don't show moving rectangle if mouse hasn't moved from
  8784. the original clicked point.
  8785. - Removed FormGotFocus handler (not used).
  8786. - Calculate the control buttons location from the main
  8787. window's size and not client size (fixes #79770).
  8788. - Form is now closed when the form icon is double-clicked
  8789. (fixes #79775).
  8790. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  8791. * InternalWindowManager.cs:
  8792. - Moved some MDI-only methods to MdiWindowManager.
  8793. - Removed unused properties and methods.
  8794. - Unified method naming for methods handling wm messages.
  8795. - Moved all message handling to seperate methods for
  8796. each message.
  8797. * ThemeWin32Classic.cs:
  8798. - DrawManagedWindowDecorations now draws the title bar
  8799. with a gradient brush.
  8800. - Add a CPDrawButtonInternal that allows us to specify
  8801. light, normal and dark colors for the buttons (control
  8802. buttons for MDI children were drawn with the same light
  8803. color as the background, therefore loosing the 3D effect).
  8804. * SizeGrip.cs:
  8805. - Add a CapturedControl property that is used to
  8806. determine the control to resize (defaults to parent).
  8807. Needed for MdiClient, since its SizeGrip's parent is
  8808. MdiClient, but the control to resize is the main form.
  8809. * MdiClient.cs:
  8810. - Set SizeGrip's CapturedControl to the main form in order
  8811. to resize the main form and not the MdiClient.
  8812. - Override AfterTopMostControl to leave the scrollbars
  8813. always on top.
  8814. 2006-12-15 Daniel Nauck <[email protected]>
  8815. * ListView.cs: fixed ListViewItemCollection AddRange and
  8816. implemented ListViewItemCollection AddRange 2.0 support.
  8817. 2006-12-15 Daniel Nauck <[email protected]>
  8818. * ListViewGroup.cs: Add.
  8819. * ListViewGroupCollection.cs: Add
  8820. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  8821. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  8822. stub for ImageKey 2.0 support.
  8823. 2006-12-14 Mike Kestner <[email protected]>
  8824. * ListView.cs: add text padding to the autocalculation for columns
  8825. of width -2. Fixes #80207.
  8826. 2006-12-14 Mike Kestner <[email protected]>
  8827. * ListView.cs: add some index guarding for partial row navigation
  8828. logic. Fixes #80250.
  8829. 2006-12-14 Mike Kestner <[email protected]>
  8830. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  8831. are added or inserted to the collection. Fixes #81099.
  8832. 2006-12-13 Everaldo Canuto <[email protected]>
  8833. * MenuAPI.cs: Closes menu when right click out side of popup
  8834. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  8835. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  8836. * ListViewItem.cs: Fix dumb error.
  8837. * ListView.cs: Add Find and ContainsKey methods in
  8838. ListViewItemCollection, and also return true for IsReadOnly
  8839. and IsFixedSize (changes for 2.0).
  8840. 2006-12-13 Gert Driesen <[email protected]>
  8841. * Control.cs: Allow Region to be set to null.
  8842. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  8843. * MdiWindowManager.cs: Remove unused (commented out) code.
  8844. * Form.cs: When the MdiChild is maximized, the form needs
  8845. WM_NCMOUSELEAVE, so request it.
  8846. * InternalWindowManager.cs:
  8847. - Added tooltips to control buttons.
  8848. - Removed duplicated control button handling code.
  8849. - Removed unused (commented out) code.
  8850. 2006-12-12 Everaldo Canuto <[email protected]>
  8851. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  8852. was used because we must set cursor without trigger ChangeCursor event
  8853. and without change Cursor control property. Fixes #79963.
  8854. 2006-12-12 Andreia Gaita <[email protected]>
  8855. * Control.cs: Check if Region setter value is null, and ignore
  8856. 2006-12-12 Jackson Harper <[email protected]>
  8857. * TextControl.cs: We were almost always drawing one more line then
  8858. needed, since the GetLineByPixel will return the last line found
  8859. at that pixel. In most cases though, we were invalidating up to
  8860. the junction between two lines.
  8861. - Improve debug code.
  8862. 2006-12-12 Chris Toshok <[email protected]>
  8863. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  8864. and FillReversibleRectangle.
  8865. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  8866. and FillReversibleRectangle.
  8867. * XplatUIWin32.cs: add stubs which do nothing for
  8868. DrawReversibleFrame, DrawReversibleLine, and
  8869. FillReversibleRectangle.
  8870. * XplatUIOSX.cs: add stubs which raise NIE for
  8871. DrawReversibleFrame, DrawReversibleLine, and
  8872. FillReversibleRectangle.
  8873. * XplatUIX11.cs: add working implementation for
  8874. DrawReversibleFrame, DrawReversibleLine, and
  8875. FillReversibleRectangle.
  8876. * ControlPaint.cs: implement DrawReversibleFrame,
  8877. DrawReversibleLine, and FillReversibleRectangle, by calling into
  8878. the appropriate XplatUI method.
  8879. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  8880. * Form.cs: Make MdiClient have the focus even if it's
  8881. not selectable, since it should receive WM_KEY* and WM_MOUSE
  8882. messages. Fixes #79907.
  8883. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  8884. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  8885. queried after the window is created.
  8886. * XplatUIX11.cs: Added SendParentNotify to implement
  8887. WM_PARENTNOTIFY logic. Fixes #79965.
  8888. * Control.cs: Added MakeParam.
  8889. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  8890. * MdiClient.cs: Resume Layout before setting window
  8891. states (fixes #80201).
  8892. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  8893. * MenuAPI.cs: Deselect a menu item after performing
  8894. the click (fixes #80197).
  8895. 2006-12-11 Jackson Harper <[email protected]>
  8896. * TextBoxBase.cs: We need to cap this value, since Maximum -
  8897. ViewPortHeight can be less than zero.
  8898. - Only do selection with the left mouse button.
  8899. * TextBox.cs: Don't tell the world that we have a context menu.
  8900. * Control.cs: New method so that we can control whether or not the
  8901. context menu is visible outside MWF.
  8902. 2006-12-11 Everaldo Canuto <[email protected]>
  8903. * ToolBarButton.cs: Fix text positon.
  8904. 2006-12-11 Miguel de Icaza <[email protected]>
  8905. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  8906. * Control.cs (DoubleBuffered): Add implementation.
  8907. * Application.cs (OpenForms): Add.
  8908. 2006-12-11 Jonathan Pobst <[email protected]>
  8909. * Form.cs: Use opacity instead of Opactiy to determine if we need
  8910. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  8911. 2006-12-11 Jonathan Pobst <[email protected]>
  8912. * Control.cs: Fix NRE if Control.Site was set to null.
  8913. 2006-12-11 Chris Toshok <[email protected]>
  8914. * Control.cs: ControlCollection.Remove should return if the arg is
  8915. null, and ControlCollection.SetChildIndex should raise a ANE.
  8916. 2006-12-11 Gert Driesen <[email protected]>
  8917. * Control.cs: Verify value set for Dock property. Code formatting
  8918. updates.
  8919. 2006-12-11 Jackson Harper <[email protected]>
  8920. * TextControl.cs: Draw the caret and the selection when a flag is
  8921. set on the owner.
  8922. * TextBoxBase.cs: We want to draw the caret and the selection for
  8923. TextBox but not for TextBoxBase.
  8924. - If the window is resized and scrolling is no longer needed (the
  8925. whole doc is visible) set the scroll position to zero.
  8926. - The default SelectWord (the one TextBox uses) should move the
  8927. caret to the end of the word.
  8928. - SelectAll moves the caret to the end of the selection.
  8929. * TextBox.cs: We don't selectall on focus, we just do it when the
  8930. control is created.
  8931. 2006-12-11 Mike Kestner <[email protected]>
  8932. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  8933. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  8934. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  8935. 2.0 support.
  8936. * ListViewItem.cs: Add Name 2.0 property.
  8937. 2006-12-11 Andreia Gaita <[email protected]>
  8938. * TabControl.cs: Set visibility on selected or default tab
  8939. when tabcontrol handle is created, so that it's contents
  8940. actually show up (duh). Fixes #80193
  8941. Don't redraw the control if there is no handle created, as
  8942. the selected index might be completely invalid. Added some tests
  8943. to check for this.
  8944. 2006-12-11 Everaldo Canuto <[email protected]>
  8945. * ToolBar.cs: Uses maximun width and height of all buttons as
  8946. button rectangle when ButtonSize specified, it looks strange but
  8947. is what happens in Win32. Fixes #80189.
  8948. 2006-12-11 Jackson Harper <[email protected]>
  8949. * TextControl.cs: Need to track undo levels ourself, since
  8950. compound actions will mess them up.
  8951. 2006-12-10 Andreia Gaita <[email protected]>
  8952. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  8953. SelectedIndex value is changed (even if it's not valid).
  8954. Reset SelectedIndex to 0 when the handle is created and if
  8955. the current index is invalid.
  8956. Fixes SelectdeIndex unit tests and #80128
  8957. 2006-12-08 Chris Toshok <[email protected]>
  8958. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  8959. calls EndEdit, it needs to be called before we set current_cell to
  8960. its new value. Otherwise, we end up committing the value in the
  8961. textbox to the new cell as well. Fixes bug #80160.
  8962. 2006-12-08 Chris Toshok <[email protected]>
  8963. * Form.cs (set_CancelButton): if the button's DialogResult is
  8964. None, set it to Cancel. Fixes bug 80180.
  8965. 2006-12-08 Jackson Harper <[email protected]>
  8966. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  8967. to watch ourselves when setting the canvas size and setting the
  8968. scrollbar values.
  8969. 2006-12-08 Chris Toshok <[email protected]>
  8970. * DataGrid.cs: comment out the two MakeTransparent calls for the
  8971. time being so people using trunk (and not 1.2.2) on windows can
  8972. actually use the datagrid. This deals with bug #80151.
  8973. 2006-12-08 Jonathan Pobst <[email protected]>
  8974. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  8975. Graphics.DrawImage (image, int, int, int, int) overload instead
  8976. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  8977. the dpi difference and was blurring images it drew.
  8978. [Fixes bug #79960]
  8979. 2006-12-08 Chris Toshok <[email protected]>
  8980. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  8981. rowcnt is 0 (such as with an empty datasource), and make sure we
  8982. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  8983. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  8984. 2006-12-08 Chris Toshok <[email protected]>
  8985. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  8986. grid.
  8987. 2006-12-08 Chris Toshok <[email protected]>
  8988. [ Fixes bug #80167 ]
  8989. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  8990. style is FlatStyle.System.
  8991. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  8992. ButtonBase.flat_style private, and switch uses of it to the public
  8993. property.
  8994. 2006-12-08 Chris Toshok <[email protected]>
  8995. [ Fixes bug #80121 ]
  8996. * ThemeWin32Classic.cs: center the caption text in the datagrid
  8997. when we draw it.
  8998. * DataGrid.cs: lessen the amount we add to the caption height from
  8999. 6 to 2. 6 was making it huge.
  9000. 2006-12-08 Andreia Gaita <[email protected]>
  9001. * UpDownBase: Handle MouseWheel call directly instead of capturing
  9002. the inner textbox's OnMouseWheel. Fixes #80166
  9003. 2006-12-08 Jackson Harper <[email protected]>
  9004. * TextControl.cs: We need to invalidate the textbox when we empty
  9005. it (how had this not been discovered before?)
  9006. 2006-12-08 Jackson Harper <[email protected]>
  9007. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  9008. to behave like MS, we now ignore the eventargs.Click and just
  9009. track state ourself, which we were already doing anyways.
  9010. - Constrain the double click handler to the double click size.
  9011. 2006-12-08 Chris Toshok <[email protected]>
  9012. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  9013. direction if that scrollbar isn't shown. fixes bug #80158.
  9014. 2006-12-08 Andreia Gaita <[email protected]>
  9015. * NumericUpDown.cs: Update value on getter. Fixes #79950
  9016. 2006-12-08 Chris Toshok <[email protected]>
  9017. * MenuItem.cs: add back in the event cloning code. I didn't know
  9018. how to do it in the face of the EventHandlerList work i'd done
  9019. last week. Fixes bug #80183.
  9020. 2006-12-08 Jonathan Pobst <[email protected]>
  9021. * Control.cs: Add an invalidate to the BackgroundImage setter.
  9022. [Fixes 80184]
  9023. 2006-12-07 Jonathan Pobst <[email protected]>
  9024. * ToolStrip*: Add some small properties reported by MoMA, fix event
  9025. firing and default properties based off of unit tests, and add some
  9026. attributes based off of the class status page.
  9027. 2006-12-07 Jackson Harper <[email protected]>
  9028. * TextBoxBase.cs: Take HideSelection into account when determining
  9029. whether or not to show the selection.
  9030. * RichTextBox.cs: After inserting the RTF into the document move
  9031. the cursor to the beginning of the document.
  9032. 2006-12-07 Jonathan Pobst <[email protected]>
  9033. * Control.cs: Remove static ArrayList "controls" which maintained
  9034. a reference to every control created.
  9035. * Application.cs: Create a static FormCollection to maintain a reference
  9036. to every form created. Use it in places that formerly enumerated through
  9037. the controls one looking for forms.
  9038. * Form.cs: Add and remove self from above FormCollection.
  9039. 2006-12-07 Alexander Olk <[email protected]>
  9040. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  9041. not libgdk (though it makes me wonder why I didn't have any
  9042. problems)
  9043. 2006-12-07 Chris Toshok <[email protected]>
  9044. [ you had to know this was coming after that last commit...]
  9045. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  9046. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  9047. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  9048. XCopyArea).
  9049. 2006-12-07 Chris Toshok <[email protected]>
  9050. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  9051. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  9052. all the behavior we need for double buffering.
  9053. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  9054. client side Bitmap, just like the old Control-based double buffer
  9055. code did. The methods are virtual, so each XplatUI driver
  9056. subclass can replace the implementation to use a faster, platform
  9057. specific approach.
  9058. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  9059. double buffer code, and clean things up a bit in the process.
  9060. 2006-12-06 Chris Toshok <[email protected]>
  9061. * Control.cs: reindent WndProc.
  9062. 2006-12-06 Chris Toshok <[email protected]>
  9063. [ I wanna be like BenM when I grow up ]
  9064. * Hwnd.cs: create a single static Graphics object on the static
  9065. Bitmap we create. use this for our text measurements.
  9066. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  9067. This was causing us to allocate a backbuffer for every control,
  9068. even when it wasn't flagged as double buffered. Instead use the
  9069. single graphics instance. This might have implications for
  9070. multithreaded applications. If we run into problems we can switch
  9071. to creating 1 Graphics per control, on the static Hwnd bitmap.
  9072. this change nets us a 7M savings in private dirty mappings when
  9073. running FormsTest.exe.
  9074. 2006-12-06 Chris Toshok <[email protected]>
  9075. * ListView.cs: the BackgroundImage override is just to set
  9076. attributes. chain up to base.BackgroundImage.
  9077. * RichTextBox.cs: same.
  9078. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  9079. changes, so instead a handler for BackgroundImageChanged.
  9080. * Control.cs: make background_image private.
  9081. 2006-12-06 Chris Toshok <[email protected]>
  9082. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  9083. sure we even need this assignment, but roll with it for now.
  9084. * Control.cs: make the cursor field private.
  9085. 2006-12-06 Chris Toshok <[email protected]>
  9086. * Form.cs: we don't need to explicitly set ImeMode to
  9087. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  9088. behavior in the face of ImeMode.Inherit.
  9089. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  9090. change the ctor's assignment to use ImeMode instead of ime_mode.
  9091. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  9092. ImeModeInherit. Only check for the parent's imemode (and return
  9093. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  9094. This fixes the button unit test, which sets both ImeMode and
  9095. DefaultImeMode to ImeMode.Disable.
  9096. also make the ime_mode field private.
  9097. 2006-12-06 Chris Toshok <[email protected]>
  9098. * Control.cs: make control_style private.
  9099. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  9100. setting the styles to true, then setting them to false instead of
  9101. reverting to their previous values.
  9102. also, call SetStyle on the scrollbars instead of using
  9103. control_style directly.
  9104. 2006-12-06 Jonathan Pobst <[email protected]>
  9105. * FormCollection.cs: Implement. [2.0]
  9106. 2006-12-06 Chris Toshok <[email protected]>
  9107. * Control.cs: make tab_stop private.
  9108. * Label.cs: set TabStop, not tab_stop. reformat some event
  9109. add/remove methods to make them more compact.
  9110. 2006-12-06 Chris Toshok <[email protected]>
  9111. * RadioButton.cs: fix TabStop handling.
  9112. 2006-12-06 Chris Toshok <[email protected]>
  9113. * TextBox.cs: remove the explicit assignments to has_focus.
  9114. Control does that.
  9115. * ButtonBase.cs: remove the assignment to has_focus. Control will
  9116. manage that.
  9117. 2006-12-06 Chris Toshok <[email protected]>
  9118. * ButtonBase.cs: remove all uses of is_enabled from this code.
  9119. it's always true when any of the code containing the checks is
  9120. executed.
  9121. 2006-12-06 Chris Toshok <[email protected]>
  9122. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  9123. with different semantics (some are present in both 1.1 and 2.0
  9124. profiles) so that we match MS's behavior in our unit tests.
  9125. 2006-12-06 Jackson Harper <[email protected]>
  9126. * TextControl.cs: Make this operation undoable.
  9127. * TextBoxBase.cs: Factor the border width into the preferred
  9128. height.
  9129. - implement Modified as per the spec.
  9130. 2006-12-06 Chris Toshok <[email protected]>
  9131. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  9132. 2006-12-06 Chris Toshok <[email protected]>
  9133. * Control.cs: make right_to_left and context_menu fields private.
  9134. 2006-12-06 Chris Toshok <[email protected]>
  9135. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  9136. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  9137. Control.child_controls private. switch all uses over to
  9138. Control.Controls.
  9139. 2006-12-06 Chris Toshok <[email protected]>
  9140. * System.Windows.Forms/GroupBox.cs,
  9141. System.Windows.Forms/AccessibleObject.cs,
  9142. System.Windows.Forms/ErrorProvider.cs,
  9143. System.Windows.Forms/Control.cs,
  9144. System.Windows.Forms/UpDownBase.cs,
  9145. System.Windows.Forms/ScrollBar.cs,
  9146. System.Windows.Forms/DateTimePicker.cs,
  9147. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  9148. System.Windows.Forms/ToolTip.cs,
  9149. System.Windows.Forms/RadioButton.cs,
  9150. System.Windows.Forms/LinkLabel.cs,
  9151. System.Windows.Forms/Splitter.cs,
  9152. System.Windows.Forms/TextBoxBase.cs,
  9153. System.Windows.Forms/ToolStripTextBox.cs,
  9154. System.Windows.Forms/ContainerControl.cs,
  9155. System.Windows.Forms/ThemeWin32Classic.cs,
  9156. System.Windows.Forms/SizeGrip.cs,
  9157. System.Windows.Forms/ToolStripDropDown.cs,
  9158. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  9159. private. switch all uses over to Control.Parent.
  9160. 2006-12-06 Chris Toshok <[email protected]>
  9161. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  9162. Control does this before calling emitting these events.
  9163. * TabControl.cs: same.
  9164. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  9165. Control.client_rect.
  9166. * ButtonBase.cs: use the ClientSize property instead of the
  9167. client_size field.
  9168. * ScrollableControl.cs: same.
  9169. * Control.cs: another pass at making properties private. also,
  9170. move the initialization of tab_stop to the ctor.
  9171. 2006-12-05 Andreia Gaita <[email protected]>
  9172. * TabControl.cs: Let the selected index be set freely if the
  9173. control handle is not yet created.
  9174. 2006-12-05 Jonathan Pobst <[email protected]>
  9175. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  9176. internal until I can rewrite DefaultLayout.
  9177. * ToolStrip.cs: Fix build error and some general cleaning.
  9178. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  9179. Fix build errors caused by making some of Control's fields private.
  9180. 2006-12-05 Jackson Harper <[email protected]>
  9181. * TextControl.cs: Redo Insert a little so that it use IndexOf
  9182. instead of Split, this prevents it from messing up on things like
  9183. \n\n\n. Also more effecient since the split array doesn't need to
  9184. be created.
  9185. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  9186. multiline text differently, this is the first of many fixes that
  9187. will make multiline/non-multiline the same thing as far as the
  9188. TextBoxBase is concerned.
  9189. - Don't split the text and insert lines, this can lose some line
  9190. endings (like is the last line a soft or hard break). Instead use
  9191. the new Insert.
  9192. - Fix an off by one when combining all the lines in the Text
  9193. getter.
  9194. - Remove separate multiline handling from the Text getter/setter.
  9195. 2006-12-05 Chris Toshok <[email protected]>
  9196. * ButtonBase.cs: a few changes:
  9197. - don't reinitialize internal Control fields in the ctor when they
  9198. have the same values as Control sets them.
  9199. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  9200. this before calling those methods.
  9201. - we don't need to call Refresh for anything. use Invalidate
  9202. instead.
  9203. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  9204. calls Refresh in its OnEnabledChanged.
  9205. - several of the events we were registered for in the ctor to
  9206. redraw ourselves already include calls to Invalidate in the
  9207. property setters that raise the events. remove the extra
  9208. invalidation.
  9209. - reformat a switch statement that was 83274658 columns wide.
  9210. 2006-12-05 Mike Kestner <[email protected]>
  9211. * ComboBox.cs: fix a unit test regression from a TextBox
  9212. SelectionLength return of -1 when there's no selection.
  9213. 2006-12-05 Chris Toshok <[email protected]>
  9214. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  9215. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  9216. cleaning up some of the internal Control fields being used by
  9217. subclasses.
  9218. 2006-12-05 Mike Kestner <[email protected]>
  9219. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  9220. listbox after AddImplicit calls since it defaults to hidden. Add a
  9221. hack to preserve requested heights across DropDownStyle changes.
  9222. 2006-12-05 Jonathan Pobst <[email protected]>
  9223. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  9224. 2006-12-05 Chris Toshok <[email protected]>
  9225. * DataGridView.cs: fix compiler warnings.
  9226. * PrintControllerWithStatusDialog.cs: same.
  9227. * ToolBar.cs: same.
  9228. * FolderBrowserDialog.cs: same.
  9229. * Splitter.cs: same.
  9230. * DataGridViewComboBoxCell.cs: same.
  9231. * XplatUIWin32.cs: same.
  9232. * PictureBox.cs: same.
  9233. * Win32DnD.cs: same.
  9234. * PageSetupDialog.cs: same.
  9235. * FileDialog.cs: same.
  9236. * PrintDialog.cs: same.
  9237. * DataGridTextBoxColumn.cs: same.
  9238. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  9239. 2006-12-05 Chris Toshok <[email protected]>
  9240. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  9241. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  9242. System.ComponentModel.EventHandlerList work.
  9243. 2006-12-05 Jonathan Chambers <[email protected]>
  9244. * DrawTreeNodeEventArgs.cs: Added.
  9245. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9246. * InternalWindowManager.cs: Remove an unused field.
  9247. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9248. * InternalWindowManager.cs:
  9249. - Save the point where the title bar is clicked.
  9250. * MdiWindowManager.cs:
  9251. - Only allow moving of the window as long as the
  9252. clicked point on the title bar does not get out of
  9253. MdiClient's rectangle. Fixes #79982.
  9254. * MdiClient.cs:
  9255. - Added Horizontal/VerticalScrollbarVisible.
  9256. - Simplified the scrollbar sizing algorithm.
  9257. - Cache the difference in scrolled value in
  9258. H/VBarValueChanged and move the calculation out
  9259. of the for loop.
  9260. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9261. * Control.cs: Make the Console.WriteLine in WndProc
  9262. write more info.
  9263. 2006-12-05 Chris Toshok <[email protected]>
  9264. * ToolStripManager.cs, ToolStripButton.cs,
  9265. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  9266. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  9267. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  9268. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  9269. ToolStripProgressBar.cs, ToolStripContainer.cs,
  9270. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  9271. to using System.ComponentModel.EventHandlerList.
  9272. 2006-12-04 Chris Toshok <[email protected]>
  9273. * LinkLabel.cs: fix up compiler warnings.
  9274. * TableLayoutSettings.cs: same.
  9275. * TreeView.cs: same.
  9276. * ToolBar.cs: same.
  9277. * TabControl.cs: same.
  9278. * RichTextBox.cs: same.
  9279. * ListViewItem.cs: same.
  9280. * PropertyGrid.cs: same.
  9281. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  9282. * ToolTip.cs same.
  9283. * TextRenderer.cs: fix up compiler warnings.
  9284. * Label.cs: same.
  9285. * Form.cs: corcompare fixes.
  9286. * PictureBox.cs: fix up compiler warnings.
  9287. * ImageListStreamer.cs: same.
  9288. * TrackBar.cs: corcompare fix.
  9289. * Control.cs: fix up compiler warnings.
  9290. * SplitterPanel.cs: same.
  9291. * NumericTextBox.cs: same.
  9292. * ImageList.cs: same.
  9293. * StatusStrip.cs: same.
  9294. * ProgressBar.cs: corcompare fix.
  9295. * ToolStripButton.cs: fix up compiler warnings.
  9296. * ToolStripStatusLabel.cs: same.
  9297. * ToolStripSplitButton.cs: same.
  9298. * ToolStripSeparator.cs: same.
  9299. * ToolStripProgressBar.cs: same.
  9300. * ToolStripDropDownMenu.cs: same
  9301. * ToolStripDropDown.cs: same.
  9302. * ToolStripDropDownButton.cs: same.
  9303. * ToolStrip.cs: same.
  9304. * ToolStripControlHost.cs: same.
  9305. * ToolStripContentPanel.cs: same.
  9306. * ToolStripDropDown.cs: same.
  9307. * ToolStripContainer.cs: same.
  9308. * ToolStripPanel.cs: same, and add "new" where we need it to work
  9309. with the new ArrangedElementCollection.
  9310. * ToolStripItemCollection.cs: add "new" where we need it to work
  9311. with the new ArrangedElementCollection.
  9312. 2006-12-04 Andreia Gaita <[email protected]>
  9313. * TabControl.cs: Fix default tab selection to after TabControl
  9314. gets focus and not before. Fixes #80128
  9315. 2006-12-04 Chris Toshok <[email protected]>
  9316. * DataGridTableStyle.cs: remove the gross calling of
  9317. datagrid.Refresh from here. It's a broken idea and it doesn't
  9318. work anyway.
  9319. * DataGrid.cs: instead, just register/unregister from the
  9320. DataGridTableStyle events in CurrentTableStyle. we play it
  9321. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  9322. even though some would most likely not require it. Fixes bug
  9323. #80115 (and one portion of #80117 as a side effect).
  9324. 2006-12-04 Chris Toshok <[email protected]>
  9325. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  9326. so the textbox (if any) goes away. Fixes bug #80117.
  9327. 2006-12-04 Chris Toshok <[email protected]>
  9328. * DataGridColumnStyle.cs: set the column's readonly property
  9329. initially based on the property descriptor's IsReadOnly. Fixes
  9330. bug #80044.
  9331. 2006-12-04 Chris Toshok <[email protected]>
  9332. * ComboBox.cs: wrap the dropdown style changing work in
  9333. SuspendLayout/ResumeLayout. Fixes bug #79968.
  9334. 2006-12-04 Jackson Harper <[email protected]>
  9335. * TextBoxBase.cs: Fix off by one, since these are one-based.
  9336. * TextBox.cs: Select all the text when we get focus. The TextBox
  9337. does this but the RTB does not.
  9338. 2006-12-04 Chris Toshok <[email protected]>
  9339. * DataGridTextBoxColumn.cs: remove some spew.
  9340. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  9341. but some part of me is saying "it shouldn't be here.." At any
  9342. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  9343. setting the value.
  9344. 2006-12-04 Chris Toshok <[email protected]>
  9345. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  9346. to reassign the propertydescriptor.
  9347. 2006-12-04 Jackson Harper <[email protected]>
  9348. * TextBoxBase.cs:
  9349. * TextControl.cs: Remove some unused variables. Maybe this will
  9350. patch things up between mike and I.
  9351. - don't split lines less then one char wide, if the viewport is
  9352. that small text won't be visible anyways.
  9353. 2006-12-04 Jackson Harper <[email protected]>
  9354. * TextBoxBase.cs: Default selection length is -1, need to do some
  9355. more testing on windows to see when this is used for the property.
  9356. - Redid the Lines [] property to that we properly remove soft line
  9357. breaks
  9358. - added support for preserving carriage returns
  9359. - CanUndo is not a variable like 'is undo enabled' it just returns
  9360. true if there is undo operations available.
  9361. - AppendText doesn't need to grab the last tag itself anymore,
  9362. this happens automatically when we move the cursor.
  9363. * TextControl.cs: Add CompoundActions to the undo class. This
  9364. allows combining the other operations into one big option. ie a
  9365. paste will combine { delete old, insert new, move cursor }
  9366. - Add InsertString undo operation
  9367. - New method for deleting multiline text
  9368. - Add carriage returns to lines. So we can preserve carriage
  9369. returns when text is 'roundtripped'
  9370. 2006-12-04 Chris Toshok <[email protected]>
  9371. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  9372. minimum 0. Fixes the scrollbar exception in bug #80136.
  9373. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  9374. * MdiClient.cs:
  9375. * MdiWindowManager: Removed unused fields and methods.
  9376. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  9377. * StatusBar.cs: Update all panels when a AutoSize=Contents
  9378. panel needs updating.
  9379. * StatusBarPanel.cs: Remove twidth and only use initialize.
  9380. Fixes #80031.
  9381. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  9382. * Form.cs: When a form's MdiParent is set add it directly
  9383. on top of the z-order in stead of relying on MdiClient's
  9384. ActivateChild to do it. Fixes #80135.
  9385. * MdiClient.cs:
  9386. - Remove original_order, mdi_child_list is already doing
  9387. the same thing.
  9388. - Create mdi_child_list on construction in
  9389. stead of first use (avoids a few null checks).
  9390. * MenuItem.cs: Use an already existing list of mdi children
  9391. to get the correct order of children and remove the other
  9392. redundant list.
  9393. 2006-12-04 Chris Toshok <[email protected]>
  9394. * PropertyGridView.cs: cached_splitter_location is only used in
  9395. !DOUBLEBUFFER code.
  9396. * PropertyGrid.cs: implement the ComComponentNameChanged event
  9397. using Events, hoping that would fix the warning. Looks like a
  9398. compiler bug instead (#80144).
  9399. * PropertyManager.cs: remove unused method.
  9400. 2006-11-04 Everaldo Canuto <[email protected]>
  9401. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  9402. include parentesis to fix expression evaluation. Fixes #79634.
  9403. 2006-11-02 Everaldo Canuto <[email protected]>
  9404. * MenuAPI.cs:
  9405. - Changes to fix behavior in Menu control, some reported in #80097
  9406. and other detected during behavior refactory like a select event
  9407. problems.
  9408. - Remove unneded "if's" conditions.
  9409. - Created an internal to flag when popup is active in control, we need
  9410. it because in .NET you can have menu active but without popup active
  9411. when you active menu using popup without visible items.
  9412. - Mimic win32 behavior for Select and Popup events.
  9413. - Dont open popup menu when you dont have visible subitems.
  9414. - Do nothing when click on disabled menu item.
  9415. - Some small changes to follow the coding style guidelines.
  9416. - Unselect menu only when another control gives focus. Fixes #80097.
  9417. - Remove unused code.
  9418. * MenuItem.cs: internal VisibleItems method to check if menu
  9419. theres visible subitems, it will be usefull to fix some
  9420. behavior in Menu control.
  9421. 2006-11-01 Everaldo Canuto <[email protected]>
  9422. * Timer.cs: Tag property for 2.0 profile.
  9423. 2006-12-01 Chris Toshok <[email protected]>
  9424. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  9425. * Win32DnD.cs: comment out some unused fields.
  9426. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  9427. some unused properties/methods.
  9428. * XplatUIX11.cs: fix MousePosition so we override the base class's
  9429. property instead of conflicting with it.
  9430. * PictureBox.cs: comment out some unused fields
  9431. * OSXStructs.cs: make some struct fields public.
  9432. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  9433. MousePosition so we override the base class's property instead of
  9434. conflicting with it.
  9435. * X11Dnd.cs: comment out some unused fields
  9436. * X11DesktopColors.cs: fix some struct field visibility to quiet
  9437. the compiler.
  9438. * X11Dnd.cs: remove some debug code.
  9439. * ThemeClearlooks.cs: comment out unused field.
  9440. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  9441. * ThemeGtk.cs: comment out some unused pinvokes.
  9442. * Timer.cs: remove some unused fields.
  9443. * ThemeClearlooks.cs: comment out unused field.
  9444. * UpDownBase.cs: comment out unused field.
  9445. * DataObject.cs: comment out unused field.
  9446. * DataGridBoolColumn.cs: reomve unused field.
  9447. * DataGrid.cs: remove unused field.
  9448. * Cursor.cs: remove old ToBitmap code.
  9449. * ControlPaint.cs: remove unused method.
  9450. * ScrollBar.cs: remove unused fields.
  9451. * ComboBox.cs: remove unused field, and chain up to
  9452. AccessibleObject ctor.
  9453. * ListBox.cs: remove unused field.
  9454. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  9455. * GridEntry.cs: remove unused fields.
  9456. * Binding.cs: remove unused fields.
  9457. * AxHost.cs: remove unused method.
  9458. * ContainerControl.cs: remove unused field.
  9459. * ScrollableControl.cs: remove unused fields.
  9460. 2006-12-01 Chris Toshok <[email protected]>
  9461. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  9462. the Where/WhereString stuff. it's easy enough to CWL
  9463. Environment.StackTrace.
  9464. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  9465. unused private fields.
  9466. 2006-12-01 Jackson Harper <[email protected]>
  9467. * TextControl.cs: Do not update the view while inserting multiline
  9468. text. If we update the view we might wrap lines, before entering
  9469. the new lines, which causes the new line insertion calculations to
  9470. be totally fubared.
  9471. - Remove an old TODO
  9472. - Make debug output a little nicer
  9473. 2006-12-01 Chris Toshok <[email protected]>
  9474. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  9475. 2006-12-01 Chris Toshok <[email protected]>
  9476. [ fix the majority of the CS0108 warnings we've been suppressing ]
  9477. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  9478. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  9479. to "LayoutToolBar" to quiet mcs.
  9480. * TabControl.cs: mark our ControlCollection class as 'new'.
  9481. * TextBoxBase.cs: mark some events as 'new'.
  9482. * Splitter.cs: TabStop is 'new'.
  9483. * ControlBindingsCollection.cs: mark a few methods as new since
  9484. they change the visibility from protected to public.
  9485. * RadioButton.cs: DoubleClick -> base class, and remove unused
  9486. HaveDoubleClick.
  9487. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  9488. events as new.
  9489. * NumericUpDown.cs: TextChanged -> base class.
  9490. * CheckedListBox.cs: mark our ObjectCollection class as new to
  9491. quiet mcs.
  9492. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  9493. muck with the base class.
  9494. * StatusBar.cs: fix some mcs warnings about Update being the same
  9495. name as a base class method.
  9496. * RichTextBox.cs: mark some events as new, and make them do things
  9497. to the base class impl.
  9498. * UserControl.cs: mark TextChanged as new, and have it manipulate
  9499. base.TextChanged.
  9500. * UpDownBase.cs: mark some things new.
  9501. * CheckBox.cs: mark DoubleClick "new", and add some text about
  9502. what we need to look at.
  9503. * Panel.cs: make the events "new", and manipulate the base
  9504. version. these are just here for attributes.
  9505. * AccessibleObject.cs: make owner private.
  9506. * Control.cs: deal with AccessibleObject.owner being private.
  9507. cache our own copy if we need it.
  9508. * Button.cs: add "new" to the DoubleClickEvent.
  9509. * ListBox.cs: no need to track our own has_focus here. let
  9510. Control.has_focus do it for us. Also some other work to clear up
  9511. warnings about not overriding base class methods of the same name.
  9512. * ComboBox.cs: clear up some warnings about not override base
  9513. class methods of the same name.
  9514. 2006-12-01 Chris Toshok <[email protected]>
  9515. * Form.cs: flag a few things as "new" to quiet some of the mcs
  9516. warnings.
  9517. * AxHost.cs: same.
  9518. * PrintPreviewDialog.cs: same.
  9519. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  9520. now DGV isn't so horrible on the class status page. also, move
  9521. all events to using System.ComponentModel.EventHandlerList. my
  9522. wrists hurt.
  9523. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  9524. * MdiWindowManager.cs:
  9525. - Set form to active mdi child if shown,
  9526. and update the active mdi child to the next
  9527. remaining child in the z-order if the form is hidden.
  9528. * Form.cs:
  9529. - Track if the form has been visible and if its
  9530. visibility is beeing changed, so that the MdiClient
  9531. can properly decide the ActiveMdiChild. The MdiClient
  9532. cannot track this since the form can change visibility
  9533. before MdiClient is created.
  9534. * MdiClient.cs:
  9535. - Don't activate anything of the parent form is changing
  9536. its visibility.
  9537. - Rework ActiveMdiChild to only return visible mdi
  9538. children and take into account several other corner
  9539. cases.
  9540. 2006-12-01 Chris Toshok <[email protected]>
  9541. * IBindableComponent.cs: new 2.0 interface.
  9542. 2006-12-01 Gert Driesen <[email protected]>
  9543. * DataGrid.cs: Font for caption area is bold by default.
  9544. 2006-12-01 Everaldo Canuto <[email protected]>
  9545. * Menu.cs: Tag property for 2.0.
  9546. 2006-11-01 Everaldo Canuto <[email protected]>
  9547. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  9548. 2006-12-01 Chris Toshok <[email protected]>
  9549. * TreeView.cs: doh, the Begin* events should be
  9550. TreeViewCancelEventHandler.
  9551. 2006-12-01 Chris Toshok <[email protected]>
  9552. * Form.cs: Form.ControlCollection already stores off the
  9553. form_owner field. don't access the base class's internal "owner"
  9554. field.
  9555. * Control.cs: make all the fields in Control.ControlCollection
  9556. private. there's no need for any internal fields here.
  9557. 2006-12-01 Chris Toshok <[email protected]>
  9558. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  9559. OnHandleCreated. Fixes bug #80109.
  9560. 2006-12-01 Chris Toshok <[email protected]>
  9561. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  9562. SplitContainer.cs, Control.cs, StatusStrip.cs,
  9563. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  9564. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  9565. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  9566. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  9567. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  9568. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  9569. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  9570. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  9571. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  9572. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  9573. do most of the work to convert our code over to use
  9574. System.ComponentModel.Component.Events for
  9575. adding/removing/dispatching events.
  9576. 2006-11-30 Jonathan Pobst <[email protected]>
  9577. * DataGridView.cs: Fix an ArgumentNullException reported
  9578. twice today in IRC.
  9579. 2006-11-30 Mike Kestner <[email protected]>
  9580. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  9581. grabbed listbox. Fixes #80036 and #80101.
  9582. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  9583. * Message.cs: Changed ToString() to match MS.
  9584. 2006-11-30 Jackson Harper <[email protected]>
  9585. * TextBoxBase.cs: You can still change the selected text on a read
  9586. only textbox.
  9587. * TextControl.cs: Lower magic number for wrap calculations. This
  9588. lets text get closer to the right (far) edge.
  9589. 2006-11-30 Jonathan Pobst <[email protected]>
  9590. * Control.cs: Tweak 2.0 layout properties.
  9591. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  9592. * TextRenderer.cs: Add a new overload.
  9593. * ToolStrip*: Huge amount of changes and new features.
  9594. 2006-11-30 Mike Kestner <[email protected]>
  9595. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  9596. scroll range correct. Fixes #79994.
  9597. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  9598. * MdiWindowManager.cs: Update main form's text when
  9599. a form is closed. (fixes #80038)
  9600. 2006-11-30 Everaldo Canuto <[email protected]>
  9601. * ToolBar.cs:
  9602. - Fix an regression in ButtonSize.
  9603. - Get ImeMode default value change to "Disable".
  9604. - Get ShowTooltips default value change to true, default value is
  9605. "false" but after make a test in .NET we get "true" result as default.
  9606. 2006-11-29 Jonathan Pobst <[email protected]>
  9607. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  9608. 2006-11-29 Chris Toshok <[email protected]>
  9609. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  9610. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  9611. SetWindowTransparency hasn't been called.
  9612. 2006-11-29 Chris Toshok <[email protected]>
  9613. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  9614. if it's supported.
  9615. (set_AllowTransparency): reorder things a little so that the
  9616. WS_EX_LAYERED style is removed properly.
  9617. 2006-11-29 Chris Toshok <[email protected]>
  9618. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  9619. * Form.cs: only call the XplatUI transparency method (get/set) if
  9620. SupportsTransparency says it's supported. Otherwise fallback to
  9621. doing nothing (in the set case) or returning the instance field we
  9622. cache (in the get case).
  9623. * XplatUIStructs.cs: add TransparencySupport flag enum.
  9624. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  9625. change to SupportsTransparency.
  9626. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  9627. TransparencySupport.None from SupportsTransparency.
  9628. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  9629. TransparencySupport.Set from SupportsTransparency.
  9630. * XplatUIWin32.cs: implement GetWindowTransparency calling
  9631. GetLayeredWindowAttributes, and implement SupportsTransparency by
  9632. checking whether or not both
  9633. GetWindowTransparency/SetWindowTransparency are available
  9634. entrypoints. We need to do this since SetWindowTransparency is
  9635. available as of win2k, but GetWindowTransparency requires winxp.
  9636. yay win32 api.
  9637. * XplatUI.cs: Add GetWindowTransparency, and change
  9638. SupportsTransparency to allow for either/both Get/Set.
  9639. 2006-11-29 Chris Toshok <[email protected]>
  9640. * DataGrid.cs: keep from going into an infinite loop redrawing a
  9641. datagrid that has no datasource. Fixes bug #80033.
  9642. 2006-11-29 Chris Toshok <[email protected]>
  9643. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  9644. Invalidate) before the mainmenu has been assigned to a control.
  9645. 2006-11-29 Chris Toshok <[email protected]>
  9646. * DataGrid.cs: detect when we should be double the double click
  9647. row/column autosize stuff, although that codepath has yet to be
  9648. written. part of the work for bug #79891.
  9649. 2006-11-29 Chris Toshok <[email protected]>
  9650. * Binding.cs (SetControl): fix unit test.
  9651. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  9652. * PageSetupDialog.cs: Validate the margins and set them in
  9653. PageSettings.
  9654. * NumericTextBox.cs: New class to mimic the behavior of the
  9655. textboxes used in the printing dialogs.
  9656. 2006-11-29 Andreia Gaita <[email protected]>
  9657. * Form.cs: Revert previous change (remove call UpdateBounds
  9658. from form constructor), because it messes with the handle creation
  9659. order, and that one needs lots and lots of love.
  9660. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  9661. for valid printer and throw InvalidPrinterException if document
  9662. is set but printer not valid), adding a MonoTODO. Once
  9663. handle creation is done properly, we can put this back in.
  9664. 2006-11-28 Everaldo Canuto <[email protected]>
  9665. * MenuItem.cs: Create a invalidate method for menu item, to be
  9666. calling from set text, it make text changes to imadiate update
  9667. on screen. Fixes #80013.
  9668. 2006-11-28 Everaldo Canuto <[email protected]>
  9669. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  9670. fixes bug #80070 and some other problem on toolbar buttons
  9671. layout.
  9672. 2006-11-28 Everaldo Canuto <[email protected]>
  9673. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  9674. with dotted brush. Fixes #79564
  9675. 2006-11-28 Andreia Gaita <[email protected]>
  9676. * Form.cs: Removed call to UpdateBounds on Form
  9677. constructor, it was causing a call to CreateHandle
  9678. before it was supposed to.
  9679. * PrintControllerWithStatusDialog: Applied patch
  9680. by Chris Toshok to hide controller when there are
  9681. no printers available.
  9682. PrintDialog.cs: initialize printer settings to
  9683. null - correct DefaultValues test #5
  9684. * PrintPreviewControl.cs: Move PrintController
  9685. initialization to GeneratePreview
  9686. * PrintPreviewDialog.cs:
  9687. - Remove Preview generation from Document_set(). It is
  9688. called on OnPaint
  9689. - Throw InvalidPrinterException on CreateHandle if
  9690. a Document is set but there are no printers or
  9691. printer is not valid.
  9692. * ThemeWin32Classic: don't paint PrintPreviewControl
  9693. if there is nothing to paint
  9694. 2006-11-28 Miguel de Icaza <[email protected]>
  9695. * Form.cs: Add another popular method.
  9696. * TabPage.cs: ditto.
  9697. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  9698. * MenuItem.cs: Fixed a warning.
  9699. * InternalWindowManager: Fixed a warning.
  9700. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  9701. * MenuItem.cs:
  9702. - When cloning a menu also clone MdiList and clone the
  9703. window menu items properly (as the forms and menuitems
  9704. are kept in an internal hashtable, these need updating
  9705. as well)
  9706. - Rewrote the window menu code, menu items are added in the
  9707. order the forms were added to their parent, and they are
  9708. updated every time the window menu is shown (before the
  9709. list was only generated once, in the current order of the
  9710. forms, and would never be updated). A checkmark is shown
  9711. next to the item corresponding to the active mdi child.
  9712. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  9713. * XplatUIStructs.cs:
  9714. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  9715. * XplatUIWin32.cs:
  9716. - Added TME_NONCLIENT to TMEFlags.
  9717. - Handles WM_NCMOUSEMOVE in GetMessage to
  9718. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  9719. * MdiWindowManager:
  9720. - Now merges mdi child menu to parent menu when maximized.
  9721. - Recalculate NC areas of both mdi child and mdi parent.
  9722. Fixes #79757 (4).
  9723. on window state and size changes.Fixes #79844 (3).
  9724. - Handle WM_NCCALCSIZE to properly calculate borders.
  9725. * Form.cs:
  9726. - Add/remove to the mdi containers list of mdi children
  9727. in the order they are added.
  9728. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  9729. to the maximized mdi child.
  9730. * InternalWindowManager.cs:
  9731. - Only execute a click on the control buttons on the mouse up,
  9732. not on the mouse down. Show the state of the button
  9733. (was only showing Normal state, never Pressed state). The
  9734. pressed button now follows the mouse (if you click the Close
  9735. button and move the mouse over the Maximize button, the
  9736. Maximize button will be shown as pressed). Since Win32 does
  9737. not generate WM_NCLBUTTONUP if you release the button outside
  9738. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  9739. it as a mouse up.
  9740. * ThemeWin32Classic.cs:
  9741. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  9742. * MdiClient.cs:
  9743. - Added a list of forms which contains the order the forms are
  9744. added to the mdi parent.
  9745. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  9746. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  9747. - If the active form changes set the scrollbars to the top
  9748. of the Z order, otherwise the form could hide them.
  9749. - Scrollbars are now sized according to ClientSize, not
  9750. to Size, and they take into account the other scrollbar
  9751. to determine maximum.
  9752. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  9753. * XplatUI.cs:
  9754. * XplatUIDriver.cs:
  9755. * XplatUIX11.cs:
  9756. * XplatUIWin32.cs:
  9757. * XplatUIOSX.cs:
  9758. - Added RequestAdditionalWM_NCMessages for windows to
  9759. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  9760. Currently only implemented in XplatUIWin32.
  9761. 2006-11-27 Chris Toshok <[email protected]>
  9762. * Hwnd.cs: only add the hwnd to the windows hash in
  9763. set_WholeWindow and set_ClientWindow if whole_window/client_window
  9764. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  9765. 2006-11-27 Mike Kestner <[email protected]>
  9766. * ComboBox.cs: remove redundant OnDropDown call. It is called
  9767. from the ComboListBox.ShowWindow code. Fixes #79969.
  9768. 2006-11-27 Chris Toshok <[email protected]>
  9769. * Hwnd.cs: remove the setters for ExposePending and
  9770. NCExposePending - noone uses them.
  9771. 2006-11-27 Jackson Harper <[email protected]>
  9772. * TextControl.cs: new param for ReplaceSelection which determines
  9773. whether we select the new selection, or set the cursor to the end
  9774. of the new selection.
  9775. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  9776. pasting, select the new text.
  9777. * RichTextBox.cs: Use new param for ReplaceSelection.
  9778. 2006-11-27 Jackson Harper <[email protected]>
  9779. * TextBoxBase.cs: Set the selection to the caret after the caret
  9780. is moved, otherwise they get out of sync.
  9781. 2006-11-26 Everaldo Canuto <[email protected]>
  9782. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  9783. it fixes #80015
  9784. 2006-11-26 Everaldo Canuto <[email protected]>
  9785. * ThemeWin32Classic.cs:
  9786. - Fix toolbar drop down arrow position.
  9787. - Fix drop down appearance when ToolBar.Appearance is normal,
  9788. it fixes #80018.
  9789. 2006-11-26 Gert Driesen <[email protected]>
  9790. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  9791. * Control.cs: Same.
  9792. * UpDownBase.cs: Same.
  9793. * ButtonBase.cs: Same.
  9794. * ScrollBar.cs: Same.
  9795. * TrackBar.cs: Same.
  9796. * PictureBox.cs: Same.
  9797. * UserControl.cs: Same.
  9798. * Label.cs: Same.
  9799. * ListControl.cs: Same.
  9800. * TextBoxBase.cs: Same.
  9801. * ListView.cs: Same.
  9802. * RichTextBox.cs: Same.
  9803. * TreeView.cs: Same.
  9804. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  9805. * PrintDialog.cs:
  9806. - Text label for where
  9807. - Text label comment was not shown
  9808. 2006-11-23 Everaldo Canuto <[email protected]>
  9809. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  9810. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  9811. * InternalWindowManager.cs:
  9812. - Handle WM_PARENTNOTIFY to activate the form
  9813. if any child control is clicked.
  9814. - The form is only sizable if not minimized.
  9815. * MdiWindowManager.cs:
  9816. - Save the IconicBounds if the form is moved.
  9817. - Rework SetWindowState, now the window bounds
  9818. are stored only if the old window state is Normal.
  9819. * MdiClient.cs:
  9820. - In SetWindowStates store the old window state if
  9821. the window is maximized and restore window state if
  9822. the window looses focus.
  9823. - Don't handle any scrollbar value changes if
  9824. initializing the scroll bars. Fixes #79771.
  9825. - Reworked ArrangeIconicWindows. Current algorithm
  9826. tests bounds agains all other minimized windows, if
  9827. any intersections create new bounds (going left to
  9828. right, bottom to top) and then test again. When
  9829. successful the bounds are saved and never computed
  9830. again. Fixes #79774.
  9831. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  9832. * InternalWindowManager.cs: Added HandleTitleBarUp.
  9833. 2006-11-23 Gert Driesen <[email protected]>
  9834. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  9835. hexadecimal in ParseUserEdit.
  9836. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  9837. * MdiWindowManager.cs:
  9838. - Handle a click on the form's icon to show the
  9839. system menu (when maximized). Fixes #79775.
  9840. - Change the existing click handler for the form's
  9841. icon when not maximized to show on MouseUp.
  9842. Fixes #79776.
  9843. * Form.cs: In OnResize only layout the mdi child's
  9844. parent if it actually has a parent. Might not if
  9845. the window is closing.
  9846. 2006-11-23 Gert Driesen <[email protected]>
  9847. * MdiClient.cs: Ignore active MDI client for text of parent, if
  9848. child has no text set.
  9849. 2006-11-23 Gert Driesen <[email protected]>
  9850. * ToolBar.cs: Fixed ToString to match MS.
  9851. 2006-11-22 Andreia Gaita <[email protected]>
  9852. * NumericUpDown:
  9853. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  9854. update inner values on set. Fixes #79966.
  9855. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  9856. - Fix hexadecimal parsing.
  9857. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  9858. parent. Fixes #79957
  9859. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  9860. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  9861. the actual size has to be queried, since if height /
  9862. width is negative Win32 changes it to 0.
  9863. Fixes #79999 on Windows.
  9864. * XplatUIX11.cs: Set height / width to 0 if negative
  9865. in SetWindowPos. Fixes #79999 on Linux.
  9866. 2006-11-22 Everaldo Canuto <[email protected]>
  9867. * ThemeWin32Classic.cs: Fix text redenring when button is
  9868. pressed.
  9869. 2006-11-22 Everaldo Canuto <[email protected]>
  9870. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  9871. and later navigate by mouse. Fixes #79528.
  9872. 2006-11-21 Everaldo Canuto <[email protected]>
  9873. * ToolBar.cs: Set default value for TabStop to false in
  9874. constructor, it fixes remaining behavior of bug #79863.
  9875. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  9876. * MdiWindowManager.cs:
  9877. * InternalWindowManager.cs:
  9878. - Moved a few methods specific to Mdi from
  9879. InternalWindowManager to MdiWindowManager.
  9880. Fixes #79996.
  9881. 2006-11-21 Chris Toshok <[email protected]>
  9882. * XplatUIOSX.cs: stub out InvalidateNC.
  9883. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  9884. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  9885. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  9886. * XplatUIDriver.cs: add InvalidateNC abstract method.
  9887. * XplatUI.cs: add InvalidateNC.
  9888. 2006-11-21 Everaldo Canuto <[email protected]>
  9889. * ToolBar.cs: Invalidate complete button area when pressed status
  9890. was changed.
  9891. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  9892. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  9893. by 1 when button is pressed.
  9894. 2006-11-20 Everaldo Canuto <[email protected]>
  9895. * ToolButton.cs: Invalidate middle of DropDown button when
  9896. ToolBar theres DropDownArrows.
  9897. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  9898. fix DropDown drawing operations.
  9899. 2006-11-20 Chris Toshok <[email protected]>
  9900. * NativeWindow.cs: fix the formatting of functions ('{' on the
  9901. following line), and enable the thread exception dialog.
  9902. * Application.cs: remove the duplicate exception catching from
  9903. here.
  9904. 2006-11-20 Everaldo Canuto <[email protected]>
  9905. * Toolbar.cs: Triggers button click event when click on icon
  9906. of dropdown ToolBarButton. Fixes #79912.
  9907. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  9908. * Theme.cs:
  9909. * ThemeWin32Classic.cs:
  9910. - Added a property WindowBorderFont to enable themeing
  9911. of mdi child windows' Text.
  9912. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  9913. * InternalWindowManager.cs:
  9914. * Form.cs:
  9915. * MdiClient.cs:
  9916. * MdiWindowManager.cs:
  9917. - If mdi child is maximized, set mdi parent's
  9918. text to "Parent - [Child]". Fixes #79770.
  9919. - If there is any maximized mdi child windows, only the active
  9920. window (and any new windows) is maximized, the rest are normal.
  9921. - On a WindowState change only save mdi child's window bounds
  9922. if the old window state was normal. Fixes #79774.
  9923. - The scroll bars are now calculated on hopefully all
  9924. necessary events. Fixed #79771 / #79844->6 / #79906.
  9925. - MdiClient.SizeScrollBars() now takes into account docked
  9926. controls in the parent when calculating available space.
  9927. - InternalWindowManager now always repaints the entire title
  9928. area. Fixes #79844->1/4/5.
  9929. - Added RequestNCRecalc on mdi child windowstate changes.
  9930. Fixes #79772.
  9931. 2006-11-20 Mike Kestner <[email protected]>
  9932. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  9933. in the MouseUp handler of the listbox and move the return handling
  9934. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  9935. 2006-11-20 Everaldo Canuto <[email protected]>
  9936. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  9937. 2006-11-17 Alexander Olk <[email protected]>
  9938. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  9939. working in 1.2.x anymore. So, updated.
  9940. 2006-11-19 Gert Driesen <[email protected]>
  9941. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  9942. NumberGroupSeparator of current culture instead of assuming en-US.
  9943. Fixed bug #79967.
  9944. 2006-11-17 Mike Kestner <[email protected]>
  9945. * Control.cs: Add the concept of implicit bounds setting so that
  9946. dock/undock round trips preserve explicitly set size/locations.
  9947. Fixes #79313.
  9948. 2006-11-17 Alexander Olk <[email protected]>
  9949. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  9950. can't handle those filters. (Fixes bug #79961)
  9951. 2006-11-17 Chris Toshok <[email protected]>
  9952. [ fixes the exit/crashes associated with #79835. it's clearly
  9953. suboptimal though, we need to figure out a better way to solve
  9954. this. ]
  9955. * PrintPreviewControl.cs: deal with the new invalid printer
  9956. exceptions.
  9957. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  9958. and return false (so CommonDialog.ShowDialog doesn't actually show
  9959. the form.)
  9960. * PrintDialog.cs: enable/disable the Ok button depending on
  9961. whether or not the printer is valid.
  9962. * CommonDialog.cs (ShowDialog): only actually show the form if
  9963. RunDialog returns true.
  9964. 2006-11-17 Jackson Harper <[email protected]>
  9965. * TextControl.cs: When soft splitting a line, mark it as a soft
  9966. split line. Also carry over the current line break to the next
  9967. line.
  9968. 2006-11-17 Chris Toshok <[email protected]>
  9969. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  9970. only want to shift the part of the invalid area that overlaps the
  9971. area we're scrolling. we also don't want to clear the invalid
  9972. area unless the invalid area was entirely contained within the
  9973. scrolling area.
  9974. 2006-11-16 Chris Toshok <[email protected]>
  9975. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  9976. also make sure to free the memory returned by XGetWindowProperty
  9977. in GetText().
  9978. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  9979. 2006-11-16 Chris Toshok <[email protected]>
  9980. * XplatUI.cs: add a new super secret way to get at the totally
  9981. unsupported X11 backend.
  9982. 2006-11-16 Gert Driesen <[email protected]>
  9983. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  9984. 2006-11-16 Jackson Harper <[email protected]>
  9985. * TreeView.cs: Allow more explicit setting of top node position
  9986. for scrollbars. Slower algo, but more accurate.
  9987. - CollapseAll should maintain the current top node.
  9988. * TextBoxBase.cs: When positioning the caret, use the line, pos
  9989. method, since the x, y method does not grab the correct tag, and
  9990. the caret height never gets set correctly. (Maybe I should just do
  9991. away with the caret having its own height, and always use the
  9992. carets current tag for height).
  9993. 2006-11-16 Jonathan Pobst <[email protected]
  9994. [Fixes 79778, 79923]
  9995. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  9996. Parent to the FosterParent instead.
  9997. 2006-11-16 Jackson Harper <[email protected]>
  9998. * TreeView.cs: Need to recalc the topnode when we expand or
  9999. collapse. The scrolling methods can't handle this on their own,
  10000. since they use differences between the last scroll position, and
  10001. those difference get completely messed up since we are expanding
  10002. nodes. This problem should probably be fixed in the scrolling
  10003. methods, so they can figure out exactly where they are, but this
  10004. will slow things down a little.
  10005. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  10006. strings, makes nunit-gui look a lot nicer.
  10007. 2006-11-16 Chris Toshok <[email protected]>
  10008. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  10009. the broken multithreaded event handling we have in here. File
  10010. this entry under "Why we should move to the new X11 backend".
  10011. Any thread can make it into UpdateMessageQueue, which gets events
  10012. from the X socket - some of which could belong to hwnds being
  10013. managed by a different thread. We can also have multiple threads
  10014. in UpdateMessageQueue at the same time, with each one reading from
  10015. the X socket. This leads to many problems, with the following
  10016. solutions:
  10017. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  10018. EnqueueLocked.
  10019. The MotionNotify compression we do can't work across threads
  10020. (without locking the entire queue, perhaps) since we call
  10021. hwnd.Queue.Peek, so we just punt and don't compress motion events
  10022. unless the owning thread is the one which got the X event.
  10023. ConfigureNotify is another fun one, since it modifies the hwnd's
  10024. bounds and then enqueues the event. We add a lock to Hwnd which
  10025. is held when setting configure_pending to true (and enqueuing the
  10026. event).
  10027. There is a race wrt the wake socket. we need to make sure that
  10028. only 1 thread is waiting on that socket, or else a thread could
  10029. sleep waiting for data that never comes. It's difficult (but not
  10030. impossible) to make happen, because it seems to require something
  10031. like the following:
  10032. 1. Thread 1 polls on wake_receive
  10033. 2. poll returns saying there's data to be read on
  10034. wake_receive.
  10035. 3. Thread 2 polls on wake_receive and immediately returns
  10036. saying there's data to be read.
  10037. 4. Thread 2 reads the wakeup byte from wake_receive
  10038. 5. Thread 1 attempts to read the wakeup byte from
  10039. wake_receive.
  10040. 6. Thread 2 exits (due to a form closing, perhaps).
  10041. 7. Thread 1 blocks forever.
  10042. Fun, eh?
  10043. Fixing the Expose handling isn't done yet, and the races inherent
  10044. in that piece of code are responsible for the drawing mistakes you
  10045. see when generating expose events in a MT app (like NPlot). This
  10046. one is the likely to be the hardest to bandaid, and it doesn't
  10047. appear to cause anything but drawing problems. The other issues
  10048. caused apps to exit or hang.
  10049. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  10050. called from a different thread than the one that should be calling
  10051. these functions.
  10052. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  10053. 2006-11-15 Chris Toshok <[email protected]>
  10054. * Application.cs: null out the context's MainForm when we exit
  10055. RunLoop. Fixes a newly checked in unit test as well as the last
  10056. ODE from bug #79933.
  10057. 2006-11-15 Chris Toshok <[email protected]>
  10058. * Form.cs (set_Owner): allow a null value so we can clear the
  10059. form's owner.
  10060. (Dispose): set all our owned_form's Owner properties to null, and
  10061. clear the owned_forms collection.
  10062. (WM_CLOSE): clean up this a little bit.. still not right though.
  10063. * ApplicationContext.cs: OnMainFormClosed should only call
  10064. ExitThreadCore if the main form isn't recreating. Fixes unit
  10065. test.
  10066. 2006-11-15 Jonathan Pobst <[email protected]>
  10067. [Fixes 78346]
  10068. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  10069. 2006-11-15 Jonathan Pobst <[email protected]>
  10070. [Fixes 79433]
  10071. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  10072. keep popup window types from stealing focus from the main form
  10073. on Windows.
  10074. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  10075. * MenuAPI.cs: Set above flag to true.
  10076. 2006-11-15 Chris Toshok <[email protected]>
  10077. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  10078. the button being released is not in wParam.
  10079. 2006-11-15 Jonathan Pobst <[email protected]>
  10080. * Form.cs: Add the released button to MouseEventArgs.Button
  10081. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  10082. on Win32.
  10083. 2006-11-15 Chris Toshok <[email protected]>
  10084. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  10085. GetText(). untested because it's unused in our implementation.
  10086. Control.Text always caches the text, even if
  10087. ControlStyles.CacheText is not set.
  10088. fixes bug #79939.
  10089. 2006-11-15 Chris Toshok <[email protected]>
  10090. [ fixes #79933 ]
  10091. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  10092. message. no hiding, no disposing.
  10093. in the WM_CLOSE handler, hide the form if it's modal.
  10094. 2006-11-15 Chris Toshok <[email protected]>
  10095. * XplatUIX11.cs: use AddExpose instead of sending a message.
  10096. fixes textbox border drawing.
  10097. 2006-11-15 Chris Toshok <[email protected]>
  10098. * PropertyGridView.cs: keep from crashing on mouse move/down when
  10099. the property grid is empty.
  10100. 2006-11-14 Jackson Harper <[email protected]>
  10101. * TextControl.cs: Make PageUp and PageDown more like the MS
  10102. versions.
  10103. * TextBoxBase.cs: When we set the text property position the
  10104. cursor at the beginning of the document.
  10105. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10106. * Form.cs: if a mdi child's WindowState has changed
  10107. before it's creation, it would display wrong control
  10108. buttons.
  10109. 2006-11-14 Alexander Olk <[email protected]>
  10110. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  10111. (Fixes bug #79927)
  10112. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10113. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  10114. the window gets to paint its borders even if the window is
  10115. getting smaller.
  10116. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  10117. otherwise the old control buttons would still be painted
  10118. if the window gets bigger.
  10119. * PaintEventArgs.cs: add an internal method so that the clip
  10120. rectangle can be changed.
  10121. 2006-11-13 Chris Toshok <[email protected]>
  10122. [ fixes bug #79745 ]
  10123. * NotifyIcon.cs: lots of cleanup.
  10124. * X11Structs.cs: add an enum for XEMBED messages.
  10125. * XplatUIX11.cs: reindent one of the giant switch statements, it
  10126. was taking up an additional tab stop, and this file is already way
  10127. too wide for my laptop's screen.
  10128. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  10129. we get it, resize the hwnd to the WMNormalHints max_width/height.
  10130. 2006-11-13 Jackson Harper <[email protected]>
  10131. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  10132. teh simple way.
  10133. 2006-11-13 Chris Toshok <[email protected]>
  10134. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  10135. #79898. force a reference to the Region to stick around so the
  10136. unmanaged object isn't collected (rendering our handle in the MSG
  10137. stale).
  10138. 2006-11-13 Chris Toshok <[email protected]>
  10139. * XplatUIX11.cs: fix #79917 for window managers which support
  10140. using XStoreName on the raw utf8, and we need to convert to
  10141. COMPOUND_TEXT if it's non-latin1.
  10142. 2006-11-13 Chris Toshok <[email protected]>
  10143. * Form.cs (set_DialogResult): we need to set closing to false if
  10144. we're setting our result to None. fixes bug #79908.
  10145. 2006-11-13 Jackson Harper <[email protected]>
  10146. * TextControl.cs: When formatting text, compute the adjusted tag
  10147. lengths correctly, using FindTag for the end tag instead of trying
  10148. to figure it out outselves.
  10149. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  10150. the item, ItemHeight doesn't work, because trees with large
  10151. imagelists use those for their height
  10152. * TreeView.cs: ActualItemHeight factors in the image height
  10153. - compute left edge of checkboxes correctly
  10154. - when expanding/collapsing move the bottom down one pixel, so we
  10155. aren't moving part of the node
  10156. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  10157. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  10158. stack in PaintEventStart so that it won't get disposed by the gc
  10159. before reaching PaintEventEnd.
  10160. 2006-11-13 Jackson Harper <[email protected]>
  10161. * TextBoxBase.cs: Don't select the word if we are on a line with
  10162. no text.
  10163. - We don't need to position the caret on mouse up, since the mouse
  10164. move handler should be doing this
  10165. - When double clicking a blank line, the caret is advanced to the
  10166. next line.
  10167. 2006-11-13 Gert Driesen <[email protected]>
  10168. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  10169. 2006-11-12 Gert Driesen <[email protected]>
  10170. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  10171. Fixes part of bug #79910.
  10172. 2006-11-11 Alexander Olk <[email protected]>
  10173. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  10174. (bug #79903). Some minor string updates to match ms.
  10175. 2006-11-10 Alexander Olk <[email protected]>
  10176. * FileDialog.cs: Don't add an extension if the filename
  10177. already ends with that extension.
  10178. 2006-11-10 Jackson Harper <[email protected]>
  10179. * TreeView.cs: Use the currently highlighted node for the
  10180. BeforeSelect event.
  10181. * TextBoxBase.cs: There is no need to expand selection on
  10182. MouseMove.
  10183. - CanUndo means 'is there any undo operations', not 'is undo
  10184. allowed on this textcontrol. Fixed ClearUndo unit test.
  10185. 2006-11-10 Andreia Gaita <[email protected]>
  10186. * Button.cs: only perform click when button is Selectable (so as
  10187. not to activate default buttons when they're disabled)
  10188. * Control.cs: Rewrite of the SelectNextControl and related
  10189. methods. HandleClick now selects next control if the current one
  10190. is being disabled.
  10191. * Form.cs: OnActivated selects next active control only if Load
  10192. has already occurred. If Load hasn't run, there's no point in
  10193. selecting here, Load might change the state of controls.
  10194. * FocusTest.cs: Tests marked as working again for these fixes
  10195. 2006-11-10 Chris Toshok <[email protected]>
  10196. * XplatUIX11.cs: a couple of fixes.
  10197. - use XInternAtoms with almost all the atoms we need to register,
  10198. instead of many, many calls to XInternAtom. should help a bit on
  10199. startup time, at the expense of making the code look a little
  10200. worse.
  10201. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  10202. isn't reparented (which seems to be a clue that we're running fon
  10203. compiz) and they have an Owner form. This fixes the tool windows
  10204. in paint.net when running under compiz.
  10205. - when setting the opacity of a window, support both the case
  10206. where the window has been reparented and also when it hasn't been.
  10207. Since compiz/beryl doesn't seem to reparent windows, and these are
  10208. the only window managers which support translucency, I'm not sure
  10209. why we need the hwnd.reparented case at all.. but leave it in.
  10210. now we get translucent windows in paint.net under compiz/beryl.
  10211. 2006-11-10 Alexander Olk <[email protected]>
  10212. * FileDialog.cs: Always return the value for FilterIndex that
  10213. was set. Internally convert it to values that make sense.
  10214. 2006-11-10 Everaldo Canuto <[email protected]>
  10215. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  10216. 2006-11-10 Everaldo Canuto <[email protected]>
  10217. * Toolbar.cs: Change default value of DropDownArrows to true, the
  10218. signature still using false to make it compatible with MS but the
  10219. initial value is true. Fixes #79855.
  10220. 2006-11-10 Alexander Olk <[email protected]>
  10221. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  10222. only available on Linux.
  10223. 2006-11-09 Everaldo Canuto <[email protected]>
  10224. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  10225. reduce number of calls to redraw method during toolbar creation.
  10226. 2006-11-09 Mike Kestner <[email protected]>
  10227. * ListView.cs : raise SelectedIndexChanged when an item is selected
  10228. programmatically via the Item.Selected property. Gert's nice
  10229. ListViewSelectedIndexChanged test fixture now runs clean.
  10230. 2006-11-09 Mike Kestner <[email protected]>
  10231. * ListView.cs : raise SelectedIndexChanged when a selected item is
  10232. removed from the item collection using Remove or RemoveAt.
  10233. 2006-11-09 Mike Kestner <[email protected]>
  10234. * ListView.cs : raise SelectedIndexChanged once per selected item
  10235. for compat with MS. Fixes #79849+.
  10236. 2006-11-09 Chris Toshok <[email protected]>
  10237. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  10238. we need to (if we have any tab pages). Fixes unit test.
  10239. 2006-11-09 Chris Toshok <[email protected]>
  10240. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  10241. width is 0, not 3. Fixes a unit test.
  10242. 2006-11-09 Mike Kestner <[email protected]>
  10243. * ListView.cs : use Implicit scrollbars so that focus isn't
  10244. stolen from the listview when they are clicked. Fixes #79850.
  10245. 2006-11-09 Chris Toshok <[email protected]>
  10246. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  10247. have a root item. Fixes #79879.
  10248. 2006-11-09 Alexander Olk <[email protected]>
  10249. * FileDialog.cs:
  10250. - Fix ToString ()
  10251. - An ArgumentException is now thrown if a wrong filter
  10252. is applied (matches ms). The previous filter doesn't change
  10253. anymore if an exception is thrown.
  10254. - Changing the FileName property also affects FileNames
  10255. * ColorDialog.cs: The length of the CustomColors array is always
  10256. 16. It doesn't matter if we use a smaller array or null to update
  10257. or change the custom colors property.
  10258. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  10259. for RootFolder if we get a undefined value.
  10260. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  10261. * StatusBarPanel.cs:
  10262. - Width is set to MinWidth if Width is smaller than
  10263. MinWidth. Fixes #79842.
  10264. - MinWidth now always overrides Width (MSDN says MinWidth
  10265. is set to Width when AutoSize = None, but they do not
  10266. behave like that).
  10267. - Style has now the the correct default value.
  10268. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  10269. * TrackBar.cs:
  10270. - The control is completely invalidated on
  10271. Got/LostFocus to draw the focus rectangle correctly.
  10272. - When AutoSize then height is always 45 (width for
  10273. vertical controls).
  10274. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  10275. on the mouse when moved and it doesn't move when grabbed
  10276. until the mouse moves as well. Also fixed some wrong
  10277. calculations when clicking on the thumb (control thought
  10278. click was outside of thumb and didn't grab it).
  10279. Fixes some of the issues in #79718.
  10280. 2006-11-08 Everaldo Canuto <[email protected]>
  10281. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  10282. 2006-11-08 Chris Toshok <[email protected]>
  10283. * PropertyGridView.cs: only call ToggleValue if the item is not
  10284. readonly.
  10285. 2006-11-08 Jackson Harper <[email protected]>
  10286. * TextBoxBase.cs: The RichTextBox and textbox have very different
  10287. word selection methods. Implement the textbox's simple word
  10288. selection here, and let the RichTextBox override and provide it's
  10289. own.
  10290. - Don't do extra selection on mouseup
  10291. * RichTextBox.cs: Use the documents word selection algorithm, I
  10292. think ideally, this function will be pulled into the
  10293. RichTextBox.cs code someday.
  10294. 2006-11-08 Chris Toshok <[email protected]>
  10295. * RootGridEntry.cs: new class to represent GridItemType.Root.
  10296. * CategoryGridEntry.cs: reformat, and add boilerplate.
  10297. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  10298. returns the UI parent anyway, and we need special handling to
  10299. implement the GetTarget method in the face of it. Also, implement
  10300. Select().
  10301. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  10302. a root grid item, and use that instead of PropertyGrid.grid_items.
  10303. Also, make use of TypeConverters (and add limitted support for
  10304. ICustomTypeDescriptors) when initially populating the grid.
  10305. Arrays now show up more or less properly.
  10306. 2006-11-08 Chris Toshok <[email protected]>
  10307. * Application.cs: set the modal dialog to non modal after we close
  10308. it. Fixes bug #79866.
  10309. 2006-11-08 Jackson Harper <[email protected]>
  10310. * TextControl.cs: When combining lines carry over the line end
  10311. style from the end line.
  10312. - Invalidate the selected area when setting it, if it is visible.
  10313. * TextBoxBase.cs: Only rich text box can do full line selects.
  10314. - Make sure to set the cursor position when there is a click,
  10315. otherwise two clicks in separate areas could cause a large chunk
  10316. to be selected.
  10317. 2006-11-07 Everaldo Canuto <[email protected]>
  10318. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  10319. Fixes #79863.
  10320. 2006-11-07 Everaldo Canuto <[email protected]>
  10321. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  10322. time. Remove tooltips when ToolButton click events. Fixes #79856.
  10323. 2006-11-07 Everaldo Canuto <[email protected]>
  10324. * MenuAPI.cs: Ignore right click for menu actions and fixes
  10325. menu border when clicked. Fixes #79846.
  10326. 2006-11-07 Everaldo Canuto <[email protected]>
  10327. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  10328. MouseState after create wParam for message, this fixes mouse button
  10329. equal none in mouse up events.
  10330. 2006-11-07 Andreia Gaita <[email protected]>
  10331. * Control.cs : Focus() now calls Select to set the Container's
  10332. Active Control and to give it focus. To avoid infinite recursion
  10333. (because ActiveControl also calls Focus at one point), a check
  10334. is made in Focus with the help of a new internal variable
  10335. is_focusing.
  10336. 2006-11-07 Mike Kestner <[email protected]>
  10337. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  10338. if there's a selection. Fixes #79849.
  10339. 2006-11-07 Gert Driesen <[email protected]>
  10340. * PropertyGrid.cs: Avoid fixed height of help description label.
  10341. Fixes part of bug #79829.
  10342. 2006-11-07 Chris Toshok <[email protected]>
  10343. * XplatUIX11.cs: fix #79790 again, by using the
  10344. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  10345. 2006-11-07 Everaldo Canuto <[email protected]>
  10346. * ToolBar.cs: Fix left click checking.
  10347. 2006-11-07 Chris Toshok <[email protected]>
  10348. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  10349. 2006-11-07 Chris Toshok <[email protected]>
  10350. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  10351. PropertyManager unit tests.
  10352. * PropertyManager.cs: make property_name internal.
  10353. 2006-11-07 Chris Toshok <[email protected]>
  10354. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  10355. pass a unit test. Also, don't set image_index to anything in
  10356. response to setting the ImageList property.
  10357. 2006-11-07 Everaldo Canuto <[email protected]>
  10358. * ToolBar.cs: Ignore click events when mouse button is not a
  10359. left button, only accepts other button for dropdown menus.
  10360. Fixes #79854.
  10361. 2006-11-07 Chris Toshok <[email protected]>
  10362. * DataGrid.cs: make the back and parent row buttons a little less
  10363. ugly.
  10364. 2006-11-07 Jackson Harper <[email protected]>
  10365. * TextBoxBase.cs: When converting to Text don't put line breaks in
  10366. for soft line breaks.
  10367. * TextControl.cs: There is an initial "fake" line in the document,
  10368. this is now a soft break line, so that an extra line feed doesn't
  10369. get added to the end of documents.
  10370. 2006-11-07 Chris Toshok <[email protected]>
  10371. [ fix bug #79778 ]
  10372. * CurrencyManager.cs: if the list is readonly, don't bother
  10373. checking if IBindingList.AllowNew is true.
  10374. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  10375. for non-DataRowView datasources.. or rather, make it not crash.
  10376. (DataGridPaintRelationRow): make sure we limit the row painting to
  10377. the area not covered by the row header, and make our cell width at
  10378. least large enough to cover the relation area. This allows grids
  10379. that have relations but no rows to render correctly.
  10380. (DataGridPaintRowContents): same type of changes here.
  10381. (SetDataSource): move back to always calling
  10382. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  10383. navigating back through relations.
  10384. (HitTest): handle the case where we have no cells but have
  10385. relations. Right now we generate a hit in cell 0 of whatever the
  10386. row is, not sure if this is strictly correct, but it works for our
  10387. purposes.
  10388. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  10389. bother doing anything.
  10390. 2006-11-07 Jonathan Pobst <[email protected]>
  10391. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  10392. early version of StatusStrip. Not responsible for eaten
  10393. application or firstborn children.
  10394. 2006-11-06 Chris Toshok <[email protected]>
  10395. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  10396. call GetTabRect with a -1 index. Fixes #79847.
  10397. 2006-11-06 Jackson Harper <[email protected]>
  10398. * TreeNodeCollection.cs: Update scrollbars after clearing.
  10399. 2006-11-06 Chris Toshok <[email protected]>
  10400. * NumericUpDown.cs: fix the ToString method for some unit test
  10401. love.
  10402. 2006-11-06 Chris Toshok <[email protected]>
  10403. * PropertyGrid.cs:
  10404. - set the initial SelectedGridItem if we can.
  10405. - Exclude non-mergable properties only if we're merging > 1
  10406. object. Merging 1 object isn't really merging, obviously.
  10407. - Handle PropertySort.NoSort just like Alphabetical, which is
  10408. wrong of course, but at least gets things on the screen.
  10409. * PropertyGridView.cs:
  10410. - Add method "FindFirstItem" which finds the first property grid
  10411. item, so we can select it by default.
  10412. - make use of GridEntry.CanResetValue.
  10413. - Don't call RedrawBelowItemOnExpansion here anymore, the
  10414. individual GridEntry's will do that.
  10415. - Remove the ITypeDescriptorContextImpl internal class.
  10416. * GridEntry.cs:
  10417. - this class needs to implement ITypeDescriptorContext, as it's
  10418. what MS's PropertyDescriptorGridEntry does, which means we can
  10419. remove the ITypeDescriptorContextImpl internal class from
  10420. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  10421. - keep a reference to our PropertyGridView, and move the call to
  10422. RedrawBelowItemOnExpansion here from PGV. This means
  10423. programmaticly setting Expanded actually does something visible.
  10424. - add a CanResetValue() function which takes into account our
  10425. possibly multiple "selected_objects" in the merged case. Shifting
  10426. PropertyGridView to use this method fixes another unreported
  10427. crasher found running the test for #79829.
  10428. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  10429. is updated to reflect this.
  10430. * CategoryGridEntry.cs: the ctor takes the PGV now.
  10431. 2006-11-06 Jackson Harper <[email protected]>
  10432. * TextControl.cs: These are 1 based.
  10433. * TextBoxBase.cs: When setting the selected text, don't change the
  10434. selected text tags, this is done by ReplaceText, just position the
  10435. cursor at the end of the new text.
  10436. 2006-11-06 Alexander Olk <[email protected]>
  10437. * ListView.cs: Allow label edit only when, when LabelEdit is
  10438. set to true.
  10439. 2006-11-06 Jackson Harper <[email protected]>
  10440. * TextControl.cs: If a suitable wrapping position isn't found,
  10441. just wrap right in the middle of a word.
  10442. 2006-11-06 Alexander Olk <[email protected]>
  10443. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  10444. bug #79820.
  10445. 2006-11-06 Jackson Harper <[email protected]>
  10446. * TreeView.cs: Can't use the VisibleCount property when setting
  10447. scrollbar heights, because this doesn't take into account whether
  10448. or not the horz scrollbar just came visible.
  10449. 2006-11-05 Everaldo Canuto <[email protected]>
  10450. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  10451. activated. Fixes #79369, #79832.
  10452. 2006-11-05 Alexander Olk <[email protected]>
  10453. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  10454. had to remove support for links that point to a directory. FileInfo
  10455. returns no usefull information (means, the directory they point to)
  10456. for such links. Replaced some empty string ("") with String.Empty.
  10457. 2006-11-04 Gert Driesen <[email protected]>
  10458. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  10459. NullReferenceException when attempting to remove node that is not in
  10460. collection. Throw NullReferenceException when null is passed to
  10461. Remove. Allow first element of the collection to be removed. Fixes
  10462. bug #79831. In GetEnumerator ().Current return null if positioned
  10463. before the first element of the collection. In GetEnumerator ().Reset,
  10464. position before first element of the collection.
  10465. 2006-11-04 Gert Driesen <[email protected]>
  10466. * PropertyGrid.cs: To match MS, remove default title and description
  10467. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  10468. buttons.
  10469. 2006-11-04 Chris Toshok <[email protected]>
  10470. * Theme.cs: add a Clamp method, just for kicks.
  10471. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  10472. 2006-11-04 Chris Toshok <[email protected]>
  10473. * Form.cs: if the form isn't visible, Close() does nothing.
  10474. 2006-11-03 Chris Toshok <[email protected]>
  10475. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  10476. Hide it.
  10477. (WndProc): don't Dispose after handling the WM_CLOSE message.
  10478. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  10479. them as such, instead of using casts from Control to Form. Also,
  10480. don't Dispose of the modal dialog when we fall out of the loop -
  10481. Close() it instead.
  10482. fixes bug #79813.
  10483. 2006-11-03 Chris Toshok <[email protected]>
  10484. * Control.cs (Dispose): only go through the dispose thing if we're
  10485. @disposing, and we haven't already been disposed. Fixes bug
  10486. #79814.
  10487. * Form.cs: no reason to call "base.Dispose()" here instead of
  10488. "Dispose()".
  10489. 2006-11-03 Mike Kestner <[email protected]>
  10490. * ComboBox.cs : use ToString instead of casts in AddItem for
  10491. sorting functionality. Fixes #79812.
  10492. 2006-11-03 Chris Toshok <[email protected]>
  10493. * Application.cs: pave the way for actually using the thread
  10494. exception dialog. it's ifdefed out at the moment.
  10495. 2006-11-03 Chris Toshok <[email protected]>
  10496. * ThreadExceptionDialog.cs: until we get a better layout, actually
  10497. hide the details textbox and label when we shouldn't see them.
  10498. 2006-11-03 Jackson Harper <[email protected]>
  10499. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  10500. multiline textboxes anymore. This method also determines the
  10501. width/height of a textboxes canvas area.
  10502. - Sorta a revert of the last patch. For multiline just position
  10503. the controls, then bail. This way the scrollbar width won't be
  10504. altered.
  10505. 2006-11-03 Everaldo Canuto <[email protected]>
  10506. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  10507. it dont need. Fixes #79537.
  10508. 2006-11-02 Jackson Harper <[email protected]>
  10509. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  10510. send the status after firing the DndOver event.
  10511. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  10512. * TrackBar.cs: Now orientation only switches height / width if
  10513. the control's handle is created (Win32 does it like this). Also
  10514. fixed a typo in ToString() for a test to pass, changed the
  10515. exception thrown in set_LargeChange and set_SmallChange to
  10516. match Win32 behaviour, and added TrackBar tests to the unit
  10517. tests.
  10518. 2006-11-02 Chris Toshok <[email protected]>
  10519. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  10520. not _NET_WM_STATE_NO_TASKBAR.
  10521. 2006-11-02 Jackson Harper <[email protected]>
  10522. * TextControl.cs: Increment count by one, since in the update view
  10523. count - 1 is used.
  10524. 2006-11-02 Jackson Harper <[email protected]>
  10525. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  10526. the mouse is in the client rectangle (duh).
  10527. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  10528. * TrackBar.cs: Fixed trackbar jumping around when clicking
  10529. on it - the trackbar was not detecting correctly at which
  10530. side of the thumb the click was done. (fixes #79718)
  10531. 2006-11-02 Everaldo Canuto <[email protected]>
  10532. * ListBox.cs: scroll visible area when change SelectedIndex to
  10533. a non visible area. Fixes #79481.
  10534. 2006-11-01 Jackson Harper <[email protected]>
  10535. * TextControl.cs: When replacing the selection move the selection
  10536. start/end/anchor to the end of the new text.
  10537. 2006-11-01 Jackson Harper <[email protected]>
  10538. * XplatUIWin32.cs: When setting the parent change the controls
  10539. visibility to it's visibility flag, not to it's old parents
  10540. visibility (.Visible walks the parent chain).
  10541. 2006-11-01 Chris Toshok <[email protected]>
  10542. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  10543. XSetTransientForHint fix breaks paint .net's tool windows. more
  10544. work needed for that one.
  10545. 2006-11-01 Chris Toshok <[email protected]>
  10546. * ScrollBar.cs: throw ArgumentException instead of Exception in
  10547. LargeChange/SmallChange setters. fixes unit tests.
  10548. 2006-10-31 Andreia Gaita <[email protected]>
  10549. * ContainerControl.cs: reverted rev.67183 (which was itself
  10550. a reversion of rev.66853... eh).
  10551. * Control.cs: Fixes Reflector hang by changing Focus() call
  10552. to what it was before rev.66643 (calling Select() here sets
  10553. ActiveControl, which in some situations calls back Focus and
  10554. eventually does a stack overflow). Temp fix.
  10555. Changes to GetNextControl() to not look for children to select when
  10556. parent cannot be selectable (so it looks for siblings instead)
  10557. 2006-10-31 Mike Kestner <[email protected]>
  10558. * CheckedListBox.cs : off by one error in returned index from
  10559. ObjectCollection.Add. Fixes #79758.
  10560. 2006-10-31 Chris Toshok <[email protected]>
  10561. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  10562. calls for the textbox/spinner, to keep from recursing to the point
  10563. where we crash. Fixes #79760.
  10564. 2006-10-31 Chris Toshok <[email protected]>
  10565. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  10566. null/"" value, just return. matches ms's behavior and fixes some
  10567. failing tests.
  10568. 2006-10-31 Chris Toshok <[email protected]>
  10569. * Control.cs (set_Capture): make a logic a little easier to
  10570. follow.
  10571. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  10572. if it's being destroyed. A necessary fix surely, but a bandaid
  10573. also, to fix the stuck capture problem in bug #78413.
  10574. 2006-10-31 Chris Toshok <[email protected]>
  10575. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  10576. convention of clearing hwnd.ClientRect when we set the
  10577. width/height (so it'll be recalculated by Hwnd).
  10578. 2006-10-31 Andreia Gaita <[email protected]>
  10579. * ContainerControl.cs: reversed Contains check from
  10580. ActiveControl due to hanging problems. This fix
  10581. partly regresses #79667 (button does not have
  10582. initial focus), so this might be a symptom for
  10583. a larger parenting problem (set_ActiveControl
  10584. is being called but the child control does
  10585. not have the parent set yet?)
  10586. 2006-10-31 Mike Kestner <[email protected]>
  10587. * MenuAPI.cs : fix keynav when menu is click activated.
  10588. 2006-10-31 Jonathan Pobst <[email protected]>
  10589. * ToolStrip*: Version 0.2.
  10590. * MenuStrip.cs: Version 0.1.
  10591. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  10592. 2006-10-30 Chris Toshok <[email protected]>
  10593. [ fixes the oversized notify icon issue in bug #79745 ]
  10594. * NotifyIcon.cs: scale the icon down to the size we're given by
  10595. the XplatUI layer (this would be faster if we did it once instead
  10596. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  10597. since it's never invoked.
  10598. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  10599. pixels high by default, so let's hardcode our systray icon to that
  10600. size. The SYSTEM_TRAY protocol should really have a way for
  10601. client apps to query for the correct icon size.. but oh well. A
  10602. couple of patches to deal with the screwy client_window ==
  10603. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  10604. instance, and also make sure we don't XSelectInput twice).
  10605. 2006-10-30 Chris Toshok <[email protected]>
  10606. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  10607. recreating forms. Control recreation is the bane of my existence.
  10608. Fix it in a way that keeps everyone happy.
  10609. 2006-10-30 Chris Toshok <[email protected]>
  10610. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  10611. just non-CHILD ones. otherwise sometimes scrollbars end up with
  10612. client_windows not being resized to the proper size (ReportBuilder
  10613. shows this extremely well).
  10614. 2006-10-30 Chris Toshok <[email protected]>
  10615. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  10616. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  10617. showing up in the gnome taskbar. Fixes bug #79790.
  10618. 2006-10-30 Chris Toshok <[email protected]>
  10619. * ApplicationContext.cs: guard against a NRE.
  10620. * Application.cs: null out the old MainForm for the context, so we
  10621. don't try to use it again once it's disposed. Fixes bug #79783.
  10622. 2006-10-30 Chris Toshok <[email protected]>
  10623. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  10624. BindingContext, set the data source directly, otherwise do the
  10625. lazy approach - the actual ListManager will be created when we get
  10626. a BindingContext. Fixes bug #79700.
  10627. 2006-10-30 Jonathan Pobst <[email protected]>
  10628. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10629. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  10630. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  10631. 2006-10-30 Jonathan Pobst <[email protected]>
  10632. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  10633. of SetVisible that allows a window to be shown, but not activated.
  10634. This is needed on Windows for MenuStrip, and can probably be used
  10635. with MainMenu and ComboBox to fix the focus stealing issues on
  10636. Windows.
  10637. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  10638. 2006-10-30 Alexander Olk <[email protected]>
  10639. * PictureBox.cs: Fix the output of the ToString method.
  10640. 2006-10-29 Chris Toshok <[email protected]>
  10641. * Control.cs (get_TopLevelControl): fix bug #79781.
  10642. 2006-10-29 Chris Toshok <[email protected]>
  10643. * ListControl.cs (set_DataSource): throw Exception here, not
  10644. ArgumentException, to match MS behavior.
  10645. 2006-10-29 Chris Toshok <[email protected]>
  10646. * Form.cs: remove the try-catch's around calls to GetWindowState.
  10647. We can just check the return value.
  10648. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  10649. Instead return -1.
  10650. * XplatUI.cs: Add note about additional return value for
  10651. GetWindowState.
  10652. 2006-10-29 Chris Toshok <[email protected]>
  10653. * Control.cs (CreateHandle): when we create our handle, we also
  10654. create the handles of our child controls. Fixes one of the
  10655. Control unit tests (CH11).
  10656. 2006-10-28 Alexander Olk <[email protected]>
  10657. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  10658. 2006-10-28 Alexander Olk <[email protected]>
  10659. * ThemeClearlooks.cs: A little speedup.
  10660. 2006-10-27 Chris Toshok <[email protected]>
  10661. * Control.cs: implement Control.FromChildHandle in a way that
  10662. matches the docs (and fixes the failed test.)
  10663. 2006-10-27 Chris Toshok <[email protected]>
  10664. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  10665. comments).
  10666. * DataGrid.cs: implement ResetForeColor such that the tests
  10667. succeed.
  10668. 2006-10-27 Chris Toshok <[email protected]>
  10669. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  10670. being set to "". Fixes bug #79759.
  10671. 2006-10-27 Jackson Harper <[email protected]>
  10672. * TextControl.cs: We need to clear the entire selection area when
  10673. setting the start, otherwise multiline selections are still
  10674. visible.
  10675. 2006-10-26 Chris Toshok <[email protected]>
  10676. * PropertyGridView.cs:
  10677. - ifdef all the code specific to the double
  10678. buffer case, and provide some alternatives in the non-doublebuffer
  10679. code, which makes heavy use of XplatUI.ScrollWindow to move things
  10680. around without having to invalidate (and cause flicker). There
  10681. are still some drawing problems in the non-doublebuffered case, so
  10682. DOUBLEBUFFER is defined by default.
  10683. - Fix the way dropdowns are handled. now we explicitly watch for
  10684. the events which might cause the dropdown to close, and break out
  10685. of the nested event loop there. This gets rid of all Capture
  10686. code, at the expense of the Msg special casing. Seems to work,
  10687. though, and fixes bug #79743.
  10688. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  10689. * Control.cs: SetIsRecreating now recreates implicitly added
  10690. child controls as well. Finally fixes #79629. The flag passed to
  10691. SetIsRecreating has also been removed since it wasn't used.
  10692. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  10693. * PageSetupDialog.cs: Clean some code, fix some bits,
  10694. add some checks, and add a printer sub-dialog.
  10695. 2006-10-26 Chris Toshok <[email protected]>
  10696. * PropertyGrid.cs: make set_SelectedObject call
  10697. set_SelectedObjects, and move the duplicate logic to the
  10698. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  10699. * PropertyGridView.cs: hide the textbox when we get a
  10700. SelectedObjectsChanged event.
  10701. Fixes bug #79748.
  10702. 2006-10-26 Chris Toshok <[email protected]>
  10703. * PropertyGridView.cs: deal with the type converter not supporting
  10704. GetStandardValues() or GetStandardValues() returning null, which
  10705. is does in the default case. Fixes #79742.
  10706. 2006-10-25 Andreia Gaita <[email protected]>
  10707. * CheckedListBox.cs: nunit no longer crashes when selecting
  10708. Project/Edit menu option
  10709. 2006-10-25 Andreia Gaita <[email protected]>
  10710. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  10711. is no menu selected. fixes #79739
  10712. 2006-10-25 Chris Toshok <[email protected]>
  10713. * PropertyGridView.cs: factor out the splitter invalidation code
  10714. into the SplitterPercent setter, and for kicks implement the
  10715. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  10716. amount in either direction.
  10717. 2006-10-25 Chris Toshok <[email protected]>
  10718. * PropertyGridView.cs: do some cleanup of the brush used to draw
  10719. text - read only fields should be grayed out. not sure how to do
  10720. this with the textbox, though. but the textbox's should also be
  10721. readonly now at least. Also, hide/show the textbox when resizing
  10722. the control.
  10723. * CursorConverter.cs: use System.Reflection when getting the
  10724. properties of Cursors, as TypeDescriptor.GetProperties isn't
  10725. returning static properties.
  10726. 2006-10-25 Chris Toshok <[email protected]>
  10727. * PropertyGridView.cs: factor out the up/down handling, and reuse
  10728. it for page up/down. also add End/Home support.
  10729. 2006-10-25 Chris Toshok <[email protected]>
  10730. * PropertyGridView.cs:
  10731. - ensure the selected grid item is visible in the scrolled area,
  10732. fixes bug #79572.
  10733. - fix Keys.Down handling when you're on the last item in the
  10734. propertygrid.
  10735. 2006-10-25 Mike Kestner <[email protected]>
  10736. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  10737. clicks too. Fixes #79725.
  10738. 2006-10-24 Chris Toshok <[email protected]>
  10739. * PropertyGrid.cs: use property.Converter instead of
  10740. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  10741. TypeConverters declared on the property as well as on the
  10742. PropertyType. Fixes bug #79678.
  10743. 2006-10-24 Alexander Olk <[email protected]>
  10744. * MimeIcon.cs, Mime.cs:
  10745. Fallback to the default platform handler if no shared mime info
  10746. stuff exists (fixes #79693).
  10747. 2006-10-20 Andreia Gaita <[email protected]>
  10748. * ContainerControl.cs: Incorrect contains check in ActiveControl
  10749. from previous fix (duh).
  10750. 2006-10-20 Chris Toshok <[email protected]>
  10751. * PropertyGridView.cs: the dropdown should be MIN(number of items
  10752. in list, 15). Fixes #79551.
  10753. 2006-10-20 Andreia Gaita <[email protected]>
  10754. Fixes #79384, #79394, #79652, #79667
  10755. * Application.cs:
  10756. - Modal windows are now destroyed in the proper order for windows
  10757. * ContainerControl.cs:
  10758. - ActiveControl setter has more conditions on when to return:
  10759. - if we're reselecting the active control, but it actually
  10760. didn't have focus (window hidden or some such), it runs
  10761. - if the active control being selected doesn't actually
  10762. exist in the container, it returns
  10763. * Form.cs
  10764. - The ShowDialog now gets the current form as the owner when
  10765. invoking without parameters, and correctly activates the owner
  10766. when returning
  10767. * MessageBox.cs
  10768. - MessageBox now catches the Escape key to exit
  10769. 2006-10-20 Chris Toshok <[email protected]>
  10770. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  10771. most of bug #79676):
  10772. - you can navigate around the property grid with the arrow keys.
  10773. - the dropdown is sized properly when the pg has a vertical
  10774. scrollbar.
  10775. - fix the indentation for subentries, and properly select the
  10776. entire label rect.
  10777. - fix the gray bar's drawing (only draw it to the last element,
  10778. not for the height of the control. Also make sure we draw that
  10779. last horizontal grid line.
  10780. - use the same mechanism the datagrid uses wrt the editing textbox
  10781. when scrolling/resizing/etc. Namely, we hide it first, do the
  10782. operation, then show it again (if it's still visible).
  10783. - aggressively remove a lot of unnecessary refreshes (and also
  10784. calls to Invalidate(). call more limited variants, and only redraw
  10785. what we need.)
  10786. * PropertyGrid.cs:
  10787. - when we're populating the merged collection, fill in the UI
  10788. parent with either the passed in item, or the category item we
  10789. create.
  10790. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  10791. * GridItem.cs: drop some fully qualified names.
  10792. * GridEntry.cs: add a "UIParent", which is basically the parent
  10793. treenode.
  10794. * GridItemCollection.cs: add an IndexOf method.
  10795. 2006-10-20 Mike Kestner <[email protected]>
  10796. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  10797. a working win32 NC invalidation mechanism, we can't invalidate
  10798. menus. [Fixes #79705]
  10799. 2006-10-20 Mike Kestner <[email protected]>
  10800. * ListBox.cs : don't update the VScrollbar if the list is empty,
  10801. just hide it. [Fixes #79692]
  10802. 2006-10-20 Jackson Harper <[email protected]>
  10803. * RichTextBox.cs: Handle some special chars better, and don't skip
  10804. the entire group when we encounter a special char that we don't
  10805. handle correctly.
  10806. 2006-10-18 Chris Toshok <[email protected]>
  10807. * PropertyGridView.cs: address a number of issues from bug #79676,
  10808. mostly of the cosmetic variety.
  10809. - The highlight rectangle for indented items not extends all the
  10810. way to the left.
  10811. - Indented items aren't indented so much.
  10812. - the dropdown is properly sized width-wise if the pg has a
  10813. vertical scrollbar.
  10814. 2006-10-18 Chris Toshok <[email protected]>
  10815. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  10816. systray stuff is rather convoluted to begin with.
  10817. systray icons are a single window for some reason (that I haven't
  10818. figured out yet), and for them, client_window == whole_window.
  10819. Given the way the tests are structured elsewhere to determine
  10820. which paints are pending (client vs. nc), that situation will
  10821. always yield PAINT, not NCPAINT. So, if we have a pending
  10822. nc_expose and no pending expose, remove the hwnd from the paint
  10823. queue, and also set nc_expose_pending to false, to keep us from
  10824. blocking further expose's adding the hwnd to the paint queue.
  10825. phew. like i said, a rather convoluted change. Fixes the
  10826. notifyicon repaint issues in bug #79645.
  10827. 2006-10-18 Chris Toshok <[email protected]>
  10828. * Form.cs: when getting the backcolor of the form, don't get
  10829. base.BackColor, as this allows parents to influence the background
  10830. color. This breaks mdi forms. Instead, if the background_color
  10831. is empty, return the default.
  10832. 2006-10-18 Chris Toshok <[email protected]>
  10833. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  10834. to being private instead of internal static.
  10835. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  10836. crap, it wasn't working for more deeply nested controls anyway,
  10837. and we already have the is_recreating flag - use that instead.
  10838. Before calling DestroyHandle in RecreateHandle, recurse through
  10839. the control tree setting it to true. this returns the recreate
  10840. code to much of its original simplicity, while now guaranteeing we
  10841. actually recreate everything we're supposed to. This change gets
  10842. fyireporting actually showing mdi children.
  10843. 2006-10-17 Chris Toshok <[email protected]>
  10844. * Form.cs: remove some debug spew, and collapse some duplicate
  10845. code at the end of SetClientSizeCore.
  10846. * XplatUIX11.cs:
  10847. - add some more debug spew here too wrt Destroy handling.
  10848. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  10849. in Control's handling of WM_DESTROY.
  10850. - Remove the handling of zombie window DestroyNotifies from the
  10851. event loop - we don't need it. Now the only DestroyNotifies we
  10852. actually handle are ones generated by X.
  10853. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  10854. match gtk's (functioning) handling of this. This keep metacity
  10855. from leaving droppings in the form of wm borders with no window
  10856. contents all over the place.
  10857. * Control.cs:
  10858. - add a bunch of debug spew wrt control recreation.
  10859. - fix a bug where we weren't tracking Visible properly on
  10860. recreated hwnds.
  10861. - fixed the WM_PAINT double buffer handling to support re-entrant
  10862. calls (yes, i know it's gross, but it's happening to us).
  10863. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  10864. * ThemeWin32Classic.cs: changed drawing of selected days
  10865. to make them look better.
  10866. 2006-10-16 Chris Toshok <[email protected]>
  10867. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  10868. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  10869. * XplatUIX11.cs: move away from using hwnd.client_dc and
  10870. hwnd.non_client_dc and on to a stack of dc's (and in window's
  10871. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  10872. without puking or not disposing of Graphics objects.
  10873. * XplatUIOSX.cs: same.
  10874. * XplatUIWin32.cs: same.
  10875. 2006-10-03 Alexander Olk <[email protected]>
  10876. * FileDialog.cs: Don't call on_directory_changed inside
  10877. OnSelectedIndexChanged (it changes the SelectedIndex too).
  10878. Instead move it to OnSelectionChangeCommitted.
  10879. 2006-10-13 Chris Toshok <[email protected]>
  10880. * XplatUIX11.cs: more Destroy work. the current code does the
  10881. following things, in order:
  10882. 1. Enumerates all handles of all controls at or below the one
  10883. being destroyed, in pre-order. As it is doing this, it marks the
  10884. handles as zombie and clears all references to them.
  10885. 2. calls XDestroyWindow on the window passed in.
  10886. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  10887. list.
  10888. 2006-10-13 Chris Toshok <[email protected]>
  10889. * XplatUIX11.cs: set hwnd.zombie to true before calling
  10890. SendMessage (WM_DESTROY). this keeps us from marking the new
  10891. window a zombie, and also keeps us from calling sendmessage at
  10892. all.
  10893. 2006-10-13 Jackson Harper <[email protected]>
  10894. * TextControl.cs: Do not show the caret and selection at the same
  10895. time. Reduces ugliness by 35%.
  10896. 2006-10-13 Chris Toshok <[email protected]>
  10897. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  10898. zombie after we do the recursive call, so we actually do call
  10899. SendMessage on the children controls.
  10900. (GetMessage): if we find a pending paint event for a zombie hwnd,
  10901. remove the hwnd from the paint queue, or else it will always be
  10902. there (and we'll effectively loop infinitely)
  10903. 2006-10-13 Mike Kestner <[email protected]>
  10904. * MenuItem.cs : add Selected format under keynav too.
  10905. Fixes #79528.
  10906. 2006-10-13 Gert Driesen <[email protected]>
  10907. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  10908. implementation and that of MS.
  10909. 2006-10-13 Chris Toshok <[email protected]>
  10910. * Control.cs (OnInvalidated) only futz with the invalid_region if
  10911. the control is double buffered. this fixes the apparent hang in
  10912. the ListView unit tests. Someone needs to make the
  10913. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  10914. 2006-10-13 Chris Toshok <[email protected]>
  10915. * PropertyGridView.cs:
  10916. - do a little refactoring so that only one place calls
  10917. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  10918. else call that. Also make it Refresh, since there are redraw bugs
  10919. otherwise (we should take a look at that...)
  10920. - do a little more refactoring work to share the body of code
  10921. involved with the drop down. it was duplicated in the code
  10922. dealing with the listbox handling and in the code dealing with the
  10923. UITypeEditors.
  10924. - add a Capture to the dropdown form's control once it's
  10925. displayed, and add a MouseDown handler that checks to make sure
  10926. the position is inside the control. If it's not, close the
  10927. dropdown. This fixes #78190.
  10928. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  10929. if the value is different than the initial value.
  10930. 2006-10-13 Andreia Gaita <[email protected]>
  10931. * Control.cs: see #78650
  10932. - Fixed GetNextControl for several cases:
  10933. - Changed FindFlatForward to return
  10934. correct sibling control when more than one
  10935. control has same TabIndex as the currently
  10936. focused one.
  10937. - Changed FindFlatBackward to loop children
  10938. from last to first and apply same logic as in
  10939. FindFlatForward
  10940. - Changed FindControlForward to search for
  10941. children when control is not a container
  10942. but has children, or search for siblings if
  10943. control is a container...
  10944. - Changed FindControlBackward to continue
  10945. searching for child controls when hitting
  10946. Panel-like parents
  10947. - Fixed Focus method to update ActiveControl
  10948. (FocusTest.FocusSetsActive failure)
  10949. * TabControl.cs:
  10950. - Focus rectangle now refreshes when gaining
  10951. or losing focus
  10952. - Removed grab for Tab key on IsInputKey that
  10953. was keeping tab navigation from working (#78650)
  10954. 2006-10-13 Chris Toshok <[email protected]>
  10955. * PropertyGridView.cs:
  10956. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  10957. SelectedObjects.
  10958. - Deal with GridItem.Value == null a few places.
  10959. * PropertyGrid.cs:
  10960. - replace the PopulateGridItemCollection with a pair of methods
  10961. which compute the intersection of all the properties in the
  10962. SelectedObjects array. Fixes #79615.
  10963. - Throw ArgumentException from set_SelectedObjects if there's a
  10964. null in the array.
  10965. - Add GetTarget method which can be used to traverse up the
  10966. GridItem.Parent chain. It depends on the assumption that
  10967. selected_objects for different GridEntries are always in the same
  10968. order (a safe assumption). Use this method and loop over all the
  10969. selected objects in the entry when calling RemoveValueChanged and
  10970. AddValueChanged.
  10971. * GridEntry.cs: Make this handle multiple selected objects.
  10972. .Value returns null if not all the selected objects share the same
  10973. value.
  10974. 2006-10-12 Jonathan Pobst <[email protected]>
  10975. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  10976. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  10977. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  10978. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  10979. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  10980. add additional functionality.
  10981. 2006-10-12 Mike Kestner <[email protected]>
  10982. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  10983. * HelpProvider.cs : new ToolTipWindow ctor sig.
  10984. * ToolTip.cs : remove ToolTip param from Window sig since it is
  10985. not used.
  10986. * ToolBar.cs : add tooltip support. Fixes #79565.
  10987. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  10988. * ComboBox.cs: move the events in set_SelectedIndex to
  10989. after the call to HighlightIndex in order to avoid
  10990. possible recursion and subsequent problems with the call
  10991. to HighlightIndex and include a range check in
  10992. set_HighlightIndex. Fixes #79588
  10993. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  10994. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  10995. to ui thread's settings instead of sunday.
  10996. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  10997. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  10998. * DateTimePicker.cs
  10999. * MonthCalendar.cs
  11000. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  11001. and implement missing functionality (selecting different parts
  11002. of the date and edit them individually with the keyboard).
  11003. 2006-10-11 Chris Toshok <[email protected]>
  11004. * Control.cs (OnInvalidated): fix NRE relating to last change.
  11005. 2006-10-11 Chris Toshok <[email protected]>
  11006. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  11007. atoms in _NET_WM_STATE here if the window is maximized. We need
  11008. to do this because we're *replacing* the existing _NET_WM_STATE
  11009. property, so those atoms will be lost otherwise, and any further
  11010. call to GetWindowState will return Normal for a window which is
  11011. actually maximized. Fixes #79338.
  11012. 2006-10-11 Jackson Harper <[email protected]>
  11013. * TextControl.cs: Special case for setting selection end to
  11014. selection start, we basically kill the anchor.
  11015. - some todo comments.
  11016. 2006-10-11 Chris Toshok <[email protected]>
  11017. * Control.cs: switch to using an "invalid_region" to track which
  11018. parts of the image buffer need updating. This is more code than
  11019. the simple fix from r66532. That version just attempted to always
  11020. fill the entire buffer on redraw, which turns out to be
  11021. inefficient when invalidating small rectangles. This version
  11022. simply adds the invalid rectangle to the invalid region. When we
  11023. get any WM_PAINT message we see if it can be filled using the
  11024. image buffer, and if it can't (if the paint event's clip rectangle
  11025. is visible in the invalid region) we first fill the image buffer.
  11026. So, the image buffer is still a cache, we just fill it lazily.
  11027. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  11028. need it any longer.
  11029. 2006-10-11 Chris Toshok <[email protected]>
  11030. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  11031. well as size after calling XMoveResizeWindow. This keeps us from
  11032. ignoring future SetWindowPos calls. Fixes the disappearing
  11033. DateTimePicker in the ToolBarDockExample from bug #72499.
  11034. 2006-10-11 Chris Toshok <[email protected]>
  11035. * TextBoxBase.cs: reorder things a bit when it comes to
  11036. resizing-causing-recalculation. we were recalculating the
  11037. document when our position was changed, which shouldn't happen.
  11038. We only care about size changes. Clear up some more redundant
  11039. recalculation calls while I'm at it. This makes the toolbar dock
  11040. example snappy when you're just dragging toolbars around (since it
  11041. causes a relayout whenever you move one.)
  11042. 2006-10-11 Chris Toshok <[email protected]>
  11043. * ToolBarButton.cs (get_Rectangle): this only returns
  11044. Rectangle.Empty if Visible == false, or Parent == null.
  11045. Parent.Visible doesn't matter.
  11046. 2006-10-10 Chris Toshok <[email protected]>
  11047. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  11048. by .net 1.1, so switch to an internal method instead.
  11049. 2006-10-10 Chris Toshok <[email protected]>
  11050. * Control.cs (WM_PAINT): when a control is double buffered we draw
  11051. initially to the ImageBuffer and then copy from there. But when a
  11052. parent control which has child controls is double buffered, the
  11053. initial drawing doesn't encompass the entire ClientRectangle of
  11054. the parent control, so we end up with uninitialized bits (this is
  11055. easily seen by dragging the top toolbar in
  11056. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  11057. manually set the ClipRectangle of the paint_event (only the one we
  11058. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  11059. of the nastiness in bug #72499.
  11060. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  11061. which we use in Control.cs's WM_PAINT handling.
  11062. 2006-10-10 Jackson Harper <[email protected]>
  11063. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  11064. 2006-10-10 Chris Toshok <[email protected]>
  11065. * Cursor.cs: Apply a slightly different patch to the one suggested
  11066. in #79609.
  11067. 2006-10-10 Jackson Harper <[email protected]>
  11068. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  11069. not the parent form.
  11070. * TextControl.cs: use difference in old line count vs new count to
  11071. calculate how many lines were added, this takes into account soft
  11072. line breaks properly.
  11073. 2006-10-10 Chris Toshok <[email protected]>
  11074. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  11075. rectangle located at 0,0 and the size of the text. Use
  11076. ClientRectangle instead. This fixes rendering of non-left aligned
  11077. link labels.
  11078. 2006-10-10 Jackson Harper <[email protected]>
  11079. * TextBoxBase.cs: When we set the selection start position the
  11080. caret.
  11081. * TextControl.cs: Need to update the caret when we decrement it to
  11082. zero.
  11083. - Make sure that the selection_visible flag gets reset to false if
  11084. the selection isn't visible. Before this you could get it set to
  11085. visible by changing the selection start, then changing the end to
  11086. equal the start.
  11087. 2006-10-09 Jackson Harper <[email protected]>
  11088. * TreeView.cs: Don't update scrollbars when we aren't visible.
  11089. * TreeNodeCollection.cs: Only need to update scrollbars if being
  11090. added to an expanded visible node or the root node.
  11091. 2006-10-09 Chris Toshok <[email protected]>
  11092. * XplatUIX11.cs (SendMessage): fix NRE.
  11093. 2006-10-09 Jackson Harper <[email protected]>
  11094. * TextBoxBase.cs: Implement horizontal autoscrolling.
  11095. * TextControl.cs: Add a movement types that allows moving forward
  11096. and backwards without wrapping.
  11097. 2006-10-09 Mike Kestner <[email protected]>
  11098. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  11099. with focus "expansion" of labels. Fixes #79532 and then some.
  11100. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  11101. when wrapping.
  11102. 2006-10-09 Jackson Harper <[email protected]>
  11103. * TextBoxBase.cs: Set the default max values to MaxValue since
  11104. we use the scrollbar for autoscrolling and the default value is
  11105. 100. If we don't do this the caret won't keep up with typing
  11106. after about 18 characters.
  11107. * TextControl.cs: Make sure the selection is offset by the
  11108. viewport x. This fixes selection when using auto scrolling.
  11109. 2006-10-07 Andreia Gaita <[email protected]>
  11110. * Form.cs: The active control should be selected after the
  11111. OnLoad so that any child control initialization that affects
  11112. the selection is done. Fixes #79406
  11113. 2006-10-06 Chris Toshok <[email protected]>
  11114. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  11115. to have no evil effects.
  11116. - Stop selecting StructureNotifyMask on non-toplevel windows.
  11117. The only way children should be resized is by using the SWF api,
  11118. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  11119. Toplevel windows can be interacted with via the window manager,
  11120. and so we keep the input mask there.
  11121. The other event StructureNotifyMask gives us (that we care
  11122. about) is DestroyNotify. The code is already structured such
  11123. that it assumes we won't be getting a DestroyNotify event for
  11124. the window we pass to XDestroyWindow (which is what
  11125. StructureNotifyMask is supposed to guarantee.) So, that code
  11126. shouldn't be affected by this either.
  11127. - Stop selecting VisibilityChangeMask altogether.
  11128. We weren't doing anything with the resulting events anyway.
  11129. This vastly reduces the number of X requests and events we see
  11130. when resizing/laying out a large ui.
  11131. 2006-10-06 Chris Toshok <[email protected]>
  11132. * ScrollableControl.cs (DisplayRectangle): we need to take into
  11133. account the DockPadding regardless of whether or not auto_scroll
  11134. == true. rework this slightly to this effect, and fix bug #79606,
  11135. and part of #72499 (you can now see the drag handles and drag
  11136. toolbars around).
  11137. 2006-10-06 Gert Driesen <[email protected]>
  11138. * ListViewItem.cs: Collections of selected and checked items are now
  11139. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  11140. we mark the collection "dirty".
  11141. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  11142. to only clear SelectedItems when a new item is selected and MultiSelect
  11143. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  11144. event of ListViewItemCollection, and mark its list dirty whenever
  11145. that event is fire. This allows us to return selected/checked items
  11146. in the same order as they are in the Items collection. This matches
  11147. the MS behavior.
  11148. 2006-10-06 Chris Toshok <[email protected]>
  11149. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  11150. right mouse clicks. Fixes bug #79593.
  11151. 2006-10-06 Chris Toshok <[email protected]>
  11152. * Splitter.cs: doh, fix splitters that don't want to cancel the
  11153. movement when you drag them. Also, impose the limits on the
  11154. values we send to the SplitterMovingEvent. Fixes #79598.
  11155. 2006-10-06 Jackson Harper <[email protected]>
  11156. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  11157. since we use this for auto scrolling also.
  11158. 2006-10-05 Chris Toshok <[email protected]>
  11159. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  11160. beginning to think that most datagrid column types don't need this
  11161. method. Fixes bug #79392.
  11162. 2006-10-05 Chris Toshok <[email protected]>
  11163. * DataGrid.cs: move back to a more lazy scheme for creating the
  11164. CurrencyManager, so we aren't updating it every time you set
  11165. either DataSource or DataMember. Also, don't call
  11166. RecreateDataGridRows if the currency manager hasn't changed.
  11167. 2006-10-05 Chris Toshok <[email protected]>
  11168. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  11169. emitted, SelectedIndex should already be updated. Fixes bug
  11170. #78929.
  11171. 2006-10-05 Jonathan Pobst <[email protected]>
  11172. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  11173. ToolStripTextBox.cs: Initial commit.
  11174. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  11175. 2006-10-05 Jackson Harper <[email protected]>
  11176. * TabControl.cs: We need to invalidate the tab control area when
  11177. new ones are added (duh).
  11178. 2006-10-03 Chris Toshok <[email protected]>
  11179. * Form.cs (ProcessDialogKey): if the focused control is in this
  11180. form and is a button, call its PerformClick method here. Fixes
  11181. #79534.
  11182. 2006-10-04 Jackson Harper <[email protected]>
  11183. * TabPage.cs: Ignore setting of Visible, and add an internal
  11184. method for setting the controls visibility. TabPage's Visible
  11185. property is a little strange on MS, this seems to make us
  11186. compatible, and fixes cases where people set all the tab pages to
  11187. visible.
  11188. * TabControl.cs: Use the new internal setting on tab pages
  11189. visibility.
  11190. 2006-10-03 Mike Kestner <[email protected]>
  11191. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  11192. 2006-10-03 Mike Kestner <[email protected]>
  11193. * ListView.cs : use is_visible instead of Visible to check if
  11194. scrollbars should be placed/sized. Also some max_wrap_width
  11195. love for LargeIcon view. [Fixes #79533]
  11196. 2006-10-03 Atsushi Enomoto <[email protected]>
  11197. * TextControl.cs :
  11198. Make set_TextAlign() do actually update the align. Fixed #78403.
  11199. 2006-10-03 Chris Toshok <[email protected]>
  11200. * DataGrid.cs: fix a crash when switching datasources if the
  11201. vertical scrollbar is at someplace other than Value = 0. Also,
  11202. reduce the number of recalculation passes we do in SetDataSource
  11203. from 2 to 1.
  11204. 2006-10-03 Jackson Harper <[email protected]>
  11205. * TextBoxBase.cs: Move the if value the same bail check up, we
  11206. don't want to empty the document if it is already empty, this
  11207. seems to severly mess up the caret. TODO: I should probably fix
  11208. the empty statement to update teh caret somehow.
  11209. 2006-10-03 Chris Toshok <[email protected]>
  11210. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  11211. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  11212. reflection, an internal row type, properties on said type, etc.)
  11213. will work with our datagrid. Fixes #79531.
  11214. 2006-10-03 Alexander Olk <[email protected]>
  11215. * FileDialog.cs: Don't crash if a path is not accessible
  11216. (System.UnauthorizedAccessException). Fixes #79569.
  11217. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  11218. a ':' too. Return unknown icon for those paths/files.
  11219. 2006-10-03 Sebastien Pouliot <[email protected]>
  11220. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  11221. GetContainerControl returns null.
  11222. 2006-10-02 Chris Toshok <[email protected]>
  11223. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  11224. call to XGetWindowAttributes instead of "handle". fixes an X
  11225. error using notifyicon after the NotifyIconWindow to Form base
  11226. class switch.
  11227. 2006-10-02 Chris Toshok <[email protected]>
  11228. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  11229. server grab and looping we need to do to get down to the most
  11230. deeply nested child window.
  11231. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  11232. QueryPointer again after the WarpPointer so we can generate a
  11233. proper (fake) MotionNotify event to be enqueued in the destination
  11234. window's queue.
  11235. (GetCursorPos): call QueryPointer.
  11236. Fixes #79556.
  11237. 2006-10-02 Jackson Harper <[email protected]>
  11238. * NotifyIcon.cs: Derive the notify icon from a form, so things
  11239. like FindForm work on it.
  11240. - Swallow the WM_CONTEXTMENU message, since that is generated on
  11241. mouse down, and context menu is a mouse up kinda guy. I believe
  11242. the correct fix here is probably to make the notify icon entirely
  11243. NC area, but this seems to work fine for anyone not manipulating
  11244. WndProc.
  11245. 2006-10-02 Jonathan Pobst <[email protected]>
  11246. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  11247. ToolStripItemCollection.cs, ToolStripLabel.cs,
  11248. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  11249. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  11250. Initial implementation.
  11251. * TextRenderer.cs: Provide padding to MeasureText.
  11252. 2006-10-02 Sebastien Pouliot <[email protected]>
  11253. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  11254. of ButtonBaseAccessibleObject. Fix bug #79552.
  11255. 2006-10-02 Jackson Harper <[email protected]>
  11256. * MdiWindowManager.cs: When maximizing use the containers client
  11257. rect, not it's bounds, so nc area is accounted correctly.
  11258. - Use the parent form's size for the menu position, since the
  11259. client isn't always the full form size.
  11260. 2006-10-01 Chris Toshok <[email protected]>
  11261. * ScrollableControl.cs: make sure neither right_edge or
  11262. bottom_edge are < 0, since they're used as LargeChange for the
  11263. horiz/vert scrollbars respectively. Fixes #79539.
  11264. 2006-10-01 Chris Toshok <[email protected]>
  11265. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  11266. the xplatuix11 code can cause us to destroy/recreate our handle.
  11267. * XplatUIX11.cs
  11268. (SystrayAdd):
  11269. - this code can be invoked many times for the same Hwnd. Make
  11270. sure we only destroy the client window once (the first time this
  11271. method is called). This fixes bug #79544.
  11272. - Remove the call to the improperly bound XSync. why we had two
  11273. bindings to this, I will never know, but this call resulted in
  11274. events being discarded from the queue(!).
  11275. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  11276. not our current state but the state we wish to be in. So, 0 if
  11277. we don't want to be mapped. Change it to 1.
  11278. (SystrayRemove): The XEMBED spec makes mention of the fact that
  11279. gtk doesn't support the reparent of client windows away from the
  11280. embedder. Looking at gtksocket-x11.c seems to agree with this.
  11281. The only avenue we have for removing systray icons is to destroy
  11282. them. We don't want the handle to go away for good, though, so
  11283. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  11284. #79545.
  11285. 2006-10-01 Chris Toshok <[email protected]>
  11286. * Form.cs (WndProc): inline the native_enabled variable usage into
  11287. the cases in which it's used. Fixes #79536.
  11288. 2006-09-29 Mike Kestner <[email protected]>
  11289. * ListView.cs : toggle the selection state for ctrl clicks in
  11290. multiselect mode. [Fixes #79417]
  11291. 2006-09-29 Mike Kestner <[email protected]>
  11292. * ListView.cs : kill CanMultiSelect and refactor the selection
  11293. code to support multiselection in the absence of mod keys. Steal
  11294. arrow/home/end keys by overriding InternalPreProcessMessage to
  11295. restore regressed keynav behavior.
  11296. [Fixes #79416]
  11297. 2006-09-29 Jackson Harper <[email protected]>
  11298. * MdiClient.cs: Repaint the titlebars when the active window is
  11299. changed.
  11300. 2006-09-29 Chris Toshok <[email protected]>
  11301. * Application.cs: when entering a runloop with a modal, make sure
  11302. the hwnd is enabled. Fixes #79480.
  11303. 2006-09-29 Chris Toshok <[email protected]>
  11304. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  11305. when ListManager.CanAddRows == false, bump us back one.
  11306. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  11307. listmanager.CanAddRows check. This makes ArrayLists uneditable
  11308. using a datagrid, which is not right.
  11309. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  11310. is an IEditable, but call property_descriptor.SetValue regardless.
  11311. fixes #79435.
  11312. 2006-09-29 Chris Toshok <[email protected]>
  11313. * DataGridBoolColumn.cs: we need to test equality in the face of
  11314. possible null values (as is the case with the default NullValue).
  11315. This patch keeps us from crashing in that case.
  11316. 2006-09-29 Jackson Harper <[email protected]>
  11317. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  11318. here, since it will get called for every node collection in the
  11319. tree. This is now done in the treeview once the sorting is
  11320. finished.
  11321. * TreeView.cs: Recalculate the visible order, and update the
  11322. scrollbars after sorting, set the top nope to the root so that the
  11323. recalc actually works.
  11324. 2006-09-29 Chris Toshok <[email protected]>
  11325. * LinkLabel.cs: more handling of the default link collection in
  11326. the face of LinkArea manipulation. The default link collection
  11327. contains 1 element (start=0,length=-1). If the user sets LinkArea
  11328. to anything and the links collection is the default, clear it.
  11329. Then only add the link if its nonempty. Fixes #79518.
  11330. 2006-09-29 Chris Toshok <[email protected]>
  11331. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  11332. piece correctly when we hit a '\n'. Fixes #79517.
  11333. 2006-09-29 Chris Toshok <[email protected]>
  11334. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  11335. change the binding of gdk_init_check to take two IntPtr's, and
  11336. pass IntPtr.Zero for both of them. Fixes #79520.
  11337. 2006-09-29 Mike Kestner <[email protected]>
  11338. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  11339. [Fixes #78779]
  11340. 2006-09-28 Jackson Harper <[email protected]>
  11341. * XplatUIX11.cs: When translating NC messages make sure we go from
  11342. whole window to screen, not client window to screen.
  11343. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  11344. method doesn't exist
  11345. - Skip over controls that aren't forms when arranging.
  11346. 2006-09-28 Jackson Harper <[email protected]>
  11347. * XplatUIWin32.cs: Clip the rect to the parent window.
  11348. * XplatUIStructs.cs: Add clipping modes struct.
  11349. * InternalWindowManager.cs: New private method that factors title
  11350. bar heights in when calculating the pos of an NC mouse message.
  11351. - Use SendMessage to force a paint when the form's size is changed
  11352. instead of painting the decorations immediately.
  11353. - Don't let the NC button click messages get to DefWndProc,
  11354. because they will attempt to handle windowing themself, and this
  11355. messes up z-order (it will put them in front of the scrollbars).
  11356. * XplatUIX11.cs: Make sure that we don't reset window managers if
  11357. we already have one (ie the window is an MDI window).
  11358. 2006-09-28 Chris Toshok <[email protected]>
  11359. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  11360. menu code really needs going over.
  11361. 2006-09-27 Chris Toshok <[email protected]>
  11362. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  11363. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  11364. window is maximizable. So, we need to make sure that even if we
  11365. clear the border/wm frame of those functions, they're still
  11366. available (basically, we remove the decoration without removing
  11367. the function). Half the fix for #79338.
  11368. 2006-09-27 Chris Toshok <[email protected]>
  11369. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  11370. Fixes bug #79515.
  11371. 2006-09-27 Chris Toshok <[email protected]>
  11372. * Splitter.cs: reorder things a bit so that we don't actually
  11373. draw/move the splitter until after calling OnSplitterMoving. This
  11374. lets users cancel/disallow the movement by explicitly setting
  11375. event.SplitX/SplitY. Fixes #79372.
  11376. 2006-09-27 Jackson Harper <[email protected]>
  11377. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  11378. because it is most likely on a window being destroyed, and that
  11379. will give us an X11 error.
  11380. 2006-09-27 Chris Toshok <[email protected]>
  11381. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  11382. the dropdown button now toggles between showing and hiding the
  11383. dropdown. Also, get rid of dropdown_form_showing and just use
  11384. dropdown_form.Visible. We still don't do a grab, but I'll leave
  11385. that part to someone who has handled Capture-fu before.
  11386. 2006-09-27 Chris Toshok <[email protected]>
  11387. * DataGrid.cs: return false if alt isn't pressed when '0' is
  11388. pressed. this keeps the '0' key from being swallowed, and fixes
  11389. bug #79350.
  11390. 2006-09-27 Chris Toshok <[email protected]>
  11391. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  11392. Calling Refresh (in response to a scrollbar event) screws up the
  11393. scrollbar painting. Fixes bug #78923.
  11394. 2006-09-27 Chris Toshok <[email protected]>
  11395. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  11396. then insert into hashtable" blocks threadsafe.
  11397. 2006-09-27 Chris Toshok <[email protected]>
  11398. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  11399. baseclass's, since otherwise the
  11400. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  11401. effect. This gets the close button back in messageboxes.
  11402. 2006-09-27 Chris Toshok <[email protected]>
  11403. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  11404. flag, not just != 0. this makes flags that are actually multiple
  11405. bits (like WS_CAPTION) work. fixes bug #79508.
  11406. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  11407. * PageSetupDialog.cs: add support for getting and settings the
  11408. paper size, source and orientation.
  11409. 2006-09-26 Chris Toshok <[email protected]>
  11410. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  11411. and caption == "", we need to remove the resize handles as well as
  11412. the title bar.
  11413. * Control.cs (set_Text): turns out that setting Text on a form
  11414. should change the WM styles on the window, since if ControlBox ==
  11415. false, the only way to get a window border is to have a non-""
  11416. Text property. check winforms/forms/text.cs for an example. so,
  11417. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  11418. update both window styles and title. This fixes a lot of dialogs
  11419. (including the preferences dialog in MonoCalendar.)
  11420. 2006-09-26 Chris Toshok <[email protected]>
  11421. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  11422. control isn't a Form), call Win32ShowWindow to hide the window,
  11423. but don't update the control Visible property. When we reparent
  11424. back to a parent control, call SetVisible in order for the
  11425. window's visibility to be reinstated.
  11426. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  11427. the FosterParent.
  11428. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  11429. call for good, since it breaks MonoCalendar (and other things I'm
  11430. sure.) Also, set all_controls to null *after* the owner calls,
  11431. which end up regenerating it.
  11432. (ChangeParent): allow new_parent to be == null, passing
  11433. IntPtr.Zero down to XplatUI.
  11434. this fixes #79294 the right way.
  11435. 2006-09-26 Mike Kestner <[email protected]>
  11436. * GridEntry.cs : internal SetParent method.
  11437. * PropertyGrid.cs : attach to property changed on the proper
  11438. target if we have a hierarchical grid with subobjects. Setup
  11439. GridItem.Parent for hierarchical items.
  11440. * PropertyGridView.cs : Set value on the correct target for
  11441. hierarchical grids. [Fixes #78903]
  11442. 2006-09-26 Chris Toshok <[email protected]>
  11443. * Control.cs (ChildNeedsRecreating): this should return true if
  11444. either we're being recreated and the child is in our list, or our
  11445. parent is waiting for our recreation.
  11446. 2006-09-26 Chris Toshok <[email protected]>
  11447. * Control.cs (ControlCollection.Remove): reinstate the
  11448. value.Hide() call as suggested in bug #79294.
  11449. 2006-09-26 Sebastien Pouliot <[email protected]>
  11450. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  11451. coordinates (versus a relative move).
  11452. 2006-09-26 Chris Toshok <[email protected]>
  11453. * Control.cs: rework child recreation a little bit. It turns out
  11454. that we race between the DestroyNotify the WM_DESTROY message. If
  11455. the parent gets its DestroyNotify before the child gets the
  11456. WM_DESTROY message, the child ends up not recreating (since the
  11457. parent finishes its recreation on DestroyNotify, and the child
  11458. checks ParentIsRecreating.)
  11459. So, instead we store off a list of all the child controls which
  11460. need to be recreated when the parent control starts to recreate
  11461. itself. Then, when child controls get their WM_DESTROY message we
  11462. check to see if they're in the parent's pending recreation list,
  11463. and if so, we recreate. This removes all dependency on ordering
  11464. from the code and fixes the initial MonoCalendar upgrade dialog.
  11465. 2006-09-26 Jackson Harper <[email protected]>
  11466. * TextControl.cs: Use the Line to get the length of the line,
  11467. since soft line breaks can change the end line.
  11468. 2006-09-26 Chris Toshok <[email protected]>
  11469. * Control.cs (ControlCollection.AddImplicit): don't add the
  11470. control again if it's already in one of our lists. This keeps us
  11471. from adding controls over and over again for comboboxes when their
  11472. handle gets recreated (as the combobox adds implicit controls in
  11473. OnHandleCreated). Fixes the X11 errors in bug #79480.
  11474. 2006-09-26 Jackson Harper <[email protected]>
  11475. * TextControl.cs: When deleting characters make sure that any
  11476. orphaned zero lengthed tags get deleted.
  11477. - Fix ToString for zero lengthed tags.
  11478. 2006-09-25 Jackson Harper <[email protected]>
  11479. * TextControl.cs: When getting a tag at the location there can be
  11480. multiple tags at the same spot, these are 0-lengthed tags that
  11481. appear when extra formatting has been stuck in a location. We
  11482. need to pull out the last of these 0 lengthed tags.
  11483. 2006-09-25 Jackson Harper <[email protected]>
  11484. * TextControl.cs: Fix print out in debug method.
  11485. * TextBoxBase.cs: When text is set bail if we are setting to the
  11486. previous value.
  11487. 2006-09-24 Alexander Olk <[email protected]>
  11488. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  11489. It is now possible to change the selected index in a FontXXXListBox
  11490. with the up and down arrow keys from the FontXXXTextBoxes.
  11491. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  11492. FontXXXListBoxes to match ms.
  11493. 2006-09-22 Sebastien Pouliot <[email protected]>
  11494. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  11495. anyone can dispose it, anytime. All other properties returns enums,
  11496. structs or basic types so they don't need such tricks.
  11497. 2006-09-22 Jackson Harper <[email protected]>
  11498. * XplatUI.cs:
  11499. * XplatUIWin32.cs:
  11500. * Clipboard.cs:
  11501. * DataFormats.cs:
  11502. * XplatUIOSX.cs:
  11503. * XplatUIDriver.cs: Update interface to add a primary selection
  11504. flag, so the driver can use the primary selection buffer if
  11505. needed.
  11506. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  11507. * RichTextBox.cs: We need to supply the data object to paste now
  11508. (so we can choose to supply CLIPBOARD or PRIMARY).
  11509. * TextBoxBase.cs: Supply data object to paste (see above).
  11510. - Middle click uses the primary selection data object.
  11511. 2006-09-21 Chris Toshok <[email protected]>
  11512. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  11513. of SetWMStyles. It's still a rat's nest and is largely
  11514. order-dependent which I dislike immensely. This also fixes the X
  11515. button disappearing from toplevel forms.
  11516. 2006-09-21 Mike Kestner <[email protected]>
  11517. * ListBox.cs: move Jordi's click/dblclick raising code to the
  11518. mouse up handler.
  11519. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  11520. * ListBox.cs: Fixes 79450
  11521. 2006-09-21 Mike Kestner <[email protected]>
  11522. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  11523. to deal with people updating the TreeNodeCollection after the tree
  11524. is disposed. "Fixes" 79330.
  11525. 2006-09-20 Jackson Harper <[email protected]>
  11526. * TextControl.cs: Push the cursor record onto the undo stack
  11527. before the delete action. This fixes 78651.
  11528. 2006-09-20 Jonathan Chambers <[email protected]>
  11529. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  11530. CreateParams. Fixes 79329.
  11531. 2006-09-19 Chris Toshok <[email protected]>
  11532. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  11533. things up a bit. First, get rid of the NetAtoms array (and the NA
  11534. enum), and just embed the atoms as static fields. Also, add a
  11535. couple of functions (StyleSet and ExStyleSet) to clean up all the
  11536. bitmask testing of styles.
  11537. * X11Structs.cs: remove the NA enum, not needed anymore.
  11538. 2006-09-19 Chris Toshok <[email protected]>
  11539. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  11540. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  11541. added cleanup to get MessageBox titles appearing again, which were
  11542. broken by my earlier fix for caption-less/ControlBox-less windows.
  11543. 2006-09-18 Jonathan Pobst <[email protected]>
  11544. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  11545. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  11546. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  11547. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  11548. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  11549. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  11550. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  11551. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  11552. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  11553. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  11554. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  11555. Inital import.
  11556. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  11557. ToolStripButton.cs: Stubs needed for above.
  11558. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  11559. 2006-09-15 Chris Toshok <[email protected]>
  11560. * XplatUIX11.cs:
  11561. - make the MessageQueues hashtable Synchronized.
  11562. - SendMessage: if the Hwnd is owned by a different thread, use the
  11563. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  11564. thread. Fixes bug #79201.
  11565. 2006-09-15 Chris Toshok <[email protected]>
  11566. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  11567. ControlBox == false, we disallow maximize/minimize/close. If the
  11568. form Caption is "" we also disallow move (and get rid of the Title
  11569. decoration). Unfortunately, regardless of how things are set,
  11570. we're stuck with the Title and WM menu.
  11571. 2006-09-15 Chris Toshok <[email protected]>
  11572. * Application.cs: add locking around the static message_filters
  11573. ArrayList, part of #79196.
  11574. 2006-09-15 Chris Toshok <[email protected]>
  11575. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  11576. Form.ControlBox == false, the window has no titlebar nor resize
  11577. handles. fixes bug #79368.
  11578. 2006-09-15 Chris Toshok <[email protected]>
  11579. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  11580. >= 0. Fixes bug #79370.
  11581. 2006-09-15 Jonathan Pobst <[email protected]>
  11582. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  11583. * Control.cs:
  11584. Add properties: LayoutEngine, Margin, DefaultMargin.
  11585. Add method: GetPreferredSize.
  11586. Move layout logic from PerformLayout to layout engines.
  11587. 2006-09-13 Chris Toshok <[email protected]>
  11588. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  11589. fix for #79326 broke #78718, so this change addresses that.
  11590. - in SendWMDestroyMessages remove the call to
  11591. CleanupCachedWindows, since we might be recreating the control and
  11592. need to maintain the references to right Hwnd handles. Also, set
  11593. the zombie flag to true for each of the children in the hierarchy
  11594. instead of calling hwnd.Dispose. This will cause GetMessage to
  11595. ignore all events for the window except for DestroyNotify.
  11596. - In GetMessage, ignore messages except for DestroyNotify for
  11597. zombie hwnds.
  11598. * Control.cs: revert the is_recreating fix from the last
  11599. ChangeLog. It's definitely "right", but it breaks switching from
  11600. an MDI form to a non-MDI form. Will need to revisit that.
  11601. * Hwnd.cs: add a zombie flag, which means "the
  11602. client_window/whole_window handles are invalid, but we're waiting
  11603. for the DestroyNotify event to come in for them". Set the flag to
  11604. false explicitly if setting WholeWindow/ClientWindow, and also
  11605. when Disposing.
  11606. 2006-09-13 Chris Toshok <[email protected]>
  11607. * XplatUIX11.cs: rework window destruction slightly.
  11608. - when destroying the windows associated with a control, we don't
  11609. need 2 separate XDestroyWindow calls. Just the one for the
  11610. whole_window (or for client_window if whole_window is somehow
  11611. IntPtr.Zero -- can this happen?) is enough.
  11612. - reworked SendWMDestroyMessages slightly, so we always dispose
  11613. the child control hwnd's after sending the messages.
  11614. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  11615. the two places it was used (one was even using hwnd.Handle and the
  11616. other hwnd.client_window. ugh), adding another call in
  11617. SendWMDestroyMessages. We need this new call because now the
  11618. DestroyNotify events in the queue will be ignored for the child
  11619. controls (as their hwnd's were disposed, and the window id's
  11620. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  11621. - this fixes bug #79326.
  11622. 2006-09-13 Chris Toshok <[email protected]>
  11623. * Control.cs: don't always set is_recreating to false at the end
  11624. of RecreateHandle, since sometimes we're not done (and won't be
  11625. until WndProc handles the WM_DESTROY message). Also, set
  11626. is_recreating to false in the WM_DESTROY handling code. Part of
  11627. the fix for bug #79326.
  11628. 2006-09-13 Miguel de Icaza <[email protected]>
  11629. * X11DesktopColors.cs: Start the droppage of debugging messages.
  11630. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  11631. 2006-09-13 Jonathan Pobst <[email protected]>
  11632. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  11633. 2006-09-12 Chris Toshok <[email protected]>
  11634. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  11635. to create it using SetDataSource. Fixes bug #79151.
  11636. 2006-09-11 Chris Toshok <[email protected]>
  11637. * XEventQueue.cs: add a DispatchIdle property.
  11638. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  11639. either the queue is null, or the queue has DispatchIdle set to
  11640. true.
  11641. (DoEvents): set queue.DispatchIdle to false around the
  11642. peek/translate/dispatch message loop in this method. This keeps
  11643. Application.Doevents from emitting idle events. Part of the fix
  11644. for #78823.
  11645. 2006-09-11 Chris Toshok <[email protected]>
  11646. * DataGrid.cs (set_DataSource): make this work for both the
  11647. winforms/datagrid test and ReportBuilder. It seems as though when
  11648. we've created a ListManager (or maybe it's if we have a
  11649. BindingContext?), when we set the DataSource it clears the
  11650. DataMember to "". otherwise we reuse the datamember. Fixes bug
  11651. #79333.
  11652. 2006-09-11 Chris Toshok <[email protected]>
  11653. * XplatUIX11.cs: deal with queue being null, which happens in all
  11654. the Clipboard functions. Fixes one of the two problems mentioned
  11655. in #78612.
  11656. 2006-09-11 Chris Toshok <[email protected]>
  11657. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  11658. button on various spots (including outside the menu) works closer
  11659. to MS, and doesn't crash. Fixes #79343.
  11660. 2006-09-11 Gert Driesen <[email protected]>
  11661. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  11662. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  11663. and the internal comparer is set. When a new ListViewItemSorter is set,
  11664. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  11665. was specified. No further processing is necessary if SortOrder is set
  11666. to it's current value. If Sorting is modified to None, and View is
  11667. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  11668. (either custom or our internal ItemComparer) to null, on 1.0 profile
  11669. only set item_sorter to null if its our internal IComparer. If Sorting
  11670. is modified to Ascending or Descending, then use our internal IComparer
  11671. if none is set, and if the current IComparer is our internal one then:
  11672. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  11673. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  11674. Enum.IsDefined to verify whether a valid View value is specified in
  11675. its setter. Automatically sort listview items when listview is
  11676. created. In Sort, do nothing if ListView is not yet created, or if
  11677. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  11678. to None or ListViewItemSorter was set to null). Added Sort overload
  11679. taking a bool to indicate whether the ListView should be redrawn when
  11680. items are sorted (we use this in ListViewItemCollection to avoid double
  11681. redraws). Modified our internal IComparer to take the sort order into
  11682. account. In Add and AddRange methods of ListViewItemCollection, also
  11683. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  11684. view), but use overload with noredraw option to avoid double redraw.
  11685. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  11686. true when View is Tile, and do the same when attempting to set View to
  11687. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  11688. for selected/checked indices, as it involves overhead when sorting is
  11689. done while these collections are not used all that often. Instead
  11690. we'll build the indices on demand. Modified IList implementation of
  11691. CheckedIndexCollection to use public methods if object is int.
  11692. Modified CheckedListViewItemCollection to hide checked items if
  11693. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  11694. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  11695. IList implementation in SelectedIndexCollection to use public methods
  11696. if object is int. Modified SelectedListViewItemCollection to hide
  11697. selected items if listview is not yet created.
  11698. * ListViewItem.cs: CheckedIndices list no longer needs to be
  11699. maintained separately (see ListView changes). Also clone font, fixes
  11700. test failure.
  11701. 2006-09-11 Mike Kestner <[email protected]>
  11702. * ComboBox.cs: if we are updating the contents of the currently
  11703. selected index, refresh the control or the textbox selection.
  11704. [Fixes #79066]
  11705. 2006-09-11 Mike Kestner <[email protected]>
  11706. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  11707. the 'specified' logic has been moved there. This seems like a bug
  11708. in Control.cs, since our current SetBoundsCore completely ignores
  11709. the specified parameter. Peter's commit seems to indicate that is
  11710. the way the MS control implementation works. [Fixes #79325]
  11711. 2006-09-10 Jonathan Chambers <[email protected]>
  11712. * XplatUI.cs: Set default_class_name to be composed
  11713. of current domain id. This allows MWF to be loaded in multiple
  11714. domains on Win32.
  11715. 2006-09-09 Miguel de Icaza <[email protected]>
  11716. * X11Keyboard.cs: If we are unable to obtain the input method, do
  11717. not call CreateXic to create the input context. Should fix
  11718. #78944/79276.
  11719. 2006-09-08 Alexander Olk <[email protected]>
  11720. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  11721. Simplified gnome support by adding more pinvokes to get the
  11722. icon for a file or mime type.
  11723. 2006-09-08 Jackson Harper <[email protected]>
  11724. * MenuAPI.cs: Deslect popup context menu items before closing the
  11725. window, so that you don't see the previously selected item
  11726. selected when you reopen the menu.
  11727. * TextControl.cs: Update the cursor position even if we don't have
  11728. focus. This fixes typing in things like the ComboBox. I'm not
  11729. totally sure we should always set the visibility if we don't have
  11730. focus, but couldn't find any corner cases where the cursor showed
  11731. up when it shouldn't.
  11732. 2006-09-08 Chris Toshok <[email protected]>
  11733. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  11734. our arrays are length 256. & 0xff before indexing. Fixes the
  11735. crash in bug #78077.
  11736. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  11737. * ThemeWin32Classic.cs:
  11738. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  11739. is true. Handle that check box too.
  11740. 2006-09-07 Chris Toshok <[email protected]>
  11741. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  11742. 79244.
  11743. 2006-09-07 Chris Toshok <[email protected]>
  11744. * Control.cs: in set_BackColor only do the work if
  11745. background_color != value.
  11746. * XplatUIX11.cs: move the clearing of invalid areas (both client
  11747. and nc) to the same block of code where we set (nc_)expose_pending
  11748. to false. That is, move it from PaintEventEnd to PaintEventStart,
  11749. so things that cause invalidates from within OnPaint will trigger
  11750. another call to OnPaint. Fixes bug #79262.
  11751. 2006-09-07 Alexander Olk <[email protected]>
  11752. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  11753. * FileDialog.cs: Fix typo
  11754. 2006-09-07 Jackson Harper <[email protected]>
  11755. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  11756. for tab pages if they have any.
  11757. 2006-09-06 Mike Kestner <[email protected]>
  11758. * Splitter.cs: use the "current" rect when finishing drag handle
  11759. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  11760. 2006-09-06 Mike Kestner <[email protected]>
  11761. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  11762. support offset splitters. [Fixes #79298]
  11763. 2006-09-06 Alexander Olk <[email protected]>
  11764. * Mime.cs: Fixed a bug that could override the global mime type
  11765. result.
  11766. 2006-09-05 Jackson Harper <[email protected]>
  11767. * TabControl.cs: Better calculation method for setting the slider
  11768. pos. Prevents crashes on really wide tabs.
  11769. - Draw Image on tab pages if an image list is used.
  11770. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  11771. * MonthCalendar.cs: When Font changes, the Size should be
  11772. updated to fit the new font's space requirements.
  11773. 2006-09-02 Alexander Olk <[email protected]>
  11774. * ListBox.cs: If the items are cleared with Items.Clear set
  11775. top_index to 0.
  11776. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  11777. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  11778. fire DateChanged event instead of DateSelected event when
  11779. the date was changed by keyboard interaction.
  11780. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  11781. * DateTimePicker.cs: Handle DateChanged for the associated
  11782. month_calendar control, and set month_calendar.Font from
  11783. OnFontChanged method, as well as resize the height of the
  11784. control when needed. Make PreferredHeight proportional.
  11785. 2006-09-01 Chris Toshok <[email protected]>
  11786. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  11787. properties.
  11788. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  11789. 2006-09-01 Peter Dennis Bartok <[email protected]>
  11790. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  11791. for decorations (Fixes #79219)
  11792. 2006-09-01 Mike Kestner <[email protected]>
  11793. * ComboBox.cs: first stab at sorting plus some selection handling
  11794. fixes to bring us more in line with MS behavior. Also switches back
  11795. to index based selection. Alternative patches for index-based
  11796. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  11797. and [email protected] on bug 78848. I assume they were similar to this
  11798. code I've had simmering in my tree forever.
  11799. [Fixes #78848]
  11800. 2006-09-01 Chris Toshok <[email protected]>
  11801. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  11802. when setting list position guard against ending up with a -1 index
  11803. (the other part of the fix for #78812). Should probably make sure
  11804. we don't need the analogous fix in the ItemDeleted case.
  11805. * DataGrid.cs:
  11806. - in SetDataSource, work around the fact that the way
  11807. OnBindingContextChanged is invoked will cause us to re-enter this
  11808. method. I'll remove the hack once I investigate
  11809. OnBindingContextChanged.
  11810. - fix the logic in set_DataSource and set_DataMember (basically
  11811. what to do if the other of the two is null.)
  11812. - in OnListManagerItemChanged, we need to take into account the
  11813. edit row when deciding whether or not to call RecreateDataGridRows
  11814. (part of the fix for #78812).
  11815. 2006-09-01 Jackson Harper <[email protected]>
  11816. * Splitter.cs: Don't do anything if there is no control to affect
  11817. (prevents us from crashing in weird tet cases).
  11818. * TreeView.cs: Bounding box for the mouse movement reverting
  11819. focus/selection back to previously selected node. This matches
  11820. MS, and makes the tree a lot more useable.
  11821. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  11822. use clipping so they are not drawn. This fixes when the control
  11823. is set to have a transparent background, or if it was over an
  11824. image.
  11825. 2006-09-01 Alexander Olk <[email protected]>
  11826. * MimeIcon.cs: Improved handling for reading default icons when
  11827. using gnome (2.16 made it necessary). Check and read svg icons
  11828. first, then 48x48 and then 32x32 icons.
  11829. 2006-08-31 Chris Toshok <[email protected]>
  11830. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  11831. visible.
  11832. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  11833. ProcessKeyPreview. Fixes part of #77806.
  11834. * DataGrid.cs: big patch.
  11835. - revert the queueing up of DataSource/DataMember if inside
  11836. BeginInit/EndInit calls. That's not the way the datagrid achieves
  11837. its delayed databinding. Instead, call SetDataSource in
  11838. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  11839. #78811.
  11840. - Also, it wasn't mentioned in #78811, but the test case exhibits
  11841. behavior that was lacking in our datagrid implementation - Columns
  11842. that have mapping names that don't exist in the datasource's
  11843. properties aren't shown. Yuck. To fix this I added the bound
  11844. field to the column style, and basically any calculation to figure
  11845. out anything about columns uses a loop to find the bound columns.
  11846. still need to investigate if I can cache an array of the bound
  11847. columns or if the indices must be the same.
  11848. - When setting CurrentCell, we no longer abort if the cell being
  11849. edited was in the add row. This fixes the other part of #77806.
  11850. - The new code also fixes #78807.
  11851. * ThemeWin32Classic.cs: perpetrate the same disgusting
  11852. column.bound field hack, and only render bound fields.
  11853. 2006-08-31 Chris Toshok <[email protected]>
  11854. * DataGridColumnStyle.cs: add bound field. this field is true if
  11855. the datasource has a property corresponding to the mapping name.
  11856. * DataGridTableStyle.cs: set the bound field on the column styles
  11857. depending on whether or not we have a column for that property.
  11858. 2006-08-31 Peter Dennis Bartok <[email protected]>
  11859. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  11860. splitter control (fixes #79228)
  11861. 2006-08-31 Chris Toshok <[email protected]>
  11862. * DataGridColumnStyle.cs: we need to delay the assignment of
  11863. property descriptor until the last possible moment due to the lazy
  11864. databinding stuff in the datagrid. Also, fix the exceptions
  11865. thrown by CheckValidDataSource to match MS.
  11866. 2006-08-31 Jackson Harper <[email protected]>
  11867. * Form.cs: When activated select the active control, if there is
  11868. no active control, we select the first control.
  11869. * XplatUIX11.cs: If there is no focus control when we get a
  11870. FocusIn event, find the toplevel form and activate it. This
  11871. occurs when you popup a window, it becomes the focus window, then
  11872. you close that window, giving focus back to the main window.
  11873. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  11874. * MonthCalendar.cs:
  11875. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  11876. as StringFormat with Center alignments in MonthCalendar,
  11877. instead of creating new ones when drawing the control.
  11878. Also, draw the month name in bold style.
  11879. 2006-08-30 Peter Dennis Bartok <[email protected]>
  11880. * Control.cs:
  11881. - PerformLayout(): It would seem MS performs the fill even if the
  11882. control is not visible (part of #79218 fix)
  11883. - ResetBackColor(): Use the setter to reset the color, to allow
  11884. overriders to catch the change.
  11885. * Form.cs:
  11886. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  11887. - CreateHandle(): dito (part of $79218 fix)
  11888. - Don't set an icon if we have a dialog
  11889. * ScrollableControl.cs:
  11890. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  11891. - ScrollIntoView(): No need to scroll if control is already visible
  11892. (resolves fixme and fixes #79218)
  11893. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  11894. * MonthCalendar.cs: Change proportions in SingleMonthSize
  11895. to match the aspect of the original control.
  11896. 2006-08-29 Alexander Olk <[email protected]>
  11897. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  11898. get updated when they get maximized.
  11899. 2006-08-29 Peter Dennis Bartok <[email protected]>
  11900. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  11901. 2006-08-29 Chris Toshok <[email protected]>
  11902. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  11903. 2006-08-29 Jackson Harper <[email protected]>
  11904. * TreeView.cs: Need to track selected node and highlighted node,
  11905. they aren't always the same thing, when the mouse is down on a
  11906. node it is hilighted, but not selected yet.
  11907. - Do the HideSelection stuff right
  11908. - Need to focus on rbutton mouse down. And redraw selection when
  11909. right click is mouse upped.
  11910. 2006-08-29 Mike Kestner <[email protected]>
  11911. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  11912. when SubItems.Count < Columns.Count. [Fixes #79167]
  11913. 2006-08-28 Peter Dennis Bartok <[email protected]>
  11914. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  11915. 2006-08-28 Peter Dennis Bartok <[email protected]>
  11916. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  11917. from X. Only send based on ConfigureNotify if we don't have the
  11918. correct location in hwnd (if the window manager moved us)
  11919. 2006-08-28 Mike Kestner <[email protected]>
  11920. * ListView.cs: remove a TODO.
  11921. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  11922. [Fixes ListView part of #79166]
  11923. 2006-08-28 Mike Kestner <[email protected]>
  11924. * ListView.cs: move wheel handler to parent since it is focused
  11925. instead of the item_control now. [Fixes #79177]
  11926. 2006-08-28 Mike Kestner <[email protected]>
  11927. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  11928. when the control is focused. [Fixes #79171]
  11929. 2006-08-28 Mike Kestner <[email protected]>
  11930. * ListView.cs: size the item and header controls for empty and
  11931. unscrollable views.
  11932. * ThemeWin32Classic.cs: draw disabled backgrounds.
  11933. [Fixes #79187]
  11934. 2006-08-28 Chris Toshok <[email protected]>
  11935. * Form.cs: remove unused "active_form" static field.
  11936. * Hwnd.cs: lock around accesses to static windows collection.
  11937. * Application.cs: lock threads in Exit ().
  11938. 2006-08-28 Chris Toshok <[email protected]>
  11939. * NativeWindow.cs: lock around accesses to window_collection.
  11940. 2006-08-28 Chris Toshok <[email protected]>
  11941. * Control.cs: err, fix this the right way, by locking on controls
  11942. when using it. not by making it synchronized.
  11943. 2006-08-28 Chris Toshok <[email protected]>
  11944. * Control.cs: make the static "controls" field synchronized, as it
  11945. gets updated from multiple threads.
  11946. 2006-08-27 Peter Dennis Bartok <[email protected]>
  11947. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  11948. Prevent other threads from exiting when calling thread sets quit state.
  11949. * XEventQueue.cs: Added PostQuitState property
  11950. 2006-08-27 Chris Toshok <[email protected]>
  11951. * AsyncMethodData.cs: add a slot for the window handle.
  11952. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  11953. window (the destination control's window, not the foster window).
  11954. * Control.cs (BeginInvokeInternal): store the window's handle in
  11955. the AsyncMethodData.
  11956. 2006-08-27 Peter Dennis Bartok <[email protected]>
  11957. * XplatUIX11.cs:
  11958. - PostQuitMessage: Removed resetting S.D display handle, we might have
  11959. another loop started after calling PostQuitMessage (Fixes #79119)
  11960. - Created destructor to reset S.D handle
  11961. 2006-08-27 Peter Dennis Bartok <[email protected]>
  11962. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  11963. 2006-08-23 Peter Dennis Bartok <[email protected]>
  11964. * TextControl.cs (Insert): Update the caret position even if we don't
  11965. have a handle yet, just don't call the driver in that case.
  11966. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  11967. to the end of the new selection text (Fixes #79184)
  11968. 2006-08-23 Peter Dennis Bartok <[email protected]>
  11969. * Form.cs (Activate): Only activate if the handle is created)
  11970. * Control.c:
  11971. - Mark window as invisible when it's disposed
  11972. - Check if window handle is created when setting window visible,
  11973. instead of relying just on the is_created variable
  11974. - Check if object is disposed when creating the control (Fixes #79155)
  11975. 2006-08-23 Peter Dennis Bartok <[email protected]>
  11976. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  11977. when allowing layout again. Otherwise we re-generate the anchoring
  11978. distance to the border again and actually alter what the user wanted
  11979. This is ugly, it'd be better if we used DisplayRectangle instead of
  11980. ClientRectangle for Control.UpdateDistances, but that causes us to
  11981. have other problems (initial anchoring positons would be wrong)
  11982. (Fixes #78835)
  11983. 2006-08-23 Peter Dennis Bartok <[email protected]>
  11984. * Control.cs:
  11985. - The size and location setters shouldn't go directly to
  11986. SetBoundsCore, but to SetBounds, which triggers layout on the
  11987. parent, then calls SetBoundsCore. (Related to fix for #78835)
  11988. - SetBounds: Moved actual location update code into this function
  11989. from SetBoundsCore, to match MS. Added call to PerformLayout if
  11990. we have a parent (to trigger resizing of anchored parents if the
  11991. child size has changed (see testcase for #78835)
  11992. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  11993. new control code
  11994. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  11995. 2006-08-23 Peter Dennis Bartok <[email protected]>
  11996. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  11997. System.Drawing when a toplevel window gets closed; there might
  11998. be other toplevel windows belonging to the same app (Fixes #78052)
  11999. 2006-08-26 Alexander Olk <[email protected]>
  12000. * FileDialog.cs: After reading FileDialog settings from mwf_config
  12001. use Desktop prefix only if a real folder doesn't exist anymore.
  12002. * FontDialog.cs: Added char sets.
  12003. It is now possible to select the font, size or style with the
  12004. textboxes.
  12005. 2006-08-25 Kornél Pál <[email protected]>
  12006. * PrintPreviewDialog.cs: Use assembly name constants.
  12007. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12008. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  12009. scrollbar from whacking it's buttons)
  12010. 2006-08-24 Chris Toshok <[email protected]>
  12011. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  12012. in this patch (aggregating setting Left/Top/Width/Height to
  12013. setting Bounds on the scrollbars), but the crux of the fix is in
  12014. Recalculate, where we scroll by the remaining scroll_position if
  12015. we're hiding a scrollbar. The 2*$5 reward in the comment is
  12016. serious.
  12017. 2006-08-24 Jackson Harper <[email protected]>
  12018. * MdiClient.cs:
  12019. * MdiWindowManager.cs: If the form is made a non-mdi window we
  12020. need to remove the form closed event so that closing forms works
  12021. correctly.
  12022. 2006-08-24 Jackson Harper <[email protected]>
  12023. * Control.cs: Make IsRecreating internal so that the driver can
  12024. check it
  12025. - Temporarily remove the Hide when controls are removed, its
  12026. making a whole bunch of things not work because visibility isn't
  12027. getting reset elsewhere correctly
  12028. * Form.cs: Need to do a full handle recreation when the mdi parent
  12029. is set.
  12030. * XplatUIX11.cs: If we are recreating handles don't dispose the
  12031. HWNDs. What was happening is the handles were being recreated in
  12032. SendWMDestroyMessages, but then flow continued on in that method
  12033. and destroyed the new handles.
  12034. 2006-08-23 Jackson Harper <[email protected]>
  12035. * Form.cs: MdiClient is always at the back of the bus
  12036. * Control.cs: When the order of items in the collection is changed
  12037. we need to reset the all_controls array
  12038. - do the same sorta setup thats done when adding a control when a
  12039. control is set on the collection.
  12040. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12041. * TextBoxBase.cs (get_Text): Return an empty array if our document
  12042. is empty (fixes #79052)
  12043. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12044. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  12045. on WM_SYSCHAR messages (fixes #79053)
  12046. 2006-08-23 Chris Toshok <[email protected]>
  12047. * DataGrid.cs: fix flickering when scrolling vertically.
  12048. 2006-08-23 Chris Toshok <[email protected]>
  12049. * DataGrid.cs (EndEdit): only invalidate the row header when we
  12050. need to.
  12051. 2006-08-23 Chris Toshok <[email protected]>
  12052. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  12053. methods. fixes the flicker when scrolling around.
  12054. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12055. * FileDialog.cs: Making sure the control is created before we get a
  12056. chance to use it with BeginInvoke (Fixes #79096)
  12057. 2006-08-23 Chris Toshok <[email protected]>
  12058. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  12059. width to use when painting the rows.
  12060. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12061. * TextBoxBase.cs:
  12062. - Throw ArgumentException if a negative value is passed to SelectionLength
  12063. - Update the selection end if start is moved. end needs to be always
  12064. after start. (Fixes #79095)
  12065. - Track selection length; MS keeps the selection length even if start
  12066. is changed; reset on all other operations affection selection
  12067. 2006-08-22 Jackson Harper <[email protected]>
  12068. * TreeView.cs: Make sure both scrollbars get displayed and sized
  12069. correctly when the other bar is visible.
  12070. - Use the original clip rectangle for checking if the area between
  12071. the two scrollbars is visible, not the viewport adjusted clipping
  12072. rectangle.
  12073. 2006-08-22 Jackson Harper <[email protected]>
  12074. * Binding.cs: We don't use IsBinding because it requires the
  12075. control to be created, which really shouldn't be necessary just to
  12076. set a property on the control.
  12077. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  12078. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  12079. ArgumentNullReferenceException when the argument is null.
  12080. 2006-08-21 Jackson Harper <[email protected]>
  12081. * Timer.cs: Track the thread that the timer is started in (NOT
  12082. CREATED), this way messages for it will only be triggered on its
  12083. queue.
  12084. * XEventQueue.cs: Track the timers here, this makes timers per
  12085. thread, like MS.
  12086. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  12087. 2006-08-19 Chris Toshok <[email protected]>
  12088. * XplatUIX11.cs: after further communication with pdb, we get the
  12089. best of both worlds. SetZOrder working for un-Mapped windows, and
  12090. no X errors for un-mapped windows.
  12091. 2006-08-19 Chris Toshok <[email protected]>
  12092. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  12093. as it was causing pdn toolbars to not have the correct stacking.
  12094. 2006-08-18 Mike Kestner <[email protected]>
  12095. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  12096. calculation. Not sure why control should ever be setting a negative
  12097. width though. Fixes #78931.
  12098. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  12099. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  12100. null items in ObjectCollection class.
  12101. * ListBox.cs.: Likewise.
  12102. 2006-08-18 Atsushi Enomoto <[email protected]>
  12103. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  12104. as the base method in ThemeWin32Classic should work fine.
  12105. Fixed bug #78607.
  12106. 2006-08-18 Jackson Harper <[email protected]>
  12107. * Binding.cs: When validating if the value entered doesn't convert
  12108. properly reset to the old value.
  12109. * RadioButton.cs: Don't fire click when we get focus.
  12110. 2006-08-18 Jackson Harper <[email protected]>
  12111. * FileDialog.cs: Paint the selection on the directory combobox the
  12112. same way as on MS.
  12113. 2006-08-17 Jackson Harper <[email protected]>
  12114. * ErrorProvider.cs: Don't allow the error control to be selected.
  12115. * Control.cs: Don't send the SetFocus messages, the control
  12116. activation will do this, and if we do it blindly here validation
  12117. does not work.
  12118. 2006-08-17 Jackson Harper <[email protected]>
  12119. * Control.cs:
  12120. * ContainerControl.cs: Make validation events fire in the correct
  12121. order. TODO: For some reason the first validation event is not
  12122. getting fired.
  12123. 2006-08-17 Mike Kestner <[email protected]>
  12124. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  12125. 2006-08-17 Mike Kestner <[email protected]>
  12126. * ComboBox.cs : implement scroll wheel support for popped-down
  12127. state. Fixes #78945.
  12128. 2006-08-17 Jackson Harper <[email protected]>
  12129. * TreeView.cs: Specify treeview actions (old patch that didn't get
  12130. committed for some reason).
  12131. - Don't let the mouse wheel scroll us too far. Just want to make
  12132. the bottom node visible, not scroll it all the ways to the top.
  12133. 2006-08-17 Jackson Harper <[email protected]>
  12134. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  12135. 2006-08-17 Mike Kestner <[email protected]>
  12136. * ComboBox.cs : don't do mouseover selection in simple mode.
  12137. 2006-08-16 Jackson Harper <[email protected]>
  12138. * Form.cs: Fire the closing events for all the mdi child windows
  12139. when a window is closed. If the cancel args are set to true, the
  12140. main window still gets the event fired, but it doesn't not close.
  12141. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  12142. handler, instead of when the button is clicked, so cancelling the
  12143. close works correctly.
  12144. * ComboBox.cs: Send the mouse down to the scrollbar.
  12145. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  12146. * ListBox.cs: When passing 'null' to SelectedItem,
  12147. set SelectedIndex to -1, to unselect items. This is the
  12148. observed behaviour in .Net.
  12149. 2006-08-16 Peter Dennis Bartok <[email protected]>
  12150. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  12151. MS flags saying there won't be any. (fixes #78800)
  12152. * Control.cs (HandleClick): Made virtual
  12153. 2006-08-16 Atsushi Enomoto <[email protected]>
  12154. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  12155. cultures. Fixed bug #78399.
  12156. 2006-08-16 Jackson Harper <[email protected]>
  12157. * Form.cs: Use the MdiClients MdiChildren property to access
  12158. MdiChildren instead of creating the array from the child controls.
  12159. * MdiClient.cs: Maintain a separate array of the mdi children, so
  12160. that insertion order is maintained when the Z-order is changed.
  12161. 2006-08-16 Mike Kestner <[email protected]>
  12162. * ListView.cs : add an ItemComparer and default to it for sorting.
  12163. Fixes #79076, but sorting needs a complete overhaul to be compat with
  12164. MS.
  12165. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12166. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  12167. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12168. * Hwnd.cs (Mapped): Properly traverse the tree
  12169. 2006-08-15 Chris Toshok <[email protected]>
  12170. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  12171. pass manager.Current.GetType() to ParseData. It has to be the
  12172. property type. So, hold off doing the ParseData until we're in
  12173. SetPropertyValue where we know the type. This fixes the crash in
  12174. #78821 but the textbox is still empty.
  12175. 2006-08-15 Chris Toshok <[email protected]>
  12176. * DataGrid.cs:
  12177. - when we're scrolling, only call Edit() again if the
  12178. current cell is still unobscured. Fixes bug #78927.
  12179. - when handling mousedown on a cell, ensure the cell is visible
  12180. before calling Edit.
  12181. - remove the properties from DataGridRow, and remove the
  12182. DataGridParentRow class altogether.
  12183. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12184. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  12185. fire OnTextChanged by ourselves. There's no point calling base,
  12186. we don't set the base value anywhere else. Fixes #78773.
  12187. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  12188. * ListBox.cs: Call CollectionChanged when modifying
  12189. an item from Items indexer, to update the actual items
  12190. in the list box.
  12191. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  12192. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  12193. to match .Net behaviour.
  12194. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12195. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  12196. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12197. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  12198. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12199. * MessageBox.cs: Prevent potential NRE exception.
  12200. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  12201. 2006-08-14 Peter Dennis Bartok <[email protected]>
  12202. * MessageBox.cs: Calculate the owner of a messagebox, also make
  12203. it topmost. Fixes #78753
  12204. 2006-08-14 Chris Toshok <[email protected]>
  12205. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  12206. programmatically move windows. first, set the PPosition hint as
  12207. well as the USPosition hint. Second include some code from pdb
  12208. that sets the window type to NORMAL when we set the transient for
  12209. hint. This is because, in the absence of a window type, metacity
  12210. thinks any window with TransientFor set is a dialog, and refuses
  12211. to let us move it programmatically. fascists.
  12212. 2006-08-14 Peter Dennis Bartok <[email protected]>
  12213. * XplatUIX11.cs: When setting normal hints, take into consideration
  12214. an different hints previously set so we don't delete them (fixes #78866)
  12215. 2006-08-12 Chris Toshok <[email protected]>
  12216. * ToolBarButton.cs: make Layout return a boolean, if something to
  12217. do with the button's layout changed.
  12218. * ToolBar.cs:
  12219. - add another parameter to Redraw, @force, which all existing
  12220. calls set to true.
  12221. - make the Layout function return a boolean which is true if the
  12222. layout has actually changed. Redraw now uses this (and @force)
  12223. to determine when to invalidate. At present the only place
  12224. where @force can be false is the call from OnResize, when
  12225. background_image == null. So, resizing a toolbar when the
  12226. layout doesn't change results in no drawing.
  12227. 2006-08-12 Chris Toshok <[email protected]>
  12228. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  12229. the VScrollBar and HScrollbar reversed. oops.
  12230. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  12231. scrollbars. we were assigning them twice (once in
  12232. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  12233. therefore causing two scrollbar resizes (and redraws?) to happen
  12234. per grid resize.
  12235. 2006-08-12 Chris Toshok <[email protected]>
  12236. * ToolBarButton.cs: redraw the entire button if the theme tells us
  12237. to.
  12238. * Theme.cs: add ToolBarInvalidateEntireButton.
  12239. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  12240. buttons, just the border.
  12241. * ThemeNice.cs: redraw the entire toolbar button since we need to
  12242. draw the highlight image.
  12243. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  12244. we need to redraw the entire button (not just the border).
  12245. 2006-08-11 Peter Dennis Bartok <[email protected]>
  12246. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  12247. for vertical bars. Fixes the mismatches shown by #78513
  12248. 2006-08-11 Alexander Olk <[email protected]>
  12249. * FileDialog.cs: If a saved/remembered path doesn't exist
  12250. anymore, fall back to "Desktop".
  12251. 2006-08-11 Peter Dennis Bartok <[email protected]>
  12252. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  12253. parent. It's apparently legal to not have one
  12254. * XplatUIX11.cs:
  12255. - SetZOrder: Don't try to set Z-Order on an unmapped window
  12256. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  12257. it unless the coordinates are negative
  12258. 2006-08-10 Mike Kestner <[email protected]>
  12259. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  12260. when setting to null per msdn docs. Fixes #78854.
  12261. 2006-08-10 Chris Toshok <[email protected]>
  12262. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  12263. flickering by setting a clip rectangle on the Graphics when we
  12264. need to redraw just a particular menuitem. Also, rename "OnClick"
  12265. to "OnMouseDown" to reflect what it actually is.
  12266. * Form.cs: track the OnMouseDown change.
  12267. 2006-08-10 Peter Dennis Bartok <[email protected]>
  12268. * CommonDialog.cs: Properly inherit the CreateParams from the form
  12269. and only change what we need. Fixes #78865
  12270. 2006-08-10 Chris Toshok <[email protected]>
  12271. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  12272. flickering in flat mode (and most of the flickering in general) by
  12273. only invalidating the button border (and not the entire rectangle)
  12274. when the state changes. A couple of cases still flicker:
  12275. ToggleButtons, and the dropdown arrow case when the user mouse
  12276. ups.
  12277. 2006-08-10 Alexander Olk <[email protected]>
  12278. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  12279. for german keyboards. Numlock state shouldn't affect the behaviour
  12280. of the Del key. Fixes bug #78291.
  12281. 2006-08-10 Chris Toshok <[email protected]>
  12282. * ListControl.cs: remove the items.Clear line from BindDataItems,
  12283. as this is the first thing done by both subclasses in their
  12284. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  12285. passed -1, refresh the list. This gets databinding working when
  12286. the datasource is set on the list before the datasource is
  12287. populated (as in wf-apps/ReportBuilder.)
  12288. * ComboBox.cs: remove the argument to BindDataItems. This call
  12289. should really go away, and be initiated by the ListControl code.
  12290. * ListBox.cs: same.
  12291. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12292. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  12293. if no data is in the document when the control is displayed
  12294. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12295. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  12296. yes (fixes #78806)
  12297. * TextControl.cs:
  12298. - PositionCaret: Allow positioning of caret but don't call methods
  12299. requiring a handle if the window isn't created yet
  12300. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  12301. - owner_HandleCreated: Don't position the caret, just update it's
  12302. location. User might have already set a different position
  12303. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12304. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  12305. windows. Screws up the returned coordinates for child windows.
  12306. Fixes #78825. I'm hoping this doesn't break something, since the
  12307. code was explicitly put in 8 months ago, but no bug was attached.
  12308. Menus still seem to work properly.
  12309. 2006-08-08 Chris Toshok <[email protected]>
  12310. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  12311. supposed to do - delay data binding until the EndInit call. Also,
  12312. make the table style collection's CollectionChangeAction.Refresh
  12313. work properly.
  12314. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  12315. (with action = Refresh) when a consituent table's MappingName is
  12316. changed.
  12317. 2006-08-08 Chris Toshok <[email protected]>
  12318. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  12319. Invalidate, since changing the text can change the size of the all
  12320. toolbar buttons.
  12321. 2006-08-08 Peter Dennis Bartok <[email protected]>
  12322. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  12323. we don't have it yet
  12324. 2006-08-08 Chris Toshok <[email protected]>
  12325. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  12326. dialog, as this causes X errors later on, since we actually
  12327. destroy the window. Instead, .Hide() it.
  12328. 2006-08-08 Peter Dennis Bartok <[email protected]>
  12329. * ComboBox.cs: Added focus reflection for popup window
  12330. * XplatUIX11.cs:
  12331. - Removed transient setting for non-app windows for now, not sure it
  12332. was needed
  12333. - Fixed logic checking if we have captions when deciding
  12334. override_redirect, WS_CAPTION is two bits and a 0 check was not
  12335. sufficient
  12336. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  12337. complicated
  12338. * Form.cs:
  12339. - AddOwnedForm: Don't just add the form to the list, call the property
  12340. to ensure the driver is informed about the ownership as well
  12341. - CreateHandle: Set the TopMost status in the driver if we have an owner
  12342. * XplatUI.cs: Fixed debug statement
  12343. 2006-08-08 Jonathan Pobst <[email protected]>
  12344. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  12345. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  12346. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  12347. TrackBarRenderer.cs: Make constructor private.
  12348. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  12349. * ProfessionalColorTable.cs: Make properties virtual.
  12350. 2006-08-06 Duncan Mak <[email protected]>
  12351. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  12352. is not changing.
  12353. 2006-08-04 Jonathan Pobst <[email protected]>
  12354. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  12355. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  12356. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  12357. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  12358. Initial import of new 2.0 classes.
  12359. 2006-08-04 Jonathan Pobst <[email protected]>
  12360. * Application.cs: Add 2.0 VisualStyles properties.
  12361. 2006-08-04 Jonathan Pobst <[email protected]>
  12362. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12363. XplatUIX11.cs: Create property to allow access to existing private
  12364. variable "themes_enabled"
  12365. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  12366. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  12367. file size, as otherwise our class libraries fail using windows. Fixes
  12368. bug #78759.
  12369. 2006-08-04 Jackson Harper <[email protected]>
  12370. * Form.cs:
  12371. * XplatUIX11.cs: Move the toolwindow window manager creation into
  12372. the X11 driver, this way on win32 we can let windows create/handle
  12373. the toolwindows.
  12374. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  12375. * PrintDialog.cs: Remove some redundant checks, add some others,
  12376. clean some code, and move the focus to the text boxes when the
  12377. values are incorrect.
  12378. 2006-08-04 Alexander Olk <[email protected]>
  12379. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  12380. 2006-08-03 Alexander Olk <[email protected]>
  12381. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  12382. handled correctly. Fixes bug #79001.
  12383. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  12384. * PrintDialog.cs: The "Copies" numeric up down must have
  12385. set the Minimum property to 1; only if the value is bigger
  12386. than 1, activate "Collate" check box. This is the behaviour of .Net.
  12387. Also modify the Document elements only if it is not null.
  12388. 2006-08-03 Jackson Harper <[email protected]>
  12389. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  12390. length. (We have a larger array then actual node count).
  12391. 2006-08-03 Jackson Harper <[email protected]>
  12392. * ComboBox.cs: Don't show selection by default.
  12393. - The SelectAll isn't needed here, since the focus code should do
  12394. that
  12395. - DDL style lists to manual selection drawing, so when they
  12396. get/lose focus they have to invalidate.
  12397. 2006-08-03 Peter Dennis Bartok <[email protected]>
  12398. * TextBoxBase.cs: Don't always show all selections by default.
  12399. 2006-08-03 Jonathan Pobst <[email protected]>
  12400. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  12401. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  12402. Fixed various typos.
  12403. 2006-08-03 Alexander Olk <[email protected]>
  12404. * Control.cs: Removing the controls in a ControlCollection with
  12405. Clear now hides the controls as expected. Fixes bug #78804.
  12406. 2006-08-03 Jackson Harper <[email protected]>
  12407. * Control.cs: Revert previous focus patch, it breaks reflector.
  12408. 2006-08-03 Jackson Harper <[email protected]>
  12409. * ComboBox.cs: Cleanup selection and focus with the combobox.
  12410. This also eliminates some duplicated keyboard code, since now
  12411. everything is handled by the main class.
  12412. - Make list selection work on mouse up instead of down, to match
  12413. MS.
  12414. 2006-08-02 Jackson Harper <[email protected]>
  12415. * Control.cs: Setting focus needs to go through the whole
  12416. selection mechanism.
  12417. 2006-08-02 Chris Toshok <[email protected]>
  12418. * PrintPreviewDialog.cs: change MinimumSize to use
  12419. base.MinimumSize so it works.
  12420. 2006-08-02 Peter Dennis Bartok <[email protected]>
  12421. * TextControl.cs:
  12422. - UpdateCaret: Added sanity check in case caret isn't defined yet
  12423. - Line.Delete: Now updating selection and caret markers if we're
  12424. transfering a node (Properly fixes #78323)
  12425. - SetSelectionEnd: Added sanity check
  12426. * TextBoxBase.cs: Removed broken attempt to fix #78323
  12427. 2006-08-01 Chris Toshok <[email protected]>
  12428. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  12429. Close() call is handled in Form, not here.
  12430. 2006-08-01 Chris Toshok <[email protected]>
  12431. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  12432. layout/rendering.
  12433. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  12434. for sizes < 100% zoom. The code now aggressively attempts to keep
  12435. from calling document.Print (), and tries not to use the scaling
  12436. g.DrawImage whenever possible (it still does if you scale to >
  12437. 100%, since usually that involves huge images).
  12438. * PrintPreviewControl.cs: hook up the close button.
  12439. 2006-08-01 Jonathan Pobst <[email protected]>
  12440. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  12441. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  12442. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  12443. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  12444. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  12445. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  12446. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  12447. Removed [Serializable] for 2.0 Event Handlers.
  12448. 2006-07-31 Jackson Harper <[email protected]>
  12449. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  12450. * TextControl.cs: Uncomment out the body of this method.
  12451. 2006-07-31 Alexander Olk <[email protected]>
  12452. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  12453. standard cursors.
  12454. 2006-07-31 Peter Dennis Bartok <[email protected]>
  12455. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  12456. that embed TextBox and need selections visible even if textbox is not
  12457. focused to enforce that behaviour.
  12458. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  12459. selection drawing
  12460. 2006-07-31 Peter Dennis Bartok <[email protected]>
  12461. * TextControl.cs:
  12462. - Added new SetSelectionStart/SetSelectionEnd overloads
  12463. - Fixed viewport width assignment to be accurate
  12464. - Adjusted alignment line shift calculations to allow cursor on right
  12465. aligned lines to be always visible at the right border (like MS)
  12466. * TextBoxBase.cs:
  12467. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  12468. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  12469. - CalculateScrollBars: Use ViewPort size instead of window size, to
  12470. properly consider space occupied by the border and scrollbars
  12471. (Fixes #78661)
  12472. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  12473. calculations; no longer leaves artifacts
  12474. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  12475. calculation bugs (Still missing right/center align calculations)
  12476. 2006-07-31 Peter Dennis Bartok <[email protected]>
  12477. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  12478. use of both scroll rect and clip rect, as they do the same.
  12479. 2006-07-31 Peter Dennis Bartok <[email protected]>
  12480. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  12481. in the event handler (fixes #78912)
  12482. 2006-07-31 Chris Toshok <[email protected]>
  12483. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  12484. grid.ListManager.Count, since grid.ListManager might be null.
  12485. This of course begs the question "why are we drawing rows for a
  12486. grid with no list manager (and therefor no rows)?" Fixes the
  12487. crash in bug #78929.
  12488. 2006-07-31 Chris Toshok <[email protected]>
  12489. * RelatedPropertyManager.cs: Don't always chain up to the parent
  12490. ctor. instead, call SetDataSource if the parent's position is !=
  12491. -1. Fixes the crash in #78822.
  12492. 2006-07-31 Chris Toshok <[email protected]>
  12493. * DataGrid.cs (get_ListManager): use field instead of property
  12494. accessors for datasource and datamember.
  12495. (RowsCount): make internal again.
  12496. (OnMouseDown): end edits before resizing columns/rows.
  12497. (OnMouseUp): restart edits after resizing columns/rows.
  12498. 2006-07-30 Peter Dennis Bartok <[email protected]>
  12499. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  12500. This fixes the situation where the last set cursor is displayed
  12501. whenever the mouse is over scrollbars.
  12502. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  12503. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  12504. Document properties, as well as initial values.
  12505. 2006-07-29 Peter Dennis Bartok <[email protected]>
  12506. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  12507. and ClientEdge results in a 3-pixel border, which is
  12508. wrong.
  12509. 2006-07-28 Jackson Harper <[email protected]>
  12510. * TreeNodeCollection.cs: Fix the clear method.
  12511. - Fix the Shrink also
  12512. 2006-07-27 Jackson Harper <[email protected]>
  12513. * TreeView.cs: Make sure the visible order is computed when we
  12514. attempt to size the scrollbars (for trees that mess with the
  12515. scrolling when they shouldn't.
  12516. - Make sure to give the scrollbars valid values.
  12517. 2006-07-26 Peter Dennis Bartok <[email protected]>
  12518. * XplatUIX11.cs: Move motion compression code to where it
  12519. has less performance impact
  12520. 2006-07-26 Jackson Harper <[email protected]>
  12521. * UpDownBase.cs: When the control is selected make the child
  12522. controls non selectable, so that a click on them won't do a
  12523. focus/unfocus cycle.
  12524. - Don't give focus to the text box when the spinner is selected.
  12525. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  12526. 2006-07-26 Chris Toshok <[email protected]>
  12527. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  12528. satisfied with this solution. If the bitmaps are small, we should
  12529. just cache them in the PrintPreviewDialog and draw them here.
  12530. Also, the layout is broken for the 2-up and 3-up cases.
  12531. * Theme.cs: add PrintPReviewControlPaint.
  12532. * PrintPreviewDialog.cs: first pass implementation.
  12533. * PrintPreviewControl.cs: first pass implementation. No
  12534. scrollbars yet.
  12535. * PrintDialog.cs: only validate fields if that particular portion
  12536. of the UI is enabled. Also, set the document's controller to a
  12537. PrintControllerWithStatusDialog wrapping the document's print
  12538. controller.
  12539. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  12540. bring up a SaveFileDialog (i hope we don't want to match the
  12541. behavior of the crappy windows file entry) and set the
  12542. PrinterSettings.PrintFileName accordingly.
  12543. 2006-07-26 Jackson Harper <[email protected]>
  12544. * ContainerControl.cs: Add a field that disables auto selecting
  12545. the next control in a container when the container is activated.
  12546. * UpDownBase.cs: Don't select the text box when the up down is
  12547. selected.
  12548. 2006-07-26 Peter Dennis Bartok <[email protected]>
  12549. * XEventQueue.cs: Added methods for peeking (used for compression
  12550. of successive events)
  12551. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  12552. mouse move events (fixes #78732)
  12553. 2006-07-25 Jackson Harper <[email protected]>
  12554. * UpDownBase.cs: Use an internal class for the textbox so that we
  12555. can control focus. the updown control should always have focus,
  12556. if either the text area or the buttons are clicked.
  12557. - Send the key messages to the textbox, since it never actually
  12558. has focus
  12559. - Activate and decativate the textbox caret.
  12560. 2006-07-24 Jackson Harper <[email protected]>
  12561. * Control.cs: Use the directed select when selecting a control,
  12562. this way the container controls override will get called and the
  12563. whole ActiveControl chain will get triggered. TODO: probably need
  12564. to make sure this gets done everywhere instead of the old
  12565. Select(Control).
  12566. * ContainerControl.cs: Implement the directed Select method to
  12567. find and activate the correct child control.
  12568. 2006-07-22 Mike Kestner <[email protected]>
  12569. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  12570. menu handling code so that clicks without a grab work too.
  12571. [Fixes #78914]
  12572. 2006-07-22 Alexander Olk <[email protected]>
  12573. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  12574. Added some small optimizations.
  12575. 2006-07-21 Matt Hargett <[email protected]>
  12576. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  12577. 2006-07-21 Peter Dennis Bartok <[email protected]>
  12578. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  12579. tests pass and match MS in some strange border cases.
  12580. 2006-07-21 Chris Toshok <[email protected]>
  12581. * ThemeWin32Classic.cs: handle drawing of the relation links and
  12582. parent row buttons.
  12583. * Theme.cs: change args to DataGridPaintParentRow.
  12584. * DataGrid.cs: Don't use controls for the relation links and
  12585. parent buttons, so we have to handle all their interactions in
  12586. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  12587. when we're navigating through child tables, so we can reinstate
  12588. selection, expanded state, current cell, etc.
  12589. 2006-07-20 Chris Toshok <[email protected]>
  12590. * ToolBar.cs: When we redraw a button, for whatever reason,
  12591. there's no reason to redraw the entire toolbar. Also, don't call
  12592. Control.Refresh from within Redraw, as it's much heavier than
  12593. Invalidate (which is really what we want).
  12594. 2006-07-20 Chris Toshok <[email protected]>
  12595. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  12596. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  12597. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  12598. traces from within a debug IBindingList datasource
  12599. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  12600. to work in a similar fashion.
  12601. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  12602. * ListBox.cs: Don't call Sort () when setting
  12603. the Sorted property to false (avoid an unnecessary sort).
  12604. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  12605. * ListControl.cs: DataSource should throw an ArgumentException
  12606. instead of a normal exception when the argument is not of the
  12607. correct type.
  12608. 2006-07-20 Mike Kestner <[email protected]>
  12609. * Control.cs: add InternalPreProcessMessage to allow us to steal
  12610. key events before MWF gets its paws on them. Adapted from a
  12611. suggestion by eno.
  12612. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  12613. up/down/left/right navigation. Override the new internal control
  12614. method to steal the events since they never make it to WndProc.
  12615. * ToolBarButton.cs: don't worry about pushed when setting hilight
  12616. since the drawing code prefers pushed to hilight. Invalidate on
  12617. Hilight changes. Fixes #78547 and #78525.
  12618. 2006-07-20 Peter Dennis Bartok <[email protected]>
  12619. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  12620. the canvas size. Fixes #78868
  12621. 2006-07-20 Peter Dennis Bartok <[email protected]>
  12622. * Splitter.cs: Track requested split position until first layout
  12623. is performed. Fixes #78871
  12624. 2006-07-20 Peter Dennis Bartok <[email protected]>
  12625. * Application.cs: Removed code that forces 1.x for the version
  12626. number if the version started with 0. Not sure why that code was
  12627. there and I couldn't find any bugs that indicated we needed it.
  12628. Fixes #78869
  12629. 2006-07-20 Alexander Olk <[email protected]>
  12630. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  12631. ResetDefaults(), just write some output to the console until it's
  12632. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  12633. 2006-07-19 Jonathan Chambers <[email protected]>
  12634. * PropertyGridView.cs: set StartPosition of drop down forms
  12635. so they appear in correct initial spot. Fixes #78190.
  12636. 2006-07-19 Mike Kestner <[email protected]>
  12637. * ThemeWin32Classic.cs: use parent background color when drawing
  12638. flat toolbars. Restructure the conditionals to make sure non-flat
  12639. non-Divider toolbars are filled too. Fixes #78837.
  12640. 2006-07-19 Mike Kestner <[email protected]>
  12641. * ListBox.cs: Sort on collection changes even if the handle
  12642. isn't created yet. Fixes #78813.
  12643. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  12644. * ListControl.cs: DisplayMember should never be null,
  12645. and now we assign String.Empty when null is passed to it (this
  12646. is the .Net way).
  12647. 2006-07-17 Mike Kestner <[email protected]>
  12648. * ListViewItem.cs: restructure Font and subitem Font handling
  12649. to hold a specific font and refer back to owner on null.
  12650. Fixes #78761.
  12651. 2006-07-17 Mike Kestner <[email protected]>
  12652. * ToolBar.cs: bandaid for side-effect of previous patch which was
  12653. discarding explicit heights for non-AutoSize toolbars. Need to
  12654. extend my format tester to deal with AutoSize=false. Fixes #78864.
  12655. 2006-07-15 Jackson Harper <[email protected]>
  12656. * LabelEditTextBox.cs:
  12657. * TreeView.cs: Use a new LabelEdit class for node editing, this
  12658. class automatically 'closes' itself when it gets the enter key or
  12659. loses focus.
  12660. - Use the client rectangle when setting the trees scrollbars, so
  12661. border style is taken into account.
  12662. 2006-07-14 Jackson Harper <[email protected]>
  12663. * TreeNode.cs:
  12664. * TreeView.cs: Make the editing work similar to MSs, firing the
  12665. events correctly and ending edits correctly.
  12666. 2006-07-14 Mike Kestner <[email protected]>
  12667. * ToolBarButton.cs:
  12668. * ToolBar.cs: layout restructuring and redraw enhancements to support
  12669. formatting changes gracefully, like setting TextAlign, ImageList,
  12670. ButtonSize, and Appearance. Handles explicit button sizing quirks
  12671. of the MS controls. Things like flat toolbars ignoring button size
  12672. but becoming constant sized at the largest button's size. Normal
  12673. toolbars with an image set cannot be shrunk smaller than the image,
  12674. but text can be clipped/ignored.
  12675. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  12676. is zero. Seems like DrawString should be smart enough to not put
  12677. anything on screen though. Also trim labels and ellipsize at the char
  12678. boundary, not word.
  12679. Fixes #78711 and #78483.
  12680. 2006-07-14 Alexander Olk <[email protected]>
  12681. * FolderBrowserDialog.cs: Disable "New Folder" button and
  12682. "New Folder" contextmenu menuitem if a folder like "My Computer"
  12683. is selected.
  12684. 2006-07-14 Alexander Olk <[email protected]>
  12685. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  12686. * FolderBrowserDialog.cs:
  12687. - Use MWFConfig to store and read size and position settings
  12688. - Added code to create a new folder (button or context menu).
  12689. Use TreeView labeledit to change the name of the new folder.
  12690. 2006-07-14 Jackson Harper <[email protected]>
  12691. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  12692. when the tree is scrolled we end editing.
  12693. 2006-07-14 Alexander Olk <[email protected]>
  12694. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  12695. Down arrows
  12696. 2006-07-14 Jonathan Pobst <[email protected]>
  12697. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  12698. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  12699. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  12700. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  12701. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  12702. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  12703. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  12704. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  12705. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  12706. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  12707. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  12708. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  12709. ListViewItemSelectionChangedEventHandler.cs,
  12710. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  12711. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  12712. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  12713. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  12714. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  12715. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  12716. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  12717. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  12718. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  12719. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  12720. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  12721. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  12722. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  12723. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  12724. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  12725. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  12726. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  12727. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  12728. WebBrowserNavigatingEventHandler.cs,
  12729. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  12730. 2006-07-14 Jonathan Pobst <[email protected]>
  12731. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  12732. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  12733. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  12734. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  12735. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  12736. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  12737. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  12738. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  12739. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  12740. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  12741. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  12742. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  12743. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  12744. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  12745. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  12746. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  12747. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  12748. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  12749. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  12750. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  12751. ListViewItemStates.cs, MaskFormat.cs: Added
  12752. 2006-07-13 Jonathan Chambers <[email protected]>
  12753. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  12754. Patch from eno for bug 78558.
  12755. 2006-07-13 Jackson Harper <[email protected]>
  12756. * TreeView.cs: When an edit is finished make sure that the
  12757. selected node is visible.
  12758. - When setting the top/bottom use the scrollbars is_visible, so
  12759. everything will be set correctly even if the tree isn't visible
  12760. yet.
  12761. 2006-07-13 Jackson Harper <[email protected]>
  12762. * ComboBox.cs: Revert the item->index part of my previous patch.
  12763. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  12764. the edit box has lost focus (duh).
  12765. - Just make the edit box not visible when we get return, that will
  12766. take the focus, which will call EndEdit
  12767. * TreeNode.cs When we start editing, notify the treeview.
  12768. 2006-07-12 Jackson Harper <[email protected]>
  12769. * ComboBox.cs: Clear out old items before setting the item list.
  12770. This prevents databound controls from having their items added
  12771. twice.
  12772. - Switch the combobox to use indices whereever possible instead of
  12773. using Item's. This allows usto navigate through lists that have
  12774. more then one item with the same string value (ie a, b, b, a).
  12775. - Scroll the listboxes scrollbar when a non visible item is
  12776. highlighted
  12777. - Allow keypress to cycle through all the possible values. For
  12778. example if you have b1, b2, b3 and hold down the B key all the
  12779. values will be cycled through.
  12780. 2006-07-12 Jackson Harper <[email protected]>
  12781. * TextBoxBase.cs:
  12782. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  12783. this using the internal methods.
  12784. * Control.cs: Add OnGotFocusInternal. A new method that allows
  12785. controls to "override" OnGotFocus and change focus behavior if
  12786. needed.
  12787. - Same thing for LostFocus
  12788. * ComboBox.cs: Pass off focus to the text control properly.
  12789. 2006-07-12 Alexander Olk <[email protected]>
  12790. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  12791. * FolderBrowserDialog.cs: Almost a complete rewrite.
  12792. - Better support for Environment.Specialfolders
  12793. - Added support for MWFVFS
  12794. - Made setting SelectedPath work
  12795. 2006-07-12 Jackson Harper <[email protected]>
  12796. * Control.cs: Optimze getting all the controls.
  12797. 2006-07-11 Jackson Harper <[email protected]>
  12798. * ContainerControl.cs: Override SETFOCUS in the container control,
  12799. so that it is not selected on mouse click.
  12800. 2006-07-11 Peter Dennis Bartok <[email protected]>
  12801. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  12802. Hopefully we will have a better way once all of focus is complete.
  12803. 2006-07-11 Peter Dennis Bartok <[email protected]>
  12804. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  12805. a compile error with csc.
  12806. 2006-07-11 Jackson Harper <[email protected]>
  12807. * Control.cs: When hiding a control only select the next control
  12808. if the current control was focused.
  12809. - Don't handle enter/leave when setting/killing focus, this is
  12810. done by the container control.
  12811. - Remove is_selected, it's not needed anymore.
  12812. - Add utility methods for selecting a child control, and for
  12813. firing the Enter/Leave events.
  12814. * ContainerControl.cs: When a control is activated fire the
  12815. enter/leave events.
  12816. - Don't wrap when processing the tab key, so that focus can be
  12817. moved outside of the container.
  12818. - Use the correct active control
  12819. 2006-07-11 Jackson Harper <[email protected]>
  12820. * ComboBox.cs: Remove some debug code that was blinding me.
  12821. * UpDownBase.cs: These controls actually aren't implicit, they are
  12822. visible to the user.
  12823. 2006-07-10 Chris Toshok <[email protected]>
  12824. * DataGrid.cs: move back to the is_adding boolean field. god i
  12825. hate this is_editing/is_adding/is_changing stuff.
  12826. 2006-07-10 Chris Toshok <[email protected]>
  12827. * DataGridTableStyle.cs: just check if the property type is bool.
  12828. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  12829. Don't use CanRenderType.
  12830. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  12831. if our text == NullText. Remove CanRenderType.
  12832. * DataGridBoolColumn.cs: nuke CanRenderType.
  12833. * DataGrid.cs: reenable some code to end the current edit inside
  12834. of set_CurrentCell. This fixes the other 1.1.16 regression.
  12835. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  12836. Also, remove the visible_row_count arg from CalcRowHeaders, since
  12837. we don't need to worry about the actual height of the area.
  12838. 2006-07-10 Chris Toshok <[email protected]>
  12839. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  12840. mode, just return.
  12841. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  12842. the real sense of the IsInEditOrNavigateMode property (true =
  12843. navigate, false = edit). Also, update OnKeyPress to reflect this.
  12844. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  12845. column style exists, we still need to set its property descriptor
  12846. to match up with our list manager.
  12847. 2006-07-10 Chris Toshok <[email protected]>
  12848. * ThemeWin32Classic.cs: implement the new row/header painting
  12849. approach. The parent row painting will likely go away and
  12850. replaced with label controls, but the rest seems to work ok (and
  12851. efficiently).
  12852. * Theme.cs: change the way we draw datagrid rows. we don't draw
  12853. the row headers as a block now. Instead we draw them in the
  12854. normal draw-row loop. Add some calls for drawing parent rows and
  12855. relation rows.
  12856. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  12857. a default table style. Set the defaults from ThemeEngine.Current,
  12858. not SystemColors. Fix lots of misc issues with property setters.
  12859. * DataGrid.cs: move loads of style information out of this class
  12860. as it's being duplicated with DataGridTableStyle. keep track of a
  12861. special DataGridTableStyle for the properties we used to mirror
  12862. here. Switch all the style properties to access this table style
  12863. instead of instance fields of this class. Also add a internal
  12864. class to represent parent rows (more needs to be stored here, like
  12865. the selection state from the parent table, as well as the
  12866. expansion state.) Also, for datasources with relations, do the
  12867. right thing for collapse/expand, and add support for the
  12868. navigation/parent row buttons.
  12869. Lastly, fix the crash in the 1.1.16 build.
  12870. * GridTableStylesCollection.cs: make the explicit interface
  12871. implementations call the class's methods as opposed to duplicating
  12872. them.
  12873. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  12874. 0 so the text doesn't jump around when we move the cursor.
  12875. 2006-07-10 Jackson Harper <[email protected]>
  12876. * TextBoxBase.cs:
  12877. * ListBox.cs: Match MS's ToString (this makes debugging focus
  12878. stuff infinitely easier).
  12879. 2006-07-10 Jackson Harper <[email protected]>
  12880. * Control.cs (SelectNextControl): When checking the control's
  12881. parent use this instead of ctrl.parent so that null can be passed
  12882. to SelectNextControl. (I have unit tests for this).
  12883. - Remove unused var.
  12884. 2006-07-10 Chris Toshok <[email protected]>
  12885. * CurrencyManager.cs: correct one regression, the removal of the
  12886. finalType field. Also, add a MonoTODO on CanAddRows, implement
  12887. Refresh() correctly, and fix some event emission in
  12888. ListChangedHandler.
  12889. 2006-07-07 Alexander Olk <[email protected]>
  12890. * FileDialog.cs: Don't use brackets for new folders if they exist
  12891. under *nix. Instead use -(number of existing folders +1).
  12892. 2006-07-07 Alexander Olk <[email protected]>
  12893. * FileDialog.cs:
  12894. - Fixed really nasty bug #78771
  12895. - Don't block the whole GUI when reading directories with a lot of
  12896. entries. Use an other thread instead and call BeginInvoke to
  12897. update the ListView in MWFFileView
  12898. 2006-07-07 Chris Toshok <[email protected]>
  12899. * Control.cs (Dispose): release any Capture when disposing.
  12900. 2006-07-07 Chris Toshok <[email protected]>
  12901. * LinkLabel.cs (Select): if we chain up to the parent, set
  12902. focused_index to -1 so we'll search for the first available link
  12903. the next time the user tabs into us. Also, if the direction is
  12904. backward and focused_index == -1, start the search from the last
  12905. element.
  12906. 2006-07-07 Chris Toshok <[email protected]>
  12907. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  12908. is beyond the end of the text, don't do anything.
  12909. (CreateLinkPieces): set our ControlStyles.Selectable based on
  12910. whether or not we have any links.
  12911. (Link.Invalidate): use a loop instead of foreach.
  12912. (Link.set_Start): null out owner.sorted_links so it'll be
  12913. recreated by CreateLinkPieces.
  12914. 2006-07-06 Chris Toshok <[email protected]>
  12915. * LinkLabel.cs: revert the SetStyle change.
  12916. 2006-07-06 Chris Toshok <[email protected]>
  12917. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  12918. (OnEnableChanged): s/Refresh/Invalidate
  12919. (OnGotFocus): if we have a focused index already, refocus it (so
  12920. if we mouse out/in to the window it'll focus the right link).
  12921. (OnKeyDown): move the tab handling out of here.
  12922. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  12923. when we lose focus.
  12924. (OnMouseDown): don't Capture here - Control handles it. Also,
  12925. focus the active link.
  12926. (OnMouseUp): don't deal with Capture.
  12927. (OnPaintBackgroundInternal): remove.
  12928. (OnTextAlignChanged): CreateLinkPieces before calling the
  12929. superclass's method.
  12930. (OnTextChanged): call CreateLinkPieces before calling superclass's
  12931. method.
  12932. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  12933. move around.
  12934. (Select): implement this, moving the selection between different
  12935. links, and call parent.SelectNextControl if we don't have another
  12936. link to focus in the given direction.
  12937. (CreateLinkPieces): call Invalidate instead of Refresh.
  12938. 2006-07-06 Chris Toshok <[email protected]>
  12939. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  12940. new LinkLabel internals.
  12941. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  12942. over pieces looking for active/focused/etc links. also, deal with
  12943. runs of text (and links) with embedded \n's in them, and use
  12944. MeasureCharacterRanges instead of MeasureString to figure out the
  12945. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  12946. two-step.
  12947. 2006-07-04 Jackson Harper <[email protected]>
  12948. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  12949. XKB or key auto repeat, do it manually. Without key auto repeat,
  12950. when a key is held down we get key press, key release, key press,
  12951. key release, ... with auto repeat we get key press, key press, key
  12952. press ..., and then a release when the key is actually released.
  12953. 2006-07-03 Jackson Harper <[email protected]>
  12954. * TabControl.cs:
  12955. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  12956. rules, they are always control color regardless of the background
  12957. color.
  12958. 2006-07-02 Alexander Olk <[email protected]>
  12959. * FileDialog.cs: Added internal class MWFConfig.
  12960. Removed Registry support and replaced it with support for the new
  12961. MWFConfig class. See MWFConfig comments for more information.
  12962. 2006-06-30 Alexander Olk <[email protected]>
  12963. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  12964. rectangle. Added some patches from eno from bug #78490 and fixed
  12965. the arrow position for small up and down CPDrawScrollButtons.
  12966. 2006-06-30 Jackson Harper <[email protected]>
  12967. * InternalWindowManager.cs: Remove some debug code.
  12968. * Form.cs: When an MdiParent is set to null, the window is
  12969. "detatched" and becomes a normal window.
  12970. * MdiClient.cs: Don't bring the new child form to the front until
  12971. it is activated (setting it as active does this), this makes the
  12972. previously active forms titlebar get redrawn as inactive.
  12973. 2006-06-29 Peter Dennis Bartok <[email protected]>
  12974. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  12975. with later controls
  12976. 2006-06-29 Mike Kestner <[email protected]>
  12977. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  12978. arrow in keynav state. Fixes #78682.
  12979. 2006-06-28 Atsushi Enomoto <[email protected]>
  12980. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  12981. order (fixes #78393)
  12982. 2006-06-28 Jonathan Pobst <[email protected]>
  12983. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  12984. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  12985. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  12986. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  12987. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  12988. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  12989. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  12990. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  12991. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  12992. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  12993. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  12994. values)
  12995. 2006-06-28 Mike Kestner <[email protected]>
  12996. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  12997. 2006-06-28 Atsushi Enomoto <[email protected]>
  12998. * PropertyGrid.cs,
  12999. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  13000. item lines from other area (It also makes BackColor consistent and
  13001. compatible with .NET). Fixed bug #78564.
  13002. 2006-06-28 Jonathan Chambers <[email protected]>
  13003. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  13004. Patch from Eno for #78555.
  13005. 2006-06-27 Chris Toshok <[email protected]>
  13006. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  13007. * DataGridColumnStyle.cs: same.
  13008. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  13009. * DataGridDrawingLogic.cs: nuke.
  13010. 2006-06-27 Chris Toshok <[email protected]>
  13011. * DataGridTableStyle.cs: clean up the constructors, and build the
  13012. list of child relations for this table. I have no idea if this is
  13013. where we should be doing it (it probably isn't), but since we're
  13014. already iterating over the properties..
  13015. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  13016. struct and array for keeping track of row information, similar to
  13017. what's shown in a hack on
  13018. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  13019. * Theme.cs: be consistent about the naming of DataGrid methods,
  13020. prefering ColumnWidths and RowHeights over columnsWidths and
  13021. RowsHeights.
  13022. * ThemeWin32Classic.cs: same, and also add support for variable
  13023. sized rows (and the +/- expansion icons for related rows).
  13024. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13025. * TextBoxBase.cs: Applied Eno's patch from #78660
  13026. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13027. * Form.cs (ScaleCore): We don't want to scale our form if it's
  13028. state is minimized or maximized, but we still need to scale our
  13029. child windows. Also, added try/finally block to ensure layout
  13030. gets reset (Fixes #78697)
  13031. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13032. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  13033. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13034. * Form.cs: Fixed c+p error and added check to resize form if minimum
  13035. size is bigger than current size (Fixes #78709)
  13036. 2006-06-26 Peter Dennis Bartok <[email protected]>
  13037. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  13038. 2006-06-26 Mike Kestner <[email protected]>
  13039. * ComboBox.cs: only do Keypress handling in the combo when there
  13040. are items in the collection. Fixes #78710.
  13041. 2006-06-26 Chris Toshok <[email protected]>
  13042. * Binding.cs: make this work bi-directionally. also, clear up
  13043. other mixups between Push/Pull Data (e.g. we're supposed to pull
  13044. data when validating).
  13045. * BindingManagerBase.cs: trim some fully qualified collection
  13046. types.
  13047. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  13048. 2006-06-23 Chris Toshok <[email protected]>
  13049. * PropertyManager.cs: It appears (according to the unit tests)
  13050. that PropertyManager doesn't use
  13051. PropertyDescriptor.AddValueChanged to track propery value changes
  13052. in its datasource, but uses the same scheme as Binding, where it
  13053. looks for a <Property>Changed event and binds to it.
  13054. Also, according to the docs, IsSuspended always returns false for
  13055. a property manager with a non-null datasource.
  13056. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13057. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  13058. need to update the actual DialogResult. (Fixes #78613)
  13059. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13060. * Form.cs (ShowDialog): Release any captures before running the
  13061. new message pump (fixes #78680)
  13062. 2006-06-22 Mike Kestner <[email protected]>
  13063. * ListView.cs: Layout column widths properly in details mode even
  13064. if HeaderStyle.None is set. Fixes #78691.
  13065. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13066. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  13067. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13068. * Control.cs (ContainsFocus): Using new driver method to get focused
  13069. window, instead of trying to use internal tracking var, which can
  13070. recursion issues (Fixes #78685)
  13071. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13072. XplatUIWin32.cs: Added GetFocus method to return focused window
  13073. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  13074. * ColorDialog.cs: when the mouse button is pressed inside the color
  13075. matrix, don't let the cursor move out of it until the button is
  13076. released, which is the behavior on windows. Changed 'colours' by
  13077. 'colors' to use the same word consistently.
  13078. 2006-06-21 Chris Toshok <[email protected]>
  13079. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  13080. child relation and back, using a stack). Also, remove
  13081. GetDataSource and the code that calls it - it's not needed. Also,
  13082. track CurrencyManager.ListName's removal.
  13083. 2006-06-21 Chris Toshok <[email protected]>
  13084. * CurrencyManager.cs: push some of the original type checking from
  13085. BindingContext.CreateBindingManager to here, and remove some of
  13086. the finalType stuff. Need more tests to make sure I've got the
  13087. ListName part right, and we might need more in SetDataSource.
  13088. * PropertyManager.cs: add a ctor that takes just the datasource,
  13089. and no property name. Make SetDataSource work with a null
  13090. property_name, and make Current return the data_source if the
  13091. property descriptor is null. this makes 'string foo = "hi";
  13092. BindingContext[foo].Current' return "hi" as it should.
  13093. * RelatedCurrencyManager.cs: make this code more generic - there's
  13094. no reason the parent manager has to be CurrencyManager, and
  13095. there's no reason to pass the DataRelation. It suffices to use a
  13096. BindingManagerBase and PropetyDescriptor.
  13097. * RelatedPropertyManager.cs: make a similar change here.
  13098. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  13099. flower I knew it could be.
  13100. 2006-06-20 Chris Toshok <[email protected]>
  13101. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  13102. data in the source has changed and we need to update the control,
  13103. so s/PullData/PushData.
  13104. * CurrencyManager.cs: Refresh is meant to update the control from
  13105. data in the datasource. So, s/PullData/PushData.
  13106. * BindingContext.cs: add more ugliness (we weren't handling the
  13107. case where data_source = DataTable and data_member = column_name).
  13108. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  13109. from the perspective of the datasource. PullData pulls from the
  13110. control, PushData pushes to the control.
  13111. 2006-06-20 Chris Toshok <[email protected]>
  13112. * BindingContext.cs: rewrite the CreateBindingManager code to
  13113. handle navigation paths more or less properly. This could
  13114. definitely stand some more work, in particular to push the
  13115. recursion up to the toplevel. But that relies on fixes in other
  13116. places (System.Data comes to mind).
  13117. Also, move to a flat hashtable (and encode the twolevel nature of
  13118. the dictionary into the hash key). This lets us implement the
  13119. IEnumerable.GetEnumerator method.
  13120. * RelatedCurrencyManager.cs: new class. Update our view based on
  13121. our relation and our parent CurrencyManager's position.
  13122. * CurrencyManager.cs: split out some logic from the ctor into
  13123. SetView, so it can be called from the new RelatedCurrencyManager
  13124. subclass.
  13125. * RelatedPropertyManager.cs: new class. Update our datasource
  13126. based on the position of our parent CurrencyManager.
  13127. * PropertyManager.cs: split out some logic from the ctor into
  13128. SetDataSource, so it can be called from the new RelatedDataSource
  13129. subclass. Also, make the Current getter return the value
  13130. of the PropertyDescriptor, not the data_source.
  13131. * Binding.cs: no need to duplicate the string splitting code here.
  13132. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13133. * Control.cs:
  13134. - set_Enabled: OnEnabledChanged is not called if the inherited state
  13135. of the control is not altered, even though we might be changing the
  13136. internal state of the control (#78458)
  13137. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  13138. OnEnabledChanged, to allow easy altering of any child window state
  13139. - OnEnabledChanged: Added code to enable/disable driver window state
  13140. - OnParentEnabledChanged: Instead of firing the event, call
  13141. OnEnabledChanged, which will fire the event and also a) set driver
  13142. window state and pass the enabled state to any grandchildren (#78458)
  13143. 2006-06-19 Jackson Harper <[email protected]>
  13144. * InternalWindowManager.cs: We don't set the cursor explicitly
  13145. thats done via the response to NCHITTESTs.
  13146. - Don't need to adjust for titlebar heights anymore, the
  13147. coordinates are coming in the correct coordinates now (see peters
  13148. last patch).
  13149. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13150. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  13151. being translated relative to whole window, instead of client window.
  13152. That caused broken offsets on mouseclick (and caused gas for our
  13153. InternalWindowManager)
  13154. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13155. * TextControl.cs:
  13156. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  13157. - Undo(): Added replay of cursor move on DeleteChars action; added
  13158. calling Undo() again if a recorded cursor move is invalid (to
  13159. ensure that some action is performed on Undo)
  13160. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  13161. 2006-06-16 Jackson Harper <[email protected]>
  13162. * MdiClient.cs: Instead of just sizing maximized windows when
  13163. there is a resize we also have to adjust the Y of minimized
  13164. windows, so they stay pinned to the bottom of the mdi container.
  13165. - Eliminate separate tracking of the active control, we can just
  13166. get this from the controls collection.
  13167. - Paint the decorations for the newly activated titlebar so we get
  13168. a pretty blue bar.
  13169. * InternalWindowManager.cs:
  13170. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  13171. even if they are a tool window.
  13172. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13173. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  13174. undo buffer, these can happen when text was deleted and the cursor
  13175. was recorded first. Since we will also have a recorded cursor
  13176. after the delete this is not an issue. (Fixes #78651)
  13177. 2006-06-14 Peter Dennis Bartok <[email protected]>
  13178. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  13179. instead properly track control states internally (allows us to
  13180. remove is_selected from Control)
  13181. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  13182. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  13183. whose width is not a multiple of 8.
  13184. 2006-06-13 Jackson Harper <[email protected]>
  13185. * MdiClient.cs: Only maximize the next child if the current one
  13186. is maximized.
  13187. 2006-06-13 Chris Toshok <[email protected]>
  13188. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  13189. modified. Also, guard against grid or grid_drawing being null in
  13190. Invalidate.
  13191. * DataGrid.cs: Reformat tons of getters/setters. In the
  13192. DataMember setter, just call SetNewDataSource instead of
  13193. duplicating some of its functionality. In SetNewDataSource, don't
  13194. check ListManager for null, since the property getter creates the
  13195. object if needed.
  13196. * DataGridTableStyle.cs: don't set TableStyle or call
  13197. SetDataGridInternal on the column here, it's done in
  13198. GridColumnStylesCollection.Add.
  13199. * GridColumnStylesCollection.cs: fix all the explicit interface
  13200. implementations to just call our methods. Nuke AddInternal() and
  13201. move the body of it to Add(). Also, add a call to
  13202. column.SetDataGridInternal to Add().
  13203. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  13204. base()+duplicate code. Also, use the Format property instead of
  13205. format to generate an Invalidate ala MS. Lastly, create the
  13206. textbox here, unconditionally.
  13207. (set_Format): call Invalidate.
  13208. (get_TextBox): no need to call EnsureTextBox.
  13209. (Commit): remove the message box.
  13210. (Edit) remove the call to EnsureTextBox.
  13211. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  13212. (EnterNullValue): no need to check textbox for null.
  13213. (HideEditBox): no need to check textbox for null.
  13214. (SetDataGridInColumn): add the textbox to the grid's controls.
  13215. (EnsureTextBox): nuke.
  13216. 2006-06-13 Jackson Harper <[email protected]>
  13217. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  13218. and redraw the buttons when needed. Unhook when the window is
  13219. unmaximized.
  13220. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  13221. needs this so that it can redraw its buttons when the menu is
  13222. repainted.
  13223. * InternalWindowManager.cs:
  13224. * Form.cs: The method order has changed for DrawMaximizedButtons,
  13225. so that it can be a PaintEventHandler.
  13226. 2006-06-13 Jackson Harper <[email protected]>
  13227. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  13228. window is activated and maximized, even if it wasn't before.
  13229. - When a new window is activated repaint the decorations of the
  13230. old one, so that it no longer has the Active "look" (the blue
  13231. titlebar).
  13232. * InternalWindowManager.cs: Open up CreateButtons to base classes
  13233. so they can recreate the buttons on state changes.
  13234. - If a window is maximized give it all three buttons
  13235. * MdiWindowManager.cs: Create the titlebar buttons when the state
  13236. is changed, this is needed because a toolwindow will not have all
  13237. three buttons until it is maximized.
  13238. 2006-06-13 Atsushi Enomoto <[email protected]>
  13239. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  13240. Fixed bug #78609.
  13241. 2006-06-12 Jackson Harper <[email protected]>
  13242. * KeysConverter.cs: Make sure we handle the Ctrl special case
  13243. if its the only key.
  13244. 2006-06-12 Jackson Harper <[email protected]>
  13245. * Theme.cs: Add a method to get the size of a managed window
  13246. toolbar button.
  13247. * InternalWindowManager.cs: Remove the ButtonSize property, this
  13248. should be retrieved from the theme.
  13249. * MdiWindowManager.cs: Get the button size from the theme
  13250. * ThemeWin32Classic.cs: Make the method to get the managed window
  13251. titlebar button size public.
  13252. - Handle the different button sizes of maximized toolwindows
  13253. (should match any maximized window).
  13254. - Get the titlebar height from the theme, not the WM (which gets
  13255. it from the theme).
  13256. 2006-06-12 Jackson Harper <[email protected]>
  13257. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  13258. event down to the mdi window manager.
  13259. - Expose some extra stuff to base classes
  13260. - Make sure to end the Capture on an NC Mouse up, so that we can
  13261. get double clicks properly, and the sizing doens't stick.
  13262. - When doing PointToClient contain it in the workable desktop
  13263. area, this prevents windows from changing size when the cursor is
  13264. pulled outside of the working area while sizing.
  13265. * MdiWindowManager.cs: When we get a double click maximize the
  13266. window.
  13267. - Reset the cursor after handling mode changes.
  13268. 2006-06-12 Peter Dennis Bartok <[email protected]>
  13269. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  13270. current desktop, instead of just assuming a 0, 0 origin. This
  13271. is needed for our internal window manager, to know the top
  13272. margin of the desktop
  13273. 2006-06-12 Chris Toshok <[email protected]>
  13274. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  13275. we need this to get rid of the selected background in the bool
  13276. column.
  13277. (CancelEditing): move the ConcedeFocus call to above the Abort
  13278. call. Also, set is_changing to false and invalidate the row
  13279. header if we were changing before.
  13280. (ProcessKeyPreviewInternal): remove, since noone outside this
  13281. class calls it anymore. Roll the code into ProcessKeyPreview.
  13282. (EndEdit): remove the internal version.
  13283. (InvalidateCurrentRowHeader): make private.
  13284. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  13285. Keys.Escape handling (and with it the last call to
  13286. DataGrid.EndEdit from outside the class.)
  13287. 2006-06-12 Chris Toshok <[email protected]>
  13288. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  13289. (OnKeyPress): set isedit to true.
  13290. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  13291. already handled by the grid.
  13292. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  13293. right. ugh.
  13294. (set_DataSource): SetDataSource always returns true, so stop
  13295. putting it in an if statement.
  13296. (EndEdit): get rid of some {}'s
  13297. (ProcessGridKey): return true in case Keys.Escape.
  13298. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  13299. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  13300. PositionChanged, stopped connecting to CurrentChanged.
  13301. (GetDataSource): simplify this a bunch.
  13302. (SetDataSource): change return type from bool to void.
  13303. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  13304. to this, and make sure we don't set ListManager.Position inside
  13305. set_CurrentCell.
  13306. (OnListManagerItemChanged): if we're passed an actual index,
  13307. redraw that row.
  13308. * CurrencyManager.cs (set_Position): don't call PullData here.
  13309. 2006-06-09 Jackson Harper <[email protected]>
  13310. * TreeNode.cs: Recalculate the visible order before doing the
  13311. Expand/Collapse Below calls, because those calls generate an
  13312. expose.
  13313. - Reduce calls to the TreeView property, which is mildly expensive
  13314. by using a local var.
  13315. * Form.cs: Layout the MDI child windows when creating the parent
  13316. form.
  13317. - Don't use the internal constructor anymore
  13318. * MdiClient.cs: use the parent form width/height (if available)
  13319. when laying out the child windows, we do this because the
  13320. mdiclient isn't docked yet when the initial layout is done.
  13321. - Don't need an internal constructor anymore.
  13322. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  13323. * FileDialog.cs: handle access errors when trying to create a folder
  13324. or changing to a directory. No need to initialize out parameters.
  13325. 2006-06-08 Alexander Olk <[email protected]>
  13326. * FileDialog.cs: Append a number when creating a new folder if the
  13327. folder already exists (use parenthesis instead of square brackets)
  13328. 2006-06-08 Alexander Olk <[email protected]>
  13329. * FileDialog.cs:
  13330. - Disabled registry support for windows and added better registry
  13331. error checking for other systems (need to investigate why it
  13332. works perfectly on my system)
  13333. - If a folder already exist show an error MessageBox instead of
  13334. trying to create an indexed name.
  13335. - Fixed a non intentional typo.
  13336. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  13337. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  13338. 2006-06-08 Alexander Olk <[email protected]>
  13339. * FileDialog.cs: When creating a new folder don't crash if the
  13340. folder already exists.
  13341. 2006-06-08 Alexander Olk <[email protected]>
  13342. * FileDialog.cs: Allmost a complete rewrite.
  13343. - added a "virtual" file system that handles the differences
  13344. between unix and windows file systems (especially the directory
  13345. structure). Moved most of the directory and file handling code
  13346. into the vfs.
  13347. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  13348. UnixFileSystem and FSEntry.
  13349. - Recently used folder/directory, size, location and used file names
  13350. (file name ComboBox) are now stored in the registry and get read
  13351. before the dialog shows up (fixes part 6 of bug #78446).
  13352. - Creation of new folders/directories is now possible (context menu
  13353. or ToolBar). Added TextEntryDialog for this that fills in the gap
  13354. until ListView.LabelEdit works.
  13355. - Fixed cursor handling (bug #78527) and focus handling for
  13356. PopupButtonPanel
  13357. - Various "Search in" ComboBox enhancements. The content of the
  13358. dropdown listbox now almost matches ms.
  13359. - Changed the behaviour when the user switches to SpecialFolder
  13360. Recent to show the ListView in View.Details.
  13361. - Beside using the ToolBar to change the View property of the
  13362. file ListView it is now possible to use the context menu too.
  13363. 2006-06-08 Alexander Olk <[email protected]>
  13364. * ComboBox.cs: Don't create a new ObjectCollection when an item
  13365. gets inserted. Just insert the item in the existing object_items
  13366. ArrayList.
  13367. 2006-06-08 Jackson Harper <[email protected]>
  13368. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  13369. that the treeview and root node checks are done also, this fixes a
  13370. regression i caused in the unit tests.
  13371. 2006-06-07 Wade Berrier <[email protected]>
  13372. * RichTextBox.cs: More ISO8859-1 -> unicode
  13373. 2006-06-07 Mike Kestner <[email protected]>
  13374. * ComboBox.cs : use items to hold highlight/selection so that
  13375. collection insertions don't require synchronization.
  13376. 2006-06-07 Jackson Harper <[email protected]>
  13377. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  13378. routine. We now always keep the sized edge at the cursor instead
  13379. of computing movement and adjusting rects. There is one buglet
  13380. with this method though when the cursor is moved over area that
  13381. the window can not expand too (such as the toolbars on the desktop).
  13382. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  13383. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  13384. here. Fixes crash on startup in AlbumSurfer.
  13385. 2006-06-07 Peter Dennis Bartok <[email protected]>
  13386. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  13387. values
  13388. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  13389. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  13390. statement to avoid calling XNextEvent which will block if another thread
  13391. took the event that we were expecting. Fixes bug #78605.
  13392. 2006-06-07 Mike Kestner <[email protected]>
  13393. * ListView.cs : isolated checkbox clicking from the selection logic.
  13394. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  13395. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  13396. * Form.cs: Check that the value passed to Form.DialogResult
  13397. is a valid enum value.
  13398. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  13399. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  13400. Computer'. Clicking it in the network view goes to 'My Computer'.
  13401. Added CIFS filesystem type. Display the mount point of filesystems.
  13402. Avoid duplicate mount points (happens for me with CIFS);
  13403. 2006-06-06 Jackson Harper <[email protected]>
  13404. * InternalWindowManager.cs: Draw the maximized windows buttons
  13405. when resizing.
  13406. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  13407. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  13408. all other dialogs. Fixes bug #78585.
  13409. 2006-06-06 Mike Kestner <[email protected]>
  13410. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  13411. Only invalidate checkbox on checkstate changes to avoid flicker.
  13412. * ListBox.cs : avoid unselect/select when clicking selected item.
  13413. avoid reselection flicker for already multiselected items.
  13414. Fixes #78382.
  13415. 2006-06-06 Jackson Harper <[email protected]>
  13416. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  13417. the parent form so that the menu is removed if needed.
  13418. 2006-06-06 Mike Kestner <[email protected]>
  13419. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  13420. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  13421. 2006-06-06 Mike Kestner <[email protected]>
  13422. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  13423. 2006-06-06 Jackson Harper <[email protected]>
  13424. * Control.cs: Use the property (instead of the field) to get the
  13425. default cursor so it is instantiated correctly.
  13426. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  13427. resizes so we need to manually repaint the window decorations here.
  13428. - Set the titlebar button locations as soon as they are created,
  13429. otherwise they are not set correctly on win32.
  13430. 2006-06-06 Chris Toshok <[email protected]>
  13431. * CurrencyManager.cs (set_Position): call PullData before
  13432. OnCurrentChanged.
  13433. (AddNew): after calling IBindingList.AddNew, update our
  13434. listposition, and call OnCurrentChanged/OnPositionChanged (without
  13435. calling PullData).
  13436. (OnCurrentChanged): remove the call to PullData from here.
  13437. (OnItemChanged): remove the call to PushData from here.
  13438. (OnPositionChanged): change the test from == null to != null to
  13439. match the other methods.
  13440. (ListChangedHandler): the grossest part of the patch. Implement
  13441. this such that it passes the unit tests in CurrencyManagerTest and
  13442. the output more or less matches that of MS's implementation.
  13443. 2006-06-06 Mike Kestner <[email protected]>
  13444. * ListView.cs : only update check state on single click.
  13445. * ThemeWin32Classic.cs : fix focus drawing for details view without
  13446. fullrowselect. Fixes #78454.
  13447. * XplatUIX11.cs : fix for double click emission.
  13448. 2006-06-05 Jonathan Chambers <[email protected]>
  13449. * PropertyGridView.cs : Applied Atsushi's patch to fix
  13450. font dialog bug (#78197).
  13451. 2006-06-05 Jackson Harper <[email protected]>
  13452. * TreeNode.cs: Compute the next node for expanding/collapsing
  13453. correctly. We now factor in nodes without a NextNode
  13454. correctly. (Fixes somes cases in nunit-gui).
  13455. * InternalWindowManager.cs: Set the bounds when updating the
  13456. virtual position of a tool window.
  13457. 2006-06-05 Chris Toshok <[email protected]>
  13458. * DataGrid.cs: rename cached_currencymgr to list_manager.
  13459. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  13460. some.
  13461. (CurrentRow, CurrentColumn): single accessors so we can make the
  13462. cursor movement code a lot easier to understand.
  13463. (CurrentRowIndex): implement this in terms of CurrentRow.
  13464. (BeginEdit): clean this up a bit.
  13465. (CancelEditing): sort out the is_editing/is_changing/is_adding
  13466. stuff a little.
  13467. (EndEdit): minor changes.
  13468. (OnKeyDown): add a comment about a (most likely) unnecessary
  13469. check.
  13470. (OnMouseDown): cancel editing when we click on a row header. And
  13471. use the CurrentRow setter, not CurrentCell.
  13472. (ProcessDialogKey): directly call ProcessGridKey.
  13473. (UpdateSelectionAfterCursorMove): factor out this common block of
  13474. code (it's used everywhere that we move the cursor by updating row
  13475. or column).
  13476. (ProcessGridKey): pretty substantial overhaul. Use the
  13477. CurrentRow/CurrentColumn properties to make the code a lot more
  13478. readable. Only use the CurrentCell property when we have to
  13479. modify both row and column at once. Tab behavior is still broken,
  13480. and Delete is untested.
  13481. (Select): if we have no selected rows, set selection_start to
  13482. @row.
  13483. (EditCurrentCell): rename EditCell this. It was only ever invoked
  13484. with CurrentCell as the arg, so drop the arg and rename it.
  13485. * DataGridColumnStyle.cs: clean up the constructors a little, and
  13486. drop CommonConstructor().
  13487. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  13488. actually get notified when the user hits it.
  13489. (ProcessKeyMessage): *substantially* simplify this method.
  13490. There's no reason (that I can see) for the textbox to be making
  13491. calls into the datagrid at all. Remove all of them but the ones
  13492. for Enter handling. those will take some more work.
  13493. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  13494. calling HideEditBox.
  13495. (HideEditBox): if we have an active textbox, render it invisible
  13496. without causing a re-layout of the datagrid.
  13497. 2006-06-05 Mike Kestner <[email protected]>
  13498. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  13499. collection changes by resetting it to Items[0]. Fixes #78587.
  13500. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  13501. * MessageBox.cs: if the height of the text is larger than the icon_size,
  13502. use that. Fixes bug #78575.
  13503. 2006-06-05 Jackson Harper <[email protected]>
  13504. * TreeView.cs: Fix line drawing when scrolling. To do this each
  13505. node is basically responsible for drawing its entire horizontal
  13506. area. When drawing a node it draws its parent node lines if
  13507. needed.
  13508. - Adjust the clip area to the viewport rectangle
  13509. - Fix Left/Right key handling to match MS. (It expand/collapses
  13510. and moves to parents/first child but does not move selection to
  13511. sibling nodes).
  13512. - Fix SetTop to work with new bound calculation code
  13513. - When scrollbars are no longer needed we need to reset scrolling
  13514. vars and recalculate the visible order so the redraw is correct
  13515. * TreeNode.cs: We can't expand/collapse nodes with no children.
  13516. 2006-06-03 John Luke <[email protected]>
  13517. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  13518. so the colors work without dev packages
  13519. 2006-06-02 Peter Dennis Bartok <[email protected]>
  13520. * Control.cs
  13521. - Select: Implemented to just use activate. Seems to match MS
  13522. behaviour closest. Documented to only do actual control walking
  13523. based on it's parameters if in a container control so I moved
  13524. the code there.
  13525. - Removed selection check logic from our internal Select() method
  13526. * ContainerControl.cs:
  13527. - Select: Moved selection logic from Control here, since MS documents
  13528. that containers obey the bool arguments. No longer calling base
  13529. 2006-06-02 Jackson Harper <[email protected]>
  13530. * TreeView.cs: If the selected node isn't changed when we get
  13531. focus update the previously selected node so that we see the
  13532. selection box.
  13533. 2006-06-02 Mike Kestner <[email protected]>
  13534. * ComboBox.cs: restructure grab and general mouse event handling.
  13535. Make the composite control raise mouse events like it was a single
  13536. control for leaves/enters/motion/up/down events. fix dropdown list
  13537. coordinate mangling and refactor it into the scrollbar subclass to
  13538. reduce code duplication. Fixes #78282 #78361 and #78457.
  13539. 2006-06-02 Mike Kestner <[email protected]>
  13540. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  13541. automatically in the Control.WndProc.
  13542. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  13543. * FileDialog.cs: fix crash when running SharpChess, which sets the
  13544. FilterIndex to 2 with only one Filter.
  13545. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  13546. * ToolBar.cs: add SizeSpecified property.
  13547. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  13548. try to figure out our real size, otherwise fallback to what the
  13549. container says.
  13550. 2006-06-01 Peter Dennis Bartok <[email protected]>
  13551. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  13552. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  13553. up the event
  13554. 2006-06-01 Mike Kestner <[email protected]>
  13555. * ListView.cs: revamp the focus management in ListView. It still
  13556. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  13557. better than not handling focus at all. Will revisit when pdb feels
  13558. the general focus handling is solid. Fixes #78526.
  13559. 2006-06-01 Jackson Harper <[email protected]>
  13560. * TreeView.cs: Set the default border style in the constructor.
  13561. - Move painting to use OnPaintInternal instead of capturing
  13562. WM_PAINT, this is the correct way of doing things
  13563. - UpdateBelow shouldn't invalidate the scrollbar area
  13564. - Cap the top on update below in case the node was above the top
  13565. of the viewport rectangle.
  13566. - ExpandBelow and Collapse below need to obey Begin/End Update.
  13567. * TreeNode.cs: Make is_expanded internal so the treenode
  13568. collection can change it without firing the whole event chain.
  13569. * TreeNodeCollection.cs: When clearing all the child nodes make
  13570. sure to recalc the visible order.
  13571. - Improve algo for remove the top node
  13572. 2006-06-01 Peter Dennis Bartok <[email protected]>
  13573. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  13574. SendMessage directly calling window procedures, which in turn might
  13575. call SetFocus()
  13576. 2006-06-01 Peter Dennis Bartok <[email protected]>
  13577. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  13578. has focus (works around X11 sending a FocusIn after our SetFocus)
  13579. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  13580. 2006-06-01 Alexander Olk <[email protected]>
  13581. * Mime.cs: Fix for the NET_2_0 build.
  13582. NameValueCollection needs StringComparer now.
  13583. 2006-05-31 Chris Toshok <[email protected]>
  13584. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  13585. return (via an out parameter) the starting X of the column.
  13586. (UpdateVisibleColumn): track change to FromPixelToColumn.
  13587. (HitTest): add a ColumnResize case here.
  13588. (DrawResizeLine): new function, probably poorly named.
  13589. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  13590. only need to keep one reference.
  13591. (set_ListManager): same.
  13592. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  13593. Also, add support for HitTestType.ColumnResize.
  13594. (OnMouseMove): add column resize behavior here, and change the
  13595. cursor to the correct one as we move around the datagrid.
  13596. (OnMouseUp): terminate the column resize if we're resizing.
  13597. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  13598. for the current cell.
  13599. (ConnectListManagerEvents): use cached_currencymgr.
  13600. (DisconnectListManagerEvents): fill this in, using
  13601. cached_currencymgr.
  13602. (SetCurrentCell): remove cached_currencymgr_events handling.
  13603. (SetDataMember): only call DisconnectListManagerEvents if
  13604. cached_currencymgr is != null.
  13605. (SetDataSource): same.
  13606. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  13607. cached_currencymgr.
  13608. 2006-05-31 Jackson Harper <[email protected]>
  13609. * BindingManagerBase.cs: Remove somedebug code that creeped into
  13610. SVN.
  13611. * TreeNode.cs: We get the indent level dynamically right now, so
  13612. don't track it as a member.
  13613. * TreeNodeCollection.cs: Make sure all nodes added to the list
  13614. have parents, treeviews/topnodes setup properly.
  13615. - Don't attempt to track indent level.
  13616. 2006-05-30 Jackson Harper <[email protected]>
  13617. * BindingContext.cs: Create the currency manager tables here.
  13618. This allows us to more easily create null tables (when bad data
  13619. members are used), and more easily create related currency
  13620. managers.
  13621. * CurrencyManager.cs: All the table creation stuff is done by the
  13622. binding context now.
  13623. - Current should throw an exception if listposition is -1.
  13624. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  13625. been bound yet.
  13626. 2006-05-30 Mike Kestner <[email protected]>
  13627. * ListView.cs: allow reexpansion of zero-width column headers.
  13628. Fixes #78528.
  13629. 2006-05-28 Chris Toshok <[email protected]>
  13630. * CurrencyManager.cs (get_Current): after the late binding
  13631. listposition = -1 fix, we need to guard against it here and return
  13632. null, otherwise we raise an exception (which is swallowed
  13633. elsewhere, and breaks datagrid databinding.)
  13634. 2006-05-26 Peter Dennis Bartok <[email protected]>
  13635. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  13636. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  13637. 2006-05-26 Jackson Harper <[email protected]>
  13638. * ControlPaint.cs:
  13639. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  13640. values, it's faster and it's all we care about (we don't care if
  13641. the names aren't equal).
  13642. * KeyboardLayouts.cs: Eliminate some dead code.
  13643. - Lazy init things
  13644. * X11Keyboard.cs: Lazy init keyboard detection.
  13645. - Cleanup access modifiers a little.
  13646. 2006-05-26 Peter Dennis Bartok <[email protected]>
  13647. * XplatUIX11.cs: Once again, attempting to get layout just right.
  13648. 2006-05-26 Peter Dennis Bartok <[email protected]>
  13649. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  13650. the sizes of each link section, that will result in sizes that
  13651. match DrawString's layout (Fixes #78391)
  13652. 2006-05-27 Alexander Olk <[email protected]>
  13653. * FileDialog.cs: If AddExtension property is true autocomplete the
  13654. extensions in SaveFileDialog correctly. Fixes bug #78453.
  13655. Set MyNetwork and MyComputer to "C:\" for windows. This should
  13656. fix part 8 of bug #78446 for now.
  13657. 2006-05-26 Chris Toshok <[email protected]>
  13658. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  13659. invalidate the current row header if we need to, but presumably
  13660. we'll invalidate the row corrsponding to the bounds or
  13661. editingControl.
  13662. (GridHScrolled): switch back to this method, as it's part of the
  13663. public api. *sigh*.
  13664. (GridVScrolled): same.
  13665. (OnMouseWheel): hack up something that more or less works. Call
  13666. GridHScrolled/GridVScrolled directly, instead of duplicating much
  13667. of their code here.
  13668. (EnsureCellVisibility): reinstate a bunch of this code, since we
  13669. can't just set the scrollbar Value and expect to do all the work
  13670. in the ValueChanged handler. Also, Call Update() after scrolling
  13671. in one direction so the other XplatX11.ScrollWindow call has the
  13672. proper stuff in the proper places.
  13673. (EditCell): set is_editing to true before calling .Edit.
  13674. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  13675. don't bother comparing first.
  13676. (OnKeyPress): call grid.ColumnStartedEditing before calling
  13677. base.OnKeyPress. this will set is_changing and invalidate the row
  13678. header if necessary.
  13679. (ProcessKeyMessage): for WM_CHAR messages, call
  13680. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  13681. and WM_KEYDOWN.
  13682. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  13683. it's done in the DataGrid.
  13684. (NextState): call grid.ColumnStartedEditing, which takes care of
  13685. invalidating the row header (and setting is_changing).
  13686. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  13687. here. it's done in the DataGrid.
  13688. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  13689. * Control.cs: allow changing the cursor when the mouse position is
  13690. out of bounds but Capture is set.
  13691. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  13692. linklabel but released somewhere else.
  13693. 2006-05-25 Jackson Harper <[email protected]>
  13694. * TreeView.cs: When we get focus if there is no selected node make
  13695. it the top node
  13696. - Remove some uneeded setup code from Draw.
  13697. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  13698. a new node is inserted make the new node the top.
  13699. * XplatUIX11.cs:
  13700. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  13701. be used (should be faster).
  13702. 2006-05-25 Chris Toshok <[email protected]>
  13703. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  13704. problem with the last commit.
  13705. 2006-05-25 Chris Toshok <[email protected]>
  13706. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  13707. need the invalidate call here, while scrolling right-to-left via
  13708. the left arrow key (i.e. moving the editing cell while scrolling).
  13709. * DataGrid.cs (.ctor): remove the initialization of
  13710. ctrl_pressed/shift_pressed. We no longer track them using key
  13711. up/down handlers, but by using Control.ModifierKeys. Also, switch
  13712. to using ValueChanged handlers on the scrollbars instead of
  13713. Scrolled event handlers. This simplifies a bunch of the scrolling
  13714. code.
  13715. (GridHValueChanged): rename from GridHScrolled, and change it to
  13716. work with the new event args.
  13717. (GridVValueChanged): same.
  13718. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  13719. (OnMouseWheel): actually scroll the datagrid. Don't change the
  13720. selected cell.
  13721. (ProcessGridKey): correct all the keyboard navigation stuff I
  13722. could find. Ctrl up/down/left/right/home/end work now.
  13723. (EnsureCellVisibility): correct method name spelling. Also,
  13724. simplify this a touch by not explicitly calling the
  13725. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  13726. scrollbar value.
  13727. (OnKeyUpDG): no need for this method now.
  13728. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  13729. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  13730. Fixes bug #78392.
  13731. 2006-05-25 Chris Toshok <[email protected]>
  13732. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  13733. r61019.
  13734. 2006-05-25 Peter Dennis Bartok <[email protected]>
  13735. * Application.cs: Moved setting of is_modal and closing to before
  13736. we create the control, to allow the event handlers called as a
  13737. result of creation affect closing. Also removed Gonzalo's previous
  13738. change to setting DialogResult, the behaviour has been moved to
  13739. Form.ShowDialog()
  13740. * Form.cs:
  13741. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  13742. handle it instead
  13743. - ShowDialog(): If no dialog result is set, we need to return Cancel
  13744. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  13745. the close is cancelled
  13746. 2006-05-25 Jackson Harper <[email protected]>
  13747. * StatusBar.cs: We only need to update the sizes of the other
  13748. panels when we have auto size contents. Also we are only updating
  13749. the contents of the panel, not the borders, so compensate for the
  13750. border width (TODO: get this width from the theme somehow).
  13751. * TreeView.cs: Scrollable is true by default
  13752. - Use invalidate instead of refresh where needed
  13753. - Factor the scrollable value into scrollbar updating
  13754. - Update the scrollbars if the Scrollable property is altered
  13755. - Update the selected node if its ImageIndex is changed
  13756. - Handle null nodes in UpdateNode (mainly so we don't have to
  13757. check if selected is null when updating it
  13758. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  13759. are factored into the visible count
  13760. - Use VisibleCount for clarity in the code
  13761. - When the font is changed we need to recurse through all the
  13762. nodes and invalidate their sizes
  13763. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  13764. * Application.cs: set the DialogResult to fixed when the main form is
  13765. hidden or destroyed while being modal.
  13766. 2006-05-25 Miguel de Icaza <[email protected]>
  13767. * Theme.cs: Use Tangoified messagebox icons.
  13768. (GetSizedResourceImage): Also cope with width = 0 and do not
  13769. trigger a warning in that case (0 means "give me your icon from
  13770. the resouce, no special size needed).
  13771. 2006-05-25 Peter Dennis Bartok <[email protected]>
  13772. * Application.cs: Leave runloop if the the main modal form is
  13773. hidden (fixes #78484)
  13774. 2006-05-25 Atsushi Enomoto <[email protected]>
  13775. * BindingContext.cs : reject null datasource in Contains() and
  13776. Item[].
  13777. * CurrencyManager.cs : check data_member validity when data_source
  13778. is dataset. When it is late binding, the initial position is -1.
  13779. 2006-05-24 Jackson Harper <[email protected]>
  13780. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  13781. inserted nodes that aren't visible. This changes the
  13782. max_visible_order which confuses scrollbar settings.
  13783. - Use the enumerator to get the prev node instead of duplicating
  13784. code.
  13785. * TreeView.cs: Use new method for setting scrollbar values
  13786. - Don't set the bounds every time the scrollbar is updated
  13787. - When updating below the root node use an invalidate instead of a
  13788. refresh to prevent the child controls (scrollbars) from being
  13789. refreshed. (UpdateBelow still needs to be reworked anyways).
  13790. - Reenable SetBottom now that visible orders are set correctly,
  13791. added some debug code incase we ever get bad values there again.
  13792. - Set the scrollbar max to 2 less then the max value, this
  13793. compensates for the max value being one above the node count, and
  13794. for scrollbars adding one extra "notch".
  13795. - When drawing image nodes if there is an imagelist we draw the
  13796. first image in the list if the supplied image index is out of the
  13797. image list's bounds.
  13798. 2006-05-24 Peter Dennis Bartok <[email protected]>
  13799. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  13800. we receive a size change from the WM (Fixes #78503)
  13801. 2006-05-24 Peter Dennis Bartok <[email protected]>
  13802. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  13803. rectangle (Fixes #78501)
  13804. 2006-05-24 Peter Dennis Bartok <[email protected]>
  13805. * ButtonBase.cs:
  13806. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  13807. as a bitfield.
  13808. - Fixed MouseMove to no longer switch pressed state unless the left
  13809. mouse button is pressed. Atsushi provided the original patch (#78485)
  13810. 2006-05-24 Jackson Harper <[email protected]>
  13811. * ScrollBar.cs: New internal methods that allow us to change a
  13812. couple values on the scrollbar (the most common case is maximum
  13813. and large change) without getting multiple invalidates.
  13814. 2006-05-24 Chris Toshok <[email protected]>
  13815. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  13816. (Edit): save off the original state in oldState, and set
  13817. grid.is_editing to true.
  13818. (OnKeyDown): abort editing if escape is pressed. also, call
  13819. NextState if space is pressed.
  13820. (OnMouseDown): call NextState.
  13821. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  13822. here. Also, only invalidate the row header once (on the initial
  13823. is_changing switch) to save on redraws.
  13824. 2006-05-24 Chris Toshok <[email protected]>
  13825. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  13826. if the value in the cell is different than it was before. This
  13827. keeps us from triggering a layout when we move around a datarid
  13828. with a highlighted cell.
  13829. (Edit): suspend layout when creating/positining the text box, and
  13830. resume passing false so we don't ever actually re-layout.
  13831. (ReleaseHostedControl): same.
  13832. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  13833. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  13834. control-key sequences should go to the datagrid - remove that
  13835. lock. Also, modify the conditions under which we move between
  13836. cells when moving the cursor within a cell, and remove the "this"
  13837. and "base" from field accesses. We weren't even consistent, given
  13838. they all were in the base class.
  13839. 2006-05-24 Atsushi Enomoto <[email protected]>
  13840. * Binding.cs : (.ctor)
  13841. An obvious NRE fix for BindingTest.CtorNullTest().
  13842. 2006-05-23 Chris Toshok <[email protected]>
  13843. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  13844. them between lines. This fixes some quirks editing cells in the
  13845. datagrid.
  13846. 2006-05-23 Jackson Harper <[email protected]>
  13847. * TreeView.cs: Use begin/end update when doing expand/collapse all
  13848. so that we don't get flicker on the scrollbar.
  13849. 2006-05-23 Jackson Harper <[email protected]>
  13850. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  13851. treenode calculations to be independant of the painting code. To
  13852. do this nodes track a visible order which is calculated by the
  13853. treeview.
  13854. - Call new methods for expanding/collapsing nodes. These methods
  13855. use scrollwindow so we don't have to update everything below the
  13856. node.
  13857. * TreeView.cs: Refactored drawing and scrolling code. We don't
  13858. need to update nodes when drawing anymore or calculate scrollbar
  13859. stuff.
  13860. - Added new methods for expanding/collapsing nodes. These methods
  13861. use ScrollWindow so as to not have to redraw all the nodes below.
  13862. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  13863. we add/remove nodes or sort.
  13864. - Handle removing the selected and the top node properly.
  13865. 2006-05-23 Chris Toshok <[email protected]>
  13866. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  13867. maybe this should actually happen in the datagrid code?
  13868. (EndEdit): no need to invalidate anything, given that
  13869. ReleaseHostedControl causes the datagrid to relayout, which
  13870. invalidates everything anyway.
  13871. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  13872. in SetCurrentCell).
  13873. (set_SelectionBackColor): call InvalidateSelection instead of
  13874. Refresh.
  13875. (set_SelectionForeColor): same.
  13876. (BeginEdit): Flesh this out a bit.
  13877. (CancelEditing): only do any of this if we're editing/adding.
  13878. (EndEdit): same.
  13879. (OnMouseDown): there's no need to cancel editing here, it's done
  13880. in SetCurrentCell.
  13881. (SetCurrentCell): only invalidate the current row header if it's a
  13882. different row than the new one.
  13883. (ShiftSelection): fix this to work like MS does.
  13884. (ResetSelection): factor out the invalidation of selected_rows to
  13885. InvalidateSelection.
  13886. (SetDataSource): cancel any editing that's going on.
  13887. * DataGridColumnStyle.cs
  13888. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  13889. call the non-interface version.
  13890. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  13891. header rectangle with the clip rectangle so we don't redraw the
  13892. entire header for just a small area. Gets rid of the last flicker
  13893. when horizontally scrolling.
  13894. (DataGridPaintRow): same.
  13895. 2006-05-23 Mike Kestner <[email protected]>
  13896. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  13897. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  13898. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  13899. Critical bug report.
  13900. 2006-05-23 Peter Dennis Bartok <[email protected]>
  13901. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  13902. and this fixes #78493
  13903. 2006-05-23 Miguel de Icaza <[email protected]>
  13904. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  13905. size is not found.
  13906. * FileDialog.cs: Do not change the background for the side bar as
  13907. it wont work nicely with the theme, and also reduces the artifacts
  13908. in rendering the icons (which I want to fix too).
  13909. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  13910. resources, not resgen resources.
  13911. (PlatformDefaultHandler): Pull images using the new API.
  13912. 2006-05-23 Peter Dennis Bartok <[email protected]>
  13913. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  13914. a reference to the hwnd and will not remove it unless there are
  13915. no pending exposures (fixes #78341)
  13916. * XplatUI.cs: Improved debug
  13917. 2006-05-23 Atsushi Enomoto <[email protected]>
  13918. * MenuAPI.cs : don't handle OnClick event when it was not the left
  13919. button. Fixed bug #78487.
  13920. 2006-05-23 Mike Kestner <[email protected]>
  13921. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  13922. prefer submenus to the top menu for item lookup, to avoid popping down
  13923. top-row items.
  13924. 2006-05-23 Alexander Olk <[email protected]>
  13925. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  13926. Graphics.FillRectangle as the visual results are really bad (even
  13927. on win). We now draw perfect arrows (and perfect shadows when the
  13928. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  13929. Pen.DashPattern to draw the dots of each line.
  13930. 2006-05-22 Alexander Olk <[email protected]>
  13931. * FileDialog.cs: Update the filename combobox when navigating through
  13932. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  13933. 2006-05-22 Mike Kestner <[email protected]>
  13934. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  13935. Fixes #78463.
  13936. 2006-05-22 Mike Kestner <[email protected]>
  13937. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  13938. requests. Fix a misspelled parameter and a copy paste exception error
  13939. in Select.
  13940. 2006-05-22 Peter Dennis Bartok <[email protected]>
  13941. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  13942. to get the same width/height (5/13) on X11 as the default font has on
  13943. win32. This means that our DefaultFont emSize is smaller than the
  13944. the MS SWF equivalent (even thought the width/height stays the same)
  13945. 2006-05-20 Jackson Harper <[email protected]>
  13946. * MdiClient.cs:
  13947. * MdiWindowManager.cs:
  13948. * InternalWindowManager.cs: Make sure to use the border width from
  13949. the theme.
  13950. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  13951. * PrintDialog.cs: Implements printer details
  13952. 2006-05-19 Alexander Olk <[email protected]>
  13953. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  13954. Fixes part 1 and 2 of bug #78446
  13955. 2006-05-19 Peter Dennis Bartok <[email protected]>
  13956. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  13957. instead of sticking to the first ever calculated value
  13958. 2006-05-19 Mike Kestner <[email protected]>
  13959. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  13960. PointToClient, since Capture is set. Fixes #78344.
  13961. 2006-05-19 Mike Kestner <[email protected]>
  13962. * ListView.cs: match MS behavior in Details view where items are not
  13963. drawn if Columns.Count == 0.
  13964. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  13965. Use a separate pen to draw the check, since changing the width affects
  13966. the box as well. Fixes #78454.
  13967. 2006-05-18 Miguel de Icaza <[email protected]>
  13968. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  13969. exception should throw the name of the invalid argument.
  13970. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  13971. there are no files listed.
  13972. 2006-05-18 Jackson Harper <[email protected]>
  13973. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  13974. up.
  13975. 2006-05-18 Peter Dennis Bartok <[email protected]>
  13976. * Control.cs: Brought back our old UpdateZOrder method as a private
  13977. function and switched our calls from UpdateZOrder to the new one.
  13978. This fixes the Paint.Net canvas disappearing bug.
  13979. 2006-05-18 Jackson Harper <[email protected]>
  13980. * Theme.cs:
  13981. * ThemeWin32Classic.cs:
  13982. * InternalWindowManager.cs: Move the drawing into the theme,
  13983. expose everything the theme should need from the window manager.
  13984. 2006-05-18 Peter Dennis Bartok <[email protected]>
  13985. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  13986. from the call to NativeWindow to avoid walking up the parent chain
  13987. further than needed (speeds up setting cursors and avoids setting
  13988. the wrong cursor if a parent has another cursor defined)
  13989. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  13990. the icon as hotspot, not what's contained as hotspot in the icon
  13991. file. This fixes the perceived drawing offset seen with Paint.Net
  13992. 2006-05-18 Peter Dennis Bartok <[email protected]>
  13993. * XplatUIX11.cs:
  13994. - Store the calculated rectangle in Hwnd object and use it when
  13995. setting the client size
  13996. - Force Toolwindows to always be type Dock, to ensure they're on top
  13997. 2006-05-18 Mike Kestner <[email protected]>
  13998. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  13999. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  14000. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  14001. Substantial refactoring to remove confusing nested classes. Coding
  14002. standard and Get+Set->property refactorings. Shift to index based
  14003. highlighting in ComboListBox instead of constantly using IndexOf and
  14004. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  14005. in FileDialog growth. Draw borders manually since Simple mode needs
  14006. to look like two independent controls. Make listbox border
  14007. conditional to DropDownStyle. Improved OwnerDraw support.
  14008. 2006-05-18 Sebastien Pouliot <[email protected]>
  14009. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  14010. Don't set the disposed graphics to null, so we can throw the "right"
  14011. exception if the graphics is reused later (added a flag to avoid
  14012. double disposing). Some behaviours are different under 2.0 and are
  14013. filled under bug #78448.
  14014. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14015. * Control.cs: When double-buffering is enabled, we need to reset
  14016. our graphics context between paint calls. Otherwise, any
  14017. transformations and other alterations on the context will
  14018. become cumulative (#77734)
  14019. 2006-05-18 Mike Kestner <[email protected]>
  14020. * ListView.cs: do focused item selection like MS on clicks.
  14021. Rework focus handling for ItemControl so LostFocus invalidates as
  14022. well.
  14023. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  14024. the ListView ItemControl has focus.
  14025. 2006-05-17 Peter Dennis Bartok <[email protected]>
  14026. * XplatUIX11.cs: If client_window ends up being width or height zero
  14027. due to border settings, move it off window inside whole_window (#78433)
  14028. 2006-05-17 Alexander Olk <[email protected]>
  14029. * Mime.cs: Shrink the mime file cache correctly.
  14030. 2006-05-17 Alexander Olk <[email protected]>
  14031. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  14032. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14033. * XplatUIX11.cs (AddExpose): More sanity checks
  14034. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14035. * XplatUIX11.cs:
  14036. - AddExpose: Don't add expose ranges outside the size of our
  14037. window
  14038. - Cast opacity values to Int32 to avoid crashes with certain
  14039. values
  14040. - Added disabled code paths that protect against illegal cross-
  14041. thread painting (Developers.exe)
  14042. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14043. * ProgressBar.cs: Invalidate the control when it's resized
  14044. since block size is based on control size. (#78388)
  14045. 2006-05-16 Miguel de Icaza <[email protected]>
  14046. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  14047. of setting the incoming argument to the "reset" value, we set the
  14048. this.datamember to string.empty (before we were invalidating the
  14049. incoming data).
  14050. Fixes 78420
  14051. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14052. * Form.cs: Only apply transparency settings after the form
  14053. is created. (Fixes #77800)
  14054. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14055. * ApplicationContext.cs: Grab the HandleDestroyed event so
  14056. we know when to fire OnMainFormClosed
  14057. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14058. * Application.cs: Introduced sub-class to allow tracking of
  14059. threads and centralized triggering of the event mess for
  14060. ThreadExit, AppExit, etc.. (#76156)
  14061. 2006-05-16 Alexander Olk <[email protected]>
  14062. * MimeIcon.cs:
  14063. - Do not return a null icon index value for a mime subclass.
  14064. Instead try the main mime type class too.
  14065. - Seems that some newer distributions don't have a link to some
  14066. gnome default icons anymore. So check the default gnome dir too.
  14067. 2006-05-16 Jackson Harper <[email protected]>
  14068. * MdiClient.cs: Don't paint the parent background image if we have
  14069. our own background image.
  14070. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14071. * Control.cs:
  14072. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  14073. controls, all filled controls are supposed to overlap (#78080)
  14074. - UpdateZOrder is supposed to update the control's z-order in the
  14075. parent's z-order chain. Fixed to behave like that
  14076. - BringToFront: Removed obsolete code
  14077. - SendToBack: Simplyfied
  14078. - SetChildIndex: Trigger layout calculations when Z-order changes
  14079. since layout is done by z-order
  14080. 2006-05-16 Chris Toshok <[email protected]>
  14081. [ fixes bug #78410 ]
  14082. * DataGrid.cs (set_AlternatingBackColor): use
  14083. grid_drawing.InvalidateCells instead of Refresh().
  14084. (set_BackColor): call grid_drawing.InvalidateCells.
  14085. (set_BackgroundColor): use Invalidate instead of Refresh.
  14086. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  14087. invalidate the cell area.
  14088. 2006-05-15 Chris Toshok <[email protected]>
  14089. [ fixes bug #78011 ]
  14090. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  14091. on to DataGridPaintRow.
  14092. (DataGridPaintRow): take a clip argument, and only draw the cells
  14093. which intersect it. same with the not_usedarea.
  14094. * Theme.cs (DataGridPaintRow) add @clip parameter.
  14095. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  14096. XplatUI.ScrollWindow.
  14097. (ScrollToRow): same.
  14098. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  14099. with last column which was causing a gray swath to appear with the
  14100. XplatUI.ScrollWindow code.
  14101. 2006-05-15 Chris Toshok <[email protected]>
  14102. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  14103. use XplatUI.ScrollWindow.
  14104. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  14105. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14106. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  14107. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14108. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  14109. file since there are no equivalent X11 cursors
  14110. 2006-05-15 Atsushi Enomoto <[email protected]>
  14111. * MonthCalendar.cs : DateTimePicker should reflect selected date
  14112. on mouse*up*, not mouse*down*. Fixed originally reported part of
  14113. bug #76474.
  14114. 2006-05-15 Atsushi Enomoto <[email protected]>
  14115. * TabControl.cs : When argument index is equal or more than tab
  14116. count, just ignore. Fixed bug #78395.
  14117. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14118. * Control.cs: Dispose all child controls when control is diposed (#78394)
  14119. 2006-05-14 Alexander Olk <[email protected]>
  14120. * ColorDialog.cs: Finally it is possible to select the color with
  14121. the text boxes
  14122. 2006-05-14 Alexander Olk <[email protected]>
  14123. * PrintDialog.cs: Fix typo
  14124. 2006-05-14 Alexander Olk <[email protected]>
  14125. * PrintDialog.cs: PrintDialog is not resizable
  14126. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  14127. color. Made some ToolBar drawing methods protected virtual.
  14128. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  14129. * PrintDialog.cs: Implementation of the PrintDialog
  14130. 2006-05-12 Chris Toshok <[email protected]>
  14131. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  14132. thumb, instead use MoveThumb. This has the side effect of making
  14133. most of the other thumb moving machinery use MoveThumb as well.
  14134. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  14135. need to actually invalidate the rectangle where the new thumb will
  14136. go.
  14137. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  14138. We force an Update() after, so it's not as fast as it could be,
  14139. but at least there's zero flicker and no droppings.
  14140. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  14141. (UpdateThumbPos): add another argument (dirty), which says whether
  14142. or not to calculate/add dirty regions which we later invalidate.
  14143. For cases where we know we're going to use MoveThumb, we pass
  14144. false for this. Otherwise, pass true.
  14145. 2006-05-12 Jackson Harper <[email protected]>
  14146. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  14147. the status bar.
  14148. 2006-05-12 Peter Dennis Bartok <[email protected]>
  14149. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  14150. and GetClipRegion methods and UserClipWontExposeParent property.
  14151. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  14152. overriding UserClipWontExposeParent property, setting to false, since
  14153. Win32 handles the required expose messages to draw our clipped parent
  14154. areas internally
  14155. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  14156. PaintEventStart to set the user clip region if set.
  14157. * Control.cs:
  14158. - Now internally tracking the Region for the control since we need to
  14159. store it if the handle is not yet created and only set it when it
  14160. becomes created. Before setting the region forced handle creation
  14161. - Added code to draw the parents underneath a user-clipped region
  14162. * Hwnd.cs: Added UserClip property
  14163. 2006-05-12 Chris Toshok <[email protected]>
  14164. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  14165. (set_Maximum): same.
  14166. (set_Minimum): same.
  14167. (set_SmallChange): same.
  14168. (OnMouseUpSB): remove the call to refresh when releasing the
  14169. thumb. We shouldn't need it.
  14170. 2006-05-12 Miguel de Icaza <[email protected]>
  14171. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  14172. AutoSize set to None, we do not need to relayout everything, we
  14173. just need to invalidate the current region.
  14174. (Draw): Do not draw the entire ClientArea, just redraw the
  14175. clip area being passed.
  14176. * MdiClient.cs: Make MdiClient constructor with the Form argument
  14177. internal.
  14178. 2006-05-12 Jackson Harper <[email protected]>
  14179. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  14180. parents background image, but strangely not their own.
  14181. - (DrawStatusBarPanel): Take into account horizontal alignment
  14182. when drawing the strings and icons.
  14183. 2006-05-12 Mike Kestner <[email protected]>
  14184. * ListBox.cs: avoid invalidations for focus when the collection is
  14185. empty.
  14186. 2006-05-12 Chris Toshok <[email protected]>
  14187. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  14188. invalidate the entire thumb area. Call InvalidateDirty which
  14189. limits the redraw to the thumb itself and surrounding pixels.
  14190. * XplatUIX11.cs (ScrollWindow): optimize copying.
  14191. 2006-05-12 Chris Toshok <[email protected]>
  14192. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  14193. Figure out the positioning/layout in a single pass instead of
  14194. multiple recursive invocations. Speeds up the initial display of
  14195. the data grid. Also, make many things private that were
  14196. originally public but unused outside this class.
  14197. 2006-05-11 Jackson Harper <[email protected]>
  14198. * MdiClient.cs: Improved layout code.
  14199. 2006-05-11 Jonathan Chambers <[email protected]>
  14200. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  14201. not SelectedObject.
  14202. 2006-05-11 Chris Toshok <[email protected]>
  14203. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  14204. union of that will always be {0,0,width,height}.
  14205. 2006-05-11 Jackson Harper <[email protected]>
  14206. * Form.cs: Match MS's DefaultSize for forms (they must have
  14207. changed the size in sp2).
  14208. 2006-05-11 Atsushi Enomoto <[email protected]>
  14209. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  14210. 2006-05-11 Atsushi Enomoto <[email protected]>
  14211. * TextControl.cs : Fixed bug #78109. This incorrect position
  14212. comparison caused crash on automatic line split.
  14213. * TextBoxBase.cs : reduce duplicate code.
  14214. 2006-05-10 Jackson Harper <[email protected]>
  14215. * MdiClient.cs: Active form is only sent to the back when using
  14216. the Next form functionality, when a form is clicked the current
  14217. active shouldn't be sent to the back.
  14218. - Layout the mdi windows when the container is first made visible.
  14219. * Form.cs: Give the MdiClient a ref to the containing form when we
  14220. create it.
  14221. 2006-05-10 Atsushi Enomoto <[email protected]>
  14222. * LinkLabel.cs : link_font could be uninitialized, so populate one
  14223. before actual use. Fixed bug #78340.
  14224. 2006-05-10 Atsushi Enomoto <[email protected]>
  14225. * XplatUIX11.cs : clipboard format native value is IntPtr.
  14226. Fixed bug #78283.
  14227. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14228. * Control.cs:
  14229. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  14230. which is passed up the parent chain by DefWndProc
  14231. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  14232. to DefWndProc (#77956)
  14233. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  14234. 2006-05-10 Jackson Harper <[email protected]>
  14235. * MdiClient.cs: We need to remove the controls from the mdi
  14236. collection, when we close the window.
  14237. * MdiWindowManager.cs: Special handling of closing mdi windows.
  14238. * InternalWindowManager.cs: Make the close method virtual so the
  14239. mdi window manager can handle it specially.
  14240. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  14241. * DataGrid.cs:
  14242. - Recalculate grid when the data source has changed
  14243. - Matches styles provided by user from all data sources types
  14244. * DataGridTableStyle.cs: For columns that provided by the user set the
  14245. with the preferred value is there was unassigned.
  14246. * CurrencyManager.cs: throw OnItemChanged event
  14247. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14248. * PictureBox.cs: Don't animate until handle is created. Start animation
  14249. when handle is created.
  14250. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14251. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  14252. current codebase.
  14253. * XEventQueue.cs: We don't need to provide the extra info
  14254. 2006-05-10 Jackson Harper <[email protected]>
  14255. * MdiClient.cs: If the mdi clients parent form has a background
  14256. image set, we draw that background image for the mdi area's
  14257. background.
  14258. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14259. * TextBoxBase.cs: Set IBeam cursor (#78347)
  14260. 2006-05-10 Mike Kestner <[email protected]>
  14261. * ToolBar.cs: fix some text padding issues with ButtonSize
  14262. calculation. Update the default size to match MS documentation.
  14263. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  14264. button size. Fixes #78296.
  14265. 2006-05-10 Mike Kestner <[email protected]>
  14266. * ListBox.cs: use is_visible for scrollbar positioning in case the
  14267. control isn't on screen yet. Fix off by one with Right vs Width
  14268. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  14269. 2006-05-10 Jackson Harper <[email protected]>
  14270. * X11Dnd.cs: Drop to a control with another control on top of it.
  14271. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  14272. be modified in click handlers. TODO: Look for similar problems in
  14273. other controls.
  14274. 2006-05-09 Jackson Harper <[email protected]>
  14275. * Form.cs: Window managers need the old window state when setting
  14276. window state now.
  14277. * InternalWindowManager.cs: Allow the base mdi window manager to
  14278. handle more of the MDI only stuff (like maximize buttons).
  14279. * MdiWindowManager.cs: Fix some snafus in changing the window
  14280. state. Add all the menu functionality, for both popup and
  14281. maximized menus.
  14282. * MdiClient.cs: When a new form is selected the currently
  14283. activated form is sent to the back, this matches MS.
  14284. - Implement a new method to activate the next mdi child window.
  14285. 2006-05-08 Peter Dennis Bartok <[email protected]>
  14286. * Control.cs:
  14287. - Added new InternalCapture method to allow controls to prevent
  14288. the capture behaviour on the click handlers
  14289. - Switched to use InternalCapture
  14290. * ComboBox.cs:
  14291. - Using InternalCapture to prevent mouse captures from being released
  14292. on mouse button release (Fixes #78100)
  14293. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  14294. returns Form borders if a caption is present. (Fixes #78310)
  14295. 2006-05-08 Peter Dennis Bartok <[email protected]>
  14296. * TreeNode.cs: Changed serialization .ctor to not require every field
  14297. to be present. (#78265)
  14298. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  14299. 2006-05-05 Alexander Olk <[email protected]>
  14300. * MimeIcon.cs: for is faster than foreach for strings.
  14301. 2006-05-05 Mike Kestner <[email protected]>
  14302. * CheckedListBox.cs: update check handling code to not use selected.
  14303. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  14304. behavior for visual feedback, motion response, shift/ctrl handling,
  14305. and properly deal with all 4 selection modes. Updates to bounds
  14306. handling logic. Add scroll wheel support. [Fixes #77842]
  14307. 2006-05-05 Peter Dennis Bartok <[email protected]>
  14308. * ListView.cs:
  14309. - Moved adding of Implicit controls into .ctor. That way, subsequent
  14310. creation of the controls will not cause them to think they are
  14311. toplevel windows (fixes #78200 header problem)
  14312. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  14313. - Switched visibility setting of header control to use internal field
  14314. to avoid triggering handle creation
  14315. - Now checking if handle is created before causing a refresh when items
  14316. are added (This makes us now match handle creation time with MS)
  14317. * Splitter.cs: Removed loading of private splitter cursor, switched to
  14318. Cursors version now that that is loading the right ones
  14319. * Cursors.cs: Load proper splitter cursors from resources
  14320. * Cursor.cs: Added second method of loading resource cursors for the
  14321. VS.Net users amongst us
  14322. 2006-05-05 Mike Kestner <[email protected]>
  14323. * ListView.cs: give header_control a minimum size based on the
  14324. ListView size.
  14325. 2006-05-05 Peter Dennis Bartok <[email protected]>
  14326. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  14327. window seems to do that with metacity, so set that type. (#78120)
  14328. 2006-05-05 Mike Kestner <[email protected]>
  14329. * ListViewItem.cs: fix Details mode checkbox layout bug.
  14330. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  14331. at the end of the header, if it exists. [Fixes for #78200]
  14332. 2006-05-04 Jackson Harper <[email protected]>
  14333. * MdiClient.cs: Add a helper property to get the container form.
  14334. * MdiWindowManager.cs: We have to make sure to use the menu origin
  14335. when drawing the icons and buttons, this fixes maximized window
  14336. icons/buttons on win32.
  14337. * InternalWindowManager.cs: Reset the restore captions when a
  14338. window goes from Maximized to Minimized and vice versa. Move the
  14339. DrawMaximizedButtons into the MdiWindowManager source, tool
  14340. windows can't be maximized. NOTE: This could use a little
  14341. refactoring if time ever permits.
  14342. 2006-05-03 Jonathan Chambers <[email protected]>
  14343. * TextBox.cs: Add MWFCategoryAttributes
  14344. * TextBoxBase.cs: Add MWFCategoryAttributes
  14345. * Form.cs: Add MWFCategoryAttributes
  14346. 2006-05-03 Jonathan Chambers <[email protected]>
  14347. * Control.cs: Add MWFCategoryAttributes
  14348. * ScrollableControl.cs: Add MWFCategoryAttributes
  14349. 2006-05-03 Alexander Olk <[email protected]>
  14350. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  14351. Divider is true. Fix a little glitch in PropertyToolBar
  14352. drawing code
  14353. 2006-05-02 Peter Dennis Bartok <[email protected]>
  14354. * Control.cs:
  14355. - Dispose: Call base.Dispose, this causes the disposed event
  14356. to be fired (and probably other, more important stuff)
  14357. - SetVisibleCore: Set is_visible to true after creating the
  14358. window so that the window still gets created invisible (if
  14359. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  14360. to generate a WM_ACTIVE message
  14361. * Form.cs: Call Dispose when we want to destroy the window, instead of
  14362. just destroying the handle (Dispose will do that for us)
  14363. * XplatUIX11.cs:
  14364. - RootWindow also needs a queue, so we can properly process the
  14365. property change events from RootWindow (like Activate)
  14366. - Generatic synthetic WM_ACTIVE message when the active window is
  14367. being destroyed
  14368. 2006-05-01 Peter Dennis Bartok <[email protected]>
  14369. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  14370. bounds are changed
  14371. 2006-05-01 Peter Dennis Bartok <[email protected]>
  14372. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  14373. for determining width and height (image might not be assigned if
  14374. we're drawing an imagelist)
  14375. 2006-05-01 Peter Dennis Bartok <[email protected]>
  14376. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  14377. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  14378. height from system
  14379. * Theme.cs: No longer returns hardcoded menu height, instead calls
  14380. new driver method
  14381. * Form.cs (OnLoad): Scaling happens before triggering Load events
  14382. on MS (# 78257)
  14383. 2006-05-01 Mike Kestner <[email protected]>
  14384. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  14385. 2006-04-30 Peter Dennis Bartok <[email protected]>
  14386. * TextBoxBase.cs: Removed Fixme
  14387. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  14388. 2006-04-30 Peter Dennis Bartok <[email protected]>
  14389. * XplatUIX11.cs:
  14390. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  14391. the rectangle relative to the parent, considering borders. We
  14392. don't really want that.
  14393. - ScrollWindow: Fixed warning to be more understandable
  14394. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  14395. scrollbars and scroll only the visible area
  14396. * RichTextBox.cs: Removed debug output
  14397. 2006-04-29 Peter Dennis Bartok <[email protected]>
  14398. * NumericUpDown.cs (Text): Just use base
  14399. * UpDownBase.cs: Ensure txtView is created before using it
  14400. 2006-04-29 Peter Dennis Bartok <[email protected]>
  14401. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  14402. casting to IntPtr to avoid 64bit overflow errors
  14403. 2006-04-29 Peter Dennis Bartok <[email protected]>
  14404. * Control.cs:
  14405. - AllowDrop: Don't force handle creation.
  14406. - CreateHandle: Added call to tell driver if we're allowed to drop
  14407. 2006-04-27 Alexander Olk <[email protected]>
  14408. * FileDialog.cs: Remember the last directory not only for the
  14409. current instance but also for new FileDialog instances.
  14410. 2006-04-29 Peter Dennis Bartok <[email protected]>
  14411. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  14412. broke sending async messages
  14413. 2006-04-29 Peter Dennis Bartok <[email protected]>
  14414. * XplatUIX11.cs:
  14415. - ScrollWindow: Fixed method. We finally generate expose events again
  14416. for scrolled areas. This was causing 'garbage' when scrolling
  14417. textbox and other controls that used ScrollWindow
  14418. - Switched from using the regular queue for paint events to the MS
  14419. model of 'generating' paint events when the queue is empty.
  14420. We use the new XQueueEvent.Paint subclass to store which windows
  14421. need painting.
  14422. - AddExpose now takes the x/y/width/height of the exposed area
  14423. and inserts the window into the paint queue if not already there
  14424. - InvalidateWholeWindow: Switched to use new AddExpose method
  14425. - UpdateMessageQueue: Added which queue to monitor for paint events
  14426. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  14427. the unlikely case nothing above handles it. We reset the expose
  14428. pending states to get them off the queue.
  14429. - GetMessage: Now pulls a paint event if no other events are in the
  14430. queue
  14431. - Invalidate: Switched to new AddExpose method
  14432. - PeekMessage: Updated to understand pending paint events
  14433. - UpdateWindow: Fixed logic bug. We were only updating if the window
  14434. didn't need updating. Also switched to sending WM_PAINT directly,
  14435. like MS does.
  14436. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  14437. and random access Remove(). The random access is needed to handle
  14438. UpdateWindow() where a WM_PAINT is sent directly without accessing
  14439. the queue.
  14440. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  14441. allow for better feedback when scrolling. Scrollbars are small and
  14442. the immediate update should make it 'feel' more responsive without
  14443. slowing things down. ScrollBar still needs it's invaliate logic
  14444. updated to not always invalidate the whole bar on certain changes.
  14445. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  14446. * Control.cs:
  14447. (BackColor): if the control does not support a transparent background,
  14448. return the default backcolor when the parent backcolor is transparent.
  14449. 2006-04-28 Peter Dennis Bartok <[email protected]>
  14450. * Application.cs: Updated to new StartLoop/GetMessage API
  14451. * RichTextBox.cs: Provide some output on RTF parsing errors
  14452. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  14453. new queue_id argument to GetMessage and PeekMessage to allow faster
  14454. handling of per-thread queues in drivers.
  14455. * Hwnd.cs: Added Queue tracking and property
  14456. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  14457. * XEventQueue.cs: Added thread trackingA
  14458. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  14459. * XplatUIX11.cs:
  14460. - Implemented new per-thread queue
  14461. - GetMessage: Fixed return/break behaviour on several cases. We were
  14462. returning stale messages in some cases, instead of just processing
  14463. the next message
  14464. 2006-04-27 Jonathan Chambers <[email protected]>
  14465. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  14466. 2006-04-27 Peter Dennis Bartok <[email protected]>
  14467. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  14468. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  14469. 2006-04-27 Jonathan Chambers <[email protected]>
  14470. * PropertyGridView.cs: Fix drop down width.
  14471. 2006-04-27 Alexander Olk <[email protected]>
  14472. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  14473. a mess in DrawToolBar, so I removed one of them.
  14474. 2006-04-27 Alexander Olk <[email protected]>
  14475. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  14476. needed (clip). Otherwise we get artifacts.
  14477. 2006-04-26 Peter Dennis Bartok <[email protected]>
  14478. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  14479. dimension is fixed
  14480. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  14481. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  14482. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  14483. if it matches the scale base font (avoids unneeded scaling)
  14484. 2006-04-26 Alexander Olk <[email protected]>
  14485. * X11DesktopColors.cs: One gtk_init_check should be enough
  14486. 2006-04-26 Peter Dennis Bartok <[email protected]>
  14487. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  14488. match MS behaviour
  14489. 2006-04-26 Peter Dennis Bartok <[email protected]>
  14490. * TextBoxBase.cs:
  14491. - Generate OnTextChanged for Backspace even if we're only deleting
  14492. the current selection
  14493. - When setting the Text property, only select all text if the
  14494. control does not have focus when it is being set. Otherwise
  14495. just place the cursor at the beginning of the control
  14496. 2006-04-26 Alexander Olk <[email protected]>
  14497. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  14498. Added a little helper to draw PropertyGrid ToolBar with a different
  14499. border and a different BackColor.
  14500. * PropertyGrid.cs: Some background parts didn't get painted with the
  14501. correct background color. Added a class that helps us to draw the
  14502. correct border for PropertyGridView and a class that helps us to
  14503. draw ToolBars with a different backcolor
  14504. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  14505. 2006-04-25 Jonathan Chambers <[email protected]>
  14506. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  14507. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  14508. 2006-04-25 Peter Dennis Bartok <[email protected]>
  14509. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  14510. into the palette entries. Also, since we're working on a copy
  14511. we needed to copy the palette back onto the bitmap.
  14512. * Cursor.cs: Same fix as XplatUIWin32.cs.
  14513. 2006-04-25 Peter Dennis Bartok <[email protected]>
  14514. * ImageListStreamer.cs: Need to read the var (or we're off)
  14515. 2006-04-25 Peter Dennis Bartok <[email protected]>
  14516. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  14517. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  14518. TextBoxBase.cs: Unused var fixes
  14519. * AxHost.cs: Small 2.0 fix
  14520. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  14521. as it seems that is what at least Metacity expects. This will make
  14522. icons show up on 64bit platforms. We still have some 64bit size
  14523. issues, though, since the startup app window size still won't match.
  14524. 2006-04-25 Mike Kestner <[email protected]>
  14525. * *.cs: cleanup newly reported exception var unused warnings.
  14526. 2006-04-25 Alexander Olk <[email protected]>
  14527. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  14528. ms
  14529. 2006-04-25 Alexander Olk <[email protected]>
  14530. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  14531. image. The image position is always the same, no matter if the
  14532. button is pressed or not.
  14533. 2006-04-25 Alexander Olk <[email protected]>
  14534. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  14535. selection and set the correct filename for SaveFileDialog.
  14536. Patch by Emery Conrad.
  14537. 2006-04-24 Mike Kestner <[email protected]>
  14538. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  14539. check for item.X outside the ClientRect instead of item.Y. Fixes
  14540. #78151.
  14541. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  14542. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  14543. trust that value blindly and do some sanity check. Fixes bug #77814.
  14544. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  14545. * ImageListStreamer.cs: save the mask as a 1bpp image.
  14546. 2006-04-21 Mike Kestner <[email protected]>
  14547. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  14548. pass Checked and Indeterminate to the Theme Engine. Improve
  14549. encapsulation with ListBox.
  14550. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  14551. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  14552. nested types. Move all CheckState functionality to CheckedListBox.
  14553. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  14554. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  14555. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  14556. single base list. Fix scrollbar sizing and placement to mirror MS.
  14557. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  14558. used.
  14559. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  14560. for CheckedListBox by using new DrawItemState info. Center the
  14561. checkboxes on the items. Use new StringFormat property.
  14562. 2006-04-18 Jackson Harper <[email protected]>
  14563. * Form.cs: MdiChildren don't do default locations the same way as
  14564. regular forms. This prevents a crash when trying to position the
  14565. mdi windows.
  14566. 2006-04-17 Jonathan Chambers <[email protected]>
  14567. * PropertyGridTextBox.cs: Formatting, copyright
  14568. * PropertiesTab.cs: Formatting
  14569. * PropertyGrid.cs: Formatting
  14570. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  14571. click toggling of values
  14572. 2006-04-17 Peter Dennis Bartok <[email protected]>
  14573. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  14574. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  14575. every time a control is created
  14576. * Application.cs: Removed obsolete EnableRTLMirroring method
  14577. 2006-04-18 Gert Driesen <[email protected]>
  14578. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  14579. SelectedIndex to -1. Fixes bug #78121.
  14580. 2006-04-17 Jackson Harper <[email protected]>
  14581. * Binding.cs: Handle null values for Current and BindingContext.
  14582. This occurs when binding is a little delayed.
  14583. * CurrencyManager.cs: return null for Current when there are no
  14584. items in the list.
  14585. - Hookup to the listchanged event on the DataView and update
  14586. bindings when the list is changed. This fixes late binding of
  14587. controls.
  14588. 2006-04-17 Jackson Harper <[email protected]>
  14589. * X11Dnd.cs:
  14590. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  14591. Ringenbach.
  14592. 2006-04-15 Alexander Olk <[email protected]>
  14593. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  14594. place
  14595. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  14596. with the correct ButtonState
  14597. 2006-04-14 Peter Dennis Bartok <[email protected]>
  14598. * XplatUIX11.cs: Improved distinguishing between window types to
  14599. tell the WM a type closer to what the app wants (Fixes #78107)
  14600. 2006-04-14 Alexander Olk <[email protected]>
  14601. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  14602. GrabHandle
  14603. 2006-04-14 Alexander Olk <[email protected]>
  14604. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  14605. drawing code to reflect the size grip changes
  14606. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  14607. * ImageListStreamer.cs: fix handling of the mask that follows the main
  14608. bitmap when deserializing and serialize it properly. The generated mask
  14609. should better be a 1bpp image, but I'll do that later.
  14610. 2006-04-13 Alexander Olk <[email protected]>
  14611. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  14612. path doesn't fit into some of our Current.Places
  14613. 2006-04-13 Jackson Harper <[email protected]>
  14614. * ComboBox.cs: Use borders instead of drawing our own decorations,
  14615. try to obey correct rules for heights.
  14616. * Theme.cs:
  14617. * ThemeNice.cs:
  14618. * ThemeClearLooks.cs:
  14619. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  14620. this is now handled by borders.
  14621. - Remove unused DrawListBoxDecorationSize method.
  14622. 2006-04-13 Mike Kestner <[email protected]>
  14623. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  14624. reported by Alex.
  14625. 2006-04-13 Alexander Olk <[email protected]>
  14626. * ThemeWin32Classic.cs:
  14627. - Fixed CPDrawStringDisabled
  14628. - Corrected drawing of disabled menu items
  14629. - Fixed drawing of disabled radio buttons (bug #78095)
  14630. - Draw check in a disabled CheckBox with color ControlDark
  14631. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14632. * Form.cs: Use the provided width when calculating the menu size;
  14633. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  14634. and ClientSize.Width won't be updated yet
  14635. * Application.cs: Use Visible instead of Show() to make form visible,
  14636. this way we create the handle later and menusize is considered
  14637. 2006-04-12 Mike Kestner <[email protected]>
  14638. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  14639. reporting.
  14640. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14641. * TextBox.cs: Implemented context menu
  14642. 2006-04-12 Mike Kestner <[email protected]>
  14643. * ListView.cs: implement box selection. fixes #77838.
  14644. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  14645. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14646. * XplatUIX11.cs: Added setting of window type when transient window
  14647. is created (metacity would move it otherwise)
  14648. * X11Structs.cs: Added WINDOW_TYPE atoms
  14649. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  14650. background (the control is Opaque but still wants transparent
  14651. backgrounds)
  14652. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14653. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  14654. that set Opaque but don't mean it (like all ButtonBase-derived
  14655. controls) to still draw their background
  14656. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  14657. the background
  14658. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14659. * Control.cs (PaintControlBackground): Set the graphics object
  14660. on our PaintEvent to null to prevent it from being disposed
  14661. when the PaintEvent gets disposed
  14662. 2006-04-12 Alexander Olk <[email protected]>
  14663. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  14664. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  14665. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14666. * Control.cs:
  14667. - Added transparency check to BackColor property. Transparent
  14668. backgrounds are only allowed if the control styles permit it
  14669. - Added recursive painting of parent control background and
  14670. foreground if a control with a transparent backcolor is drawn
  14671. (Thanks to Tim Ringenback for providing his 'hack' as a base
  14672. for this patch) Fixes #77985 and #78026.
  14673. - Added Opaque style check before calling OnPaintBackground, no
  14674. need to draw the background if the control is opaque
  14675. - Removed ControlAccessibleObject owner variable (inherited from
  14676. base, no need to define again)
  14677. - Added some documentation links explaining the drawing events
  14678. and styles
  14679. 2006-04-11 Peter Dennis Bartok <[email protected]>
  14680. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  14681. that the affected control is the located at the left border of our
  14682. parent (Fixes #77936)
  14683. 2006-04-11 Peter Dennis Bartok <[email protected]>
  14684. * TextBoxBase.cs: When rendering disabled or readonly controls,
  14685. draw the background with 'Control' instead of 'Window' color as
  14686. long as the user hasn't specifically set a color
  14687. 2006-04-11 Peter Dennis Bartok <[email protected]>
  14688. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  14689. since that won't be updated if the user types text (only if it's
  14690. programatically set)
  14691. 2006-04-11 Peter Dennis Bartok <[email protected]>
  14692. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  14693. layout changes do to app-triggered resizes will have the proper
  14694. display rectangle for layout
  14695. 2006-04-11 Alexander Olk <[email protected]>
  14696. * ThemeWin32Classic.cs:
  14697. - Make use of the SystemBrushes and SystemPens wherever possible
  14698. - Corrected some highlight colors
  14699. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  14700. drawing
  14701. * Theme.cs: Added Empty field to CPColor struct
  14702. 2006-04-11 Peter Dennis Bartok <[email protected]>
  14703. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  14704. is displayed when calculating the display rectangle. Thanks to Mike
  14705. for teaching me the err of my ways.
  14706. 2006-04-10 Peter Dennis Bartok <[email protected]>
  14707. * ScrollableControl.cs:
  14708. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  14709. (instead of 0,0) and we now return the real width/height instead of
  14710. just the clientrectangle, adjusted for padding. The rectangle is
  14711. now cached and created by the new CalculateDisplayRectangle method.
  14712. - Created new CalculateDisplayRectange method, which basically does
  14713. what get_DisplayRectangle() did originally, but now using the
  14714. right edge instead of DisplayRectangle to determine the size of
  14715. our scrollbars
  14716. - get_Canvas(): Fixed it to properly calculate canvas for
  14717. right/bottom controls which seem to be placed to the right/bottom
  14718. of any controls that have a fixed location
  14719. - Removed TODO that's taken care of
  14720. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  14721. and SetDisplayRectLocation according to new MSDN2 docs
  14722. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  14723. event when that is called, this is added for compatibility
  14724. - ScrollControlIntoView(): Implemented.
  14725. - Switched scrollbars to be implicit, they shouldn't be selectable
  14726. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  14727. call it when the active control is set/changed
  14728. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  14729. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  14730. implicit_control variable (used for native Win32 message generation)
  14731. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  14732. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  14733. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  14734. * XplatUIStructs.cs: Added ScrollBarCommands enum
  14735. 2006-04-10 Jackson Harper <[email protected]>
  14736. * ButtonBase.cs:
  14737. * CheckedListBox.cs:
  14738. * ComboBox.cs:
  14739. * DataGrid.cs:
  14740. * DataGridView.cs:
  14741. * Form.cs:
  14742. * GroupBox.cs:
  14743. * ListBox.cs:
  14744. * PrintPreviewControl.cs:
  14745. * ProgressBar.cs:
  14746. * PropertyGrid.cs:
  14747. * Splitter.cs:
  14748. * StatusBar.cs:
  14749. * TrackBar.cs:
  14750. * UpDownBase.cs: Fixup base event overrides.
  14751. 2006-04-06 Mike Kestner <[email protected]>
  14752. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  14753. all user-initiated value changes to min <= value <= max-thumbsz+1.
  14754. (set_Value): check for vert/horiz when calculating new thumb position.
  14755. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  14756. like MS does.
  14757. (OnMouseMoveSB): refactor the thumb dragging code and refine
  14758. invalidation logic to reduce flicker.
  14759. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  14760. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  14761. (UpdateThumbPosition): small code readability cleanup
  14762. 2006-04-10 Alexander Olk <[email protected]>
  14763. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  14764. different
  14765. 2006-04-08 Alexander Olk <[email protected]>
  14766. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  14767. 2006-04-08 Alexander Olk <[email protected]>
  14768. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  14769. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  14770. This dramatically reduces the number of Pen.Dispose calls.
  14771. Where possible call ResPool methods only once instead of calling it
  14772. over and over again (for example for the same color).
  14773. 2006-04-06 Mike Kestner <[email protected]>
  14774. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  14775. Also remove an unused private field on the collection. Fixes #77972.
  14776. 2006-04-06 Alexander Olk <[email protected]>
  14777. * ThemeNice.cs: Added ToolBar drawing code
  14778. 2006-04-06 Mike Kestner <[email protected]>
  14779. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  14780. I'm assuming that means we need to look up the toplevel for the
  14781. provided control. Fixes the crash trace in #77911 but exposes another
  14782. crash in some strange reflection usage in NDocGui.
  14783. 2006-04-06 Alexander Olk <[email protected]>
  14784. * ThemeNice.cs: Gave it a little silver touch and added Images
  14785. method
  14786. * FontDialog.cs: FontDialog is not resizable
  14787. * FileDialg.cs: Added SizeGripStyle.Show
  14788. 2006-04-05 Jackson Harper <[email protected]>
  14789. * KeyboardLayouts.cs: Remove warning.
  14790. 2006-04-05 Jackson Harper <[email protected]>
  14791. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  14792. all of our controls instead of Paint +=.
  14793. * ListBox.cs:
  14794. * ListView.cs:
  14795. * MenuAPI.cs:
  14796. * MessageBox.cs:
  14797. * NotifyIcon.cs:
  14798. * ProgressBar.cs:
  14799. * ScrollBar.cs:
  14800. * Splitter.cs:
  14801. * StatusBar.cs:
  14802. * TabControl.cs:
  14803. * TextBoxBase.cs:
  14804. * ToolBar.cs:
  14805. * TrackBar.cs:
  14806. * UpDownBase.cs:
  14807. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  14808. use OnPaintInternal. Remove Width/Height and Visible checks in
  14809. paint handler, this is done at a higher level now.
  14810. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  14811. * PaintEventArgs.cs: Add a handled flag so controls that don't
  14812. want anymore painting after OnPaintInternal can make sure OnPaint
  14813. isn't called.
  14814. 2006-04-05 Mike Kestner <[email protected]>
  14815. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  14816. state of the form, so that we don't process events when Modal dialogs
  14817. are up. Fixes #77922.
  14818. 2006-04-05 Alexander Olk <[email protected]>
  14819. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  14820. checking is done.
  14821. 2006-04-05 Mike Kestner <[email protected]>
  14822. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  14823. 2006-04-05 Mike Kestner <[email protected]>
  14824. * ListView.cs (HeaderMouseMove): null guarding for the over column
  14825. when setting up the drag_to_index. Fixes #78015.
  14826. 2006-04-04 Peter Dennis Bartok <[email protected]>
  14827. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  14828. in the taskbar. Transient windows seem to accomplish that.
  14829. 2006-04-04 Peter Dennis Bartok <[email protected]>
  14830. * Form.cs:
  14831. - Re-enabled CreateParams.X/Y code for FormStartPosition
  14832. - Added code for manual placement when creating the Control
  14833. - Incomplete patch to treat MDI forms differently when
  14834. setting the ClientSizeCore. (Still need to figure out handling
  14835. x/y coords there)
  14836. * XplatUIX11.cs:
  14837. - When we're explicitly setting the X/Y position of a non-Child
  14838. window, let the WM know. Metacity really wants this.
  14839. 2006-04-04 Alexander Olk <[email protected]>
  14840. * ThemeNice.cs: Added CPDrawButton
  14841. 2006-04-04 Alexander Olk <[email protected]>
  14842. * ThemeNice.cs: Changed the color for focused buttons and activated
  14843. the arrows for small scroll buttons.
  14844. 2006-04-04 Alexander Olk <[email protected]>
  14845. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  14846. anymore. Changed some method modifiers to protected (virtual)
  14847. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  14848. changes
  14849. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  14850. Updated drawing of menus, buttons and progressbars; added
  14851. CPDrawBorder3D
  14852. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  14853. * ImageListStreamer.cs: implemented serialization/deserialization
  14854. of the images.
  14855. 2006-04-03 Alexander Olk <[email protected]>
  14856. * ThemeWin32Classic.cs:
  14857. - Removed all the DrawFrameControl stuff; CPDrawButton,
  14858. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  14859. inside the methods
  14860. - Updated and corrected the drawing code of CPDrawButton,
  14861. CPDrawCheckBox and CPDrawRadioButton to better match ms
  14862. - Updated theme checkbox and radiobutton code to use the CP*
  14863. methods
  14864. 2006-03-31 Peter Dennis Bartok <[email protected]>
  14865. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  14866. bug is fixed
  14867. 2006-03-31 Jackson Harper <[email protected]>
  14868. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  14869. sometimes.
  14870. * UpDownBase.cs: Don't CreateGraphics manually, use a
  14871. Refresh. Ideally we would invalidate the correct areas here.
  14872. 2006-03-31 Peter Dennis Bartok <[email protected]>
  14873. * XplatUIX11.cs:
  14874. - We now track the mapping state of windows. If a window (or
  14875. one of it's parents) is not mapped we no longer permit
  14876. WM_PAINT messages to be generated since we'd otherwise get
  14877. lots of BadMatch X errors. Jackson did all the work figuring
  14878. out the problem.
  14879. - Destroying the caret if the window it's contained in is
  14880. destroyed. Can't use regular DestroyCaret method since it
  14881. might fall into a drawing function (trying to remove the
  14882. caret) and with that generate new BadMatch errors. Again,
  14883. Jackson tracked this down.
  14884. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  14885. make sure we send the messages to all windows. (The old code
  14886. would send the WM_DESTROY to the window, and then all child
  14887. windows would be 'gone' because the WM_DESTROY handle lookup
  14888. would no longer find the destroyed window)
  14889. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  14890. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  14891. 2006-03-31 Jackson Harper <[email protected]>
  14892. * ScrollableControl.cs: Dont recalc if we are not visible.
  14893. 2006-03-31 Mike Kestner <[email protected]>
  14894. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  14895. the visibility branch.
  14896. 2006-03-31 Jackson Harper <[email protected]>
  14897. * ScrollBar.cs: Cap values when incrementing/decrementing.
  14898. 2006-03-31 Mike Kestner <[email protected]>
  14899. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  14900. * ToolTip.cs: guard against timer expirations with no active control.
  14901. Not sure why it happened.
  14902. 2006-03-31 Mike Kestner <[email protected]>
  14903. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  14904. text.
  14905. * ToolTip.cs: Position the tooltip based on where the cursor is at
  14906. popup time, not at MouseEnter time. Add a Down state so that we don't
  14907. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  14908. positioning offset. Lookup DisplaySize at positioning time, since it
  14909. can theoretically change during invocation.
  14910. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  14911. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  14912. 2006-03-31 Alexander Olk <[email protected]>
  14913. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  14914. Fixes behaviour when the Text property of the box is String.Empty
  14915. 2006-03-31 Peter Dennis Bartok <[email protected]>
  14916. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  14917. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  14918. a window)
  14919. 2006-03-31 Alexander Olk <[email protected]>
  14920. * FileDialog.cs: Visual enhancement for the popup buttons in
  14921. PopupButtonPanel
  14922. 2006-03-31 Alexander Olk <[email protected]>
  14923. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  14924. code
  14925. 2006-03-30 Alexander Olk <[email protected]>
  14926. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  14927. highlighted menu items to match ms
  14928. 2006-03-30 Peter Dennis Bartok <[email protected]>
  14929. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  14930. 2006-03-30 Mike Kestner <[email protected]>
  14931. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  14932. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  14933. go active to account for HotLight to Selected transition.
  14934. * MenuItem.cs: add internal Selected prop. Fill out the Status
  14935. property by calculating it from item info. Add HotLight,
  14936. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  14937. 2006-03-30 Mike Kestner <[email protected]>
  14938. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  14939. 2006-03-29 Jackson Harper <[email protected]>
  14940. * Form.cs: Implement TODO.
  14941. 2006-03-29 Peter Dennis Bartok <[email protected]>
  14942. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  14943. missing proper dialog setup in the constructor
  14944. 2006-03-29 Peter Dennis Bartok <[email protected]>
  14945. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  14946. * Control.cs:
  14947. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  14948. - Fixed ResetBindings and removed TODO
  14949. - Added check for cross-thread calls to get_Handle()
  14950. - Added Marshaller attribute for set_Font to satisfy class status
  14951. * FontDialog.cs: Removed TODOs that seemed implemented
  14952. * UpDownBase.cs: Removed unneeded TODO and Fixme
  14953. * MessageBox.cs: Implemented support for Default button and removed TODO
  14954. * FileDialog.cs: Removed obsolete TODO
  14955. * DomainUpDown.cs: Removed obsolete TODO
  14956. * ButtonBase.cs: Removed obsolete TODO
  14957. * XplatUIWin32.cs: Removed obsolete TODO
  14958. * Form.cs:
  14959. - Removed obsolete TODO
  14960. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  14961. internal status updates
  14962. - Making sure the active control is selected when the control is created
  14963. * CurrencyManager.cs: Removed obsolete TODO
  14964. 2006-03-29 Mike Kestner <[email protected]>
  14965. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  14966. of PrintPreviewDialog and RichTextBox.
  14967. 2006-03-29 Alexander Olk <[email protected]>
  14968. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  14969. DarkDark, Light and LightLight colors for a specific color
  14970. * ThemeWin32Classic.cs:
  14971. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  14972. Appearance = Button
  14973. - Make use of the new ResPool helper CPColor
  14974. - Draw ProgressBar and StatusBar with correct 3D borders
  14975. 2006-03-29 Alexander Olk <[email protected]>
  14976. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  14977. 2006-03-28 Mike Kestner <[email protected]>
  14978. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  14979. calculating col/row counts.
  14980. 2006-03-28 Mike Kestner <[email protected]>
  14981. * ColumnHeader.cs:
  14982. * ListView.cs:
  14983. * ListViewItem.cs:
  14984. * Menu.cs:
  14985. switch to explicit interface method implementation for some methods
  14986. corcompare identifies as inconsistent with MS.
  14987. 2006-03-28 Mike Kestner <[email protected]>
  14988. * MainMenu.cs:
  14989. * Menu.cs:
  14990. add a few missing methods from the class status output.
  14991. 2006-03-28 Alexander Olk <[email protected]>
  14992. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  14993. correct.
  14994. 2006-03-28 Mike Kestner <[email protected]>
  14995. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  14996. 2006-03-27 Mike Kestner <[email protected]>
  14997. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  14998. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  14999. 2006-03-27 Alexander Olk <[email protected]>
  15000. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  15001. 2006-03-25 Alexander Olk <[email protected]>
  15002. * ThemeWin32Classic.cs:
  15003. - GroupBox: Inserted a little gap between the text and the lines
  15004. on the right side
  15005. - Made the code in CPDrawBorder3D more readable
  15006. - Corrected the drawing location of the up and down arrows in
  15007. CPDrawScrollButton
  15008. 2006-03-25 Alexander Olk <[email protected]>
  15009. * ControlPaint.cs: Corrected line widths in DrawBorder for
  15010. ButtonBorderStyle Inset and Outset
  15011. 2006-03-25 Alexander Olk <[email protected]>
  15012. * ThemeWin32Classic.cs:
  15013. - Rewrote the totally broken CPDrawBorder3D method. That was
  15014. one of the main problems for the terrific ThemeWin32Classic
  15015. look
  15016. - Updated and corrected Button drawing
  15017. - Correct the dimensions of the SizeGrip to match ms ones
  15018. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  15019. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  15020. Border3DStyle.Sunken to match ms.
  15021. 2006-03-25 Alexander Olk <[email protected]>
  15022. * ThemeWin32Classic.cs: First small part of the "de-uglify
  15023. ThemeWin32Classic" effort, SizeGrip
  15024. 2006-03-24 Jackson Harper <[email protected]>
  15025. * XplatUIX11.cs: Give a max idle time of one second, this matches
  15026. MS and forces an Idle event every second when there are no other
  15027. events in the queue.
  15028. 2006-03-24 Mike Kestner <[email protected]>
  15029. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  15030. * ListView.Item.cs: fix layout issues with null image lists and images
  15031. smaller than checkbox size.
  15032. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  15033. mode like MS does. It's weird, but consistent. ;-)
  15034. Fixes #77890.
  15035. 2006-03-24 Mike Kestner <[email protected]>
  15036. * ListView.cs: Scroll wheel support for the item control. Fixes
  15037. #77839.
  15038. 2006-03-23 Jackson Harper <[email protected]>
  15039. * ScrollableControl.cs: Special case negative sized areas, not
  15040. zero.
  15041. * MonthCalendar.cs: Save the rect of the clicked date so we can
  15042. use it for invalidation.
  15043. - Try to cut down on the number of invalidates
  15044. - Invalidate the rect the mouse is over and was over when moving
  15045. the mouse, so we get the focus box following the cursor.
  15046. 2006-03-23 Mike Kestner <[email protected]>
  15047. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  15048. focus rectangle drawing. Fixes #77835.
  15049. 2006-03-23 Mike Kestner <[email protected]>
  15050. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  15051. the if and else if and reverting back to the original == check on the
  15052. None conditional.
  15053. 2006-03-23 Alexander Olk <[email protected]>
  15054. * FontDialog.cs: Update the example panel if the selected index of
  15055. the fontListBox changes.
  15056. 2006-03-23 Alexander Olk <[email protected]>
  15057. * FileDialog.cs: Make FileDialog remember which directory it was in
  15058. last in the same execution.
  15059. 2006-03-22 Mike Kestner <[email protected]>
  15060. * FileDialog.cs: make the DropDownMenu on the toolbar display
  15061. RadioChecks since they are mutually exclusive and that's what MS does.
  15062. 2006-03-22 Mike Kestner <[email protected]>
  15063. * Theme.cs: add Color param to CPDrawMenuGlyph.
  15064. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  15065. checks and radio marks and arrows are visible on highlighted items.
  15066. * ControlPaint.cs: update to use new Theme signature.
  15067. 2006-03-22 Mike Kestner <[email protected]>
  15068. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  15069. is active. Fixes #77870.
  15070. 2006-03-22 Alexander Olk <[email protected]>
  15071. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  15072. to be focused/selected after startup
  15073. 2006-03-22 Alexander Olk <[email protected]>
  15074. * ColorDialog.cs:
  15075. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  15076. CustomColors and ShowHelp properties
  15077. - Some internal rewrites to get better results when using the
  15078. ColorMatrix
  15079. 2006-03-22 Mike Kestner <[email protected]>
  15080. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  15081. HoverSelection. Fixes #77836.
  15082. 2006-03-22 Mike Kestner <[email protected]>
  15083. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  15084. ToggleButtons. (De)Sensitize the Back button around a stack count of
  15085. 1, not 0. Update ButtonSize based on a pixel count of the win32
  15086. control. Adjust the toolbar size/location for new button size.
  15087. 2006-03-22 Jackson Harper <[email protected]>
  15088. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  15089. true.
  15090. * ScrollBar.cs: When doing increments and decrements we need to
  15091. set the Value property so that ValueChanged gets raised. A
  15092. possible optimization here would be to make an internal SetValue
  15093. that doesn't invalidate immediately.
  15094. * ToolTip.cs: Tooltips get added to their container (when
  15095. supplied) so they get disposed when the container is disposed.
  15096. - Don't create tooltips for String.Empty. This prevents all these
  15097. little 2-3 pixel windows from showing up when running nunit-gui
  15098. and driving me mad.
  15099. * Form.cs: Don't set topmost when setting the owner if the handles
  15100. haven't been created yet. The topmost set will happen when the
  15101. handles are created.
  15102. 2006-03-22 Peter Dennis Bartok <[email protected]>
  15103. * XplatUIX11.cs:
  15104. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  15105. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  15106. visible (to allow them to recalculate their sizes)
  15107. 2006-03-21 Mike Kestner <[email protected]>
  15108. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  15109. methods. Removed a ton of redundant code. Still not really happy with
  15110. the border rendering, but I think that's mainly because of the
  15111. ControlDarkDark being black instead of a dark grey. Depending on how
  15112. close we want to be, we might want to revisit those color choices.
  15113. Among the new features added during the refactor were DropDownArrow
  15114. pressed rendering, Disabled image rendering. Proper flat appearance
  15115. boundary rendering. Removed the Divider and Wrapping dividers since I
  15116. can't figure out any combination of themes and conditions to make the
  15117. MS control draw a horizontal line on a toolbar despite what the
  15118. Divider property docs indicate.
  15119. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  15120. conditions and incorrect layout. Updated to coding standard.
  15121. * ToolBarButton.cs: refactored layout and positioning code from
  15122. ToolBar to here. Invalidate wherever possible instead of forcing
  15123. redraws of the whole toolbar.
  15124. (Known remaining issues: explicit ButtonSize smaller than provided
  15125. images.)
  15126. 2006-03-21 Mike Kestner <[email protected]>
  15127. * ContextMenu.cs (Show): use the position parameter instead of just
  15128. showing at the MousePosition.
  15129. 2006-03-21 Jackson Harper <[email protected]>
  15130. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  15131. control handle this.
  15132. * TreeNodeCollection.cs: If we are clearing the root node we need
  15133. to reset top_node so calcs can still happen.
  15134. * ThemeWin32Classic.cs: This is a Flags so we need to check
  15135. properly.
  15136. 2006-03-21 Jackson Harper <[email protected]>
  15137. * DataGrid.cs: Create columns when the binding context has been
  15138. changed.
  15139. * X11Structs.cs: Keysyms are uints.
  15140. - Add size to fix build.
  15141. 2006-03-21 Peter Dennis Bartok <[email protected]>
  15142. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  15143. XplatUIOSX.cs:
  15144. - Added ResetMouseHover method to allow controls to retrigger
  15145. hovering if they need it more than once
  15146. - Implemented MouseHoverTime and MouseHoverSize properties
  15147. * Timer.cs: Start() must reset the interval
  15148. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  15149. properties
  15150. 2006-03-21 Jackson Harper <[email protected]>
  15151. * X11Keyboard.cs: improved layout detection. Move the nonchar
  15152. tables into this file.
  15153. * KeyboardLayouts.cs: Move the tables into resource files.
  15154. 2006-03-21 Mike Kestner <[email protected]>
  15155. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  15156. 2006-03-21 Alexander Olk <[email protected]>
  15157. * Mime.cs: Various speed optimizations. Looking up mime types
  15158. is now 2 times faster than before
  15159. 2006-03-17 Peter Dennis Bartok <[email protected]>
  15160. * CreateParams.cs: Added internal menu field
  15161. * Control.cs:
  15162. - Switched call order for UpdateBounds; now we always call
  15163. the one that also takes ClientSize, and we're calculating the
  15164. client size via driver method in the others. The previous
  15165. method of tracking client size by difference wasn't working
  15166. for forms where even the starting client size wouldn't match
  15167. the overall form size (due to borders) (Part of fix for #77729)
  15168. - CreateParams(): Do not use parent.Handle unless the handle is
  15169. already created. Causes havoc with Nexxia and throws off our
  15170. creation of controls
  15171. * XplatUIX11.cs:
  15172. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  15173. - Switched handling of ConfigureNotify over to new PerformNCCalc
  15174. method (consolidates code)
  15175. - Changed RequestNCRecalc to use new PerformNCCalc method
  15176. - Added calls to RequestNCRecalc when menus and borders are changed
  15177. to allow app to set NC size. (Part of fix for #77729) This matches
  15178. when MS send a WM_NCRECALC on Win32 windows.
  15179. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  15180. (Part of fix for #77729). This matches what MS does, they also
  15181. send that message when the form is made visible.
  15182. - XException.GetMessage: Improved usability of X errors by including
  15183. a translation of the window into Hwnd and Control class
  15184. - Improved debug info for window creation, reparenting and destruction
  15185. - Created helper method WindowIsMapped() [Currently not used]
  15186. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  15187. * Form.cs:
  15188. - CreateParams: Now setting our menu on the new internal menu field
  15189. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  15190. avoid calculating the same property twice
  15191. * Hwnd.cs:
  15192. - Improved usability of ToString() for debugging purposes
  15193. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  15194. determine the height of the menu, instead of just the font. This
  15195. required to also create a graphics context and to keep a bmp
  15196. around (for performance reasons)
  15197. 2006-03-17 Peter Dennis Bartok <[email protected]>
  15198. * MenuAPI.cs: Added OnMouseUp method
  15199. * Form.cs:
  15200. - Now remembering the requested client size, avoids size errors
  15201. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  15202. instead of base if the menu is active. This is required due to
  15203. control now capturing and releasing on down/up and it would
  15204. prematurely release our menu capture
  15205. 2006-03-17 Jackson Harper <[email protected]>
  15206. * KeyboardLayouts.cs: Add the czech layouts.
  15207. 2006-03-16 Jackson Harper <[email protected]>
  15208. * Control.cs: Use the viewport space when sizing not the controls
  15209. client size, so things like ScrollableControl that effect the
  15210. viewport size (when scrollbars are added) are computed correctly.
  15211. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  15212. of ManagerEntrys.
  15213. - Handle creating BindingManagers for null data sources.
  15214. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  15215. source, otherwise when rows are added they are added to the 'fake'
  15216. datasource and we will crash when trying to set the position in
  15217. those rows.
  15218. - Use Implicit scrollbars on the datagrid so they arent
  15219. selectable.
  15220. 2006-03-16 Jackson Harper <[email protected]>
  15221. * Binding.cs:
  15222. * InternalWindowManager.cs:
  15223. * MdiWindowManager.cs:
  15224. * X11Keyboard.cs: I really want Mike to love me again (fix
  15225. compiler warnings).
  15226. 2006-03-16 Peter Dennis Bartok <[email protected]>
  15227. * DataGrid.cs:
  15228. - OnMouseDown: Switch to editing mode when clicking on the cell
  15229. even if we're clicking on the cell that's currently
  15230. selected
  15231. - ProcessGridKey: Left/Right now wrap like MS.Net does
  15232. - ProcessGridKey: Tab now knows to add a new row when tab is
  15233. pressed in the cell of the last column of the
  15234. last row
  15235. - ProcessGridKey: Enter now adds another row if pressed in the last
  15236. row and selectes the new row, same column cell
  15237. - ProcessGridKey: Home/End navigate columns, not rows, like
  15238. originally implemented
  15239. - Broke ProcessKeyPreview code out into an extra Internal method
  15240. so it can be called from the edit code
  15241. * DataGridTextBox.cs (ProcessKeyMessage):
  15242. - Switched to accept Tab keypresses
  15243. - Added F2 handling to allow jumping to the end of the edited cell
  15244. - Added logic to allow moving caret left/right inside edited cell
  15245. and making the edited cell jump when the caret hits cell borders
  15246. - Tab and Enter are now passed to the datagrid after being handled
  15247. * TextBoxBase.cs:
  15248. - Removed capture code now that Control handles it
  15249. - set_SelectionStart now ensures caret is visible
  15250. 2006-03-16 Jackson Harper <[email protected]>
  15251. * TrackBar.cs: Debackwards the increment/decrement for handling
  15252. mouse clicks on the bar with vertical trackbars.
  15253. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  15254. bottom to match MS.
  15255. 2006-03-16 Mike Kestner <[email protected]>
  15256. * ListView.cs: make shift/ctrl keyboard and mouse selection
  15257. consistent with the MS control. Fix a bug in
  15258. SelectedListViewItemCollection.Clear that was pissing me off for the
  15259. better part of a day because the collection was being altered
  15260. underneath us as we walked the list.
  15261. 2006-03-16 Peter Dennis Bartok <[email protected]>
  15262. * Control.cs: Not sure how we could miss this so long, but it seems
  15263. that MS.Net has Capture set all the way from before calling
  15264. OnMouseDown through sending the mouse events until after
  15265. OnMouseUp. This will fix DataGrid's selection being set to end
  15266. at the location of the MouseUp.
  15267. 2006-03-15 Jackson Harper <[email protected]>
  15268. * BindingContext.cs: Check the binding after its added so that it
  15269. can initialize the binding managers and hookup to events.
  15270. * Binding.cs: Data members seem to sometimes include rows/cols in
  15271. the format Row.Column we now take this into account.
  15272. - Hookup to the position changed event so we can update the
  15273. control when the position has changed in the data set.
  15274. * CurrencyManager.cs: Take into account the row/col naming
  15275. convention when creating dataset tables.
  15276. * BindingContext.cs: Using a newer better way of storing
  15277. datasource/datamember pairs. Hopefully this better matches MS for
  15278. looking up binding managers.
  15279. 2006-03-15 Jackson Harper <[email protected]>
  15280. * BindingContext.cs: The currency manager needs the data member
  15281. name, if the member is a data set we use the name to find the
  15282. correct table.
  15283. * CurrencyManager.cs: When creating the list prefer an IList over
  15284. an IListSource.
  15285. - Attempt to create a DataTable from a DataSet (TODO: might need
  15286. some better error checking here, although MS doesn't seem to have much)
  15287. - If we have a DataTable create a view and use it as our list.
  15288. 2006-03-15 Mike Kestner <[email protected]>
  15289. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  15290. keyboard navigation. Support Up/Down/Left/Right selection correctly
  15291. for all 4 View modes.
  15292. * ListViewItem.cs: add internal row/col fields for icon layouts.
  15293. 2006-03-15 Jackson Harper <[email protected]>
  15294. * TabControl.cs: Redraw the tabs when we resize so their newly
  15295. calculated sizes are drawn on screen.
  15296. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  15297. composite characters.
  15298. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  15299. - filter events so that composite characters can be created
  15300. patches by peter
  15301. * X11Structs.cs: Add XIMProperties enum.
  15302. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15303. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  15304. unless it's created
  15305. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15306. * Control.cs (PerformLayout): We don't need to consider visiblity
  15307. for anchoring, only for docking. This fixes 'whacky' alignment
  15308. in listbox and other controls that use implicit scrollbars after
  15309. the previous PerformLayout patch
  15310. * ListBox.cs: Switched to use implicit scrollbars
  15311. 2006-03-14 Mike Kestner <[email protected]>
  15312. * ToolBar.cs:
  15313. * VScrollBar.cs:
  15314. - chain up the "new event" overrides to base and use
  15315. OnEvent to raise them. Part of fix for bug #76509.
  15316. 2006-03-14 Alexander Olk <[email protected]>
  15317. * FileDialog.cs: Do not select an item in the parent directory
  15318. on backspace
  15319. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15320. * Control.cs (PerformLayout): It would seem that we considered
  15321. invisible windows for our layout. Not quite the right thing
  15322. to do. Now we don't any longer, thereby fixing bug #76889.
  15323. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15324. * Control.cs (CanFocus): I goofed. A control can have focus
  15325. even though it's not selectable. Made it match MS docs.
  15326. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15327. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  15328. center by default (fixes #76895)
  15329. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  15330. all uses of Border3DSides.All with the explicit ORd together
  15331. Left|Right|Top|Bottom because I assume that nobody was aware
  15332. that All also implies a center fill. Most places I checked had
  15333. a fill right above.
  15334. * ProgressBarStyle.cs: Added
  15335. 2006-03-13 Mike Kestner <[email protected]>
  15336. * ListView.cs: fix breakage in drag shadow header positioning
  15337. from Peter's csc compilation fix.
  15338. 2006-03-13 Mike Kestner <[email protected]>
  15339. * ListView.cs: fix NRE produced by backspacing twice in a focused
  15340. FileDialog.
  15341. 2006-03-13 Mike Kestner <[email protected]>
  15342. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  15343. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15344. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  15345. be changed
  15346. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  15347. the allowed size before making programmatic size changes
  15348. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15349. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  15350. set, metacity is broken and will still use the emty sizes in
  15351. the struct. (Fix for #77089)
  15352. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15353. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  15354. WindowExStyles and marked both enums as Flags
  15355. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  15356. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  15357. to match WindowStyles split
  15358. * XplatUIX11.cs:
  15359. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  15360. - Updated to match WindowStyles split
  15361. * XplatUIWin32.cs:
  15362. - Fixed FosterParent creation, was using ExStyle on the Style field
  15363. (This should help with Popup focus issues)
  15364. - Updated to match WindowStyles split
  15365. 2006-03-13 Jackson Harper <[email protected]>
  15366. * MdiWindowManager.cs: Use the system menu height. Fixes some
  15367. strange sizing issues.
  15368. 2006-03-12 Peter Dennis Bartok <[email protected]>
  15369. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  15370. * TextBoxBase.cs:
  15371. - Scroll to caret after inserting text (#77672)
  15372. - Make scroll range one pixel higher, fixes off-by-one error (and
  15373. makes underlines visible on the last line)
  15374. 2006-03-12 Peter Dennis Bartok <[email protected]>
  15375. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  15376. the keyboard state from being stuck with keys in 'pressed' state when
  15377. focus is switched away via keyboard
  15378. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  15379. reset the keyboard if no X11 KeyUp events are expected to come
  15380. * X11Structs.cs: Switched type of Visible to bool to match driver
  15381. 2006-03-12 Peter Dennis Bartok <[email protected]>
  15382. * TextControl.cs:
  15383. - Switched caret to be just 1 pixel wide, matches MS and looks less
  15384. clunky
  15385. - Moved caret display 1 pixel down from the top of the control
  15386. to improve view
  15387. - InsertCharAtCharet: Update the selection start if moving the caret
  15388. (fixes bug #77696; based on patch suggested by [email protected])
  15389. - No longer always creating the caret when the caret methods are
  15390. called. Only the actual ShowCaret/HideCaret will do that now
  15391. - Only setting caret visible if the owner control has focus
  15392. - UpdateView: Added invalidation-shortcut logic for center and right
  15393. aligned text. Previously we'd update all according to the left
  15394. logic which caused drawing errors. Also fixed height of invalidated
  15395. areas, now properly invalidating the whole area (was off-by-one)
  15396. - owner_HandleCreated: Always generate the document when the
  15397. handle is created; this ensures that
  15398. * TextBoxBase.cs:
  15399. - Fixed situation where caret would disappear under the right
  15400. window border, also improved scrolling behaviour on left-
  15401. aligned textboxes
  15402. - Fixed right-aligned textboxes to have a border to the
  15403. right instead of the caret being under the right border
  15404. * XplatUIX11.cs:
  15405. - Switched from 'nested' to simple visible/not visible tracking
  15406. for caret (part of fix for #77671)
  15407. - No longer passing through translated FocusIn/FocusOut messages
  15408. since we were notifying too often and the wrong windows. Instead
  15409. we just notify our focussed window of receiving or loosing focus
  15410. * XplatUIWin32.cs: Switched from 'nested' show/hide
  15411. counting for caret to simple visible yes/no behaviour (part of
  15412. fix for #77671)
  15413. 2006-03-11 Alexander Olk <[email protected]>
  15414. * Mime.cs: Remove debug code...
  15415. 2006-03-11 Alexander Olk <[email protected]>
  15416. * MimeGenerated.cs: Removed
  15417. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  15418. and subclasses) from /usr/(local/)share/mime and
  15419. $HOME/.local/share/mime.
  15420. 2006-03-10 Jackson Harper <[email protected]>
  15421. * MdiWindowManager.cs: Recalc the NC area when a window is
  15422. maximized/restored so that the menu area is drawn on forms that
  15423. don't have a menu.
  15424. 2006-03-10 Peter Dennis Bartok <[email protected]>
  15425. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15426. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  15427. us to force a WM_NCCALCRESIZE message being sent. This is needed
  15428. for MDI maximizing.
  15429. 2006-03-10 Jackson Harper <[email protected]>
  15430. * Form.cs: We need to use the ActiveMenu when calculating menu
  15431. height.
  15432. - Fix nullref when the window manager hasn't been created yet.
  15433. * Control.cs: Fix nullref when we try to bring a control to the
  15434. front that has no parent.
  15435. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  15436. height.
  15437. - Add a dummy item to the maximized menu so it always has the
  15438. correct height. Otherwise when there are no menus we don't get our
  15439. icon and buttons.
  15440. 2006-03-10 Jackson Harper <[email protected]>
  15441. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  15442. stuff.
  15443. * Form.cs: Make the window_state internal so the window managers
  15444. can track it.
  15445. - When an MDI child is maximized let its window manager create the
  15446. main menu (so it can add its icon).
  15447. - Notify the window managers of state changes
  15448. - Let the window manager paint its buttons and handle button
  15449. clicks on the menu when it is maximized.
  15450. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  15451. window manager, since tool windows don't use it, only mdi windows.
  15452. - Tell the main form that we don't want it to handle NCPAINT
  15453. itself to avoid extra painting.
  15454. - Handle clicks on a maximized windows menu.
  15455. - Handle window state changes
  15456. - Handle minimize/maximize clicks correctly by setting the window state.
  15457. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  15458. when clicking on the forms icon).
  15459. - New method to create a forms maximized menu. This is its normal
  15460. menu + an icon.
  15461. - Handle window state changes.
  15462. - Handle sizing of maximized windows. Maximized windows are just
  15463. drawn bigger then the parent visible area. All controls are still
  15464. there, they are just outside the visible area (this matches windows).
  15465. * MdiClient.cs: No scrollbars when a child window is maximized.
  15466. - Let the children windows figure out how big they should be when
  15467. sizing maximized windows.
  15468. - Implement a version of ArrangeIconicWindows somewhat similar to
  15469. Windows version. There are some little differences, but I don't
  15470. think any app will rely on the layout of minimized mdi windows.
  15471. 2006-03-10 Peter Dennis Bartok <[email protected]>
  15472. * Padding.cs: Several fixes to allow compiling with csc 2.0
  15473. 2006-03-09 Jackson Harper <[email protected]>
  15474. * Menu.cs:
  15475. * MenuItem.cs: Cheap hack so we can add items to the list without
  15476. the events being raised. This allows adding mdi items during
  15477. drawing. TODO: Should probably find a better time to add the items.
  15478. 2006-03-10 Peter Dennis Bartok <[email protected]>
  15479. * ThemeWin32Classic.cs:
  15480. - CheckBox_DrawText: Added logic to not wrap if not enough space
  15481. is available (Fix for bug #77727)
  15482. - RadioButton_DrawText: Added logic not to wrap if not enough
  15483. space is available (Fix for bug #77727). Also removed some
  15484. duplicate code, DrawString always drawing the regular text
  15485. before hitting the if statement.
  15486. 2006-03-10 Peter Dennis Bartok <[email protected]>
  15487. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  15488. 2006-03-10 Peter Dennis Bartok <[email protected]>
  15489. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  15490. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  15491. methods. Moved the new 2.0 properties into alphabetical order with
  15492. other properties and added MonoTODO tags
  15493. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15494. * AutoScaleMode.cs: Added. Fix build.
  15495. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15496. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  15497. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  15498. and was requiring premature handle creation for calls from above
  15499. * Form.cs, Control.cs: Removed handle arguments from calls to
  15500. CalculateClientRect()
  15501. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15502. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  15503. drag_column.column_rect is MarshalByRef and can't be used that way
  15504. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15505. * AxHost.cs: Added deserialization constructor for
  15506. AxHost+State (fixes 77743)
  15507. 2006-03-09 Mike Kestner <[email protected]>
  15508. * ListView.cs:
  15509. - Added column drag reordering for details view.
  15510. - fixed behavior when mouse is dragged off column and
  15511. AllowColumnReorder is false.
  15512. * ColumnHeader.cs: clone the format too in Clone.
  15513. * Theme.cs: add DrawListViewHeaderDragDetails method.
  15514. * ThemeWin32Classic.cs:
  15515. - impl new method for drawing drag column shadows and targets.
  15516. - support column offset for details mode in DrawListViewItem.
  15517. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15518. * TextControl.cs: Reset the char_count when the document is cleared
  15519. (Fixes bug reported on mono-winforms mailing list)
  15520. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15521. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  15522. of calling base we simply process the key ourselves, since both
  15523. DefWindowProc and the handled method would set m.Result.
  15524. (Fixes #77732)
  15525. 2006-03-09 Peter Dennis Bartok <[email protected]>
  15526. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  15527. method also moves the window; instead implemented a copy of
  15528. Control.ScaleCore (Part of fix for #77456)
  15529. * TextBoxBase.cs:
  15530. - Created new CreateGraphicsInternal method to allow providing
  15531. a graphics context when no handle is created without triggering
  15532. handle creation. (Part of fix for #77456)
  15533. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  15534. * TextControl.cs:
  15535. - Switched Constructor to require TextBoxBase instead of Control (to
  15536. allow uncast access to CreateGraphicsInternal)
  15537. - Safeguarded use of owner.Handle property. No longer accessing it
  15538. unless the handle is already created.
  15539. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  15540. - Now triggering a recalc when owning control becomes visible
  15541. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  15542. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  15543. premature handle creation (Part of fix for #77456)
  15544. * Control.cs:
  15545. - We now only destroy our double-buffering buffers when the
  15546. control is resized or disposed, but not when visibility
  15547. changes. (The code even re-created them twice every time)
  15548. - Now requiring a redraw of the buffer on visibility changes
  15549. (fixes bug 77654 part 2)
  15550. - Not passing OnParentVisibleChanged up unless the control
  15551. is visible
  15552. - CanFocus: Fixed to match MS documentation
  15553. - Focus: Fixed to return actual focus state and to check if
  15554. setting focus is legal before setting it
  15555. 2006-03-08 Peter Dennis Bartok <[email protected]>
  15556. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  15557. when to draw focus rectangle by looking at parent focus and
  15558. selected state instead. This fixes TabPages on Linux sometimes
  15559. having none or multiple focus rectangles.
  15560. * XplatUIX11.cs (SetFocus):
  15561. - Don't set the focus if the same window already has focus
  15562. - Use SendMessage instead of PostMessage (like it's Win32
  15563. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  15564. to match MS behaviour
  15565. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  15566. are not selectable.
  15567. 2006-03-07 Jackson Harper <[email protected]>
  15568. * PictureBox.cs: Revert line I accidently committed last week.
  15569. 2006-03-07 Peter Dennis Bartok <[email protected]>
  15570. * Control.cs:
  15571. - Added new IsRecreating and ParentIsRecreating properties to
  15572. allow testing if RecreateHandle has been called on ourselves
  15573. or one of our parents
  15574. - WndProc(WM_DESTROY): If our control handle is being recreated
  15575. we immediately need to create the handle when receiving the
  15576. destroy, that way our child windows find a valid parent handle
  15577. when they themselves are being recreated upon WM_DESTROY receipt
  15578. (fix for bug #77654 part 1)
  15579. * XplatUIX11.cs:
  15580. - DestroyWindow: WM_DESTROY must be sent to our own window before
  15581. notifying any child windows. MS documents that child windows
  15582. are still valid when WM_DESTROY is received. (Control now relies on
  15583. this behaviour)
  15584. - Added some fine-grain debug options
  15585. 2006-03-06 Jackson Harper <[email protected]>
  15586. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  15587. box and base calculations off this.
  15588. * MdiChildContext.cs:
  15589. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  15590. anymore.
  15591. 2006-03-06 Peter Dennis Bartok <[email protected]>
  15592. * Splitter.cs: In situations where the affected control is added
  15593. to the parent's control list after the splitter, we would not
  15594. populate affected. Now we try populating it on mousedown, if
  15595. it's not already set, and force it to be re-set whenever our
  15596. parent changes.
  15597. 2006-03-03 Matt Hargett <[email protected]>
  15598. * Control.cs: implement Control.Padding
  15599. * Padding.cs: -Padding.All returns -1 when constructing with the
  15600. implicit default ctor
  15601. -Padding.ToString() matches MS.NET
  15602. * ContainerControl.cs: implement
  15603. ContainerControl.AutoScaleDimensions
  15604. * ListControl.cs: implement ListControl.FormattingEnabled
  15605. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  15606. * ButtonBase.cs:
  15607. * TabPage.cs: Implement UseVisualStyleBackColor.
  15608. * PictureBox.cs: Implement PictureBox.InitialImage.
  15609. 2006-03-03 Mike Kestner <[email protected]>
  15610. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  15611. event declarations to proxy to base event.
  15612. * ListViewItem.cs: update to use ItemControl.
  15613. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  15614. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  15615. column header label rendering for 0 width columns.
  15616. 2006-03-03 Peter Dennis Bartok <[email protected]>
  15617. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  15618. that causes the control to be created. Fixes #77476.
  15619. 2006-03-02 Jackson Harper <[email protected]>
  15620. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  15621. expose_pending.
  15622. 2006-03-02 Peter Dennis Bartok <[email protected]>
  15623. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  15624. passed in for the EventArgs (fixes #77690)
  15625. 2006-03-01 Jackson Harper <[email protected]>
  15626. * ScrollBar.cs: Refresh afterbeing resized.
  15627. 2006-02-28 Mike Kestner <[email protected]>
  15628. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  15629. Clean up a tracker compile warning.
  15630. * MenuItem.cs: add internal PerformPopup method.
  15631. [Fixes #77457]
  15632. 2006-02-28 Peter Dennis Bartok <[email protected]>
  15633. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  15634. implicit expose) when the text is set to null
  15635. 2006-02-28 Peter Dennis Bartok <[email protected]>
  15636. * RichTextBox.cs (FlushText): When newline is true, we always
  15637. need to split the line, even if no text is on it and we may
  15638. never eat newlines. (Fixes #77669)
  15639. 2006-02-28 Mike Kestner <[email protected]>
  15640. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  15641. and set Selected instead.
  15642. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  15643. collections.
  15644. 2006-02-28 Peter Dennis Bartok <[email protected]>
  15645. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  15646. 2006-02-28 Alexander Olk <[email protected]>
  15647. * FontDialog.cs:
  15648. - Got rid of the panel. All controls are now directly added to
  15649. the dialog form
  15650. - It is now possible to set a font with the Font property
  15651. - MinSize and MaxSize property do now what they should
  15652. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  15653. - Searching and selecting a font with the font textbox works now,
  15654. the same applies to the style and size textbox
  15655. - Draw the correct 3D border in the example panel
  15656. - Fixed a little mem leak (unused fonts didn't get disposed)
  15657. - Many other internal updates/rewrites...
  15658. - Fix typo
  15659. 2006-02-27 Peter Dennis Bartok <[email protected]>
  15660. * TextControl.cs:
  15661. - InsertRTFFromStream: Added 'number of characters inserted' argument
  15662. - set_SelectedRTF: Now using the number of characters to calculate
  15663. the new location for the selection and cursor (x/y cannot be used
  15664. due to potentially already wrapped text)
  15665. 2006-02-27 Peter Dennis Bartok <[email protected]>
  15666. * TextControl.cs: Added property and implemented means to allow
  15667. disabling recalculation of a document (can be used to speed up
  15668. multiple inserts and is needed to make RTF inserts predictable, see
  15669. bug #77659)
  15670. * RichTextBox.cs: Using the new NoRecalc property of Document to
  15671. keep x/y insert locations predictable. Also makes it faster inserting
  15672. large chunks of RTF
  15673. 2006-02-27 Peter Dennis Bartok <[email protected]>
  15674. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  15675. it's easier for a child control to handle the other messages without
  15676. having to duplicate the special functionality
  15677. * TextBoxBase.cs
  15678. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  15679. code to handle processing the key ourselves, in order to get
  15680. access to the result of KeyEventArgs.Handled. We now only call
  15681. ProcessKey if they key hasn't been handled already. Fixes #77526.
  15682. - set_Text: If null or empty string is given, just clear the
  15683. document. Fixes part of #77526
  15684. 2006-02-27 Jackson Harper <[email protected]>
  15685. * SizeGrip.cs: Paint the background color before painting the grip
  15686. so things look right.
  15687. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  15688. 2006-02-27 Mike Kestner <[email protected]>
  15689. * ListView.cs:
  15690. - Restructure layout and invalidation model to remove a ton of
  15691. flicker from the control and speed up performance in general.
  15692. - Add manual column resize, flickers like crazy, but I already have
  15693. some ideas on how I'll fix that. (#76822)
  15694. - Merge the three Icon-based views into a single layout method.
  15695. - Move item selection interaction logic from the item since
  15696. interaction with the collections is more appropriate to the view.
  15697. - Deselection on non-item clicks.
  15698. * ListViewItem.cs:
  15699. - Encapsulate most of the layout. Add some internal props to trigger
  15700. layout. Move to a model where Items invalidate themselves instead
  15701. of just invalidating the whole control every time something changes.
  15702. - Invalidate on Text/Caption changes.
  15703. - switch to an offset based layout model to avoid having to absolute
  15704. position every element on item moves.
  15705. - correct checkbox layout to conform to MS layout.
  15706. * ThemeWin32Classic.cs:
  15707. - refactor some column header drawing code.
  15708. - fix string justification for column headers (#76821)
  15709. - make SmallIcon labels top justified for compat with MS impl.
  15710. * ThemeClearlooks.cs:
  15711. - adjust to new ListViewItem internal checkbox bounds api.
  15712. 2006-02-27 Jackson Harper <[email protected]>
  15713. * Control.cs: Change where implicit controls fall in the zorder.
  15714. They are now on top of all children.
  15715. - Synced AddImplicit code with Add
  15716. - Removed unused enumerator.
  15717. * SizeGrip.cs: Remove the TODO as its been TODONE.
  15718. 2006-02-26 Peter Dennis Bartok <[email protected]>
  15719. * TextControl.cs(Insert): Combine the last lines unless the insertion
  15720. string ends with \n\n, otherwise we leave one line too many (Fixes
  15721. something I noticed with the testapp for #77526; the bug itself was
  15722. already fixed in the previous checkin)
  15723. 2006-02-26 Peter Dennis Bartok <[email protected]>
  15724. * RichTextBox.cs:
  15725. - SelectionColor and SelectionFont methods no longer set absolute
  15726. styles. Instead, the keep font or color respectively (This
  15727. resolves a long-standing FIXME in the code)
  15728. - When flushing RTF text, the insert code now considers text trailing
  15729. behind the insertion point (Fixes the bug where when replacing
  15730. the selected text via SelectedRTF the remainder of the line behind
  15731. the selection would stay on the first insertion line)
  15732. * TextBoxBase.cs:
  15733. - AppendText now updates the selection points after inserting text
  15734. - AppendText now ensures that the last tag (sometimes 0-length) of
  15735. the document is used for the style information (Fixes part of
  15736. bug #77220)
  15737. * TextControl.cs:
  15738. - Created new FontDefiniton class to allow describing partial style
  15739. changes
  15740. - StreamLine() now takes a lines argument, to allow it to decide
  15741. whether an encountered zero-length tag is the last in the document
  15742. (which must be kept to not loose the font/color contained in it,
  15743. for later appends)
  15744. - Created Combine() and Split() methods for Marker structs, to
  15745. support marker updates due to reformatted documents (soft line
  15746. wraps)
  15747. - Implemented Document.CaretTag setter
  15748. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  15749. of the last line (Not the cause, but also exposed by bug #77220)
  15750. - Added LineTag argument to InsertString method, to allow callers
  15751. to force a certain tag to be used (required to force use of the
  15752. trailing zero-length tag of a document)
  15753. - Now updating markers in Combine(), to avoid stale tag markers
  15754. - Added some method descriptions to aid maintenance
  15755. - Implemented new FormatText concept, allowing additive/subtractive
  15756. formatting by only specifying the components that are to be
  15757. changed. This was needed for resolving the RTB.SelectedColor/
  15758. RTB.SelectedFont fixmes
  15759. - Added Break() support method to allow breaking up linetags (used
  15760. for partial formatting)
  15761. - Added GenerateTextFormat() method. It is used for partial
  15762. formatting and allows to generate a full font/color from given
  15763. attributes and an existing tag.
  15764. 2006-02-26 Jackson Harper <[email protected]>
  15765. * XplatUIX11.cs: Use the correct caption height.
  15766. - Translate hittest coordinates to screen coords to match MS.
  15767. * XplatUIWin32.cs: When we create MDI windows we need to reset
  15768. some of the style flags, so we get a nice blank window, and can
  15769. draw all the decorations ourselves.
  15770. - Set a clipping rectangle on the non client paint event, the
  15771. window manager drawing code needs one.
  15772. * Form.cs: The window manager needs to know when the window state
  15773. has been updated.
  15774. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  15775. don't need to factor in border and title sizes in these
  15776. methods. TODO: Remove the args and fix the call points.
  15777. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  15778. properly.
  15779. - Let the driver set the cursors.
  15780. - Improve active window handling
  15781. - Correct sizes for title bars and buttons.
  15782. - Match MS drawing better
  15783. * MdiWindowManager.cs: We don't need to handle border style
  15784. updates specially anymore.
  15785. - Check for scrollbars when windows are done moving
  15786. - Handle Active properly.
  15787. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  15788. correctly. I am spewing the exception though, so we don't hide the
  15789. bugs.
  15790. 2006-02-26 Pedro Martinez Julia <[email protected]>
  15791. * DataGridViewRowPostPaintEventArgs.cs,
  15792. DataGridViewCellPaintingEventArgs.cs,
  15793. DataGridViewRowCollection.cs,
  15794. DataGridViewRowPrePaintEventArgs.cs,
  15795. DataGridViewCell.cs: Clear a few warnings and implement a few
  15796. exceptions that should be thrown.
  15797. 2006-02-22 Peter Dennis Bartok <[email protected]>
  15798. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  15799. 'inheriting' our parent's (non-default) cursor. (Part of
  15800. the fix for #77479)
  15801. 2006-02-22 Peter Dennis Bartok <[email protected]>
  15802. * XplatUIX11.cs: Fixed cast to make csc happy
  15803. 2006-02-22 Peter Dennis Bartok <[email protected]>
  15804. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  15805. it's for the client area (part of fix for #77479 and needed
  15806. for MDI window cursor handling)
  15807. * XplatUIX11.cs
  15808. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  15809. the appropriate default cursors and also passing the message
  15810. up the parent chain
  15811. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  15812. for non-client areas
  15813. 2006-02-15 Jackson Harper <[email protected]>
  15814. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  15815. is a real MDI window
  15816. 2006-02-14 Alexander Olk <[email protected]>
  15817. * X11DesktopColors.cs: Instead of checking the desktop session
  15818. string for "KDE" check if it starts with "KDE"
  15819. 2006-02-10 Jackson Harper <[email protected]>
  15820. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  15821. systems).
  15822. 2006-02-10 Alexander Olk <[email protected]>
  15823. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  15824. errors
  15825. * ColorDialog.cs:
  15826. - Got rid of the panel. All controls are now directly added to
  15827. the dialog form
  15828. - Changed to mono coding style
  15829. 2006-02-10 Jackson Harper <[email protected]>
  15830. * InternalWindowManager.cs: We don't need the set visibility to
  15831. false hack anymore now that peter has written beautiful shutdown
  15832. code.
  15833. 2006-02-10 Peter Dennis Bartok <[email protected]>
  15834. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  15835. where already explicitly destroyed
  15836. 2006-02-10 Jackson Harper <[email protected]>
  15837. * MdiClient.cs: Handle the case where windows are too high or to
  15838. the left and we need scrollbars.
  15839. 2006-02-10 Alexander Olk <[email protected]>
  15840. * MimeIcon.cs: Added some icons
  15841. * FileDialog.cs:
  15842. - Fixed bug #77477
  15843. - Got rid of the panel. All controls are now directly added to
  15844. the dialog form
  15845. - Changed to mono coding style
  15846. - On Linux "My Computer" and "My Network" will now show some
  15847. more usefull information. A new class, MasterMount, gathers
  15848. this information from /proc/mount. Updated MWFFileView to make
  15849. use of this information
  15850. - Fixed a bug that caused FileDialog to crash when
  15851. ".recently_used" file had a zero size
  15852. - FilterIndex does now what it should
  15853. - Some Refactoring
  15854. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  15855. FileDialog changes
  15856. 2006-02-09 Jackson Harper <[email protected]>
  15857. * ComboBox.cs: Don't touch if null.
  15858. 2006-02-09 Peter Dennis Bartok <[email protected]>
  15859. * Cursor.cs: 64bit safeness fix
  15860. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  15861. 2006-02-09 Jackson Harper <[email protected]>
  15862. * Form.cs: If a form is made into an MDI form update the styles so
  15863. all the props can get set correctly.
  15864. - Kill the mdi_container when we dont need it anymore.
  15865. * InternalWindowManager.cs: Add missing NOT
  15866. 2006-02-08 Jackson Harper <[email protected]>
  15867. * InternalWindowManager.cs: Respek clipping when drawing MDi
  15868. decorations.
  15869. 2006-02-08 Jackson Harper <[email protected]>
  15870. * Hwnd.cs: Add bits to track non client expose events.
  15871. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  15872. gives us a proper invalid rect and will allow for some nice
  15873. optimizations with NC client drawing
  15874. - MDI windows are children windows, so move their style handling
  15875. into the child window block.
  15876. * InternalWindowManager.cs: Remove a state reset that was
  15877. getting invoked at the wrong time. Fixes managed windows getting
  15878. into a 'stuck' captured state.
  15879. 2006-02-07 Peter Dennis Bartok <[email protected]>
  15880. * TextControl.cs (Document.ctor): Now initializing
  15881. selection_anchor. Fixes #77493
  15882. 2006-02-07 Jackson Harper <[email protected]>
  15883. * TrackBar.cs: The increment/decrements were backwards.
  15884. 2006-02-07 Mike Kestner <[email protected]>
  15885. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  15886. to the instance itself.
  15887. 2006-02-07 Peter Dennis Bartok <[email protected]>
  15888. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  15889. on ulongs and pointers, the size differs between 32bit and 64bit
  15890. systems.
  15891. 2006-02-07 Mike Kestner <[email protected]>
  15892. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  15893. for 64 bit platforms to work around a metacity bug.
  15894. 2006-02-07 Jackson Harper <[email protected]>
  15895. * TrackBar.cs: Process the input keys we need, and hookup to
  15896. KeyDown instead of using WndProc, so we get key messages.
  15897. 2006-02-06 Peter Dennis Bartok <[email protected]>
  15898. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  15899. machine we're on.
  15900. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  15901. we need to translate the XdndVersion atoms array before sending it
  15902. 2006-02-06 Peter Dennis Bartok <[email protected]>
  15903. * XplatUIX11.cs:
  15904. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  15905. number of bits for the property, not the number of bytes. The
  15906. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  15907. but would not crash since it specified 8 bits instead of 4 bits)
  15908. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  15909. defined as XID -> long in the C headers)
  15910. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  15911. references since those are now IntPtr to begin with
  15912. - Switched all Atom.XXX 'int' casts to IntPtr casts
  15913. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  15914. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  15915. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  15916. * X11Structs.cs:
  15917. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  15918. - Changed atom in HoverStruct to be IntPtr
  15919. * X11DnD.cs:
  15920. - Removed local DllImports, switched code to use those from XplatUIX11
  15921. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  15922. 2006-02-06 Mike Kestner <[email protected]>
  15923. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  15924. method signatures in the import region. There may still be some
  15925. lingering struct marshaling issues, as I didn't drill down into those.
  15926. Yet.
  15927. 2006-02-06 Jackson Harper <[email protected]>
  15928. * ComboBox.cs: Dont manually set the top_item, this is computed
  15929. when the scrollbar position is set.
  15930. 2006-02-06 Mike Kestner <[email protected]>
  15931. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  15932. startup crashes on amd64. There's other fixes needed. All pinvoke
  15933. usage of Atom needs to be mapped to IntPtr for example. And there are
  15934. likely other int/long issues to be addressed.
  15935. 2006-02-04 Alexander Olk <[email protected]>
  15936. * FileDialog.cs: One more...
  15937. 2006-02-03 Alexander Olk <[email protected]>
  15938. * FileDialog.cs: Next try
  15939. 2006-02-03 Alexander Olk <[email protected]>
  15940. * FileDialog.cs: First part of fix for #77464
  15941. 2006-02-03 Alexander Olk <[email protected]>
  15942. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  15943. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  15944. AcceptButton border drawing.
  15945. 2006-02-03 Peter Dennis Bartok <[email protected]>
  15946. * Form.cs: Moved positioning of form after auto scaling is applied,
  15947. otherwise it would possibly use wrong form size.
  15948. 2006-02-03 Peter Dennis Bartok <[email protected]>
  15949. * Control.cs (RecreateHandle): No need to re-create any child
  15950. controls, the child windows will get destroyed automatically by
  15951. the windowing system or driver, and re-created when the handle
  15952. is being accessed the first time. Fixes #77456
  15953. * Form.cs: No longer setting the form to closing if the handle is
  15954. being recreated. This seems like the right thing to do, don't
  15955. have a bug or testcase for this, though.
  15956. 2006-02-02 Peter Dennis Bartok <[email protected]>
  15957. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  15958. controls to avoid unwanted side effects
  15959. 2006-02-02 Peter Dennis Bartok <[email protected]>
  15960. * Control.cs:
  15961. - ScaleCore needs to scale the bounds, not the ClientSize of the
  15962. control. Fixes #77416.
  15963. - DefaultSize is 0,0 for control
  15964. * TextBoxBase.cs:
  15965. - DefaultSize is 100, 20
  15966. - SetBoundsCore: Now enforcing the height, no matter if the provided
  15967. height is more or less than the preferred one, as long as AutoSize
  15968. is on
  15969. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  15970. 2006-02-02 Peter Dennis Bartok <[email protected]>
  15971. * Control.cs:
  15972. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  15973. call unless both performLayout is true *and* we have a pending
  15974. layout change
  15975. - ResumeLayout: MS does not completely nest Suspend and Resume,
  15976. they bottom out at 0, fixed our code to match that.
  15977. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  15978. SetBoundsCore, we were updating even when we shouldn't. This fixes
  15979. swf-anchors mis-anchoring when resizing the app fast and lots.
  15980. - UpdateDistances: Now only setting the left and top distance if
  15981. we have a parent and are not suspended, this is based on
  15982. a suggestion by Don Edvaldson in bug #77355.
  15983. - OnVisibleChanged: Fixed logic when to create the control. We may
  15984. not create the control if we have no parent or if it's not visible;
  15985. switched to using Visible property instead of is_visible field
  15986. since the property also considers parent states. This fixes a bug
  15987. when starting Paint.Net
  15988. 2006-02-02 Jackson Harper <[email protected]>
  15989. * Form.cs: If the forms handle hasn't been created yet don't call
  15990. into xplatui to make it top most, just set the topmost flag on the
  15991. form in CreateParams
  15992. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  15993. 2006-02-01 Jackson Harper <[email protected]>
  15994. * ScrollableControl.cs: Refactored the Recalculate method a
  15995. little, this wasn't handling all the variants of bottom and right
  15996. bars needed to be added and added/removed based on their
  15997. counterparts being added/removed (which changes the drawable
  15998. size). Also we special case client widths and heights of 0 and
  15999. don't add the scrollbar for those.
  16000. 2006-02-01 Peter Dennis Bartok <[email protected]>
  16001. * XplatUIX11.cs:
  16002. - Added method to get AbsoluteGeometry(); currently unused, but might
  16003. be used in the future, if we try again to figure out toplevel
  16004. coordinates with some more crappy window managers
  16005. - Added FrameExtents() method to retrieve the WM set decoration size
  16006. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  16007. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  16008. * Hwnd.cs:
  16009. - Added whacky_wm tracking var for metacity
  16010. - Added logic to have default menu height if the actual menu height
  16011. has not yet been calculated (part of fix for #77426)
  16012. * Form.cs: Keep track whether client size has been set and re-set
  16013. it if a menu is added/removed afterwards (Fixes #77426)
  16014. 2006-01-31 Jackson Harper <[email protected]>
  16015. * Control.cs: When a new Site is set on the component attempt to
  16016. pull the AmbientProperties from it.
  16017. 2006-01-31 Peter Dennis Bartok <[email protected]>
  16018. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  16019. in the background of the owning form. Fixes #77332
  16020. 2006-01-31 Alexander Olk <[email protected]>
  16021. * MimeIcon.cs: Fix for #77409
  16022. 2006-01-31 Alexander Olk <[email protected]>
  16023. * XplatUIX11GTK.cs: Initial import
  16024. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  16025. * FixedSizeTextBox: fixes class signature
  16026. 2006-01-30 Jackson Harper <[email protected]>
  16027. * FixedSizeTextBox.cs: New internal class that represents a
  16028. textBox that will not be scaled.
  16029. * TreeView.cs:
  16030. * ComboBox.cs:
  16031. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  16032. standard TextBox.
  16033. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16034. * XplatUIX11.cs: Retrieve default screen number instead of
  16035. assuming 0. Attempted fix for #77318
  16036. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16037. * XplatUIWin32.cs:
  16038. - GetWindowPos: When a window is parented by FosterParent, use
  16039. the desktop instead of FosterParent as the base to get coordinates
  16040. - CreateWindow: Don't make FosterParent the parent window for Popups
  16041. if we don't want a taskbar entry, Popups automatically don't get one
  16042. * Hwnd.cs: Need to call remove to actually remove the key from the
  16043. hash table
  16044. 2006-01-30 Mike Kestner <[email protected]>
  16045. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  16046. 2006-01-30 Jackson Harper <[email protected]>
  16047. * TreeView.cs:
  16048. * TreeNode.cs: Raise events no matter how the treenode is
  16049. checked. Patch by Don Edvalson.
  16050. 2006-01-30 Jackson Harper <[email protected]>
  16051. * TreeNode.cs: Signature fix.
  16052. 2006-01-29 Alexander Olk <[email protected]>
  16053. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  16054. 2006-01-20 Mike Kestner <[email protected]>
  16055. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  16056. event forwarding when menus are active.
  16057. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  16058. Most of the patch is pdb's with a little rework.
  16059. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16060. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  16061. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  16062. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  16063. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  16064. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  16065. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  16066. the PaintWindowDecorations method
  16067. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  16068. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  16069. * MenuAPI.cs: Made tracker window invisible
  16070. * XplatUIWin32.cs:
  16071. - Removed GetMenuDC and ReleaseMenuDC methods
  16072. - Implemented the client=false path for PaintEventStart and
  16073. PaintEventEnd
  16074. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16075. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  16076. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  16077. styles
  16078. * Form.cs:
  16079. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  16080. the style
  16081. - CreateParams: Reworked the styles to match MS look'n'feel,
  16082. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  16083. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  16084. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16085. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  16086. window is not mapped, since otherwise every form that's being
  16087. created is considered minimized, which is wrong.
  16088. * Form.cs: Catching the exception and returning our internal value
  16089. instead
  16090. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16091. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  16092. SetWindowMinMax() to have means to tell the driver about the minimum,
  16093. maximum and maximized state window sizes. (Part of the fix for #76485)
  16094. * Form.cs:
  16095. - Implemented tracking of minimum and maximum window size, now calling
  16096. new SetWindowMinMax() driver method to tell the driver (Part of the
  16097. fix for #76485)
  16098. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  16099. (Completes fix for #76485)
  16100. - Calling new SetWindowMinMax driver method when the handle for a
  16101. form is created, to make sure the driver knows about it even if
  16102. the values have been set before the window was created
  16103. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  16104. to avoid messing up our anchoring calculations (partial fix
  16105. for #77355)
  16106. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  16107. * XplatUIX11.cs:
  16108. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  16109. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  16110. (and presumably other freedesktop.org compliant WMs). Left the
  16111. assumption unmapped=minimized, needed for SetVisible to work.
  16112. - Now setting the window state when creating windows
  16113. - Fixed SetVisible to consider/set the window state when mapping
  16114. a Form. We cannot set the state before it's mapped, and we cannot
  16115. use Form.WindowState once it's mapped (since it would ask the
  16116. driver and get 'normal'. Therefore, we grab the state before
  16117. mapping, map, and then set state.
  16118. - Implmemented SetWindowMinMax method; Metacity does not seem to
  16119. honor the ZoomHints, though.
  16120. * XplatUIWin32.cs:
  16121. - Removed MINMAXINFO (moved to XplatUIStructs)
  16122. - Added SetWindowMinMax stub (on Win32 the only way to set that
  16123. information is in response to the WM_GETMINMAXINFO message, which
  16124. is handled in Form.cs)
  16125. - Added logic to SetVisible to set the proper window state when a
  16126. form is made visible (fixes #75720)
  16127. 2006-01-26 Jackson Harper <[email protected]>
  16128. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  16129. same way we handle them with Invoke.
  16130. 2006-01-25 Peter Dennis Bartok <[email protected]>
  16131. * Form.cs:
  16132. - Added tracking of window state so CreateParams can return
  16133. the appropriate style
  16134. - Moved setting of WS_CAPTION style in CreateParams to allow
  16135. styles without caption
  16136. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  16137. control if the TextBox property is accessed. Fixes #77345
  16138. * Control.cs:
  16139. - get_Created: now uses is_disposed and is_created to determine
  16140. return value (suggested by Jackson)
  16141. - CreateHandle: No longer exits if the handle is being recreated
  16142. - RecreateHandle: If the handle is not yet created call the
  16143. appropriate method to create either control or handle. If the
  16144. control is already created CreateHandle will simply exit instead
  16145. of just creating the handle
  16146. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  16147. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  16148. is called.
  16149. * XplatUIX11.cs:
  16150. - When DestroyWindow is called, instead of waiting for the
  16151. DestroyNotification from X11, we directly post it to the WndProc
  16152. and immediately dispose the hwnd object.
  16153. Same applies to DestroyChildWindows, and this obsoletes the
  16154. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  16155. child windows before our own, to avoid X11 errors.
  16156. - Removed the direct sending of WM_PAINT on UpdateWindow
  16157. * XplatUIWin32.cs:
  16158. - Reworked DoEvents and GetMessage to allow access to internal queue
  16159. even when trying non-blocking access to the queue. Fixes #77335.
  16160. Based on a patch suggestion by Don Edvalson. The new private
  16161. GetMessage can now also be used as a backend for a PeekMessage
  16162. frontend version.
  16163. * XplatUI.cs: Improved debug output for CreateWindow
  16164. 2006-01-25 Jackson Harper <[email protected]>
  16165. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  16166. 2006-01-24 Jackson Harper <[email protected]>
  16167. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  16168. when we have a MaxDropItems lower then the selected index.
  16169. 2006-01-24 Jackson Harper <[email protected]>
  16170. * Control.cs: Don't allow selection of non visible controls, allow
  16171. selection of controls without parents.
  16172. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  16173. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  16174. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  16175. 2006-01-23 Jackson Harper <[email protected]>
  16176. * UpDownBase.cs: Make the textbox handle all the selection and
  16177. tabbing. This fixes tabing to updown controls.
  16178. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  16179. * TextBoxBase.cs: fixes exception thown the object was null
  16180. 2006-01-23 Jackson Harper <[email protected]>
  16181. * ButtonBase.cs: Just use the base CreateParams. They set
  16182. visibility and enabled correctly.
  16183. * ComboBox.cs:
  16184. * TrackBar.cs:
  16185. * MonthCalendar.cs: Lets let the base set as much of the
  16186. createparams as possible so we don't have duplicate code all over
  16187. the place.
  16188. 2006-01-22 Alexander Olk <[email protected]>
  16189. * ThemeGtk.cs: Added TrackBar and some experimental code to
  16190. get double buffering back
  16191. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  16192. * DataGrid.cs: Allows row number set internally higher than the last
  16193. when creating a new row. Restores the editing functionality.
  16194. 2006-01-20 Mike Kestner <[email protected]>
  16195. * MimeIcon.cs: delay Image creation until the icons are accessed
  16196. instead of creating 190 scaled images on GnomeHandler startup.
  16197. 2006-01-19 Peter Dennis Bartok <[email protected]>
  16198. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  16199. first call base before processing the event. Fixes #77279
  16200. 2006-01-19 Peter Dennis Bartok <[email protected]>
  16201. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  16202. that the stride for the GDI bitmap would match the stride of
  16203. a DIB or a Cursor.
  16204. 2006-01-19 Alexander Olk <[email protected]>
  16205. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  16206. 2006-01-19 Jackson Harper <[email protected]>
  16207. * ComboBox.cs: Hookup the text controls keydown event so we get
  16208. those when the text control has the focus.
  16209. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16210. * Label.cs: Now using the base events instead of defining new ones;
  16211. this allows us to just call the base properties without having to
  16212. duplicate all base property logic
  16213. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16214. * Label.cs: A label by default is not a tabstop (Fixes one of our
  16215. failing nunit tests)
  16216. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16217. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  16218. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  16219. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16220. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  16221. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  16222. This fixes #77218
  16223. * XplatUIWin32.cs:
  16224. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  16225. constructor creates images that can't be saved. Part of the fix
  16226. for #76103
  16227. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  16228. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  16229. bug fix for handling window state in forms properly)
  16230. 2006-01-18 Alexander Olk <[email protected]>
  16231. * ThemeGtk.cs: Simplify ScrollBar drawing
  16232. 2006-01-18 Jackson Harper <[email protected]>
  16233. * Splitter.cs: Set the default dock style for the splitter control
  16234. in the constructor.
  16235. 2006-01-18 Alexander Olk <[email protected]>
  16236. * ThemeGtk.cs: Corrected StateType and ShadowType for
  16237. gtk_paint_box
  16238. 2006-01-18 Alexander Olk <[email protected]>
  16239. * Control.cs: Make use of Theme.DoubleBufferingSupported
  16240. * ThemeGtk.cs:
  16241. - Added drawing for flat style buttons
  16242. - Added ScrollBar drawing
  16243. 2006-01-18 Alexander Olk <[email protected]>
  16244. * ThemeClearlooks.cs: Removed some unneeded code.
  16245. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  16246. 2006-01-17 Peter Dennis Bartok <[email protected]>
  16247. * LinkLabel.cs: We need to update the hover drawing when
  16248. leaving the control as well.
  16249. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  16250. * DataGrid.cs: Clicking on non empty areas in the columns
  16251. area was giving an exception
  16252. 2006-01-17 Jackson Harper <[email protected]>
  16253. * ThemeWin32Classic.cs:
  16254. * ListView.cs: Do not draw/clip the headers when the header style
  16255. is None.
  16256. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  16257. * DataGrid.cs: Fixes 77260
  16258. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  16259. * DataGrid.cs: Clicking on a column on a empty grid was giving
  16260. an exception
  16261. 2006-01-17 Peter Dennis Bartok <[email protected]>
  16262. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  16263. or any keypress will crash the grid.
  16264. 2006-01-17 Mike Kestner <[email protected]>
  16265. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  16266. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  16267. invisible/previously-visible items.
  16268. [Fixes #76909]
  16269. 2006-01-17 Alexander Olk <[email protected]>
  16270. * ThemeClearlooks.cs:
  16271. - Added CL_Draw_Button method; now other theme controls that are
  16272. not derived from button or do not have a button can draw buttons
  16273. too
  16274. - Updated ComboBox drawing
  16275. - Beautified RadioButton drawing
  16276. - Corrected drawing of bottom and left tabs
  16277. - Beautified DateTimePicker and MonthCalendar
  16278. - Added CPDrawButton and CPDrawRadioButton
  16279. 2006-01-16 Jackson Harper <[email protected]>
  16280. * ComboBox.cs: Set the initial value of the scrollbar to the
  16281. current index. Reduce the numbers of refreshs and IndexOfs called.
  16282. 2006-01-14 Alexander Olk <[email protected]>
  16283. * FileDialog.cs: When the file listview is focused hitting the
  16284. backspace key moves the fileview to the parent directory
  16285. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16286. * Form.cs:
  16287. - Added RecreateHandle call when changing taskbar visibility to
  16288. trigger reparenting in Win32 driver (Fixes #75719)
  16289. - If a window has minimize or maximize buttons, it cannot have
  16290. a help button
  16291. * XplatUIWin32.cs:
  16292. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  16293. the toplevel form with FosterParent (A toolwindow not on the
  16294. taskbar) (Fixes #75719)
  16295. - Made FosterParent a toolwindow
  16296. 2006-01-13 Alexander Olk <[email protected]>
  16297. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  16298. 2006-01-13 Alexander Olk <[email protected]>
  16299. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  16300. is currently over that control, make sure that tooltip_window.Text
  16301. gets updated
  16302. 2006-01-13 Mike Kestner <[email protected]>
  16303. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  16304. 2006-01-13 Jackson Harper <[email protected]>
  16305. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  16306. value passed. Also redraw the selected node when we recieve
  16307. focus, so tabbing between trees works correctly.
  16308. 2006-01-13 Alexander Olk <[email protected]>
  16309. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  16310. ~/.gconf/%gconf-tree.xml, so use
  16311. .gconf/desktop/gnome/interface/%gconf.xml
  16312. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16313. * TextControl.cs: Draw text in gray if control is disabled
  16314. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16315. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  16316. make sure it's always visible. Fixes #76680.
  16317. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16318. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  16319. 2006-01-13 Jonathan Chambers <[email protected]>
  16320. * PageSetupDialog.cs: Added.
  16321. * PrintDialog.cs: Attributes.
  16322. * PrintPreviewControl.cs: Updates.
  16323. * PrintPreviewDialog.cs: Updates.
  16324. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16325. * Control.cs: Undid my selection check fix, since it's not needed
  16326. * TextBoxBase.cs:
  16327. - Now considering the presence of hscroll/vscroll when sizing
  16328. vscroll/hscroll respectively. Fixed bug #77077
  16329. - Added Left/Up/Down/Right to IsInputKey list to prevent
  16330. ContainerControl from stealing them. This fixes what I broke
  16331. with my last checkin.
  16332. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16333. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  16334. I finally understand how the property can be set without a setter :-)
  16335. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16336. * Application.cs:
  16337. - Switched RunLoop to use static Message.Create to create a
  16338. Message object
  16339. - Added PreProcessMessage call in runloop for keyboard events; this
  16340. is part of the fix for #77219, I overlooked this originally in the
  16341. MSDN doc for PreProcessMessage
  16342. * Control.cs:
  16343. - Removed call to PreProcessMessage from handling of keyboard
  16344. messages; it's supposed to be done in the message pump
  16345. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  16346. per MSDN documentation.
  16347. - IsInputChar: All chars are input chars by default; removed the
  16348. parent calling chain, MS does not document that
  16349. - PreProcessMessage: If IsInputChar is true, we want to return false
  16350. to allow dispatching of the message
  16351. - When selecting the next control, now also check that we're not
  16352. selecting ourselves again and therefore return a false positive.
  16353. * TextBoxBase.cs:
  16354. - Tried to match return values for IsInputKey and ProcessDialogKey
  16355. to what MS returns; moved processing of our special keys outside
  16356. ProcessDialogKey since MS does not seem to return true on those.
  16357. - Moved code that previously was in ProcessDialogKey into new private
  16358. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  16359. - Reworked handling of WM_CHAR to not have to duplicate code from
  16360. Control.cs anymore, instead we simply call down to base.
  16361. 2006-01-12 Jackson Harper <[email protected]>
  16362. * ComboBox.cs: We always need to refresh the text area when
  16363. EndUpdate is called. Fixes the combobox in the file dialog.
  16364. * Control.cs: Don't create the creator_thread until the controls
  16365. handle is created. Also in InvokeRequired we check if the
  16366. creator_thread is null. This gives the effect of InvokeRequired
  16367. returning true if the controls handle is not created yet, and
  16368. matches MS.
  16369. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16370. * XplatUI.cs:
  16371. - Added StartLoop() driver method. This is used to allow drivers to
  16372. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  16373. loop for a particular thread
  16374. - Added EndLoop() driver method. This is called once the message
  16375. pump for the thread is shut down
  16376. - Added SupportsTransparency method to allow the driver to indicate
  16377. opacity support for windows
  16378. * Form.cs:
  16379. - Removed TODO attribute, completed AllowTransparency property
  16380. - Added documented logic to Opacity
  16381. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  16382. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  16383. versions of CompatibleTextRendering
  16384. * X11Structs.cs: Added opacity atom to our atom enumeration
  16385. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  16386. of a form might be set before it's reparented by the WM, and we need
  16387. the opacity value without calling up to Form)
  16388. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  16389. SupportsTransparency() driver methods
  16390. * Application.cs: Now calling StartLoop and EndLoop driver methods
  16391. * XplatUIX11.cs:
  16392. - Added opacity atom registration
  16393. - Added StartLoop()/EndLoop() methods. They're empty right now but
  16394. will need to get implemented when we switch to a per-thread queue
  16395. - Implemented SupportsTransparency() method
  16396. - Implemented SetWindowTransparency() method
  16397. - Added support for setting the opacity value when a window is
  16398. reparented (since the opacity needs to be set on the WM frame)
  16399. * XplatUIOSX.cs, XplatUIWin32.cs:
  16400. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  16401. 2006-01-12 Alexander Olk <[email protected]>
  16402. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  16403. 2006-01-12 Alexander Olk <[email protected]>
  16404. * FileDialog.cs: Added ToolTip for MWFFileView
  16405. * MimeIcon.cs: Rewrote GnomeHandler.
  16406. - Get currently used gnome icon theme from
  16407. ($HOME)/.gconf/%gconf-tree.xml
  16408. - Make use of inherited icon themes
  16409. - Support SVG icon themes like Tango via librsvg
  16410. 2006-01-12 Miguel de Icaza <[email protected]>
  16411. Revert's Jackson's revert which broke 2.0 builds. Fix both
  16412. builds.
  16413. * Application.cs: Move the use_compatible_text_rendering outside
  16414. the NET_2_0 define. If we ever need to use the
  16415. use_compatible_text_rendering on the individual controls they will
  16416. access the variable from the common shared code paths.
  16417. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16418. * XplatUI.cs:
  16419. - Added more granular debug options
  16420. - Added method to print both window text and id
  16421. - Switched debug output to use new Window() debug method
  16422. - Added IsEnabled() driver method
  16423. - Added EnableWindow() driver method
  16424. * Form.cs:
  16425. - Removed end_modal; no longer needed, new loop handles termination
  16426. via 'closing' variable
  16427. - If form is modal, setting DialogResult will now initiate loop
  16428. termination via 'closing' variable
  16429. - Added support for is_enabled/WS_DISABLED to CreateParams
  16430. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  16431. does all the work
  16432. - Removed code that's now in RunLoop from ShowDialog()
  16433. - Added various documented sanity checks to ShowDialog()
  16434. - Added handling of WM_DESTROY message; we set 'closing' on getting
  16435. the message to indicate the message pump to terminate
  16436. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  16437. send by the Application.ExitThread method. (We send the message
  16438. to destroy the window after all other events have been
  16439. processed through the queue, instead of destroying the handle
  16440. directly)
  16441. - Moved code from Close() method to WM_CLOSE handler; added logic
  16442. to only send close-related events if the form is not displayed
  16443. modal
  16444. * Splitter.cs (..ctor): Fixed typo in resource name
  16445. * Control.cs:
  16446. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  16447. brush now
  16448. - set_Cursor: Now only setting calling into XplatUI if the handle for
  16449. the control is already created; this avoids implict handle creation
  16450. or crashes if it's not created
  16451. - set_Enabled: Now setting the enabled state via the new driver method
  16452. instead of just tracking it
  16453. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  16454. - CreateControl: Reordered event firing and method calls to more
  16455. closely fire events in the order MS does. Now setting the
  16456. enabled state in the driver when creating the control.
  16457. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  16458. match MS order
  16459. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  16460. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  16461. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  16462. * Hwnd.cs:
  16463. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  16464. - Added EnabledHwnd property to easily allow a driver to find the
  16465. handle of the first enabled window in the parent chain (this is
  16466. used by drivers to pass up input events of disabled windows)
  16467. * XplatUIDriver.cs: Added IsEnabled() method
  16468. * Application.cs:
  16469. - Removed crude and obsolete exiting tracking variable
  16470. - Removed internal ModalRun(); replaced by RunLoop()
  16471. - Implemented private CloseForms() method to allow closing all
  16472. windows owned by a particular (or all) threads
  16473. - Exit() now properly closes all windows without forcing the message
  16474. pump to quit
  16475. - Removed obsolete InternalExit() method
  16476. - Changed Run() methods to use new RunLoop() message pump
  16477. - Implemented new RunLoop() method for both modal and non-modal forms
  16478. * CommonDialog.cs:
  16479. - get_CreateParams: Added setting of WS_DISABLED
  16480. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  16481. invoked via Form.ShowDialog()
  16482. * NativeWindow.cs: We don't remove the window from the collection when
  16483. the handle is destroyed; there might still be messages for it in the
  16484. queue (mainly the resulting WM_DESTROY); instead it will be removed
  16485. when Control calls InvalidateHandle in the WM_DESTROY handler
  16486. * XplatUIX11.cs:
  16487. - CreateWindow: Added logic to handle the WS_DISABLED window style
  16488. - EnableWindow: Implemented based on Hwnd.Enabled
  16489. - GetMessage: Reset PostQuitState so the method can be called again
  16490. - Implemented support for disabled windows (passing messages to the
  16491. first enabled parent) in handling all input messages
  16492. - Added optimizations for handling Expose events
  16493. - Implemeted new driver method IsEnabled()
  16494. - Now always resetting paint pending tracking vars when we start paint
  16495. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  16496. * XplatUIOSX.cs: Added IsEnabled method stub
  16497. * XplatUIWin32.cs: Implemented new IsEnabled() method
  16498. 2006-01-11 Jackson Harper <[email protected]>
  16499. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  16500. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  16501. variables a little.
  16502. * ColorDialog.cs: Clear out the old form before adding the new
  16503. panel.
  16504. 2006-01-11 Jackson Harper <[email protected]>
  16505. * X11Dnd.cs: Make sure to add all the text formats when adding
  16506. strings to the data object.
  16507. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  16508. do some redrawing too. Also change the UpdateNode to an
  16509. UpdateBelow so the newly added node gets painted.
  16510. 2006-01-11 Miguel de Icaza <[email protected]>
  16511. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  16512. LinkLabel.cs, PropertyGrid.cs: Implement the
  16513. UseCompatibleTextRendering property for 2.x
  16514. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  16515. 2006-01-11 Jackson Harper <[email protected]>
  16516. * TreeView.cs: Use the property for setting the selected node so
  16517. the correct events get raised.
  16518. * TreeNode.cs: Update the tree when the fore/back colours of a
  16519. node are set.
  16520. 2006-01-10 Jackson Harper <[email protected]>
  16521. * TreeView.cs: Allow setting SelectedNode to null.
  16522. 2006-01-9 Jonathan Chambers <[email protected]>
  16523. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  16524. 2006-01-9 Jonathan Chambers <[email protected]>
  16525. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  16526. 2006-01-9 Jonathan Chambers <[email protected]>
  16527. * PrintDialog.cs: Added attributes and set default property values.
  16528. 2006-01-9 Jonathan Chambers <[email protected]>
  16529. * PrintControllerWithStatusDialog.cs:
  16530. Added PrintControllerWithStatusDialog.
  16531. 2006-01-9 Jonathan Chambers <[email protected]>
  16532. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  16533. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  16534. 2006-01-9 Jonathan Chambers <[email protected]>
  16535. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  16536. 2006-01-09 Jonathan Chambers <[email protected]>
  16537. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  16538. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  16539. 2006-01-08 Alexander Olk <[email protected]>
  16540. * MimeIcon.cs: Added internal class SVGUtil.
  16541. 2006-01-08 Alexander Olk <[email protected]>
  16542. * FileDialog.cs: Don't crash if there are two files with the
  16543. same name but different locations.
  16544. 2006-01-08 John BouAntoun <[email protected]>
  16545. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  16546. dates across multiple month grids. Used to not highlight entire
  16547. month, but does now.
  16548. 2006-01-06 Jackson Harper <[email protected]>
  16549. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  16550. message loop. Change timer intervals to numbers that seem more
  16551. natural.
  16552. 2006-01-06 John BouAntoun <[email protected]>
  16553. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  16554. object for location info since screen object is now implemented.
  16555. 2006-01-05 Jackson Harper <[email protected]>
  16556. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  16557. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  16558. AsyncMethodResult, this is because we ALWAYS want the
  16559. ManualResetEvent to get set.
  16560. * Control.cs: When disposing use an async invoke to call shutdown
  16561. code, so that thigns don't block on the finalizer thread. Also
  16562. check if we even have a message loop before trying to send
  16563. messages, if we don't then don't bother sending messages.
  16564. - No more weak references for async methods
  16565. * XplatUIDriver.cs: No more weak references for async methods.
  16566. 2006-01-04 Alexander Olk <[email protected]>
  16567. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  16568. returns two FontFamily with the same name
  16569. 2006-01-04 Peter Dennis Bartok <[email protected]>
  16570. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  16571. drawing disabled text. Instead using the ColorGrayText color
  16572. 2006-01-04 Jackson Harper <[email protected]>
  16573. * TreeNode.cs: redraw the node when its image index is changed.
  16574. 2006-01-04 Peter Dennis Bartok <[email protected]>
  16575. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  16576. time I checked there are no others like it.
  16577. 2006-01-04 Jackson Harper <[email protected]>
  16578. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  16579. this gives the behavoir I was looking for.
  16580. * Control.cs: Special case Invoking EventHandlers, this matches MS
  16581. and fixes part of bug #76326.
  16582. 2006-01-04 Alexander Olk <[email protected]>
  16583. * ThemeClearlooks.cs, FileDialog.cs:
  16584. - Reflect the latest Theme class changes
  16585. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  16586. with DateTime
  16587. 2006-01-04 Alexander Olk <[email protected]>
  16588. * Theme.cs: Cache UI resource images and resize them if needed
  16589. 2006-01-03 Peter Dennis Bartok <[email protected]>
  16590. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  16591. is called. This fixes the crash in Nexxia when setting the font
  16592. attributes in the chat. [However, RTF needs a look-over to make sure
  16593. that all SelectionXXX methods handle the special case that selection
  16594. is empty and therefore the change must be applied to all text starting
  16595. at the cursor/selection start]
  16596. 2006-01-03 Peter Dennis Bartok <[email protected]>
  16597. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  16598. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  16599. * X11Keyboard.cs: Switched to new way of calling PostMessage
  16600. 2006-01-03 Peter Dennis Bartok <[email protected]>
  16601. * Theme.cs: Added theme interface for images to allow the theme to
  16602. control what images are used for things like FileDialog, MessageBox
  16603. icons, etc.
  16604. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  16605. 2006-01-03 Alexander Olk <[email protected]>
  16606. * FileDialog.cs:
  16607. - Removed some dead code
  16608. - Opening a recently used file does work now
  16609. - Small UI enhancements
  16610. - Refactoring
  16611. 2006-01-02 Alexander Olk <[email protected]>
  16612. * FileDialog.cs: Forgot too add __MonoCS__
  16613. 2006-01-02 Alexander Olk <[email protected]>
  16614. * FileDialog.cs: We are able to read recently used files now let's
  16615. go on and write them.
  16616. 2006-01-01 Alexander Olk <[email protected]>
  16617. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  16618. button
  16619. * MimeIcon.cs: Do a check for the top level media type also
  16620. 2005-12-31 Alexander Olk <[email protected]>
  16621. * ThemeClearlooks.cs:
  16622. - Added CPDrawStringDisabled
  16623. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  16624. some chars if the text doesn't fit into text_rect
  16625. - DrawListViewItem: If View = View.LargeIcon center the image;
  16626. rewrote the drawing of ListViewItem.Text if View =
  16627. View.LargeIcon
  16628. 2005-12-31 Alexander Olk <[email protected]>
  16629. * MimeIcon.cs: Use default KDE icon theme if there is no
  16630. "48x48" directory for the current icon theme, fixes #77114
  16631. * Mime.cs: Disable not working and actually not used code.
  16632. * ThemeWin32Classic.cs:
  16633. - Replace "new SolidBrush" in GetControlBackBrush and
  16634. GetControlForeBrush with ResPool.GetSolidBrush
  16635. - Changed DrawListViewItem from private to protected virtual
  16636. * FileDialog.cs:
  16637. - Added form.MaximizeBox = true
  16638. - Don't throw an exception if there is a broken symbolic link
  16639. 2005-12-23 Jackson Harper <[email protected]>
  16640. * TabControl.cs: Give the panels focus, keyboard navigation is
  16641. fixed so this works correctly now.
  16642. - We need these key events also.
  16643. * ToolBar.cs: Remove some of the poor mans double buffering.
  16644. 2005-12-24 Alexander Olk <[email protected]>
  16645. * ComboBox.cs: The internal TextBox now returns the focus.
  16646. 2005-12-23 Jackson Harper <[email protected]>
  16647. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  16648. 2005-12-23 Peter Dennis Bartok <[email protected]>
  16649. * Control.cs: Removed debug code
  16650. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  16651. implicit children
  16652. 2005-12-23 Peter Dennis Bartok <[email protected]>
  16653. * Control.cs: When creating the control, update the Z-order after
  16654. all it's children are created, too. (Fixes nexxia not showing
  16655. picturebox bug)
  16656. 2005-12-23 Peter Dennis Bartok <[email protected]>
  16657. * Control.cs: Do not update the anchoring distances if layout is
  16658. suspended, instead do it once layout is resumed
  16659. 2005-12-22 Peter Dennis Bartok <[email protected]>
  16660. * Control.cs:
  16661. - After many hours of debugging, for both Jackson and
  16662. myself, it turns out that it helps to set the parent of a control
  16663. if you want to actually see it onscreen. In the spirit of that
  16664. discovery, we're now setting the parent of the control and
  16665. it's children when the control's handle is created. This fix
  16666. will make Lutz Roeder's Reflector run happily.
  16667. - now just creating the handle instead of the whole control when
  16668. getting a graphics context for the control.
  16669. 2005-12-22 Peter Dennis Bartok <[email protected]>
  16670. * ScrollableControl.cs: When calculating the canvas, don't consider
  16671. the scrollbar widths. Instead, predict if horizontal scrollbar
  16672. will affect canvas when deciding on vertical display and vice versa.
  16673. 2005-12-22 Peter Dennis Bartok <[email protected]>
  16674. * RichTextBox.cs: Set default RTF font for documents that don't
  16675. have a font table (Fixes #77076)
  16676. 2005-12-22 Jackson Harper <[email protected]>
  16677. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  16678. clipboard. This prevents a NullRef in that case.
  16679. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  16680. clipboard. PRIMARY is for the currently selected text only. (We
  16681. should implement PRIMARY at some point.
  16682. 2005-12-21 Peter Dennis Bartok <[email protected]>
  16683. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  16684. a Unicode function with a structure that was defined in Ansi way.
  16685. This fixes #76942.
  16686. 2005-12-21 Jackson Harper <[email protected]>
  16687. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  16688. on. Because thats how it rolls. (and this avoids it using ambient
  16689. colours).
  16690. * ThemeWin32Classic.cs: Use the proper back color for filling.
  16691. * Menu.cs: Use the system menu bar color for drawing menu
  16692. bars. Using the window back color will bring ambient colours into
  16693. the picture.
  16694. 2005-12-21 Alexander Olk <[email protected]>
  16695. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  16696. Bitmaps were created and not disposed.
  16697. 2005-12-21 Peter Dennis Bartok <[email protected]>
  16698. * Control.cs (CreateControl): Don't do anything if the control is
  16699. already created, otherwise we'd fire the OnCreated event more than
  16700. once
  16701. 2005-12-21 Peter Dennis Bartok <[email protected]>
  16702. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  16703. will always match. Instead return -1. Fixes #76464.
  16704. 2005-12-21 Peter Dennis Bartok <[email protected]>
  16705. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  16706. neither the beginning nor the end of the line (Fixes bug #76479)
  16707. 2005-12-21 Peter Dennis Bartok <[email protected]>
  16708. * Control.cs:
  16709. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  16710. where handle is invalid
  16711. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  16712. instead of slower linear search
  16713. * NativeWindow.cs: Don't remove the window from the hashtable until
  16714. after the driver has destroyed it (since the driver might use
  16715. Control.FromHandle to lookup the control object
  16716. * Hwnd.cs: Added DestroyPending property to track if a window is
  16717. already destroyed as far as the driver is concerned and only hasn't
  16718. yet notified the control
  16719. * XplatUIX11.cs:
  16720. - Activate(): Check if the window is still valid before using the
  16721. handle
  16722. - Implemented DestroyChildWindow() method to mark child windows as
  16723. destroyed when a window is destroyed. This prevents situations
  16724. where we might call an X method based on queued events for a
  16725. window that already has been destroyed but we haven't yet pulled
  16726. the destroy method from the queue.
  16727. - Added a call to the new DestroyChildWindow() method to the drivers
  16728. DestroyWindow code. Also now marking the destroyed window itself
  16729. as pending
  16730. 2005-12-20 Jackson Harper <[email protected]>
  16731. * StatusBar.cs:
  16732. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  16733. anymore. Just do them when needed, also track the rects of panels
  16734. so that we can optimize refreshing more in the future.
  16735. 2005-12-20 Alexander Olk <[email protected]>
  16736. * ColorDialog.cs: Fixed focus drawing in small color controls
  16737. 2005-12-19 Jackson Harper <[email protected]>
  16738. * InternalWindowManager.cs:
  16739. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  16740. moving windows works properly.
  16741. 2005-12-19 Peter Dennis Bartok <[email protected]>
  16742. * Control.cs:
  16743. - Removed call to InitLayout() from SetBoundsCore(); doc says
  16744. it's only called when a control is added to a container
  16745. - Split InitLayout logic, moved to separate UpdateDistances() method
  16746. since we need to perform those calculations more often than just
  16747. when adding the control to a container. (Needed to fix #77022)
  16748. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  16749. - Reduced the OnBindingContextChanged events count, don't send them
  16750. unless the control is created, we still aren't totally matching
  16751. MS, but I can't quite figure out some of their rules
  16752. 2005-12-18 Alexander Olk <[email protected]>
  16753. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  16754. stripes
  16755. 2005-12-18 Alexander Olk <[email protected]>
  16756. * ThemeClearlooks.cs:
  16757. - Updated ProgressBar drawing
  16758. - Corrected drawing of ScrollBars and scroll buttons
  16759. - Some temporary fixes for minor pixel artefacts
  16760. 2005-12-18 Peter Dennis Bartok <[email protected]>
  16761. * Control.cs:
  16762. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  16763. cause events to be sent in the same order as MS does.
  16764. - Added ChangeParent() method to trigger various OnXXXChanged events
  16765. that need to be fired when a parent changes (This is a reworking
  16766. of the patch from r54254, with the X11 errors fixed)
  16767. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  16768. since on MS we get OnLayoutChanged events when calling Clear()
  16769. - Changed Enabled property to consider parent state as well, if a
  16770. parent is not enabled, the control will not be either
  16771. - Changed Parent property to simply call Controls.Add() since that
  16772. now does all the work required, this way we avoid code duplication
  16773. - Threw in a few OnBindingsContextChanged calls to try and match
  16774. when MS sends them. We seem to send a few too many, though.
  16775. - Added call to CreateControl when adding the control to a parent.
  16776. We were never calling CreateControl. Still needs some work, in
  16777. some places we treat HandleCreated and ControlCreated as equal,
  16778. which is wrong
  16779. - Removed obsolete commented out code from UpdateZOrder()
  16780. 2005-12-18 Alexander Olk <[email protected]>
  16781. * ThemeClearlooks.cs: Updated TrackBar drawing.
  16782. 2005-12-17 Alexander Olk <[email protected]>
  16783. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  16784. 2005-12-17 Alexander Olk <[email protected]>
  16785. * FileDialog.cs: Add the Help button and the open readonly
  16786. checkbox only if needed
  16787. 2005-12-16 Jackson Harper <[email protected]>
  16788. * Control.cs: Make sure we have an active menu before trying to
  16789. process commands on it. Prevents menu-less forms from crashing
  16790. when Alt is pressed.
  16791. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  16792. Dieter Bremes.
  16793. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  16794. 2.0 build.
  16795. 2005-12-16 Jackson Harper <[email protected]>
  16796. * InternalWindowManager.cs: Don't translate tool windows screen
  16797. coordinates. This fixes windows 'bouncing' around when being moved.
  16798. 2005-12-15 Peter Dennis Bartok <[email protected]>
  16799. * TextBoxBase.cs:
  16800. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  16801. not quite MS compatible, MS uses that number only for single line
  16802. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  16803. the limit at 2GB)
  16804. - Now enforcing the MaxLength limit when entering characters
  16805. - Added argument to internal Paste() method to track if it's called
  16806. from programatically or via keyboard, since keyboard driven pastes
  16807. need to enforce max-length
  16808. - Added logic to Paste to only paste as many chars as MaxLength
  16809. allows
  16810. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  16811. * TextControl.cs:
  16812. - Added Length property to return number of characters in document
  16813. - Added private CharCount property which only tracks actual chars
  16814. in the document (no linefeeds) and fires event when CharCount
  16815. changes
  16816. - Added tracking of character count to all methods that alter it
  16817. - Added LengthChanged event to allow applications to subscribe
  16818. to any changes to the document
  16819. 2005-12-15 Peter Dennis Bartok <[email protected]>
  16820. * TextBox.cs:
  16821. - Removed local password_char field (moved to TextBoxBase)
  16822. - Now setting the document's password var when password is
  16823. set
  16824. * TextBoxBase.cs:
  16825. - Added password_char field (needed here so MultiLine can
  16826. access it)
  16827. - Added logic to MultiLine property setter to set the document's
  16828. variable when password display is allowed
  16829. - Removed debug code and made some debug code conditional
  16830. * TextControl.cs:
  16831. - Added RecalculatePasswordLine() method to handle special password
  16832. char only lines
  16833. - Added PasswordChar property, also added related tracking vars
  16834. - Draw() method now uses local text var for grabbing text to draw,
  16835. this var is set to line.text unless we're doing password display,
  16836. then it is set to the pre-generated all-password-chars line
  16837. - Added calling RecalculatePasswordLine() method for password lines
  16838. 2005-12-14 Peter Dennis Bartok <[email protected]>
  16839. * Hwnd.cs:
  16840. - Added Reparented property to allow tracking of Window Manager
  16841. reparenting actions (which affect X/Y calculations of toplevel
  16842. windows)
  16843. - Made ToString() print window handles in hex
  16844. * XplatUIX11.cs:
  16845. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  16846. determine if X/Y needs offsetting
  16847. - AddConfigureNotify(): Fixed offset calculations
  16848. - Now adds ReparentNotify messages into the queue
  16849. - Now processes ReparentNotify messages and causes a
  16850. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  16851. is reparented (as most likely it's X/Y coordinates are changed
  16852. due to that)
  16853. 2005-12-14 Jackson Harper <[email protected]>
  16854. * XplatUIX11.cs: Tool windows still need to respek focus.
  16855. 2005-12-14 Peter Dennis Bartok <[email protected]>
  16856. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  16857. have a working release
  16858. 2005-12-13 Jackson Harper <[email protected]>
  16859. * Form.cs: Update styles after setting the border style regardless
  16860. of whether or not the window is using a window manager.
  16861. 2005-12-13 Jackson Harper <[email protected]>
  16862. * Form.cs: We now hook into an internal window manager instead of just an
  16863. MDI subsystem, this is so we can have properly behaving tool windows.
  16864. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  16865. * InternalWindowManager.cs: New internal class that acts as a
  16866. window manager for tool windows and as a base for mdi windows.
  16867. * MdiWindowManager.cs: New class that acts as a window manager for
  16868. mdi windows.
  16869. 2005-12-12 Jackson Harper <[email protected]>
  16870. * Control.cs: Updates so we match behavoir for for implicit
  16871. controls. Fixes explosions in MDI.
  16872. 2005-12-12 Jackson Harper <[email protected]>
  16873. * Control.cs: Implement Invalidate (Region).
  16874. 2005-12-12 Peter Dennis Bartok <[email protected]>
  16875. * Control.cs:
  16876. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  16877. the same events as MS does. MS fires events for each property
  16878. except, for unknown reasons, Cursor, when the control is reparented.
  16879. I can't seem to totally match add/remove since MS also fires some
  16880. VisibleChanged events, which makes no sense. Consolidated the
  16881. parenting code into a separate method so it can be called from
  16882. both Add and Remove. set_Parent no longer needs any special logic
  16883. as it calls the parent's add method which implicitly fires
  16884. all events
  16885. - Removed some obsolete code and debug output
  16886. - Enabled state is inherited from parents, if this is enabled
  16887. 2005-12-08 Peter Dennis Bartok <[email protected]>
  16888. * Form.cs: Removed commented out code
  16889. 2005-12-08 Peter Dennis Bartok <[email protected]>
  16890. * Control.cs:
  16891. - Added internal version of Invoke, with additional argument
  16892. indicating if we're calling it from a Dispose() handler. That
  16893. way we can avoid BeginInvoke throwing an exception if we're
  16894. calling for an already destroyed window.
  16895. - Added a dispose argument to BeginInvokeInternal, and made the
  16896. check if a valid window handle chain exists conditional on
  16897. it not being a dispose call
  16898. - Removed code in DestroyHandle to destroy our children. Since we
  16899. now handle the WM_DESTROY message we will catch all our children
  16900. being destroyed.
  16901. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  16902. * Form.cs:
  16903. - Added a field to track the application context of the form.
  16904. - No need to set closing variable as response to WM_CLOSE, instead
  16905. we destroy the window. We also call PostQuitMessage if the form
  16906. has an application context (which makes it the main app form,
  16907. which, when closed terminates the app)
  16908. * XplatUI.cs:
  16909. - Dropped Exit() method, it's naming was confusing
  16910. - Added PostQuitMessage() which causes GetMessage to return false
  16911. once the message queue is empty
  16912. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  16913. PostQuitMessage()
  16914. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  16915. no longer a valid XplatUI method, but left it in since it's used
  16916. internally. Added empty PostQuitMessage() method.
  16917. * MenuAPI.cs: Replaced call to Exit() with call to
  16918. PostQuitMessage, even though this is probably no longer needed.
  16919. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  16920. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  16921. * Application.cs:
  16922. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  16923. - Removed old debug code that would call XplatUI for exception
  16924. display, enabled standard exception handling (Still not enabled
  16925. though, until NativeWindow's ExternalExceptionHandler define
  16926. is removed
  16927. * NativeWindow.cs:
  16928. - Added internal method to allow control to update NativeWindow
  16929. after a window has been destroyed
  16930. - Added handling of already destroyed windows when calling i
  16931. DestroyWindow
  16932. - Added removal of handle from list on ReleaseHandle
  16933. * XplatUIX11.cs:
  16934. - Dropped GetMessageResult var and related code
  16935. - Added PostQuitState to field to track if PostQuitMessage has been
  16936. called
  16937. - Dropped Exit() method
  16938. - Added PostQuitMessage() method
  16939. - GetMessage now will return false if PostQuitState is set and no
  16940. more messages are in the queue.
  16941. - Expose handler will no longer generate WM_PAINT messages if we are
  16942. in PostQuitState since it's very likely any windows have already
  16943. been destroyed, and since Hwnd won't get updated until we have
  16944. processed the DestroyNotify we'd be causing X errors.
  16945. 2005-12-07 Peter Dennis Bartok <[email protected]>
  16946. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  16947. Thanks to Mike for pointing out the err of my ways.
  16948. 2005-12-07 Peter Dennis Bartok <[email protected]>
  16949. * Control.cs(PreProcessMessage): Moved menu handling back, but
  16950. after all other key handling, to match MS (who handles Menu in
  16951. DefWndProc)
  16952. * Menu.cs (WndProc): Removed my brainfart
  16953. 2005-12-07 Peter Dennis Bartok <[email protected]>
  16954. * Control.cs(PreProcessMessage): Removed special menu handling
  16955. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  16956. 2005-12-07 Mike Kestner <[email protected]>
  16957. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  16958. state according in tracker.
  16959. * Menu.cs : promote tracker field to base class and provide a tracker
  16960. lookup capability. Add/Remove shortcuts dynamically if the top menu
  16961. has a tracker. Unparent items that are removed from the collection.
  16962. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  16963. * Theme*.cs: add always_show_hotkeys field to support configurability
  16964. of mnemonic display. win32 doesn't show mnemonics until Alt is
  16965. pressed.
  16966. 2005-12-07 Jackson Harper <[email protected]>
  16967. * MdiChildContext.cs: Use Control.ResetCursor.
  16968. * Control.cs: ResetCursor needs to set the property so that the
  16969. correct XplatUI call gets made.
  16970. 2005-12-07 Peter Dennis Bartok <[email protected]>
  16971. * Control.cs: More fixes to make our key events match MS. We
  16972. were not setting the modifier state on KeyData, and we were
  16973. not generating any events when Alt was pressed with a key
  16974. since handling of WM_SYSxxx was missing for the OnKey methods.
  16975. 2005-12-07 Jackson Harper <[email protected]>
  16976. * MdiChildContext.cs: reenable the sizing code.
  16977. - When the mouse leaves a window reset its cursor.
  16978. 2005-12-07 Alexander Olk <[email protected]>
  16979. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  16980. 2005-12-07 Peter Dennis Bartok <[email protected]>
  16981. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  16982. widths of Fixed3D borders
  16983. 2005-12-07 Jackson Harper <[email protected]>
  16984. * MdiClient.cs: Fix warnings. Earn Mike's love.
  16985. 2005-12-07 Alexander Olk <[email protected]>
  16986. * ThemeClearlooks.cs:
  16987. - Adjusted mouse over button color
  16988. - Added first parts of CheckBox drawing
  16989. - Added correct color for selected text background
  16990. - Fixed ComboBox drawing
  16991. - Added CPDrawBorder3D and CPDrawBorder
  16992. 2005-12-06 Peter Dennis Bartok <[email protected]>
  16993. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  16994. 2005-12-06 Peter Dennis Bartok <[email protected]>
  16995. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  16996. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  16997. alert users via sound. We could add an enum arg with different
  16998. types of alerts in the future
  16999. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17000. * Control.cs: Fix behaviour problems pointed out by Mike
  17001. 2005-12-05 Mike Kestner <[email protected]>
  17002. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  17003. prop setters. Calls parent.Refresh for now, but could be maybe be
  17004. optimized with an internal method on StatusBar at some point.
  17005. [Fixes #76513]
  17006. 2005-12-05 Peter Dennis Bartok <[email protected]>
  17007. * RichTextBox.cs: Implemented get_SelectionColor
  17008. 2005-12-05 Alexander Olk <[email protected]>
  17009. * ThemeClearlooks.cs:
  17010. - Removed dead code
  17011. - Draw black button border only if button is Form.AcceptButton
  17012. - Draw correct button color for pressed RadioButton if the mouse
  17013. has entered the button
  17014. - Updated ProgressBar drawing!
  17015. - Updated CPDrawSizeGrip drawing
  17016. - Updated StatusBarPanel drawing
  17017. 2005-12-05 Mike Kestner <[email protected]>
  17018. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  17019. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  17020. 2005-12-04 Alexander Olk <[email protected]>
  17021. * ThemeClearlooks.cs: Initial check-in, activate with
  17022. export MONO_THEME=clearlooks
  17023. * ThemeEngine.cs: Added ThemeClearlooks
  17024. 2005-12-03 Mike Kestner <[email protected]>
  17025. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  17026. [Fixes #76897]
  17027. 2005-12-02 Jackson Harper <[email protected]>
  17028. * Form.cs: If the child form has no menu the default main menu is
  17029. used as the active menu.
  17030. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17031. * ListBox.cs: Check if any items exist before trying to resolve
  17032. coordinates into items
  17033. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17034. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  17035. as the second color for the background hatch
  17036. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17037. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  17038. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  17039. sure that what we pass to FormatText is always 1-based. Fixes #76885
  17040. 2005-11-29 Miguel de Icaza <[email protected]>
  17041. * NumericUpDown.cs (EndInit): When we are done initializing,
  17042. reflect any updates on the UI.
  17043. 2005-12-02 Jackson Harper <[email protected]>
  17044. * ImplicitHScrollBar.cs:
  17045. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  17046. their container controls.
  17047. * TreeView.cs: Use the new implicit scrollbars.
  17048. 2005-12-02 Jackson Harper <[email protected]>
  17049. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  17050. can play with it.
  17051. * TreeNodeCollection.cs: If we remove the topnode we need to
  17052. update topnode to the next node in line.
  17053. - When clearing nodes go through the same process as removing
  17054. them, so they get depareneted and checked if they are top node.
  17055. 2005-12-01 Jackson Harper <[email protected]>
  17056. * TreeView.cs: When imagelists are used the image area is
  17057. selectable as well as the text.
  17058. - If there are no selected nodes select the first one.
  17059. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  17060. so don't do it more then we need to.
  17061. 2005-12-01 Jackson Harper <[email protected]>
  17062. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  17063. that arrows can be scaled.
  17064. 2005-12-01 Jackson Harper <[email protected]>
  17065. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  17066. fail. Patch by Dieter Bremes
  17067. 2005-11-30 Jackson Harper <[email protected]>
  17068. * Form.cs: Property is 2.0 only
  17069. * PrintDialog.cs: Signature fix.
  17070. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17071. * TextControl.cs:
  17072. - No longer artificially moves text 2 pixels down (now that we have
  17073. borders this is no longer needed)
  17074. - Added calcs for left, hanging and right indent
  17075. 2005-11-23 Mike Kestner <[email protected]>
  17076. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  17077. 2005-11-30 Jackson Harper <[email protected]>
  17078. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  17079. get cloned as part of CloneMenu ().
  17080. * Menu.cs: Make sure the parent of the items get set correctly
  17081. when they are added. And the owners are notified of the changes.
  17082. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  17083. we can change the menu being displayed/handled by the form without
  17084. changing the menu assosciated with the form.
  17085. - Don't let Mdi children draw/handle menus.
  17086. 2005-11-30 Jackson Harper <[email protected]>
  17087. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  17088. a MenuChanged event. Just to make the API a little more
  17089. consistent.
  17090. * MainMenu.cs:
  17091. * MenuItem.cs: Use the new OnMenuChanged
  17092. * MdiChildContext.cs: Handle menu merging.
  17093. * Form.cs: Implement MergedMenu.
  17094. 2005-11-30 Jackson Harper <[email protected]>
  17095. * Menu.cs: We were misusing Add. Add goes behind the specified
  17096. index according to the docs, and does not replace the specified
  17097. index. So I added an Insert method.
  17098. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17099. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  17100. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  17101. is for Jackson
  17102. * RichTextBox.cs: Added calls to base for DnD events
  17103. 2005-11-28 Peter Dennis Bartok <[email protected]>
  17104. * TextControl.cs:
  17105. - Fixed drag-selection related crash; style fixes
  17106. - Implemented undo class
  17107. o Implemented method to capture document state for specified
  17108. range in document tree
  17109. o Implemented method to restore captured document state
  17110. o Implemented cursor tracking
  17111. o Implemented basic undo stack
  17112. - Added undo cursor tracking to methods altering cursor location
  17113. - Added undo tracking to selection deletion (still missing
  17114. other text-altering hookups)
  17115. * RichTextBox.cs:
  17116. - Added SelectionLength property
  17117. - Implemented CanPaste()
  17118. - Implemented Paste()
  17119. - Added missing protected methods
  17120. - Fixed RTF->Document conversion; now uses font index 0 and color
  17121. index 0 as the default font for the parsed text
  17122. - Fixed RTF<->Document font size translation
  17123. - Fixed RTF generation, now properly handles cross-tag boundaries
  17124. for single line selection
  17125. - No longer always appends blank line to generated RTF
  17126. - Removed TODOs
  17127. - Added missing attributes
  17128. - Hooked up undo-related methods
  17129. * TextBoxBase.cs:
  17130. - Implemented Copy()
  17131. - Implemented Paste()
  17132. - Implemented Cut()
  17133. - Fixed caret mis-behaviour on backspace across line-boundaries
  17134. 2005-11-29 Jackson Harper <[email protected]>
  17135. * MdiClient.cs: Add a method for activating mdi children. Very
  17136. basic right now. I imagine someday it might need more girth.
  17137. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  17138. children windows names are added to the menu item.
  17139. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  17140. mdilist. This happens regardless of whether or not there are any
  17141. mdi windows to see in the list, and according to my tests happens
  17142. before the items are even added. Also happens if there isn't even
  17143. an mdi client to get windows from.
  17144. 2005-11-29 Alexander Olk <[email protected]>
  17145. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  17146. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  17147. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  17148. * DataGridTableStyle.cs:
  17149. - Create always the styles for the missing columns even if they are
  17150. provided by the user (not default table style)
  17151. * DataGrid.cs:
  17152. - Fixes bug 76770
  17153. - Fixes SetDataBinding (always re-attach source)
  17154. - Fixes SetNewDataSource (only clear styles if they are not for
  17155. this source)
  17156. - Expands OnTableStylesCollectionChanged to handle style refresh
  17157. and remove properly
  17158. 2005-11-29 Jackson Harper <[email protected]>
  17159. * FileDialog.cs: Implement missing bits, remove some dead
  17160. code.
  17161. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  17162. creation of the panel so that the options set on the dialog are
  17163. seen when the panel is created.
  17164. * TreeView.cs: raise a click when items are clicked.
  17165. 2005-11-29 Jackson Harper <[email protected]>
  17166. * MdiClient.cs: Pass some signature methods through to base.
  17167. 2005-11-28 Jackson Harper <[email protected]>
  17168. * ListView.cs: Raise the click event when items are clicked.
  17169. 2005-11-28 Jackson Harper <[email protected]>
  17170. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  17171. a nullref.
  17172. 2005-11-27 Alexander Olk <[email protected]>
  17173. * ThemeNice.cs: - Removed 1 pixel bitmaps
  17174. - Use SmoothingMode.AntiAlias where it makes sense
  17175. (ScrollButton arrow for example)
  17176. - Enhanced Button focus drawing
  17177. - Fixed ComboBox drawing (no artefacts anymore, focus
  17178. rectangle is back again, reduced size of ComboButton, etc.)
  17179. - Fixed RadioButton focus drawing for Appearence.Button
  17180. - Slight ScrollButton redesign
  17181. - Some LinearGradientBrush size fixes
  17182. - GroupBoxes have now rounded edges
  17183. - Fixed StatusBar drawing
  17184. 2005-11-25 Alexander Olk <[email protected]>
  17185. * ThemeNice.cs: - Remove dead code
  17186. - use correct background colors for menus, etc.
  17187. - Fake pixel drawing with 1 pixel bitmaps
  17188. 2005-11-24 Jackson Harper <[email protected]>
  17189. * MdiClient.cs: Size the scrollbars when resizing the window.
  17190. - Resize the maximized windows when the client is resized
  17191. * Form.cs: Make the child context available
  17192. 2005-11-23 Jackson Harper <[email protected]>
  17193. * MdiChildContext.cs: Don't size windows if they are maximized.
  17194. 2005-11-23 Mike Kestner <[email protected]>
  17195. * ContextMenu.cs: use MenuTracker.
  17196. * Control.cs: remove menu handle usage.
  17197. * Form.cs: remove menu handle usage.
  17198. * Hwnd.cs: remove menu handle usage.
  17199. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  17200. motion and clicks to the new Tracker handlers.
  17201. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  17202. and handle usage.
  17203. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  17204. Killed the MENU and MENUITEM data types and associated collections
  17205. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  17206. MenuTracker class that exposes the leftovers from the old MenuAPI
  17207. static methods. Restructured Capture handling so that only one grab is
  17208. done for the entire menu hierarchy instead of handing off grabs to
  17209. submenus. Tracker now has an invisible control to Capture when active.
  17210. * MenuItem.cs: add sizing accessors, kill Create
  17211. and handle usage.
  17212. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  17213. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  17214. MENU(ITEM). remove menu handle usage, use Menu directly.
  17215. * XplatUIDriver.cs: remove menu handle usage.
  17216. * XplatUIOSX.cs: remove menu handle usage.
  17217. * XplatUIWin32.cs: remove menu handle usage.
  17218. * XplatUIX11.cs: remove menu handle usage.
  17219. 2005-11-22 Jackson Harper <[email protected]>
  17220. * Hwnd.cs: Don't compute the menu size for
  17221. DefaultClientRectangle.
  17222. - Reenable menu sizes being computed for GetClienRectangle.
  17223. * Form.cs: Remove comment of trechery
  17224. 2005-11-22 Jackson Harper <[email protected]>
  17225. * Hwnd.cs: The adjustments for the menu bar are made when it is
  17226. attached to the form.
  17227. 2005-11-19 Jackson Harper <[email protected]>
  17228. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  17229. (just like on windows).
  17230. 2005-11-19 Jackson Harper <[email protected]>
  17231. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  17232. use real buttons anymore because they are in non client area. The
  17233. one TODO here is that I need to somehow invalidate a section of
  17234. the non client area.
  17235. 2005-11-18 Jackson Harper <[email protected]>
  17236. * Control.cs: Put the enum check back in now that MDI doesnt have
  17237. to use this to set border styles.
  17238. * Form.cs: Only set mdi child windows borders if the handle has
  17239. been created.
  17240. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  17241. this directly on to the driver.
  17242. - Get the move start position before adjusting for the titlebar
  17243. height, this fixes the windows "skipping" when they are first
  17244. moved.
  17245. 2005-11-18 Jackson Harper <[email protected]>
  17246. * XplatUIX11.cs: Just compute the mdi borders separately as they
  17247. don't totally match up with normal form borders.
  17248. 2005-11-18 Jackson Harper <[email protected]>
  17249. * Control.cs: Set WS_ styles for borders, so that the driver does
  17250. not have to retrieve the control instance to figure out what kind
  17251. of borders it should have.
  17252. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  17253. driver can know its an mdi child easily.
  17254. * XplatUIX11.cs: Get the border styles and whether the window is
  17255. MDI from the Styles and ExStyles params instead of having to get a
  17256. control. This prevents a chicken and egg problem.
  17257. 2005-11-18 Jackson Harper <[email protected]>
  17258. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  17259. 2005-11-18 Jackson Harper <[email protected]>
  17260. * MdiClient.cs: Calculate when to add and remove scrollbars
  17261. correctly.
  17262. * MdiChildContext.cs: Adjust the y position to take the titlebar
  17263. into account.
  17264. - No height for FormBorderStyle.None
  17265. 2005-11-18 Jackson Harper <[email protected]>
  17266. * Control.cs: Allow non enum values to be used for
  17267. InternalBorderStyle. MDI does this to set a special border style.
  17268. - New utility methods for converting points to/from client coords
  17269. - Add the newly created control to the Controls collection before
  17270. updating its style. This way UpdateStyle can walk the control
  17271. heirarchy to find the control if needed.
  17272. so I don't need to create a new Point object all the time.
  17273. * Form.cs: Let MDI windows handle their border styles.
  17274. - Set styles on MDI windows so the correct title style is derived.
  17275. * MdiChildContext.cs: Move all the painting and window handling
  17276. into the non client area.
  17277. - Use correct sizing and put correct buttons on frames based on
  17278. the FormBorderStyle.
  17279. - Notify the mdi client about scrolling
  17280. - Need to handle the buttons ourselves now, because they are all
  17281. in non client areas and we can't add controls there.
  17282. * MdiClient.cs: Halfway to scrolling, this implementation is
  17283. somewhat broken though, we need to check to make sure other
  17284. windows aren't causing scrolling before removing the bars. Also
  17285. the bars need to be drawn on top, maybe I can switch implicit
  17286. controls to be on top.
  17287. * Hwnd.cs: caption_height and tool_caption_height are now
  17288. properties of an hwnd, this way they can be set by the driver
  17289. based on the type of window they are. In X11 the window manager
  17290. handles the decorations so caption_height is zero unless its an
  17291. MDI window.
  17292. - Add 3 pixel borders for MDI windows (0xFFFF).
  17293. - Get rid of some code duplication, have DefaultClientRectanle
  17294. just call GetClientRectangle.
  17295. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  17296. Hwnd now.
  17297. - Set border styles differently for mdi windows.
  17298. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  17299. Hwnd now.
  17300. 2005-11-15 Mike Kestner <[email protected]>
  17301. * Menu.cs: when adding an item to the collection, if item is already
  17302. parented, remove it from the parent.
  17303. 2005-11-13 Alexander Olk <[email protected]>
  17304. * X11DesktopColors.cs: Added KDE support
  17305. 2005-11-11 Peter Dennis Bartok <[email protected]>
  17306. * XplatUIWin32.cs:
  17307. - Clipboard methods now can translate Rtf format
  17308. - No longer removes clipboard contents whenever a new format is added
  17309. to allow placing multiple formats on the clipboard
  17310. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  17311. will place all formats contained in it onto the clipboard. Also
  17312. now cleans the clipboard before placing a new object onto it
  17313. * RichTextBox.cs:
  17314. - Implemented set_Rtf
  17315. - Implemented set_SelectedRtf
  17316. - Created InsertRTFFromStream() method to allow single code base
  17317. for all properties and methods that insert RTF into document
  17318. - Removed debug output
  17319. * TextControl.cs:
  17320. - Fixed Delete(int) to fix up line numbers
  17321. - Fixed ReplaceSelection to combine start and end line
  17322. - Fixed serious DeleteChars bug that would leave the document tree
  17323. broken
  17324. - Improved DumpTree with several logic checks to detect broken
  17325. document trees
  17326. - Removed debug lines
  17327. - Fixed Caret.WordForward/WordBack moving code, now always also
  17328. updates caret.tag (fixes crash when word-selecting across tag
  17329. boundaries via keyboard)
  17330. - Added Insert() method for inserting multiline text into documents
  17331. - Fixed DeleteChars() calculation errors that would cause a broken
  17332. tag chain with multiple tag lines
  17333. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  17334. - Split() no longer moves caret if split is at caret location
  17335. - ReplaceSelection() now updates the cursor and re-displays it
  17336. - ReplaceSelection() now uses new Insert() method to avoid code
  17337. duplication
  17338. - FormatText() can now handle formatting partial lines
  17339. * TextBoxBase.cs:
  17340. - Append now uses new TextControl.Insert() method (this avoids
  17341. duplicate code)
  17342. - Implemented Ctrl-X (Cut) (
  17343. - Implemented Ctrl-C (Copy)
  17344. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  17345. regeneration when pasting text; roundtripping Copy&Paste within
  17346. edit control still fails due to some calculation bugs in GenerateRTF)
  17347. - The Delete key will now remove the current selection if it is visible
  17348. * TextBox.cs: Removed debug lines
  17349. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  17350. driver to be initialized and can't therefore be done via a static ctor)
  17351. 2005-11-10 Peter Dennis Bartok <[email protected]>
  17352. * TextControl.cs: Added backend code for finding char arrays and strings
  17353. * TextBoxBase.cs:
  17354. - Added mouse wheel scroll support
  17355. - Added support for VScroll and HScroll events
  17356. * RichTextBox.cs:
  17357. - Implemented all seven Find() variants
  17358. - Implemented GetCharFromPosition()
  17359. - Implemented GetCharIndexFromPosition()
  17360. - Implemented GetLineFromIndex()
  17361. - Implemented GetPositionFromCharIndex();
  17362. - Implemented SaveFile for PlainText and UnicodeText
  17363. - Fixed set_Font, now setting a new font applies that font to
  17364. the whole document
  17365. - Implemented generic Document to RTF converter
  17366. - Implemented SaveFile for RichText format (still missing unicode
  17367. conversion for non-ansi chars)
  17368. - Implemented get_Rtf
  17369. - Implemented get_SelectedRtf
  17370. 2005-11-09 Peter Dennis Bartok <[email protected]>
  17371. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  17372. to allow any captures to be released before triggering OnClick. This
  17373. way a click handler may capture the mouse without interference.
  17374. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  17375. This way we send them even though X may not allow a grab (if the window
  17376. isn't visible, for example)
  17377. 2005-11-08 Pedro Martinez Julia <[email protected]>
  17378. * DataGridViewRowEventArgs.cs: DataGridView implementation
  17379. * DataGridViewElement.cs: DataGridView implementation
  17380. * DataGridViewComboBoxCell.cs: DataGridView implementation
  17381. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  17382. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  17383. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  17384. * ImageLayout.cs: DataGridView implementation
  17385. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  17386. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  17387. * DataGridViewSelectionMode.cs: DataGridView implementation
  17388. * IDataGridViewEditingControl.cs: DataGridView implementation
  17389. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  17390. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  17391. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  17392. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  17393. * DataGridViewColumnSortMode.cs: DataGridView implementation
  17394. * DataGridView.cs: DataGridView implementation
  17395. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  17396. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  17397. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  17398. * Padding.cs: DataGridView implementation
  17399. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  17400. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  17401. * DataGridViewRowEventHandler.cs: DataGridView implementation
  17402. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  17403. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  17404. * DataGridViewButtonCell.cs: DataGridView implementation
  17405. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  17406. * DataGridViewEditMode.cs: DataGridView implementation
  17407. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  17408. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  17409. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  17410. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  17411. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  17412. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  17413. * DataGridViewCellEventHandler.cs: DataGridView implementation
  17414. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  17415. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  17416. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  17417. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  17418. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  17419. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  17420. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  17421. * QuestionEventArgs.cs: DataGridView implementation
  17422. * IDataGridViewEditingCell.cs: DataGridView implementation
  17423. * DataGridViewTriState.cs: DataGridView implementation
  17424. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  17425. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  17426. * DataGridViewColumnCollection.cs: DataGridView implementation
  17427. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  17428. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  17429. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  17430. * DataGridViewColumn.cs: DataGridView implementation
  17431. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  17432. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  17433. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  17434. * DataGridViewRow.cs: DataGridView implementation
  17435. * DataGridViewImageCellLayout.cs: DataGridView implementation
  17436. * DataGridViewImageCell.cs: DataGridView implementation
  17437. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  17438. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  17439. * DataGridViewHeaderCell.cs: DataGridView implementation
  17440. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  17441. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  17442. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  17443. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  17444. * QuestionEventHandler.cs: DataGridView implementation
  17445. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  17446. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  17447. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  17448. * DataGridViewCell.cs: DataGridView implementation
  17449. * DataGridViewCellEventArgs.cs: DataGridView implementation
  17450. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  17451. * DataGridViewCellStyle.cs: DataGridView implementation
  17452. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  17453. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  17454. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  17455. * TextFormatFlags.cs: DataGridView implementation
  17456. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  17457. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  17458. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  17459. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  17460. * DataGridViewButtonColumn.cs: DataGridView implementation
  17461. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  17462. * HandledMouseEventArgs.cs: DataGridView implementation
  17463. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  17464. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  17465. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  17466. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  17467. * DataGridViewRowCollection.cs: DataGridView implementation
  17468. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  17469. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  17470. * DataGridViewHitTestType.cs: DataGridView implementation
  17471. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  17472. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  17473. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  17474. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  17475. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  17476. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  17477. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  17478. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  17479. * DataGridViewContentAlignment.cs: DataGridView implementation
  17480. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  17481. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  17482. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  17483. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  17484. * DataGridViewPaintParts.cs: DataGridView implementation
  17485. * DataGridViewCellCollection.cs: DataGridView implementation
  17486. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  17487. * DataGridViewImageColumn.cs: DataGridView implementation
  17488. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  17489. * DataGridViewElementStates.cs: DataGridView implementation
  17490. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  17491. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  17492. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  17493. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  17494. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  17495. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  17496. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  17497. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  17498. * DataGridViewTextBoxCell.cs: DataGridView implementation
  17499. * DataGridViewBand.cs: DataGridView implementation
  17500. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  17501. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  17502. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  17503. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  17504. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  17505. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  17506. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  17507. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  17508. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  17509. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  17510. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  17511. 2005-11-08 Peter Dennis Bartok <[email protected]>
  17512. * ThemeWin32Classic.cs:
  17513. - Draw the outside focus rectangle around buttons
  17514. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  17515. doesn't use end caps for every dash of a line anymore. This
  17516. workaround ignores the forecolor.
  17517. 2005-11-08 Kornél Pál <[email protected]>
  17518. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  17519. endian safe.
  17520. 2005-11-07 Jackson Harper <[email protected]>
  17521. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  17522. 2005-11-07 Jackson Harper <[email protected]>
  17523. * ScrollableControl.cs: Calculate the maximum and change vars
  17524. (more) correctly so that scrollbars appear as a sensible size.
  17525. 2005-11-04 Jackson Harper <[email protected]>
  17526. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  17527. collection.
  17528. * TreeView.cs: When the tree is sorted null out the top_node so
  17529. that it is recalculated.
  17530. - Use dotted lines instead of dashed lines to match MS better.
  17531. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  17532. * ListView.cs:
  17533. - Implements key search for items. Useful when browsing files with FileDialog
  17534. - When changing view mode or when clear the items reset scrollbar positions
  17535. 2005-11-04 Jackson Harper <[email protected]>
  17536. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  17537. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  17538. as to what the method may do as there is no real way of creating a
  17539. derived CurrencyManager and calling the method.
  17540. 2005-11-03 Jackson Harper <[email protected]>
  17541. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  17542. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  17543. method which seems to just be used internally to refresh the tabs.
  17544. 2005-11-03 Jackson Harper <[email protected]>
  17545. * TabControl.cs: Implement the remove method. Fix some broken
  17546. comments.
  17547. 2005-11-03 Peter Dennis Bartok <[email protected]>
  17548. * DateTimePicker.cs:
  17549. - Added missing DateTimePickerAccessibleObject class
  17550. - Added missing events
  17551. - Added OnFontChanged method
  17552. * Form.cs: Added missing attributes
  17553. * TreeView.cs: Added missing attributes
  17554. 2005-11-03 Peter Dennis Bartok <[email protected]>
  17555. * GridItemCollection.cs: Fix signatures
  17556. 2005-11-03 Peter Dennis Bartok <[email protected]>
  17557. * XplatUI.cs: Updated build rev/date
  17558. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  17559. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  17560. * Application.cs: Trigger context-specific ExitThread events
  17561. 2005-11-03 Jackson Harper <[email protected]>
  17562. * Menu.cs:
  17563. * MainMenu.cs:
  17564. * GridTableStylesCollection.cs:
  17565. * Timer.cs:
  17566. * TabPage.cs:
  17567. * HelpProvider.cs:
  17568. * StatusBar.cs:
  17569. * MonthCalendar.cs: Signature fixes
  17570. 2005-11-03 Jackson Harper <[email protected]>
  17571. * TreeNodeCollection.cs: Remove should not be virtual.
  17572. * TreeView.cs: Implement the last of the missing methods.
  17573. 2005-11-03 Jackson Harper <[email protected]>
  17574. * TreeNodeConverter.cs: Implement to get off my class-status back.
  17575. 2005-11-03 Jackson Harper <[email protected]>
  17576. * TreeView.cs: Hookup the bits for drag and drop.
  17577. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  17578. that nodes can be moved from tree to tree easily this just causes
  17579. all sorts of problems.
  17580. * TreeNodeCollection: Don't need to give treenodes an index and
  17581. treeview anymore when they are added, these are computed on the
  17582. fly. Also make sure to remove a node before its added.
  17583. 2005-11-03 Peter Dennis Bartok <[email protected]>
  17584. * TextControl.cs:
  17585. - Added CaretSelection enum
  17586. - Added comparison methods to Marker struct, makes selection code
  17587. more readable
  17588. - Added SelectionStart and SelectionEnd as 'moveable' location for
  17589. the CaretDirection enum and handler
  17590. - Added selection_prev variable to track optimized invalidation for
  17591. word and line selection
  17592. - Added SelectionVisible property (returns true if there is a valid
  17593. selection)
  17594. - Switched CaretHasFocus to only display the caret if there is no
  17595. visible selection
  17596. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  17597. using the direct character index; should be much faster
  17598. - Added various conditional debug statements
  17599. - Fixed invalidation calculation for selection ranges
  17600. - Added ExpandSelection() method to support word and line selection
  17601. - Switched SetSelectionToCaret to use new Marker compare overloads
  17602. - Added central IsWordSeparator() method to determine word
  17603. separators/whitespace and FindWordSeparator() to streamline common
  17604. usage of IsWordSeparator()
  17605. * TextBoxBase.cs:
  17606. - Removed unneeded grabbed variable, it was just mirroring
  17607. Control.Capture
  17608. - No longer firing OnTextChanged event when Text setter is called,
  17609. since the base will fire the event for us
  17610. - Added handling of Ctrl-Up/Down selection
  17611. - Added handling of Shift-Cursorkey selection
  17612. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  17613. words
  17614. - Added handling of Shift and Ctrl-Shift-Home/End selection
  17615. - Removed some debug output
  17616. - Added handling for single/double/tripple-click to place caret/
  17617. select word/select line respectively (Fixes bug #76031)
  17618. - Added support for drag expansion of word/line selection
  17619. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  17620. current selection
  17621. 2005-11-02 Jackson Harper <[email protected]>
  17622. * X11Dnd.cs: If the drag is going to and from a MWF window just
  17623. copy the data instead of sending it out through the X Selection
  17624. mechanism.
  17625. 2005-11-02 Jackson Harper <[email protected]>
  17626. * X11Dnd.cs:
  17627. * XplatUIX11.cs: When in a drag we don't want motion notify
  17628. messages to get passed on to the other controls. This prevents
  17629. mouse move messages from showing up in the drag source.
  17630. 2005-11-02 Jackson Harper <[email protected]>
  17631. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  17632. the correct button is release to end a drag.
  17633. * XplatUIX11.cs: Make the button state internal so the drag system
  17634. can access it. Dragging needs to know about all button releases,
  17635. not just left button.
  17636. 2005-11-02 Miguel de Icaza <[email protected]>
  17637. * Form.cs (Icon): If the icon is null, reset the icon to the
  17638. default value.
  17639. * Cursor.cs: When writing the AND-mask bitmap do not include the
  17640. number of colors, but hardcode those to two (black and white),
  17641. fixes the loading of color cursors (Paint Dot Net).
  17642. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  17643. turn off autoscaling.
  17644. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  17645. 2005-11-02 Jackson Harper <[email protected]>
  17646. * X11Dnd.cs: Make sure to send a status message if the pointer
  17647. enters a control that can not accept a drop, otherwise the cursor
  17648. isn't updated correctly. Also tried to compress the lines of code
  17649. a bit.
  17650. 2005-11-02 Jackson Harper <[email protected]>
  17651. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  17652. set actions correctly. This isn't perfect as XDND and win32 have
  17653. some differences on how you allow actions. I'll clear this up by
  17654. adding a path for drag from MWF to MWF windows.
  17655. * XplatUIX11.cs: Hook into the dnd system.
  17656. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  17657. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  17658. previously shown but they are no longer need it. Very obvious when
  17659. browsing files with FileDialog.
  17660. 2005-11-01 Peter Dennis Bartok <[email protected]>
  17661. * Control.cs: We always need to call OnPaintBackground. We pretty much
  17662. ignore AllPaintingInWmPaint and always do the painting there, whether
  17663. it's set or not, since we always ignore the WM_ERASEBKGND message
  17664. (which we don't generate on X11). This fixes #76616.
  17665. * Panel.cs: Removed unneeded background painting. This happens properly
  17666. in Control.cs already
  17667. 2005-10-31 Mike Kestner <[email protected]>
  17668. * Menu.cs: Add items to collection before setting their index.
  17669. * MenuItem.cs : add range checking with ArgumentException like MS.
  17670. [Fixes #76510]
  17671. 2005-10-31 Jackson Harper <[email protected]>
  17672. * ListBox.cs: Invalidate if the area is visible at all not just
  17673. contained in the visible rect. Fixes unselection of semi visible
  17674. items.
  17675. 2005-10-31 Jackson Harper <[email protected]>
  17676. * Control.cs: Consistently name the dnd methods. Make them
  17677. internal so we can override them to match some MS behavoir
  17678. internally.
  17679. * Win32DnD.cs: Use the new consistent names.
  17680. 2005-10-31 Jackson Harper <[email protected]>
  17681. * TreeView.cs: Don't draw the selected node when we lose focus.
  17682. 2005-10-31 Jackson Harper <[email protected]>
  17683. * X11Dnd.cs: We still need to reset the state even though a full
  17684. reset isn't being done, otherwise status's still get sent all over
  17685. the place.
  17686. 2005-10-31 Jackson Harper <[email protected]>
  17687. * Control.cs: Make the dnd_aware flag internal so the dnd
  17688. subsystem can check it. Catch exceptions thrown in dnd handlers to
  17689. match MS behavoir.
  17690. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  17691. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  17692. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  17693. flags to reduce the number of dnd enters/status's sent.
  17694. 2005-10-31 Jackson Harper <[email protected]>
  17695. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  17696. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  17697. * PictureBox.cs: Fixes 76512
  17698. 2005-10-28 Jackson Harper <[email protected]>
  17699. * X11Dnd.cs: Early implementation to support winforms being a drag
  17700. source for data on X11. Also restructured the converters so they
  17701. can go both ways now.
  17702. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  17703. 2005-10-27 Peter Dennis Bartok <[email protected]>
  17704. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  17705. clipboard requests
  17706. 2005-10-27 Jackson Harper <[email protected]>
  17707. * TreeNode.cs: Implement serialization so my DnD examples will work.
  17708. 2005-10-24 Kornél Pál <[email protected]>
  17709. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  17710. TreeView.cs: Don't dispose objects that are not owned.
  17711. 2005-10-24 Peter Dennis Bartok <[email protected]>
  17712. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  17713. should retrieve the current cursor and report that, but XplatUI
  17714. doesn't (yet) have an interface for that (and I'm not sure I even
  17715. can, on X11)
  17716. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  17717. until any message loop processing is done (and the WM_SETCURSOR
  17718. replaces the cursor to the proper one)
  17719. * XplatUIX11.cs:
  17720. - Fixed override behaviour, we can't set the cursor globally on X11,
  17721. just for our windows.
  17722. - Invalidating the System.Drawing X11 display handle when we are
  17723. shutting down
  17724. * Control.cs: Fix to make csc happy
  17725. 2005-10-23 Peter Dennis Bartok <[email protected]>
  17726. * TextBoxBase.cs:
  17727. - get_Text: Add last line (without trailing newline) to returned
  17728. value (Fixes 76212)
  17729. - get_TextLength: Count last line in returned length
  17730. - ToString: Call Text property instead of duplicating code
  17731. 2005-10-23 Kornél Pál <[email protected]>
  17732. * ImageList.cs: Dispose ImageAttributes objects.
  17733. 2005-10-22 Kornél Pál <[email protected]>
  17734. * ImageList.cs: Use attribute constructors with less arguments where
  17735. possible.
  17736. 2005-10-22 Kornél Pál <[email protected]>
  17737. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  17738. Use typeof instead of strings when assembly is referenced. Added
  17739. some more comments.
  17740. 2005-10-21 Jackson Harper <[email protected]>
  17741. * ListView.cs: Raise a double click event. Also tried to somewhat
  17742. fix when the selectedindexchanged event is raised. Its still
  17743. broken though.
  17744. 2005-10-21 Jackson Harper <[email protected]>
  17745. * TreeView.cs: New method to invalidate the plus minus area of a
  17746. node without invalidating the whole node (maybe this can be used
  17747. in some more places).
  17748. * TreeNodeCollection.cs: When adding to an empty node we need to
  17749. invalidate its plus minus area so the little block shows up.
  17750. 2005-10-21 Jackson Harper <[email protected]>
  17751. * TreeView.cs: Make sure that when we invalidate a node the bounds
  17752. are big enough to cover the selected box and the focus
  17753. rectangle. Use a different colour for the lines connecting nodes
  17754. so they show up with all themes.
  17755. 2005-10-21 Peter Dennis Bartok <[email protected]>
  17756. * NativeWindow.cs: Don't call anything that could call into the driver,
  17757. we might be on a different thread.
  17758. 2005-10-21 Peter Dennis Bartok <[email protected]>
  17759. * Control.cs(Dispose): Since Dispose might run on a different thread,
  17760. make sure that we call methods that could call into the driver via
  17761. invoke, to avoid thread issues
  17762. 2005-10-21 Peter Dennis Bartok <[email protected]>
  17763. * XplatUI.cs: Removed finalizer
  17764. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  17765. not allowing to be called on the finalizer thread.
  17766. 2005-10-21 Kornél Pál <[email protected]>
  17767. * ImageList.cs:
  17768. - Reverted r51889 and r51891.
  17769. - Added ImageListItem class that stores unmodified image items and image
  17770. properties required to create list images until handle is created.
  17771. - Added AddItem and moved image creation logic to AddItemInternal.
  17772. - Added CreateHandle method that creates images based on unmodified items.
  17773. - Added DestroyHandle that changes state to store unmodified items.
  17774. - Add and AddStrip methods no more create handle.
  17775. - ReduceColorDepth has no return value.
  17776. - Dispose destroys handle.
  17777. - Modified other methods to reflect the above changes.
  17778. - Implemented key support.
  17779. - Added profile 2.0 members and attributes.
  17780. - Added private Reset and ShouldSerialize methods that provide the same
  17781. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  17782. them as they are private.
  17783. - Added some more comments about implementation details.
  17784. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  17785. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  17786. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  17787. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  17788. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  17789. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  17790. * DataGridColumnStyle.cs: Remove debug message
  17791. 2005-10-20 Jackson Harper <[email protected]>
  17792. * TreeView.cs: We can always get input keys regardless of whether
  17793. or not editing is enabled. They are used for navigation.
  17794. 2005-10-20 Jackson Harper <[email protected]>
  17795. * TreeNode.cs: Use the viewport rect for determining if a node
  17796. needs to be moved for visibility. Don't use Begin/End edit. This
  17797. calls a full refresh when its done.
  17798. * TreeView.cs: New SetBottom works correctly. Make the viewport
  17799. rect property internal so the treenodes can see it. When clicking
  17800. on a node we need to ensure that its visible because it might just
  17801. be partly visible when clicked.
  17802. 2005-10-20 Jackson Harper <[email protected]>
  17803. * TreeNodeCollection.cs: Remove debug code.
  17804. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  17805. * Datagrid.cs: Implements column sorting in Datagrid
  17806. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  17807. 2005-10-20 Jackson Harper <[email protected]>
  17808. * TreeNodeCollection.cs: Remove items properly. Update the correct
  17809. area after removing them.
  17810. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  17811. * Datagrid.cs: Should not call base.OnPaintBackground
  17812. 2005-10-20 Peter Dennis Bartok <[email protected]>
  17813. * XplatUIX11.cs (GetMessage):
  17814. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  17815. window instead of client window
  17816. - Now properly calculates NC_xBUTTONUP message coordinates
  17817. - ScreenToMenu now properly calculates it's coordinates of whole
  17818. window, since menus are in the whole window, not in the client
  17819. window
  17820. - Added WholeToScreen coordinate translation method
  17821. 2005-10-20 Peter Dennis Bartok <[email protected]>
  17822. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  17823. want to return a message, loop back to the beginning of the function
  17824. and grab the next real message to process instead.
  17825. 2005-10-20 Peter Dennis Bartok <[email protected]>
  17826. * Splitter.cs: Properly set limits if no filler control is used
  17827. 2005-10-19 Jackson Harper <[email protected]>
  17828. * ColorDialog.cs: Don't show the help button if it is not enabled
  17829. instead of disabling it (this is what MS does). Don't create the
  17830. panel until the dialog is run, otherwise the vars (such as
  17831. ShowHelp) are not set yet.
  17832. 2005-10-19 Jackson Harper <[email protected]>
  17833. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  17834. are reduced when adding nodes.
  17835. * TreeNode.cs:
  17836. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  17837. tree.
  17838. 2005-10-19 Jackson Harper <[email protected]>
  17839. * FolderBrowserDialog.cs: End editing our treeview so the window
  17840. actually gets refreshed.
  17841. 2005-10-18 Peter Dennis Bartok <[email protected]>
  17842. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  17843. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  17844. inside of WM_PAINT
  17845. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  17846. * MenuAPI.cs: Returns after Hidding window
  17847. * XplatUIX11.cs: Added TODO found while debugging menu issues
  17848. 2005-10-18 Peter Dennis Bartok <[email protected]>
  17849. * XplatUIX11.cs: Do not re-map the whole window when it's size
  17850. becomes non-zero unless it's supposed to be actually visible
  17851. 2005-10-18 Jackson Harper <[email protected]>
  17852. * TreeView.cs: We don't need to keep a count anymore.
  17853. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  17854. use the Grow method.
  17855. 2005-10-18 Jackson Harper <[email protected]>
  17856. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  17857. implement it manually here.
  17858. 2005-10-18 Jackson Harper <[email protected]>
  17859. * ImageList.cs: Dont kill the list when the colour depth is
  17860. changed, just change the colour depth of all the images.
  17861. - Same goes for setting the image size. Just resize them all
  17862. instead of killing the list softly.
  17863. 2005-10-18 Jackson Harper <[email protected]>
  17864. * Control.cs: Don't invalidate empty rectangles.
  17865. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  17866. * ListViewItem.cs:
  17867. - Adds checked item to the Checked/Item lists (where empty before)
  17868. - Do not add items to the Selected lists if they are already present
  17869. * ListView.cs:
  17870. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  17871. - When deleting items make sure that we delete them for the Selected
  17872. and Checked list also.
  17873. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  17874. * Label.cs: Dispose objects no longer used
  17875. * ThemeWin32Classic.cs: Dispose objects no longer used
  17876. 2005-10-18 Jackson Harper <[email protected]>
  17877. * TabControl.cs: Don't refresh the whole control when the tabs are
  17878. scrolled, we just need to refresh the tab area.
  17879. 2005-10-17 Jackson Harper <[email protected]>
  17880. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  17881. after handle when we need it.
  17882. 2005-10-17 Peter Dennis Bartok <[email protected]>
  17883. * Control.cs: When the parent size changes, recalculate anchor
  17884. positions. Partial fix for #76462
  17885. 2005-10-17 Peter Dennis Bartok <[email protected]>
  17886. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  17887. drawn. Fixes #76462
  17888. 2005-10-17 Jackson Harper <[email protected]>
  17889. * MonthCalendar.cs: Don't create the numeric up down until our
  17890. handle is created. Otherwise our handle is created in the
  17891. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  17892. yet.
  17893. 2005-10-17 Jackson Harper <[email protected]>
  17894. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  17895. correctly.
  17896. 2005-10-17 Rafael Teixeira <[email protected]>
  17897. * TreeNode.cs : small logical fix (was using local var instead of field)
  17898. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  17899. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  17900. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  17901. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  17902. 2005-10-16 Peter Dennis Bartok <[email protected]>
  17903. * Control.cs:
  17904. - Re-implemented anchoring code. My first version was really broken.
  17905. This fixes bug #76033. Unlike the previous implementation we will
  17906. no longer have round errors since all numbers are calculated from
  17907. scratch every time. Removed various anchor-related obsolete vars.
  17908. - InitLayout no longer causes layout event firing and layout to be
  17909. performed
  17910. 2005-10-16 Jackson Harper <[email protected]>
  17911. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  17912. which was broken).
  17913. 2005-10-16 Jackson Harper <[email protected]>
  17914. * TabControl.cs: Remove debug code.
  17915. 2005-10-16 Jackson Harper <[email protected]>
  17916. * XEventQueue.cs: Increase the default queue size (very simple
  17917. apps needed to grow the queue).
  17918. * Hwnd.cs: No finalizer so we don't need to suppress
  17919. finalization. Compute the invalid area manually so a new rectangle
  17920. does not newto be created.
  17921. * ScrollableControl.cs: Don't set any params (otherwise visibility
  17922. isn't set correctly).
  17923. * MdiChildContext.cs: New constructor takes the mdi parent so it
  17924. doesn't have to be computed and avoids a crash on windows. Draw
  17925. the window icon properly, and allow the text to be seen.
  17926. * Form.cs: Use new MdiChildContext constructor. Make sure the
  17927. child context isn't null in wndproc.
  17928. * TabControl.cs: Don't set focus, this is muddling keyboard
  17929. behavoir. Expand the tab rows when a window size increase will
  17930. allow extra tabs to be seen. Don't allow tabs smaller than the
  17931. width of a window to be scrolled out of view.
  17932. * TreeNode.cs:
  17933. * TreeView.cs: Use measure string to calculate a nodes width, the
  17934. width is cached and only updated when the text or the font is
  17935. changed. Don't check for expand/collapse clicks on the first level
  17936. nodes if root lines are disabled.
  17937. 2005-10-16 Ritvik Mayank <[email protected]>
  17938. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  17939. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  17940. * DataGridBoolColumn.cs: fixes warning
  17941. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  17942. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  17943. to match more to match more precisely the MS Net behavior
  17944. 2005-10-13 Peter Dennis Bartok <[email protected]>
  17945. * Hwnd.cs: Added field to track if window is mapped
  17946. * XplatUIX11.cs:
  17947. - Unmap windows if they become 0-size, re-map when
  17948. they are >0 again; fixes #76035
  17949. - Re-set our error handler after initializing X11Desktop
  17950. to override any error handlers Gtk or whatever was called
  17951. may have set.
  17952. 2005-10-13 Peter Dennis Bartok <[email protected]>
  17953. * CheckedListBox.cs: Removed unused vars
  17954. * ListView.cs: Fixed signatures
  17955. * RichTextBox.cs: Removed unused vars
  17956. * TextBoxBase.cs: Removed unused vars
  17957. * XplatUIWin32.cs: Removed unused vars
  17958. * XplatUIX11.cs: Removed unused vars
  17959. * XplatUI.cs: Updated version and date to latest published
  17960. 2005-10-13 Peter Dennis Bartok <[email protected]>
  17961. * Cursor.cs: Added private .ctor to work around a bug in
  17962. resourceset (Thanks to Geoff Norton for the help on this)
  17963. * SplitterEventArgs.cs: Made fields accessible so we don't
  17964. waste boatloads of objects and can reuse the same one
  17965. in Splitter
  17966. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  17967. any captions and borders when generating screen coordinates
  17968. * Splitter.cs: Reimplemented control, now fully complete, uses
  17969. rubberband drawing, supports and obeys all properties, has
  17970. proper cursors
  17971. 2005-10-13 Miguel de Icaza <[email protected]>
  17972. * Form.cs (Form): Setup default values for autoscale and
  17973. autoscale_base_size; Make these instance variables, not static
  17974. variables.
  17975. (OnLoad): on the first load, adjust the size of the form.
  17976. 2005-10-13 Peter Dennis Bartok <[email protected]>
  17977. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  17978. width argument to DrawReversibleRectangle()
  17979. * XplatUIWin32.cs, XplatUIX11.cs:
  17980. - Implemented width for DrawReversibleRectangle()
  17981. - Added logic to DrawReversibleRectangle that recognizes a zero
  17982. width or height and only draws a line in that situation
  17983. 2005-10-12 Peter Dennis Bartok <[email protected]>
  17984. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  17985. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  17986. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  17987. method (it uses our FosterParent window to get a graphics context)
  17988. 2005-10-12 Peter Dennis Bartok <[email protected]>
  17989. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  17990. and SetWindowBackground methods
  17991. * Control.cs:
  17992. - Setting proper ControlStyles
  17993. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  17994. EraseWindowBackground, instead we draw the window background
  17995. ourselves in PaintControlBackground. This behaviour is
  17996. required to match MS, where, when OnPaintBackground is not
  17997. called, the background is not drawn.
  17998. - Removed unneeded Refresh() in set_Text
  17999. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  18000. * XplatUIX11.cs:
  18001. - Created DeriveStyles method to translate from CreateParams to
  18002. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  18003. matches FormBorderStyle enum values)
  18004. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  18005. style calculations into single DeriveStyles method
  18006. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  18007. from redrawing the whole window on any resize or expose.
  18008. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  18009. all styles were applied to our whole/client window appropriately
  18010. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18011. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  18012. no longer clear/redraw the background through X
  18013. - Removed handling of erase_pending bit, we have no use for it (or
  18014. so it seems)
  18015. * XplatUIOSX.cs:
  18016. - Removed generation and handling of WM_ERASEBKGND message
  18017. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18018. - Removed handling of hwnd.ErasePending flag
  18019. * XplatUIWin32.cs:
  18020. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18021. - We no longer call EraseWindowBackground on PaintEventStart, we
  18022. ignore the fErase flag, erasing is handled in Control in the
  18023. background handler
  18024. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  18025. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  18026. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  18027. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  18028. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  18029. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  18030. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  18031. 2005-10-12 Jonathan Chambers <[email protected]>
  18032. * PropertyGrids.cs: Get sub properties
  18033. * PropertyGridView.cs: Fix drawing code
  18034. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18035. * ListBox.cs: Fixes 76383
  18036. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18037. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  18038. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  18039. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  18040. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18041. * ComboBox.cs: Fixes border drawing
  18042. 2005-10-10 Miguel de Icaza <[email protected]>
  18043. * MimeIcon.cs: Ignore errors if the file can not be read.
  18044. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18045. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  18046. - Fixed border calculations
  18047. - Fixed horizontal scrolling in single column listboxes
  18048. - Fixed drawing issues
  18049. 2005-10-10 Peter Dennis Bartok <[email protected]>
  18050. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  18051. FormBorderStyle enum
  18052. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  18053. code to determine FormBorderStyles from CreateParams
  18054. * Form.cs:
  18055. - Fixed bug where we'd set the wrong window styles if we were
  18056. not creating an MDI window
  18057. - Added call to XplatUI.SetBorderStyle when form borders are set
  18058. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  18059. * Hwnd.cs:
  18060. - Removed obsolete edge style
  18061. - Switched from BorderStyle to FormBorderStyle
  18062. 2005-10-10 Jackson Harper <[email protected]>
  18063. * Form.cs: Use the property to get the window handle instead of
  18064. accessing it directly. Prevents a null reference exception.
  18065. 2005-10-10 Jackson Harper <[email protected]>
  18066. * TreeView.cs: Don't adjust the rect given to DrawString now that
  18067. our libgdiplus draws correctly.
  18068. 2005-10-08 Jackson Harper <[email protected]>
  18069. * TreeView.cs: Don't try to find the clicked on node if there are
  18070. no nodes in the tree.
  18071. 2005-10-08 Alexander Olk <[email protected]>
  18072. * RichTextBox.cs:
  18073. restore
  18074. 2005-10-08 Alexander Olk <[email protected]>
  18075. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  18076. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  18077. ErrorProvider.cs:
  18078. Use ResPool for brushes and dispose System.Drawing objects that
  18079. are not used anymore.
  18080. 2005-10-07 Jackson Harper <[email protected]>
  18081. * MdiChildContext.cs: Use the new borders instead of drawing them
  18082. ourselves.
  18083. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18084. * Calling UpdateBounds after changing the window's BorderStyle
  18085. since the style can change the ClientSize
  18086. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18087. * Control.cs: Made PaintControlBackground virtual
  18088. * Panel.cs: Overriding PaintControlBackground instead of using paint
  18089. event; paint event method was interfering with 'real' users of the
  18090. event.
  18091. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18092. * ThemeWin32Classic.cs: remove border drawing since it is handled
  18093. by the base control class now and was causing double border drawing.
  18094. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18095. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  18096. but it does seem to match MS behaviour. This fixes bug #75324
  18097. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18098. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  18099. somewhat hackish looking
  18100. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18101. * TextBoxBase.cs:
  18102. - We now accept Enter even if AcceptEnter is false, if the containing
  18103. form does not have an AcceptButton configured (fixes bug #76355)
  18104. - Calculations are now fixed to no longer use Width/Height, but
  18105. ClientSize.Width/Height, since we now support borders (this was
  18106. a result of fixing borders and therefore bug #76166)
  18107. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  18108. true (fixes bug #76354)
  18109. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18110. * Control.cs:
  18111. - Defaulting BorderStyle and setting it in XplatUI when our window
  18112. is created
  18113. - Added enum check to InternalBorderStyle setter
  18114. * XplatUIX11.cs:
  18115. - Added drawing of window borders
  18116. - Now properly calculates WM decorations offset for toplevel
  18117. windows (fixes bug #74763)
  18118. * XplatUIWin32.cs:
  18119. - Implemented BorderStyles for windows (we're letting win32 draw
  18120. the border for us)
  18121. - Fixed the signature for SetWindowLong
  18122. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  18123. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  18124. setting borders
  18125. * UpDownBase.cs: Remove drawing of borders, this is handled by
  18126. the driver, outside the client area
  18127. * ListView.cs: Removed bogus border calculations. The control should
  18128. be oblivious to borders, since those are not part of the client
  18129. area.
  18130. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  18131. * ThemeWin32Classic.cs: Removed border calculations from ListView
  18132. drawing code
  18133. 2005-10-06 Jackson Harper <[email protected]>
  18134. * MdiChildContext.cs: Clear out the old virtual position remove
  18135. all the unneeded calls to CreateGraphics.
  18136. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18137. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  18138. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18139. * Form.cs:
  18140. - Added loading and setting of our new default icon
  18141. - Only set icon if window is already created
  18142. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18143. * Label.cs:
  18144. - Do not explicitly set the foreground and background colors, to
  18145. allow inheriting from parents (fixes #76302)
  18146. - Use Control's InternalBorderStyle property to deal with borders
  18147. 2005-10-06 Jackson Harper <[email protected]>
  18148. * MdiChildContext.cs: Use the new xplatui function to draw a
  18149. reversible rect.
  18150. 2005-10-06 Jackson Harper <[email protected]>
  18151. * Form.cs: Add the parent before creating the child context cause
  18152. we need the parent when setting up the child.
  18153. 2005-10-06 Jackson Harper <[email protected]>
  18154. * FolderBrowserDialog.cs: redo the tree population code so a
  18155. second thread isn't used. Should be a lot faster and more stable
  18156. now.
  18157. 2005-10-05 Jackson Harper <[email protected]>
  18158. * TreeView.cs: There are no expand/collapse boxes if the node has
  18159. no children.
  18160. 2005-10-05 Jackson Harper <[email protected]>
  18161. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  18162. 2005-10-05 Alexander Olk <[email protected]>
  18163. * FileDialog.cs: Fix InitialDirectory
  18164. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18165. * ComboBox.cs:
  18166. - Fixes changing between styles
  18167. - Fixes simple mode
  18168. - Fixes last item crashing when navigating with keyboard
  18169. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18170. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  18171. 2005-10-05 Jackson Harper <[email protected]>
  18172. * TreeView.cs: If updating the root node do a full refresh.
  18173. * TreeNode.cs: The root node should be expanded by default. Also
  18174. added a utility prop to tell if we are the root node.
  18175. * TreeNodeCollection.cs: Only refresh if the node we are being
  18176. added to is expanded. Also added a comment on a potential
  18177. optimization.
  18178. 2005-10-04 Peter Dennis Bartok <[email protected]>
  18179. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  18180. in dispose method. Fixes #76330
  18181. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  18182. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  18183. - Implements vertical and horizontal scrolling using XplatUI
  18184. - Fixes keyboard navagation
  18185. - Fixes EnsureVisible
  18186. - Drawing fixes
  18187. - Handles and draws focus properly
  18188. 2005-10-04 Kornél Pál <[email protected]>
  18189. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  18190. Create handle. NET_2_0: Destroy handle when value is null.
  18191. 2005-10-03 Jackson Harper <[email protected]>
  18192. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  18193. revert and a new patch to prevent the thumb from refreshing so
  18194. much.
  18195. 2005-10-02 Jackson Harper <[email protected]>
  18196. * ScrollBar.cs: Don't update position if it hasn't actually
  18197. changed. This occurs when you hold down the increment/decrement
  18198. buttons and the thumb gets to the max/min.
  18199. 2005-10-01 Jackson Harper <[email protected]>
  18200. * Form.cs:
  18201. * MdiChildContext.cs:
  18202. * MdiClient.cs: Implement ActiveMdiChild in Form.
  18203. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  18204. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  18205. 2005-10-01 Peter Dennis Bartok <[email protected]>
  18206. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  18207. be found
  18208. 2005-09-30 Jackson Harper <[email protected]>
  18209. * ListBox.cs: Don't do a full refresh unless some data has
  18210. actually changed.
  18211. 2005-09-30 Jackson Harper <[email protected]>
  18212. * TreeView.cs: Make sure that the checkboxes size is factored in
  18213. even when not visible.
  18214. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18215. * FileDialog.cs: Fix Jordi's build break
  18216. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  18217. * FileDialog.cs:
  18218. - Use standard the Windows colours for the combobox as espected
  18219. - Dispose objects that use resouces when no longer need them
  18220. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18221. * X11DesktopColors.cs: Initial incomplete implementation
  18222. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  18223. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18224. * Theme.cs:
  18225. - Switched Theme color names to match the names defined in
  18226. System.Drawing.KnownColors. Life's hard enough, no need to make
  18227. it harder.
  18228. - Added setters to all theme color properties so themes can set
  18229. their color schemes. The setters also propagate the color changes
  18230. to System.Drawing.KnownColors via reflection
  18231. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  18232. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  18233. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  18234. use the new, more logical theme color names
  18235. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  18236. post-NT colors
  18237. * ThemeWin32Classic.cs:
  18238. - Removed code to set the old classic Windows colors. Instead it
  18239. now relies on the colors returned by System.Drawing.KnownColors
  18240. which will be either modern static colors (Unix) or colors
  18241. read from the user's configuration (Win32)
  18242. - Updated to use the new, more logical theme color names
  18243. - Switched DataGrid drawing code to use only Theme colors instead of
  18244. a mix of System.Drawing.KnownColors and Theme colors
  18245. - DrawFrameControl(): Removed code that fills the button area, the
  18246. fill would overwrite any previous fill done by a control. This
  18247. fixes bug #75338
  18248. - Added DrawReversibleRectangle() stub
  18249. * ScrollableControl.cs: Set visible state to false when scrollbars
  18250. are removed (pdn fix)
  18251. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  18252. DrawReversibleRectangle() method to allow drawing primitive
  18253. 'rubber bands'
  18254. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  18255. 2005-09-30 Kornél Pál <[email protected]>
  18256. * ImageList.cs: Add(Icon): Create handle.
  18257. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  18258. * ListView.cs:
  18259. * ThemeWin32Classic.cs:
  18260. - Fixes detail mode
  18261. - Sets clippings
  18262. - Issues with drawing
  18263. 2005-09-30 Kornél Pál <[email protected]>
  18264. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  18265. source has to be the ImageList.
  18266. 2005-09-30 Kornél Pál <[email protected]>
  18267. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  18268. 2005-09-30 Kornél Pál <[email protected]>
  18269. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  18270. 2005-09-30 Kornél Pál <[email protected]>
  18271. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  18272. 2005-09-29 Jonathan Chambers <[email protected]>
  18273. * GridItem.cs: Fixed TODOs
  18274. * GridItemCollection.cs: Added ICollection interface
  18275. 2005-09-30 Kornél Pál <[email protected]>
  18276. * ImageList.cs: Resize icons when needed.
  18277. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  18278. * ListViewItem.cs
  18279. - Fixes GetBounds and returns on screen rects
  18280. * ListView.cs:
  18281. - Fixes vertical and horzintal scrolling of items
  18282. * ThemeWin32Classic.cs:
  18283. - Fixes drawing
  18284. 2005-09-29 Raja R Harinath <[email protected]>
  18285. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  18286. 2005-09-29 Kornél Pál <[email protected]>
  18287. * ImageList.cs: Added comments about handle creation. Moved Handle,
  18288. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  18289. Handle is created in Add methods.
  18290. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  18291. * DataGridDrawingLogic.cs:
  18292. - Takes rows into account on Colum calculations
  18293. - Returns the column when clickig
  18294. * DataGrid.cs:
  18295. - Fixes default HitTestInfo values
  18296. - Fixes HitTestInfo.ToString
  18297. - Fixes ResetBackColor
  18298. 2005-09-28 Jackson Harper <[email protected]>
  18299. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  18300. sizing or cursor changes). Also added some temp code to draw the
  18301. titlebars text (Makes dev a little easier).
  18302. 2005-09-28 Kornél Pál <[email protected]>
  18303. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  18304. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  18305. * ListBox.cs: Fixes bug 76253
  18306. 2005-09-28 Kornél Pál <[email protected]>
  18307. * ImageList.cs: Added comments about the current implementation. Added
  18308. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  18309. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  18310. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  18311. with Bitmap.LockBits for better performance. Revised the whole file to
  18312. match MS.NET behaviour and provide better performance. Non-public
  18313. interface members are calling public members even when they throw
  18314. NotSupportedException for better maintainability. Moved ColorDepth,
  18315. ImageSize, ImageStream and TransparentColor implementations to
  18316. ImageCollection for better performance as these properties are not used
  18317. by ImageList.
  18318. * ImageListStreamer.cs: Added a new internal constructor that takes an
  18319. ImageList.ImageCollection and serializes Images based on
  18320. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  18321. match ImageList property name.
  18322. 2005-09-28 Kazuki Oikawa <[email protected]>
  18323. * ListBox.cs: Fixes IndexFromPoint for last item
  18324. 2005-09-27 Jackson Harper <[email protected]>
  18325. * Form.cs: Set the position of new mdi children correctly.
  18326. 2005-09-27 Jackson Harper <[email protected]>
  18327. * MdiClient.cs: New mdi children need to be added to the back of
  18328. the controls collection so the zorder is set correctly. Also add a
  18329. count of all the child windows that have been created.
  18330. 2005-09-27 Jackson Harper <[email protected]>
  18331. * Form.cs (CreateParams): Setup MDI forms correctly.
  18332. 2005-09-27 Jackson Harper <[email protected]>
  18333. * MdiChildContext.cs:
  18334. * MonthCalendar.cs:
  18335. * UpDownBase.cs:
  18336. * ListBox.cs:
  18337. * ListView.cs:
  18338. * TextBoxBase.cs:
  18339. * TreeView.cs:
  18340. * ScrollableControl.cs:
  18341. * ComboBox.cs: Add implicit controls using the new implict control
  18342. functionality in ControlCollection. Also try to block multiple
  18343. control add in a suspend/resume layout to save some cycles.
  18344. 2005-09-27 Jackson Harper <[email protected]>
  18345. * Control.cs: Add functionality to the controls collection to add
  18346. 'implicit controls' these are controls that are created by the
  18347. containing control but should not be exposed to the user. Such as
  18348. scrollbars in the treeview.
  18349. * Form.cs: The list var of the ControlsCollection is no longer
  18350. available because of the potential of implicit controls getting
  18351. ignored by someone accessing the list directly.
  18352. 2005-09-26 Peter Dennis Bartok <[email protected]>
  18353. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  18354. loose it's parent. (Fixed bug introduced in r49103 when we added
  18355. setting the child parent to null on Remove)
  18356. 2005-09-26 Gert Driesen <[email protected]>
  18357. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  18358. * Splitter.cs: Added missing attributes for BorderStyle property.
  18359. * TextBoxBase.cs: Marked Calculate* methods internal.
  18360. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  18361. MS.NET.
  18362. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  18363. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  18364. 2005-09-25 Jackson Harper <[email protected]>
  18365. * TreeView.cs: Update the node bounds correctly regardless of
  18366. whether the node is visible.
  18367. 2005-09-25 Jackson Harper <[email protected]>
  18368. * ImageList.cs: Don't dispose the image after it is added to the
  18369. image list. Only reformat images that need to be resized.
  18370. 2005-09-25 Jackson Harper <[email protected]>
  18371. * ImageList.cs: Don't set the format when changing the image.
  18372. 2005-09-25 Jackson Harper <[email protected]>
  18373. * TreeView.cs: We can't just assume the node has a font. Use the
  18374. treeviews font if no node font is available.
  18375. 2005-09-25 Jackson Harper <[email protected]>
  18376. * TreeView.cs: Allow the scrollbars to be reset with negative
  18377. values.
  18378. - Don't add scrollbars to negative sized windows.
  18379. 2005-09-23 Jackson Harper <[email protected]>
  18380. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  18381. old Mono.Posix. Also remove some stray code that shouldn't have
  18382. been committed.
  18383. 2005-09-23 Jackson Harper <[email protected]>
  18384. * TreeView.cs: Attempt at proper sizing of the horizontal
  18385. scrollbar. Also don't resize the scrollbars unless they are
  18386. visible.
  18387. 2005-09-23 Jackson Harper <[email protected]>
  18388. * TreeView.cs: We don't need to expand the invalid area when the
  18389. selection changes, as this is all drawn in the node's bounding
  18390. box. The area needs to be expanded (previous typo was contracting
  18391. it) when the focus rect moves.
  18392. 2005-09-23 Jackson Harper <[email protected]>
  18393. * TreeView.cs: Display the selection box under the correct
  18394. circumstances. We were rendering white text with no selection box
  18395. before.
  18396. 2005-09-23 Peter Dennis Bartok <[email protected]>
  18397. * TextControl.cs(Split): Now updates selection start/end if it points
  18398. into a line that's being split. Fixes a FIXME and bug #75258
  18399. 2005-09-23 Jackson Harper <[email protected]>
  18400. * Binding.cs:
  18401. * ListControl.cs: Don't use the path when retrieving binding
  18402. managers from the binding context. My bat sense tells me that the
  18403. path is only used on insertion.
  18404. 2005-09-22 Jackson Harper <[email protected]>
  18405. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  18406. 2005-09-22 Jackson Harper <[email protected]>
  18407. * Splitter.cs: There are special cursors used for splitting.
  18408. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  18409. 2005-09-22 Jackson Harper <[email protected]>
  18410. * Splitter.cs: Change the cursor appropriately when the splitter
  18411. is moused over, so the user actually knows there is a splitter
  18412. there.
  18413. 2005-09-22 Hisham Mardam Bey <[email protected]>
  18414. * Label.cs : Fix ToString method to give same output as MS.NET
  18415. 2005-09-22 Jackson Harper <[email protected]>
  18416. * TreeView.cs: Create the scrollbars when the handle is created
  18417. and add them right away, just make them invisble. Also account for
  18418. the window being shrunk vertically to the point that the vert
  18419. scrollbar needs to be added.
  18420. - Remove some 0.5 adjustments to get around anti aliasing issues.
  18421. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  18422. * MainMenu.cs: Fixes default value
  18423. * MenuItem.cs: Fixes default value
  18424. 2005-09-22 Kazuki Oikawa <[email protected]>
  18425. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  18426. 2005-09-21 Jackson Harper <[email protected]>
  18427. * Control.cs: Don't try to set the border style on the window if
  18428. it hasn't been created. When the window is created the border
  18429. style will be used.
  18430. 2005-09-21 Peter Dennis Bartok <[email protected]>
  18431. * Control.cs (Update): Don't call XplatUI if we don't have a
  18432. window handle yet
  18433. 2005-09-21 Peter Dennis Bartok <[email protected]>
  18434. * ContainerControl.cs: Instead of throwing an exception, print
  18435. a one-time warning about Validate not being implemented
  18436. * XplatUIWin32.cs: Removed debug output
  18437. 2005-09-21 Peter Dennis Bartok <[email protected]>
  18438. * Control.cs: Only set XplatUI background if we expect the windowing
  18439. system to handle the background. This stops controls that draw their
  18440. own background from flickering
  18441. * XplatUIX11.cs: Support custom visuals and colormaps for window
  18442. creation. This allows, amongst other things, using MWF X11 windows
  18443. with OpenGL.
  18444. 2005-09-21 Peter Dennis Bartok <[email protected]>
  18445. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  18446. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  18447. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  18448. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  18449. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  18450. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  18451. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  18452. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  18453. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  18454. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  18455. GridColumnStylesCollection.cs,
  18456. IDataGridColumnStyleEditingNotificationService.cs,
  18457. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  18458. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  18459. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  18460. TreeNodeCollection.cs, AmbientProperties.cs,
  18461. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  18462. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  18463. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  18464. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  18465. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  18466. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  18467. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  18468. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  18469. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  18470. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  18471. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  18472. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  18473. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  18474. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  18475. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  18476. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  18477. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  18478. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  18479. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  18480. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  18481. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  18482. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  18483. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  18484. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  18485. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  18486. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  18487. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  18488. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  18489. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  18490. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  18491. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  18492. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  18493. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  18494. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  18495. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  18496. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  18497. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  18498. 2005-09-21 Jackson Harper <[email protected]>
  18499. * TreeNode.cs: Call Before/After Expand not Collapse when
  18500. expanding.
  18501. 2005-09-20 Jackson Harper <[email protected]>
  18502. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  18503. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  18504. * ListViewItem.cs:
  18505. - Fixes bug 76120
  18506. - Fixes proper storing of subitems
  18507. - Fixes not updated items
  18508. 2005-09-20 Peter Dennis Bartok <[email protected]>
  18509. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  18510. things if our window handle isn't created yet. Also disabled
  18511. debug for TextBoxBase
  18512. 2005-09-20 Peter Dennis Bartok <[email protected]>
  18513. * MenuAPI.cs: Remove filtering of events to allow menu usage
  18514. 2005-09-20 Miguel de Icaza <[email protected]>
  18515. * Cursor.cs: Allow null to be passed to Cursor.Current.
  18516. 2005-09-20 Alexander Olk <[email protected]>
  18517. * ThemeWin32Classic.cs:
  18518. - Change some private methods/fields to protected virtual so that
  18519. they can be accessed and overriden in derived classes
  18520. - First refactoring of some methods. Derived themes now don't
  18521. need to duplicate the complete code from ThemeWin32Classic
  18522. * ThemeNice.cs:
  18523. - Added nice StatusBar
  18524. - Derive from ThemeWin32Classic and not Theme
  18525. - Removed duplicate ThemeWin32Classic code
  18526. 2005-09-20 Miguel de Icaza <[email protected]>
  18527. * Control.cs (ControlCollection.Add): If the value null is passed
  18528. the control is ignored.
  18529. Optimize this loop.
  18530. 2005-09-19 Peter Dennis Bartok <[email protected]>
  18531. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  18532. PostQuitMessage state.
  18533. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  18534. 2005-09-19 Peter Dennis Bartok <[email protected]>
  18535. * Application.cs: Our constructor will never get called, move
  18536. initialization to fields; fixes bug #75933
  18537. 2005-09-19 Hisham Mardam Bey <[email protected]>
  18538. * FileDialog.cs :
  18539. - Allow files to be selected properly using file name
  18540. combo box.
  18541. - Add ability to change diretory (absolute / relative)
  18542. using file name combo box.
  18543. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  18544. * ListBox.cs:
  18545. - Fixes Multicolumn listboxes item wrong calculations
  18546. - Allows to click when only one item is in the listbox
  18547. - Fixes crash when no items using keyboard navigation
  18548. 2005-09-16 Alexander Olk <[email protected]>
  18549. * ComboBox.cs: Reverted almost everything from the latest patch which
  18550. broke ComboBox
  18551. 2005-09-16 Kazuki Oikawa <[email protected]>
  18552. * ToolTip.cs:
  18553. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  18554. * ComboBox.cs:
  18555. - When DropDownStyle is Simple, it does not show scrollbar
  18556. to the last item of the list.
  18557. - When DropDownStyle is Simple, it crashed when the list was
  18558. scrolled down with the down cursor key.
  18559. - Fixed a bug that when DropDownStyle is DropDownList, the
  18560. selected item was not shown.
  18561. - The position of the selected item was not preserved when
  18562. the next dropdown happened.
  18563. * ThemeWin32Classic.cs:
  18564. - Items were wrapped at the right end.
  18565. * CheckedListBox.cs:
  18566. - Fixed Add method
  18567. * ListBox.cs:
  18568. - Items should be fully shown.
  18569. - When resizing and vertical scrollbar disappeared, the item
  18570. of index 0 should be on the top of the list.
  18571. - GetItemRectangle should consider the size of ver. scrollbar
  18572. * StatusBar.cs:
  18573. - SizingGrip area should not be allocated when it is not
  18574. displayed.
  18575. - Now it reflects MinWidth of the containing panel and
  18576. fixed a crash that happens when its width becomes so small.
  18577. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  18578. * CheckedListBox.cs: Fixes bug 76028
  18579. * ListBox.cs: Fixes bug 76028
  18580. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  18581. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  18582. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  18583. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  18584. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  18585. 2005-09-09 Jonathan Chambers <[email protected]>
  18586. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  18587. 2005-09-09 Jonathan Chambers <[email protected]>
  18588. * IRootGridEntry.cs: Added
  18589. * PropertyGridCommands.cs: Added
  18590. * PropertiesTab.cs: Added missing methods and property
  18591. * PropertyGridView.cs: Made class internal
  18592. * PropertyGridTextBox.cs: Made class internal
  18593. 2005-09-09 Alexander Olk <[email protected]>
  18594. * MimeIcon.cs: Try to check some other environment variables
  18595. if "DESKTOP_SESSION" returns "default"
  18596. 2005-09-09 Alexander Olk <[email protected]>
  18597. * ThemeNice.cs: Corrected background colors (e.g. menus)
  18598. * ColorDialog.cs: Use correct background colors for controls
  18599. 2005-09-09 Alexander Olk <[email protected]>
  18600. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  18601. 2005-09-08 Peter Dennis Bartok <[email protected]>
  18602. * RichTextBox.cs: Added initial implementation
  18603. * lang.cs: Removed. Was accidentally checked in long time ago
  18604. * TODO: Removed. Contents were obsolete
  18605. 2005-09-06 Jonathan Chambers <[email protected]>
  18606. * PropertiesTab.cs : Added
  18607. 2005-09-06 Jonathan Chambers <[email protected]>
  18608. * PropertyGrid.cs : Update
  18609. * PropertyGridView.cs : Update
  18610. * System.Windows.Forms.resx : Added images and strings
  18611. 2005-09-06 Peter Dennis Bartok <[email protected]>
  18612. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  18613. 2005-09-06 Peter Dennis Bartok <[email protected]>
  18614. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  18615. a busy loop right after the Ungrab the X11 display is otherwise
  18616. blocked
  18617. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  18618. * ThemeWin32Classic.cs: Optimise the use of clipping
  18619. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  18620. * DataGrid.cs: fixes recursion bug
  18621. 2005-09-03 Alexander Olk <[email protected]>
  18622. * ThemeNice.cs:
  18623. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  18624. - Cleanup
  18625. 2005-09-02 Alexander Olk <[email protected]>
  18626. * ThemeNice.cs: Draw nice ProgressBars
  18627. 2005-09-01 Miguel de Icaza <[email protected]>
  18628. * VScrollBar.cs: Another buglet found by Aaron's tool.
  18629. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  18630. bug finder.
  18631. 2005-08-30 Alexander Olk <[email protected]>
  18632. * ThemeNice.cs:
  18633. - Added nicer menu drawing
  18634. - Updated DrawTab
  18635. - some refactoring
  18636. 2005-08-30 Peter Dennis Bartok <[email protected]>
  18637. * CreateParams.cs (ToString): Made output match MS
  18638. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  18639. handle is already created (to avoid forcing window creation)
  18640. * XplatUIX11.cs: Set window text to caption after creating window,
  18641. in case Text was set before window was created
  18642. * Form.cs: Use this.Text instead of a static string as caption
  18643. 2005-08-30 Peter Dennis Bartok <[email protected]>
  18644. * NotifyIcon.cs: Don't set the window to visible; this screws
  18645. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  18646. OnPaint without a bitmap)
  18647. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  18648. happen very often anyway; we could add the check to the WM_PAINT
  18649. event generation code
  18650. 2005-08-30 Peter Dennis Bartok <[email protected]>
  18651. * NotifyIcon.cs: Fill the icon area with a background color, to
  18652. avoid 'residue' when transparent icons are drawn
  18653. * XplatUIX11.cs:
  18654. - Handle whole_window == client_window when destroying windows
  18655. - SystrayAdd(): Set client_window to whole_window value to
  18656. get mouse and other events passed to NotifyIcon
  18657. 2005-08-30 Peter Dennis Bartok <[email protected]>
  18658. * Form.cs: Set proper default for Opacity property
  18659. * NotifyIcon.cs:
  18660. - ShowSystray(): Don't bother creating telling the OS
  18661. about the systray item if no icon is provided
  18662. - Now handles WM_NCPAINT message to deal with whole/client window
  18663. split
  18664. - Create window as visible to not get caught by Expose optimization
  18665. * Hwnd.cs: Removed debug message
  18666. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  18667. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  18668. PaintEventStart/End to use new client argument
  18669. * TextBoxBase.cs:
  18670. - Commented out debug messages
  18671. - Switched PaintEventStart/End to use new client argument
  18672. * XplatUI.cs: Added client window bool to PaintEventStart()/
  18673. PaintEventEnd() calls, to support drawing in non-client areas
  18674. * XplatUIDriver.cs:
  18675. - Added client window bool to PaintEventStart()/PaintEventEnd()
  18676. calls, to support drawing in non-client areas
  18677. - Added conditional compile to allow using MWF BeginInvoke
  18678. on MS runtime
  18679. * XplatUIX11.cs:
  18680. - Added some conditional debug output
  18681. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  18682. whole/client window split
  18683. - Implemented handling of client argument to PaintEventStart()/End()
  18684. * Control.cs:
  18685. - Throw exception if BeginInvoke() is called and the window handle
  18686. or one of the window's parent handles is not created
  18687. - Added conditional compile to allow using MWF BeginInvoke on
  18688. MS runtime
  18689. - get_Parent(): Only sets parent if handle is created. This avoids
  18690. forcing window handle creation when parent is set.
  18691. - Now fires Layout and Parent changed events in proper order
  18692. - Switched to use Handle instead of window.Handle for Z-Order setting,
  18693. the get_Parent() patch above causes us to possibly get null for 'window'
  18694. - Implemented handling of client argument to PaintEventStart()/End()
  18695. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  18696. default handling)
  18697. - Now sends a Refresh() to all child windows when Refresh() is called
  18698. 2005-08-29 Peter Dennis Bartok <[email protected]>
  18699. * Form.cs: Added (non-functional) Opacity property
  18700. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  18701. 2005-08-29 Alexander Olk <[email protected]>
  18702. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  18703. use export MONO_THEME=nice to activate it.
  18704. Currently supported controls:
  18705. - Button
  18706. - ComboBox
  18707. - ScrollBar
  18708. - TabControl (TabAlignment.Top only, other will follow)
  18709. * ThemeEngine.cs: Add theme nice
  18710. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  18711. if enabled
  18712. 2005-08-25 Jonathan Chambers <[email protected]>
  18713. * Splitter.cs: Resize docked control and its neighbor.
  18714. 2005-08-24 Rafael Teixeira <[email protected]>
  18715. -- Making Windows with Menus layout correctly --
  18716. * Form.cs : The first leg of the fix
  18717. Menu setter - adjust Client Size as needed to make space for the menu
  18718. SetClientSizeCore - doesn't call base version to be able to pass the
  18719. menu handle to XplatUI.CalculateWindowRect
  18720. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  18721. * XplatUIX11.cs: The critical second leg of the fix
  18722. GetWindowPos needs to use a recalculated client_rect
  18723. so that resizing the window doesn't break layout of child controls.
  18724. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  18725. Lots of \t\n killed
  18726. 2005-08-23 Peter Dennis Bartok <[email protected]>
  18727. * Label.cs: Now properly recalculates width and height on Font and Text
  18728. changes if AutoSize is set
  18729. 2005-08-19 Rafael Teixeira <[email protected]>
  18730. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  18731. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  18732. * ImageList.cs: Makes ToString method compatible with MS
  18733. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  18734. * MenuAPI.cs: fixes bug 75716
  18735. 2005-08-11 Umadevi S <[email protected]>
  18736. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  18737. 2005-08-11 Umadevi S <[email protected]>
  18738. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  18739. 2005-08-10 Umadevi S <[email protected]>
  18740. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  18741. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  18742. * Menu.cs: fixes bug 75700
  18743. * MenuAPI.cs: fixes navigation issues
  18744. 2005-08-09 Umadevi S <[email protected]>
  18745. * CheckedListBox.cs - simple fix for GetItemChecked.
  18746. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  18747. * ComboBox.cs: Serveral fixes
  18748. * ListBox.cs: Serveral fixes
  18749. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  18750. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  18751. * ListBox.cs: Fixes FindString methods
  18752. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  18753. * DataGrid.cs: fixes bugs exposed by new tests
  18754. 2005-08-04 Peter Dennis Bartok <[email protected]>
  18755. * Mime.cs: Compile Mono assembly references only if compiling
  18756. with Mono (Allows to build with VS.Net again)
  18757. 2005-07-28 Marek Safar <[email protected]>
  18758. * Control.cs (PaintControlBackground): Draw background image
  18759. corrrectly.
  18760. (CheckForIllegalCrossThreadCalls): Stubbed.
  18761. * Form.cs (OnCreateControl): Center when should be centered.
  18762. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  18763. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  18764. * Binding.cs: Binding to properties should be case unsensitive
  18765. 2005-07-18 [email protected]
  18766. * DataGrid.cs: fixes setmember order
  18767. 2005-07-07 Alexander Olk <[email protected]>
  18768. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  18769. * FileDialog.cs: FileDialog is now resizable and uses the new
  18770. MimeIconEngine
  18771. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  18772. * DataGridTextBoxColumn.cs: default value
  18773. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  18774. * GridTableStylesCollection.cs: fixes checking MappingName
  18775. * DataGridDrawingLogic.cs: fixes drawing logic issues
  18776. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  18777. * DataGrid.cs: fixes
  18778. 2005-07-06 Alexander Olk <[email protected]>
  18779. * MimeGenerated.cs: Use case sensitive comparer for
  18780. NameValueCollections
  18781. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  18782. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  18783. * ThemeWin32Classic.cs: bug fixes, code refactoring
  18784. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  18785. * DataGrid.cs: bug fixes, code refactoring
  18786. * DataGridTextBox.cs: bug fixes, code refactoring
  18787. * DataGridColumnStyle.cs: bug fixes, code refactoring
  18788. * Theme.cs: bug fixes, code refactoring
  18789. 2005-07-01 Peter Bartok <[email protected]>
  18790. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  18791. and other text box usage
  18792. 2005-07-01 Jackson Harper <[email protected]>
  18793. * TabControl.cs: Make sure the bottom of the tab covers the pages
  18794. border.
  18795. 2005-06-30 Peter Bartok <[email protected]>
  18796. * Form.cs (ShowDialog): Assign owner of the dialog
  18797. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  18798. might have been moved to a tag with different height
  18799. 2005-06-30 Jackson Harper <[email protected]>
  18800. * Form.cs: Don't create an infinite loop when setting focus
  18801. * MenuItem.cs: Don't dirty the parents if we don't have any
  18802. 2005-06-29 Ben Maurer <[email protected]>
  18803. * LibSupport.cs: Rename
  18804. 2005-06-29 Peter Bartok <[email protected]>
  18805. * TextBoxBase.cs: Re-align caret after deleting a character
  18806. * TextControl.cs:
  18807. - DeleteChars(): Ensure that tag covers the provided position
  18808. - StreamLine(): Drop reference for dropped tag
  18809. 2005-06-29 Peter Bartok <[email protected]>
  18810. * TextControl.cs:
  18811. - Selections now work properly, anchoring at the initial location
  18812. and properly extending in either direction (SetSelectionToCaret(),
  18813. SetSelectionStart() and SetSelectionEnd())
  18814. - No longer redraws the whole control on selection change, now
  18815. calculates delta between previous and new selection and only
  18816. invalidates/redraws that area
  18817. - Fixed FindPos() math off-by-one errors
  18818. - Changed DeleteChars() to verify the provided tag covers the
  18819. provided position, selections may have a tag that doesn't cover
  18820. the position if the selection is at a tag border
  18821. - Fixed off-by-one errors in DeleteChars()
  18822. - Added missing streamlining check in DeleteChars() to remove
  18823. zero-length tags
  18824. - Implemented Invalidate() method, now properly calculates exposures
  18825. between two given lines/positions
  18826. - Implemented SetSelection()
  18827. - Obsoleted and removed FixupSelection()
  18828. - Improved RecalculateDocument() logic, removing code duplication
  18829. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  18830. * LibSupport.cs: changes to match different input/output arguments.
  18831. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  18832. * LibSupport.cs: added libsupport.so init routine.
  18833. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  18834. * ControlBindingsCollection.cs
  18835. - Throws an exception on null datasource when adding
  18836. - Checks for duplicated bindings when adding
  18837. 2005-06-28 Jackson Harper <[email protected]>
  18838. * TreeView.cs (OnKeyDown): Support left and right properly
  18839. (navigates as well as expanding and collapsing.
  18840. - Add support for Multiply, this expands all the selected nodes
  18841. children.
  18842. - Fix some tabbing.
  18843. 2005-06-28 Jackson Harper <[email protected]>
  18844. * TreeView.cs: Implement keyboard navigation, currently supports,
  18845. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  18846. support for toggling checkboxes with the space bar.
  18847. 2005-06-28 Jackson Harper <[email protected]>
  18848. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  18849. tree.
  18850. 2005-06-28 Jackson Harper <[email protected]>
  18851. * TreeView.cs: Add missing event.
  18852. 2005-06-27 Peter Bartok <[email protected]>
  18853. * TextControl.cs:
  18854. - Made line ending size configurable (now allows for counting
  18855. lineendings as \n or \r\n)
  18856. - Added margin to viewport to keep caret visible on right side
  18857. - Fixed translation routines for line/pos to documentpos to consider
  18858. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  18859. - Fixed some line-endings to be unix style
  18860. - Fixed Document.FormatText to perform it's calculations 1-based
  18861. - Added descriptions for a few methods that might otherwise get
  18862. used wrong
  18863. - Added NOTE section with some basic conventions to remember at
  18864. the top of the file
  18865. - Major fixup for RichTextBox selection drawing:
  18866. * Fixed crashes when multiple tags on a single line were selected
  18867. * fixed selection box drawing not overlaying text
  18868. * fixed bogus offset calculation for tags not starting at index 1
  18869. * Switched behaviour from using multiple Substrings of a
  18870. StringBuilder.ToString() to using multiple
  18871. StringBuilder.ToString(start, length) statements, hoping this is
  18872. faster (kept original version commented out in the code, in case
  18873. original version was faster)
  18874. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  18875. alignment != Left
  18876. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  18877. call it as well
  18878. 2005-06-27 Jackson Harper <[email protected]>
  18879. * TabControl.cs: Move to the left and right with the arrow
  18880. keys. These keys don't cycle beyond first and last like
  18881. tab. Refresh all the tabs when scrolling them to the left or
  18882. right.
  18883. 2005-06-27 Jackson Harper <[email protected]>
  18884. * TabControl.cs:
  18885. - ToString: Added method
  18886. - CreateParams: Remove TODO and comment
  18887. - OnKeyDown: Cycle through bounds properly.
  18888. - SelectedIndex: Scroll to the right or left if we need to
  18889. display the newly selected tab.
  18890. 2005-06-23 Jackson Harper <[email protected]>
  18891. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  18892. set.
  18893. 2005-06-23 Jackson Harper <[email protected]>
  18894. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  18895. CTRL-SHIFT-TAB, and HOME, END are there any others?
  18896. 2005-06-23 Jackson Harper <[email protected]>
  18897. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  18898. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  18899. * DataGridTextBoxColumn.cs: fixes and enhancements
  18900. * ThemeWin32Classic.cs: fixes and enhancements
  18901. * DataGridBoolColumn.cs: fixes and enhancements
  18902. * DataGridDrawingLogic.cs: fixes and enhancements
  18903. * CurrencyManager.cs: fixes and enhancements
  18904. * DataGrid.cs: fixes and enhancements
  18905. * DataGridColumnStyle.cs: fixes and enhancements
  18906. 2005-06-22 Jackson Harper <[email protected]>
  18907. * TabControl.cs: Add some missing methods that just call into the
  18908. base. Make the TabPageCollection's IList interface behave in the
  18909. same manner as the MS implementation.
  18910. 2005-06-22 Peter Bartok <[email protected]>
  18911. * TextControl.cs: Added sanity check
  18912. * TextBoxBase.cs:
  18913. - Fixed wrapping behaviour, don't set wrap on single line controls
  18914. (this fixes the breakage of colordialog introduced in an earlier
  18915. checkin)
  18916. - Added rudimentary support for autoscrolling right-aligned controls
  18917. (still needs fixing, also, center alignment scroll is missing)
  18918. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  18919. * ScrollBar.cs: Fixes thumbpos on Maximum values
  18920. 2005-06-21 Jonathan Chambers <[email protected]>
  18921. * PropertyGridView.cs: Pass context information to UITypeEditors
  18922. 2005-06-21 Peter Bartok <[email protected]>
  18923. * TextBoxBase.cs:
  18924. - Now calling PositionCaret with absolute space coordinates
  18925. - Enabled vertical scrolling
  18926. - Better tracking of scrollbar changes, tied into WidthChange
  18927. event
  18928. - Improved cursor tracking
  18929. - Removed debug output
  18930. * TextControl.cs:
  18931. - PositionCaret coordinates are now works in absolute space, not
  18932. the canvas
  18933. - Improved tracking of document size
  18934. - Added events for width and height changes
  18935. 2005-06-21 Peter Bartok <[email protected]>
  18936. * Form.cs: Set focus to active control when form is activated
  18937. * TextControl.cs:
  18938. - Added word-wrap functionality to RecalculateLine()
  18939. - Added some short function descriptions for VS.Net to aid in
  18940. writing dependent controls
  18941. - Added Caret property, returning the current coords of the caret
  18942. - Added ViewPortWidth and ViewPortHeight properties
  18943. - Added Wrap property
  18944. - Added CaretMoved event
  18945. - Removed some old debug code
  18946. - Split() can now create soft splits
  18947. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  18948. - Added method to format existing text
  18949. - Fixed size/alignment calculations to use viewport
  18950. - RecalculateDocument now can handle changing line-numbers while
  18951. calculating lines
  18952. * TextBox.cs:
  18953. - Added some wrap logic, we don't wrap if alignment is not left
  18954. - Added casts for scrollbar var, base class switched types to
  18955. also support RichTextBoxA
  18956. - Implemented handling of scrollbar visibility flags
  18957. * TextBoxBase.cs:
  18958. - Switched scrollbars type to RichTextBoxScrollBars to support
  18959. RichTextBox
  18960. - Added tracking of canvas width/height
  18961. - Switched scrollbars to be not selectable (to keep focus on text)
  18962. - Added central CalculateDocument() method to handle all redraw
  18963. requirements
  18964. - Added ReadOnly support
  18965. - Added WordWrap support
  18966. - Fixed handling of Enter key (we now treat it as a DialogKey)
  18967. - Fixed caret positioning when h or v scroll is not zero
  18968. - Fixed placing/generation of vertical scrollbar
  18969. - Added CalculateScrollBars() method to allow updating scrollbar
  18970. limits and visibility
  18971. - Fixed handling of horizontal scroll
  18972. - Added handling of vertical scroll
  18973. - Implemented auto-'jump' when caret moves to close to a left or
  18974. right border and there is text to be scrolled into view (currently
  18975. there's the potential for a stack overflow, until a bug in
  18976. scrollbar is fixed)
  18977. 2005-06-21 Geoff Norton <[email protected]>
  18978. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  18979. 2005-06-19 Alexander Olk <[email protected]>
  18980. * Mime.cs:
  18981. - added inodes.
  18982. - return application/x-zerosize for files with size zero
  18983. (if no extension pattern matches).
  18984. - check matches collection for strings too.
  18985. - return only the first mime type if the name value
  18986. collection has more than one mime type.
  18987. 2005-06-18 Jonathan Chambers <[email protected]>
  18988. * PropertyGrid.cs: Cleaned up some TODOs
  18989. * PropertyGridView.cs: Added support for UITypeEditors
  18990. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  18991. * DataGrid.cs: clears cached value
  18992. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  18993. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  18994. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  18995. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  18996. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  18997. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  18998. * ThemeWin32Classic.cs: fixes colour
  18999. 2005-06-15 Peter Bartok <[email protected]>
  19000. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  19001. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  19002. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  19003. * Control.cs: Added some MWFCategory and MWFDescription attributes
  19004. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  19005. 2005-06-15 Alexander Olk <[email protected]>
  19006. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  19007. usage
  19008. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  19009. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  19010. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  19011. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  19012. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  19013. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  19014. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  19015. 2005-06-13 Jackson Harper <[email protected]>
  19016. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  19017. isn't printed when the user enables dropping. (X11 does accept
  19018. drops).
  19019. 2005-06-13 Jackson Harper <[email protected]>
  19020. * TreeView.cs: Remove some TODOS.
  19021. 2005-06-13 Jackson Harper <[email protected]>
  19022. * Form.cs: Hook into the mdi framework.
  19023. * MdiClient.cs: Use the base control collections add method so
  19024. parents get setup correctly. Set the default back colour and dock
  19025. style.
  19026. * MdiChildContext.cs: New class, this bad actor handles an
  19027. instance of an MDI window. Right now there is only basic
  19028. support. You can drag, close, and resize windows. Minimize and
  19029. Maximize are partially implemented.
  19030. 2005-06-13 Jackson Harper <[email protected]>
  19031. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  19032. freaky when both vals are negative. NOTE: There are probably other
  19033. places in XplatUIX11 that this needs to be done.
  19034. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  19035. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  19036. * DataGridColumnStyle.cs: fixes signature
  19037. 2005-06-12 Jackson Harper <[email protected]>
  19038. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  19039. windows.
  19040. 2005-06-11 Jackson Harper <[email protected]>
  19041. * StatusBarPanel.cs: Signature cleanups. Implement
  19042. BeginInit/EndInit.
  19043. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  19044. * DataGridTextBoxColumn.cs: Honors aligment
  19045. * GridColumnStylesCollection.cs: Contains is case unsensitive
  19046. * GridTableStylesCollection.cs: several fixes
  19047. * DataGridTableStyle.cs: default column creation
  19048. * DataGridDrawingLogic.cs: fixes
  19049. * CurrencyManager.cs: ListName property
  19050. * DataGrid.cs: multiple styles support
  19051. * DataGridColumnStyle.cs: fixes
  19052. 2005-06-10 Peter Bartok <[email protected]>
  19053. * Control.cs(Select): Moved SetFocus call to avoid potential
  19054. loops if controls change the active control when getting focus
  19055. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  19056. the up/down buttons
  19057. 2005-06-10 Matthias Felgner <[email protected]>
  19058. * ImageListConverter.cs: Implemented
  19059. 2005-06-10 John BouAntoun <[email protected]>
  19060. * MonthCalendar.cs: Wired in NumericUpDown control for year
  19061. 2005-06-10 John BouAntoun <[email protected]>
  19062. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  19063. DoubleClick events, since they are not meant to be fired.
  19064. 2005-06-09 Peter Bartok <[email protected]>
  19065. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  19066. Jonathan's standalone controls into MWF, implemented missing
  19067. events, attributes and methods; added xxxAccessible classes
  19068. * AccessibleObject.cs: Made fields internal so other classes
  19069. can change them if needed
  19070. 2005-06-09 Jonathan Gilbert <[email protected]>
  19071. * UpDownBase.cs: Complete implementation
  19072. * NumericUpDown.cs: Complete implementation
  19073. * DomainUpDown.cs: Complete implementation
  19074. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  19075. * DataGridTextBoxColumn.cs: drawing fixes
  19076. * DataGridCell.cs: fixes ToString method to match MSNet
  19077. * DataGridTableStyle.cs: fixes
  19078. * DataGridBoolColumn.cs: fixes, drawing
  19079. * DataGridDrawingLogic.cs: fixes, new methods
  19080. * DataGridTextBox.cs: Keyboard and fixes
  19081. * DataGrid.cs:
  19082. - Keyboard navigation
  19083. - Scrolling fixes
  19084. - Row selection (single, multiple, deletion, etc)
  19085. - Lots of fixes
  19086. 2005-06-07 Jackson Harper <[email protected]>
  19087. * ThemeWin32Classic.cs: Clear the background area when drawing
  19088. buttons.
  19089. 2005-06-06 Peter Bartok <[email protected]>
  19090. * ImageListStreamer.cs: Fixed signature for GetData
  19091. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  19092. * ComboBox.cs:
  19093. - Added missing ChildAccessibleObject class
  19094. - Added missing OnXXXFocus overrides, switched to using those
  19095. instead of the event handler
  19096. * Control.cs:
  19097. - Added Parent property for ControlAccessibleObject
  19098. - Fixed signatures
  19099. - Fixed attributes
  19100. - Added ResetBindings()
  19101. * ListBindingConverter.cs: Implemented some methods
  19102. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  19103. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  19104. * ContainerControl.cs: Fixed signature, now subscribing to the
  19105. ControlRemoved event instead of overriding the handler, LAMESPEC
  19106. * CurrencyManager.cs: Added missing attribute
  19107. * MonthCalendar.cs: Added missing properties
  19108. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19109. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  19110. 2005-06-06 Gaurav Vaish and Ankit Jain
  19111. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19112. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19113. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19114. * Control.cs: fixes CreateParams Width / Height.
  19115. 2005-06-05 Peter Bartok <[email protected]>
  19116. * Win32DnD.cs: Removed compilation warnings
  19117. 2005-06-05 Peter Bartok <[email protected]>
  19118. * Control.cs (CreateParams): Since we don't know if one of the
  19119. properties we use is overridden, lets make sure if we fail accessing
  19120. we continue with a backup plan
  19121. 2005-06-05 Peter Bartok <[email protected]>
  19122. * Win32DnD.cs:
  19123. - Removed debug output
  19124. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  19125. struct
  19126. - Plugged resource leak
  19127. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  19128. MS size
  19129. 2005-06-05 Peter Bartok <[email protected]>
  19130. * XplatUIWin32.cs: Removed DnD code
  19131. * Win32DnD.cs: Implemented drop source and drop target functionality
  19132. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  19133. * UpDownBase.cs: remove duplicate addition of event, enable some code
  19134. that was commented out.
  19135. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  19136. Validate input when a key is pressed. It works fine now for every
  19137. combination of Hexadecimal. Only missing some drawing love when sharing
  19138. space with other controls.
  19139. 2005-06-04 Peter Bartok <[email protected]>
  19140. * Control.cs:
  19141. - We need to pass a window for DragDrop, so enable callback events
  19142. - Added DnD callback events when being a DragSource
  19143. * XplatUI.cs (StartDrag): Added window handle argument
  19144. * XplatUIDriver.cs (StartDrag): Added window handle argument
  19145. * QueryContinueDragEventArgs: Made fields internally accessible so
  19146. drivers can set them
  19147. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  19148. can set them
  19149. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  19150. * DataGridTextBoxColumn.cs: column text editing
  19151. * DataGridTableStyle.cs: Respect columns styles created by the user
  19152. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  19153. * DataGridBoolColumn.cs: bool column editing
  19154. * DataGrid.cs: fixes to scrolling, properties, etc
  19155. * DataGridTextBox.cs: handle keyboard
  19156. * DataGridColumnStyle.cs: fixes
  19157. 2005-06-02 Jackson Harper <[email protected]>
  19158. * ImageListStreamer.cs: Somewhat broken implementation of
  19159. GetObjectData. The RLE needs some work to match MS properly.
  19160. 2005-06-02 Jackson Harper <[email protected]>
  19161. * X11Dnd.cs: Attempting to keep at least one file in MWF
  19162. monostyled.
  19163. 2005-06-02 Peter Bartok <[email protected]>
  19164. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  19165. that way
  19166. 2005-06-02 Peter Bartok <[email protected]>
  19167. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  19168. * XplatUI.cs: Added DoDragDrop() method
  19169. * XplatUIDriver.cs: Added DoDragDrop() method
  19170. 2005-06-02 Jackson Harper <[email protected]>
  19171. * Splitter.cs: Implement BorderStyle.
  19172. 2005-06-02 Jackson Harper <[email protected]>
  19173. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  19174. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  19175. X11 using XDND.
  19176. 2005-06-02 Peter Bartok <[email protected]>
  19177. * DataObject.cs:
  19178. - Added Data setter
  19179. - Fixed broken insertion code for SetData, now also
  19180. overwrites any existing entry of the same format name
  19181. * Hwnd.cs: Added list of pointers that automatically gets
  19182. freed when the window is disposed
  19183. * XplatUI.cs: Call driver initialization method when loading
  19184. a driver
  19185. * Control.cs:
  19186. - OnDragLeave takes EventArgs, not DragEventArgs
  19187. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  19188. supported
  19189. - Forces style update when drop state changes
  19190. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  19191. not perfect since we cannot (yet) call the IDataObject.GetData()
  19192. method, we keep getting 0x80004005 error, dunno why)
  19193. 2005-06-02 Peter Bartok <[email protected]>
  19194. * DragEventArgs.cs: Make fields internal so we can cache the
  19195. object and re-set the fields from XplatUI
  19196. 2005-06-02 Jackson Harper <[email protected]>
  19197. * Control.cs: Add some internal methods so the DnD subsystem can
  19198. raise DnD events. Also call into the driver when AllowDrop is set.
  19199. * XplatUI.cs:
  19200. * XplatUIDriver.cs: New method for setting whether or not a window
  19201. is allowed to accept drag and drop messages.
  19202. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  19203. * ScrollBar.cs: Make sure that values sent in Scroll events
  19204. are always between Maximum and Minimum.
  19205. 2005-06-01 Marek Safar <[email protected]>
  19206. * Menu.cs: Call MenuChanged when menuitem visibility has been
  19207. changed.
  19208. * MenuItem.cs: Rebuild menu when item is (not) visible.
  19209. * MainMenu.cs: MainMenu has special MenuChanged.
  19210. * Theme.cs: Caption and FrameBorderSize are not fixed.
  19211. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  19212. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  19213. * XplatUIX11.cs,
  19214. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  19215. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  19216. 2005-05-30 Jackson Harper <[email protected]>
  19217. * DataFormat.cs: We can't statically initialize this stuff because
  19218. it calls into the xplatui and could create a loop. So we lazy init
  19219. it.
  19220. 2005-05-28 Jackson Harper <[email protected]>
  19221. * Control.cs: Proper implementation of Product(Name/Version).
  19222. 2005-05-27 Jackson Harper <[email protected]>
  19223. * DataObject.cs: Dont crash if no data is found.
  19224. 2005-05-26 Rafael Teixeira <[email protected]>
  19225. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  19226. as per status page, guessing it should be set to true
  19227. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  19228. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  19229. * DataGridTableStyle.cs: set proper formatting text, def header text
  19230. * ThemeWin32Classic.cs: new themable paramaters
  19231. * DataGridBoolColumn.cs: paint check box, get data, fixes
  19232. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  19233. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  19234. * DataGridColumnStyle.cs: fixes
  19235. * Theme.cs: new themable paramaters
  19236. 2005-05-26 Peter Bartok <[email protected]>
  19237. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  19238. 2005-05-24 Jonathan S. Chambers <[email protected]>
  19239. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  19240. 2005-05-24 Peter Bartok <[email protected]>
  19241. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  19242. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  19243. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  19244. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  19245. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  19246. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  19247. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  19248. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  19249. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  19250. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  19251. missing attributes, etc
  19252. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  19253. 2005-05-24 Peter Bartok <[email protected]>
  19254. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  19255. when user tries to get help
  19256. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  19257. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  19258. to suppress warnings
  19259. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  19260. avoid unreachable code warning
  19261. 2005-05-20 Peter Bartok <[email protected]>
  19262. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  19263. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19264. * DataGridTextBoxColumn.cs: Basic painting methods
  19265. * DataGridTableStyle.cs: Set table style in the column
  19266. * ThemeWin32Classic.cs: Use Theme for colors
  19267. * DataGridDrawingLogic.cs: Implement more drawing
  19268. * DataGrid.cs: drawing, theming, enhacements, fixes
  19269. * DataGridColumnStyle.cs: fixes, drawing
  19270. * Theme.cs: theming for Datagrid
  19271. 2005-05-20 Peter Bartok <[email protected]>
  19272. * Cursor.cs: Implemented GetObjectData() method
  19273. 2005-05-20 Peter Bartok <[email protected]>
  19274. * Cursors.cs: Added setting of cursor name
  19275. * Cursor.cs:
  19276. - Implemented constructors
  19277. - Implemented Draw and DrawStretched
  19278. - Implemented Current property
  19279. - Implemented == and != operators
  19280. - Implemented Dispose()
  19281. - Implemented ToString
  19282. - Added missing attributes
  19283. * XplatUIX11.cs:
  19284. - Added missing reset for OverrideCursor when DoEvents is called
  19285. - Fixed creation of cursor, logic was wrong
  19286. * XplatUIWin32.cs:
  19287. - Added missing reset for OverrideCursor when DoEvents is called
  19288. - Fixed creation of cursor, bit arrays were swapped
  19289. * Clipboard.cs: Removed obsolete MonoTODO attribute
  19290. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19291. * ComboBox.cs: fixes OnSelectedItemChanged
  19292. * ControlBindingsCollection.cs: fixes item range check
  19293. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19294. * UpDownBase.cs:
  19295. - Calc preferred height properly
  19296. - Implement missing properties
  19297. * NumericUpDown.cs: Implement missing events
  19298. 2005-05-19 Jackson Harper <[email protected]>
  19299. * TabControl.cs: New method that resizes the tab pages before
  19300. redrawing them. This as needed as the control is double buffered
  19301. and sizing will not be recalculated unless ResizeTabPages is
  19302. called.
  19303. * TabPage.cs: Set base.Text instead of Text in the constructor so
  19304. that UpdateOwner does not get called. Use the new Redraw method of
  19305. TabControl instead of Refresh so the sizing is recalculated.
  19306. * ThemeWin32Classic.cs: Draw the text for button tabs.
  19307. 2005-05-19 Jackson Harper <[email protected]>
  19308. * Control.cs: Paint control background images. Fix typo where
  19309. PaintControlBackground was not getting called correctly.
  19310. 2005-05-19 Peter Bartok <[email protected]>
  19311. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  19312. I can investigate, apparently I broke FileDialog
  19313. 2005-05-19 Marek Safar <[email protected]>
  19314. * AxHost.cs: Some simple properties.
  19315. * Control.cs: window must be accessible after ctor.
  19316. * Form.cs: Added TransparencyKey property.
  19317. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  19318. * XplatUIWin32.cs: SetBorderStyle implemented.
  19319. 2005-05-18 Peter Bartok <[email protected]>
  19320. * DataObject.cs: Entries are not global but particular to the
  19321. DataObject, now it behaves that way
  19322. * XplatUIWin32.cs: Implemented Clipboard methods
  19323. * Clipboard.cs: Implemented
  19324. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  19325. * XplatUIOSX.cs: Updated to final clipboard prototypes
  19326. * XplatUIX11.cs: Implemented Clipboard methods
  19327. * XplatUIDriver.cs: Updated to final clipboard prototypes
  19328. * XplatUIStructs.cs:
  19329. - Added BITMAPINFOHEADER struct
  19330. - Added ClipboardFormats enum
  19331. * X11Structs.cs:
  19332. - Added ClipboardStruct
  19333. - Added Atom enum items for clipboard types
  19334. - Fixed atom types for Selection event structures
  19335. * DataFormats.cs:
  19336. - Added internal properties and methods for drivers to enumerate
  19337. all known formats
  19338. - Switched initialization method to allow drivers to assign their
  19339. own IDs even for the MS predefined clipboard IDs
  19340. * XplatUI.cs: Updated to final clipboard interface
  19341. 2005-05-18 Jonathan S. Chambers <[email protected]>
  19342. * PropertyGridView.cs: Fixed compiler warnings.
  19343. 2005-05-18 Jonathan S. Chambers <[email protected]>
  19344. * PropertyGrid.cs: Added some event calls
  19345. * PropertyGridView.cs: Change drawing code to use double buffering
  19346. * PropertyGridTextBox.cs: Changed Text property name
  19347. * GridItem.cs: Added Bounds property.
  19348. * GridEntry.cs: Added Bounds property.
  19349. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  19350. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  19351. since GetType() may not return the correct type if the object is
  19352. a remoting proxy.
  19353. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  19354. * TreeNodeCollection.cs: fixes get/set item ranges
  19355. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  19356. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  19357. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  19358. * ComboBox.cs: Fix item range comparation
  19359. * ListView.cs: Fix item range comparation
  19360. 2005-05-03 Alexander Olk <[email protected]>
  19361. * FontDialog.cs:
  19362. - Clear example panel when OnPaint is called
  19363. - Better solution for displaying the example panel text
  19364. - Select default indexes in the ListBoxes
  19365. 2005-05-11 Geoff Norton <[email protected]>
  19366. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  19367. 2005-05-11 Peter Bartok <[email protected]>
  19368. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  19369. * SelectionRangeConverter.cs: Implemented
  19370. * PropertyGrid.cs: Fixed attribute value
  19371. * Control.cs:
  19372. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  19373. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  19374. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  19375. that's common to all drivers. First methods to go there are
  19376. Sebastien Pouliot's CAS Stack Propagation helper methods
  19377. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  19378. Sebastien Pouliot for CAS Stack Propagation
  19379. 2005-05-11 Geoff Norton <[email protected]>
  19380. * OSXStructs.cs:
  19381. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  19382. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  19383. * DataGridTextBoxColumn.cs: fixed some members
  19384. * GridColumnStylesCollection.cs: indexed column is case insensitive
  19385. * DataGridTableStyle.cs: fixes
  19386. * ThemeWin32Classic.cs: add new theme parameter
  19387. * Theme.cs: add new theme parameter
  19388. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  19389. * DataGrid.cs: fixes, new internal properties, etc.
  19390. * DataGridColumnStyle.cs: allows to set grid value
  19391. *
  19392. 2005-05-10 Peter Bartok <[email protected]>
  19393. * AccessibleObject.cs:
  19394. - Removed MonoTODO attribute on help, method is correct
  19395. - Fixed Bounds property
  19396. * AxHost.cs: Moved MonoTODO
  19397. * ButtonBase.cs: Now setting AccessibleObject properties
  19398. * RadioButton.cs: Setting proper AccessibleObject role
  19399. * CheckBox.cs: Setting proper AccessibleObject role
  19400. * ControlBindingsCollection.cs: Added properties, methods and attributes
  19401. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  19402. userdefined DataFormats.Format items as well
  19403. * ListControl.cs: Removed data_member from the public eye
  19404. * OpenFileDialog.cs:
  19405. - Made class sealed
  19406. - Added missing attributes
  19407. * SaveFileDialog.cs: Added missing attributes
  19408. * ImageListStreamer.cs: Fixed code that caused warnings
  19409. * LinkLabel.cs: Removed unreachable code
  19410. * TreeView.cs: Fixed code that caused warnings
  19411. * PropertyGridView.cs: Fixed code that caused warnings
  19412. * GridColumnStylesCollection.cs: Added missing attributes
  19413. * GridTableStylesCollection: Added missing attribute
  19414. * PropertyManager: Added .ctor
  19415. * SecurityIDType: Added
  19416. * DataObject.cs: Implemented class
  19417. * LinkArea.cs: Added missing attribute
  19418. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  19419. * RadioButton.cs: call base method to allow to fire OnClick event
  19420. * UpDownBase.cs: OnMouseUp call base method
  19421. * CheckedListBox.cs: call base method before returning
  19422. * TrackBar.cs: call base method before returning
  19423. 2005-05-10 Peter Bartok <[email protected]>
  19424. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  19425. for messages
  19426. 2005-05-10 Peter Bartok <[email protected]>
  19427. * DataFormats.cs: Implemented
  19428. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  19429. XplatUIX11.cs: Added Clipboard APIs
  19430. * XplatUIWin32.cs: Implemented Clipboard APIs
  19431. * FolderBrowserDialog.cs: Added missing event, attributes
  19432. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  19433. * CheckBox.cs: call base method to allow to fire OnClick event
  19434. 2005-05-09 Sebastien Pouliot <[email protected]>
  19435. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  19436. 2005-05-06 Peter Bartok <[email protected]>
  19437. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  19438. * Screen.cs: Implemented
  19439. * HelpNavigator.cs: Added
  19440. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  19441. property
  19442. * HelpProvider.cs: Implemented all we can do until we have a CHM
  19443. help library (which means that "What's This" does work now)
  19444. 2005-05-06 Jackson Harper <[email protected]>
  19445. * XplatUIX11.cs: Fix waking up the main loop.
  19446. 2005-05-05 Peter Bartok <[email protected]>
  19447. * XplatUI.cs: Updated revision
  19448. * Form.cs: Removed enless loop
  19449. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  19450. * Label.cs (OnPaint): Added call to base.OnPaint()
  19451. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  19452. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  19453. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  19454. * AxHost.cs: Added
  19455. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  19456. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  19457. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  19458. reuse of ToolTipWindow by other controls
  19459. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  19460. * XplatUIX11.cs: Now clipping drawing area (experimental)
  19461. * PictureBox.cs: Moved base.OnPaint() call to end of method
  19462. * Theme.cs: Fixed ToolTip abstracts to match new format
  19463. * ErrorProvider.cs: Implemented
  19464. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  19465. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  19466. * LinkLabel.cs:
  19467. - Adds cursors
  19468. - Handles focus
  19469. - Implements LinkBehavior
  19470. - Fixes many issues
  19471. 2005-05-03 Jackson Harper <[email protected]>
  19472. * ListView.cs: Calculate the scrollbar positioning on resize and
  19473. paint, so they get put in the correct place.
  19474. 2005-05-03 Alexander Olk <[email protected]>
  19475. * ColorDialogs.cs: The small color panels are now handled by
  19476. SmallColorControl. This fixes drawing of the focus rectangle
  19477. and adds a 3D border.
  19478. 2005-05-03 Peter Bartok <[email protected]>
  19479. * Control.cs: Modified version of Jonathan Chamber's fix for
  19480. double-buffering
  19481. 2005-05-03 Jackson Harper <[email protected]>
  19482. * ListView.cs: Remove redraw variable. Control now handles whether
  19483. or not a redraw needs to be done, and will only raise the paint
  19484. event if redrawing is needed.
  19485. 2005-05-03 Jackson Harper <[email protected]>
  19486. * Splitter.cs: No decorations for the splitter form. Cache the
  19487. hatch brush.
  19488. 2005-05-03 Jackson Harper <[email protected]>
  19489. * TreeView.cs: Use dashed lines to connect nodes. Use the
  19490. ControlPaint method for drawing the focus rect instead of doing
  19491. that in treeview.
  19492. 2005-05-02 Peter Bartok <[email protected]>
  19493. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  19494. 2005-04-29 Jackson Harper <[email protected]>
  19495. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  19496. entire image buffer. Just clear the clipping rectangle.
  19497. 2005-04-29 Jackson Harper <[email protected]>
  19498. * ThemeWin32Classic.cs: Don't draw list view items that are
  19499. outside the clipping rectangle.
  19500. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  19501. * ListBox.cs: added horizontal item scroll
  19502. 2005-04-29 Jackson Harper <[email protected]>
  19503. * ThemeWin32Classic.cs: Remove some old debug code that was
  19504. causing flicker with the new double buffering code.
  19505. 2005-04-29 John BouAntoun <[email protected]>
  19506. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  19507. behave like combobox and comboboxlist (still not sure if this is
  19508. correct though).
  19509. 2005-04-28 Jackson Harper <[email protected]>
  19510. * ThemeWin32Classic.cs: Don't fill the middle of progress
  19511. bars. This fills areas outside of the clip bounds that don't need
  19512. to be filled.
  19513. 2005-04-28 Jackson Harper <[email protected]>
  19514. * Control.cs: Don't expose functionality to touch the image buffers.
  19515. * ProgressBar.cs:
  19516. * ListView.cs: We do not need to (and no longer can) manipulate
  19517. the image buffers directly. All of this is handled by Control.
  19518. 2005-04-28 Peter Bartok <[email protected]>
  19519. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  19520. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  19521. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  19522. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  19523. * Combobox:
  19524. - Adjust control's height for non-simple comboboxes (bug fix)
  19525. - Remove dead code
  19526. * MenuAPI.cs: remove unused var
  19527. * ScrollBar.cs: remove unsed var
  19528. * ListBox.cs: unselect items when clearing
  19529. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  19530. * ListControl.cs: honors OnPositionChanged and default Selected Item
  19531. * ListBox.cs: unselect items when clearing
  19532. 2005-04-27 Jackson Harper <[email protected]>
  19533. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  19534. if a "correct" keyboard is not found. This will make us not crash,
  19535. but might give some users bad keyboard layouts...seems to be the
  19536. same thing rewind does.
  19537. 2005-04-27 Jackson Harper <[email protected]>
  19538. * BindingManagerBase.cs: Attach the current/position changed
  19539. handlers to their respective events.
  19540. 2005-04-27 Jackson Harper <[email protected]>
  19541. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  19542. not just a blit.
  19543. * ThemeWin32Classic.cs: Don't fill the background for picture
  19544. boxes. This could overright user drawing.
  19545. * ComboBox.cs: Just fill the clipping rect not the entire client
  19546. rect when drawing the background. This prevents pieces of the
  19547. image buffer from getting overwritten and is theoretically faster.
  19548. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  19549. * ComboBox.cs: Databinding support fixes, fire missing events
  19550. * ListControl.cs: implement missing methods and properties, fixes
  19551. * ThemeWin32Classic.cs: Databiding support on Drawing
  19552. * CheckedListBox.cs: Databinding support fixes, fire missing events
  19553. * ListBox.cs: Databinding support fixes, fire missing events
  19554. 2005-04-25 Peter Bartok <[email protected]>
  19555. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  19556. 2005-04-25 Jackson Harper <[email protected]>
  19557. * TreeView.cs: Use the horizontal scrollbars height not width when
  19558. determining how much of the client area is available.
  19559. 2005-04-25 Jackson Harper <[email protected]>
  19560. * Control.cs: Double buffering is handled differently now. As per
  19561. the spec, the extra buffer is created in the WM_PAINT message and
  19562. passed down to the control's drawing code.
  19563. * GroupBox.cs:
  19564. * Label.cs:
  19565. * CheckBox.cs:
  19566. * ProgressBar.cs:
  19567. * RadioButton.cs:
  19568. * ColorDialog.cs:
  19569. * ComboBox.cs:
  19570. * PropertyGridView.cs:
  19571. * UpDownBase.cs:
  19572. * MessageBox.cs:
  19573. * MenuAPI.cs:
  19574. * ListView.cs:
  19575. * ButtonBase.cs:
  19576. * SizeGrip.cs:
  19577. * ScrollBar.cs:
  19578. * ListBox.cs:
  19579. * TrackBar.cs:
  19580. * ToolBar.cs:
  19581. * PictureBox.cs:
  19582. * DateTimePicker.cs:
  19583. * StatusBar.cs:
  19584. * TreeView.cs: Update to new double buffering system.
  19585. * MonthCalendar.cs: Uncomment block, as Capture is now
  19586. working. Update to new double buffering
  19587. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  19588. * PaintEventArgs.cs: New internal method allows us to set the
  19589. graphics object. This is used for double buffering.
  19590. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  19591. rectangle. The internal paint_area var has been removed from
  19592. StatusBar. The clipping rect should be used instead.
  19593. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  19594. * TabPage.cs: The RefreshTabs method was removed, so just call the
  19595. tab controls Refresh method now.
  19596. * TabControl.cs: Update to new double buffering. Make sure the
  19597. handle is created before sizing the tab pages, otherwise we will
  19598. get stuck in a loop.
  19599. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  19600. * LinkLabel.cs: Fix typo, bug #74719; patch
  19601. from Borja Sanchez Zamorano
  19602. 2005-04-22 Jackson Harper <[email protected]>
  19603. * TreeNode.cs: Implement Handle stuff.
  19604. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  19605. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  19606. * DataGridTextBoxColumn.cs: call base constructors, fixes
  19607. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  19608. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  19609. * DataGridTableStyle.cs: implements create default column styles
  19610. * DataGridBoolColumn.cs: which types can handle
  19611. * DataGrid.cs: missing methods, fixes, new functionality
  19612. * DataGridColumnStyle.cs: fixes
  19613. 2005-04-20 Alexander Olk <[email protected]>
  19614. * FolderBrowserDialog.cs:
  19615. - Use a thread to fill the TreeView
  19616. - Adjusted some sizes
  19617. 2005-04-19 Peter Bartok <[email protected]>
  19618. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  19619. property. Fixes #74360.
  19620. 2005-04-19 Jackson Harper <[email protected]>
  19621. * XEventQueue.cs: Lock when getting the lockqueue size.
  19622. * PictureBox.cs: Call base OnPaint
  19623. 2005-04-19 Peter Bartok <[email protected]>
  19624. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  19625. messages were no longer being processed (this broke BeginInvoke)
  19626. 2005-04-18 Jackson Harper <[email protected]>
  19627. * TreeView.cs: buglet that caused node images to get drawn
  19628. regardless of whether or not they were in the clipping rectangle.
  19629. 2005-04-18 Jackson Harper <[email protected]>
  19630. * CurrencyManager.cs: There are four rules for GetItemProperties:
  19631. - If the type is an array use the element type of the array
  19632. - If the type is a typed list, use the type
  19633. - If the list contains an Item property that is not an object, use
  19634. that property
  19635. - use the first element of the list if there are any elements in
  19636. the list.
  19637. 2005-04-17 Jackson Harper <[email protected]>
  19638. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  19639. click. This handles offsets for scrolling properly and reduces
  19640. memory. Also fixed GetNode to not offset now that TopNode works
  19641. properly.
  19642. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  19643. 2005-04-17 Jackson Harper <[email protected]>
  19644. * CursorConverter.cs: Initial implementation.
  19645. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  19646. * ListControl.cs: work towards complex data binding support on ListControl
  19647. * CurrencyManager.cs: work towards complex data binding support on ListControl
  19648. * ListBox.cs: work towards complex data binding support on ListControl
  19649. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  19650. * GridTableStylesCollection.cs: fixes name and constructor
  19651. * DataGridTableStyle.cs: fixes
  19652. * DataGridBoolColumn.cs: fixes names and constructors
  19653. * DataGrid.cs: define methods and properties. Some init implementations
  19654. * DataGridCell.cs: define methods and properties. Some init implementations
  19655. * GridTablesFactory.cs: Define methods and properties
  19656. 2005-04-15 Geoff Norton <[email protected]>
  19657. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  19658. graphics port changes. We still want the coordinates in global screen
  19659. coordinates.
  19660. 2005-04-14 Jackson Harper <[email protected]>
  19661. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  19662. check plus minus or checkbox clicks unless those features are enabled.
  19663. 2005-04-14 Jackson Harper <[email protected]>
  19664. * TreeView.cs: Add methods for setting the top and bottom visible
  19665. nodes. TreeNode::EnsureVisible uses these methods.
  19666. * TreeNode.cs: Implement EnsureVisible
  19667. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  19668. * Form.cs: Pospone menu assignation if the window has not been created yet
  19669. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  19670. size and position
  19671. 2005-04-12 Jackson Harper <[email protected]>
  19672. * TreeView.cs: Set the TopNode properly when scrolling
  19673. occurs. This has the added benifit of reducing the amount of
  19674. walking that needs to be done when drawing. Also removed an old
  19675. misleading TODO.
  19676. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  19677. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  19678. * Timer.cs: fixes interval setting when the timer is already enabled
  19679. 2005-04-10 Alexander Olk <[email protected]>
  19680. * FolderBrowserDialog.cs: First approach
  19681. 2005-04-09 Peter Bartok <[email protected]>
  19682. * FolderBrowserDialog: Added
  19683. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  19684. * LinkLabel.cs: move drawing code into the theme
  19685. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  19686. * Theme.cs: define DrawLinkLabel method
  19687. 2005-04-05 Jackson Harper <[email protected]>
  19688. * BindingContext.cs: Use weak references so these bad actors don't
  19689. stay alive longer then they need to.
  19690. 2005-04-05 Jackson Harper <[email protected]>
  19691. * ListControl.cs: Basic implementation of complex databinding.
  19692. * ComboBox.cs:
  19693. * ListBox.cs: Add calls to ListControl databinding methods.
  19694. 2005-04-05 Alexander Olk <[email protected]>
  19695. * FileDialog.cs:
  19696. - Don't change PopupButtonState to Normal when the
  19697. PopupButton gets pressed several times.
  19698. - Renamed ButtonPanel to PopupButtonPanel
  19699. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  19700. * ColorDialog.cs: Use cached objects instead of creating them
  19701. * LinkLabel.cs: Use cached objects instead of creating them
  19702. * Splitter.cs: Use cached objects instead of creating them
  19703. * FontDialog.cs: Use cached objects instead of creating them
  19704. * PropertyGridView.cs: Use cached objects instead of creating them
  19705. * MessageBox.cs: Use cached objects instead of creating them
  19706. * FileDialog.cs: Use cached objects instead of creating them
  19707. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  19708. * TreeView.cs: Use cached objects instead of creating them
  19709. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  19710. * Control.cs: use Equals to compare the font since no == op
  19711. * ScrollBar.cs: use Equals to compare the font since no == op
  19712. 2005-04-04 Alexander Olk <[email protected]>
  19713. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  19714. 2005-04-01 Jackson Harper <[email protected]>
  19715. * Binding.cs: Implement IsBinding.
  19716. * BindingManagerBase.cs:
  19717. * PropertyManager.cs:
  19718. * CurrencyManager.cs: Add IsSuspended property.
  19719. 2005-04-01 Jackson Harper <[email protected]>
  19720. * Binding.cs: Had some IsAssignableFrom calls backwards.
  19721. 2005-04-01 Jackson Harper <[email protected]>
  19722. * Binding.cs: Handle null data members when pulling data.
  19723. * PropertyManager.cs: Handle the data member being a property that
  19724. does not exist.
  19725. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  19726. * DataGridTextBoxColumn.cs: fixes signature
  19727. * DataGrid.cs: calls right constructor
  19728. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  19729. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  19730. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  19731. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  19732. * DataGridTableStyle.cs: implements DataGridTableStyle
  19733. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  19734. * DataGridTextBox.cs: implements DataGridTextBox
  19735. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  19736. 2005-03-31 Alexander Olk <[email protected]>
  19737. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  19738. 2005-03-29 Peter Bartok <[email protected]>
  19739. * Application.cs:
  19740. - Properly implemented CompanyName property
  19741. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  19742. returns a path that includes CompanyName, ProductName and
  19743. Version (fixes bug #70330)
  19744. 2005-03-29 Stefan Buehler <[email protected]>
  19745. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  19746. fixes bug #72588.
  19747. 2005-03-28 Alexander Olk <[email protected]>
  19748. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  19749. - Added ReadOnly CheckBox
  19750. - Further refactoring: moved some code from Open-/SaveFileDialog
  19751. to FileDialog
  19752. 2005-03-28 Alexander Olk <[email protected]>
  19753. * OpenFileDialog.cs: Fixed CheckFileExists
  19754. * FileDialog.cs:
  19755. Moved FileView and DirComboBox outside FileDialog class.
  19756. They can now be used outside FileDialog
  19757. 2005-03-27 Alexander Olk <[email protected]>
  19758. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  19759. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  19760. 2005-03-27 Alexander Olk <[email protected]>
  19761. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  19762. - Added missing CreatePrompt property in SaveDialog
  19763. - Overall SaveDialog handling should be better now
  19764. - Added non standard ShowHiddenFiles property
  19765. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  19766. - Added InitialDirectory and RestoreDirectory support
  19767. 2005-03-26 Alexander Olk <[email protected]>
  19768. * FileDialog.cs: Made dirComboBox usable
  19769. 2005-03-24 Alexander Olk <[email protected]>
  19770. * FileDialog.cs: Added Filter support (case sensitiv)
  19771. 2005-03-24 Jackson Harper <[email protected]>
  19772. * TabControl.cs: Need a couple more pixels for the lines.
  19773. 2005-03-23 Jackson Harper <[email protected]>
  19774. * TabControl.cs: Give the tab page focus when it is selected.
  19775. 2005-03-23 Jackson Harper <[email protected]>
  19776. * TabControl.cs: Account for the drawing of tabs borders when
  19777. invalidating. If the slider was clicked dont do click detection on
  19778. the tabs.
  19779. 2005-03-23 Jackson Harper <[email protected]>
  19780. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  19781. 2005-03-22 Jonathan Chambers <[email protected]>
  19782. * CategoryGridEntry.cs: Added
  19783. * GridItem.cs: Added helper properties
  19784. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  19785. * GridEntry.cs: Updated code for collection
  19786. * PropertyGrid.cs: Cleaned up some formatting
  19787. * PropertyGridView.cs: Added drop down functionality for enums.
  19788. * GridItemCollection.cs: Added enumerator logic
  19789. * PropertyGridEntry.cs: Added
  19790. 2005-03-19 Alexander Olk <[email protected]>
  19791. * FileDialog.cs:
  19792. - Removed unnecessary commented code
  19793. - Fixed handling for entering the filename manually in the combobox
  19794. 2005-03-19 Alexander Olk <[email protected]>
  19795. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  19796. 2005-03-18 Peter Bartok <[email protected]>
  19797. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  19798. them being touching the border
  19799. 2005-03-18 Peter Bartok <[email protected]>
  19800. * TextControl.cs: Quick hack to center text better
  19801. 2005-03-18 Peter Bartok <[email protected]>
  19802. * ControlPaint.cs:
  19803. - Don't throw NotImplemented exceptions, just print a notice once
  19804. instead (requested by Miguel). This makes running existing SWF
  19805. apps a bit easier
  19806. * Control.cs:
  19807. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  19808. - Added context menu trigger on right click
  19809. * Panel.cs: Trigger invalidate on resize
  19810. * StatusBar.cs:
  19811. - Removed old double-buffer drawing
  19812. - Added ResizeRedraw style to force proper update of statusbar
  19813. * ListView.cs:
  19814. - Removed debug output
  19815. * ThemeWin32Classic.cs:
  19816. - Fixed drawing of status bar, now draws Text property if there
  19817. are no defined panels
  19818. 2005-03-18 Jackson Harper <[email protected]>
  19819. * ImageList.cs: When the image stream is set pull all the images
  19820. from it.
  19821. * ImageListStreamer.cs: Implement reading image list streams.
  19822. 2005-03-18 Peter Bartok <[email protected]>
  19823. * ThemeWin32Classic.cs (DrawPictureBox):
  19824. - Fixed calculations for centered drawing
  19825. - Fixed drawing for normal mode, not scaling the image on normal
  19826. 2005-03-18 Peter Bartok <[email protected]>
  19827. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  19828. textbox
  19829. * FileDialog.cs:
  19830. - Made Open/Save button the accept button for FileDialog
  19831. - Tied the cancel button to the IButtonControl cancel button
  19832. - Save/Open now properly builds the pathname
  19833. - Now handles user-entered text
  19834. - Preventing crash on right-click if no item is selected
  19835. - Fixed Text property, now uses contents of textbox
  19836. - Fixed SelectedText property, now just returns the text part that
  19837. is selected in the text box
  19838. 2005-03-18 Jackson Harper <[email protected]>
  19839. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  19840. rect, make sure to de-adjust the interior rect after drawing the
  19841. tab text.
  19842. 2005-03-18 Peter Bartok <[email protected]>
  19843. * MenuAPI.cs: Remove menu *before* executing selected action to
  19844. prevent the menu from 'hanging around'
  19845. 2005-03-17 Geoff Norton <[email protected]>
  19846. * XplatUIOSX.cs: Implemented WorkingArea property
  19847. 2005-03-17 Peter Bartok <[email protected]>
  19848. * XplatUIX11.cs: Fixed menu coord calculations
  19849. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  19850. for calculating offsets
  19851. 2005-03-17 Peter Bartok <[email protected]>
  19852. * Hwnd.cs: Do not consider menu presence for default client
  19853. rectangle location/size
  19854. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  19855. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  19856. translation functions
  19857. * FileDialog.cs: Fixed (what I presume is a) typo
  19858. 2005-03-17 Jonathan Gilbert <[email protected]>
  19859. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  19860. X access (avoids X-Async errors)
  19861. 2005-03-16 Jackson Harper <[email protected]>
  19862. * TabControl.cs: Raise the SelectedIndexChanged event.
  19863. 2005-03-16 Alexander Olk <[email protected]>
  19864. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  19865. - Removed vertical ToolBar and replaced it with a custom panel
  19866. (desktop and home button already work)
  19867. - Added Help button (some controls get resized or relocated then)
  19868. - Draw correct text depending on Open or Save.
  19869. - Fixed some typos...
  19870. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  19871. * ScrollBar.cs:
  19872. - Only change Maximum and Minimum when need it (bug fix)
  19873. 2005-03-15 Peter Bartok <[email protected]>
  19874. * Form.cs: Use Handle for icon, to trigger creation if
  19875. the window does not yet exist
  19876. * Control.cs:
  19877. - CanSelect: Slight performance improvement
  19878. - Focus(): Preventing possible recursion
  19879. - Invalidate(): Removed ControlStyle based clear flag setting
  19880. - WM_PAINT: fixed logic for calling OnPaintBackground
  19881. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  19882. EraseWindowBackground if the control doesn't paint background
  19883. * XplatUIWin32.cs:
  19884. - Moved EraseWindowBackground() method to internal methods
  19885. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  19886. is sent via SendMessage on BeginPaint call on Win32
  19887. * XplatUIX11.cs:
  19888. - Added EraseWindowBackground() method
  19889. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  19890. PaintEventStart, which more closely matches Win32 behaviour
  19891. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  19892. - Fixed SetFocus() to properly deal with client and whole windows
  19893. * Hwnd.cs: Added ErasePending property
  19894. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  19895. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  19896. 2005-03-12 Geoff Norton <[email protected]>
  19897. * XplatUIOSX.cs:
  19898. - Fix hard loop when timers exist.
  19899. - Fix bugs with middle and right click for 3 button mice.
  19900. 2005-03-11 Peter Bartok <[email protected]>
  19901. * XplatUIX11.cs:
  19902. - get_WorkingArea: Need to call X directly, GetWindowPos only
  19903. returns cached data now
  19904. - Added sanity check to GetWindowPos hwnd usage
  19905. 2005-03-11 Jackson Harper <[email protected]>
  19906. * BindingManagerBase.cs: This method isn't used anymore as
  19907. PullData now updates the data in the control.
  19908. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  19909. * Form.cs: fixes menu drawing on X11
  19910. * MenuAPI.cs: fixes menu drawing on X11
  19911. 2005-03-11 Peter Bartok <[email protected]>
  19912. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  19913. from Jonathan Gilbert; should fix bug #73606
  19914. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  19915. in Screen coordinates. Thanks, Jordi.
  19916. * Form.cs: Added missing attribute
  19917. 2005-03-11 Peter Bartok <[email protected]>
  19918. * Form.cs:
  19919. - Rudimentary Mdi support
  19920. - Removed outdated FormParent code
  19921. - Implemented lots of missing properties and methods, still missing
  19922. transparency support
  19923. - Added missing attributes
  19924. - Implemented support for MaximumBounds
  19925. - Added firing of various events
  19926. * XplatUI.cs: Added SetIcon() method
  19927. * XplatUIDriver.cs: Added SetIcon() abstract
  19928. * XplatUIOSX.cs: Stubbed out SetIcon() method
  19929. * XplatUIX11.cs:
  19930. - Implemented SetIcon() support
  19931. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  19932. - Switched to unix line endings
  19933. * XplatUIWin32.cs:
  19934. - Made POINT internal so for can access it as part of MINMAX
  19935. - Implemented SetIcon() support
  19936. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  19937. native Mdi support again, might have to go managed)
  19938. * Control.cs: Now fires the StyleChanged event
  19939. * MdiClient.cs: Added; still mostly empty
  19940. 2005-03-10 Peter Bartok <[email protected]>
  19941. * SaveFileDialog.cs: Added emtpy file
  19942. 2005-03-08 Peter Bartok <[email protected]>
  19943. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  19944. in turn triggers OnCreateContro) when creating a handle for the
  19945. first time.
  19946. * TextControl.cs: Fixed endless loop in certain cases when
  19947. replacing the current selection
  19948. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  19949. * ScrollBar.cs:
  19950. - Honors NewValue changes in Scroll events allowing apps to change it
  19951. - Adds First and Last Scroll events
  19952. - Fixes Thumb events
  19953. 2005-03-07 Peter Bartok <[email protected]>
  19954. * Hwnd.cs: Added DefaultClientRectangle property
  19955. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  19956. more detailed debug information
  19957. * XplatUIX11.cs:
  19958. - Fixed size-change feedback loop, where we would pull an old size
  19959. off the queue and mistakenly change our window's size to an
  19960. earlier value
  19961. - Now compressing ConfigureNotify events, to reduce looping and
  19962. redraw issues
  19963. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  19964. is called
  19965. 2005-03-07 Jackson Harper <[email protected]>
  19966. * Binding.cs: Push data pushes from data -> property. Check if the
  19967. property is readonly when attempting to set it.
  19968. 2005-03-07 Jackson Harper <[email protected]>
  19969. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  19970. instead of IsSubclassOf. Pulling data now sets the value on the
  19971. control.
  19972. * PropertyManager.cs:
  19973. * CurrencyManager.cs: Just need to pull data when updating now,
  19974. because PullData will set the value on the control.
  19975. 2005-03-04 Jackson Harper <[email protected]>
  19976. * Binding.cs: Implement data type parsing and converting on pulled
  19977. data. TODO: Are there more ways the data can be converted?
  19978. 2005-03-04 Jackson Harper <[email protected]>
  19979. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  19980. controls Validating method so we can repull the data when the
  19981. control loses focus.
  19982. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  19983. * ColumnHeader.cs:
  19984. - Fixes null string format
  19985. * ListView.cs:
  19986. - Adds enum type checks
  19987. - Fixes redrawing and recalc need after changing some properties
  19988. - Fixes on focus_item set after the event
  19989. - Fixes adding columns after the control has been created
  19990. * ThemeWin32Classic.cs:
  19991. - Fixes CheckBox focus rectangle
  19992. - Fixes ColumnHeader drawing
  19993. 2005-03-03 Jackson Harper <[email protected]>
  19994. * Binding.cs: Bind to <Property>Changed events so we can detect
  19995. when properties are changed and update the data.
  19996. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  19997. * ImageList.cs:
  19998. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  19999. - Fixes ImageList constructor with ImageList container
  20000. - Fixes image scaling (wrong parameters at DrawImage)
  20001. 2005-02-02 Jackson Harper <[email protected]>
  20002. * Binding.cs: Make property searches case-insensitive. Eliminate
  20003. some duplicated code.
  20004. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  20005. * ComboBox.cs:
  20006. - Handle focus event
  20007. - Fix scrollbar events
  20008. - Discard highlighted item if remove it
  20009. - Fixes SelectedItem with strings
  20010. 2005-03-01 Peter Bartok <[email protected]>
  20011. * Control.cs:
  20012. - Fixed Visible property, now follows (once again) parent chain
  20013. to return false if any control in the chain is visible=false
  20014. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  20015. - Fixed several places where is_visible instead of Visible was used
  20016. - Implemented FIXME related to focus selection when setting focused
  20017. control to be invisible
  20018. * XplatUIWin32.cs: Now using proper method to find out if window is
  20019. visible. Thanks to Jordi for pointing it out
  20020. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  20021. * ComboBox.cs: show/hide scrollbar instead of creating it
  20022. 2005-02-27 Jackson Harper <[email protected]>
  20023. * CurrencyManager.cs: Add PositionChanged stuff.
  20024. 2005-02-27 Peter Bartok <[email protected]>
  20025. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  20026. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  20027. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  20028. * XplatUIX11.cs:
  20029. - Implemented GetMenuDC()
  20030. - Implemented GetMenuOrigin()
  20031. - Implemented ReleaseMenuDC()
  20032. - Implemented generation of WM_NCPAINT message
  20033. - Implemented generation and handling of WM_NCCALCSIZE message
  20034. * Form.cs: Added debug helper message for Jordi's menu work
  20035. * Hwnd.cs:
  20036. - Modified ClientRect property; added setter, fixed getter to handle
  20037. setting of ClientRect
  20038. - Added MenuOrigin property
  20039. 2005-02-26 Peter Bartok <[email protected]>
  20040. * XplatUIX11.cs:
  20041. - Destroys the caret if a window that's being destroyed contains it
  20042. - Ignores expose events coming from the X11 queue for windows that
  20043. already are destroyed
  20044. - Now uses the proper variable for handling DestroyNotify, before we
  20045. marked the wrong window as destroyed
  20046. - Improved/added some debug output
  20047. 2005-02-26 Peter Bartok <[email protected]>
  20048. * X11Keyboard.cs: Fixes to work on 64bit systems
  20049. 2005-02-26 Peter Bartok <[email protected]>
  20050. * Control.cs:
  20051. - Now calling OnHandleDestroyed from DestroyHandle()
  20052. instead of Dispose()
  20053. - Removed bogus call to controls.Remove() from DestroyHandle()
  20054. 2005-02-26 Peter Bartok <[email protected]>
  20055. * Control.cs: Properly destroy child windows when our handle is
  20056. destroyed
  20057. 2005-02-25 Peter Bartok <[email protected]>
  20058. * XplatUI.cs:
  20059. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  20060. - Alphabetized Static Methods and Subclasses
  20061. * XplatUIX11.cs:
  20062. - Added XException class to allow custom handling of X11 exceptions
  20063. - Created custom X11 error handler, tied into XException class
  20064. - Added support for MONO_XEXCEPTIONS env var to allow the user
  20065. to either throw an exception on X errors or continue running
  20066. after displaying the error
  20067. - Added handling of DestroyNotify message
  20068. - Added handler for CreateNotify message (still disabled)
  20069. - Improved (tried to at least) Where method to provide file and lineno
  20070. * X11Structs.cs:
  20071. - Added XErrorHandler delegate
  20072. - Added XRequest enumeration (to suppor translation of errors)
  20073. 2005-02-25 Jackson Harper <[email protected]>
  20074. * PropertyManager.cs: Implement editing features
  20075. * CurrencyManager.cs:
  20076. * Binding.cs: First attempt at UpdateIsBinding
  20077. * BindingManagerBase.cs: Call UpdateIsBinding before
  20078. pushing/pulling data.
  20079. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  20080. * MenuAPI.cs: Respect disabled items
  20081. * ThemeWin32Classic.cs
  20082. - Caches ImageAttributes creation for DrawImageDisabled
  20083. - Fixes vertical menu line drawing
  20084. - Draws disabled arrows in disable menu items
  20085. 2005-02-24 Peter Bartok <[email protected]>
  20086. * Hwnd.cs:
  20087. - Added UserData property to allow associating arbitrary objects
  20088. with the handle
  20089. - Fixed leak; now removing Hwnd references from static windows array
  20090. * XplatUIWin32.cs:
  20091. - Fixed Graphics leak in PaintEventEnd
  20092. - Removed usage of HandleData, switched over to Hwnd class
  20093. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  20094. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20095. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  20096. * ScrollBar.cs: Fixes bug
  20097. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  20098. keyboard navigation enhancements
  20099. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20100. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  20101. * GroupBox.cs: Add control styles
  20102. * Label.cs: Add control styles
  20103. * UpDownBase.cs: Add control styles
  20104. * ListBox.cs: Add control styles
  20105. * XplatUIWin32.cs: Fixes wrong parameter order
  20106. 2005-02-23 Chris Bacon <[email protected]>
  20107. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  20108. 2005-02-23 Jackson Harper <[email protected]>
  20109. * PropertyManager.cs: Implement property binding. This doesn't
  20110. seem to work yet though as (I think) there are some bugs in
  20111. System.ComponentModel.PropertyDescriptor.
  20112. * BindingContext.cs: Use new PropertyManager constructor.
  20113. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  20114. * ProgressBar.cs: use clip region in ProgressBar
  20115. * ThemeWin32Classic.cs: use clip region in ProgressBar
  20116. 2004-02-22 Jackson Harper <[email protected]>
  20117. * BindingsCollection.cs: Remove some debug code.
  20118. 2005-02-22 Jackson Harper <[email protected]>
  20119. * BindingContext.cs:
  20120. * ControlBindingsCollection.cs:
  20121. * CurrencyManager.cs:
  20122. * Binding.cs:
  20123. * BindingManagerBase.cs: Initial implementation
  20124. * BindingsCollection.cs: Add an internal contains method that the
  20125. BindingManagerBase uses to ensure bindings aren't added twice to
  20126. the collection.
  20127. * PropertyManager.cs: Stubbed out.
  20128. * Control.cs:
  20129. * ContainerControl.cs: Hook up databinding
  20130. 2005-02-22 Geoff Norton <[email protected]>
  20131. * XplatUIOSX.cs:
  20132. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  20133. Fixed Invalidate/Update chain.
  20134. Fixed tons of other minor bugs (this is almost a complete rewrite).
  20135. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  20136. * ComboBox.cs: do subcontrol creation when the control is created
  20137. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20138. * Label.cs: fixes image drawing (image and imagelist)
  20139. * ThemeWin32Classic.cs: cache brushes
  20140. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20141. * Form.cs: Move menu drawing code to Theme class
  20142. * ComboBox.cs: Move ComboBox drawing code to Theme class
  20143. * MenuItem.cs: Move menu drawing code to Theme class
  20144. * MenuAPI.cs: Move menu drawing code to Theme class
  20145. * ThemeWin32Classic.cs: New methods
  20146. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  20147. * ListBox.cs: Move Listbox drawing code to Theme class
  20148. * Theme.cs: New methods
  20149. 2005-02-20 Peter Bartok <[email protected]>
  20150. * Control.cs:
  20151. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  20152. only process mnemonics on those)
  20153. - Fixed event sequence for key handling; first calling
  20154. ProcessKeyEventArgs now
  20155. * TextBoxBase.cs:
  20156. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  20157. for processing non-character keys
  20158. - Fixed WM_CHAR to generate proper event sequence before processing
  20159. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  20160. generation
  20161. 2005-02-19 Peter Bartok <[email protected]>
  20162. * UserControl.cs: Added TextChanged event; added attributes
  20163. * SizeGrip.cs: Implemented resizing and optional display of grip
  20164. * Form.cs: Fixed attribute
  20165. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  20166. Changed meaning of ScrollWindow bool argument; instead of the
  20167. clear attribute (which will be true usually anyway), it gives the
  20168. option of moving child controls as well.
  20169. * XplatUIX11.cs:
  20170. - Changed to match new ScrollWindow argument
  20171. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  20172. now handles the implicit parent window a WM puts around us
  20173. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  20174. to work)
  20175. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  20176. * TreeView.cs: Adjusted to new ScrollWindow arguments
  20177. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20178. * Form.cs: Menu integration with non-client area
  20179. * MenuItem.cs: Menu integration with non-client area
  20180. * MenuAPI.cs: Menu integration with non-client area
  20181. 2005-02-18 Peter Bartok <[email protected]>
  20182. * MethodInvoker.cs: Added
  20183. * MdiLayout.cs: Added
  20184. * SendKeys.cs: Started implementation
  20185. * ErrorIconAlignment.cs: Added
  20186. 2005-02-18 Peter Bartok <[email protected]>
  20187. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  20188. * Form.cs: Added handling for Menu-related Non-client messages
  20189. 2005-02-17 Peter Bartok <[email protected]>
  20190. * UpDownBase.cs: Fixed typo, compilation errors
  20191. * DomainUpDown.cs: Fixed attribute value
  20192. 2005-02-16 Miguel de Icaza <[email protected]>
  20193. * UpDownBase.cs: Attach entry events.
  20194. Propagate events.
  20195. Add ForeColor property, Focused, InterceptArrowKeys (interception
  20196. does not work yet).
  20197. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  20198. * Form.cs:
  20199. - Redraw non client are on Setmenu
  20200. - Calc proper menu starting point
  20201. 2005-02-17 Peter Bartok <[email protected]>
  20202. * Application.cs: Fixed message_filter check
  20203. 2005-02-17 Peter Bartok <[email protected]>
  20204. * Application.cs: Now calls registered message filters
  20205. * DockStyle.cs: Fixed attribute
  20206. * Form.cs: Fixed attribute
  20207. * Menu.cs: Fixed attribute
  20208. * ToolTip.cs: Fixed attribute
  20209. * TreeNode.cs: Added missing attributes and arranged in regions
  20210. * PropertyGrid.cs: Fixed signatures
  20211. * TreeNodeCollection.cs: Added attributes
  20212. * Splitter.cs: Added missing attributes; arranged into regions
  20213. * TabPage.cs: Added missing attributes; arranged into regions
  20214. * TextBoxBase.cs: Added missing attributes
  20215. * TextBox.cs: Added missing attributes
  20216. * ArrangeDirection.cs: Added missing attributes
  20217. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  20218. * ToolBarButton.cs: Fixed attributes
  20219. * AnchorStyles.cs: Fixed attribute
  20220. * TrackBar.cs: Fixed attributes
  20221. * TabControl.cs: Added missing attributes and arranged into regions
  20222. * ToolBar.cs: Fixed attribute
  20223. * StatusBar.cs: Fixed signature, organized into regions and added
  20224. attributes
  20225. * StatusBarPanel.cs: Fixed attributes
  20226. * ContentsResizedEventArgs.cs: Implemented
  20227. * ContentsResizedEventHandler.cs: Implemented
  20228. * DateBoldEventArgs.cs: Implemented
  20229. * DateBoldEventHandler.cs: Implemented
  20230. * UpDownEventArgs.cs: Implemented
  20231. * UpDownEventHandler.cs: Implemented
  20232. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  20233. * Form.cs: first Menu NC refactoring
  20234. * MenuAPI.cs: first Menu NC refactoring
  20235. 2005-02-16 Peter Bartok <[email protected]>
  20236. * ImeMode.cs: Added missing attributes
  20237. * Menu.cs: Fixed attribute
  20238. * GroupBox.cs: Fixed attribute
  20239. * Label.cs: Fixed attribute
  20240. * ColorDialog.cs (RunDialog): Removed TODO attribute
  20241. * ComboBox.cs: Fixed attributes
  20242. * ListControl.cs: Added missing attributes
  20243. * PropertyGrid.cs: Fixed attributes
  20244. * Control.cs: Fixed attributes
  20245. * ListViewItem.cs: Added TypeConverter attribute
  20246. * NotifyIcon.cs: Fixed attributes
  20247. * ListView.cs: Fixed attributes
  20248. * ButtonBase.cs: Fixed attribute
  20249. * ImageList.cs: Added missing attributes
  20250. * ContainerControl.cs: Fixed signature
  20251. * CheckedListBox.cs: Fixed attribute; added missing attributes
  20252. * Panel.cs: Fixed attributes
  20253. * PropertyTabChangedEventArgs.cs: Added missing attribute
  20254. * PropertyValueChangedEventArgs.cs: Added missing attribute
  20255. * Binding.cs: Fixed attribute
  20256. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  20257. * ListBox.cs: Fixed attribute; added missing attributes;
  20258. * ScrollableControl.cs: Added missing attributes
  20259. * PictureBox.cs: Added missing attributes; implemented missing property
  20260. * DateTimePicker.cs: Added missing attributes
  20261. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  20262. * MonthCalendar.cs: Fixed attributes
  20263. * StatusBarPanel.cs: Added missing attributes
  20264. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  20265. 2005-02-16 Peter Bartok <[email protected]>
  20266. * TextBoxBase.cs: The previous method to enforce height yet remember
  20267. the requested high was less than ideal, this is an attempt to do
  20268. it better.
  20269. * Control.cs: Added comment about possible problem
  20270. * Copyright: Updated format
  20271. * GridItemType.cs: Fixed swapped values
  20272. 2005-02-15 Jackson Harper <[email protected]>
  20273. * BaseCollection.cs: Use property so we never access an
  20274. uninitialized list. Also initialize the list in the property.
  20275. 2005-02-15 Peter Bartok <[email protected]>
  20276. * GroupBox.cs (ProcessMnemonic): Implemented
  20277. * Label.cs (ProcessMnemonic): Implemented
  20278. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  20279. hotkeys
  20280. 2005-02-15 Peter Bartok <[email protected]>
  20281. * RadioButton.cs (ProcessMnemonic): Implemented
  20282. * CheckBox.cs (ProcessMnemonic): Implemented
  20283. * Control.cs:
  20284. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  20285. handling
  20286. - Added internal method to allow calling ProcessMnemonic from other
  20287. controls
  20288. * ContainerControl.cs:
  20289. - Started support for handling validation chain handling
  20290. - Implemented ProcessMnemonic support
  20291. - Added Select() call to Active, to make sure the active control
  20292. receives focus
  20293. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  20294. FormParent rewrite)
  20295. * ThemeWin32Classic.cs:
  20296. - DrawCheckBox(): Fixed stringformat to show hotkeys
  20297. - DrawRadioButton(): Fixed stringformat to show hotkeys
  20298. * CommonDialog.cs: Removed WndProc override, not needed
  20299. 2005-02-14 Peter Bartok <[email protected]>
  20300. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  20301. missed those in the rewrite
  20302. 2005-02-14 Miguel de Icaza <[email protected]>
  20303. * NumericUpDown.cs (Increment, ToString): Add.
  20304. (DecimalPlaces): implement.
  20305. Add attributes.
  20306. * UpDownBase.cs: Add the designer attributes.
  20307. 2005-02-13 Peter Bartok <[email protected]>
  20308. * Panel.cs: Removed border_style, now in Control
  20309. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  20310. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  20311. 2005-02-13 Peter Bartok <[email protected]>
  20312. * MouseButtons.cs: Added missing attributes
  20313. * XplatUIStructs.cs: Added enumeration for title styles
  20314. * LeftRightAlignment.cs: Added missing attributes
  20315. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  20316. it compatible with Graphics.FromHwnd()
  20317. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  20318. * Keys.cs: Added missing attributes
  20319. * SelectionRange.cs: Added missing attributes
  20320. * SelectionRangeConverter.cs: Added
  20321. * XplatUI.cs:
  20322. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  20323. ReleaseMenuDC methods
  20324. - Renamed ReleaseWindow to UngrabWindow
  20325. - Added proper startup notice to allow version identification
  20326. * Form.cs:
  20327. - Added missing attributes
  20328. - Removed FormParent concept
  20329. * Label.cs: Removed border_style field, now in Control
  20330. * RadioButton.cs: Now properly selects RadioButton when focus is
  20331. received
  20332. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  20333. * Control.cs:
  20334. - Added missing attributes
  20335. - Added borderstyle handling
  20336. - Removed FormParent concept support
  20337. - Fixed calls to XplatUI to match changed APIs
  20338. - Fixed bug that would case us to use disposed Graphics objects
  20339. - Removed unneeded internal methods
  20340. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  20341. - SelectNextControl(): Fixed to properly check common parents
  20342. * TextBoxBase.cs: Removed border_style field (now in Control)
  20343. * MessageBox.cs:
  20344. - Patch by Robert Thompson ([email protected]): Added icon support,
  20345. fixed calculations for form size
  20346. - Added support for localized strings and icons
  20347. - Improved form size calculations, added border
  20348. * ListView.cs: Removed border_style field (now in Control)
  20349. * X11Structs.cs: Moved several structs from X11 driver here
  20350. * X11Keyboard.cs: Changed debug message
  20351. * Application.cs: Removed FormParent concept support
  20352. * CommonDialog.cs:
  20353. - Resetting end_modal flag
  20354. - Removed FormParent concept support
  20355. * NativeWindow.cs: Removed FormParent concept support
  20356. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  20357. Client area and Non-Client whole window to allow support for WM_NC
  20358. messages
  20359. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  20360. prevent using it until it supports Hwnd as per Geoff Norton's request
  20361. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  20362. * PictureBox.cs: Removed border_style field, now in Control
  20363. * XplatUIWin32.cs: Added new driver methods
  20364. 2005-02-12 Peter Bartok <[email protected]>
  20365. * OpacityConverter.cs: Implemented
  20366. * Hwnd.cs: Internal class to support drivers that need to emulate
  20367. client area/non-client area window behaviour
  20368. 2005-02-11 Peter Bartok <[email protected]>
  20369. * KeysConverter.cs: Implemented
  20370. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  20371. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  20372. * LinkLabel: Added missing attributes
  20373. * MainMenu.cs: fixes ToString
  20374. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  20375. * ListBox.cs: fixes event position
  20376. * TrackBar.cs: adds missing attributes and events
  20377. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  20378. * MenuItem.cs: Use SystemInformation and bug fixes
  20379. * MenuAPI.cs: Use SystemInformation and bug fixes
  20380. 2005-02-09 Jackson Harper <[email protected]>
  20381. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  20382. their keystate otherwise things like VK_MENU get stuck "on".
  20383. 2005-02-09 Kazuki Oikawa <[email protected]>
  20384. * ListBox.cs: Fixes AddRange bug
  20385. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  20386. * ProgressBar.cs
  20387. - Add missing attributes
  20388. - Add missing method
  20389. * CheckedListBox.cs: Added missing attributes
  20390. - Add missing attributes
  20391. - Remove extra method
  20392. * ComboBox.cs: Added missing attributes
  20393. * VScrollBar.cs: Added missing attributes
  20394. * ScrollBar.cs: Added missing attributes
  20395. * ListBox.cs: Fixes signature, add missing consts
  20396. * LinkArea.cs: Added missing attributes
  20397. 2005-02-08 Peter Bartok <[email protected]>
  20398. * Menu.cs: Added missing attributes
  20399. * MainMenu.cs: Added missing attributes
  20400. * GroupBox.cs: Added missing attributes
  20401. * Label.cs: Added missing attributes
  20402. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  20403. * ColorDialog.cs:
  20404. - Added Instance and Options properties
  20405. - Added missing attributes
  20406. * Cursor.cs: Made Serializable
  20407. * NotifyIcon: Added missing attributes
  20408. * MenuItem.cs: Added missing attributes
  20409. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  20410. * Panel.cs: Added Missing attributes
  20411. * MonthCalendar.cs: Fixed CreateParams
  20412. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  20413. * LinkLabel.cs:
  20414. - Fixes signature
  20415. - Fixes issues with links
  20416. - Adds the class attributes
  20417. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  20418. * ComboBox.cs:
  20419. - Fixes button when no items available in dropdown
  20420. - Fixes repainting problems
  20421. - Adds the class attributes
  20422. 2005-02-07 Geoff Norton <[email protected]>
  20423. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  20424. the current theme. Cache these on startup.
  20425. 2005-02-07 Jackson Harper <[email protected]>
  20426. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  20427. the scrollbar buttons when they are depressed.
  20428. 2005-02-07 Geoff Norton <[email protected]>
  20429. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  20430. Get the display size from the main displayid. We currently dont
  20431. support multiple display configurations.
  20432. 2005-02-07 Geoff Norton <[email protected]>
  20433. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  20434. 2005-02-07 Miguel de Icaza <[email protected]>
  20435. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  20436. 2005-02-05 Jonathan Chambers <[email protected]>
  20437. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  20438. 2005-02-04 Jackson Harper <[email protected]>
  20439. * ThemeWin32Classic.cs: Respect the clipping rect when
  20440. drawing. Only fill the intersection of clips and rects so there
  20441. isn't a lot of large fills.
  20442. * ScrollBar.cs: Pass the correct clipping rect to the theme
  20443. engine. Remove some debug code.
  20444. 2005-02-05 John BouAntoun <[email protected]>
  20445. * DateTimePicker.cs:
  20446. - Fixed crash on DateTime.Parse, use Constructor instead
  20447. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  20448. * MenuItem.cs:
  20449. * MenuAPI.cs:
  20450. - Owner draw support (MeasureItem and DrawItem)
  20451. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  20452. * Menu.cs:
  20453. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  20454. - Fixes MenuItems.Add range
  20455. * MenuItem.cs:
  20456. - MergeMenu and Clone and CloneMenu functions
  20457. 2005-02-03 Jackson Harper <[email protected]>
  20458. * ScrollBar.cs: Make abstract
  20459. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  20460. is abstract.
  20461. 2005-02-03 Jackson Harper <[email protected]>
  20462. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  20463. all the unneeded refreshes and uses invalidates with properly
  20464. computed rects.
  20465. 2005-02-03 Peter Bartok <[email protected]>
  20466. * ComponentModel.cs: Added
  20467. * IDataGridEditingService.cs: Added
  20468. * Timer.cs: Added missing attributes
  20469. * ToolTip.cs: Added missing attributes
  20470. 2005-02-03 Jonathan Chambers <[email protected]>
  20471. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  20472. 2005-02-03 Peter Bartok <[email protected]>
  20473. * ListBox.cs: Added missing attributes
  20474. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  20475. * ListBox.cs:
  20476. - Fixes font height after font change
  20477. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  20478. 2005-02-02 Peter Bartok <[email protected]>
  20479. * HandleData.cs: Introduced static methods to allow class
  20480. to be more self-contained and track it's own HandleData objects
  20481. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  20482. HandleData to use new static methods
  20483. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  20484. * Combobox.cs:
  20485. - Fixes default size and PreferredHeight
  20486. - Missing events
  20487. - ObjectCollection.Insert implementation
  20488. * ListControl.cs
  20489. - Fixes signature
  20490. * ListBox.cs:
  20491. - Several fixes
  20492. - ObjectCollection.Insert implementation
  20493. - No selection after clean
  20494. - Small fixes
  20495. 2005-01-31 John BouAntoun <[email protected]>
  20496. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  20497. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  20498. * Combobox.cs:
  20499. - Caches ItemHeight calculation for OwnerDrawVariable
  20500. - Handles dropdown properly
  20501. - Fixes several minor bugs
  20502. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  20503. * ListBox.cs:
  20504. - Fixes 71946 and 71950
  20505. - Fixes changing Multicolumn on the fly
  20506. - Fixes keyboard navigation on Multicolumn listboxes
  20507. 2005-01-31 Geoff Norton <[email protected]>
  20508. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  20509. crash reporter log.
  20510. 2005-01-31 Geoff Norton <[email protected]>
  20511. * XplatUIOSX.cs: Allow applications to actually exit.
  20512. 2005-01-31 Geoff Norton <[email protected]>
  20513. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  20514. their parent at creation time rather than lazily later. Fixes a major
  20515. regression we were experiencing.
  20516. 2005-01-31 John BouAntoun <[email protected]>
  20517. * ThemeWin32Classic.cs: more date time picker painting fixes
  20518. * DateTimePicker.cs: more monthcalendar drop down fixes
  20519. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  20520. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  20521. * ScrollBar.cs:
  20522. - When moving the thumb going outside the control should stop the moving
  20523. - Adds the firing of missing events
  20524. - Fixes no button show if Size is not specified
  20525. - End / Home keys for keyboard navigation
  20526. 2005-01-30 Peter Bartok <[email protected]>
  20527. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  20528. sanity check to prevent theoretical loop
  20529. * XplatUIWin32.cs (SetVisible): Removed debug output
  20530. * XplatUIX11.cs (SystrayChange): Added sanity check
  20531. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  20532. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  20533. behaviour, valid until the X11 client window rewrite is done
  20534. * TextBox.cs (ctor): Setting proper default foreground and background
  20535. colors
  20536. 2005-01-30 John BouAntoun <[email protected]>
  20537. * Theme: Added DrawDateTimePicker to interface
  20538. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  20539. * DateTimePicker.cs: Created (still needs keys and painting code)
  20540. * DateTimePickerFormat.cs: added
  20541. * MonthCalendar.cs: fixed CreateParams for popup window mode
  20542. 2005-01-29 Peter Bartok <[email protected]>
  20543. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  20544. this should also the calculations for ligher/darker
  20545. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  20546. 2005-01-29 Peter Bartok <[email protected]>
  20547. * ArrangeDirection.cs: Added
  20548. * ArrangeStartingPositon.cs: Added
  20549. * SystemInformation.cs: Implemented
  20550. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  20551. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  20552. used by SystemInformation class
  20553. * X11Strucs.cs: Added XSizeHints structure
  20554. * MenuAPI.cs:
  20555. - Fixed CreateParams to make sure the menu window is always visible
  20556. - TrackPopupMenu: Added check to make sure we don't draw the
  20557. menu offscreen
  20558. 2005-01-29 Peter Bartok <[email protected]>
  20559. * HandleData.cs: Added method for altering invalid area
  20560. * TextBoxBase.cs: Implemented TextLength
  20561. 2005-01-28 Peter Bartok <[email protected]>
  20562. * XplatUIX11.cs: Improvement over last patch, not sending
  20563. the WM_PAINT directly anymore, instead we scroll any pending
  20564. exposed areas and let the system pick out the WM_PAINT later
  20565. 2005-01-28 Peter Bartok <[email protected]>
  20566. * SWF.csproj: Deleted, no longer used. Instead,
  20567. Managed.Windows.Forms/SWF.csproj should be used
  20568. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  20569. directly, to avoid a potential race condition with the next
  20570. scroll
  20571. 2005-01-28 Peter Bartok <[email protected]>
  20572. * XplatUI.cs: Made class internal
  20573. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  20574. * CheckedListBox.cs:
  20575. - Draw focus
  20576. - Fixed Drawing
  20577. - Missing methods and events
  20578. 2005-01-27 Peter Bartok <[email protected]>
  20579. * Application.cs (Run): Don't use form if we don't have one
  20580. 2005-01-27 Peter Bartok <[email protected]>
  20581. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  20582. 2005-01-27 Peter Bartok <[email protected]>
  20583. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  20584. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  20585. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  20586. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  20587. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  20588. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  20589. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  20590. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  20591. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  20592. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  20593. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  20594. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  20595. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  20596. * Combobox.cs:
  20597. - Draw focus on Simple Combobox
  20598. - Fixes drawing issues
  20599. - fixes 71834
  20600. 2005-01-27 Peter Bartok <[email protected]>
  20601. * Form.cs:
  20602. - Place window in default location, instead of hardcoded 0/0
  20603. - Send initial LocationChanged event
  20604. * Control.cs:
  20605. - UpdateBounds after creation to find out where the WM placed us
  20606. - Make sure that if the ParentForm changes location the Form
  20607. is notified
  20608. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  20609. to the root, but to whatever the WM placed around us.
  20610. Translate to root coordinates before returning toplevel
  20611. coordinates
  20612. * XplatUIWin32.cs: Removed debug output
  20613. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  20614. flag to GetWindowPos, to allow translation of coordinates on X11
  20615. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  20616. * ListBox.cs: connect LostFocus Event
  20617. 2005-01-27 Peter Bartok <[email protected]>
  20618. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  20619. XplatUIX11.cs: Extended the Systray API
  20620. * Form.cs: Removed debug output
  20621. * Application.cs: Fixed focus assignment, always need to call
  20622. XplatUI.Activate() since Form.Activate() has rules that may
  20623. prevent activation
  20624. * NotifyIcon.cs: Should be complete now
  20625. * ToolTip.cs: Worked around possible timer bug
  20626. 2005-01-27 Jackson Harper <[email protected]>
  20627. * TabControl.cs:
  20628. - Only invalidate the effected tabs when the
  20629. selected index changes. This reduces drawing and gets rid of some
  20630. flicker.
  20631. - Only refresh if the tabs need to be shifted, otherwise only
  20632. invalidate the slider button.
  20633. - On windows the tabs are not filled to right if the slider is
  20634. visible.
  20635. 2005-01-27 Jackson Harper <[email protected]>
  20636. * TabControl.cs: Only refresh on mouseup if we are showing the
  20637. slider. Also only invalidate the button whose state has changed.
  20638. 2005-01-26 Peter Bartok <[email protected]>
  20639. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  20640. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  20641. and SystrayRemove() methods
  20642. * XplatUIOSX.cs: Stubbed Systray methods
  20643. * XplatUIX11.cs:
  20644. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  20645. methods
  20646. - Fixed broken XChangeProperty calls (marshalling messed up things)
  20647. * X11Structs.cs: Added enums and structs required for Size hinting
  20648. * NotifyIcon.cs: Added & implemented
  20649. 2005-01-26 Jackson Harper <[email protected]>
  20650. * TabControl.cs: Space vertically layed out tabs properly.
  20651. 2005-01-26 Peter Bartok <[email protected]>
  20652. * Form.cs (CreateClientParams): Always set the location to 0,0
  20653. since we're a child window.
  20654. * Control.cs (SetVisibleCore): Always explicitly setting the location
  20655. of a toplevel window, apparently X11 doesn't like to move windows
  20656. while they're not mapped.
  20657. 2005-01-26 Jackson Harper <[email protected]>
  20658. * TabControl.cs: Implement FillToRight size mode with vertically
  20659. rendered tabs.
  20660. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  20661. * ControlPaint.cs, ThemeWin32Classic.cs
  20662. - Fixes DrawFocusRectangle
  20663. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  20664. * MenuAPI.cs:
  20665. - MenuBar tracking only starts when item is first clicked
  20666. - Fixes menu hidding for multiple subitems
  20667. - Unselect item in MenuBar when item Executed
  20668. - Fixes bug 71495
  20669. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  20670. * ListControl.cs:
  20671. - IsInputKey for ListBox
  20672. * ListBox.cs:
  20673. - Focus item
  20674. - Shift and Control item selection
  20675. - Implement SelectionMode.MultiExtended
  20676. - Fixes RightToLeft
  20677. * ComboBox.cs:
  20678. - IsInputKey implemented
  20679. - Do not generate OnTextChangedEdit on internal txt changes
  20680. 2005-01-23 Peter Bartok <[email protected]>
  20681. * AccessibleObject.cs: Partially implemented Select()
  20682. * MonthCalendar.cs: Added missing attributes and events
  20683. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  20684. form can properly override CreateParams.
  20685. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  20686. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  20687. Control performs Invalidate & Update
  20688. * NativeWindow (CreateHandle): Added special handling for Form
  20689. and Form.FormParent classes to allow overriding of From.CreateParams
  20690. * Control.cs:
  20691. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  20692. name 'owner'
  20693. - ControlNativeWindow: Added Owner property
  20694. - Removed usage of Refresh() on property changes, changed into
  20695. Invalidate(), we need to wait until the queue is processed for
  20696. updates, direct calls might cause problems if not all vars for
  20697. Paint are initialized
  20698. - Added call to UpdateStyles() when creating the window, to set any
  20699. styles that CreateWindow might have ignored.
  20700. - Added support for Form CreateParent overrides to UpdateStyles()
  20701. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  20702. CreateParams are now properly overridable
  20703. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  20704. CreateParams are now properly overridable
  20705. 2005-01-23 Miguel de Icaza <[email protected]>
  20706. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  20707. OnTextBoxChanged.
  20708. Capture LostFocus and OnTextBoxChanged. The later introduces a
  20709. recursive invocation that I have not figured out yet.
  20710. Reset the timer when not using (it was accumulating).
  20711. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  20712. user has made changes that require validation.
  20713. Reset changing to avoid loops.
  20714. 2005-01-22 Miguel de Icaza <[email protected]>
  20715. * NumericUpDown.cs: Display value at startup.
  20716. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  20717. ValidateEditText.
  20718. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  20719. filled in. Added some basic parsing of text.
  20720. Still missing the OnXXX method overrides, and figuring out the
  20721. events that must be emitted.
  20722. * UpDownBase.cs: Handle UserEdit on the Text property.
  20723. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  20724. * ComboBox.cs:
  20725. - Fixes IntegralHeight
  20726. - ToString method
  20727. 2005-01-21 Jackson Harper <[email protected]>
  20728. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  20729. is set so that the page visibility is updated and the tabs are
  20730. sized correctly.
  20731. 2005-01-21 Jackson Harper <[email protected]>
  20732. * TabControl.cs: Use cliping rectangle for blitting. Give the
  20733. theme the clipping rect so we can do clipping while
  20734. drawing. Remove some debug code.
  20735. 2005-01-21 Jackson Harper <[email protected]>
  20736. * TabPage.cs: Add a new method so tab pages can force the tab
  20737. control to recalculate the tab page sizes.
  20738. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  20739. sizes.
  20740. 2005-01-20 Jackson Harper <[email protected]>
  20741. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  20742. 2005-01-20 Jackson Harper <[email protected]>
  20743. * TreeView.cs: Set the bounds for nodes properly. They were
  20744. getting screwed up when checkboxes were not enabled, but images
  20745. were.
  20746. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  20747. * ListBox.cs:
  20748. - Owner draw support
  20749. - Fixes
  20750. 2005-01-20 Jackson Harper <[email protected]>
  20751. * XplatUIStructs.cs: More misc keys
  20752. * X11Keyboard.cs: Ignore some control keys.
  20753. 2005-01-20 Jackson Harper <[email protected]>
  20754. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  20755. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  20756. 2005-01-19 Peter Bartok <[email protected]>
  20757. * Control.cs: Un-selecting the control when it is loosing focus
  20758. 2005-01-19 Jackson Harper <[email protected]>
  20759. * TreeView.cs: Hook up to the text controls leave event so we can
  20760. end editing when the users clicks outside the text box.
  20761. 2005-01-19 Jackson Harper <[email protected]>
  20762. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  20763. get set in the conversion array.
  20764. 2005-01-19 Peter Bartok <[email protected]>
  20765. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  20766. focus is properly set
  20767. * Button.cs:
  20768. - Added missing attributes
  20769. - removed styles, those are already set in the base class
  20770. * ButtonBase.cs:
  20771. - Added missing attributes
  20772. - Added clip window styles
  20773. * CheckBox.cs: Added missing attributes
  20774. * CommonDialog.cs:
  20775. - FormParentWindow.CreateParams: Added required clip styles
  20776. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  20777. also filters modifier keys
  20778. * MessageBox.cs:
  20779. - Added assignment of Accept and Cancel button to enable Enter
  20780. and Esc keys in MessageBox dialogs
  20781. - FormParentWindow.CreateParams: Added required clip styles
  20782. * RadioButton.cs: Added missing attributes
  20783. * TextControl.cs: No longer draws selection if control does not
  20784. have focus
  20785. * TextBoxBase.cs:
  20786. - Now draws simple rectangle around test area to make it obvious
  20787. there's a control. This is a hack until we properly support borders
  20788. - A few simple fixes to support selections better, now erases selected
  20789. text when typing, and resets selection when using movement keys
  20790. 2005-01-19 Miguel de Icaza <[email protected]>
  20791. * UpDownBase.cs: Added some new properties.
  20792. * DomainUpDown.cs: Implement a lot to get my test working.
  20793. 2005-01-19 Geoff Norton <[email protected]>
  20794. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  20795. 2005-01-19 Geoff Norton <[email protected]>
  20796. * OSXStructs (WindowAttributes): Fixed csc complaints
  20797. 2005-01-19 Geoff Norton <[email protected]>
  20798. * XplayUIOSX.cs:
  20799. OSXStructs.cs: Initial refactor to move enums and consts into
  20800. OSXStructs and use them in the driver for greater readability.
  20801. 2005-01-19 Geoff Norton <[email protected]>
  20802. * XplatUIOSX.cs: Initial support for Standard Cursors.
  20803. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  20804. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  20805. * ComboBox.cs: ability to change style when the ctrl is already
  20806. created, missing methods and events, bug fixes, signature fixes
  20807. 2005-01-19 Peter Bartok <[email protected]>
  20808. * Cursors.cs (ctor): Added ctor to fix signature
  20809. 2005-01-18 Peter Bartok <[email protected]>
  20810. * Button.cs: Implemented DoubleClick event
  20811. * ButtonBase.cs:
  20812. - Fixed keyboard handling to behave like MS, where the press of
  20813. Spacebar is equivalent to a mousedown, and the key release is
  20814. equivalent to mouseup. Now a spacebar push will give the same
  20815. visual feedback like a mouse click.
  20816. - Added missing attributes
  20817. - Added ImeModeChanged event
  20818. - Added support for generating DoubleClick event for derived classes
  20819. * CheckBox.cs:
  20820. - Implemented DoubleClick event
  20821. - Added missing attributes
  20822. * CommonDialog.cs: Added missing attribute
  20823. * ContextMenu.cs: Added missing attributes
  20824. * RadioButton.cs:
  20825. - AutoChecked buttons do not allow to be unselected when clicked
  20826. (otherwise we might end up with no selected buttons in a group)
  20827. - Added missing attributes
  20828. - Implemented DoubleClickEvent
  20829. * ThreadExceptionDialog.cs: Enabled TextBox code
  20830. 2005-01-18 Peter Bartok <[email protected]>
  20831. * Form.cs: Removed debug output
  20832. * Button.cs: Added support for DoubleClick method
  20833. 2005-01-18 Peter Bartok <[email protected]>
  20834. * Form.cs:
  20835. - Added method to parent window that allows triggering size
  20836. calculations when a menu is added/removed
  20837. - set_Menu: Cleaned up mess from early days of Form and Control,
  20838. now properly triggers a recalc when a menu is added/removed
  20839. - Added case to select form itself as focused form if no child
  20840. controls exist
  20841. - Added PerformLayout call when showing dialog, to ensure properly
  20842. placed controls
  20843. * Control.cs:
  20844. - Select(): Made internal so Form can access it
  20845. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  20846. status
  20847. * Application.cs (Run): Removed hack and calls PerformLayout instead
  20848. to trigger calculation when Form becomes visible
  20849. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  20850. * ComboBox.cs: fixes for ownerdraw
  20851. 2005-01-18 Peter Bartok <[email protected]>
  20852. * TextControl.cs:
  20853. - Sentinel is no longer static, each Document gets it's own, this
  20854. avoids locking or alternatively overwrite problems when more
  20855. than one text control is used simultaneously.
  20856. - Switched to use Hilight and HilightText brushes for text selection
  20857. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  20858. 2005-01-18 Peter Bartok <[email protected]>
  20859. * Control.cs:
  20860. - Hooked up the following events:
  20861. o ControlAdded
  20862. o ControlRemoved
  20863. o HandleDestroyed
  20864. o ImeModeChanged
  20865. o ParentChanged
  20866. o TabStopChanged
  20867. o Invalidated
  20868. o SystemColorsChanged
  20869. o ParentFontChanged
  20870. o Move
  20871. - Removed debug output
  20872. - Added a call to the current theme's ResetDefaults when a color change
  20873. is detected
  20874. * Form.cs: Now setting the proper ImeMode
  20875. * Theme.cs: Defined a method to force recreation of cached resources
  20876. and rereading of system defaults (ResetDefaults())
  20877. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  20878. 2005-01-17 Peter Bartok <[email protected]>
  20879. * Control.cs: Added missing attributes
  20880. 2005-01-17 Jackson Harper <[email protected]>
  20881. * TreeNode.cs: Implement editing. Add missing properties selected
  20882. and visible.
  20883. * TreeView.cs: Implement node editing. Also some fixes to use
  20884. Invalidate (invalid area) instead of Refresh when selecting.
  20885. 2005-01-17 Peter Bartok <[email protected]>
  20886. * Control.cs:
  20887. - Implemented InvokeGotFocus() method
  20888. - Implemented InvokeLostFocus() method
  20889. - Implemented InvokePaint() method
  20890. - Implemented InvokePaintBackground() method
  20891. - Implemented InvokeClick() method
  20892. - Implemented FindForm() method
  20893. - Implemented RectangleToClient() method
  20894. - Implemented ClientToRectangle() method
  20895. - Implemented ResetBackColor() method
  20896. - Implemented ResetCursor() method
  20897. - Implemented ResetFont() method
  20898. - Implemented ResteForeColor() method
  20899. - Implemented ResetImeMode() method
  20900. - Implemented ResetLeftToRight() method
  20901. - Implemented ResetText() method
  20902. - Implemented Scale() methods
  20903. - Implemented ScaleCore() method
  20904. - Implemented Update() method
  20905. - Removed unused variables
  20906. - Stubbed AccessibilityNotifyClients and
  20907. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  20908. with those yet)
  20909. - Now setting proper default for RightToLeft property
  20910. - Fixed bug in SetClientSizeCore that would cause windows to get
  20911. really big
  20912. - Now sending Click/DoubleClick events
  20913. - Now selecting controls when left mouse button is clicked on
  20914. selectable control
  20915. * AccessibleEvents.cs: Added
  20916. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  20917. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  20918. * XplatUIWin32.cs: Implemented UpdateWindow() method
  20919. * XplatUIX11.cs: Implemented UpdateWindow() method
  20920. * Form.cs: Removed stray semicolon causing CS0162 warning
  20921. * ThemeWin32Classic.cs: Fixed unused variable warnings
  20922. * ScrollableControl.cs: Now calls base method for ScaleCore
  20923. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  20924. style to avoid interference with internal click handler (which is
  20925. different than standard Control click handling)
  20926. * RadioButton.cs:
  20927. - Now unchecks all sibling radio buttons when control is
  20928. selected (Fixes #68756)
  20929. - Removed internal tabstop variable, using the one inherited from
  20930. Control
  20931. 2005-01-17 Jackson Harper <[email protected]>
  20932. * NavigateEventArgs.cs: Fix base type.
  20933. * LinkLabel.cs: Sig fix
  20934. 2005-01-17 Jackson Harper <[email protected]>
  20935. * TreeView.cs: Only invalidate the effected nodes bounds when
  20936. selecting nodes.
  20937. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  20938. * XplatUIWin32.cs: fixes Win32 marshaling
  20939. * XplatUIX11.cs: fixes method signature
  20940. 2005-01-17 Peter Bartok <[email protected]>
  20941. * XplatUIX11.cs: Clean up resources when we no longer need them
  20942. 2005-01-17 Peter Bartok <[email protected]>
  20943. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  20944. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  20945. and DestroyCursor() methods.
  20946. * Cursor.cs: Partially implemented, now supports standard cursors;
  20947. still contains some debug code
  20948. * Cursors.cs: Implemented class
  20949. * Control.cs:
  20950. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  20951. appropriate cursor
  20952. - Implemented Cursor property
  20953. - Replaced break; with return; more straightforwar and possibly
  20954. faster
  20955. - Now properly setting the result for WM_HELP
  20956. * X11Structs.cs: Added CursorFontShape enum
  20957. * XplatUIStructs.cs:
  20958. - Added StdCursor enum (to support DefineStdCursor() method)
  20959. - Added HitTest enum (to support sending WM_SETCURSOR message)
  20960. * XplatUIX11.cs:
  20961. - Now sends the WM_SETCURSOR message
  20962. - Implemented new cursor methods
  20963. * XplatUIOSX.cs: Stubbed new cursor methods
  20964. * XplatUIWin32.cs:
  20965. - Implemented new cursor methods
  20966. - Added GetSystemMetrics function and associated enumeration
  20967. 2005-01-15 Peter Bartok <[email protected]>
  20968. * Control.cs:
  20969. - WndProc(): Now handles EnableNotifyMessage
  20970. - SelectNextControl(): Fixed bug where if no child or sibling
  20971. controls exist we looped endlessly
  20972. 2005-01-14 Jackson Harper <[email protected]>
  20973. * TreeView.cs: Recalculate the tab pages when a new one is added
  20974. so that the proper bounding rects are created.
  20975. 2005-01-14 Jackson Harper <[email protected]>
  20976. * TreeView.cs: Draw a gray box instead of a grip in the lower
  20977. right hand corner when there are both horizontal and vertical
  20978. scroll bars.
  20979. 2005-01-14 Jackson Harper <[email protected]>
  20980. * Control.cs: When erasing backgrounds use FromHwnd instead of
  20981. FromHdc when there is a NULL wparam. This occurs on the X driver.
  20982. * XplatUIX11.cs: Set the wparam to NULL.
  20983. 2005-01-13 Jackson Harper <[email protected]>
  20984. * PictureBox.cs: Implement missing methods (except ToString, need
  20985. to test that on windows) and events. When visibility is changed we
  20986. need to redraw the image because the buffers are killed. When size
  20987. is changed refresh if the sizemode needs it.
  20988. 2005-01-13 Peter Bartok <[email protected]>
  20989. * Control.cs (SelectNextControl): Was using wrong method to select
  20990. a control
  20991. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  20992. * ComboBox.cs: fixes dropstyle
  20993. 2005-01-13 Peter Bartok <[email protected]>
  20994. * Form.cs:
  20995. - Implemented Select() override
  20996. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  20997. - Now sets keyboard focus on startup
  20998. * Control.cs (SelectNextControl): Now properly handles directed=true
  20999. * TextBoxBase.cs:
  21000. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  21001. - Added (really bad) focus rectangle (mostly for testing)
  21002. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  21003. to enforce redraw on focus changes
  21004. * ContainerControl.cs:
  21005. - Fixed detection of Shift-Tab key presses
  21006. - Fixed traversal with arrow keys
  21007. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  21008. gonna keep this or if it's complete yet
  21009. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21010. * ComboBox.cs: missing properties, fixes
  21011. 2005-01-13 Peter Bartok <[email protected]>
  21012. * Panel.cs (ctor): Setting Selectable window style to off
  21013. * Splitter.cs (ctor): Setting Selectable window style to off
  21014. * GroupBox.cs (ctor): Setting Selectable window style to off
  21015. * Label.cs (ctor): Setting Selectable window style to off
  21016. 2005-01-12 Miguel de Icaza <[email protected]>
  21017. * UpDownBase.cs (InitTimer): If the timer has been already
  21018. created, enable it.
  21019. Use a TextBox instead of a Label.
  21020. 2005-01-12 Jackson Harper <[email protected]>
  21021. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  21022. draw the connecting node lines (when ShowLines is true).
  21023. * TreeNode.cs: The nodes index can now be updated. This is used
  21024. when a node collection is sorted.
  21025. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  21026. insert or an existing unsorted node collection can be sorted.
  21027. 2005-01-12 Peter Bartok <[email protected]>
  21028. * ContainerControl.cs: Implemented ProcessDialogKeys()
  21029. 2005-01-12 Peter Bartok <[email protected]>
  21030. * Control.cs:
  21031. - Implemented SelectNextControl() method
  21032. - Several focus related bug fixes
  21033. - Fixed Docking calculations to match MS documentation and
  21034. behaviour
  21035. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  21036. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  21037. bug fixes
  21038. 2005-01-12 Peter Bartok <[email protected]>
  21039. * Control.cs:
  21040. - Fixed broken Contains() method
  21041. - Implemented GetNextControl() method. Finally. This is the pre-
  21042. requisite for focus handling.
  21043. 2005-01-12 Peter Bartok <[email protected]>
  21044. * OSXStrucs.cs: Added
  21045. 2005-01-12 Peter Bartok <[email protected]>
  21046. * XplatUIWin32.cs:
  21047. - Removed PeekMessageFlags
  21048. - Implemented SetWindowStyle() method
  21049. * XplatUIStructs.cs: Added PeekMessageFlags
  21050. * X11Structs: Added missing border_width field to XWindowChanges struct
  21051. * XplatUIX11.cs:
  21052. - PeekMessage: Now throws exception if flags which are not yet
  21053. supported are passed
  21054. - Implemented SetWindowStyle() method
  21055. - Fixed SetZOrder to handle AfterHwnd properly
  21056. * XplatUI.cs: Added SetWindowStyle() method
  21057. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  21058. * Control.cs:
  21059. - Implemented UpdateStyles() method
  21060. - Implemented UpdateZOrder() method
  21061. * XplatUIOSX.cs: Added SetWindowStyle() stub
  21062. 2005-01-12 Geoff Norton <[email protected]>
  21063. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  21064. button mouse).
  21065. 2005-01-11 Jackson Harper <[email protected]>
  21066. * TreeView.cs: Still need to draw lines to siblings even if out of
  21067. the current node is out of the clip.
  21068. 2005-01-11 Jackson Harper <[email protected]>
  21069. * TreeView.cs: When setting the hbar/vbar/grip position use
  21070. SetBounds so that perform layout is only called once. Also suspend
  21071. and resume layout so layout is only done once for all controls.
  21072. - Removed some debug fluff
  21073. * SizeGrip.cs: Call base implmentation in overriding methods.
  21074. - When visibility is changed the drawing buffers are killed so we
  21075. need to redraw.
  21076. 2005-01-11 Jackson Harper <[email protected]>
  21077. * TreeView.cs: Calculate the open node count while drawing. This
  21078. saves us an entire tree traversal for every paint operation. Use
  21079. a member var for the open node count so less vars are passed around.
  21080. 2005-01-11 John BouAntoun <[email protected]>
  21081. * MonthCalendar.cs:
  21082. - fixed selection to use mousemove, not mouse polling on timer
  21083. * ThemeWin32Classic.cs
  21084. - removed redundant unused variable "no_more_content"
  21085. 2005-01-11 Peter Bartok <[email protected]>
  21086. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  21087. are pending, so it now calls PeekMessage instead of GetMessage;
  21088. implemented a incomplete version of PeekMessage
  21089. 2005-01-11 Peter Bartok <[email protected]>
  21090. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  21091. I18n issues
  21092. * TextBoxBase.cs: Added sending of TextChanged event
  21093. 2005-01-10 Jackson Harper <[email protected]>
  21094. * TreeView.cs: Try not to draw outside the clipping rectangle on
  21095. each node element.
  21096. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  21097. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  21098. 2005-01-10 Jackson Harper <[email protected]>
  21099. * TreeView.cs:
  21100. - Implement fast scrolling. Now only the newly
  21101. exposed nodes are drawn and the old image is moved using the
  21102. XplatUI::ScrollWindow method.
  21103. - Factor in height of nodes when calculating whether or not the
  21104. node is in the clipping rect.
  21105. 2005-01-10 Jackson Harper <[email protected]>
  21106. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  21107. 2005-01-10 Peter Bartok <[email protected]>
  21108. * Application.cs: Added temporary hack to resolve all our resize
  21109. required issues on startup. This will get fixed properly at
  21110. some point in the future
  21111. 2005-01-10 Jackson Harper <[email protected]>
  21112. * SizeGrip.cs: New internal class that is used as a sizing
  21113. grip control...hence the name.
  21114. 2005-01-10 Peter Bartok <[email protected]>
  21115. * Control.cs: Implemented proper TabIndex handling, now assigning
  21116. a tabindex when a control is added to a container
  21117. * GroupBox.cs (ctor): Now sets the Container style bit, required
  21118. for Control.GetNextControl()
  21119. 2005-01-09 Jackson Harper <[email protected]>
  21120. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  21121. 2005-01-09 Peter Bartok <[email protected]>
  21122. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  21123. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  21124. an overload for ScrollWindow to allow only scrolling a rectangle
  21125. 2005-01-09 Peter Bartok <[email protected]>
  21126. * Form.cs:
  21127. - Implemented SetDesktopBounds method
  21128. - Implemented SetDesktopLocation method
  21129. 2005-01-08 Jackson Harper <[email protected]>
  21130. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  21131. the node count has changed, this removes to VScroll::Refresh calls
  21132. when drawing.
  21133. 2005-01-08 Geoff Norton <[email protected]>
  21134. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  21135. 2005-01-07 Jackson Harper <[email protected]>
  21136. * TreeNode.cs: Just update the single node when it is
  21137. checked. Don't refresh after toggling, the Expand/Collapse already
  21138. handles this.
  21139. * TreeView.cs: Respect clipping a little more when drawing. Try
  21140. not to redraw things that don't need to be redrawn. Just hide the
  21141. scrollbars when they are no longer needed instead of removing
  21142. them, so they don't have to be created again and again.
  21143. 2005-01-07 Geoff Norton <[email protected]>
  21144. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  21145. coordinates to window space to place the caret properly, FIXED.
  21146. Implement GetWindowState & SetWindowState
  21147. 2005-01-06 Peter Bartok <[email protected]>
  21148. * Form.cs:
  21149. - Implemented ClientSize property
  21150. - Implemented DesktopBounds property
  21151. - Implemented DesktopLocation property
  21152. - Implemented IsRestrictedWindow property
  21153. - Implemented Size property
  21154. - Implemented TopLevel property
  21155. - Implemented FormWindowState property
  21156. * Control.cs:
  21157. - Implemented GetTopLevel() method
  21158. - Implemented SetTopLevel() method
  21159. * X11Structs.cs (Atom):
  21160. - Added AnyPropertyType definition
  21161. - Added MapState definiton and updated XWindowAttribute struct
  21162. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  21163. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  21164. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  21165. * XplatUIWin32.cs:
  21166. - Implemented GetWindowState() and SetWindowState() methods
  21167. - Fixed Win32GetWindowLong return type
  21168. * XplatUIX11.cs:
  21169. - Introduced central function for sending NET_WM messages
  21170. - Implemented GetWindowState() and SetWindowState() methods
  21171. * TextBoxBase.cs (set_Lines):
  21172. - Now uses Foreground color for text added via Text property (Duh!)
  21173. - Added code to remember programmatically requested size (fixes
  21174. behaviour when Multiline is set after Size)
  21175. - Added AutoSize logic
  21176. 2005-01-06 Jackson Harper <[email protected]>
  21177. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  21178. 2005-01-06 Jackson Harper <[email protected]>
  21179. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  21180. set to less then 0.
  21181. 2005-01-06 Jackson Harper <[email protected]>
  21182. * ScrollableControl.cs: Lazy init the scrollbars.
  21183. 2005-01-06 Jackson Harper <[email protected]>
  21184. * Theme.cs: Speed up getting pens and solid brushes, by using
  21185. their ARGB as a hash instead of tostring and not calling Contains.
  21186. 2005-01-06 Peter Bartok <[email protected]>
  21187. * Form.cs:
  21188. - Implemented OnActivated and OnDeactivate event trigger
  21189. - Implemented Activate() method
  21190. - Fixed ShowDialog() to activate the form that was active before
  21191. the dialog was shown
  21192. * XplatUIX11.cs:
  21193. - Added global active_window var that tracks the currently active
  21194. X11 window
  21195. - Now always grabs Property changes from the root window to always
  21196. catch changes on the active window property
  21197. - Added code to PropertyNotify handler to send Active/Inactive
  21198. messages when state changes. This puts X11 and Win32 en par on
  21199. WM_ACTIVATE notifications (except for double notifications when
  21200. the user clicks away from our modal window to another one of our
  21201. windows)
  21202. 2005-01-05 Jackson Harper <[email protected]>
  21203. * ImageList.cs: Implment ctor
  21204. 2005-01-05 Geoff Norton <[email protected]>
  21205. * XplatUIOSX.cs: Implement Activate/SetTopmost
  21206. 2005-01-05 Geoff Norton <[email protected]>
  21207. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  21208. 2005-01-05 Geoff Norton <[email protected]>
  21209. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  21210. 2005-01-05 Peter Bartok <[email protected]>
  21211. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  21212. XplatUIOSX.cs: Added GetActive method to return the currently
  21213. active window for the application (or null, if none is active)
  21214. * Form.cs:
  21215. - Implemented ActiveForm
  21216. - Commented out owner assignment for modal dialogs (causes problems
  21217. on Win32, since the owner will be disabled)
  21218. - Reworked some Active/Focus handling (still incomplete)
  21219. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  21220. (causes problems on Win32, since the owner will be disabled)
  21221. * IWin32Window: Added ComVisible attribute
  21222. 2005-01-05 Peter Bartok <[email protected]>
  21223. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  21224. required XplatUI functions.
  21225. 2005-01-05 Peter Bartok <[email protected]>
  21226. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  21227. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  21228. to implement focus and activation handling; still incomplete and
  21229. with debug output
  21230. 2005-01-04 Peter Bartok <[email protected]>
  21231. * TextBoxBase.cs: Changed access level for Document property to
  21232. match switch to internal for TextControl
  21233. 2005-01-04 Peter Bartok <[email protected]>
  21234. * AccessibleObject: Added ComVisible attribute
  21235. 2005-01-04 Jackson Harper <[email protected]>
  21236. * X11Keyboard.cs: Remove unneeded var.
  21237. 2005-01-04 Jackson Harper <[email protected]>
  21238. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  21239. but PAINT.
  21240. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  21241. ClientMessage. This makes apps exit cleanly (more often).
  21242. 2005-01-04 Jackson Harper <[email protected]>
  21243. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  21244. handling focus, return correct colors and fonts,
  21245. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  21246. handle selection, horizontal scrolling, and mouse interaction.
  21247. 2005-01-04 Peter Bartok <[email protected]>
  21248. * ICommandExecutor.cs: Added
  21249. * IDataGridColumnStyleEditingNotificationService.cs: Added
  21250. * IFeatureSupport.cs: Added
  21251. * IFileReaderService.cs: Added
  21252. * IDataObject.cs: Added ComVisible attribute
  21253. * AmbientProperties.cs: Added
  21254. * BaseCollection.cs: Added missing attributes
  21255. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  21256. * BaseCollection.cs: Added missing attributes
  21257. * Binding.cs: Added TypeConverter attribute
  21258. * BindingContext.cs: Added DefaultEvent attribute
  21259. * BindingsCollection.cs: Added DefaultEvent attribute
  21260. * Button.cs: Added DefaultValue attribute
  21261. * DragEventArgs.cs: Added ComVisible attribute
  21262. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  21263. * KeyEventArgs.cs: Added ComVisible attribute
  21264. * KeyPressEventArgs.cs: Added ComVisible attribute
  21265. * MouseEventArgs.cs: Added ComVisible attribute
  21266. * NavigateEventArgs.cs: Added
  21267. * NavigateEventHandler.cs: Added
  21268. * FeatureSupport.cs: Added
  21269. * OSFeature.cs: Added
  21270. * Theme.cs: Added abstract Version property to support OSFeature
  21271. * ThemeWin32Classic.cs: Added Version property to
  21272. support OSFeature.Themes
  21273. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  21274. the proper styles to avoid background drawing are set, also doesn't
  21275. match MS signature
  21276. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  21277. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  21278. * ScrollEventArgs.cs: Added ComVisible attribute
  21279. * SplitterEventArgs.cs: Added ComVisible attribute
  21280. * AccessibleSelection.cs: Added Flags attribute
  21281. * Appearance.cs: Added ComVisible attribute
  21282. * Border3DSide.cs: Added ComVisible attribute
  21283. * Border3DStyle.cs: Added ComVisible attribute
  21284. * BorderStyle.cs: Added ComVisible attribute
  21285. * DragAction.cs: Added ComVisible attribute
  21286. * ErrorBlinkStyle.cs: Added
  21287. * ScrollEventType.cs: Added ComVisible attribute
  21288. * AnchorStyles.cs: Added Editor attribute
  21289. * DockStyle.cs: Added Editor attribute
  21290. * HorizontalAlignment.cs: Added ComVisible attribute
  21291. * HelpEventArgs.cs: Added ComVisible attribute
  21292. * PaintEventArgs.cs: Added IDisposable
  21293. 2005-01-04 Peter Bartok <[email protected]>
  21294. * TextControl.cs: Switched Line, LineTag and Document classes to
  21295. internal
  21296. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  21297. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  21298. Simple mode, fixes, IntegralHeight, etc.
  21299. 2005-01-04 Peter Bartok <[email protected]>
  21300. * TextBoxBase.cs: Using proper font variable now
  21301. 2005-01-04 Peter Bartok <[email protected]>
  21302. * Form.cs (ShowDialog): Set parent to owner, if provided
  21303. * GroupBox.cs: Removed unused vars
  21304. * TextControl.cs:
  21305. - Added GetHashCode() for Document and LineTag classes
  21306. - Removed unused variables
  21307. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  21308. to allow translation between continuous char position and line/pos
  21309. * CheckBox.cs: Removed vars that are provided by base class
  21310. * RadioButton.cs: Removed vars that are provided by base class, added
  21311. new keyword where required
  21312. * LinkLabel.cs: Added new keyword where required
  21313. * Control.cs (WndProc): Removed unused variable
  21314. * TextBoxBase.cs:
  21315. - Finished SelectionLength property
  21316. - Implemented SelectionStart property
  21317. - Implemented Text property
  21318. - Removed unused vars
  21319. * MessageBox.cs: Added new keyword where required
  21320. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  21321. WndProc signature
  21322. * MenuAPI.cs: Added new keyword where required
  21323. * ButtonBase.cs: Removed vars that are provided by base class, added
  21324. new keyword where required
  21325. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  21326. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  21327. into this)
  21328. * Application.cs (Run): Now triggers the ThreadExit event
  21329. * CommonDialog.cs: Added new keyword where required; now properly sets
  21330. parent (owner) for dialog
  21331. * XplatUIX11.cs: Commented out unused vars
  21332. * StatusBar.cs: Fixed signature for Text property
  21333. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  21334. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  21335. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  21336. TrackBar.cs, MonthCalendar.cs: remove unused vars
  21337. 2005-01-03 Jackson Harper <[email protected]>
  21338. * ThemeWin32Classic.cs:
  21339. * X11Keyboard.cs: Remove unused vars.
  21340. 2005-01-03 Peter Bartok <[email protected]>
  21341. * TextBox.cs:
  21342. - set_Text: Tied into TextControl
  21343. - set_TextAlignment: Tied into TextControl
  21344. * TextControl.cs:
  21345. - Added alignment properties and implemented alignment handling
  21346. and drawing (still has a bug, not generating proper expose events)
  21347. - Added new Line() constructor to allow passing the line alignment
  21348. - Fixed selection setting, properly handling end<start now
  21349. - Added aligment considerations to RecalculateDocument()
  21350. * TextBoxBase.cs:
  21351. - Now properly enforces control height for single line controls
  21352. - Added support for CharacterCasing
  21353. - Added IsInputKey override
  21354. - Fixed Keys.Enter logic
  21355. - Added SetBoundsCore override
  21356. - Fixed mouse selection handling
  21357. 2005-01-03 Jackson Harper <[email protected]>
  21358. * TreeView.cs:
  21359. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  21360. - Checkboxes are always aligned to the bottom of the node,
  21361. regardless of item height.
  21362. - Use the node bounds to draw the text so we can center it when
  21363. the item height is greater then the font height.
  21364. - Node::Bounds are only the text part of the node.
  21365. * TreeNode.cs: New method to combine collapsing and unchecking all
  21366. nodes recursively.
  21367. 2005-01-02 Jackson Harper <[email protected]>
  21368. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  21369. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  21370. tree when a check is changed. TODO: Only refresh the checked node.
  21371. 2004-12-30 Jackson Harper <[email protected]>
  21372. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  21373. * TreeNode.cs: When collapsing make sure to never collapse the
  21374. root node.
  21375. 2004-12-29 Jackson Harper <[email protected]>
  21376. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  21377. 2004-12-28 Zoltan Varga <[email protected]>
  21378. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  21379. 2004-12-28 Peter Bartok <[email protected]>
  21380. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  21381. not yet assigned
  21382. 2004-12-28 Peter Bartok <[email protected]>
  21383. * Control.cs (WndProc): Added WM_HELP handler, now generates
  21384. HelpRequested event
  21385. * Form.cs: Added HelpButton property and required support code
  21386. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  21387. 2004-12-28 Peter Bartok <[email protected]>
  21388. * CommonDialog.cs:
  21389. - Made DialogForm.owner variable internal
  21390. - Added check to ensure owner form is set before setting
  21391. owner properties in CreateParams
  21392. 2004-12-28 Geoff Norton <[email protected]>
  21393. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  21394. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  21395. GetCursorPos. Fix major visibility issues. Rework the windowing
  21396. system to support borderless/titleless windows (implements menus).
  21397. Fix GetWindowPos. Implement initial background color support for
  21398. views.
  21399. 2004-12-28 Peter Bartok <[email protected]>
  21400. * Form.cs (get_CreateParams): Make sure we have an owner before using
  21401. the owner variable. Implement proper default if no owner exists
  21402. 2004-12-28 Peter Bartok <[email protected]>
  21403. * In preparation for making Managed.Windows.Forms the default build target
  21404. for System.Windows.Forms, the following stubbed files were added.
  21405. Dialogs are currently being implemented by contributors and are only
  21406. short-term place holders.
  21407. * ColorDialog.cs: Initial check-in (minmal stub)
  21408. * DataGrid.cs: Initial check-in (minimal stub)
  21409. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  21410. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  21411. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  21412. * FontDialog.cs: Initial check-in (minimal stub)
  21413. * FileDialog.cs: Initial check-in (minimal stub)
  21414. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  21415. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  21416. * OpenFileDialog: Initial check-in (minimal stub)
  21417. * IComponentEditorPageSite.cs: Initial check-in
  21418. * Splitter.cs: Initial check-in (for Jackson)
  21419. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  21420. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  21421. * TextBox.cs: Initial check-in; still needs some wiring to
  21422. TextControl backend
  21423. * Form.cs: Implemented ControlBox property
  21424. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  21425. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  21426. * TextControl.cs: Added selection functionality; added todo header
  21427. * TextBoxBase.cs:
  21428. - Implemented Lines property
  21429. - Implemented TextHeight property
  21430. - Implemented SelectedText property
  21431. - Implemented SelectionLength property
  21432. - Implemented SelectAll method
  21433. - Implemented ToString method
  21434. - Removed and cleaned up some debug code
  21435. - Implemented (still buggy) mouse text selection
  21436. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  21437. * ComboBox.cs: Complete DropDownList implementation, fixes.
  21438. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  21439. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  21440. * ComboBoxStyle.cs: ComboBoxStyle enum
  21441. * ComboBox.cs: Initial work on ComboBox control
  21442. 2004-12-21 Peter Bartok <[email protected]>
  21443. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  21444. forward so that anything that creates a window gets the default,
  21445. also no longer uses Visible property in CreateParams to avoid
  21446. walking up the parent chain and possibly get the wrong visible
  21447. status. Fixed IsVisible to no longer walk up to the parent.
  21448. 2004-12-21 Peter Bartok <[email protected]>
  21449. * Form.cs (ShowDialog): Unset modality for the proper window
  21450. 2004-12-20 Peter Bartok <[email protected]>
  21451. * CommonDialog.cs: Initial check-in
  21452. 2004-12-20 Peter Bartok <[email protected]>
  21453. * Control.cs (Visible): Now uses the parent window instead of the
  21454. client area window for the property
  21455. * Form.cs
  21456. - ShowDialog(): Now uses the proper window for modality
  21457. - The default visibility state for the form parent is now false. This
  21458. will prevent the user from seeing all the changes to the form and
  21459. its controls before the application hits Application.Run()
  21460. - Removed some stale commented out code
  21461. * NativeWindow.cs:
  21462. - Added FindWindow() method to have a method to check for existence
  21463. of a window handle
  21464. - Added ability to override default exception handling (for example
  21465. when debugging with VS.Net; to do this the ExternalExceptionHandler
  21466. define must be set
  21467. - Removed some useless debug output
  21468. * XplatUIX11.cs:
  21469. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  21470. not working as expected
  21471. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  21472. property to allow switching back to the modal window if focus is
  21473. given to another one of our windows (Application Modal)
  21474. - Now only sets override_redirect if we create a window
  21475. without WS_CAPTION
  21476. - Moved EventMask selection before mapping of newly created window
  21477. so we can catch the map event as well
  21478. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  21479. - Added various Atom related DllImports
  21480. - Implemented Exit() method
  21481. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  21482. in the CreateParams
  21483. * MessageBox.cs: Now properly deals with the FormParent window by
  21484. providing an override the FormParent CreateParams property to
  21485. set as POPUP instead of OVERLAPPED window.
  21486. 2004-12-19 Geoff Norton <[email protected]>
  21487. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  21488. Minor code cleanup.
  21489. 2004-12-19 Geoff Norton <[email protected]>
  21490. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  21491. 2004-12-18 Peter Bartok <[email protected]>
  21492. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  21493. implementing SetModal() method
  21494. 2004-12-18 Peter Bartok <[email protected]>
  21495. * X11Structs.cs (XGCValues): Fixed type of function element
  21496. * XplatUI.cs: Added ScrollWindow() method
  21497. * XplatUIDriver.cs: Added ScrollWindow() abstract
  21498. * XplatUIWin32.cs: Implemented ScrollWindow() method
  21499. * XplatUIX11.cs: Implemented ScrollWindow() method
  21500. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  21501. 2004-12-17 Geoff Norton <[email protected]>
  21502. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  21503. Some more keyboard support (INCOMPLETE)
  21504. 2004-12-17 Peter Bartok <[email protected]>
  21505. * TextControl.cs:
  21506. - Added color attribute to line tags.
  21507. - Added color argument to all functions dealing with tags
  21508. - Added color argument support to various functions
  21509. - Fixed miss-calculation of baseline/shift in certain circumstances
  21510. * TextBoxBase.cs: Added new color option to test code
  21511. 2004-12-17 Jackson Harper <[email protected]>
  21512. * TreeNode.cs:
  21513. * MonthCalendar.cs: Signature fixes
  21514. 2004-12-17 Geoff Norton <[email protected]>
  21515. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  21516. keyboard event moved it. Create a new graphics context for each paint resolves this
  21517. 2004-12-17 Geoff Norton <[email protected]>
  21518. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  21519. Make caret exist and go blink blink. Initial keyboard support.
  21520. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  21521. works.
  21522. 2004-12-17 Jackson Harper <[email protected]>
  21523. * XplatUIStructs.cs: Updated set of virtual keycodes.
  21524. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  21525. 2004-12-17 Jackson Harper <[email protected]>
  21526. * XplatUIX11.cs: Prune old keyboard code.
  21527. 2004-12-17 Jackson Harper <[email protected]>
  21528. * XplatUIX11.cs: When generating mouse wparams get the modifier
  21529. keys from the ModifierKeys property.
  21530. 2004-12-17 Jackson Harper <[email protected]>
  21531. * X11Keyboard.cs: Send up/down input when generating
  21532. messages. Remove some unused vars.
  21533. 2004-12-17 Jackson Harper <[email protected]>
  21534. * TabControl.cs:
  21535. * TreeView.cs: get rid of warnings.
  21536. 2004-12-17 Jackson Harper <[email protected]>
  21537. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  21538. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  21539. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  21540. CheckedListBox.cs: Implementation
  21541. 2004-12-17 Peter Bartok <[email protected]>
  21542. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  21543. 2004-12-16 Peter Bartok <[email protected]>
  21544. * TextControl.cs:
  21545. - InsertCharAtCaret(): Fixed start pos fixup
  21546. - CaretLine_get: No longer derives the line from the tag, the tag
  21547. could be stale if lines in the document have been added or deleted
  21548. - RebalanceAfterDelete(): Fixed bug in balancing code
  21549. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  21550. - Line.Streamline(): Now can also elminate leading empty tags
  21551. - DumpTree(): Added a few more tests and prevented exception on
  21552. uninitialized data
  21553. - Added Debug section for Combining lines
  21554. - Delete(): Now copies all remaining properties of a line
  21555. * TextBoxBase.cs:
  21556. - Left mousebutton now sets the caret (and middle button still acts
  21557. as formatting tester, which must go away soon)
  21558. - Added Debug section for Deleting/Combining lines
  21559. - Fixed calculations for UpdateView after Combining lines
  21560. 2004-12-16 Peter Bartok <[email protected]>
  21561. * TextControl.cs: Now properly aligns text on a baseline, using the
  21562. new XplatUI.GetFontMetrics() method. Simplified several calculations
  21563. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  21564. defined
  21565. 2004-12-16 Peter Bartok <[email protected]>
  21566. * XplatUI.cs: Added GetFontMetrics() method
  21567. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  21568. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  21569. into libgdiplus, our private GetFontMetrics function
  21570. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  21571. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  21572. 2004-12-16 Jackson Harper <[email protected]>
  21573. * XplatUIStruct.cs: Add enum for dead keys
  21574. * X11Keyboard.cs: Map and unmap dead keys.
  21575. 2004-12-16 Jackson Harper <[email protected]>
  21576. * X11Keyboard.cs: Detect and use the num lock mask.
  21577. 2004-12-16 Peter Bartok <[email protected]>
  21578. * Control.cs (CreateGraphics): Added check to make sure the
  21579. handle of the window exists before calling Graphics.FromHwnd()
  21580. 2004-12-16 Peter Bartok <[email protected]>
  21581. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  21582. contains a lot of code that's not supposed to be there for the
  21583. real thing, but required for developing/testing the textbox
  21584. backend.
  21585. 2004-12-16 Peter Bartok <[email protected]>
  21586. * TextControl.cs:
  21587. - Fixed Streamline method
  21588. - Added FindTag method to Line
  21589. - Added DumpTree method for debugging
  21590. - Added DecrementLines() method for deleting lines
  21591. - Fixed UpdateView to update the cursor to end-of-line on single-line
  21592. updates
  21593. - Added PositionCaret() method
  21594. - Fixed MoveCaret(LineDown) to move into the last line, too
  21595. - Added InsertChar overload
  21596. - Fixed InsertChar tag offset calculations
  21597. - Added DeleteChar() method
  21598. - Added Combine() method for folding lines
  21599. - Fixed Delete() method, no longer allocates wasted Line object and
  21600. now copies all properties when swapping nodes
  21601. - Delete() method now updates document line counter
  21602. 2004-12-15 Jackson Harper <[email protected]>
  21603. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  21604. * X11Keyboard.cs: Expose the currently selected modifier keys
  21605. through a property.
  21606. 2004-12-15 Peter Bartok <[email protected]>
  21607. * TextControl.cs: Initial check-in. Still incomplete
  21608. 2004-12-15 Jackson Harper <[email protected]>
  21609. * TreeNode.cs:
  21610. * TreeView.cs: Fix build on csc (second time today ;-))
  21611. 2004-12-15 Jackson Harper <[email protected]>
  21612. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  21613. is calculated and use this for click testing.
  21614. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  21615. 2004-12-15 Jackson Harper <[email protected]>
  21616. * TreeView.cs: Pass the nodes image index to the image list when
  21617. drawing that image.
  21618. 2004-12-15 Jackson Harper <[email protected]>
  21619. * X11Keyboard.cs: Set messages hwnd.
  21620. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  21621. post_message calls.
  21622. 2004-12-15 Jackson Harper <[email protected]>
  21623. * X11Keyboard.cs: Fix to compile with csc.
  21624. 2004-12-15 Jackson Harper <[email protected]>
  21625. * X11Structs.cs: Add key mask values
  21626. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  21627. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  21628. down/up foo into WM_CHAR foo
  21629. * KeyboardLayouts.cs: Common keyboard layouts
  21630. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  21631. post messages into the main queue.
  21632. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  21633. * Button.cs: implement ProcessMnemonic
  21634. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  21635. brushes everytime
  21636. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  21637. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  21638. 2004-12-12 John BouAntoun <[email protected]>
  21639. * MonthCalendar.cs: Implemented click-hold for next/previous month
  21640. and date selection
  21641. 2004-12-11 Peter Bartok <[email protected]>
  21642. * X11Structs.cs:
  21643. - Added XKeyboardState (moved from XplatUIX11.cs)
  21644. - Added XCreateGC related enums and structures
  21645. - Added GXFunction for XSetFunction
  21646. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  21647. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  21648. CaretVisible() calls
  21649. * ToolTip.cs: Added code to prevent stealing focus from app windows
  21650. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  21651. DestroyCaret, SetCaretPos and CaretVisible)
  21652. * XplatUIX11.cs:
  21653. - Added implementation for caret functions
  21654. - Moved hover variables into a struct, to make it a bit easier
  21655. on the eyes and to debug
  21656. - Removed XKeyboardState (moved to XplatUIX11.cs)
  21657. - Moved Keyboard properties into the properties region
  21658. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  21659. call to get a graphics context for our control
  21660. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  21661. * TreeView.cs: Fixed bug. No matter what color was set it would always
  21662. return SystemColors.Window
  21663. * XplatUIWin32.cs: Implemented caret overrides
  21664. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  21665. * ListBox.cs: fire events, implement missing methods and properties,
  21666. sorting.
  21667. 2004-12-10 John BouAntoun <[email protected]>
  21668. * MonthCalendar.cs: invalidation bug fixing
  21669. * ThemeWin32Classic.cs: paint fixing
  21670. 2004-12-09 Geoff Norton <[email protected]>
  21671. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  21672. prepare the CGContextRef there now.
  21673. 2004-12-09 John BouAntoun <[email protected]>
  21674. * MonthCalendar.cs:
  21675. - optimisationL only invalidate areas that have changed
  21676. * ThemeWin32Classic.cs:
  21677. - only paint parts that intersect with clip_area
  21678. 2004-12-09 Peter Bartok <[email protected]>
  21679. * Application.cs: Undid changes from r37004 which cause problems
  21680. on X11
  21681. 2004-12-09 Ravindra <[email protected]>
  21682. * ToolBar.cs: Added support for displaying ContextMenu
  21683. attached to a button on ToolBar.
  21684. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  21685. property.
  21686. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  21687. * Label.cs: autosize works in text change and removes unnecessary
  21688. invalidate
  21689. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  21690. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  21691. remove warnings
  21692. 2004-12-08 Geoff Norton <[email protected]>
  21693. * XplatUIOSX.cs: Added mouse move/click/grab support
  21694. Remove some debugging WriteLines not needed anymore.
  21695. Add window resizing/positioning.
  21696. Fix visibility on reparenting.
  21697. 2004-12-08 Peter Bartok <[email protected]>
  21698. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  21699. 2004-12-07 Geoff Norton <[email protected]>
  21700. * XplatUIOSX.cs: Initial checkin
  21701. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  21702. 2004-12-03 Ravindra <[email protected]>
  21703. * ListView.cs: Added some keybindings and fixed scrolling.
  21704. ScrollBars listen to ValueChanged event instead of Scroll
  21705. Event. This would let us take care of all changes being
  21706. done in the scrollbars' values programmatically or manually.
  21707. * ListView.cs (CanMultiselect): Added a check for shift key.
  21708. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  21709. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  21710. of ListViewSubItemCollection as well.
  21711. 2004-12-06 Peter Bartok <[email protected]>
  21712. * Control.cs (Parent): Added check and exception to prevent
  21713. circular parenting
  21714. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  21715. * ListBox.cs: implemented clipping, selection single and multiple,
  21716. bug fixing
  21717. 2004-12-03 Ravindra <[email protected]>
  21718. * ListView.cs (ListView_KeyDown):
  21719. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  21720. when CTRL key is pressed.
  21721. * ListViewItem.cs (Selected): Fixed setting the property.
  21722. 2004-12-03 Marek Safar <[email protected]>
  21723. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  21724. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  21725. MinimizeBox, ShowInTaskbar, TopMost properties.
  21726. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  21727. will be implemented).
  21728. 2004-12-03 Marek Safar <[email protected]>
  21729. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  21730. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  21731. tests.
  21732. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  21733. * TreeView.cs: BackColor is Colors.Window.
  21734. 2004-12-01 Jackson Harper <[email protected]>
  21735. * TreeView.cs: When resizing the tree if the user is making it
  21736. smaller we don't get expose events, so we need to handle adding
  21737. the horizontal scrollbar in the size changed handler as well as
  21738. the expose handler.
  21739. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  21740. * DrawItemState.cs: fixes wrong enum values
  21741. 2004-12-01 Jackson Harper <[email protected]>
  21742. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  21743. 2004-12-01 Jackson Harper <[email protected]>
  21744. * NodeLabelEditEventArgs.cs:
  21745. * NodeLabelEditEventHandler.cs:
  21746. * OpenTreeNodeEnumerator.cs:
  21747. * TreeNode.cs:
  21748. * TreeNodeCollection.cs:
  21749. * TreeView.cs:
  21750. * TreeViewAction.cs:
  21751. * TreeViewCancelEventArgs.cs:
  21752. * TreeViewCancelEventHandler.cs:
  21753. * TreeViewEventArgs.cs:
  21754. * TreeViewEventHandler.cs: Initial implementation.
  21755. 2004-12-01 Ravindra <[email protected]>
  21756. * ListView.cs (CalculateListView): Fixed scrolling related
  21757. calculations. Also, removed some debug statements from other
  21758. places.
  21759. * ListViewItem.cs: Changed access to 'selected' instance variable
  21760. from private to internal.
  21761. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  21762. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  21763. * ThemeWin32Classic.cs: remove cache of brush and pens for
  21764. specific controls and use the global system, fixes scrollbutton
  21765. bugs (for small sizes, disabled, etc)
  21766. * ScrollBar.cs: does not show the thumb for very small controls
  21767. (as MS) and allow smaller buttons that the regular size
  21768. 2004-12-01 Miguel de Icaza <[email protected]>
  21769. * UpDownBase.cs: Add abstract methods for the interface.
  21770. Add new virtual methods (need to be hooked up to TextEntry when it
  21771. exists).
  21772. Add override methods for most features.
  21773. Computes the size, forces the height of the text entry.
  21774. * NumericUpDown.cs: Put here the current testing code.
  21775. * Set eol-style property on all files that do not have mixed line
  21776. endings, to minimize the future problems. There are still a few
  21777. files with mixed endings, and someone should choose whether they
  21778. want to move it or not.
  21779. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  21780. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  21781. System.Colors
  21782. 2004-11-30 Ravindra <[email protected]>
  21783. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  21784. drawing and replaced use of SystemColors by theme colors.
  21785. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  21786. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  21787. same ListViewItem is being added more than once.
  21788. 2004-11-30 John BouAntoun <[email protected]>
  21789. * MonthCalendar.cs:
  21790. - ControlStyles love to make the control not flicker
  21791. 2004-11-30 Peter Bartok <[email protected]>
  21792. * CharacterCasing.cs: Added
  21793. 2004-11-29 Peter Bartok <[email protected]>
  21794. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  21795. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  21796. I am removing these files as they conflict with already completed
  21797. work. While it is fantastic to get contributions to MWF, I
  21798. respectfully ask that everyone please coordinate their contributions
  21799. through mono-winforms-list or #mono-winforms at this time. We're
  21800. explicitly avoiding stubbing and don't want controls that don't have
  21801. their basic functionality implemented in svn. Please also see
  21802. http://www.mono-project.com/contributing/winforms.html
  21803. 2004-11-29 Marek Safar <[email protected]>
  21804. * Application.cs (ModalRun): Don't hang after exit.
  21805. * Theme.cs: New TreeViewDefaultSize property.
  21806. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  21807. with less hardcoded SystemColors constant.
  21808. Implemented TreeViewDefaultSize.
  21809. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  21810. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  21811. 2004-11-29 John BouAntoun <[email protected]>
  21812. * MonthCalendar.cs:
  21813. - Fix NextMonthDate and PrevMonthDate click moving calendar
  21814. 2004-11-26 John BouAntoun <[email protected]>
  21815. * MonthCalendar.cs:
  21816. - Fix usage of ScrollChange Property when scrolling months
  21817. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  21818. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  21819. - Fixes menu destroying
  21820. - Support adding and removing items on already created menus
  21821. 2004-11-26 John BouAntoun <[email protected]>
  21822. * MonthCalendar.cs:
  21823. - Re-worked all bolded dates handling to match win32
  21824. * ThemeWin32Classic.cs:
  21825. - Fixed rendering with bolded dates
  21826. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  21827. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  21828. - Horizontal scroolbar
  21829. - Multicolumn
  21830. - Fixes
  21831. 2004-11-25 John BouAntoun <[email protected]>
  21832. * MonthCalendar.cs:
  21833. - Fix Usage of MaxSelectionCount from SelectionRange
  21834. - Fixed Shift + Cursor Selection
  21835. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  21836. - Fixed normal cursor selection to be compat with win32
  21837. - Fixed Shift + Mouse Click selection
  21838. 2004-11-24 Peter Bartok <[email protected]>
  21839. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  21840. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  21841. * XplatUIX11.cs:
  21842. - CreatedKeyBoardMsg now updates keystate with Alt key
  21843. - Added workaround for timer crash to CheckTimers, Jackson will
  21844. develop a proper fix and check in later
  21845. - Implemented DispatchMessage
  21846. - Removed calling the native window proc from GetMessage (call
  21847. now moved to DispatchMessage)
  21848. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  21849. the keydata (Fixes bug #69831)
  21850. * XplatUIWin32.cs:
  21851. - (DispatchMessage): Switched to return IntPtr
  21852. - Added DllImport for SetFocus
  21853. 2004-11-24 Ravindra <[email protected]>
  21854. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  21855. background drawing.
  21856. * ListViewItem.cs: Fixed various properties, calculations
  21857. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  21858. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  21859. and some internal properties. Fixed MouseDown handler and Paint
  21860. method.
  21861. 2004-11-24 John BouAntoun <[email protected]>
  21862. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  21863. 2004-11-24 John BouAntoun <[email protected]>
  21864. * ContainerControl.cs: correct accidental check in of local changes
  21865. 2004-11-24 John BouAntoun <[email protected]>
  21866. * ThemeWin32Classic.cs:
  21867. - Fixed Drawing Last month in grid (sometimes not showing)
  21868. * MonthCalendar.cs:
  21869. - Fixed title width calculation bug (makeing title small)
  21870. 2004-11-23 Peter Bartok <[email protected]>
  21871. * XplatUIX11.cs:
  21872. - Added generation of WM_MOUSEHOVER event
  21873. - Added missing assignment of async_method atom
  21874. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  21875. 2004-11-23 John BouAntoun <[email protected]>
  21876. * ThemeWin32Classic.cs:
  21877. - Fixed Drawing of today circle when showtodaycircle not set
  21878. - fixed drawing of first and last month in the grid (gay dates)
  21879. * MonthCalendar.cs:
  21880. - Fixed Drawing of today circle
  21881. - Fixed drawing of grady dates
  21882. - Fixed HitTest for today link when ShowToday set to false
  21883. - Fixed DefaultSize to obey ShowToday
  21884. 2004-11-23 John BouAntoun <[email protected]>
  21885. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  21886. * System.Windows.Forms/Theme.cs
  21887. * MonthCalendar.cs: added for MonthCalendar
  21888. * SelectionRange.cs: added for MonthCalendar
  21889. * Day.cs: added for MonthCalendar: added for MonthCalendar
  21890. * DateRangeEventArgs.cs: added for MonthCalendar
  21891. * DateRangeEventHandler.cs: added for MonthCalendar
  21892. 2004-11-22 Ravindra <[email protected]>
  21893. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  21894. property.
  21895. 2004-11-22 Miguel de Icaza <[email protected]>
  21896. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  21897. event handler.
  21898. * NumericUpDown.cs: Added new implementation.
  21899. * UpDownBase.cs: Added new implementation.
  21900. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  21901. implementations.
  21902. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  21903. implementations.
  21904. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  21905. methods.
  21906. 2004-11-21 Miguel de Icaza <[email protected]>
  21907. * Timer.cs (Dispose): Should call the base dispose when
  21908. overriding.
  21909. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  21910. * ScrollBar.cs: updates thumb position when max, min or increment
  21911. is changed
  21912. 2004-11-21 Ravindra <[email protected]>
  21913. * ListView.cs: Implemented item selection, activation and
  21914. column header style. Fixed properties to do a redraw, if
  21915. required. Added support for MouseHover, DoubleClick, KeyDown
  21916. and KeyUp event handling and some minor fixes.
  21917. * ListViewItem.cs: Fixed constructor.
  21918. * ThemeWin32Classic.cs: Improved drawing for ListView.
  21919. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  21920. * ThemeWin32Classic.cs: initial listbox drawing code
  21921. * DrawMode.cs: new enumerator
  21922. * ListControl.cs: stubbed class
  21923. * ListBox.cs: initial implementation
  21924. * Theme.cs: new methods definitions
  21925. * SelectionMode.cs: new enumerator
  21926. 2004-11-17 Peter Bartok <[email protected]>
  21927. * XplatUIWin32.cs: Added double-click events to the class style
  21928. * Control.cs (WndProc):
  21929. - Added handling of click-count to MouseDown/ MouseUp events.
  21930. - Added handling of middle and right mouse buttons
  21931. - Removed old debug code
  21932. 2004-11-17 Jackson Harper <[email protected]>
  21933. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  21934. 2004-11-17 Ravindra <[email protected]>
  21935. * ListView.cs: Added event handling for MouseMove/Up/Down.
  21936. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  21937. * ThemeWin32Classic.cs: We need to clear the graphics context and
  21938. draw column header in a proper state.
  21939. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  21940. * Menu.cs: fixes signature
  21941. 2004-11-16 Peter Bartok <[email protected]>
  21942. * XplatUIX11.cs (GetMessage): Implemented generation of
  21943. double click mouse messages
  21944. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  21945. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  21946. not by menu
  21947. 2004-11-11 Peter Bartok <[email protected]>
  21948. * HandleData.cs: Added Visible property
  21949. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  21950. HandleData
  21951. * XplatUIX11.cs: Removed old debug leftovers
  21952. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  21953. * Control.cs (WndProc): Removed old debug leftovers,
  21954. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  21955. needed WM_SIZE handling
  21956. 2004-11-11 Jackson Harper <[email protected]>
  21957. * OwnerDrawPropertyBag.cs:
  21958. * TreeViewImageIndexConverter.cs: Initial implementation
  21959. 2004-11-10 Jackson Harper <[email protected]>
  21960. * ThemeWin32Classic.cs:
  21961. * TabControl.cs: instead of moving tabs by the slider pos just
  21962. start drawing at the tab that is offset by the slider. This way
  21963. scrolling always moves by exactly one tab.
  21964. 2004-11-10 Jackson Harper <[email protected]>
  21965. * TabControl.cs: You can only scroll left when the slider has
  21966. already ben moved right.
  21967. 2004-11-10 Jackson Harper <[email protected]>
  21968. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  21969. the clip area.
  21970. 2004-11-10 Jackson Harper <[email protected]>
  21971. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  21972. clip area.
  21973. 2004-11-09 Jackson Harper <[email protected]>
  21974. * TabControl.cs (CalcXPos): New helper method so we can determine
  21975. the proper place to start drawing vertical tabs.
  21976. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  21977. 2004-11-09 Jackson Harper <[email protected]>
  21978. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  21979. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  21980. and Bottom, left and right are illegal values for this and
  21981. multiline is enabled when the alignment is set to left or right.
  21982. (DrawTab): Each alignment block should draw the text itself now
  21983. because Left requires special love. Also add rendering for Left
  21984. aligned tabs.
  21985. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  21986. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  21987. does not destroy the windows, removes debugging messages
  21988. 2004-11-09 jba <[email protected]>
  21989. * ThemeWin32Classic.cs
  21990. (DrawButtonBase): Fix verticle text rect clipping in windows
  21991. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  21992. rendering and incorrect text rect clipping
  21993. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  21994. rendering and incorrect text rect clipping
  21995. 2004-11-08 Jackson Harper <[email protected]>
  21996. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  21997. bottom when they are bottom aligned so the bottoms of the tabs get
  21998. displayed.
  21999. * TabControl.cs (DropRow): Move rows up instead of down when the
  22000. tab control is bottom aligned.
  22001. 2004-11-08 13:59 pbartok
  22002. * XplatUIX11.cs:
  22003. - Added handling for various window styles
  22004. - Added handling for popup windows
  22005. - Added SetTopmost handling
  22006. 2004-11-08 13:55 pbartok
  22007. * XplatUIWin32.cs:
  22008. - Added argument to SetTopmost method
  22009. - Fixed broken ClientToScreen function
  22010. 2004-11-08 13:53 pbartok
  22011. * XplatUIStructs.cs:
  22012. - Added missing WS_EX styles
  22013. 2004-11-08 13:53 pbartok
  22014. * XplatUI.cs, XplatUIDriver.cs:
  22015. - Added argument to SetTopmost
  22016. 2004-11-08 13:52 pbartok
  22017. * X11Structs.cs:
  22018. - Added XSetWindowAttributes structure
  22019. - Improved XWindowAttributes structure
  22020. - Added SetWindowValuemask enum
  22021. - Added window creation arguments enum
  22022. - Added gravity enum
  22023. - Added Motif hints structure
  22024. - Added various Motif flags and enums
  22025. - Added PropertyMode enum for property functions
  22026. 2004-11-08 13:50 pbartok
  22027. * Form.cs:
  22028. - Fixed arguments for updated SetTopmost method
  22029. 2004-11-08 13:49 pbartok
  22030. * ToolTip.cs:
  22031. - Fixed arguments for updated SetTopmost function
  22032. - Fixed usage of PointToClient
  22033. 2004-11-08 13:44 pbartok
  22034. * MenuAPI.cs:
  22035. - Added Clipping of children and siblings
  22036. 2004-11-08 13:41 pbartok
  22037. * MainMenu.cs:
  22038. - Removed SetMenuBarWindow call. We do this in Form.cs
  22039. 2004-11-08 13:40 jackson
  22040. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  22041. scrolling jimmi in the correct location with bottom aligned tabs
  22042. 2004-11-08 13:36 pbartok
  22043. * ContainerControl.cs:
  22044. - Implemented BindingContext
  22045. - Implemented ParentForm
  22046. 2004-11-08 12:46 jackson
  22047. * TabControl.cs: Put bottom rendered tabs in the right location
  22048. 2004-11-08 07:15 jordi
  22049. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  22050. removes dead code
  22051. 2004-11-05 17:30 jackson
  22052. * TabControl.cs: When selected tabs are expanded make sure they
  22053. don't go beyond the edges of the tab control
  22054. 2004-11-05 14:57 jackson
  22055. * TabControl.cs: Reset show_slider so if the control is resized to
  22056. a size where it is no longer needed it's not displayed anymore
  22057. 2004-11-05 13:16 jackson
  22058. * TabControl.cs: Make tab pages non visible when added to the
  22059. control
  22060. 2004-11-05 12:42 jackson
  22061. * TabControl.cs: Implement SizeMode.FillToRight
  22062. 2004-11-05 12:16 jackson
  22063. * Control.cs: Do not call CreateHandle if the handle is already
  22064. created
  22065. 2004-11-05 11:46 jackson
  22066. * TabControl.cs: Remove superflous call to CalcTabRows
  22067. 2004-11-05 09:07 jackson
  22068. * XplatUIX11.cs: Update for Mono.Posix changes
  22069. 2004-11-05 07:00 ravindra
  22070. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  22071. scrolling.
  22072. 2004-11-04 22:47 jba
  22073. * ThemeWin32Classic.cs:
  22074. - Fix Button rendering for FlatStyle = Flat or Popup
  22075. - Fix RadioButton and CheckBox rendering when Appearance = Button
  22076. (normal and flatstyle).
  22077. - Correct outer rectangle color when drawing focus rectangle
  22078. - Adjust button bounds to be 1 px smaller when focused
  22079. - Make button not draw sunken 3d border when pushed (windows compat)
  22080. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  22081. - Offset the text in RadioButton and Checkbox when being rendered as
  22082. a button.
  22083. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  22084. radiobuttons
  22085. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  22086. - Fixed disabled text rendering for normally rendered radiobuttons
  22087. 2004-11-04 10:26 jackson
  22088. * TabControl.cs: Recalculate tab rows when resizing
  22089. 2004-11-04 07:47 jordi
  22090. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  22091. collection completion, drawing issues, missing features
  22092. 2004-11-04 05:03 ravindra
  22093. * ScrollBar.cs:
  22094. - We need to recalculate the Thumb area when
  22095. LargeChange/maximum/minimum values are changed.
  22096. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  22097. than minimum. This is required to handle the case if large_change is
  22098. more than max, and use LargeChange property instead of large_change
  22099. variable.
  22100. - We return max+1 when large_change is more than max, like MS does.
  22101. 2004-11-04 04:29 ravindra
  22102. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  22103. - Changed default value signatures (prefixed all with ListView).
  22104. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  22105. ListView.
  22106. - Fixed calculations for ListViewItem and implemented Clone()
  22107. method.
  22108. 2004-11-04 04:26 ravindra
  22109. * Theme.cs, ThemeWin32Classic.cs:
  22110. - Changed default ListView values signatures (prefixed all with
  22111. ListView).
  22112. - Fixed default size values for VScrollBar and HScrollBar.
  22113. - Fixed DrawListViewItem method.
  22114. 2004-11-04 04:05 ravindra
  22115. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  22116. 2004-11-04 04:04 ravindra
  22117. * ImageList.cs: Implemented the missing overload for Draw method.
  22118. 2004-11-03 19:29 jackson
  22119. * TabControl.cs: Handle dropping rows on selection properly
  22120. 2004-11-03 11:59 jackson
  22121. * TabControl.cs: remove debug code
  22122. 2004-11-03 11:52 jackson
  22123. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  22124. the scrolly widgerywoo
  22125. 2004-11-02 13:52 jackson
  22126. * TabControl.cs: Resize the tab pages and tabs when the tab control
  22127. is resized
  22128. 2004-11-02 13:40 jackson
  22129. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  22130. selected tab to the bottom
  22131. 2004-11-02 13:39 jackson
  22132. * TabPage.cs: Store the tab pages row
  22133. 2004-11-02 12:33 jordi
  22134. * MenuItem.cs: fixes handle creation
  22135. 2004-11-02 11:42 jackson
  22136. * TabControl.cs: signature fix
  22137. 2004-11-02 08:56 jackson
  22138. * TabControl.cs: Calculate whether the tab is on an edge properly.
  22139. Remove top secret debugging code
  22140. 2004-11-01 19:57 jackson
  22141. * TabControl.cs: Add click handling, and proper sizing
  22142. 2004-11-01 19:47 jackson
  22143. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  22144. tab controls
  22145. 2004-11-01 19:39 jackson
  22146. * TabPage.cs: add internal property to store the bounds of a tab
  22147. page
  22148. 2004-10-30 04:23 ravindra
  22149. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  22150. values.
  22151. 2004-10-30 04:21 ravindra
  22152. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  22153. fixed calculations.
  22154. 2004-10-30 03:06 pbartok
  22155. * XplatUIX11.cs:
  22156. - Removed extension of DllImported libs
  22157. 2004-10-29 09:55 jordi
  22158. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  22159. navigation, itemcollection completion, menu fixes
  22160. 2004-10-27 22:58 pbartok
  22161. * XplatUIX11.cs:
  22162. - Now throws a nice error message when no X display could be opened
  22163. 2004-10-26 13:51 jordi
  22164. * ListView.cs: removes warning
  22165. 2004-10-26 03:55 ravindra
  22166. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  22167. ThemeWin32Classic.cs: Some formatting for my last checkins.
  22168. 2004-10-26 03:36 ravindra
  22169. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  22170. control and default values.
  22171. 2004-10-26 03:35 ravindra
  22172. * Theme.cs: Added some default values for ListView control.
  22173. 2004-10-26 03:33 ravindra
  22174. * ToolBar.cs: ToolBar should use the user specified button size, if
  22175. there is any. Added a size_specified flag for the same.
  22176. 2004-10-26 03:33 ravindra
  22177. * ColumnHeader.cs: Added some internal members and calculations for
  22178. ColumnHeader.
  22179. 2004-10-26 03:32 ravindra
  22180. * ListViewItem.cs: Calculations for ListViewItem.
  22181. 2004-10-26 03:31 ravindra
  22182. * ListView.cs: Added some internal members and calculations for
  22183. ListView.
  22184. 2004-10-22 13:31 jordi
  22185. * MenuAPI.cs: speedup menus drawing
  22186. 2004-10-22 13:16 jackson
  22187. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  22188. expose event
  22189. 2004-10-22 11:49 jackson
  22190. * Control.cs: oops
  22191. 2004-10-22 11:41 jackson
  22192. * Control.cs: Check to see if the window should have its background
  22193. repainted by X when drawing.
  22194. 2004-10-22 11:31 jackson
  22195. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  22196. clear is true, this way we do not get flicker from X repainting the
  22197. background
  22198. 2004-10-22 11:28 jackson
  22199. * XEventQueue.cs: Queue properly
  22200. 2004-10-21 09:38 jackson
  22201. * XEventQueue.cs: Fix access modifier
  22202. 2004-10-21 09:36 jackson
  22203. * XEventQueue.cs: Don't loose messages
  22204. 2004-10-21 09:22 jackson
  22205. * XEventQueue.cs: Don't loose messages
  22206. 2004-10-20 04:15 jordi
  22207. * BootMode.cs: enum need it by SystemInfo
  22208. 2004-10-19 21:58 pbartok
  22209. * XplatUIWin32.cs:
  22210. - Small sanity check
  22211. 2004-10-19 21:56 pbartok
  22212. * Form.cs:
  22213. - Added private FormParentWindow class which acts as the container
  22214. for our form and as the non-client area where menus are drawn
  22215. - Added/Moved required tie-ins to Jordi's menus
  22216. - Fixed/Implemented the FormStartPosition functionality
  22217. 2004-10-19 21:52 pbartok
  22218. * Control.cs:
  22219. - Removed unneeded locals
  22220. - Added code to all size and location properties to understand and
  22221. deal with the parent container of Form
  22222. 2004-10-19 21:33 pbartok
  22223. * Application.cs:
  22224. - Fixed to deal with new Form subclasses for menus
  22225. 2004-10-19 17:48 jackson
  22226. * XEventQueue.cs: commit correct version of file
  22227. 2004-10-19 16:50 jackson
  22228. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  22229. 2004-10-19 16:15 jordi
  22230. * MenuAPI.cs: MenuBarCalcSize returns the height
  22231. 2004-10-19 08:31 pbartok
  22232. * Control.cs:
  22233. - Added missing call to PreProcessMessage before calling OnXXXKey
  22234. methods
  22235. 2004-10-19 00:04 ravindra
  22236. * ToolTip.cs: Fixed constructor.
  22237. 2004-10-18 09:31 jordi
  22238. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  22239. 2004-10-18 09:26 jordi
  22240. * MenuItem.cs: fixes MenuItem class signature
  22241. 2004-10-18 08:56 jordi
  22242. * MenuAPI.cs: prevents windows from showing in the taskbar
  22243. 2004-10-18 00:28 ravindra
  22244. * ToolTip.cs: Suppressed a warning message.
  22245. 2004-10-18 00:27 ravindra
  22246. * Control.cs: Default value of visible property must be true.
  22247. 2004-10-17 23:19 pbartok
  22248. * ToolTip.cs:
  22249. - Complete implementation
  22250. 2004-10-17 23:19 pbartok
  22251. * XplatUIX11.cs:
  22252. - Added EnableWindow method
  22253. - Added SetModal stub
  22254. - Added generation of WM_ACTIVATE message (still needs testing)
  22255. - Added SetTopMost stub
  22256. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  22257. 2004-10-17 23:17 pbartok
  22258. * XplatUIWin32.cs:
  22259. - Removed VirtualKeys to XplatUIStructs
  22260. - Implemented SetTopMost method
  22261. - Implemented EnableWindow method
  22262. - Bugfix in ScreenToClient()
  22263. - Bugfixes in ClientToScreen()
  22264. 2004-10-17 22:51 pbartok
  22265. * XplatUIStructs.cs:
  22266. - Added WS_EX styles to WindowStyles enumeration
  22267. 2004-10-17 22:50 pbartok
  22268. * XplatUI.cs, XplatUIDriver.cs:
  22269. - Added method for enabling/disabling windows
  22270. - Added method for setting window modality
  22271. - Added method for setting topmost window
  22272. 2004-10-17 22:49 pbartok
  22273. * ThemeWin32Classic.cs:
  22274. - Added ToolTip drawing code
  22275. 2004-10-17 22:49 pbartok
  22276. * Theme.cs:
  22277. - Added ToolTip abstracts
  22278. 2004-10-17 22:47 pbartok
  22279. * Form.cs:
  22280. - Fixed Form.ControlCollection to handle owner relations
  22281. - Added Owner/OwnedForms handling
  22282. - Implemented Z-Ordering for owned forms
  22283. - Removed unneeded private overload of ShowDialog
  22284. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  22285. so I hope)
  22286. - Fixed Close(), had wrong default
  22287. - Added firing of OnLoad event
  22288. - Added some commented out debug code for Ownership handling
  22289. 2004-10-17 22:16 pbartok
  22290. * Control.cs:
  22291. - Fixed/implemented flat list of controls
  22292. 2004-10-17 22:14 pbartok
  22293. * Application.cs:
  22294. - Added code to simulate modal dialogs on Win32
  22295. 2004-10-17 16:11 jordi
  22296. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  22297. mouse event
  22298. 2004-10-17 13:39 jordi
  22299. * MenuAPI.cs: menu drawing fixes
  22300. 2004-10-15 09:10 ravindra
  22301. * StructFormat.cs: General Enum.
  22302. 2004-10-15 09:09 ravindra
  22303. * SizeGripStyle.cs: Enum for Form.
  22304. 2004-10-15 09:08 ravindra
  22305. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  22306. in Theme for ListView.
  22307. 2004-10-15 09:06 ravindra
  22308. * ColumnHeader.cs: Flushing some formatting changes.
  22309. 2004-10-15 09:05 ravindra
  22310. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  22311. style.
  22312. 2004-10-15 09:03 ravindra
  22313. * ListView.cs: Implemented Paint method and fixed coding style.
  22314. 2004-10-15 07:34 jordi
  22315. * MenuAPI.cs: fix for X11
  22316. 2004-10-15 07:32 ravindra
  22317. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  22318. - Renamed Paint() method to Draw() for clarity. Also, moved
  22319. DrawImage() to OnPaint().
  22320. 2004-10-15 07:25 ravindra
  22321. * CheckBox.cs, RadioButton.cs:
  22322. - Removed Redraw (), we get it from ButtonBase.
  22323. - Implemented Paint (), to do class specific painting.
  22324. 2004-10-15 07:16 ravindra
  22325. * ButtonBase.cs:
  22326. - Redraw () is not virtual now.
  22327. - Added an internal virtual method Paint (), so that
  22328. derived classes can do their painting on their own.
  22329. - Modified OnPaint () to call Paint ().
  22330. 2004-10-15 06:43 jordi
  22331. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  22332. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  22333. 2004-10-15 00:30 ravindra
  22334. * MessageBox.cs:
  22335. - MessageBox on windows does not have min/max buttons.
  22336. This change in CreateParams fixes this on Windows. We
  22337. still need to implement this windowstyle behavior in
  22338. our X11 driver.
  22339. 2004-10-14 05:14 ravindra
  22340. * ToolBar.cs:
  22341. - Changed Redraw () to do a Refresh () always.
  22342. - Fixed the MouseMove event handling when mouse is pressed,
  22343. ie drag event handling.
  22344. - Replaced the usage of ToolBarButton.Pressed property to
  22345. ToolBarButton.pressed internal variable.
  22346. 2004-10-14 05:10 ravindra
  22347. * ToolBarButton.cs:
  22348. - Added an internal member 'inside' to handle mouse move
  22349. with mouse pressed ie mouse drag event.
  22350. - Changed 'Pressed' property to return true only when
  22351. 'inside' and 'pressed' are both true.
  22352. - Some coding style love.
  22353. 2004-10-14 00:17 ravindra
  22354. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  22355. public method.
  22356. 2004-10-14 00:15 ravindra
  22357. * ButtonBase.cs: Redraw () related improvements.
  22358. 2004-10-14 00:14 ravindra
  22359. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  22360. removed unnecessary calls to Button.Show () method.
  22361. 2004-10-13 17:50 pbartok
  22362. * XplatUIX11.cs:
  22363. - Formatting fix
  22364. - Removed destroying of window until we solve the problem of X
  22365. destroying the window before us on shutdown
  22366. 2004-10-13 16:32 pbartok
  22367. * ButtonBase.cs:
  22368. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  22369. 2004-10-13 14:18 pbartok
  22370. * XplatUIX11.cs:
  22371. - Added code to destroy the X window
  22372. 2004-10-13 14:18 pbartok
  22373. * XplatUIWin32.cs:
  22374. - Added code to destroy a window
  22375. 2004-10-13 14:12 pbartok
  22376. * ButtonBase.cs:
  22377. - Added the Redraw on Resize that got dropped in the last rev
  22378. 2004-10-13 09:06 pbartok
  22379. * ThemeWin32Classic.cs:
  22380. - Path from John BouAntoun:
  22381. * Fix check rendering (centre correctly for normal style, offset
  22382. correctly for FlatStyle).
  22383. * Fix border color usage (use backcolor) for FlatStyle.Popup
  22384. * Use checkbox.Capture instead of checkbox.is_pressed when
  22385. rendering flatstyle states.
  22386. 2004-10-12 21:48 pbartok
  22387. * ThemeWin32Classic.cs:
  22388. - Removed all occurences of SystemColors and replaced them with the
  22389. matching theme color
  22390. 2004-10-12 21:41 pbartok
  22391. * ThemeWin32Classic.cs:
  22392. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  22393. him using the function for flatstyle drawing
  22394. - Changed functions to use the new version of CPDrawBorder3D
  22395. 2004-10-12 21:15 pbartok
  22396. * ControlPaint.cs:
  22397. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  22398. match MS documentation. They need to return defined colors if the
  22399. passed color matches the configured control color. Thanks to John
  22400. BouAntoun for pointing this out.
  22401. 2004-10-12 20:57 pbartok
  22402. * Control.cs:
  22403. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  22404. color is changed
  22405. 2004-10-12 20:46 pbartok
  22406. * CheckBox.cs:
  22407. - Fix from John BouAntoun: Now properly sets the Appearance property
  22408. 2004-10-12 20:45 pbartok
  22409. * ThemeWin32Classic.cs:
  22410. - Fixes from John BouAntoun: now handles forecolors and backcolors
  22411. for flatstyle rendered controls much better; It also fixes normal
  22412. checkbox rendering when pushed or disabled.
  22413. 2004-10-08 02:50 jordi
  22414. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  22415. work
  22416. 2004-10-07 08:56 jordi
  22417. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  22418. 2004-10-06 03:59 jordi
  22419. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  22420. XplatUIWin32.cs: removes warnings from compilation
  22421. 2004-10-05 12:23 jackson
  22422. * RadioButton.cs: Fix ctor
  22423. 2004-10-05 11:10 pbartok
  22424. * MessageBox.cs:
  22425. - Partial implementation by Benjamin Dasnois
  22426. 2004-10-05 10:15 jackson
  22427. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  22428. by John BouAntoun
  22429. 2004-10-05 03:07 ravindra
  22430. * ToolBar.cs:
  22431. - Removed a private method, Draw ().
  22432. - Fixed the ButtonDropDown event handling.
  22433. - Fixed MouseMove event handling.
  22434. 2004-10-05 03:04 ravindra
  22435. * ThemeWin32Classic.cs:
  22436. - Added DrawListView method and ListViewDefaultSize property.
  22437. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  22438. - Changed DOS style CRLF to Unix format (dos2unix).
  22439. 2004-10-05 03:03 ravindra
  22440. * Theme.cs:
  22441. - Added DrawListView method and ListViewDefaultSize property.
  22442. 2004-10-05 02:42 ravindra
  22443. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  22444. clicks on DropDown arrow.
  22445. 2004-10-04 22:56 jackson
  22446. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  22447. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  22448. Control handle the buffers, derived classes should not have to
  22449. CreateBuffers themselves.
  22450. 2004-10-04 21:20 jackson
  22451. * StatusBar.cs: The control handles resizing the buffers now.
  22452. 2004-10-04 21:18 jackson
  22453. * Control.cs: When resizing the buffers should be invalidated. This
  22454. should be handled in Control not in derived classes.
  22455. 2004-10-04 14:45 jackson
  22456. * TabPage.cs: oops
  22457. 2004-10-04 02:14 pbartok
  22458. * LeftRightAlignment.cs:
  22459. - Initial check-in
  22460. 2004-10-04 01:09 jordi
  22461. * ThemeWin32Classic.cs: fixes right button position causing right
  22462. button not showing on horizontal scrollbars
  22463. 2004-10-02 13:12 pbartok
  22464. * XplatUIX11.cs:
  22465. - Simplified the Invalidate method by using an X call instead of
  22466. generating the expose ourselves
  22467. - Added an expose when the window background is changed
  22468. - Implemented ClientToScreen method
  22469. 2004-10-02 13:08 pbartok
  22470. * XplatUIWin32.cs:
  22471. - Added Win32EnableWindow method (test for implementing modal
  22472. dialogs)
  22473. - Added ClientToScreen method and imports
  22474. 2004-10-02 13:07 pbartok
  22475. * XplatUI.cs, XplatUIDriver.cs:
  22476. - Added ClientToScreen coordinate translation method
  22477. 2004-10-02 13:06 pbartok
  22478. * KeyPressEventArgs.cs:
  22479. - Fixed access level for constructor
  22480. 2004-10-02 13:06 pbartok
  22481. * NativeWindow.cs:
  22482. - Changed access level for the window_collection hash table
  22483. 2004-10-02 13:05 pbartok
  22484. * Form.cs:
  22485. - Added KeyPreview property
  22486. - Added Menu property (still incomplete, pending Jordi's menu work)
  22487. - Implemented ProcessCmdKey
  22488. - Implemented ProcessDialogKey
  22489. - Implemented ProcessKeyPreview
  22490. 2004-10-02 13:02 pbartok
  22491. * Control.cs:
  22492. - Added private method to get the Control object from the window
  22493. handle
  22494. - Implemented ContextMenu property
  22495. - Implemented PointToScreen
  22496. - Implemented PreProcessMessage
  22497. - Implemented IsInputChar
  22498. - Implemented IsInputKey
  22499. - Implemented ProcessCmdKey
  22500. - Completed ProcessKeyEventArgs
  22501. - Fixed message loop to call the proper chain of functions on key
  22502. events
  22503. - Implemented ProcessDialogChar
  22504. - Implemented ProcessDialogKey
  22505. - Implemented ProcessKeyMessage
  22506. - Implemented ProcessKeyPreview
  22507. - Added RaiseDragEvent stub (MS internal method)
  22508. - Added RaiseKeyEvent stub (MS internal method)
  22509. - Added RaiseMouseEvent stub (MS Internal method)
  22510. - Added RaisePaintEvent stub (MS Internal method)
  22511. - Added ResetMouseEventArgs stub (MS Internal method)
  22512. - Implemented RtlTranslateAlignment
  22513. - Implemented RtlTranslateContent
  22514. - Implemented RtlTranslateHorizontal
  22515. - Implemented RtlTranslateLeftRight
  22516. - Added generation of KeyPress event
  22517. 2004-10-02 05:57 ravindra
  22518. * ListViewItem.cs: Added attributes.
  22519. 2004-10-02 05:32 ravindra
  22520. * ListView.cs: Added attributes.
  22521. 2004-10-01 11:53 jackson
  22522. * Form.cs: Implement the Close method so work on MessageBox can
  22523. continue.
  22524. 2004-09-30 14:06 pbartok
  22525. * XplatUIX11.cs:
  22526. - Bug fixes
  22527. 2004-09-30 11:34 jackson
  22528. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  22529. 2004-09-30 07:26 ravindra
  22530. * ListViewItemConverter.cs: Converter for ListViewItem.
  22531. 2004-09-30 07:26 ravindra
  22532. * SortOrder.cs: Enum for ListView control.
  22533. 2004-09-30 07:25 ravindra
  22534. * ColumnHeader.cs: Supporting class for ListView control.
  22535. 2004-09-30 07:24 ravindra
  22536. * ListView.cs, ListViewItem.cs: Initial implementation.
  22537. 2004-09-30 07:20 ravindra
  22538. * ItemActivation.cs: Enum for ListView Control.
  22539. 2004-09-29 20:29 pbartok
  22540. * XplatUIX11.cs:
  22541. - Added lookup of pixel value for background color; tries to get a
  22542. color 'close' to the requested color, it avoids having to create a
  22543. colormap. Depending on the display this could mean the used color
  22544. is slightly off the desired color. Might have to change it to a more
  22545. resource intensive colormap approach, but it will work as a
  22546. workaround to avoid red screens.
  22547. 2004-09-29 14:27 jackson
  22548. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  22549. 2004-09-28 12:44 pbartok
  22550. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  22551. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  22552. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  22553. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  22554. TrackBar.cs, VScrollBar.cs:
  22555. - Streamlined Theme interfaces:
  22556. * Each DrawXXX method for a control now is passed the object for
  22557. the control to be drawn in order to allow accessing any state the
  22558. theme might require
  22559. * ControlPaint methods for the theme now have a CP prefix to avoid
  22560. name clashes with the Draw methods for controls
  22561. * Every control now retrieves it's DefaultSize from the current
  22562. theme
  22563. 2004-09-28 12:17 jackson
  22564. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  22565. drawing
  22566. 2004-09-24 14:57 jackson
  22567. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  22568. Gives us a nice little performance boost.
  22569. 2004-09-24 12:02 jackson
  22570. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  22571. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  22572. Control and supporting classes. Initial checkin
  22573. 2004-09-23 13:08 jackson
  22574. * Form.cs: Temp build fixage
  22575. 2004-09-23 01:39 ravindra
  22576. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  22577. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  22578. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  22579. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  22580. EventHandlers needed by ListView Control.
  22581. 2004-09-22 14:12 pbartok
  22582. * ScrollableControl.cs:
  22583. - Implemented DockPadding property
  22584. - Implemented AutoScroll property
  22585. - Implemented AutoScrollMargin property
  22586. - Implemented AutoScrollMinSize property
  22587. - Implemented AutoScrollPosition property
  22588. - Implemented DisplayRectangle property (still incomplete)
  22589. - Implemented CreateParams property
  22590. - Implemented HScroll property
  22591. - Implemented VScroll property
  22592. - Implemented OnVisibleChanged property
  22593. 2004-09-22 14:09 pbartok
  22594. * Form.cs:
  22595. - Added Form.ControllCollection class
  22596. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  22597. RemoveOwnedForm (still incomplete, missing on-top and common
  22598. minimize/maximize behaviour)
  22599. - Added StartPosition property (still incomplete, does not use when
  22600. creating the form)
  22601. - Added ShowDialog() methods (still incomplete, missing forcing the
  22602. dialog modal)
  22603. 2004-09-22 14:05 pbartok
  22604. * Application.cs:
  22605. - Added message loop for modal dialogs
  22606. 2004-09-22 14:02 pbartok
  22607. * GroupBox.cs:
  22608. - Fixed wrong types for events
  22609. 2004-09-22 14:00 pbartok
  22610. * Shortcut.cs, FormWindowState.cs:
  22611. - Fixed wrong values
  22612. 2004-09-22 12:01 jackson
  22613. * Control.cs: Text is never null
  22614. 2004-09-20 22:14 pbartok
  22615. * XplatUIWin32.cs:
  22616. - Fixed accessibility level for Idle handler
  22617. 2004-09-20 18:54 jackson
  22618. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  22619. XplatUIX11.cs: New message loop that uses poll so we don't get a
  22620. busy loop
  22621. 2004-09-17 10:43 pbartok
  22622. * ScrollBar.cs:
  22623. - Fixed behaviour of arrow buttons. Now properly behaves like
  22624. Buttons (and like Microsoft's scrollbar arrow buttons)
  22625. 2004-09-17 10:14 pbartok
  22626. * ScrollBar.cs:
  22627. - Added missing release of keyboard/mouse capture
  22628. 2004-09-17 06:18 jordi
  22629. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  22630. Theme.cs: Very early menu support
  22631. 2004-09-16 17:45 pbartok
  22632. * XplatUIWin32.cs:
  22633. - Fixed sending a window to the front
  22634. - Added overload for SetWindowPos to avoid casting
  22635. 2004-09-16 17:44 pbartok
  22636. * Control.cs:
  22637. - Added SendToBack and BringToFront methods
  22638. 2004-09-16 07:00 ravindra
  22639. * Copyright: Added Novell URL.
  22640. 2004-09-16 07:00 ravindra
  22641. * ToolBar.cs: Invalidate should be done before redrawing.
  22642. 2004-09-15 21:19 ravindra
  22643. * ColumnHeaderStyle.cs: Enum for ListView Control.
  22644. 2004-09-15 21:18 ravindra
  22645. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  22646. ListView Control.
  22647. 2004-09-13 18:26 jackson
  22648. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  22649. properly
  22650. 2004-09-13 18:13 jackson
  22651. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  22652. a second thread and post messages into the main threads message
  22653. queue. This makes timing much more consistent. Both win2K and XP
  22654. have a minimum timer value of 15 milliseconds, so we now do this
  22655. too.
  22656. 2004-09-13 15:18 pbartok
  22657. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  22658. XplatUIX11.cs:
  22659. - Added Z-Ordering methods
  22660. 2004-09-13 10:56 pbartok
  22661. * Form.cs:
  22662. - Fixed #region names
  22663. - Moved properties and methods into their proper #regions
  22664. 2004-09-13 10:51 pbartok
  22665. * Form.cs:
  22666. - Added Accept and CancelButton properties
  22667. - Added ProcessDialogKey() method
  22668. 2004-09-13 08:18 pbartok
  22669. * IWindowTarget.cs:
  22670. - Initial check-in
  22671. 2004-09-10 21:50 pbartok
  22672. * Control.cs:
  22673. - Added DoDragDrop() [incomplete]
  22674. - Properly implemented 'Visible' handling
  22675. - Added SetVisibleCore()
  22676. - Implemented FindChildAtPoint()
  22677. - Implemented GetContainerControl()
  22678. - Implemented Hide()
  22679. 2004-09-10 19:28 pbartok
  22680. * Control.cs:
  22681. - Moved methods into their appropriate #regions
  22682. - Reordered methods within regions alphabetically
  22683. 2004-09-10 18:57 pbartok
  22684. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  22685. - Added method to retrieve text from window
  22686. 2004-09-10 18:56 pbartok
  22687. * Control.cs:
  22688. - Moved some internal functions into the internal region
  22689. - Implemented FontHeight
  22690. - Implemented RenderRightToLeft
  22691. - Implemented ResizeRedraw
  22692. - Implemented ShowFocusCues
  22693. - Implemented ShowKeyboardCues
  22694. - Implemented FromChildHandle
  22695. - Implemented FromHandle
  22696. - Implemented IsMnemonic
  22697. - Implemented ReflectMessage
  22698. - All public and protected Static Methods are now complete
  22699. 2004-09-10 16:54 pbartok
  22700. * Control.cs:
  22701. - Implemented remaining missing public instance properties
  22702. - Alphabetized some out of order properties
  22703. 2004-09-10 05:51 ravindra
  22704. * PictureBox.cs: Added a check for null image.
  22705. 2004-09-10 00:59 jordi
  22706. * GroupBox.cs: remove cvs tag
  22707. 2004-09-09 05:25 ravindra
  22708. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  22709. 2004-09-09 05:23 ravindra
  22710. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  22711. parent redraw.
  22712. 2004-09-09 02:28 pbartok
  22713. * ThemeWin32Classic.cs:
  22714. - Improve disabled string look
  22715. 2004-09-09 01:15 jordi
  22716. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  22717. args and handler
  22718. 2004-09-08 23:56 ravindra
  22719. * ItemBoundsPortion.cs: It's enum, not a class!
  22720. 2004-09-08 23:47 ravindra
  22721. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  22722. Enums for Form.
  22723. 2004-09-08 21:13 ravindra
  22724. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  22725. ListView control.
  22726. 2004-09-08 21:03 ravindra
  22727. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  22728. avoid crash.
  22729. 2004-09-08 21:01 ravindra
  22730. * ScrollableControl.cs: Removed unreachable code.
  22731. 2004-09-08 06:45 jordi
  22732. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  22733. 2004-09-08 01:00 jackson
  22734. * XplatUIX11.cs: Only run the timers when updating the message
  22735. queue. This effectively gives X messages a higher priority then
  22736. timer messages. Timers still need love though
  22737. 2004-09-07 14:01 jackson
  22738. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  22739. this for us and the handle is no longer valid.
  22740. 2004-09-07 13:59 jackson
  22741. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  22742. loop that manages to not crash. TODO: Add poll and cleanup timers
  22743. 2004-09-07 11:12 jordi
  22744. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  22745. 2004-09-07 03:40 jordi
  22746. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  22747. fixes, methods, multiple links
  22748. 2004-09-06 06:55 jordi
  22749. * Control.cs: Caches ClientRectangle rectangle value
  22750. 2004-09-05 02:03 jordi
  22751. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  22752. certain situations
  22753. 2004-09-04 11:10 jordi
  22754. * Label.cs: Refresh when font changed
  22755. 2004-09-02 16:24 pbartok
  22756. * Control.cs:
  22757. - Added sanity check to creation of double buffer bitmap
  22758. 2004-09-02 16:24 pbartok
  22759. * ButtonBase.cs:
  22760. - Fixed selection of text color
  22761. - Fixed handling of resize event; now properly recreates double
  22762. buffering bitmap
  22763. - Added missing assignment of TextAlignment
  22764. - Added proper default for TextAlignment
  22765. 2004-09-02 14:26 pbartok
  22766. * RadioButton.cs:
  22767. - Added missing RadioButton.RadioButtonAccessibleObject class
  22768. 2004-09-02 14:26 pbartok
  22769. * Control.cs:
  22770. - Added missing Control.ControlAccessibleObject class
  22771. - Started to implement Select()ion mechanisms, still very incomplete
  22772. 2004-09-02 14:25 pbartok
  22773. * AccessibleObject.cs:
  22774. - Added missing methods
  22775. 2004-09-02 14:23 pbartok
  22776. * AccessibleNavigation.cs, AccessibleSelection.cs:
  22777. - Initial check-in
  22778. 2004-09-02 10:32 jordi
  22779. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  22780. pool for pens, brushes, and hatchbruses
  22781. 2004-09-01 15:30 jackson
  22782. * StatusBar.cs: Fix typo
  22783. 2004-09-01 14:44 pbartok
  22784. * RadioButton.cs:
  22785. - Fixed state
  22786. 2004-09-01 14:39 pbartok
  22787. * Button.cs, RadioButton.cs:
  22788. - Functional initial check-in
  22789. 2004-09-01 14:01 pbartok
  22790. * CheckBox.cs:
  22791. - Added missing default
  22792. - Added missing region mark
  22793. 2004-09-01 09:10 jordi
  22794. * Label.cs: fixes method signatures, new methods, events, fixes
  22795. autosize
  22796. 2004-09-01 07:19 jordi
  22797. * Control.cs: Init string variables with an empty object
  22798. 2004-09-01 04:20 jordi
  22799. * Control.cs: fires OnFontChanged event
  22800. 2004-08-31 20:07 pbartok
  22801. * ButtonBase.cs:
  22802. - Enabled display of strings
  22803. 2004-08-31 20:05 pbartok
  22804. * Form.cs:
  22805. - Added (partial) implementation of DialogResult; rest needs to be
  22806. implemented when the modal loop code is done
  22807. 2004-08-31 19:55 pbartok
  22808. * CheckBox.cs:
  22809. - Fixed to match the removal of the needs_redraw concept
  22810. 2004-08-31 19:55 pbartok
  22811. * ButtonBase.cs:
  22812. - Removed the rather odd split between 'needs redraw' and redrawing
  22813. - Now handles the events that require regeneration (ambient
  22814. properties and size)
  22815. 2004-08-31 19:41 pbartok
  22816. * Control.cs:
  22817. - Added firing of BackColorChanged event
  22818. - Added TopLevelControl property
  22819. - Fixed handling of WM_ERASEBKGRND message
  22820. 2004-08-31 12:49 pbartok
  22821. * ButtonBase.cs:
  22822. - Removed debug
  22823. - Minor fixes
  22824. 2004-08-31 12:48 pbartok
  22825. * CheckBox.cs:
  22826. - Finished (famous last words)
  22827. 2004-08-31 04:35 jordi
  22828. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  22829. scrolling bugs, adds new methods
  22830. 2004-08-30 14:42 pbartok
  22831. * CheckBox.cs:
  22832. - Implemented CheckBox drawing code
  22833. 2004-08-30 14:42 pbartok
  22834. * ButtonBase.cs:
  22835. - Made Redraw() and CheckRedraw() virtual
  22836. - Improved mouse up/down/move logic to properly track buttons
  22837. 2004-08-30 09:44 pbartok
  22838. * CheckBox.cs:
  22839. - Updated to fix broken build. Not complete yet.
  22840. 2004-08-30 09:28 pbartok
  22841. * CheckState.cs:
  22842. - Initial checkin
  22843. 2004-08-30 09:17 pbartok
  22844. * Appearance.cs:
  22845. - Initial check-in
  22846. 2004-08-27 16:12 ravindra
  22847. * ToolBarButton.cs: Added TypeConverter attribute.
  22848. 2004-08-27 16:07 ravindra
  22849. * ImageIndexConverter.cs: Implemented.
  22850. 2004-08-27 14:17 pbartok
  22851. * Control.cs:
  22852. - Removed unneeded stack vars
  22853. - First attempt to fix sizing issues when layout is suspended
  22854. 2004-08-25 15:35 jordi
  22855. * ScrollBar.cs: more fixes to scrollbar
  22856. 2004-08-25 14:04 ravindra
  22857. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  22858. Added the missing divider code and grip for ToolBar Control.
  22859. 2004-08-25 13:20 pbartok
  22860. * Control.cs:
  22861. - Control now properly passes the ambient background color to child
  22862. controls
  22863. 2004-08-25 13:20 jordi
  22864. * ScrollBar.cs: small bug fix regarding bar position
  22865. 2004-08-25 12:33 pbartok
  22866. * Timer.cs:
  22867. - Now only calls SetTimer or KillTimer if the enabled state has
  22868. changed
  22869. 2004-08-25 12:33 pbartok
  22870. * XplatUIWin32.cs:
  22871. - Fixed timer handling, now seems to work
  22872. - Improved error message for window creation
  22873. 2004-08-25 12:32 pbartok
  22874. * Control.cs:
  22875. - Fixed generation of MouseUp message
  22876. 2004-08-25 12:29 jordi
  22877. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  22878. and fixes for progressbar
  22879. 2004-08-24 18:43 ravindra
  22880. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  22881. in ToolBar control.
  22882. 2004-08-24 17:15 pbartok
  22883. * Panel.cs:
  22884. - Added #region
  22885. - Added missing events
  22886. - Alphabetized
  22887. 2004-08-24 17:14 pbartok
  22888. * StatusBar.cs, PictureBox.cs:
  22889. - Now uses Control's CreateParams
  22890. 2004-08-24 16:36 pbartok
  22891. * XplatUIX11.cs:
  22892. - Fixed background color handling
  22893. - Fixed sending of enter/leave events on a grab
  22894. 2004-08-24 16:35 pbartok
  22895. * X11Structs.cs:
  22896. - Refined definitions for CrossingEvent
  22897. 2004-08-24 12:37 jordi
  22898. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  22899. formmating, methods signature, and adds missing events
  22900. 2004-08-24 12:24 jordi
  22901. * Control.cs: fire OnEnabledChanged event
  22902. 2004-08-24 11:17 pbartok
  22903. * XplatUIWin32.cs:
  22904. - Implemented SetTimer() and KillTimer()
  22905. 2004-08-24 11:16 pbartok
  22906. * XplatUIX11.cs:
  22907. - Now uses Remove instead of Add to kill the timer
  22908. 2004-08-24 10:16 jackson
  22909. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  22910. picture boxes in the theme now. Draw picture box borders and obey
  22911. sizing modes
  22912. 2004-08-24 05:49 jackson
  22913. * Timer.cs: Remove top secret debugging code
  22914. 2004-08-24 05:34 jackson
  22915. * PictureBox.cs: Temp hack to make picture boxes draw their full
  22916. image
  22917. 2004-08-24 05:29 jackson
  22918. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  22919. XplatUIX11.cs: Move timers to the driver level. On X they are
  22920. queued by the driver and checked on idle.
  22921. 2004-08-24 01:07 jackson
  22922. * XplatUIX11.cs: Use a queue for async messages instead of passing
  22923. them as ClientMessages since that was totally broken. Also simply
  22924. check for events and return an idle message if none are found. This
  22925. gives us an idle handler, and prevents deadlocking when no messages
  22926. are in the queue.
  22927. 2004-08-23 18:19 ravindra
  22928. * XplatUIWin32.cs: Removed the unwanted destructor.
  22929. 2004-08-23 17:27 pbartok
  22930. * ButtonBase.cs:
  22931. - Finishing touches. Works now, just needs some optimizations.
  22932. 2004-08-23 16:53 jordi
  22933. * ScrollBar.cs: small fix
  22934. 2004-08-23 16:45 pbartok
  22935. * Application.cs:
  22936. - Removed debug output
  22937. - Simplifications
  22938. 2004-08-23 16:43 jordi
  22939. * ScrollBar.cs: [no log message]
  22940. 2004-08-23 16:10 pbartok
  22941. * Form.cs:
  22942. - Fixed handling of WM_CLOSE message
  22943. - Removed debug output
  22944. 2004-08-23 16:09 pbartok
  22945. * Application.cs:
  22946. - Added handling of Idle event
  22947. - Added handling of form closing
  22948. - Fixed reporting of MessageLoop property
  22949. - Removed some unneeded code, should provide a bit of a speedup
  22950. 2004-08-23 15:22 pbartok
  22951. * Control.cs:
  22952. - Added InitLayout() method
  22953. - Added code to properly perform layout when Anchor or Dock property
  22954. is changed
  22955. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  22956. LAMESPEC, tried to do it in a way that makes sense
  22957. 2004-08-23 14:10 jordi
  22958. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  22959. properties and methods
  22960. 2004-08-23 13:55 pbartok
  22961. * Control.cs:
  22962. - Properly fixed Jordi's last fix
  22963. - Now uses Cursor's Position property instead of calling XplatUI
  22964. directly
  22965. 2004-08-23 13:44 jordi
  22966. * PaintEventHandler.cs: Adding missing attribute
  22967. 2004-08-23 13:39 pbartok
  22968. * Cursor.cs:
  22969. - Implemented Position property
  22970. 2004-08-23 13:39 pbartok
  22971. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  22972. - Added method to move mouse cursor
  22973. 2004-08-23 13:39 pbartok
  22974. * XplatUIX11.cs:
  22975. - Fixed setting of background color
  22976. - Added method to move mouse cursor
  22977. 2004-08-23 13:16 jordi
  22978. * Control.cs: avoids null exception
  22979. 2004-08-22 17:46 jackson
  22980. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  22981. PictureBox
  22982. 2004-08-22 17:40 jackson
  22983. * XplatUIX11.cs: Add some missing locks
  22984. 2004-08-22 15:10 pbartok
  22985. * Control.cs, Form.cs:
  22986. - Removed OverlappedWindow style from Control, instead it's default
  22987. now is child
  22988. - Made form windows OverlappedWindow by default
  22989. 2004-08-22 13:34 jackson
  22990. * ScrollBar.cs: Update the position through the Value property so
  22991. the OnValueChanged event is raised.
  22992. 2004-08-22 12:04 pbartok
  22993. * SWF.csproj:
  22994. - Added Cursor.cs and UserControl.cs
  22995. 2004-08-22 12:03 pbartok
  22996. * Cursor.cs:
  22997. - Started implementation, not usable yet
  22998. 2004-08-22 12:00 pbartok
  22999. * UserControl.cs:
  23000. - Implemented UserControl (complete)
  23001. 2004-08-21 19:20 ravindra
  23002. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  23003. 2004-08-21 18:49 ravindra
  23004. * ToolBar.cs: Probably this completes the missing attributes in
  23005. toolbar control.
  23006. 2004-08-21 18:03 ravindra
  23007. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  23008. Fixed toolbar control signatures.
  23009. 2004-08-21 16:32 pbartok
  23010. * LinkLabel.cs:
  23011. - Signature Fixes
  23012. 2004-08-21 16:30 pbartok
  23013. * Label.cs:
  23014. - Signature fixes
  23015. 2004-08-21 16:19 pbartok
  23016. * Control.cs, Label.cs:
  23017. - Signature fixes
  23018. 2004-08-21 15:57 pbartok
  23019. * ButtonBase.cs:
  23020. - Added loads of debug output for development
  23021. - Fixed typo in method name
  23022. 2004-08-21 15:52 pbartok
  23023. * ToolBarButtonClickEventArgs.cs:
  23024. - Added missing base class
  23025. 2004-08-21 14:53 pbartok
  23026. * Control.cs:
  23027. - Updated to match new GrabWindow signature
  23028. 2004-08-21 14:51 pbartok
  23029. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23030. - Added method to get default display size
  23031. 2004-08-21 14:23 pbartok
  23032. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23033. - Added method to query current grab state
  23034. - Added argument to allow confining a grab to a window
  23035. 2004-08-21 14:22 pbartok
  23036. * Keys.cs:
  23037. - Added [Flags] attribute so that modifiers can be used in bitwise
  23038. ops
  23039. 2004-08-21 14:21 pbartok
  23040. * TrackBar.cs, ScrollBar.cs:
  23041. - Replaced direct XplatUI calls with their Control counterpart
  23042. 2004-08-21 13:32 pbartok
  23043. * Control.cs:
  23044. - Implemented Created property
  23045. 2004-08-21 13:28 pbartok
  23046. * Control.cs:
  23047. - Implemented ContainsFocus
  23048. 2004-08-21 13:26 pbartok
  23049. * Control.cs:
  23050. - Implemented CausesValidation
  23051. 2004-08-21 13:21 pbartok
  23052. * Control.cs:
  23053. - Implemented CanFocus
  23054. - Implemented CanSelect
  23055. - Implemented Capture
  23056. 2004-08-21 12:35 pbartok
  23057. * XplatUIWin32.cs:
  23058. - Fixed bug with Async message handling
  23059. - Implemented getting the ModifierKeys
  23060. 2004-08-21 12:32 jackson
  23061. * AsyncMethodResult.cs: Make sure we have the mutex before we
  23062. release it. Fixes BeginInvoke on windows
  23063. 2004-08-21 11:31 pbartok
  23064. * XplatUIWin32.cs, XplatUIX11.cs:
  23065. - Drivers now return proper mouse state
  23066. 2004-08-21 10:54 jackson
  23067. * Control.cs: Implement EndInvoke
  23068. 2004-08-21 10:48 jackson
  23069. * Timer.cs: Remove unneeded finalizer
  23070. 2004-08-20 19:52 ravindra
  23071. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  23072. in mouse event handling in the ToolBar control.
  23073. 2004-08-20 19:50 ravindra
  23074. * ImageList.cs: Changed draw method to use the arguments passed in
  23075. to draw the image.
  23076. 2004-08-20 18:58 pbartok
  23077. * XplatUIStructs.cs:
  23078. - Added private message for async communication
  23079. 2004-08-20 17:38 ravindra
  23080. * Control.cs: Made RightToLeft property virtual and removed a
  23081. Console.WriteLine.
  23082. 2004-08-20 14:39 jordi
  23083. * ThemeGtk.cs: use style_attach
  23084. 2004-08-20 14:39 pbartok
  23085. * XplatUIWin32.cs:
  23086. - Added jackson's Async code from X11 to Win32
  23087. 2004-08-20 14:09 pbartok
  23088. * SWF.csproj:
  23089. - Added all new files
  23090. 2004-08-20 14:09 pbartok
  23091. * Control.cs:
  23092. - Added call to set window background color
  23093. 2004-08-20 14:03 pbartok
  23094. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  23095. - Added method for setting the window background
  23096. 2004-08-20 14:02 pbartok
  23097. * XplatUIWin32.cs:
  23098. - Added method for setting the background color
  23099. - Added handling for erasing the window background
  23100. 2004-08-20 13:45 jordi
  23101. * TrackBar.cs: fixes timer, new properties and methods
  23102. 2004-08-20 13:34 jackson
  23103. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  23104. correct thread
  23105. 2004-08-20 13:22 jackson
  23106. * Timer.cs: Timer Tick events are now handed through Controls Async
  23107. mechanism so the callbacks are executed in the same thread as X
  23108. 2004-08-20 13:19 jackson
  23109. * XplatUIDriver.cs: Expose functionality to send async messages
  23110. through the driver
  23111. 2004-08-20 13:18 jackson
  23112. * Control.cs: Implement Begininvoke
  23113. 2004-08-20 13:14 jackson
  23114. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  23115. messages through the driver
  23116. 2004-08-20 13:12 jackson
  23117. * XplatUIX11.cs: Lock before all X operations. Also added Async
  23118. method functionality through XSendEvent
  23119. 2004-08-20 13:11 jackson
  23120. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  23121. This will screw up on 64 bit systems)
  23122. 2004-08-20 13:10 jackson
  23123. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  23124. Async messages through X/Win32
  23125. 2004-08-19 19:39 pbartok
  23126. * XplatUIX11.cs:
  23127. - Updated code to match new HandleData.DeviceContext type
  23128. 2004-08-19 19:38 pbartok
  23129. * HandleData.cs:
  23130. - Made DeviceContext a generic object to allow usage from various
  23131. drivers
  23132. - Added support for queueing Windows messages
  23133. 2004-08-19 19:37 pbartok
  23134. * XplatUIWin32.cs:
  23135. - Added generation of MouseEnter, MouseLeave and MouseHover events
  23136. - Added cleanup on EndPaint
  23137. 2004-08-19 19:17 pbartok
  23138. * Control.cs:
  23139. - Added handling of WM_MOUSEHOVER
  23140. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  23141. code
  23142. 2004-08-19 18:55 jordi
  23143. * ThemeGtk.cs: fixes button order
  23144. 2004-08-19 18:12 jordi
  23145. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  23146. 2004-08-19 17:09 pbartok
  23147. * Control.cs:
  23148. - Added Right property
  23149. - Added RightToLeft property
  23150. 2004-08-19 16:27 jordi
  23151. * ThemeGtk.cs: experimental GTK theme support
  23152. 2004-08-19 16:26 jordi
  23153. * ITheme.cs, Theme.cs: move themes from an interface to a class
  23154. 2004-08-19 16:25 jordi
  23155. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  23156. theme enhancaments
  23157. 2004-08-19 16:04 pbartok
  23158. * XplatUIX11.cs:
  23159. - Added colormap basics
  23160. - Added a way to re-initialize with a different display handle
  23161. - Fixed setting of the window background color
  23162. - Added various X11 imports related to colors and colormaps
  23163. 2004-08-19 15:51 pbartok
  23164. * X11Structs.cs:
  23165. - Removed packing hints (Paolo suggested this a while back)
  23166. - fixed colormap type
  23167. - Added default Atom types
  23168. - Added Screen and color structs and enums
  23169. 2004-08-19 15:39 pbartok
  23170. * ImageList.cs:
  23171. - Added missing Draw() method
  23172. - Added missing RecreateHandle event
  23173. 2004-08-19 15:30 pbartok
  23174. * Form.cs:
  23175. - Added handling of WM_CLOSE
  23176. 2004-08-18 13:16 jordi
  23177. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  23178. a table
  23179. 2004-08-18 09:56 jordi
  23180. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  23181. 2004-08-17 15:31 ravindra
  23182. * SWF.csproj: Updated project.
  23183. 2004-08-17 15:25 pbartok
  23184. * Control.cs:
  23185. - Drawing improvement; don't call UpdateBounds if we are not visible
  23186. (or have been minimized)
  23187. 2004-08-17 15:24 pbartok
  23188. * XplatUIWin32.cs:
  23189. - Finished IsVisible
  23190. - Added Win32GetWindowPlacement
  23191. 2004-08-17 15:08 jackson
  23192. * Panel.cs: Initial checkin of the Panel
  23193. 2004-08-17 14:25 pbartok
  23194. * Control.cs:
  23195. - Fixed broken handling of default window sizes
  23196. 2004-08-17 13:29 jackson
  23197. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  23198. has a large startup time.
  23199. 2004-08-17 10:25 jackson
  23200. * HandleData.cs: union areas properly
  23201. 2004-08-17 10:12 jackson
  23202. * HandleData.cs: union areas properly
  23203. 2004-08-16 20:00 ravindra
  23204. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  23205. 2004-08-16 18:48 ravindra
  23206. * ToolBar.cs: Added attributes.
  23207. 2004-08-16 17:17 ravindra
  23208. * SWF.csproj: Updated project.
  23209. 2004-08-16 17:16 jackson
  23210. * XplatUIX11.cs: Check for more expose events before sending a
  23211. WM_PAINT so they can all be grouped together. This makes dragging a
  23212. window across another window redraw in a sane way.
  23213. 2004-08-16 15:47 pbartok
  23214. * Control.cs:
  23215. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  23216. support OnMouseEnter/Leave()
  23217. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  23218. exposure handling
  23219. 2004-08-16 15:46 pbartok
  23220. * XplatUIStructs.cs, XplatUIX11.cs:
  23221. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  23222. OnMouseEnter/Leave()
  23223. 2004-08-16 15:34 jackson
  23224. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  23225. sure messages get the message field set to WM_NULL if they are not
  23226. handled.
  23227. 2004-08-16 15:24 jackson
  23228. * HandleData.cs: HandleData is used for storing message information
  23229. for window handles
  23230. 2004-08-15 17:23 ravindra
  23231. * ColorDepth.cs: Added attribute.
  23232. 2004-08-15 17:23 ravindra
  23233. * SWF.csproj: Updated project for ToolBar Control.
  23234. 2004-08-15 17:20 ravindra
  23235. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  23236. control and also dos2unix format.
  23237. 2004-08-15 17:13 ravindra
  23238. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  23239. ToolBarButtonClickEventArgs.cs,
  23240. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  23241. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  23242. 2004-08-15 15:31 pbartok
  23243. * ButtonBase.cs:
  23244. - First (mostly) working version
  23245. 2004-08-13 16:15 pbartok
  23246. * Control.cs:
  23247. - Fixed Anchor default
  23248. 2004-08-13 15:43 pbartok
  23249. * Control.cs:
  23250. - Changed GetCursorPos signature
  23251. 2004-08-13 15:42 pbartok
  23252. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23253. - Changed signature for GetCursorPos
  23254. 2004-08-13 15:25 pbartok
  23255. * XplatUIX11.cs:
  23256. - Cleanup
  23257. - Fixed resizing/exposure handling
  23258. 2004-08-13 15:22 jordi
  23259. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  23260. with tickposition
  23261. 2004-08-13 14:55 jordi
  23262. * TrackBar.cs: change from wndproc to events
  23263. 2004-08-13 13:00 jordi
  23264. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23265. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  23266. 2004-08-13 12:53 pbartok
  23267. * XplatUIWin32.cs:
  23268. - Changed GetWindowPos to also provide client area size
  23269. - Fixed broken prototypes for several win32 functions
  23270. 2004-08-13 12:53 pbartok
  23271. * XplatUI.cs, XplatUIDriver.cs:
  23272. - Changed GetWindowPos to also provide client area size
  23273. 2004-08-13 12:52 pbartok
  23274. * XplatUIX11.cs:
  23275. - Added generation of WM_POSCHANGED
  23276. - Changed GetWindowPos to also provide client area size
  23277. 2004-08-13 12:52 pbartok
  23278. * Control.cs:
  23279. - Added Dispose() and destructor
  23280. - Fixed resizing and bounds calculation
  23281. - Fixed Layout
  23282. - Added memory savings for invisible windows
  23283. 2004-08-13 12:46 jordi
  23284. * TrackBar.cs: adds timer and grap window
  23285. 2004-08-13 10:25 jackson
  23286. * Timer.cs: SWF Timer
  23287. 2004-08-12 16:59 pbartok
  23288. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23289. - Implemented method to get current mouse position
  23290. 2004-08-12 14:29 jordi
  23291. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  23292. enhancement, fix mouse problems, highli thumb, etc
  23293. 2004-08-12 13:31 pbartok
  23294. * Control.cs:
  23295. - Fixed Anchoring bugs
  23296. 2004-08-12 13:01 jackson
  23297. * StatusBar.cs: Don't forget things
  23298. 2004-08-12 12:54 jackson
  23299. * ThemeWin32Classic.cs: Handle owner draw status bars
  23300. 2004-08-12 12:54 jackson
  23301. * StatusBar.cs: Implement missing properties, events, and methods.
  23302. Handle mouse clicking
  23303. 2004-08-12 10:19 jackson
  23304. * StatusBarPanelClickEventArgs.cs,
  23305. StatusBarPanelClickEventHandler.cs: Classes for handling status
  23306. bar panel click events
  23307. 2004-08-12 10:10 jackson
  23308. * Control.cs: Add missing properties
  23309. 2004-08-12 09:46 pbartok
  23310. * BindingsManagerBase.cs:
  23311. - Name changed to BindingManagerBase.cs
  23312. 2004-08-12 09:25 jordi
  23313. * ScrollableControl.cs: calls ctrlbase instead of exeception
  23314. 2004-08-11 16:28 pbartok
  23315. * InputLanguageChangingEventArgs.cs:
  23316. - Never check in before compiling. Fixes the last check-in
  23317. 2004-08-11 16:26 pbartok
  23318. * InputLanguageChangingEventArgs.cs:
  23319. - More signature fixes
  23320. 2004-08-11 16:20 pbartok
  23321. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  23322. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  23323. ImageListStreamer.cs, InputLanguage.cs,
  23324. InputLanguageChangedEventArgs.cs,
  23325. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  23326. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  23327. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  23328. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23329. - Signature fixes
  23330. 2004-08-11 16:16 pbartok
  23331. * Application.cs:
  23332. - Fixed Signature
  23333. - Added .Net 1.1 method
  23334. 2004-08-11 15:25 pbartok
  23335. * SWF.csproj:
  23336. - Fixed BindingManagerBase.cs filename
  23337. 2004-08-11 15:22 pbartok
  23338. * BindingManagerBase.cs:
  23339. - Was checked in with wrong filename
  23340. 2004-08-11 14:50 pbartok
  23341. * SWF.csproj:
  23342. - Updated
  23343. 2004-08-11 13:41 jordi
  23344. * XplatUIWin32.cs: Fixes ClientRect
  23345. 2004-08-11 13:19 pbartok
  23346. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23347. XplatUIX11.cs:
  23348. - We had SetWindowPos and MoveWindow to set window positions and
  23349. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  23350. keep SetWindowPos as matching counterpart
  23351. - Added some X11 sanity checking
  23352. 2004-08-11 12:59 pbartok
  23353. * Control.cs:
  23354. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  23355. (It seems that SetBounds is just a front for SetBoundsCore and
  23356. SetBoundsCore updates the underlying window system and
  23357. UpdateBounds is responsible for updating the variables associated
  23358. with the Control and sending the events)
  23359. - Major cleanup of Size handling; we now have two sizes, client_size
  23360. and bounds. Bounds defines the window with decorations, client_size
  23361. without them.
  23362. 2004-08-11 12:55 pbartok
  23363. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23364. - Added method to calculate difference between decorated window and
  23365. raw client area
  23366. 2004-08-11 12:54 pbartok
  23367. * Label.cs:
  23368. - Forcing redraw on resize
  23369. 2004-08-11 11:43 pbartok
  23370. * ImageList.cs:
  23371. - Removed disposing of the actual images when the list is disposed
  23372. 2004-08-11 09:13 pbartok
  23373. * Control.cs:
  23374. - Now properly reparents windows
  23375. 2004-08-11 08:37 pbartok
  23376. * Control.cs:
  23377. - Duh!
  23378. 2004-08-11 07:47 pbartok
  23379. * Control.cs:
  23380. - Rewrote the collection stuff. Might not be as fast now, not
  23381. keeping the number of children around and accessible directly, but
  23382. it's more straightforward
  23383. 2004-08-11 07:44 pbartok
  23384. * AccessibleObject.cs:
  23385. - Fixed to match ControlCollection rewrite
  23386. 2004-08-11 07:43 pbartok
  23387. * ImageList.cs:
  23388. - Added missing creation of the collection list
  23389. 2004-08-10 20:08 jackson
  23390. * StatusBar.cs: Get the paint message from WndProc
  23391. 2004-08-10 19:31 jackson
  23392. * ThemeWin32Classic.cs: Create Brushes as little as possible
  23393. 2004-08-10 19:20 jackson
  23394. * UICues.cs: Add Flags attribute
  23395. 2004-08-10 19:19 jackson
  23396. * StatusBarPanel.cs: Signature cleanup
  23397. 2004-08-10 19:10 jackson
  23398. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  23399. Initial implementation of status bar item drawing
  23400. 2004-08-10 17:27 jordi
  23401. * TrackBar.cs: add missing methods, properties, and restructure to
  23402. hide extra ones
  23403. 2004-08-10 16:24 jackson
  23404. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  23405. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  23406. attribute
  23407. 2004-08-10 13:21 jordi
  23408. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  23409. enhancements and standarize on win colors defaults
  23410. 2004-08-10 12:52 jackson
  23411. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  23412. ThemeWin32Classic.cs: Implement DrawItem functionality
  23413. 2004-08-10 12:47 jordi
  23414. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  23415. 2004-08-10 12:32 jordi
  23416. * Control.cs: throw ontextchange event
  23417. 2004-08-10 11:43 pbartok
  23418. * Control.cs:
  23419. - Added more to the still unfinished Dock/Anchor layout code
  23420. 2004-08-10 11:39 pbartok
  23421. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  23422. - Added GetWindowPos method
  23423. 2004-08-10 11:36 pbartok
  23424. * XplatUIWin32.cs:
  23425. - Implemented several methods
  23426. 2004-08-10 09:47 jackson
  23427. * TrackBar.cs: Allow control to handle buffering
  23428. 2004-08-10 09:41 jackson
  23429. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  23430. 2004-08-10 09:24 jackson
  23431. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  23432. 2004-08-10 09:09 jackson
  23433. * StatusBar.cs: Let Control handle all the buffering.
  23434. 2004-08-10 09:08 jackson
  23435. * Control.cs: Control will now handle the buffering code, so each
  23436. control does not have to implement this.
  23437. 2004-08-10 08:34 jackson
  23438. * XplatUIDriver.cs: Use default colors from the theme
  23439. 2004-08-09 17:12 pbartok
  23440. * ImageList.cs:
  23441. - Fixed several bugs Ravindra pointed out
  23442. 2004-08-09 16:11 pbartok
  23443. * Control.cs:
  23444. - Added incomplete dock layout code
  23445. - Added support for mouse wheel
  23446. 2004-08-09 16:09 pbartok
  23447. * XplatUIX11.cs:
  23448. - Added handling for middle and right mousebutton
  23449. - Added handling for mouse wheel
  23450. - Added handling for key state and mouse state and position
  23451. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  23452. messages
  23453. 2004-08-09 15:40 jackson
  23454. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  23455. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  23456. checkin
  23457. 2004-08-09 15:37 jackson
  23458. * StatusBar.cs: Initial implementation of StatusBar
  23459. 2004-08-09 15:36 jackson
  23460. * ITheme.cs: Add support for drawing status bar and getting status
  23461. bar item sizes
  23462. 2004-08-09 15:35 pbartok
  23463. * MouseButtons.cs:
  23464. - Fixed values
  23465. 2004-08-09 15:34 jackson
  23466. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  23467. status bar item sizes
  23468. 2004-08-09 15:21 jackson
  23469. * ThemeWin32Classic.cs: Use known colors for default control
  23470. colours
  23471. 2004-08-09 15:12 jackson
  23472. * ThemeWin32Classic.cs: Make the default font static, it is static
  23473. in control so this doesn't change functionality and creating fonts
  23474. is sloooooow.
  23475. 2004-08-09 14:56 pbartok
  23476. * X11Structs.cs:
  23477. - Added GrabMode enum
  23478. 2004-08-09 14:55 pbartok
  23479. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23480. - Removed Run method, was only required for initial development
  23481. 2004-08-09 14:51 pbartok
  23482. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23483. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  23484. capture
  23485. 2004-08-09 13:48 pbartok
  23486. * XplatUIX11.cs:
  23487. - Fixed default sizing for child windows
  23488. 2004-08-09 12:56 pbartok
  23489. * XplatUIX11.cs:
  23490. - Added generation of WM_DESTROY message
  23491. - Added handling of window manager induced shutdown
  23492. 2004-08-09 11:31 jackson
  23493. * ThemeWin32Classic.cs: New names for control properties
  23494. 2004-08-09 11:25 jackson
  23495. * Control.cs: Use new color names
  23496. 2004-08-09 11:02 jackson
  23497. * XplatUI.cs: Get default window properties from the theme
  23498. 2004-08-09 11:01 jackson
  23499. * ITheme.cs: The theme engine now controls default window
  23500. properties
  23501. 2004-08-09 11:00 jackson
  23502. * ThemeWin32Classic.cs: Add default window color properties
  23503. 2004-08-09 10:17 jackson
  23504. * ThemeWin32Classic.cs: Use correct default back color
  23505. 2004-08-09 10:05 jackson
  23506. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  23507. the theme now.
  23508. 2004-08-09 09:56 jackson
  23509. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  23510. 2004-08-09 09:54 jackson
  23511. * Control.cs: Get default properties from the theme.
  23512. 2004-08-09 09:53 jackson
  23513. * ITheme.cs: Themes now handle default control properties
  23514. 2004-08-09 09:53 jackson
  23515. * ThemeWin32Classic.cs: Themes now handle default control
  23516. properties so coloring will be consistent
  23517. 2004-08-08 16:54 jordi
  23518. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  23519. 2004-08-08 15:08 jordi
  23520. * XplatUIX11.cs: fixes keyboard crash
  23521. 2004-08-08 13:47 jordi
  23522. * Label.cs: add cvs header info
  23523. 2004-08-08 12:09 jackson
  23524. * ThemeWin32Classic.cs: Add pen_buttonface
  23525. 2004-08-08 11:52 jordi
  23526. * Label.cs, LinkLabel.cs: [no log message]
  23527. 2004-08-08 11:34 jordi
  23528. * ThemeWin32Classic.cs: Use Windows Standard Colours
  23529. 2004-08-07 17:32 jordi
  23530. * TrackBar.cs: throw exceptions of invalid enums values
  23531. 2004-08-07 17:31 jordi
  23532. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  23533. draw method name
  23534. 2004-08-07 16:56 jackson
  23535. * HorizontalAlignment.cs: Initial checkin
  23536. 2004-08-07 13:16 jordi
  23537. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  23538. methods
  23539. 2004-08-07 13:05 jordi
  23540. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  23541. GetSysColor defines
  23542. 2004-08-06 18:01 pbartok
  23543. * ThemeWin32Classic.cs:
  23544. - Fixed some rounding issues with float/int
  23545. 2004-08-06 18:00 jackson
  23546. * DockStyle.cs, AnchorStyles.cs:
  23547. Add flags and serializable attributes.
  23548. 2004-08-06 17:46 pbartok
  23549. * XplatUIX11.cs:
  23550. - Implemented GetParent
  23551. 2004-08-06 17:18 pbartok
  23552. * TrackBar.cs:
  23553. - Fixed some rounding issues with float/int
  23554. 2004-08-06 17:17 pbartok
  23555. * X11Structs.cs, XplatUIX11.cs:
  23556. - Fixed Refresh and Invalidate
  23557. 2004-08-06 15:30 pbartok
  23558. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  23559. - Fixed recursive loop when resizing
  23560. - Improved/fixed redrawing on expose messages
  23561. 2004-08-06 09:53 jordi
  23562. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  23563. keyboard navigation
  23564. 2004-08-06 08:02 pbartok
  23565. * X11Structs.cs, XplatUIX11.cs:
  23566. - Fixed reparenting
  23567. - Fixed window border creation
  23568. 2004-08-05 15:38 pbartok
  23569. * XplatUIX11.cs:
  23570. - Attempted fix for reparenting problems
  23571. 2004-08-04 15:14 pbartok
  23572. * Control.cs:
  23573. - Fixed Invalidation bug (calculated wrong client area)
  23574. - Added ClientSize setter
  23575. 2004-08-04 15:13 pbartok
  23576. * Form.cs:
  23577. - Added AutoScale properties
  23578. 2004-08-04 15:13 pbartok
  23579. * SWF.csproj:
  23580. - Added latest files
  23581. 2004-08-04 14:11 pbartok
  23582. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23583. XplatUIX11.cs:
  23584. - Added Invalidate handling
  23585. 2004-08-03 17:09 jordi
  23586. * XplatUIDriver.cs: fixes spelling mistake
  23587. 2004-07-27 09:53 jordi
  23588. * TrackBar.cs: fixes trackbar events, def classname, methods
  23589. signature
  23590. 2004-07-27 09:29 jordi
  23591. * ScrollBar.cs: fixes scrollbar events
  23592. 2004-07-27 04:38 jordi
  23593. * Control.cs: changes to be able to run winforms samples
  23594. 2004-07-26 11:42 jordi
  23595. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  23596. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  23597. 2004-07-26 05:41 jordi
  23598. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  23599. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  23600. implementation
  23601. 2004-07-22 09:22 jordi
  23602. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  23603. check link overlapping, implement events, and fixes
  23604. 2004-07-21 10:28 jordi
  23605. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  23606. 2004-07-21 10:19 jordi
  23607. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  23608. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  23609. LinkLabelLinkClickedEventArgs.cs,
  23610. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  23611. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  23612. implementation
  23613. 2004-07-19 13:09 jordi
  23614. * Control.cs, Label.cs: label control re-written: added missing
  23615. functionlity, events, and properties
  23616. 2004-07-19 10:49 jordi
  23617. * Control.cs: fixes SetBounds logic
  23618. 2004-07-19 01:29 jordi
  23619. * Control.cs: Call RefreshWindow only if the window has created
  23620. 2004-07-15 14:05 pbartok
  23621. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  23622. - Implemented ImageList and ImageList.ImageCollection classes
  23623. - Added ColorDepth enumeration
  23624. - Updated SWF VS.Net project
  23625. 2004-07-15 11:06 jordi
  23626. * XplatUIStructs.cs: added MsgButons enum
  23627. 2004-07-15 11:03 jordi
  23628. * Control.cs: added basic mouse handeling events
  23629. 2004-07-15 03:38 jordi
  23630. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  23631. Vertical TrackBar control implementation
  23632. 2004-07-13 09:33 jordi
  23633. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  23634. 2004-07-13 09:31 jordi
  23635. * Control.cs, Form.cs: commit: new properties and fixes form size
  23636. problems
  23637. 2004-07-09 14:13 miguel
  23638. * ProgressBar.cs: Spelling
  23639. 2004-07-09 11:25 pbartok
  23640. * ProgressBar.cs:
  23641. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  23642. faster
  23643. 2004-07-09 11:17 miguel
  23644. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  23645. * ProgressBar.cs: Fixed spelling for `block'
  23646. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  23647. style guidelines.
  23648. Avoid using the += on rect.X, that exposed a bug in the compiler.
  23649. 2004-07-08 23:21 pbartok
  23650. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  23651. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  23652. BaseCollection.cs, Binding.cs, BindingContext.cs,
  23653. BindingMemberInfo.cs, BindingsCollection.cs,
  23654. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  23655. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  23656. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  23657. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  23658. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  23659. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  23660. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  23661. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  23662. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  23663. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  23664. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  23665. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  23666. InputLanguageChangedEventArgs.cs,
  23667. InputLanguageChangedEventHandler.cs,
  23668. InputLanguageChangingEventArgs.cs,
  23669. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  23670. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  23671. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  23672. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  23673. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  23674. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  23675. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  23676. QueryAccessibilityHelpEventArgs.cs,
  23677. QueryAccessibilityHelpEventHandler.cs,
  23678. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  23679. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  23680. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  23681. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  23682. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  23683. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  23684. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  23685. XplatUIX11.cs, lang.cs:
  23686. - Initial check-in