ChangeLog 1.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900
  1. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  2. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  3. or middle ones.
  4. Fixes part of #393908.
  5. 2008-05-28 Jonathan Pobst <[email protected]>
  6. * ToolStripDrowDown.cs: When using the Show () methods that have a
  7. Control parameter, set the menu owner to that Control.
  8. [Fixes bug #394345]
  9. 2008-05-28 Ivan N. Zlatev <[email protected]>
  10. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  11. [Fixes bug #362756]
  12. 2008-05-27 Ivan N. Zlatev <[email protected]>
  13. * GridItemCollection.cs: Refactor to support multiple items with the
  14. same name.
  15. [Fixes bug #394314]
  16. 2008-05-27 Jonathan Pobst <[email protected]>
  17. * Control.cs: The 2.0 check for illegal cross thread calls in
  18. Control.Handle were throwing an exception when we were getting
  19. the Handle in order to invoke correctly. Created a private
  20. version that does not contain this check.
  21. [Fixes bug #394531]
  22. 2008-05-27 Ivan N. Zlatev <[email protected]>
  23. * PropertyGrid.cs: Respect DefaultTabType.
  24. 2008-05-27 Ivan N. Zlatev <[email protected]>
  25. * ListView.cs: SPACE selects an item.
  26. [Fixes bug #393023]
  27. 2008-05-27 Ivan N. Zlatev <[email protected]>
  28. * ListView.cs: Reset the search string whenever the items are
  29. modified.
  30. [Fixes bug #393020]
  31. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  32. * ListControl.cs: For the first added item PositionChanged is fired
  33. _before_ ItemChanged, which leave us in a temporary invalid state - so
  34. we need to set the selected index from ItemChanged handler *if* we
  35. know that the first item has just been added *and* the items have been
  36. actually added to the ListControl.
  37. Fixes #369048.
  38. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  39. * TabControl.cs: Only clicks with the left button should be
  40. handled.
  41. Fixes #393908.
  42. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  43. * ComboBox.cs:
  44. * FIleDialog.cs:
  45. * TextBox.cs: Expose an internal method in TextBox to restore the
  46. original context menu, and call it from ComboBox to re-use it in the
  47. combobox containing the file name in FileDialog.cs.
  48. Fixes part of #393775.
  49. 2008-05-24 George Giolfan <[email protected]>
  50. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  51. style.
  52. 2008-05-24 George Giolfan <[email protected]>
  53. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  54. down button style.
  55. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  56. * ComboBox.cs: Minor correction to previous patch: PageDown should
  57. also *try* to move by one item if the computed offset is negative,
  58. just like the PageUp case.
  59. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  60. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  61. should be done for at least 1 item, and not stay at the same item.
  62. Fixes part of #374713.
  63. 2008-05-23 Jonathan Pobst <[email protected]>
  64. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  65. directories. [Fixes bug #393931]
  66. 2008-05-22 Andreia Gaita <[email protected]>
  67. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  68. Don't fire events until the initial about:blank page has finished
  69. loading. Clean up events.
  70. 2008-05-22 Atsushi Enomoto <[email protected]>
  71. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  72. FocusIn() too. This should fix the issue on switching
  73. scim keyboards.
  74. 2008-05-22 Atsushi Enomoto <[email protected]>
  75. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  76. number (ideally the input textbox size, but that could be
  77. too messy).
  78. 2008-05-22 Jonathan Pobst <[email protected]>
  79. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  80. the ToolStripItem's TextChanged. [Fixes bug #393597]
  81. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  82. * TabControl.cs: When invalidating in SelectedIndex and we need to
  83. inflate to take into account the border of the tabs, make sure that
  84. the invalidated rect doesn't overflow the control bounds, since that
  85. would avoid updating at all.
  86. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  87. * TabControl.cs: Don't substract scroller width from the row width,
  88. since we need to take into account the total width of the control when
  89. calculating the position of the tabs. This avoids showing scroller
  90. when it is actually not needed.
  91. Fixes part of #322325.
  92. 2008-05-21 George Giolfan <[email protected]>
  93. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  94. 2008-05-21 George Giolfan <[email protected]>
  95. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  96. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  97. 2008-05-21 Jonathan Pobst <[email protected]>
  98. * DataGridView.cs: Only paint the top left header cell if there
  99. are columns.
  100. 2008-05-21 Jonathan Pobst <[email protected]>
  101. * DataGridView.cs: When binding to a BindingSource, get the underlying
  102. list to bind to. [Fixes bug #345483]
  103. 2008-05-21 Jonathan Pobst <[email protected]>
  104. * DataGridView.cs: Do not bind to collection properties.
  105. [Fixes bug #337470]
  106. 2008-05-21 George Giolfan <[email protected]>
  107. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  108. 2008-05-21 George Giolfan <[email protected]>
  109. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  110. thumb style.
  111. 2008-05-21 George Giolfan <[email protected]>
  112. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  113. 2008-05-21 George Giolfan <[email protected]>
  114. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  115. background.
  116. 2008-05-21 George Giolfan <[email protected]>
  117. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  118. 2008-05-21 George Giolfan <[email protected]>
  119. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  120. checked styles.
  121. 2008-05-21 George Giolfan <[email protected]>
  122. * TabControl.cs: Extended to handle the hot style.
  123. 2008-05-21 George Giolfan <[email protected]>
  124. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  125. Extended UpDownBase code to handle hot and disabled styles.
  126. 2008-05-20 Jonathan Pobst <[email protected]>
  127. * DataGridView.cs: Handle databinding to generic list type things.
  128. [Fixes bug #325239]
  129. 2008-05-20 Jonathan Pobst <[email protected]>
  130. * DataGridViewCellCollection.cs: Add a method to find the cell
  131. with the given DataPropertyName.
  132. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  133. * DataGridViewColumnCollection.cs: Add a method to clear all
  134. autogenerated columns.
  135. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  136. columns.
  137. [Fixes bug #348082]
  138. 2008-05-20 Jonathan Pobst <[email protected]>
  139. * DataGridView.cs: Don't try to update the RowTemplate with
  140. a null CellTemplate.
  141. 2008-05-20 Jonathan Pobst <[email protected]>
  142. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  143. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  144. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  145. a DataSet.
  146. 2008-05-20 Jonathan Pobst <[email protected]>
  147. * Control.cs: Remove invalidating implicit child controls when
  148. control is invalidated. It was causing too many redraws on
  149. controls with implicit scrollbars.
  150. * ListView.cs: Listen to the Invalidated event and invalidate
  151. child controls.
  152. 2008-05-20 Andreia Gaita <[email protected]>
  153. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  154. * HtmlDocument.cs: Check for nulls
  155. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  156. * Control.cs: In ControlCollection.RemoveInternal, remove the
  157. internal control before calling PerformLayout and OnControlRemoved,
  158. which was leaving us in an invalid state and causing a X error (bad
  159. match). Observe that Remove () call has the same order.
  160. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  161. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  162. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  163. being fired if ControlStyles.UserPaint style is activated.
  164. Fixes #371905.
  165. 2008-05-19 Ivan N. Zlatev <[email protected]>
  166. * GridEntry.cs: Don't be so strict when setting the value -
  167. do not check if what we set is what we get.
  168. [Fixes bug #389245]
  169. 2008-05-19 Ivan N. Zlatev <[email protected]>
  170. * XplatUIX11.cs: If there are no timers timeout should be 0
  171. [Fixes bug #363522]
  172. 2008-05-19 Jonathan Pobst <[email protected]>
  173. * Control.cs: As a followup to invalidating implicit children when
  174. a control is invalidated, only invalidate them if they are in the
  175. clip rectangle.
  176. 2008-05-19 George Giolfan <[email protected]>
  177. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  178. 2008-05-19 George Giolfan <[email protected]>
  179. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  180. 2008-05-19 George Giolfan <[email protected]>
  181. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  182. * XplatUIWin32.cs: Made Win32DeleteObject public.
  183. 2008-05-19 Ivan N. Zlatev <[email protected]>
  184. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  185. PropertyDescriptor.ShouldSerializeValue.
  186. [Fixes bug #391924]
  187. 2008-05-19 George Giolfan <[email protected]>
  188. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  189. in the classic theme.
  190. 2008-05-19 George Giolfan <[email protected]>
  191. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  192. ThumbPressed.
  193. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  194. ScrollBarHasPressedThumbStyle.
  195. 2008-05-19 George Giolfan <[email protected]>
  196. * TextRenderer.cs: Included some methods in the 1.1 profile.
  197. 2008-05-19 Jonathan Pobst <[email protected]>
  198. * Control.cs: When we make a control visible, it may have been
  199. previously visible and while it wasn't visible, the z-order of
  200. things may have been shuffled, so the control needs to have its
  201. z-order updated just in case. [Fixes bug #391518]
  202. 2008-05-19 George Giolfan <[email protected]>
  203. * ThemeVisualStyles.cs: Added support for GroupBox.
  204. 2008-05-19 George Giolfan <[email protected]>
  205. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  206. 2008-05-16 Atsushi Enomoto <[email protected]>
  207. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  208. bug #389996; XSelectInput() behaved as mouse handler robber,
  209. so remove extra call to it.
  210. 2008-05-15 Jonathan Pobst <[email protected]>
  211. * Control.cs: Simplify ControlCollection.Contains method.
  212. 2008-05-15 Jonathan Pobst <[email protected]>
  213. * DataGridViewRow.cs: Implement GetPreferredSize.
  214. 2008-05-15 Jonathan Pobst <[email protected]>
  215. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  216. 2008-05-15 Jonathan Pobst <[email protected]>
  217. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  218. painting and edit control fixes.
  219. 2008-05-14 Jonathan Pobst <[email protected]>
  220. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  221. checks to make sure we are in an actual row/col for top left header cell.
  222. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  223. 2008-05-14 Jonathan Pobst <[email protected]>
  224. * Control.cs: Use long instead of int when handling WParam from
  225. mousewheel scrolling. Int was overflowing on Win64.
  226. 2008-05-14 Jonathan Pobst <[email protected]>
  227. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  228. flow panel without scrolling first, and then calculate the
  229. scrolling based on the new layout. [Fixes bug #390149]
  230. 2008-05-14 Jonathan Pobst <[email protected]>
  231. * ListBox.cs: Invalidate after scrolling up when selected index
  232. changes. [Fixes bug #390151]
  233. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  234. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  235. set, default height to 150. I tried first with DefaultSize, but this
  236. is not generating a SetBoundsCore call before handle creation time, so
  237. we can take it into account. This is just what .net does.
  238. 2008-05-13 Jonathan Pobst <[email protected]>
  239. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  240. as it broke some stuff. Calberto is filing a bug for eno to
  241. work with.
  242. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  243. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  244. to 0 is the current value is -1, and if style is not Simple, just
  245. return, like .net does.
  246. Fixes part of #374713.
  247. 2008-05-13 Jonathan Pobst <[email protected]>
  248. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  249. progress bar stuffs, use doubles instead of ints to prevent
  250. overflow. [Fixes bug #389798]
  251. 2008-05-13 Atsushi Enomoto <[email protected]>
  252. * XplatUIX11.cs, X11Keyboard.cs :
  253. Significant refactoring on XIM support. Now IM engine UI
  254. should show up, at mostly-correct preedit position.
  255. - Eliminated use of FocusWindow, as it is never mapped
  256. and hence blocks correct preedit position. XIC is now
  257. created per window, and it must be destroyed too when
  258. the window is destroyed.
  259. - WM_QUIT messages should not be filtered even when hwnd
  260. is zombie. Filtering it could cause endless loop.
  261. - Preedit position must move only when the window is alive.
  262. - Make it IDisposable and make sure to release XIM/XICs.
  263. 2008-05-13 Atsushi Enomoto <[email protected]>
  264. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  265. XplatUIX11.cs, XplatUIWin32.cs :
  266. fix for bug #325033 and #387693;
  267. - WM_QUIT should not be sent when no running application
  268. exists.
  269. - SetTimer/KillTimer (especially on win32) should be
  270. invoked for the window that the timer is/will_be attached.
  271. - There could be unattached timers to a window when it's
  272. started. For those timers, hold pending timers and when
  273. a window is mapped, attach them to it.
  274. - WaitForHwndMessage() could run into loop when
  275. WM_SHOWWINDOW is handled before this method is called.
  276. So, strictly check wm_showwindow state.
  277. - Tick handler should not be invoked while one Tick handler
  278. call is still running (introduced Busy state).
  279. 2008-05-13 Andreia Gaita <[email protected]>
  280. * WebBrowserBase.cs: Override Internal alternative methods for
  281. SetBoundsCore and OnResize instead of the protected ones.
  282. * Control.cs: Move SetBoundsCore and OnResize implementations to
  283. SetBoundsCoreInternal and OnResizeInternal, so they can be
  284. overriden internally (WebBrowserBase needs to catch them but can't
  285. override the protected methods without api compat problems)
  286. 2008-05-13 Andreia Gaita <[email protected]>
  287. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  288. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  289. * Binding.cs:
  290. * ListView.cs: Remove debug messages.
  291. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  292. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  293. area is empty. Also calculate scrollbars in Simple mode based in area
  294. height and total number of items, not in MaxDropDownItems.
  295. Fixes part of #371991.
  296. 2008-05-12 Jonathan Pobst <[email protected]>
  297. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  298. 2008-05-12 Jonathan Pobst <[email protected]>
  299. * BindingSource.cs: GetListSortDescription is not public.
  300. 2008-05-12 Jonathan Pobst <[email protected]>
  301. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  302. 2008-05-12 Jonathan Pobst <[email protected]>
  303. * HtmlElement.cs: Fix parameter names to match MS.
  304. * HtmlWindowCollection.cs: Should not be sealed.
  305. 2008-05-12 Jonathan Pobst <[email protected]>
  306. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  307. button, because the thumb button will not get drawn if the scrollbar
  308. is disabled. [Fixes bug #389262]
  309. 2008-05-12 Jonathan Pobst <[email protected]>
  310. * ListBox.cs: Handle End key for multi-column listboxen.
  311. [Fixes bug #389266]
  312. 2008-05-12 Jonathan Pobst <[email protected]>
  313. * ListBox.cs: Fix algorithm to determine which column our item is in.
  314. [Fixes bug #389265]
  315. 2008-05-12 Jonathan Pobst <[email protected]>
  316. * ListBox.cs: Invalidate when the listbox is resized.
  317. [Fixes bug #389256]
  318. 2008-05-12 Jonathan Pobst <[email protected]>
  319. * ListBox.cs: There is always at least one row in the ListBox (if
  320. we are doing these calculations.) [Fixes bug #389253]
  321. 2008-05-12 Jonathan Pobst <[email protected]>
  322. * ListBox.cs: There is always at least one column in the ListBox.
  323. [Fixes bug #389250]
  324. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  325. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  326. ensure in Simple mode that the height is exactly the requested one.
  327. Also add the ComboBoxListControl to the controls collection in Simple
  328. mode even if handle hasn't been created.
  329. Fixes part of #371991.
  330. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  331. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  332. our ComboBox owner instead of giving it back to the previous control (
  333. as done in other controls). Also remove the empty override of Select
  334. method, since we want to be selected *and* give focus to our owner.
  335. This should let the user do keys-navigation in Simple mode.
  336. 2008-05-10 Geoff Norton <[email protected]>
  337. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  338. problems with rapid scrolling of treeviews. Fixes #381084
  339. 2008-05-10 Geoff Norton <[email protected]>
  340. * XplatUICarbon.cs: Deactivate the active window before
  341. activating the desired window. Completes fixing #386504
  342. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  343. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  344. SmallChange to the item size width plus the padding, to match .net.
  345. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  346. * FileDialog.cs: Apply the custom filter typed by the user in the file
  347. name combobox as much as possible while navigating in the file dialog.
  348. Fixes #385261.
  349. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  350. * Binding.cs: Actually use NullValue if the retrieved value of
  351. data source is null or DBNull. Makes a test pass.
  352. 2008-05-09 Jonathan Pobst <[email protected]>
  353. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  354. * MimeIcon.cs: Provide a way to get icons from resources.
  355. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  356. * Binding.cs: When the value retrieved from the control to be assigned
  357. to the data source is null, actually use the 2.0 DataSourceNullValue
  358. value. Make pass a data binding test.
  359. 2008-05-08 Jonathan Pobst <[email protected]>
  360. * Control.cs: We need to invalidate implicit children even when
  361. invalidate is called with invalidatechildren = false. (Implicit
  362. children are really part of the parent.)
  363. * ListView.cs: Double-buffer internal child controls for less
  364. flicker.
  365. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  366. owner ListView subitems for greatly increased performance.
  367. [Fixes bug #388477]
  368. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  369. * FileDialog.cs: When the user types a wildcard character in the
  370. filename combobox, update the contents of the folder using the text as
  371. a filter.
  372. Fixes part of #385261.
  373. 2008-05-08 Jonathan Pobst <[email protected]>
  374. * ListBox.cs: Various fixes for MultiColumn listboxen.
  375. [Fixes bug #388114]
  376. 2008-05-08 Andreia Gaita <[email protected]>
  377. * HtmlElement.cs: Implement Style property
  378. 2008-05-08 Jonathan Pobst <[email protected]>
  379. * ListBox.cs: Respect checkboxes when measuring item size.
  380. * ThemeWin32Classis.cs: When drawing list items, don't draw
  381. text outside of the item's bounds to prevent overlapping.
  382. (.Net actually overlaps, but that's just silly.)
  383. [Fixes bug #388117]
  384. 2008-05-08 Everaldo Canuto <[email protected]>
  385. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  386. Gert Driesen. Fixes bug #324830.
  387. 2008-05-07 Everaldo Canuto <[email protected]>
  388. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  389. method implemented.
  390. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  391. * BindingSource.cs: When calling IsSynchronized, return the value of
  392. the related IList list.
  393. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  394. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  395. make a test pass.
  396. 2008-05-07 Jonathan Pobst <[email protected]>
  397. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  398. navigation to scroll the grid if the current cell is not visible.
  399. 2008-05-07 Andreia Gaita <[email protected]>
  400. * HtmlElement.cs: Implement TabIndex
  401. 2008-05-07 Jonathan Pobst <[email protected]>
  402. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  403. properties, even when there are no items.
  404. [Fixes bug #387611]
  405. 2008-05-07 Ivan N. Zlatev <[email protected]>
  406. * NativeWindow.cs: Add support for multiple handles per window.
  407. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  408. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  409. directly - use FromHandle instead.
  410. [Fixes bug #374660]
  411. 2008-05-07 Andreia Gaita <[email protected]>
  412. * HtmlElement.cs: Implement InnerHTML setter
  413. 2008-05-07 Andreia Gaita <[email protected]>
  414. * HtmlDocument.cs: Implement Focused
  415. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  416. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  417. methods, as well as add messages to the exceptions.
  418. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  419. * BindingSource.cs: Setting DataSource should only reset DataMember if
  420. the previous value was null (make pass a not working test).
  421. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  422. * BindingSource.cs: When EndInit call is postponed and is called until
  423. DataSource.EndInit is called, remove the handler for data source.
  424. 2008-05-06 Jonathan Pobst <[email protected]>
  425. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  426. 2008-05-06 Jonathan Pobst <[email protected]>
  427. * ToolStripManager.cs: Store references to toolstrips as
  428. weak references so they do not prevent forms from getting collected.
  429. [Fixes bug #386483]
  430. 2008-05-06 Jonathan Pobst <[email protected]>
  431. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  432. on .Net. So do the same thing in WndProc.
  433. 2008-05-06 Jonathan Pobst <[email protected]>
  434. * TrackBar.cs: Commit patch from Andy Hume that corrects
  435. the clickable areas to better match .Net.
  436. [Fixes bug #387074]
  437. 2008-05-06 Jonathan Pobst <[email protected]>
  438. * TrackBar.cs: Commit patch from Andy Hume that adds the
  439. ResizeRedraw control flag so the track bar repaints itself
  440. when it is resized. [Fixes bug #387072]
  441. 2008-05-06 Jonathan Pobst <[email protected]>
  442. * TrackBar.cs: Commit patch from Andy Hume that adds better
  443. support for keyboard navigation when the TrackBar is vertical.
  444. [Fixes bug #387071]
  445. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  446. * BindingSource.cs: Implement ISupportInitializeNotification support.
  447. 2008-05-06 George Giolfan <[email protected]>
  448. * ThemeVisualStyles.cs: Added support for ToolBar.
  449. 2008-05-06 George Giolfan <[email protected]>
  450. * ToolBar.cs: Made the Vertical property internal.
  451. 2008-05-05 George Giolfan <[email protected]>
  452. * ThemeVisualStyles.cs: Added support for TrackBar.
  453. 2008-05-05 George Giolfan <[email protected]>
  454. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  455. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  456. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  457. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  458. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  459. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  460. 2008-05-05 George Giolfan <[email protected]>
  461. * ThemeVisualStyles.cs: Added support for UpDownBase.
  462. 2008-05-05 George Giolfan <[email protected]>
  463. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  464. Extracted Theme.UpDownBaseDrawButton.
  465. 2008-05-05 Jonathan Pobst <[email protected]>
  466. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  467. removed from the static toolstrips collection in ToolStripManager
  468. when they are disposed. Provides a workaround for bug #386483.
  469. 2008-05-05 Ivan N. Zlatev <[email protected]>
  470. * GridEntry.cs: Read-only properties with Editor with
  471. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  472. [Fixes bug #384184]
  473. 2008-05-05 Jonathan Pobst <[email protected]>
  474. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  475. the menu key and there are no items on the menu.
  476. [Fixes bug #386644]
  477. 2008-05-05 Sebastien Pouliot <[email protected]>
  478. * Control.cs: Avoid calling ToString on a string.
  479. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  480. * GroupBox.cs: In FlatStyle property throw, not just create, the
  481. exception. Avoid calling ToString on a string.
  482. * ProgressBar.cs: Avoid calling ToString on a string.
  483. * ScrollBar.cs: Avoid calling ToString on a string.
  484. [All issues were found using Gendarme]
  485. 2008-05-05 Everaldo Canuto <[email protected]>
  486. * NotifyIcon.cs: Prevent click events to be trigger after double click
  487. events. Fixes remaining issues of bug #324832.
  488. 2008-05-05 Everaldo Canuto <[email protected]>
  489. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  490. to mimic win32 behavior. Partially fixes bug #324832.
  491. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  492. * BindingSource.cs: Implement Find methods.
  493. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  494. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  495. RemoveSort methods.
  496. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  497. * ListBindingHelper.cs: When calling GetListItemProperties and the
  498. passed object is ITypedList, return the result of
  499. ITypedList.GetItemProperties instead.
  500. 2008-05-04 Everaldo Canuto <[email protected]>
  501. * LinkLabel.cs: Set default value of name on constructor of Link class
  502. only for 2.0 profile.
  503. 2008-05-04 Everaldo Canuto <[email protected]>
  504. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  505. Fixes remaining issues of bug #346154.
  506. 2008-05-04 Everaldo Canuto <[email protected]>
  507. * LinkLabel.cs: Set a default value for name on internal contructor of
  508. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  509. 2008-05-04 Everaldo Canuto <[email protected]>
  510. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  511. and refer all instances to owner.links. Partially fixes #346154.
  512. 2008-05-03 Everaldo Canuto <[email protected]>
  513. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  514. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  515. the LinkLabel test 'TestLinkArea'.
  516. 2008-05-03 Everaldo Canuto <[email protected]>
  517. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  518. [Fixes #386460]
  519. 2008-05-03 Everaldo Canuto <[email protected]>
  520. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  521. [Fixes #386463]
  522. 2008-05-03 Everaldo Canuto <[email protected]>
  523. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  524. [Fixed bug #357004]
  525. 2008-05-03 Everaldo Canuto <[email protected]>
  526. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  527. 2008-05-03 Everaldo Canuto <[email protected]>
  528. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  529. [Fixes bug #375398]
  530. 2008-05-03 Everaldo Canuto <[email protected]>
  531. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  532. of bug #367492.
  533. 2008-05-03 Everaldo Canuto <[email protected]>
  534. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  535. sometimes we open a conext menu on mouse down of some controls and the mouse
  536. up is dispatched to menu and dont need to. It fix remaining issues of
  537. #363711 and other problems related to menu mouse click events.
  538. 2008-05-02 Everaldo Canuto <[email protected]>
  539. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  540. some var names to better fit changes, now we have month_menu and today_menu
  541. vars. Fixes bug #363711.
  542. 2008-05-02 Everaldo Canuto <[email protected]>
  543. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  544. right now the default month menu but it will be change to have "Go to today"
  545. menu.
  546. 2008-05-02 Jonathan Pobst <[email protected]>
  547. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  548. 2008-05-02 Everaldo Canuto <[email protected]>
  549. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  550. 2008-05-02 George Giolfan <[email protected]>
  551. * ThemeVisualStyles.cs: Added support for TreeView.
  552. 2008-05-02 George Giolfan <[email protected]>
  553. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  554. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  555. 2008-05-02 Jonathan Pobst <[email protected]>
  556. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  557. 2008-05-02 Jonathan Pobst <[email protected]>
  558. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  559. Implement 2.0 SP1 stuffs.
  560. 2008-05-02 Jonathan Pobst <[email protected]>
  561. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  562. 2008-05-02 Jonathan Pobst <[email protected]>
  563. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  564. Implement CanEnableIme property. (2.0 SP1)
  565. 2008-05-02 Jonathan Pobst <[email protected]>
  566. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  567. from the 2.0 API.
  568. 2008-05-02 Jonathan Pobst <[email protected]>
  569. * Control.cs: Provide an internal way for a control to override
  570. the setting of Height.
  571. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  572. set height using new method.
  573. 2008-05-02 George Giolfan <[email protected]>
  574. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  575. 2008-05-02 George Giolfan <[email protected]>
  576. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  577. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  578. 2008-05-02 George Giolfan <[email protected]>
  579. * ThemeVisualStyles.cs: Added support for StatusBar.
  580. 2008-05-02 Jonathan Pobst <[email protected]>
  581. * DataObject.cs: Add the other IDataObject interface.
  582. 2008-05-02 George Giolfan <[email protected]>
  583. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  584. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  585. 2008-05-02 Jonathan Pobst <[email protected]>
  586. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  587. * ListView.cs: Hide non-public API.
  588. * MaskedTextBox.cs: Remove extra attribute.
  589. 2008-05-02 Jonathan Pobst <[email protected]>
  590. * DataGridViewImageCell.cs: Use formatted value instead of value
  591. to calculate preferred size.
  592. 2008-05-01 Jonathan Pobst <[email protected]>
  593. * ListBox.cs: Move some initialization around so that selected_indices
  594. is not accessed before it is created.
  595. 2008-05-01 Jonathan Pobst <[email protected]>
  596. * InputLanguageCollection.cs: Implement the collection better.
  597. [Fixes bug #385506]
  598. 2008-05-01 Jonathan Pobst <[email protected]>
  599. * ToolStripDropDownItem.cs: Get the correct event object for
  600. DropDownItemClicked.
  601. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  602. [Fixes bug #385475]
  603. 2008-05-01 Jonathan Pobst <[email protected]>
  604. * DataGridViewRowCollection.cs: We don't currently support shared
  605. rows. Should fix test failures caused by previous commit.
  606. 2008-04-30 Jonathan Pobst <[email protected]>
  607. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  608. datagridview gets set. Only paint cells in visible columns.
  609. * DataGridViewCell.cs: Draw border after cell content.
  610. * DataGridView.cs: Invalidate after setting some properties. Only
  611. use visible columns. Fit hit test bug with areas in the col/row header
  612. area but not in a row or col. Implement UpdateCell/Row methods.
  613. 2008-04-30 Jonathan Pobst <[email protected]>
  614. * DataGridViewElement.cs: Don't throw NIEX.
  615. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  616. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  617. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  618. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  619. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  620. if the user filled in the formatting Value, use it.
  621. 2008-04-30 Jonathan Pobst <[email protected]>
  622. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  623. to a string.
  624. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  625. * BindingSource.cs: Some corrections to Filter property, as well as
  626. setting it for our list when resetting it.
  627. 2008-04-29 Jonathan Pobst <[email protected]>
  628. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  629. than the maximum. Fixes reopened bug #384182.
  630. 2008-04-28 Everaldo Canuto <[email protected]>
  631. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  632. Fixes remaining issues of #367490.
  633. 2008-04-28 Everaldo Canuto <[email protected]>
  634. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  635. SystemInformation.WorkingArea to get max_screen value.
  636. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  637. * BindingSource.cs: Implement Filter and RemoveFilter.
  638. 2008-04-28 Everaldo Canuto <[email protected]>
  639. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  640. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  641. * X11Dnd.cs: When trying to convert data and we know we started the
  642. dnd loop, don't try to use the cached data if the loop is not running,
  643. which means that the data has been resetted.
  644. Fixes #378191.
  645. 2008-04-28 Everaldo Canuto <[email protected]>
  646. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  647. win32 behavior.
  648. 2008-04-28 Everaldo Canuto <[email protected]>
  649. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  650. it to drawn off screen edge. Fixes bug #367490.
  651. 2008-04-28 Everaldo Canuto <[email protected]>
  652. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  653. menu position to have only one assignment of Location var.
  654. 2008-04-28 Everaldo Canuto <[email protected]>
  655. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  656. for this patch. Fixes bug #384115.
  657. 2008-04-28 Jonathan Pobst <[email protected]>
  658. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  659. the same. If LargeChange is zero, set a minimum size for the scroll
  660. thumb grip. [Fixes bug #384182]
  661. 2008-04-28 Jonathan Pobst <[email protected]>
  662. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  663. [Fixes bug #384181]
  664. 2008-04-28 Jonathan Pobst <[email protected]>
  665. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  666. 2008-04-28 George Giolfan <[email protected]>
  667. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  668. patch from Ernesto).
  669. 2008-04-28 George Giolfan <[email protected]>
  670. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  671. 2008-04-28 George Giolfan <[email protected]>
  672. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  673. 2008-04-28 George Giolfan <[email protected]>
  674. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  675. 2008-04-28 George Giolfan <[email protected]>
  676. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  677. 2008-04-27 George Giolfan <[email protected]>
  678. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  679. 2008-04-27 Andreia Gaita <[email protected]>
  680. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  681. supposed to return a reference to an mshtml interface, which we
  682. don't support).
  683. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  684. reference to an mshtml interface, which we don't support). Code
  685. formatting cleanup.
  686. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  687. DomDocument getter (it's supposed to return a reference to an
  688. mshtml interface, which we don't support). Code formatting cleanup.
  689. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  690. * ListView.cs: Ouch, forgot to commit.
  691. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  692. * ListView.cs:
  693. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  694. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  695. * ListView.cs: When calculating box selection for virtual mode, don't
  696. look for intersection with item's text, but item bounds, since that
  697. would mean read ListViewItem's text for _every_ item, and that's
  698. something we just can't do in virtual mode (items are only requested
  699. when drawn).
  700. 2008-04-26 George Giolfan <[email protected]>
  701. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  702. partial support for managed windows (based on the patch from Ernesto).
  703. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  704. * ListView.cs: When doing a key search use FindItemWithText method
  705. instead of doing the search by ourselves, this way we avoid
  706. duplicating the code and also we handle the special case for virtual
  707. mode. To achieve that make our private overload of FindItemWithText
  708. internal and also have a 'roundtrip' parameter.
  709. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  710. * ListView.cs: When doing the layout don't request the
  711. ListViewItem instance if we are in virtual mode (since we can't request it
  712. until the item is actully drawn).
  713. 2008-04-25 George Giolfan <[email protected]>
  714. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  715. from Ernesto).
  716. 2008-04-25 George Giolfan <[email protected]>
  717. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  718. the patch from Ernesto).
  719. 2008-04-25 George Giolfan <[email protected]>
  720. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  721. * ThemeVisualStyles.cs: Added.
  722. 2008-04-25 George Giolfan <[email protected]>
  723. * IDeviceContext.cs: Added a missing using.
  724. 2008-04-25 George Giolfan <[email protected]>
  725. * ButtonBase.cs: Made IsDefault protected internal.
  726. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  727. 2008-04-25 George Giolfan <[email protected]>
  728. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  729. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  730. RadioButtonRenderer.cs: Included in the 1.1 profile.
  731. * IDeviceContext.cs: Added.
  732. * TextRenderer.cs: Included a member in the 1.1 profile.
  733. 2008-04-25 George Giolfan <[email protected]>
  734. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  735. 2008-04-24 Jonathan Pobst <[email protected]>
  736. * ErrorProvider.cs: Make the error icons come after the control
  737. they refer to. It isn't the way the MS does it, but its better
  738. than what we were doing. See bug #368587.
  739. 2008-04-24 Jonathan Pobst <[email protected]>
  740. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  741. from Eric Albright that lazy loads the input language as ensures
  742. everything gets properly initialized. Fixes bug #373871.
  743. 2008-04-24 Jonathan Pobst <[email protected]>
  744. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  745. implicit mnemonics. [Fixes bug #383000]
  746. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  747. * X11Dnd.cs: When canceling the operation, automatically restore the
  748. default cursor - normally the default cursor is restored when the
  749. mouse buttons are released, but we should be able to restore it even
  750. if the buttons are still pressed (for example, when pressing ESC to
  751. cancel).
  752. Fixes #381894.
  753. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  754. * X11Dnd.cs: When starting a new drad and drop operation, set control
  755. field to null, just as the other fields, to avoid calling any
  756. operation on a previous control. Also, when calling DndLeave on a
  757. control, set it to null, thus we don't fire that event multiple times
  758. for that control.
  759. Fixes #209264.
  760. 2008-04-23 Geoff Norton <[email protected]>
  761. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  762. the whole_window object. Fixes #377084.
  763. 2008-04-23 Andreia Gaita <[email protected]>
  764. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  765. embedded browser)
  766. 2008-04-23 Jonathan Pobst <[email protected]>
  767. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  768. 2008-04-23 Andreia Gaita <[email protected]>
  769. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  770. invocation
  771. 2008-04-23 Andreia Gaita <[email protected]>
  772. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  773. attaching/detaching
  774. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  775. * X11Dnd.cs: When the drop was cancelled, or could just not be
  776. performed, return DragDropEffect.None always (match .net).
  777. 2008-04-22 Jonathan Pobst <[email protected]>
  778. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  779. 2008-04-22 Jonathan Pobst <[email protected]>
  780. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  781. 2008-04-22 Jonathan Pobst <[email protected]>
  782. * DataGridView.cs: Add support for error icon tool tips.
  783. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  784. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  785. 2008-04-22 Ivan N. Zlatev <[email protected]>
  786. * X11Structs.cs: Add mouse button masks enum.
  787. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  788. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  789. form resize/move operation instead of for each step of it.
  790. [Fixes bug #346529 for the x11 backend]
  791. 2008-04-21 Jonathan Pobst <[email protected]>
  792. * DataGridView*: Implement support for drawing error icons.
  793. 2008-04-21 Jonathan Pobst <[email protected]>
  794. * TreeView.cs: Make vbar and hbar internal.
  795. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  796. scrollbars, invalidate the whole thing.
  797. [Fixes bug #382001]
  798. 2008-04-21 Jonathan Pobst <[email protected]>
  799. * TreeView.cs: Calling Sort() sets Sorted = true.
  800. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  801. if the nodes need to be sorted.
  802. [Fixes bug #382028]
  803. 2008-04-21 Ivan N. Zlatev <[email protected]>
  804. * Form.cs: Fire SizeChanged for both when the form is minimized and
  805. restored.
  806. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  807. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  808. 2008-04-21 Jonathan Pobst <[email protected]>
  809. * ComboBox.cs: If the combobox is disabled, draw a disabled
  810. background before painting anything else.
  811. [Fixes bug #381729]
  812. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  813. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  814. forget to send a Leave event to the target window - just as .net does
  815. when cancelling dnd operations.
  816. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  817. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  818. soon as possible - this happens when we send the drop message to the
  819. target window. This way we avoid firing any DragOver _after_ drop finished.
  820. Fixes #378179.
  821. 2008-04-20 Ivan N. Zlatev <[email protected]>
  822. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  823. * Form.cs: Handle form minimization as a special state, where size doesn't
  824. change, but we have to fire SizeChanged.
  825. [Fixes bug #325122 for the win32 and x11 backends]
  826. 2008-04-20 Ivan N. Zlatev <[email protected]>
  827. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  828. if the handle is disabled.
  829. [Fixes bug #371751]
  830. 2008-04-20 Ivan N. Zlatev <[email protected]>
  831. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  832. for forms with FormBorderStyle.None.
  833. [Fixes bug #349571]
  834. 2008-04-20 Ivan N. Zlatev <[email protected]>
  835. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  836. WM_EXITSIZEMOVE.
  837. [Fixes bug #346529 for the X11 backend]
  838. 2008-04-19 Ivan N. Zlatev <[email protected]>
  839. * XplatUIX11.cs:
  840. - Send a mouse Enter message after say dragging the mouse with a
  841. button down and then release it in another client.
  842. - Reset the cursor to prevent X11 from remembering it and setting it
  843. before the control gets WM_SETCURSOR.
  844. - Qeueue a mouse move after a mouse enter like win32.
  845. [Fixes bug #323234]
  846. 2008-04-19 Ivan N. Zlatev <[email protected]>
  847. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  848. It's sent when the form gets moved, resized, closed.
  849. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  850. [Fixes bug #359193 for X11]
  851. 2008-04-19 Ivan N. Zlatev <[email protected]>
  852. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  853. the build.
  854. 2008-04-19 Ivan N. Zlatev <[email protected]>
  855. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  856. group. Fixes the 1.1 build.
  857. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  858. * ListView.cs: Use display indexes for selection in Details view, as
  859. well as do the proper layout based on display indexes for that view
  860. too.
  861. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  862. * ListView.cs: Focused item information is now stored as a display
  863. index, and display indexes are used all over the place for selection,
  864. instead of ListViewItem.Index values, which doesn't give us enough
  865. information to modify the selection in groups mode, and was broken.
  866. 2008-04-18 Ivan N. Zlatev <[email protected]>
  867. * Control.cs: Do not fire MouseDown if validation of the control has
  868. failed.
  869. * Form.cs: Validate the form before closing.
  870. [Fixes bugs #330501 and #353310]
  871. 2008-04-18 Andreia Gaita <[email protected]>
  872. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  873. CreateWebBrowserSiteBase implementations
  874. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  875. Style and TabIndex setters
  876. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  877. * ListViewGroup.cs: When returning the actual item count, return the
  878. proper count for default group.
  879. Fix the tests.
  880. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  881. * ListView.cs:
  882. * ListViewGroup.cs: When calculating groups layout, get the actual
  883. number of items per group, since groups added to the group BUT not
  884. added to the ListView are just ignored, and can cause some nasty
  885. exceptions because of the lack of synchronization. Also for
  886. ListViewGroup don't use lazy initialization for items, since we
  887. the common scenario is to use it always - and it helps us to refactor
  888. and clean the .ctor overloads.
  889. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  890. * ListView.cs: When adding an item to a ListViewItemCollection
  891. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  892. the added item hasn't beeen previously added to the ListView instance
  893. refered by the group, since it will be ignored. This should avoid some
  894. really nasty flickering.
  895. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  896. * ListView.cs: When accessing an item in a specific display
  897. position, use the helper method GetItemAtDisplayIndex, instead of
  898. direct access to the reordered_items_indices array. When doing layout
  899. for groups set the correct Items index for the display position (since
  900. in groups mode items don't have the same position as in Items
  901. collection).
  902. * ListViewGroup.cs: Add a field to store the starting item number,
  903. which is later used when calculating the layout.
  904. Fixes #360805.
  905. 2008-04-17 Gert Driesen <[email protected]>
  906. * Application.cs: Fixed ProductVersion to fallback to the assembly
  907. version. Fixes regression for bug #325413.
  908. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  909. * ListView.cs: New helper method to retrieve an item in a _specific
  910. display_ position (the items can be displayed in a different order
  911. than one of Items collection).
  912. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  913. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  914. specific display position (again remember that items can be sorted
  915. different than Items).
  916. 2008-04-16 Jonathan Pobst <[email protected]>
  917. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  918. list and update it when the collection changes. We were recreating
  919. this several times per row paint and for every pixel the mouse moved
  920. across the grid.
  921. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  922. changes.
  923. 2008-04-16 Jonathan Pobst <[email protected]>
  924. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  925. list to use generics.
  926. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  927. and remove unneccessay casts.
  928. 2008-04-16 Jonathan Pobst <[email protected]>
  929. * DataGridViewBand.cs: Add internal way to set displayed variable.
  930. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  931. * DataGridView.cs: Make sure we always keep track of Displayed
  932. rows and columns, and only draw things that are displayed.
  933. 2008-04-16 Atsushi Enomoto <[email protected]>
  934. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  935. whether the key events are filtered or not. Introduced
  936. PreFilter() process for this purpose. This fixes atokx3/iiimx
  937. shift state issue.
  938. 2008-04-16 Andreia Gaita <[email protected]>
  939. * HtmlHistory.cs: Implement Length property
  940. 2008-04-15 Jonathan Pobst <[email protected]>
  941. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  942. away the edit textbox. Refactor to reuse column sort code.
  943. 2008-04-12 Everaldo Canuto <[email protected]>
  944. * MenuAPI.cs: Remove the code that save and restore capture status of
  945. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  946. cause some others, I cant figure the possible problems of this patch but
  947. right now remove the code looks to be better than keep it. This patch fixes
  948. bugs #357638, #378721 and #379570.
  949. 2008-04-12 Andreia Gaita <[email protected]>
  950. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  951. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  952. add missing properties and event handlers.
  953. 2008-04-14 Jonathan Pobst <[email protected]>
  954. * ListBox.cs: Make sure the LargeChange we are setting is at least
  955. zero, to prevent an IOORE. [Fixes bug #379531]
  956. 2008-04-13 Andy Hume <[email protected]>
  957. * ComboBox.cs: Support item navigation by entering text. Firstly,
  958. in DropDownList mode, for each key-press select the next item
  959. starting with that letter.
  960. For other modes, when no item selected, on arrow-up/-down and open
  961. drop-down select the first item matching the text in the textbox.
  962. 2008-04-14 Atsushi Enomoto <[email protected]>
  963. * X11Keyboard.cs : Control.FromHandle() could return null
  964. in MoveCurrentCaretPos().
  965. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  966. * ListView.cs: When changing the size in VirtualMode, also Reset the
  967. selection.
  968. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  969. changing selection info for VirtualMode.
  970. Fixes #372618.
  971. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  972. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  973. view, don't use LineLimit for the first item - use NoWrap *always*
  974. instead, since ListView.LabelWrap is not used for this view.
  975. Fixes #378054.
  976. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  977. * Binding.cs: Call UpdateIsBinding when setting control - probably
  978. Binding is already usable and we don't need to wait to check the
  979. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  980. Created, just like 2.0 does.
  981. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  982. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  983. * Binding.cs: Just realized we don't need to have a handler for
  984. BindingContextChanged, since this info should be now consumed directly
  985. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  986. state info is checked directly, instead of caching it.
  987. * CurrencyManager.cs: IsSuspended should return always false if Count
  988. == 0.
  989. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  990. * Binding.cs: When calling PushData, return if manager.Count == 0,
  991. since we just don't have data to be read. Also, when setting the
  992. Control for binding, hook up some events to refresh the IsBinding
  993. state when BindingContext change or control gets created; use
  994. Control.IsHandleCreated instead of Control.Created check to set
  995. IsBinding state - we *actually* need to modify IsBinding when control
  996. is created, but we don't have any Created event, only HandleCreated.
  997. Fixes part of #349364.
  998. 2008-04-11 Geoff Norton <[email protected]>
  999. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  1000. warping a null Caret.
  1001. 2008-04-11 Jonathan Pobst <[email protected]>
  1002. * DataGridView.cs: Implement row/column autosizing methods. Implement
  1003. autosorting.
  1004. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  1005. * DataGridViewRowCollection.cs: Add an internal sorting method.
  1006. 2008-04-11 Jonathan Pobst <[email protected]>
  1007. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  1008. value in ListView drawing code.
  1009. 2008-04-11 Jonathan Pobst <[email protected]>
  1010. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  1011. is clicked. Respect the user setting Cancel in FileOk.
  1012. 2008-04-11 Geoff Norton <[email protected]>
  1013. * ListView.cs: Avoid setting and resetting control Width/Heights and
  1014. calculate the final value and set it once. Prevents a feedback loop
  1015. on the mac.
  1016. 2008-04-10 Jonathan Pobst <[email protected]>
  1017. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  1018. [Fixes bug #378869]
  1019. 2008-04-10 Atsushi Enomoto <[email protected]>
  1020. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  1021. Add some on-the-spot code, but it seems we don't need it.
  1022. 2008-04-10 Jonathan Pobst <[email protected]>
  1023. * Form.cs: Add method for DataGridView to trigger focus cues
  1024. even when it handles the tab keypress.
  1025. 2008-04-10 Jonathan Pobst <[email protected]>
  1026. * DataGridView.cs: More keyboard handling, tab, esc.
  1027. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  1028. when at the beginning or end of the text in the text box.
  1029. 2008-04-09 Jonathan Pobst <[email protected]>
  1030. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  1031. 2008-04-09 Jonathan Pobst <[email protected]>
  1032. * DataGridView.cs: Some fixups for showing and adding the edit control.
  1033. * DataGridViewButtonColumn.cs: Implement ToString.
  1034. * DataGridViewCell.cs: Size and position the control simultaneously.
  1035. * DataGridViewTextBoxCell.cs: Use base to position control.
  1036. 2008-04-09 Jonathan Pobst <[email protected]>
  1037. * DataGridViewCell.cs: Fix up some formatting and painting code.
  1038. * DataGridViewImageCell.cs: Implement some NIEX methods.
  1039. 2008-04-09 Jonathan Pobst <[email protected]>
  1040. * ToolStripItemCollection.cs: What moving an item from one owner
  1041. to another, remove from source owner before adding to destination.
  1042. [Fixes bug #378109]
  1043. 2008-04-09 Jonathan Pobst <[email protected]>
  1044. * PictureBox.cs: Call Load when ImageLocation is set.
  1045. [Fixes bug #378308]
  1046. 2008-04-09 Atsushi Enomoto <[email protected]>
  1047. * X11Keyboard.cs, XplatUIX11.cs :
  1048. Implement over-the-spot mode (with some odd offsets).
  1049. - set preedit position when caret is set.
  1050. - Wrap XMoveResizeWindow() to move preedit position.
  1051. 2008-04-08 Everaldo Canuto <[email protected]>
  1052. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  1053. array lenght.
  1054. 2008-04-08 Everaldo Canuto <[email protected]>
  1055. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  1056. and ScanTableIndex public, it fix compilations errors when compiling
  1057. WinForms to generate keyboard layout resources.
  1058. 2008-04-08 Everaldo Canuto <[email protected]>
  1059. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  1060. different element count than scan table. It prevents some errors in non
  1061. standard keyboards.
  1062. 2008-04-08 Jonathan Pobst <[email protected]>
  1063. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  1064. 2008-04-08 Jonathan Pobst <[email protected]>
  1065. * DataGridView.cs: Call OnContentClick.
  1066. * DataGridViewCell.cs: Do a null check on ValueType instead
  1067. of valueType.
  1068. * DataGridViewCheckBoxCell.cs: Implement.
  1069. 2008-04-08 Atsushi Enomoto <[email protected]>
  1070. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  1071. 2008-04-08 Atsushi Enomoto <[email protected]>
  1072. * X11Keyboard.cs : Check XGetIMValues() return value in
  1073. case it does not return input styles in some environment.
  1074. 2008-04-08 Atsushi Enomoto <[email protected]>
  1075. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  1076. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  1077. * BindingContext.cs: Stub UpdateBinding method.
  1078. 2008-04-07 Atsushi Enomoto <[email protected]>
  1079. * X11Structs.cs : added couple of structs for XIM support.
  1080. * X11Keyboard.cs :
  1081. Release XIM in case it failed to create XIC.
  1082. Use consts for XNblah string.
  1083. Add support for IM style customization and XIC creation
  1084. for preedit-position and preedit-callback.
  1085. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  1086. (list of: over-the-spot | on-the-spot | root). Only root
  1087. mode works so far.
  1088. (redoing r99172 with fix.)
  1089. 2008-04-07 Jonathan Pobst <[email protected]>
  1090. * TreeView.cs: Center the checkbox a little better.
  1091. 2008-04-07 Jonathan Pobst <[email protected]>
  1092. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  1093. Apply very nice patch from Ernesto Carrea that simplifies our
  1094. scrollbar drawing. [From bug #376146]
  1095. 2008-04-07 Jonathan Pobst <[email protected]>
  1096. * TreeView.cs: Correct the location of the root node checkbox when
  1097. ShowRootLines = false. Don't draw the root lines for the root node
  1098. when ShowRootLines = false. [Fixes bug #377535]
  1099. 2008-04-06 Gert Driesen <[email protected]>
  1100. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  1101. Fixed line endings.
  1102. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  1103. line endings.
  1104. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  1105. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  1106. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  1107. * ImeMode.cs: Added missing field.
  1108. * HtmlWindow.cs: Code formatting. Fixed line endings.
  1109. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  1110. warnings.
  1111. * HtmlHistory.cs: Code formatting. Fixed line endings.
  1112. * HtmlDocument.cs: Code formatting. Fixed line endings.
  1113. * ToolStripPanel.cs: Added missing IList implementation.
  1114. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  1115. 2008-04-06 Gert Driesen <[email protected]>
  1116. * BindingContext.cs: Changed argument names to fix corcompare errors.
  1117. * DataGridView.cs: Removed extra explicit interface implementation
  1118. of IDropTarget. Code formatting.
  1119. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  1120. * ComboBox.cs: Changed argument names to fix corcompare errors.
  1121. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  1122. errors.
  1123. * GridColumnStylesCollection.cs: Changed argument names to fix
  1124. corcompare errors. Removed extra tabs.
  1125. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  1126. errors.
  1127. * Control.cs: Changed argument names to fix corcompare errors. Code
  1128. formatting. Removed extra explicit IList implementation.
  1129. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  1130. formatting. Use string.Empty instead of "".
  1131. * GridItemCollection.cs: Changed argument names to fix corcompare
  1132. errors. Code formatting.
  1133. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  1134. corcompare errors. Code formatting.
  1135. * ImageList.cs: Changed argument names to fix corcompare errors.
  1136. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  1137. * DataGridViewRowCollection.cs: Changed argument names to fix
  1138. corcompare errors. Code formatting.
  1139. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  1140. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  1141. fix corcompare errors. Code formatting.
  1142. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  1143. corcompare errors. Code formatting.
  1144. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  1145. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  1146. formatting.
  1147. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  1148. Code formatting.
  1149. * BindingSource.cs: Changed argument names to fix corcompare errors.
  1150. Removed extra explicit interface implementations.
  1151. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  1152. fix corcompare errors. Code formatting.
  1153. * ToolStripItemCollection.cs: Removed extra explicit interface
  1154. implementation of IList.ReadOnly.
  1155. * DataGridViewColumnCollection.cs: Changed argument names to fix
  1156. corcompare errors. Code formatting.
  1157. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  1158. * ListView.cs: Changed argument names to fix corcompare errors.
  1159. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  1160. errors.
  1161. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  1162. errors.
  1163. * ListBindingHelper.cs: Changed argument names to fix corcompare
  1164. errors.
  1165. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  1166. fix corcompare errors. Code formatting.
  1167. * ToolStripPanel.cs: Removed extra explicit implementation of
  1168. IDropTarget interface.
  1169. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  1170. formatting. Removed extra tabs and spaces.
  1171. * DataGridViewCellCollection.cs: Changed argument names to fix
  1172. corcompare errors.
  1173. * Help.cs: Changed argument names to fix corcompare errors. Code
  1174. formatting.
  1175. * TabControl.cs: Changed argument names to fix corcompare errors.
  1176. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  1177. errors.
  1178. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  1179. errors.
  1180. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  1181. * ListBindingHelper.cs: When returning properties, only return those
  1182. that are browsable. Also, don't do a linear search of the properties,
  1183. but use the indexer of the PropertyDescriptorCollection class.
  1184. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  1185. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  1186. Dictionary containing the related (child) currency managers. Also,
  1187. when setting DataSource, add datasource to our List if it is not a list.
  1188. 2008-04-05 Ivan N. Zlatev <[email protected]>
  1189. * PropertyGridTextBox.cs: Fix background color of the buttons.
  1190. * PropertyGridView.cs: Make the entry less jumpy.
  1191. 2008-04-05 Ivan N. Zlatev <[email protected]>
  1192. * PropertyGrid.cs: Fix unused variable warnings.
  1193. 2008-04-05 Ivan N. Zlatev <[email protected]>
  1194. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  1195. double-click. It expanded it once in the mouse down and then
  1196. again in the double-click handler.
  1197. 2008-04-04 Ivan N. Zlatev <[email protected]>
  1198. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  1199. TypeConverter and UITypeEditors.
  1200. 2008-04-04 Ivan N. Zlatev <[email protected]>
  1201. * Control.cs: Visibility should be set synchronously,
  1202. so we must also redraw once it is and not rely on layouting or
  1203. other code to repaint.
  1204. [Fixes bug #339898]
  1205. 2008-04-04 Jonathan Pobst <[email protected]>
  1206. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  1207. 2008-04-03 Jonathan Pobst <[email protected]>
  1208. * Control.cs: Invalidate when the alpha channel is less than 255,
  1209. not only when control is transparent.
  1210. 2008-04-03 Jonathan Pobst <[email protected]>
  1211. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  1212. Implement some painting convenience methods that threw NIEX.
  1213. 2008-04-03 Jonathan Pobst <[email protected]>
  1214. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  1215. * DataGridViewLinkCell.cs: Implement.
  1216. 2008-04-03 Ivan N. Zlatev <[email protected]>
  1217. * GridEntry.cs: Report the conversion exception error description.
  1218. [Fixes bug #375792]
  1219. 2008-04-03 Ivan N. Zlatev <[email protected]>
  1220. * PropertyGridView.cs: Do not scroll to item on resize.
  1221. [Fixes bug #375789]
  1222. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  1223. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  1224. dataSource parameter is ICurrencyManagerProvider, then return
  1225. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  1226. instead of creating a new one.
  1227. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  1228. * BindingSource.cs: Implement support for Type instances as
  1229. DataSource.
  1230. 2008-04-02 Jonathan Pobst <[email protected]>
  1231. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  1232. * DataGridViewCell.cs: Make some painting routines internally virtual.
  1233. * DataGridViewButtonCell.cs: Implement.
  1234. 2008-04-02 Jonathan Pobst <[email protected]>
  1235. * Control.cs: We always need to invalidate our children with
  1236. transparent backgrounds when we are invalidated.
  1237. [Fixes bug #376081]
  1238. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  1239. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  1240. and CancelCurrentEdit on CurrencyManager respectively. Implement
  1241. support for ICancelAddNew too.
  1242. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  1243. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  1244. call EndNew/CancelNew if list is ICancelAddNew.
  1245. 2008-04-01 Jonathan Pobst <[email protected]>
  1246. * DataGridView.cs: Guard against an exception while painting
  1247. if there are no rows.
  1248. 2008-04-01 Jonathan Pobst <[email protected]>
  1249. * DataGridView.cs: Implement a bunch of keyboard commands.
  1250. 2008-03-31 Jonathan Pobst <[email protected]>
  1251. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  1252. isn't set, don't call OnPaint. [Fixes bug #375300]
  1253. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  1254. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  1255. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  1256. hookup the remaining events related to CurrencyManager, and fire
  1257. OnListChanged also for the Clear () method.
  1258. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  1259. * BindingSource.cs: Use Current and Position implementations in
  1260. CurrencyManager instead of using our own routines, since we need
  1261. to be in synch with it. Count should NEVER return a -1 value, and
  1262. also report ListChanged events for both simple IList data
  1263. sources (manually) as well for IBindingList ones (by hooking up an
  1264. event handler for it).
  1265. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  1266. * BindingSource.cs: Make one .ctor call the another, to avoid
  1267. duplicate code. Add the CurrencyManager property, and also for AddNew
  1268. throw the proper exceptions and show better error messages.
  1269. 2008-03-28 Jonathan Pobst <[email protected]>
  1270. * ComboBox.cs: Only adjust selectedindex if Handle has been
  1271. created. Fixes failing test.
  1272. 2008-03-28 Jonathan Pobst <[email protected]>
  1273. * ComboBox.cs: Adjust selectedindex if we insert a new item
  1274. above the current selectedindex in a sorted ComboBox.
  1275. [Fixes bug #374654]
  1276. 2008-03-28 Jonathan Pobst <[email protected]>
  1277. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  1278. [Fixes bug #374712]
  1279. 2008-03-28 Jonathan Pobst <[email protected]>
  1280. * DataGridViewTextBoxCell.cs: Implement stuffs.
  1281. 2008-03-27 Jonathan Pobst <[email protected]>
  1282. * TreeView.cs: Create the scrollbars even earlier to be
  1283. double dog certain they are created before they are accessed.
  1284. 2008-03-27 Jonathan Pobst <[email protected]>
  1285. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  1286. 2008-03-27 Jonathan Pobst <[email protected]>
  1287. * ScrollBar.cs: Create an internal safe Value setter so we
  1288. won't crash if we try to set a value outside the min and max.
  1289. * TextBoxBase.cs: Use safe value setter to guard against a
  1290. potential NRE that is being reported by Reflector.
  1291. 2008-03-27 Jonathan Pobst <[email protected]>
  1292. * TreeView.cs: Create the scrollbars earlier in the constructor
  1293. to attempt to guard against an NRE in SetTop in Reflector.
  1294. 2008-03-27 Jonathan Pobst <[email protected]>
  1295. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  1296. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  1297. show messagebox on data format error, use column display index
  1298. correctly, make sure HitTest supports new layout stuff,
  1299. make sure scrollbars support new layout stuff.
  1300. 2008-03-27 Atsushi Enomoto <[email protected]>
  1301. * XplatUIX11.cs : Patch by Doug Rintoul.
  1302. For some IM engines, keypress events need to delay call
  1303. to XPending() and XNextEvent() in the loop so that it
  1304. does not mess the orders in XIM commit callback.
  1305. Some KeyRelease events such as shift keys need to be
  1306. processed both in the IM engine and winforms driver
  1307. itself since winforms holds its own state check.
  1308. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  1309. 2008-03-27 Atsushi Enomoto <[email protected]>
  1310. * X11Keyboard.cs, XplatUIX11.cs :
  1311. add primitive support for XIM input support (preedit-
  1312. nothing and status-nothing). It requires precise event
  1313. capturing (XSelectInput/"filterEvents") and different
  1314. call to XFilterEvent against root window.
  1315. Get composed string and send dummy WM_IME_COMPOSITION.
  1316. Free XIM and XIC instances in finalizer.
  1317. (This first patch does not include suggested changes
  1318. by Doug Rintoul. It will follow.)
  1319. 2008-03-26 Jonathan Pobst <[email protected]>
  1320. * DataGridView.cs: When binding to a property, if the property
  1321. doesn't have a setter, set the column to readonly.
  1322. [Fixes bug #343965]
  1323. 2008-03-26 Jonathan Pobst <[email protected]>
  1324. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  1325. we aren't dropped down. Support Home/End in DropDownList mode.
  1326. [Fixes bug #371990]
  1327. 2008-03-26 Jonathan Pobst <[email protected]>
  1328. * TreeNodeCollection.cs: Don't increment count until we've
  1329. saved our index to return.
  1330. [Fixes bug #373603]
  1331. 2008-03-25 Jonathan Pobst <[email protected]>
  1332. * Label.cs: Add padding to the label's AutoSize calculation.
  1333. [Fixes bug #373792]
  1334. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  1335. * ListBindingHelper.cs: Actually implement GetListName method.
  1336. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  1337. * BindingSource.cs: Throw the propert expceptions for some methods, as
  1338. well as detect the list item type for Add method if DataSource is null.
  1339. 2008-03-25 Jonathan Pobst <[email protected]>
  1340. * DataGridViewCell.cs: I don't know why I commented this out,
  1341. putting it back for now.
  1342. 2008-03-25 Jonathan Pobst <[email protected]>
  1343. * DataGridViewCell.cs: Remove storage for owning column, just
  1344. use column index.
  1345. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  1346. * DataGridViewColumnHeaderCell.cs: If the header text has been
  1347. explicitly set, return it.
  1348. [Fixes bug #325979]
  1349. 2008-03-25 Jonathan Pobst <[email protected]>
  1350. * DataGridViewRowCollection.cs: Disable row sharing when
  1351. using data binding. Its a great feature, but lets work on
  1352. getting DGV usable first before we worry about optimizations.
  1353. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  1354. * BindingSource.cs: When resetting our internal list, compute list
  1355. item type information to be used for indirect list access. Also
  1356. implement/tune some properties and methods related to the list access
  1357. too.
  1358. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  1359. BindingSource.
  1360. 2008-03-24 Jonathan Pobst <[email protected]>
  1361. * DataGridView.cs: If RowCount is increased while ColumnCount
  1362. is zero, add a column. [Fixes bug #331649]
  1363. 2008-03-24 Jonathan Pobst <[email protected]>
  1364. * DataGridViewRowCollection.cs: When adding new rows for
  1365. databinding, make sure they are place before the add row.
  1366. [Fixes bug #343961]
  1367. 2008-03-24 Jonathan Pobst <[email protected]>
  1368. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  1369. instead of Index order.
  1370. 2008-03-24 Jonathan Pobst <[email protected]>
  1371. * DataGridView.cs: If columns are added by increasing ColumnCount,
  1372. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  1373. [Fixes bug #325588]
  1374. 2008-03-24 Jonathan Pobst <[email protected]>
  1375. * DataGridView.cs: Turn off and on the "new row" when
  1376. AllowUserToAddRows is toggled. When the handle is created,
  1377. set current cell and selected cell/row/col.
  1378. 2008-03-24 Jonathan Pobst <[email protected]>
  1379. * ComboBox.cs: When navigating the drop down by keyboard, we
  1380. need to scroll the list box if our selection moves out of the
  1381. currently shown items. [Fixes bug #371990]
  1382. 2008-03-24 Luke Page <[email protected]>
  1383. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  1384. on the control. Also now handles unicode compatibility characters and
  1385. stores the unicode compatibility length on the stack. Fixes Bugs
  1386. #355198 and #366436.
  1387. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  1388. * BindingSource..cs: Take into account DataMember when re-creating the
  1389. List property, and also create a specific kind of list as needed.
  1390. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  1391. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  1392. get an empty IEnumerable, try to detect whether the datamember is
  1393. valid or not for that type, if true, return null, and throw exception
  1394. otherwise.
  1395. 2008-03-22 Jonathan Pobst <[email protected]>
  1396. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  1397. retract it. [Fixes bug #371989]
  1398. 2008-03-22 Ivan N. Zlatev <[email protected]>
  1399. * PropertyGrid.cs: Initialize the sorting button as pushed.
  1400. 2008-03-22 Ivan N. Zlatev <[email protected]>
  1401. * PropertyGrid.cs:
  1402. - Visually select the PropertyTab.
  1403. - Filter Properties by Attributes properly.
  1404. 2008-03-21 Jonathan Pobst <[email protected]>
  1405. * MenuItem.cs: Remove menu item from parent when disposed.
  1406. [Fixes bug #372845]
  1407. 2008-03-21 Jonathan Pobst <[email protected]>
  1408. * ToolBar.cs: Don't reset layout_type if Dock = None.
  1409. 2008-03-21 Andreia Gaita <[email protected]>
  1410. * UserControl.cs: Select the first available control when we get focus.
  1411. Fixes #372616
  1412. 2008-03-21 Jonathan Pobst <[email protected]>
  1413. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  1414. the content if we are in edit mode. [Fixes bug #343964]
  1415. 2008-03-21 Jonathan Pobst <[email protected]>
  1416. * DataGridViewCell.cs: Fix border painting for column headers.
  1417. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  1418. * BindingSource.cs: When setting or resetting data source,
  1419. use ListBindingHelper.GetList () method, since it will get the list in
  1420. case datasource is IListSource.
  1421. 2008-03-20 Jonathan Pobst <[email protected]>
  1422. * DataGridViewCell.cs: Implement lots more stuffs.
  1423. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1424. * PropertyGridView.cs, GridEntry.cs: Implement support for
  1425. UITypeEditor.IsDropDownResizable.
  1426. 2008-03-20 Jonathan Pobst <[email protected]>
  1427. * DataGridViewCell.cs: Remove unused variables, improve how
  1428. several of the property getters work.
  1429. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  1430. get its size from the parent row/col.
  1431. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1432. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  1433. user alters manually the PropertyTabs collection via the
  1434. PropertyTabs property.
  1435. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  1436. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  1437. new tests for them to be sure to be compatible with .net.
  1438. 2008-03-20 Andreia Gaita <[email protected]>
  1439. * WebBrowserBase.cs: Fix attributes, add events
  1440. * WebBrowser.cs: Fix Padding signature
  1441. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1442. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  1443. 2008-03-19 Jonathan Pobst <[email protected]>
  1444. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  1445. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  1446. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  1447. passes the new suite of tests for it.
  1448. 2008-03-18 Andreia Gaita <[email protected]>
  1449. * WebBrowser.cs: Add missing attributes, missing Padding and
  1450. DefaultSize properties, remove extraneous getters
  1451. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  1452. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  1453. method overloads.
  1454. 2008-03-16 Jonathan Pobst <[email protected]>
  1455. * ComboBox.cs: Move resetting the selected index to keypress
  1456. instead of textchanged. Changing the text programmatically
  1457. should not trigger resetting the selected index. Fixes test.
  1458. 2008-03-16 Jonathan Pobst <[email protected]>
  1459. * ComboBox.cs: When the user types into the textbox, reset
  1460. the selected index to -1. [Fixes bug #371672]
  1461. 2008-03-16 Jonathan Pobst <[email protected]>
  1462. * FileDialog.cs: Support Control-A for selecting everything
  1463. in an OpenFileDialog. [Fixes bug #371564]
  1464. 2008-03-15 Jonathan Pobst <[email protected]>
  1465. * DataGridView.cs: When row/column visible/height properties
  1466. change, invalidate. Take the NIEX out of InvalidateRow/Column
  1467. etc. We don't support them yet, but we can just invalidate
  1468. everything until we do support them. (Added MonoTODO). Set
  1469. proper control styles.
  1470. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  1471. are turned off.
  1472. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  1473. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  1474. 2008-03-14 Jonathan Pobst <[email protected]>
  1475. * DataGridViewRow.cs: Only paint the white background in
  1476. cell bounds, the row bounds extends past the cells if the
  1477. grid width isn't as wide as the DGV.
  1478. 2008-03-14 Jonathan Pobst <[email protected]>
  1479. * DataGridView*: Completely revamp the drawing to match the
  1480. public API. Our grids now look better, and call all the
  1481. appropriate methods and event to allow users to override
  1482. the painting and do their own.
  1483. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  1484. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  1485. 2008-03-13 Jonathan Pobst <[email protected]>
  1486. * DataGridView.cs: Implement BorderStyle.
  1487. 2008-03-13 Jonathan Pobst <[email protected]>
  1488. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  1489. are comparing attributes, make sure we only look at the
  1490. one we are interested. These calls were failing if there
  1491. were more than one attribute.
  1492. [Fixes bug #370385]
  1493. 2008-03-13 Jonathan Pobst <[email protected]>
  1494. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  1495. 2008-03-12 Jonathan Pobst <[email protected]>
  1496. * PageSetupDialog.cs: Stub EnableMetric.
  1497. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  1498. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  1499. ProcessTabKey.
  1500. 2008-03-12 Jonathan Pobst <[email protected]>
  1501. * MonthCalendar.cs: Remove unused variable.
  1502. 2008-03-12 Jonathan Pobst <[email protected]>
  1503. * DataGridView*.cs: corcompare stuffs.
  1504. 2008-03-11 Jonathan Pobst <[email protected]>
  1505. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  1506. The savings aren't worth the extra code to fix the optimization.
  1507. [Fixes bug #368585]
  1508. 2008-03-11 Jonathan Pobst <[email protected]>
  1509. * ToolBar.cs: Always call base.Dock in the Dock override so that
  1510. Control's layout_type gets reset correctly.
  1511. [Fixes bug #368882]
  1512. 2008-03-11 Ivan N. Zlatev <[email protected]>
  1513. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  1514. 2008-03-11 Jonathan Pobst <[email protected]>
  1515. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  1516. at the same time we do explicit ones, because we have to give all
  1517. other controls on the container a chance to handle explicit ones
  1518. first. If no one has an explicit mnemonic, then we can let the
  1519. MenuStrip have a shot at implicit mnemonics.
  1520. * MenuStrip.cs: Create an implicit mnemonic function.
  1521. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  1522. mnemonics for MenuStrips.
  1523. [Fixes bug #368493]
  1524. 2008-03-11 Jonathan Pobst <[email protected]>
  1525. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  1526. DataGridColumnStyle.cs: corcompare stuffs.
  1527. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  1528. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  1529. Details - This is needed after we added the bits to use any available
  1530. column also for List and SmallIcon view.
  1531. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  1532. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  1533. at the proper place, not only when changing SelectedIndex and changing
  1534. the selection using keys/mouse, as .net does.
  1535. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  1536. * ControlBindingsCollection.cs: Implement last 2.0
  1537. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  1538. in the new 2.0 Add methods.
  1539. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  1540. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  1541. return if no items are previously selected - this is done to avoid
  1542. firing OnSelectedIndexChanged without need to do so. Also,
  1543. when creating handle ensure that the focused item is visible (as
  1544. .net does).
  1545. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  1546. * ListBox.cs: Rewrote/refactored most of selection code. We require
  1547. the following things in selection: a) keep selection sorted (both
  1548. indices and items), b) SelectedIndices automatically detect the
  1549. selection mode, c) SelectedIndex should be the first selected item
  1550. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  1551. not only for SelectedIndex, which is specially important in Multi*
  1552. selection modes. To achieve this we are moving the selection core to
  1553. SelectedIndexCollection and make depend all selection modifications on
  1554. it.
  1555. Fixes #366438.
  1556. 2008-03-06 Jonathan Pobst <[email protected]>
  1557. * ToolStrip.cs: Enable implicit mnemonics for drop down
  1558. menu strips. [Fixes part of bug #367692]
  1559. 2008-03-06 Jonathan Pobst <[email protected]>
  1560. corcompare - fix parameter names [stragglers].
  1561. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  1562. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  1563. TabControl.cs.
  1564. 2008-03-06 Jonathan Pobst <[email protected]>
  1565. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  1566. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  1567. mnemonic, let the ToolStripManager have it even if it doesn't
  1568. have a matching mnemonic.
  1569. [Fixes bug #367499]
  1570. 2008-03-06 Jonathan Pobst <[email protected]>
  1571. corcompare - fix warning about implicit implementation
  1572. * ToolStrip.cs: Add IToolStripData interface.
  1573. * IToolStripData.cs: Add.
  1574. 2008-03-06 Jonathan Pobst <[email protected]>
  1575. corcompare - fix warning about implicit implementation
  1576. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  1577. * IBounds.cs: Add.
  1578. 2008-03-05 Jonathan Pobst <[email protected]>
  1579. corcompare - fix parameter names [N-Z].
  1580. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  1581. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  1582. PropertyManager.cs, RichTextBox.cs,
  1583. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  1584. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  1585. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  1586. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  1587. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  1588. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  1589. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  1590. ToolStripPanel.cs, ToolStripSeparator.cs,
  1591. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  1592. UICuesEventHandler.cs, UpDownBase.cs.
  1593. 2008-03-05 Jonathan Pobst <[email protected]>
  1594. corcompare - fix parameter names [G-M].
  1595. GridColumnStylesCollection.cs, GridItemCollection.cs,
  1596. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  1597. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  1598. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  1599. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  1600. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  1601. 2008-03-05 Jonathan Pobst <[email protected]>
  1602. corcompare - fix parameter names [A-F].
  1603. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  1604. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  1605. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  1606. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  1607. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  1608. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  1609. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  1610. 2008-03-03 Ivan N. Zlatev <[email protected]>
  1611. * GridEntry.cs: Do not convert not only if the types match,
  1612. but also if the property type is assigneable from the value's
  1613. type.
  1614. [Fixes bug #366566]
  1615. 2008-03-03 Ivan N. Zlatev <[email protected]>
  1616. * PropertyGridView.cs:
  1617. - Subscribe to the listbox only once and not everytime.
  1618. - Update the textbox even if SetValue fails.
  1619. - Close the listbox before calling TrySetValue just in case.
  1620. [Fixes bug #366569]
  1621. 2008-03-03 Jonathan Pobst <[email protected]>
  1622. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  1623. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  1624. * ListView.cs: Implement support for custom column width based on
  1625. Columns collection (we were previously using this collection only
  1626. with Details view).
  1627. Fixes #364484.
  1628. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  1629. * ListViewItem.cs: For Tile view, always set bounds for the first
  1630. subitem (which is the main one), and also don't let Width be larger
  1631. than ListView.TileSize.Width. Improve code readibility also.
  1632. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  1633. in Tile view, _always_ use the NoWrap flag.
  1634. Fixes #360798.
  1635. 2008-02-29 Ivan N. Zlatev <[email protected]>
  1636. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  1637. in case.
  1638. * GridEntry.cs: For MS compitability make all child properties
  1639. readonly if the parent is readonly. Ugh.
  1640. [Fixes bug #365945 and #365944]
  1641. 2008-02-29 Andreia Gaita <[email protected]>
  1642. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  1643. relative to the history
  1644. 2008-02-29 Andreia Gaita <[email protected]>
  1645. * HtmlElement.cs: More handlers for mouse and key events
  1646. 2008-02-28 Andreia Gaita <[email protected]>
  1647. * WebBrowserBase.cs: MouseClick sig changed.
  1648. * HtmlHistory.cs: Implement history navigation
  1649. * HtmlElement.cs: Add event handlers, and connect them.
  1650. 2008-02-28 Ivan N. Zlatev <[email protected]>
  1651. * GridEntry.cs:
  1652. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  1653. so that DisplayNameAttribute doesn't get ignored.
  1654. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  1655. - Add support for PasswordPropertyTextAttribute
  1656. * PropertyGridView.cs: Check if an entry is a password.
  1657. [Fixes bugs #365589, #365586, #365588]
  1658. 2008-02-28 Andreia Gaita <[email protected]>
  1659. * PropertyGridView.cs: Revert the message filtering change, as we
  1660. need it to block after all. Remove block parameter, unnecessary.
  1661. 2008-02-27 Jonathan Pobst <[email protected]>
  1662. * UserControl.cs: Better implementation of GetPreferredSize.
  1663. First step to fixing bug #361441.
  1664. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  1665. * Binding.cs: Actually implement data binding support for
  1666. classes implementing IBindableComponent.
  1667. * ControlBindingsCollection.cs: Likewise.
  1668. 2008-02-26 Andreia Gaita <[email protected]>
  1669. * PropertyGridView.cs: Use a message filter to check when to
  1670. close the dropdown
  1671. 2008-02-26 Andreia Gaita <[email protected]>
  1672. * Application.cs: Change the message_filters loop so a filter
  1673. can be removed while looping.
  1674. 2008-02-26 Ivan N. Zlatev <[email protected]>
  1675. * GridEntry.cs: Optimization in ToggleValue so that it caches
  1676. the current value.
  1677. * PropertyGridView.cs: An optimization so that the property isn't
  1678. re-read twice for each StandardValue added to the drop-down menu.
  1679. Patch by Andy Hume <[email protected]> under the MIT/X11
  1680. license.
  1681. [Fixes bug #362755]
  1682. 2008-02-26 Jonathan Pobst <[email protected]>
  1683. * Application.cs: Apply patch from Justin Cherniak to match
  1684. MS better for ProductName, ProductVersion, and CompanyName.
  1685. [Fixes bug #361709]
  1686. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  1687. * Binding.cs: Actually implement 2.0 NullValue property. Also
  1688. when changing the formatting related properties, only update the state
  1689. if formatting_enabled is true (we don't mind otherwise).
  1690. 2008-02-25 Jonathan Pobst <[email protected]>
  1691. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  1692. [Fixes bug #364486]
  1693. 2008-02-25 Ivan N. Zlatev <[email protected]>
  1694. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  1695. of GetType on the current value as it uses reflection to
  1696. determine the type. This fixes the case where the new value is
  1697. null.
  1698. 2008-02-25 Ivan N. Zlatev <[email protected]>
  1699. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  1700. past the view.
  1701. 2008-02-24 Luke Page <[email protected]>
  1702. * Line.cs, TextControl.cs: Implement offset x and y so that a
  1703. document doesn't have to begin at (0,0) on the viewpoint.
  1704. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  1705. bars and switches the text alignment (and therefore is now
  1706. implemented for textbox). Fixes #321383.
  1707. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  1708. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  1709. properties. Also when changing FormattingEnabled update the control
  1710. property -as .Net does-.
  1711. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  1712. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  1713. * Binding.cs: Add stubs for the overloads of the Add method in
  1714. CBCollection.
  1715. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  1716. * Binding.cs: PullData () returns a false value if we got an exception.
  1717. Also when validating the control and we get an error, instead of
  1718. setting the value of the previous one, cancel the event (tested in 1.1
  1719. and 2.0).
  1720. 2008-02-22 Jonathan Pobst <[email protected]>
  1721. * TreeView.cs: Make selected_node and highlighted_node internal.
  1722. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  1723. to null when Nodes.Clear is called.
  1724. [Fixes bug #363884]
  1725. 2008-02-21 Jonathan Pobst <[email protected]>
  1726. * FontDialog.cs: Ensure that when the Font is set in code,
  1727. all the gui pieces are updated accordingly.
  1728. [Fixes bug #361020]
  1729. 2008-02-21 Jonathan Pobst <[email protected]>
  1730. * TextRenderer.cs: Respect proposed size for MeasureString.
  1731. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  1732. autosize, use a proposed width to force wrapping for long text.
  1733. [Fixes bug #360981]
  1734. 2008-02-21 Jonathan Pobst <[email protected]>
  1735. * TreeView.cs: Factor in checkboxes = false and state images in
  1736. to HitTest. [Fixes bug #363360]
  1737. 2008-02-21 Jonathan Pobst <[email protected]>
  1738. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  1739. when drawing the selected range.
  1740. [Fixes bug #363648]
  1741. 2008-02-21 Jonathan Pobst <[email protected]>
  1742. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  1743. ResizeRedraw control styles.
  1744. [Fixes bug #363555]
  1745. 2008-02-20 Jonathan Pobst <[email protected]>
  1746. * TreeView.cs: StateImages are basically custom checkboxes, so
  1747. factor their size the same as real checkboxes when determining
  1748. what got clicked.
  1749. [Fixes bug #363367]
  1750. 2008-02-20 Jonathan Pobst <[email protected]>
  1751. * MessageBox.cs: Make the message box wider if the form caption
  1752. is longer than the text in the form.
  1753. [Fixes bug #361137]
  1754. 2008-02-20 Ivan N. Zlatev <[email protected]>
  1755. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  1756. 2008-02-20 Jonathan Pobst <[email protected]>
  1757. * TreeNode.cs: Guard against an NRE when the parent's
  1758. StateImageList hasn't been set.
  1759. [Fixes bug #363353]
  1760. 2008-02-20 Jonathan Pobst <[email protected]>
  1761. * SplitContainer.cs: Add SupportsTransparentBackColor and
  1762. OptimizedDoubleBuffering control styles.
  1763. [Fixes bug #363303]
  1764. 2008-02-20 Jonathan Pobst <[email protected]>
  1765. * Application.cs: For the app data paths and the registry key paths,
  1766. ensure they are created before returning them to the user.
  1767. [Fixes bug #361709]
  1768. 2008-02-20 Jonathan Pobst <[email protected]>
  1769. * Application.cs: Guard against an NRE in CompanyName and
  1770. ProductName.
  1771. 2008-02-20 Jonathan Pobst <[email protected]>
  1772. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  1773. make sure we handle all three cases correctly: attribute is present,
  1774. attribute is present but is an empty string, and attribute is not
  1775. present.
  1776. 2008-02-20 Ivan N. Zlatev <[email protected]>
  1777. * PropertyGridView.cs:
  1778. - Fix a NRE that caused a test failure
  1779. - Another performance improvement - cache the standard values
  1780. listbox.
  1781. 2008-02-19 Jonathan Pobst <[email protected]>
  1782. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  1783. code paths.
  1784. 2008-02-19 Ivan N. Zlatev <[email protected]>
  1785. * PropertyGridView.cs: Fix a big performance bug.
  1786. 2008-02-19 Jonathan Pobst <[email protected]>
  1787. * SelectionRange.cs: Apply patch from Andy Hume to make
  1788. constructor behavior more accurate. [Fixes bug #362117]
  1789. 2008-02-19 Andreia Gaita <[email protected]>
  1790. * Control.cs: Added a new flag is_disposing to track if the
  1791. window is currently in the process of being disposed of.
  1792. This is used so that, when firing visibility changes triggered
  1793. by unparenting controls during Dispose, the control doesn't
  1794. get created again.
  1795. 2008-02-19 Jonathan Pobst <[email protected]>
  1796. * ComboBox.cs: Set height to preferred height when the handle
  1797. is created. [Fixes bug #360862]
  1798. 2008-02-18 Andreia Gaita <[email protected]>
  1799. * XplatUIX11.cs: Create FosterParent with border width at 0.
  1800. With the previous value of 4, everytime a control got reparented
  1801. from parent = null, it's location would be shifted right and
  1802. down by 4, since these coordinates would be offset by the
  1803. FosterParent's border width.
  1804. 2008-02-18 Ivan N. Zlatev <[email protected]>
  1805. * Control.cs: During diposing firstly remove ourselfes from
  1806. the parent and *then* destroy our handle, because removing
  1807. ourselfes from the parent controls collection causes
  1808. VisibilityChange, etc events, which require a handle and end
  1809. up recreating the control.
  1810. 2008-02-17 Ivan N. Zlatev <[email protected]>
  1811. * GridEntry.cs: Set expanded state before notifying that the
  1812. expansion has taken place.
  1813. * PropertyGridView.cs:
  1814. - Set the propertygridtextbox text to the selected
  1815. StandardValue before proceeding to setting it.
  1816. - Scrolling bugfixes.
  1817. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1818. * GridEntry.cs:
  1819. - Fix ValueText to not return null.
  1820. - Fix conversion error reporting to actually happen.
  1821. * PropertyGridView.cs: Set entry only if the text has changed.
  1822. [Fixes bug #362116]
  1823. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1824. * GridEntry.cs:
  1825. - Fix handling of a null current value.
  1826. - Swallow editor exceptions.
  1827. [Fixes bug #362114]
  1828. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1829. * PropertyGrid.cs: Clear current items first thing before
  1830. repopulating subitems.
  1831. * GridEntry.cs:
  1832. - Handle null StandardValuesCollection.
  1833. - Mark as not editable if there is no PropertyDescriptor and
  1834. if the Converter cannot convert from string.
  1835. [Part of fix for bugs #360666 and #358332]
  1836. 2008-02-15 Luke Page <[email protected]>
  1837. * MaskedTextBox.cs: Now skips non editable characters after a
  1838. character has been entered and we are progressing to the next
  1839. position in the MaskedTextBox.
  1840. 2008-02-15 Luke Page <[email protected]>
  1841. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  1842. that it changes the selection rather than just repositioning the
  1843. cursor. Fixes Bug #360873.
  1844. 2008-02-15 Luke Page <[email protected]>
  1845. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  1846. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  1847. correctly. See #359330
  1848. 2008-02-15 Andreia Gaita <[email protected]>
  1849. * XplatUIX11.cs: If the handle is null when posting a message, use the
  1850. current thread queue to post instead. Fixes #332409
  1851. * SendKeys.cs: Slight optimization
  1852. 2008-02-14 Ivan N. Zlatev <[email protected]>
  1853. * PropertyGrid.cs, PropertyGridView.cs:
  1854. Fix multiple scrolling and sizing issues.
  1855. [Fixes bug #359199]
  1856. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1857. * PropertyGridView.cs: Ensure that drop down editors are shown
  1858. in the WorkingArea of the screen.
  1859. [Fixes bug #359807]
  1860. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1861. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  1862. [Fixes bug #360666]
  1863. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  1864. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  1865. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1866. * PropertyGridView.cs:
  1867. - Clear the controls in the drop down form after it is hidden.
  1868. - Fix Width sizing of the dropdown editors to match MSFT.
  1869. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1870. * PropertyGridView.cs:
  1871. - Fix height for drawing the grid entry
  1872. text value, so that it clips multiline text properly.
  1873. - Fix unfocusing to match MSFT.
  1874. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1875. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  1876. Fixes a bug where on repopulation after value changed items become
  1877. expandable.
  1878. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  1879. * Binding.cs: For the 2.0 profile, look for a
  1880. 'PropertyChanged' event in the target control, and add checks for
  1881. DataSourceUpdateMode property to change -or not- the data source
  1882. from validation/control property change.
  1883. 2008-02-10 Atsushi Enomoto <[email protected]>
  1884. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  1885. not compare struct with null in 2.0).
  1886. 2008-02-10 Luke Page <[email protected]>
  1887. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  1888. updates the provider and if not using a provider, uses the internal document
  1889. class implementation of password char. Also when showing text, uses display string
  1890. from the provider, instead of the actual text.
  1891. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1892. * Binding.cs: Ooooops, forgot to take into account the data_source
  1893. and binding_member_info null case (it was breaking the Binding tests).
  1894. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1895. * Binding.cs: Implement support for data source changes exposed by
  1896. 'PropertyNameChanged' events, and update the control property as
  1897. needed.
  1898. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1899. * Binding.cs: Implement 2.0 WriteValue method.
  1900. 2008-02-08 Jonathan Pobst <[email protected]>
  1901. Commit patch from James Purcell for better AutoScale implementation:
  1902. * ScaleControl should call GetScaledBounds with the control's total size rather
  1903. than client size. GetScaledBounds should handle ignoring the borders in its
  1904. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  1905. (for the most part they just call the base code now since that is fixed).
  1906. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  1907. without having to override ScaleChildren (since none of .NET's controls do).
  1908. This is required for most controls in Mono that have scrollbars to prevent the
  1909. scrollbars from being moved/resized.
  1910. * Nested ContainerControls can have a different scale mode than their parent.
  1911. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  1912. designer produce different results both of which look incorrect).
  1913. * Default AutoScaleMode for ContainerControl should be Inherit.
  1914. * Simplified workaround for ComboBox scaling issue.
  1915. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  1916. 1.0 style auto scaling should scale the whole control's size instead of
  1917. ignoring the borders (except for Form) and the rounding is done differently to
  1918. preserve control alignment.
  1919. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  1920. GetAutoScaleSize.
  1921. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  1922. * CurrentAutoScaleDimensions should round the estimated character width instead
  1923. of truncating.
  1924. * ListBox's GetScaledBounds should always use the height it was set to instead
  1925. of the height that was passed in. This prevents rounding errors from
  1926. accumulating quickly with IntegralHeight.
  1927. [Bug #359098]
  1928. 2008-02-08 Andreia Gaita <[email protected]>
  1929. * Form.cs: Add a null check (darn it).
  1930. 2008-02-08 Jonathan Pobst <[email protected]>
  1931. * MdiClient.cs: Make sure the requesting form actually owns the
  1932. control menu items before removing them. Also, use
  1933. Suspend/ResumeLayout when adding or removing items so we only
  1934. layout once.
  1935. [Fixes bug #359887]
  1936. 2008-02-08 Jonathan Pobst <[email protected]>
  1937. * Control.cs: Guard against an NRE in ShowFocusCues.
  1938. [Fixes bug #359830]
  1939. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1940. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  1941. property, as well as stubbing DataSourceUpdateMode.
  1942. 2008-02-08 Andreia Gaita <[email protected]>
  1943. * Form.cs: When closing forms, get focus back to the active control of the
  1944. active form. [Fixes #341314, corner case]
  1945. 2008-02-07 Jonathan Pobst <[email protected]>
  1946. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  1947. area, so any old scrollbar artifacts are cleaned up.
  1948. [Fixes bug #336305]
  1949. 2008-02-07 Jonathan Pobst <[email protected]>
  1950. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  1951. for our menus, display that control box menu instead of the 1.1
  1952. menu one.
  1953. 2008-02-07 Jonathan Pobst <[email protected]>
  1954. * MdiControlStrip.cs: Add property to access the mdi form tied to
  1955. each toolstripitem.
  1956. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  1957. to the implicitly merged menu. Every time we clicked the form, items
  1958. were getting removed and the re-added, causing the form to jump around
  1959. as the menu resized.
  1960. 2008-02-07 Jonathan Pobst <[email protected]>
  1961. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  1962. was being reset by the implicit menu merge for menustrips.
  1963. [Fixes bug #336296]
  1964. 2008-02-07 Jonathan Pobst <[email protected]>
  1965. * Form.cs: Don't do the previous change when WindowState = Normal,
  1966. or it messes up where the window is placed. Fixes test failure.
  1967. 2008-02-07 Jonathan Pobst <[email protected]>
  1968. * Form.cs: When becoming visible, if we are an MDI child, call
  1969. SetWindowState with a dummy old_state so that changes will actually
  1970. be made.
  1971. [Fixes the 2nd part of bug #325473]
  1972. 2008-02-07 Andreia Gaita <[email protected]>
  1973. * Control.cs: Reset properties to their pre parent-change values in case
  1974. the new parent == null (in which case we're basically removing the control,
  1975. and don't want any events fired due to fake property changes)
  1976. [Fixes #355850]
  1977. 2008-02-06 Ivan N. Zlatev <[email protected]>
  1978. * PropertyGridView.cs:
  1979. - Refactor SetValue to allow setting the value
  1980. when a custom editor is used, but the entry is not editable.
  1981. - Remove the custom editor control on CloseDropDown.
  1982. [Fixes #359196]
  1983. 2008-02-06 Andreia Gaita <[email protected]>
  1984. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  1985. reflection only on 1.1, this property is public on system.drawing on 2.0.
  1986. Fixed #359247
  1987. 2008-02-06 Andreia Gaita <[email protected]>
  1988. * WebBrowser.cs: Do a normal page refresh by default.
  1989. 2008-02-05 Andreia Gaita <[email protected]>
  1990. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  1991. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  1992. platforms. Fixes #359036
  1993. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  1994. platform-specific flags.
  1995. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  1996. * Binding.cs: Add 2.0 BindableComponent property - just return control
  1997. by now.
  1998. 2008-02-05 Everaldo Canuto <[email protected]>
  1999. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  2000. Jonathan for this patch. Fixes #358442.
  2001. 2008-02-05 Jonathan Pobst <[email protected]>
  2002. * Form.cs: If we change the active MDI child form, let the others
  2003. know they need to repaint their title bar so it will appear inactive.
  2004. [Fixes part 1 of bug #325473]
  2005. 2008-02-05 Ivan N. Zlatev <[email protected]>
  2006. * PropertyGridView.cs: Do not trucate custom editors' width
  2007. and align them to the left.
  2008. [Fixes #358353 and #358349]
  2009. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  2010. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  2011. Also fix the arguments passed to CollectionChangeEventArgs in the
  2012. related methods.
  2013. 2008-02-04 Geoff Norton <[email protected]>
  2014. * Hwnd.cs: The conversion to Quartz coordinates happens in
  2015. System.Drawing. Removing this translation from here.
  2016. 2008-02-04 Ivan N. Zlatev <[email protected]>
  2017. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  2018. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  2019. GridItemCollection.cs:
  2020. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  2021. 2008-02-04 Geoff Norton <[email protected]>
  2022. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  2023. SYSKEYUP if any other key has been pressed in the mean time.
  2024. Fixes #324404
  2025. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  2026. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  2027. when the item in current position is different than 0. Also, save the
  2028. item index in the beginning of the operation, instead of getting the
  2029. index of the item when the event is actually performed. Lastly clean
  2030. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  2031. triggered.
  2032. [Fixes #357873]
  2033. 2008-02-03 Jonathan Pobst <[email protected]>
  2034. * Form.cs: Alt-Minus for MDI children system menu should work
  2035. with both the minus keys on the keyboard.
  2036. [Fixes bug #336295]
  2037. 2008-02-03 Jonathan Pobst <[email protected]>
  2038. * Control.cs: Don't invalidate on region change. The WM should
  2039. take care of this automagically. Keeps us out of an infinite
  2040. paint loop if someone changes the Region in the OnPaint.
  2041. [Fixes bug #358327]
  2042. 2008-02-04 Ivan N. Zlatev <[email protected]>
  2043. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  2044. 2008-02-03 Jonathan Pobst <[email protected]>
  2045. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  2046. down the MonthCalendar only on F4, not Alt+F4.
  2047. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  2048. [Fixes bug #358340]
  2049. 2008-02-03 Jonathan Pobst <[email protected]>
  2050. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  2051. if its part of a DateTimePicker, else, use the back color.
  2052. [Fixes bug #358339]
  2053. 2008-02-03 Jonathan Pobst <[email protected]>
  2054. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  2055. [Fixes bug #358342]
  2056. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  2057. * CurrencyManager.cs: When we get a ListChanged event from our source,
  2058. always fire our own ListChanged event, as .Net does.
  2059. 2008-02-03 Luke Page <[email protected]>
  2060. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  2061. #358379.
  2062. 2008-02-03 Luke Page <[email protected]>
  2063. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  2064. property. Removed if for richtext property that was always true.
  2065. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  2066. 2008-02-03 Luke Page <[email protected]>
  2067. * TextBoxBase.cs - commited patch from James Purcell that
  2068. correctly sets the FixedHeight control style when the MultiLine
  2069. property is changed on a TextBox control. Fixes bug 358229.
  2070. 2008-02-02 Luke Page <[email protected]>
  2071. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  2072. Fixes bug 351938 - caret is positioned correctly when drawn
  2073. and when calculating textual position of caret, no longer
  2074. has a NRE in certain situations.
  2075. 2008-02-01 Geoff Norton <[email protected]>
  2076. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  2077. get that region removed from the paint event.
  2078. * XplatUICarbon.cs: Remove the window mapping after disposing of
  2079. window. Prevents a crash with handle reuse. Optimize exposes
  2080. only onto visible windows (rare; but possible).
  2081. 2008-02-01 Jonathan Pobst <[email protected]>
  2082. * UpDownBase.cs: Make sure the internal textbox calls the base's
  2083. OnMouseDown and OnMouseUp so the textbox will function correctly.
  2084. There were notes saying it doesn't chain up, but its an internal
  2085. class, so our implementation may differ.
  2086. [Fixes bug #357482]
  2087. 2008-02-01 Jonathan Pobst <[email protected]>
  2088. * ListBox.cs: Fix a logic error and don't process MouseDown
  2089. for mouse buttons other than Left.
  2090. 2008-02-01 Jonathan Pobst <[email protected]>
  2091. * Control.cs: Remove HeightInternal.
  2092. * ListBox.cs: Commit patch from James Purcell that correctly
  2093. calculates heights for ListBoxen.
  2094. [Fixes bug #357152]
  2095. 2008-02-01 Jonathan Pobst <[email protected]>
  2096. * Label.cs: Apply patch from James Purcell that corrects the
  2097. signature of the AutoSize property.
  2098. [Fixes bug #357605]
  2099. 2008-02-01 Jonathan Pobst <[email protected]>
  2100. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  2101. other than the left mouse button.
  2102. 2008-01-31 Jonathan Pobst <[email protected]>
  2103. * Control.cs: Remove my awesome optimization as it caused some
  2104. regressions with control ordering. :(
  2105. [Fixes bug #357467]
  2106. 2008-01-31 Ivan N. Zlatev <[email protected]>
  2107. * PropertyGridView.cs: Fix a NRE on double click when there is no
  2108. selected object.
  2109. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  2110. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  2111. 2008-01-30 Jonathan Pobst <[email protected]>
  2112. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  2113. [Fixes bug #357146]
  2114. 2008-01-29 Jonathan Pobst <[email protected]>
  2115. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  2116. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  2117. instead of Hwnd.bmp_g.
  2118. 2008-01-29 Jonathan Pobst <[email protected]>
  2119. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  2120. Use the Hwnd one instead.
  2121. 2008-01-29 Jonathan Pobst <[email protected]>
  2122. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  2123. 2008-01-29 Jonathan Pobst <[email protected]>
  2124. * Form.cs: corcompare for RestoreBounds.
  2125. 2008-01-29 Jonathan Pobst <[email protected]>
  2126. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  2127. 2008-01-29 Jonathan Pobst <[email protected]>
  2128. * Form.cs: Handle Alt-Minus for MDI children forms.
  2129. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  2130. Add mnemonics to the control menu.
  2131. [Fixes bug #336295]
  2132. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  2133. * Binding.cs: Initial implementation bits of FormattingEnabled
  2134. property and BindingComplete event (2.0).
  2135. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  2136. and exception.
  2137. 2008-01-28 Jonathan Pobst <[email protected]>
  2138. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  2139. table.Location. [Fixes bug #354672]
  2140. 2008-01-28 Jonathan Pobst <[email protected]>
  2141. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  2142. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  2143. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  2144. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  2145. of doing all the re-bound work, just invalidate and call SetControlText
  2146. to set the updated text of selected item to our textbox.
  2147. Fixes #333750.
  2148. 2008-01-28 Andreia Gaita <[email protected]>
  2149. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  2150. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  2151. missing properties and methods. Add Load, Unload, Error, GotFocus,
  2152. LostFocus, Resize, Scroll events (only load and unload are connected)
  2153. 2008-01-27 Gert Driesen <[email protected]>
  2154. * AccessibleObject.cs: Modified argument names to match MS.
  2155. * Button.cs: Modified argument names to match MS.
  2156. * BindingContext.cs: Modified argument names to match MS.
  2157. * BindingMemberInfo.cs: Modified argument names to match MS.
  2158. * ButtonBase.cs: Modified argument names to match MS.
  2159. * ComboBox.cs: Modified argument names to match MS.
  2160. * Control.cs: Modified argument names to match MS.
  2161. * CheckedListBox.cs: Modified argument names to match MS.
  2162. * CommonDialog.cs: Modified argument names to match MS.
  2163. * DataGrid.cs: Modified argument names to match MS.
  2164. * CursorConverter.cs: Modified argument names to match MS.
  2165. * ControlPaint.cs: Modified argument names to match MS.
  2166. * CheckBox.cs: Modified argument names to match MS.
  2167. * ControlBindingsCollection.cs: Modified argument names to match MS.
  2168. * BindingSource.cs: Modified argument names to match MS.
  2169. * DataFormats.cs: Modified argument names to match MS.
  2170. * ContainerControl.cs: Modified argument names to match MS.
  2171. * CurrencyManager.cs: Modified argument names to match MS.
  2172. * Application.cs: Modified argument names to match MS.
  2173. * ContextMenuStrip.cs: Modified argument names to match MS.
  2174. * ContextMenu.cs: Modified argument names to match MS.
  2175. * BindingManagerBase.cs: Modified argument names to match MS.
  2176. * WindowsFormsSection.cs: Fixed line ending.
  2177. 2008-01-27 Andreia Gaita <[email protected]>
  2178. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  2179. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  2180. while.
  2181. 2008-01-26 Gert Driesen <[email protected]>
  2182. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  2183. MS. Code formatting.
  2184. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  2185. * Binding.cs: Don't avoid the Format event if the control
  2186. property type is object. Also, if the value retrieved by
  2187. the data source is null _and_ the control proeprty type
  2188. is object, return Convert.DBNull (match .Net).
  2189. Fixes part of #324286.
  2190. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  2191. * ListControl.cs: Since we are getting two BinginContextChanged events
  2192. for the same binding context instance (when the control is added to
  2193. form, and when the form is actually shown), take it into account only the
  2194. first time for a given binding context instance.
  2195. Fixes part of #324286.
  2196. 2008-01-26 Ivan N. Zlatev <[email protected]>
  2197. * PropertryGridView.cs: Ops.
  2198. 2008-01-26 Ivan N. Zlatev <[email protected]>
  2199. * PropertyGridView.cs: Close dropdown form if the owner form is
  2200. moved or minimized.
  2201. [Fixes bug #322446]
  2202. 2008-01-25 Ivan N. Zlatev <[email protected]>
  2203. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  2204. RootGridEntry.cs, CategoryGridEntry.cs:
  2205. PropertyGrid rewrite.
  2206. - Rewrite all of the control logic in PropertyGrid.
  2207. - Rewrite all of the ComponentModel logic in GridEntry.
  2208. - Rewrite all UI work in PropertyGridView.
  2209. - Many bugfixes, etc.
  2210. 2008-01-24 Jonathan Pobst <[email protected]>
  2211. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  2212. when all contained controls are autosize or dock-fill. Also take into
  2213. account when the total percentage of column/row sizes is not 100%.
  2214. [Fixes bug #354672]
  2215. 2008-01-24 Andreia Gaita <[email protected]>
  2216. * HtmlDocument.cs:
  2217. - Save a reference to the IDocument in the instance and
  2218. use that one instead of going to WebHost.Document; the document that the
  2219. WebHost returns might not be the right one (in case of frames).
  2220. - Use the hashcode returned from the IDocument interface.
  2221. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  2222. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  2223. LinkColor, Url, VisitedColor, Window
  2224. * HtmlElement.cs:
  2225. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  2226. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  2227. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  2228. SetAttribute, Equals, equality operators.
  2229. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  2230. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  2231. * HtmlElementCollection.cs: Change implementation to use a generic
  2232. collection. Implemented Enumerator and CopyTo
  2233. * HtmlHistory.cs: Add constructor, no implementation yet.
  2234. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  2235. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  2236. Equals, equality operators.
  2237. * HtmlWindowCollection.cs: Implemented.
  2238. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  2239. has been deprecated).
  2240. * WebBrowserBase.cs: Use Completed event to track document loading
  2241. (Navigated has been deprecated)
  2242. 2008-01-24 Jonatham Pobst <[email protected]>
  2243. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  2244. level MenuItems do not respect tabs.
  2245. [Fixes bug #355196]
  2246. 2008-01-23 Geoff Norton <[email protected]>
  2247. * XplatUICarbon.cs: Ensure that windows are created in their initial
  2248. FormWindowState. Finished fixing Fullscreen windows on Carbon
  2249. 2008-01-23 Everaldo Canuto <[email protected]>
  2250. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  2251. be used as grab_control. Also save status of capture before show ContextMenu
  2252. and restore it after close.
  2253. 2008-01-23 Everaldo Canuto <[email protected]>
  2254. * Control.cs: Internal FindRootParent method added to return high control
  2255. in parent tree.
  2256. 2008-01-23 Geoff Norton <[email protected]>
  2257. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  2258. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  2259. it work again. Handle HITTEST events.
  2260. 2008-01-23 Geoff Norton <[email protected]>
  2261. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  2262. a crash in certain cases. Support for fullscreen windows in certain cases.
  2263. 2008-01-23 Jonathan Pobst <[email protected]>
  2264. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  2265. [Fixes bug #355703]
  2266. 2008-01-23 Geoff Norton <[email protected]>
  2267. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  2268. 2008-01-23 Geoff Norton <[email protected]>
  2269. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  2270. 2008-01-23 Everaldo Canuto <[email protected]>
  2271. * SplitContainer.cs: Remove unused declarations.
  2272. * Binding.cs: Remove unused declarations.
  2273. 2008-01-23 Everaldo Canuto <[email protected]>
  2274. * Form.cs: Remove unused declaration of 'active' in Activate method.
  2275. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  2276. prevent compilation warnings.
  2277. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  2278. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  2279. * Bindings.cs: Remove unused formatting_enabled declaration.
  2280. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  2281. warnings.
  2282. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  2283. warnings.
  2284. * PropertyGridView.cs: Remove usused 'ex' declaration.
  2285. * DataGridView.cs: Remove unused declarations.
  2286. 2008-01-23 Everaldo Canuto <[email protected]>
  2287. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  2288. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  2289. to Control class, it makes possible to grab menu to controls that can't
  2290. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  2291. WmMouseMove removed since it was used only to track menu events.
  2292. * Control.cs:
  2293. - Moved all active_tracker stuff from Form.
  2294. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  2295. can call this method instead of reimplement all necessary code handle for
  2296. menu tracker.
  2297. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  2298. and WmMouseMove).
  2299. * MenuAPI.cs:
  2300. - Remove special handle to ToolStripOverflow, now we can grab menu to
  2301. controls that can't reach Form using parent tree.
  2302. - Change type of grab_control from Form to Control.
  2303. 2008-01-22 Geoff Norton <[email protected]>
  2304. * TextBoxBase.cs: Split up the sizing of controls and placing of
  2305. controls. Fixes a bug where scrollbars in Reflector could be sized
  2306. wrong and have non-working thumbers.
  2307. 2008-01-23 Geoff Norton <[email protected]>
  2308. * XplatUI.cs: Refactor environment variables to default support to the
  2309. Carbon driver on the Mac.
  2310. 2008-01-23 Everaldo Canuto <[email protected]>
  2311. * Label.cs: Uses new LabelPainter for drawing operations.
  2312. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  2313. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  2314. 2008-01-22 Geoff Norton <[email protected]>
  2315. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  2316. 2008-01-22 Jonathan Pobst <[email protected]>
  2317. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  2318. through the normal flat button code and don't draw the checkbox glyph.
  2319. * Theme.cs: Button->ButtonBase signature change.
  2320. [Fixes bug #324755]
  2321. 2008-01-22 Everaldo Canuto <[email protected]>
  2322. * LinkLabel.cs: Uses new class LinkLabelPainter.
  2323. 2008-01-22 Everaldo Canuto <[email protected]>
  2324. * MessageBox.cs: Adjust right border space, we don't need to add
  2325. "space_border*2" two times.
  2326. 2008-01-22 Jonathan Pobst <[email protected]>
  2327. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  2328. becomes a wrapper around Padding.
  2329. [Fixes a part of bug #354676]
  2330. 2008-01-22 Geoff Norton <[email protected]>
  2331. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  2332. acquired. Also ensure the buffer is large enough to grab the header
  2333. we need on linux boxes.
  2334. 2008-01-22 Jonathan Pobst <[email protected]>
  2335. * Control.cs: Implement a custom enumerator so people can delete
  2336. from the Controls collection while in a foreach.
  2337. [Fixes bug #355074]
  2338. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2339. * PropertyGridView.cs: Fix focusing behavior:
  2340. - Tab should focus the grid text box.
  2341. - Clicking on the labels shouldn't focus the grid text box.
  2342. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2343. * PropertyGridView.cs: IsValueTypeGridItem should return true
  2344. for Arrays as well.
  2345. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2346. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  2347. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  2348. reflect the property name role.
  2349. - PropertyGrid.GetTarget is not required as the target is known
  2350. (TargetObjects).
  2351. - Setting values will handle value types as a special case now and
  2352. populate them up in the chain.
  2353. [Fixes #354990]
  2354. 2008-01-21 Jonathan Pobst <[email protected]>
  2355. * Hwnd.cs: Create a public property for the Graphics we keep around.
  2356. 2008-01-21 Ivan N. Zlatev <[email protected]>
  2357. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  2358. when the current object selection changes.
  2359. Fixes failing test SelectedObject_Null2.B5.
  2360. 2008-01-21 Ivan N. Zlatev <[email protected]>
  2361. * PropertyGrid.cs: Process Browsable properties with
  2362. DesignerSerializationVisibilityAttribute.Content as being expandable.
  2363. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  2364. will not be expandable. We should be nested components-friendly now.
  2365. 2008-01-21 Andreia Gaita <[email protected]>
  2366. * WebBrowserBase.cs: Check if control was loaded properly,
  2367. don't bind if it wasn't.
  2368. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  2369. GetElementFromPoint, equality operators, OpenNew, Write.
  2370. Remove extra set_Body
  2371. 2008-01-18 Jonathan Pobst <[email protected]>
  2372. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  2373. that makes our AutoScale* stuff more tolerant to different orders
  2374. of being set. [Fixes bug #354669]
  2375. 2008-01-18 Ivan N. Zlatev <[email protected]>
  2376. * PropertyGridView.cs, PropertyGridTextBox.cs:
  2377. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  2378. [Fixes #339005 and #348209]
  2379. 2008-01-18 Ivan N. Zlatev <[email protected]>
  2380. * PropertyGridView.cs: Hide the grid text box before adjusting it
  2381. for the newly selected GridItem.
  2382. [Fixes #338999]
  2383. 2008-01-18 Jonathan Pobst <[email protected]>
  2384. * Form.cs: Give MDI children the opportunity to cancel the parent form
  2385. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  2386. properly for both the parent and child.
  2387. * Application.cs: Signature of internal method changed, pass the previous
  2388. default of false.
  2389. [Fixes bug #354286]
  2390. 2008-01-17 Ivan N. Zlatev <[email protected]>
  2391. * PropertyGridView.cs: Set the property value only if it has changed.
  2392. [Fixes bug #338997]
  2393. 2008-01-17 Jonathan Pobst <[email protected]>
  2394. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  2395. If the mouse hasn't actually moved, ignore these messages so the currently
  2396. highlighted menuitem isn't reset to the one under the mouse.
  2397. [Fixes bug #333668]
  2398. 2008-01-17 Ivan N. Zlatev <[email protected]>
  2399. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  2400. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  2401. to reflect the change visually.
  2402. [Fixes bug #338998]
  2403. 2008-01-17 Jonathan Pobst <[email protected]>
  2404. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  2405. to 2.0 button drawing.
  2406. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  2407. the button text is tall enough for one line. LineLimit says it will
  2408. always draw at least one line, but it is a lie.
  2409. [Fixes bug #324941]
  2410. 2008-01-17 Atsushi Enomoto <[email protected]>
  2411. * XplatUIStructs.cs, X11Keyboard.cs :
  2412. added some more VK_* keys to be handled.
  2413. 2008-01-16 Andreia Gaita <[email protected]>
  2414. * Control.cs: Check if there is a container before setting or getting
  2415. the validation flag.
  2416. 2008-01-16 Andreia Gaita <[email protected]>
  2417. * ContainerControl.cs: Add flag to track if a control cancels validation,
  2418. so we don't fire click events.
  2419. * Control.cs:
  2420. - (HandleClick) Check if validation was cancelled before firing the click
  2421. events (doubleclicks are fired, but not clicks)
  2422. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  2423. ContainerControl.set_ActiveControl, but in the case of non-selectable
  2424. controls, like a Label, activecontrol is not set.
  2425. * ButtonBase.cs: Only fire clicks if validation passes.
  2426. Fixes #353310
  2427. 2008-01-16 Geoff Norton <[email protected]>
  2428. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  2429. trunk
  2430. 2008-01-16 Jonathan Pobst <[email protected]>
  2431. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  2432. SelectedPath, just display the default dialog instead of crashing.
  2433. [Fixes bug #348989]
  2434. 2008-01-16 Geoff Norton <[email protected]>
  2435. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  2436. AddExpose instead of trusting apples compositing manager which doesn't
  2437. work for our use case. Remove some dead code causing warnings and
  2438. redecorate some other code to prevent warnings.
  2439. 2008-01-16 Geoff Norton <[email protected]>
  2440. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  2441. carbon signals us to redraw. Fixes another portion of the flickering bug
  2442. 2008-01-16 Everaldo Canuto <[email protected]>
  2443. * Form.cs: Prevent the MdiParent property to be set when value is the same
  2444. as value already set. Fixes bug #328019.
  2445. 2008-01-16 Everaldo Canuto <[email protected]>
  2446. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  2447. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  2448. 2008-01-16 Everaldo Canuto <[email protected]>
  2449. * InternalWindowManager.cs: Invalidade close button after mouse up when
  2450. mdi form is prevented to close.
  2451. 2008-01-16 Everaldo Canuto <[email protected]>
  2452. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  2453. thanks to Andy Hume. Fixes bug #325433.
  2454. 2008-01-16 Andreia Gaita <[email protected]>
  2455. * LinkLabel.cs: Reset focused_index when resellecting the control.
  2456. Fixes #323190
  2457. 2008-01-15 Geoff Norton <[email protected]>
  2458. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  2459. messages.
  2460. 2008-01-15 Jonathan Pobst <[email protected]>
  2461. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  2462. of truncate.
  2463. 2008-01-15 Jonathan Pobst <[email protected]>
  2464. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  2465. Form.AutoScale to false.
  2466. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  2467. AutoScaleBaseSize should be changed on Font change unless it has been
  2468. explicitly set.
  2469. [Fixes bug #353827]
  2470. 2008-01-15 Everaldo Canuto <[email protected]>
  2471. * MenuAPI.cs: On instance of MenuTracker check if source control is
  2472. ToolStripOverflow and use properly method to find form.
  2473. [Fixes bug #338511]
  2474. 2008-01-15 Everaldo Canuto <[email protected]>
  2475. [Fixes bug #323241 Transparent toolbar support]
  2476. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  2477. is flat.
  2478. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  2479. defined in control style to mimic win32 behavior.
  2480. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  2481. it will be transparent.
  2482. 2008-01-14 Everaldo Canuto <[email protected]>
  2483. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  2484. CreateParams for ToolBar controls.
  2485. 2008-01-14 Jonathan Pobst <[email protected]>
  2486. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  2487. FixedToolWindow, SizeableToolWindow, or None for border styles have
  2488. different minimum sizes than regular forms. Implemented to fix
  2489. regression in PDN with toolbox being too wide.
  2490. 2008-01-14 Andreia Gaita <[email protected]>
  2491. * HtmlElementCollection.cs: Implemented
  2492. * HtmlElement.cs: Implemented:
  2493. - All
  2494. - InnerHtml
  2495. - InnerText
  2496. - Id
  2497. - Name
  2498. - FirstChild
  2499. * HtmlDocument.cs: Implemented GetElementsByTagName.
  2500. 2008-01-14 Jonathan Pobst <[email protected]>
  2501. * Screen.cs: Stub BitsPerPixel to always return 32.
  2502. 2008-01-14 Jonathan Pobst <[email protected]>
  2503. * Form.cs: Implement RestoreBounds.
  2504. 2008-01-14 Jonathan Pobst <[email protected]>
  2505. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  2506. Sebastien and his fabulous magical problem-finding machine:
  2507. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  2508. respect the value set.
  2509. 2008-01-14 Everaldo Canuto <[email protected]>
  2510. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  2511. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  2512. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  2513. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  2514. messages (to match .Net), we need to remove the capture ourselves.
  2515. 2008-01-11 Jonathan Pobst <[email protected]>
  2516. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  2517. will process the message and close our window.
  2518. [Fixes bug #324328]
  2519. 2008-01-10 Geoff Norton <[email protected]>
  2520. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  2521. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  2522. window manager.
  2523. 2008-01-10 Jonathan Pobst <[email protected]>
  2524. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  2525. failing test.
  2526. 2008-01-10 Jonathan Pobst <[email protected]>
  2527. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  2528. Linux doesn't care, having a minimum matches MS and keeps the window
  2529. from becoming too small to use window decorations.
  2530. [Fixes bug #338996]
  2531. 2008-01-10 Jonathan Pobst <[email protected]>
  2532. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  2533. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  2534. control. [Fixes bug #325419]
  2535. 2008-01-10 Jonathan Pobst <[email protected]>
  2536. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  2537. SelectedIndexChanged event. This closes the combobox dropdown, and we
  2538. were trying to dispose it. [Fixes bug #352830]
  2539. 2008-01-09 Jonathan Pobst <[email protected]>
  2540. * Control.cs, Form.cs: Implement the necessary semantics for
  2541. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  2542. to determine if a focus rectangle should be drawn.
  2543. * PropertyGrid.cs: Fix property visibility to match override.
  2544. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  2545. 2008-01-09 Jonathan Pobst <[email protected]>
  2546. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  2547. [Fixes bug #323552]
  2548. 2008-01-09 Geoff Norton <[email protected]>
  2549. * XplatUICarbon.cs: Scroll windows in the correct direction.
  2550. 2008-01-09 Geoff Norton <[email protected]>
  2551. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  2552. when the app is deactivated or spaces is enabled.
  2553. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  2554. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  2555. extra separation pixel for the label rect origin if SmallImageList is
  2556. null, and thus we don't need that separation between icon and label
  2557. rects.
  2558. Patch by Ernesto Carrea.
  2559. Fixes # 340195.
  2560. 2008-01-08 Jonathan Pobst <[email protected]>
  2561. * StatusStrip.cs: Invalidate after completing a layout. The base
  2562. OnLayout does this, but we don't call the base.
  2563. * ToolStripItem.cs: Revert the previous change to invalidate after
  2564. the item moves.
  2565. [Fixes bug #351341 better.]
  2566. 2008-01-07 Geoff Norton <[email protected]>
  2567. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  2568. not a notification to exit the application. Listen for WM_QUIT
  2569. instead.
  2570. 2008-01-07 Andreia Gaita <[email protected]>
  2571. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  2572. 2008-01-07 Jonathan Pobst <[email protected]>
  2573. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  2574. so it can repaint at the correct location.
  2575. [Fixes bug #351341]
  2576. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  2577. * ListControl.cs: SelectedValue should return a null value if
  2578. SelectedIndex is -1. Also, when setting it, it should throw an
  2579. ArgumentNullException if the value is null, as well as taking
  2580. into account the String.Empty value, instead of ignoring it (we have
  2581. tests for that now).
  2582. Fixes part of #324286.
  2583. 2008-01-06 Jonathan Pobst <[email protected]>
  2584. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  2585. SelectionStart is updated after pressing enter. Fixes bug #351918.
  2586. 2008-01-05 Jonathan Pobst <[email protected]>
  2587. * TextControl.cs: Revert a piece r92316 that prevented the fix
  2588. from working when there were multiple tags in the text box.
  2589. Fixes bug #351881.
  2590. 2008-01-05 Jonathan Pobst <[email protected]>
  2591. * TextControl.cs: Apply patch from Luke Page that prevents an
  2592. NRE when determining the beginning of a paragraph.
  2593. Fixes bug #351886.
  2594. 2008-01-05 Jonathan Pobst <[email protected]>
  2595. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  2596. caret gets moved with clicking away from a selected block of
  2597. text. Fixes bug #351885.
  2598. 2008-01-05 Jonathan Pobst <[email protected]>
  2599. * TextControl.cs: Apply patch from Luke Page that takes line
  2600. alignment into account for mouse selection, so that center and
  2601. right aligned text can be selected.
  2602. Fixes bug #351881.
  2603. 2008-01-05 Jonathan Pobst <[email protected]>
  2604. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  2605. issues after loading an RTF file by using the correct line feeds.
  2606. Fixes bug #351841.
  2607. 2008-01-05 Jonathan Pobst <[email protected]>
  2608. * TextControl.cs: When deleting multiple line selections, we need
  2609. to invalidate every line beginning at the first line of the selection.
  2610. Patch from Luke Page fixes bug #351791.
  2611. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  2612. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  2613. event, don't set SelectedIndex if the number of items is 1. This is
  2614. because, for the first item, PositionChanged is fired _before_
  2615. ItemChanged (the place where we actually populate the items), and
  2616. leave us in a temporary invalid state (since items collection is
  2617. empty).
  2618. Fixes #349655.
  2619. 2008-01-04 Geoff Norton <[email protected]>
  2620. * XplatUICarbon.cs: Create native toolwindows instead of
  2621. the managed drawing ones.
  2622. 2008-01-03 Jonathan Pobst <[email protected]>
  2623. * LineTag.cs: If the line doesn't have any characters, return
  2624. 0 for GetCharIndex. Fixes an AOORE exception after certain
  2625. caret movements. Fixes bug #351683. Patch by Luke Page.
  2626. 2008-01-03 Jonathan Pobst <[email protected]>
  2627. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  2628. is hit when there is selected text, only the selected text gets
  2629. deleted, not the character in front of the selection as well.
  2630. Fixes bug #351578.
  2631. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  2632. * ComboBox.cs: When the values are displayed, calculate the
  2633. ComboListBox scrollbar's LargeChange based on the visible area's
  2634. height and the actuall ItemHeight, instead of calculating it
  2635. based on MaxDropItems value, since it's not used by our _current_
  2636. 2.0 profile.
  2637. Fixes #332366.
  2638. 2008-01-03 Jonathan Pobst <[email protected]>
  2639. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  2640. Patch from Luke Page that fixes issues with font colors and styles
  2641. not showing up in a readonly RichTextBox. Fixes bug #324354.
  2642. 2008-01-03 Jonathan Pobst <[email protected]>
  2643. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  2644. from Luke Page. This one fixes bug #349926.
  2645. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  2646. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  2647. an item in the IBindingList source changes with
  2648. ListChangedType.ItemAdded. Ignore for now firing the event for other
  2649. changes, since we want to have tests for those cases as well.
  2650. 2007-12-28 Jonathan Pobst <[email protected]>
  2651. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  2652. created.
  2653. 2007-12-28 Jonathan Pobst <[email protected]>
  2654. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  2655. character. This is effective because the typical usage of a
  2656. TextBox is with a limited amount of fonts and characters, and
  2657. the current implementation of TextBox measures everything one
  2658. character at a time. Another second or two speedup for bug #347238.
  2659. 2007-12-28 Jonathan Pobst <[email protected]>
  2660. * Control.cs: Rewrite the Font getter to only query the parent's
  2661. Font property once instead of twice. Since this operation is
  2662. recursive, the queries were growing exponentially as the control
  2663. tree got deeper. Another second or two speedup for bug #347238.
  2664. 2007-12-28 Jonathan Pobst <[email protected]>
  2665. * Control.cs: Avoid setting a parent (and more importantly, updating
  2666. the zorder of all its children) if the parent is already correct in
  2667. WmShowWindow. Decreases the startup time of the test case on bug
  2668. #347238 from 35 seconds to 11 seconds.
  2669. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  2670. * X11Dnd.cs: When the dnd operation has started and we are
  2671. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  2672. This is done to match .Net, which doesn't send those messages after
  2673. dnd operation was completed/cancelled.
  2674. Fixes #349922.
  2675. 2007-12-27 Jonathan Pobst <[email protected]>
  2676. * ToolStrip.cs: Previous change should be != null, not == null.
  2677. Thanks Gert!
  2678. 2007-12-27 Jonathan Pobst <[email protected]>
  2679. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  2680. user may have moved the mouse off the current item during the event.
  2681. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  2682. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  2683. calling GetItemAt for every MouseMove event by also taking into
  2684. account whether any mouse button is pressed (probably dragging);
  2685. if so, we can call GetItemAt, and if not, try to not call it
  2686. (GetItemAt can be quite expensive when used with a large number of items).
  2687. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  2688. * ListView.cs: Implement -finally- support for dnd, by calling
  2689. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  2690. authors list ;-).
  2691. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  2692. simple calculation of distances for all the items in the owner
  2693. listview.
  2694. 2007-12-21 Geoff Norton <[email protected]>
  2695. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  2696. for windows that are originally created as invisible. Fixes missing
  2697. main window in paint-mono.
  2698. 2007-12-21 Geoff Norton <[email protected]>
  2699. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  2700. subclass handler for com.novell.mwfview subclassing HIView. Implement
  2701. Pasteboard and Dnd methods.
  2702. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  2703. * ListBox.cs: When we got focus, give focus to first item if there
  2704. wasn't any pervious focused item. Also update navigation to depend on
  2705. SelectedIndex rather than FocusedItem, just as .Net does.
  2706. Fixes #349174.
  2707. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  2708. * ListBox.cs: Both FindString and FindStringExact methods must do an
  2709. case insensitive search, should allow the last valid index to be
  2710. passed in the overload taking an initial index, and should also
  2711. continue searching from the top back to the specified index when it
  2712. reaches the bottom.
  2713. 2007-12-19 Jonathan Pobst <[email protected]>
  2714. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  2715. redraw issue, and allows RichTextBox to draw colored text even while
  2716. disabled or readonly.
  2717. 2007-12-19 Jonathan Pobst <[email protected]>
  2718. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  2719. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  2720. and doesn't grey text in a disabled RichTextBox.
  2721. 2007-12-19 Jonathan Pobst <[email protected]>
  2722. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  2723. for many RTF commands: quad alignment, separate formatting for blocks
  2724. inside groups, and ParDef support. Makes the test case from bug #324589
  2725. look much better.
  2726. 2007-12-19 Jonathan Pobst <[email protected]>
  2727. * LineTag.cs: Fix an error in the new Draw method that caused
  2728. a crash when rendering the document on bug #324589.
  2729. 2007-12-19 Jonathan Pobst <[email protected]>
  2730. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  2731. TextControl.cs: Apply patch from Luke Page that adds support
  2732. for URL links in RichTextBox.
  2733. [Fixes enhancement #342516]
  2734. 2007-12-18 Everaldo Canuto <[email protected]>
  2735. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  2736. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  2737. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  2738. * ListBox.cs: When a key gets pressed, try to find a string
  2739. if the key is a character or a digit.
  2740. Fixes #343971.
  2741. 2007-12-17 Jonathan Pobst <[email protected]>
  2742. * TableLayoutPanel.cs: Remove some unused variables.
  2743. 2007-12-17 Jonathan Pobst <[email protected]>
  2744. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  2745. we don't end up at an invalid date when we click the up/down
  2746. spinner to change the month or year. Fixes bug #348682.
  2747. 2007-12-17 Jonathan Pobst <[email protected]>
  2748. * Application.cs: Calling Exit in 2.0 should chain to the
  2749. Exit (CancelEventArgs) version so it can be cancelled.
  2750. * Form.cs: Create a flag to allow raising the Closing
  2751. events to be skipped. We raise them once in Application.Exit
  2752. and don't want to raise them again when the Form is actually
  2753. closed. [Fixes bug #349073]
  2754. 2007-12-16 Jonathan Pobst <[email protected]>
  2755. * ToolStripDropDown.cs: Guard against an NRE when there
  2756. hasn't been a mainform set in the application context.
  2757. [Fixes bug #349108]
  2758. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  2759. * ListBox.cs: When SetBoundsCore gets called, besides
  2760. calling UpdateScrollBars, update the value of
  2761. last_visible_index, since we could need to show more items
  2762. than before, and we need to let the paint routines know that.
  2763. Fixes #344445.
  2764. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  2765. * ListView.cs: Add DesignerSerializationVisibility attribute to
  2766. InsertionMark property.
  2767. * ListViewItem.cs: Add same attribute to Position property.
  2768. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  2769. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  2770. is 2.0 only.
  2771. 2007-12-14 Jonathan Pobst <[email protected]>
  2772. * ThemeWin32Classic.cs: Don't draw the background on a
  2773. flat button if there is a background image.
  2774. [Fixes bug #348649]
  2775. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  2776. * ListBox.cs: If we remove the item currently selected,
  2777. remove it not only from SelectedItems, but also
  2778. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  2779. the items count decreased and focused_item has bigger value than that.
  2780. 2007-12-13 Jonathan Pobst <[email protected]>
  2781. * Control.cs: Perform our layout after we resize ourselves
  2782. if we had to adjust our AutoSize. Missed commit for bug
  2783. #346246.
  2784. 2007-12-13 Jonathan Pobst <[email protected]>
  2785. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  2786. we can provide an implementation of AutoSize.
  2787. [Fixes bug #346246]
  2788. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  2789. * ListBox.cs: Add the internal overload Sort (bool paint),
  2790. to indicate whether we actually need a paint or we will
  2791. call Refresh ourselves. This way we don't request a paint
  2792. _before_ having an updated and valid layout.
  2793. Fixes #347233.
  2794. 2007-12-12 Andreia Gaita <[email protected]>
  2795. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  2796. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  2797. properly invalidated.
  2798. Fixes #324237
  2799. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  2800. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  2801. don't simply assign it to our internal group field, but instead
  2802. use our Group property, which should do all the neccessary work
  2803. required to support groups. Fixes an issue reported to me (mail) by a
  2804. guy using this new feature.
  2805. 2007-12-11 Jonathan Pobst <[email protected]>
  2806. * Control.cs: Use Scale instead of ScaleControl to ensure the
  2807. whole hierarchy gets scaled.
  2808. [Fixes bug #347282]
  2809. 2007-12-10 Jonathan Pobst <[email protected]>
  2810. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  2811. Parent property. Doing this causes the control to be hosted by
  2812. the Form instead of being a popup window.
  2813. [Fixes bug #347665]
  2814. 2007-12-10 Jonathan Pobst <[email protected]>
  2815. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  2816. at an index higher than Count, just use Add instead of Insert.
  2817. [Fixes bug #347669]
  2818. 2007-12-10 Jonathan Pobst <[email protected]>
  2819. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  2820. DrawPictureBox, this is handled by Control.PaintBackground.
  2821. [Fixes bug #347276]
  2822. 2007-12-10 Everaldo Canuto <[email protected]>
  2823. * MenuAPI.cs: When process menu keys return true by default only if menu is
  2824. active. Fixes bug #342892.
  2825. 2007-12-09 Andreia Gaita <[email protected]>
  2826. * Control.cs: check if windows are actually mapped before
  2827. trying to zorder. Fixes #342509, #346955
  2828. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  2829. * ListView.cs:
  2830. * ListViewInsertionMark.cs:
  2831. * ThemeWin32Classic.cs: Implement the drawing side of the
  2832. new 2.0 ListView.InsertionMark property.
  2833. 2007-12-07 Jonathan Pobst <[email protected]>
  2834. * CurrencyManager.cs: Silence some debug spew.
  2835. 2007-12-07 Geoff Norton <[email protected]>
  2836. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  2837. masks for our children as well as siblings to avoid having to query
  2838. Quartz for this information.
  2839. * XplatUICarbon.cs: Implement a delegate based system to pass
  2840. information to System.Drawing. Implement Async methods. Remove
  2841. the hack for the resize thumb and imlpement a transparent Grow Box.
  2842. Rework the messaging system to proplery create window's and messages,
  2843. fixes TabControl.
  2844. 2007-12-06 Andreia Gaita <[email protected]>
  2845. * X11Keyboard.cs: Use Xutf8LookupString to support international
  2846. characters under alternate codepages. Patch from #340878
  2847. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2848. * ListView.cs: When doing layout computations, set position in the
  2849. ListView instances (we cache the position just as .Net does).
  2850. * ListViewItem.cs: New internal setter method for Position. Also set
  2851. position field as also available in 1.1, since we are going to use it
  2852. now in the common case.
  2853. 2007-12-06 Andreia Gaita <[email protected]>
  2854. * Control.cs: When removing controls, get the actual container
  2855. to notify about active control changes. Fixes 341314.
  2856. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2857. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  2858. 2007-12-05 Andreia Gaita <[email protected]>
  2859. * Control.cs: When updating the zorder, ignore windows that are not
  2860. mapped. Fixes #342509
  2861. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  2862. * ListViewItem.cs: Actually implement serialization on this class.
  2863. 2007-12-05 Gert Driesen <[email protected]>
  2864. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  2865. LinkCollection. Spaces to tabs, and removed extra tabs.
  2866. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  2867. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  2868. tests to fail (hopefully).
  2869. 2007-12-03 Jonathan Pobst <[email protected]>
  2870. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  2871. the image margin so custom renderers can correctly place it.
  2872. 2007-12-03 Jonathan Pobst <[email protected]>
  2873. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  2874. so custom renderers can correctly place it.
  2875. 2007-12-03 Jonathan Pobst <[email protected]>
  2876. * Application.cs: Let WM_CHAR messages flow through to controls
  2877. hosted in Strips. [Fixes bug #343972]
  2878. 2007-12-02 Jonathan Pobst <[email protected]>
  2879. * ToolStripManager.cs: Guard against an NRE I ran into.
  2880. 2007-12-02 Jonathan Pobst <[email protected]>
  2881. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  2882. a Link is manually added to the Links collection, we need to set
  2883. its owner, so it can invalidate properly.
  2884. [Fixes bug #344012]
  2885. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  2886. * ListView.cs: When changing ListViewItem.Position (which calls
  2887. ListView.ChangeItemLocation), invalidate not only the area
  2888. corresponding to the main item, but also to the area occupied
  2889. by the items being moved.
  2890. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  2891. * ListView.cs: When changing the position of a given item,
  2892. don't use item bounds, but item areas (which includes the item spacing
  2893. between them). Also, use first/last position if the requested
  2894. position is outside bounds (as .Net does). Invalidate the previous and
  2895. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  2896. in a specific position, instead of directly accessing Items collection
  2897. (this is done to get the right item - remember an Item can have a
  2898. different position in the grid than in the Items collection).
  2899. 2007-11-23 Everaldo Canuto <[email protected]>
  2900. * MessageBox.cs: Calculate text area instead of just top left, this rect
  2901. area will be used in DrawString. Fixes bug #343364.
  2902. 2007-11-23 Everaldo Canuto <[email protected]>
  2903. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  2904. screen width. Partially fixes bug #343364.
  2905. 2007-11-23 Everaldo Canuto <[email protected]>
  2906. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  2907. code inside recalculate, it makes code more simple.
  2908. 2007-11-22 Everaldo Canuto <[email protected]>
  2909. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  2910. between update or add icon. Fixes bug #324344.
  2911. 2007-11-21 Andreia Gaita <[email protected]>
  2912. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  2913. window manager, since that stretches the drawing area to include
  2914. the window decorations, and they get hidden. Reverts r84444 and fixes
  2915. #335849 and #342790 (mdi and pdn3 regression)
  2916. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  2917. * ListView.cs: When setting focused item, try to give focus to the
  2918. previous one _only_ if the previous one remains valid.
  2919. Fixes #342504.
  2920. 2007-11-20 Jonathan Pobst <[email protected]>
  2921. * Application.cs: Revert r89650, as it broke a common case to fix
  2922. an obscure case. Fixes bug #342606.
  2923. 2007-11-20 Everaldo Canuto <[email protected]>
  2924. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  2925. 2007-11-20 Everaldo Canuto <[email protected]>
  2926. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  2927. alignment. [Fixes #324228]
  2928. 2007-11-19 Jonathan Pobst <[email protected]>
  2929. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  2930. [Fixes bug #342123]
  2931. 2007-11-19 Everaldo Canuto <[email protected]>
  2932. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  2933. it prevent problems when empty captions. [Fixes #342141]
  2934. 2007-11-19 Jonathan Pobst <[email protected]>
  2935. * Label.cs: Use Size instead of None. Fixes bug #342077.
  2936. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  2937. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  2938. 2007-11-17 Jonathan Pobst <[email protected]>
  2939. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  2940. but there isn't a MdiContainer.
  2941. [Fixes bug #342358]
  2942. 2007-11-17 Jonathan Pobst <[email protected]>
  2943. * TextControl.cs: Don't recalculate document if the recalc_start and
  2944. recalc_end hasn't changed.
  2945. [Fixes bug #342505]
  2946. 2007-11-17 Gert Driesen <[email protected]>
  2947. * DataGridViewTextBoxCell.cs: Removed CWL.
  2948. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2949. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  2950. 2007-11-16 Jonathan Pobst <[email protected]>
  2951. * TextControl.cs: Missed some code for bug 341534 to trigger a
  2952. recalculation when the font changes.
  2953. 2007-11-16 Andreia Gaita <[email protected]>
  2954. * Control.cs: When updating the zorder, check if the child to update is
  2955. the same control that is set to always be on top (i.e., scrollbars), and
  2956. just put it on top directly. Fixes BadMatch error on pdn3
  2957. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2958. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  2959. 2007-11-16 Jonathan Pobst <[email protected]>
  2960. * Control.cs: Don't perform a new layout when a label changes its text,
  2961. cause label handles its own autosizing.
  2962. [Fixes bug #342077]
  2963. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2964. * ListView.cs: Implement 2.0 FindNearestItem methods.
  2965. 2007-11-15 Jonathan Pobst <[email protected]>
  2966. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  2967. even if the rest of what Join does isn't supported. Add some more
  2968. support for vertical toolbars.
  2969. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  2970. [Fixes the application breaking parts of bug #341998]
  2971. 2007-11-15 Jonathan Pobst <[email protected]>
  2972. * ToolStripItem.cs: When determining if we have a check/image margin,
  2973. we need to look at ShowCheckMargin as well as ShowImageMargin.
  2974. 2007-11-15 Geoff Norton <[email protected]>
  2975. * XplatUIOSX.cs: Rename to...
  2976. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  2977. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  2978. 2007-11-15 Jonathan Pobst <[email protected]>
  2979. * KeysConverter.cs: The default values should be an array of Keys, not
  2980. strings. Also, the array has more values for 2.0.
  2981. [Fixes bug #341851]
  2982. 2007-11-14 Jonathan Pobst <[email protected]>
  2983. * Application.cs: Change ExecutablePath to use
  2984. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  2985. [Fixes bug #323552]
  2986. 2007-11-14 Jonathan Pobst <[email protected]>
  2987. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  2988. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  2989. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  2990. be ignored. Create a new GetLineEnding that can specify which types of
  2991. line endings to look for. On Insert, only create new lines for \n and \r\n.
  2992. [Fixes bug #324274]
  2993. 2007-11-14 Jonathan Pobst <[email protected]>
  2994. * TextBoxBase.cs: As we loop through each line changing the font, tell
  2995. the document that the line needs to be recalculated. Fixes bug #341534.
  2996. 2007-11-13 Jonathan Pobst <[email protected]>
  2997. [Another round of refactoring]
  2998. * Line.cs: Add DeleteCharacters.
  2999. * LineTag.cs: Add Delete.
  3000. * TextBoxBase.cs: Update to use new methods.
  3001. * TextControl.cs: Refactor the Delete* methods.
  3002. 2007-11-13 Everaldo Canuto <[email protected]>
  3003. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  3004. the patch. [Fixes #324856]
  3005. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  3006. * ListView.cs:
  3007. * ListViewItem.cs: Add an initial implementation of
  3008. 2.0 ListViewItem.Position getter.
  3009. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  3010. * ListView.cs: Add a reordered_items_indices array, to allow us
  3011. to have a different sorting than that of Items (the sorting in Items
  3012. could not match the actual sorting in screen). This is needed to
  3013. implement a pair of 2.0 features.
  3014. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  3015. actual position in the ListView grid, since it could have a position
  3016. different than its Index (position in ListViewItemCollection).
  3017. 2007-11-09 Jonathan Pobst <[email protected]>
  3018. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  3019. not draw partial lines.
  3020. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  3021. LineLimit flag from the base is preserved.
  3022. Fixes the windows part of bug #338965.
  3023. 2007-11-09 Jonathan Pobst <[email protected]>
  3024. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  3025. so that it can be canceled in KeyPress.
  3026. Fixes bug #340078.
  3027. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  3028. * ListView.cs: In ItemControl, reset mouse-handling related
  3029. fields even if we dont' have items (we still should reset them when
  3030. we had items but then called Items.Clear). Partially based in a patch
  3031. by George Giolfan.
  3032. Fixes #338399.
  3033. 2007-11-08 Gert Driesen <[email protected]>
  3034. * Application.cs: In ProductVersion first try AssemblyFileVersion
  3035. before falling back to assembly version. Fixes bug #339787.
  3036. 2007-11-08 Andreia Gaita <[email protected]>
  3037. * HtmlElement.cs: Implement InnerText setter.
  3038. * WebBrowserBase.cs: Implement Navigated event support.
  3039. Add flag to track when the browser "document" is ready to be retrieved.
  3040. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  3041. Make sure browser document is ready before retrieving it.
  3042. Clean up cached objects (document) when moving to a new page through
  3043. any of the navigation methods.
  3044. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  3045. Implement OnNavigated event.
  3046. 2007-11-07 Jonathan Pobst <[email protected]>
  3047. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  3048. DrawLinkLabel, this is handled by OnPaintBackground.
  3049. Fixes bug #339565, part II.
  3050. 2007-11-07 Andreia Gaita <[email protected]>
  3051. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  3052. getting a Select call on click, so this call needs to be here for now.
  3053. Unfixes #325809
  3054. 2007-11-07 Geoff Norton <[email protected]>
  3055. * OSXStructs.cs: Add the kEventClassApplication constants.
  3056. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  3057. application is deactivated otherwise Menu overlays linger on top of
  3058. other application windows.
  3059. 2007-11-07 Geoff Norton <[email protected]>
  3060. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  3061. dont support cursors yet anyways. This allows Reflector to run.
  3062. 2007-11-07 Geoff Norton <[email protected]>
  3063. * XplatUIOSX.cs: Implement DragSize.
  3064. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  3065. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  3066. ItemControl, request the focus, as .Net does. This is needed after
  3067. Control does not request focus anymore when it receives a
  3068. WM_LBUTTONDOWN.
  3069. 2007-11-06 Jonathan Pobst <[email protected]>
  3070. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  3071. Remove the DrawImage call from OnPaint.
  3072. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  3073. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  3074. but before we draw the text for DrawLabel and DrawLinkLabel.
  3075. Fixes bug #339565.
  3076. 2007-11-05 Andreia Gaita <[email protected]>
  3077. * Control.cs: Remove select call on click. Fixes #325809
  3078. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  3079. * ListViewItem.cs: Add 2.0 Position property getter.
  3080. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  3081. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  3082. Also, to make it work properly, change item's BackColor and
  3083. BackgroundImageLayout as needed.
  3084. * ThemeWin32Classic.cs: Don't fill any background rectangle
  3085. in ListView.ItemControl when drawing items; just let the Control
  3086. base implementation fill it.
  3087. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  3088. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  3089. as well as adding a custom 'dummy' Converter, as .net does.
  3090. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  3091. * PropertyGridView.cs: When clicking drop-down button,
  3092. select an index in the listbox only if our standard values collection
  3093. has one or more items.
  3094. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  3095. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  3096. property.
  3097. 2007-11-04 Gert Driesen <[email protected]>
  3098. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  3099. the value is not changed. This ensure a pushed button remains in that
  3100. state when clicked again. When switching the value of PropertySort
  3101. between Categorized and CategorizedAlphabetical, do not update the
  3102. grid items and do not fire a PropertyChangedEvent. When clicking the
  3103. sorting buttons, do not modify the PropertySort value when switching
  3104. between Categorized and CategorizedAlphabetical but only update the
  3105. button state.
  3106. 2007-11-04 Gert Driesen <[email protected]>
  3107. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  3108. formatting.
  3109. * PropertyGrid.cs: Also put Categorized button in pushed state when
  3110. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  3111. for help description label.
  3112. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  3113. * ListView.cs: When calculating the biggest item for a given column,
  3114. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  3115. the item's width.
  3116. 2007-11-03 Gert Driesen <[email protected]>
  3117. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  3118. value for PropertySort on 1.0 profile. PropertySortChanged event
  3119. should only be fired on 2.0 profile. Fixed NullReferenceException
  3120. in UpdateSortLayout when PropertyGrid contains no items.
  3121. 2007-11-02 Jonathan Pobst <[email protected]>
  3122. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  3123. [Fixes bug #338554]
  3124. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  3125. * ListViewItem.cs: Implement 2.0 IndentCount property.
  3126. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  3127. * X11Dnd.cs: When sending status in a dnd operation, compare current
  3128. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  3129. the later is only created when a Winforms application is both the
  3130. source and the target, but not when we are the target only.
  3131. Fixes part of #324251.
  3132. 2007-11-01 Geoff Norton <[email protected]>
  3133. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  3134. order of Z-Order.
  3135. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  3136. children out of the drawing view on mac.
  3137. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  3138. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  3139. 2007-11-01 Jonathan Pobst <[email protected]>
  3140. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  3141. on the non-hosted-control part of it shouldn't do anything.
  3142. Fixes part of bug #327498.
  3143. 2007-11-01 Andreia Gaita <[email protected]>
  3144. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  3145. 2007-11-01 Jonathan Pobst <[email protected]>
  3146. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  3147. it does not use flow through to controls that are hosted in menus.
  3148. Same with mouse clicks.
  3149. * Form.cs: Don't close all menus on click if the click is on a
  3150. control hosted in a menu.
  3151. Fixes part of bug #327498, and part of bug #325969.
  3152. 2007-10-31 Andreia Gaita <[email protected]>
  3153. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  3154. 2007-10-31 Jonathan Pobst <[email protected]>
  3155. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  3156. Addresses an issue raised in bug #336218.
  3157. 2007-10-30 Jonathan Pobst <[email protected]>
  3158. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  3159. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  3160. 2007-10-30 Andreia Gaita <[email protected]>
  3161. * ContainerControl.cs: Check if the active control is a
  3162. child of a removed control and update active_control accordingly.
  3163. Fixes #329718
  3164. 2007-10-29 Jonathan Pobst <[email protected]>
  3165. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  3166. or the MaxDate. Fixed bug #337693.
  3167. 2007-10-29 Jonathan Pobst <[email protected]>
  3168. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  3169. after calling SetWindowLong for a form, to force an immediate NC refresh.
  3170. Fixes first part of bug #325150.
  3171. 2007-10-29 Jonathan Pobst <[email protected]>
  3172. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  3173. simple. Fixes the last part of bug #322668.
  3174. 2007-10-29 Jonathan Pobst <[email protected]>
  3175. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  3176. needs to be TopMost as well, or else the MessageBox is under the form.
  3177. Patch by George fixes bug #325300.
  3178. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  3179. * X11Dnd.cs: When starting a new drag operation, reset the static
  3180. 'dropped' field to false (previously the implementation didn't reset
  3181. it and got confused after the first drag).
  3182. Fixes #325071.
  3183. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  3184. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  3185. items instead of re-creating them all. For this purpose we now cache
  3186. both CategoryGridEntry items and the GridEntries for the main object's
  3187. properties.
  3188. * GridItem.cs: Make SetParent method abstract.
  3189. * GridEntry.cs: Override the SetParent method (already there, but now
  3190. we override it).
  3191. Fixes #324866.
  3192. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  3193. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  3194. depending on its depth (as .Net does). Update the needed values in
  3195. MouseDown handler. Also draw the plus/minus rect after the label,
  3196. so we don't draw on top of it.
  3197. 2007-10-24 Everaldo Canuto <[email protected]>
  3198. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  3199. processed by forms or controls when menu is active. [Fixes #333548]
  3200. 2007-10-24 Jonathan Pobst <[email protected]>
  3201. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  3202. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  3203. focus on mouse over.
  3204. 2007-10-24 Jonathan Pobst <[email protected]>
  3205. * TextControl.cs: Code cleaning, simplifying.
  3206. 2007-10-24 Geoff Norton <[email protected]>
  3207. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  3208. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  3209. 2007-10-24 Jonathan Pobst <[email protected]>
  3210. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  3211. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  3212. 2007-10-24 Andreia Gaita <[email protected]>
  3213. * SendKeys.cs: apply jpobst's patch to bug #332409
  3214. 2007-10-23 Andreia Gaita <[email protected]>
  3215. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  3216. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  3217. for some reason
  3218. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  3219. * PropertyGridView.cs: If a property has an UIEditor available,
  3220. make the drop-down/editor button available only if the property
  3221. is _not_ read only.
  3222. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  3223. * PropertyGridView.cs: Don't make the grid item textbox
  3224. editable when a drop-down control is available, but
  3225. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  3226. true. The same bur the color of the grid item value's label.
  3227. 2007-10-22 Geoff Norton <[email protected]>
  3228. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  3229. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  3230. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  3231. driver. Padd the bottom of all real windows so the resize thumb doesn't
  3232. obscure scroll/status bars.
  3233. 2007-10-22 Jonathan Pobst <[email protected]>
  3234. * WindowsFormsSection.cs: Implement.
  3235. 2007-10-22 Everaldo Canuto <[email protected]>
  3236. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  3237. closed see #325434 patch.
  3238. 2007-10-22 Everaldo Canuto <[email protected]>
  3239. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  3240. see #325434 patch.
  3241. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  3242. * PropertyGridView.cs: When showing the textbox for a grid item,
  3243. have two local variables to store the read-only and non-editable
  3244. status of a grid item (we were previously using just one variable
  3245. to do this, when actually they are slightly different).
  3246. Fixes part of #325023.
  3247. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  3248. * PropertyGridView.cs: When showing a drop-down list, try to get the
  3249. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  3250. part of #325023.
  3251. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  3252. * PropertyGrid.cs: When updating a property and populating sub grid
  3253. items, remove the previous ones, and invalidate the specific area.
  3254. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  3255. area behind a grid item.
  3256. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  3257. clean the items if needed (specially for controls implementing
  3258. ICustomTypeDescriptor and returning a variable number of properties).
  3259. Fixes #324865.
  3260. 2007-10-19 Jonathan Pobst <[email protected]>
  3261. * TextControl.cs: Clean up and document the Insert function.
  3262. 2007-10-17 Jonathan Pobst <[email protected]>
  3263. * TextControl.cs: Make sure we know our start point for updating the view
  3264. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  3265. update the view.
  3266. 2007-10-17 Jonathan Pobst <[email protected]>
  3267. * ListView: Couple of corcompare fixes.
  3268. 2007-10-17 Geoff Norton <[email protected]>
  3269. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  3270. the title caption of real window.
  3271. 2007-10-17 Jonathan Pobst <[email protected]>
  3272. * ErrorProvider.cs: Add the error provider's internal window to a
  3273. containercontrol when the parent changes. [Fixes bug #329714]
  3274. 2007-10-17 Geoff Norton <[email protected]>
  3275. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  3276. When we make a new window; restore the old active window - fixes dialogs.
  3277. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  3278. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  3279. when modifying a property, and if found then invalidate as
  3280. requested.
  3281. Fixes part of #324865.
  3282. 2007-10-17 Geoff Norton <[email protected]>
  3283. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  3284. highly experimental. Fixed coordinate translation. Fixed window locations.
  3285. Initial support for clipping. Implemented NC areas and menus. Support for
  3286. launching from command line from Will Johansson ([email protected]).
  3287. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  3288. [email protected])
  3289. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  3290. Hwnds now track the existence of all of their children for Mac clipping.
  3291. * XplatUI.cs: Re-enabled the native driver on the Mac.
  3292. 2007-10-17 Jonathan Pobst <[email protected]>
  3293. * Line.cs: Move the InsertString function to here.
  3294. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  3295. functionality to Line.
  3296. 2007-10-17 Geoff Norton <[email protected]>
  3297. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  3298. 2007-10-16 Gert Driesen <[email protected]>
  3299. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  3300. always setting value to true.
  3301. * Form.cs: When changing AcceptButton, notify new and original button.
  3302. 2007-10-16 Jonathan Pobst <[email protected]>
  3303. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  3304. a custom control that implements IButtonControl instead of an actual
  3305. button. [Fixes bug #334244]
  3306. 2007-10-15 Everaldo Canuto <[email protected]>
  3307. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  3308. MdiWindowManager.
  3309. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  3310. active control when activate a new mdi window.
  3311. [Fixes bug #330495]
  3312. 2007-10-15 Everaldo Canuto <[email protected]>
  3313. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  3314. is already added.
  3315. [Fixes bug #333617]
  3316. 2007-10-15 Jonathan Pobst <[email protected]>
  3317. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  3318. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  3319. so we always recalculate the whole document instead of just the new part.
  3320. [Fixes bug #325082]
  3321. 2007-10-15 Jonathan Pobst <[email protected]>
  3322. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  3323. when the mouse was to the left of the first character in the line.
  3324. 2007-10-15 Jonathan Pobst <[email protected]>
  3325. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  3326. character, use the property instead of the variable so that the
  3327. UseSystemPasswordChar property is taken into account.
  3328. [Fixes bug #333748]
  3329. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3330. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  3331. folder" contex menu appears, actually add the new folder to it, even
  3332. if the node is not currently selected. Still use SelectedNode in case
  3333. there wasn't found a node under the pointer.
  3334. Fixes #325452.
  3335. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3336. * ListViewItem.cs: When retrieving the focused state, the index check
  3337. should be done only when ListView is in virtualmode, as it is an
  3338. expensive check for normal mode.
  3339. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3340. * ListViewItem.cs: Make the focus state information be stored
  3341. in the ListView, not in the items. This is done to match the MS
  3342. behaviour for items that are not yet part of a ListView control;
  3343. besides that, since just one item can be focused at the same time,
  3344. we save a little space in our items.
  3345. Fixes part of #331643.
  3346. 2007-10-13 Gert Driesen <[email protected]>
  3347. * ComboBox.cs: When focus is lost, deselect the text. When setting
  3348. text of control, select all text. Do not hide selection when control
  3349. does not have focus. Fixes bug #333663.
  3350. 2007-10-13 Gert Driesen <[email protected]>
  3351. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  3352. instead of ArgumentException when SelectionLength is set to negative
  3353. value. Added same check to SelectionStart. Code formatting.
  3354. 2007-10-13 Gert Driesen <[email protected]>
  3355. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  3356. or SelectionStart. Code formatting.
  3357. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  3358. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  3359. indicating that there was not a previous drag-and-drop operation going
  3360. on.
  3361. Fixes part of #325071.
  3362. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  3363. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  3364. AllowedEffect, don't let the drop operation happen.
  3365. Fixes #32580.
  3366. 2007-10-12 Jonathan Pobst <[email protected]>
  3367. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  3368. 2007-10-12 Jonathan Pobst <[email protected]>
  3369. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  3370. is called.
  3371. 2007-10-12 Jonathan Pobst <[email protected]>
  3372. * Line.cs: Add a method that finds the tag that contains an x-coord.
  3373. * LineTag.cs: Add a method that finds the character at an x-coord using
  3374. a binary search, the old way was a linear search.
  3375. * TextControl.cs: Change FindCursor to use the above new methods.
  3376. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  3377. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  3378. value different than AllowedEffect). This should be possible to
  3379. indicate that dragging is not possible in some control/area.
  3380. 2007-10-11 Jonathan Pobst <[email protected]>
  3381. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  3382. descent internally when font changes instead of outside code being responsible
  3383. for setting it.
  3384. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  3385. instead of accessing internal variables.
  3386. 2007-10-09 Everaldo Canuto <[email protected]>
  3387. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  3388. remove special treatment for ArrangeIcons since it is already arranged.
  3389. 2007-10-09 Jonathan Pobst <[email protected]>
  3390. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  3391. the Win32 backend uses Color.
  3392. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  3393. Refactor to store a Color instead of a Brush for Color.
  3394. 2007-10-09 Jonathan Pobst <[email protected]>
  3395. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  3396. away. I didn't realize I needed this when I refactored these earlier.
  3397. 2007-10-09 Jonathan Pobst <[email protected]>
  3398. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  3399. store a Color structure and use the ResPool for back color instead of
  3400. holding onto brushes.
  3401. 2007-10-09 Jonathan Pobst <[email protected]>
  3402. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  3403. [Fixes bug #325592]
  3404. 2007-10-08 Jonathan Pobst <[email protected]>
  3405. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  3406. to recalculate its size. Fixes a part of bug #331052.
  3407. 2007-10-08 Jonathan Pobst <[email protected]>
  3408. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  3409. button. Fixes a part of bug #331052.
  3410. 2007-10-08 Jonathan Pobst <[email protected]>
  3411. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  3412. the CreateParams.
  3413. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  3414. decorations.
  3415. [Fixes bug #330986]
  3416. 2007-10-08 Jonathan Pobst <[email protected]>
  3417. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  3418. doesn't exist in 1.1. (Thanks jb!)
  3419. 2007-10-08 Jonathan Pobst <[email protected]>
  3420. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  3421. class to allow us to use different backends on different platforms.
  3422. Linux uses the current [Draw|Measure]String backend. Windows uses
  3423. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  3424. of GDI+. This leads to better looking text and more accurate measurements
  3425. on Windows, fixing many of the reported issues.
  3426. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  3427. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  3428. * FolderBrowserDialog.cs: When running on Windows,
  3429. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  3430. since we must match both "C:" and "C:\" forms. A little hackish, but
  3431. works.
  3432. Fixes #325247.
  3433. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  3434. * ListView.cs: When calling EndEdit (after editing an item),
  3435. create a new instance of LabelEditEventArgs to keep clean the fields
  3436. in case we get a new call to BeginEdit; also do Application.DoEvents
  3437. to have focus in synch. This is a fix similar to TreeView's #325244.
  3438. 2007-10-07 Andreia Gaita <[email protected]>
  3439. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  3440. * WebBrowserBase.cs: Added dialog support, calling the
  3441. WebBrowserDialogs classes for each specific dialog type.
  3442. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  3443. * ListView.cs: When the last item is focused and is removed,
  3444. move the focus to the previous item (in Items order). This is what MS
  3445. does.
  3446. Fixes #330415.
  3447. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  3448. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  3449. instead of the opposite (RemoveAt call Remove). This is a better
  3450. approach since we don't need to to a pair of traversals when using
  3451. RemoveAt.
  3452. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  3453. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  3454. check that the node actually has nodes, and if not, move to the
  3455. parent node instead.
  3456. Fixes #325265.
  3457. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  3458. * TreeView.cs: Move the previous change to the general case (to
  3459. call Application.DoEvents in cases where the method was called by
  3460. different places).
  3461. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  3462. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  3463. call Application.DoEvents. This is neccessary when we get a call to
  3464. BeginEdit from an AfterLabelEdit handler, because the focus always
  3465. goes to the TreeView, even if we try to give it to our
  3466. LabelEditTextBox. The call do Application.DoEvents seems to
  3467. synchronize the focus, basically.
  3468. Fixes #325244.
  3469. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  3470. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  3471. should be false. This also removes some nasty recursive paths. Fixes
  3472. part of #325244.
  3473. 2007-10-04 Everaldo Canuto <[email protected]>
  3474. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  3475. state to normal. Also resize window when cascading. Fixes #325433.
  3476. 2007-10-04 Jonathan Pobst <[email protected]>
  3477. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  3478. DefaultForeColor, as drawing empty colored lines isn't very useful.
  3479. [Fixes the not drawn lines part of bug #324358]
  3480. 2007-10-04 Jonathan Pobst <[email protected]>
  3481. * TextControl.cs: Move Line and LineTag classes into separate files to
  3482. make things easier to find.
  3483. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  3484. * RichTextBox.cs: Capitalize LineTag.Length property access.
  3485. - This is purely an organizational/formatting change, no logic changed. -
  3486. 2007-10-03 Everaldo Canuto <[email protected]>
  3487. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  3488. text is empty.
  3489. 2007-10-03 Everaldo Canuto <[email protected]>
  3490. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  3491. text is empty.
  3492. 2007-10-03 Everaldo Canuto <[email protected]>
  3493. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  3494. prevent calling of OnBackColorChanged. Fixes #325321.
  3495. 2007-10-03 Everaldo Canuto <[email protected]>
  3496. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  3497. because control can be disabled because owner is disabled.
  3498. 2007-10-02 Jonathan Pobst <[email protected]>
  3499. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  3500. string.Empty, test failed from previous change.
  3501. 2007-10-02 Jonathan Pobst <[email protected]>
  3502. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  3503. is null, not String.Empty. See bug #323038.
  3504. 2007-10-01 Jonathan Pobst <[email protected]>
  3505. * TextControl.cs: Change the margins to match MS a little better.
  3506. Still not perfect for X11 due to some DrawString differences, but
  3507. is still an improvement over the old stuff.
  3508. Partially fixes #324467.
  3509. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  3510. * FolderBrowserDialog.cs: When using MyComputer as
  3511. RootFolder, let absolute paths be considered as valid ones. Also, use
  3512. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  3513. for Windows compatibility.
  3514. Partially fixes #325247.
  3515. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  3516. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  3517. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  3518. method, since it causes the dialog to not select folders directly
  3519. under the root path (when setting SelectedPath property).
  3520. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  3521. * TreeNode.cs: When calling Expand/Collapse and need to call
  3522. ExpandBelow/CollapseBelow respectively, take into account
  3523. partially visible nodes (previously Expanding/Collapsing
  3524. a partially visible node in the bottom was not updating its +- sign).
  3525. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3526. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  3527. expand nodes below (ExpandBelow), scroll the entire Viewport
  3528. area if the node is above it and not visible (instead of scrolling
  3529. the area from node's Bottom, which applies only when the node is
  3530. visible).
  3531. Fixes #325266.
  3532. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3533. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  3534. node in the bottom area (as .Net does). This is done to preserve the
  3535. scroll position when ExpandAll is called before handle is created for
  3536. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  3537. Fixes #324103.
  3538. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3539. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  3540. bottom area if we are in fact not using the vertical scroll bar.
  3541. Fixes #324824.
  3542. 2007-09-27 Jonathan Pobst <[email protected]>
  3543. * Control.cs: Comment out a double buffering optimization that doesn't
  3544. take into account invalidates created in OnPaint, causing the control
  3545. to never be redrawn. It would take quite a bit of work to work around
  3546. this, but I left it commented with an explanation for later possible
  3547. optimization.
  3548. [Fixes bug #328681]
  3549. 2007-09-27 Jonathan Pobst <[email protected]>
  3550. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  3551. the text changes.
  3552. * RadioButton.cs: Implement GetPreferredSizeCore.
  3553. [Fixes bug #328672]
  3554. 2007-09-26 Jonathan Pobst <[email protected]>
  3555. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  3556. corcompare stuffs.
  3557. 2007-09-26 Jonathan Pobst <[email protected]>
  3558. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  3559. so that it doesn't get uninstalled on modal forms.
  3560. * Control.cs: Install a sync context when a control is created.
  3561. * WindowsFormsSyncronizationContext.cs: Create a private static control
  3562. to invoke on. This is easier than trying to find a created control we
  3563. can use.
  3564. [Fixes bug #327608]
  3565. 2007-09-25 Jonathan Pobst <[email protected]>
  3566. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  3567. run loop, and uninstall it when done.
  3568. * WindowsFormsSynchronizationContext.cs: Implement.
  3569. [Fixes the common case in bug #327608]
  3570. 2007-09-23 Gert Driesen <[email protected]>
  3571. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  3572. Use case-insensitive lookup of column name in indexer. Code
  3573. formatting.
  3574. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  3575. * TreeNode.cs: When collapsing or expanding a node, check whether its
  3576. change will affect the visible area (we were previously doing a
  3577. IsVisible check, but that check is not enough since children nodes
  3578. could be still visible). Fixes part of #325266.
  3579. 2007-09-21 Jonathan Pobst <[email protected]>
  3580. * TreeView.cs: Always select the first node when the TreeView gets
  3581. focus if there is no currently selected node.
  3582. [Fixes bug #324279]
  3583. 2007-09-21 Jonathan Pobst <[email protected]>
  3584. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  3585. node being selected is null.
  3586. [Patch from Yves Bastide fixes bug #326858]
  3587. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  3588. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  3589. whether all the parent nodes are expanded.
  3590. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  3591. call RecalculateVisibleOrder if all previous nodes are expanded.
  3592. Before that we were doing a IsVisible check, but sometimes the node
  3593. is not in the visible area, but _should_already be ready, because of
  3594. all previous nodes are expanded. Fixes #325259.
  3595. 2007-09-20 Jonathan Pobst <[email protected]>
  3596. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  3597. portion of the item is clicked.
  3598. 2007-09-20 Jonathan Pobst <[email protected]>
  3599. * TextControl.cs: Do not tell the system to move the cursor if the
  3600. textbox isn't focused. Fixes part of bug #322668.
  3601. 2007-09-20 Jonathan Pobst <[email protected]>
  3602. * ComboBox.cs: When there are no items, do not show the dropdown if
  3603. the down arrow is clicked. Fixes part of bug #322668.
  3604. 2007-09-20 Jonathan Pobst <[email protected]>
  3605. * ToolStripComboBox.cs: Manually set the size of this control in the
  3606. constructor, as it doesn't seem to be the same as DefaultSize.
  3607. Fixes a failing monobuild test.
  3608. 2007-09-19 Jonathan Pobst <[email protected]>
  3609. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  3610. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  3611. 2007-09-19 Jonathan Pobst <[email protected]>
  3612. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  3613. Desktop. This lets it work for people who have moved their desktops
  3614. from the default location on windows. For people who have not, both
  3615. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  3616. 2007-09-18 Jonathan Pobst <[email protected]>
  3617. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  3618. but when the base constructor sets this, the control is null. Set it
  3619. again in the constructor. Fixes a failing monobuild test.
  3620. 2007-09-18 Jonathan Pobst <[email protected]>
  3621. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  3622. get called.
  3623. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  3624. called.
  3625. 2007-09-18 Jonathan Pobst <[email protected]>
  3626. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  3627. will handle it themselves.
  3628. * ToolStripItem.cs: When deciding what the text of a tooltip should
  3629. be, use the Text property instead of the text field.
  3630. * ToolStripTextBox.cs: Handle tooltips.
  3631. [Fixes bugs #325417 and #325973]
  3632. 2007-09-18 Jonathan Pobst <[email protected]>
  3633. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  3634. left click. Fixes the easy part of bug #325969.
  3635. 2007-09-18 Jonathan Pobst <[email protected]>
  3636. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  3637. bug #325406, but set a minimum for StatusStrip to 22 to keep
  3638. bug #325390 fixed. I think this minimum would have been figured
  3639. up automatically if the grip was actually a ToolStripItem, but it
  3640. currently is not.
  3641. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  3642. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  3643. as this is apparently the actual value used by .Net. Also apply
  3644. ItemPadding in Details view only, and decrease the general width padding,
  3645. to have only the needed. This should fix #324340 in Windows too.
  3646. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  3647. * ListViewItem.cs: Don't Invalidate item if parent is inside
  3648. a BeginUpdate/EndUpdate block. This prevents to have differences
  3649. between the ListView and items state, as well as avoid some exceptions
  3650. there.
  3651. * ListView.cs: Make 'updating' field internal.
  3652. 2007-09-17 Jonathan Pobst <[email protected]>
  3653. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  3654. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  3655. size if appropriate.
  3656. Fixes reopened bug #325414.
  3657. 2007-09-17 Jonathan Pobst <[email protected]>
  3658. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  3659. * ToolStripItem.cs: Invalidate before and after our new autosize when
  3660. text changes.
  3661. Fixes reopened bug #325390.
  3662. 2007-09-17 Jonathan Pobst <[email protected]>
  3663. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  3664. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  3665. #325044.
  3666. 2007-09-17 Jonathan Pobst <[email protected]>
  3667. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  3668. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  3669. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  3670. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  3671. #82734.
  3672. 2007-09-14 Jonathan Pobst <[email protected]>
  3673. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  3674. item to select when the ToolStrip is selected.
  3675. * ToolStripControlHost: Realign the control when the bounds or visibility
  3676. change.
  3677. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  3678. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  3679. preferred height.
  3680. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  3681. base.OnPaint. Was causing text not to be drawn.
  3682. 2007-09-14 Jonathan Pobst <[email protected]>
  3683. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  3684. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  3685. * TreeView.cs: When creating the label edit text box,
  3686. set is initially to Visible = false. This is done to
  3687. prevent a confusion in the layout which makes it to lose
  3688. focus when shown the first time. Fixes part of #82592.
  3689. 2007-09-13 Andreia Gaita <[email protected]>
  3690. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  3691. 2007-09-13 Jonathan Pobst <[email protected]>
  3692. * ToolStrip.cs: Take Margin into account when calculating preferred
  3693. size. Also, allow preferred size to get smaller than the explicit
  3694. size.
  3695. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  3696. First step towards fixing bug #82747.
  3697. 2007-09-13 Jonathan Pobst <[email protected]>
  3698. * TreeView.cs: Applied patch from [email protected] to not paint the
  3699. full row select background over the plus/minus glyph. Also, turn
  3700. off the focus rectangle for full row select since MS doesn't seem
  3701. to ever paint it. [Fixes bug #81839]
  3702. 2007-09-13 Jonathan Pobst <[email protected]>
  3703. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  3704. This was causing keyboard opened dropdowns to lose focus.
  3705. [Fixes bug #82803]
  3706. 2007-09-13 Jonathan Pobst <[email protected]>
  3707. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  3708. ClientRectangle instead. [Fixes bug #82838]
  3709. 2007-09-13 Jonathan Pobst <[email protected]>
  3710. * SplitContainer.cs: We can't reset Visible on every layout because
  3711. someone may have set Visible = false explicitly on a SplitterPanel.
  3712. Make sure when we switch orientation the SplitterDistance does not
  3713. change. Fixes two failing tests.
  3714. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3715. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  3716. TextRenderer, since the latter is only available in 2.0.
  3717. 2007-09-13 Ivan N. Zlatev <[email protected]>
  3718. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  3719. * SplitContainer.cs: Implement FixedPanel layouting.
  3720. 2007-09-12 Andreia Gaita <[email protected]>
  3721. * WebBrowserBase.cs: setup shutdown routine
  3722. 2007-09-12 Andreia Gaita <[email protected]>
  3723. * Application.cs: Let keyboard events that are targetted
  3724. to non-mwf windows hosted inside mwf (as in, webbrowser),
  3725. propagate properly. Fixes keyboard handling on the webbrowser.
  3726. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3727. * ListView.cs: When handling MouseUp event and we are
  3728. highligting a node with the mouse right button, don't trigger
  3729. Before/AfterSelecting event, since we are not actually selecting
  3730. the node.
  3731. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3732. * TreeView.cs: When editing a node, modify the edit text box
  3733. depending on the text length (as you are typing), like MS does.
  3734. 2007-09-12 Jonathan Pobst <[email protected]>
  3735. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  3736. Override GetPreferredSizeCore to perform calculations. Remove custom
  3737. autosize logic. [Fixes bug #82739]
  3738. 2007-09-12 Jonathan Pobst <[email protected]>
  3739. * TextBoxBase.cs: Modified should default to false.
  3740. 2007-09-11 Jonathan Pobst <[email protected]>
  3741. * Control.cs: Update the anchoring distances even when layout is supspended.
  3742. Patch provided by George fixes bug #82805.
  3743. 2007-09-11 Jonathan Pobst <[email protected]>
  3744. * Control.cs: Provide a setter for ExplicitHeight.
  3745. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  3746. remove the hacks in here for requested_height.
  3747. [Fixes bug #82749]
  3748. 2007-09-11 Jonathan Pobst <[email protected]>
  3749. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  3750. Maximum to lower that its current Value caused an ArgumentException by setting
  3751. the Value to the new Maximum.
  3752. 2007-09-11 Jonathan Pobst <[email protected]>
  3753. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  3754. handle moves to the closest tick when it is being dragged.
  3755. [Fixes bug #82751]
  3756. 2007-09-11 Jonathan Pobst <[email protected]>
  3757. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  3758. can't let them count as real items when calculating where to merge in the
  3759. user's items. [Fixed bug #82786]
  3760. 2007-09-10 Jonathan Pobst <[email protected]>
  3761. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  3762. who want to add a menu item directly onto a toolstrip.
  3763. [Fixes bug #82775, part II]
  3764. 2007-09-10 Jonathan Pobst <[email protected]>
  3765. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  3766. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  3767. don't set it to available.
  3768. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  3769. [Fixes bug #82727, part II]
  3770. 2007-09-10 Jonathan Pobst <[email protected]>
  3771. * StatusStrip.cs: Change item placement to None if not visible.
  3772. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  3773. These should have been committed to fix 82723, but I missed them.
  3774. 2007-09-10 Jonathan Pobst <[email protected]>
  3775. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  3776. Click, and that it is only called once.
  3777. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  3778. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  3779. dropped down.
  3780. [Fixes bug #82775]
  3781. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  3782. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  3783. to match .Net.
  3784. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  3785. instead of 8, just like above. Partially fixes #82734.
  3786. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  3787. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  3788. fixes #82734.
  3789. * ListView.cs: Remove extra space between rows in Details view (match
  3790. .Net).
  3791. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  3792. the DefaultFont.
  3793. 2007-09-08 Gert Driesen <[email protected]>
  3794. * Application.cs: Modified ProductVersion to return value of
  3795. AssemblyInformationVersion if available, and fallback to assembly
  3796. version. Fixes bug #82746. Code formatting.
  3797. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  3798. instead.
  3799. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  3800. * Control.cs: When updating ZOrder for a child control,
  3801. take into account the implicit ones (we need it in our controls
  3802. using them). Fixes #82642.
  3803. 2007-09-07 Jonathan Pobst <[email protected]>
  3804. * ToolStripItem.cs: Add support for animated images.
  3805. [Fixes bug #82726]
  3806. 2007-09-07 Jonathan Pobst <[email protected]>
  3807. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  3808. visible. [Fixes bug #82727]
  3809. 2007-09-06 Jonathan Pobst <[email protected]>
  3810. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  3811. so we repaint using the new size. [Fixes bug #82723]
  3812. 2007-09-06 Jonathan Pobst <[email protected]>
  3813. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  3814. option. [Fixes bug #81779]
  3815. 2007-09-06 Jonathan Pobst <[email protected]>
  3816. * TreeView.cs: Override HandleClick because the StandardClick style is
  3817. set to false. According to MSDN (and testing), the click events should
  3818. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  3819. 2007-09-06 Jonathan Pobst <[email protected]>
  3820. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  3821. the border will disappear. Fixes reopened #82653.
  3822. 2007-09-06 Jonathan Pobst <[email protected]>
  3823. * Control.cs: If the control is autosize, and its preferred size changes
  3824. when it lays out its children, tell its parent so it can be re-layed out.
  3825. Fixing some of the fallout from r85433.
  3826. 2007-09-06 Jonathan Pobst <[email protected]>
  3827. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  3828. and CheckBox share some code.
  3829. 2007-09-06 Jonathan Pobst <[email protected]>
  3830. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  3831. the TrackBar, not every mouse move. [Fixed bug #82718]
  3832. 2007-09-06 Jonathan Pobst <[email protected]>
  3833. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  3834. under 2.0 rendering. [Fixes bug #82657]
  3835. 2007-09-06 Jonathan Pobst <[email protected]>
  3836. * TreeView.cs: If we found a TreeNode to display a context menu, but
  3837. it doesn't have one to show, let the TreeView display its menu
  3838. instead. [Fixes bug #82680]
  3839. 2007-09-06 Jonathan Pobst <[email protected]>
  3840. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  3841. OnPaintInternal instead. Give the internal TextBox a Border property
  3842. so it can draw itself more correctly. [Fixes bug #82653]
  3843. 2007-09-06 Zoltan Varga <[email protected]>
  3844. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  3845. 2007-09-05 Everaldo Canuto <[email protected]>
  3846. * ComboBox.cs: Adjust combobox button state to reflect current state when
  3847. back to enabled = true. Fixes first issue of #82654.
  3848. 2007-09-05 Everaldo Canuto <[email protected]>
  3849. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  3850. setting visible property.
  3851. 2007-09-05 Everaldo Canuto <[email protected]>
  3852. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  3853. fix zorder for controls initially created as non visible. Fixes #82667.
  3854. 2007-09-04 Everaldo Canuto <[email protected]>
  3855. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  3856. mimic win32 look. Fixes #82656.
  3857. 2007-09-01 Zoltan Varga <[email protected]>
  3858. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  3859. Stubs for new net 3.5 classes.
  3860. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  3861. * ListViewItem.cs: In ListViewItemCollection operations calculate
  3862. Layout for owner as well as invalidate it. Fixes part of #82642.
  3863. 2007-08-31 Jonathan Pobst <[email protected]>
  3864. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  3865. when returning Enabled. [Fixes bug #82651]
  3866. 2007-08-30 Everaldo Canuto <[email protected]>
  3867. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  3868. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3869. * ListView.cs: Put item padding info in a single place
  3870. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  3871. columns again.
  3872. * ThemeWin32Classic.cs:
  3873. * Theme.cs: Likewise.
  3874. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3875. * ListView.cs: When a ListViewSubItem instance is invalidated,
  3876. invoke Invalidate on parent ListViewItem, not parent ListView.
  3877. Fixes #81570.
  3878. 2007-08-30 Jonathan Pobst <[email protected]>
  3879. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  3880. 2007-08-30 Jonathan Pobst <[email protected]>
  3881. * BindingMemberInfo.cs: Implement == and != operators.
  3882. 2007-08-30 Jonathan Pobst <[email protected]>
  3883. * HtmlElementEventArgs.cs: Implement properties.
  3884. 2007-08-29 Jonathan Pobst <[email protected]>
  3885. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  3886. 2007-08-29 Jonathan Pobst <[email protected]>
  3887. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  3888. Add (string,string,string) to implement the imagekey. It turns out, we
  3889. use the requested imagekey whereas .Net does not. So I broke ours to match
  3890. theirs. :(
  3891. 2007-08-29 Jonathan Pobst <[email protected]>
  3892. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  3893. 2007-08-29 Jonathan Pobst <[email protected]>
  3894. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  3895. 2007-08-29 Gert Driesen <[email protected]>
  3896. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  3897. up-to-date. Fixes bug #82618.
  3898. 2007-08-29 Everaldo Canuto <[email protected]>
  3899. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  3900. reflect document changes. Fixes #82367.
  3901. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  3902. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  3903. as well as add new ones. This should make work the BackgroundImage
  3904. property for ListView again.
  3905. 2007-08-28 Jonathan Pobst <[email protected]>
  3906. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  3907. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  3908. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  3909. 2007-08-28 Jonathan Pobst <[email protected]>
  3910. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  3911. IsKeyLocked.
  3912. 2007-08-28 Jonathan Pobst <[email protected]>
  3913. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  3914. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  3915. 2007-08-28 Jonathan Pobst <[email protected]>
  3916. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  3917. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  3918. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3919. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  3920. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3921. * GridEntry.cs: Implement GetService.
  3922. 2007-08-27 Jonathan Pobst <[email protected]>
  3923. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  3924. for label editting, make sure we focus back on the TreeView.
  3925. [Fixes bug #82590]
  3926. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  3927. * ListView.cs: Add some 2.0 overrides.
  3928. 2007-08-27 Everaldo Canuto <[email protected]>
  3929. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  3930. because getter dont returns right value before handle creation. Thanks
  3931. to George. Fixes #82569.
  3932. 2007-08-27 Everaldo Canuto <[email protected]>
  3933. * Theme.cs: Revert last patch, it causes error under win32.
  3934. 2007-08-27 Everaldo Canuto <[email protected]>
  3935. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  3936. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  3937. logical Desktop rather than the physical file system location. Fixes #82603.
  3938. 2007-08-26 Everaldo Canuto <[email protected]>
  3939. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  3940. for the patch. Fixes #82568.
  3941. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3942. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  3943. methods.
  3944. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3945. * ListViewInsertionMark.cs: New stubbed class.
  3946. 2007-08-25 Gert Driesen <[email protected]>
  3947. * FolderBrowserDialog.cs: When adding folder, immediately create the
  3948. directory with temporary name and rename the directory when editing
  3949. finishes. This matches MS. Ensure the node for the new folder is
  3950. selected and LabelEdit is disabled, when editing is either finished
  3951. or cancelled.
  3952. 2007-08-25 Gert Driesen <[email protected]>
  3953. * TreeView.cs: When editing label of node, ensure node is visible.
  3954. 2007-08-25 Ivan N. Zlatev <[email protected]>
  3955. * PropertyGridView.cs: Set the value only if it has changed.
  3956. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3957. * ListView.cs: Some more code refactoring to add support sorting
  3958. with groups (now for Details view). Remove unused code also.
  3959. 2007-08-24 Jonathan Pobst <[email protected]>
  3960. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  3961. Not a big fan of reacting immediately to a field in an EventArg, but that's
  3962. the way it's done. (This is part of the previous commit that got left out.)
  3963. 2007-08-25 Gert Driesen <[email protected]>
  3964. * FolderBrowserDialog.cs: Removed need for separate description field.
  3965. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  3966. has focus when dialog box is displayed again, regardless of what
  3967. button was pressed the previous time. Set RootFolder and SelectedPath
  3968. each time dialog box is displayed. This ensures the treeview is
  3969. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  3970. when it does not have focus. Added support for more special folders.
  3971. 2007-08-24 Jonathan Pobst <[email protected]>
  3972. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  3973. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  3974. it resets the edit_args.
  3975. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  3976. [Fixes bug #82577]
  3977. 2007-08-24 Gert Driesen <[email protected]>
  3978. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  3979. button to match MS. Provide more meaningful exception message for
  3980. invalid RootFolder value. Use zero-length string when SelectedPath
  3981. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  3982. them in FolderBrowserTreeView. Allow folders to be created in
  3983. RootFolder. Fixes bug #82576.
  3984. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3985. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  3986. since we need to take into account the group headers and the margin
  3987. between them.
  3988. * ListViewGroup.cs: Add a rows field to store the number of rows per
  3989. group.
  3990. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  3991. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  3992. Anyways, let's just follow the lead.
  3993. 2007-08-24 Jonathan Pobst <[email protected]>
  3994. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  3995. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  3996. controls in GetPreferredSizeCore.
  3997. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  3998. [Fixes bug #82488]
  3999. 2007-08-24 Jonathan Pobst <[email protected]>
  4000. * PrintDialog.cs: Need to instantiate the form variable here too.
  4001. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  4002. * ListView.cs: Do some reorganization to support sorting in groups,
  4003. by doing the layout sequentially in ListView.Items. Also add support
  4004. for the Default Group, which should be available for items with no
  4005. group assigned.
  4006. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  4007. for storing layout info also.
  4008. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  4009. collection, as well as providing internal members to do a traversal
  4010. including the default group (needed when doing layout/drawing).
  4011. * ThemeWin32Classic.cs: When drawing group headers use internal
  4012. ListViewGroupCollection members to take into account the default
  4013. group.
  4014. 2007-08-23 George Giolfan <[email protected]>
  4015. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  4016. 2007-08-23 Jonathan Pobst <[email protected]>
  4017. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  4018. been created. If handle is created, we want arror keys. If we are editing
  4019. a node, we want things like enter, esc, home, end, page up, page down.
  4020. Allows Esc to work for FolderBrowserDialog.
  4021. 2007-08-23 Jonathan Pobst <[email protected]>
  4022. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  4023. they close when ESC is pressed. Thanks Andy!
  4024. 2007-08-23 Jonathan Pobst <[email protected]>
  4025. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  4026. This way we can tell if this is a CommonDialog provided with mono, or one
  4027. that is being implemented outside by a developer. If it is an external one,
  4028. the developer is responsible for showing their own form. We were showing
  4029. our blank form after the developer showed his.
  4030. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  4031. PageSetupDialog.cs: Instantiate form variable in our constructor.
  4032. [Fixes bug #82531]
  4033. 2007-08-23 Jonathan Pobst <[email protected]>
  4034. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  4035. and always return true. [Fixes bug #81616]
  4036. 2007-08-23 Jonathan Pobst <[email protected]>
  4037. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  4038. TextBox. [Fixes bug #82549]
  4039. 2007-08-23 Gert Driesen <[email protected]>
  4040. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  4041. or entered then do not close the dialog. Fixes bug #82539. Removed
  4042. CWLs.
  4043. 2007-08-22 Everaldo Canuto <[email protected]>
  4044. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  4045. code to this method. It is calling every time filter changes. This method
  4046. will help to fix the bug #80887.
  4047. 2007-08-22 Jonathan Pobst <[email protected]>
  4048. * CheckBox.cs: Implement AutoSize calculation.
  4049. 2007-08-22 Jonathan Pobst <[email protected]>
  4050. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  4051. * Theme.cs: Method declarations for 2.0 rendering path.
  4052. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  4053. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  4054. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  4055. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  4056. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  4057. only call Redraw on the parent one time.
  4058. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  4059. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  4060. GetClipboardContent.
  4061. * DataGridViewCell.cs: Implemented GetClipboardContent,
  4062. GetEditedFormattedValue, GetFormattedValue.
  4063. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  4064. 2007-08-21 Jonathan Pobst <[email protected]>
  4065. * TableLayoutStyleCollection.cs: corcompare fix.
  4066. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  4067. * DataObject.cs: Implemented retrieval of convertible / not convertible
  4068. objects.
  4069. 2007-08-21 Jonathan Pobst <[email protected]>
  4070. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  4071. ourselves. This ensures the entire old bounds are repainted, in case our new
  4072. size is smaller. [Fixes bug #82518]
  4073. 2007-08-20 Everaldo Canuto <[email protected]>
  4074. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  4075. flag to make fast handle of mouse events, without this the mouse move is
  4076. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  4077. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  4078. * ListView.cs: When doing layout calculations don't use a ref
  4079. param to keep the current item; instead use its Index value (this
  4080. is specially important when doing the layout with Groups
  4081. and Items being sparse). Also don't take into account items added to
  4082. the Group but not yet added to the main ListView.Items collection.
  4083. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  4084. * ListViewGroupCollection.cs: Forgot to mimic an issue
  4085. in the indexer (don't assign the ListView owner for new values).
  4086. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  4087. * ListViewGroupCollection.cs: Make the string indexer use
  4088. the int based indexer to re-use code, instead of duplicate the code.
  4089. Also Redraw as needed and take into account null values.
  4090. 2007-08-20 Jonathan Pobst <[email protected]>
  4091. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  4092. [Fixes bug #82481]
  4093. 2007-08-20 Jonathan Pobst <[email protected]>
  4094. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  4095. when other buttons are clicked or navigated to.
  4096. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  4097. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  4098. it's XplatUIX11 that attaches them.
  4099. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  4100. * DataGridView.cs: If a column has been added, recreate the editing row.
  4101. Fixes #82226.
  4102. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  4103. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  4104. of the tag to draw. Makes disappearing text show up again.
  4105. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  4106. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  4107. Contents. Fixes #82487.
  4108. 2007-08-19 Andreia Gaita <[email protected]>
  4109. * Added HtmlElement.cs, HtmlElementCollection.cs,
  4110. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  4111. 2007-08-19 Andreia Gaita <[email protected]>
  4112. * BindingSource.cs: Implement this, dispose and getenumerator.
  4113. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  4114. out of AddInternal, throw it only on public Add calls. The
  4115. UsingWebBrowser sample was blowing up with this when setting the
  4116. DataSource after adding DataBindings, so it's likely that .net
  4117. only throws this exception when Add is called directly.
  4118. * ToolStripControlHost.cs: Return the hosted control's text
  4119. property, and not the ToolStripItem one (it would always return
  4120. the initial value).
  4121. * HtmlDocument.cs: Implement GetElementById and All
  4122. * WebBrowser.cs: Remove exception on set_DocumentStream.
  4123. 2007-08-19 Everaldo Canuto <[email protected]>
  4124. * Form.cs: Fix the max and min value for opacity (0~1).
  4125. 2007-08-19 Everaldo Canuto <[email protected]>
  4126. [Fixes #80118]
  4127. * DataGridTableStyle.cs: Default header font is now null, on getter it
  4128. returns datagrid font when is null. On setter permits null.
  4129. * DataGrid.cs:
  4130. - When ResetHeaderFont set header font to null.
  4131. - On EndInit set grid_style.DataGrid.
  4132. 2007-08-19 Everaldo Canuto <[email protected]>
  4133. * TabControl.cs: Fix regression in default padding x.
  4134. 2007-08-19 Everaldo Canuto <[email protected]>
  4135. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  4136. 2007-08-19 Everaldo Canuto <[email protected]>
  4137. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  4138. not 2. Fixes #82229.
  4139. 2007-08-18 Everaldo Canuto <[email protected]>
  4140. * TabControl.cs: Fix tab size when image height is less than text height.
  4141. Partially fixes #81837.
  4142. 2007-08-18 Everaldo Canuto <[email protected]>
  4143. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  4144. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  4145. from taskbar and keep it on "alt_tab". Fixes #81722.
  4146. 2007-08-18 Everaldo Canuto <[email protected]>
  4147. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  4148. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  4149. Fixes #80877 and #79418.
  4150. 2007-08-18 Everaldo Canuto <[email protected]>
  4151. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  4152. between position and one of the screen borders. Fixes #82349.
  4153. 2007-08-18 Everaldo Canuto <[email protected]>
  4154. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  4155. the MessageBox in the taskbar. Fixes #82457.
  4156. 2007-08-18 Everaldo Canuto <[email protected]>
  4157. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  4158. than icon. Fixes #82468.
  4159. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  4160. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  4161. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  4162. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  4163. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  4164. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  4165. FormBorderStyle to decide if we're calculating a new size from the
  4166. client size or not. CreateParams: Don't fake tool windows, only the X11
  4167. backend manages toolwindows manually.
  4168. 2007-08-17 Jonathan Pobst <[email protected]>
  4169. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  4170. ObjectDisposedException.
  4171. 2007-08-17 Jonathan Pobst <[email protected]>
  4172. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  4173. in OnLoad should not have any effect. [Fixes bug #82470]
  4174. 2007-08-17 Jonathan Pobst <[email protected]>
  4175. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  4176. paint for controls that create their own ToolTipWindow instead of
  4177. going through ToolTip.
  4178. 2007-08-17 Jonathan Pobst <[email protected]>
  4179. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  4180. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  4181. * ListViewGroupCollection.cs: Use generic List instead of an
  4182. ArrayList, since this collection is 2.0 only.
  4183. 2007-08-17 Jeffrey Stedfast <[email protected]>
  4184. * ToolTip.cs (Hide): Made public to make the build work (should
  4185. this not be public?).
  4186. 2007-08-17 Jonathan Pobst <[email protected]>
  4187. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  4188. ToolTipWindow.
  4189. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  4190. 2007-08-17 Jonathan Pobst <[email protected]>
  4191. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  4192. PopupEventHandler.cs: Make these internal for 1.1.
  4193. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  4194. use ToolTipWindow internals.
  4195. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  4196. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  4197. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4198. * X11Dnd.cs: Add a null check.
  4199. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4200. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  4201. nothing else succeeds. Fixes #82453.
  4202. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4203. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  4204. rectangle if we're painting to another window than the one the paint
  4205. message was generated on. Simplify the code somewhat, which makes
  4206. PaintEventEnd also simpler.
  4207. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4208. * Control.cs: When changing parent of a form, let the form decide whether
  4209. XplatUI.SetParent should be called or not.
  4210. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  4211. recreating the handle. If the new parent's handle isn't created, don't
  4212. recreate our handle, just destroy it. CreateParams: Check if the
  4213. parent's handle is created before fetching it.
  4214. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4215. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  4216. Update calls to PaintEventStart/End to take a Message argument.
  4217. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  4218. take a Message argument.
  4219. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  4220. Message argument, and handle the case where we don't paint to the window
  4221. for which the paint message was generated.
  4222. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4223. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  4224. Marshal.GetLastWin32Error. Plug nasty memory leak in
  4225. PaintEventStart/End, we were creating a DC we weren't releasing.
  4226. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  4227. * ListView.cs: Add Groups support in Details view. Also have a small
  4228. method to do the layout of the group header. Don't use a separate
  4229. method to do the groups calculation in Icons view, since our methods
  4230. are now a little simpler.
  4231. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  4232. `Bounds'.
  4233. * ThemeWin32Classic.cs: Likewise.
  4234. 2007-08-16 Jonathan Pobst <[email protected]>
  4235. * Application.cs: Add FilterMessage method and rework our message loop
  4236. logic to use it.
  4237. 2007-08-16 Jonathan Pobst <[email protected]>
  4238. * Application.cs: Add some methods and stub a few methods that are
  4239. pretty much never used.
  4240. 2007-08-15 Jonathan Pobst <[email protected]>
  4241. * TreeNode.cs: Add some serialization methods.
  4242. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  4243. * ListView.cs: In ListViewItemCollection have a
  4244. 'is_main_collection' field to not modify ListViewItem.ListView
  4245. when using it as ListViewGroup.Items (and not ListView.Items)
  4246. and also don't modify selection state (.Net behaviour).
  4247. Instead, set group for items contained in a ListViewGroup.Items collection.
  4248. * ListViewItem.cs: Simplify some code in Group setter.
  4249. * ListViewGroup.cs: use the new .ctor to pass the current instance
  4250. to the ItemsCollection.
  4251. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  4252. instances when adding/removing. Also make Remove use RemoveAt, which
  4253. should perform better.
  4254. 2007-08-14 Jonathan Pobst <[email protected]>
  4255. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  4256. that crept into the 1.1 profile.
  4257. 2007-08-14 Jonathan Pobst <[email protected]>
  4258. * ToolBarButton.cs: Implement ImageKey.
  4259. 2007-08-14 Jonathan Pobst <[email protected]>
  4260. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  4261. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  4262. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  4263. created, it might have gotten destroyed since we last checked. Fixes
  4264. #82405.
  4265. 2007-08-11 Jonathan Pobst <[email protected]>
  4266. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  4267. tooltip will hide when mouse is moved off the control.
  4268. [Fixes bug #82407]
  4269. 2007-08-11 Andreia Gaita <[email protected]>
  4270. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  4271. using Mono.Mozilla for loading and navigating webcontrol
  4272. with xulrunner.
  4273. The initial implementation was done on
  4274. /trunk/mozembed/tests/browser , and copied here.
  4275. 2007-08-11 Gert Driesen <[email protected]>
  4276. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  4277. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  4278. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  4279. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  4280. RowTemplateFull: throw an exception if a column doesn't have a template.
  4281. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  4282. add the row just before it.
  4283. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  4284. selected.
  4285. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  4286. DataGridView field to be able to reach the grid's editing row.
  4287. 2007-08-10 Jonathan Pobst <[email protected]>
  4288. * ToolTip.cs: If the control's handle hasn't been created when it has a
  4289. tooltip set on it, don't check to see if we need to show the tooltip. This
  4290. check was causing the control's handle to be created.
  4291. [Fixes bug #82399]
  4292. 2007-08-10 Jonathan Pobst <[email protected]>
  4293. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  4294. 1.1 2.0
  4295. Handle Not Created -1 0
  4296. Handle Created 0 0
  4297. [Fixes bug #82371]
  4298. 2007-08-10 Jonathan Pobst <[email protected]>
  4299. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  4300. [Fixes bug #82348]
  4301. 2007-08-09 Jonathan Pobst <[email protected]>
  4302. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  4303. * ToolTip.cs: Implement some properties and owner draw.
  4304. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4305. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  4306. show them again, since setting visibility causes a paint, causing an
  4307. endless loop (instead use a temporary and set it all when it's known if
  4308. they should be shown or not). Fixes #79265.
  4309. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4310. * DataGridView.cs: Only do a full column/row selection if a header was
  4311. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  4312. isn't pressed, deselect everything before selecting something.
  4313. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4314. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  4315. behaviour according to bug #81075 - they are returned in the order they
  4316. are selected. Fix HitTest to check if the point is within any of the
  4317. headers. Allow for row/column selection when in ColumnHeader or
  4318. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  4319. the row and column to call when their selected state changes, and
  4320. updated selected_[rows|columns] whenever SetSelected* is called.
  4321. * DataGridViewBand.cs: Initialize isRow correctly. Call
  4322. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  4323. add a SelectedInternal to avoid StackOverflows.
  4324. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  4325. ReadOnly no matter what.
  4326. * DataGridViewSelectedColumnCollection.cs,
  4327. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  4328. the items in reverse order (just as MS does...)
  4329. 2007-08-09 Jonathan Pobst <[email protected]>
  4330. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  4331. itself, not part of a mnemonic. [Fixes bug #82378]
  4332. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4333. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  4334. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  4335. the DGV, the column, the row, or the cell itself is readonly.
  4336. 2007-08-09 Gert Driesen <[email protected]>
  4337. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  4338. OSVersion.Platform.
  4339. * FileDialog.cs: Same.
  4340. * TextRendered.cs: Same.
  4341. * FolderBrowserDialog.cs: Same.
  4342. * TextBoxBase.cs: Same.
  4343. * Application.cs: Same.
  4344. * Cursors.cs: Same.
  4345. * ThemeClearLooks.cs: Same.
  4346. 2007-08-09 Gert Driesen <[email protected]>
  4347. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  4348. instead of duplicating these checks everywhere.
  4349. * FileDialog.cs: Use case-insensitive comparison for populating the
  4350. DirComboBox when not running on unix. Fixes bug #82385.
  4351. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  4352. "Look in".
  4353. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4354. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  4355. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  4356. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  4357. cell and column selection with ctrl and shift pressed. Call the correct
  4358. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  4359. the corresponding virtual method (PaintBackground to paint background,
  4360. etc).
  4361. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  4362. either the column, row or the cell itself is selected.
  4363. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  4364. OnRowsAdded.
  4365. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  4366. here. When the row is selected, don't select all cells. Each cell now
  4367. queries the row to see if the row is selected.
  4368. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4369. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  4370. SelectionMode.
  4371. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  4372. * ListView.cs: In ListViewItemsCollection check that owner is
  4373. not null before trying to access it (this happens quite often
  4374. using Groups). Also don't duplicate calls by calling CollectionChanged
  4375. method.
  4376. 2007-08-08 Jonathan Pobst <[email protected]>
  4377. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  4378. when we are dismissed to clear keyboard mnemonics.
  4379. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  4380. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  4381. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  4382. was activated by keyboard or the OS tells us to always draw them.
  4383. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  4384. [Fixes bugs #82376, #82377]
  4385. 2007-08-08 Jonathan Pobst <[email protected]>
  4386. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  4387. shot at having it because Alt was pressed.
  4388. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  4389. the first real menu item.
  4390. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  4391. a mnemonic if Text is null.
  4392. [Fixes bug #82374]
  4393. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  4394. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  4395. search do check whether the item is already contained in the
  4396. collection or not; instead check if the owner of the item is the same
  4397. as ours. Also, remove a redundant check in the same method.
  4398. 2007-08-08 Jonathan Pobst <[email protected]>
  4399. * Control.cs: Allow the clip region to be set back to null.
  4400. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  4401. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  4402. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  4403. * GridEntry.cs: Add a null check.
  4404. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  4405. entries. Fixes #82297.
  4406. 2007-08-07 Jonathan Pobst <[email protected]>
  4407. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  4408. for 2.0.
  4409. 2007-08-07 Jonathan Pobst <[email protected]>
  4410. * ListBox.cs: Implement ScaleControl.
  4411. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4412. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  4413. have a menu strip.
  4414. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  4415. parent has a menu strip. Fixes #81689.
  4416. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4417. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  4418. moments, so apply some fuzzy logic to determine if the mouse is still
  4419. inside a control or not. Fixes #82288 (for the third time).
  4420. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4421. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  4422. Don't create the child if it has been disposed already (may happen if
  4423. the user closes the form the Load event).
  4424. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4425. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  4426. #82288.
  4427. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4428. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  4429. might call us after we've been destroyed, in which case our own private
  4430. parent field is null. Fixes #82326.
  4431. 2007-08-06 Jonathan Pobst <[email protected]>
  4432. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  4433. check for setting the dropdown's owner.
  4434. 2007-08-06 Jonathan Pobst <[email protected]>
  4435. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  4436. before removing system menu items.
  4437. 2007-08-02 Jonathan Pobst <[email protected]>
  4438. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  4439. folding.
  4440. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  4441. folding.
  4442. * ToolStrip.cs: Add a null check to mnemonics.
  4443. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  4444. no ConnectedArea.
  4445. [Fixes most of bug #81689]
  4446. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  4447. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  4448. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  4449. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  4450. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  4451. * DataGridViewCell.cs: EditType: returns
  4452. DataGridViewTextBoxEditingControl always.
  4453. 2007-08-01 Jonathan Pobst <[email protected]>
  4454. * TextRenderer.cs: Remove the LineLimit string format flag from the
  4455. DrawString fallback method so that things like buttons that aren't
  4456. tall enough to draw a full line will still draw part of the text.
  4457. [Fixes part of bug #82272]
  4458. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  4459. * DataGridView.cs: Implemented AutoResizeColumn(s).
  4460. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  4461. according to the Alignment.
  4462. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  4463. Implement alignment and padding when painting.
  4464. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  4465. exists.
  4466. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  4467. way.
  4468. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  4469. a column is added.
  4470. 2007-07-31 Jonathan Pobst <[email protected]>
  4471. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  4472. which is internal.
  4473. 2007-07-31 Jonathan Pobst <[email protected]>
  4474. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  4475. hide GetPreferredSize from public API.
  4476. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  4477. * ToolStripItem.cs: Stub out drag and drop methods and events.
  4478. * ToolStripManager.cs: Stub out Save/LoadSettings.
  4479. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  4480. * ToolStripPanel.cs: Fix corcompare error.
  4481. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  4482. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  4483. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  4484. 2007-07-31 Jonathan Pobst <[email protected]>
  4485. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  4486. bounds height instead of PreferredHeight. Puts things back the way
  4487. they were for height while still fixing the width. Fixes broken unit
  4488. tests.
  4489. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4490. * Binding.cs: Implement 2.0 constructors and add a null check.
  4491. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4492. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  4493. and fix row index (off by one).
  4494. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4495. * PropertyGridView.cs: Remove debug output.
  4496. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4497. * Control.cs: We need to reset the is_created flags when the handle is
  4498. destroyed. Fixes #82187.
  4499. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  4500. client coordinates if the window doesn't have a parent.
  4501. Win32GetParent returns the parent or the owner, and for top-level
  4502. windows with no parent (but with an owner) we were calculating the
  4503. location from the location of the owner.
  4504. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  4505. form has been disposed.
  4506. * MdiClient.cs: Add a null-check.
  4507. 2007-07-30 Jonathan Pobst <[email protected]>
  4508. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  4509. actually do auto-sizing. Override the internal GetPreferredSizeCore
  4510. so we can provide an implementation that returns the current width
  4511. and preferred height. Allows anchor = right to work with TextBox 2.0.
  4512. [Fixes bug #82233]
  4513. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  4514. * ListView.cs: Add support for navigating items in Groups mode, by
  4515. creating a big matrix containing all rows and cols of all groups. When
  4516. are in other mode than Details, pressing Up should have a similar
  4517. behaviour as that one of Down (moving to the next available column if
  4518. current one doesn't have an item in the requested row). Also, don't
  4519. proceed to use groups if ShowGroups is false.
  4520. * ListViewGroup.cs: Add an internal int field to store the starting
  4521. row of the group (used by the big matrix used for navigating the
  4522. ListView).
  4523. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  4524. false.
  4525. 2007-07-30 Jonathan Pobst <[email protected]>
  4526. * ToolStripDropDown.cs: When we do Show, start with the
  4527. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  4528. modify the direction to keep it on screen. [Fixes bug #82210]
  4529. 2007-07-29 Gert Driesen <[email protected]>
  4530. * FileDialog.cs: Accept any FilterIndex value, and store it
  4531. unmodified. When FilterIndex is less than 1, or greater than number
  4532. of filters, then default to first filter. Only add filter extension to
  4533. file if user did not specifiy an extension. When type of dialog is
  4534. OpenFileDialog and DefaultExt is set, then only use filter extension
  4535. if: CheckFileExists is true and no file wih the default extension
  4536. exists, or CheckFileExists is false, and user specified file does not
  4537. exist. When CheckFileExists is true, then add first extension of
  4538. selected filter that matches existing file. Perform checks for
  4539. existing file, overwrite and create after extension has been added to
  4540. file name. When CheckFileExists is true and type is SaveFileDialog,
  4541. then only consider first filter extension if DefaultExt is set.
  4542. When CheckFileExists is true, then ignore DefaultExt if file with that
  4543. extension does not exist. Also perform check for existing file when
  4544. type is SaveFileDialog. Changed some field to constants.
  4545. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  4546. * ListView.cs: Take into account the region used by header
  4547. control when doing the vertical scroll (this way we invalidate
  4548. the precise area, and don't get any dirty one).
  4549. 2007-07-27 Everaldo Canuto <[email protected]>
  4550. * FileDialog.cs: Check for valid filterIndex on button open/save.
  4551. Fixes #82184.
  4552. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  4553. * ListView.cs: Update some layout calculations in details view
  4554. and clean the code in a pair of assignations.
  4555. 2007-07-26 Jonathan Pobst <[email protected]>
  4556. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  4557. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  4558. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  4559. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  4560. 2007-07-26 Jonathan Pobst <[email protected]>
  4561. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  4562. performance of thread-safe Graphic methods. (Thanks rolf!)
  4563. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  4564. * ListView.cs: When doing the layout calculations, don't calculate
  4565. scroll bars before handle is created. This is unnecessary and also
  4566. calculating them before handle creation item causes a number of random
  4567. bugs (which begin to appear after Chris' big patch for handle creation
  4568. fixes).
  4569. 2007-07-26 Jonathan Pobst <[email protected]>
  4570. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  4571. for things that don't have a Graphics object. Currently, things just use
  4572. the static Hwnd.bmp_g which is not thread safe.
  4573. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  4574. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  4575. dialog. Fixes #82187.
  4576. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  4577. * DataGridViewElement.cs: Initialize state.
  4578. * DataGridView.cs: Forward a few Mouse events to cells. Add
  4579. GetRowInternal and GetCellInternal that doesn't unshare rows.
  4580. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  4581. don't use the index, but look it up. Add
  4582. DataGridViewControlCollection.RemoveInternal to remove controls
  4583. that Remove won't remove (scrollbars, edit control).
  4584. * DataGridViewColumn.cs: Initialize State correctly.
  4585. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  4586. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  4587. implementing this.
  4588. * DataGridViewRowCollection.cs: Implemented shared rows.
  4589. * DataGridViewRow.cs: Throw exceptions as MS do.
  4590. * DataGridViewCell.cs: A few properties are implemented by a
  4591. Get<Property> method, so move implementation there and remove the
  4592. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  4593. calls when necessary.
  4594. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  4595. complicates matters.
  4596. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  4597. unshare any rows.
  4598. 2007-07-25 Jonathan Pobst <[email protected]>
  4599. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  4600. the children controls. Instead, we will just set up the proper docking for the
  4601. children controls so we don't have to worry about it. [Fixes bug #82188]
  4602. 2007-07-25 Jonathan Pobst <[email protected]>
  4603. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  4604. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  4605. 81847. [Fixes bug #81847]
  4606. 2007-07-25 Jonathan Pobst <[email protected]>
  4607. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  4608. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  4609. an explicit size based on the design-time size of the text. Since our fonts
  4610. may not match this explicit size, we tend to cut off the ends of people's labels.
  4611. 2007-07-24 Jonathan Pobst <[email protected]>
  4612. * Menu.cs: Add some missing methods to MenuItemCollection.
  4613. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  4614. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  4615. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  4616. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  4617. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  4618. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  4619. * DataGridViewElement.cs: State defaults to Visible.
  4620. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  4621. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  4622. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  4623. * Control.cs: Minor 1.1 corcompare fix.
  4624. 2007-07-23 Jonathan Pobst <[email protected]>
  4625. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  4626. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  4627. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4628. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  4629. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  4630. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  4631. DataGridViewSelectedColumnCollection.cs,
  4632. DataGridViewSelectedRowCollection.cs: Corcompare work.
  4633. 2007-07-23 Jonathan Pobst <[email protected]>
  4634. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  4635. it is autoset by VS2005 designer and the effect is barely noticeable.
  4636. 2007-07-23 Jonathan Pobst <[email protected]>
  4637. * TreeView.cs: Implement HitTest.
  4638. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4639. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  4640. manually adding and removing the control from the Controls
  4641. collecftion.
  4642. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  4643. EditingControlInternal property that tracks the editing control.
  4644. Always keeping the scrollbars in the Controls collection, as MS
  4645. testing confirms is the right behaviour.
  4646. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4647. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  4648. according to MSDN and new test.
  4649. 2007-07-20 Jonathan Pobst <[email protected]>
  4650. * TreeNode.cs: Implement ToolTipText.
  4651. * TreeView.cs: Implement tooltips, NodeMouse* events.
  4652. 2007-07-20 Jonathan Pobst <[email protected]>
  4653. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  4654. 2007-07-20 Jonathan Pobst <[email protected]>
  4655. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  4656. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  4657. 2007-07-20 Ivan N. Zlatev <[email protected]>
  4658. * Control.cs, Form.cs, ContainerControl.cs,
  4659. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  4660. for misc properties.
  4661. 2007-07-20 Jonathan Pobst <[email protected]>
  4662. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  4663. * TreeView.cs: Implement StateImageList.
  4664. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4665. * Form.cs: Don't check if the current form is the active form before
  4666. activating it. Fixes #81904.
  4667. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4668. * Form.cs: Don't check if the current form is the active form before
  4669. activating it. Fixes #81904.
  4670. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4671. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  4672. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4673. * Form.cs: Don't try to position the form after loading if the form was
  4674. disposed. Fixes #81969.
  4675. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4676. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  4677. properties. Had to change ToolBar into ToolStrip, which required a
  4678. few #ifs.
  4679. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4680. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  4681. resized, fixes part of #79829 (vertical lines in toolbar).
  4682. PropertyGrid: Refactored Populate* to something that's easier to
  4683. follow at least for me, as well as splitting it up into several new
  4684. methods, required to update only subitems when something has
  4685. changed by a popup editor or listbox. Don't use events to check
  4686. when any values are changed, since the events are unreliable (we're
  4687. changing the objects the events are registered with, and if the
  4688. event handling requires the objects to be immutable (objects stored
  4689. in hashtables for instance), the events will never be raised).
  4690. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  4691. everytime we change a value, since events are unreliable.
  4692. DropDownButtonClicked: For the same reason don't compare objects to
  4693. check if it has changed or not, it would require all objects to
  4694. derive Equals. Fix dialog location on windows, MS is doing weird
  4695. things when creating parented forms.
  4696. * GridEntry.cs: Add a SelectedObject setter.
  4697. 2007-07-19 Jonathan Pobst <[email protected]>
  4698. * TreeNode.cs: Add some corcompare attributes.
  4699. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  4700. * TreeView.cs: Implement some 2.0 stuffs.
  4701. 2007-07-18 Andreia Gaita <[email protected]>
  4702. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  4703. for moma.
  4704. 2007-07-19 Jonathan Pobst <[email protected]>
  4705. * ListBox.cs: Implement custom tab offsets.
  4706. 2007-07-18 Jonathan Pobst <[email protected]>
  4707. * ToolStripContentPanel.cs: Support System renderer.
  4708. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  4709. 2007-07-18 Jonathan Pobst <[email protected]>
  4710. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  4711. 2007-07-18 Jonathan Pobst <[email protected]>
  4712. * CheckBox.cs: Chain TextAlign to base implementation instead of
  4713. maintaining another one.
  4714. 2007-07-18 Jonathan Pobst <[email protected]>
  4715. * ButtonBase.cs: Fix an incorrect string constant.
  4716. 2007-07-18 Jonathan Pobst <[email protected]>
  4717. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  4718. of creating one for measuring strings.
  4719. 2007-07-18 Jonathan Pobst <[email protected]>
  4720. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  4721. Implement MaxItemSize.
  4722. 2007-07-17 Jonathan Pobst <[email protected]>
  4723. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  4724. for DeviceContext. Instead, use the static one available in Hwnd.
  4725. Informal tests show this saves about 500k on formtest.exe.
  4726. 2007-07-17 Jonathan Pobst <[email protected]>
  4727. * ContainerControl.cs: Implement 2.0 AutoScaling.
  4728. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  4729. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  4730. 2007-07-16 Jonathan Pobst <[email protected]>
  4731. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  4732. Darken the focus color.
  4733. 2007-07-16 Jonathan Pobst <[email protected]>
  4734. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  4735. for the checkbox.
  4736. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  4737. X, Y instead of a rect for drawing text.
  4738. - For ControlPaint.DrawCheckBox, center the check a little better when the
  4739. checkbox is odd width. When drawing a flat checkbox, use a white background
  4740. when state != inactive.
  4741. [Fixes bugs #82097, 82100]
  4742. 2007-07-16 Gert Driesen <[email protected]>
  4743. * ListControl.cs: When changing CurrencyManager, disconnect event
  4744. handlers from previous one. Fixes bug #81771. Code formatting.
  4745. 2007-07-15 Andreia Gaita <[email protected]>
  4746. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  4747. full preview invalidation from layout invalidation, and only invalidate
  4748. the layout when setting zoom or other properties. Invalidation should
  4749. always be done even when resetting properties with the same values as
  4750. what is there. Fixes #81744 and #79830.
  4751. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  4752. * ListView.cs: Implement initial support for Groups. Split some of the
  4753. LayoutIcons code to render a partial list of the items (needed by
  4754. items contained in ListViewGroup instances). Let the
  4755. ListViewItemsCollection.ListView property be modifiable (needed when
  4756. using Groups, too).
  4757. * ListViewGroup.cs: Use a Bounds property rather than a Location
  4758. one. Also invalidate the bounds when they get changed.
  4759. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  4760. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  4761. method as well.
  4762. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  4763. * ListView.cs: When space gets pressed and CheckBoxes is true,
  4764. don't invoke the Begin and EndUpdate methods. We are generating
  4765. a redraw of the entire control without need to do so.
  4766. 2007-07-13 William Holmes <[email protected]>
  4767. * Control.cs: Changing logic in FindFlatForward and
  4768. FindFlatBackward to handle multiple Controls with
  4769. the same TabIndex.
  4770. This fixes bug 81687.
  4771. 2007-07-13 Jonathan Pobst <[email protected]>
  4772. * OSFeature.cs: Enable IsPresent.
  4773. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  4774. * Control.cs: Don't do anything in WmShowWindow if the control has been
  4775. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  4776. control is created, put on a form, the control is disposed (the
  4777. form is never shown), and then we get a MapNotify, triggering a
  4778. WM_SHOWWINDOW.
  4779. * Form.cs: Exclude the current form when sending Deactivate to all
  4780. MdiChildren.
  4781. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  4782. there was a race condition because assigning the handle raises
  4783. events, we can get more messages, therefore trying to assign the
  4784. handle again, which would fail if any of those event handlers
  4785. closed/disposed the control.
  4786. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  4787. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  4788. 2007-07-12 Jonathan Pobst <[email protected]>
  4789. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  4790. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  4791. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  4792. * DateTimePicker.cs: If there's no part format specifier, return an
  4793. empty string.
  4794. 2007-07-12 Jonathan Pobst <[email protected]>
  4795. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  4796. Transparent BorderColor.
  4797. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  4798. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  4799. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  4800. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  4801. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  4802. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  4803. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  4804. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  4805. Remove warnings.
  4806. * X11Structs.cs: Remove warnings, add ToString implementations.
  4807. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4808. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  4809. size, and not the current size. Fixes #81798.
  4810. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4811. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  4812. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  4813. to the control yet).
  4814. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4815. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  4816. mousedowns to the contained textbox.
  4817. * X11Structs.cs: More ToString implementation.
  4818. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  4819. #81791.
  4820. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4821. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  4822. 2007-07-10 Jonathan Pobst <[email protected]>
  4823. * TableLayoutPanelCellPosition.cs: TypeConverter.
  4824. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4825. [ Fixes #79761]
  4826. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  4827. controls.
  4828. * PropertyGridView.cs: A few color fixes.
  4829. 2007-07-10 Jackson Harper <[email protected]>
  4830. * TextControl.cs: Remove some old unused text formatting stuff.
  4831. 2007-07-10 Jackson Harper <[email protected]>
  4832. * TreeView.cs: Update full row select invalidation to match the
  4833. newer DrawSelection... method.
  4834. - Make sure to invalidate the entire width when selecting a new
  4835. node, if we have full row selection enabled.
  4836. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4837. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  4838. display of properties again.
  4839. 2007-07-10 Jonathan Pobst <[email protected]>
  4840. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  4841. to existing collections.
  4842. 2007-07-09 Jonathan Pobst <[email protected]>
  4843. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  4844. that changed between 1.1 and 2.0.
  4845. 2007-07-09 Jonathan Pobst <[email protected]>
  4846. * PowerStatus.cs: Added. This is just a data class, it is filled
  4847. in by SystemInformation.
  4848. 2007-07-09 Jonathan Pobst <[email protected]>
  4849. * Message.cs: Add op_Equality and op_Inequality.
  4850. 2007-07-09 Jonathan Pobst <[email protected]>
  4851. * MenuStrip.cs: Finish corcompare work.
  4852. 2007-07-09 Jonathan Pobst <[email protected]>
  4853. * LinkArea.cs: Add op_Equality and op_Inequality.
  4854. 2007-07-09 Jonathan Pobst <[email protected]>
  4855. * Application.cs: Add MessageLoopCallback delegate.
  4856. 2007-07-09 Jonathan Pobst <[email protected]>
  4857. * ListBox.cs: First set of 2.0 stuffs.
  4858. 2007-07-09 Jonathan Pobst <[email protected]>
  4859. * Control.cs: Make an internal Height property we can override
  4860. without messing up the public API.
  4861. * ListBox.cs: Override HeightInternal to always return the size
  4862. the user set. [Fixes bug #80466]
  4863. 2007-07-08 Jonathan Pobst <[email protected]>
  4864. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  4865. paint cell borders if we haven't calculated where they go yet.
  4866. [Fixes bugs #82040 and #82041]
  4867. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4868. * ListView.cs: In Details view, set the location of item_control
  4869. in the (0,0) position (and the header_control is thus on the
  4870. item_control). This way the Bounds of the Items are relative to the
  4871. ListView control (before this, they had a Bounds value without the
  4872. header_control offset, which wasn't matching .Net). Fixes #82004.
  4873. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4874. * ListControl.cs: When DataSource is set to null, pass an empty
  4875. array of object to SetItemsCore. This is done to clean the items
  4876. in the ListContol children. Fixes #81788.
  4877. 2007-07-06 Jonathan Pobst <[email protected]>
  4878. * ListControl.cs: Add 2.0 stuffs.
  4879. 2007-07-06 Jonathan Pobst <[email protected]>
  4880. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  4881. Refresh is overkill for just about every repaint request.
  4882. 2007-07-06 Jonathan Pobst <[email protected]>
  4883. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  4884. so remove my custom Get method and fix the property getter.
  4885. 2007-07-06 Jonathan Pobst <[email protected]>
  4886. * Label.cs: DefaultMargin for 2.0.
  4887. 2007-07-06 Jonathan Pobst <[email protected]>
  4888. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  4889. reported issue where other controls with mnemonics would steal strokes
  4890. from a selected ComboBox.
  4891. 2007-07-06 Jonathan Pobst <[email protected]>
  4892. * ScrollOrientation.cs: Make internal for 1.1.
  4893. * ScrollEventArgs.cs: Add 2.0 stuffs.
  4894. 2007-07-05 Jonathan Pobst <[email protected]>
  4895. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  4896. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  4897. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  4898. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4899. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  4900. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4901. * ListView.cs: Implement the so-incredibly broken 2.0
  4902. VirtualItemsSelectionRangeChanged event.
  4903. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4904. * ListView.cs: When enter is pressed and selection is non empty,
  4905. an OnItemActivate event must be fired.
  4906. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4907. * ListView.cs: Store the FocusedItem information as an
  4908. int instead of a ListViewItem (needed by VirtualMode).
  4909. Update the calls to SetFocusedItem to pass an index instead of
  4910. an item.
  4911. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  4912. the Focused state from the owner ListView.
  4913. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4914. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  4915. property. Also, invalidate previous focused item in the mentioned
  4916. property (match .Net).
  4917. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4918. * ListView.cs: Implement 2.0 FocusedItem property setter.
  4919. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  4920. * ListView.cs: Implement 2.0 TopItem property setter.
  4921. 2007-07-03 Jonathan Pobst <[email protected]>
  4922. * StatusStrip.cs: The default renderer is System.
  4923. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  4924. if the user specifies it.
  4925. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  4926. if we are ManagerRenderMode.
  4927. * ToolStripMenuItem.cs: Calculate our text color better.
  4928. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  4929. from Professional to the base class based off working with the System renderer.
  4930. * ToolStripSystemRenderer.cs: Added.
  4931. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  4932. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  4933. 2007-07-02 Jonathan Pobst <[email protected]>
  4934. * ToolTip.cs: Implement 2.0 Tag property.
  4935. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  4936. * ListView.cs: Implement 2.0 HitTest methods.
  4937. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  4938. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  4939. item is under the pointer or not (sugar). Also remove the TODO
  4940. regarding to the cursor changes in OneClick activation.
  4941. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  4942. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  4943. true; otherwise don't show the underline style.
  4944. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4945. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  4946. the code to retrieve the item at position only one time. Also
  4947. change cursor when Activation is ItemActivation.OneClick as well
  4948. as invalidate the item if HotTracking is true (to show/hide the
  4949. underline style). Add an internal HotItemIndex property to retrieve
  4950. the current hot item's index.
  4951. * ListViewItem.cs: Add an internal HotFont property to cache the
  4952. font used when HotTracking is true and the pointer moves within the
  4953. item's borders.
  4954. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  4955. HotFont depending on the hot state of the item.
  4956. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4957. * ListView.cs: Implement 2.0 HotTracking property.
  4958. 2007-06-21 Jonathan Pobst <[email protected]>
  4959. * ToolStripControlHost.cs: If our hosted control never got created,
  4960. don't try to dispose it. [Fixes bug #81909]
  4961. 2007-06-21 Jonathan Pobst <[email protected]>
  4962. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  4963. 2007-06-21 Jonathan Pobst <[email protected]>
  4964. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  4965. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  4966. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  4967. Details view.
  4968. * DrawListViewColumnHeaderEventArgs.cs:
  4969. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  4970. using the DrawText () methods.
  4971. 2007-06-19 Jonathan Pobst <[email protected]>
  4972. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  4973. background which got erased in my changes yesterday.
  4974. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  4975. * ListViewItem.cs: Actually set bounds for subitems in Details view
  4976. (2.0 feature).
  4977. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  4978. can invoke from the owner draw routines if we need it. Also, add
  4979. support for Owner draw in Details view.
  4980. 2007-06-18 Jonathan Pobst <[email protected]>
  4981. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4982. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  4983. ShowImageMargin setting, properly align text in a ToolStripLabel
  4984. hosted on a ToolStripDropDown.
  4985. 2007-06-18 Jonathan Pobst <[email protected]>
  4986. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  4987. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  4988. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  4989. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  4990. 2007-06-18 Jonathan Pobst <[email protected]>
  4991. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  4992. location to match ToolStripMenuItems.
  4993. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  4994. * DrawListViewColumnHeaderEventArgs.cs:
  4995. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  4996. column headers in ListView.
  4997. 2007-06-15 Jonathan Pobst <[email protected]>
  4998. * UserControl.cs: Implement AutoSize.
  4999. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  5000. * DrawListViewItemEventArgs.cs:
  5001. * ListView.cs:
  5002. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  5003. ListView.
  5004. 2007-06-15 Jonathan Pobst <[email protected]>
  5005. * ToolStripDropDownItemAccessibleObject.cs: Added.
  5006. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  5007. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  5008. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  5009. ToolStripTextBox.cs: corcompare work.
  5010. 2007-06-14 Jonathan Pobst <[email protected]>
  5011. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  5012. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  5013. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  5014. corcompare.
  5015. 2007-06-14 Jonathan Pobst <[email protected]>
  5016. * OSFeature.cs: Add IsPresent.
  5017. * PrintPreviewControl.cs: Add RightToLeft.
  5018. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  5019. * SplitterPanel.cs: Add AutoSizeMode.
  5020. 2007-06-13 Jonathan Pobst <[email protected]>
  5021. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  5022. * MdiClient.cs: Add 2.0 ScaleControl.
  5023. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  5024. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  5025. 2007-06-13 Jonathan Pobst <[email protected]>
  5026. * Form.cs: Implement some scaling methods, stub some RTL methods,
  5027. corcompare work.
  5028. 2007-06-13 Jonathan Pobst <[email protected]>
  5029. * Control.cs: corcompare work.
  5030. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  5031. 2007-06-13 Jonathan Pobst <[email protected]>
  5032. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  5033. ControlPaint 2.0 stuffs.
  5034. 2007-06-12 Jonathan Pobst <[email protected]>
  5035. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  5036. 2007-06-12 Jonathan Pobst <[email protected]>
  5037. * UpDownBase.cs: Add 2.0 stuffs.
  5038. 2007-06-12 Jonathan Pobst <[email protected]>
  5039. * NumericUpDown.cs: Add 2.0 stuffs.
  5040. 2007-06-12 Jonathan Pobst <[email protected]>
  5041. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  5042. 2007-06-12 Jonathan Pobst <[email protected]>
  5043. * ErrorProvider.cs: Implement 2.0 stuffs.
  5044. 2007-06-12 Jonathan Pobst <[email protected]>
  5045. * DomainUpDown.cs: Implement 2.0 stuffs.
  5046. 2007-06-12 Jonathan Pobst <[email protected]>
  5047. * CheckedListBox.cs: Fix RefreshItems signature.
  5048. 2007-06-12 Jonathan Pobst <[email protected]>
  5049. * PictureBox.cs: Implement 2.0 stuffs.
  5050. 2007-06-12 Andreia Gaita <[email protected]>
  5051. * TabControl.cs: Check if there are tabpages before checking
  5052. the selected index - fix #81802 (font changes raise a ResizeTabs
  5053. call on controls.add, which blew up nicely with no tabpages)
  5054. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  5055. * ListView.cs:
  5056. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  5057. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  5058. * ListView.cs:
  5059. * ListViewItem.cs: In VirtualMode the selection information
  5060. resides in the ListView, rather than in the Items. Also, throw
  5061. InvalidOperationExceptions when VirtualMode is being used and
  5062. CheckedItemCollection is accessed.
  5063. 2007-06-08 Jonathan Pobst <[email protected]>
  5064. * ComboBox.cs: Add ScaleControl.
  5065. 2007-06-08 Jonathan Pobst <[email protected]>
  5066. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  5067. 2007-06-08 Jonathan Pobst <[email protected]>
  5068. * GroupBox.cs: Add 2.0 stuffs.
  5069. 2007-06-08 Jonathan Pobst <[email protected]>
  5070. * Panel.cs: Add autosize properties/event.
  5071. 2007-06-07 Jonathan Pobst <[email protected]>
  5072. * Control.cs:
  5073. - When we remove a control, remove it from the collection before performing the layout.
  5074. - Setup an internal property for explicit_bounds.
  5075. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  5076. - Perform a layout when we set a new AutoSizeMode.
  5077. 2007-06-07 Jonathan Pobst <[email protected]>
  5078. * ScrollableControl.cs: Add 2.0 stuffs.
  5079. 2007-06-06 Jonathan Pobst <[email protected]>
  5080. * ScrollBar.cs: Add 2.0 stuffs.
  5081. 2007-06-06 Jonathan Pobst <[email protected]>
  5082. * Splitter.cs: Add 2.0 stuffs.
  5083. 2007-06-06 Jonathan Pobst <[email protected]>
  5084. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  5085. to have BindingContext simply use base implementation.
  5086. 2007-06-06 Jonathan Pobst <[email protected]>
  5087. * ColumnHeader.cs: corcompare fix.
  5088. 2007-06-06 Jonathan Pobst <[email protected]>
  5089. * Button.cs: corcompare fixes.
  5090. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  5091. 2007-06-06 Jonathan Pobst <[email protected]>
  5092. * Button.cs: Override GetPreferredSizeCore.
  5093. * ButtonBase.cs: PerformLayout after changing properties that can affect
  5094. AutoSize. Simplify some mouse/keyboard code.
  5095. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  5096. * MouseEventArgs.cs: Make Location internal for 1.1.
  5097. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  5098. * Theme.cs: Add CalculateButtonAutoSize.
  5099. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  5100. 2007-06-05 Miguel de Icaza <[email protected]>
  5101. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  5102. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  5103. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  5104. since we can get different item instances every time we retrieve it.
  5105. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  5106. * ListView.cs: Work around for #81602, since an unkown an pretty
  5107. infrequent condition appears only in some systems (old linux boxes, it
  5108. seems).
  5109. 2007-06-04 Jonathan Pobst <[email protected]>
  5110. * Button.cs: Completely reformat and a little refactor to bring
  5111. this closer to Mono circa 2007.
  5112. 2007-06-04 Jonathan Pobst <[email protected]>
  5113. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  5114. to be ButtonBase.Invalidate.
  5115. 2007-06-04 Jonathan Pobst <[email protected]>
  5116. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  5117. 2007-06-04 Jonathan Pobst <[email protected]>
  5118. * ButtonBase.cs: Completely reformat and a little refactor to bring
  5119. this closer to Mono circa 2007.
  5120. 2007-06-01 Everaldo Canuto <[email protected]>
  5121. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  5122. values for autosize. Fixes #80137.
  5123. 2007-06-01 Jonathan Pobst <[email protected]>
  5124. * Control.cs: Don't perform layout when AutoSize changes.
  5125. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  5126. directly when autosizing, use SetBounds with BoundsSpecified.None.
  5127. Fixes unit tests my last commit broke.
  5128. 2007-06-01 Jonathan Pobst <[email protected]>
  5129. * Control.cs: Perform layout when AutoSize changes.
  5130. * Form.cs: Implement AutoSizing.
  5131. 2007-06-01 Chris Toshok <[email protected]>
  5132. * DataGrid.cs: remove the XXX'ed check at the top of
  5133. ProcessGridKey. fixes #80464.
  5134. 2007-06-01 Chris Toshok <[email protected]>
  5135. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  5136. adding idempotent (add/remove in Edit()), and also make sure we
  5137. don't add it until after we set the text, so it's not tripped in
  5138. Edit(). Fixes unit test regression.
  5139. 2007-06-01 Jonathan Pobst <[email protected]>
  5140. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  5141. change is user explicit, not when the layout engine moves stuff. Fixes
  5142. anchoring to bottom and right. [Fixes bug #81790]
  5143. 2007-06-01 Andreia Gaita <[email protected]>
  5144. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  5145. 2007-06-01 Andreia Gaita <[email protected]>
  5146. * ContainerControl.cs:
  5147. Fire enter event for common ancestor if it is not a ContainerControl.
  5148. Send focus to the active_control and not the 'value', the active
  5149. control might have been changed in one of the events fired.
  5150. Definitely fixes #80159.
  5151. 2007-06-01 Andreia Gaita <[email protected]>
  5152. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  5153. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  5154. * PropertyGrid.cs: Anchor the help description to the bottom of the
  5155. help panel and refactor SelectGridItem into a
  5156. SelectGridItemInternal that can be set to null (and update it to
  5157. clear the help texts when it is set to null). Set root item to null
  5158. when there's no SelectedObject. Fixes #80438.
  5159. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  5160. when we're recalculating after a resize (only).
  5161. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  5162. * ListView.cs: Implement 2.0 RedrawItems method.
  5163. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  5164. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  5165. handlers from previous data manager when DataSource is set to
  5166. null. Fixes #81771.
  5167. 2007-05-31 Jackson Harper <[email protected]>
  5168. * TextBoxBase.cs: These seem to be the correct values.
  5169. 2007-05-31 Everaldo Canuto <[email protected]>
  5170. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  5171. value. Fixes #81784.
  5172. 2007-05-31 Jonathan Pobst <[email protected]>
  5173. * Control.cs: Implement 2.0 scaling methods.
  5174. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  5175. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  5176. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  5177. corcompare issues.
  5178. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  5179. * ProgressBar.cs: Implemented missing 2.0 members.
  5180. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  5181. * Control.cs: Corcompare issues.
  5182. * MessageBox.cs: Implemented missing 2.0 functions.
  5183. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  5184. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  5185. Implemented more 2.0 members.
  5186. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  5187. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  5188. null (strange, but it seems to happen when running unit tests).
  5189. 2007-05-30 Andreia Gaita <[email protected]>
  5190. * ContainerControl.cs: Set active_control even earlier, before
  5191. firing any events, and undo it if validation returns false.
  5192. 2007-05-30 Andreia Gaita <[email protected]>
  5193. * ContainerControl.cs: Raise Validation and Enter/Leave events
  5194. even if there is no Form and set active_control earlier, just
  5195. before firing Enter events (toshok's patches). Fixes #80647.
  5196. 2007-05-30 Jackson Harper <[email protected]>
  5197. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  5198. things and fix bug #81311.
  5199. 2007-05-30 Jackson Harper <[email protected]>
  5200. * X11Dnd.cs: Now that we have our own event loop, we need to
  5201. cancel when we get a mouseup but it won't be accepted.
  5202. 2007-05-30 Chris Toshok <[email protected]>
  5203. * DataGrid.cs (set_CurrentCell): guard against negative
  5204. column/row.
  5205. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  5206. array index syntax instead of looping over the property names.
  5207. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  5208. and set IsInEditOrNavigateMode to false there.
  5209. 2007-05-30 Jackson Harper <[email protected]>
  5210. * TreeView.cs: Make sure we don't get a bad visible order when
  5211. setting to the top node. Fixes some misc crashing in
  5212. ControlInspector.
  5213. 2007-05-30 Andreia Gaita <[email protected]>
  5214. * UserControl.cs: Add 2.0 AutoSizeMode
  5215. 2007-05-29 Everaldo Canuto <[email protected]>
  5216. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  5217. 2007-05-29 Everaldo Canuto <[email protected]>
  5218. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  5219. lines. Fixes #80285.
  5220. 2007-05-29 Everaldo Canuto <[email protected]>
  5221. * DataGridColumnStyle.cs: Add char trimming column header text format.
  5222. 2007-05-29 Everaldo Canuto <[email protected]>
  5223. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  5224. Fixes #80147.
  5225. 2007-05-29 Jackson Harper <[email protected]>
  5226. * TreeNode.cs: Fix off by one on calculating whether or not a node
  5227. is visible.
  5228. 2007-05-29 Jonathan Pobst <[email protected]>
  5229. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  5230. * ScrollableControl.cs: Force an UpdateDistances when we move the
  5231. scrollbars.
  5232. [Fixes bug #80605]
  5233. 2007-05-29 Andreia Gaita <[email protected]>
  5234. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  5235. update the page setup screen.
  5236. 2007-05-29 Andreia Gaita <[email protected]>
  5237. * PageSetupDialog.cs: Fix landscape mode.
  5238. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5239. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  5240. IconSizeHorizontalSpacing.
  5241. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5242. * ListView.cs: The declaration of prev_tooltip_item should be inside
  5243. a NET_2_0 conditional (avoid a warning).
  5244. 2007-05-28 Andreia Gaita <[email protected]>
  5245. * PageSetupDialog.cs: Implement PrintPreview control to display
  5246. the preview thumbnail. Change unit conversion to use
  5247. PrinterUnitConvert methods.
  5248. Note: there is a huge bug in ms.net where the default margins are
  5249. interpreted as centimeters (?), when in fact they are set in inches. When
  5250. loading the page setup dialog initially (ms.net), the default margins
  5251. are set to 1 inch, and the dialog shows them with value 10, when in fact
  5252. it should be 25 (properly converted). Our dialog doesn't have this bug.
  5253. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  5254. RectangleF.
  5255. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  5256. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5257. * ListView.cs:
  5258. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  5259. items.
  5260. 2007-05-28 Andreia Gaita <[email protected]>
  5261. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  5262. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  5263. bug?), convert the ptr to Int32 first.
  5264. 2007-05-28 Jackson Harper <[email protected]>
  5265. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  5266. recieved, we will exit the dnd tracking loop.
  5267. 2007-05-28 Jackson Harper <[email protected]>
  5268. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  5269. recieved. TODO: I should probably stick a timer on the dropped
  5270. event, and finish the drag if the XDND Finished event never shows
  5271. (because some apps don't seem to send it).
  5272. 2007-05-28 Everaldo Canuto <[email protected]>
  5273. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  5274. #81733.
  5275. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5276. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  5277. handled.
  5278. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5279. * MonthCalendar.cs: Set the size after initializing all the relevant
  5280. variables. Fixes #81742.
  5281. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5282. * KeyEventArgs.cs: Fix typo.
  5283. 2007-05-28 Gert Driesen <[email protected]>
  5284. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  5285. to match MS. Fixed MinDate to only accept value less than or equal
  5286. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  5287. Removed TODO's that are now verified by unit tests.
  5288. 2007-05-27 Gert Driesen <[email protected]>
  5289. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  5290. MS.
  5291. 2007-05-25 Jackson Harper <[email protected]>
  5292. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  5293. it's own message loop.
  5294. * XplatUIX11.cs: Remove some of the dnd hooks
  5295. 2007-05-25 Gert Driesen <[email protected]>
  5296. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  5297. instead of MinimizedWindowSize.
  5298. 2007-05-25 Jackson Harper <[email protected]>
  5299. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  5300. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  5301. * KeyEventArgs.cs: Added SuppressKeyPress.
  5302. * Control.cs: Added support for SuppressKeyPress.
  5303. 2007-05-24 Andreia Gaita <[email protected]>
  5304. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  5305. problems with PieChart. suppress_validation should not be a counter,
  5306. if there are several BeginInit calls, the first EndInit will
  5307. activate validation. Fix exceptions thrown by set_Value.
  5308. * UpDownBase.cs: ValidateText only if it's the user editing it.
  5309. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  5310. * ListControl.cs: FilterItemOnProperty should return the filtered
  5311. item proeprty even if DataSource is null. The same applies for
  5312. GetItemText. Fixes #80427.
  5313. 2007-05-24 Jonathan Pobst <[email protected]>
  5314. * Control.cs: If a control doesn't have a parent when it's Dock is
  5315. set, but it has children, it needs to do a layout. Fixes some nested
  5316. controls issues. [Fixes bug #81199]
  5317. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  5318. * ComboBox.cs: If there are few items in the drop down list, make it
  5319. the exact size the items need, no bigger. Fixes #81612.
  5320. 2007-05-24 Jonathan Pobst <[email protected]>
  5321. * Application.cs: When we have captured the keyboard for a menu,
  5322. check for mouse down events in case we need to close the menu.
  5323. * Control.cs, Form.cs: Remove mouse down checks for menus.
  5324. 2007-05-24 Jackson Harper <[email protected]>
  5325. * TextControl.cs: Handle tabs in non multiline mode a little
  5326. differently.
  5327. 2007-05-24 Jackson Harper <[email protected]>
  5328. * TextControl.cs: We need to manually break apart tabbed text and
  5329. move the tabs, since the system.drawing tabbing mechanism relies
  5330. on tab stops.
  5331. * TextBoxBase.cs: Move the caret properly when the user enters a
  5332. tab.
  5333. 2007-05-24 Jonathan Pobst <[email protected]>
  5334. * ContainerControl.cs: Don't check CanSelect before calling
  5335. ProcessMnemonic.
  5336. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  5337. release a KeyboardActive on click if it's not ours.
  5338. 2007-05-23 Andreia Gaita <[email protected]>
  5339. * ColumnHeader.cs: Add TypeConverter
  5340. 2007-05-23 Everaldo Canuto <[email protected]>
  5341. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  5342. 2007-05-23 Everaldo Canuto <[email protected]>
  5343. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  5344. 2007-05-23 Everaldo Canuto <[email protected]>
  5345. * LinkLabel.cs: Implement public Padding property.
  5346. 2007-05-23 Everaldo Canuto <[email protected]>
  5347. * LinkLabel.cs: Implement public FlatStyle.
  5348. 2007-05-23 Jonathan Pobst <[email protected]>
  5349. * Control.cs: Apply patch from George to call parent.PerformLayout
  5350. when Visible is changed. [Fixes bugs #81118, 81718]
  5351. 2007-05-23 Everaldo Canuto <[email protected]>
  5352. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  5353. 2007-05-23 Everaldo Canuto <[email protected]>
  5354. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  5355. 2007-05-23 Everaldo Canuto <[email protected]>
  5356. * ContextMenu.cs: Implement Collapse.
  5357. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  5358. * ToolBarButton.cs: Implement Name.
  5359. 2007-05-22 Everaldo Canuto <[email protected]>
  5360. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  5361. use current_item, it prevents some NRE. Fixes #81675.
  5362. 2007-05-22 Andreia Gaita <[email protected]>
  5363. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  5364. without updating the text.
  5365. 2007-05-22 Jonathan Pobst <[email protected]>
  5366. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  5367. without calling DeleteObject. [Should fix bug #81709]
  5368. 2007-05-22 Jackson Harper <[email protected]>
  5369. * RichTextBox.cs: Set the line endings correctly, when flushing
  5370. RTF text.
  5371. 2007-05-22 Gert Driesen <[email protected]>
  5372. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  5373. {Width=0,Height=0}.
  5374. 2007-05-22 Jackson Harper <[email protected]>
  5375. * TreeView.cs: Setting top with a null node should set to the very
  5376. top.
  5377. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5378. * Form.cs: ShowDialog: destroy the handle when message loop is
  5379. finished, matches MS behaviour. Refactor parts of WmClose into
  5380. RaiseCloseEvents, that only raises events if they haven't already
  5381. been raised. Fixes #81688 and #81521.
  5382. * Application.cs: Don't call close on the form when exiting a modal
  5383. loop, it will raise all the (Form)Closed/Closing events again if
  5384. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  5385. which doesn'r raise any events it they have been raised before.
  5386. 2007-05-22 Jonathan Pobst <[email protected]>
  5387. * Control.cs: Add OnPrint.
  5388. * ToolStrip.cs: Add GetChildAtPoint.
  5389. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  5390. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  5391. 2007-05-22 Everaldo Canuto <[email protected]>
  5392. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  5393. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5394. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  5395. isn't visible anymore. Fixes #81651.
  5396. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5397. * Control.cs: WmShowWindow: Update children's z-order after setting
  5398. their parent. SetParent may show the window, thereby corrupting
  5399. z-order, since the window will be shown on top.
  5400. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  5401. multiple (and redundant) WM_SHOWWINDOW messages.
  5402. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  5403. event has already been raised.
  5404. * Form.cs: Change is_changing_visible_state to a counter, since
  5405. SetVisibleCore can be called recursively. CreateHandle: when
  5406. creating mdi children, send (De)Activated events.
  5407. * MdiClient.cs: Update use of is_changing_visible_state.
  5408. * Application.cs: OnThreadException: Surround exception handling with
  5409. try/finally to ensure we always reset the error-handling state
  5410. before leaving.
  5411. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5412. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  5413. (#81704).
  5414. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  5415. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  5416. SmallIcon views, now that we have a standarized horizontal spacing.
  5417. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  5418. 4, just like the other views (Match .Net).
  5419. 2007-05-21 Jonathan Pobst <[email protected]>
  5420. * Control.cs: Delay calculating anchor distances until we actually layout.
  5421. Always query the WM for the actual size and location it put us at instead of
  5422. only when we send negative values.
  5423. [Fixes bugs #81694, 81695]
  5424. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  5425. * Application.cs: Avoid a possible stack overflow when trying to exit
  5426. the application.
  5427. 2007-05-19 Marek Safar <[email protected]>
  5428. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  5429. enum value.
  5430. 2007-05-19 Andreia Gaita <[email protected]>
  5431. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  5432. * NumericUpDownAcceleration.cs,
  5433. NumericUpDownAccelerationCollection.cs: Added 2.0
  5434. implementation.
  5435. 2007-05-19 Gert Driesen <[email protected]>
  5436. * RichTextBox.cs: Recalculate the document after the ScrollBars
  5437. property is changed. Fixes bug #81681.
  5438. 2007-05-18 Jonathan Pobst <[email protected]>
  5439. * DataObject.cs: Implement 2.0 methods.
  5440. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  5441. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  5442. in the center of the checkbox, not in the left-top corner.
  5443. Fixes #80037.
  5444. 2007-05-18 Jackson Harper <[email protected]>
  5445. * RichTextBox.cs: Recalculate the document after the scrollbars
  5446. property is changed.
  5447. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  5448. 81486.
  5449. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  5450. * CreateParams.cs: Make HasWindowManager marginally faster.
  5451. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  5452. into Hwnd so that other drivers can use it as well.
  5453. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  5454. the default location from Hwnd. Fixes MDI client windows always
  5455. showing up at (0,0) in Windows (Win32 won't set the default
  5456. location since the window styles aren't correct).
  5457. 2007-05-18 Gert Driesen <[email protected]>
  5458. * TreeView.cs: Modified DoubleBuffered to just use the base
  5459. implementation.
  5460. 2007-05-18 Jackson Harper <[email protected]>
  5461. * TreeView.cs: Set the top node to the last child node when
  5462. expanding all
  5463. - When we get focus, if there is no selected node, use the top
  5464. node.
  5465. 2007-05-18 Jonathan Pobst <[email protected]>
  5466. * KeysConverter.cs: Add CanConvertTo.
  5467. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  5468. * LinkConverter.cs: Added.
  5469. 2007-05-18 Everaldo Canuto <[email protected]>
  5470. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  5471. it prevents error when file dont have write access. Fixes #81669 and #81667.
  5472. 2007-05-18 Everaldo Canuto <[email protected]>
  5473. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  5474. button text. Fixes #79640.
  5475. 2007-05-18 Everaldo Canuto <[email protected]>
  5476. * Control.cs: According to MSDN controls created in the designer theres
  5477. keyboard accelerators visible by default. So included check for design
  5478. in ShowKeyboardCuesInternal.
  5479. 2007-05-18 Everaldo Canuto <[email protected]>
  5480. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  5481. text. Fixes #81621.
  5482. 2007-05-18 Everaldo Canuto <[email protected]>
  5483. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  5484. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  5485. 2007-05-17 Everaldo Canuto <[email protected]>
  5486. * Control.cs: Finish implementation of UI State using WmChangeUIState
  5487. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  5488. in some controls to check for show_keyboard_cues to draw accell keys "_".
  5489. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  5490. * ListBox.cs: When calculating the horizontal scrollbar
  5491. in single column mode, don't use values less than 0 for
  5492. Maximum. Fixes #81474.
  5493. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  5494. * ListBox.cs: Throw the some missing exceptions in
  5495. ListBox.ObjectCollection methods.
  5496. 2007-05-17 Jackson Harper <[email protected]>
  5497. * TextBoxBase.cs: Recalculate the document when the word wrap
  5498. value has changed. This fixes 81488.
  5499. 2007-05-17 Jonathan Pobst <[email protected]>
  5500. * Clipboard.cs: Implement missing GetText overload.
  5501. 2007-05-17 Chris Toshok <[email protected]>
  5502. * Control.cs (CheckDataBindings): remove the binding_context arg
  5503. to binding.Check.
  5504. * CurrencyManager.cs (OnItemChanged): fix this now that
  5505. BindingManagerBase is fixed. also remove the comment telling where
  5506. the fix should go. We set transfering_data to true/false around
  5507. the call to PushData to keep UpdateIsBinding from being called.
  5508. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  5509. PropertyDescriptorAdded in the 1.1 case. The extra call is
  5510. actually generated by System.Data generating 2 metadata changed
  5511. events of its own per column add. The fix should go there. Add a
  5512. comment to that affect in our test's Assert.Ignore.
  5513. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  5514. we keep a boolean flag (transfering_data) that keeps us from
  5515. calling UpdateIsBinding multiple times if we re-enter either of
  5516. them.
  5517. * ControlBindingsCollection.cs (AddCore): remove the
  5518. binding_context arg to binding.Check.
  5519. * Binding.cs (IsBinding): don't check if we're binding here, just
  5520. return our cached value. we update it in UpdateIsBinding.
  5521. (Check): don't take the binding_context arg, we'll just use our
  5522. control's. Also, for some reason MS doesn't use the data member
  5523. field when getting the bindingmanager for this binding. it just
  5524. uses the datasource. Make this method callable multiple times,
  5525. and only do the is_null_desc stuff if manager.Position != -1 (so
  5526. we don't get an exception accessing manager.Current).
  5527. (UpdateIsBinding): move the code from IsBinding here.
  5528. (PositionChangedHandler): call Check here to we can initialize
  5529. things that require a non- -1 position.
  5530. 2007-05-17 Everaldo Canuto <[email protected]>
  5531. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  5532. control.
  5533. 2007-05-17 Andreia Gaita <[email protected]>
  5534. * TabControl.cs: Add 2.0 methods and events, including
  5535. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  5536. * TabPage.cs: Add 2.0 methods
  5537. 2007-05-17 Everaldo Canuto <[email protected]>
  5538. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  5539. keyboard_cues is properly handled by message method.
  5540. 2007-05-17 Jonathan Pobst <[email protected]>
  5541. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  5542. 2007-05-17 Jonathan Pobst <[email protected]>
  5543. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  5544. 2007-05-16 Everaldo Canuto <[email protected]>
  5545. * Control.cs:
  5546. - WmUpdateUIState added to handle state changes, it make call to
  5547. OnChangeUICues event.
  5548. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  5549. SystemInformation.
  5550. 2007-05-16 Jonathan Pobst <[email protected]>
  5551. * ImageKeyConverter.cs: Added.
  5552. * TreeViewImageKeyConverter.cs: Added.
  5553. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  5554. * ToolTips.cs: Update Text if SetToolTip is called for a control
  5555. already showing the tooltip, as well as restarting its timer; show
  5556. tooltip if we are inside the control bounds by the time of calling
  5557. SetToolTip. Inside ShowTooltip remove the check to not show the
  5558. tooltip again for the active control (it is allowed by .Net to
  5559. show the tooltip on the same control multiple times).
  5560. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  5561. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  5562. 2007-05-16 Andreia Gaita <[email protected]>
  5563. * ContainerControl.cs: only process tab key if there are no
  5564. modifier keys present, otherwise the control does the
  5565. tab processing, if it needs to. Fixes #81622
  5566. * TabControl.cs: Fixes calculation for which tab to select on
  5567. shift+ctrl+tab.
  5568. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  5569. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  5570. 2007-05-15 Jonathan Pobst <[email protected]>
  5571. * Control.cs: Make IsInputCharInternal to allow controls to
  5572. override it and still match MS API.
  5573. * TextBoxBase.cs: Override IsInputCharInternal and always
  5574. return true.
  5575. [Fixes bug #81616]
  5576. 2007-05-15 Jackson Harper <[email protected]>
  5577. * TextBox.cs: Disable some of the menu options when using a
  5578. readonly textbox.
  5579. 2007-05-15 Jackson Harper <[email protected]>
  5580. * TextBox.cs:
  5581. * TextBoxBase.cs:
  5582. * RichTextBox.cs: Some new 2.0 methods
  5583. 2007-05-15 Gert Driesen <[email protected]>
  5584. * FileDialog.cs: On 1.0 profile, do not support multidotted
  5585. extensions.
  5586. 2007-05-14 Jackson Harper <[email protected]>
  5587. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  5588. * RichTextBox.cs: We need to override these methods on 2.0.
  5589. * MaskedTextBox.cs: These are implemented now
  5590. * TextControl.cs: This was off by one.
  5591. 2007-05-14 Jackson Harper <[email protected]>
  5592. * TextControl.cs: Because the line endings are including in the
  5593. text, we don't need to add them in anymore.
  5594. 2007-05-11 Everaldo Canuto <[email protected]>
  5595. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  5596. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  5597. 2007-05-11 Everaldo Canuto <[email protected]>
  5598. * ToolBar.cs: Adjust size to default size when button theres no text and
  5599. image, it fixes remaining issues from #81524.
  5600. 2007-05-11 Everaldo Canuto <[email protected]>
  5601. * ToolBar.cs:
  5602. - When not flat call redraw to recalculate sizes on creare handle to match
  5603. win32 behavior.
  5604. - Revert 77220 because it causes some regressions in toobar
  5605. button.
  5606. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  5607. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  5608. now actually enters a usable state.
  5609. 2007-05-11 Everaldo Canuto <[email protected]>
  5610. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  5611. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  5612. 3 buttons.
  5613. 2007-05-11 Everaldo Canuto <[email protected]>
  5614. * ToolBar.cs: Save default_size on create handle to use later for buttons
  5615. without text, needed to mimic win32 behavior.
  5616. 2007-05-11 Everaldo Canuto <[email protected]>
  5617. * ToolBar.cs: Fix button layour to best fit width or height according to
  5618. vertical or not. Fixes #81524.
  5619. 2007-05-10 Everaldo Canuto <[email protected]>
  5620. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  5621. toolbar size info because different styles theres different sizes.
  5622. Fixes #81522.
  5623. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  5624. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  5625. if we are using checkboxes, checked is true, and we have less
  5626. than two images in StateImageList; for the 1.1 in the same scenario
  5627. draw the first image if we have at least one image in StateImageList.
  5628. Fixes part of #81191.
  5629. 2007-05-10 Jonathan Pobst <[email protected]>
  5630. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  5631. the owner's Items collection on merge.
  5632. 2007-05-10 Jonathan Pobst <[email protected]>
  5633. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  5634. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  5635. and parent/owner gets changed based on gert's unit tests.
  5636. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  5637. * MaskedTextBox.cs: Started implementing parts of it.
  5638. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  5639. * ListView.cs: When clicking the checkbox on the items
  5640. take into account the double clicks even if we have only
  5641. one image in StateImageList (only for 1.0/1.1). Also
  5642. generate an extra change of checked state when we receive
  5643. the second click on checkbox (match .Net behaviour).
  5644. Fixes part of #81191.
  5645. 2007-05-10 Everaldo Canuto <[email protected]>
  5646. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  5647. 2007-05-10 Jonathan Pobst <[email protected]>
  5648. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  5649. even if OnLoad is overriden and base.OnLoad is not called.
  5650. [Fixes bug #81582]
  5651. 2007-05-10 Andreia Gaita <[email protected]>
  5652. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  5653. shame. (I blame my ever-persisting and annoying cold)
  5654. 2007-05-09 Jonathan Pobst <[email protected]>
  5655. * ListView.cs: Don't eat navigation keys. Let them flow through to
  5656. KeyDown/KeyPress routines. [Fixes bug #81569]
  5657. 2007-05-09 Jonathan Pobst <[email protected]>
  5658. * ListView.cs: When handling keys for selecting the item based off
  5659. keyboard input, do not consider keys pressed with Alt or Control. Also,
  5660. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  5661. 2007-05-09 Jonathan Pobst <[email protected]>
  5662. * Control.cs: When using UseWaitCursor, we have to store the requested
  5663. Cursor to use when UseWaitCursor is turned off.
  5664. 2007-05-09 Jonathan Pobst <[email protected]>
  5665. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  5666. to false.
  5667. * Application.cs: Use PreProcessControlMessage instead of
  5668. PreProcessMessage.
  5669. * PreProcessControlMessage.cs: Make internal for 1.1.
  5670. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  5671. * Control.cs: Add InternalContains focus property, which hast the same
  5672. functionality of ContainsFocus, but also including implicit controls.
  5673. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  5674. since we need to know if the focus is contained in our implicit
  5675. ItemControl when calculating Layout. Fixes part of #80888.
  5676. 2007-05-08 Everaldo Canuto <[email protected]>
  5677. * ToolTip.cs: Remove center form string alignment as it must be align to
  5678. left.
  5679. 2007-05-08 Jonathan Pobst <[email protected]>
  5680. * ToolStripItemCollection.cs: Set the new item's parent and owner
  5681. in Insert like we do in Add. [Fixes bug #81568]
  5682. 2007-05-08 Jackson Harper <[email protected]>
  5683. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  5684. - Off by one error in SetTop
  5685. - Disable DoubeBuffering
  5686. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  5687. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  5688. control as much as necessary in order to make it entirely visible,
  5689. instead of centering the control in the container (matches MS
  5690. behaviour). CalculateCanvasSize: we need to take the current scroll
  5691. position into account when calculating the maximum canvas,
  5692. otherwise the following scenario will fail: resize so that the
  5693. scrollbars appear, use the scrollbars to scroll, resize again
  5694. smaller, and now the canvas size is too small. Recalculate: when
  5695. showing scrollbars make sure they start off at 0, and try to scroll
  5696. the active control into view. Fixes #79540. HandleScrollBar: don't
  5697. scroll anywhere if the scrollbar isn't visible.
  5698. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  5699. * ListView.cs: When focus changed, call Layout/Invalidate
  5700. in the focused item to update the selected state (should show
  5701. entire label when ListView is focused, and a part of it if is not).
  5702. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  5703. for displaying the entire label not only the Focused state of the
  5704. item, but also the Focused state of the ListView (match .Net
  5705. behaviour).
  5706. 2007-05-07 Jonathan Pobst <[email protected]>
  5707. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  5708. Implement UseWaitCursor.
  5709. 2007-05-07 Jonathan Pobst <[email protected]>
  5710. Applying contributed patch from Sergey Volk.
  5711. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  5712. of SetDataObject.
  5713. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  5714. 2007-05-07 Jonathan Pobst <[email protected]>
  5715. * Control.cs: Implement DrawToBitmap.
  5716. 2007-05-07 Jonathan Pobst <[email protected]>
  5717. Applying contributed patch from Stefan Noack.
  5718. * Control.cs: Add [Get|Set]AutoSizeMode.
  5719. 2007-05-07 Jonathan Pobst <[email protected]>
  5720. * MdiClient.cs: Unmerge menus when the last child is closed.
  5721. 2007-05-07 Jonathan Pobst <[email protected]>
  5722. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  5723. * ToolStripManager.cs: Call Merge on DropDowns.
  5724. [Fixes bug #81477]
  5725. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  5726. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  5727. uints.
  5728. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  5729. visibility. We can't create forms visible, since we have to set the
  5730. owner before making the form visible (otherwise Win32 will do
  5731. strange things with task bar icons). The problem is that we set the
  5732. internal is_visible to true before creating the control, so
  5733. is_changing_visible_state is the only way of determining if we're
  5734. in the process of creating the form due to setting Visible=true -
  5735. this works because SetVisibleCore explicitly makes the form
  5736. visibile afterwards anyways. Fixes #80775.
  5737. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  5738. * ThemeWin32Classic.cs: When drawing ListViewItems,
  5739. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  5740. or LargeIcon _and_ item is not focused (match .Net behaviour).
  5741. 2007-05-04 Jonathan Pobst <[email protected]>
  5742. * Control.cs, Form.cs: Fix some obsolete method warnings.
  5743. 2007-05-04 Jonathan Pobst <[email protected]>
  5744. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  5745. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  5746. 2007-05-04 Andreia Gaita <[email protected]>
  5747. * ContainerControl.cs: Fix active_control attribution when going
  5748. up the parent chain so that the first parent container gets the control
  5749. and the rest of the parent containers get the child containers (skips
  5750. non-containers). Fixes #80729
  5751. 2007-05-04 Randolph Chung <[email protected]>
  5752. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  5753. [Fixes bug #81499]
  5754. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5755. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  5756. takes a size parameter, since the CreateParam's size isn't true for
  5757. minimized forms. Fixes #81518,
  5758. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5759. * Form.cs: Add OnDeactivateInternal.
  5760. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  5761. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5762. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  5763. accessing the parent. Fixes #81508.
  5764. 2007-05-03 Chris Toshok <[email protected]>
  5765. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  5766. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  5767. was added before the current listposition. Fixes the
  5768. TestInsertRowBeforeCurrent unit test.
  5769. 2007-05-03 Jonathan Pobst <[email protected]>
  5770. * Application.cs: Add RaiseIdle.
  5771. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5772. XplatUIX11.cs: Implement RaiseIdle.
  5773. 2007-05-02 Jonathan Pobst <[email protected]>
  5774. corcompare work: N - Z
  5775. * NotifyIcon.cs
  5776. * ProgressBar.cs
  5777. * RadionButton.cs
  5778. * ScrollableControl.cs
  5779. * SplitContainer.cs
  5780. * SplitterPanel.cs
  5781. * StatusBar.cs
  5782. * SystemInformation.cs
  5783. * TabControl.cs
  5784. * TableLayoutControlCollection.cs
  5785. * TableLayoutPanel.cs
  5786. * TabPage.cs
  5787. * ToolBar.cs
  5788. * ToolBarButton.cs
  5789. * ToolStrip.cs
  5790. * ToolStripComboBox.cs
  5791. * ToolStripContainer.cs
  5792. * ToolStripContentPanel.cs
  5793. * ToolStripDropDown.cs
  5794. * ToolStripDropDownItem.cs
  5795. * ToolStripDropDownMenu.cs
  5796. * ToolStripItem.cs
  5797. * ToolStripItemCollection.cs
  5798. * ToolStripMenuItem.cs
  5799. * ToolStripPanel.cs
  5800. * ToolStripSplitButton.cs
  5801. * ToolTip.cs
  5802. * TreeNode.cs
  5803. * TreeNodeCollection.cs
  5804. * TreeNodeMouseHoverEventArgs.cs
  5805. * TreeView.cs
  5806. 2007-05-01 Everaldo Canuto <[email protected]>
  5807. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  5808. stuff. Thanks aatdark for the patch.
  5809. 2007-05-01 Jonathan Pobst <[email protected]>
  5810. * GridItem.cs: Implement 2.0 Tag property.
  5811. 2007-05-01 Frederik Carlier <[email protected]>
  5812. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  5813. count instead of Nodes.Length. [Fixes bug #81448]
  5814. 2007-05-01 Jonathan Pobst <[email protected]>
  5815. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  5816. [Fixes bug #81506]
  5817. 2007-05-01 Jonathan Pobst <[email protected]>
  5818. corcompare work: A - M
  5819. * BindingNavigator.cs
  5820. * Button.cs
  5821. * ButtonBase.cs
  5822. * CheckBox.cs
  5823. * Control.cs
  5824. * FlowLayoutPanel.cs
  5825. * Form.cs
  5826. * Label.cs
  5827. * LinkLabel.cs
  5828. * ListView.cs
  5829. 2007-05-01 Jonathan Pobst <[email protected]>
  5830. * Application.cs: Give toolstrips a chance to process mnemonics.
  5831. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  5832. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  5833. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  5834. 2007-05-01 Jackson Harper <[email protected]>
  5835. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  5836. wider area too.
  5837. - Don't set the BoundsSpecified
  5838. 2007-04-30 Jonathan Pobst <[email protected]>
  5839. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  5840. message to pass through to a regular control if it hosted by a toolstrip.
  5841. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  5842. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  5843. 2007-04-30 Jonathan Pobst <[email protected]>
  5844. * TextRenderer.cs: Use the flags argument when using the MeasureString
  5845. fallback algorithm.
  5846. 2007-04-30 Jonathan Pobst <[email protected]>
  5847. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  5848. the MDI menu item. [Fixes bug #81483]
  5849. 2007-04-30 Gert Driesen <[email protected]>
  5850. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  5851. string. When setting Name to null, use zero-length string instead.
  5852. 2007-04-29 Andreia Gaita <[email protected]>
  5853. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  5854. DeselectTab). Implement missing 2.0 TabPageCollection methods
  5855. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  5856. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  5857. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  5858. 2007-04-29 Gert Driesen <[email protected]>
  5859. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  5860. Fixes bug #81479. Include details of exception when LoadFile fails.
  5861. 2007-04-28 Alan McGovern <[email protected]>
  5862. * DrawListViewSubItemEventArgs.cs: Added missing setter
  5863. 2007-04-27 Andreia Gaita <[email protected]>
  5864. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  5865. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  5866. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  5867. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  5868. removed in ly last commit (it was breaking the Label edit feature).
  5869. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  5870. StringAlignment.Near for LineAlignment (match .Net).
  5871. 2007-04-27 Andreia Gaita <[email protected]>
  5872. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  5873. of controls if it isn't already there - was blowing up when doing
  5874. tabcontrol.TabPages[i]=new TabPage().
  5875. SetTab now does a replace by removing the page at the index.
  5876. Add a new InsertTab method that inserts a page in a given index
  5877. instead of replacing.
  5878. Implements TabPageCollection.Insert(int, TabPage).
  5879. 2007-04-27 Chris Toshok <[email protected]>
  5880. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  5881. internal handler that can be invoked from our subclasses.) Also,
  5882. add a comment to PushData about how we need to fix it.
  5883. * CurrencyManager.cs: tons of changes here. trying to get things
  5884. matching the behavior of .net wrt event orders (ItemChanged,
  5885. CurrentChanged, PositionChanged.) I've implemented a private .net
  5886. symbol (ChangeRecordState) that appears in stack traces because
  5887. it's actually easier to do this than to effective inline all its
  5888. various behaviors at every call site.
  5889. * RelatedPropertyManager.cs: guard against an exception here by
  5890. not using parent.Current if the position is set to -1 (if the
  5891. parent datasource is cleared, for instance).
  5892. * Binding.cs: don't parse data in PushData (this might be wrong,
  5893. but it jives with MS's behavior.) Also, don't call PushData when
  5894. we get a CurrentChanged event.
  5895. 2007-04-27 Andreia Gaita <[email protected]>
  5896. * WebBrowser.cs,
  5897. WebBrowserBase.cs,
  5898. WebBrowserSiteBase.cs,
  5899. HtmlDocument.cs: Added stubbed out classes, no real implementations
  5900. yet.
  5901. 2007-04-27 Everaldo Canuto <[email protected]>
  5902. * MainMenu.cs: In draw method without parameters call draw method with
  5903. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  5904. as Rect property is already adjusted. Fixes #80694.
  5905. 2007-04-27 Jonathan Pobst <[email protected]>
  5906. * Application.cs: Need to handle keyboard menu deselection here.
  5907. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  5908. navigation, allowing keyboard to work on X11.
  5909. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  5910. 2007-04-27 Everaldo Canuto <[email protected]>
  5911. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  5912. menu bar. It fixes some drawing issues in menu bar.
  5913. 2007-04-27 Everaldo Canuto <[email protected]>
  5914. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  5915. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  5916. when <alt> key is pressed.
  5917. 2007-04-26 Everaldo Canuto <[email protected]>
  5918. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  5919. example just set visible to false and make this prevent from other problems.
  5920. In SystrayAdd always remove pending expose. Fixes #81072.
  5921. 2007-04-26 Marek Safar <[email protected]>
  5922. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  5923. value is set.
  5924. 2007-04-26 Alan McGovern <[email protected]>
  5925. * ListView.cs: Added three missing 2.0 events and corresponding
  5926. EventHandlers. Added the OwnerDraw property.
  5927. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  5928. 2007-04-26 Alan McGovern <[email protected]>
  5929. * DrawListViewItemEventArgs.cs
  5930. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  5931. 2007-04-26 Alan McGovern <[email protected]>
  5932. * TextControl.cs: Fixed typo in constructor
  5933. 2007-04-26 Jonathan Pobst <[email protected]>
  5934. * Application.cs: Create a shortcut path so that currently selected
  5935. MenuStrips can intercept keyboard events without having focus.
  5936. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  5937. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  5938. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  5939. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  5940. generate WM_SYSCOMMAND message in X11 for other platforms.
  5941. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  5942. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  5943. * ToolStripSplitButton.cs: Add DefaultItem property.
  5944. 2007-04-26 Everaldo Canuto <[email protected]>
  5945. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  5946. fixes some menu draw problem on Windows with border diferent from default
  5947. it also fixes #81403.
  5948. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5949. * Form.cs: Refactor WndProc into separate methods, just like Control is
  5950. doing it.
  5951. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5952. * Control.cs: set_Text: move the call to the driver into a seperate
  5953. virtual method so that Form can override it.
  5954. * MaskedTextBox.cs: Corcompare fixes.
  5955. * Form.cs: Override UpdateWindowText and only update the styles if the
  5956. form has been shown (fixes #81405).
  5957. 2007-04-25 Jonathan Pobst <[email protected]>
  5958. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  5959. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  5960. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  5961. the form lost focus or another control was clicked.
  5962. 2007-04-25 Gert Driesen <[email protected]>
  5963. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  5964. fixed.
  5965. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5966. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  5967. DrawListViewItemEventHandler.cs,
  5968. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  5969. Added.
  5970. * X11Structs.cs: More ToString implementation.
  5971. 2007-04-25 Jonathan Pobst <[email protected]>
  5972. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  5973. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  5974. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5975. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  5976. handle.
  5977. * FormCollection.cs: Don't add a form if it's already in the
  5978. collection.
  5979. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  5980. according to behaviour and MSDN. The ownerWin32 is the active
  5981. window at the moment when we call ShowDialog, not the context's
  5982. main form (the context's main form may open another form that opens
  5983. a form with ShowDialog, the win32 owner is the second form). Add
  5984. and remove forms to the Application.OpenForms in other places to
  5985. better match MS behaviour. Add an IsActive property that raises
  5986. On(de)Activated only if the active state has changed (we were
  5987. raising OnDeactivated before OnActivated while creating forms).
  5988. * Application.cs: Refactor Enabling/Disabling of windows for modal
  5989. dialog loops out to separate methods, and restore the thread
  5990. context when we quit the method. Fixes #81407.
  5991. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  5992. * ListView.cs: In ItemControl.HandleClicks, also fire
  5993. 2.0 MouseClick or MouseDoubleClick events on the parent,
  5994. not only the Click/DoubleClick events.
  5995. 2007-04-24 Andreia Gaita <[email protected]>
  5996. * TableLayoutSettings.cs:
  5997. - Added a GetControls method and a support structure to help the
  5998. TypeConverter to enumerate the controls for serialization.
  5999. - Added a new serialization constructor.
  6000. - Added a isSerialized flag initialized to true on the
  6001. serialization constructor so that the TableLayoutPanel.LayoutSettings
  6002. setter does not throw the designed NotSupportedOperation exception
  6003. when the object is built through deserialization.
  6004. - Implemented GetObjectData
  6005. * TableLayoutPanel.cs: Added check on LayoutSettings.
  6006. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  6007. * ListView.cs: Report Click and DoubleClick events to the parent
  6008. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  6009. from breaking the click count state when using dialog forms (Control
  6010. reports the clicks in a similar fashion). In the previous behaviour
  6011. the last WM_LBUTTONUP message in a double click was sent to the
  6012. ListView's form, instead of the ListView, which was breaking the click
  6013. count for it. Fixes #80387.
  6014. 2007-04-24 Alan McGovern <[email protected]>
  6015. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  6016. 2007-04-24 Jonathan Pobst <[email protected]>
  6017. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  6018. us from created dropdowns for menu items that do not have subitems.
  6019. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  6020. Check HasDropDownItems before calling DropDown so a dropdown will not be
  6021. created if it isn't needed.
  6022. 2007-04-24 Jackson Harper <[email protected]>
  6023. * TreeView.cs: Set the first node to the selected node when we get
  6024. focus if there is no selected node.
  6025. 2007-04-24 Andreia Gaita <[email protected]>
  6026. * MimeIcon.cs: remove using blocks so that image streams are
  6027. not disposed of. Fixes #80151
  6028. 2007-04-24 Jackson Harper <[email protected]>
  6029. * TextBoxBase.cs: Fixup the height of textboxes when the control
  6030. is created.
  6031. 2007-04-24 Jonathan Pobst <[email protected]>
  6032. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  6033. for each ToolStripItem when the parent's RightToLeftChanged is called.
  6034. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  6035. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  6036. Fixes #80163.
  6037. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  6038. property, so that the setter can be overriden too.
  6039. * TextBox.cs: Change GetContextMenuInternal() to use
  6040. ContextMenuInternal.
  6041. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  6042. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  6043. #81406.
  6044. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  6045. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  6046. #81406.
  6047. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  6048. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  6049. avoid duplicate work. Mostily skeleton code, it's not working at
  6050. all yet.
  6051. 2007-04-20 Leszek Ciesielski <[email protected]>
  6052. * NotifyIcon.cs : stub for MouseClick event
  6053. * Application.cs: stub for SetUnhandledExceptionMode
  6054. 2007-04-24 Alan McGovern <[email protected]>
  6055. * BindingNavigator.cs : Initial (partial) implementation
  6056. 2007-04-23 Jackson Harper <[email protected]>
  6057. * TreeView.cs: Do not create the treeview's handle when setting
  6058. the scroll position.
  6059. - ExpandAll needs to compute the scrollbars so it knows which
  6060. position to set the bar too.
  6061. * TreeNode.cs:
  6062. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  6063. 2007-04-23 Jackson Harper <[email protected]>
  6064. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  6065. key. Fixes #81408.
  6066. 2007-04-23 Jonathan Pobst <[email protected]>
  6067. * ToolStripItem.cs: Make GetImageSize internal.
  6068. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  6069. need to draw an item. Fixes a reported issue where images on menus
  6070. that were not 16x16 were drawing incorrectly.
  6071. 2007-04-21 Miguel de Icaza <[email protected]>
  6072. * Padding.cs: Use the converter, fixes the resgen2 issue with
  6073. XMLNotePad.
  6074. 2007-04-21 Jackson Harper <[email protected]>
  6075. * TreeView.cs: Dont try to unhighlight the selected node if there
  6076. isn't a selected node.
  6077. 2007-04-21 Jackson Harper <[email protected]>
  6078. * UpDownBase.cs:
  6079. * TextBoxBase.cs:
  6080. * ListView.cs:
  6081. * ListBox.cs:
  6082. * TreeView.cs: Use the InternalBorderStyle property to set the
  6083. initial border style, this forces the client rectangle to be sized
  6084. correctly.
  6085. 2007-04-20 Jackson Harper <[email protected]>
  6086. * TreeView.cs: Simplify scrolling to the last node after expanding
  6087. all.
  6088. - Fix some off by ones with setting the bottom.
  6089. 2007-04-20 Jonathan Pobst <[email protected]>
  6090. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  6091. that. We were incorrectly doing it the other way around. Also,
  6092. update ClientSize if we change the BorderStyle before the control
  6093. is created.
  6094. 2007-04-20 Gert Driesen <[email protected]>
  6095. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  6096. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  6097. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  6098. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  6099. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  6100. Caption to CaptionHeight.
  6101. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  6102. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  6103. and FixedFrameBorderSize to return value from current XplatUI driver.
  6104. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  6105. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  6106. and FixedFrameBorderSize using win32 API. Renamed Caption to
  6107. CaptionHeight.
  6108. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  6109. * SystemInformation.cs: Fixed typo in BorderSize.
  6110. 2007-04-20 Gert Driesen <[email protected]>
  6111. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  6112. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  6113. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  6114. returning false.
  6115. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  6116. value from XplatUI driver.
  6117. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  6118. SystemParametersInfo.
  6119. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  6120. override.
  6121. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  6122. returning false.
  6123. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  6124. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  6125. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  6126. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  6127. 2007-04-20 Jonathan Pobst <[email protected]>
  6128. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  6129. MenuStrips that contain ToolStripSeparators.
  6130. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  6131. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  6132. DefineStdCursorBitmap.
  6133. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  6134. has been created off a standard cursor. This is used to get a
  6135. bitmap of the standard cursor when Draw or DrawStretched is called
  6136. in order to draw the cursor.
  6137. * X11Structs.cs: Added XcursorImage and XcursorImages.
  6138. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  6139. DefineStdCursorBitmap.
  6140. * Cursors.cs: Update all relevant creations of Cursor to use the new
  6141. internal constructor.
  6142. 2007-04-19 Jackson Harper <[email protected]>
  6143. * TextBox.cs: Move the has_been_focused into the base control, so
  6144. some of the text adding methods can manipulate it (probably time
  6145. for a better name for this flag too).
  6146. - Call a new version of selectall that doesn't scroll
  6147. * TextBoxBase.cs: When we append text, if the document is empty,
  6148. don't scroll. If the document has text already, we scroll to the
  6149. end of the appended text.
  6150. - When the text is changed, we reset the has_been_focused, so the
  6151. next time the control gets focused, all the text is selected.
  6152. 2007-04-19 Jackson Harper <[email protected]>
  6153. * TextControl.cs: Move the margins to the document, add a method
  6154. so the margin sizes can be updated.
  6155. * TextBoxBase.cs: When the border style is changed, update the
  6156. border sizes.
  6157. 2007-04-19 Jonathan Pobst <[email protected]>
  6158. * Control.cs: Respect DefaultPadding.
  6159. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  6160. padding into account.
  6161. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  6162. 2007-04-19 Jackson Harper <[email protected]>
  6163. * TextControl.cs: Oops, we need to use the ClientRect not the
  6164. bounds here.
  6165. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  6166. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  6167. account the double clicks when CheckBoxes are used and
  6168. the pointer is inside the checkbox. Fixes part of #81191.
  6169. 2007-04-18 Jackson Harper <[email protected]>
  6170. * TextControl.cs: Pressing the end key shouldn't move the caret
  6171. past the line ending.
  6172. * TextBoxBase.cs: We can still delete if we are in the line
  6173. ending and the combine will just kill the existing line ending.
  6174. 2007-04-18 Jackson Harper <[email protected]>
  6175. * TextControl.cs: We can't move lines, then invalidate their
  6176. bounds, we need to get the old bounds and combine that with the
  6177. new bounds.
  6178. * TextBoxBase.cs: Before combining two lines for a delete, we need
  6179. to invalidate the area of the old line, since that will be moved
  6180. in the combine operation.
  6181. 2007-04-18 Everaldo Canuto <[email protected]>
  6182. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  6183. with transparent background. Fixes #80482.
  6184. 2007-04-18 Jonathan Pobst <[email protected]>
  6185. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  6186. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  6187. [Fixes bug #81391]
  6188. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  6189. * CreateParams.cs: Add a couple of helper methods and do a less string
  6190. concatenation in ToString.
  6191. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  6192. overload that takes a Control parameter, since this method may be
  6193. called before a control is assigned to the hwnd (from
  6194. CreateWindow), and update CreateWindow to use the new overload. In
  6195. GetMenuOrigin subtract the title bar from the y position if the
  6196. form has a window manager (since we're painting it and not X).
  6197. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  6198. CreateParams to calculate the origin (since border sizes may vary).
  6199. In ScreenToMenu only subtract the title height if we actually have
  6200. a title.
  6201. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  6202. mdi children never have menus of themselves.
  6203. * InternalWindowManager.cs: Implement menu handling like form does.
  6204. Added GetMenuOrigin to calculate the menu origin, can't use the
  6205. CreateParams from the form like normally since it's lying.
  6206. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  6207. windows-like) and add Inflate and comparison operators to the
  6208. Borders type. When calculating MenuOrigin and it's a form with a
  6209. window manager, use the window manager to calculate it.
  6210. 2007-04-17 Chris Toshok <[email protected]>
  6211. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  6212. OnBindingContextChanged thing here. It's only generated from
  6213. ContainerControl.OnCreateControl. Fixes a newly written unit test
  6214. - BindingTest.BindingContextChangedTest4.
  6215. 2007-04-17 Jackson Harper <[email protected]>
  6216. * ScrollBar.cs: When setting values, make sure the current
  6217. position stays within the new values range.
  6218. 2007-04-17 Chris Toshok <[email protected]>
  6219. * Control.cs (CreateControl): talk about a bizarre corner case.
  6220. Don't emit OnBindingContextChanged here if we're a parentless
  6221. control (i.e. if we're a form.). Fixes
  6222. BindingTest.BindingContextChangedTest2.
  6223. 2007-04-17 Everaldo Canuto <[email protected]>
  6224. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  6225. from win32. Fixes #81255.
  6226. 2007-04-17 Everaldo Canuto <[email protected]>
  6227. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  6228. already present in CalculateButtonTextAndImageLayout.
  6229. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  6230. * XplatUIX11.cs: When setting min/max size for a window we need to
  6231. translate the coordinates to x coordinates. Create an overload of
  6232. SetWindowMinMax that takes a CreateParams handling this, and change
  6233. SetWMStyles to call this function (can't use Control.FromHandle in
  6234. the SetWindowMinMax to get the control/CreateParams from the handle
  6235. because the handle might not have been assigned to the control
  6236. yet). Fixes #81371.
  6237. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  6238. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  6239. if StateImageList is non-null and it has less than two items (match MS
  6240. behaviour). Also, in HandleNavKeys handle the Space key, calling
  6241. the new ToggleItemsCheckState method, which tries to change the
  6242. checked state of the selected items. Fixes part of #81191.
  6243. 2007-04-16 Jackson Harper <[email protected]>
  6244. * RichTextBox.cs: namespace cleanup.
  6245. 2007-04-16 Everaldo Canuto <[email protected]>
  6246. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  6247. 2007-04-16 Everaldo Canuto <[email protected]>
  6248. [Fixes #79447]
  6249. * Control.cs: Call invalidate in set_Region.
  6250. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  6251. it dont works here.
  6252. 2007-04-16 Jackson Harper <[email protected]>
  6253. * TextBoxBase.cs: When enter is pressed, we need to update all
  6254. lines below the current.
  6255. 2007-04-16 Jonathan Pobst <[email protected]>
  6256. * MdiClient.cs: Implement implicit menu merging for MDI
  6257. children. When a child form is active, if it has a menustrip
  6258. and the parent form has a MainMenuStrip, automatically merge
  6259. the menus.
  6260. 2007-04-15 Andreia Gaita <[email protected]>
  6261. * TabControl.cs: Refactored sizing methods to not repeat
  6262. code all over the place. Tab bounds are now calculated
  6263. as if alignment is top and single line, and only when
  6264. setting the bounds are the positions adjusted according
  6265. to alignment. Replaced hardcoded positions, spacings and
  6266. paddings by getting the values the ThemeEngine.
  6267. Fixes #79619.
  6268. * Theme.cs: Change TabControl properties and methods so
  6269. that all start with TabControl*. Added more properties
  6270. to help remove hardcoded values on tabcontrol.
  6271. Add CPDrawBorder3D declaration so the Theming classes
  6272. can access it.
  6273. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  6274. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  6275. on the Theming namespace, and call the appropriate methods here.
  6276. Change CPDrawBorder3D to public.
  6277. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  6278. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  6279. the control after firing the OnMouseUp event, instead of sending
  6280. the message before the mentioned event. This is so we can match the
  6281. MS behaviour. Fixes part of #80385.
  6282. 2007-04-13 Jonathan Pobst <[email protected]>
  6283. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  6284. RightToLeft property.
  6285. 2007-04-13 Jonathan Pobst <[email protected]>
  6286. * ToolStrip.cs: Add properties and internal methods to support merging.
  6287. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  6288. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  6289. not trigger reparenting or layouts.
  6290. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  6291. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  6292. is hosting the overflow menu.
  6293. 2007-04-13 Jackson Harper <[email protected]>
  6294. * TextControl.cs: Set the line ending correctly for the first
  6295. inserted line.
  6296. 2007-04-13 Sebastien Pouliot <[email protected]>
  6297. * Theme.cs: Update GetMethod to get the new definition for
  6298. KnownColors.Update (and fix theme color updates).
  6299. 2007-04-12 Everaldo Canuto <[email protected]>
  6300. * MessageBox.cs: Fix some test and button position.
  6301. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  6302. * Form.cs: Consider the implicit controls in
  6303. GetRealChildAtPoint. We need it since this method
  6304. is called on Form when handling the some messages in
  6305. WndProc, and need to consider those implicit ones too.
  6306. Fixes #80385.
  6307. 2007-04-12 Jonathan Pobst <[email protected]>
  6308. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  6309. if there are no ShortcutKeys set.
  6310. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  6311. set, use it when painting.
  6312. 2007-04-12 Jackson Harper <[email protected]>
  6313. * TextControl.cs: Fix some off-by-one issues in line duplication
  6314. and insertion in the undo manager. Also, overwrite the first tag
  6315. of a line on insert, if it is just a zero lengthed tag. This
  6316. prevents us from getting an extra stranded tag at the beginning of
  6317. the first line.
  6318. 2007-04-11 Everaldo Canuto <[email protected]>
  6319. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  6320. to calculated proper size including when handle was not created yet.
  6321. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  6322. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  6323. when the mouse is outside of it's parent's client rectangle. Fixes
  6324. #79982 (take 3, part 2).
  6325. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  6326. * X11Structs.cs: Add a few ToString() overrides.
  6327. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  6328. the window location in a window-manager independent way. Reworked
  6329. FrameExtents, it now actually works. Reworked AddConfigureNotify
  6330. and ReparentNotify handling to use GetTopLevelWindowLocation
  6331. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  6332. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  6333. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  6334. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  6335. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  6336. and generally refactored to do as few calculations as possible
  6337. inside the lock.
  6338. 2007-04-09 Sebastien Pouliot <[email protected]>
  6339. * Theme.cs: Change "reflective-contract" between MWF and SD to
  6340. minimize # of calls, avoid Color serialization and avoid updating
  6341. every "known colors" each time a single one is updated.
  6342. 2007-04-09 Gert Driesen <[email protected]>
  6343. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  6344. when not readonly and the text is explicitly set. Code style updates.
  6345. * DataGridTableStyle.cs: Removed extra line.
  6346. * DataGrid.cs: Code style updates. Removed extra whitespace.
  6347. * DataGridColumnStyle.cs: Code style updates. Removed extra
  6348. whitespace.
  6349. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  6350. * XplatUIX11.cs: Added comment that "fixes" #80021.
  6351. 2007-04-09 Jackson Harper <[email protected]>
  6352. * TextControl.cs: We don't need this -1 on the line count anymore.
  6353. 2007-04-09 Gert Driesen <[email protected]>
  6354. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  6355. entered value to underlying type, and convert it back to a string to
  6356. apply formatting. Modified GetFormattedValue to use TypeConverter
  6357. if available.
  6358. 2007-04-08 Gert Driesen <[email protected]>
  6359. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  6360. Use SubItems property when we want to ensure there's at least one
  6361. subitem. Modified SubItems property to ensure there's always at least
  6362. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  6363. the NRE's reported by MS.
  6364. 2007-04-07 Gert Driesen <[email protected]>
  6365. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  6366. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  6367. Spaces to tabs. Removed extra tabs.
  6368. 2007-04-06 Jonathan Pobst <[email protected]>
  6369. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  6370. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  6371. 2007-04-06 Jackson Harper <[email protected]>
  6372. * TextBoxBase.cs: When a delete removes a line, recalculate all
  6373. lines below that line (they need to get offsets setup correctly)
  6374. and invalidate.
  6375. 2007-04-05 Jackson Harper <[email protected]>
  6376. * TextControl.cs: We need to invalidate across the width of the
  6377. document when we are invalidating multiple lines.
  6378. * TextBoxBase.cs: Don't delete into the line ending.
  6379. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  6380. * ListView.cs: Restore the check for the MouseHover event
  6381. in ListView. It looks like the ListView fires more than one MouseHover
  6382. event when HoverSelection is true _only_ in weird-corner scenarios, but
  6383. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  6384. event.
  6385. 2007-04-05 Mike Kestner <[email protected]>
  6386. * ListView.cs : raise MouseDown before updating selection.
  6387. [Fixes #80373 tab 1&3]
  6388. 2007-04-05 Jonathan Pobst <[email protected]>
  6389. * ToolStripRenderer.cs: Add static method to mirror image.
  6390. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  6391. and RightToLeftAutoMirrorImage.
  6392. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  6393. 2007-04-05 Jonathan Pobst <[email protected]>
  6394. * ToolStripSplitStackLayout.cs: Support Alignment property.
  6395. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  6396. 2007-04-05 Jackson Harper <[email protected]>
  6397. * TextControl.cs: Move around the line endings when crossing line
  6398. boundaries.
  6399. - When combining lines, strip the ending text off the first line.
  6400. 2007-04-05 Jackson Harper <[email protected]>
  6401. * TextControl.cs:
  6402. * TextBoxBase.cs: Try to never move the cursor into the line
  6403. ending.
  6404. 2007-04-04 Jonathan Pobst <[email protected]>
  6405. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  6406. the item is disabled. Also add a few missing methods.
  6407. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  6408. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  6409. to fire just one MouseHover event when HoverSelection is true, since
  6410. .Net does fire more than one MouseHover event in that scenario. Also,
  6411. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  6412. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  6413. Finally, we need to reset the Hover logic in MouseMove, even when we
  6414. don't have a selected item.
  6415. 2007-04-04 Jonathan Pobst <[email protected]>
  6416. * ToolStrip.cs: Add several missing methods, properties, and events.
  6417. 2007-04-04 Chris Toshok <[email protected]>
  6418. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  6419. (0,0,0,0) in Commit, as MS does.
  6420. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  6421. make sure we set CurrentRow on a row header click *before* calling
  6422. Select. This moves the current cell (and the textbox) to the new
  6423. row. The call to Select then hides the textbox, giving us the
  6424. correct behavior. Fixes #80362.
  6425. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  6426. (ListChangedHandler): reorder the position/current changed events,
  6427. and call UpdateIsBinding in the ItemAdded case.
  6428. * GridColumnStylesCollection.cs: add some columns events, one of
  6429. which raises the CollectionChanged event.
  6430. 2007-04-04 Jackson Harper <[email protected]>
  6431. * TextControl.cs: When we delete multiple selection lines
  6432. invalidate the selection area, don't need to do that for single
  6433. lines because the final update view will handle it.
  6434. 2007-04-04 Jonathan Pobst <[email protected]>
  6435. * Control.cs: When we CreateControl, we need to also create all of the
  6436. control's children. The child's OnLoad must also fire before the parent's
  6437. OnLoad. Fixes the toolbox size in PDN.
  6438. 2007-04-04 Jackson Harper <[email protected]>
  6439. * TextBoxBase.cs: When the user presses enter, insert a line
  6440. ending into the text. (Maybe this would be a good spot for
  6441. Environment.NewLine).
  6442. * TextControl.cs: Remove undo manager hack, line endings get
  6443. inserted properly now.
  6444. 2007-04-04 Everaldo Canuto <[email protected]>
  6445. * MenuAPI.cs:
  6446. - Remove unneeded parameters in UpdateCursor.
  6447. - Fix UpdateCursor to check if menu is active.
  6448. - Call UpdateCursor when menu deactivate my click.
  6449. [Fixes remaining issues from #80410]
  6450. 2007-04-04 Everaldo Canuto <[email protected]>
  6451. * Control.cs: GetRealChildAtPoint method added, it make an
  6452. recursive child control search for the point.
  6453. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  6454. menu.
  6455. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  6456. 2007-04-03 Everaldo Canuto <[email protected]>
  6457. * Form.cs: Fix mouse position when send back mouse event after closes
  6458. menu.
  6459. 2007-04-03 Everaldo Canuto <[email protected]>
  6460. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  6461. 2007-04-03 Jonathan Pobst <[email protected]>
  6462. * Control.cs: Fix an issue where if a user resized a control inside
  6463. a sizing method like OnResize, we would overwrite their explicit
  6464. value. Also, only call DefaultSize once in the constructor instead
  6465. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  6466. nothing actually changed.
  6467. 2007-04-03 Jackson Harper <[email protected]>
  6468. * TextControl.cs: Don't attempt to copy text for lines with no
  6469. text in them (technically this shouldn't happen, but we aren't
  6470. always inserting line endings when we should be).
  6471. 2007-04-03 Jackson Harper <[email protected]>
  6472. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  6473. document, because this sets some of the document size properties
  6474. that are needed.
  6475. 2007-04-03 Jackson Harper <[email protected]>
  6476. * TextBoxBase.cs: We need to calculate maximums even if this is
  6477. not a multiline control, because the maxs are used for scrolling.
  6478. - Display the caret after doing a page up/down, we need to
  6479. manually display it because a proper CaretMoved event isn't
  6480. triggered (this is because of the way the math is done to
  6481. determine how far to scroll).
  6482. 2007-04-03 Jonathan Pobst <[email protected]>
  6483. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  6484. (ToolBar was relying on SetBoundsCore to default the values sent
  6485. base off of BoundsSpecified.)
  6486. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6487. * DateTimePicker.cs: Change Text so that when a null value or empty
  6488. string is assigned to the test we always raise ValueChanged and
  6489. TextChanged (earlier implementation would only raise ValueChanged
  6490. if the current date value was different from DateTime.Now).
  6491. 2007-04-03 Andreia Gaita <[email protected]>
  6492. * ButtonBase: Call update after invalidation, fixes #80194
  6493. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6494. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  6495. #79335.
  6496. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6497. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  6498. FormBorderStyle = None, don't give the window any decorations.
  6499. Fixes #81276.
  6500. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6501. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  6502. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  6503. to check for is a mix of several styles (such as WS_CAPTION for
  6504. instance).
  6505. * Control.cs: Don't paint an area bigger than the client area when
  6506. painting the background colour. Add an internal GetCreateParams.
  6507. Update calls to XplatUI.CalculateWindowRect due to API change.
  6508. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  6509. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  6510. the size if it hasn't been handled by any windows. When creating
  6511. and moving windows, X wants the location of the entire window, but
  6512. the size of the client window, so add
  6513. TranslateClientRectangleToXClientRectangle,
  6514. TranslateWindowSizeToXWindowSIze and
  6515. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  6516. before every window creation and move. Update CalculateWIndowRect
  6517. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  6518. In AddConfigureNotify don't do anything if the hwnd is a zombie
  6519. (fixes the BadWindow we were getting while running the tests),
  6520. always calculate the offsets when it's a parentless window, not
  6521. only when reparented, and translate the window size, since we're
  6522. getting the client size of the whole window, excluding entire
  6523. window.
  6524. * Theme.cs: Added BorderSizableSize.
  6525. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  6526. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  6527. chang
  6528. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  6529. change. Fake the window styles here instead of in XplatUIWin32 so
  6530. that all back-ends get the same window styles (and it's Form that's
  6531. deciding when to use wm, not the Win32 backend anyways)
  6532. * Hwnd.cs: Completely reworked GetWindowRectangle and
  6533. GetClientRectangle - they are now passed a CreateParams and they
  6534. only use Style and ExStyle to determine the rectangles (they should
  6535. now work just like Win32AdjustWindowRectEx - though quite a few
  6536. special cases are probably missing). They should also be 100%
  6537. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  6538. == rect), and all numbers (borders, menu sizes) are taken from the
  6539. current theme. Added a GetBorders helper function that will return
  6540. the borders for any given CreateParams (including captions and
  6541. menus), and GetBorderSize that returns the given border size only.
  6542. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  6543. Hwnd.GetClientRectangle.
  6544. 2007-04-02 Chris Toshok <[email protected]>
  6545. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  6546. logic between the values we present to the user and the values
  6547. which are stored in the column's property. Also, don't call
  6548. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  6549. 2007-04-02 Jackson Harper <[email protected]>
  6550. * TextBoxBase.cs: Scroll faster!
  6551. 2007-04-02 Jonathan Pobst <[email protected]>
  6552. * StatusStrip.cs: Layout fixes for PDN.
  6553. * ToolStrip.cs: Set item's available to true, and placement to main when
  6554. added.
  6555. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  6556. changing in setter before doing any work, add InternalVisible.
  6557. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  6558. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  6559. infinite loop.
  6560. 2007-04-02 Jackson Harper <[email protected]>
  6561. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  6562. text on focus.
  6563. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  6564. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  6565. Makes ToolStripComboBoxes show up again.
  6566. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  6567. * ListView.cs: Add a hover_pending field in ListView
  6568. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  6569. cycle (we are resetting the MouseHover logic in XplatUI
  6570. to handle HoverSelection). Fixes #80429.
  6571. 2007-04-02 Jackson Harper <[email protected]>
  6572. * TextControl.cs: Make sure the attributes get set on the last
  6573. tag.
  6574. - Still have to do the end tag if we have stepped all the ways to
  6575. the end.
  6576. 2007-04-02 Sebastien Pouliot <[email protected]>
  6577. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  6578. on an internal libgdiplus call when the information is already
  6579. available via the public API.
  6580. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  6581. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  6582. control is removed from a control collecftion.
  6583. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  6584. Fixes FormPropertyTest (failed on rare occasions).
  6585. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  6586. of Win32SetParent (when changing from no parent to a parent it
  6587. might add the new parent's location in screen coordinates to this
  6588. window's location).
  6589. * Form.cs: Rework ChangingParent once again, now the handle is
  6590. recreated whenever a FormWindowManager is added or removed (that is
  6591. whenever a normal form is parented or abandoned). Also change
  6592. CreateParams so that all non-toplevel windows always get the
  6593. specified sice (StartupPosition is never considered for
  6594. non-TopLevel forms).
  6595. * ContainerControl.cs: Add ChildControlRemoved, the container control
  6596. needs to be notified when a control is removed from it's
  6597. collection, in the case the removed control is the active control.
  6598. 2007-04-02 Jackson Harper <[email protected]>
  6599. * RichTextBox.cs: Use the new methods for setting the font and
  6600. color, these methods set the specified attribute without
  6601. overriding the other attributes.
  6602. 2007-04-02 Jonathan Pobst <[email protected]>
  6603. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  6604. 2007-03-31 Gert Driesen <[email protected]>
  6605. * TextBox.cs: Added internal ChangeBackColor method to special-case
  6606. Color.Empty. Added check for invalid ScrollBars value.
  6607. * TextBoxBase.cs: Added internal ChangeBackColor method.
  6608. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  6609. internal ChangeBackColor method to special-case Color.Empty. Added
  6610. check for invalid ScrollBars value.
  6611. 2007-03-30 Everaldo Canuto <[email protected]>
  6612. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  6613. 2007-03-30 Jonathan Pobst <[email protected]>
  6614. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  6615. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  6616. [Based on submitted patch from Olivier Duff.]
  6617. 2007-03-30 Jackson Harper <[email protected]>
  6618. * TextBox.cs: Only select all on initial focus if the user has not
  6619. specified a selection area.
  6620. 2007-03-30 Jonathan Pobst <[email protected]>
  6621. * UserControl.cs: Override CreateParams.
  6622. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  6623. [ Fixes #80995 ]
  6624. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  6625. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  6626. check for is a mix of several styles (such as WS_CAPTION for instance).
  6627. * Control.cs: Don't paint an area bigger than the client area when painting
  6628. the background colour. Add an internal GetCreateParams. Update calls to
  6629. XplatUI.CalculateWindowRect due to API change.
  6630. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  6631. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  6632. hasn't been handled by any windows. When creating and moving windows, X
  6633. wants the location of the entire window, but the size of the client
  6634. window, so add TranslateClientRectangleToXClientRectangle,
  6635. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  6636. to cope with this, and call them before every window creation and move.
  6637. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  6638. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  6639. hwnd is a zombie (fixes the BadWindow we were getting while running the
  6640. tests), always calculate the offsets when it's a parentless window, not
  6641. only when reparented, and translate the window size, since we're getting
  6642. the client size of the whole window, excluding entire window.
  6643. * Theme.cs: Added BorderSizableSize.
  6644. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  6645. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  6646. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  6647. Fake the window styles here instead of in XplatUIWin32 so that all
  6648. back-ends get the same window styles (and it's Form that's deciding when
  6649. to use wm, not the Win32 backend anyways)
  6650. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  6651. they are now passed a CreateParams and they only use Style and ExStyle
  6652. to determine the rectangles (they should now work just like
  6653. Win32AdjustWindowRectEx - though quite a few special cases are probably
  6654. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  6655. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  6656. sizes) are taken from the current theme. Added a GetBorders helper
  6657. function that will return the borders for any given CreateParams
  6658. (including captions and menus), and GetBorderSize that returns the given
  6659. border size only.
  6660. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  6661. Hwnd.GetClientRectangle.
  6662. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  6663. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  6664. layout of the mdi children is handled by CreateParams. Fixes
  6665. #79964,
  6666. 2007-03-29 Everaldo Canuto <[email protected]>
  6667. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  6668. processed.
  6669. * Form.cs: When active tracker mouse down is not processed, send event
  6670. back to control inside mouse position. [Fixes #81227]
  6671. 2007-03-29 Jonathan Pobst <[email protected]>
  6672. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  6673. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  6674. stealing focus from the active form on Windows. (Control will be made
  6675. visible in ShowWindow.)
  6676. 2007-03-29 Mike Kestner <[email protected]>
  6677. * ImageList.cs : add internal Changed event.
  6678. * ListView.cs : hook up to StateImageList.Changed to perform
  6679. invalidations when the the state icon list changes. [Fixes #81191]
  6680. 2007-03-29 Jonathan Pobst <[email protected]>
  6681. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  6682. to prevent tooltips from stealing focus from the active form on Windows.
  6683. 2007-03-29 Everaldo Canuto <[email protected]>
  6684. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  6685. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  6686. 2007-03-29 Everaldo Canuto <[email protected]>
  6687. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  6688. balloons.
  6689. 2007-03-29 Jackson Harper <[email protected]>
  6690. * TextControl.cs: When deleting text from non multiline textboxes,
  6691. we need to update the entire document, because line offsets will
  6692. be shifting.
  6693. 2007-03-29 Everaldo Canuto <[email protected]>
  6694. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  6695. added to theme, now we can create themes that uses diferent notify engines
  6696. like notification-daemon from galago project or growl for Mac OS.
  6697. 2007-03-28 Everaldo Canuto <[email protected]>
  6698. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  6699. 2007-03-28 Everaldo Canuto <[email protected]>
  6700. * XplatUIX11.cs: Prevent system to open more than one balloon.
  6701. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  6702. some compiler warning messages.
  6703. 2007-03-28 Everaldo Canuto <[email protected]>
  6704. [Fixes #79149]
  6705. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  6706. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  6707. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  6708. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  6709. systems.
  6710. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  6711. * ListViewItem.cs: Forgot to make Invalidate internal.
  6712. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  6713. * ListView.cs: Add a InvalidateSelection method to
  6714. invalidate methods which are currently selected, and call
  6715. it when setting FullRowSelect and HideSelection, instead of
  6716. calling Redraw.
  6717. 2007-03-28 Chris Toshok <[email protected]>
  6718. * XplatUIX11.cs (UnmapWindow): reindent this block.
  6719. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  6720. the selection_start if we're moving the selection (that is, not
  6721. extending it). Fixes bug #80461.
  6722. 2007-03-28 Jonathan Pobst <[email protected]>
  6723. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  6724. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  6725. create private ControlCollection.
  6726. 2007-03-28 Jonathan Pobst <[email protected]>
  6727. * Control.cs: We need to call OnVisibleChanged for our implicit
  6728. children as well as our normal children. Fixes scrollbars in
  6729. comboboxes not showing up.
  6730. 2007-03-28 Jonathan Pobst <[email protected]>
  6731. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  6732. the check for IsHandleCreated first. The check in CreateHandle is not
  6733. good enough because CreateHandle can be overriden, and the override
  6734. should not be called if the handle is already created.
  6735. 2007-03-28 Jonathan Pobst <[email protected]>
  6736. * ToolStrip.cs: Remove MonoTODO for tooltips.
  6737. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  6738. * ToolStripContainer.cs: Add custom ControlCollection class.
  6739. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  6740. * ToolStripDropDown.cs: Add some missing properties/methods.
  6741. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  6742. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  6743. * ToolStripManager.cs: Add IsShortcutDefined.
  6744. * ToolStripOverflow.cs: Override LayoutEngine.
  6745. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  6746. * ToolStripSeparator.cs: Add ImageKey.
  6747. 2007-03-28 Jackson Harper <[email protected]>
  6748. * TextControl.cs: If a char delete removes a line ending, we need
  6749. to update the ending style.
  6750. - Make sure the line ending calcs get called.
  6751. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  6752. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  6753. it was making the new code not work. Fixed a typo in the new code
  6754. as well. Fixes #79826.
  6755. 2007-03-27 Everaldo Canuto <[email protected]>
  6756. * XplatUIWin32.cs:
  6757. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  6758. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  6759. - SystrayBalloon method implemented.
  6760. [Add support for notifyicon balloon on win32, #79149]
  6761. 2007-03-27 Mike Kestner <[email protected]>
  6762. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  6763. the ms behavior when only one image is added to the list.
  6764. [Fixes #81191]
  6765. 2007-03-27 Jackson Harper <[email protected]>
  6766. * TextControl.cs: Improvements to non multiline line ending
  6767. drawing/measuing.
  6768. 2007-03-27 Everaldo Canuto <[email protected]>
  6769. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  6770. 2007-03-27 Everaldo Canuto <[email protected]>
  6771. * NotifyIcon.cs:
  6772. - Balloon message handling added.
  6773. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  6774. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6775. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  6776. to SystrayBalloon to me like other Systray method, also a
  6777. handle parameter added.
  6778. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  6779. * ListView.cs: Show scrollbars even when items.Count == 0
  6780. but the columns Width is bigger than the ListView.Width.
  6781. Also, when columns.Count == 0 set layout_wd and layout_ht
  6782. to the ClientRectangle values, so we don't show any scrollbar
  6783. in that case.
  6784. 2007-03-27 Everaldo Canuto <[email protected]>
  6785. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  6786. 2007-03-27 Jackson Harper <[email protected]>
  6787. * RichTextBox.cs: The RTF library decodes the text properly for us
  6788. now.
  6789. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  6790. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  6791. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  6792. ListView header (HeaderControl), instead of Control.BackColor.
  6793. 2007-03-27 Jonathan Pobst <[email protected]>
  6794. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  6795. Fixes tab control issues where controls would not show up because they
  6796. never received their OnVisibleChanged call.
  6797. 2007-03-27 Everaldo Canuto <[email protected]>
  6798. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  6799. BalloonTipShown).
  6800. 2007-03-27 Jonathan Pobst <[email protected]>
  6801. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  6802. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  6803. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  6804. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  6805. the handle. Fix WindowState by using the internal variable until we are
  6806. sure that we've been shown.
  6807. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  6808. max or min.
  6809. [Fixes bug #81198]
  6810. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  6811. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  6812. (at least borders). Fixes #79386 on Linux (with a small difference
  6813. in behaviour: when trying to resize a caption-less window metacity
  6814. shows the sysmenu. Resizing is still possible though).
  6815. * XplatUIWin32.cs: When setting window styles send request an extra
  6816. WM_NCCALCSIZE when it's a form without title (due to no text and no
  6817. caption), since Win32 seems to calculate it wrong the first time we
  6818. get the message, though the second time things work as they should.
  6819. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  6820. newly reparented window might show up unparented. Update
  6821. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  6822. there's no title text. Fixes #79386.
  6823. 2007-03-27 Mike Kestner <[email protected]>
  6824. * ListBox.cs : don't perform invalidations if the handle hasn't been
  6825. created. [Fixes #80753]
  6826. 2007-03-27 Mike Kestner <[email protected]>
  6827. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  6828. [Fixes #80428]
  6829. 2007-03-26 Everaldo Canuto <[email protected]>
  6830. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  6831. needed to implement Balloon.
  6832. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  6833. * ListViewItem.cs: In the constructors that take
  6834. an array of strings, don't use ListViewSubItemCollection.AddRange
  6835. method to add items, since we need to have a different behaviour (in
  6836. the constructors we add an item for each null string, opposed to
  6837. the behaviour of AddRange, which adds nothing).
  6838. 2007-03-26 Andreia Gaita <[email protected]>
  6839. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  6840. 2007-03-26 Jackson Harper <[email protected]>
  6841. * TextControl.cs: Draw and measure line endings when in non
  6842. multiline mode.
  6843. - When searching the text, count the end of the last line as a
  6844. word boundary.
  6845. 2007-03-26 Jackson Harper <[email protected]>
  6846. * RichTextBox.cs: The selection_start and selection_end don't
  6847. really track the correct tags for the selection. So we'll manually
  6848. compute the correct tag here.
  6849. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  6850. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  6851. and Continuous styles. Fixes #79469.
  6852. 2007-03-26 Jonathan Pobst <[email protected]>
  6853. * ToolStrip.cs: Implement Tooltips.
  6854. * ToolStripItem.cs: Create internal method for determining tooltip.
  6855. 2007-03-26 Jonathan Pobst <[email protected]>
  6856. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  6857. 2007-03-26 Everaldo Canuto <[email protected]>
  6858. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  6859. it prevents a problem thak keeps icon visible after application
  6860. closes on win32.
  6861. 2007-03-26 Everaldo Canuto <[email protected]>
  6862. * NotifyIcon.cs: Balloon properties and methods created.
  6863. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6864. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  6865. 2007-03-25 Jonathan Pobst <[email protected]>
  6866. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  6867. 2007-03-24 Jonathan Pobst <[email protected]>
  6868. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  6869. parameter indicates which aspects were explicit/user-set.
  6870. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  6871. 2007-03-24 Jonathan Pobst <[email protected]>
  6872. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  6873. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  6874. SmallChange, and Value (2.0).
  6875. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  6876. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  6877. * ListView.cs: Always set item_control.Width in LayoutDetails
  6878. if View is Details. Setting it later in CalculateScrollBars
  6879. in a not-so-corner scenario (the sum of columns width is
  6880. not bigger than the ListView width when handle is created, and then
  6881. that sum gets bigger by increasing the width of the columns)
  6882. causes a very weird recursion path (which shouldn't be happening,
  6883. since header_control sets it in CalculateScrollBars too). This bug
  6884. appeared after Chris' fixes for handle created issues, so probably
  6885. it's related to some handle-creation time.
  6886. 2007-03-23 Chris Toshok <[email protected]>
  6887. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  6888. case where there's an add row, just so we don't end up in a case
  6889. where it's not displayed (this happens when the row is partially
  6890. obscured). Fixes bug #79574.
  6891. 2007-03-23 Jackson Harper <[email protected]>
  6892. * TextControl.cs:
  6893. * TextBoxBase.cs:
  6894. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  6895. also added an enum that represents the line ending type.
  6896. 2007-03-23 Andreia Gaita <[email protected]>
  6897. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  6898. messed with in every method call, but only from DownButton,
  6899. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  6900. 2007-03-23 Chris Toshok <[email protected]>
  6901. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  6902. format objects if the format spec is "". Fixes bug #80889.
  6903. 2007-03-22 Miguel de Icaza <[email protected]>
  6904. * ToolStripPanel.cs (Join): added stubs to build PDN3
  6905. * Control.cs (AutoScrollOffset): Add.
  6906. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  6907. property, its only implemented for Win32, on X11 it defaults to
  6908. some hardcoded value.
  6909. * ToolStripItem.cs (AllowDrop): Add property
  6910. 2007-03-22 Mike Kestner <[email protected]>
  6911. * ListView.cs : in FullRowSelect Details mode, only enable box
  6912. selection if the user clicks over the "item" column outside of the
  6913. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  6914. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6915. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  6916. handle is not created yet.
  6917. * Form.cs: Select: Don't call CreateHandle if the handle is already
  6918. created, avoids a stack overflow on Windows when we are recreating
  6919. controls.
  6920. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  6921. they are made visible, and override AfterTopMostControl to keep
  6922. them on top when other controls are brought to front.
  6923. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  6924. or force_*scroll_visible is true (old implementation always shows
  6925. scrollbars when needed, no matter what auto_scroll was set to).
  6926. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  6927. IsHandleCreated check.
  6928. 2007-03-22 Andreia Gaita <[email protected]>
  6929. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  6930. row or col separator.
  6931. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  6932. 2007-03-22 Everaldo Canuto <[email protected]>
  6933. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  6934. 2007-03-22 Everaldo Canuto <[email protected]>
  6935. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  6936. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  6937. every time. Fixes #80410.
  6938. 2007-03-22 Chris Toshok <[email protected]>
  6939. * BindingSource.cs (AddNew): partially implement.
  6940. remove a couple of NotImplementedException's
  6941. to get bug #81148 closed.
  6942. 2007-03-22 Everaldo Canuto <[email protected]>
  6943. [Fixes #80380]
  6944. * Control.cs:
  6945. - UpdateCursor method added to update the screen cursor.
  6946. - GetAvailableCursor method added to return cursor for enabled tree,
  6947. it searches for cursor on control and it's parent's for enabled control.
  6948. - Call UpdateCursor method on setter of Cursor property.
  6949. - On setter of Enabled call UpdateCursor when it is false, we need to
  6950. change cursor to normal (or to this parent cursor) because cursor
  6951. setting theres no effect to disabled controls.
  6952. - Some minor source changes to follow the coding style guidelines.
  6953. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  6954. controls.
  6955. 2007-03-22 Chris Toshok <[email protected]>
  6956. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  6957. generates.
  6958. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6959. * XplatUIX11.cs: Implement default locations for forms.
  6960. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  6961. * Hwnd.cs: Add previous_child_startup_location (to track the current
  6962. startup location for any child forms of the current form) and
  6963. previous_main_startup_location (to track the startup location for
  6964. the current toplevel form).
  6965. 2007-03-21 Jonathan Pobst <[email protected]>
  6966. * Control.cs: Don't trigger a layout if an implicit control is added
  6967. that isn't visible. Also, don't notify the owner when an implicit control
  6968. is added. (Owners shouldn't even know about their implicit controls.)
  6969. 2007-03-21 Jonathan Pobst <[email protected]>
  6970. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  6971. to save some re-layouts.
  6972. 2007-03-21 Everaldo Canuto <[email protected]>
  6973. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  6974. [Fixes #81203]
  6975. 2007-03-21 Jonathan Pobst <[email protected]>
  6976. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  6977. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  6978. 2007-03-21 Mike Kestner <[email protected]>
  6979. * ListView.cs : disable selection update for non-left button clicks
  6980. with mods and over selected items. [Fixes #80524]
  6981. 2007-03-20 Jackson Harper <[email protected]>
  6982. * TextControl.cs:
  6983. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  6984. \r\r\n, \n.
  6985. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6986. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  6987. very probably a more complicated calculation there. Update the
  6988. textbox' ForeColor and BackColor when the ComboBox' colors are
  6989. changed. Change the border change in LayoutComboBox to only affect
  6990. the textbox, not all the calculations there. Seems to fix most of
  6991. #79436.
  6992. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6993. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  6994. modifiers + navigation keys as input keys, enables advanced text
  6995. selection in the combobox (like Shift+Left Arrow for instance).
  6996. ComboTextBox now overrides Focused and returns whatever
  6997. ComboBox.Focused returns, since it really should be focused
  6998. whenever the ComboBox is. Fixes #80795. Also make the border around
  6999. the text box one pixel bigger, as mentioned in #79436.
  7000. 2007-03-20 Jackson Harper <[email protected]>
  7001. * TreeView.cs: Don't offset the images, this was causing some
  7002. artifacts when expanding/collapsing with images that were the
  7003. exact height of the treenode.
  7004. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  7005. * TrackBar.cs: Query the theme for the correct value when the mouse
  7006. moves and the thumb is pressed.
  7007. * Theme.cs: Added TrackBarValueFromMousePosition
  7008. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  7009. implementation was updating the trackbar value when drawing, now
  7010. the drawing methods only draw. Fixes #80900. Refactored the
  7011. calculations out to TrackBarValueFromMousePosition and
  7012. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  7013. according to the mouse position whenever it wants to. Changed the
  7014. light coloured pen when drawing the thumb from ControlLight to
  7015. ControlLightLight, because the ControlLight is the same colour as
  7016. the background so the 3D effect is lost.
  7017. 2007-03-20 Everaldo Canuto <[email protected]>
  7018. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  7019. defined. Fixes #80784.
  7020. 2007-03-20 Marek Habersack <[email protected]>
  7021. * ContextMenuStrip.cs: align with the change introduced in
  7022. revision 74664.
  7023. 2007-03-20 Everaldo Canuto <[email protected]>
  7024. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  7025. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  7026. in SetTopmost.
  7027. 2007-03-19 Chris Toshok <[email protected]>
  7028. * Control.cs (WmPaint): don't make use of the Handle property
  7029. after an event is emitted, as the user could have closed the
  7030. form/destroyed the control. Store the Handle in a local variable
  7031. and make use of that. Fixes bug #80768.
  7032. 2007-03-20 Everaldo Canuto <[email protected]>
  7033. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  7034. behavior in X11 environments.
  7035. 2007-03-20 Everaldo Canuto <[email protected]>
  7036. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  7037. because on setter of topmost we dont call SetTopmost when handle is not
  7038. created.
  7039. 2007-03-20 Jackson Harper <[email protected]>
  7040. * TextControl.cs: Need to use SelectionLength () not
  7041. selection_length, since that var is reset to -1.
  7042. - Draw the caret when we don't have focus.
  7043. * TextBox.cs: The selectall actually doesn't occur until the first
  7044. focus.
  7045. * TextBoxBase.cs: Need to update the caret position after a
  7046. selectall.
  7047. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  7048. * ListView.cs: Enable scrolling when using Tile view.
  7049. 2007-03-20 Everaldo Canuto <[email protected]>
  7050. [Fixes #80902]
  7051. * XplatUIDriver.cs: Abstract SetOwner method created.
  7052. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  7053. must be implemented and was masked as todo.
  7054. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  7055. GWL_HWNDPARENT.
  7056. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  7057. cheking for null owner to remove transient. The SetTopmost will be change
  7058. on a decond step.
  7059. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  7060. SetTopmost. Now owned forms will work properly in win32 and X11.
  7061. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  7062. * MdiWindowManager.cs: Update function name.
  7063. * Form.cs: After closing a form MdiParent is always null.
  7064. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  7065. better what it should do: necessary book-keeping when the form is
  7066. closed, it should not close the form itself.
  7067. 2007-03-19 Andreia Gaita <[email protected]>
  7068. * ListViewItem.cs: Fix back and fore color. The subitems only
  7069. use their own colors if they are set, otherwise use the listview's
  7070. colors. Don't set default colors on constructor for subitem.
  7071. Fixes #79315.
  7072. 2007-03-19 Mike Kestner <[email protected]>
  7073. * ListView.cs : make box selection for Details views with
  7074. FullRowSelect conform to MS behavior when clicking in the "item"
  7075. column and clicking outside the defined columns.
  7076. [Fixes case 5-6 of #80374]
  7077. 2007-03-19 Chris Toshok <[email protected]>
  7078. * ScrollableControl.cs: create the controls from within the ctor,
  7079. but don't actually add them until our handle is created. this
  7080. fixes a NRE possibility jpobst found (if you override OnLayout in
  7081. a subclass, it's called before your ctor). Also, add a
  7082. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  7083. 2007-03-19 Jackson Harper <[email protected]>
  7084. * TextBox.cs: Reduce the amount of invalidation we do.
  7085. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  7086. some of them are true by default on MS.
  7087. - Add some functions to reduce the amount of invalidates we do.
  7088. * TextControl.cs: Less invalidation.
  7089. 2007-03-19 Chris Toshok <[email protected]>
  7090. [ Fixes #81773, and *seems* to fix #81553 as well ]
  7091. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  7092. AccumulateDestroyedHandles. We need to do it *after* we send
  7093. WM_DESTROY, as the user's code can access Control.Handle in
  7094. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  7095. move the WM_DESTROY/zombie handling to before the call to
  7096. XDestroyWindow. For some reason without this ordering
  7097. FormTest.RecreateHandle hangs. This ordering is semantically
  7098. equivalent, however, as XDestroyWindow is async anyway.
  7099. 2007-03-19 Gert Driesen <[email protected]>
  7100. * RichTextBox.cs: Reset backcolor_set after setting default.
  7101. 2007-03-19 Chris Toshok <[email protected]>
  7102. * ScrollableControl.cs: the scroll position should not effect the
  7103. canvas size. commit patch from [email protected], which
  7104. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  7105. 2007-03-19 Chris Toshok <[email protected]>
  7106. * ScrollableControl.cs: clean this up a bit. create the
  7107. scrollbars in the ctor and just show/hide them as needed. Also,
  7108. make hscroll_visible/vscroll_visible internal to Recalculate, and
  7109. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  7110. everywhere else. This seems to fix the scrollbars appearing
  7111. beneath the content for me (i have *no* idea why that is,
  7112. however.)
  7113. 2007-03-19 Jonathan Pobst <[email protected]>
  7114. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  7115. some redundacy for stuff in Anchor and Dock that base will take care of.
  7116. [Fixes #80762]
  7117. 2007-03-19 Mike Kestner <[email protected]>
  7118. * ListView.cs : make box selection for Details views without
  7119. FullRowSelect dependent on the text bounds, not item bounds.
  7120. * ListViewItem.cs : add an internal property to obtain the TextBounds
  7121. in Details view. [Fixes case 1-4 of #80374]
  7122. 2007-03-19 Andreia Gaita <[email protected]>
  7123. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  7124. we're < 2.0. #78448 && #80316
  7125. 2007-03-19 Jonathan Pobst <[email protected]>
  7126. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  7127. have the same style available as the previously selected one. Also,
  7128. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  7129. 2007-03-19 Jackson Harper <[email protected]>
  7130. * TextControl.cs: Add an alignment property that all new lines
  7131. will be given.
  7132. - Make sure to use the align shift when calculating the line's X
  7133. position.
  7134. * TextBox.cs: Set the alignment on the document as well as on all
  7135. the document lines.
  7136. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  7137. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  7138. throw if setting the parent of an mdichild that already has an
  7139. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  7140. AssemblyProductAttribute in the assembly, use the type's namespace (as
  7141. MS seems to do). CreateControl: don't create the handle if the control
  7142. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  7143. create handle if the control is not a form. Change FocusInternal to
  7144. virtual so that it can be overriden by Form.
  7145. * TextBox.cs: Update call to FocusInternal.
  7146. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  7147. form is not a toplevel form when it's a mdi child, so update is_toplevel
  7148. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  7149. hasn't been created. Show (IWin32Window): Don't allow this overload for
  7150. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  7151. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  7152. parent isn't visible yet, save the visibility and restore it when the
  7153. parent is made visible.
  7154. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  7155. methods, since the visibility of the scrollbars can be changed from
  7156. several places, not only from AutoScroll.
  7157. [Fixes #81179]
  7158. 2007-03-19 Jackson Harper <[email protected]>
  7159. * RichTextBox.cs: Enable shortcuts by default.
  7160. * TextBoxBase.cs: Add conditional shortcuts.
  7161. 2007-03-19 Everaldo Canuto <[email protected]>
  7162. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  7163. 2007-03-19 Chris Toshok <[email protected]>
  7164. [ Fixes bug #80604]
  7165. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  7166. swallow the message we're waiting on, instead of delivering it, as
  7167. this is only used for the WM_SHOWWINDOW raised from
  7168. MapWindow/UnmapWindow, and the message needs to be generated
  7169. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  7170. before doing the Map/Unmap. Also make sure that the Hwnd is still
  7171. alive after the message has been handled.
  7172. *before* the window is shown.
  7173. * Control.cs (CreateControl): guard a few more things inside the
  7174. if (!is_created) block, as we might end up being called again -
  7175. yay .net.
  7176. (WmShowWindow): call CreateControl if we're showing the control.
  7177. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  7178. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  7179. controls without a handle if they have any parent with a handle. In
  7180. Dispose add a check whether the handle is created or not before
  7181. calling BeginInvoke, this removes the need of the extra disposing
  7182. parameter (which was bogus anyway since it didn't prevent the
  7183. invoke from happening, it only skipped the check for an existing
  7184. handle, meaning that the invoke would call on an inexistent
  7185. handle).
  7186. 2007-03-19 Everaldo Canuto <[email protected]>
  7187. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  7188. appears in taskbar.
  7189. 2007-03-18 Everaldo Canuto <[email protected]>
  7190. * MessageBox.cs:
  7191. - Fixed a problem that dont show help button for messages with 3 buttons.
  7192. - Refactory button size and position calculations, now dont use fixed
  7193. values, also fixed button sizes (#80043) and form's border space.
  7194. - AddButton method created, now all other AddButton methods call this one.
  7195. - Some other source code cosmetic changes.
  7196. 2007-03-18 Jackson Harper <[email protected]>
  7197. * RichTextBox.cs: Don't do this all fonts must match check if
  7198. there is only one char selected.
  7199. 2007-03-18 Jackson Harper <[email protected]>
  7200. * TreeView.cs: ScrollWindow works properly now, so we don't need
  7201. to screw around with the scroll area. This fixes some artifacts
  7202. when expanding and collapsing.
  7203. 2007-03-18 Jackson Harper <[email protected]>
  7204. * TextBoxBase.cs: Allow updating the selection position when the
  7205. cursor is outside the textarea, but we have a capture.
  7206. * TextControl.cs: A special case for when the cursor is outside
  7207. the bounds of the TB.
  7208. 2007-03-18 Jackson Harper <[email protected]>
  7209. * TextBoxBase.cs: Remove image pasting code for now. There is no
  7210. way to get an image on the clipboard right now anyways.
  7211. * TextControl.cs:
  7212. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  7213. 2007-03-18 Everaldo Canuto <[email protected]>
  7214. * MessageBox.cs:
  7215. - Set window properties in constructor intead of on CreateParams.
  7216. - Remove topmost from Window ExStyle.
  7217. - Set ShowInTaskbar to false.
  7218. - Set form border to FixedDialog.
  7219. - Some cosmetic changes and remove unneeded comments.
  7220. - It fixes itens 2,3 and 4 of bug #80043.
  7221. 2007-03-18 Gert Driesen <[email protected]>
  7222. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  7223. none was explicitly set. Fixes part of bug #79949.
  7224. 2007-03-16 George Giolfan <[email protected]>
  7225. * ToolStripComboBox.cs: Add AutoComplete*.
  7226. 2007-03-16 George Giolfan <[email protected]>
  7227. * ToolStripComboBox.cs: Add FlatStyle.
  7228. 2007-03-16 Jonathan Pobst <[email protected]>
  7229. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  7230. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  7231. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  7232. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  7233. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  7234. DataGridColumnStyle.cs: Remove warnings.
  7235. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  7236. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  7237. it.
  7238. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  7239. visibility of mdi child forms. FormSizeChangedHandler: update the
  7240. maximized size if size has changed while maximized.
  7241. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  7242. creating the handle.
  7243. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  7244. avoid creating the handle if not created.
  7245. * XplatUI.cs: Update debug output.
  7246. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  7247. 2007-03-16 Jonathan Pobst <[email protected]>
  7248. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  7249. ProcessCmdKey().
  7250. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  7251. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  7252. Implement keyboard shortcuts.
  7253. 2007-03-15 Everaldo Canuto <[email protected]>
  7254. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  7255. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  7256. ColorDialog and all derived classes.
  7257. 2007-03-15 Everaldo Canuto <[email protected]>
  7258. [ Fixes bug #79828 ]
  7259. * ToolBar.cs:
  7260. - Rename ToolBarButtonInfor to ToolBarItem.
  7261. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  7262. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  7263. collection to be able add same button more than one time on a toolbar.
  7264. - Refactory all properties and methods to use ToolBarItem.
  7265. * ToolBarButton.cs:
  7266. - Remove all propeties and methods that is now in ToolBarItem.
  7267. - Rectangle propery now gets the rectangle from first ToolBarItem to
  7268. mimic win32 behavior.
  7269. - Size calculation and layout methods also removed.
  7270. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  7271. ToolBarItem instead of ToolBarButton to right drawing buttons when
  7272. same button/separator was added more than one time to ToolBar.
  7273. * ThemeNice.cs: Same as above.
  7274. 2007-03-15 Andreia Gaita <[email protected]>
  7275. * XplatUIX11.cs: Fire extra MouseMove events right after
  7276. MouseDown and MouseUp, emulating win32's <censored> behaviour
  7277. for apps that rely on it.
  7278. 2007-03-15 Jackson Harper <[email protected]>
  7279. * TextControl.cs:
  7280. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  7281. it is drawn on the controls client window and there is no NC
  7282. area.
  7283. - Set the background color to gray on 2.0 when we are readonly.
  7284. 2007-03-15 Chris Toshok <[email protected]>
  7285. [ Fixes bug #81144 ]
  7286. * XplatUIX11.cs: implement VirtualScreen independently of
  7287. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  7288. property.
  7289. 2007-03-15 Chris Toshok <[email protected]>
  7290. * Hwnd.cs: add an internal field for the cached_window_state.
  7291. * XplatUIX11.cs: cache the window state, invalidating the cache
  7292. (and thus re-querying the X server) only when we see an update to
  7293. the _NET_WM_STATE property.
  7294. 2007-03-15 Chris Toshok <[email protected]>
  7295. * BindingSource.cs: get a lot of the unit tests working.
  7296. 2007-03-15 Jonathan Pobst <[email protected]>
  7297. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  7298. 0 instead of just bounds > 0. [Fixes bug #80912]
  7299. 2007-03-15 Jonathan Pobst <[email protected]>
  7300. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  7301. and methods.
  7302. 2007-03-15 Ivan N. Zlatev <[email protected]>
  7303. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  7304. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  7305. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  7306. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  7307. 2007-03-15 Chris Toshok <[email protected]>
  7308. [ Fixes #81101 ]
  7309. * Control.cs: add Ivan's fix for 81101, with a slight modification
  7310. - you can set control.Target to null.
  7311. 2007-03-14 Jonathan Pobst <[email protected]>
  7312. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  7313. HideDropDown, use Hide instead to prevent an NRE.
  7314. [Fixes bug #81147]
  7315. 2007-03-14 Jackson Harper <[email protected]>
  7316. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  7317. to calculate the document before the handle is created, in some
  7318. cases. (Actually just one case).
  7319. 2007-03-14 Jackson Harper <[email protected]>
  7320. * TextBoxBase.cs: Need to display the caret after letting the base
  7321. wndproc handle the focus methods, because the caret display
  7322. methods check the focus state.
  7323. - Try to display the caret after updating it's position with SelectWord.
  7324. - Don't need to do an immediate update on this recalc, since there
  7325. will be an invalidate anyways.
  7326. 2007-03-14 Jackson Harper <[email protected]>
  7327. * TreeView.cs: Some workarounds so that we can match event order a
  7328. little better.
  7329. 2007-03-14 Gert Driesen <[email protected]>
  7330. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  7331. #80803. Avoid NullReferenceException when Control does not have
  7332. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  7333. event a single time. Only draw error icon when control is created and
  7334. visible. Fixes failing unit tests.
  7335. 2007-03-14 Andreia Gaita <[email protected]>
  7336. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  7337. Selecting events. Fire Leave and Enter events when changing tabs.
  7338. 2007-03-14 George Giolfan <[email protected]>
  7339. * TreeView.cs: Add TreeViewNodeSorter.
  7340. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  7341. 2007-03-14 Chris Toshok <[email protected]>
  7342. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  7343. removed earlier and I had him add back it. It turns out metacity
  7344. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  7345. just doesn't redraw the window titlebar until you resize the
  7346. window. This also means we aren't recreating the entire window
  7347. hierarchy on X when you change this property. And it looks better
  7348. on windows, too.
  7349. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  7350. * ListViewItem.cs:
  7351. * ListView.cs: Collecting selection information
  7352. is now done in SelectedIndexCollection rather than in
  7353. SelectedListViewItemCollection. This is done so we can
  7354. have the selection information code in one single place
  7355. (virtual mode selection information entirely depends on
  7356. SelectedIndexCollection).
  7357. 2007-03-13 Miguel de Icaza <[email protected]>
  7358. * ErrorProvider.cs: Add stubs for ISupportInitialize
  7359. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  7360. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  7361. in the right order with the right values, from the Checked property,
  7362. just as MS does (instead of triggering them from ListView).
  7363. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  7364. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  7365. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  7366. the correct handler in OnItemCheck method (ItemCheckEventHandler
  7367. instead of EventHandler). This used to throw an InvalidCastException.
  7368. 2007-03-13 Jackson Harper <[email protected]>
  7369. * TextBoxBase.cs: Calculate the document before the handle is
  7370. created, so there isn't an extra invalidate called.
  7371. 2007-03-13 Jonathan Pobst <[email protected]>
  7372. * Form.cs: Don't set owner in ShowDialog until we are sure
  7373. that we aren't going to throw an exception. [Fixes bug #80773]
  7374. 2007-03-12 George Giolfan <[email protected]>
  7375. * TreeView.cs: Make it compile.
  7376. 2007-03-12 Jonathan Pobst <[email protected]>
  7377. * Control.cs: Another place we don't call SizeFromClientSize.
  7378. * Form.cs: Another place we don't call SizeFromClientSize.
  7379. [Fixes bug #81125]
  7380. 2007-03-12 Jackson Harper <[email protected]>
  7381. * TreeView.cs: Basically emulating some strangness here with
  7382. exanding nodes and setting node positions when windows aren't
  7383. created.
  7384. - Also attempting to walk the node tree less than previously, and
  7385. just use visible order calculations for determining offsets.
  7386. - oops made scrolling backwards.
  7387. * TreeNode.cs: We need to start nodes with a zero visible order,
  7388. because the order calcs are based on the first nodes order.
  7389. 2007-03-12 Jonathan Pobst <[email protected]>
  7390. * Form.cs: Don't exit the program if RecreateHandle is called on
  7391. the main form.
  7392. 2007-03-12 Chris Toshok <[email protected]>
  7393. * XEventQueue.cs: remove the use of PostQuitState.
  7394. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  7395. WM_QUIT message in GetMessage, return false (and if we're in the
  7396. nested WaitForHwndMessage, repost the WM_QUIT message).
  7397. 2007-03-12 Jonathan Pobst <[email protected]>
  7398. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  7399. or the MaximizeBox properties. [Part of bug #80640]
  7400. 2007-03-12 Everaldo Canuto <[email protected]>
  7401. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  7402. no links.
  7403. 2007-03-12 Jonathan Pobst <[email protected]>
  7404. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  7405. instead of visible.
  7406. 2007-03-12 Gert Driesen <[email protected]>
  7407. * FileDialog.cs: Use text of File name combobox to determine what
  7408. files the user selected. Added tokenizer to parse the file names.
  7409. Fixes bug #81123.
  7410. 2007-03-12 Jonathan Pobst <[email protected]>
  7411. * Control.cs: We can't call SizeFromClientSize in the constructor,
  7412. but we still need to do the same work, so make an internal version.
  7413. [Fixes bug #80621]
  7414. 2007-03-12 Jackson Harper <[email protected]>
  7415. * TreeView.cs:
  7416. * TreeNode.cs:
  7417. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  7418. IsExpanded.
  7419. 2007-03-12 Jackson Harper <[email protected]>
  7420. * TextBoxBase.cs: Now that the handles are being created a little
  7421. later, we need to make sure that the document is recalculated when
  7422. the handle is created.
  7423. 2007-03-11 Everaldo Canuto <[email protected]>
  7424. * Theme.cs: GetLinkFont abstract method added.
  7425. * LinkLabel.cs:
  7426. - Remove CalcTrimRectangle, no longer needed.
  7427. - Factor also remove, position issues must be fixed in libgdiplus.
  7428. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  7429. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  7430. care about font used to draw links.
  7431. - Set TabStop to true when control is "Selectable", control is selectable
  7432. when have one or more links. Fixes #80501 (test case is also added).
  7433. - Set the LinkArea values after links change, LinkArea values must be
  7434. based in first link position and size, a test case was created.
  7435. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  7436. the attribute must be true LinkArea.Length > 0. The same was applied to
  7437. TabStop.
  7438. * ThemeWin32Classic.cs:
  7439. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  7440. in draw method.
  7441. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  7442. color change.
  7443. - Draw focus rectangle for every parts focused, including parts that
  7444. is on another line, its because regions returns various rectangles
  7445. and not only one. Needed to mimic W32 look.
  7446. - Uses Graphics.Clip to delimite region painted, it mean that now
  7447. complete text is passed to DrawString, with this we solve layout
  7448. issues without create another text renderer.
  7449. - Uses Region.Intersect to fix some flickers problems, now only needed
  7450. parts will redrawed.
  7451. - This changes fixes #79614 and some other unreported issues, on Linux
  7452. some layout problems still remain, the problem is under
  7453. MeasureCharacterRanges but it is an libgdiplus bug.
  7454. 2007-03-10 Gert Driesen <[email protected]>
  7455. * TextBox.cs: Set for foreground color.
  7456. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  7457. this is already done in Control.
  7458. 2007-03-10 Jackson Harper <[email protected]>
  7459. * TextBox.cs: Set the background color, but reset the
  7460. backcolor_set flag which is just for the user setting the
  7461. background color.
  7462. 2007-03-09 Chris Toshok <[email protected]>
  7463. * Control.cs: really remove the call to XplatUI.SetVisible from
  7464. CreateHandle(), like I said I did when I merged the branch.
  7465. * BindingSource.cs: implement some more of this stuff.
  7466. 2007-03-09 Jackson Harper <[email protected]>
  7467. * TextBox.cs: Don't explicitly set our background colors.
  7468. * TextControl.cs:
  7469. * TextBoxBase.cs: Draw readonly text.
  7470. - Need to invalidate when backcolor or readonly are changed.
  7471. 2007-03-09 Jackson Harper <[email protected]>
  7472. * TextBoxBase.cs: Don't set the forecolor until the handle is
  7473. created.
  7474. - Do not raise OnPaint, and removed some old debug code.
  7475. 2007-03-09 George Giolfan <[email protected]>
  7476. * ScrollableControl.cs: Fix mouse wheel scrolling.
  7477. 2007-03-09 Jonathan Pobst <[email protected]>
  7478. * Control.cs: Wire up MouseDoubleClick event.
  7479. 2007-03-09 Jonathan Pobst <[email protected]>
  7480. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  7481. top or bottom.
  7482. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  7483. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  7484. item is added. This logic was moved to ToolStrip.OnItemAdded.
  7485. [Fixes bug #81090]
  7486. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  7487. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  7488. 2007-03-08 Jackson Harper <[email protected]>
  7489. * TreeView.cs: Show the correct image for selected node (this used
  7490. to work, not sure how the code got deleted). Also implemented 2.0 feature
  7491. SelectedImageKey.
  7492. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  7493. * ListView.cs:
  7494. * ListViewItem.cs: Cache index in items when retrieving them
  7495. in VirtualMode.
  7496. 2007-03-08 Jonathan Pobst <[email protected]>
  7497. * ToolStripItem.cs: Don't return the explicit_size if we are using
  7498. AutoSize. Fixes invalidation issue when user has explicitly set a
  7499. size and has AutoSize = true.
  7500. 2007-03-08 Jonathan Pobst <[email protected]>
  7501. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  7502. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7503. * DataGridView.cs: Remove event handler from DataView when a
  7504. DataTable is used as DataSource.
  7505. 2007-03-08 Jonathan Pobst <[email protected]>
  7506. * Control.cs: Create internal setter for client_size to allow it to be
  7507. set without triggering resizing code.
  7508. * Form.cs: Calculate client_size in constructor, only change client_size
  7509. in FormBorderStyle property if Handle has been created.
  7510. [Fixes #80574, #80791]
  7511. 2007-03-08 George Giolfan <[email protected]>
  7512. * SystemInformation.cs: Add TerminalServerSession.
  7513. 2007-03-07 Jonathan Pobst <[email protected]>
  7514. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  7515. TreeView code.
  7516. 2007-03-07 Jonathan Pobst <[email protected]>
  7517. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  7518. Handle before we were supposed to. Now checks ActivateOnShow property
  7519. in Control.
  7520. * Control.cs: Add internal ActivateOnShow property.
  7521. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  7522. for ActivateOnShow.
  7523. * Hwnd.cs Remove no longer needed no_activate field.
  7524. 2007-03-07 Jackson Harper <[email protected]>
  7525. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  7526. 2.0 properties
  7527. * DrawTreeNodeEventHandler.cs: Add
  7528. * DrawTreeNodeEventArgs.cs: Correct default value.
  7529. 2007-03-07 Chris Toshok <[email protected]>
  7530. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  7531. to be called before NativeWindow.WndProc. Put the HwndCreating
  7532. magic there to hook up our Hwnd's to handles.
  7533. 2007-03-07 Gert Driesen <[email protected]>
  7534. * DataGridView.cs: Comment out debug code.
  7535. 2007-03-07 Chris Toshok <[email protected]>
  7536. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  7537. to make the rest of the world happy]
  7538. * Control.cs (CreateHandle): there's no need to call
  7539. XplatUI.SetVisible here, it's effectively done by
  7540. XplatUI.CreateWindow on X now, and always was on windows.
  7541. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  7542. shortcircuit out of the loop if we have a message loop running on
  7543. this thread.
  7544. [Changelog from merge]
  7545. 2007-03-05 Chris Toshok <[email protected]>
  7546. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  7547. causes handle creation.
  7548. 2007-02-28 Chris Toshok <[email protected]>
  7549. * ApplicationContext.cs: Add a flag to make sure we only raise the
  7550. ThreadExit event once (ExitThreadCore can be indirectly called
  7551. from a few places.) I don't like the additional flag, but it
  7552. makes the event ordering/count correct.
  7553. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  7554. without locking the collection. An enumerator doesn't give us any
  7555. protection from modification anyway. Lock the thread hash and
  7556. replace the complicated enumerator loop with a foreach.
  7557. (Application.CloseForms): make internal so it can be called from
  7558. ApplicationContext. This should probably be moved to MWFThread.
  7559. (Application.ExitThread): don't call MWFThread.Current.Exit()
  7560. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  7561. when the runloop exits (in response to WM_QUIT.)
  7562. (Application.RunLoop): add a comment (and check) for
  7563. context.MainForm being null after setting context.MainForm.Visible
  7564. = true. This is because you're perfectly free to dispose of a
  7565. form in VisibilityChanged. Chalk this up to another case where we
  7566. need to synchronously generate WM_ACTIVATE from Control.Show.
  7567. Also, add handling for WM_QUIT here so we'll exit the loop.
  7568. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  7569. fact that we don't wait if we're only unmapping the whole_window
  7570. makes me a bit nervous, but it doesn't seem to cause any problems
  7571. yet.
  7572. also, add a comment about the stupid, broken and wrong resetting
  7573. of PostQuitState to false in GetMessage().
  7574. In PostQuitMessage, we need to add a WM_QUIT message to the
  7575. thread's queue. We use the FosterParent to get the right
  7576. handle/hwnd/queue.
  7577. Lastly, in SetVisible, we need to unmap both windows, since the
  7578. waiting only happens when we're unmapping the client window. So
  7579. now, the *only* time we unmap just the whole_window is in the hack
  7580. for resizing a control to 0,0.
  7581. 2007-02-21 Chris Toshok <[email protected]>
  7582. * Application.cs (CloseForms): rewrite this so that we don't
  7583. modify the list while we're traversing it.
  7584. 2007-02-20 Chris Toshok <[email protected]>
  7585. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  7586. of OnHandleCreated.
  7587. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  7588. handle is created. otherwise we'll create it here.
  7589. (VerticalScrollEvent): same here.
  7590. * Application.cs (CloseForms): call Form.Dispose, don't post
  7591. WM_CLOSE_INTERNAL.
  7592. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  7593. here. Application should Dispose() of the Form's.
  7594. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  7595. WM_DESTROY as well.
  7596. (MapWindow,UnmapWindow): only actually do the waiting for
  7597. SHOWWINDOW if the control we're dealing with is a Form.
  7598. (CreateWindow): if the control isn't a form, SendMessage
  7599. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  7600. * Control.cs (SetVisibleCore): always use is_visible here, not
  7601. value. If we use value, we can end up re-setting something
  7602. visible if, for instance, you do Control.Hide() in a delegate
  7603. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  7604. 2007-02-20 Chris Toshok <[email protected]>
  7605. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  7606. the message we need. PeekMessage returning false should not be a
  7607. condition under which we exit the loop.
  7608. 2007-02-15 Chris Toshok <[email protected]>
  7609. * Control.cs (Refresh): only refresh if we've got a handle and are
  7610. visible.
  7611. (CreateAccessibilityInstance): CreateControl() here.
  7612. (UpdateChildrenZOrder): complicate the code loop even more by
  7613. taking into account controls that haven't had their handle
  7614. created, and those that aren't visible. But on the flip side,
  7615. simplify the code by splitting it into two loops. one which
  7616. builds up the list of child controls we're interested in, and the
  7617. other that sets the z order of those children.
  7618. 2007-02-14 Chris Toshok <[email protected]>
  7619. * Control.cs: Control.AccessibilityObject causes the control to be
  7620. created, not just the handle.
  7621. 2007-02-14 Chris Toshok <[email protected]>
  7622. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  7623. problem on X where a window might have its handle created (and be
  7624. visible) while the window is unmapped. calling XConfigureWindow
  7625. on an unmapped window is bad, and generates X errors.
  7626. 2007-02-13 Chris Toshok <[email protected]>
  7627. * Control.cs (CreateHandle): don't loop over our children setting
  7628. their parent here. do it when in WndProc when we're shown.
  7629. (UpdateChildrenZOrder): make this internal so we can call it from
  7630. ScrollableControl.
  7631. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  7632. creating its handle. Also, remove the calls to PerformLayout from
  7633. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  7634. OnVisibleChanged only seems to be called directly here for the
  7635. toplevel control. It's propagated down the window hierarchy by
  7636. calls to child.OnParentVisibleChanged.
  7637. (OnVisibleChanged): don't do layout here - it's done (oddly
  7638. enough, according to a glance at stack traces on ms.net..) in
  7639. ScrollableControl.
  7640. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  7641. z order of our children before calling PerformLayout.
  7642. 2007-02-12 Chris Toshok <[email protected]>
  7643. [big change, fixes #80020]
  7644. * AccessibleObject.cs: we need to make owner internal again to fix
  7645. some of ControlAccessibleObject.
  7646. * Control.cs: lots of changes here. add support for WM_CREATE,
  7647. for which we generate OnHandleCreated. Remove the OnHandleCreated
  7648. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  7649. we create child controls. leave the MonoTODO's for the
  7650. accessibility calls, but fix the exceptions so the tests pass.
  7651. Add the InvalidOperationExceptions to Invoke methods, and remove a
  7652. couple of InvokeInternal methods we aren't using.
  7653. Also, add a couple of CreateHandle calls in places where we know
  7654. the handles are being created but our code doesn't reference
  7655. .Handle.
  7656. Make SetVisibleCore call OnVisibleChange if the handle isn't
  7657. created. If the handle is created, we rely on XplatUI.SetVisible
  7658. generating the event synchronously.
  7659. Lastly, make sure we don't use this.Handle inside CreateHandle,
  7660. because we can call back into client (and that code can dispose of
  7661. the control).
  7662. * XplatUIStructs.cs: misc/cleanup.
  7663. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  7664. although we don't populate the wParam properly.
  7665. (CreateWindow): generate WM_CREATE.
  7666. (MapWindow,UnmapWindow): make these calls synchronous, at great
  7667. performance expense (particularly in the unmap case), to match
  7668. win32 behavior.
  7669. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  7670. to call it.
  7671. (set_MdiParent): don't recreate the handle unless it's been
  7672. created already.
  7673. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  7674. it's created.
  7675. * NativeWindow.cs: this is probably the weirdest part of the
  7676. patch. We need a way to link up the window being created to the
  7677. WM_CREATE message. Since we can only be creating one window at a
  7678. time on a given thread, we keep track of a per-thread reference so
  7679. we can dispatch it properly. We also need to keep track of the
  7680. Hwnd currently being created so that the win32 backend doesn't
  7681. have problems.
  7682. * XplatUIWin32.cs: a similar change to the one we made in
  7683. NativeWindow.cs.
  7684. 2007-03-07 Jonathan Pobst <[email protected]>
  7685. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  7686. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  7687. to draw the menu shortcut string.
  7688. 2007-03-07 Jackson Harper <[email protected]>
  7689. * TreeNode.cs: Add the 2.0 collapse method.
  7690. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7691. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  7692. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7693. * DataGridView.cs: Change DataSource will clear column and row
  7694. lists. Call Invalidate() to reflect DataSource change.
  7695. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7696. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  7697. and a new row is added to it.
  7698. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7699. * DataGridView.cs: Add columns when DataSource is en empty list but
  7700. is a System.Data.DataView (from a System.Data.DataTable).
  7701. 2007-03-06 Andreia Gaita <[email protected]>
  7702. * Label.cs: Implement AutoEllipsis (2.0)
  7703. 2007-03-06 Jackson Harper <[email protected]>
  7704. * TreeView.cs: Implement 2.0 TopNode setter property.
  7705. - Use a local var instead of the skipped_nodes field for computing
  7706. how many nodes to skip. Otherwise we won't scroll because the
  7707. valuechanged handler checks if skipped_nodes is equal to the new
  7708. value.
  7709. - Implement 2.0 Sort method.
  7710. - Add useless 2.0 DoubleBuffer property
  7711. - Implement 2.0 LineColors property. Lets you change the color of
  7712. the lines in the tree. Terribly useful for creating non cohesive
  7713. desktops.
  7714. - Implement 2.0 image key feature.
  7715. 2007-03-06 Jackson Harper <[email protected]>
  7716. * TreeView.cs: We can't get the bounds of the nodes before raising
  7717. the AfterSelect event, because that event could change the node's
  7718. bounds (scrolling, font change, etc).
  7719. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  7720. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  7721. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  7722. update window styles. In CreateParams us VisibleInternal instead of
  7723. VIsible to get the actual visible flag set for this form.
  7724. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  7725. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  7726. handle the case when the form is already maximized, in which case
  7727. it should be restored. Fixes #81043.
  7728. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  7729. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  7730. 2007-03-05 Jackson Harper <[email protected]>
  7731. * TreeViewHitTestInfo.cs: implement.
  7732. 2007-03-05 Jackson Harper <[email protected]>
  7733. * InternalWindowManager.cs: class status fix.
  7734. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  7735. * InternalWindowManager.cs: All windows that have a parent
  7736. are confined to their parent when they're being moved.
  7737. Fixes #80822.
  7738. 2007-03-04 Gert Driesen <[email protected]>
  7739. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  7740. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  7741. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7742. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  7743. buttons invisible before deciding which ones should be visible
  7744. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  7745. an unused variable.
  7746. * InternalWindowManager.cs: Remove warning.
  7747. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  7748. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  7749. to throw an InvalidOperationException is virtual mode is being used.
  7750. 2007-03-02 Jonathan Pobst <[email protected]>
  7751. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  7752. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  7753. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  7754. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  7755. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  7756. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  7757. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7758. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  7759. driver.KeyboardDelay from XplatUI.KeyboardDelay
  7760. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  7761. (patch by Sergey Volk)
  7762. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7763. * ToolWindowManager.cs: Added, contains logic for
  7764. tool windows.
  7765. * CreateParams.cs: Add a few helper methods and an
  7766. internal variable to know which control the CreateParams belongs
  7767. to.
  7768. * Control.cs: Call Form.ChangingParent when the
  7769. parent is about to be changed.
  7770. * XplatUIX11.cs: DeriveStyles (): Set
  7771. caption_height for all windows that have captions and are children.
  7772. Update to use ToolWindowManager instead of InternalWindowManager
  7773. for ToolWindows.
  7774. * XplatUIWin32.cs: Set fake window styles for all
  7775. windows that have window managers.
  7776. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  7777. now duplicated for mdi windows when they are
  7778. maximized, first for the buttons the window itself has, then for
  7779. the buttons that appear in the menu bar. Makes things a little
  7780. easier). Updated UpdateWindowDecorations, SetWindowState and the
  7781. mouse eventhandlers accordingly.
  7782. * Form.cs: Add ChangingParent (), contains the
  7783. logic of what should happen when the parent changes. In MdiParent
  7784. don't set things that ChangingParent () is doing. When handling
  7785. WM_CLOSE, we can close the form if there are any other modal forms
  7786. and the current form is a descendent of the modal form.
  7787. * InternalWindowManager.cs: A lot of refactoring,
  7788. the title buttons are now extracted to a separate container class
  7789. that takes care of all button code (clicks, tooltips, etc). Moved
  7790. Iconic|Maximized|Normal Bounds properties to this class from
  7791. MdiWindowManager, so that the window state logic can succeed for
  7792. other than mdi wm's. Implemented general window state change logic.
  7793. Moved CreateButtons to ThemeWin32Classic, since the theme might
  7794. override which buttons are available when as well as the exact
  7795. location.
  7796. * FormWindowManager.cs: Added, contains logic for
  7797. normal forms.
  7798. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  7799. which buttons go where (and if they are at all visible).
  7800. Removed special handling of maximized windows, since they aren't special.
  7801. In DrawManagedWindowDecorations don't try to draw the text if it is
  7802. empty.
  7803. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  7804. use whatever the wm gives us.
  7805. 2007-03-02 Jonathan Pobst <[email protected]>
  7806. * ButtonBase.cs: Add 2.0 properties.
  7807. * Button.cs: Override Draw for 2.0.
  7808. * Control.cs: Add Entered and Selected properties.
  7809. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  7810. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  7811. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  7812. buttons.
  7813. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  7814. 2007-03-01 Jonathan Pobst <[email protected]>
  7815. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  7816. 2007-03-01 Jonathan Pobst <[email protected]>
  7817. * XplatUIWin32.cs: Register a new class with Windows each time we get
  7818. a new ClassStyle. [Fixes bugs #79432, #80817]
  7819. * Controls.cs: Set the correct ClassStyle in CreateParams.
  7820. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  7821. 2007-03-01 Gert Driesen <[email protected]>
  7822. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  7823. ColumnReordered event must not be signaled when modifying DisplayIndex
  7824. of a ColumnHeader. Added internal ReorderColumns method which takes
  7825. care of drawing, and updating the internal DisplayIndex of the
  7826. ColumnHeader. Added AddColumn method which is invoked from
  7827. ColumnHeaderCollection when adding or inserting columns, and which
  7828. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  7829. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  7830. Recalculated dispay indices after removing a ColumnHeader.
  7831. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  7832. match MS. Allows last display index to be returned after ListView
  7833. is disposed. Update actual location of ColumnHeader when DisplayIndex
  7834. is modified.
  7835. 2007-03-01 Everaldo Canuto <[email protected]>
  7836. * LinkLabel.cs: Improve CalcTrimRectangle.
  7837. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  7838. 2007-02-28 Everaldo Canuto <[email protected]>
  7839. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  7840. get rectangle as a result value.
  7841. 2007-02-28 Everaldo Canuto <[email protected]>
  7842. * LinkLabel.cs: Theres some diferences between rectangle return from
  7843. MeasureCharacterRanges and the area used for DrawString to fix this
  7844. CalcMeasurementFactor method was created, it calcules the diferences
  7845. to be use later to adjust rectangle in draw operations. Fixes #80473.
  7846. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  7847. to adjust draw rectangle.
  7848. 2007-02-27 Everaldo Canuto <[email protected]>
  7849. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  7850. text and some other changes to reduce and optimize source code.
  7851. 2007-02-27 Jonathan Pobst <[email protected]>
  7852. * RadioButton.cs: Implement 2.0 event.
  7853. * RelatedImageListAttribute.cs: Implement new class.
  7854. 2007-02-27 Everaldo Canuto <[email protected]>
  7855. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  7856. 2007-02-27 Jonathan Pobst <[email protected]>
  7857. * CheckBox.cs: Implement 2.0 functionality.
  7858. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  7859. * ListView.cs: Refactor Add and AddRange methods of
  7860. ListViewItemCollection, to not update the ListView
  7861. everytime an item is added in AddRange. Also move the update
  7862. code to a new CollectionChanged method, and call it
  7863. from other methods that need it as well (this should also fix some
  7864. bugs when Sorting is used).
  7865. 2007-02-27 Jackson Harper <[email protected]>
  7866. * TextControl.cs: Try to never let the caret stay in a non-text
  7867. tag.
  7868. * TextBoxBase.cs: Update the caret.
  7869. 2007-02-26 Jonathan Pobst <[email protected]>
  7870. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  7871. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  7872. delete POINT structure, duplicate of one in XplatUIStructs.
  7873. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  7874. 2007-02-26 Gert Driesen <[email protected]>
  7875. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  7876. edit box since otherwise the Label would immediately be set (even if
  7877. the user did not modify the label). In OnKeyDown set Handled to true
  7878. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  7879. columns that are to be removed. In ListViewItemCollection unlink items
  7880. that are to be removed.
  7881. 2007-02-24 Jonathan Pobst <[email protected]>
  7882. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  7883. it when we are done. [Fixes bug #80949]
  7884. 2007-02-23 Jonathan Pobst <[email protected]>
  7885. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  7886. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7887. * ListView.cs: I forgot to commit the changes for ListView
  7888. in my previous patch.
  7889. 2007-02-23 Jonathan Pobst <[email protected]>
  7890. * Clipboard.cs: Partially implement an overload of SetDataObject.
  7891. * Form.cs: Implement ShowWithoutActivation.
  7892. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  7893. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7894. This is a first set of changes to make the Virtual mode works,
  7895. by avoiding the retrieval of ListViewItem instances until
  7896. draw time.
  7897. * ListView.cs: Store item position in the ListView instead of the
  7898. ListViewItem, this way we don't request the Bounds property of
  7899. ListViewItem inside the ListView calculations, as well as cache the item
  7900. size in item_size field. Store indexes instead of ListViewItem
  7901. instances in the matrix used by icon view. Add a ItemMatrixLocation
  7902. struct to hold the row and col info of the matrix info.
  7903. * ListViewItem.cs: Don't store the location anymore, and only cache
  7904. the rectangles for GetBounds. Use the ListView.GetItemLocation
  7905. method to retrieve the actual location.
  7906. 2007-02-23 Jonathan Pobst <[email protected]>
  7907. * TextRenderer.cs: Add clipping support, thanks to George.
  7908. [Fixes bug #80949]
  7909. 2007-02-23 Gert Driesen <[email protected]>
  7910. * ListViewItem.cs: Cancel label edit when item is removed from
  7911. ListView.
  7912. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  7913. event before the edit textbox is displayed. Added CancelEdit method
  7914. which is used end to editing while ignoring the value set by the
  7915. user. In EndEdit, set focus to ListView to avoid losing focus to
  7916. other controls. In ListViewItemCollection.Clear, cancel editing of
  7917. any of the items. In Remove, cancel editing of item being removed.
  7918. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  7919. 2007-02-23 Gert Driesen <[email protected]>
  7920. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  7921. bug #80948.
  7922. 2007-02-23 Everaldo Canuto <[email protected]>
  7923. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  7924. compatible with non X11 systems. Fixes #80901.
  7925. 2007-02-23 Gert Driesen <[email protected]>
  7926. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  7927. whether the item should be unselected and reselect. We do no want this
  7928. when we're starting to edit the label. Do not fire the
  7929. SelectedIndexChanged event from ListView when its already been fired
  7930. by modifying ListViewItem.Selected. Fixes bug #80943.
  7931. 2007-02-23 Jonathan Pobst <[email protected]>
  7932. * TextRenderer.cs: Previos commit logic was backwards.
  7933. 2007-02-23 Jonathan Pobst <[email protected]>
  7934. * TextRenderer.cs: Don't add padding on MeasureText if we were
  7935. sent the NoPadding flag.
  7936. 2007-02-23 Everaldo Canuto <[email protected]>
  7937. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  7938. after DrawButton. To prevent image overlaps button borders SetClip and
  7939. ResetClip added before and after draw image. Fixes #79129.
  7940. 2007-02-23 Everaldo Canuto <[email protected]>
  7941. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  7942. window size, it fix problem when you run under win32 that theres
  7943. Size diferent than ClientSize. Also fix controls size and positions
  7944. to mimic Win32. Fixes #80837.
  7945. 2007-02-22 Everaldo Canuto <[email protected]>
  7946. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  7947. menu area to fix some problems for non X11 systems. Fixes #80613.
  7948. 2007-02-22 Jackson Harper <[email protected]>
  7949. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  7950. even if it doesn't have any children.
  7951. 2007-02-22 Jackson Harper <[email protected]>
  7952. * TreeView.cs: Calculate the top node 'on the fly', this
  7953. eliminates issues where you need to click on the tree before
  7954. scrolling it to get the top node computed correctly.
  7955. * TreeNodeCollection.cs: We don't need to mess with the top node
  7956. anymore.
  7957. 2007-02-22 Jackson Harper <[email protected]>
  7958. * DataGridViewRow.cs: Fix typo so height can actually be set.
  7959. Patch by Peter Grimm.
  7960. 2007-02-22 Gert Driesen <[email protected]>
  7961. * FileDialog.cs: Fixed support for renaming files and directories.
  7962. * ListView.cs: Do not lose focus when edit is canceled. Process
  7963. Escape as regular key (to prevent closing of dialogs).
  7964. 2007-02-22 Gert Driesen <[email protected]>
  7965. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  7966. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  7967. 2007-02-22 Gert Driesen <[email protected]>
  7968. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  7969. did not modify label.
  7970. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  7971. modified the text. Reset Label when user presses Escape in edit mode.
  7972. Move focus to ListView after having cancelled or finished editing the
  7973. label.
  7974. 2007-02-21 Gert Driesen <[email protected]>
  7975. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  7976. private. Clear textbox when Text is set to null and SelectedIndex is
  7977. already -1.
  7978. * FileDialog.cs: Removed unnecessary initializations. Removed
  7979. workarounds for ComboBox bugs that are now fixed. Modified
  7980. DefaultExt, InitialDirectory and Title property to change null to
  7981. zero-length string in getters. Avoid directly accessing fields.
  7982. 2007-02-20 Jackson Harper <[email protected]>
  7983. * TextControl.cs: Remove RecalAlignments call, that was some
  7984. debugging leftovers.
  7985. - Don't use the line indent when we shouldn't.
  7986. * RichTextBox.cs: Add support for paragraph left indents.
  7987. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  7988. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  7989. Seems like the class status pages doesn't catch params differences.
  7990. 2007-02-19 Gert Driesen <[email protected]>
  7991. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  7992. 2007-02-19 Gert Driesen <[email protected]>
  7993. * ComboBox.cs: Setting Text should have no effect if item text of
  7994. selected item exactly matches value. First lookup text using
  7995. case-sensitive comparison, and fallback to case-insensitive comparison.
  7996. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  7997. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  7998. paramname to match MS. Restart from first item if string is not found
  7999. after startIndex. Fixed paramname of ArgumentNullException that is
  8000. thrown for null value in ObjectCollection.Contains.
  8001. 2007-02-19 Everaldo Canuto <[email protected]>
  8002. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  8003. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  8004. * ListControl.cs: In SelectedValue use value.Equals to compare for
  8005. equality instead of ==, otherwise it will fail for strings.
  8006. Fixes #80794.
  8007. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  8008. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  8009. since the caret won't show up unless ShowSelection is true.
  8010. Fixes #80795.
  8011. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  8012. * Application.cs: When disabling all forms but the main form, do not
  8013. disable any descendants of the main form (such as mdi children or
  8014. other parented forms). Fixes #80822 on Windows.
  8015. * Form.cs: If we have a parent, set the WS_CHILD style.
  8016. * Control.cs: Update the window styles if the control whose parent has
  8017. changed is a form (the WS_CHILD style has to be switched).
  8018. 2007-02-19 Everaldo Canuto <[email protected]>
  8019. * XplatUIStructs.cs: MsgUIState structure added.
  8020. 2007-02-18 Gert Driesen <[email protected]>
  8021. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  8022. profile, do not check filename(s) for illegal character if filename(s)
  8023. were set non-interactively but always check on 1.0 profile. Fixed NRE
  8024. in DefaultExt and only strip off first leading dot. Improve exception
  8025. message when invalid Filter is set. Do not ignore InitialDirectory if
  8026. it does no exist. Store specified Title, and if empty use default
  8027. title (depending on type of dialog). Added an internal DialogTitle
  8028. property for retrieving dialog title. Fixed logic of displayed dir to
  8029. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  8030. string as its buggy.
  8031. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  8032. FileName is a zero-length string (it can never be null). Override
  8033. DialogTitle property to set default title of dialog box.
  8034. * SaveFileDialog.cs: Override DialogTitle property to set default
  8035. title of dialog box.
  8036. 2007-02-18 Gert Driesen <[email protected]>
  8037. * FileDialog.cs: Modify default text of filename and filetype labels
  8038. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  8039. after we've updated the SelectedIndex. Fixes part of bug #80887.
  8040. * SaveFileDialog.cs: Set text of filetype label.
  8041. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  8042. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  8043. label field. Needed by latest Jackson's fixes for ListView.
  8044. 2007-02-16 Andreia Gaita <[email protected]>
  8045. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  8046. print preview images.
  8047. 2007-02-16 Jackson Harper <[email protected]>
  8048. * ListView.cs: Make AfterLabelEdit work correctly.
  8049. * FileDialog.cs: After changing the name of the folder, we have to
  8050. make sure that it is created, or that we pop up an error because
  8051. it already exists.
  8052. 2007-02-16 Jackson Harper <[email protected]>
  8053. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  8054. System.String are mapped to text.
  8055. - Handle dataobjects, getting all the possible formats out of them
  8056. - We dont need the drag event args before we give feedback. This
  8057. allows feedback cursors to be immediate before selections have
  8058. been converted.
  8059. 2007-02-16 Jackson Harper <[email protected]>
  8060. * TextBoxBase.cs: Modified the method for inserting images to
  8061. taking a line and position instead of tag and position.
  8062. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  8063. into the RTF file.
  8064. * TextControl.cs: Allow images to be inserted as the first tag of
  8065. a line.
  8066. - Fix some off by one issues when we assume the first tag is a
  8067. text tag, not an image tag.
  8068. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  8069. * ListView.cs: Set focus to ListView when ItemControl gets a
  8070. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  8071. Fixes part of #80467.
  8072. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  8073. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  8074. validate Text input (if null or empty string reset Value to default
  8075. value). Fixes #80830.
  8076. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  8077. * ListView.cs: Set owner as null for columns and items when
  8078. Dispose is invoked. Fixes #80607.
  8079. 2007-02-14 Jonathan Pobst <[email protected]>
  8080. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  8081. showing DropDowns, don't show a Grip when doing Flow layout.
  8082. [This fixes the toolbox in PDN 2.72.]
  8083. * ToolStripItem.cs: Add Anchor property and some internal properties to
  8084. reduces needed changes to FlowLayout.
  8085. * ToolStripOverflow.cs: Remove unused variable.
  8086. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  8087. use it in the layout calculations.
  8088. 2007-02-13 Everaldo Canuto <[email protected]>
  8089. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  8090. reported in #79640.
  8091. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  8092. size calculation.
  8093. 2007-02-13 Everaldo Canuto <[email protected]>
  8094. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  8095. MeasureString format, it can make button very large in some cases, it is
  8096. strange but is what win32 do.
  8097. 2007-02-13 Everaldo Canuto <[email protected]>
  8098. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  8099. size calculation.
  8100. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  8101. rendering, the value is based on MenuAccessKeysUnderlined.
  8102. 2007-02-13 Everaldo Canuto <[email protected]>
  8103. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  8104. for most themes.
  8105. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  8106. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  8107. and use MenuAccessKeysUnderlined instead.
  8108. 2007-02-13 Andreia Gaita <[email protected]>
  8109. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  8110. A selected control would not get a Focus call if:
  8111. - the default active control of the container is the same as
  8112. the one that was selected
  8113. - we are switching from one container to another
  8114. Under these conditions, the container being selected already has
  8115. an active_control, which is the same as the one being activated,
  8116. so set_ActiveControl would always return and not send the Focus
  8117. call. Fix to check if the currently active control of the container
  8118. is actually focused.
  8119. 2007-02-13 Jonathan Pobst <[email protected]>
  8120. * StatusStrip.cs: Implement the spring layout.
  8121. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  8122. always matches the host.
  8123. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  8124. and TextAfterImage.
  8125. 2007-02-13 Andreia Gaita <[email protected]>
  8126. * Control.cs: Code reorganization only.
  8127. - Reorganize the WndProc cases so that each case has it's own handling method,
  8128. to help with the no-line-numbering stack traces.
  8129. - Formatting changes (it's vstudio's fault, really :p)
  8130. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  8131. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  8132. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  8133. behaviour.
  8134. 2007-02-12 Jackson Harper <[email protected]>
  8135. * RichTextBox.cs:
  8136. * TextBox.cs: By default we have a non multiline document
  8137. - use the multiline property instead of the internal variable
  8138. * TextBoxBase.cs: Treat multiline and non multiline the same in
  8139. most places.
  8140. - Use the documents multiline flag instead of tracking it ourself
  8141. * TextControl.cs: Attempt at getting multiline to match MS
  8142. behavior. Lines now track an offset, which is either their X or Y
  8143. offset depending on whether or not we are in multiline mode.
  8144. - Update all the methods to understand that lines have an X value.
  8145. - Fix crash in Undo::Duplicate when empty lines are deleted.
  8146. 2007-02-12 Everaldo Canuto <[email protected]>
  8147. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  8148. code moved to properties PreferredHeight and PreferredWidth. It solve the
  8149. all problems when preferred sizes must be recalculated. Fixes #80801.
  8150. 2007-02-12 Everaldo Canuto <[email protected]>
  8151. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  8152. font height when compatible_text_rendering is false. Partially fix #80801.
  8153. 2007-02-09 Gert Driesen <[email protected]>
  8154. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  8155. 2007-02-09 Gert Driesen <[email protected]>
  8156. * Form.cs: Improved exception messages in ShowDialog.
  8157. 2007-02-09 Gert Driesen <[email protected]>
  8158. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  8159. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  8160. if not set. Fixes bug #80764. Avoid accessing current_settings field
  8161. directly.
  8162. 2007-02-08 Everaldo Canuto <[email protected]>
  8163. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  8164. false.
  8165. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  8166. public in 2.0 and for easy maintenance and dont break compatibility it is
  8167. internal in 1.1.
  8168. 2007-02-08 Jonathan Pobst <[email protected]>
  8169. * ToolStripItem.cs: Implement using images from ImageList.
  8170. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  8171. * DateTimePicker.cs: Change default date-formatting culture from
  8172. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  8173. seems to be the way MS does it.
  8174. 2007-02-08 Andreia Gaita <[email protected]>
  8175. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  8176. (the 6 was cut off on the right side)
  8177. 2007-02-08 Jonathan Pobst <[email protected]>
  8178. * Form.cs: Tell MenuStrips to close when the form is clicked.
  8179. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  8180. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  8181. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  8182. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  8183. support for Overflow, where items that do not fit are automatically
  8184. reparented to a drop down menu.
  8185. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  8186. Also: fixes bug #80747.
  8187. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  8188. * ComboBox.cs: Remove warning (unused code).
  8189. * ScrollableControl.cs: Remove warning for 1.1 profile.
  8190. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  8191. * Form.cs: Remove a warning.
  8192. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  8193. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  8194. 'g' specifier, not documented anywhere, but seems to always show up
  8195. as a single space (might have something to do with the DateTime 'g'
  8196. specifier, which is the era format, but since DateTimePicker can't
  8197. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  8198. won't crash if the format has an unmatched quote. Now shows
  8199. single-character formats correctly. Fixes #80744.
  8200. 2007-02-08 Jonathan Pobst <[email protected]>
  8201. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  8202. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  8203. 2007-02-07 Chris Toshok <[email protected]>
  8204. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  8205. background color. it overwrites the background image we've
  8206. already painted. Fixes #80599.
  8207. 2007-02-07 Chris Toshok <[email protected]>
  8208. * DataGrid.cs: return immediately from Edit() when there are no
  8209. columns. Fixes #80662.
  8210. 2007-02-07 Chris Toshok <[email protected]>
  8211. * MessageBox.cs: fix #80625. don't always show the Help button in
  8212. 2.0. use the displayHelpButton parameter to determine if we
  8213. should show it. Also, make the internal show_help field private.
  8214. 2007-02-07 Chris Toshok <[email protected]>
  8215. * Control.cs (SetVisibleCore): check in the proposed patch for
  8216. 80604, and set is_visible before calling CreateControl.
  8217. 2007-02-07 Jonathan Pobst <[email protected]>
  8218. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  8219. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  8220. on it.
  8221. 2007-02-06 Everaldo Canuto <[email protected]>
  8222. * MenuAPI.cs: hotkey_active internal field added, it is required because
  8223. we need to know when hotkeys must be draw, before this change a keystate
  8224. Navigating was used but we can have menu in navigating state without
  8225. hotkeys. Fixes #80694.
  8226. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  8227. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  8228. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  8229. corresponding events and methods to be internal for 1.1 profile and
  8230. public for 2.0 profile (required by SizeGrip).
  8231. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  8232. implicit control list). Don't set the size nor the location of the
  8233. SizeGrip anymore as it's not needed.
  8234. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  8235. draw directly on the captured control (fixes #80656). Removed
  8236. ShowGrip (it wasn't used anywhere), redraw (always true), added
  8237. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  8238. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  8239. be called from SizeGrip.
  8240. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  8241. * Timer.cs: Throw ArgumentException if Interval <= 0.
  8242. 2007-02-05 Jackson Harper <[email protected]>
  8243. * TreeView.cs: We need to check scrollbar visibility when window
  8244. visibility is updated, because non visible trees don't ever add
  8245. scrollbars.
  8246. * Cursor.cs: We want the override cursor to be reset to NULL when
  8247. we set current cursor to the default cursor.
  8248. 2007-02-05 Jackson Harper <[email protected]>
  8249. * TextControl.cs: Don't have crlfs when we are non multiline.
  8250. - Consolidate the line position.
  8251. 2007-02-05 Jackson Harper <[email protected]>
  8252. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  8253. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  8254. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  8255. handling LeaveNotify->NotifyUngrab in order to send
  8256. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  8257. after calling XUngrabPointer, so we call WindowUngrabbed directly
  8258. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  8259. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  8260. MouseCaptureChanged correctly. Also create handles if changing
  8261. Capture (matches MS behaviour).
  8262. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8263. * SizeGrip.cs: Make the last change 2.0 only.
  8264. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8265. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  8266. changes to initial size (fixes #80597).
  8267. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8268. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  8269. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8270. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  8271. background) and only allow dragging if enabled. This way the
  8272. sizegrip can be used to fill the open square that otherwise would
  8273. have been shown in the bottom right corner of ScrollableControl
  8274. when ScrollableControl is not suppose to support sizing.
  8275. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  8276. sizegrip is shown and enabled, and hook up with necessary events.
  8277. 2007-02-01 Chris Toshok <[email protected]>
  8278. * DataGridTextBoxColumn.cs: clean up the
  8279. GetFormattedString/GetColumnValueAtRow combination of functions.
  8280. Also fix UpdateUI, and the initial state of
  8281. IsInEditOrNavigateMode.
  8282. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  8283. aren't supposed to scroll the textbox here, we're supposed to
  8284. scroll the datagrid.
  8285. 2007-02-01 Chris Toshok <[email protected]>
  8286. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  8287. setting the position.
  8288. 2007-02-01 Chris Toshok <[email protected]>
  8289. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  8290. here, since the most recent focus fixes keep us from generating
  8291. the Leave event when our textbox gets focus.
  8292. (Edit): we should be passing null for the column style's
  8293. instantText parameter.
  8294. 2007-02-01 Jonathan Pobst <[email protected]>
  8295. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  8296. raised. Fixes menu text/icons not showing up in PDN.
  8297. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  8298. * Control.cs: Remove code in constructor that makes every
  8299. control with WS_CHILD set have initial location -1, -1.
  8300. 2007-01-31 Jackson Harper <[email protected]>
  8301. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  8302. XplatUIX11.
  8303. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  8304. 2007-01-31 Jackson Harper <[email protected]>
  8305. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  8306. - Remove some debug code.
  8307. 2007-01-31 Jackson Harper <[email protected]>
  8308. * XplatUIX11.cs: If you set the override cursor during a grab, it
  8309. should actually override the grab cursor. This comes into play
  8310. when you are setting custom cursors in a DND feedback method.
  8311. 2007-01-31 Jackson Harper <[email protected]>
  8312. * X11Dnd.cs: Add support for handling the QueryContinue and
  8313. GiveFeedback events.
  8314. - Cancel drag and drop actions when the escape key is clicked.
  8315. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  8316. can handle the ESCAPE key.
  8317. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  8318. done when dnd events are continued after the button is released.
  8319. - Add a new helper method so that dnd can translate key events.
  8320. 2007-01-31 Alexander Olk <[email protected]>
  8321. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  8322. make it more obvious what is happening.
  8323. 2007-01-30 Jackson Harper <[email protected]>
  8324. * XplatUIX11.cs: Don't break when handling button release in drag
  8325. and drop operations. We need that BUTTONUP message to get through
  8326. so capture is released.
  8327. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  8328. this is handled automatically when the mouse is down.
  8329. 2007-01-30 Jackson Harper <[email protected]>
  8330. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  8331. is closed, so we need to make sure that we aren't changing the
  8332. dialog result when the OK (Open or Save) button has been clicked
  8333. and we are closing the window ourselves. Note we don't need to
  8334. worry about the cache being written in this case, because it was
  8335. already done in the previous FilOk call.
  8336. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  8337. * DateTimePicker.cs: Remove a warning.
  8338. * ComboBox.cs: Remove a couple of warnings.
  8339. 2007-01-29 Chris Toshok <[email protected]>
  8340. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  8341. set one, if SetIcon is passed a null icon.
  8342. 2007-01-29 Andreia Gaita <[email protected]>
  8343. * TextBox.cs: Redraw when the password characters changes
  8344. * TextControl.cs: Check if textbox has a password char and draw
  8345. a line of password chars instead of the text in the line. LineTag gets
  8346. an extra Draw() method which allows document.Draw to override the text
  8347. that will be drawn. Removes 1024 char limitation on length of passworded
  8348. lines.
  8349. 2007-01-29 Jackson Harper <[email protected]>
  8350. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  8351. single chars is not.
  8352. 2007-01-28 Jonathan Pobst <[email protected]>
  8353. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  8354. one pixel. Fix a StackOverflowException caused by an overload wrongly
  8355. calling itself.
  8356. 2007-01-26 Everaldo Canuto <[email protected]>
  8357. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  8358. also remove ProcessArrowKey and put the code inside ProcessKeys.
  8359. 2007-01-26 Jonathan Pobst <[email protected]>
  8360. * PaddingConverter.cs: Added.
  8361. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  8362. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  8363. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  8364. of text (fixes #80601). For panels clip the text to draw to the
  8365. panel (fixes #80603).
  8366. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  8367. * ComboBox.cs: Fixed implementation of ResetText.
  8368. 2007-01-25 Jackson Harper <[email protected]>
  8369. * TextControl.cs: For the last char of a line we need to use the
  8370. line size, not that chars width, since it won't actually be
  8371. computed since the right side of a char is based on the start of
  8372. the left side of the next char, and the next char does not exist.
  8373. 2007-01-25 Chris Toshok <[email protected]>
  8374. * Splitter.cs: fix the new unit tests, and reindent some switch
  8375. statements.
  8376. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8377. * ComboBox.cs: Implemented 2.0 methods and events.
  8378. * TextBoxBase.cs: Added OnTextUpdate, so that
  8379. ComboBox.ComboTextBox can inform ComboBox of it.
  8380. 2007-01-25 Jackson Harper <[email protected]>
  8381. * TextControl.cs: Respect ShowSelection when deciding whether or
  8382. not to display the caret, this allows comboboxes to have carets
  8383. when the combotextbox does not have focus.
  8384. 2007-01-25 Jackson Harper <[email protected]>
  8385. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  8386. same as the Suspend/Resume for recalc, except this will do actual
  8387. Invalidates.
  8388. - New Undo manager, works much like the MS version.
  8389. - Implemented Redo
  8390. * TextBoxBase.cs: The Cut operation is undoable.
  8391. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8392. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  8393. on Windows (no difference on Linux).
  8394. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8395. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  8396. we don't want to activate any windows. Fixes #79433.
  8397. 2007-01-25 Jonathan Pobst <[email protected]>
  8398. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  8399. [Fixes bug #80609]
  8400. 2007-01-25 Alexander Olk <[email protected]>
  8401. * FileDialog.cs:
  8402. - Move to using System.ComponentModel.EventHandlerList
  8403. - Replace Refresh with Invalidate
  8404. - Clear the mime filecache on closing
  8405. - Some other memory reducing work. After beeing closed FD now uses
  8406. only about 300 KB for the fdo mime stuff plus the memory of the
  8407. cached icons.
  8408. * Mime.cs: Changed coding style and removed unnecessary commented
  8409. code. Some more memory memory reducing work.
  8410. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8411. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  8412. a few other missing 2.0 properties.
  8413. * Theme.cs: Added DrawFlatStyleComboBox.
  8414. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  8415. 2007-01-24 Chris Toshok <[email protected]>
  8416. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  8417. wake_waiting flag, not just when there's data to be read. if we
  8418. don't, then future wakeup's won't reach us and we'll be doomed to
  8419. wait for the entire 1 second timeout forever (unless there are X
  8420. events to be had).
  8421. 2007-01-24 Jonathan Pobst <[email protected]>
  8422. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  8423. until you pass Items.Count, not Items.Count - 1 like 1.1.
  8424. 2007-01-24 Gert Driesen <[email protected]>
  8425. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  8426. 2007-01-24 Jonathan Pobst <[email protected]>
  8427. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  8428. adding the panels in the wrong order.
  8429. 2007-01-24 Jackson Harper <[email protected]>
  8430. * TextBoxBase.cs: When we move the caret we also need to move the
  8431. selection, this fixes some random crashing after doing select
  8432. text, unselect, delete a char, paste.
  8433. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  8434. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  8435. 2007-01-23 Everaldo Canuto <[email protected]>
  8436. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  8437. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  8438. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  8439. 2007-01-23 Everaldo Canuto <[email protected]>
  8440. * ToolBar.cs:
  8441. - Implement support for vertical toolbars. Fixes #80539;
  8442. - Call LayoutToolBar when resize, it fix some other problems in layout.
  8443. - Rename requested_height to requested_size, as we can have width on it
  8444. when toolbar is vertical.
  8445. - Create a private property "Vertical" that uses Dock to verify when
  8446. toolbar is vertical or not.
  8447. - Set ControlStyles when change Dock property.
  8448. - Refactory in LayoutToolBar to have better variables names and to support
  8449. vertical toolbars.
  8450. - Fixes default value for ButtonSize when button count is equal zero, size
  8451. must be (39, 36) test case writed.
  8452. 2007-01-23 Chris Toshok <[email protected]>
  8453. * Control.cs: fix the checks so that they work correctly for mdi
  8454. parents/children.
  8455. 2007-01-23 Chris Toshok <[email protected]>
  8456. * Control.cs: ControlCollection seems to have super-secret
  8457. abstraction breaking knowledge of Mdi containers. allow MdiClient
  8458. to add toplevel controls.
  8459. 2007-01-23 Chris Toshok <[email protected]>
  8460. * Control.cs: throw an ArgumentException if a toplevel control is
  8461. added to our control collection from ControlCollection.Add, as
  8462. well as from ControlCollection.IList.Add. This fixes the
  8463. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  8464. Also, in ControlCollection.IList.Add, don't through an
  8465. ArgumentNullException, throw an ArgumentException, when value ==
  8466. null. This matches MS.
  8467. 2007-01-23 Chris Toshok <[email protected]>
  8468. * BindingSource.cs: initial, incomplete, implementation of
  8469. BindingSource.
  8470. 2007-01-23 Jackson Harper <[email protected]>
  8471. * TextControl.cs:
  8472. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  8473. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  8474. 2007-01-23 Everaldo Canuto <[email protected]>
  8475. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  8476. 2007-01-23 Andreia Gaita <[email protected]>
  8477. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  8478. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  8479. IndexOfKey() for 2.0
  8480. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  8481. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  8482. to prevent it from changing z-order.
  8483. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  8484. leave UI updates in MdiWindowManager.
  8485. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  8486. 1 sized (NC handling goes weird on Linux otherwise).
  8487. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  8488. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  8489. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  8490. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  8491. and SetWindowState(s) to allow for changing the size of an activated child
  8492. before activating it (reduces a lot of flicker).
  8493. 2007-01-22 Jonathan Pobst <[email protected]>
  8494. * Form.cs: Changing FormBorderStyle has different semantics based
  8495. on whether the Form is visible or not. If not visible, don't change
  8496. the Size. But InvalidateNC needs to be called to force the window
  8497. to pick up the changes and redraw itself. [Fixes bug #80574]
  8498. 2007-01-22 Jonathan Pobst <[email protected]>
  8499. [Moma work]
  8500. * ContainerControl.cs: ProcessCmdKey.
  8501. * ErrorProvider.cs: new constructor.
  8502. * Form.cs: fix AutoValidateEvent compiler warning.
  8503. * Label.cs: fix OnAutoSizeChanged compiler warning.
  8504. * MenuStrip.cs: fix CanOverflow compiler warning.
  8505. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  8506. * TextBox.cs: Dispose.
  8507. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  8508. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  8509. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  8510. * ToolStripItem.cs: Overflow, RightToLeft properties.
  8511. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  8512. * Form.cs: Move the layout of the main form to MdiWindowManager.
  8513. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  8514. do a layout of the main window to update MdiClient's client area to
  8515. the right area. Fixes #80533. Remove the calculation of nc size,
  8516. it was just wrong and the correct one is the same as for
  8517. InternalWindowManager.
  8518. 2007-01-20 Jonathan Pobst <[email protected]>
  8519. * Control.cs: Setting Anchor or Dock needs to reset the other
  8520. to its default. [Fixes bug #80556]
  8521. 2007-01-20 Chris Toshok <[email protected]>
  8522. * CheckedListBox.cs: class status changes.
  8523. * ScrollableControl.cs: same.
  8524. * RichTextBox.cs: same.
  8525. * ContainerControl.cs: same.
  8526. * ListView.cs: same.
  8527. * NotifyIcon.cs: same.
  8528. * MenuStrip.cs: same.
  8529. * RadioButton.cs: same.
  8530. * CheckBox.cs: same.
  8531. * PrintPreviewDialog.cs: same.
  8532. * Form.cs: same.
  8533. 2007-01-19 Jonathan Pobst <[email protected]>
  8534. * TreeNode.cs: Apply Alan's patch for Name property.
  8535. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  8536. * Form.cs: Implemented SizeGripStyle.
  8537. * SizeGrip.cs: Check for minimum and maximum size for the
  8538. control being resized and only resize if size has actually
  8539. changed.
  8540. 2007-01-19 Chris Toshok <[email protected]>
  8541. * DataGridColumnStyle.cs: stop setting _readonly in the
  8542. PropertyDescriptor setter. fixes a unit test failure.
  8543. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  8544. just consult our table style (if we have one). We don't need to
  8545. consult the datagrid readonly attribute because that's passed in
  8546. as the _ro arg to Edit. this simplifies things a little.
  8547. * DataGrid.cs: use CurrentColumn instead of
  8548. current_cell.ColumnNumber just to simplify some of the code.
  8549. switch the order of some things in the CurrentCell setter to keep
  8550. the previous cell from getting a textbox again -
  8551. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  8552. So we need to set the new cell before calling it.
  8553. call Edit in OnEnter, as does Microsoft.
  8554. also, make sure the current table style isn't the one we create
  8555. initially when checking to see if it's different than the one
  8556. we're setting it to in BindColumns (this fixes #80421).
  8557. * GridTableStylesCollection.cs: table styles can have "" for a
  8558. mapping name. part of the fix for #80421.
  8559. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  8560. Edit significantly.
  8561. 2007-01-18 Jonathan Pobst <[email protected]>
  8562. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  8563. and less GDI object leaky-er.
  8564. 2007-01-18 Andreia Gaita <[email protected]>
  8565. * LinkLabel.cs: Add opaque control style
  8566. 2007-01-18 Jackson Harper <[email protected]>
  8567. * TextControl.cs: Calculate width properly.
  8568. - Don't store the tag's X offset, this can be figured out very
  8569. easily.
  8570. - When getting the caret tag make sure to get the last empty tag.
  8571. 2007-01-18 Jonathan Pobst <[email protected]>
  8572. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  8573. [Fixes bug #79959]
  8574. * Control.cs: Color.Empty shouldn't count for previous transparent
  8575. redraw changes.
  8576. 2007-01-18 Jackson Harper <[email protected]>
  8577. * TextBox.cs:
  8578. * RichTextBox.cs:
  8579. * TextControl.cs: Starting to merge in some pieces of my older
  8580. undo work. Basically just some slight cleanup of the undo API.
  8581. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  8582. * TrackBar.cs: Fix signature of RightToLeftLayout.
  8583. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  8584. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  8585. * Application.cs: Implemented UseWaitCursor.
  8586. 2007-01-18 Jackson Harper <[email protected]>
  8587. * TextControl.cs: We can't skip tags if any part of the tag is
  8588. visible.
  8589. 2007-01-18 Jonathan Pobst <[email protected]>
  8590. * ContainerControl.cs: Override OnLayout.
  8591. 2007-01-18 Jonathan Pobst <[email protected]>
  8592. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  8593. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  8594. everything else.
  8595. 2007-01-18 Chris Toshok <[email protected]>
  8596. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  8597. (leftover from the container_selected days, I'd wager). fixes bug
  8598. #80546.
  8599. 2007-01-18 Jonathan Pobst <[email protected]>
  8600. * Control.cs: Apply patch from George to fix the new testcase on
  8601. bug #80451. We can't just check for Color.Transparent, we need
  8602. to check if the back color's alpha channel is < 255.
  8603. 2007-01-18 Jonathan Pobst <[email protected]>
  8604. * Form.cs: Move setting show_icon = true to before the constructor
  8605. so that the base constructor has that information when it calculates
  8606. the form's size. Was causing forms to be (6, 6) bigger than they
  8607. were supposed to be. Thanks for catching this Rolf!
  8608. 2007-01-18 Jackson Harper <[email protected]>
  8609. * TextControl.cs: When replacing a selection we need to invalidate
  8610. from the initial selection start, because selection start is moved
  8611. to the end of the replacement.
  8612. 2007-01-18 Andreia Gaita <[email protected]>
  8613. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  8614. 2007-01-18 Chris Toshok <[email protected]>
  8615. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  8616. I just added.
  8617. 2007-01-17 Everaldo Canuto <[email protected]>
  8618. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  8619. layout methods and properties from ToolBarButton must be available
  8620. into ToolBarButtonInfo.
  8621. 2007-01-17 Jonathan Pobst <[email protected]>
  8622. * Control.cs: If the control has a transparent background, we
  8623. need to refresh it when it moves and when it's parent's background
  8624. image changes. [Fixes bug #80451]
  8625. 2007-01-17 Jonathan Pobst <[email protected]>
  8626. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  8627. 2007-01-17 Jonathan Pobst <[email protected]>
  8628. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  8629. [Fixes bug #80447, and probably speeds up things as well]
  8630. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8631. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  8632. * XplatUIWin32.cs: We need to recalculate NC size after changing
  8633. window style to toolwindow (otherwise the client rectangle will be
  8634. 3 pixels to small for some reason).
  8635. * MdiWindowManager.cs: Revert NC size calculations to match how
  8636. they are calculated only based on window styles (to match
  8637. Win32AdjustWindowRectEx, since otherwise when setting size or
  8638. location, Control will call Win32AdjustWindowRectEx to update client
  8639. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  8640. calculate a different value of client size causing another paint
  8641. (and flickering))
  8642. * InternalWindowManager.cs: When moving or resizing a window only
  8643. update size or location if they actually changed.
  8644. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  8645. (seems to match Windows behaviour better). Cleaned up
  8646. ManagedWindowDecorations to draw what's needed and nothing else
  8647. (was drawing borders and lines where they shouldn't be)
  8648. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  8649. (style = 0xFFFF) and takes into account caption height when
  8650. calculating window rectangle.
  8651. 2007-01-16 Everaldo Canuto <[email protected]>
  8652. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  8653. can be added to toolbar multiple times, we need to maintain a list of
  8654. button information for each positions.
  8655. 2007-01-16 Everaldo Canuto <[email protected]>
  8656. * ToolBar.cs: Some small stetic changes.
  8657. 2007-01-16 Jackson Harper <[email protected]>
  8658. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  8659. that allow us to have nested recalc = false blocks.
  8660. - Add paste support for images in the RichTextBox
  8661. * RichTextBox.cs: flush the text after the color is changed, so
  8662. the change takes effect.
  8663. - Use SuspendRecalc
  8664. - Some extra debugging info
  8665. * TextControl.cs: Tags no longer track their length, it is just
  8666. computed from the next tags length, this makes things a little
  8667. simpler and reduces places that we have to track length changes.
  8668. - Refactored the linetag class a little so we could make it
  8669. a base class for different kinds of tags
  8670. - Created a image tag, a tag that can have a single image inserted
  8671. into it
  8672. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  8673. that we can call suspend multiple times.
  8674. - Add some debugging methods
  8675. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8676. * MdiClient.cs: Add ActivatePreviousChild for
  8677. mdi child window navigation.
  8678. * Form.cs: Use MdiClient.ActivateNextChild/
  8679. ActivatePreviousChild instead of Form.SelectNextControl
  8680. to select the next/previous child since
  8681. SelectNextControl doesn't do it in the same order
  8682. as mdi children should do it.
  8683. 2007-01-16 Chris Toshok <[email protected]>
  8684. * Control.cs: remove container_selected field.
  8685. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8686. * MdiClient.cs: Update main form's ActiveChild when
  8687. updating keyboard focus for the mdi child.
  8688. 2007-01-16 Jonathan Pobst <[email protected]>
  8689. * Control.cs: PreferredSize fix.
  8690. * Form.cs: Add several 2.0 events, properties, and methods.
  8691. 2007-01-16 Gert Driesen <[email protected]>
  8692. * Form.cs: Provide meaningful message when MdiParent is assigned a
  8693. Form that is not an MdiContainer.
  8694. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8695. * MdiClient.cs: Update main form's ActiveChild when
  8696. activating a mdi child.
  8697. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8698. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  8699. doesn't have a menu.
  8700. * Form.cs: Request NCRecalc after creating a mdi child window.
  8701. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  8702. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  8703. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  8704. sends keyboard focus to the active child, or to the MdiClient
  8705. if there are no child forms.
  8706. 2007-01-15 Chris Toshok <[email protected]>
  8707. * ListView.cs: drop the *Internal overrides, just do our work in
  8708. ItemControl's WndProc instead.
  8709. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  8710. of the various controls, and forward the events properly (in the
  8711. same manner as MS) from the textbox to the UpDown. Also the
  8712. ActiveControl of the UpDownBase gets set properly now. Finally,
  8713. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  8714. * NumericUpDown.cs: set Text in the ctor.
  8715. * DomainUpDown.cs: call UpdateEditText in the ctor.
  8716. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  8717. so even a Selectable = false textbox can be focused if you click
  8718. in it. Go figure.
  8719. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  8720. just add their handling in their respective WndProc's. Also add
  8721. an explicit FocusInternal method that doesn't consult CanFocus
  8722. before calling Select(this).
  8723. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  8724. do our work in WndProc instead.
  8725. * TabControl.cs: same.
  8726. * ComboBox.cs: same.
  8727. 2007-01-15 Everaldo Canuto <[email protected]>
  8728. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  8729. Fixes #80006.
  8730. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  8731. * ListViewItem.cs:
  8732. * ThemeWin32Classic.cs: Don't draw the item text outside
  8733. item bounds in Details view, as well as use trimming.
  8734. Fixes bug #80376.
  8735. 2007-01-15 Jonathan Pobst <[email protected]>
  8736. * Form.cs: Implement Form.ShowIcon.
  8737. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  8738. null, which when combined with the DlgModalFrame window style removes
  8739. the icon from the title bar.
  8740. 2007-01-15 Jonathan Pobst <[email protected]>
  8741. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  8742. 2007-01-15 Everaldo Canuto <[email protected]>
  8743. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  8744. menu when mdi child windows theres a menu, uses insert to get icon
  8745. at first position. Partially fix #80006.
  8746. 2007-01-15 Jonathan Pobst <[email protected]>
  8747. * Clipboard.cs: Implement 2.0 methods.
  8748. 2007-01-15 Everaldo Canuto <[email protected]>
  8749. * Menu.cs: Implement Insert method of MenuItemCollection class
  8750. to fix MenuMerge.
  8751. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  8752. * ListView.cs: Implement 2.0 FindItemWithText method.
  8753. 2007-01-11 Everaldo Canuto <[email protected]>
  8754. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  8755. to calculate menu bar size. Fixes #80290.
  8756. 2007-01-11 Everaldo Canuto <[email protected]>
  8757. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  8758. 2007-01-11 Chris Toshok <[email protected]>
  8759. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  8760. initial form.
  8761. 2007-01-11 Chris Toshok <[email protected]>
  8762. * LinkLabel.cs: make sure to call base.Select in our Select method
  8763. if it turns out we're going to be selected (i.e. if we have a link
  8764. that is going to receive focus). That way our container's
  8765. ActiveControl is updated properly.
  8766. 2007-01-11 Chris Toshok <[email protected]>
  8767. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  8768. they have 1 or more links. this fixes the crash gert reported.
  8769. 2007-01-11 Andreia Gaita <[email protected]>
  8770. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  8771. anymore.
  8772. * Control.cs (Controls.Add): Check if control to be added to the collection
  8773. is a top level control, and throw an ArgumentException if it is.
  8774. Remove ContainerSelectedFlag, not needed anymore.
  8775. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  8776. top most control doesn't activate the form. This fixes a problem in the
  8777. MessageBox, where the default button wouldn't get focus because the form
  8778. was activated before being Loaded - when the Owner is set, SetTopMost is
  8779. called, and it would activate it.
  8780. 2007-01-11 Jonathan Pobst <[email protected]>
  8781. * Button.cs: When clicked and setting the parent form's DialogResult,
  8782. use FindForm instead of Parent, since parent could be a container
  8783. control and not the Form. Fixes bug #80495.
  8784. 2007-01-10 Chris Toshok <[email protected]>
  8785. * Form.cs: move the call to SendControlFocus into the same
  8786. is_loaded check.
  8787. 2007-01-10 Chris Toshok <[email protected]>
  8788. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  8789. It breaks in the face of the new ActiveControl stuff, and should
  8790. be unnecessary.
  8791. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  8792. activecontrol's focus if it's not already set, after we set
  8793. ActiveControl, but before we call OnActivated. Re-fixes #79667
  8794. after the previous focus/active control fixes regressed it.
  8795. * Control.cs: reindent some code.
  8796. 2007-01-10 Chris Toshok <[email protected]>
  8797. * Splitter.cs: clearing some outstanding changes from my tree.
  8798. Replace all accesses (not writes) to the internal dock_style field
  8799. with the Dock property.
  8800. 2007-01-10 Chris Toshok <[email protected]>
  8801. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  8802. FireValidated virtual.
  8803. * Form.cs: override and don't chain up calls to FireEnter and
  8804. FireLeave.
  8805. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  8806. * ListView.cs: Add more text padding space when using
  8807. auto resize for columns (the previous value didn't work fine).
  8808. * ThemeWin32Classic.cs: Update text position inside columns,
  8809. to match the appeareance of .Net.
  8810. * ColumnHeader.cs: When using auto resize, only the Width should
  8811. depend on the sub items, not the Height. Also, set width after
  8812. auto resizing (the value of Width should never remain as -1 or -2).
  8813. 2007-01-10 Chris Toshok <[email protected]>
  8814. * Application.cs: fix compilation errors when debug is enabled.
  8815. 2007-01-10 Chris Toshok <[email protected]>
  8816. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  8817. add some nice ascii art pictures and explanation of the process).
  8818. (GetMostDeeplyNestedActiveControl): new utility function we need
  8819. because our ActiveControl can refer to a child container with its
  8820. own ActiveControl.
  8821. * Form.cs (OnActivated): remove the call to SelectActiveControl
  8822. from here, since you can override this method and not chain up,
  8823. and winforms still sets the active control.
  8824. (OnCreateControl): also remove the unnecessary SelectActiveControl
  8825. call from here.
  8826. (WndProc): it's actually called from the WM_ACTIVATE block, just
  8827. before calling OnActivated.
  8828. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  8829. inside the else. the ActiveControl setter will end up setting
  8830. focus on @control. This keeps us from setting it again (and
  8831. generating an extra LostFocus/GotFocus pair).
  8832. (Select (bool, bool)): reindent.
  8833. 2007-01-10 Jonathan Pobst <[email protected]>
  8834. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  8835. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  8836. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  8837. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8838. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  8839. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  8840. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  8841. ToolStripTextBox.cs: Another wave of corcompare work.
  8842. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8843. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  8844. the Width property.
  8845. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  8846. methods by callling Column.AutoResize method on columns.
  8847. 2007-01-09 Jonathan Pobst <[email protected]>
  8848. * Control.cs: Provide proper implementations of PreferredSize
  8849. and GetPreferredSize (2.0).
  8850. 2007-01-09 Jonathan Pobst <[email protected]>
  8851. * Form.cs: Remove one character (!) to make my previous OnClosing
  8852. stuff work for modal windows like MessageBox.
  8853. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8854. * ListView.cs:
  8855. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  8856. ListView.Columns to get the last displayed column. Fixes #80452.
  8857. 2007-01-09 Everaldo Canuto <[email protected]>
  8858. * Label.cs, LinkLabel.cs: Source code identation fixes.
  8859. 2007-01-08 Everaldo Canuto <[email protected]>
  8860. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  8861. we dont need to invalidate only borders because when we invalidate four
  8862. border lines the invalidate's generates a complete redraw of button,
  8863. because it now invalidate a complete rect some other redraws operations
  8864. are fixed. Fixes #80196.
  8865. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  8866. Remove ToolBarInvalidateEntireButton as it is not used.
  8867. 2007-01-08 Jonathan Pobst <[email protected]>
  8868. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  8869. called for 2.0 profile.
  8870. * CloseReason.cs: Make class internal for 1.1.
  8871. 2007-01-08 Jonathan Pobst <[email protected]>
  8872. * ToolStripManager.cs: Implement FindToolStrip functionality.
  8873. * ToolStrip.cs: Register and unregister with ToolStripManager.
  8874. 2007-01-07 Jonathan Pobst <[email protected]>
  8875. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  8876. to ArrangedElementCollection. Implemented this with as few #if's as
  8877. possible (which is still too many).
  8878. 2007-01-07 Jonathan Pobst <[email protected]>
  8879. * Control.cs: Implement SizeFromClientSize() [2.0].
  8880. 2007-01-07 Everaldo Canuto <[email protected]>
  8881. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  8882. use Theme.BorderSize to calculate area instead of static value 1,
  8883. by the way use new BorderStaticSize instead Border3DSize when
  8884. border_static is true. Fixes #79537.
  8885. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  8886. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  8887. it is not needed.
  8888. 2007-01-06 Everaldo Canuto <[email protected]>
  8889. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  8890. 2007-01-06 Everaldo Canuto <[email protected]>
  8891. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  8892. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  8893. * Hwnd.cs:
  8894. - border_static field added, it will used to define when a control
  8895. theres 3D border but it must be static (thin).
  8896. - In GetWindowRectangle use Theme.BorderSize to calculate area
  8897. instead of static value 1, by the way use new BorderStaticSize instead
  8898. Border3DSize when border_static is true.
  8899. * XplatUIX11.cs, XplatUIOSX.cs:
  8900. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  8901. * Theme.cs: BorderStaticSize field added.
  8902. 2007-01-05 Everaldo Canuto <[email protected]>
  8903. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  8904. 2007-01-05 Everaldo Canuto <[email protected]>
  8905. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  8906. mimic same behavior than win32 that set border only in CreateParams,
  8907. it fix problems under CreateParams overrides. Fix #79442 and partial
  8908. fix #79537.
  8909. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  8910. of thi control you must call recreate handle.
  8911. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  8912. need to do anything as RecreateHangle will take care about borders.
  8913. 2007-01-05 Mike Kestner <[email protected]>
  8914. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  8915. cycles between the ItemControl and parent. Fixes #80388.
  8916. 2007-01-05 Gert Driesen <[email protected]>
  8917. * Control.cs: Lazy init layout engine. Do not directly use
  8918. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  8919. 2007-01-05 Chris Toshok <[email protected]>
  8920. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  8921. unless our list manager has changed (i.e. unless we have reason to
  8922. believe our columns have changed). Fixes #80422.
  8923. also, disable the call do BindColumns in
  8924. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  8925. 1.1 the event isn't raised in response to a column addition on a
  8926. table.)
  8927. 2007-01-05 Jonathan Pobst <[email protected]>
  8928. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  8929. that inheritors can not call it if they choose. Fixes bug #80456.
  8930. 2007-01-05 Andreia Gaita <[email protected]>
  8931. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  8932. doesn't blow up with a null exception on marshalling.
  8933. 2007-01-05 Jonathan Pobst <[email protected]>
  8934. * Control.cs: Implement several 2.0 protected properties and methods.
  8935. Ensure that all necessary events are being called when properties
  8936. are set.
  8937. 2007-01-05 Mike Kestner <[email protected]>
  8938. * ListView.cs: implement PgUp/PgDn for Details view. Also
  8939. fixes First/LastVisibleIndex to use the item_control.ClientRect
  8940. instead of the parent control. Fixes #80378.
  8941. 2006-01-05 Atsushi Enomoto <[email protected]>
  8942. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  8943. determine whether to use yard-pound or not (bug #78399).
  8944. 2006-01-04 Alexander Olk <[email protected]>
  8945. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  8946. problems. So it is time to bring back the old popupbutton colors.
  8947. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  8948. * ColumnHeader.cs:
  8949. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  8950. property by using the internal information of the
  8951. columns order in ListView.
  8952. 2007-01-04 Jonathan Pobst <[email protected]>
  8953. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  8954. Add 2.0 Tag properties.
  8955. * LinkArea.cs: Add 2.0 ToString method.
  8956. 2007-01-03 Chris Toshok <[email protected]>
  8957. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  8958. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  8959. when we're editing, which fixes #80047.
  8960. 2007-01-03 Chris Toshok <[email protected]>
  8961. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  8962. #80404.
  8963. 2007-01-03 Jonathan Pobst <[email protected]>
  8964. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  8965. property and implementation.
  8966. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  8967. for MdiWindowListItem property.
  8968. * ToolStripDropDown.cs: Don't consider hidden menu items while
  8969. laying out the menu.
  8970. 2007-01-03 Andreia Gaita <[email protected]>
  8971. * SendKeys.cs: window handle is not needed in win32, so just
  8972. get the active window for X after parsing keys and don't use
  8973. it when building the message; it is passed by parameter to the
  8974. Xplat method and used there to build the message instead. Also,
  8975. wait for events to be processed on SendWait, as opposed to Send,
  8976. which doesn't wait :) Playing with threads and Send() completely
  8977. hangs on ms.net, only SendWait() works.
  8978. XplatUIX11.cs
  8979. X11Display.cs: Check for valid window handle.
  8980. 2007-01-03 Jackson Harper <[email protected]>
  8981. * TextControl.cs: Need to prevent wrap calculations when replacing
  8982. text (this was there before i removed it accidently).
  8983. - Don't update the cursor during the positioning, just set it to
  8984. selection_start at the end of the operaion.
  8985. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8986. * Control.cs:
  8987. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  8988. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8989. * MonthCalendar.cs: Added Click and DoubleClick events again,
  8990. but this time they only hide Control's Click and DoubleClick.
  8991. 2007-01-03 Gert Driesen <[email protected]>
  8992. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  8993. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  8994. 2007-01-02 Jackson Harper <[email protected]>
  8995. * TextBoxBase.cs: We move the caret with the split now, so we
  8996. don't need to explicitly move the caret after splitting. This
  8997. fixes the caret bumping down an extra line on Enter.
  8998. 2007-01-02 Miguel de Icaza <[email protected]>
  8999. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  9000. 2.72).
  9001. * ScrollableControl.cs: Add Scroll event.
  9002. 2007-01-02 Mike Kestner <[email protected]>
  9003. * ListView.cs: one more try with help from [email protected]
  9004. to fix all hdr height padding codepaths. Fixes #80207.
  9005. 2007-01-02 Chris Toshok <[email protected]>
  9006. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  9007. setting it to the Control defaults anyway, and it being after the
  9008. Dock set was screwing up layout.
  9009. (set_Dock): don't short circuit out of setting base.Dock. Also,
  9010. no need to call UpdateStatusBar here, as it'll be re-layed out if
  9011. it needs to be.
  9012. 2007-01-02 Mike Kestner <[email protected]>
  9013. * ListView.cs: patch from [email protected] to add padding
  9014. to header height for width == -1. Fixes the rest of #80207.
  9015. 2007-01-02 Mike Kestner <[email protected]>
  9016. * ListView.cs: rework the mouse event forwarding everaldo added
  9017. to translate the coordinates to the parent control not
  9018. raise the parent events until after we've done our work. Hover
  9019. needs more work, in the case where HoverSelection is on, because
  9020. the item control receives more than one MouseHover per Enter
  9021. event, so we need to ensure only the "first" hover gets forwarded.
  9022. Opening a minor bug for that.
  9023. 2007-01-02 Gert Driesen <[email protected]>
  9024. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  9025. * ListControl.cs: Implemented AllowSelection property. Removed extra
  9026. tabs.
  9027. * ListBox.cs: Implemented AllowSelection property.
  9028. 2007-01-02 Everaldo Canuto <[email protected]>
  9029. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  9030. SelectedItem, it prevent for errors when you must disable item
  9031. before perform click. Fixes #80409.
  9032. 2007-01-02 Everaldo Canuto <[email protected]>
  9033. * MenuAPI.cs: Prevent second level and beyond submenus to close
  9034. until first level when move out side of popup.
  9035. 2007-01-02 Everaldo Canuto <[email protected]>
  9036. * MenuAPI.cs:
  9037. - Down submenu positin in three pixels.
  9038. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  9039. 2007-01-02 Everaldo Canuto <[email protected]>
  9040. * ThemeWin32Classic.cs:
  9041. - Fix popup menu size adding one pixel on the top.
  9042. - Down menu item border from two to one to mimic Win32.
  9043. - Some source identation fixes.
  9044. 2007-01-01 Everaldo Canuto <[email protected]>
  9045. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  9046. position of menu arrows, it fix wrong arrow size.
  9047. 2007-01-01 Everaldo Canuto <[email protected]>
  9048. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  9049. instead of line, it simplify draw operation and fix it using 3D
  9050. borders to mimic Win32.
  9051. 2007-01-01 Jonathan Pobst <[email protected]>
  9052. * StatusStrip.cs: Add implementation of the sizing grip.
  9053. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  9054. StatusStrip rendering.
  9055. 2006-12-31 Chris Toshok <[email protected]>
  9056. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  9057. override the layout style (anchor/dock) of the control. assign to
  9058. Dock instead. Fixes bug #80416.
  9059. * ToolStrip.cs: same.
  9060. 2006-12-31 Andreia Gaita <[email protected]>
  9061. * ContainerControl.cs: Use ContainerSelected flag to check if
  9062. a Container is directly selected, or if Select is called on a
  9063. non-container. If a container is directly selected, focus events
  9064. should not be raised.
  9065. Apply #80411 patch to throw exception on set_ActiveControl if
  9066. control is the same as the current one.
  9067. * Control.cs: Use ContainerSelected flag (see above).
  9068. Add invalidation check to raise event but not invalidate if
  9069. dimensions are 0.
  9070. Apply #80411 patch.
  9071. 2006-12-31 Everaldo Canuto <[email protected]>
  9072. * MenuAPI.cs: After click, dont close popup menu when menu is
  9073. ContextMenu. Fixes #80399.
  9074. 2006-12-30 Chris Toshok <[email protected]>
  9075. * ContainerControl.cs: make sure we throw the exception if the
  9076. container control doesn't contain the control we're setting
  9077. ActiveControl to.
  9078. 2006-12-30 Chris Toshok <[email protected]>
  9079. * Control.cs (SetTopLevel): fix the exception raised by
  9080. SetTopLevel for child controls.
  9081. (set_Anchor): call UpdateDistances when setting the anchor type.
  9082. This fixes bug #80336.
  9083. 2006-12-29 Gert Driesen <[email protected]>
  9084. * Theme.cs: For now, revert back to 8pt font.
  9085. 2006-12-29 Everaldo Canuto <[email protected]>
  9086. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  9087. Fixes #80395.
  9088. 2006-12-29 Chris Toshok <[email protected]>
  9089. * Control.cs: reorder the code in OnResize to give the same event
  9090. ordering as MS.
  9091. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  9092. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  9093. TileHorizontally and TileVertically.
  9094. 2006-12-29 Alexander Olk <[email protected]>
  9095. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  9096. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  9097. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  9098. Corrected copyright and email adress.
  9099. 2006-12-29 Gert Driesen <[email protected]>
  9100. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  9101. of Exception in FullPath property if no TreeView is associated with
  9102. the TreeNode.
  9103. 2006-12-29 Gert Driesen <[email protected]>
  9104. * Theme.cs: Marked default_font as private, and initialize it in ctor
  9105. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  9106. on 2.0 profile.
  9107. * ThemeGtk.cs: Removed default_font intialization.
  9108. * ThemeWin32Classic.cs: Removed default_font initialization.
  9109. 2006-12-28 Chris Toshok <[email protected]>
  9110. * Control.cs: fix a couple of place where we were creating handles
  9111. more aggressively than we should be. Fixes ControlRefresh unit
  9112. tests.
  9113. 2006-12-28 Chris Toshok <[email protected]>
  9114. * Control.cs: contrary to what the comment said, Control.Dock does
  9115. not supercede Control.Anchor - the last one you assign to decides
  9116. the layout behavior. so we need to keep track of which was the
  9117. last set. Also, fix some of the affected property arguments in
  9118. PerformLayout calls, and remove an redundant parent.PerformLayout
  9119. call in OnResized.
  9120. Add a VisibleInternal property, which returns is_visible. We
  9121. can/should get rid of all the usage of this field elsewhere.
  9122. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  9123. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  9124. control style, not DoubleBuffer. Added UseDoubleBuffering property
  9125. that indicates whether doublebuffering is enabled and supported.
  9126. (comment from and code based on Gert Driesen's patch in #80324).
  9127. Fixes #80324.
  9128. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  9129. * Control.cs: Fixed a NRE.
  9130. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  9131. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  9132. for 2.0.
  9133. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  9134. * Control.cs: Rewrote double buffering, now a seperate
  9135. class handles all the buffering, no Graphics is disposed of
  9136. until the painting is finished (earlier implementation
  9137. would crash if the control was resized in the OnPaint,
  9138. since it would cause the double buffer to be recreated
  9139. and the old one disposed), a separate Graphics is
  9140. created for every paint (MS behaviour and anyways the state
  9141. of the Graphics would have to be saved and restored otherwise)
  9142. * XplatUIDriver.cs:
  9143. * XplatUIX11.cs:
  9144. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  9145. so that we can get the graphics for the back buffer without
  9146. having to create a new one and remove the offscreen_dc parameter
  9147. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  9148. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  9149. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  9150. Also make virtual all the key-related methods.
  9151. * ListViewItem.cs: Make virtual the key related methods for
  9152. ListViewSubItemCollection.
  9153. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  9154. * ListView.cs:
  9155. * ListViewItem.cs:
  9156. * ThemeWin32Classic.cs:
  9157. * Theme.cs: Initial support for Tile view in ListView,
  9158. as well as the implementation of the required bits for it (Item
  9159. and Subitem).
  9160. 2006-12-27 Gert Driesen <[email protected]>
  9161. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  9162. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  9163. Provide useful exception messages.
  9164. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  9165. * TrackBar.cs: Remove a warning.
  9166. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  9167. when used by DateTimePicker, fixes #80287. This also requires that
  9168. MonthCalendar implements it's own drawing for the yearly updown control,
  9169. otherwise the Capture tracking would be too complicated. Removed the Click
  9170. and DoubleClick events (according to comments they were hiding the base class
  9171. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  9172. raise these events, not that they cannot be raised. It is possible to raise
  9173. them by calling OnClick and OnDoubleClick). Added two internal fields in
  9174. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  9175. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  9176. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  9177. event, no longer needed.
  9178. 2006-12-27 Gert Driesen <[email protected]>
  9179. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  9180. true if new value differs from current value.
  9181. 2006-12-27 Gert Driesen <[email protected]>
  9182. * Control.cs: ControlCollection.Count must be public. Fixed build of
  9183. unit tests.
  9184. 2006-12-27 Gert Driesen <[email protected]>
  9185. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  9186. 2006-12-27 Gert Driesen <[email protected]>
  9187. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  9188. 2006-12-26 Everaldo Canuto <[email protected]>
  9189. * Control.cs: Invalidates control including when Width and Height is
  9190. equal zero or is not visible, only Paint event must be care about
  9191. this. Fixes #79913.
  9192. 2006-12-26 Chris Toshok <[email protected]>
  9193. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  9194. more corcompare work.
  9195. * DataGridView.cs: fix compiler warning.
  9196. * ColumnHeader.cs: some corcompare work, and also take the
  9197. opportunity to make the internal fields private.
  9198. * ListView.cs: fix the fallout from the above field change.
  9199. 2006-12-26 Jonathan Pobst <[email protected]>
  9200. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  9201. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  9202. ToolStripTextBox.cs: Fixes to events and corcompare.
  9203. 2006-12-26 Everaldo Canuto <[email protected]>
  9204. * ListView.cs: Call owner.OnMousexx event to propagate events from
  9205. item to ListView. Fixes #80367.
  9206. 2006-12-26 Gert Driesen <[email protected]>
  9207. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  9208. if value is less than one. ItemHeight should not be set to a value
  9209. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  9210. Removed extra tabs.
  9211. 2006-12-26 Jonathan Pobst <[email protected]>
  9212. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  9213. * ToolStripStatusLabel.cs: Add Spring for Moma.
  9214. 2006-12-26 Gert Driesen <[email protected]>
  9215. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  9216. Fixed code formatting. Removed debug code.
  9217. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  9218. 2006-12-26 Gert Driesen <[email protected]>
  9219. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  9220. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  9221. ArgumentOutOfRangeException if ColumnCount is negative. In
  9222. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  9223. less than 4 or higher than 32768.
  9224. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  9225. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  9226. Fixed IsFormatProviderDefault to return true if FormatProvider has
  9227. not been explicitly set.
  9228. 2006-12-25 Chris Toshok <[email protected]>
  9229. * Application.cs: add a couple of 2.0 events.
  9230. 2006-12-25 Chris Toshok <[email protected]>
  9231. * Control.cs: fix compiler warning.
  9232. * AxHost.cs: corcompare fixes.
  9233. * ApplicationContext.cs: corcompare fixes.
  9234. 2006-12-25 Chris Toshok <[email protected]>
  9235. * Control.cs: only update dist_right/dist_bottom if the
  9236. width/height is > 0. this fixes anchored controls being resized
  9237. smaller until they disappear and then resized larger again.
  9238. 2006-12-25 Chris Toshok <[email protected]>
  9239. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  9240. since they're nothing more than X/Left and Y/Top, respectively.
  9241. Also, move back to a per-control Bitmap/Graphics for
  9242. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  9243. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  9244. Height.
  9245. 2006-12-25 Miguel de Icaza <[email protected]>
  9246. * MessageBox.cs: Implemented overload that takes a new "bool
  9247. displayHelpButton" by adding a new internal field "show_help".
  9248. When clicked this will raise the HelpRequested on the owner or the
  9249. main form.
  9250. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  9251. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  9252. * ListView.cs: Add support ColumnWidthChanged and
  9253. ColumnWidthChanging.
  9254. Add support for ColumnReordered event.
  9255. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  9256. reorder.
  9257. Very nice codebase!
  9258. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  9259. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  9260. 2006-12-24 Chris Toshok <[email protected]>
  9261. * GridTablesFactory.cs: 2.0 corcompare work.
  9262. * ToolStripContainer.cs: add "override" to
  9263. ContextMenuStripChanged, and remove the local event object.
  9264. * ToolStripDropDown.cs: same with a couple properties.
  9265. * ToolStripPanel.cs: same with AutoSizeChanged event.
  9266. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  9267. * Form.cs: add the remaining 2.0 events, and do some corcompare
  9268. attribute work.
  9269. * DateTimePicker.cs: add "new" to padding.
  9270. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  9271. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  9272. * DataGridView.cs: PaddingChanged is overridden.
  9273. 2006-12-24 Chris Toshok <[email protected]>
  9274. * Control.cs: corecompare work here too.
  9275. * DataGridViewElement.cs, DataGridView.cs,
  9276. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  9277. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  9278. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  9279. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  9280. work.
  9281. 2006-12-24 Miguel de Icaza <[email protected]>
  9282. * Control.cs: Switched the error message on the console for a
  9283. todo. A review of the code will have to cope with this anyways
  9284. (since its a large feature, it is in our radar) and it was
  9285. producing too much output when running PDN.
  9286. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  9287. changes. Applications depend on this (PDN 2.72)
  9288. 2006-12-23 Chris Toshok <[email protected]>
  9289. * TableLayoutSettings.cs: finish up the corcompare work for this
  9290. class.
  9291. 2006-12-23 Chris Toshok <[email protected]>
  9292. * Control.cs: make SetImplicitBounds internal, do some futzing
  9293. with LayoutEngine so that it's available in 1.1, and remove the
  9294. entire duplicated code mess from PerformLayout. Use
  9295. System.Windows.Forms.Layout.DefaultLayout instead.
  9296. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  9297. 2006-12-23 Jonathan Pobst <[email protected]>
  9298. * Form.cs: Add MainMenuStrip property.
  9299. 2006-12-23 Jonathan Pobst <[email protected]>
  9300. * Control.cs: Add ContextMenuStrip property and implementation.
  9301. Fix ContextMenu implementation to show menu centered on control when
  9302. activated using the keyboard instead of showing at screen (0,0).
  9303. * ToolStripDropDown.cs: Fix needed overload of Show ().
  9304. 2006-12-23 Everaldo Canuto <[email protected]>
  9305. * Menu.cs: Name property added for 2.0 profile.
  9306. 2006-12-23 Everaldo Canuto <[email protected]>
  9307. * Menu.cs: Update information about FindMenuItem, method to be
  9308. implemented soon.
  9309. 2006-12-23 Everaldo Canuto <[email protected]>
  9310. * MenuAPI.cs: When deselect items deselect also selected subitems.
  9311. 2006-12-23 Everaldo Canuto <[email protected]>
  9312. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  9313. FindSubItemByCoord to found itens that is not active, also an
  9314. cheking added to FindSubItemByCoord to search for items only
  9315. in visible popup windows. Fixes #80274.
  9316. 2006-12-22 Everaldo Canuto <[email protected]>
  9317. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  9318. internal property, it be care about change ExStyle.
  9319. 2006-12-22 Andreia Gaita <[email protected]>
  9320. * ContainerControl.cs: set activeControl for parent forms up the
  9321. tree when the new activecontrol is a container.
  9322. When validating the active control, if it is a container, also
  9323. raise up the validation for it's active control. Fixes #80280
  9324. * Control.cs: Add internal property flag and check to prevent
  9325. Focus events from getting raised when Select() is called for
  9326. a ContainerControl. There are still too many focus events being
  9327. raised at the moment though.
  9328. Cleaned up the code a bit.
  9329. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  9330. * Control.cs: Added all missing 2.0 events.and
  9331. fixed a couple of corcompare issues.
  9332. * TrackBar.cs: Implemented missing 2.0 bits.
  9333. * MonthCalendar.cs,
  9334. * DateTimePicker.cs,
  9335. * MdiClient.cs: Fixed some corcompare issues.
  9336. 2006-12-21 Jonathan Pobst <[email protected]>
  9337. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  9338. SplitterPanel.cs: corecompare work.
  9339. 2006-12-21 Jonathan Pobst <[email protected]>
  9340. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  9341. Clean up warnings for BackgroundImageChanged and PaddingChanged
  9342. events now that they are implemented in Control.cs.
  9343. 2006-12-21 Jonathan Pobst <[email protected]>
  9344. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  9345. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  9346. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  9347. of TableLayoutPanel and supporting cast.
  9348. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  9349. * XplatUIWin32.cs:
  9350. - GrabWindow now confines the mouse pointer to the confine window.
  9351. - Added Win32ClipCursor and Win32GetClipCursor.
  9352. * Control.cs:
  9353. - Added CaptureWithConfine to be able to capture and confine
  9354. mouse pointer.
  9355. * InternalWindowManager.cs:
  9356. - Call CaptureWithConfine instead of Capture if we're an
  9357. MdiChild (fixes #79982).
  9358. 2006-12-21 Chris Toshok <[email protected]>
  9359. * DataGrid.cs: guard against the initial state of selection, where
  9360. selection_start == -1. make sure we only select from index >= 0.
  9361. Fixes bug #80291.
  9362. 2006-12-21 Chris Toshok <[email protected]>
  9363. * Control.cs: we don't need to be so draconian with
  9364. UpdateDistances, and we thusly don't need to call it before
  9365. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  9366. 2006-12-21 Daniel Nauck <[email protected]>
  9367. * ComboBox.cs,
  9368. TextBox.cs: Implemented AutoComplete properties.
  9369. 2006-12-20 Chris Toshok <[email protected]>
  9370. * DataGridView*.cs: some corecompare work.
  9371. 2006-12-20 Jackson Harper <[email protected]>
  9372. * XplatUIX11.cs: We need to hide the caret when deleting it,
  9373. otherwise you get carets left lying around everywhere.
  9374. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  9375. prevents getting some weird half drawn caret tracers when
  9376. scrolling.
  9377. * TextControl.cs: Attempt to reduce the number of times we need to
  9378. recreate the caret.
  9379. 2006-12-20 Gert Driesen <[email protected]>
  9380. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  9381. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  9382. * DateTimePicker.cs:
  9383. - Implemented missing 2.0 bits.
  9384. - Changed some default values to match MS.
  9385. 2006-12-20 Jackson Harper <[email protected]>
  9386. * TextBoxBase.cs: When changing the font across the document we
  9387. can't recalculate after changing each line, since that will cahnge
  9388. the line count.
  9389. - PreferredHeight is a little different than i thought.
  9390. - When backspacing, move the caret before we do the actual char
  9391. delete, because when that delete crosses a wrap boundary the
  9392. positional information will change.
  9393. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  9394. * Control.cs: Added some missing 2.0 bits:
  9395. BackgroundImageLayout, BackgroundImageLayoutChanged,
  9396. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  9397. add IBindableComponent and IDropTarget implementation.
  9398. * MonthCalendar.cs:
  9399. - Added all missing 2.0 features:
  9400. BackgroundImageLayout, RightToLeftLayout,
  9401. OnHandleDestroyed, RightToLeftLayoutChanged,
  9402. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  9403. PaddingChanged.
  9404. - Rewrote all the BoldDate code, it was completely broken.
  9405. - Fixed all the tests (the tests can now be re-enabled, the
  9406. problems were not with the tests, but with the control, it was
  9407. mostly broken).
  9408. * DateTimePicker.cs: Changed the location where the
  9409. MonthCalendar is shown.
  9410. 2006-12-19 Chris Toshok <[email protected]>
  9411. * DataGridView.cs: add IDropTarget implementation.
  9412. * ToolStripPanel.cs: add IDropTarget implementation.
  9413. 2006-12-19 Jackson Harper <[email protected]>
  9414. * TextControl.cs: soft now means something different than what it
  9415. used to mean, we want to move the caret regardless of whether or
  9416. not this break was soft (would we really have wanted the caret
  9417. to not move with the break in the old context?)
  9418. * TreeView.cs: Make sure we factor in the vert scrollbar when
  9419. calculating the horizontal scrollbar's maximum.
  9420. 2006-12-19 Andreia Gaita <[email protected]>
  9421. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  9422. check for keywords in alternate casing, close bug #80049.
  9423. 2006-12-19 Chris Toshok <[email protected]>
  9424. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  9425. methods (which all do nothing).
  9426. * IDropTarget.cs: add the 4 missing methods.
  9427. 2006-12-19 Chris Toshok <[email protected]>
  9428. * TableLayoutRowStyleCollection.cs: corcompare work.
  9429. * TableLayoutSettings.cs: same.
  9430. * TableLayoutStyle.cs: same.
  9431. * TableLayoutColumnStyleCollection.cs: same.
  9432. 2006-12-19 Jonathan Pobst <[email protected]>
  9433. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  9434. TableLayoutPanel I've had in my local tree for way too long.
  9435. 2006-12-19 Miguel de Icaza <[email protected]>
  9436. * TableLayoutSettings.cs: Finish the public API (still needs all
  9437. the logic to update on changes).
  9438. * TableLayoutPanelCellPosition.cs: new file.
  9439. * TableLayoutRowStyleCollection.cs,
  9440. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  9441. TableLayoutSettings.cs: Track the final 2.0 table api.
  9442. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  9443. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  9444. and Image List 2.0 members for ColummnHeader.
  9445. * ListView.cs: Add key-related 2.0 methods for
  9446. ColumnHeaderCollection.
  9447. 2006-12-19 Gert Driesen <[email protected]>
  9448. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  9449. ArgumentNullException if items argument is null. Ignore null item in
  9450. arrays. Removed extra tabs.
  9451. 2006-12-19 Gert Driesen <[email protected]>
  9452. * MonthCalendar.cs: Fixed InvalidCastException.
  9453. 2006-12-19 Jackson Harper <[email protected]>
  9454. * TextControl.cs: Don't increment the position here.
  9455. - When calculating char positions only add in the line break size
  9456. for hard line breaks.
  9457. 2006-12-19 Andreia Gaita <[email protected]>
  9458. * SendKeys.cs: Changed some things to match ms.net behaviour
  9459. when parsing shifted capital letters.
  9460. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  9461. Add window handle as parameter to SendInput. X11 needs the
  9462. window handle, and the handle being passed to it in the keys
  9463. queue is the active control handle (which windows needs), not
  9464. the window handle.
  9465. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  9466. to support SendKeys on X.
  9467. * X11Keyboard: Implement helper method to lookup a linux keycode
  9468. given the virtual keycode. Added table of keycode-2-virtualkey
  9469. values to support this.
  9470. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  9471. * ListView.cs: Add support for SelectedIndexCollection
  9472. and SelectedItemCollection 2.0 methods. Implement support
  9473. for ImageKey too.
  9474. * ListViewItem.cs: Add support for ListViewSubItemCollection
  9475. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  9476. (it shouldn't call Clear).
  9477. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  9478. 2006-12-19 Jackson Harper <[email protected]>
  9479. * RichTextBox.cs:
  9480. * TextBoxBase.cs: New args for FormatText
  9481. * TextControl.cs: Rewrote the main drawing method, this version
  9482. feels a little easier to understand and debug to me. Hopefully it
  9483. does to others also
  9484. - Fix FormatText to OR in the new formating values. Added
  9485. FormatSpecified param, basically this works in the same way as
  9486. BoundsSpecified in Control.
  9487. - Set the caret properties when the caret is positioned.
  9488. - When wrapping text make sure that we calculate the width of the
  9489. last character
  9490. - when calculating alignments we might have wrapped down to the
  9491. next line, so don't search for an individual tag, search for the
  9492. end of the line
  9493. - We need to invalidate the selection area when we replace the
  9494. selection.
  9495. 2006-12-19 Daniel Nauck <[email protected]>
  9496. * Application.cs: add Restart () 2.0 support
  9497. 2006-12-18 Everaldo Canuto <[email protected]>
  9498. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  9499. property. Fixes #80268.
  9500. 2006-12-18 Everaldo Canuto <[email protected]>
  9501. * MenuAPI.cs: Dont trigger select event when closes top menu
  9502. item. Fixes #80270.
  9503. 2006-12-18 Everaldo Canuto <[email protected]>
  9504. * MenuAPI.cs: When you click on menuitem only trigger onselect
  9505. event for top menu itens. Fixes #80271.
  9506. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  9507. * MdiWindowManager.cs: Make IconicBounds depend on
  9508. the bottom of MdiClient, not the top (fixes #80267)
  9509. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  9510. * MdiClient.cs: Added missing 2.0 attribute
  9511. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  9512. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  9513. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  9514. 2006-12-18 Everaldo Canuto <[email protected]>
  9515. * MenuAPI.cs: Fix click when menuitem is not popup,
  9516. this regression was caused by last commit (#80272).
  9517. 2006-12-17 Everaldo Canuto <[email protected]>
  9518. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  9519. fire click event or close menu. Fixes #80272.
  9520. 2006-12-17 Daniel Nauck <[email protected]>
  9521. * ListViewHitTestInfo.cs: add
  9522. 2006-12-17 Daniel Nauck <[email protected]>
  9523. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  9524. * FlatButtonAppearance.cs: add
  9525. * DockingAttribute.cs: add
  9526. 2006-12-17 Chris Toshok <[email protected]>
  9527. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  9528. and rebind our columns when it does - this way, if you make
  9529. changes to the DataTable (or set the Table attribute on a DataView
  9530. after setting it as the DataGrid's DataSource, the changes are
  9531. made visible.) Fixes bug #80107.
  9532. 2006-12-17 Daniel Nauck <[email protected]>
  9533. * ListViewGroup.cs: add internal Location property for layouting.
  9534. * Theme.cs: add abstract ListViewGroupHeight function.
  9535. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  9536. 2006-12-16 Andreia Gaita <[email protected]>
  9537. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  9538. Added reset of selected index to 0 when adding first tab page.
  9539. Fixes #80264
  9540. * NumericUpDown.cs: Fix NET_2_0 check
  9541. 2006-12-16 Daniel Nauck <[email protected]>
  9542. * ListViewGroup.cs: fixed DefaultValueAttribute value
  9543. 2006-12-16 Daniel Nauck <[email protected]>
  9544. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  9545. 2006-12-15 Miguel de Icaza <[email protected]>
  9546. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  9547. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  9548. ScrollableControl.cs: Add a handful of methods that are
  9549. overwritten in 2.0
  9550. 2006-12-15 Chris Toshok <[email protected]>
  9551. * XplatUIWin32.cs: initial implementation of the Reversible
  9552. drawing functions. there are some problems. DrawReversibleFrame
  9553. doesn't seem to work at all for Dashed FrameStyle, and in the
  9554. Thick case there are drawing errors at the corners (we probably
  9555. need to bind Rectangle instead of doing moveto/lineto's.)
  9556. 2006-12-16 Andreia Gaita <[email protected]>
  9557. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  9558. to send blocks of key messages. Send accumulates keys to send with Flush,
  9559. while SendWait sends all keys immediately.
  9560. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9561. XplatUIX11.cs, XplatUIX11-new.cs:
  9562. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  9563. to Win32 SendInput.
  9564. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  9565. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  9566. testing for ms.net on this class is very tricky, as the tests run too fast
  9567. to allow the hook to release, essentially freezing the keyboard and the
  9568. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  9569. category :p
  9570. 2006-12-16 Daniel Nauck <[email protected]>
  9571. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  9572. added missing attributes.
  9573. 2006-12-15 Daniel Nauck <[email protected]>
  9574. * ListViewGroup.cs: Added missing attributes.
  9575. * ListViewGroupCollection.cs: Added missing attributes.
  9576. 2006-12-15 Daniel Nauck <[email protected]>
  9577. * ListViewItem.cs: fixed ListViewSubItem text property.
  9578. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9579. * Control.cs: Added missing 2.0 attributes
  9580. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9581. * MdiClient.cs: Added missing 2.0 attribute.
  9582. * MonthCalendar.cs: Added some missing 2.0 attributes
  9583. and properties.
  9584. 2006-12-15 Daniel Nauck <[email protected]>
  9585. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  9586. 2006-12-15 Jonathan Pobst <[email protected]>
  9587. * MainMenu.cs: Add the new 2.0 constructor to help out people
  9588. using the MainMenu in VS2005.
  9589. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9590. * MdiChildContext.cs: Removed it, no longer used.
  9591. * MdiClient.cs: Added missing 2.0 attributes.
  9592. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9593. * InternalWindowManager.cs: Fix a NullRef with previous
  9594. changes for toolwindows.
  9595. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9596. * Control.cs:
  9597. - Added AfterTopMostControl to allow for certain controls
  9598. to always stay on top when normal controls are brought to
  9599. front.
  9600. * XplatUIWin32.cs:
  9601. - (DrawInversibleRectangle): Get window rectangle from Win32
  9602. in stead of from control, since Win32 doesn't calculate
  9603. screen coords correctly from control's Location if it
  9604. have docked siblings.
  9605. * MdiWindowManager.cs:
  9606. - Correct the control menu popup location when clicked on
  9607. the maximized form icon. (fixes #80223.1)
  9608. - Don't show moving rectangle if mouse hasn't moved from
  9609. the original clicked point.
  9610. - Removed FormGotFocus handler (not used).
  9611. - Calculate the control buttons location from the main
  9612. window's size and not client size (fixes #79770).
  9613. - Form is now closed when the form icon is double-clicked
  9614. (fixes #79775).
  9615. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  9616. * InternalWindowManager.cs:
  9617. - Moved some MDI-only methods to MdiWindowManager.
  9618. - Removed unused properties and methods.
  9619. - Unified method naming for methods handling wm messages.
  9620. - Moved all message handling to seperate methods for
  9621. each message.
  9622. * ThemeWin32Classic.cs:
  9623. - DrawManagedWindowDecorations now draws the title bar
  9624. with a gradient brush.
  9625. - Add a CPDrawButtonInternal that allows us to specify
  9626. light, normal and dark colors for the buttons (control
  9627. buttons for MDI children were drawn with the same light
  9628. color as the background, therefore loosing the 3D effect).
  9629. * SizeGrip.cs:
  9630. - Add a CapturedControl property that is used to
  9631. determine the control to resize (defaults to parent).
  9632. Needed for MdiClient, since its SizeGrip's parent is
  9633. MdiClient, but the control to resize is the main form.
  9634. * MdiClient.cs:
  9635. - Set SizeGrip's CapturedControl to the main form in order
  9636. to resize the main form and not the MdiClient.
  9637. - Override AfterTopMostControl to leave the scrollbars
  9638. always on top.
  9639. 2006-12-15 Daniel Nauck <[email protected]>
  9640. * ListView.cs: fixed ListViewItemCollection AddRange and
  9641. implemented ListViewItemCollection AddRange 2.0 support.
  9642. 2006-12-15 Daniel Nauck <[email protected]>
  9643. * ListViewGroup.cs: Add.
  9644. * ListViewGroupCollection.cs: Add
  9645. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  9646. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  9647. stub for ImageKey 2.0 support.
  9648. 2006-12-14 Mike Kestner <[email protected]>
  9649. * ListView.cs: add text padding to the autocalculation for columns
  9650. of width -2. Fixes #80207.
  9651. 2006-12-14 Mike Kestner <[email protected]>
  9652. * ListView.cs: add some index guarding for partial row navigation
  9653. logic. Fixes #80250.
  9654. 2006-12-14 Mike Kestner <[email protected]>
  9655. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  9656. are added or inserted to the collection. Fixes #81099.
  9657. 2006-12-13 Everaldo Canuto <[email protected]>
  9658. * MenuAPI.cs: Closes menu when right click out side of popup
  9659. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  9660. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  9661. * ListViewItem.cs: Fix dumb error.
  9662. * ListView.cs: Add Find and ContainsKey methods in
  9663. ListViewItemCollection, and also return true for IsReadOnly
  9664. and IsFixedSize (changes for 2.0).
  9665. 2006-12-13 Gert Driesen <[email protected]>
  9666. * Control.cs: Allow Region to be set to null.
  9667. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  9668. * MdiWindowManager.cs: Remove unused (commented out) code.
  9669. * Form.cs: When the MdiChild is maximized, the form needs
  9670. WM_NCMOUSELEAVE, so request it.
  9671. * InternalWindowManager.cs:
  9672. - Added tooltips to control buttons.
  9673. - Removed duplicated control button handling code.
  9674. - Removed unused (commented out) code.
  9675. 2006-12-12 Everaldo Canuto <[email protected]>
  9676. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  9677. was used because we must set cursor without trigger ChangeCursor event
  9678. and without change Cursor control property. Fixes #79963.
  9679. 2006-12-12 Andreia Gaita <[email protected]>
  9680. * Control.cs: Check if Region setter value is null, and ignore
  9681. 2006-12-12 Jackson Harper <[email protected]>
  9682. * TextControl.cs: We were almost always drawing one more line then
  9683. needed, since the GetLineByPixel will return the last line found
  9684. at that pixel. In most cases though, we were invalidating up to
  9685. the junction between two lines.
  9686. - Improve debug code.
  9687. 2006-12-12 Chris Toshok <[email protected]>
  9688. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  9689. and FillReversibleRectangle.
  9690. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  9691. and FillReversibleRectangle.
  9692. * XplatUIWin32.cs: add stubs which do nothing for
  9693. DrawReversibleFrame, DrawReversibleLine, and
  9694. FillReversibleRectangle.
  9695. * XplatUIOSX.cs: add stubs which raise NIE for
  9696. DrawReversibleFrame, DrawReversibleLine, and
  9697. FillReversibleRectangle.
  9698. * XplatUIX11.cs: add working implementation for
  9699. DrawReversibleFrame, DrawReversibleLine, and
  9700. FillReversibleRectangle.
  9701. * ControlPaint.cs: implement DrawReversibleFrame,
  9702. DrawReversibleLine, and FillReversibleRectangle, by calling into
  9703. the appropriate XplatUI method.
  9704. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9705. * Form.cs: Make MdiClient have the focus even if it's
  9706. not selectable, since it should receive WM_KEY* and WM_MOUSE
  9707. messages. Fixes #79907.
  9708. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9709. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  9710. queried after the window is created.
  9711. * XplatUIX11.cs: Added SendParentNotify to implement
  9712. WM_PARENTNOTIFY logic. Fixes #79965.
  9713. * Control.cs: Added MakeParam.
  9714. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9715. * MdiClient.cs: Resume Layout before setting window
  9716. states (fixes #80201).
  9717. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9718. * MenuAPI.cs: Deselect a menu item after performing
  9719. the click (fixes #80197).
  9720. 2006-12-11 Jackson Harper <[email protected]>
  9721. * TextBoxBase.cs: We need to cap this value, since Maximum -
  9722. ViewPortHeight can be less than zero.
  9723. - Only do selection with the left mouse button.
  9724. * TextBox.cs: Don't tell the world that we have a context menu.
  9725. * Control.cs: New method so that we can control whether or not the
  9726. context menu is visible outside MWF.
  9727. 2006-12-11 Everaldo Canuto <[email protected]>
  9728. * ToolBarButton.cs: Fix text positon.
  9729. 2006-12-11 Miguel de Icaza <[email protected]>
  9730. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  9731. * Control.cs (DoubleBuffered): Add implementation.
  9732. * Application.cs (OpenForms): Add.
  9733. 2006-12-11 Jonathan Pobst <[email protected]>
  9734. * Form.cs: Use opacity instead of Opactiy to determine if we need
  9735. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  9736. 2006-12-11 Jonathan Pobst <[email protected]>
  9737. * Control.cs: Fix NRE if Control.Site was set to null.
  9738. 2006-12-11 Chris Toshok <[email protected]>
  9739. * Control.cs: ControlCollection.Remove should return if the arg is
  9740. null, and ControlCollection.SetChildIndex should raise a ANE.
  9741. 2006-12-11 Gert Driesen <[email protected]>
  9742. * Control.cs: Verify value set for Dock property. Code formatting
  9743. updates.
  9744. 2006-12-11 Jackson Harper <[email protected]>
  9745. * TextControl.cs: Draw the caret and the selection when a flag is
  9746. set on the owner.
  9747. * TextBoxBase.cs: We want to draw the caret and the selection for
  9748. TextBox but not for TextBoxBase.
  9749. - If the window is resized and scrolling is no longer needed (the
  9750. whole doc is visible) set the scroll position to zero.
  9751. - The default SelectWord (the one TextBox uses) should move the
  9752. caret to the end of the word.
  9753. - SelectAll moves the caret to the end of the selection.
  9754. * TextBox.cs: We don't selectall on focus, we just do it when the
  9755. control is created.
  9756. 2006-12-11 Mike Kestner <[email protected]>
  9757. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  9758. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  9759. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  9760. 2.0 support.
  9761. * ListViewItem.cs: Add Name 2.0 property.
  9762. 2006-12-11 Andreia Gaita <[email protected]>
  9763. * TabControl.cs: Set visibility on selected or default tab
  9764. when tabcontrol handle is created, so that it's contents
  9765. actually show up (duh). Fixes #80193
  9766. Don't redraw the control if there is no handle created, as
  9767. the selected index might be completely invalid. Added some tests
  9768. to check for this.
  9769. 2006-12-11 Everaldo Canuto <[email protected]>
  9770. * ToolBar.cs: Uses maximun width and height of all buttons as
  9771. button rectangle when ButtonSize specified, it looks strange but
  9772. is what happens in Win32. Fixes #80189.
  9773. 2006-12-11 Jackson Harper <[email protected]>
  9774. * TextControl.cs: Need to track undo levels ourself, since
  9775. compound actions will mess them up.
  9776. 2006-12-10 Andreia Gaita <[email protected]>
  9777. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  9778. SelectedIndex value is changed (even if it's not valid).
  9779. Reset SelectedIndex to 0 when the handle is created and if
  9780. the current index is invalid.
  9781. Fixes SelectdeIndex unit tests and #80128
  9782. 2006-12-08 Chris Toshok <[email protected]>
  9783. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  9784. calls EndEdit, it needs to be called before we set current_cell to
  9785. its new value. Otherwise, we end up committing the value in the
  9786. textbox to the new cell as well. Fixes bug #80160.
  9787. 2006-12-08 Chris Toshok <[email protected]>
  9788. * Form.cs (set_CancelButton): if the button's DialogResult is
  9789. None, set it to Cancel. Fixes bug 80180.
  9790. 2006-12-08 Jackson Harper <[email protected]>
  9791. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  9792. to watch ourselves when setting the canvas size and setting the
  9793. scrollbar values.
  9794. 2006-12-08 Chris Toshok <[email protected]>
  9795. * DataGrid.cs: comment out the two MakeTransparent calls for the
  9796. time being so people using trunk (and not 1.2.2) on windows can
  9797. actually use the datagrid. This deals with bug #80151.
  9798. 2006-12-08 Jonathan Pobst <[email protected]>
  9799. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  9800. Graphics.DrawImage (image, int, int, int, int) overload instead
  9801. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  9802. the dpi difference and was blurring images it drew.
  9803. [Fixes bug #79960]
  9804. 2006-12-08 Chris Toshok <[email protected]>
  9805. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  9806. rowcnt is 0 (such as with an empty datasource), and make sure we
  9807. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  9808. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  9809. 2006-12-08 Chris Toshok <[email protected]>
  9810. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  9811. grid.
  9812. 2006-12-08 Chris Toshok <[email protected]>
  9813. [ Fixes bug #80167 ]
  9814. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  9815. style is FlatStyle.System.
  9816. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  9817. ButtonBase.flat_style private, and switch uses of it to the public
  9818. property.
  9819. 2006-12-08 Chris Toshok <[email protected]>
  9820. [ Fixes bug #80121 ]
  9821. * ThemeWin32Classic.cs: center the caption text in the datagrid
  9822. when we draw it.
  9823. * DataGrid.cs: lessen the amount we add to the caption height from
  9824. 6 to 2. 6 was making it huge.
  9825. 2006-12-08 Andreia Gaita <[email protected]>
  9826. * UpDownBase: Handle MouseWheel call directly instead of capturing
  9827. the inner textbox's OnMouseWheel. Fixes #80166
  9828. 2006-12-08 Jackson Harper <[email protected]>
  9829. * TextControl.cs: We need to invalidate the textbox when we empty
  9830. it (how had this not been discovered before?)
  9831. 2006-12-08 Jackson Harper <[email protected]>
  9832. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  9833. to behave like MS, we now ignore the eventargs.Click and just
  9834. track state ourself, which we were already doing anyways.
  9835. - Constrain the double click handler to the double click size.
  9836. 2006-12-08 Chris Toshok <[email protected]>
  9837. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  9838. direction if that scrollbar isn't shown. fixes bug #80158.
  9839. 2006-12-08 Andreia Gaita <[email protected]>
  9840. * NumericUpDown.cs: Update value on getter. Fixes #79950
  9841. 2006-12-08 Chris Toshok <[email protected]>
  9842. * MenuItem.cs: add back in the event cloning code. I didn't know
  9843. how to do it in the face of the EventHandlerList work i'd done
  9844. last week. Fixes bug #80183.
  9845. 2006-12-08 Jonathan Pobst <[email protected]>
  9846. * Control.cs: Add an invalidate to the BackgroundImage setter.
  9847. [Fixes 80184]
  9848. 2006-12-07 Jonathan Pobst <[email protected]>
  9849. * ToolStrip*: Add some small properties reported by MoMA, fix event
  9850. firing and default properties based off of unit tests, and add some
  9851. attributes based off of the class status page.
  9852. 2006-12-07 Jackson Harper <[email protected]>
  9853. * TextBoxBase.cs: Take HideSelection into account when determining
  9854. whether or not to show the selection.
  9855. * RichTextBox.cs: After inserting the RTF into the document move
  9856. the cursor to the beginning of the document.
  9857. 2006-12-07 Jonathan Pobst <[email protected]>
  9858. * Control.cs: Remove static ArrayList "controls" which maintained
  9859. a reference to every control created.
  9860. * Application.cs: Create a static FormCollection to maintain a reference
  9861. to every form created. Use it in places that formerly enumerated through
  9862. the controls one looking for forms.
  9863. * Form.cs: Add and remove self from above FormCollection.
  9864. 2006-12-07 Alexander Olk <[email protected]>
  9865. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  9866. not libgdk (though it makes me wonder why I didn't have any
  9867. problems)
  9868. 2006-12-07 Chris Toshok <[email protected]>
  9869. [ you had to know this was coming after that last commit...]
  9870. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  9871. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  9872. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  9873. XCopyArea).
  9874. 2006-12-07 Chris Toshok <[email protected]>
  9875. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  9876. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  9877. all the behavior we need for double buffering.
  9878. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  9879. client side Bitmap, just like the old Control-based double buffer
  9880. code did. The methods are virtual, so each XplatUI driver
  9881. subclass can replace the implementation to use a faster, platform
  9882. specific approach.
  9883. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  9884. double buffer code, and clean things up a bit in the process.
  9885. 2006-12-06 Chris Toshok <[email protected]>
  9886. * Control.cs: reindent WndProc.
  9887. 2006-12-06 Chris Toshok <[email protected]>
  9888. [ I wanna be like BenM when I grow up ]
  9889. * Hwnd.cs: create a single static Graphics object on the static
  9890. Bitmap we create. use this for our text measurements.
  9891. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  9892. This was causing us to allocate a backbuffer for every control,
  9893. even when it wasn't flagged as double buffered. Instead use the
  9894. single graphics instance. This might have implications for
  9895. multithreaded applications. If we run into problems we can switch
  9896. to creating 1 Graphics per control, on the static Hwnd bitmap.
  9897. this change nets us a 7M savings in private dirty mappings when
  9898. running FormsTest.exe.
  9899. 2006-12-06 Chris Toshok <[email protected]>
  9900. * ListView.cs: the BackgroundImage override is just to set
  9901. attributes. chain up to base.BackgroundImage.
  9902. * RichTextBox.cs: same.
  9903. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  9904. changes, so instead a handler for BackgroundImageChanged.
  9905. * Control.cs: make background_image private.
  9906. 2006-12-06 Chris Toshok <[email protected]>
  9907. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  9908. sure we even need this assignment, but roll with it for now.
  9909. * Control.cs: make the cursor field private.
  9910. 2006-12-06 Chris Toshok <[email protected]>
  9911. * Form.cs: we don't need to explicitly set ImeMode to
  9912. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  9913. behavior in the face of ImeMode.Inherit.
  9914. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  9915. change the ctor's assignment to use ImeMode instead of ime_mode.
  9916. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  9917. ImeModeInherit. Only check for the parent's imemode (and return
  9918. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  9919. This fixes the button unit test, which sets both ImeMode and
  9920. DefaultImeMode to ImeMode.Disable.
  9921. also make the ime_mode field private.
  9922. 2006-12-06 Chris Toshok <[email protected]>
  9923. * Control.cs: make control_style private.
  9924. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  9925. setting the styles to true, then setting them to false instead of
  9926. reverting to their previous values.
  9927. also, call SetStyle on the scrollbars instead of using
  9928. control_style directly.
  9929. 2006-12-06 Jonathan Pobst <[email protected]>
  9930. * FormCollection.cs: Implement. [2.0]
  9931. 2006-12-06 Chris Toshok <[email protected]>
  9932. * Control.cs: make tab_stop private.
  9933. * Label.cs: set TabStop, not tab_stop. reformat some event
  9934. add/remove methods to make them more compact.
  9935. 2006-12-06 Chris Toshok <[email protected]>
  9936. * RadioButton.cs: fix TabStop handling.
  9937. 2006-12-06 Chris Toshok <[email protected]>
  9938. * TextBox.cs: remove the explicit assignments to has_focus.
  9939. Control does that.
  9940. * ButtonBase.cs: remove the assignment to has_focus. Control will
  9941. manage that.
  9942. 2006-12-06 Chris Toshok <[email protected]>
  9943. * ButtonBase.cs: remove all uses of is_enabled from this code.
  9944. it's always true when any of the code containing the checks is
  9945. executed.
  9946. 2006-12-06 Chris Toshok <[email protected]>
  9947. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  9948. with different semantics (some are present in both 1.1 and 2.0
  9949. profiles) so that we match MS's behavior in our unit tests.
  9950. 2006-12-06 Jackson Harper <[email protected]>
  9951. * TextControl.cs: Make this operation undoable.
  9952. * TextBoxBase.cs: Factor the border width into the preferred
  9953. height.
  9954. - implement Modified as per the spec.
  9955. 2006-12-06 Chris Toshok <[email protected]>
  9956. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  9957. 2006-12-06 Chris Toshok <[email protected]>
  9958. * Control.cs: make right_to_left and context_menu fields private.
  9959. 2006-12-06 Chris Toshok <[email protected]>
  9960. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  9961. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  9962. Control.child_controls private. switch all uses over to
  9963. Control.Controls.
  9964. 2006-12-06 Chris Toshok <[email protected]>
  9965. * System.Windows.Forms/GroupBox.cs,
  9966. System.Windows.Forms/AccessibleObject.cs,
  9967. System.Windows.Forms/ErrorProvider.cs,
  9968. System.Windows.Forms/Control.cs,
  9969. System.Windows.Forms/UpDownBase.cs,
  9970. System.Windows.Forms/ScrollBar.cs,
  9971. System.Windows.Forms/DateTimePicker.cs,
  9972. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  9973. System.Windows.Forms/ToolTip.cs,
  9974. System.Windows.Forms/RadioButton.cs,
  9975. System.Windows.Forms/LinkLabel.cs,
  9976. System.Windows.Forms/Splitter.cs,
  9977. System.Windows.Forms/TextBoxBase.cs,
  9978. System.Windows.Forms/ToolStripTextBox.cs,
  9979. System.Windows.Forms/ContainerControl.cs,
  9980. System.Windows.Forms/ThemeWin32Classic.cs,
  9981. System.Windows.Forms/SizeGrip.cs,
  9982. System.Windows.Forms/ToolStripDropDown.cs,
  9983. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  9984. private. switch all uses over to Control.Parent.
  9985. 2006-12-06 Chris Toshok <[email protected]>
  9986. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  9987. Control does this before calling emitting these events.
  9988. * TabControl.cs: same.
  9989. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  9990. Control.client_rect.
  9991. * ButtonBase.cs: use the ClientSize property instead of the
  9992. client_size field.
  9993. * ScrollableControl.cs: same.
  9994. * Control.cs: another pass at making properties private. also,
  9995. move the initialization of tab_stop to the ctor.
  9996. 2006-12-05 Andreia Gaita <[email protected]>
  9997. * TabControl.cs: Let the selected index be set freely if the
  9998. control handle is not yet created.
  9999. 2006-12-05 Jonathan Pobst <[email protected]>
  10000. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  10001. internal until I can rewrite DefaultLayout.
  10002. * ToolStrip.cs: Fix build error and some general cleaning.
  10003. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  10004. Fix build errors caused by making some of Control's fields private.
  10005. 2006-12-05 Jackson Harper <[email protected]>
  10006. * TextControl.cs: Redo Insert a little so that it use IndexOf
  10007. instead of Split, this prevents it from messing up on things like
  10008. \n\n\n. Also more effecient since the split array doesn't need to
  10009. be created.
  10010. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  10011. multiline text differently, this is the first of many fixes that
  10012. will make multiline/non-multiline the same thing as far as the
  10013. TextBoxBase is concerned.
  10014. - Don't split the text and insert lines, this can lose some line
  10015. endings (like is the last line a soft or hard break). Instead use
  10016. the new Insert.
  10017. - Fix an off by one when combining all the lines in the Text
  10018. getter.
  10019. - Remove separate multiline handling from the Text getter/setter.
  10020. 2006-12-05 Chris Toshok <[email protected]>
  10021. * ButtonBase.cs: a few changes:
  10022. - don't reinitialize internal Control fields in the ctor when they
  10023. have the same values as Control sets them.
  10024. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  10025. this before calling those methods.
  10026. - we don't need to call Refresh for anything. use Invalidate
  10027. instead.
  10028. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  10029. calls Refresh in its OnEnabledChanged.
  10030. - several of the events we were registered for in the ctor to
  10031. redraw ourselves already include calls to Invalidate in the
  10032. property setters that raise the events. remove the extra
  10033. invalidation.
  10034. - reformat a switch statement that was 83274658 columns wide.
  10035. 2006-12-05 Mike Kestner <[email protected]>
  10036. * ComboBox.cs: fix a unit test regression from a TextBox
  10037. SelectionLength return of -1 when there's no selection.
  10038. 2006-12-05 Chris Toshok <[email protected]>
  10039. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  10040. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  10041. cleaning up some of the internal Control fields being used by
  10042. subclasses.
  10043. 2006-12-05 Mike Kestner <[email protected]>
  10044. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  10045. listbox after AddImplicit calls since it defaults to hidden. Add a
  10046. hack to preserve requested heights across DropDownStyle changes.
  10047. 2006-12-05 Jonathan Pobst <[email protected]>
  10048. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  10049. 2006-12-05 Chris Toshok <[email protected]>
  10050. * DataGridView.cs: fix compiler warnings.
  10051. * PrintControllerWithStatusDialog.cs: same.
  10052. * ToolBar.cs: same.
  10053. * FolderBrowserDialog.cs: same.
  10054. * Splitter.cs: same.
  10055. * DataGridViewComboBoxCell.cs: same.
  10056. * XplatUIWin32.cs: same.
  10057. * PictureBox.cs: same.
  10058. * Win32DnD.cs: same.
  10059. * PageSetupDialog.cs: same.
  10060. * FileDialog.cs: same.
  10061. * PrintDialog.cs: same.
  10062. * DataGridTextBoxColumn.cs: same.
  10063. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  10064. 2006-12-05 Chris Toshok <[email protected]>
  10065. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  10066. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  10067. System.ComponentModel.EventHandlerList work.
  10068. 2006-12-05 Jonathan Chambers <[email protected]>
  10069. * DrawTreeNodeEventArgs.cs: Added.
  10070. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  10071. * InternalWindowManager.cs: Remove an unused field.
  10072. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  10073. * InternalWindowManager.cs:
  10074. - Save the point where the title bar is clicked.
  10075. * MdiWindowManager.cs:
  10076. - Only allow moving of the window as long as the
  10077. clicked point on the title bar does not get out of
  10078. MdiClient's rectangle. Fixes #79982.
  10079. * MdiClient.cs:
  10080. - Added Horizontal/VerticalScrollbarVisible.
  10081. - Simplified the scrollbar sizing algorithm.
  10082. - Cache the difference in scrolled value in
  10083. H/VBarValueChanged and move the calculation out
  10084. of the for loop.
  10085. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  10086. * Control.cs: Make the Console.WriteLine in WndProc
  10087. write more info.
  10088. 2006-12-05 Chris Toshok <[email protected]>
  10089. * ToolStripManager.cs, ToolStripButton.cs,
  10090. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  10091. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  10092. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  10093. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  10094. ToolStripProgressBar.cs, ToolStripContainer.cs,
  10095. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  10096. to using System.ComponentModel.EventHandlerList.
  10097. 2006-12-04 Chris Toshok <[email protected]>
  10098. * LinkLabel.cs: fix up compiler warnings.
  10099. * TableLayoutSettings.cs: same.
  10100. * TreeView.cs: same.
  10101. * ToolBar.cs: same.
  10102. * TabControl.cs: same.
  10103. * RichTextBox.cs: same.
  10104. * ListViewItem.cs: same.
  10105. * PropertyGrid.cs: same.
  10106. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  10107. * ToolTip.cs same.
  10108. * TextRenderer.cs: fix up compiler warnings.
  10109. * Label.cs: same.
  10110. * Form.cs: corcompare fixes.
  10111. * PictureBox.cs: fix up compiler warnings.
  10112. * ImageListStreamer.cs: same.
  10113. * TrackBar.cs: corcompare fix.
  10114. * Control.cs: fix up compiler warnings.
  10115. * SplitterPanel.cs: same.
  10116. * NumericTextBox.cs: same.
  10117. * ImageList.cs: same.
  10118. * StatusStrip.cs: same.
  10119. * ProgressBar.cs: corcompare fix.
  10120. * ToolStripButton.cs: fix up compiler warnings.
  10121. * ToolStripStatusLabel.cs: same.
  10122. * ToolStripSplitButton.cs: same.
  10123. * ToolStripSeparator.cs: same.
  10124. * ToolStripProgressBar.cs: same.
  10125. * ToolStripDropDownMenu.cs: same
  10126. * ToolStripDropDown.cs: same.
  10127. * ToolStripDropDownButton.cs: same.
  10128. * ToolStrip.cs: same.
  10129. * ToolStripControlHost.cs: same.
  10130. * ToolStripContentPanel.cs: same.
  10131. * ToolStripDropDown.cs: same.
  10132. * ToolStripContainer.cs: same.
  10133. * ToolStripPanel.cs: same, and add "new" where we need it to work
  10134. with the new ArrangedElementCollection.
  10135. * ToolStripItemCollection.cs: add "new" where we need it to work
  10136. with the new ArrangedElementCollection.
  10137. 2006-12-04 Andreia Gaita <[email protected]>
  10138. * TabControl.cs: Fix default tab selection to after TabControl
  10139. gets focus and not before. Fixes #80128
  10140. 2006-12-04 Chris Toshok <[email protected]>
  10141. * DataGridTableStyle.cs: remove the gross calling of
  10142. datagrid.Refresh from here. It's a broken idea and it doesn't
  10143. work anyway.
  10144. * DataGrid.cs: instead, just register/unregister from the
  10145. DataGridTableStyle events in CurrentTableStyle. we play it
  10146. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  10147. even though some would most likely not require it. Fixes bug
  10148. #80115 (and one portion of #80117 as a side effect).
  10149. 2006-12-04 Chris Toshok <[email protected]>
  10150. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  10151. so the textbox (if any) goes away. Fixes bug #80117.
  10152. 2006-12-04 Chris Toshok <[email protected]>
  10153. * DataGridColumnStyle.cs: set the column's readonly property
  10154. initially based on the property descriptor's IsReadOnly. Fixes
  10155. bug #80044.
  10156. 2006-12-04 Chris Toshok <[email protected]>
  10157. * ComboBox.cs: wrap the dropdown style changing work in
  10158. SuspendLayout/ResumeLayout. Fixes bug #79968.
  10159. 2006-12-04 Jackson Harper <[email protected]>
  10160. * TextBoxBase.cs: Fix off by one, since these are one-based.
  10161. * TextBox.cs: Select all the text when we get focus. The TextBox
  10162. does this but the RTB does not.
  10163. 2006-12-04 Chris Toshok <[email protected]>
  10164. * DataGridTextBoxColumn.cs: remove some spew.
  10165. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  10166. but some part of me is saying "it shouldn't be here.." At any
  10167. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  10168. setting the value.
  10169. 2006-12-04 Chris Toshok <[email protected]>
  10170. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  10171. to reassign the propertydescriptor.
  10172. 2006-12-04 Jackson Harper <[email protected]>
  10173. * TextBoxBase.cs:
  10174. * TextControl.cs: Remove some unused variables. Maybe this will
  10175. patch things up between mike and I.
  10176. - don't split lines less then one char wide, if the viewport is
  10177. that small text won't be visible anyways.
  10178. 2006-12-04 Jackson Harper <[email protected]>
  10179. * TextBoxBase.cs: Default selection length is -1, need to do some
  10180. more testing on windows to see when this is used for the property.
  10181. - Redid the Lines [] property to that we properly remove soft line
  10182. breaks
  10183. - added support for preserving carriage returns
  10184. - CanUndo is not a variable like 'is undo enabled' it just returns
  10185. true if there is undo operations available.
  10186. - AppendText doesn't need to grab the last tag itself anymore,
  10187. this happens automatically when we move the cursor.
  10188. * TextControl.cs: Add CompoundActions to the undo class. This
  10189. allows combining the other operations into one big option. ie a
  10190. paste will combine { delete old, insert new, move cursor }
  10191. - Add InsertString undo operation
  10192. - New method for deleting multiline text
  10193. - Add carriage returns to lines. So we can preserve carriage
  10194. returns when text is 'roundtripped'
  10195. 2006-12-04 Chris Toshok <[email protected]>
  10196. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  10197. minimum 0. Fixes the scrollbar exception in bug #80136.
  10198. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10199. * MdiClient.cs:
  10200. * MdiWindowManager: Removed unused fields and methods.
  10201. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10202. * StatusBar.cs: Update all panels when a AutoSize=Contents
  10203. panel needs updating.
  10204. * StatusBarPanel.cs: Remove twidth and only use initialize.
  10205. Fixes #80031.
  10206. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10207. * Form.cs: When a form's MdiParent is set add it directly
  10208. on top of the z-order in stead of relying on MdiClient's
  10209. ActivateChild to do it. Fixes #80135.
  10210. * MdiClient.cs:
  10211. - Remove original_order, mdi_child_list is already doing
  10212. the same thing.
  10213. - Create mdi_child_list on construction in
  10214. stead of first use (avoids a few null checks).
  10215. * MenuItem.cs: Use an already existing list of mdi children
  10216. to get the correct order of children and remove the other
  10217. redundant list.
  10218. 2006-12-04 Chris Toshok <[email protected]>
  10219. * PropertyGridView.cs: cached_splitter_location is only used in
  10220. !DOUBLEBUFFER code.
  10221. * PropertyGrid.cs: implement the ComComponentNameChanged event
  10222. using Events, hoping that would fix the warning. Looks like a
  10223. compiler bug instead (#80144).
  10224. * PropertyManager.cs: remove unused method.
  10225. 2006-11-04 Everaldo Canuto <[email protected]>
  10226. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  10227. include parentesis to fix expression evaluation. Fixes #79634.
  10228. 2006-11-02 Everaldo Canuto <[email protected]>
  10229. * MenuAPI.cs:
  10230. - Changes to fix behavior in Menu control, some reported in #80097
  10231. and other detected during behavior refactory like a select event
  10232. problems.
  10233. - Remove unneded "if's" conditions.
  10234. - Created an internal to flag when popup is active in control, we need
  10235. it because in .NET you can have menu active but without popup active
  10236. when you active menu using popup without visible items.
  10237. - Mimic win32 behavior for Select and Popup events.
  10238. - Dont open popup menu when you dont have visible subitems.
  10239. - Do nothing when click on disabled menu item.
  10240. - Some small changes to follow the coding style guidelines.
  10241. - Unselect menu only when another control gives focus. Fixes #80097.
  10242. - Remove unused code.
  10243. * MenuItem.cs: internal VisibleItems method to check if menu
  10244. theres visible subitems, it will be usefull to fix some
  10245. behavior in Menu control.
  10246. 2006-11-01 Everaldo Canuto <[email protected]>
  10247. * Timer.cs: Tag property for 2.0 profile.
  10248. 2006-12-01 Chris Toshok <[email protected]>
  10249. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  10250. * Win32DnD.cs: comment out some unused fields.
  10251. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  10252. some unused properties/methods.
  10253. * XplatUIX11.cs: fix MousePosition so we override the base class's
  10254. property instead of conflicting with it.
  10255. * PictureBox.cs: comment out some unused fields
  10256. * OSXStructs.cs: make some struct fields public.
  10257. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  10258. MousePosition so we override the base class's property instead of
  10259. conflicting with it.
  10260. * X11Dnd.cs: comment out some unused fields
  10261. * X11DesktopColors.cs: fix some struct field visibility to quiet
  10262. the compiler.
  10263. * X11Dnd.cs: remove some debug code.
  10264. * ThemeClearlooks.cs: comment out unused field.
  10265. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  10266. * ThemeGtk.cs: comment out some unused pinvokes.
  10267. * Timer.cs: remove some unused fields.
  10268. * ThemeClearlooks.cs: comment out unused field.
  10269. * UpDownBase.cs: comment out unused field.
  10270. * DataObject.cs: comment out unused field.
  10271. * DataGridBoolColumn.cs: reomve unused field.
  10272. * DataGrid.cs: remove unused field.
  10273. * Cursor.cs: remove old ToBitmap code.
  10274. * ControlPaint.cs: remove unused method.
  10275. * ScrollBar.cs: remove unused fields.
  10276. * ComboBox.cs: remove unused field, and chain up to
  10277. AccessibleObject ctor.
  10278. * ListBox.cs: remove unused field.
  10279. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  10280. * GridEntry.cs: remove unused fields.
  10281. * Binding.cs: remove unused fields.
  10282. * AxHost.cs: remove unused method.
  10283. * ContainerControl.cs: remove unused field.
  10284. * ScrollableControl.cs: remove unused fields.
  10285. 2006-12-01 Chris Toshok <[email protected]>
  10286. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  10287. the Where/WhereString stuff. it's easy enough to CWL
  10288. Environment.StackTrace.
  10289. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  10290. unused private fields.
  10291. 2006-12-01 Jackson Harper <[email protected]>
  10292. * TextControl.cs: Do not update the view while inserting multiline
  10293. text. If we update the view we might wrap lines, before entering
  10294. the new lines, which causes the new line insertion calculations to
  10295. be totally fubared.
  10296. - Remove an old TODO
  10297. - Make debug output a little nicer
  10298. 2006-12-01 Chris Toshok <[email protected]>
  10299. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  10300. 2006-12-01 Chris Toshok <[email protected]>
  10301. [ fix the majority of the CS0108 warnings we've been suppressing ]
  10302. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  10303. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  10304. to "LayoutToolBar" to quiet mcs.
  10305. * TabControl.cs: mark our ControlCollection class as 'new'.
  10306. * TextBoxBase.cs: mark some events as 'new'.
  10307. * Splitter.cs: TabStop is 'new'.
  10308. * ControlBindingsCollection.cs: mark a few methods as new since
  10309. they change the visibility from protected to public.
  10310. * RadioButton.cs: DoubleClick -> base class, and remove unused
  10311. HaveDoubleClick.
  10312. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  10313. events as new.
  10314. * NumericUpDown.cs: TextChanged -> base class.
  10315. * CheckedListBox.cs: mark our ObjectCollection class as new to
  10316. quiet mcs.
  10317. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  10318. muck with the base class.
  10319. * StatusBar.cs: fix some mcs warnings about Update being the same
  10320. name as a base class method.
  10321. * RichTextBox.cs: mark some events as new, and make them do things
  10322. to the base class impl.
  10323. * UserControl.cs: mark TextChanged as new, and have it manipulate
  10324. base.TextChanged.
  10325. * UpDownBase.cs: mark some things new.
  10326. * CheckBox.cs: mark DoubleClick "new", and add some text about
  10327. what we need to look at.
  10328. * Panel.cs: make the events "new", and manipulate the base
  10329. version. these are just here for attributes.
  10330. * AccessibleObject.cs: make owner private.
  10331. * Control.cs: deal with AccessibleObject.owner being private.
  10332. cache our own copy if we need it.
  10333. * Button.cs: add "new" to the DoubleClickEvent.
  10334. * ListBox.cs: no need to track our own has_focus here. let
  10335. Control.has_focus do it for us. Also some other work to clear up
  10336. warnings about not overriding base class methods of the same name.
  10337. * ComboBox.cs: clear up some warnings about not override base
  10338. class methods of the same name.
  10339. 2006-12-01 Chris Toshok <[email protected]>
  10340. * Form.cs: flag a few things as "new" to quiet some of the mcs
  10341. warnings.
  10342. * AxHost.cs: same.
  10343. * PrintPreviewDialog.cs: same.
  10344. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  10345. now DGV isn't so horrible on the class status page. also, move
  10346. all events to using System.ComponentModel.EventHandlerList. my
  10347. wrists hurt.
  10348. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  10349. * MdiWindowManager.cs:
  10350. - Set form to active mdi child if shown,
  10351. and update the active mdi child to the next
  10352. remaining child in the z-order if the form is hidden.
  10353. * Form.cs:
  10354. - Track if the form has been visible and if its
  10355. visibility is beeing changed, so that the MdiClient
  10356. can properly decide the ActiveMdiChild. The MdiClient
  10357. cannot track this since the form can change visibility
  10358. before MdiClient is created.
  10359. * MdiClient.cs:
  10360. - Don't activate anything of the parent form is changing
  10361. its visibility.
  10362. - Rework ActiveMdiChild to only return visible mdi
  10363. children and take into account several other corner
  10364. cases.
  10365. 2006-12-01 Chris Toshok <[email protected]>
  10366. * IBindableComponent.cs: new 2.0 interface.
  10367. 2006-12-01 Gert Driesen <[email protected]>
  10368. * DataGrid.cs: Font for caption area is bold by default.
  10369. 2006-12-01 Everaldo Canuto <[email protected]>
  10370. * Menu.cs: Tag property for 2.0.
  10371. 2006-11-01 Everaldo Canuto <[email protected]>
  10372. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  10373. 2006-12-01 Chris Toshok <[email protected]>
  10374. * TreeView.cs: doh, the Begin* events should be
  10375. TreeViewCancelEventHandler.
  10376. 2006-12-01 Chris Toshok <[email protected]>
  10377. * Form.cs: Form.ControlCollection already stores off the
  10378. form_owner field. don't access the base class's internal "owner"
  10379. field.
  10380. * Control.cs: make all the fields in Control.ControlCollection
  10381. private. there's no need for any internal fields here.
  10382. 2006-12-01 Chris Toshok <[email protected]>
  10383. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  10384. OnHandleCreated. Fixes bug #80109.
  10385. 2006-12-01 Chris Toshok <[email protected]>
  10386. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  10387. SplitContainer.cs, Control.cs, StatusStrip.cs,
  10388. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  10389. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  10390. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  10391. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  10392. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  10393. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  10394. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  10395. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  10396. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  10397. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  10398. do most of the work to convert our code over to use
  10399. System.ComponentModel.Component.Events for
  10400. adding/removing/dispatching events.
  10401. 2006-11-30 Jonathan Pobst <[email protected]>
  10402. * DataGridView.cs: Fix an ArgumentNullException reported
  10403. twice today in IRC.
  10404. 2006-11-30 Mike Kestner <[email protected]>
  10405. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  10406. grabbed listbox. Fixes #80036 and #80101.
  10407. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  10408. * Message.cs: Changed ToString() to match MS.
  10409. 2006-11-30 Jackson Harper <[email protected]>
  10410. * TextBoxBase.cs: You can still change the selected text on a read
  10411. only textbox.
  10412. * TextControl.cs: Lower magic number for wrap calculations. This
  10413. lets text get closer to the right (far) edge.
  10414. 2006-11-30 Jonathan Pobst <[email protected]>
  10415. * Control.cs: Tweak 2.0 layout properties.
  10416. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  10417. * TextRenderer.cs: Add a new overload.
  10418. * ToolStrip*: Huge amount of changes and new features.
  10419. 2006-11-30 Mike Kestner <[email protected]>
  10420. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  10421. scroll range correct. Fixes #79994.
  10422. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  10423. * MdiWindowManager.cs: Update main form's text when
  10424. a form is closed. (fixes #80038)
  10425. 2006-11-30 Everaldo Canuto <[email protected]>
  10426. * ToolBar.cs:
  10427. - Fix an regression in ButtonSize.
  10428. - Get ImeMode default value change to "Disable".
  10429. - Get ShowTooltips default value change to true, default value is
  10430. "false" but after make a test in .NET we get "true" result as default.
  10431. 2006-11-29 Jonathan Pobst <[email protected]>
  10432. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  10433. 2006-11-29 Chris Toshok <[email protected]>
  10434. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  10435. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  10436. SetWindowTransparency hasn't been called.
  10437. 2006-11-29 Chris Toshok <[email protected]>
  10438. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  10439. if it's supported.
  10440. (set_AllowTransparency): reorder things a little so that the
  10441. WS_EX_LAYERED style is removed properly.
  10442. 2006-11-29 Chris Toshok <[email protected]>
  10443. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  10444. * Form.cs: only call the XplatUI transparency method (get/set) if
  10445. SupportsTransparency says it's supported. Otherwise fallback to
  10446. doing nothing (in the set case) or returning the instance field we
  10447. cache (in the get case).
  10448. * XplatUIStructs.cs: add TransparencySupport flag enum.
  10449. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  10450. change to SupportsTransparency.
  10451. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  10452. TransparencySupport.None from SupportsTransparency.
  10453. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  10454. TransparencySupport.Set from SupportsTransparency.
  10455. * XplatUIWin32.cs: implement GetWindowTransparency calling
  10456. GetLayeredWindowAttributes, and implement SupportsTransparency by
  10457. checking whether or not both
  10458. GetWindowTransparency/SetWindowTransparency are available
  10459. entrypoints. We need to do this since SetWindowTransparency is
  10460. available as of win2k, but GetWindowTransparency requires winxp.
  10461. yay win32 api.
  10462. * XplatUI.cs: Add GetWindowTransparency, and change
  10463. SupportsTransparency to allow for either/both Get/Set.
  10464. 2006-11-29 Chris Toshok <[email protected]>
  10465. * DataGrid.cs: keep from going into an infinite loop redrawing a
  10466. datagrid that has no datasource. Fixes bug #80033.
  10467. 2006-11-29 Chris Toshok <[email protected]>
  10468. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  10469. Invalidate) before the mainmenu has been assigned to a control.
  10470. 2006-11-29 Chris Toshok <[email protected]>
  10471. * DataGrid.cs: detect when we should be double the double click
  10472. row/column autosize stuff, although that codepath has yet to be
  10473. written. part of the work for bug #79891.
  10474. 2006-11-29 Chris Toshok <[email protected]>
  10475. * Binding.cs (SetControl): fix unit test.
  10476. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  10477. * PageSetupDialog.cs: Validate the margins and set them in
  10478. PageSettings.
  10479. * NumericTextBox.cs: New class to mimic the behavior of the
  10480. textboxes used in the printing dialogs.
  10481. 2006-11-29 Andreia Gaita <[email protected]>
  10482. * Form.cs: Revert previous change (remove call UpdateBounds
  10483. from form constructor), because it messes with the handle creation
  10484. order, and that one needs lots and lots of love.
  10485. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  10486. for valid printer and throw InvalidPrinterException if document
  10487. is set but printer not valid), adding a MonoTODO. Once
  10488. handle creation is done properly, we can put this back in.
  10489. 2006-11-28 Everaldo Canuto <[email protected]>
  10490. * MenuItem.cs: Create a invalidate method for menu item, to be
  10491. calling from set text, it make text changes to imadiate update
  10492. on screen. Fixes #80013.
  10493. 2006-11-28 Everaldo Canuto <[email protected]>
  10494. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  10495. fixes bug #80070 and some other problem on toolbar buttons
  10496. layout.
  10497. 2006-11-28 Everaldo Canuto <[email protected]>
  10498. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  10499. with dotted brush. Fixes #79564
  10500. 2006-11-28 Andreia Gaita <[email protected]>
  10501. * Form.cs: Removed call to UpdateBounds on Form
  10502. constructor, it was causing a call to CreateHandle
  10503. before it was supposed to.
  10504. * PrintControllerWithStatusDialog: Applied patch
  10505. by Chris Toshok to hide controller when there are
  10506. no printers available.
  10507. PrintDialog.cs: initialize printer settings to
  10508. null - correct DefaultValues test #5
  10509. * PrintPreviewControl.cs: Move PrintController
  10510. initialization to GeneratePreview
  10511. * PrintPreviewDialog.cs:
  10512. - Remove Preview generation from Document_set(). It is
  10513. called on OnPaint
  10514. - Throw InvalidPrinterException on CreateHandle if
  10515. a Document is set but there are no printers or
  10516. printer is not valid.
  10517. * ThemeWin32Classic: don't paint PrintPreviewControl
  10518. if there is nothing to paint
  10519. 2006-11-28 Miguel de Icaza <[email protected]>
  10520. * Form.cs: Add another popular method.
  10521. * TabPage.cs: ditto.
  10522. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10523. * MenuItem.cs: Fixed a warning.
  10524. * InternalWindowManager: Fixed a warning.
  10525. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10526. * MenuItem.cs:
  10527. - When cloning a menu also clone MdiList and clone the
  10528. window menu items properly (as the forms and menuitems
  10529. are kept in an internal hashtable, these need updating
  10530. as well)
  10531. - Rewrote the window menu code, menu items are added in the
  10532. order the forms were added to their parent, and they are
  10533. updated every time the window menu is shown (before the
  10534. list was only generated once, in the current order of the
  10535. forms, and would never be updated). A checkmark is shown
  10536. next to the item corresponding to the active mdi child.
  10537. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10538. * XplatUIStructs.cs:
  10539. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  10540. * XplatUIWin32.cs:
  10541. - Added TME_NONCLIENT to TMEFlags.
  10542. - Handles WM_NCMOUSEMOVE in GetMessage to
  10543. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  10544. * MdiWindowManager:
  10545. - Now merges mdi child menu to parent menu when maximized.
  10546. - Recalculate NC areas of both mdi child and mdi parent.
  10547. Fixes #79757 (4).
  10548. on window state and size changes.Fixes #79844 (3).
  10549. - Handle WM_NCCALCSIZE to properly calculate borders.
  10550. * Form.cs:
  10551. - Add/remove to the mdi containers list of mdi children
  10552. in the order they are added.
  10553. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  10554. to the maximized mdi child.
  10555. * InternalWindowManager.cs:
  10556. - Only execute a click on the control buttons on the mouse up,
  10557. not on the mouse down. Show the state of the button
  10558. (was only showing Normal state, never Pressed state). The
  10559. pressed button now follows the mouse (if you click the Close
  10560. button and move the mouse over the Maximize button, the
  10561. Maximize button will be shown as pressed). Since Win32 does
  10562. not generate WM_NCLBUTTONUP if you release the button outside
  10563. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  10564. it as a mouse up.
  10565. * ThemeWin32Classic.cs:
  10566. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  10567. * MdiClient.cs:
  10568. - Added a list of forms which contains the order the forms are
  10569. added to the mdi parent.
  10570. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  10571. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  10572. - If the active form changes set the scrollbars to the top
  10573. of the Z order, otherwise the form could hide them.
  10574. - Scrollbars are now sized according to ClientSize, not
  10575. to Size, and they take into account the other scrollbar
  10576. to determine maximum.
  10577. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10578. * XplatUI.cs:
  10579. * XplatUIDriver.cs:
  10580. * XplatUIX11.cs:
  10581. * XplatUIWin32.cs:
  10582. * XplatUIOSX.cs:
  10583. - Added RequestAdditionalWM_NCMessages for windows to
  10584. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  10585. Currently only implemented in XplatUIWin32.
  10586. 2006-11-27 Chris Toshok <[email protected]>
  10587. * Hwnd.cs: only add the hwnd to the windows hash in
  10588. set_WholeWindow and set_ClientWindow if whole_window/client_window
  10589. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  10590. 2006-11-27 Mike Kestner <[email protected]>
  10591. * ComboBox.cs: remove redundant OnDropDown call. It is called
  10592. from the ComboListBox.ShowWindow code. Fixes #79969.
  10593. 2006-11-27 Chris Toshok <[email protected]>
  10594. * Hwnd.cs: remove the setters for ExposePending and
  10595. NCExposePending - noone uses them.
  10596. 2006-11-27 Jackson Harper <[email protected]>
  10597. * TextControl.cs: new param for ReplaceSelection which determines
  10598. whether we select the new selection, or set the cursor to the end
  10599. of the new selection.
  10600. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  10601. pasting, select the new text.
  10602. * RichTextBox.cs: Use new param for ReplaceSelection.
  10603. 2006-11-27 Jackson Harper <[email protected]>
  10604. * TextBoxBase.cs: Set the selection to the caret after the caret
  10605. is moved, otherwise they get out of sync.
  10606. 2006-11-26 Everaldo Canuto <[email protected]>
  10607. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  10608. it fixes #80015
  10609. 2006-11-26 Everaldo Canuto <[email protected]>
  10610. * ThemeWin32Classic.cs:
  10611. - Fix toolbar drop down arrow position.
  10612. - Fix drop down appearance when ToolBar.Appearance is normal,
  10613. it fixes #80018.
  10614. 2006-11-26 Gert Driesen <[email protected]>
  10615. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  10616. * Control.cs: Same.
  10617. * UpDownBase.cs: Same.
  10618. * ButtonBase.cs: Same.
  10619. * ScrollBar.cs: Same.
  10620. * TrackBar.cs: Same.
  10621. * PictureBox.cs: Same.
  10622. * UserControl.cs: Same.
  10623. * Label.cs: Same.
  10624. * ListControl.cs: Same.
  10625. * TextBoxBase.cs: Same.
  10626. * ListView.cs: Same.
  10627. * RichTextBox.cs: Same.
  10628. * TreeView.cs: Same.
  10629. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  10630. * PrintDialog.cs:
  10631. - Text label for where
  10632. - Text label comment was not shown
  10633. 2006-11-23 Everaldo Canuto <[email protected]>
  10634. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  10635. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10636. * InternalWindowManager.cs:
  10637. - Handle WM_PARENTNOTIFY to activate the form
  10638. if any child control is clicked.
  10639. - The form is only sizable if not minimized.
  10640. * MdiWindowManager.cs:
  10641. - Save the IconicBounds if the form is moved.
  10642. - Rework SetWindowState, now the window bounds
  10643. are stored only if the old window state is Normal.
  10644. * MdiClient.cs:
  10645. - In SetWindowStates store the old window state if
  10646. the window is maximized and restore window state if
  10647. the window looses focus.
  10648. - Don't handle any scrollbar value changes if
  10649. initializing the scroll bars. Fixes #79771.
  10650. - Reworked ArrangeIconicWindows. Current algorithm
  10651. tests bounds agains all other minimized windows, if
  10652. any intersections create new bounds (going left to
  10653. right, bottom to top) and then test again. When
  10654. successful the bounds are saved and never computed
  10655. again. Fixes #79774.
  10656. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10657. * InternalWindowManager.cs: Added HandleTitleBarUp.
  10658. 2006-11-23 Gert Driesen <[email protected]>
  10659. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  10660. hexadecimal in ParseUserEdit.
  10661. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10662. * MdiWindowManager.cs:
  10663. - Handle a click on the form's icon to show the
  10664. system menu (when maximized). Fixes #79775.
  10665. - Change the existing click handler for the form's
  10666. icon when not maximized to show on MouseUp.
  10667. Fixes #79776.
  10668. * Form.cs: In OnResize only layout the mdi child's
  10669. parent if it actually has a parent. Might not if
  10670. the window is closing.
  10671. 2006-11-23 Gert Driesen <[email protected]>
  10672. * MdiClient.cs: Ignore active MDI client for text of parent, if
  10673. child has no text set.
  10674. 2006-11-23 Gert Driesen <[email protected]>
  10675. * ToolBar.cs: Fixed ToString to match MS.
  10676. 2006-11-22 Andreia Gaita <[email protected]>
  10677. * NumericUpDown:
  10678. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  10679. update inner values on set. Fixes #79966.
  10680. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  10681. - Fix hexadecimal parsing.
  10682. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  10683. parent. Fixes #79957
  10684. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  10685. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  10686. the actual size has to be queried, since if height /
  10687. width is negative Win32 changes it to 0.
  10688. Fixes #79999 on Windows.
  10689. * XplatUIX11.cs: Set height / width to 0 if negative
  10690. in SetWindowPos. Fixes #79999 on Linux.
  10691. 2006-11-22 Everaldo Canuto <[email protected]>
  10692. * ThemeWin32Classic.cs: Fix text redenring when button is
  10693. pressed.
  10694. 2006-11-22 Everaldo Canuto <[email protected]>
  10695. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  10696. and later navigate by mouse. Fixes #79528.
  10697. 2006-11-21 Everaldo Canuto <[email protected]>
  10698. * ToolBar.cs: Set default value for TabStop to false in
  10699. constructor, it fixes remaining behavior of bug #79863.
  10700. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  10701. * MdiWindowManager.cs:
  10702. * InternalWindowManager.cs:
  10703. - Moved a few methods specific to Mdi from
  10704. InternalWindowManager to MdiWindowManager.
  10705. Fixes #79996.
  10706. 2006-11-21 Chris Toshok <[email protected]>
  10707. * XplatUIOSX.cs: stub out InvalidateNC.
  10708. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  10709. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  10710. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  10711. * XplatUIDriver.cs: add InvalidateNC abstract method.
  10712. * XplatUI.cs: add InvalidateNC.
  10713. 2006-11-21 Everaldo Canuto <[email protected]>
  10714. * ToolBar.cs: Invalidate complete button area when pressed status
  10715. was changed.
  10716. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  10717. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  10718. by 1 when button is pressed.
  10719. 2006-11-20 Everaldo Canuto <[email protected]>
  10720. * ToolButton.cs: Invalidate middle of DropDown button when
  10721. ToolBar theres DropDownArrows.
  10722. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  10723. fix DropDown drawing operations.
  10724. 2006-11-20 Chris Toshok <[email protected]>
  10725. * NativeWindow.cs: fix the formatting of functions ('{' on the
  10726. following line), and enable the thread exception dialog.
  10727. * Application.cs: remove the duplicate exception catching from
  10728. here.
  10729. 2006-11-20 Everaldo Canuto <[email protected]>
  10730. * Toolbar.cs: Triggers button click event when click on icon
  10731. of dropdown ToolBarButton. Fixes #79912.
  10732. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  10733. * Theme.cs:
  10734. * ThemeWin32Classic.cs:
  10735. - Added a property WindowBorderFont to enable themeing
  10736. of mdi child windows' Text.
  10737. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  10738. * InternalWindowManager.cs:
  10739. * Form.cs:
  10740. * MdiClient.cs:
  10741. * MdiWindowManager.cs:
  10742. - If mdi child is maximized, set mdi parent's
  10743. text to "Parent - [Child]". Fixes #79770.
  10744. - If there is any maximized mdi child windows, only the active
  10745. window (and any new windows) is maximized, the rest are normal.
  10746. - On a WindowState change only save mdi child's window bounds
  10747. if the old window state was normal. Fixes #79774.
  10748. - The scroll bars are now calculated on hopefully all
  10749. necessary events. Fixed #79771 / #79844->6 / #79906.
  10750. - MdiClient.SizeScrollBars() now takes into account docked
  10751. controls in the parent when calculating available space.
  10752. - InternalWindowManager now always repaints the entire title
  10753. area. Fixes #79844->1/4/5.
  10754. - Added RequestNCRecalc on mdi child windowstate changes.
  10755. Fixes #79772.
  10756. 2006-11-20 Mike Kestner <[email protected]>
  10757. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  10758. in the MouseUp handler of the listbox and move the return handling
  10759. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  10760. 2006-11-20 Everaldo Canuto <[email protected]>
  10761. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  10762. 2006-11-17 Alexander Olk <[email protected]>
  10763. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  10764. working in 1.2.x anymore. So, updated.
  10765. 2006-11-19 Gert Driesen <[email protected]>
  10766. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  10767. NumberGroupSeparator of current culture instead of assuming en-US.
  10768. Fixed bug #79967.
  10769. 2006-11-17 Mike Kestner <[email protected]>
  10770. * Control.cs: Add the concept of implicit bounds setting so that
  10771. dock/undock round trips preserve explicitly set size/locations.
  10772. Fixes #79313.
  10773. 2006-11-17 Alexander Olk <[email protected]>
  10774. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  10775. can't handle those filters. (Fixes bug #79961)
  10776. 2006-11-17 Chris Toshok <[email protected]>
  10777. [ fixes the exit/crashes associated with #79835. it's clearly
  10778. suboptimal though, we need to figure out a better way to solve
  10779. this. ]
  10780. * PrintPreviewControl.cs: deal with the new invalid printer
  10781. exceptions.
  10782. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  10783. and return false (so CommonDialog.ShowDialog doesn't actually show
  10784. the form.)
  10785. * PrintDialog.cs: enable/disable the Ok button depending on
  10786. whether or not the printer is valid.
  10787. * CommonDialog.cs (ShowDialog): only actually show the form if
  10788. RunDialog returns true.
  10789. 2006-11-17 Jackson Harper <[email protected]>
  10790. * TextControl.cs: When soft splitting a line, mark it as a soft
  10791. split line. Also carry over the current line break to the next
  10792. line.
  10793. 2006-11-17 Chris Toshok <[email protected]>
  10794. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  10795. only want to shift the part of the invalid area that overlaps the
  10796. area we're scrolling. we also don't want to clear the invalid
  10797. area unless the invalid area was entirely contained within the
  10798. scrolling area.
  10799. 2006-11-16 Chris Toshok <[email protected]>
  10800. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  10801. also make sure to free the memory returned by XGetWindowProperty
  10802. in GetText().
  10803. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  10804. 2006-11-16 Chris Toshok <[email protected]>
  10805. * XplatUI.cs: add a new super secret way to get at the totally
  10806. unsupported X11 backend.
  10807. 2006-11-16 Gert Driesen <[email protected]>
  10808. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  10809. 2006-11-16 Jackson Harper <[email protected]>
  10810. * TreeView.cs: Allow more explicit setting of top node position
  10811. for scrollbars. Slower algo, but more accurate.
  10812. - CollapseAll should maintain the current top node.
  10813. * TextBoxBase.cs: When positioning the caret, use the line, pos
  10814. method, since the x, y method does not grab the correct tag, and
  10815. the caret height never gets set correctly. (Maybe I should just do
  10816. away with the caret having its own height, and always use the
  10817. carets current tag for height).
  10818. 2006-11-16 Jonathan Pobst <[email protected]
  10819. [Fixes 79778, 79923]
  10820. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  10821. Parent to the FosterParent instead.
  10822. 2006-11-16 Jackson Harper <[email protected]>
  10823. * TreeView.cs: Need to recalc the topnode when we expand or
  10824. collapse. The scrolling methods can't handle this on their own,
  10825. since they use differences between the last scroll position, and
  10826. those difference get completely messed up since we are expanding
  10827. nodes. This problem should probably be fixed in the scrolling
  10828. methods, so they can figure out exactly where they are, but this
  10829. will slow things down a little.
  10830. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  10831. strings, makes nunit-gui look a lot nicer.
  10832. 2006-11-16 Chris Toshok <[email protected]>
  10833. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  10834. the broken multithreaded event handling we have in here. File
  10835. this entry under "Why we should move to the new X11 backend".
  10836. Any thread can make it into UpdateMessageQueue, which gets events
  10837. from the X socket - some of which could belong to hwnds being
  10838. managed by a different thread. We can also have multiple threads
  10839. in UpdateMessageQueue at the same time, with each one reading from
  10840. the X socket. This leads to many problems, with the following
  10841. solutions:
  10842. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  10843. EnqueueLocked.
  10844. The MotionNotify compression we do can't work across threads
  10845. (without locking the entire queue, perhaps) since we call
  10846. hwnd.Queue.Peek, so we just punt and don't compress motion events
  10847. unless the owning thread is the one which got the X event.
  10848. ConfigureNotify is another fun one, since it modifies the hwnd's
  10849. bounds and then enqueues the event. We add a lock to Hwnd which
  10850. is held when setting configure_pending to true (and enqueuing the
  10851. event).
  10852. There is a race wrt the wake socket. we need to make sure that
  10853. only 1 thread is waiting on that socket, or else a thread could
  10854. sleep waiting for data that never comes. It's difficult (but not
  10855. impossible) to make happen, because it seems to require something
  10856. like the following:
  10857. 1. Thread 1 polls on wake_receive
  10858. 2. poll returns saying there's data to be read on
  10859. wake_receive.
  10860. 3. Thread 2 polls on wake_receive and immediately returns
  10861. saying there's data to be read.
  10862. 4. Thread 2 reads the wakeup byte from wake_receive
  10863. 5. Thread 1 attempts to read the wakeup byte from
  10864. wake_receive.
  10865. 6. Thread 2 exits (due to a form closing, perhaps).
  10866. 7. Thread 1 blocks forever.
  10867. Fun, eh?
  10868. Fixing the Expose handling isn't done yet, and the races inherent
  10869. in that piece of code are responsible for the drawing mistakes you
  10870. see when generating expose events in a MT app (like NPlot). This
  10871. one is the likely to be the hardest to bandaid, and it doesn't
  10872. appear to cause anything but drawing problems. The other issues
  10873. caused apps to exit or hang.
  10874. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  10875. called from a different thread than the one that should be calling
  10876. these functions.
  10877. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  10878. 2006-11-15 Chris Toshok <[email protected]>
  10879. * Application.cs: null out the context's MainForm when we exit
  10880. RunLoop. Fixes a newly checked in unit test as well as the last
  10881. ODE from bug #79933.
  10882. 2006-11-15 Chris Toshok <[email protected]>
  10883. * Form.cs (set_Owner): allow a null value so we can clear the
  10884. form's owner.
  10885. (Dispose): set all our owned_form's Owner properties to null, and
  10886. clear the owned_forms collection.
  10887. (WM_CLOSE): clean up this a little bit.. still not right though.
  10888. * ApplicationContext.cs: OnMainFormClosed should only call
  10889. ExitThreadCore if the main form isn't recreating. Fixes unit
  10890. test.
  10891. 2006-11-15 Jonathan Pobst <[email protected]>
  10892. [Fixes 78346]
  10893. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  10894. 2006-11-15 Jonathan Pobst <[email protected]>
  10895. [Fixes 79433]
  10896. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  10897. keep popup window types from stealing focus from the main form
  10898. on Windows.
  10899. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  10900. * MenuAPI.cs: Set above flag to true.
  10901. 2006-11-15 Chris Toshok <[email protected]>
  10902. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  10903. the button being released is not in wParam.
  10904. 2006-11-15 Jonathan Pobst <[email protected]>
  10905. * Form.cs: Add the released button to MouseEventArgs.Button
  10906. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  10907. on Win32.
  10908. 2006-11-15 Chris Toshok <[email protected]>
  10909. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  10910. GetText(). untested because it's unused in our implementation.
  10911. Control.Text always caches the text, even if
  10912. ControlStyles.CacheText is not set.
  10913. fixes bug #79939.
  10914. 2006-11-15 Chris Toshok <[email protected]>
  10915. [ fixes #79933 ]
  10916. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  10917. message. no hiding, no disposing.
  10918. in the WM_CLOSE handler, hide the form if it's modal.
  10919. 2006-11-15 Chris Toshok <[email protected]>
  10920. * XplatUIX11.cs: use AddExpose instead of sending a message.
  10921. fixes textbox border drawing.
  10922. 2006-11-15 Chris Toshok <[email protected]>
  10923. * PropertyGridView.cs: keep from crashing on mouse move/down when
  10924. the property grid is empty.
  10925. 2006-11-14 Jackson Harper <[email protected]>
  10926. * TextControl.cs: Make PageUp and PageDown more like the MS
  10927. versions.
  10928. * TextBoxBase.cs: When we set the text property position the
  10929. cursor at the beginning of the document.
  10930. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10931. * Form.cs: if a mdi child's WindowState has changed
  10932. before it's creation, it would display wrong control
  10933. buttons.
  10934. 2006-11-14 Alexander Olk <[email protected]>
  10935. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  10936. (Fixes bug #79927)
  10937. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10938. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  10939. the window gets to paint its borders even if the window is
  10940. getting smaller.
  10941. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  10942. otherwise the old control buttons would still be painted
  10943. if the window gets bigger.
  10944. * PaintEventArgs.cs: add an internal method so that the clip
  10945. rectangle can be changed.
  10946. 2006-11-13 Chris Toshok <[email protected]>
  10947. [ fixes bug #79745 ]
  10948. * NotifyIcon.cs: lots of cleanup.
  10949. * X11Structs.cs: add an enum for XEMBED messages.
  10950. * XplatUIX11.cs: reindent one of the giant switch statements, it
  10951. was taking up an additional tab stop, and this file is already way
  10952. too wide for my laptop's screen.
  10953. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  10954. we get it, resize the hwnd to the WMNormalHints max_width/height.
  10955. 2006-11-13 Jackson Harper <[email protected]>
  10956. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  10957. teh simple way.
  10958. 2006-11-13 Chris Toshok <[email protected]>
  10959. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  10960. #79898. force a reference to the Region to stick around so the
  10961. unmanaged object isn't collected (rendering our handle in the MSG
  10962. stale).
  10963. 2006-11-13 Chris Toshok <[email protected]>
  10964. * XplatUIX11.cs: fix #79917 for window managers which support
  10965. using XStoreName on the raw utf8, and we need to convert to
  10966. COMPOUND_TEXT if it's non-latin1.
  10967. 2006-11-13 Chris Toshok <[email protected]>
  10968. * Form.cs (set_DialogResult): we need to set closing to false if
  10969. we're setting our result to None. fixes bug #79908.
  10970. 2006-11-13 Jackson Harper <[email protected]>
  10971. * TextControl.cs: When formatting text, compute the adjusted tag
  10972. lengths correctly, using FindTag for the end tag instead of trying
  10973. to figure it out outselves.
  10974. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  10975. the item, ItemHeight doesn't work, because trees with large
  10976. imagelists use those for their height
  10977. * TreeView.cs: ActualItemHeight factors in the image height
  10978. - compute left edge of checkboxes correctly
  10979. - when expanding/collapsing move the bottom down one pixel, so we
  10980. aren't moving part of the node
  10981. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  10982. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  10983. stack in PaintEventStart so that it won't get disposed by the gc
  10984. before reaching PaintEventEnd.
  10985. 2006-11-13 Jackson Harper <[email protected]>
  10986. * TextBoxBase.cs: Don't select the word if we are on a line with
  10987. no text.
  10988. - We don't need to position the caret on mouse up, since the mouse
  10989. move handler should be doing this
  10990. - When double clicking a blank line, the caret is advanced to the
  10991. next line.
  10992. 2006-11-13 Gert Driesen <[email protected]>
  10993. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  10994. 2006-11-12 Gert Driesen <[email protected]>
  10995. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  10996. Fixes part of bug #79910.
  10997. 2006-11-11 Alexander Olk <[email protected]>
  10998. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  10999. (bug #79903). Some minor string updates to match ms.
  11000. 2006-11-10 Alexander Olk <[email protected]>
  11001. * FileDialog.cs: Don't add an extension if the filename
  11002. already ends with that extension.
  11003. 2006-11-10 Jackson Harper <[email protected]>
  11004. * TreeView.cs: Use the currently highlighted node for the
  11005. BeforeSelect event.
  11006. * TextBoxBase.cs: There is no need to expand selection on
  11007. MouseMove.
  11008. - CanUndo means 'is there any undo operations', not 'is undo
  11009. allowed on this textcontrol. Fixed ClearUndo unit test.
  11010. 2006-11-10 Andreia Gaita <[email protected]>
  11011. * Button.cs: only perform click when button is Selectable (so as
  11012. not to activate default buttons when they're disabled)
  11013. * Control.cs: Rewrite of the SelectNextControl and related
  11014. methods. HandleClick now selects next control if the current one
  11015. is being disabled.
  11016. * Form.cs: OnActivated selects next active control only if Load
  11017. has already occurred. If Load hasn't run, there's no point in
  11018. selecting here, Load might change the state of controls.
  11019. * FocusTest.cs: Tests marked as working again for these fixes
  11020. 2006-11-10 Chris Toshok <[email protected]>
  11021. * XplatUIX11.cs: a couple of fixes.
  11022. - use XInternAtoms with almost all the atoms we need to register,
  11023. instead of many, many calls to XInternAtom. should help a bit on
  11024. startup time, at the expense of making the code look a little
  11025. worse.
  11026. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  11027. isn't reparented (which seems to be a clue that we're running fon
  11028. compiz) and they have an Owner form. This fixes the tool windows
  11029. in paint.net when running under compiz.
  11030. - when setting the opacity of a window, support both the case
  11031. where the window has been reparented and also when it hasn't been.
  11032. Since compiz/beryl doesn't seem to reparent windows, and these are
  11033. the only window managers which support translucency, I'm not sure
  11034. why we need the hwnd.reparented case at all.. but leave it in.
  11035. now we get translucent windows in paint.net under compiz/beryl.
  11036. 2006-11-10 Alexander Olk <[email protected]>
  11037. * FileDialog.cs: Always return the value for FilterIndex that
  11038. was set. Internally convert it to values that make sense.
  11039. 2006-11-10 Everaldo Canuto <[email protected]>
  11040. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  11041. 2006-11-10 Everaldo Canuto <[email protected]>
  11042. * Toolbar.cs: Change default value of DropDownArrows to true, the
  11043. signature still using false to make it compatible with MS but the
  11044. initial value is true. Fixes #79855.
  11045. 2006-11-10 Alexander Olk <[email protected]>
  11046. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  11047. only available on Linux.
  11048. 2006-11-09 Everaldo Canuto <[email protected]>
  11049. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  11050. reduce number of calls to redraw method during toolbar creation.
  11051. 2006-11-09 Mike Kestner <[email protected]>
  11052. * ListView.cs : raise SelectedIndexChanged when an item is selected
  11053. programmatically via the Item.Selected property. Gert's nice
  11054. ListViewSelectedIndexChanged test fixture now runs clean.
  11055. 2006-11-09 Mike Kestner <[email protected]>
  11056. * ListView.cs : raise SelectedIndexChanged when a selected item is
  11057. removed from the item collection using Remove or RemoveAt.
  11058. 2006-11-09 Mike Kestner <[email protected]>
  11059. * ListView.cs : raise SelectedIndexChanged once per selected item
  11060. for compat with MS. Fixes #79849+.
  11061. 2006-11-09 Chris Toshok <[email protected]>
  11062. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  11063. we need to (if we have any tab pages). Fixes unit test.
  11064. 2006-11-09 Chris Toshok <[email protected]>
  11065. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  11066. width is 0, not 3. Fixes a unit test.
  11067. 2006-11-09 Mike Kestner <[email protected]>
  11068. * ListView.cs : use Implicit scrollbars so that focus isn't
  11069. stolen from the listview when they are clicked. Fixes #79850.
  11070. 2006-11-09 Chris Toshok <[email protected]>
  11071. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  11072. have a root item. Fixes #79879.
  11073. 2006-11-09 Alexander Olk <[email protected]>
  11074. * FileDialog.cs:
  11075. - Fix ToString ()
  11076. - An ArgumentException is now thrown if a wrong filter
  11077. is applied (matches ms). The previous filter doesn't change
  11078. anymore if an exception is thrown.
  11079. - Changing the FileName property also affects FileNames
  11080. * ColorDialog.cs: The length of the CustomColors array is always
  11081. 16. It doesn't matter if we use a smaller array or null to update
  11082. or change the custom colors property.
  11083. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  11084. for RootFolder if we get a undefined value.
  11085. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  11086. * StatusBarPanel.cs:
  11087. - Width is set to MinWidth if Width is smaller than
  11088. MinWidth. Fixes #79842.
  11089. - MinWidth now always overrides Width (MSDN says MinWidth
  11090. is set to Width when AutoSize = None, but they do not
  11091. behave like that).
  11092. - Style has now the the correct default value.
  11093. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  11094. * TrackBar.cs:
  11095. - The control is completely invalidated on
  11096. Got/LostFocus to draw the focus rectangle correctly.
  11097. - When AutoSize then height is always 45 (width for
  11098. vertical controls).
  11099. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  11100. on the mouse when moved and it doesn't move when grabbed
  11101. until the mouse moves as well. Also fixed some wrong
  11102. calculations when clicking on the thumb (control thought
  11103. click was outside of thumb and didn't grab it).
  11104. Fixes some of the issues in #79718.
  11105. 2006-11-08 Everaldo Canuto <[email protected]>
  11106. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  11107. 2006-11-08 Chris Toshok <[email protected]>
  11108. * PropertyGridView.cs: only call ToggleValue if the item is not
  11109. readonly.
  11110. 2006-11-08 Jackson Harper <[email protected]>
  11111. * TextBoxBase.cs: The RichTextBox and textbox have very different
  11112. word selection methods. Implement the textbox's simple word
  11113. selection here, and let the RichTextBox override and provide it's
  11114. own.
  11115. - Don't do extra selection on mouseup
  11116. * RichTextBox.cs: Use the documents word selection algorithm, I
  11117. think ideally, this function will be pulled into the
  11118. RichTextBox.cs code someday.
  11119. 2006-11-08 Chris Toshok <[email protected]>
  11120. * RootGridEntry.cs: new class to represent GridItemType.Root.
  11121. * CategoryGridEntry.cs: reformat, and add boilerplate.
  11122. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  11123. returns the UI parent anyway, and we need special handling to
  11124. implement the GetTarget method in the face of it. Also, implement
  11125. Select().
  11126. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  11127. a root grid item, and use that instead of PropertyGrid.grid_items.
  11128. Also, make use of TypeConverters (and add limitted support for
  11129. ICustomTypeDescriptors) when initially populating the grid.
  11130. Arrays now show up more or less properly.
  11131. 2006-11-08 Chris Toshok <[email protected]>
  11132. * Application.cs: set the modal dialog to non modal after we close
  11133. it. Fixes bug #79866.
  11134. 2006-11-08 Jackson Harper <[email protected]>
  11135. * TextControl.cs: When combining lines carry over the line end
  11136. style from the end line.
  11137. - Invalidate the selected area when setting it, if it is visible.
  11138. * TextBoxBase.cs: Only rich text box can do full line selects.
  11139. - Make sure to set the cursor position when there is a click,
  11140. otherwise two clicks in separate areas could cause a large chunk
  11141. to be selected.
  11142. 2006-11-07 Everaldo Canuto <[email protected]>
  11143. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  11144. Fixes #79863.
  11145. 2006-11-07 Everaldo Canuto <[email protected]>
  11146. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  11147. time. Remove tooltips when ToolButton click events. Fixes #79856.
  11148. 2006-11-07 Everaldo Canuto <[email protected]>
  11149. * MenuAPI.cs: Ignore right click for menu actions and fixes
  11150. menu border when clicked. Fixes #79846.
  11151. 2006-11-07 Everaldo Canuto <[email protected]>
  11152. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  11153. MouseState after create wParam for message, this fixes mouse button
  11154. equal none in mouse up events.
  11155. 2006-11-07 Andreia Gaita <[email protected]>
  11156. * Control.cs : Focus() now calls Select to set the Container's
  11157. Active Control and to give it focus. To avoid infinite recursion
  11158. (because ActiveControl also calls Focus at one point), a check
  11159. is made in Focus with the help of a new internal variable
  11160. is_focusing.
  11161. 2006-11-07 Mike Kestner <[email protected]>
  11162. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  11163. if there's a selection. Fixes #79849.
  11164. 2006-11-07 Gert Driesen <[email protected]>
  11165. * PropertyGrid.cs: Avoid fixed height of help description label.
  11166. Fixes part of bug #79829.
  11167. 2006-11-07 Chris Toshok <[email protected]>
  11168. * XplatUIX11.cs: fix #79790 again, by using the
  11169. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  11170. 2006-11-07 Everaldo Canuto <[email protected]>
  11171. * ToolBar.cs: Fix left click checking.
  11172. 2006-11-07 Chris Toshok <[email protected]>
  11173. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  11174. 2006-11-07 Chris Toshok <[email protected]>
  11175. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  11176. PropertyManager unit tests.
  11177. * PropertyManager.cs: make property_name internal.
  11178. 2006-11-07 Chris Toshok <[email protected]>
  11179. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  11180. pass a unit test. Also, don't set image_index to anything in
  11181. response to setting the ImageList property.
  11182. 2006-11-07 Everaldo Canuto <[email protected]>
  11183. * ToolBar.cs: Ignore click events when mouse button is not a
  11184. left button, only accepts other button for dropdown menus.
  11185. Fixes #79854.
  11186. 2006-11-07 Chris Toshok <[email protected]>
  11187. * DataGrid.cs: make the back and parent row buttons a little less
  11188. ugly.
  11189. 2006-11-07 Jackson Harper <[email protected]>
  11190. * TextBoxBase.cs: When converting to Text don't put line breaks in
  11191. for soft line breaks.
  11192. * TextControl.cs: There is an initial "fake" line in the document,
  11193. this is now a soft break line, so that an extra line feed doesn't
  11194. get added to the end of documents.
  11195. 2006-11-07 Chris Toshok <[email protected]>
  11196. [ fix bug #79778 ]
  11197. * CurrencyManager.cs: if the list is readonly, don't bother
  11198. checking if IBindingList.AllowNew is true.
  11199. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  11200. for non-DataRowView datasources.. or rather, make it not crash.
  11201. (DataGridPaintRelationRow): make sure we limit the row painting to
  11202. the area not covered by the row header, and make our cell width at
  11203. least large enough to cover the relation area. This allows grids
  11204. that have relations but no rows to render correctly.
  11205. (DataGridPaintRowContents): same type of changes here.
  11206. (SetDataSource): move back to always calling
  11207. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  11208. navigating back through relations.
  11209. (HitTest): handle the case where we have no cells but have
  11210. relations. Right now we generate a hit in cell 0 of whatever the
  11211. row is, not sure if this is strictly correct, but it works for our
  11212. purposes.
  11213. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  11214. bother doing anything.
  11215. 2006-11-07 Jonathan Pobst <[email protected]>
  11216. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  11217. early version of StatusStrip. Not responsible for eaten
  11218. application or firstborn children.
  11219. 2006-11-06 Chris Toshok <[email protected]>
  11220. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  11221. call GetTabRect with a -1 index. Fixes #79847.
  11222. 2006-11-06 Jackson Harper <[email protected]>
  11223. * TreeNodeCollection.cs: Update scrollbars after clearing.
  11224. 2006-11-06 Chris Toshok <[email protected]>
  11225. * NumericUpDown.cs: fix the ToString method for some unit test
  11226. love.
  11227. 2006-11-06 Chris Toshok <[email protected]>
  11228. * PropertyGrid.cs:
  11229. - set the initial SelectedGridItem if we can.
  11230. - Exclude non-mergable properties only if we're merging > 1
  11231. object. Merging 1 object isn't really merging, obviously.
  11232. - Handle PropertySort.NoSort just like Alphabetical, which is
  11233. wrong of course, but at least gets things on the screen.
  11234. * PropertyGridView.cs:
  11235. - Add method "FindFirstItem" which finds the first property grid
  11236. item, so we can select it by default.
  11237. - make use of GridEntry.CanResetValue.
  11238. - Don't call RedrawBelowItemOnExpansion here anymore, the
  11239. individual GridEntry's will do that.
  11240. - Remove the ITypeDescriptorContextImpl internal class.
  11241. * GridEntry.cs:
  11242. - this class needs to implement ITypeDescriptorContext, as it's
  11243. what MS's PropertyDescriptorGridEntry does, which means we can
  11244. remove the ITypeDescriptorContextImpl internal class from
  11245. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  11246. - keep a reference to our PropertyGridView, and move the call to
  11247. RedrawBelowItemOnExpansion here from PGV. This means
  11248. programmaticly setting Expanded actually does something visible.
  11249. - add a CanResetValue() function which takes into account our
  11250. possibly multiple "selected_objects" in the merged case. Shifting
  11251. PropertyGridView to use this method fixes another unreported
  11252. crasher found running the test for #79829.
  11253. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  11254. is updated to reflect this.
  11255. * CategoryGridEntry.cs: the ctor takes the PGV now.
  11256. 2006-11-06 Jackson Harper <[email protected]>
  11257. * TextControl.cs: These are 1 based.
  11258. * TextBoxBase.cs: When setting the selected text, don't change the
  11259. selected text tags, this is done by ReplaceText, just position the
  11260. cursor at the end of the new text.
  11261. 2006-11-06 Alexander Olk <[email protected]>
  11262. * ListView.cs: Allow label edit only when, when LabelEdit is
  11263. set to true.
  11264. 2006-11-06 Jackson Harper <[email protected]>
  11265. * TextControl.cs: If a suitable wrapping position isn't found,
  11266. just wrap right in the middle of a word.
  11267. 2006-11-06 Alexander Olk <[email protected]>
  11268. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  11269. bug #79820.
  11270. 2006-11-06 Jackson Harper <[email protected]>
  11271. * TreeView.cs: Can't use the VisibleCount property when setting
  11272. scrollbar heights, because this doesn't take into account whether
  11273. or not the horz scrollbar just came visible.
  11274. 2006-11-05 Everaldo Canuto <[email protected]>
  11275. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  11276. activated. Fixes #79369, #79832.
  11277. 2006-11-05 Alexander Olk <[email protected]>
  11278. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  11279. had to remove support for links that point to a directory. FileInfo
  11280. returns no usefull information (means, the directory they point to)
  11281. for such links. Replaced some empty string ("") with String.Empty.
  11282. 2006-11-04 Gert Driesen <[email protected]>
  11283. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  11284. NullReferenceException when attempting to remove node that is not in
  11285. collection. Throw NullReferenceException when null is passed to
  11286. Remove. Allow first element of the collection to be removed. Fixes
  11287. bug #79831. In GetEnumerator ().Current return null if positioned
  11288. before the first element of the collection. In GetEnumerator ().Reset,
  11289. position before first element of the collection.
  11290. 2006-11-04 Gert Driesen <[email protected]>
  11291. * PropertyGrid.cs: To match MS, remove default title and description
  11292. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  11293. buttons.
  11294. 2006-11-04 Chris Toshok <[email protected]>
  11295. * Theme.cs: add a Clamp method, just for kicks.
  11296. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  11297. 2006-11-04 Chris Toshok <[email protected]>
  11298. * Form.cs: if the form isn't visible, Close() does nothing.
  11299. 2006-11-03 Chris Toshok <[email protected]>
  11300. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  11301. Hide it.
  11302. (WndProc): don't Dispose after handling the WM_CLOSE message.
  11303. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  11304. them as such, instead of using casts from Control to Form. Also,
  11305. don't Dispose of the modal dialog when we fall out of the loop -
  11306. Close() it instead.
  11307. fixes bug #79813.
  11308. 2006-11-03 Chris Toshok <[email protected]>
  11309. * Control.cs (Dispose): only go through the dispose thing if we're
  11310. @disposing, and we haven't already been disposed. Fixes bug
  11311. #79814.
  11312. * Form.cs: no reason to call "base.Dispose()" here instead of
  11313. "Dispose()".
  11314. 2006-11-03 Mike Kestner <[email protected]>
  11315. * ComboBox.cs : use ToString instead of casts in AddItem for
  11316. sorting functionality. Fixes #79812.
  11317. 2006-11-03 Chris Toshok <[email protected]>
  11318. * Application.cs: pave the way for actually using the thread
  11319. exception dialog. it's ifdefed out at the moment.
  11320. 2006-11-03 Chris Toshok <[email protected]>
  11321. * ThreadExceptionDialog.cs: until we get a better layout, actually
  11322. hide the details textbox and label when we shouldn't see them.
  11323. 2006-11-03 Jackson Harper <[email protected]>
  11324. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  11325. multiline textboxes anymore. This method also determines the
  11326. width/height of a textboxes canvas area.
  11327. - Sorta a revert of the last patch. For multiline just position
  11328. the controls, then bail. This way the scrollbar width won't be
  11329. altered.
  11330. 2006-11-03 Everaldo Canuto <[email protected]>
  11331. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  11332. it dont need. Fixes #79537.
  11333. 2006-11-02 Jackson Harper <[email protected]>
  11334. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  11335. send the status after firing the DndOver event.
  11336. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  11337. * TrackBar.cs: Now orientation only switches height / width if
  11338. the control's handle is created (Win32 does it like this). Also
  11339. fixed a typo in ToString() for a test to pass, changed the
  11340. exception thrown in set_LargeChange and set_SmallChange to
  11341. match Win32 behaviour, and added TrackBar tests to the unit
  11342. tests.
  11343. 2006-11-02 Chris Toshok <[email protected]>
  11344. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  11345. not _NET_WM_STATE_NO_TASKBAR.
  11346. 2006-11-02 Jackson Harper <[email protected]>
  11347. * TextControl.cs: Increment count by one, since in the update view
  11348. count - 1 is used.
  11349. 2006-11-02 Jackson Harper <[email protected]>
  11350. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  11351. the mouse is in the client rectangle (duh).
  11352. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  11353. * TrackBar.cs: Fixed trackbar jumping around when clicking
  11354. on it - the trackbar was not detecting correctly at which
  11355. side of the thumb the click was done. (fixes #79718)
  11356. 2006-11-02 Everaldo Canuto <[email protected]>
  11357. * ListBox.cs: scroll visible area when change SelectedIndex to
  11358. a non visible area. Fixes #79481.
  11359. 2006-11-01 Jackson Harper <[email protected]>
  11360. * TextControl.cs: When replacing the selection move the selection
  11361. start/end/anchor to the end of the new text.
  11362. 2006-11-01 Jackson Harper <[email protected]>
  11363. * XplatUIWin32.cs: When setting the parent change the controls
  11364. visibility to it's visibility flag, not to it's old parents
  11365. visibility (.Visible walks the parent chain).
  11366. 2006-11-01 Chris Toshok <[email protected]>
  11367. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  11368. XSetTransientForHint fix breaks paint .net's tool windows. more
  11369. work needed for that one.
  11370. 2006-11-01 Chris Toshok <[email protected]>
  11371. * ScrollBar.cs: throw ArgumentException instead of Exception in
  11372. LargeChange/SmallChange setters. fixes unit tests.
  11373. 2006-10-31 Andreia Gaita <[email protected]>
  11374. * ContainerControl.cs: reverted rev.67183 (which was itself
  11375. a reversion of rev.66853... eh).
  11376. * Control.cs: Fixes Reflector hang by changing Focus() call
  11377. to what it was before rev.66643 (calling Select() here sets
  11378. ActiveControl, which in some situations calls back Focus and
  11379. eventually does a stack overflow). Temp fix.
  11380. Changes to GetNextControl() to not look for children to select when
  11381. parent cannot be selectable (so it looks for siblings instead)
  11382. 2006-10-31 Mike Kestner <[email protected]>
  11383. * CheckedListBox.cs : off by one error in returned index from
  11384. ObjectCollection.Add. Fixes #79758.
  11385. 2006-10-31 Chris Toshok <[email protected]>
  11386. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  11387. calls for the textbox/spinner, to keep from recursing to the point
  11388. where we crash. Fixes #79760.
  11389. 2006-10-31 Chris Toshok <[email protected]>
  11390. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  11391. null/"" value, just return. matches ms's behavior and fixes some
  11392. failing tests.
  11393. 2006-10-31 Chris Toshok <[email protected]>
  11394. * Control.cs (set_Capture): make a logic a little easier to
  11395. follow.
  11396. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  11397. if it's being destroyed. A necessary fix surely, but a bandaid
  11398. also, to fix the stuck capture problem in bug #78413.
  11399. 2006-10-31 Chris Toshok <[email protected]>
  11400. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  11401. convention of clearing hwnd.ClientRect when we set the
  11402. width/height (so it'll be recalculated by Hwnd).
  11403. 2006-10-31 Andreia Gaita <[email protected]>
  11404. * ContainerControl.cs: reversed Contains check from
  11405. ActiveControl due to hanging problems. This fix
  11406. partly regresses #79667 (button does not have
  11407. initial focus), so this might be a symptom for
  11408. a larger parenting problem (set_ActiveControl
  11409. is being called but the child control does
  11410. not have the parent set yet?)
  11411. 2006-10-31 Mike Kestner <[email protected]>
  11412. * MenuAPI.cs : fix keynav when menu is click activated.
  11413. 2006-10-31 Jonathan Pobst <[email protected]>
  11414. * ToolStrip*: Version 0.2.
  11415. * MenuStrip.cs: Version 0.1.
  11416. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  11417. 2006-10-30 Chris Toshok <[email protected]>
  11418. [ fixes the oversized notify icon issue in bug #79745 ]
  11419. * NotifyIcon.cs: scale the icon down to the size we're given by
  11420. the XplatUI layer (this would be faster if we did it once instead
  11421. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  11422. since it's never invoked.
  11423. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  11424. pixels high by default, so let's hardcode our systray icon to that
  11425. size. The SYSTEM_TRAY protocol should really have a way for
  11426. client apps to query for the correct icon size.. but oh well. A
  11427. couple of patches to deal with the screwy client_window ==
  11428. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  11429. instance, and also make sure we don't XSelectInput twice).
  11430. 2006-10-30 Chris Toshok <[email protected]>
  11431. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  11432. recreating forms. Control recreation is the bane of my existence.
  11433. Fix it in a way that keeps everyone happy.
  11434. 2006-10-30 Chris Toshok <[email protected]>
  11435. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  11436. just non-CHILD ones. otherwise sometimes scrollbars end up with
  11437. client_windows not being resized to the proper size (ReportBuilder
  11438. shows this extremely well).
  11439. 2006-10-30 Chris Toshok <[email protected]>
  11440. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  11441. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  11442. showing up in the gnome taskbar. Fixes bug #79790.
  11443. 2006-10-30 Chris Toshok <[email protected]>
  11444. * ApplicationContext.cs: guard against a NRE.
  11445. * Application.cs: null out the old MainForm for the context, so we
  11446. don't try to use it again once it's disposed. Fixes bug #79783.
  11447. 2006-10-30 Chris Toshok <[email protected]>
  11448. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  11449. BindingContext, set the data source directly, otherwise do the
  11450. lazy approach - the actual ListManager will be created when we get
  11451. a BindingContext. Fixes bug #79700.
  11452. 2006-10-30 Jonathan Pobst <[email protected]>
  11453. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11454. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  11455. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  11456. 2006-10-30 Jonathan Pobst <[email protected]>
  11457. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  11458. of SetVisible that allows a window to be shown, but not activated.
  11459. This is needed on Windows for MenuStrip, and can probably be used
  11460. with MainMenu and ComboBox to fix the focus stealing issues on
  11461. Windows.
  11462. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  11463. 2006-10-30 Alexander Olk <[email protected]>
  11464. * PictureBox.cs: Fix the output of the ToString method.
  11465. 2006-10-29 Chris Toshok <[email protected]>
  11466. * Control.cs (get_TopLevelControl): fix bug #79781.
  11467. 2006-10-29 Chris Toshok <[email protected]>
  11468. * ListControl.cs (set_DataSource): throw Exception here, not
  11469. ArgumentException, to match MS behavior.
  11470. 2006-10-29 Chris Toshok <[email protected]>
  11471. * Form.cs: remove the try-catch's around calls to GetWindowState.
  11472. We can just check the return value.
  11473. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  11474. Instead return -1.
  11475. * XplatUI.cs: Add note about additional return value for
  11476. GetWindowState.
  11477. 2006-10-29 Chris Toshok <[email protected]>
  11478. * Control.cs (CreateHandle): when we create our handle, we also
  11479. create the handles of our child controls. Fixes one of the
  11480. Control unit tests (CH11).
  11481. 2006-10-28 Alexander Olk <[email protected]>
  11482. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  11483. 2006-10-28 Alexander Olk <[email protected]>
  11484. * ThemeClearlooks.cs: A little speedup.
  11485. 2006-10-27 Chris Toshok <[email protected]>
  11486. * Control.cs: implement Control.FromChildHandle in a way that
  11487. matches the docs (and fixes the failed test.)
  11488. 2006-10-27 Chris Toshok <[email protected]>
  11489. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  11490. comments).
  11491. * DataGrid.cs: implement ResetForeColor such that the tests
  11492. succeed.
  11493. 2006-10-27 Chris Toshok <[email protected]>
  11494. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  11495. being set to "". Fixes bug #79759.
  11496. 2006-10-27 Jackson Harper <[email protected]>
  11497. * TextControl.cs: We need to clear the entire selection area when
  11498. setting the start, otherwise multiline selections are still
  11499. visible.
  11500. 2006-10-26 Chris Toshok <[email protected]>
  11501. * PropertyGridView.cs:
  11502. - ifdef all the code specific to the double
  11503. buffer case, and provide some alternatives in the non-doublebuffer
  11504. code, which makes heavy use of XplatUI.ScrollWindow to move things
  11505. around without having to invalidate (and cause flicker). There
  11506. are still some drawing problems in the non-doublebuffered case, so
  11507. DOUBLEBUFFER is defined by default.
  11508. - Fix the way dropdowns are handled. now we explicitly watch for
  11509. the events which might cause the dropdown to close, and break out
  11510. of the nested event loop there. This gets rid of all Capture
  11511. code, at the expense of the Msg special casing. Seems to work,
  11512. though, and fixes bug #79743.
  11513. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  11514. * Control.cs: SetIsRecreating now recreates implicitly added
  11515. child controls as well. Finally fixes #79629. The flag passed to
  11516. SetIsRecreating has also been removed since it wasn't used.
  11517. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  11518. * PageSetupDialog.cs: Clean some code, fix some bits,
  11519. add some checks, and add a printer sub-dialog.
  11520. 2006-10-26 Chris Toshok <[email protected]>
  11521. * PropertyGrid.cs: make set_SelectedObject call
  11522. set_SelectedObjects, and move the duplicate logic to the
  11523. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  11524. * PropertyGridView.cs: hide the textbox when we get a
  11525. SelectedObjectsChanged event.
  11526. Fixes bug #79748.
  11527. 2006-10-26 Chris Toshok <[email protected]>
  11528. * PropertyGridView.cs: deal with the type converter not supporting
  11529. GetStandardValues() or GetStandardValues() returning null, which
  11530. is does in the default case. Fixes #79742.
  11531. 2006-10-25 Andreia Gaita <[email protected]>
  11532. * CheckedListBox.cs: nunit no longer crashes when selecting
  11533. Project/Edit menu option
  11534. 2006-10-25 Andreia Gaita <[email protected]>
  11535. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  11536. is no menu selected. fixes #79739
  11537. 2006-10-25 Chris Toshok <[email protected]>
  11538. * PropertyGridView.cs: factor out the splitter invalidation code
  11539. into the SplitterPercent setter, and for kicks implement the
  11540. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  11541. amount in either direction.
  11542. 2006-10-25 Chris Toshok <[email protected]>
  11543. * PropertyGridView.cs: do some cleanup of the brush used to draw
  11544. text - read only fields should be grayed out. not sure how to do
  11545. this with the textbox, though. but the textbox's should also be
  11546. readonly now at least. Also, hide/show the textbox when resizing
  11547. the control.
  11548. * CursorConverter.cs: use System.Reflection when getting the
  11549. properties of Cursors, as TypeDescriptor.GetProperties isn't
  11550. returning static properties.
  11551. 2006-10-25 Chris Toshok <[email protected]>
  11552. * PropertyGridView.cs: factor out the up/down handling, and reuse
  11553. it for page up/down. also add End/Home support.
  11554. 2006-10-25 Chris Toshok <[email protected]>
  11555. * PropertyGridView.cs:
  11556. - ensure the selected grid item is visible in the scrolled area,
  11557. fixes bug #79572.
  11558. - fix Keys.Down handling when you're on the last item in the
  11559. propertygrid.
  11560. 2006-10-25 Mike Kestner <[email protected]>
  11561. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  11562. clicks too. Fixes #79725.
  11563. 2006-10-24 Chris Toshok <[email protected]>
  11564. * PropertyGrid.cs: use property.Converter instead of
  11565. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  11566. TypeConverters declared on the property as well as on the
  11567. PropertyType. Fixes bug #79678.
  11568. 2006-10-24 Alexander Olk <[email protected]>
  11569. * MimeIcon.cs, Mime.cs:
  11570. Fallback to the default platform handler if no shared mime info
  11571. stuff exists (fixes #79693).
  11572. 2006-10-20 Andreia Gaita <[email protected]>
  11573. * ContainerControl.cs: Incorrect contains check in ActiveControl
  11574. from previous fix (duh).
  11575. 2006-10-20 Chris Toshok <[email protected]>
  11576. * PropertyGridView.cs: the dropdown should be MIN(number of items
  11577. in list, 15). Fixes #79551.
  11578. 2006-10-20 Andreia Gaita <[email protected]>
  11579. Fixes #79384, #79394, #79652, #79667
  11580. * Application.cs:
  11581. - Modal windows are now destroyed in the proper order for windows
  11582. * ContainerControl.cs:
  11583. - ActiveControl setter has more conditions on when to return:
  11584. - if we're reselecting the active control, but it actually
  11585. didn't have focus (window hidden or some such), it runs
  11586. - if the active control being selected doesn't actually
  11587. exist in the container, it returns
  11588. * Form.cs
  11589. - The ShowDialog now gets the current form as the owner when
  11590. invoking without parameters, and correctly activates the owner
  11591. when returning
  11592. * MessageBox.cs
  11593. - MessageBox now catches the Escape key to exit
  11594. 2006-10-20 Chris Toshok <[email protected]>
  11595. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  11596. most of bug #79676):
  11597. - you can navigate around the property grid with the arrow keys.
  11598. - the dropdown is sized properly when the pg has a vertical
  11599. scrollbar.
  11600. - fix the indentation for subentries, and properly select the
  11601. entire label rect.
  11602. - fix the gray bar's drawing (only draw it to the last element,
  11603. not for the height of the control. Also make sure we draw that
  11604. last horizontal grid line.
  11605. - use the same mechanism the datagrid uses wrt the editing textbox
  11606. when scrolling/resizing/etc. Namely, we hide it first, do the
  11607. operation, then show it again (if it's still visible).
  11608. - aggressively remove a lot of unnecessary refreshes (and also
  11609. calls to Invalidate(). call more limited variants, and only redraw
  11610. what we need.)
  11611. * PropertyGrid.cs:
  11612. - when we're populating the merged collection, fill in the UI
  11613. parent with either the passed in item, or the category item we
  11614. create.
  11615. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  11616. * GridItem.cs: drop some fully qualified names.
  11617. * GridEntry.cs: add a "UIParent", which is basically the parent
  11618. treenode.
  11619. * GridItemCollection.cs: add an IndexOf method.
  11620. 2006-10-20 Mike Kestner <[email protected]>
  11621. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  11622. a working win32 NC invalidation mechanism, we can't invalidate
  11623. menus. [Fixes #79705]
  11624. 2006-10-20 Mike Kestner <[email protected]>
  11625. * ListBox.cs : don't update the VScrollbar if the list is empty,
  11626. just hide it. [Fixes #79692]
  11627. 2006-10-20 Jackson Harper <[email protected]>
  11628. * RichTextBox.cs: Handle some special chars better, and don't skip
  11629. the entire group when we encounter a special char that we don't
  11630. handle correctly.
  11631. 2006-10-18 Chris Toshok <[email protected]>
  11632. * PropertyGridView.cs: address a number of issues from bug #79676,
  11633. mostly of the cosmetic variety.
  11634. - The highlight rectangle for indented items not extends all the
  11635. way to the left.
  11636. - Indented items aren't indented so much.
  11637. - the dropdown is properly sized width-wise if the pg has a
  11638. vertical scrollbar.
  11639. 2006-10-18 Chris Toshok <[email protected]>
  11640. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  11641. systray stuff is rather convoluted to begin with.
  11642. systray icons are a single window for some reason (that I haven't
  11643. figured out yet), and for them, client_window == whole_window.
  11644. Given the way the tests are structured elsewhere to determine
  11645. which paints are pending (client vs. nc), that situation will
  11646. always yield PAINT, not NCPAINT. So, if we have a pending
  11647. nc_expose and no pending expose, remove the hwnd from the paint
  11648. queue, and also set nc_expose_pending to false, to keep us from
  11649. blocking further expose's adding the hwnd to the paint queue.
  11650. phew. like i said, a rather convoluted change. Fixes the
  11651. notifyicon repaint issues in bug #79645.
  11652. 2006-10-18 Chris Toshok <[email protected]>
  11653. * Form.cs: when getting the backcolor of the form, don't get
  11654. base.BackColor, as this allows parents to influence the background
  11655. color. This breaks mdi forms. Instead, if the background_color
  11656. is empty, return the default.
  11657. 2006-10-18 Chris Toshok <[email protected]>
  11658. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  11659. to being private instead of internal static.
  11660. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  11661. crap, it wasn't working for more deeply nested controls anyway,
  11662. and we already have the is_recreating flag - use that instead.
  11663. Before calling DestroyHandle in RecreateHandle, recurse through
  11664. the control tree setting it to true. this returns the recreate
  11665. code to much of its original simplicity, while now guaranteeing we
  11666. actually recreate everything we're supposed to. This change gets
  11667. fyireporting actually showing mdi children.
  11668. 2006-10-17 Chris Toshok <[email protected]>
  11669. * Form.cs: remove some debug spew, and collapse some duplicate
  11670. code at the end of SetClientSizeCore.
  11671. * XplatUIX11.cs:
  11672. - add some more debug spew here too wrt Destroy handling.
  11673. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  11674. in Control's handling of WM_DESTROY.
  11675. - Remove the handling of zombie window DestroyNotifies from the
  11676. event loop - we don't need it. Now the only DestroyNotifies we
  11677. actually handle are ones generated by X.
  11678. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  11679. match gtk's (functioning) handling of this. This keep metacity
  11680. from leaving droppings in the form of wm borders with no window
  11681. contents all over the place.
  11682. * Control.cs:
  11683. - add a bunch of debug spew wrt control recreation.
  11684. - fix a bug where we weren't tracking Visible properly on
  11685. recreated hwnds.
  11686. - fixed the WM_PAINT double buffer handling to support re-entrant
  11687. calls (yes, i know it's gross, but it's happening to us).
  11688. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  11689. * ThemeWin32Classic.cs: changed drawing of selected days
  11690. to make them look better.
  11691. 2006-10-16 Chris Toshok <[email protected]>
  11692. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  11693. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  11694. * XplatUIX11.cs: move away from using hwnd.client_dc and
  11695. hwnd.non_client_dc and on to a stack of dc's (and in window's
  11696. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  11697. without puking or not disposing of Graphics objects.
  11698. * XplatUIOSX.cs: same.
  11699. * XplatUIWin32.cs: same.
  11700. 2006-10-03 Alexander Olk <[email protected]>
  11701. * FileDialog.cs: Don't call on_directory_changed inside
  11702. OnSelectedIndexChanged (it changes the SelectedIndex too).
  11703. Instead move it to OnSelectionChangeCommitted.
  11704. 2006-10-13 Chris Toshok <[email protected]>
  11705. * XplatUIX11.cs: more Destroy work. the current code does the
  11706. following things, in order:
  11707. 1. Enumerates all handles of all controls at or below the one
  11708. being destroyed, in pre-order. As it is doing this, it marks the
  11709. handles as zombie and clears all references to them.
  11710. 2. calls XDestroyWindow on the window passed in.
  11711. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  11712. list.
  11713. 2006-10-13 Chris Toshok <[email protected]>
  11714. * XplatUIX11.cs: set hwnd.zombie to true before calling
  11715. SendMessage (WM_DESTROY). this keeps us from marking the new
  11716. window a zombie, and also keeps us from calling sendmessage at
  11717. all.
  11718. 2006-10-13 Jackson Harper <[email protected]>
  11719. * TextControl.cs: Do not show the caret and selection at the same
  11720. time. Reduces ugliness by 35%.
  11721. 2006-10-13 Chris Toshok <[email protected]>
  11722. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  11723. zombie after we do the recursive call, so we actually do call
  11724. SendMessage on the children controls.
  11725. (GetMessage): if we find a pending paint event for a zombie hwnd,
  11726. remove the hwnd from the paint queue, or else it will always be
  11727. there (and we'll effectively loop infinitely)
  11728. 2006-10-13 Mike Kestner <[email protected]>
  11729. * MenuItem.cs : add Selected format under keynav too.
  11730. Fixes #79528.
  11731. 2006-10-13 Gert Driesen <[email protected]>
  11732. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  11733. implementation and that of MS.
  11734. 2006-10-13 Chris Toshok <[email protected]>
  11735. * Control.cs (OnInvalidated) only futz with the invalid_region if
  11736. the control is double buffered. this fixes the apparent hang in
  11737. the ListView unit tests. Someone needs to make the
  11738. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  11739. 2006-10-13 Chris Toshok <[email protected]>
  11740. * PropertyGridView.cs:
  11741. - do a little refactoring so that only one place calls
  11742. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  11743. else call that. Also make it Refresh, since there are redraw bugs
  11744. otherwise (we should take a look at that...)
  11745. - do a little more refactoring work to share the body of code
  11746. involved with the drop down. it was duplicated in the code
  11747. dealing with the listbox handling and in the code dealing with the
  11748. UITypeEditors.
  11749. - add a Capture to the dropdown form's control once it's
  11750. displayed, and add a MouseDown handler that checks to make sure
  11751. the position is inside the control. If it's not, close the
  11752. dropdown. This fixes #78190.
  11753. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  11754. if the value is different than the initial value.
  11755. 2006-10-13 Andreia Gaita <[email protected]>
  11756. * Control.cs: see #78650
  11757. - Fixed GetNextControl for several cases:
  11758. - Changed FindFlatForward to return
  11759. correct sibling control when more than one
  11760. control has same TabIndex as the currently
  11761. focused one.
  11762. - Changed FindFlatBackward to loop children
  11763. from last to first and apply same logic as in
  11764. FindFlatForward
  11765. - Changed FindControlForward to search for
  11766. children when control is not a container
  11767. but has children, or search for siblings if
  11768. control is a container...
  11769. - Changed FindControlBackward to continue
  11770. searching for child controls when hitting
  11771. Panel-like parents
  11772. - Fixed Focus method to update ActiveControl
  11773. (FocusTest.FocusSetsActive failure)
  11774. * TabControl.cs:
  11775. - Focus rectangle now refreshes when gaining
  11776. or losing focus
  11777. - Removed grab for Tab key on IsInputKey that
  11778. was keeping tab navigation from working (#78650)
  11779. 2006-10-13 Chris Toshok <[email protected]>
  11780. * PropertyGridView.cs:
  11781. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  11782. SelectedObjects.
  11783. - Deal with GridItem.Value == null a few places.
  11784. * PropertyGrid.cs:
  11785. - replace the PopulateGridItemCollection with a pair of methods
  11786. which compute the intersection of all the properties in the
  11787. SelectedObjects array. Fixes #79615.
  11788. - Throw ArgumentException from set_SelectedObjects if there's a
  11789. null in the array.
  11790. - Add GetTarget method which can be used to traverse up the
  11791. GridItem.Parent chain. It depends on the assumption that
  11792. selected_objects for different GridEntries are always in the same
  11793. order (a safe assumption). Use this method and loop over all the
  11794. selected objects in the entry when calling RemoveValueChanged and
  11795. AddValueChanged.
  11796. * GridEntry.cs: Make this handle multiple selected objects.
  11797. .Value returns null if not all the selected objects share the same
  11798. value.
  11799. 2006-10-12 Jonathan Pobst <[email protected]>
  11800. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  11801. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  11802. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  11803. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  11804. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  11805. add additional functionality.
  11806. 2006-10-12 Mike Kestner <[email protected]>
  11807. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  11808. * HelpProvider.cs : new ToolTipWindow ctor sig.
  11809. * ToolTip.cs : remove ToolTip param from Window sig since it is
  11810. not used.
  11811. * ToolBar.cs : add tooltip support. Fixes #79565.
  11812. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11813. * ComboBox.cs: move the events in set_SelectedIndex to
  11814. after the call to HighlightIndex in order to avoid
  11815. possible recursion and subsequent problems with the call
  11816. to HighlightIndex and include a range check in
  11817. set_HighlightIndex. Fixes #79588
  11818. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11819. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  11820. to ui thread's settings instead of sunday.
  11821. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  11822. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11823. * DateTimePicker.cs
  11824. * MonthCalendar.cs
  11825. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  11826. and implement missing functionality (selecting different parts
  11827. of the date and edit them individually with the keyboard).
  11828. 2006-10-11 Chris Toshok <[email protected]>
  11829. * Control.cs (OnInvalidated): fix NRE relating to last change.
  11830. 2006-10-11 Chris Toshok <[email protected]>
  11831. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  11832. atoms in _NET_WM_STATE here if the window is maximized. We need
  11833. to do this because we're *replacing* the existing _NET_WM_STATE
  11834. property, so those atoms will be lost otherwise, and any further
  11835. call to GetWindowState will return Normal for a window which is
  11836. actually maximized. Fixes #79338.
  11837. 2006-10-11 Jackson Harper <[email protected]>
  11838. * TextControl.cs: Special case for setting selection end to
  11839. selection start, we basically kill the anchor.
  11840. - some todo comments.
  11841. 2006-10-11 Chris Toshok <[email protected]>
  11842. * Control.cs: switch to using an "invalid_region" to track which
  11843. parts of the image buffer need updating. This is more code than
  11844. the simple fix from r66532. That version just attempted to always
  11845. fill the entire buffer on redraw, which turns out to be
  11846. inefficient when invalidating small rectangles. This version
  11847. simply adds the invalid rectangle to the invalid region. When we
  11848. get any WM_PAINT message we see if it can be filled using the
  11849. image buffer, and if it can't (if the paint event's clip rectangle
  11850. is visible in the invalid region) we first fill the image buffer.
  11851. So, the image buffer is still a cache, we just fill it lazily.
  11852. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  11853. need it any longer.
  11854. 2006-10-11 Chris Toshok <[email protected]>
  11855. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  11856. well as size after calling XMoveResizeWindow. This keeps us from
  11857. ignoring future SetWindowPos calls. Fixes the disappearing
  11858. DateTimePicker in the ToolBarDockExample from bug #72499.
  11859. 2006-10-11 Chris Toshok <[email protected]>
  11860. * TextBoxBase.cs: reorder things a bit when it comes to
  11861. resizing-causing-recalculation. we were recalculating the
  11862. document when our position was changed, which shouldn't happen.
  11863. We only care about size changes. Clear up some more redundant
  11864. recalculation calls while I'm at it. This makes the toolbar dock
  11865. example snappy when you're just dragging toolbars around (since it
  11866. causes a relayout whenever you move one.)
  11867. 2006-10-11 Chris Toshok <[email protected]>
  11868. * ToolBarButton.cs (get_Rectangle): this only returns
  11869. Rectangle.Empty if Visible == false, or Parent == null.
  11870. Parent.Visible doesn't matter.
  11871. 2006-10-10 Chris Toshok <[email protected]>
  11872. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  11873. by .net 1.1, so switch to an internal method instead.
  11874. 2006-10-10 Chris Toshok <[email protected]>
  11875. * Control.cs (WM_PAINT): when a control is double buffered we draw
  11876. initially to the ImageBuffer and then copy from there. But when a
  11877. parent control which has child controls is double buffered, the
  11878. initial drawing doesn't encompass the entire ClientRectangle of
  11879. the parent control, so we end up with uninitialized bits (this is
  11880. easily seen by dragging the top toolbar in
  11881. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  11882. manually set the ClipRectangle of the paint_event (only the one we
  11883. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  11884. of the nastiness in bug #72499.
  11885. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  11886. which we use in Control.cs's WM_PAINT handling.
  11887. 2006-10-10 Jackson Harper <[email protected]>
  11888. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  11889. 2006-10-10 Chris Toshok <[email protected]>
  11890. * Cursor.cs: Apply a slightly different patch to the one suggested
  11891. in #79609.
  11892. 2006-10-10 Jackson Harper <[email protected]>
  11893. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  11894. not the parent form.
  11895. * TextControl.cs: use difference in old line count vs new count to
  11896. calculate how many lines were added, this takes into account soft
  11897. line breaks properly.
  11898. 2006-10-10 Chris Toshok <[email protected]>
  11899. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  11900. rectangle located at 0,0 and the size of the text. Use
  11901. ClientRectangle instead. This fixes rendering of non-left aligned
  11902. link labels.
  11903. 2006-10-10 Jackson Harper <[email protected]>
  11904. * TextBoxBase.cs: When we set the selection start position the
  11905. caret.
  11906. * TextControl.cs: Need to update the caret when we decrement it to
  11907. zero.
  11908. - Make sure that the selection_visible flag gets reset to false if
  11909. the selection isn't visible. Before this you could get it set to
  11910. visible by changing the selection start, then changing the end to
  11911. equal the start.
  11912. 2006-10-09 Jackson Harper <[email protected]>
  11913. * TreeView.cs: Don't update scrollbars when we aren't visible.
  11914. * TreeNodeCollection.cs: Only need to update scrollbars if being
  11915. added to an expanded visible node or the root node.
  11916. 2006-10-09 Chris Toshok <[email protected]>
  11917. * XplatUIX11.cs (SendMessage): fix NRE.
  11918. 2006-10-09 Jackson Harper <[email protected]>
  11919. * TextBoxBase.cs: Implement horizontal autoscrolling.
  11920. * TextControl.cs: Add a movement types that allows moving forward
  11921. and backwards without wrapping.
  11922. 2006-10-09 Mike Kestner <[email protected]>
  11923. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  11924. with focus "expansion" of labels. Fixes #79532 and then some.
  11925. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  11926. when wrapping.
  11927. 2006-10-09 Jackson Harper <[email protected]>
  11928. * TextBoxBase.cs: Set the default max values to MaxValue since
  11929. we use the scrollbar for autoscrolling and the default value is
  11930. 100. If we don't do this the caret won't keep up with typing
  11931. after about 18 characters.
  11932. * TextControl.cs: Make sure the selection is offset by the
  11933. viewport x. This fixes selection when using auto scrolling.
  11934. 2006-10-07 Andreia Gaita <[email protected]>
  11935. * Form.cs: The active control should be selected after the
  11936. OnLoad so that any child control initialization that affects
  11937. the selection is done. Fixes #79406
  11938. 2006-10-06 Chris Toshok <[email protected]>
  11939. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  11940. to have no evil effects.
  11941. - Stop selecting StructureNotifyMask on non-toplevel windows.
  11942. The only way children should be resized is by using the SWF api,
  11943. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  11944. Toplevel windows can be interacted with via the window manager,
  11945. and so we keep the input mask there.
  11946. The other event StructureNotifyMask gives us (that we care
  11947. about) is DestroyNotify. The code is already structured such
  11948. that it assumes we won't be getting a DestroyNotify event for
  11949. the window we pass to XDestroyWindow (which is what
  11950. StructureNotifyMask is supposed to guarantee.) So, that code
  11951. shouldn't be affected by this either.
  11952. - Stop selecting VisibilityChangeMask altogether.
  11953. We weren't doing anything with the resulting events anyway.
  11954. This vastly reduces the number of X requests and events we see
  11955. when resizing/laying out a large ui.
  11956. 2006-10-06 Chris Toshok <[email protected]>
  11957. * ScrollableControl.cs (DisplayRectangle): we need to take into
  11958. account the DockPadding regardless of whether or not auto_scroll
  11959. == true. rework this slightly to this effect, and fix bug #79606,
  11960. and part of #72499 (you can now see the drag handles and drag
  11961. toolbars around).
  11962. 2006-10-06 Gert Driesen <[email protected]>
  11963. * ListViewItem.cs: Collections of selected and checked items are now
  11964. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  11965. we mark the collection "dirty".
  11966. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  11967. to only clear SelectedItems when a new item is selected and MultiSelect
  11968. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  11969. event of ListViewItemCollection, and mark its list dirty whenever
  11970. that event is fire. This allows us to return selected/checked items
  11971. in the same order as they are in the Items collection. This matches
  11972. the MS behavior.
  11973. 2006-10-06 Chris Toshok <[email protected]>
  11974. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  11975. right mouse clicks. Fixes bug #79593.
  11976. 2006-10-06 Chris Toshok <[email protected]>
  11977. * Splitter.cs: doh, fix splitters that don't want to cancel the
  11978. movement when you drag them. Also, impose the limits on the
  11979. values we send to the SplitterMovingEvent. Fixes #79598.
  11980. 2006-10-06 Jackson Harper <[email protected]>
  11981. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  11982. since we use this for auto scrolling also.
  11983. 2006-10-05 Chris Toshok <[email protected]>
  11984. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  11985. beginning to think that most datagrid column types don't need this
  11986. method. Fixes bug #79392.
  11987. 2006-10-05 Chris Toshok <[email protected]>
  11988. * DataGrid.cs: move back to a more lazy scheme for creating the
  11989. CurrencyManager, so we aren't updating it every time you set
  11990. either DataSource or DataMember. Also, don't call
  11991. RecreateDataGridRows if the currency manager hasn't changed.
  11992. 2006-10-05 Chris Toshok <[email protected]>
  11993. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  11994. emitted, SelectedIndex should already be updated. Fixes bug
  11995. #78929.
  11996. 2006-10-05 Jonathan Pobst <[email protected]>
  11997. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  11998. ToolStripTextBox.cs: Initial commit.
  11999. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  12000. 2006-10-05 Jackson Harper <[email protected]>
  12001. * TabControl.cs: We need to invalidate the tab control area when
  12002. new ones are added (duh).
  12003. 2006-10-03 Chris Toshok <[email protected]>
  12004. * Form.cs (ProcessDialogKey): if the focused control is in this
  12005. form and is a button, call its PerformClick method here. Fixes
  12006. #79534.
  12007. 2006-10-04 Jackson Harper <[email protected]>
  12008. * TabPage.cs: Ignore setting of Visible, and add an internal
  12009. method for setting the controls visibility. TabPage's Visible
  12010. property is a little strange on MS, this seems to make us
  12011. compatible, and fixes cases where people set all the tab pages to
  12012. visible.
  12013. * TabControl.cs: Use the new internal setting on tab pages
  12014. visibility.
  12015. 2006-10-03 Mike Kestner <[email protected]>
  12016. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  12017. 2006-10-03 Mike Kestner <[email protected]>
  12018. * ListView.cs : use is_visible instead of Visible to check if
  12019. scrollbars should be placed/sized. Also some max_wrap_width
  12020. love for LargeIcon view. [Fixes #79533]
  12021. 2006-10-03 Atsushi Enomoto <[email protected]>
  12022. * TextControl.cs :
  12023. Make set_TextAlign() do actually update the align. Fixed #78403.
  12024. 2006-10-03 Chris Toshok <[email protected]>
  12025. * DataGrid.cs: fix a crash when switching datasources if the
  12026. vertical scrollbar is at someplace other than Value = 0. Also,
  12027. reduce the number of recalculation passes we do in SetDataSource
  12028. from 2 to 1.
  12029. 2006-10-03 Jackson Harper <[email protected]>
  12030. * TextBoxBase.cs: Move the if value the same bail check up, we
  12031. don't want to empty the document if it is already empty, this
  12032. seems to severly mess up the caret. TODO: I should probably fix
  12033. the empty statement to update teh caret somehow.
  12034. 2006-10-03 Chris Toshok <[email protected]>
  12035. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  12036. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  12037. reflection, an internal row type, properties on said type, etc.)
  12038. will work with our datagrid. Fixes #79531.
  12039. 2006-10-03 Alexander Olk <[email protected]>
  12040. * FileDialog.cs: Don't crash if a path is not accessible
  12041. (System.UnauthorizedAccessException). Fixes #79569.
  12042. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  12043. a ':' too. Return unknown icon for those paths/files.
  12044. 2006-10-03 Sebastien Pouliot <[email protected]>
  12045. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  12046. GetContainerControl returns null.
  12047. 2006-10-02 Chris Toshok <[email protected]>
  12048. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  12049. call to XGetWindowAttributes instead of "handle". fixes an X
  12050. error using notifyicon after the NotifyIconWindow to Form base
  12051. class switch.
  12052. 2006-10-02 Chris Toshok <[email protected]>
  12053. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  12054. server grab and looping we need to do to get down to the most
  12055. deeply nested child window.
  12056. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  12057. QueryPointer again after the WarpPointer so we can generate a
  12058. proper (fake) MotionNotify event to be enqueued in the destination
  12059. window's queue.
  12060. (GetCursorPos): call QueryPointer.
  12061. Fixes #79556.
  12062. 2006-10-02 Jackson Harper <[email protected]>
  12063. * NotifyIcon.cs: Derive the notify icon from a form, so things
  12064. like FindForm work on it.
  12065. - Swallow the WM_CONTEXTMENU message, since that is generated on
  12066. mouse down, and context menu is a mouse up kinda guy. I believe
  12067. the correct fix here is probably to make the notify icon entirely
  12068. NC area, but this seems to work fine for anyone not manipulating
  12069. WndProc.
  12070. 2006-10-02 Jonathan Pobst <[email protected]>
  12071. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  12072. ToolStripItemCollection.cs, ToolStripLabel.cs,
  12073. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  12074. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  12075. Initial implementation.
  12076. * TextRenderer.cs: Provide padding to MeasureText.
  12077. 2006-10-02 Sebastien Pouliot <[email protected]>
  12078. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  12079. of ButtonBaseAccessibleObject. Fix bug #79552.
  12080. 2006-10-02 Jackson Harper <[email protected]>
  12081. * MdiWindowManager.cs: When maximizing use the containers client
  12082. rect, not it's bounds, so nc area is accounted correctly.
  12083. - Use the parent form's size for the menu position, since the
  12084. client isn't always the full form size.
  12085. 2006-10-01 Chris Toshok <[email protected]>
  12086. * ScrollableControl.cs: make sure neither right_edge or
  12087. bottom_edge are < 0, since they're used as LargeChange for the
  12088. horiz/vert scrollbars respectively. Fixes #79539.
  12089. 2006-10-01 Chris Toshok <[email protected]>
  12090. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  12091. the xplatuix11 code can cause us to destroy/recreate our handle.
  12092. * XplatUIX11.cs
  12093. (SystrayAdd):
  12094. - this code can be invoked many times for the same Hwnd. Make
  12095. sure we only destroy the client window once (the first time this
  12096. method is called). This fixes bug #79544.
  12097. - Remove the call to the improperly bound XSync. why we had two
  12098. bindings to this, I will never know, but this call resulted in
  12099. events being discarded from the queue(!).
  12100. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  12101. not our current state but the state we wish to be in. So, 0 if
  12102. we don't want to be mapped. Change it to 1.
  12103. (SystrayRemove): The XEMBED spec makes mention of the fact that
  12104. gtk doesn't support the reparent of client windows away from the
  12105. embedder. Looking at gtksocket-x11.c seems to agree with this.
  12106. The only avenue we have for removing systray icons is to destroy
  12107. them. We don't want the handle to go away for good, though, so
  12108. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  12109. #79545.
  12110. 2006-10-01 Chris Toshok <[email protected]>
  12111. * Form.cs (WndProc): inline the native_enabled variable usage into
  12112. the cases in which it's used. Fixes #79536.
  12113. 2006-09-29 Mike Kestner <[email protected]>
  12114. * ListView.cs : toggle the selection state for ctrl clicks in
  12115. multiselect mode. [Fixes #79417]
  12116. 2006-09-29 Mike Kestner <[email protected]>
  12117. * ListView.cs : kill CanMultiSelect and refactor the selection
  12118. code to support multiselection in the absence of mod keys. Steal
  12119. arrow/home/end keys by overriding InternalPreProcessMessage to
  12120. restore regressed keynav behavior.
  12121. [Fixes #79416]
  12122. 2006-09-29 Jackson Harper <[email protected]>
  12123. * MdiClient.cs: Repaint the titlebars when the active window is
  12124. changed.
  12125. 2006-09-29 Chris Toshok <[email protected]>
  12126. * Application.cs: when entering a runloop with a modal, make sure
  12127. the hwnd is enabled. Fixes #79480.
  12128. 2006-09-29 Chris Toshok <[email protected]>
  12129. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  12130. when ListManager.CanAddRows == false, bump us back one.
  12131. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  12132. listmanager.CanAddRows check. This makes ArrayLists uneditable
  12133. using a datagrid, which is not right.
  12134. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  12135. is an IEditable, but call property_descriptor.SetValue regardless.
  12136. fixes #79435.
  12137. 2006-09-29 Chris Toshok <[email protected]>
  12138. * DataGridBoolColumn.cs: we need to test equality in the face of
  12139. possible null values (as is the case with the default NullValue).
  12140. This patch keeps us from crashing in that case.
  12141. 2006-09-29 Jackson Harper <[email protected]>
  12142. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  12143. here, since it will get called for every node collection in the
  12144. tree. This is now done in the treeview once the sorting is
  12145. finished.
  12146. * TreeView.cs: Recalculate the visible order, and update the
  12147. scrollbars after sorting, set the top nope to the root so that the
  12148. recalc actually works.
  12149. 2006-09-29 Chris Toshok <[email protected]>
  12150. * LinkLabel.cs: more handling of the default link collection in
  12151. the face of LinkArea manipulation. The default link collection
  12152. contains 1 element (start=0,length=-1). If the user sets LinkArea
  12153. to anything and the links collection is the default, clear it.
  12154. Then only add the link if its nonempty. Fixes #79518.
  12155. 2006-09-29 Chris Toshok <[email protected]>
  12156. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  12157. piece correctly when we hit a '\n'. Fixes #79517.
  12158. 2006-09-29 Chris Toshok <[email protected]>
  12159. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  12160. change the binding of gdk_init_check to take two IntPtr's, and
  12161. pass IntPtr.Zero for both of them. Fixes #79520.
  12162. 2006-09-29 Mike Kestner <[email protected]>
  12163. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  12164. [Fixes #78779]
  12165. 2006-09-28 Jackson Harper <[email protected]>
  12166. * XplatUIX11.cs: When translating NC messages make sure we go from
  12167. whole window to screen, not client window to screen.
  12168. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  12169. method doesn't exist
  12170. - Skip over controls that aren't forms when arranging.
  12171. 2006-09-28 Jackson Harper <[email protected]>
  12172. * XplatUIWin32.cs: Clip the rect to the parent window.
  12173. * XplatUIStructs.cs: Add clipping modes struct.
  12174. * InternalWindowManager.cs: New private method that factors title
  12175. bar heights in when calculating the pos of an NC mouse message.
  12176. - Use SendMessage to force a paint when the form's size is changed
  12177. instead of painting the decorations immediately.
  12178. - Don't let the NC button click messages get to DefWndProc,
  12179. because they will attempt to handle windowing themself, and this
  12180. messes up z-order (it will put them in front of the scrollbars).
  12181. * XplatUIX11.cs: Make sure that we don't reset window managers if
  12182. we already have one (ie the window is an MDI window).
  12183. 2006-09-28 Chris Toshok <[email protected]>
  12184. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  12185. menu code really needs going over.
  12186. 2006-09-27 Chris Toshok <[email protected]>
  12187. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  12188. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  12189. window is maximizable. So, we need to make sure that even if we
  12190. clear the border/wm frame of those functions, they're still
  12191. available (basically, we remove the decoration without removing
  12192. the function). Half the fix for #79338.
  12193. 2006-09-27 Chris Toshok <[email protected]>
  12194. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  12195. Fixes bug #79515.
  12196. 2006-09-27 Chris Toshok <[email protected]>
  12197. * Splitter.cs: reorder things a bit so that we don't actually
  12198. draw/move the splitter until after calling OnSplitterMoving. This
  12199. lets users cancel/disallow the movement by explicitly setting
  12200. event.SplitX/SplitY. Fixes #79372.
  12201. 2006-09-27 Jackson Harper <[email protected]>
  12202. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  12203. because it is most likely on a window being destroyed, and that
  12204. will give us an X11 error.
  12205. 2006-09-27 Chris Toshok <[email protected]>
  12206. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  12207. the dropdown button now toggles between showing and hiding the
  12208. dropdown. Also, get rid of dropdown_form_showing and just use
  12209. dropdown_form.Visible. We still don't do a grab, but I'll leave
  12210. that part to someone who has handled Capture-fu before.
  12211. 2006-09-27 Chris Toshok <[email protected]>
  12212. * DataGrid.cs: return false if alt isn't pressed when '0' is
  12213. pressed. this keeps the '0' key from being swallowed, and fixes
  12214. bug #79350.
  12215. 2006-09-27 Chris Toshok <[email protected]>
  12216. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  12217. Calling Refresh (in response to a scrollbar event) screws up the
  12218. scrollbar painting. Fixes bug #78923.
  12219. 2006-09-27 Chris Toshok <[email protected]>
  12220. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  12221. then insert into hashtable" blocks threadsafe.
  12222. 2006-09-27 Chris Toshok <[email protected]>
  12223. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  12224. baseclass's, since otherwise the
  12225. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  12226. effect. This gets the close button back in messageboxes.
  12227. 2006-09-27 Chris Toshok <[email protected]>
  12228. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  12229. flag, not just != 0. this makes flags that are actually multiple
  12230. bits (like WS_CAPTION) work. fixes bug #79508.
  12231. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  12232. * PageSetupDialog.cs: add support for getting and settings the
  12233. paper size, source and orientation.
  12234. 2006-09-26 Chris Toshok <[email protected]>
  12235. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  12236. and caption == "", we need to remove the resize handles as well as
  12237. the title bar.
  12238. * Control.cs (set_Text): turns out that setting Text on a form
  12239. should change the WM styles on the window, since if ControlBox ==
  12240. false, the only way to get a window border is to have a non-""
  12241. Text property. check winforms/forms/text.cs for an example. so,
  12242. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  12243. update both window styles and title. This fixes a lot of dialogs
  12244. (including the preferences dialog in MonoCalendar.)
  12245. 2006-09-26 Chris Toshok <[email protected]>
  12246. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  12247. control isn't a Form), call Win32ShowWindow to hide the window,
  12248. but don't update the control Visible property. When we reparent
  12249. back to a parent control, call SetVisible in order for the
  12250. window's visibility to be reinstated.
  12251. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  12252. the FosterParent.
  12253. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  12254. call for good, since it breaks MonoCalendar (and other things I'm
  12255. sure.) Also, set all_controls to null *after* the owner calls,
  12256. which end up regenerating it.
  12257. (ChangeParent): allow new_parent to be == null, passing
  12258. IntPtr.Zero down to XplatUI.
  12259. this fixes #79294 the right way.
  12260. 2006-09-26 Mike Kestner <[email protected]>
  12261. * GridEntry.cs : internal SetParent method.
  12262. * PropertyGrid.cs : attach to property changed on the proper
  12263. target if we have a hierarchical grid with subobjects. Setup
  12264. GridItem.Parent for hierarchical items.
  12265. * PropertyGridView.cs : Set value on the correct target for
  12266. hierarchical grids. [Fixes #78903]
  12267. 2006-09-26 Chris Toshok <[email protected]>
  12268. * Control.cs (ChildNeedsRecreating): this should return true if
  12269. either we're being recreated and the child is in our list, or our
  12270. parent is waiting for our recreation.
  12271. 2006-09-26 Chris Toshok <[email protected]>
  12272. * Control.cs (ControlCollection.Remove): reinstate the
  12273. value.Hide() call as suggested in bug #79294.
  12274. 2006-09-26 Sebastien Pouliot <[email protected]>
  12275. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  12276. coordinates (versus a relative move).
  12277. 2006-09-26 Chris Toshok <[email protected]>
  12278. * Control.cs: rework child recreation a little bit. It turns out
  12279. that we race between the DestroyNotify the WM_DESTROY message. If
  12280. the parent gets its DestroyNotify before the child gets the
  12281. WM_DESTROY message, the child ends up not recreating (since the
  12282. parent finishes its recreation on DestroyNotify, and the child
  12283. checks ParentIsRecreating.)
  12284. So, instead we store off a list of all the child controls which
  12285. need to be recreated when the parent control starts to recreate
  12286. itself. Then, when child controls get their WM_DESTROY message we
  12287. check to see if they're in the parent's pending recreation list,
  12288. and if so, we recreate. This removes all dependency on ordering
  12289. from the code and fixes the initial MonoCalendar upgrade dialog.
  12290. 2006-09-26 Jackson Harper <[email protected]>
  12291. * TextControl.cs: Use the Line to get the length of the line,
  12292. since soft line breaks can change the end line.
  12293. 2006-09-26 Chris Toshok <[email protected]>
  12294. * Control.cs (ControlCollection.AddImplicit): don't add the
  12295. control again if it's already in one of our lists. This keeps us
  12296. from adding controls over and over again for comboboxes when their
  12297. handle gets recreated (as the combobox adds implicit controls in
  12298. OnHandleCreated). Fixes the X11 errors in bug #79480.
  12299. 2006-09-26 Jackson Harper <[email protected]>
  12300. * TextControl.cs: When deleting characters make sure that any
  12301. orphaned zero lengthed tags get deleted.
  12302. - Fix ToString for zero lengthed tags.
  12303. 2006-09-25 Jackson Harper <[email protected]>
  12304. * TextControl.cs: When getting a tag at the location there can be
  12305. multiple tags at the same spot, these are 0-lengthed tags that
  12306. appear when extra formatting has been stuck in a location. We
  12307. need to pull out the last of these 0 lengthed tags.
  12308. 2006-09-25 Jackson Harper <[email protected]>
  12309. * TextControl.cs: Fix print out in debug method.
  12310. * TextBoxBase.cs: When text is set bail if we are setting to the
  12311. previous value.
  12312. 2006-09-24 Alexander Olk <[email protected]>
  12313. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  12314. It is now possible to change the selected index in a FontXXXListBox
  12315. with the up and down arrow keys from the FontXXXTextBoxes.
  12316. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  12317. FontXXXListBoxes to match ms.
  12318. 2006-09-22 Sebastien Pouliot <[email protected]>
  12319. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  12320. anyone can dispose it, anytime. All other properties returns enums,
  12321. structs or basic types so they don't need such tricks.
  12322. 2006-09-22 Jackson Harper <[email protected]>
  12323. * XplatUI.cs:
  12324. * XplatUIWin32.cs:
  12325. * Clipboard.cs:
  12326. * DataFormats.cs:
  12327. * XplatUIOSX.cs:
  12328. * XplatUIDriver.cs: Update interface to add a primary selection
  12329. flag, so the driver can use the primary selection buffer if
  12330. needed.
  12331. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  12332. * RichTextBox.cs: We need to supply the data object to paste now
  12333. (so we can choose to supply CLIPBOARD or PRIMARY).
  12334. * TextBoxBase.cs: Supply data object to paste (see above).
  12335. - Middle click uses the primary selection data object.
  12336. 2006-09-21 Chris Toshok <[email protected]>
  12337. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  12338. of SetWMStyles. It's still a rat's nest and is largely
  12339. order-dependent which I dislike immensely. This also fixes the X
  12340. button disappearing from toplevel forms.
  12341. 2006-09-21 Mike Kestner <[email protected]>
  12342. * ListBox.cs: move Jordi's click/dblclick raising code to the
  12343. mouse up handler.
  12344. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  12345. * ListBox.cs: Fixes 79450
  12346. 2006-09-21 Mike Kestner <[email protected]>
  12347. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  12348. to deal with people updating the TreeNodeCollection after the tree
  12349. is disposed. "Fixes" 79330.
  12350. 2006-09-20 Jackson Harper <[email protected]>
  12351. * TextControl.cs: Push the cursor record onto the undo stack
  12352. before the delete action. This fixes 78651.
  12353. 2006-09-20 Jonathan Chambers <[email protected]>
  12354. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  12355. CreateParams. Fixes 79329.
  12356. 2006-09-19 Chris Toshok <[email protected]>
  12357. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  12358. things up a bit. First, get rid of the NetAtoms array (and the NA
  12359. enum), and just embed the atoms as static fields. Also, add a
  12360. couple of functions (StyleSet and ExStyleSet) to clean up all the
  12361. bitmask testing of styles.
  12362. * X11Structs.cs: remove the NA enum, not needed anymore.
  12363. 2006-09-19 Chris Toshok <[email protected]>
  12364. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  12365. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  12366. added cleanup to get MessageBox titles appearing again, which were
  12367. broken by my earlier fix for caption-less/ControlBox-less windows.
  12368. 2006-09-18 Jonathan Pobst <[email protected]>
  12369. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  12370. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  12371. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  12372. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  12373. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  12374. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  12375. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  12376. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  12377. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  12378. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  12379. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  12380. Inital import.
  12381. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  12382. ToolStripButton.cs: Stubs needed for above.
  12383. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  12384. 2006-09-15 Chris Toshok <[email protected]>
  12385. * XplatUIX11.cs:
  12386. - make the MessageQueues hashtable Synchronized.
  12387. - SendMessage: if the Hwnd is owned by a different thread, use the
  12388. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  12389. thread. Fixes bug #79201.
  12390. 2006-09-15 Chris Toshok <[email protected]>
  12391. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  12392. ControlBox == false, we disallow maximize/minimize/close. If the
  12393. form Caption is "" we also disallow move (and get rid of the Title
  12394. decoration). Unfortunately, regardless of how things are set,
  12395. we're stuck with the Title and WM menu.
  12396. 2006-09-15 Chris Toshok <[email protected]>
  12397. * Application.cs: add locking around the static message_filters
  12398. ArrayList, part of #79196.
  12399. 2006-09-15 Chris Toshok <[email protected]>
  12400. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  12401. Form.ControlBox == false, the window has no titlebar nor resize
  12402. handles. fixes bug #79368.
  12403. 2006-09-15 Chris Toshok <[email protected]>
  12404. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  12405. >= 0. Fixes bug #79370.
  12406. 2006-09-15 Jonathan Pobst <[email protected]>
  12407. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  12408. * Control.cs:
  12409. Add properties: LayoutEngine, Margin, DefaultMargin.
  12410. Add method: GetPreferredSize.
  12411. Move layout logic from PerformLayout to layout engines.
  12412. 2006-09-13 Chris Toshok <[email protected]>
  12413. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  12414. fix for #79326 broke #78718, so this change addresses that.
  12415. - in SendWMDestroyMessages remove the call to
  12416. CleanupCachedWindows, since we might be recreating the control and
  12417. need to maintain the references to right Hwnd handles. Also, set
  12418. the zombie flag to true for each of the children in the hierarchy
  12419. instead of calling hwnd.Dispose. This will cause GetMessage to
  12420. ignore all events for the window except for DestroyNotify.
  12421. - In GetMessage, ignore messages except for DestroyNotify for
  12422. zombie hwnds.
  12423. * Control.cs: revert the is_recreating fix from the last
  12424. ChangeLog. It's definitely "right", but it breaks switching from
  12425. an MDI form to a non-MDI form. Will need to revisit that.
  12426. * Hwnd.cs: add a zombie flag, which means "the
  12427. client_window/whole_window handles are invalid, but we're waiting
  12428. for the DestroyNotify event to come in for them". Set the flag to
  12429. false explicitly if setting WholeWindow/ClientWindow, and also
  12430. when Disposing.
  12431. 2006-09-13 Chris Toshok <[email protected]>
  12432. * XplatUIX11.cs: rework window destruction slightly.
  12433. - when destroying the windows associated with a control, we don't
  12434. need 2 separate XDestroyWindow calls. Just the one for the
  12435. whole_window (or for client_window if whole_window is somehow
  12436. IntPtr.Zero -- can this happen?) is enough.
  12437. - reworked SendWMDestroyMessages slightly, so we always dispose
  12438. the child control hwnd's after sending the messages.
  12439. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  12440. the two places it was used (one was even using hwnd.Handle and the
  12441. other hwnd.client_window. ugh), adding another call in
  12442. SendWMDestroyMessages. We need this new call because now the
  12443. DestroyNotify events in the queue will be ignored for the child
  12444. controls (as their hwnd's were disposed, and the window id's
  12445. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  12446. - this fixes bug #79326.
  12447. 2006-09-13 Chris Toshok <[email protected]>
  12448. * Control.cs: don't always set is_recreating to false at the end
  12449. of RecreateHandle, since sometimes we're not done (and won't be
  12450. until WndProc handles the WM_DESTROY message). Also, set
  12451. is_recreating to false in the WM_DESTROY handling code. Part of
  12452. the fix for bug #79326.
  12453. 2006-09-13 Miguel de Icaza <[email protected]>
  12454. * X11DesktopColors.cs: Start the droppage of debugging messages.
  12455. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  12456. 2006-09-13 Jonathan Pobst <[email protected]>
  12457. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  12458. 2006-09-12 Chris Toshok <[email protected]>
  12459. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  12460. to create it using SetDataSource. Fixes bug #79151.
  12461. 2006-09-11 Chris Toshok <[email protected]>
  12462. * XEventQueue.cs: add a DispatchIdle property.
  12463. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  12464. either the queue is null, or the queue has DispatchIdle set to
  12465. true.
  12466. (DoEvents): set queue.DispatchIdle to false around the
  12467. peek/translate/dispatch message loop in this method. This keeps
  12468. Application.Doevents from emitting idle events. Part of the fix
  12469. for #78823.
  12470. 2006-09-11 Chris Toshok <[email protected]>
  12471. * DataGrid.cs (set_DataSource): make this work for both the
  12472. winforms/datagrid test and ReportBuilder. It seems as though when
  12473. we've created a ListManager (or maybe it's if we have a
  12474. BindingContext?), when we set the DataSource it clears the
  12475. DataMember to "". otherwise we reuse the datamember. Fixes bug
  12476. #79333.
  12477. 2006-09-11 Chris Toshok <[email protected]>
  12478. * XplatUIX11.cs: deal with queue being null, which happens in all
  12479. the Clipboard functions. Fixes one of the two problems mentioned
  12480. in #78612.
  12481. 2006-09-11 Chris Toshok <[email protected]>
  12482. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  12483. button on various spots (including outside the menu) works closer
  12484. to MS, and doesn't crash. Fixes #79343.
  12485. 2006-09-11 Gert Driesen <[email protected]>
  12486. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  12487. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  12488. and the internal comparer is set. When a new ListViewItemSorter is set,
  12489. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  12490. was specified. No further processing is necessary if SortOrder is set
  12491. to it's current value. If Sorting is modified to None, and View is
  12492. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  12493. (either custom or our internal ItemComparer) to null, on 1.0 profile
  12494. only set item_sorter to null if its our internal IComparer. If Sorting
  12495. is modified to Ascending or Descending, then use our internal IComparer
  12496. if none is set, and if the current IComparer is our internal one then:
  12497. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  12498. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  12499. Enum.IsDefined to verify whether a valid View value is specified in
  12500. its setter. Automatically sort listview items when listview is
  12501. created. In Sort, do nothing if ListView is not yet created, or if
  12502. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  12503. to None or ListViewItemSorter was set to null). Added Sort overload
  12504. taking a bool to indicate whether the ListView should be redrawn when
  12505. items are sorted (we use this in ListViewItemCollection to avoid double
  12506. redraws). Modified our internal IComparer to take the sort order into
  12507. account. In Add and AddRange methods of ListViewItemCollection, also
  12508. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  12509. view), but use overload with noredraw option to avoid double redraw.
  12510. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  12511. true when View is Tile, and do the same when attempting to set View to
  12512. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  12513. for selected/checked indices, as it involves overhead when sorting is
  12514. done while these collections are not used all that often. Instead
  12515. we'll build the indices on demand. Modified IList implementation of
  12516. CheckedIndexCollection to use public methods if object is int.
  12517. Modified CheckedListViewItemCollection to hide checked items if
  12518. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  12519. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  12520. IList implementation in SelectedIndexCollection to use public methods
  12521. if object is int. Modified SelectedListViewItemCollection to hide
  12522. selected items if listview is not yet created.
  12523. * ListViewItem.cs: CheckedIndices list no longer needs to be
  12524. maintained separately (see ListView changes). Also clone font, fixes
  12525. test failure.
  12526. 2006-09-11 Mike Kestner <[email protected]>
  12527. * ComboBox.cs: if we are updating the contents of the currently
  12528. selected index, refresh the control or the textbox selection.
  12529. [Fixes #79066]
  12530. 2006-09-11 Mike Kestner <[email protected]>
  12531. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  12532. the 'specified' logic has been moved there. This seems like a bug
  12533. in Control.cs, since our current SetBoundsCore completely ignores
  12534. the specified parameter. Peter's commit seems to indicate that is
  12535. the way the MS control implementation works. [Fixes #79325]
  12536. 2006-09-10 Jonathan Chambers <[email protected]>
  12537. * XplatUI.cs: Set default_class_name to be composed
  12538. of current domain id. This allows MWF to be loaded in multiple
  12539. domains on Win32.
  12540. 2006-09-09 Miguel de Icaza <[email protected]>
  12541. * X11Keyboard.cs: If we are unable to obtain the input method, do
  12542. not call CreateXic to create the input context. Should fix
  12543. #78944/79276.
  12544. 2006-09-08 Alexander Olk <[email protected]>
  12545. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  12546. Simplified gnome support by adding more pinvokes to get the
  12547. icon for a file or mime type.
  12548. 2006-09-08 Jackson Harper <[email protected]>
  12549. * MenuAPI.cs: Deslect popup context menu items before closing the
  12550. window, so that you don't see the previously selected item
  12551. selected when you reopen the menu.
  12552. * TextControl.cs: Update the cursor position even if we don't have
  12553. focus. This fixes typing in things like the ComboBox. I'm not
  12554. totally sure we should always set the visibility if we don't have
  12555. focus, but couldn't find any corner cases where the cursor showed
  12556. up when it shouldn't.
  12557. 2006-09-08 Chris Toshok <[email protected]>
  12558. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  12559. our arrays are length 256. & 0xff before indexing. Fixes the
  12560. crash in bug #78077.
  12561. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  12562. * ThemeWin32Classic.cs:
  12563. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  12564. is true. Handle that check box too.
  12565. 2006-09-07 Chris Toshok <[email protected]>
  12566. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  12567. 79244.
  12568. 2006-09-07 Chris Toshok <[email protected]>
  12569. * Control.cs: in set_BackColor only do the work if
  12570. background_color != value.
  12571. * XplatUIX11.cs: move the clearing of invalid areas (both client
  12572. and nc) to the same block of code where we set (nc_)expose_pending
  12573. to false. That is, move it from PaintEventEnd to PaintEventStart,
  12574. so things that cause invalidates from within OnPaint will trigger
  12575. another call to OnPaint. Fixes bug #79262.
  12576. 2006-09-07 Alexander Olk <[email protected]>
  12577. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  12578. * FileDialog.cs: Fix typo
  12579. 2006-09-07 Jackson Harper <[email protected]>
  12580. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  12581. for tab pages if they have any.
  12582. 2006-09-06 Mike Kestner <[email protected]>
  12583. * Splitter.cs: use the "current" rect when finishing drag handle
  12584. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  12585. 2006-09-06 Mike Kestner <[email protected]>
  12586. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  12587. support offset splitters. [Fixes #79298]
  12588. 2006-09-06 Alexander Olk <[email protected]>
  12589. * Mime.cs: Fixed a bug that could override the global mime type
  12590. result.
  12591. 2006-09-05 Jackson Harper <[email protected]>
  12592. * TabControl.cs: Better calculation method for setting the slider
  12593. pos. Prevents crashes on really wide tabs.
  12594. - Draw Image on tab pages if an image list is used.
  12595. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  12596. * MonthCalendar.cs: When Font changes, the Size should be
  12597. updated to fit the new font's space requirements.
  12598. 2006-09-02 Alexander Olk <[email protected]>
  12599. * ListBox.cs: If the items are cleared with Items.Clear set
  12600. top_index to 0.
  12601. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  12602. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  12603. fire DateChanged event instead of DateSelected event when
  12604. the date was changed by keyboard interaction.
  12605. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  12606. * DateTimePicker.cs: Handle DateChanged for the associated
  12607. month_calendar control, and set month_calendar.Font from
  12608. OnFontChanged method, as well as resize the height of the
  12609. control when needed. Make PreferredHeight proportional.
  12610. 2006-09-01 Chris Toshok <[email protected]>
  12611. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  12612. properties.
  12613. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  12614. 2006-09-01 Peter Dennis Bartok <[email protected]>
  12615. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  12616. for decorations (Fixes #79219)
  12617. 2006-09-01 Mike Kestner <[email protected]>
  12618. * ComboBox.cs: first stab at sorting plus some selection handling
  12619. fixes to bring us more in line with MS behavior. Also switches back
  12620. to index based selection. Alternative patches for index-based
  12621. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  12622. and [email protected] on bug 78848. I assume they were similar to this
  12623. code I've had simmering in my tree forever.
  12624. [Fixes #78848]
  12625. 2006-09-01 Chris Toshok <[email protected]>
  12626. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  12627. when setting list position guard against ending up with a -1 index
  12628. (the other part of the fix for #78812). Should probably make sure
  12629. we don't need the analogous fix in the ItemDeleted case.
  12630. * DataGrid.cs:
  12631. - in SetDataSource, work around the fact that the way
  12632. OnBindingContextChanged is invoked will cause us to re-enter this
  12633. method. I'll remove the hack once I investigate
  12634. OnBindingContextChanged.
  12635. - fix the logic in set_DataSource and set_DataMember (basically
  12636. what to do if the other of the two is null.)
  12637. - in OnListManagerItemChanged, we need to take into account the
  12638. edit row when deciding whether or not to call RecreateDataGridRows
  12639. (part of the fix for #78812).
  12640. 2006-09-01 Jackson Harper <[email protected]>
  12641. * Splitter.cs: Don't do anything if there is no control to affect
  12642. (prevents us from crashing in weird tet cases).
  12643. * TreeView.cs: Bounding box for the mouse movement reverting
  12644. focus/selection back to previously selected node. This matches
  12645. MS, and makes the tree a lot more useable.
  12646. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  12647. use clipping so they are not drawn. This fixes when the control
  12648. is set to have a transparent background, or if it was over an
  12649. image.
  12650. 2006-09-01 Alexander Olk <[email protected]>
  12651. * MimeIcon.cs: Improved handling for reading default icons when
  12652. using gnome (2.16 made it necessary). Check and read svg icons
  12653. first, then 48x48 and then 32x32 icons.
  12654. 2006-08-31 Chris Toshok <[email protected]>
  12655. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  12656. visible.
  12657. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  12658. ProcessKeyPreview. Fixes part of #77806.
  12659. * DataGrid.cs: big patch.
  12660. - revert the queueing up of DataSource/DataMember if inside
  12661. BeginInit/EndInit calls. That's not the way the datagrid achieves
  12662. its delayed databinding. Instead, call SetDataSource in
  12663. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  12664. #78811.
  12665. - Also, it wasn't mentioned in #78811, but the test case exhibits
  12666. behavior that was lacking in our datagrid implementation - Columns
  12667. that have mapping names that don't exist in the datasource's
  12668. properties aren't shown. Yuck. To fix this I added the bound
  12669. field to the column style, and basically any calculation to figure
  12670. out anything about columns uses a loop to find the bound columns.
  12671. still need to investigate if I can cache an array of the bound
  12672. columns or if the indices must be the same.
  12673. - When setting CurrentCell, we no longer abort if the cell being
  12674. edited was in the add row. This fixes the other part of #77806.
  12675. - The new code also fixes #78807.
  12676. * ThemeWin32Classic.cs: perpetrate the same disgusting
  12677. column.bound field hack, and only render bound fields.
  12678. 2006-08-31 Chris Toshok <[email protected]>
  12679. * DataGridColumnStyle.cs: add bound field. this field is true if
  12680. the datasource has a property corresponding to the mapping name.
  12681. * DataGridTableStyle.cs: set the bound field on the column styles
  12682. depending on whether or not we have a column for that property.
  12683. 2006-08-31 Peter Dennis Bartok <[email protected]>
  12684. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  12685. splitter control (fixes #79228)
  12686. 2006-08-31 Chris Toshok <[email protected]>
  12687. * DataGridColumnStyle.cs: we need to delay the assignment of
  12688. property descriptor until the last possible moment due to the lazy
  12689. databinding stuff in the datagrid. Also, fix the exceptions
  12690. thrown by CheckValidDataSource to match MS.
  12691. 2006-08-31 Jackson Harper <[email protected]>
  12692. * Form.cs: When activated select the active control, if there is
  12693. no active control, we select the first control.
  12694. * XplatUIX11.cs: If there is no focus control when we get a
  12695. FocusIn event, find the toplevel form and activate it. This
  12696. occurs when you popup a window, it becomes the focus window, then
  12697. you close that window, giving focus back to the main window.
  12698. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  12699. * MonthCalendar.cs:
  12700. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  12701. as StringFormat with Center alignments in MonthCalendar,
  12702. instead of creating new ones when drawing the control.
  12703. Also, draw the month name in bold style.
  12704. 2006-08-30 Peter Dennis Bartok <[email protected]>
  12705. * Control.cs:
  12706. - PerformLayout(): It would seem MS performs the fill even if the
  12707. control is not visible (part of #79218 fix)
  12708. - ResetBackColor(): Use the setter to reset the color, to allow
  12709. overriders to catch the change.
  12710. * Form.cs:
  12711. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  12712. - CreateHandle(): dito (part of $79218 fix)
  12713. - Don't set an icon if we have a dialog
  12714. * ScrollableControl.cs:
  12715. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  12716. - ScrollIntoView(): No need to scroll if control is already visible
  12717. (resolves fixme and fixes #79218)
  12718. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  12719. * MonthCalendar.cs: Change proportions in SingleMonthSize
  12720. to match the aspect of the original control.
  12721. 2006-08-29 Alexander Olk <[email protected]>
  12722. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  12723. get updated when they get maximized.
  12724. 2006-08-29 Peter Dennis Bartok <[email protected]>
  12725. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  12726. 2006-08-29 Chris Toshok <[email protected]>
  12727. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  12728. 2006-08-29 Jackson Harper <[email protected]>
  12729. * TreeView.cs: Need to track selected node and highlighted node,
  12730. they aren't always the same thing, when the mouse is down on a
  12731. node it is hilighted, but not selected yet.
  12732. - Do the HideSelection stuff right
  12733. - Need to focus on rbutton mouse down. And redraw selection when
  12734. right click is mouse upped.
  12735. 2006-08-29 Mike Kestner <[email protected]>
  12736. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  12737. when SubItems.Count < Columns.Count. [Fixes #79167]
  12738. 2006-08-28 Peter Dennis Bartok <[email protected]>
  12739. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  12740. 2006-08-28 Peter Dennis Bartok <[email protected]>
  12741. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  12742. from X. Only send based on ConfigureNotify if we don't have the
  12743. correct location in hwnd (if the window manager moved us)
  12744. 2006-08-28 Mike Kestner <[email protected]>
  12745. * ListView.cs: remove a TODO.
  12746. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  12747. [Fixes ListView part of #79166]
  12748. 2006-08-28 Mike Kestner <[email protected]>
  12749. * ListView.cs: move wheel handler to parent since it is focused
  12750. instead of the item_control now. [Fixes #79177]
  12751. 2006-08-28 Mike Kestner <[email protected]>
  12752. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  12753. when the control is focused. [Fixes #79171]
  12754. 2006-08-28 Mike Kestner <[email protected]>
  12755. * ListView.cs: size the item and header controls for empty and
  12756. unscrollable views.
  12757. * ThemeWin32Classic.cs: draw disabled backgrounds.
  12758. [Fixes #79187]
  12759. 2006-08-28 Chris Toshok <[email protected]>
  12760. * Form.cs: remove unused "active_form" static field.
  12761. * Hwnd.cs: lock around accesses to static windows collection.
  12762. * Application.cs: lock threads in Exit ().
  12763. 2006-08-28 Chris Toshok <[email protected]>
  12764. * NativeWindow.cs: lock around accesses to window_collection.
  12765. 2006-08-28 Chris Toshok <[email protected]>
  12766. * Control.cs: err, fix this the right way, by locking on controls
  12767. when using it. not by making it synchronized.
  12768. 2006-08-28 Chris Toshok <[email protected]>
  12769. * Control.cs: make the static "controls" field synchronized, as it
  12770. gets updated from multiple threads.
  12771. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12772. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  12773. Prevent other threads from exiting when calling thread sets quit state.
  12774. * XEventQueue.cs: Added PostQuitState property
  12775. 2006-08-27 Chris Toshok <[email protected]>
  12776. * AsyncMethodData.cs: add a slot for the window handle.
  12777. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  12778. window (the destination control's window, not the foster window).
  12779. * Control.cs (BeginInvokeInternal): store the window's handle in
  12780. the AsyncMethodData.
  12781. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12782. * XplatUIX11.cs:
  12783. - PostQuitMessage: Removed resetting S.D display handle, we might have
  12784. another loop started after calling PostQuitMessage (Fixes #79119)
  12785. - Created destructor to reset S.D handle
  12786. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12787. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  12788. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12789. * TextControl.cs (Insert): Update the caret position even if we don't
  12790. have a handle yet, just don't call the driver in that case.
  12791. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  12792. to the end of the new selection text (Fixes #79184)
  12793. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12794. * Form.cs (Activate): Only activate if the handle is created)
  12795. * Control.c:
  12796. - Mark window as invisible when it's disposed
  12797. - Check if window handle is created when setting window visible,
  12798. instead of relying just on the is_created variable
  12799. - Check if object is disposed when creating the control (Fixes #79155)
  12800. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12801. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  12802. when allowing layout again. Otherwise we re-generate the anchoring
  12803. distance to the border again and actually alter what the user wanted
  12804. This is ugly, it'd be better if we used DisplayRectangle instead of
  12805. ClientRectangle for Control.UpdateDistances, but that causes us to
  12806. have other problems (initial anchoring positons would be wrong)
  12807. (Fixes #78835)
  12808. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12809. * Control.cs:
  12810. - The size and location setters shouldn't go directly to
  12811. SetBoundsCore, but to SetBounds, which triggers layout on the
  12812. parent, then calls SetBoundsCore. (Related to fix for #78835)
  12813. - SetBounds: Moved actual location update code into this function
  12814. from SetBoundsCore, to match MS. Added call to PerformLayout if
  12815. we have a parent (to trigger resizing of anchored parents if the
  12816. child size has changed (see testcase for #78835)
  12817. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  12818. new control code
  12819. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  12820. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12821. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  12822. System.Drawing when a toplevel window gets closed; there might
  12823. be other toplevel windows belonging to the same app (Fixes #78052)
  12824. 2006-08-26 Alexander Olk <[email protected]>
  12825. * FileDialog.cs: After reading FileDialog settings from mwf_config
  12826. use Desktop prefix only if a real folder doesn't exist anymore.
  12827. * FontDialog.cs: Added char sets.
  12828. It is now possible to select the font, size or style with the
  12829. textboxes.
  12830. 2006-08-25 Kornél Pál <[email protected]>
  12831. * PrintPreviewDialog.cs: Use assembly name constants.
  12832. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12833. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  12834. scrollbar from whacking it's buttons)
  12835. 2006-08-24 Chris Toshok <[email protected]>
  12836. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  12837. in this patch (aggregating setting Left/Top/Width/Height to
  12838. setting Bounds on the scrollbars), but the crux of the fix is in
  12839. Recalculate, where we scroll by the remaining scroll_position if
  12840. we're hiding a scrollbar. The 2*$5 reward in the comment is
  12841. serious.
  12842. 2006-08-24 Jackson Harper <[email protected]>
  12843. * MdiClient.cs:
  12844. * MdiWindowManager.cs: If the form is made a non-mdi window we
  12845. need to remove the form closed event so that closing forms works
  12846. correctly.
  12847. 2006-08-24 Jackson Harper <[email protected]>
  12848. * Control.cs: Make IsRecreating internal so that the driver can
  12849. check it
  12850. - Temporarily remove the Hide when controls are removed, its
  12851. making a whole bunch of things not work because visibility isn't
  12852. getting reset elsewhere correctly
  12853. * Form.cs: Need to do a full handle recreation when the mdi parent
  12854. is set.
  12855. * XplatUIX11.cs: If we are recreating handles don't dispose the
  12856. HWNDs. What was happening is the handles were being recreated in
  12857. SendWMDestroyMessages, but then flow continued on in that method
  12858. and destroyed the new handles.
  12859. 2006-08-23 Jackson Harper <[email protected]>
  12860. * Form.cs: MdiClient is always at the back of the bus
  12861. * Control.cs: When the order of items in the collection is changed
  12862. we need to reset the all_controls array
  12863. - do the same sorta setup thats done when adding a control when a
  12864. control is set on the collection.
  12865. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12866. * TextBoxBase.cs (get_Text): Return an empty array if our document
  12867. is empty (fixes #79052)
  12868. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12869. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  12870. on WM_SYSCHAR messages (fixes #79053)
  12871. 2006-08-23 Chris Toshok <[email protected]>
  12872. * DataGrid.cs: fix flickering when scrolling vertically.
  12873. 2006-08-23 Chris Toshok <[email protected]>
  12874. * DataGrid.cs (EndEdit): only invalidate the row header when we
  12875. need to.
  12876. 2006-08-23 Chris Toshok <[email protected]>
  12877. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  12878. methods. fixes the flicker when scrolling around.
  12879. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12880. * FileDialog.cs: Making sure the control is created before we get a
  12881. chance to use it with BeginInvoke (Fixes #79096)
  12882. 2006-08-23 Chris Toshok <[email protected]>
  12883. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  12884. width to use when painting the rows.
  12885. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12886. * TextBoxBase.cs:
  12887. - Throw ArgumentException if a negative value is passed to SelectionLength
  12888. - Update the selection end if start is moved. end needs to be always
  12889. after start. (Fixes #79095)
  12890. - Track selection length; MS keeps the selection length even if start
  12891. is changed; reset on all other operations affection selection
  12892. 2006-08-22 Jackson Harper <[email protected]>
  12893. * TreeView.cs: Make sure both scrollbars get displayed and sized
  12894. correctly when the other bar is visible.
  12895. - Use the original clip rectangle for checking if the area between
  12896. the two scrollbars is visible, not the viewport adjusted clipping
  12897. rectangle.
  12898. 2006-08-22 Jackson Harper <[email protected]>
  12899. * Binding.cs: We don't use IsBinding because it requires the
  12900. control to be created, which really shouldn't be necessary just to
  12901. set a property on the control.
  12902. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  12903. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  12904. ArgumentNullReferenceException when the argument is null.
  12905. 2006-08-21 Jackson Harper <[email protected]>
  12906. * Timer.cs: Track the thread that the timer is started in (NOT
  12907. CREATED), this way messages for it will only be triggered on its
  12908. queue.
  12909. * XEventQueue.cs: Track the timers here, this makes timers per
  12910. thread, like MS.
  12911. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  12912. 2006-08-19 Chris Toshok <[email protected]>
  12913. * XplatUIX11.cs: after further communication with pdb, we get the
  12914. best of both worlds. SetZOrder working for un-Mapped windows, and
  12915. no X errors for un-mapped windows.
  12916. 2006-08-19 Chris Toshok <[email protected]>
  12917. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  12918. as it was causing pdn toolbars to not have the correct stacking.
  12919. 2006-08-18 Mike Kestner <[email protected]>
  12920. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  12921. calculation. Not sure why control should ever be setting a negative
  12922. width though. Fixes #78931.
  12923. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  12924. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  12925. null items in ObjectCollection class.
  12926. * ListBox.cs.: Likewise.
  12927. 2006-08-18 Atsushi Enomoto <[email protected]>
  12928. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  12929. as the base method in ThemeWin32Classic should work fine.
  12930. Fixed bug #78607.
  12931. 2006-08-18 Jackson Harper <[email protected]>
  12932. * Binding.cs: When validating if the value entered doesn't convert
  12933. properly reset to the old value.
  12934. * RadioButton.cs: Don't fire click when we get focus.
  12935. 2006-08-18 Jackson Harper <[email protected]>
  12936. * FileDialog.cs: Paint the selection on the directory combobox the
  12937. same way as on MS.
  12938. 2006-08-17 Jackson Harper <[email protected]>
  12939. * ErrorProvider.cs: Don't allow the error control to be selected.
  12940. * Control.cs: Don't send the SetFocus messages, the control
  12941. activation will do this, and if we do it blindly here validation
  12942. does not work.
  12943. 2006-08-17 Jackson Harper <[email protected]>
  12944. * Control.cs:
  12945. * ContainerControl.cs: Make validation events fire in the correct
  12946. order. TODO: For some reason the first validation event is not
  12947. getting fired.
  12948. 2006-08-17 Mike Kestner <[email protected]>
  12949. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  12950. 2006-08-17 Mike Kestner <[email protected]>
  12951. * ComboBox.cs : implement scroll wheel support for popped-down
  12952. state. Fixes #78945.
  12953. 2006-08-17 Jackson Harper <[email protected]>
  12954. * TreeView.cs: Specify treeview actions (old patch that didn't get
  12955. committed for some reason).
  12956. - Don't let the mouse wheel scroll us too far. Just want to make
  12957. the bottom node visible, not scroll it all the ways to the top.
  12958. 2006-08-17 Jackson Harper <[email protected]>
  12959. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  12960. 2006-08-17 Mike Kestner <[email protected]>
  12961. * ComboBox.cs : don't do mouseover selection in simple mode.
  12962. 2006-08-16 Jackson Harper <[email protected]>
  12963. * Form.cs: Fire the closing events for all the mdi child windows
  12964. when a window is closed. If the cancel args are set to true, the
  12965. main window still gets the event fired, but it doesn't not close.
  12966. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  12967. handler, instead of when the button is clicked, so cancelling the
  12968. close works correctly.
  12969. * ComboBox.cs: Send the mouse down to the scrollbar.
  12970. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  12971. * ListBox.cs: When passing 'null' to SelectedItem,
  12972. set SelectedIndex to -1, to unselect items. This is the
  12973. observed behaviour in .Net.
  12974. 2006-08-16 Peter Dennis Bartok <[email protected]>
  12975. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  12976. MS flags saying there won't be any. (fixes #78800)
  12977. * Control.cs (HandleClick): Made virtual
  12978. 2006-08-16 Atsushi Enomoto <[email protected]>
  12979. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  12980. cultures. Fixed bug #78399.
  12981. 2006-08-16 Jackson Harper <[email protected]>
  12982. * Form.cs: Use the MdiClients MdiChildren property to access
  12983. MdiChildren instead of creating the array from the child controls.
  12984. * MdiClient.cs: Maintain a separate array of the mdi children, so
  12985. that insertion order is maintained when the Z-order is changed.
  12986. 2006-08-16 Mike Kestner <[email protected]>
  12987. * ListView.cs : add an ItemComparer and default to it for sorting.
  12988. Fixes #79076, but sorting needs a complete overhaul to be compat with
  12989. MS.
  12990. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12991. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  12992. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12993. * Hwnd.cs (Mapped): Properly traverse the tree
  12994. 2006-08-15 Chris Toshok <[email protected]>
  12995. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  12996. pass manager.Current.GetType() to ParseData. It has to be the
  12997. property type. So, hold off doing the ParseData until we're in
  12998. SetPropertyValue where we know the type. This fixes the crash in
  12999. #78821 but the textbox is still empty.
  13000. 2006-08-15 Chris Toshok <[email protected]>
  13001. * DataGrid.cs:
  13002. - when we're scrolling, only call Edit() again if the
  13003. current cell is still unobscured. Fixes bug #78927.
  13004. - when handling mousedown on a cell, ensure the cell is visible
  13005. before calling Edit.
  13006. - remove the properties from DataGridRow, and remove the
  13007. DataGridParentRow class altogether.
  13008. 2006-08-15 Peter Dennis Bartok <[email protected]>
  13009. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  13010. fire OnTextChanged by ourselves. There's no point calling base,
  13011. we don't set the base value anywhere else. Fixes #78773.
  13012. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  13013. * ListBox.cs: Call CollectionChanged when modifying
  13014. an item from Items indexer, to update the actual items
  13015. in the list box.
  13016. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  13017. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  13018. to match .Net behaviour.
  13019. 2006-08-15 Peter Dennis Bartok <[email protected]>
  13020. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  13021. 2006-08-15 Peter Dennis Bartok <[email protected]>
  13022. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  13023. 2006-08-15 Peter Dennis Bartok <[email protected]>
  13024. * MessageBox.cs: Prevent potential NRE exception.
  13025. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  13026. 2006-08-14 Peter Dennis Bartok <[email protected]>
  13027. * MessageBox.cs: Calculate the owner of a messagebox, also make
  13028. it topmost. Fixes #78753
  13029. 2006-08-14 Chris Toshok <[email protected]>
  13030. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  13031. programmatically move windows. first, set the PPosition hint as
  13032. well as the USPosition hint. Second include some code from pdb
  13033. that sets the window type to NORMAL when we set the transient for
  13034. hint. This is because, in the absence of a window type, metacity
  13035. thinks any window with TransientFor set is a dialog, and refuses
  13036. to let us move it programmatically. fascists.
  13037. 2006-08-14 Peter Dennis Bartok <[email protected]>
  13038. * XplatUIX11.cs: When setting normal hints, take into consideration
  13039. an different hints previously set so we don't delete them (fixes #78866)
  13040. 2006-08-12 Chris Toshok <[email protected]>
  13041. * ToolBarButton.cs: make Layout return a boolean, if something to
  13042. do with the button's layout changed.
  13043. * ToolBar.cs:
  13044. - add another parameter to Redraw, @force, which all existing
  13045. calls set to true.
  13046. - make the Layout function return a boolean which is true if the
  13047. layout has actually changed. Redraw now uses this (and @force)
  13048. to determine when to invalidate. At present the only place
  13049. where @force can be false is the call from OnResize, when
  13050. background_image == null. So, resizing a toolbar when the
  13051. layout doesn't change results in no drawing.
  13052. 2006-08-12 Chris Toshok <[email protected]>
  13053. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  13054. the VScrollBar and HScrollbar reversed. oops.
  13055. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  13056. scrollbars. we were assigning them twice (once in
  13057. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  13058. therefore causing two scrollbar resizes (and redraws?) to happen
  13059. per grid resize.
  13060. 2006-08-12 Chris Toshok <[email protected]>
  13061. * ToolBarButton.cs: redraw the entire button if the theme tells us
  13062. to.
  13063. * Theme.cs: add ToolBarInvalidateEntireButton.
  13064. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  13065. buttons, just the border.
  13066. * ThemeNice.cs: redraw the entire toolbar button since we need to
  13067. draw the highlight image.
  13068. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  13069. we need to redraw the entire button (not just the border).
  13070. 2006-08-11 Peter Dennis Bartok <[email protected]>
  13071. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  13072. for vertical bars. Fixes the mismatches shown by #78513
  13073. 2006-08-11 Alexander Olk <[email protected]>
  13074. * FileDialog.cs: If a saved/remembered path doesn't exist
  13075. anymore, fall back to "Desktop".
  13076. 2006-08-11 Peter Dennis Bartok <[email protected]>
  13077. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  13078. parent. It's apparently legal to not have one
  13079. * XplatUIX11.cs:
  13080. - SetZOrder: Don't try to set Z-Order on an unmapped window
  13081. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  13082. it unless the coordinates are negative
  13083. 2006-08-10 Mike Kestner <[email protected]>
  13084. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  13085. when setting to null per msdn docs. Fixes #78854.
  13086. 2006-08-10 Chris Toshok <[email protected]>
  13087. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  13088. flickering by setting a clip rectangle on the Graphics when we
  13089. need to redraw just a particular menuitem. Also, rename "OnClick"
  13090. to "OnMouseDown" to reflect what it actually is.
  13091. * Form.cs: track the OnMouseDown change.
  13092. 2006-08-10 Peter Dennis Bartok <[email protected]>
  13093. * CommonDialog.cs: Properly inherit the CreateParams from the form
  13094. and only change what we need. Fixes #78865
  13095. 2006-08-10 Chris Toshok <[email protected]>
  13096. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  13097. flickering in flat mode (and most of the flickering in general) by
  13098. only invalidating the button border (and not the entire rectangle)
  13099. when the state changes. A couple of cases still flicker:
  13100. ToggleButtons, and the dropdown arrow case when the user mouse
  13101. ups.
  13102. 2006-08-10 Alexander Olk <[email protected]>
  13103. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  13104. for german keyboards. Numlock state shouldn't affect the behaviour
  13105. of the Del key. Fixes bug #78291.
  13106. 2006-08-10 Chris Toshok <[email protected]>
  13107. * ListControl.cs: remove the items.Clear line from BindDataItems,
  13108. as this is the first thing done by both subclasses in their
  13109. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  13110. passed -1, refresh the list. This gets databinding working when
  13111. the datasource is set on the list before the datasource is
  13112. populated (as in wf-apps/ReportBuilder.)
  13113. * ComboBox.cs: remove the argument to BindDataItems. This call
  13114. should really go away, and be initiated by the ListControl code.
  13115. * ListBox.cs: same.
  13116. 2006-08-09 Peter Dennis Bartok <[email protected]>
  13117. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  13118. if no data is in the document when the control is displayed
  13119. 2006-08-09 Peter Dennis Bartok <[email protected]>
  13120. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  13121. yes (fixes #78806)
  13122. * TextControl.cs:
  13123. - PositionCaret: Allow positioning of caret but don't call methods
  13124. requiring a handle if the window isn't created yet
  13125. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  13126. - owner_HandleCreated: Don't position the caret, just update it's
  13127. location. User might have already set a different position
  13128. 2006-08-09 Peter Dennis Bartok <[email protected]>
  13129. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  13130. windows. Screws up the returned coordinates for child windows.
  13131. Fixes #78825. I'm hoping this doesn't break something, since the
  13132. code was explicitly put in 8 months ago, but no bug was attached.
  13133. Menus still seem to work properly.
  13134. 2006-08-08 Chris Toshok <[email protected]>
  13135. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  13136. supposed to do - delay data binding until the EndInit call. Also,
  13137. make the table style collection's CollectionChangeAction.Refresh
  13138. work properly.
  13139. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  13140. (with action = Refresh) when a consituent table's MappingName is
  13141. changed.
  13142. 2006-08-08 Chris Toshok <[email protected]>
  13143. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  13144. Invalidate, since changing the text can change the size of the all
  13145. toolbar buttons.
  13146. 2006-08-08 Peter Dennis Bartok <[email protected]>
  13147. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  13148. we don't have it yet
  13149. 2006-08-08 Chris Toshok <[email protected]>
  13150. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  13151. dialog, as this causes X errors later on, since we actually
  13152. destroy the window. Instead, .Hide() it.
  13153. 2006-08-08 Peter Dennis Bartok <[email protected]>
  13154. * ComboBox.cs: Added focus reflection for popup window
  13155. * XplatUIX11.cs:
  13156. - Removed transient setting for non-app windows for now, not sure it
  13157. was needed
  13158. - Fixed logic checking if we have captions when deciding
  13159. override_redirect, WS_CAPTION is two bits and a 0 check was not
  13160. sufficient
  13161. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  13162. complicated
  13163. * Form.cs:
  13164. - AddOwnedForm: Don't just add the form to the list, call the property
  13165. to ensure the driver is informed about the ownership as well
  13166. - CreateHandle: Set the TopMost status in the driver if we have an owner
  13167. * XplatUI.cs: Fixed debug statement
  13168. 2006-08-08 Jonathan Pobst <[email protected]>
  13169. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  13170. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  13171. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  13172. TrackBarRenderer.cs: Make constructor private.
  13173. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  13174. * ProfessionalColorTable.cs: Make properties virtual.
  13175. 2006-08-06 Duncan Mak <[email protected]>
  13176. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  13177. is not changing.
  13178. 2006-08-04 Jonathan Pobst <[email protected]>
  13179. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  13180. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  13181. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  13182. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  13183. Initial import of new 2.0 classes.
  13184. 2006-08-04 Jonathan Pobst <[email protected]>
  13185. * Application.cs: Add 2.0 VisualStyles properties.
  13186. 2006-08-04 Jonathan Pobst <[email protected]>
  13187. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  13188. XplatUIX11.cs: Create property to allow access to existing private
  13189. variable "themes_enabled"
  13190. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  13191. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  13192. file size, as otherwise our class libraries fail using windows. Fixes
  13193. bug #78759.
  13194. 2006-08-04 Jackson Harper <[email protected]>
  13195. * Form.cs:
  13196. * XplatUIX11.cs: Move the toolwindow window manager creation into
  13197. the X11 driver, this way on win32 we can let windows create/handle
  13198. the toolwindows.
  13199. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  13200. * PrintDialog.cs: Remove some redundant checks, add some others,
  13201. clean some code, and move the focus to the text boxes when the
  13202. values are incorrect.
  13203. 2006-08-04 Alexander Olk <[email protected]>
  13204. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  13205. 2006-08-03 Alexander Olk <[email protected]>
  13206. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  13207. handled correctly. Fixes bug #79001.
  13208. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  13209. * PrintDialog.cs: The "Copies" numeric up down must have
  13210. set the Minimum property to 1; only if the value is bigger
  13211. than 1, activate "Collate" check box. This is the behaviour of .Net.
  13212. Also modify the Document elements only if it is not null.
  13213. 2006-08-03 Jackson Harper <[email protected]>
  13214. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  13215. length. (We have a larger array then actual node count).
  13216. 2006-08-03 Jackson Harper <[email protected]>
  13217. * ComboBox.cs: Don't show selection by default.
  13218. - The SelectAll isn't needed here, since the focus code should do
  13219. that
  13220. - DDL style lists to manual selection drawing, so when they
  13221. get/lose focus they have to invalidate.
  13222. 2006-08-03 Peter Dennis Bartok <[email protected]>
  13223. * TextBoxBase.cs: Don't always show all selections by default.
  13224. 2006-08-03 Jonathan Pobst <[email protected]>
  13225. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  13226. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  13227. Fixed various typos.
  13228. 2006-08-03 Alexander Olk <[email protected]>
  13229. * Control.cs: Removing the controls in a ControlCollection with
  13230. Clear now hides the controls as expected. Fixes bug #78804.
  13231. 2006-08-03 Jackson Harper <[email protected]>
  13232. * Control.cs: Revert previous focus patch, it breaks reflector.
  13233. 2006-08-03 Jackson Harper <[email protected]>
  13234. * ComboBox.cs: Cleanup selection and focus with the combobox.
  13235. This also eliminates some duplicated keyboard code, since now
  13236. everything is handled by the main class.
  13237. - Make list selection work on mouse up instead of down, to match
  13238. MS.
  13239. 2006-08-02 Jackson Harper <[email protected]>
  13240. * Control.cs: Setting focus needs to go through the whole
  13241. selection mechanism.
  13242. 2006-08-02 Chris Toshok <[email protected]>
  13243. * PrintPreviewDialog.cs: change MinimumSize to use
  13244. base.MinimumSize so it works.
  13245. 2006-08-02 Peter Dennis Bartok <[email protected]>
  13246. * TextControl.cs:
  13247. - UpdateCaret: Added sanity check in case caret isn't defined yet
  13248. - Line.Delete: Now updating selection and caret markers if we're
  13249. transfering a node (Properly fixes #78323)
  13250. - SetSelectionEnd: Added sanity check
  13251. * TextBoxBase.cs: Removed broken attempt to fix #78323
  13252. 2006-08-01 Chris Toshok <[email protected]>
  13253. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  13254. Close() call is handled in Form, not here.
  13255. 2006-08-01 Chris Toshok <[email protected]>
  13256. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  13257. layout/rendering.
  13258. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  13259. for sizes < 100% zoom. The code now aggressively attempts to keep
  13260. from calling document.Print (), and tries not to use the scaling
  13261. g.DrawImage whenever possible (it still does if you scale to >
  13262. 100%, since usually that involves huge images).
  13263. * PrintPreviewControl.cs: hook up the close button.
  13264. 2006-08-01 Jonathan Pobst <[email protected]>
  13265. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  13266. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  13267. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  13268. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  13269. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  13270. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  13271. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  13272. Removed [Serializable] for 2.0 Event Handlers.
  13273. 2006-07-31 Jackson Harper <[email protected]>
  13274. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  13275. * TextControl.cs: Uncomment out the body of this method.
  13276. 2006-07-31 Alexander Olk <[email protected]>
  13277. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  13278. standard cursors.
  13279. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13280. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  13281. that embed TextBox and need selections visible even if textbox is not
  13282. focused to enforce that behaviour.
  13283. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  13284. selection drawing
  13285. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13286. * TextControl.cs:
  13287. - Added new SetSelectionStart/SetSelectionEnd overloads
  13288. - Fixed viewport width assignment to be accurate
  13289. - Adjusted alignment line shift calculations to allow cursor on right
  13290. aligned lines to be always visible at the right border (like MS)
  13291. * TextBoxBase.cs:
  13292. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  13293. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  13294. - CalculateScrollBars: Use ViewPort size instead of window size, to
  13295. properly consider space occupied by the border and scrollbars
  13296. (Fixes #78661)
  13297. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  13298. calculations; no longer leaves artifacts
  13299. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  13300. calculation bugs (Still missing right/center align calculations)
  13301. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13302. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  13303. use of both scroll rect and clip rect, as they do the same.
  13304. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13305. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  13306. in the event handler (fixes #78912)
  13307. 2006-07-31 Chris Toshok <[email protected]>
  13308. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  13309. grid.ListManager.Count, since grid.ListManager might be null.
  13310. This of course begs the question "why are we drawing rows for a
  13311. grid with no list manager (and therefor no rows)?" Fixes the
  13312. crash in bug #78929.
  13313. 2006-07-31 Chris Toshok <[email protected]>
  13314. * RelatedPropertyManager.cs: Don't always chain up to the parent
  13315. ctor. instead, call SetDataSource if the parent's position is !=
  13316. -1. Fixes the crash in #78822.
  13317. 2006-07-31 Chris Toshok <[email protected]>
  13318. * DataGrid.cs (get_ListManager): use field instead of property
  13319. accessors for datasource and datamember.
  13320. (RowsCount): make internal again.
  13321. (OnMouseDown): end edits before resizing columns/rows.
  13322. (OnMouseUp): restart edits after resizing columns/rows.
  13323. 2006-07-30 Peter Dennis Bartok <[email protected]>
  13324. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  13325. This fixes the situation where the last set cursor is displayed
  13326. whenever the mouse is over scrollbars.
  13327. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  13328. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  13329. Document properties, as well as initial values.
  13330. 2006-07-29 Peter Dennis Bartok <[email protected]>
  13331. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  13332. and ClientEdge results in a 3-pixel border, which is
  13333. wrong.
  13334. 2006-07-28 Jackson Harper <[email protected]>
  13335. * TreeNodeCollection.cs: Fix the clear method.
  13336. - Fix the Shrink also
  13337. 2006-07-27 Jackson Harper <[email protected]>
  13338. * TreeView.cs: Make sure the visible order is computed when we
  13339. attempt to size the scrollbars (for trees that mess with the
  13340. scrolling when they shouldn't.
  13341. - Make sure to give the scrollbars valid values.
  13342. 2006-07-26 Peter Dennis Bartok <[email protected]>
  13343. * XplatUIX11.cs: Move motion compression code to where it
  13344. has less performance impact
  13345. 2006-07-26 Jackson Harper <[email protected]>
  13346. * UpDownBase.cs: When the control is selected make the child
  13347. controls non selectable, so that a click on them won't do a
  13348. focus/unfocus cycle.
  13349. - Don't give focus to the text box when the spinner is selected.
  13350. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  13351. 2006-07-26 Chris Toshok <[email protected]>
  13352. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  13353. satisfied with this solution. If the bitmaps are small, we should
  13354. just cache them in the PrintPreviewDialog and draw them here.
  13355. Also, the layout is broken for the 2-up and 3-up cases.
  13356. * Theme.cs: add PrintPReviewControlPaint.
  13357. * PrintPreviewDialog.cs: first pass implementation.
  13358. * PrintPreviewControl.cs: first pass implementation. No
  13359. scrollbars yet.
  13360. * PrintDialog.cs: only validate fields if that particular portion
  13361. of the UI is enabled. Also, set the document's controller to a
  13362. PrintControllerWithStatusDialog wrapping the document's print
  13363. controller.
  13364. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  13365. bring up a SaveFileDialog (i hope we don't want to match the
  13366. behavior of the crappy windows file entry) and set the
  13367. PrinterSettings.PrintFileName accordingly.
  13368. 2006-07-26 Jackson Harper <[email protected]>
  13369. * ContainerControl.cs: Add a field that disables auto selecting
  13370. the next control in a container when the container is activated.
  13371. * UpDownBase.cs: Don't select the text box when the up down is
  13372. selected.
  13373. 2006-07-26 Peter Dennis Bartok <[email protected]>
  13374. * XEventQueue.cs: Added methods for peeking (used for compression
  13375. of successive events)
  13376. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  13377. mouse move events (fixes #78732)
  13378. 2006-07-25 Jackson Harper <[email protected]>
  13379. * UpDownBase.cs: Use an internal class for the textbox so that we
  13380. can control focus. the updown control should always have focus,
  13381. if either the text area or the buttons are clicked.
  13382. - Send the key messages to the textbox, since it never actually
  13383. has focus
  13384. - Activate and decativate the textbox caret.
  13385. 2006-07-24 Jackson Harper <[email protected]>
  13386. * Control.cs: Use the directed select when selecting a control,
  13387. this way the container controls override will get called and the
  13388. whole ActiveControl chain will get triggered. TODO: probably need
  13389. to make sure this gets done everywhere instead of the old
  13390. Select(Control).
  13391. * ContainerControl.cs: Implement the directed Select method to
  13392. find and activate the correct child control.
  13393. 2006-07-22 Mike Kestner <[email protected]>
  13394. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  13395. menu handling code so that clicks without a grab work too.
  13396. [Fixes #78914]
  13397. 2006-07-22 Alexander Olk <[email protected]>
  13398. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  13399. Added some small optimizations.
  13400. 2006-07-21 Matt Hargett <[email protected]>
  13401. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  13402. 2006-07-21 Peter Dennis Bartok <[email protected]>
  13403. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  13404. tests pass and match MS in some strange border cases.
  13405. 2006-07-21 Chris Toshok <[email protected]>
  13406. * ThemeWin32Classic.cs: handle drawing of the relation links and
  13407. parent row buttons.
  13408. * Theme.cs: change args to DataGridPaintParentRow.
  13409. * DataGrid.cs: Don't use controls for the relation links and
  13410. parent buttons, so we have to handle all their interactions in
  13411. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  13412. when we're navigating through child tables, so we can reinstate
  13413. selection, expanded state, current cell, etc.
  13414. 2006-07-20 Chris Toshok <[email protected]>
  13415. * ToolBar.cs: When we redraw a button, for whatever reason,
  13416. there's no reason to redraw the entire toolbar. Also, don't call
  13417. Control.Refresh from within Redraw, as it's much heavier than
  13418. Invalidate (which is really what we want).
  13419. 2006-07-20 Chris Toshok <[email protected]>
  13420. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  13421. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  13422. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  13423. traces from within a debug IBindingList datasource
  13424. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  13425. to work in a similar fashion.
  13426. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  13427. * ListBox.cs: Don't call Sort () when setting
  13428. the Sorted property to false (avoid an unnecessary sort).
  13429. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  13430. * ListControl.cs: DataSource should throw an ArgumentException
  13431. instead of a normal exception when the argument is not of the
  13432. correct type.
  13433. 2006-07-20 Mike Kestner <[email protected]>
  13434. * Control.cs: add InternalPreProcessMessage to allow us to steal
  13435. key events before MWF gets its paws on them. Adapted from a
  13436. suggestion by eno.
  13437. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  13438. up/down/left/right navigation. Override the new internal control
  13439. method to steal the events since they never make it to WndProc.
  13440. * ToolBarButton.cs: don't worry about pushed when setting hilight
  13441. since the drawing code prefers pushed to hilight. Invalidate on
  13442. Hilight changes. Fixes #78547 and #78525.
  13443. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13444. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  13445. the canvas size. Fixes #78868
  13446. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13447. * Splitter.cs: Track requested split position until first layout
  13448. is performed. Fixes #78871
  13449. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13450. * Application.cs: Removed code that forces 1.x for the version
  13451. number if the version started with 0. Not sure why that code was
  13452. there and I couldn't find any bugs that indicated we needed it.
  13453. Fixes #78869
  13454. 2006-07-20 Alexander Olk <[email protected]>
  13455. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  13456. ResetDefaults(), just write some output to the console until it's
  13457. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  13458. 2006-07-19 Jonathan Chambers <[email protected]>
  13459. * PropertyGridView.cs: set StartPosition of drop down forms
  13460. so they appear in correct initial spot. Fixes #78190.
  13461. 2006-07-19 Mike Kestner <[email protected]>
  13462. * ThemeWin32Classic.cs: use parent background color when drawing
  13463. flat toolbars. Restructure the conditionals to make sure non-flat
  13464. non-Divider toolbars are filled too. Fixes #78837.
  13465. 2006-07-19 Mike Kestner <[email protected]>
  13466. * ListBox.cs: Sort on collection changes even if the handle
  13467. isn't created yet. Fixes #78813.
  13468. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  13469. * ListControl.cs: DisplayMember should never be null,
  13470. and now we assign String.Empty when null is passed to it (this
  13471. is the .Net way).
  13472. 2006-07-17 Mike Kestner <[email protected]>
  13473. * ListViewItem.cs: restructure Font and subitem Font handling
  13474. to hold a specific font and refer back to owner on null.
  13475. Fixes #78761.
  13476. 2006-07-17 Mike Kestner <[email protected]>
  13477. * ToolBar.cs: bandaid for side-effect of previous patch which was
  13478. discarding explicit heights for non-AutoSize toolbars. Need to
  13479. extend my format tester to deal with AutoSize=false. Fixes #78864.
  13480. 2006-07-15 Jackson Harper <[email protected]>
  13481. * LabelEditTextBox.cs:
  13482. * TreeView.cs: Use a new LabelEdit class for node editing, this
  13483. class automatically 'closes' itself when it gets the enter key or
  13484. loses focus.
  13485. - Use the client rectangle when setting the trees scrollbars, so
  13486. border style is taken into account.
  13487. 2006-07-14 Jackson Harper <[email protected]>
  13488. * TreeNode.cs:
  13489. * TreeView.cs: Make the editing work similar to MSs, firing the
  13490. events correctly and ending edits correctly.
  13491. 2006-07-14 Mike Kestner <[email protected]>
  13492. * ToolBarButton.cs:
  13493. * ToolBar.cs: layout restructuring and redraw enhancements to support
  13494. formatting changes gracefully, like setting TextAlign, ImageList,
  13495. ButtonSize, and Appearance. Handles explicit button sizing quirks
  13496. of the MS controls. Things like flat toolbars ignoring button size
  13497. but becoming constant sized at the largest button's size. Normal
  13498. toolbars with an image set cannot be shrunk smaller than the image,
  13499. but text can be clipped/ignored.
  13500. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  13501. is zero. Seems like DrawString should be smart enough to not put
  13502. anything on screen though. Also trim labels and ellipsize at the char
  13503. boundary, not word.
  13504. Fixes #78711 and #78483.
  13505. 2006-07-14 Alexander Olk <[email protected]>
  13506. * FolderBrowserDialog.cs: Disable "New Folder" button and
  13507. "New Folder" contextmenu menuitem if a folder like "My Computer"
  13508. is selected.
  13509. 2006-07-14 Alexander Olk <[email protected]>
  13510. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  13511. * FolderBrowserDialog.cs:
  13512. - Use MWFConfig to store and read size and position settings
  13513. - Added code to create a new folder (button or context menu).
  13514. Use TreeView labeledit to change the name of the new folder.
  13515. 2006-07-14 Jackson Harper <[email protected]>
  13516. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  13517. when the tree is scrolled we end editing.
  13518. 2006-07-14 Alexander Olk <[email protected]>
  13519. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  13520. Down arrows
  13521. 2006-07-14 Jonathan Pobst <[email protected]>
  13522. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  13523. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  13524. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  13525. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  13526. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  13527. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  13528. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  13529. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  13530. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  13531. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  13532. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  13533. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  13534. ListViewItemSelectionChangedEventHandler.cs,
  13535. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  13536. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  13537. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  13538. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  13539. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  13540. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  13541. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  13542. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  13543. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  13544. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  13545. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  13546. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  13547. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  13548. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  13549. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  13550. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  13551. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  13552. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  13553. WebBrowserNavigatingEventHandler.cs,
  13554. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  13555. 2006-07-14 Jonathan Pobst <[email protected]>
  13556. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  13557. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  13558. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  13559. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  13560. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  13561. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  13562. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  13563. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  13564. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  13565. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  13566. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  13567. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  13568. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  13569. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  13570. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  13571. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  13572. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  13573. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  13574. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  13575. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  13576. ListViewItemStates.cs, MaskFormat.cs: Added
  13577. 2006-07-13 Jonathan Chambers <[email protected]>
  13578. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  13579. Patch from eno for bug 78558.
  13580. 2006-07-13 Jackson Harper <[email protected]>
  13581. * TreeView.cs: When an edit is finished make sure that the
  13582. selected node is visible.
  13583. - When setting the top/bottom use the scrollbars is_visible, so
  13584. everything will be set correctly even if the tree isn't visible
  13585. yet.
  13586. 2006-07-13 Jackson Harper <[email protected]>
  13587. * ComboBox.cs: Revert the item->index part of my previous patch.
  13588. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  13589. the edit box has lost focus (duh).
  13590. - Just make the edit box not visible when we get return, that will
  13591. take the focus, which will call EndEdit
  13592. * TreeNode.cs When we start editing, notify the treeview.
  13593. 2006-07-12 Jackson Harper <[email protected]>
  13594. * ComboBox.cs: Clear out old items before setting the item list.
  13595. This prevents databound controls from having their items added
  13596. twice.
  13597. - Switch the combobox to use indices whereever possible instead of
  13598. using Item's. This allows usto navigate through lists that have
  13599. more then one item with the same string value (ie a, b, b, a).
  13600. - Scroll the listboxes scrollbar when a non visible item is
  13601. highlighted
  13602. - Allow keypress to cycle through all the possible values. For
  13603. example if you have b1, b2, b3 and hold down the B key all the
  13604. values will be cycled through.
  13605. 2006-07-12 Jackson Harper <[email protected]>
  13606. * TextBoxBase.cs:
  13607. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  13608. this using the internal methods.
  13609. * Control.cs: Add OnGotFocusInternal. A new method that allows
  13610. controls to "override" OnGotFocus and change focus behavior if
  13611. needed.
  13612. - Same thing for LostFocus
  13613. * ComboBox.cs: Pass off focus to the text control properly.
  13614. 2006-07-12 Alexander Olk <[email protected]>
  13615. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  13616. * FolderBrowserDialog.cs: Almost a complete rewrite.
  13617. - Better support for Environment.Specialfolders
  13618. - Added support for MWFVFS
  13619. - Made setting SelectedPath work
  13620. 2006-07-12 Jackson Harper <[email protected]>
  13621. * Control.cs: Optimze getting all the controls.
  13622. 2006-07-11 Jackson Harper <[email protected]>
  13623. * ContainerControl.cs: Override SETFOCUS in the container control,
  13624. so that it is not selected on mouse click.
  13625. 2006-07-11 Peter Dennis Bartok <[email protected]>
  13626. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  13627. Hopefully we will have a better way once all of focus is complete.
  13628. 2006-07-11 Peter Dennis Bartok <[email protected]>
  13629. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  13630. a compile error with csc.
  13631. 2006-07-11 Jackson Harper <[email protected]>
  13632. * Control.cs: When hiding a control only select the next control
  13633. if the current control was focused.
  13634. - Don't handle enter/leave when setting/killing focus, this is
  13635. done by the container control.
  13636. - Remove is_selected, it's not needed anymore.
  13637. - Add utility methods for selecting a child control, and for
  13638. firing the Enter/Leave events.
  13639. * ContainerControl.cs: When a control is activated fire the
  13640. enter/leave events.
  13641. - Don't wrap when processing the tab key, so that focus can be
  13642. moved outside of the container.
  13643. - Use the correct active control
  13644. 2006-07-11 Jackson Harper <[email protected]>
  13645. * ComboBox.cs: Remove some debug code that was blinding me.
  13646. * UpDownBase.cs: These controls actually aren't implicit, they are
  13647. visible to the user.
  13648. 2006-07-10 Chris Toshok <[email protected]>
  13649. * DataGrid.cs: move back to the is_adding boolean field. god i
  13650. hate this is_editing/is_adding/is_changing stuff.
  13651. 2006-07-10 Chris Toshok <[email protected]>
  13652. * DataGridTableStyle.cs: just check if the property type is bool.
  13653. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  13654. Don't use CanRenderType.
  13655. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  13656. if our text == NullText. Remove CanRenderType.
  13657. * DataGridBoolColumn.cs: nuke CanRenderType.
  13658. * DataGrid.cs: reenable some code to end the current edit inside
  13659. of set_CurrentCell. This fixes the other 1.1.16 regression.
  13660. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  13661. Also, remove the visible_row_count arg from CalcRowHeaders, since
  13662. we don't need to worry about the actual height of the area.
  13663. 2006-07-10 Chris Toshok <[email protected]>
  13664. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  13665. mode, just return.
  13666. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  13667. the real sense of the IsInEditOrNavigateMode property (true =
  13668. navigate, false = edit). Also, update OnKeyPress to reflect this.
  13669. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  13670. column style exists, we still need to set its property descriptor
  13671. to match up with our list manager.
  13672. 2006-07-10 Chris Toshok <[email protected]>
  13673. * ThemeWin32Classic.cs: implement the new row/header painting
  13674. approach. The parent row painting will likely go away and
  13675. replaced with label controls, but the rest seems to work ok (and
  13676. efficiently).
  13677. * Theme.cs: change the way we draw datagrid rows. we don't draw
  13678. the row headers as a block now. Instead we draw them in the
  13679. normal draw-row loop. Add some calls for drawing parent rows and
  13680. relation rows.
  13681. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  13682. a default table style. Set the defaults from ThemeEngine.Current,
  13683. not SystemColors. Fix lots of misc issues with property setters.
  13684. * DataGrid.cs: move loads of style information out of this class
  13685. as it's being duplicated with DataGridTableStyle. keep track of a
  13686. special DataGridTableStyle for the properties we used to mirror
  13687. here. Switch all the style properties to access this table style
  13688. instead of instance fields of this class. Also add a internal
  13689. class to represent parent rows (more needs to be stored here, like
  13690. the selection state from the parent table, as well as the
  13691. expansion state.) Also, for datasources with relations, do the
  13692. right thing for collapse/expand, and add support for the
  13693. navigation/parent row buttons.
  13694. Lastly, fix the crash in the 1.1.16 build.
  13695. * GridTableStylesCollection.cs: make the explicit interface
  13696. implementations call the class's methods as opposed to duplicating
  13697. them.
  13698. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  13699. 0 so the text doesn't jump around when we move the cursor.
  13700. 2006-07-10 Jackson Harper <[email protected]>
  13701. * TextBoxBase.cs:
  13702. * ListBox.cs: Match MS's ToString (this makes debugging focus
  13703. stuff infinitely easier).
  13704. 2006-07-10 Jackson Harper <[email protected]>
  13705. * Control.cs (SelectNextControl): When checking the control's
  13706. parent use this instead of ctrl.parent so that null can be passed
  13707. to SelectNextControl. (I have unit tests for this).
  13708. - Remove unused var.
  13709. 2006-07-10 Chris Toshok <[email protected]>
  13710. * CurrencyManager.cs: correct one regression, the removal of the
  13711. finalType field. Also, add a MonoTODO on CanAddRows, implement
  13712. Refresh() correctly, and fix some event emission in
  13713. ListChangedHandler.
  13714. 2006-07-07 Alexander Olk <[email protected]>
  13715. * FileDialog.cs: Don't use brackets for new folders if they exist
  13716. under *nix. Instead use -(number of existing folders +1).
  13717. 2006-07-07 Alexander Olk <[email protected]>
  13718. * FileDialog.cs:
  13719. - Fixed really nasty bug #78771
  13720. - Don't block the whole GUI when reading directories with a lot of
  13721. entries. Use an other thread instead and call BeginInvoke to
  13722. update the ListView in MWFFileView
  13723. 2006-07-07 Chris Toshok <[email protected]>
  13724. * Control.cs (Dispose): release any Capture when disposing.
  13725. 2006-07-07 Chris Toshok <[email protected]>
  13726. * LinkLabel.cs (Select): if we chain up to the parent, set
  13727. focused_index to -1 so we'll search for the first available link
  13728. the next time the user tabs into us. Also, if the direction is
  13729. backward and focused_index == -1, start the search from the last
  13730. element.
  13731. 2006-07-07 Chris Toshok <[email protected]>
  13732. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  13733. is beyond the end of the text, don't do anything.
  13734. (CreateLinkPieces): set our ControlStyles.Selectable based on
  13735. whether or not we have any links.
  13736. (Link.Invalidate): use a loop instead of foreach.
  13737. (Link.set_Start): null out owner.sorted_links so it'll be
  13738. recreated by CreateLinkPieces.
  13739. 2006-07-06 Chris Toshok <[email protected]>
  13740. * LinkLabel.cs: revert the SetStyle change.
  13741. 2006-07-06 Chris Toshok <[email protected]>
  13742. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  13743. (OnEnableChanged): s/Refresh/Invalidate
  13744. (OnGotFocus): if we have a focused index already, refocus it (so
  13745. if we mouse out/in to the window it'll focus the right link).
  13746. (OnKeyDown): move the tab handling out of here.
  13747. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  13748. when we lose focus.
  13749. (OnMouseDown): don't Capture here - Control handles it. Also,
  13750. focus the active link.
  13751. (OnMouseUp): don't deal with Capture.
  13752. (OnPaintBackgroundInternal): remove.
  13753. (OnTextAlignChanged): CreateLinkPieces before calling the
  13754. superclass's method.
  13755. (OnTextChanged): call CreateLinkPieces before calling superclass's
  13756. method.
  13757. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  13758. move around.
  13759. (Select): implement this, moving the selection between different
  13760. links, and call parent.SelectNextControl if we don't have another
  13761. link to focus in the given direction.
  13762. (CreateLinkPieces): call Invalidate instead of Refresh.
  13763. 2006-07-06 Chris Toshok <[email protected]>
  13764. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  13765. new LinkLabel internals.
  13766. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  13767. over pieces looking for active/focused/etc links. also, deal with
  13768. runs of text (and links) with embedded \n's in them, and use
  13769. MeasureCharacterRanges instead of MeasureString to figure out the
  13770. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  13771. two-step.
  13772. 2006-07-04 Jackson Harper <[email protected]>
  13773. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  13774. XKB or key auto repeat, do it manually. Without key auto repeat,
  13775. when a key is held down we get key press, key release, key press,
  13776. key release, ... with auto repeat we get key press, key press, key
  13777. press ..., and then a release when the key is actually released.
  13778. 2006-07-03 Jackson Harper <[email protected]>
  13779. * TabControl.cs:
  13780. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  13781. rules, they are always control color regardless of the background
  13782. color.
  13783. 2006-07-02 Alexander Olk <[email protected]>
  13784. * FileDialog.cs: Added internal class MWFConfig.
  13785. Removed Registry support and replaced it with support for the new
  13786. MWFConfig class. See MWFConfig comments for more information.
  13787. 2006-06-30 Alexander Olk <[email protected]>
  13788. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  13789. rectangle. Added some patches from eno from bug #78490 and fixed
  13790. the arrow position for small up and down CPDrawScrollButtons.
  13791. 2006-06-30 Jackson Harper <[email protected]>
  13792. * InternalWindowManager.cs: Remove some debug code.
  13793. * Form.cs: When an MdiParent is set to null, the window is
  13794. "detatched" and becomes a normal window.
  13795. * MdiClient.cs: Don't bring the new child form to the front until
  13796. it is activated (setting it as active does this), this makes the
  13797. previously active forms titlebar get redrawn as inactive.
  13798. 2006-06-29 Peter Dennis Bartok <[email protected]>
  13799. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  13800. with later controls
  13801. 2006-06-29 Mike Kestner <[email protected]>
  13802. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  13803. arrow in keynav state. Fixes #78682.
  13804. 2006-06-28 Atsushi Enomoto <[email protected]>
  13805. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  13806. order (fixes #78393)
  13807. 2006-06-28 Jonathan Pobst <[email protected]>
  13808. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  13809. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  13810. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  13811. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  13812. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  13813. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  13814. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  13815. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  13816. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  13817. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  13818. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  13819. values)
  13820. 2006-06-28 Mike Kestner <[email protected]>
  13821. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  13822. 2006-06-28 Atsushi Enomoto <[email protected]>
  13823. * PropertyGrid.cs,
  13824. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  13825. item lines from other area (It also makes BackColor consistent and
  13826. compatible with .NET). Fixed bug #78564.
  13827. 2006-06-28 Jonathan Chambers <[email protected]>
  13828. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  13829. Patch from Eno for #78555.
  13830. 2006-06-27 Chris Toshok <[email protected]>
  13831. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  13832. * DataGridColumnStyle.cs: same.
  13833. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  13834. * DataGridDrawingLogic.cs: nuke.
  13835. 2006-06-27 Chris Toshok <[email protected]>
  13836. * DataGridTableStyle.cs: clean up the constructors, and build the
  13837. list of child relations for this table. I have no idea if this is
  13838. where we should be doing it (it probably isn't), but since we're
  13839. already iterating over the properties..
  13840. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  13841. struct and array for keeping track of row information, similar to
  13842. what's shown in a hack on
  13843. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  13844. * Theme.cs: be consistent about the naming of DataGrid methods,
  13845. prefering ColumnWidths and RowHeights over columnsWidths and
  13846. RowsHeights.
  13847. * ThemeWin32Classic.cs: same, and also add support for variable
  13848. sized rows (and the +/- expansion icons for related rows).
  13849. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13850. * TextBoxBase.cs: Applied Eno's patch from #78660
  13851. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13852. * Form.cs (ScaleCore): We don't want to scale our form if it's
  13853. state is minimized or maximized, but we still need to scale our
  13854. child windows. Also, added try/finally block to ensure layout
  13855. gets reset (Fixes #78697)
  13856. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13857. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  13858. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13859. * Form.cs: Fixed c+p error and added check to resize form if minimum
  13860. size is bigger than current size (Fixes #78709)
  13861. 2006-06-26 Peter Dennis Bartok <[email protected]>
  13862. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  13863. 2006-06-26 Mike Kestner <[email protected]>
  13864. * ComboBox.cs: only do Keypress handling in the combo when there
  13865. are items in the collection. Fixes #78710.
  13866. 2006-06-26 Chris Toshok <[email protected]>
  13867. * Binding.cs: make this work bi-directionally. also, clear up
  13868. other mixups between Push/Pull Data (e.g. we're supposed to pull
  13869. data when validating).
  13870. * BindingManagerBase.cs: trim some fully qualified collection
  13871. types.
  13872. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  13873. 2006-06-23 Chris Toshok <[email protected]>
  13874. * PropertyManager.cs: It appears (according to the unit tests)
  13875. that PropertyManager doesn't use
  13876. PropertyDescriptor.AddValueChanged to track propery value changes
  13877. in its datasource, but uses the same scheme as Binding, where it
  13878. looks for a <Property>Changed event and binds to it.
  13879. Also, according to the docs, IsSuspended always returns false for
  13880. a property manager with a non-null datasource.
  13881. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13882. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  13883. need to update the actual DialogResult. (Fixes #78613)
  13884. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13885. * Form.cs (ShowDialog): Release any captures before running the
  13886. new message pump (fixes #78680)
  13887. 2006-06-22 Mike Kestner <[email protected]>
  13888. * ListView.cs: Layout column widths properly in details mode even
  13889. if HeaderStyle.None is set. Fixes #78691.
  13890. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13891. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  13892. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13893. * Control.cs (ContainsFocus): Using new driver method to get focused
  13894. window, instead of trying to use internal tracking var, which can
  13895. recursion issues (Fixes #78685)
  13896. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13897. XplatUIWin32.cs: Added GetFocus method to return focused window
  13898. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  13899. * ColorDialog.cs: when the mouse button is pressed inside the color
  13900. matrix, don't let the cursor move out of it until the button is
  13901. released, which is the behavior on windows. Changed 'colours' by
  13902. 'colors' to use the same word consistently.
  13903. 2006-06-21 Chris Toshok <[email protected]>
  13904. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  13905. child relation and back, using a stack). Also, remove
  13906. GetDataSource and the code that calls it - it's not needed. Also,
  13907. track CurrencyManager.ListName's removal.
  13908. 2006-06-21 Chris Toshok <[email protected]>
  13909. * CurrencyManager.cs: push some of the original type checking from
  13910. BindingContext.CreateBindingManager to here, and remove some of
  13911. the finalType stuff. Need more tests to make sure I've got the
  13912. ListName part right, and we might need more in SetDataSource.
  13913. * PropertyManager.cs: add a ctor that takes just the datasource,
  13914. and no property name. Make SetDataSource work with a null
  13915. property_name, and make Current return the data_source if the
  13916. property descriptor is null. this makes 'string foo = "hi";
  13917. BindingContext[foo].Current' return "hi" as it should.
  13918. * RelatedCurrencyManager.cs: make this code more generic - there's
  13919. no reason the parent manager has to be CurrencyManager, and
  13920. there's no reason to pass the DataRelation. It suffices to use a
  13921. BindingManagerBase and PropetyDescriptor.
  13922. * RelatedPropertyManager.cs: make a similar change here.
  13923. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  13924. flower I knew it could be.
  13925. 2006-06-20 Chris Toshok <[email protected]>
  13926. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  13927. data in the source has changed and we need to update the control,
  13928. so s/PullData/PushData.
  13929. * CurrencyManager.cs: Refresh is meant to update the control from
  13930. data in the datasource. So, s/PullData/PushData.
  13931. * BindingContext.cs: add more ugliness (we weren't handling the
  13932. case where data_source = DataTable and data_member = column_name).
  13933. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  13934. from the perspective of the datasource. PullData pulls from the
  13935. control, PushData pushes to the control.
  13936. 2006-06-20 Chris Toshok <[email protected]>
  13937. * BindingContext.cs: rewrite the CreateBindingManager code to
  13938. handle navigation paths more or less properly. This could
  13939. definitely stand some more work, in particular to push the
  13940. recursion up to the toplevel. But that relies on fixes in other
  13941. places (System.Data comes to mind).
  13942. Also, move to a flat hashtable (and encode the twolevel nature of
  13943. the dictionary into the hash key). This lets us implement the
  13944. IEnumerable.GetEnumerator method.
  13945. * RelatedCurrencyManager.cs: new class. Update our view based on
  13946. our relation and our parent CurrencyManager's position.
  13947. * CurrencyManager.cs: split out some logic from the ctor into
  13948. SetView, so it can be called from the new RelatedCurrencyManager
  13949. subclass.
  13950. * RelatedPropertyManager.cs: new class. Update our datasource
  13951. based on the position of our parent CurrencyManager.
  13952. * PropertyManager.cs: split out some logic from the ctor into
  13953. SetDataSource, so it can be called from the new RelatedDataSource
  13954. subclass. Also, make the Current getter return the value
  13955. of the PropertyDescriptor, not the data_source.
  13956. * Binding.cs: no need to duplicate the string splitting code here.
  13957. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13958. * Control.cs:
  13959. - set_Enabled: OnEnabledChanged is not called if the inherited state
  13960. of the control is not altered, even though we might be changing the
  13961. internal state of the control (#78458)
  13962. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  13963. OnEnabledChanged, to allow easy altering of any child window state
  13964. - OnEnabledChanged: Added code to enable/disable driver window state
  13965. - OnParentEnabledChanged: Instead of firing the event, call
  13966. OnEnabledChanged, which will fire the event and also a) set driver
  13967. window state and pass the enabled state to any grandchildren (#78458)
  13968. 2006-06-19 Jackson Harper <[email protected]>
  13969. * InternalWindowManager.cs: We don't set the cursor explicitly
  13970. thats done via the response to NCHITTESTs.
  13971. - Don't need to adjust for titlebar heights anymore, the
  13972. coordinates are coming in the correct coordinates now (see peters
  13973. last patch).
  13974. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13975. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  13976. being translated relative to whole window, instead of client window.
  13977. That caused broken offsets on mouseclick (and caused gas for our
  13978. InternalWindowManager)
  13979. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13980. * TextControl.cs:
  13981. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  13982. - Undo(): Added replay of cursor move on DeleteChars action; added
  13983. calling Undo() again if a recorded cursor move is invalid (to
  13984. ensure that some action is performed on Undo)
  13985. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  13986. 2006-06-16 Jackson Harper <[email protected]>
  13987. * MdiClient.cs: Instead of just sizing maximized windows when
  13988. there is a resize we also have to adjust the Y of minimized
  13989. windows, so they stay pinned to the bottom of the mdi container.
  13990. - Eliminate separate tracking of the active control, we can just
  13991. get this from the controls collection.
  13992. - Paint the decorations for the newly activated titlebar so we get
  13993. a pretty blue bar.
  13994. * InternalWindowManager.cs:
  13995. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  13996. even if they are a tool window.
  13997. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13998. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  13999. undo buffer, these can happen when text was deleted and the cursor
  14000. was recorded first. Since we will also have a recorded cursor
  14001. after the delete this is not an issue. (Fixes #78651)
  14002. 2006-06-14 Peter Dennis Bartok <[email protected]>
  14003. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  14004. instead properly track control states internally (allows us to
  14005. remove is_selected from Control)
  14006. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  14007. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  14008. whose width is not a multiple of 8.
  14009. 2006-06-13 Jackson Harper <[email protected]>
  14010. * MdiClient.cs: Only maximize the next child if the current one
  14011. is maximized.
  14012. 2006-06-13 Chris Toshok <[email protected]>
  14013. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  14014. modified. Also, guard against grid or grid_drawing being null in
  14015. Invalidate.
  14016. * DataGrid.cs: Reformat tons of getters/setters. In the
  14017. DataMember setter, just call SetNewDataSource instead of
  14018. duplicating some of its functionality. In SetNewDataSource, don't
  14019. check ListManager for null, since the property getter creates the
  14020. object if needed.
  14021. * DataGridTableStyle.cs: don't set TableStyle or call
  14022. SetDataGridInternal on the column here, it's done in
  14023. GridColumnStylesCollection.Add.
  14024. * GridColumnStylesCollection.cs: fix all the explicit interface
  14025. implementations to just call our methods. Nuke AddInternal() and
  14026. move the body of it to Add(). Also, add a call to
  14027. column.SetDataGridInternal to Add().
  14028. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  14029. base()+duplicate code. Also, use the Format property instead of
  14030. format to generate an Invalidate ala MS. Lastly, create the
  14031. textbox here, unconditionally.
  14032. (set_Format): call Invalidate.
  14033. (get_TextBox): no need to call EnsureTextBox.
  14034. (Commit): remove the message box.
  14035. (Edit) remove the call to EnsureTextBox.
  14036. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  14037. (EnterNullValue): no need to check textbox for null.
  14038. (HideEditBox): no need to check textbox for null.
  14039. (SetDataGridInColumn): add the textbox to the grid's controls.
  14040. (EnsureTextBox): nuke.
  14041. 2006-06-13 Jackson Harper <[email protected]>
  14042. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  14043. and redraw the buttons when needed. Unhook when the window is
  14044. unmaximized.
  14045. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  14046. needs this so that it can redraw its buttons when the menu is
  14047. repainted.
  14048. * InternalWindowManager.cs:
  14049. * Form.cs: The method order has changed for DrawMaximizedButtons,
  14050. so that it can be a PaintEventHandler.
  14051. 2006-06-13 Jackson Harper <[email protected]>
  14052. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  14053. window is activated and maximized, even if it wasn't before.
  14054. - When a new window is activated repaint the decorations of the
  14055. old one, so that it no longer has the Active "look" (the blue
  14056. titlebar).
  14057. * InternalWindowManager.cs: Open up CreateButtons to base classes
  14058. so they can recreate the buttons on state changes.
  14059. - If a window is maximized give it all three buttons
  14060. * MdiWindowManager.cs: Create the titlebar buttons when the state
  14061. is changed, this is needed because a toolwindow will not have all
  14062. three buttons until it is maximized.
  14063. 2006-06-13 Atsushi Enomoto <[email protected]>
  14064. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  14065. Fixed bug #78609.
  14066. 2006-06-12 Jackson Harper <[email protected]>
  14067. * KeysConverter.cs: Make sure we handle the Ctrl special case
  14068. if its the only key.
  14069. 2006-06-12 Jackson Harper <[email protected]>
  14070. * Theme.cs: Add a method to get the size of a managed window
  14071. toolbar button.
  14072. * InternalWindowManager.cs: Remove the ButtonSize property, this
  14073. should be retrieved from the theme.
  14074. * MdiWindowManager.cs: Get the button size from the theme
  14075. * ThemeWin32Classic.cs: Make the method to get the managed window
  14076. titlebar button size public.
  14077. - Handle the different button sizes of maximized toolwindows
  14078. (should match any maximized window).
  14079. - Get the titlebar height from the theme, not the WM (which gets
  14080. it from the theme).
  14081. 2006-06-12 Jackson Harper <[email protected]>
  14082. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  14083. event down to the mdi window manager.
  14084. - Expose some extra stuff to base classes
  14085. - Make sure to end the Capture on an NC Mouse up, so that we can
  14086. get double clicks properly, and the sizing doens't stick.
  14087. - When doing PointToClient contain it in the workable desktop
  14088. area, this prevents windows from changing size when the cursor is
  14089. pulled outside of the working area while sizing.
  14090. * MdiWindowManager.cs: When we get a double click maximize the
  14091. window.
  14092. - Reset the cursor after handling mode changes.
  14093. 2006-06-12 Peter Dennis Bartok <[email protected]>
  14094. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  14095. current desktop, instead of just assuming a 0, 0 origin. This
  14096. is needed for our internal window manager, to know the top
  14097. margin of the desktop
  14098. 2006-06-12 Chris Toshok <[email protected]>
  14099. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  14100. we need this to get rid of the selected background in the bool
  14101. column.
  14102. (CancelEditing): move the ConcedeFocus call to above the Abort
  14103. call. Also, set is_changing to false and invalidate the row
  14104. header if we were changing before.
  14105. (ProcessKeyPreviewInternal): remove, since noone outside this
  14106. class calls it anymore. Roll the code into ProcessKeyPreview.
  14107. (EndEdit): remove the internal version.
  14108. (InvalidateCurrentRowHeader): make private.
  14109. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  14110. Keys.Escape handling (and with it the last call to
  14111. DataGrid.EndEdit from outside the class.)
  14112. 2006-06-12 Chris Toshok <[email protected]>
  14113. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  14114. (OnKeyPress): set isedit to true.
  14115. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  14116. already handled by the grid.
  14117. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  14118. right. ugh.
  14119. (set_DataSource): SetDataSource always returns true, so stop
  14120. putting it in an if statement.
  14121. (EndEdit): get rid of some {}'s
  14122. (ProcessGridKey): return true in case Keys.Escape.
  14123. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  14124. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  14125. PositionChanged, stopped connecting to CurrentChanged.
  14126. (GetDataSource): simplify this a bunch.
  14127. (SetDataSource): change return type from bool to void.
  14128. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  14129. to this, and make sure we don't set ListManager.Position inside
  14130. set_CurrentCell.
  14131. (OnListManagerItemChanged): if we're passed an actual index,
  14132. redraw that row.
  14133. * CurrencyManager.cs (set_Position): don't call PullData here.
  14134. 2006-06-09 Jackson Harper <[email protected]>
  14135. * TreeNode.cs: Recalculate the visible order before doing the
  14136. Expand/Collapse Below calls, because those calls generate an
  14137. expose.
  14138. - Reduce calls to the TreeView property, which is mildly expensive
  14139. by using a local var.
  14140. * Form.cs: Layout the MDI child windows when creating the parent
  14141. form.
  14142. - Don't use the internal constructor anymore
  14143. * MdiClient.cs: use the parent form width/height (if available)
  14144. when laying out the child windows, we do this because the
  14145. mdiclient isn't docked yet when the initial layout is done.
  14146. - Don't need an internal constructor anymore.
  14147. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  14148. * FileDialog.cs: handle access errors when trying to create a folder
  14149. or changing to a directory. No need to initialize out parameters.
  14150. 2006-06-08 Alexander Olk <[email protected]>
  14151. * FileDialog.cs: Append a number when creating a new folder if the
  14152. folder already exists (use parenthesis instead of square brackets)
  14153. 2006-06-08 Alexander Olk <[email protected]>
  14154. * FileDialog.cs:
  14155. - Disabled registry support for windows and added better registry
  14156. error checking for other systems (need to investigate why it
  14157. works perfectly on my system)
  14158. - If a folder already exist show an error MessageBox instead of
  14159. trying to create an indexed name.
  14160. - Fixed a non intentional typo.
  14161. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  14162. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  14163. 2006-06-08 Alexander Olk <[email protected]>
  14164. * FileDialog.cs: When creating a new folder don't crash if the
  14165. folder already exists.
  14166. 2006-06-08 Alexander Olk <[email protected]>
  14167. * FileDialog.cs: Allmost a complete rewrite.
  14168. - added a "virtual" file system that handles the differences
  14169. between unix and windows file systems (especially the directory
  14170. structure). Moved most of the directory and file handling code
  14171. into the vfs.
  14172. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  14173. UnixFileSystem and FSEntry.
  14174. - Recently used folder/directory, size, location and used file names
  14175. (file name ComboBox) are now stored in the registry and get read
  14176. before the dialog shows up (fixes part 6 of bug #78446).
  14177. - Creation of new folders/directories is now possible (context menu
  14178. or ToolBar). Added TextEntryDialog for this that fills in the gap
  14179. until ListView.LabelEdit works.
  14180. - Fixed cursor handling (bug #78527) and focus handling for
  14181. PopupButtonPanel
  14182. - Various "Search in" ComboBox enhancements. The content of the
  14183. dropdown listbox now almost matches ms.
  14184. - Changed the behaviour when the user switches to SpecialFolder
  14185. Recent to show the ListView in View.Details.
  14186. - Beside using the ToolBar to change the View property of the
  14187. file ListView it is now possible to use the context menu too.
  14188. 2006-06-08 Alexander Olk <[email protected]>
  14189. * ComboBox.cs: Don't create a new ObjectCollection when an item
  14190. gets inserted. Just insert the item in the existing object_items
  14191. ArrayList.
  14192. 2006-06-08 Jackson Harper <[email protected]>
  14193. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  14194. that the treeview and root node checks are done also, this fixes a
  14195. regression i caused in the unit tests.
  14196. 2006-06-07 Wade Berrier <[email protected]>
  14197. * RichTextBox.cs: More ISO8859-1 -> unicode
  14198. 2006-06-07 Mike Kestner <[email protected]>
  14199. * ComboBox.cs : use items to hold highlight/selection so that
  14200. collection insertions don't require synchronization.
  14201. 2006-06-07 Jackson Harper <[email protected]>
  14202. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  14203. routine. We now always keep the sized edge at the cursor instead
  14204. of computing movement and adjusting rects. There is one buglet
  14205. with this method though when the cursor is moved over area that
  14206. the window can not expand too (such as the toolbars on the desktop).
  14207. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  14208. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  14209. here. Fixes crash on startup in AlbumSurfer.
  14210. 2006-06-07 Peter Dennis Bartok <[email protected]>
  14211. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  14212. values
  14213. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  14214. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  14215. statement to avoid calling XNextEvent which will block if another thread
  14216. took the event that we were expecting. Fixes bug #78605.
  14217. 2006-06-07 Mike Kestner <[email protected]>
  14218. * ListView.cs : isolated checkbox clicking from the selection logic.
  14219. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  14220. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  14221. * Form.cs: Check that the value passed to Form.DialogResult
  14222. is a valid enum value.
  14223. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  14224. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  14225. Computer'. Clicking it in the network view goes to 'My Computer'.
  14226. Added CIFS filesystem type. Display the mount point of filesystems.
  14227. Avoid duplicate mount points (happens for me with CIFS);
  14228. 2006-06-06 Jackson Harper <[email protected]>
  14229. * InternalWindowManager.cs: Draw the maximized windows buttons
  14230. when resizing.
  14231. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  14232. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  14233. all other dialogs. Fixes bug #78585.
  14234. 2006-06-06 Mike Kestner <[email protected]>
  14235. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  14236. Only invalidate checkbox on checkstate changes to avoid flicker.
  14237. * ListBox.cs : avoid unselect/select when clicking selected item.
  14238. avoid reselection flicker for already multiselected items.
  14239. Fixes #78382.
  14240. 2006-06-06 Jackson Harper <[email protected]>
  14241. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  14242. the parent form so that the menu is removed if needed.
  14243. 2006-06-06 Mike Kestner <[email protected]>
  14244. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  14245. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  14246. 2006-06-06 Mike Kestner <[email protected]>
  14247. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  14248. 2006-06-06 Jackson Harper <[email protected]>
  14249. * Control.cs: Use the property (instead of the field) to get the
  14250. default cursor so it is instantiated correctly.
  14251. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  14252. resizes so we need to manually repaint the window decorations here.
  14253. - Set the titlebar button locations as soon as they are created,
  14254. otherwise they are not set correctly on win32.
  14255. 2006-06-06 Chris Toshok <[email protected]>
  14256. * CurrencyManager.cs (set_Position): call PullData before
  14257. OnCurrentChanged.
  14258. (AddNew): after calling IBindingList.AddNew, update our
  14259. listposition, and call OnCurrentChanged/OnPositionChanged (without
  14260. calling PullData).
  14261. (OnCurrentChanged): remove the call to PullData from here.
  14262. (OnItemChanged): remove the call to PushData from here.
  14263. (OnPositionChanged): change the test from == null to != null to
  14264. match the other methods.
  14265. (ListChangedHandler): the grossest part of the patch. Implement
  14266. this such that it passes the unit tests in CurrencyManagerTest and
  14267. the output more or less matches that of MS's implementation.
  14268. 2006-06-06 Mike Kestner <[email protected]>
  14269. * ListView.cs : only update check state on single click.
  14270. * ThemeWin32Classic.cs : fix focus drawing for details view without
  14271. fullrowselect. Fixes #78454.
  14272. * XplatUIX11.cs : fix for double click emission.
  14273. 2006-06-05 Jonathan Chambers <[email protected]>
  14274. * PropertyGridView.cs : Applied Atsushi's patch to fix
  14275. font dialog bug (#78197).
  14276. 2006-06-05 Jackson Harper <[email protected]>
  14277. * TreeNode.cs: Compute the next node for expanding/collapsing
  14278. correctly. We now factor in nodes without a NextNode
  14279. correctly. (Fixes somes cases in nunit-gui).
  14280. * InternalWindowManager.cs: Set the bounds when updating the
  14281. virtual position of a tool window.
  14282. 2006-06-05 Chris Toshok <[email protected]>
  14283. * DataGrid.cs: rename cached_currencymgr to list_manager.
  14284. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  14285. some.
  14286. (CurrentRow, CurrentColumn): single accessors so we can make the
  14287. cursor movement code a lot easier to understand.
  14288. (CurrentRowIndex): implement this in terms of CurrentRow.
  14289. (BeginEdit): clean this up a bit.
  14290. (CancelEditing): sort out the is_editing/is_changing/is_adding
  14291. stuff a little.
  14292. (EndEdit): minor changes.
  14293. (OnKeyDown): add a comment about a (most likely) unnecessary
  14294. check.
  14295. (OnMouseDown): cancel editing when we click on a row header. And
  14296. use the CurrentRow setter, not CurrentCell.
  14297. (ProcessDialogKey): directly call ProcessGridKey.
  14298. (UpdateSelectionAfterCursorMove): factor out this common block of
  14299. code (it's used everywhere that we move the cursor by updating row
  14300. or column).
  14301. (ProcessGridKey): pretty substantial overhaul. Use the
  14302. CurrentRow/CurrentColumn properties to make the code a lot more
  14303. readable. Only use the CurrentCell property when we have to
  14304. modify both row and column at once. Tab behavior is still broken,
  14305. and Delete is untested.
  14306. (Select): if we have no selected rows, set selection_start to
  14307. @row.
  14308. (EditCurrentCell): rename EditCell this. It was only ever invoked
  14309. with CurrentCell as the arg, so drop the arg and rename it.
  14310. * DataGridColumnStyle.cs: clean up the constructors a little, and
  14311. drop CommonConstructor().
  14312. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  14313. actually get notified when the user hits it.
  14314. (ProcessKeyMessage): *substantially* simplify this method.
  14315. There's no reason (that I can see) for the textbox to be making
  14316. calls into the datagrid at all. Remove all of them but the ones
  14317. for Enter handling. those will take some more work.
  14318. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  14319. calling HideEditBox.
  14320. (HideEditBox): if we have an active textbox, render it invisible
  14321. without causing a re-layout of the datagrid.
  14322. 2006-06-05 Mike Kestner <[email protected]>
  14323. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  14324. collection changes by resetting it to Items[0]. Fixes #78587.
  14325. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  14326. * MessageBox.cs: if the height of the text is larger than the icon_size,
  14327. use that. Fixes bug #78575.
  14328. 2006-06-05 Jackson Harper <[email protected]>
  14329. * TreeView.cs: Fix line drawing when scrolling. To do this each
  14330. node is basically responsible for drawing its entire horizontal
  14331. area. When drawing a node it draws its parent node lines if
  14332. needed.
  14333. - Adjust the clip area to the viewport rectangle
  14334. - Fix Left/Right key handling to match MS. (It expand/collapses
  14335. and moves to parents/first child but does not move selection to
  14336. sibling nodes).
  14337. - Fix SetTop to work with new bound calculation code
  14338. - When scrollbars are no longer needed we need to reset scrolling
  14339. vars and recalculate the visible order so the redraw is correct
  14340. * TreeNode.cs: We can't expand/collapse nodes with no children.
  14341. 2006-06-03 John Luke <[email protected]>
  14342. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  14343. so the colors work without dev packages
  14344. 2006-06-02 Peter Dennis Bartok <[email protected]>
  14345. * Control.cs
  14346. - Select: Implemented to just use activate. Seems to match MS
  14347. behaviour closest. Documented to only do actual control walking
  14348. based on it's parameters if in a container control so I moved
  14349. the code there.
  14350. - Removed selection check logic from our internal Select() method
  14351. * ContainerControl.cs:
  14352. - Select: Moved selection logic from Control here, since MS documents
  14353. that containers obey the bool arguments. No longer calling base
  14354. 2006-06-02 Jackson Harper <[email protected]>
  14355. * TreeView.cs: If the selected node isn't changed when we get
  14356. focus update the previously selected node so that we see the
  14357. selection box.
  14358. 2006-06-02 Mike Kestner <[email protected]>
  14359. * ComboBox.cs: restructure grab and general mouse event handling.
  14360. Make the composite control raise mouse events like it was a single
  14361. control for leaves/enters/motion/up/down events. fix dropdown list
  14362. coordinate mangling and refactor it into the scrollbar subclass to
  14363. reduce code duplication. Fixes #78282 #78361 and #78457.
  14364. 2006-06-02 Mike Kestner <[email protected]>
  14365. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  14366. automatically in the Control.WndProc.
  14367. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  14368. * FileDialog.cs: fix crash when running SharpChess, which sets the
  14369. FilterIndex to 2 with only one Filter.
  14370. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  14371. * ToolBar.cs: add SizeSpecified property.
  14372. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  14373. try to figure out our real size, otherwise fallback to what the
  14374. container says.
  14375. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14376. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  14377. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  14378. up the event
  14379. 2006-06-01 Mike Kestner <[email protected]>
  14380. * ListView.cs: revamp the focus management in ListView. It still
  14381. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  14382. better than not handling focus at all. Will revisit when pdb feels
  14383. the general focus handling is solid. Fixes #78526.
  14384. 2006-06-01 Jackson Harper <[email protected]>
  14385. * TreeView.cs: Set the default border style in the constructor.
  14386. - Move painting to use OnPaintInternal instead of capturing
  14387. WM_PAINT, this is the correct way of doing things
  14388. - UpdateBelow shouldn't invalidate the scrollbar area
  14389. - Cap the top on update below in case the node was above the top
  14390. of the viewport rectangle.
  14391. - ExpandBelow and Collapse below need to obey Begin/End Update.
  14392. * TreeNode.cs: Make is_expanded internal so the treenode
  14393. collection can change it without firing the whole event chain.
  14394. * TreeNodeCollection.cs: When clearing all the child nodes make
  14395. sure to recalc the visible order.
  14396. - Improve algo for remove the top node
  14397. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14398. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  14399. SendMessage directly calling window procedures, which in turn might
  14400. call SetFocus()
  14401. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14402. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  14403. has focus (works around X11 sending a FocusIn after our SetFocus)
  14404. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  14405. 2006-06-01 Alexander Olk <[email protected]>
  14406. * Mime.cs: Fix for the NET_2_0 build.
  14407. NameValueCollection needs StringComparer now.
  14408. 2006-05-31 Chris Toshok <[email protected]>
  14409. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  14410. return (via an out parameter) the starting X of the column.
  14411. (UpdateVisibleColumn): track change to FromPixelToColumn.
  14412. (HitTest): add a ColumnResize case here.
  14413. (DrawResizeLine): new function, probably poorly named.
  14414. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  14415. only need to keep one reference.
  14416. (set_ListManager): same.
  14417. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  14418. Also, add support for HitTestType.ColumnResize.
  14419. (OnMouseMove): add column resize behavior here, and change the
  14420. cursor to the correct one as we move around the datagrid.
  14421. (OnMouseUp): terminate the column resize if we're resizing.
  14422. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  14423. for the current cell.
  14424. (ConnectListManagerEvents): use cached_currencymgr.
  14425. (DisconnectListManagerEvents): fill this in, using
  14426. cached_currencymgr.
  14427. (SetCurrentCell): remove cached_currencymgr_events handling.
  14428. (SetDataMember): only call DisconnectListManagerEvents if
  14429. cached_currencymgr is != null.
  14430. (SetDataSource): same.
  14431. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  14432. cached_currencymgr.
  14433. 2006-05-31 Jackson Harper <[email protected]>
  14434. * BindingManagerBase.cs: Remove somedebug code that creeped into
  14435. SVN.
  14436. * TreeNode.cs: We get the indent level dynamically right now, so
  14437. don't track it as a member.
  14438. * TreeNodeCollection.cs: Make sure all nodes added to the list
  14439. have parents, treeviews/topnodes setup properly.
  14440. - Don't attempt to track indent level.
  14441. 2006-05-30 Jackson Harper <[email protected]>
  14442. * BindingContext.cs: Create the currency manager tables here.
  14443. This allows us to more easily create null tables (when bad data
  14444. members are used), and more easily create related currency
  14445. managers.
  14446. * CurrencyManager.cs: All the table creation stuff is done by the
  14447. binding context now.
  14448. - Current should throw an exception if listposition is -1.
  14449. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  14450. been bound yet.
  14451. 2006-05-30 Mike Kestner <[email protected]>
  14452. * ListView.cs: allow reexpansion of zero-width column headers.
  14453. Fixes #78528.
  14454. 2006-05-28 Chris Toshok <[email protected]>
  14455. * CurrencyManager.cs (get_Current): after the late binding
  14456. listposition = -1 fix, we need to guard against it here and return
  14457. null, otherwise we raise an exception (which is swallowed
  14458. elsewhere, and breaks datagrid databinding.)
  14459. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14460. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  14461. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  14462. 2006-05-26 Jackson Harper <[email protected]>
  14463. * ControlPaint.cs:
  14464. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  14465. values, it's faster and it's all we care about (we don't care if
  14466. the names aren't equal).
  14467. * KeyboardLayouts.cs: Eliminate some dead code.
  14468. - Lazy init things
  14469. * X11Keyboard.cs: Lazy init keyboard detection.
  14470. - Cleanup access modifiers a little.
  14471. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14472. * XplatUIX11.cs: Once again, attempting to get layout just right.
  14473. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14474. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  14475. the sizes of each link section, that will result in sizes that
  14476. match DrawString's layout (Fixes #78391)
  14477. 2006-05-27 Alexander Olk <[email protected]>
  14478. * FileDialog.cs: If AddExtension property is true autocomplete the
  14479. extensions in SaveFileDialog correctly. Fixes bug #78453.
  14480. Set MyNetwork and MyComputer to "C:\" for windows. This should
  14481. fix part 8 of bug #78446 for now.
  14482. 2006-05-26 Chris Toshok <[email protected]>
  14483. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  14484. invalidate the current row header if we need to, but presumably
  14485. we'll invalidate the row corrsponding to the bounds or
  14486. editingControl.
  14487. (GridHScrolled): switch back to this method, as it's part of the
  14488. public api. *sigh*.
  14489. (GridVScrolled): same.
  14490. (OnMouseWheel): hack up something that more or less works. Call
  14491. GridHScrolled/GridVScrolled directly, instead of duplicating much
  14492. of their code here.
  14493. (EnsureCellVisibility): reinstate a bunch of this code, since we
  14494. can't just set the scrollbar Value and expect to do all the work
  14495. in the ValueChanged handler. Also, Call Update() after scrolling
  14496. in one direction so the other XplatX11.ScrollWindow call has the
  14497. proper stuff in the proper places.
  14498. (EditCell): set is_editing to true before calling .Edit.
  14499. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  14500. don't bother comparing first.
  14501. (OnKeyPress): call grid.ColumnStartedEditing before calling
  14502. base.OnKeyPress. this will set is_changing and invalidate the row
  14503. header if necessary.
  14504. (ProcessKeyMessage): for WM_CHAR messages, call
  14505. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  14506. and WM_KEYDOWN.
  14507. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  14508. it's done in the DataGrid.
  14509. (NextState): call grid.ColumnStartedEditing, which takes care of
  14510. invalidating the row header (and setting is_changing).
  14511. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  14512. here. it's done in the DataGrid.
  14513. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14514. * Control.cs: allow changing the cursor when the mouse position is
  14515. out of bounds but Capture is set.
  14516. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  14517. linklabel but released somewhere else.
  14518. 2006-05-25 Jackson Harper <[email protected]>
  14519. * TreeView.cs: When we get focus if there is no selected node make
  14520. it the top node
  14521. - Remove some uneeded setup code from Draw.
  14522. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  14523. a new node is inserted make the new node the top.
  14524. * XplatUIX11.cs:
  14525. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  14526. be used (should be faster).
  14527. 2006-05-25 Chris Toshok <[email protected]>
  14528. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  14529. problem with the last commit.
  14530. 2006-05-25 Chris Toshok <[email protected]>
  14531. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  14532. need the invalidate call here, while scrolling right-to-left via
  14533. the left arrow key (i.e. moving the editing cell while scrolling).
  14534. * DataGrid.cs (.ctor): remove the initialization of
  14535. ctrl_pressed/shift_pressed. We no longer track them using key
  14536. up/down handlers, but by using Control.ModifierKeys. Also, switch
  14537. to using ValueChanged handlers on the scrollbars instead of
  14538. Scrolled event handlers. This simplifies a bunch of the scrolling
  14539. code.
  14540. (GridHValueChanged): rename from GridHScrolled, and change it to
  14541. work with the new event args.
  14542. (GridVValueChanged): same.
  14543. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  14544. (OnMouseWheel): actually scroll the datagrid. Don't change the
  14545. selected cell.
  14546. (ProcessGridKey): correct all the keyboard navigation stuff I
  14547. could find. Ctrl up/down/left/right/home/end work now.
  14548. (EnsureCellVisibility): correct method name spelling. Also,
  14549. simplify this a touch by not explicitly calling the
  14550. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  14551. scrollbar value.
  14552. (OnKeyUpDG): no need for this method now.
  14553. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14554. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  14555. Fixes bug #78392.
  14556. 2006-05-25 Chris Toshok <[email protected]>
  14557. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  14558. r61019.
  14559. 2006-05-25 Peter Dennis Bartok <[email protected]>
  14560. * Application.cs: Moved setting of is_modal and closing to before
  14561. we create the control, to allow the event handlers called as a
  14562. result of creation affect closing. Also removed Gonzalo's previous
  14563. change to setting DialogResult, the behaviour has been moved to
  14564. Form.ShowDialog()
  14565. * Form.cs:
  14566. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  14567. handle it instead
  14568. - ShowDialog(): If no dialog result is set, we need to return Cancel
  14569. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  14570. the close is cancelled
  14571. 2006-05-25 Jackson Harper <[email protected]>
  14572. * StatusBar.cs: We only need to update the sizes of the other
  14573. panels when we have auto size contents. Also we are only updating
  14574. the contents of the panel, not the borders, so compensate for the
  14575. border width (TODO: get this width from the theme somehow).
  14576. * TreeView.cs: Scrollable is true by default
  14577. - Use invalidate instead of refresh where needed
  14578. - Factor the scrollable value into scrollbar updating
  14579. - Update the scrollbars if the Scrollable property is altered
  14580. - Update the selected node if its ImageIndex is changed
  14581. - Handle null nodes in UpdateNode (mainly so we don't have to
  14582. check if selected is null when updating it
  14583. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  14584. are factored into the visible count
  14585. - Use VisibleCount for clarity in the code
  14586. - When the font is changed we need to recurse through all the
  14587. nodes and invalidate their sizes
  14588. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14589. * Application.cs: set the DialogResult to fixed when the main form is
  14590. hidden or destroyed while being modal.
  14591. 2006-05-25 Miguel de Icaza <[email protected]>
  14592. * Theme.cs: Use Tangoified messagebox icons.
  14593. (GetSizedResourceImage): Also cope with width = 0 and do not
  14594. trigger a warning in that case (0 means "give me your icon from
  14595. the resouce, no special size needed).
  14596. 2006-05-25 Peter Dennis Bartok <[email protected]>
  14597. * Application.cs: Leave runloop if the the main modal form is
  14598. hidden (fixes #78484)
  14599. 2006-05-25 Atsushi Enomoto <[email protected]>
  14600. * BindingContext.cs : reject null datasource in Contains() and
  14601. Item[].
  14602. * CurrencyManager.cs : check data_member validity when data_source
  14603. is dataset. When it is late binding, the initial position is -1.
  14604. 2006-05-24 Jackson Harper <[email protected]>
  14605. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  14606. inserted nodes that aren't visible. This changes the
  14607. max_visible_order which confuses scrollbar settings.
  14608. - Use the enumerator to get the prev node instead of duplicating
  14609. code.
  14610. * TreeView.cs: Use new method for setting scrollbar values
  14611. - Don't set the bounds every time the scrollbar is updated
  14612. - When updating below the root node use an invalidate instead of a
  14613. refresh to prevent the child controls (scrollbars) from being
  14614. refreshed. (UpdateBelow still needs to be reworked anyways).
  14615. - Reenable SetBottom now that visible orders are set correctly,
  14616. added some debug code incase we ever get bad values there again.
  14617. - Set the scrollbar max to 2 less then the max value, this
  14618. compensates for the max value being one above the node count, and
  14619. for scrollbars adding one extra "notch".
  14620. - When drawing image nodes if there is an imagelist we draw the
  14621. first image in the list if the supplied image index is out of the
  14622. image list's bounds.
  14623. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14624. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  14625. we receive a size change from the WM (Fixes #78503)
  14626. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14627. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  14628. rectangle (Fixes #78501)
  14629. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14630. * ButtonBase.cs:
  14631. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  14632. as a bitfield.
  14633. - Fixed MouseMove to no longer switch pressed state unless the left
  14634. mouse button is pressed. Atsushi provided the original patch (#78485)
  14635. 2006-05-24 Jackson Harper <[email protected]>
  14636. * ScrollBar.cs: New internal methods that allow us to change a
  14637. couple values on the scrollbar (the most common case is maximum
  14638. and large change) without getting multiple invalidates.
  14639. 2006-05-24 Chris Toshok <[email protected]>
  14640. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  14641. (Edit): save off the original state in oldState, and set
  14642. grid.is_editing to true.
  14643. (OnKeyDown): abort editing if escape is pressed. also, call
  14644. NextState if space is pressed.
  14645. (OnMouseDown): call NextState.
  14646. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  14647. here. Also, only invalidate the row header once (on the initial
  14648. is_changing switch) to save on redraws.
  14649. 2006-05-24 Chris Toshok <[email protected]>
  14650. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  14651. if the value in the cell is different than it was before. This
  14652. keeps us from triggering a layout when we move around a datarid
  14653. with a highlighted cell.
  14654. (Edit): suspend layout when creating/positining the text box, and
  14655. resume passing false so we don't ever actually re-layout.
  14656. (ReleaseHostedControl): same.
  14657. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  14658. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  14659. control-key sequences should go to the datagrid - remove that
  14660. lock. Also, modify the conditions under which we move between
  14661. cells when moving the cursor within a cell, and remove the "this"
  14662. and "base" from field accesses. We weren't even consistent, given
  14663. they all were in the base class.
  14664. 2006-05-24 Atsushi Enomoto <[email protected]>
  14665. * Binding.cs : (.ctor)
  14666. An obvious NRE fix for BindingTest.CtorNullTest().
  14667. 2006-05-23 Chris Toshok <[email protected]>
  14668. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  14669. them between lines. This fixes some quirks editing cells in the
  14670. datagrid.
  14671. 2006-05-23 Jackson Harper <[email protected]>
  14672. * TreeView.cs: Use begin/end update when doing expand/collapse all
  14673. so that we don't get flicker on the scrollbar.
  14674. 2006-05-23 Jackson Harper <[email protected]>
  14675. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  14676. treenode calculations to be independant of the painting code. To
  14677. do this nodes track a visible order which is calculated by the
  14678. treeview.
  14679. - Call new methods for expanding/collapsing nodes. These methods
  14680. use scrollwindow so we don't have to update everything below the
  14681. node.
  14682. * TreeView.cs: Refactored drawing and scrolling code. We don't
  14683. need to update nodes when drawing anymore or calculate scrollbar
  14684. stuff.
  14685. - Added new methods for expanding/collapsing nodes. These methods
  14686. use ScrollWindow so as to not have to redraw all the nodes below.
  14687. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  14688. we add/remove nodes or sort.
  14689. - Handle removing the selected and the top node properly.
  14690. 2006-05-23 Chris Toshok <[email protected]>
  14691. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  14692. maybe this should actually happen in the datagrid code?
  14693. (EndEdit): no need to invalidate anything, given that
  14694. ReleaseHostedControl causes the datagrid to relayout, which
  14695. invalidates everything anyway.
  14696. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  14697. in SetCurrentCell).
  14698. (set_SelectionBackColor): call InvalidateSelection instead of
  14699. Refresh.
  14700. (set_SelectionForeColor): same.
  14701. (BeginEdit): Flesh this out a bit.
  14702. (CancelEditing): only do any of this if we're editing/adding.
  14703. (EndEdit): same.
  14704. (OnMouseDown): there's no need to cancel editing here, it's done
  14705. in SetCurrentCell.
  14706. (SetCurrentCell): only invalidate the current row header if it's a
  14707. different row than the new one.
  14708. (ShiftSelection): fix this to work like MS does.
  14709. (ResetSelection): factor out the invalidation of selected_rows to
  14710. InvalidateSelection.
  14711. (SetDataSource): cancel any editing that's going on.
  14712. * DataGridColumnStyle.cs
  14713. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  14714. call the non-interface version.
  14715. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  14716. header rectangle with the clip rectangle so we don't redraw the
  14717. entire header for just a small area. Gets rid of the last flicker
  14718. when horizontally scrolling.
  14719. (DataGridPaintRow): same.
  14720. 2006-05-23 Mike Kestner <[email protected]>
  14721. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  14722. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  14723. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  14724. Critical bug report.
  14725. 2006-05-23 Peter Dennis Bartok <[email protected]>
  14726. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  14727. and this fixes #78493
  14728. 2006-05-23 Miguel de Icaza <[email protected]>
  14729. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  14730. size is not found.
  14731. * FileDialog.cs: Do not change the background for the side bar as
  14732. it wont work nicely with the theme, and also reduces the artifacts
  14733. in rendering the icons (which I want to fix too).
  14734. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  14735. resources, not resgen resources.
  14736. (PlatformDefaultHandler): Pull images using the new API.
  14737. 2006-05-23 Peter Dennis Bartok <[email protected]>
  14738. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  14739. a reference to the hwnd and will not remove it unless there are
  14740. no pending exposures (fixes #78341)
  14741. * XplatUI.cs: Improved debug
  14742. 2006-05-23 Atsushi Enomoto <[email protected]>
  14743. * MenuAPI.cs : don't handle OnClick event when it was not the left
  14744. button. Fixed bug #78487.
  14745. 2006-05-23 Mike Kestner <[email protected]>
  14746. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  14747. prefer submenus to the top menu for item lookup, to avoid popping down
  14748. top-row items.
  14749. 2006-05-23 Alexander Olk <[email protected]>
  14750. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  14751. Graphics.FillRectangle as the visual results are really bad (even
  14752. on win). We now draw perfect arrows (and perfect shadows when the
  14753. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  14754. Pen.DashPattern to draw the dots of each line.
  14755. 2006-05-22 Alexander Olk <[email protected]>
  14756. * FileDialog.cs: Update the filename combobox when navigating through
  14757. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  14758. 2006-05-22 Mike Kestner <[email protected]>
  14759. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  14760. Fixes #78463.
  14761. 2006-05-22 Mike Kestner <[email protected]>
  14762. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  14763. requests. Fix a misspelled parameter and a copy paste exception error
  14764. in Select.
  14765. 2006-05-22 Peter Dennis Bartok <[email protected]>
  14766. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  14767. to get the same width/height (5/13) on X11 as the default font has on
  14768. win32. This means that our DefaultFont emSize is smaller than the
  14769. the MS SWF equivalent (even thought the width/height stays the same)
  14770. 2006-05-20 Jackson Harper <[email protected]>
  14771. * MdiClient.cs:
  14772. * MdiWindowManager.cs:
  14773. * InternalWindowManager.cs: Make sure to use the border width from
  14774. the theme.
  14775. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  14776. * PrintDialog.cs: Implements printer details
  14777. 2006-05-19 Alexander Olk <[email protected]>
  14778. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  14779. Fixes part 1 and 2 of bug #78446
  14780. 2006-05-19 Peter Dennis Bartok <[email protected]>
  14781. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  14782. instead of sticking to the first ever calculated value
  14783. 2006-05-19 Mike Kestner <[email protected]>
  14784. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  14785. PointToClient, since Capture is set. Fixes #78344.
  14786. 2006-05-19 Mike Kestner <[email protected]>
  14787. * ListView.cs: match MS behavior in Details view where items are not
  14788. drawn if Columns.Count == 0.
  14789. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  14790. Use a separate pen to draw the check, since changing the width affects
  14791. the box as well. Fixes #78454.
  14792. 2006-05-18 Miguel de Icaza <[email protected]>
  14793. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  14794. exception should throw the name of the invalid argument.
  14795. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  14796. there are no files listed.
  14797. 2006-05-18 Jackson Harper <[email protected]>
  14798. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  14799. up.
  14800. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14801. * Control.cs: Brought back our old UpdateZOrder method as a private
  14802. function and switched our calls from UpdateZOrder to the new one.
  14803. This fixes the Paint.Net canvas disappearing bug.
  14804. 2006-05-18 Jackson Harper <[email protected]>
  14805. * Theme.cs:
  14806. * ThemeWin32Classic.cs:
  14807. * InternalWindowManager.cs: Move the drawing into the theme,
  14808. expose everything the theme should need from the window manager.
  14809. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14810. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  14811. from the call to NativeWindow to avoid walking up the parent chain
  14812. further than needed (speeds up setting cursors and avoids setting
  14813. the wrong cursor if a parent has another cursor defined)
  14814. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  14815. the icon as hotspot, not what's contained as hotspot in the icon
  14816. file. This fixes the perceived drawing offset seen with Paint.Net
  14817. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14818. * XplatUIX11.cs:
  14819. - Store the calculated rectangle in Hwnd object and use it when
  14820. setting the client size
  14821. - Force Toolwindows to always be type Dock, to ensure they're on top
  14822. 2006-05-18 Mike Kestner <[email protected]>
  14823. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  14824. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  14825. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  14826. Substantial refactoring to remove confusing nested classes. Coding
  14827. standard and Get+Set->property refactorings. Shift to index based
  14828. highlighting in ComboListBox instead of constantly using IndexOf and
  14829. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  14830. in FileDialog growth. Draw borders manually since Simple mode needs
  14831. to look like two independent controls. Make listbox border
  14832. conditional to DropDownStyle. Improved OwnerDraw support.
  14833. 2006-05-18 Sebastien Pouliot <[email protected]>
  14834. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  14835. Don't set the disposed graphics to null, so we can throw the "right"
  14836. exception if the graphics is reused later (added a flag to avoid
  14837. double disposing). Some behaviours are different under 2.0 and are
  14838. filled under bug #78448.
  14839. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14840. * Control.cs: When double-buffering is enabled, we need to reset
  14841. our graphics context between paint calls. Otherwise, any
  14842. transformations and other alterations on the context will
  14843. become cumulative (#77734)
  14844. 2006-05-18 Mike Kestner <[email protected]>
  14845. * ListView.cs: do focused item selection like MS on clicks.
  14846. Rework focus handling for ItemControl so LostFocus invalidates as
  14847. well.
  14848. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  14849. the ListView ItemControl has focus.
  14850. 2006-05-17 Peter Dennis Bartok <[email protected]>
  14851. * XplatUIX11.cs: If client_window ends up being width or height zero
  14852. due to border settings, move it off window inside whole_window (#78433)
  14853. 2006-05-17 Alexander Olk <[email protected]>
  14854. * Mime.cs: Shrink the mime file cache correctly.
  14855. 2006-05-17 Alexander Olk <[email protected]>
  14856. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  14857. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14858. * XplatUIX11.cs (AddExpose): More sanity checks
  14859. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14860. * XplatUIX11.cs:
  14861. - AddExpose: Don't add expose ranges outside the size of our
  14862. window
  14863. - Cast opacity values to Int32 to avoid crashes with certain
  14864. values
  14865. - Added disabled code paths that protect against illegal cross-
  14866. thread painting (Developers.exe)
  14867. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14868. * ProgressBar.cs: Invalidate the control when it's resized
  14869. since block size is based on control size. (#78388)
  14870. 2006-05-16 Miguel de Icaza <[email protected]>
  14871. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  14872. of setting the incoming argument to the "reset" value, we set the
  14873. this.datamember to string.empty (before we were invalidating the
  14874. incoming data).
  14875. Fixes 78420
  14876. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14877. * Form.cs: Only apply transparency settings after the form
  14878. is created. (Fixes #77800)
  14879. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14880. * ApplicationContext.cs: Grab the HandleDestroyed event so
  14881. we know when to fire OnMainFormClosed
  14882. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14883. * Application.cs: Introduced sub-class to allow tracking of
  14884. threads and centralized triggering of the event mess for
  14885. ThreadExit, AppExit, etc.. (#76156)
  14886. 2006-05-16 Alexander Olk <[email protected]>
  14887. * MimeIcon.cs:
  14888. - Do not return a null icon index value for a mime subclass.
  14889. Instead try the main mime type class too.
  14890. - Seems that some newer distributions don't have a link to some
  14891. gnome default icons anymore. So check the default gnome dir too.
  14892. 2006-05-16 Jackson Harper <[email protected]>
  14893. * MdiClient.cs: Don't paint the parent background image if we have
  14894. our own background image.
  14895. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14896. * Control.cs:
  14897. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  14898. controls, all filled controls are supposed to overlap (#78080)
  14899. - UpdateZOrder is supposed to update the control's z-order in the
  14900. parent's z-order chain. Fixed to behave like that
  14901. - BringToFront: Removed obsolete code
  14902. - SendToBack: Simplyfied
  14903. - SetChildIndex: Trigger layout calculations when Z-order changes
  14904. since layout is done by z-order
  14905. 2006-05-16 Chris Toshok <[email protected]>
  14906. [ fixes bug #78410 ]
  14907. * DataGrid.cs (set_AlternatingBackColor): use
  14908. grid_drawing.InvalidateCells instead of Refresh().
  14909. (set_BackColor): call grid_drawing.InvalidateCells.
  14910. (set_BackgroundColor): use Invalidate instead of Refresh.
  14911. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  14912. invalidate the cell area.
  14913. 2006-05-15 Chris Toshok <[email protected]>
  14914. [ fixes bug #78011 ]
  14915. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  14916. on to DataGridPaintRow.
  14917. (DataGridPaintRow): take a clip argument, and only draw the cells
  14918. which intersect it. same with the not_usedarea.
  14919. * Theme.cs (DataGridPaintRow) add @clip parameter.
  14920. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  14921. XplatUI.ScrollWindow.
  14922. (ScrollToRow): same.
  14923. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  14924. with last column which was causing a gray swath to appear with the
  14925. XplatUI.ScrollWindow code.
  14926. 2006-05-15 Chris Toshok <[email protected]>
  14927. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  14928. use XplatUI.ScrollWindow.
  14929. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  14930. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14931. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  14932. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14933. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  14934. file since there are no equivalent X11 cursors
  14935. 2006-05-15 Atsushi Enomoto <[email protected]>
  14936. * MonthCalendar.cs : DateTimePicker should reflect selected date
  14937. on mouse*up*, not mouse*down*. Fixed originally reported part of
  14938. bug #76474.
  14939. 2006-05-15 Atsushi Enomoto <[email protected]>
  14940. * TabControl.cs : When argument index is equal or more than tab
  14941. count, just ignore. Fixed bug #78395.
  14942. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14943. * Control.cs: Dispose all child controls when control is diposed (#78394)
  14944. 2006-05-14 Alexander Olk <[email protected]>
  14945. * ColorDialog.cs: Finally it is possible to select the color with
  14946. the text boxes
  14947. 2006-05-14 Alexander Olk <[email protected]>
  14948. * PrintDialog.cs: Fix typo
  14949. 2006-05-14 Alexander Olk <[email protected]>
  14950. * PrintDialog.cs: PrintDialog is not resizable
  14951. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  14952. color. Made some ToolBar drawing methods protected virtual.
  14953. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  14954. * PrintDialog.cs: Implementation of the PrintDialog
  14955. 2006-05-12 Chris Toshok <[email protected]>
  14956. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  14957. thumb, instead use MoveThumb. This has the side effect of making
  14958. most of the other thumb moving machinery use MoveThumb as well.
  14959. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  14960. need to actually invalidate the rectangle where the new thumb will
  14961. go.
  14962. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  14963. We force an Update() after, so it's not as fast as it could be,
  14964. but at least there's zero flicker and no droppings.
  14965. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  14966. (UpdateThumbPos): add another argument (dirty), which says whether
  14967. or not to calculate/add dirty regions which we later invalidate.
  14968. For cases where we know we're going to use MoveThumb, we pass
  14969. false for this. Otherwise, pass true.
  14970. 2006-05-12 Jackson Harper <[email protected]>
  14971. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  14972. the status bar.
  14973. 2006-05-12 Peter Dennis Bartok <[email protected]>
  14974. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  14975. and GetClipRegion methods and UserClipWontExposeParent property.
  14976. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  14977. overriding UserClipWontExposeParent property, setting to false, since
  14978. Win32 handles the required expose messages to draw our clipped parent
  14979. areas internally
  14980. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  14981. PaintEventStart to set the user clip region if set.
  14982. * Control.cs:
  14983. - Now internally tracking the Region for the control since we need to
  14984. store it if the handle is not yet created and only set it when it
  14985. becomes created. Before setting the region forced handle creation
  14986. - Added code to draw the parents underneath a user-clipped region
  14987. * Hwnd.cs: Added UserClip property
  14988. 2006-05-12 Chris Toshok <[email protected]>
  14989. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  14990. (set_Maximum): same.
  14991. (set_Minimum): same.
  14992. (set_SmallChange): same.
  14993. (OnMouseUpSB): remove the call to refresh when releasing the
  14994. thumb. We shouldn't need it.
  14995. 2006-05-12 Miguel de Icaza <[email protected]>
  14996. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  14997. AutoSize set to None, we do not need to relayout everything, we
  14998. just need to invalidate the current region.
  14999. (Draw): Do not draw the entire ClientArea, just redraw the
  15000. clip area being passed.
  15001. * MdiClient.cs: Make MdiClient constructor with the Form argument
  15002. internal.
  15003. 2006-05-12 Jackson Harper <[email protected]>
  15004. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  15005. parents background image, but strangely not their own.
  15006. - (DrawStatusBarPanel): Take into account horizontal alignment
  15007. when drawing the strings and icons.
  15008. 2006-05-12 Mike Kestner <[email protected]>
  15009. * ListBox.cs: avoid invalidations for focus when the collection is
  15010. empty.
  15011. 2006-05-12 Chris Toshok <[email protected]>
  15012. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  15013. invalidate the entire thumb area. Call InvalidateDirty which
  15014. limits the redraw to the thumb itself and surrounding pixels.
  15015. * XplatUIX11.cs (ScrollWindow): optimize copying.
  15016. 2006-05-12 Chris Toshok <[email protected]>
  15017. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  15018. Figure out the positioning/layout in a single pass instead of
  15019. multiple recursive invocations. Speeds up the initial display of
  15020. the data grid. Also, make many things private that were
  15021. originally public but unused outside this class.
  15022. 2006-05-11 Jackson Harper <[email protected]>
  15023. * MdiClient.cs: Improved layout code.
  15024. 2006-05-11 Jonathan Chambers <[email protected]>
  15025. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  15026. not SelectedObject.
  15027. 2006-05-11 Chris Toshok <[email protected]>
  15028. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  15029. union of that will always be {0,0,width,height}.
  15030. 2006-05-11 Jackson Harper <[email protected]>
  15031. * Form.cs: Match MS's DefaultSize for forms (they must have
  15032. changed the size in sp2).
  15033. 2006-05-11 Atsushi Enomoto <[email protected]>
  15034. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  15035. 2006-05-11 Atsushi Enomoto <[email protected]>
  15036. * TextControl.cs : Fixed bug #78109. This incorrect position
  15037. comparison caused crash on automatic line split.
  15038. * TextBoxBase.cs : reduce duplicate code.
  15039. 2006-05-10 Jackson Harper <[email protected]>
  15040. * MdiClient.cs: Active form is only sent to the back when using
  15041. the Next form functionality, when a form is clicked the current
  15042. active shouldn't be sent to the back.
  15043. - Layout the mdi windows when the container is first made visible.
  15044. * Form.cs: Give the MdiClient a ref to the containing form when we
  15045. create it.
  15046. 2006-05-10 Atsushi Enomoto <[email protected]>
  15047. * LinkLabel.cs : link_font could be uninitialized, so populate one
  15048. before actual use. Fixed bug #78340.
  15049. 2006-05-10 Atsushi Enomoto <[email protected]>
  15050. * XplatUIX11.cs : clipboard format native value is IntPtr.
  15051. Fixed bug #78283.
  15052. 2006-05-10 Peter Dennis Bartok <[email protected]>
  15053. * Control.cs:
  15054. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  15055. which is passed up the parent chain by DefWndProc
  15056. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  15057. to DefWndProc (#77956)
  15058. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  15059. 2006-05-10 Jackson Harper <[email protected]>
  15060. * MdiClient.cs: We need to remove the controls from the mdi
  15061. collection, when we close the window.
  15062. * MdiWindowManager.cs: Special handling of closing mdi windows.
  15063. * InternalWindowManager.cs: Make the close method virtual so the
  15064. mdi window manager can handle it specially.
  15065. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  15066. * DataGrid.cs:
  15067. - Recalculate grid when the data source has changed
  15068. - Matches styles provided by user from all data sources types
  15069. * DataGridTableStyle.cs: For columns that provided by the user set the
  15070. with the preferred value is there was unassigned.
  15071. * CurrencyManager.cs: throw OnItemChanged event
  15072. 2006-05-10 Peter Dennis Bartok <[email protected]>
  15073. * PictureBox.cs: Don't animate until handle is created. Start animation
  15074. when handle is created.
  15075. 2006-05-10 Peter Dennis Bartok <[email protected]>
  15076. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  15077. current codebase.
  15078. * XEventQueue.cs: We don't need to provide the extra info
  15079. 2006-05-10 Jackson Harper <[email protected]>
  15080. * MdiClient.cs: If the mdi clients parent form has a background
  15081. image set, we draw that background image for the mdi area's
  15082. background.
  15083. 2006-05-10 Peter Dennis Bartok <[email protected]>
  15084. * TextBoxBase.cs: Set IBeam cursor (#78347)
  15085. 2006-05-10 Mike Kestner <[email protected]>
  15086. * ToolBar.cs: fix some text padding issues with ButtonSize
  15087. calculation. Update the default size to match MS documentation.
  15088. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  15089. button size. Fixes #78296.
  15090. 2006-05-10 Mike Kestner <[email protected]>
  15091. * ListBox.cs: use is_visible for scrollbar positioning in case the
  15092. control isn't on screen yet. Fix off by one with Right vs Width
  15093. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  15094. 2006-05-10 Jackson Harper <[email protected]>
  15095. * X11Dnd.cs: Drop to a control with another control on top of it.
  15096. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  15097. be modified in click handlers. TODO: Look for similar problems in
  15098. other controls.
  15099. 2006-05-09 Jackson Harper <[email protected]>
  15100. * Form.cs: Window managers need the old window state when setting
  15101. window state now.
  15102. * InternalWindowManager.cs: Allow the base mdi window manager to
  15103. handle more of the MDI only stuff (like maximize buttons).
  15104. * MdiWindowManager.cs: Fix some snafus in changing the window
  15105. state. Add all the menu functionality, for both popup and
  15106. maximized menus.
  15107. * MdiClient.cs: When a new form is selected the currently
  15108. activated form is sent to the back, this matches MS.
  15109. - Implement a new method to activate the next mdi child window.
  15110. 2006-05-08 Peter Dennis Bartok <[email protected]>
  15111. * Control.cs:
  15112. - Added new InternalCapture method to allow controls to prevent
  15113. the capture behaviour on the click handlers
  15114. - Switched to use InternalCapture
  15115. * ComboBox.cs:
  15116. - Using InternalCapture to prevent mouse captures from being released
  15117. on mouse button release (Fixes #78100)
  15118. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  15119. returns Form borders if a caption is present. (Fixes #78310)
  15120. 2006-05-08 Peter Dennis Bartok <[email protected]>
  15121. * TreeNode.cs: Changed serialization .ctor to not require every field
  15122. to be present. (#78265)
  15123. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  15124. 2006-05-05 Alexander Olk <[email protected]>
  15125. * MimeIcon.cs: for is faster than foreach for strings.
  15126. 2006-05-05 Mike Kestner <[email protected]>
  15127. * CheckedListBox.cs: update check handling code to not use selected.
  15128. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  15129. behavior for visual feedback, motion response, shift/ctrl handling,
  15130. and properly deal with all 4 selection modes. Updates to bounds
  15131. handling logic. Add scroll wheel support. [Fixes #77842]
  15132. 2006-05-05 Peter Dennis Bartok <[email protected]>
  15133. * ListView.cs:
  15134. - Moved adding of Implicit controls into .ctor. That way, subsequent
  15135. creation of the controls will not cause them to think they are
  15136. toplevel windows (fixes #78200 header problem)
  15137. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  15138. - Switched visibility setting of header control to use internal field
  15139. to avoid triggering handle creation
  15140. - Now checking if handle is created before causing a refresh when items
  15141. are added (This makes us now match handle creation time with MS)
  15142. * Splitter.cs: Removed loading of private splitter cursor, switched to
  15143. Cursors version now that that is loading the right ones
  15144. * Cursors.cs: Load proper splitter cursors from resources
  15145. * Cursor.cs: Added second method of loading resource cursors for the
  15146. VS.Net users amongst us
  15147. 2006-05-05 Mike Kestner <[email protected]>
  15148. * ListView.cs: give header_control a minimum size based on the
  15149. ListView size.
  15150. 2006-05-05 Peter Dennis Bartok <[email protected]>
  15151. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  15152. window seems to do that with metacity, so set that type. (#78120)
  15153. 2006-05-05 Mike Kestner <[email protected]>
  15154. * ListViewItem.cs: fix Details mode checkbox layout bug.
  15155. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  15156. at the end of the header, if it exists. [Fixes for #78200]
  15157. 2006-05-04 Jackson Harper <[email protected]>
  15158. * MdiClient.cs: Add a helper property to get the container form.
  15159. * MdiWindowManager.cs: We have to make sure to use the menu origin
  15160. when drawing the icons and buttons, this fixes maximized window
  15161. icons/buttons on win32.
  15162. * InternalWindowManager.cs: Reset the restore captions when a
  15163. window goes from Maximized to Minimized and vice versa. Move the
  15164. DrawMaximizedButtons into the MdiWindowManager source, tool
  15165. windows can't be maximized. NOTE: This could use a little
  15166. refactoring if time ever permits.
  15167. 2006-05-03 Jonathan Chambers <[email protected]>
  15168. * TextBox.cs: Add MWFCategoryAttributes
  15169. * TextBoxBase.cs: Add MWFCategoryAttributes
  15170. * Form.cs: Add MWFCategoryAttributes
  15171. 2006-05-03 Jonathan Chambers <[email protected]>
  15172. * Control.cs: Add MWFCategoryAttributes
  15173. * ScrollableControl.cs: Add MWFCategoryAttributes
  15174. 2006-05-03 Alexander Olk <[email protected]>
  15175. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  15176. Divider is true. Fix a little glitch in PropertyToolBar
  15177. drawing code
  15178. 2006-05-02 Peter Dennis Bartok <[email protected]>
  15179. * Control.cs:
  15180. - Dispose: Call base.Dispose, this causes the disposed event
  15181. to be fired (and probably other, more important stuff)
  15182. - SetVisibleCore: Set is_visible to true after creating the
  15183. window so that the window still gets created invisible (if
  15184. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  15185. to generate a WM_ACTIVE message
  15186. * Form.cs: Call Dispose when we want to destroy the window, instead of
  15187. just destroying the handle (Dispose will do that for us)
  15188. * XplatUIX11.cs:
  15189. - RootWindow also needs a queue, so we can properly process the
  15190. property change events from RootWindow (like Activate)
  15191. - Generatic synthetic WM_ACTIVE message when the active window is
  15192. being destroyed
  15193. 2006-05-01 Peter Dennis Bartok <[email protected]>
  15194. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  15195. bounds are changed
  15196. 2006-05-01 Peter Dennis Bartok <[email protected]>
  15197. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  15198. for determining width and height (image might not be assigned if
  15199. we're drawing an imagelist)
  15200. 2006-05-01 Peter Dennis Bartok <[email protected]>
  15201. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  15202. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  15203. height from system
  15204. * Theme.cs: No longer returns hardcoded menu height, instead calls
  15205. new driver method
  15206. * Form.cs (OnLoad): Scaling happens before triggering Load events
  15207. on MS (# 78257)
  15208. 2006-05-01 Mike Kestner <[email protected]>
  15209. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  15210. 2006-04-30 Peter Dennis Bartok <[email protected]>
  15211. * TextBoxBase.cs: Removed Fixme
  15212. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  15213. 2006-04-30 Peter Dennis Bartok <[email protected]>
  15214. * XplatUIX11.cs:
  15215. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  15216. the rectangle relative to the parent, considering borders. We
  15217. don't really want that.
  15218. - ScrollWindow: Fixed warning to be more understandable
  15219. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  15220. scrollbars and scroll only the visible area
  15221. * RichTextBox.cs: Removed debug output
  15222. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15223. * NumericUpDown.cs (Text): Just use base
  15224. * UpDownBase.cs: Ensure txtView is created before using it
  15225. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15226. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  15227. casting to IntPtr to avoid 64bit overflow errors
  15228. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15229. * Control.cs:
  15230. - AllowDrop: Don't force handle creation.
  15231. - CreateHandle: Added call to tell driver if we're allowed to drop
  15232. 2006-04-27 Alexander Olk <[email protected]>
  15233. * FileDialog.cs: Remember the last directory not only for the
  15234. current instance but also for new FileDialog instances.
  15235. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15236. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  15237. broke sending async messages
  15238. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15239. * XplatUIX11.cs:
  15240. - ScrollWindow: Fixed method. We finally generate expose events again
  15241. for scrolled areas. This was causing 'garbage' when scrolling
  15242. textbox and other controls that used ScrollWindow
  15243. - Switched from using the regular queue for paint events to the MS
  15244. model of 'generating' paint events when the queue is empty.
  15245. We use the new XQueueEvent.Paint subclass to store which windows
  15246. need painting.
  15247. - AddExpose now takes the x/y/width/height of the exposed area
  15248. and inserts the window into the paint queue if not already there
  15249. - InvalidateWholeWindow: Switched to use new AddExpose method
  15250. - UpdateMessageQueue: Added which queue to monitor for paint events
  15251. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  15252. the unlikely case nothing above handles it. We reset the expose
  15253. pending states to get them off the queue.
  15254. - GetMessage: Now pulls a paint event if no other events are in the
  15255. queue
  15256. - Invalidate: Switched to new AddExpose method
  15257. - PeekMessage: Updated to understand pending paint events
  15258. - UpdateWindow: Fixed logic bug. We were only updating if the window
  15259. didn't need updating. Also switched to sending WM_PAINT directly,
  15260. like MS does.
  15261. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  15262. and random access Remove(). The random access is needed to handle
  15263. UpdateWindow() where a WM_PAINT is sent directly without accessing
  15264. the queue.
  15265. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  15266. allow for better feedback when scrolling. Scrollbars are small and
  15267. the immediate update should make it 'feel' more responsive without
  15268. slowing things down. ScrollBar still needs it's invaliate logic
  15269. updated to not always invalidate the whole bar on certain changes.
  15270. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  15271. * Control.cs:
  15272. (BackColor): if the control does not support a transparent background,
  15273. return the default backcolor when the parent backcolor is transparent.
  15274. 2006-04-28 Peter Dennis Bartok <[email protected]>
  15275. * Application.cs: Updated to new StartLoop/GetMessage API
  15276. * RichTextBox.cs: Provide some output on RTF parsing errors
  15277. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  15278. new queue_id argument to GetMessage and PeekMessage to allow faster
  15279. handling of per-thread queues in drivers.
  15280. * Hwnd.cs: Added Queue tracking and property
  15281. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  15282. * XEventQueue.cs: Added thread trackingA
  15283. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  15284. * XplatUIX11.cs:
  15285. - Implemented new per-thread queue
  15286. - GetMessage: Fixed return/break behaviour on several cases. We were
  15287. returning stale messages in some cases, instead of just processing
  15288. the next message
  15289. 2006-04-27 Jonathan Chambers <[email protected]>
  15290. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  15291. 2006-04-27 Peter Dennis Bartok <[email protected]>
  15292. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  15293. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  15294. 2006-04-27 Jonathan Chambers <[email protected]>
  15295. * PropertyGridView.cs: Fix drop down width.
  15296. 2006-04-27 Alexander Olk <[email protected]>
  15297. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  15298. a mess in DrawToolBar, so I removed one of them.
  15299. 2006-04-27 Alexander Olk <[email protected]>
  15300. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  15301. needed (clip). Otherwise we get artifacts.
  15302. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15303. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  15304. dimension is fixed
  15305. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  15306. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  15307. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  15308. if it matches the scale base font (avoids unneeded scaling)
  15309. 2006-04-26 Alexander Olk <[email protected]>
  15310. * X11DesktopColors.cs: One gtk_init_check should be enough
  15311. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15312. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  15313. match MS behaviour
  15314. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15315. * TextBoxBase.cs:
  15316. - Generate OnTextChanged for Backspace even if we're only deleting
  15317. the current selection
  15318. - When setting the Text property, only select all text if the
  15319. control does not have focus when it is being set. Otherwise
  15320. just place the cursor at the beginning of the control
  15321. 2006-04-26 Alexander Olk <[email protected]>
  15322. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  15323. Added a little helper to draw PropertyGrid ToolBar with a different
  15324. border and a different BackColor.
  15325. * PropertyGrid.cs: Some background parts didn't get painted with the
  15326. correct background color. Added a class that helps us to draw the
  15327. correct border for PropertyGridView and a class that helps us to
  15328. draw ToolBars with a different backcolor
  15329. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  15330. 2006-04-25 Jonathan Chambers <[email protected]>
  15331. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  15332. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  15333. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15334. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  15335. into the palette entries. Also, since we're working on a copy
  15336. we needed to copy the palette back onto the bitmap.
  15337. * Cursor.cs: Same fix as XplatUIWin32.cs.
  15338. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15339. * ImageListStreamer.cs: Need to read the var (or we're off)
  15340. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15341. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  15342. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  15343. TextBoxBase.cs: Unused var fixes
  15344. * AxHost.cs: Small 2.0 fix
  15345. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  15346. as it seems that is what at least Metacity expects. This will make
  15347. icons show up on 64bit platforms. We still have some 64bit size
  15348. issues, though, since the startup app window size still won't match.
  15349. 2006-04-25 Mike Kestner <[email protected]>
  15350. * *.cs: cleanup newly reported exception var unused warnings.
  15351. 2006-04-25 Alexander Olk <[email protected]>
  15352. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  15353. ms
  15354. 2006-04-25 Alexander Olk <[email protected]>
  15355. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  15356. image. The image position is always the same, no matter if the
  15357. button is pressed or not.
  15358. 2006-04-25 Alexander Olk <[email protected]>
  15359. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  15360. selection and set the correct filename for SaveFileDialog.
  15361. Patch by Emery Conrad.
  15362. 2006-04-24 Mike Kestner <[email protected]>
  15363. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  15364. check for item.X outside the ClientRect instead of item.Y. Fixes
  15365. #78151.
  15366. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  15367. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  15368. trust that value blindly and do some sanity check. Fixes bug #77814.
  15369. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  15370. * ImageListStreamer.cs: save the mask as a 1bpp image.
  15371. 2006-04-21 Mike Kestner <[email protected]>
  15372. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  15373. pass Checked and Indeterminate to the Theme Engine. Improve
  15374. encapsulation with ListBox.
  15375. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  15376. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  15377. nested types. Move all CheckState functionality to CheckedListBox.
  15378. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  15379. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  15380. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  15381. single base list. Fix scrollbar sizing and placement to mirror MS.
  15382. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  15383. used.
  15384. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  15385. for CheckedListBox by using new DrawItemState info. Center the
  15386. checkboxes on the items. Use new StringFormat property.
  15387. 2006-04-18 Jackson Harper <[email protected]>
  15388. * Form.cs: MdiChildren don't do default locations the same way as
  15389. regular forms. This prevents a crash when trying to position the
  15390. mdi windows.
  15391. 2006-04-17 Jonathan Chambers <[email protected]>
  15392. * PropertyGridTextBox.cs: Formatting, copyright
  15393. * PropertiesTab.cs: Formatting
  15394. * PropertyGrid.cs: Formatting
  15395. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  15396. click toggling of values
  15397. 2006-04-17 Peter Dennis Bartok <[email protected]>
  15398. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  15399. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  15400. every time a control is created
  15401. * Application.cs: Removed obsolete EnableRTLMirroring method
  15402. 2006-04-18 Gert Driesen <[email protected]>
  15403. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  15404. SelectedIndex to -1. Fixes bug #78121.
  15405. 2006-04-17 Jackson Harper <[email protected]>
  15406. * Binding.cs: Handle null values for Current and BindingContext.
  15407. This occurs when binding is a little delayed.
  15408. * CurrencyManager.cs: return null for Current when there are no
  15409. items in the list.
  15410. - Hookup to the listchanged event on the DataView and update
  15411. bindings when the list is changed. This fixes late binding of
  15412. controls.
  15413. 2006-04-17 Jackson Harper <[email protected]>
  15414. * X11Dnd.cs:
  15415. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  15416. Ringenbach.
  15417. 2006-04-15 Alexander Olk <[email protected]>
  15418. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  15419. place
  15420. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  15421. with the correct ButtonState
  15422. 2006-04-14 Peter Dennis Bartok <[email protected]>
  15423. * XplatUIX11.cs: Improved distinguishing between window types to
  15424. tell the WM a type closer to what the app wants (Fixes #78107)
  15425. 2006-04-14 Alexander Olk <[email protected]>
  15426. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  15427. GrabHandle
  15428. 2006-04-14 Alexander Olk <[email protected]>
  15429. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  15430. drawing code to reflect the size grip changes
  15431. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  15432. * ImageListStreamer.cs: fix handling of the mask that follows the main
  15433. bitmap when deserializing and serialize it properly. The generated mask
  15434. should better be a 1bpp image, but I'll do that later.
  15435. 2006-04-13 Alexander Olk <[email protected]>
  15436. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  15437. path doesn't fit into some of our Current.Places
  15438. 2006-04-13 Jackson Harper <[email protected]>
  15439. * ComboBox.cs: Use borders instead of drawing our own decorations,
  15440. try to obey correct rules for heights.
  15441. * Theme.cs:
  15442. * ThemeNice.cs:
  15443. * ThemeClearLooks.cs:
  15444. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  15445. this is now handled by borders.
  15446. - Remove unused DrawListBoxDecorationSize method.
  15447. 2006-04-13 Mike Kestner <[email protected]>
  15448. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  15449. reported by Alex.
  15450. 2006-04-13 Alexander Olk <[email protected]>
  15451. * ThemeWin32Classic.cs:
  15452. - Fixed CPDrawStringDisabled
  15453. - Corrected drawing of disabled menu items
  15454. - Fixed drawing of disabled radio buttons (bug #78095)
  15455. - Draw check in a disabled CheckBox with color ControlDark
  15456. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15457. * Form.cs: Use the provided width when calculating the menu size;
  15458. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  15459. and ClientSize.Width won't be updated yet
  15460. * Application.cs: Use Visible instead of Show() to make form visible,
  15461. this way we create the handle later and menusize is considered
  15462. 2006-04-12 Mike Kestner <[email protected]>
  15463. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  15464. reporting.
  15465. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15466. * TextBox.cs: Implemented context menu
  15467. 2006-04-12 Mike Kestner <[email protected]>
  15468. * ListView.cs: implement box selection. fixes #77838.
  15469. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  15470. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15471. * XplatUIX11.cs: Added setting of window type when transient window
  15472. is created (metacity would move it otherwise)
  15473. * X11Structs.cs: Added WINDOW_TYPE atoms
  15474. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  15475. background (the control is Opaque but still wants transparent
  15476. backgrounds)
  15477. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15478. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  15479. that set Opaque but don't mean it (like all ButtonBase-derived
  15480. controls) to still draw their background
  15481. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  15482. the background
  15483. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15484. * Control.cs (PaintControlBackground): Set the graphics object
  15485. on our PaintEvent to null to prevent it from being disposed
  15486. when the PaintEvent gets disposed
  15487. 2006-04-12 Alexander Olk <[email protected]>
  15488. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  15489. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  15490. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15491. * Control.cs:
  15492. - Added transparency check to BackColor property. Transparent
  15493. backgrounds are only allowed if the control styles permit it
  15494. - Added recursive painting of parent control background and
  15495. foreground if a control with a transparent backcolor is drawn
  15496. (Thanks to Tim Ringenback for providing his 'hack' as a base
  15497. for this patch) Fixes #77985 and #78026.
  15498. - Added Opaque style check before calling OnPaintBackground, no
  15499. need to draw the background if the control is opaque
  15500. - Removed ControlAccessibleObject owner variable (inherited from
  15501. base, no need to define again)
  15502. - Added some documentation links explaining the drawing events
  15503. and styles
  15504. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15505. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  15506. that the affected control is the located at the left border of our
  15507. parent (Fixes #77936)
  15508. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15509. * TextBoxBase.cs: When rendering disabled or readonly controls,
  15510. draw the background with 'Control' instead of 'Window' color as
  15511. long as the user hasn't specifically set a color
  15512. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15513. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  15514. since that won't be updated if the user types text (only if it's
  15515. programatically set)
  15516. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15517. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  15518. layout changes do to app-triggered resizes will have the proper
  15519. display rectangle for layout
  15520. 2006-04-11 Alexander Olk <[email protected]>
  15521. * ThemeWin32Classic.cs:
  15522. - Make use of the SystemBrushes and SystemPens wherever possible
  15523. - Corrected some highlight colors
  15524. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  15525. drawing
  15526. * Theme.cs: Added Empty field to CPColor struct
  15527. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15528. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  15529. is displayed when calculating the display rectangle. Thanks to Mike
  15530. for teaching me the err of my ways.
  15531. 2006-04-10 Peter Dennis Bartok <[email protected]>
  15532. * ScrollableControl.cs:
  15533. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  15534. (instead of 0,0) and we now return the real width/height instead of
  15535. just the clientrectangle, adjusted for padding. The rectangle is
  15536. now cached and created by the new CalculateDisplayRectangle method.
  15537. - Created new CalculateDisplayRectange method, which basically does
  15538. what get_DisplayRectangle() did originally, but now using the
  15539. right edge instead of DisplayRectangle to determine the size of
  15540. our scrollbars
  15541. - get_Canvas(): Fixed it to properly calculate canvas for
  15542. right/bottom controls which seem to be placed to the right/bottom
  15543. of any controls that have a fixed location
  15544. - Removed TODO that's taken care of
  15545. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  15546. and SetDisplayRectLocation according to new MSDN2 docs
  15547. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  15548. event when that is called, this is added for compatibility
  15549. - ScrollControlIntoView(): Implemented.
  15550. - Switched scrollbars to be implicit, they shouldn't be selectable
  15551. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  15552. call it when the active control is set/changed
  15553. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  15554. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  15555. implicit_control variable (used for native Win32 message generation)
  15556. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  15557. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  15558. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  15559. * XplatUIStructs.cs: Added ScrollBarCommands enum
  15560. 2006-04-10 Jackson Harper <[email protected]>
  15561. * ButtonBase.cs:
  15562. * CheckedListBox.cs:
  15563. * ComboBox.cs:
  15564. * DataGrid.cs:
  15565. * DataGridView.cs:
  15566. * Form.cs:
  15567. * GroupBox.cs:
  15568. * ListBox.cs:
  15569. * PrintPreviewControl.cs:
  15570. * ProgressBar.cs:
  15571. * PropertyGrid.cs:
  15572. * Splitter.cs:
  15573. * StatusBar.cs:
  15574. * TrackBar.cs:
  15575. * UpDownBase.cs: Fixup base event overrides.
  15576. 2006-04-06 Mike Kestner <[email protected]>
  15577. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  15578. all user-initiated value changes to min <= value <= max-thumbsz+1.
  15579. (set_Value): check for vert/horiz when calculating new thumb position.
  15580. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  15581. like MS does.
  15582. (OnMouseMoveSB): refactor the thumb dragging code and refine
  15583. invalidation logic to reduce flicker.
  15584. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  15585. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  15586. (UpdateThumbPosition): small code readability cleanup
  15587. 2006-04-10 Alexander Olk <[email protected]>
  15588. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  15589. different
  15590. 2006-04-08 Alexander Olk <[email protected]>
  15591. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  15592. 2006-04-08 Alexander Olk <[email protected]>
  15593. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  15594. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  15595. This dramatically reduces the number of Pen.Dispose calls.
  15596. Where possible call ResPool methods only once instead of calling it
  15597. over and over again (for example for the same color).
  15598. 2006-04-06 Mike Kestner <[email protected]>
  15599. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  15600. Also remove an unused private field on the collection. Fixes #77972.
  15601. 2006-04-06 Alexander Olk <[email protected]>
  15602. * ThemeNice.cs: Added ToolBar drawing code
  15603. 2006-04-06 Mike Kestner <[email protected]>
  15604. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  15605. I'm assuming that means we need to look up the toplevel for the
  15606. provided control. Fixes the crash trace in #77911 but exposes another
  15607. crash in some strange reflection usage in NDocGui.
  15608. 2006-04-06 Alexander Olk <[email protected]>
  15609. * ThemeNice.cs: Gave it a little silver touch and added Images
  15610. method
  15611. * FontDialog.cs: FontDialog is not resizable
  15612. * FileDialg.cs: Added SizeGripStyle.Show
  15613. 2006-04-05 Jackson Harper <[email protected]>
  15614. * KeyboardLayouts.cs: Remove warning.
  15615. 2006-04-05 Jackson Harper <[email protected]>
  15616. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  15617. all of our controls instead of Paint +=.
  15618. * ListBox.cs:
  15619. * ListView.cs:
  15620. * MenuAPI.cs:
  15621. * MessageBox.cs:
  15622. * NotifyIcon.cs:
  15623. * ProgressBar.cs:
  15624. * ScrollBar.cs:
  15625. * Splitter.cs:
  15626. * StatusBar.cs:
  15627. * TabControl.cs:
  15628. * TextBoxBase.cs:
  15629. * ToolBar.cs:
  15630. * TrackBar.cs:
  15631. * UpDownBase.cs:
  15632. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  15633. use OnPaintInternal. Remove Width/Height and Visible checks in
  15634. paint handler, this is done at a higher level now.
  15635. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  15636. * PaintEventArgs.cs: Add a handled flag so controls that don't
  15637. want anymore painting after OnPaintInternal can make sure OnPaint
  15638. isn't called.
  15639. 2006-04-05 Mike Kestner <[email protected]>
  15640. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  15641. state of the form, so that we don't process events when Modal dialogs
  15642. are up. Fixes #77922.
  15643. 2006-04-05 Alexander Olk <[email protected]>
  15644. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  15645. checking is done.
  15646. 2006-04-05 Mike Kestner <[email protected]>
  15647. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  15648. 2006-04-05 Mike Kestner <[email protected]>
  15649. * ListView.cs (HeaderMouseMove): null guarding for the over column
  15650. when setting up the drag_to_index. Fixes #78015.
  15651. 2006-04-04 Peter Dennis Bartok <[email protected]>
  15652. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  15653. in the taskbar. Transient windows seem to accomplish that.
  15654. 2006-04-04 Peter Dennis Bartok <[email protected]>
  15655. * Form.cs:
  15656. - Re-enabled CreateParams.X/Y code for FormStartPosition
  15657. - Added code for manual placement when creating the Control
  15658. - Incomplete patch to treat MDI forms differently when
  15659. setting the ClientSizeCore. (Still need to figure out handling
  15660. x/y coords there)
  15661. * XplatUIX11.cs:
  15662. - When we're explicitly setting the X/Y position of a non-Child
  15663. window, let the WM know. Metacity really wants this.
  15664. 2006-04-04 Alexander Olk <[email protected]>
  15665. * ThemeNice.cs: Added CPDrawButton
  15666. 2006-04-04 Alexander Olk <[email protected]>
  15667. * ThemeNice.cs: Changed the color for focused buttons and activated
  15668. the arrows for small scroll buttons.
  15669. 2006-04-04 Alexander Olk <[email protected]>
  15670. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  15671. anymore. Changed some method modifiers to protected (virtual)
  15672. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  15673. changes
  15674. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  15675. Updated drawing of menus, buttons and progressbars; added
  15676. CPDrawBorder3D
  15677. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  15678. * ImageListStreamer.cs: implemented serialization/deserialization
  15679. of the images.
  15680. 2006-04-03 Alexander Olk <[email protected]>
  15681. * ThemeWin32Classic.cs:
  15682. - Removed all the DrawFrameControl stuff; CPDrawButton,
  15683. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  15684. inside the methods
  15685. - Updated and corrected the drawing code of CPDrawButton,
  15686. CPDrawCheckBox and CPDrawRadioButton to better match ms
  15687. - Updated theme checkbox and radiobutton code to use the CP*
  15688. methods
  15689. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15690. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  15691. bug is fixed
  15692. 2006-03-31 Jackson Harper <[email protected]>
  15693. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  15694. sometimes.
  15695. * UpDownBase.cs: Don't CreateGraphics manually, use a
  15696. Refresh. Ideally we would invalidate the correct areas here.
  15697. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15698. * XplatUIX11.cs:
  15699. - We now track the mapping state of windows. If a window (or
  15700. one of it's parents) is not mapped we no longer permit
  15701. WM_PAINT messages to be generated since we'd otherwise get
  15702. lots of BadMatch X errors. Jackson did all the work figuring
  15703. out the problem.
  15704. - Destroying the caret if the window it's contained in is
  15705. destroyed. Can't use regular DestroyCaret method since it
  15706. might fall into a drawing function (trying to remove the
  15707. caret) and with that generate new BadMatch errors. Again,
  15708. Jackson tracked this down.
  15709. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  15710. make sure we send the messages to all windows. (The old code
  15711. would send the WM_DESTROY to the window, and then all child
  15712. windows would be 'gone' because the WM_DESTROY handle lookup
  15713. would no longer find the destroyed window)
  15714. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  15715. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  15716. 2006-03-31 Jackson Harper <[email protected]>
  15717. * ScrollableControl.cs: Dont recalc if we are not visible.
  15718. 2006-03-31 Mike Kestner <[email protected]>
  15719. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  15720. the visibility branch.
  15721. 2006-03-31 Jackson Harper <[email protected]>
  15722. * ScrollBar.cs: Cap values when incrementing/decrementing.
  15723. 2006-03-31 Mike Kestner <[email protected]>
  15724. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  15725. * ToolTip.cs: guard against timer expirations with no active control.
  15726. Not sure why it happened.
  15727. 2006-03-31 Mike Kestner <[email protected]>
  15728. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  15729. text.
  15730. * ToolTip.cs: Position the tooltip based on where the cursor is at
  15731. popup time, not at MouseEnter time. Add a Down state so that we don't
  15732. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  15733. positioning offset. Lookup DisplaySize at positioning time, since it
  15734. can theoretically change during invocation.
  15735. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  15736. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  15737. 2006-03-31 Alexander Olk <[email protected]>
  15738. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  15739. Fixes behaviour when the Text property of the box is String.Empty
  15740. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15741. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  15742. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  15743. a window)
  15744. 2006-03-31 Alexander Olk <[email protected]>
  15745. * FileDialog.cs: Visual enhancement for the popup buttons in
  15746. PopupButtonPanel
  15747. 2006-03-31 Alexander Olk <[email protected]>
  15748. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  15749. code
  15750. 2006-03-30 Alexander Olk <[email protected]>
  15751. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  15752. highlighted menu items to match ms
  15753. 2006-03-30 Peter Dennis Bartok <[email protected]>
  15754. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  15755. 2006-03-30 Mike Kestner <[email protected]>
  15756. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  15757. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  15758. go active to account for HotLight to Selected transition.
  15759. * MenuItem.cs: add internal Selected prop. Fill out the Status
  15760. property by calculating it from item info. Add HotLight,
  15761. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  15762. 2006-03-30 Mike Kestner <[email protected]>
  15763. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  15764. 2006-03-29 Jackson Harper <[email protected]>
  15765. * Form.cs: Implement TODO.
  15766. 2006-03-29 Peter Dennis Bartok <[email protected]>
  15767. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  15768. missing proper dialog setup in the constructor
  15769. 2006-03-29 Peter Dennis Bartok <[email protected]>
  15770. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  15771. * Control.cs:
  15772. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  15773. - Fixed ResetBindings and removed TODO
  15774. - Added check for cross-thread calls to get_Handle()
  15775. - Added Marshaller attribute for set_Font to satisfy class status
  15776. * FontDialog.cs: Removed TODOs that seemed implemented
  15777. * UpDownBase.cs: Removed unneeded TODO and Fixme
  15778. * MessageBox.cs: Implemented support for Default button and removed TODO
  15779. * FileDialog.cs: Removed obsolete TODO
  15780. * DomainUpDown.cs: Removed obsolete TODO
  15781. * ButtonBase.cs: Removed obsolete TODO
  15782. * XplatUIWin32.cs: Removed obsolete TODO
  15783. * Form.cs:
  15784. - Removed obsolete TODO
  15785. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  15786. internal status updates
  15787. - Making sure the active control is selected when the control is created
  15788. * CurrencyManager.cs: Removed obsolete TODO
  15789. 2006-03-29 Mike Kestner <[email protected]>
  15790. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  15791. of PrintPreviewDialog and RichTextBox.
  15792. 2006-03-29 Alexander Olk <[email protected]>
  15793. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  15794. DarkDark, Light and LightLight colors for a specific color
  15795. * ThemeWin32Classic.cs:
  15796. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  15797. Appearance = Button
  15798. - Make use of the new ResPool helper CPColor
  15799. - Draw ProgressBar and StatusBar with correct 3D borders
  15800. 2006-03-29 Alexander Olk <[email protected]>
  15801. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  15802. 2006-03-28 Mike Kestner <[email protected]>
  15803. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  15804. calculating col/row counts.
  15805. 2006-03-28 Mike Kestner <[email protected]>
  15806. * ColumnHeader.cs:
  15807. * ListView.cs:
  15808. * ListViewItem.cs:
  15809. * Menu.cs:
  15810. switch to explicit interface method implementation for some methods
  15811. corcompare identifies as inconsistent with MS.
  15812. 2006-03-28 Mike Kestner <[email protected]>
  15813. * MainMenu.cs:
  15814. * Menu.cs:
  15815. add a few missing methods from the class status output.
  15816. 2006-03-28 Alexander Olk <[email protected]>
  15817. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  15818. correct.
  15819. 2006-03-28 Mike Kestner <[email protected]>
  15820. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  15821. 2006-03-27 Mike Kestner <[email protected]>
  15822. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  15823. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  15824. 2006-03-27 Alexander Olk <[email protected]>
  15825. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  15826. 2006-03-25 Alexander Olk <[email protected]>
  15827. * ThemeWin32Classic.cs:
  15828. - GroupBox: Inserted a little gap between the text and the lines
  15829. on the right side
  15830. - Made the code in CPDrawBorder3D more readable
  15831. - Corrected the drawing location of the up and down arrows in
  15832. CPDrawScrollButton
  15833. 2006-03-25 Alexander Olk <[email protected]>
  15834. * ControlPaint.cs: Corrected line widths in DrawBorder for
  15835. ButtonBorderStyle Inset and Outset
  15836. 2006-03-25 Alexander Olk <[email protected]>
  15837. * ThemeWin32Classic.cs:
  15838. - Rewrote the totally broken CPDrawBorder3D method. That was
  15839. one of the main problems for the terrific ThemeWin32Classic
  15840. look
  15841. - Updated and corrected Button drawing
  15842. - Correct the dimensions of the SizeGrip to match ms ones
  15843. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  15844. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  15845. Border3DStyle.Sunken to match ms.
  15846. 2006-03-25 Alexander Olk <[email protected]>
  15847. * ThemeWin32Classic.cs: First small part of the "de-uglify
  15848. ThemeWin32Classic" effort, SizeGrip
  15849. 2006-03-24 Jackson Harper <[email protected]>
  15850. * XplatUIX11.cs: Give a max idle time of one second, this matches
  15851. MS and forces an Idle event every second when there are no other
  15852. events in the queue.
  15853. 2006-03-24 Mike Kestner <[email protected]>
  15854. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  15855. * ListView.Item.cs: fix layout issues with null image lists and images
  15856. smaller than checkbox size.
  15857. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  15858. mode like MS does. It's weird, but consistent. ;-)
  15859. Fixes #77890.
  15860. 2006-03-24 Mike Kestner <[email protected]>
  15861. * ListView.cs: Scroll wheel support for the item control. Fixes
  15862. #77839.
  15863. 2006-03-23 Jackson Harper <[email protected]>
  15864. * ScrollableControl.cs: Special case negative sized areas, not
  15865. zero.
  15866. * MonthCalendar.cs: Save the rect of the clicked date so we can
  15867. use it for invalidation.
  15868. - Try to cut down on the number of invalidates
  15869. - Invalidate the rect the mouse is over and was over when moving
  15870. the mouse, so we get the focus box following the cursor.
  15871. 2006-03-23 Mike Kestner <[email protected]>
  15872. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  15873. focus rectangle drawing. Fixes #77835.
  15874. 2006-03-23 Mike Kestner <[email protected]>
  15875. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  15876. the if and else if and reverting back to the original == check on the
  15877. None conditional.
  15878. 2006-03-23 Alexander Olk <[email protected]>
  15879. * FontDialog.cs: Update the example panel if the selected index of
  15880. the fontListBox changes.
  15881. 2006-03-23 Alexander Olk <[email protected]>
  15882. * FileDialog.cs: Make FileDialog remember which directory it was in
  15883. last in the same execution.
  15884. 2006-03-22 Mike Kestner <[email protected]>
  15885. * FileDialog.cs: make the DropDownMenu on the toolbar display
  15886. RadioChecks since they are mutually exclusive and that's what MS does.
  15887. 2006-03-22 Mike Kestner <[email protected]>
  15888. * Theme.cs: add Color param to CPDrawMenuGlyph.
  15889. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  15890. checks and radio marks and arrows are visible on highlighted items.
  15891. * ControlPaint.cs: update to use new Theme signature.
  15892. 2006-03-22 Mike Kestner <[email protected]>
  15893. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  15894. is active. Fixes #77870.
  15895. 2006-03-22 Alexander Olk <[email protected]>
  15896. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  15897. to be focused/selected after startup
  15898. 2006-03-22 Alexander Olk <[email protected]>
  15899. * ColorDialog.cs:
  15900. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  15901. CustomColors and ShowHelp properties
  15902. - Some internal rewrites to get better results when using the
  15903. ColorMatrix
  15904. 2006-03-22 Mike Kestner <[email protected]>
  15905. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  15906. HoverSelection. Fixes #77836.
  15907. 2006-03-22 Mike Kestner <[email protected]>
  15908. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  15909. ToggleButtons. (De)Sensitize the Back button around a stack count of
  15910. 1, not 0. Update ButtonSize based on a pixel count of the win32
  15911. control. Adjust the toolbar size/location for new button size.
  15912. 2006-03-22 Jackson Harper <[email protected]>
  15913. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  15914. true.
  15915. * ScrollBar.cs: When doing increments and decrements we need to
  15916. set the Value property so that ValueChanged gets raised. A
  15917. possible optimization here would be to make an internal SetValue
  15918. that doesn't invalidate immediately.
  15919. * ToolTip.cs: Tooltips get added to their container (when
  15920. supplied) so they get disposed when the container is disposed.
  15921. - Don't create tooltips for String.Empty. This prevents all these
  15922. little 2-3 pixel windows from showing up when running nunit-gui
  15923. and driving me mad.
  15924. * Form.cs: Don't set topmost when setting the owner if the handles
  15925. haven't been created yet. The topmost set will happen when the
  15926. handles are created.
  15927. 2006-03-22 Peter Dennis Bartok <[email protected]>
  15928. * XplatUIX11.cs:
  15929. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  15930. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  15931. visible (to allow them to recalculate their sizes)
  15932. 2006-03-21 Mike Kestner <[email protected]>
  15933. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  15934. methods. Removed a ton of redundant code. Still not really happy with
  15935. the border rendering, but I think that's mainly because of the
  15936. ControlDarkDark being black instead of a dark grey. Depending on how
  15937. close we want to be, we might want to revisit those color choices.
  15938. Among the new features added during the refactor were DropDownArrow
  15939. pressed rendering, Disabled image rendering. Proper flat appearance
  15940. boundary rendering. Removed the Divider and Wrapping dividers since I
  15941. can't figure out any combination of themes and conditions to make the
  15942. MS control draw a horizontal line on a toolbar despite what the
  15943. Divider property docs indicate.
  15944. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  15945. conditions and incorrect layout. Updated to coding standard.
  15946. * ToolBarButton.cs: refactored layout and positioning code from
  15947. ToolBar to here. Invalidate wherever possible instead of forcing
  15948. redraws of the whole toolbar.
  15949. (Known remaining issues: explicit ButtonSize smaller than provided
  15950. images.)
  15951. 2006-03-21 Mike Kestner <[email protected]>
  15952. * ContextMenu.cs (Show): use the position parameter instead of just
  15953. showing at the MousePosition.
  15954. 2006-03-21 Jackson Harper <[email protected]>
  15955. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  15956. control handle this.
  15957. * TreeNodeCollection.cs: If we are clearing the root node we need
  15958. to reset top_node so calcs can still happen.
  15959. * ThemeWin32Classic.cs: This is a Flags so we need to check
  15960. properly.
  15961. 2006-03-21 Jackson Harper <[email protected]>
  15962. * DataGrid.cs: Create columns when the binding context has been
  15963. changed.
  15964. * X11Structs.cs: Keysyms are uints.
  15965. - Add size to fix build.
  15966. 2006-03-21 Peter Dennis Bartok <[email protected]>
  15967. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  15968. XplatUIOSX.cs:
  15969. - Added ResetMouseHover method to allow controls to retrigger
  15970. hovering if they need it more than once
  15971. - Implemented MouseHoverTime and MouseHoverSize properties
  15972. * Timer.cs: Start() must reset the interval
  15973. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  15974. properties
  15975. 2006-03-21 Jackson Harper <[email protected]>
  15976. * X11Keyboard.cs: improved layout detection. Move the nonchar
  15977. tables into this file.
  15978. * KeyboardLayouts.cs: Move the tables into resource files.
  15979. 2006-03-21 Mike Kestner <[email protected]>
  15980. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  15981. 2006-03-21 Alexander Olk <[email protected]>
  15982. * Mime.cs: Various speed optimizations. Looking up mime types
  15983. is now 2 times faster than before
  15984. 2006-03-17 Peter Dennis Bartok <[email protected]>
  15985. * CreateParams.cs: Added internal menu field
  15986. * Control.cs:
  15987. - Switched call order for UpdateBounds; now we always call
  15988. the one that also takes ClientSize, and we're calculating the
  15989. client size via driver method in the others. The previous
  15990. method of tracking client size by difference wasn't working
  15991. for forms where even the starting client size wouldn't match
  15992. the overall form size (due to borders) (Part of fix for #77729)
  15993. - CreateParams(): Do not use parent.Handle unless the handle is
  15994. already created. Causes havoc with Nexxia and throws off our
  15995. creation of controls
  15996. * XplatUIX11.cs:
  15997. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  15998. - Switched handling of ConfigureNotify over to new PerformNCCalc
  15999. method (consolidates code)
  16000. - Changed RequestNCRecalc to use new PerformNCCalc method
  16001. - Added calls to RequestNCRecalc when menus and borders are changed
  16002. to allow app to set NC size. (Part of fix for #77729) This matches
  16003. when MS send a WM_NCRECALC on Win32 windows.
  16004. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  16005. (Part of fix for #77729). This matches what MS does, they also
  16006. send that message when the form is made visible.
  16007. - XException.GetMessage: Improved usability of X errors by including
  16008. a translation of the window into Hwnd and Control class
  16009. - Improved debug info for window creation, reparenting and destruction
  16010. - Created helper method WindowIsMapped() [Currently not used]
  16011. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  16012. * Form.cs:
  16013. - CreateParams: Now setting our menu on the new internal menu field
  16014. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  16015. avoid calculating the same property twice
  16016. * Hwnd.cs:
  16017. - Improved usability of ToString() for debugging purposes
  16018. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  16019. determine the height of the menu, instead of just the font. This
  16020. required to also create a graphics context and to keep a bmp
  16021. around (for performance reasons)
  16022. 2006-03-17 Peter Dennis Bartok <[email protected]>
  16023. * MenuAPI.cs: Added OnMouseUp method
  16024. * Form.cs:
  16025. - Now remembering the requested client size, avoids size errors
  16026. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  16027. instead of base if the menu is active. This is required due to
  16028. control now capturing and releasing on down/up and it would
  16029. prematurely release our menu capture
  16030. 2006-03-17 Jackson Harper <[email protected]>
  16031. * KeyboardLayouts.cs: Add the czech layouts.
  16032. 2006-03-16 Jackson Harper <[email protected]>
  16033. * Control.cs: Use the viewport space when sizing not the controls
  16034. client size, so things like ScrollableControl that effect the
  16035. viewport size (when scrollbars are added) are computed correctly.
  16036. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  16037. of ManagerEntrys.
  16038. - Handle creating BindingManagers for null data sources.
  16039. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  16040. source, otherwise when rows are added they are added to the 'fake'
  16041. datasource and we will crash when trying to set the position in
  16042. those rows.
  16043. - Use Implicit scrollbars on the datagrid so they arent
  16044. selectable.
  16045. 2006-03-16 Jackson Harper <[email protected]>
  16046. * Binding.cs:
  16047. * InternalWindowManager.cs:
  16048. * MdiWindowManager.cs:
  16049. * X11Keyboard.cs: I really want Mike to love me again (fix
  16050. compiler warnings).
  16051. 2006-03-16 Peter Dennis Bartok <[email protected]>
  16052. * DataGrid.cs:
  16053. - OnMouseDown: Switch to editing mode when clicking on the cell
  16054. even if we're clicking on the cell that's currently
  16055. selected
  16056. - ProcessGridKey: Left/Right now wrap like MS.Net does
  16057. - ProcessGridKey: Tab now knows to add a new row when tab is
  16058. pressed in the cell of the last column of the
  16059. last row
  16060. - ProcessGridKey: Enter now adds another row if pressed in the last
  16061. row and selectes the new row, same column cell
  16062. - ProcessGridKey: Home/End navigate columns, not rows, like
  16063. originally implemented
  16064. - Broke ProcessKeyPreview code out into an extra Internal method
  16065. so it can be called from the edit code
  16066. * DataGridTextBox.cs (ProcessKeyMessage):
  16067. - Switched to accept Tab keypresses
  16068. - Added F2 handling to allow jumping to the end of the edited cell
  16069. - Added logic to allow moving caret left/right inside edited cell
  16070. and making the edited cell jump when the caret hits cell borders
  16071. - Tab and Enter are now passed to the datagrid after being handled
  16072. * TextBoxBase.cs:
  16073. - Removed capture code now that Control handles it
  16074. - set_SelectionStart now ensures caret is visible
  16075. 2006-03-16 Jackson Harper <[email protected]>
  16076. * TrackBar.cs: Debackwards the increment/decrement for handling
  16077. mouse clicks on the bar with vertical trackbars.
  16078. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  16079. bottom to match MS.
  16080. 2006-03-16 Mike Kestner <[email protected]>
  16081. * ListView.cs: make shift/ctrl keyboard and mouse selection
  16082. consistent with the MS control. Fix a bug in
  16083. SelectedListViewItemCollection.Clear that was pissing me off for the
  16084. better part of a day because the collection was being altered
  16085. underneath us as we walked the list.
  16086. 2006-03-16 Peter Dennis Bartok <[email protected]>
  16087. * Control.cs: Not sure how we could miss this so long, but it seems
  16088. that MS.Net has Capture set all the way from before calling
  16089. OnMouseDown through sending the mouse events until after
  16090. OnMouseUp. This will fix DataGrid's selection being set to end
  16091. at the location of the MouseUp.
  16092. 2006-03-15 Jackson Harper <[email protected]>
  16093. * BindingContext.cs: Check the binding after its added so that it
  16094. can initialize the binding managers and hookup to events.
  16095. * Binding.cs: Data members seem to sometimes include rows/cols in
  16096. the format Row.Column we now take this into account.
  16097. - Hookup to the position changed event so we can update the
  16098. control when the position has changed in the data set.
  16099. * CurrencyManager.cs: Take into account the row/col naming
  16100. convention when creating dataset tables.
  16101. * BindingContext.cs: Using a newer better way of storing
  16102. datasource/datamember pairs. Hopefully this better matches MS for
  16103. looking up binding managers.
  16104. 2006-03-15 Jackson Harper <[email protected]>
  16105. * BindingContext.cs: The currency manager needs the data member
  16106. name, if the member is a data set we use the name to find the
  16107. correct table.
  16108. * CurrencyManager.cs: When creating the list prefer an IList over
  16109. an IListSource.
  16110. - Attempt to create a DataTable from a DataSet (TODO: might need
  16111. some better error checking here, although MS doesn't seem to have much)
  16112. - If we have a DataTable create a view and use it as our list.
  16113. 2006-03-15 Mike Kestner <[email protected]>
  16114. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  16115. keyboard navigation. Support Up/Down/Left/Right selection correctly
  16116. for all 4 View modes.
  16117. * ListViewItem.cs: add internal row/col fields for icon layouts.
  16118. 2006-03-15 Jackson Harper <[email protected]>
  16119. * TabControl.cs: Redraw the tabs when we resize so their newly
  16120. calculated sizes are drawn on screen.
  16121. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  16122. composite characters.
  16123. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  16124. - filter events so that composite characters can be created
  16125. patches by peter
  16126. * X11Structs.cs: Add XIMProperties enum.
  16127. 2006-03-14 Peter Dennis Bartok <[email protected]>
  16128. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  16129. unless it's created
  16130. 2006-03-14 Peter Dennis Bartok <[email protected]>
  16131. * Control.cs (PerformLayout): We don't need to consider visiblity
  16132. for anchoring, only for docking. This fixes 'whacky' alignment
  16133. in listbox and other controls that use implicit scrollbars after
  16134. the previous PerformLayout patch
  16135. * ListBox.cs: Switched to use implicit scrollbars
  16136. 2006-03-14 Mike Kestner <[email protected]>
  16137. * ToolBar.cs:
  16138. * VScrollBar.cs:
  16139. - chain up the "new event" overrides to base and use
  16140. OnEvent to raise them. Part of fix for bug #76509.
  16141. 2006-03-14 Alexander Olk <[email protected]>
  16142. * FileDialog.cs: Do not select an item in the parent directory
  16143. on backspace
  16144. 2006-03-14 Peter Dennis Bartok <[email protected]>
  16145. * Control.cs (PerformLayout): It would seem that we considered
  16146. invisible windows for our layout. Not quite the right thing
  16147. to do. Now we don't any longer, thereby fixing bug #76889.
  16148. 2006-03-14 Peter Dennis Bartok <[email protected]>
  16149. * Control.cs (CanFocus): I goofed. A control can have focus
  16150. even though it's not selectable. Made it match MS docs.
  16151. 2006-03-13 Peter Dennis Bartok <[email protected]>
  16152. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  16153. center by default (fixes #76895)
  16154. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  16155. all uses of Border3DSides.All with the explicit ORd together
  16156. Left|Right|Top|Bottom because I assume that nobody was aware
  16157. that All also implies a center fill. Most places I checked had
  16158. a fill right above.
  16159. * ProgressBarStyle.cs: Added
  16160. 2006-03-13 Mike Kestner <[email protected]>
  16161. * ListView.cs: fix breakage in drag shadow header positioning
  16162. from Peter's csc compilation fix.
  16163. 2006-03-13 Mike Kestner <[email protected]>
  16164. * ListView.cs: fix NRE produced by backspacing twice in a focused
  16165. FileDialog.
  16166. 2006-03-13 Mike Kestner <[email protected]>
  16167. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  16168. 2006-03-13 Peter Dennis Bartok <[email protected]>
  16169. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  16170. be changed
  16171. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  16172. the allowed size before making programmatic size changes
  16173. 2006-03-13 Peter Dennis Bartok <[email protected]>
  16174. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  16175. set, metacity is broken and will still use the emty sizes in
  16176. the struct. (Fix for #77089)
  16177. 2006-03-13 Peter Dennis Bartok <[email protected]>
  16178. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  16179. WindowExStyles and marked both enums as Flags
  16180. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  16181. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  16182. to match WindowStyles split
  16183. * XplatUIX11.cs:
  16184. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  16185. - Updated to match WindowStyles split
  16186. * XplatUIWin32.cs:
  16187. - Fixed FosterParent creation, was using ExStyle on the Style field
  16188. (This should help with Popup focus issues)
  16189. - Updated to match WindowStyles split
  16190. 2006-03-13 Jackson Harper <[email protected]>
  16191. * MdiWindowManager.cs: Use the system menu height. Fixes some
  16192. strange sizing issues.
  16193. 2006-03-12 Peter Dennis Bartok <[email protected]>
  16194. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  16195. * TextBoxBase.cs:
  16196. - Scroll to caret after inserting text (#77672)
  16197. - Make scroll range one pixel higher, fixes off-by-one error (and
  16198. makes underlines visible on the last line)
  16199. 2006-03-12 Peter Dennis Bartok <[email protected]>
  16200. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  16201. the keyboard state from being stuck with keys in 'pressed' state when
  16202. focus is switched away via keyboard
  16203. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  16204. reset the keyboard if no X11 KeyUp events are expected to come
  16205. * X11Structs.cs: Switched type of Visible to bool to match driver
  16206. 2006-03-12 Peter Dennis Bartok <[email protected]>
  16207. * TextControl.cs:
  16208. - Switched caret to be just 1 pixel wide, matches MS and looks less
  16209. clunky
  16210. - Moved caret display 1 pixel down from the top of the control
  16211. to improve view
  16212. - InsertCharAtCharet: Update the selection start if moving the caret
  16213. (fixes bug #77696; based on patch suggested by [email protected])
  16214. - No longer always creating the caret when the caret methods are
  16215. called. Only the actual ShowCaret/HideCaret will do that now
  16216. - Only setting caret visible if the owner control has focus
  16217. - UpdateView: Added invalidation-shortcut logic for center and right
  16218. aligned text. Previously we'd update all according to the left
  16219. logic which caused drawing errors. Also fixed height of invalidated
  16220. areas, now properly invalidating the whole area (was off-by-one)
  16221. - owner_HandleCreated: Always generate the document when the
  16222. handle is created; this ensures that
  16223. * TextBoxBase.cs:
  16224. - Fixed situation where caret would disappear under the right
  16225. window border, also improved scrolling behaviour on left-
  16226. aligned textboxes
  16227. - Fixed right-aligned textboxes to have a border to the
  16228. right instead of the caret being under the right border
  16229. * XplatUIX11.cs:
  16230. - Switched from 'nested' to simple visible/not visible tracking
  16231. for caret (part of fix for #77671)
  16232. - No longer passing through translated FocusIn/FocusOut messages
  16233. since we were notifying too often and the wrong windows. Instead
  16234. we just notify our focussed window of receiving or loosing focus
  16235. * XplatUIWin32.cs: Switched from 'nested' show/hide
  16236. counting for caret to simple visible yes/no behaviour (part of
  16237. fix for #77671)
  16238. 2006-03-11 Alexander Olk <[email protected]>
  16239. * Mime.cs: Remove debug code...
  16240. 2006-03-11 Alexander Olk <[email protected]>
  16241. * MimeGenerated.cs: Removed
  16242. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  16243. and subclasses) from /usr/(local/)share/mime and
  16244. $HOME/.local/share/mime.
  16245. 2006-03-10 Jackson Harper <[email protected]>
  16246. * MdiWindowManager.cs: Recalc the NC area when a window is
  16247. maximized/restored so that the menu area is drawn on forms that
  16248. don't have a menu.
  16249. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16250. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16251. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  16252. us to force a WM_NCCALCRESIZE message being sent. This is needed
  16253. for MDI maximizing.
  16254. 2006-03-10 Jackson Harper <[email protected]>
  16255. * Form.cs: We need to use the ActiveMenu when calculating menu
  16256. height.
  16257. - Fix nullref when the window manager hasn't been created yet.
  16258. * Control.cs: Fix nullref when we try to bring a control to the
  16259. front that has no parent.
  16260. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  16261. height.
  16262. - Add a dummy item to the maximized menu so it always has the
  16263. correct height. Otherwise when there are no menus we don't get our
  16264. icon and buttons.
  16265. 2006-03-10 Jackson Harper <[email protected]>
  16266. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  16267. stuff.
  16268. * Form.cs: Make the window_state internal so the window managers
  16269. can track it.
  16270. - When an MDI child is maximized let its window manager create the
  16271. main menu (so it can add its icon).
  16272. - Notify the window managers of state changes
  16273. - Let the window manager paint its buttons and handle button
  16274. clicks on the menu when it is maximized.
  16275. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  16276. window manager, since tool windows don't use it, only mdi windows.
  16277. - Tell the main form that we don't want it to handle NCPAINT
  16278. itself to avoid extra painting.
  16279. - Handle clicks on a maximized windows menu.
  16280. - Handle window state changes
  16281. - Handle minimize/maximize clicks correctly by setting the window state.
  16282. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  16283. when clicking on the forms icon).
  16284. - New method to create a forms maximized menu. This is its normal
  16285. menu + an icon.
  16286. - Handle window state changes.
  16287. - Handle sizing of maximized windows. Maximized windows are just
  16288. drawn bigger then the parent visible area. All controls are still
  16289. there, they are just outside the visible area (this matches windows).
  16290. * MdiClient.cs: No scrollbars when a child window is maximized.
  16291. - Let the children windows figure out how big they should be when
  16292. sizing maximized windows.
  16293. - Implement a version of ArrangeIconicWindows somewhat similar to
  16294. Windows version. There are some little differences, but I don't
  16295. think any app will rely on the layout of minimized mdi windows.
  16296. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16297. * Padding.cs: Several fixes to allow compiling with csc 2.0
  16298. 2006-03-09 Jackson Harper <[email protected]>
  16299. * Menu.cs:
  16300. * MenuItem.cs: Cheap hack so we can add items to the list without
  16301. the events being raised. This allows adding mdi items during
  16302. drawing. TODO: Should probably find a better time to add the items.
  16303. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16304. * ThemeWin32Classic.cs:
  16305. - CheckBox_DrawText: Added logic to not wrap if not enough space
  16306. is available (Fix for bug #77727)
  16307. - RadioButton_DrawText: Added logic not to wrap if not enough
  16308. space is available (Fix for bug #77727). Also removed some
  16309. duplicate code, DrawString always drawing the regular text
  16310. before hitting the if statement.
  16311. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16312. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  16313. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16314. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  16315. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  16316. methods. Moved the new 2.0 properties into alphabetical order with
  16317. other properties and added MonoTODO tags
  16318. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16319. * AutoScaleMode.cs: Added. Fix build.
  16320. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16321. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  16322. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  16323. and was requiring premature handle creation for calls from above
  16324. * Form.cs, Control.cs: Removed handle arguments from calls to
  16325. CalculateClientRect()
  16326. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16327. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  16328. drag_column.column_rect is MarshalByRef and can't be used that way
  16329. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16330. * AxHost.cs: Added deserialization constructor for
  16331. AxHost+State (fixes 77743)
  16332. 2006-03-09 Mike Kestner <[email protected]>
  16333. * ListView.cs:
  16334. - Added column drag reordering for details view.
  16335. - fixed behavior when mouse is dragged off column and
  16336. AllowColumnReorder is false.
  16337. * ColumnHeader.cs: clone the format too in Clone.
  16338. * Theme.cs: add DrawListViewHeaderDragDetails method.
  16339. * ThemeWin32Classic.cs:
  16340. - impl new method for drawing drag column shadows and targets.
  16341. - support column offset for details mode in DrawListViewItem.
  16342. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16343. * TextControl.cs: Reset the char_count when the document is cleared
  16344. (Fixes bug reported on mono-winforms mailing list)
  16345. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16346. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  16347. of calling base we simply process the key ourselves, since both
  16348. DefWindowProc and the handled method would set m.Result.
  16349. (Fixes #77732)
  16350. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16351. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  16352. method also moves the window; instead implemented a copy of
  16353. Control.ScaleCore (Part of fix for #77456)
  16354. * TextBoxBase.cs:
  16355. - Created new CreateGraphicsInternal method to allow providing
  16356. a graphics context when no handle is created without triggering
  16357. handle creation. (Part of fix for #77456)
  16358. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  16359. * TextControl.cs:
  16360. - Switched Constructor to require TextBoxBase instead of Control (to
  16361. allow uncast access to CreateGraphicsInternal)
  16362. - Safeguarded use of owner.Handle property. No longer accessing it
  16363. unless the handle is already created.
  16364. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  16365. - Now triggering a recalc when owning control becomes visible
  16366. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  16367. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  16368. premature handle creation (Part of fix for #77456)
  16369. * Control.cs:
  16370. - We now only destroy our double-buffering buffers when the
  16371. control is resized or disposed, but not when visibility
  16372. changes. (The code even re-created them twice every time)
  16373. - Now requiring a redraw of the buffer on visibility changes
  16374. (fixes bug 77654 part 2)
  16375. - Not passing OnParentVisibleChanged up unless the control
  16376. is visible
  16377. - CanFocus: Fixed to match MS documentation
  16378. - Focus: Fixed to return actual focus state and to check if
  16379. setting focus is legal before setting it
  16380. 2006-03-08 Peter Dennis Bartok <[email protected]>
  16381. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  16382. when to draw focus rectangle by looking at parent focus and
  16383. selected state instead. This fixes TabPages on Linux sometimes
  16384. having none or multiple focus rectangles.
  16385. * XplatUIX11.cs (SetFocus):
  16386. - Don't set the focus if the same window already has focus
  16387. - Use SendMessage instead of PostMessage (like it's Win32
  16388. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  16389. to match MS behaviour
  16390. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  16391. are not selectable.
  16392. 2006-03-07 Jackson Harper <[email protected]>
  16393. * PictureBox.cs: Revert line I accidently committed last week.
  16394. 2006-03-07 Peter Dennis Bartok <[email protected]>
  16395. * Control.cs:
  16396. - Added new IsRecreating and ParentIsRecreating properties to
  16397. allow testing if RecreateHandle has been called on ourselves
  16398. or one of our parents
  16399. - WndProc(WM_DESTROY): If our control handle is being recreated
  16400. we immediately need to create the handle when receiving the
  16401. destroy, that way our child windows find a valid parent handle
  16402. when they themselves are being recreated upon WM_DESTROY receipt
  16403. (fix for bug #77654 part 1)
  16404. * XplatUIX11.cs:
  16405. - DestroyWindow: WM_DESTROY must be sent to our own window before
  16406. notifying any child windows. MS documents that child windows
  16407. are still valid when WM_DESTROY is received. (Control now relies on
  16408. this behaviour)
  16409. - Added some fine-grain debug options
  16410. 2006-03-06 Jackson Harper <[email protected]>
  16411. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  16412. box and base calculations off this.
  16413. * MdiChildContext.cs:
  16414. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  16415. anymore.
  16416. 2006-03-06 Peter Dennis Bartok <[email protected]>
  16417. * Splitter.cs: In situations where the affected control is added
  16418. to the parent's control list after the splitter, we would not
  16419. populate affected. Now we try populating it on mousedown, if
  16420. it's not already set, and force it to be re-set whenever our
  16421. parent changes.
  16422. 2006-03-03 Matt Hargett <[email protected]>
  16423. * Control.cs: implement Control.Padding
  16424. * Padding.cs: -Padding.All returns -1 when constructing with the
  16425. implicit default ctor
  16426. -Padding.ToString() matches MS.NET
  16427. * ContainerControl.cs: implement
  16428. ContainerControl.AutoScaleDimensions
  16429. * ListControl.cs: implement ListControl.FormattingEnabled
  16430. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  16431. * ButtonBase.cs:
  16432. * TabPage.cs: Implement UseVisualStyleBackColor.
  16433. * PictureBox.cs: Implement PictureBox.InitialImage.
  16434. 2006-03-03 Mike Kestner <[email protected]>
  16435. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  16436. event declarations to proxy to base event.
  16437. * ListViewItem.cs: update to use ItemControl.
  16438. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  16439. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  16440. column header label rendering for 0 width columns.
  16441. 2006-03-03 Peter Dennis Bartok <[email protected]>
  16442. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  16443. that causes the control to be created. Fixes #77476.
  16444. 2006-03-02 Jackson Harper <[email protected]>
  16445. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  16446. expose_pending.
  16447. 2006-03-02 Peter Dennis Bartok <[email protected]>
  16448. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  16449. passed in for the EventArgs (fixes #77690)
  16450. 2006-03-01 Jackson Harper <[email protected]>
  16451. * ScrollBar.cs: Refresh afterbeing resized.
  16452. 2006-02-28 Mike Kestner <[email protected]>
  16453. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  16454. Clean up a tracker compile warning.
  16455. * MenuItem.cs: add internal PerformPopup method.
  16456. [Fixes #77457]
  16457. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16458. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  16459. implicit expose) when the text is set to null
  16460. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16461. * RichTextBox.cs (FlushText): When newline is true, we always
  16462. need to split the line, even if no text is on it and we may
  16463. never eat newlines. (Fixes #77669)
  16464. 2006-02-28 Mike Kestner <[email protected]>
  16465. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  16466. and set Selected instead.
  16467. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  16468. collections.
  16469. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16470. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  16471. 2006-02-28 Alexander Olk <[email protected]>
  16472. * FontDialog.cs:
  16473. - Got rid of the panel. All controls are now directly added to
  16474. the dialog form
  16475. - It is now possible to set a font with the Font property
  16476. - MinSize and MaxSize property do now what they should
  16477. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  16478. - Searching and selecting a font with the font textbox works now,
  16479. the same applies to the style and size textbox
  16480. - Draw the correct 3D border in the example panel
  16481. - Fixed a little mem leak (unused fonts didn't get disposed)
  16482. - Many other internal updates/rewrites...
  16483. - Fix typo
  16484. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16485. * TextControl.cs:
  16486. - InsertRTFFromStream: Added 'number of characters inserted' argument
  16487. - set_SelectedRTF: Now using the number of characters to calculate
  16488. the new location for the selection and cursor (x/y cannot be used
  16489. due to potentially already wrapped text)
  16490. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16491. * TextControl.cs: Added property and implemented means to allow
  16492. disabling recalculation of a document (can be used to speed up
  16493. multiple inserts and is needed to make RTF inserts predictable, see
  16494. bug #77659)
  16495. * RichTextBox.cs: Using the new NoRecalc property of Document to
  16496. keep x/y insert locations predictable. Also makes it faster inserting
  16497. large chunks of RTF
  16498. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16499. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  16500. it's easier for a child control to handle the other messages without
  16501. having to duplicate the special functionality
  16502. * TextBoxBase.cs
  16503. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  16504. code to handle processing the key ourselves, in order to get
  16505. access to the result of KeyEventArgs.Handled. We now only call
  16506. ProcessKey if they key hasn't been handled already. Fixes #77526.
  16507. - set_Text: If null or empty string is given, just clear the
  16508. document. Fixes part of #77526
  16509. 2006-02-27 Jackson Harper <[email protected]>
  16510. * SizeGrip.cs: Paint the background color before painting the grip
  16511. so things look right.
  16512. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  16513. 2006-02-27 Mike Kestner <[email protected]>
  16514. * ListView.cs:
  16515. - Restructure layout and invalidation model to remove a ton of
  16516. flicker from the control and speed up performance in general.
  16517. - Add manual column resize, flickers like crazy, but I already have
  16518. some ideas on how I'll fix that. (#76822)
  16519. - Merge the three Icon-based views into a single layout method.
  16520. - Move item selection interaction logic from the item since
  16521. interaction with the collections is more appropriate to the view.
  16522. - Deselection on non-item clicks.
  16523. * ListViewItem.cs:
  16524. - Encapsulate most of the layout. Add some internal props to trigger
  16525. layout. Move to a model where Items invalidate themselves instead
  16526. of just invalidating the whole control every time something changes.
  16527. - Invalidate on Text/Caption changes.
  16528. - switch to an offset based layout model to avoid having to absolute
  16529. position every element on item moves.
  16530. - correct checkbox layout to conform to MS layout.
  16531. * ThemeWin32Classic.cs:
  16532. - refactor some column header drawing code.
  16533. - fix string justification for column headers (#76821)
  16534. - make SmallIcon labels top justified for compat with MS impl.
  16535. * ThemeClearlooks.cs:
  16536. - adjust to new ListViewItem internal checkbox bounds api.
  16537. 2006-02-27 Jackson Harper <[email protected]>
  16538. * Control.cs: Change where implicit controls fall in the zorder.
  16539. They are now on top of all children.
  16540. - Synced AddImplicit code with Add
  16541. - Removed unused enumerator.
  16542. * SizeGrip.cs: Remove the TODO as its been TODONE.
  16543. 2006-02-26 Peter Dennis Bartok <[email protected]>
  16544. * TextControl.cs(Insert): Combine the last lines unless the insertion
  16545. string ends with \n\n, otherwise we leave one line too many (Fixes
  16546. something I noticed with the testapp for #77526; the bug itself was
  16547. already fixed in the previous checkin)
  16548. 2006-02-26 Peter Dennis Bartok <[email protected]>
  16549. * RichTextBox.cs:
  16550. - SelectionColor and SelectionFont methods no longer set absolute
  16551. styles. Instead, the keep font or color respectively (This
  16552. resolves a long-standing FIXME in the code)
  16553. - When flushing RTF text, the insert code now considers text trailing
  16554. behind the insertion point (Fixes the bug where when replacing
  16555. the selected text via SelectedRTF the remainder of the line behind
  16556. the selection would stay on the first insertion line)
  16557. * TextBoxBase.cs:
  16558. - AppendText now updates the selection points after inserting text
  16559. - AppendText now ensures that the last tag (sometimes 0-length) of
  16560. the document is used for the style information (Fixes part of
  16561. bug #77220)
  16562. * TextControl.cs:
  16563. - Created new FontDefiniton class to allow describing partial style
  16564. changes
  16565. - StreamLine() now takes a lines argument, to allow it to decide
  16566. whether an encountered zero-length tag is the last in the document
  16567. (which must be kept to not loose the font/color contained in it,
  16568. for later appends)
  16569. - Created Combine() and Split() methods for Marker structs, to
  16570. support marker updates due to reformatted documents (soft line
  16571. wraps)
  16572. - Implemented Document.CaretTag setter
  16573. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  16574. of the last line (Not the cause, but also exposed by bug #77220)
  16575. - Added LineTag argument to InsertString method, to allow callers
  16576. to force a certain tag to be used (required to force use of the
  16577. trailing zero-length tag of a document)
  16578. - Now updating markers in Combine(), to avoid stale tag markers
  16579. - Added some method descriptions to aid maintenance
  16580. - Implemented new FormatText concept, allowing additive/subtractive
  16581. formatting by only specifying the components that are to be
  16582. changed. This was needed for resolving the RTB.SelectedColor/
  16583. RTB.SelectedFont fixmes
  16584. - Added Break() support method to allow breaking up linetags (used
  16585. for partial formatting)
  16586. - Added GenerateTextFormat() method. It is used for partial
  16587. formatting and allows to generate a full font/color from given
  16588. attributes and an existing tag.
  16589. 2006-02-26 Jackson Harper <[email protected]>
  16590. * XplatUIX11.cs: Use the correct caption height.
  16591. - Translate hittest coordinates to screen coords to match MS.
  16592. * XplatUIWin32.cs: When we create MDI windows we need to reset
  16593. some of the style flags, so we get a nice blank window, and can
  16594. draw all the decorations ourselves.
  16595. - Set a clipping rectangle on the non client paint event, the
  16596. window manager drawing code needs one.
  16597. * Form.cs: The window manager needs to know when the window state
  16598. has been updated.
  16599. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  16600. don't need to factor in border and title sizes in these
  16601. methods. TODO: Remove the args and fix the call points.
  16602. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  16603. properly.
  16604. - Let the driver set the cursors.
  16605. - Improve active window handling
  16606. - Correct sizes for title bars and buttons.
  16607. - Match MS drawing better
  16608. * MdiWindowManager.cs: We don't need to handle border style
  16609. updates specially anymore.
  16610. - Check for scrollbars when windows are done moving
  16611. - Handle Active properly.
  16612. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  16613. correctly. I am spewing the exception though, so we don't hide the
  16614. bugs.
  16615. 2006-02-26 Pedro Martinez Julia <[email protected]>
  16616. * DataGridViewRowPostPaintEventArgs.cs,
  16617. DataGridViewCellPaintingEventArgs.cs,
  16618. DataGridViewRowCollection.cs,
  16619. DataGridViewRowPrePaintEventArgs.cs,
  16620. DataGridViewCell.cs: Clear a few warnings and implement a few
  16621. exceptions that should be thrown.
  16622. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16623. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  16624. 'inheriting' our parent's (non-default) cursor. (Part of
  16625. the fix for #77479)
  16626. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16627. * XplatUIX11.cs: Fixed cast to make csc happy
  16628. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16629. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  16630. it's for the client area (part of fix for #77479 and needed
  16631. for MDI window cursor handling)
  16632. * XplatUIX11.cs
  16633. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  16634. the appropriate default cursors and also passing the message
  16635. up the parent chain
  16636. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  16637. for non-client areas
  16638. 2006-02-15 Jackson Harper <[email protected]>
  16639. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  16640. is a real MDI window
  16641. 2006-02-14 Alexander Olk <[email protected]>
  16642. * X11DesktopColors.cs: Instead of checking the desktop session
  16643. string for "KDE" check if it starts with "KDE"
  16644. 2006-02-10 Jackson Harper <[email protected]>
  16645. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  16646. systems).
  16647. 2006-02-10 Alexander Olk <[email protected]>
  16648. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  16649. errors
  16650. * ColorDialog.cs:
  16651. - Got rid of the panel. All controls are now directly added to
  16652. the dialog form
  16653. - Changed to mono coding style
  16654. 2006-02-10 Jackson Harper <[email protected]>
  16655. * InternalWindowManager.cs: We don't need the set visibility to
  16656. false hack anymore now that peter has written beautiful shutdown
  16657. code.
  16658. 2006-02-10 Peter Dennis Bartok <[email protected]>
  16659. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  16660. where already explicitly destroyed
  16661. 2006-02-10 Jackson Harper <[email protected]>
  16662. * MdiClient.cs: Handle the case where windows are too high or to
  16663. the left and we need scrollbars.
  16664. 2006-02-10 Alexander Olk <[email protected]>
  16665. * MimeIcon.cs: Added some icons
  16666. * FileDialog.cs:
  16667. - Fixed bug #77477
  16668. - Got rid of the panel. All controls are now directly added to
  16669. the dialog form
  16670. - Changed to mono coding style
  16671. - On Linux "My Computer" and "My Network" will now show some
  16672. more usefull information. A new class, MasterMount, gathers
  16673. this information from /proc/mount. Updated MWFFileView to make
  16674. use of this information
  16675. - Fixed a bug that caused FileDialog to crash when
  16676. ".recently_used" file had a zero size
  16677. - FilterIndex does now what it should
  16678. - Some Refactoring
  16679. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  16680. FileDialog changes
  16681. 2006-02-09 Jackson Harper <[email protected]>
  16682. * ComboBox.cs: Don't touch if null.
  16683. 2006-02-09 Peter Dennis Bartok <[email protected]>
  16684. * Cursor.cs: 64bit safeness fix
  16685. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  16686. 2006-02-09 Jackson Harper <[email protected]>
  16687. * Form.cs: If a form is made into an MDI form update the styles so
  16688. all the props can get set correctly.
  16689. - Kill the mdi_container when we dont need it anymore.
  16690. * InternalWindowManager.cs: Add missing NOT
  16691. 2006-02-08 Jackson Harper <[email protected]>
  16692. * InternalWindowManager.cs: Respek clipping when drawing MDi
  16693. decorations.
  16694. 2006-02-08 Jackson Harper <[email protected]>
  16695. * Hwnd.cs: Add bits to track non client expose events.
  16696. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  16697. gives us a proper invalid rect and will allow for some nice
  16698. optimizations with NC client drawing
  16699. - MDI windows are children windows, so move their style handling
  16700. into the child window block.
  16701. * InternalWindowManager.cs: Remove a state reset that was
  16702. getting invoked at the wrong time. Fixes managed windows getting
  16703. into a 'stuck' captured state.
  16704. 2006-02-07 Peter Dennis Bartok <[email protected]>
  16705. * TextControl.cs (Document.ctor): Now initializing
  16706. selection_anchor. Fixes #77493
  16707. 2006-02-07 Jackson Harper <[email protected]>
  16708. * TrackBar.cs: The increment/decrements were backwards.
  16709. 2006-02-07 Mike Kestner <[email protected]>
  16710. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  16711. to the instance itself.
  16712. 2006-02-07 Peter Dennis Bartok <[email protected]>
  16713. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  16714. on ulongs and pointers, the size differs between 32bit and 64bit
  16715. systems.
  16716. 2006-02-07 Mike Kestner <[email protected]>
  16717. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  16718. for 64 bit platforms to work around a metacity bug.
  16719. 2006-02-07 Jackson Harper <[email protected]>
  16720. * TrackBar.cs: Process the input keys we need, and hookup to
  16721. KeyDown instead of using WndProc, so we get key messages.
  16722. 2006-02-06 Peter Dennis Bartok <[email protected]>
  16723. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  16724. machine we're on.
  16725. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  16726. we need to translate the XdndVersion atoms array before sending it
  16727. 2006-02-06 Peter Dennis Bartok <[email protected]>
  16728. * XplatUIX11.cs:
  16729. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  16730. number of bits for the property, not the number of bytes. The
  16731. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  16732. but would not crash since it specified 8 bits instead of 4 bits)
  16733. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  16734. defined as XID -> long in the C headers)
  16735. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  16736. references since those are now IntPtr to begin with
  16737. - Switched all Atom.XXX 'int' casts to IntPtr casts
  16738. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  16739. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  16740. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  16741. * X11Structs.cs:
  16742. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  16743. - Changed atom in HoverStruct to be IntPtr
  16744. * X11DnD.cs:
  16745. - Removed local DllImports, switched code to use those from XplatUIX11
  16746. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  16747. 2006-02-06 Mike Kestner <[email protected]>
  16748. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  16749. method signatures in the import region. There may still be some
  16750. lingering struct marshaling issues, as I didn't drill down into those.
  16751. Yet.
  16752. 2006-02-06 Jackson Harper <[email protected]>
  16753. * ComboBox.cs: Dont manually set the top_item, this is computed
  16754. when the scrollbar position is set.
  16755. 2006-02-06 Mike Kestner <[email protected]>
  16756. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  16757. startup crashes on amd64. There's other fixes needed. All pinvoke
  16758. usage of Atom needs to be mapped to IntPtr for example. And there are
  16759. likely other int/long issues to be addressed.
  16760. 2006-02-04 Alexander Olk <[email protected]>
  16761. * FileDialog.cs: One more...
  16762. 2006-02-03 Alexander Olk <[email protected]>
  16763. * FileDialog.cs: Next try
  16764. 2006-02-03 Alexander Olk <[email protected]>
  16765. * FileDialog.cs: First part of fix for #77464
  16766. 2006-02-03 Alexander Olk <[email protected]>
  16767. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  16768. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  16769. AcceptButton border drawing.
  16770. 2006-02-03 Peter Dennis Bartok <[email protected]>
  16771. * Form.cs: Moved positioning of form after auto scaling is applied,
  16772. otherwise it would possibly use wrong form size.
  16773. 2006-02-03 Peter Dennis Bartok <[email protected]>
  16774. * Control.cs (RecreateHandle): No need to re-create any child
  16775. controls, the child windows will get destroyed automatically by
  16776. the windowing system or driver, and re-created when the handle
  16777. is being accessed the first time. Fixes #77456
  16778. * Form.cs: No longer setting the form to closing if the handle is
  16779. being recreated. This seems like the right thing to do, don't
  16780. have a bug or testcase for this, though.
  16781. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16782. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  16783. controls to avoid unwanted side effects
  16784. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16785. * Control.cs:
  16786. - ScaleCore needs to scale the bounds, not the ClientSize of the
  16787. control. Fixes #77416.
  16788. - DefaultSize is 0,0 for control
  16789. * TextBoxBase.cs:
  16790. - DefaultSize is 100, 20
  16791. - SetBoundsCore: Now enforcing the height, no matter if the provided
  16792. height is more or less than the preferred one, as long as AutoSize
  16793. is on
  16794. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  16795. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16796. * Control.cs:
  16797. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  16798. call unless both performLayout is true *and* we have a pending
  16799. layout change
  16800. - ResumeLayout: MS does not completely nest Suspend and Resume,
  16801. they bottom out at 0, fixed our code to match that.
  16802. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  16803. SetBoundsCore, we were updating even when we shouldn't. This fixes
  16804. swf-anchors mis-anchoring when resizing the app fast and lots.
  16805. - UpdateDistances: Now only setting the left and top distance if
  16806. we have a parent and are not suspended, this is based on
  16807. a suggestion by Don Edvaldson in bug #77355.
  16808. - OnVisibleChanged: Fixed logic when to create the control. We may
  16809. not create the control if we have no parent or if it's not visible;
  16810. switched to using Visible property instead of is_visible field
  16811. since the property also considers parent states. This fixes a bug
  16812. when starting Paint.Net
  16813. 2006-02-02 Jackson Harper <[email protected]>
  16814. * Form.cs: If the forms handle hasn't been created yet don't call
  16815. into xplatui to make it top most, just set the topmost flag on the
  16816. form in CreateParams
  16817. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  16818. 2006-02-01 Jackson Harper <[email protected]>
  16819. * ScrollableControl.cs: Refactored the Recalculate method a
  16820. little, this wasn't handling all the variants of bottom and right
  16821. bars needed to be added and added/removed based on their
  16822. counterparts being added/removed (which changes the drawable
  16823. size). Also we special case client widths and heights of 0 and
  16824. don't add the scrollbar for those.
  16825. 2006-02-01 Peter Dennis Bartok <[email protected]>
  16826. * XplatUIX11.cs:
  16827. - Added method to get AbsoluteGeometry(); currently unused, but might
  16828. be used in the future, if we try again to figure out toplevel
  16829. coordinates with some more crappy window managers
  16830. - Added FrameExtents() method to retrieve the WM set decoration size
  16831. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  16832. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  16833. * Hwnd.cs:
  16834. - Added whacky_wm tracking var for metacity
  16835. - Added logic to have default menu height if the actual menu height
  16836. has not yet been calculated (part of fix for #77426)
  16837. * Form.cs: Keep track whether client size has been set and re-set
  16838. it if a menu is added/removed afterwards (Fixes #77426)
  16839. 2006-01-31 Jackson Harper <[email protected]>
  16840. * Control.cs: When a new Site is set on the component attempt to
  16841. pull the AmbientProperties from it.
  16842. 2006-01-31 Peter Dennis Bartok <[email protected]>
  16843. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  16844. in the background of the owning form. Fixes #77332
  16845. 2006-01-31 Alexander Olk <[email protected]>
  16846. * MimeIcon.cs: Fix for #77409
  16847. 2006-01-31 Alexander Olk <[email protected]>
  16848. * XplatUIX11GTK.cs: Initial import
  16849. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  16850. * FixedSizeTextBox: fixes class signature
  16851. 2006-01-30 Jackson Harper <[email protected]>
  16852. * FixedSizeTextBox.cs: New internal class that represents a
  16853. textBox that will not be scaled.
  16854. * TreeView.cs:
  16855. * ComboBox.cs:
  16856. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  16857. standard TextBox.
  16858. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16859. * XplatUIX11.cs: Retrieve default screen number instead of
  16860. assuming 0. Attempted fix for #77318
  16861. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16862. * XplatUIWin32.cs:
  16863. - GetWindowPos: When a window is parented by FosterParent, use
  16864. the desktop instead of FosterParent as the base to get coordinates
  16865. - CreateWindow: Don't make FosterParent the parent window for Popups
  16866. if we don't want a taskbar entry, Popups automatically don't get one
  16867. * Hwnd.cs: Need to call remove to actually remove the key from the
  16868. hash table
  16869. 2006-01-30 Mike Kestner <[email protected]>
  16870. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  16871. 2006-01-30 Jackson Harper <[email protected]>
  16872. * TreeView.cs:
  16873. * TreeNode.cs: Raise events no matter how the treenode is
  16874. checked. Patch by Don Edvalson.
  16875. 2006-01-30 Jackson Harper <[email protected]>
  16876. * TreeNode.cs: Signature fix.
  16877. 2006-01-29 Alexander Olk <[email protected]>
  16878. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  16879. 2006-01-20 Mike Kestner <[email protected]>
  16880. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  16881. event forwarding when menus are active.
  16882. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  16883. Most of the patch is pdb's with a little rework.
  16884. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16885. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  16886. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  16887. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  16888. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  16889. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  16890. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  16891. the PaintWindowDecorations method
  16892. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  16893. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  16894. * MenuAPI.cs: Made tracker window invisible
  16895. * XplatUIWin32.cs:
  16896. - Removed GetMenuDC and ReleaseMenuDC methods
  16897. - Implemented the client=false path for PaintEventStart and
  16898. PaintEventEnd
  16899. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16900. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  16901. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  16902. styles
  16903. * Form.cs:
  16904. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  16905. the style
  16906. - CreateParams: Reworked the styles to match MS look'n'feel,
  16907. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  16908. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  16909. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16910. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  16911. window is not mapped, since otherwise every form that's being
  16912. created is considered minimized, which is wrong.
  16913. * Form.cs: Catching the exception and returning our internal value
  16914. instead
  16915. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16916. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  16917. SetWindowMinMax() to have means to tell the driver about the minimum,
  16918. maximum and maximized state window sizes. (Part of the fix for #76485)
  16919. * Form.cs:
  16920. - Implemented tracking of minimum and maximum window size, now calling
  16921. new SetWindowMinMax() driver method to tell the driver (Part of the
  16922. fix for #76485)
  16923. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  16924. (Completes fix for #76485)
  16925. - Calling new SetWindowMinMax driver method when the handle for a
  16926. form is created, to make sure the driver knows about it even if
  16927. the values have been set before the window was created
  16928. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  16929. to avoid messing up our anchoring calculations (partial fix
  16930. for #77355)
  16931. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  16932. * XplatUIX11.cs:
  16933. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  16934. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  16935. (and presumably other freedesktop.org compliant WMs). Left the
  16936. assumption unmapped=minimized, needed for SetVisible to work.
  16937. - Now setting the window state when creating windows
  16938. - Fixed SetVisible to consider/set the window state when mapping
  16939. a Form. We cannot set the state before it's mapped, and we cannot
  16940. use Form.WindowState once it's mapped (since it would ask the
  16941. driver and get 'normal'. Therefore, we grab the state before
  16942. mapping, map, and then set state.
  16943. - Implmemented SetWindowMinMax method; Metacity does not seem to
  16944. honor the ZoomHints, though.
  16945. * XplatUIWin32.cs:
  16946. - Removed MINMAXINFO (moved to XplatUIStructs)
  16947. - Added SetWindowMinMax stub (on Win32 the only way to set that
  16948. information is in response to the WM_GETMINMAXINFO message, which
  16949. is handled in Form.cs)
  16950. - Added logic to SetVisible to set the proper window state when a
  16951. form is made visible (fixes #75720)
  16952. 2006-01-26 Jackson Harper <[email protected]>
  16953. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  16954. same way we handle them with Invoke.
  16955. 2006-01-25 Peter Dennis Bartok <[email protected]>
  16956. * Form.cs:
  16957. - Added tracking of window state so CreateParams can return
  16958. the appropriate style
  16959. - Moved setting of WS_CAPTION style in CreateParams to allow
  16960. styles without caption
  16961. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  16962. control if the TextBox property is accessed. Fixes #77345
  16963. * Control.cs:
  16964. - get_Created: now uses is_disposed and is_created to determine
  16965. return value (suggested by Jackson)
  16966. - CreateHandle: No longer exits if the handle is being recreated
  16967. - RecreateHandle: If the handle is not yet created call the
  16968. appropriate method to create either control or handle. If the
  16969. control is already created CreateHandle will simply exit instead
  16970. of just creating the handle
  16971. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  16972. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  16973. is called.
  16974. * XplatUIX11.cs:
  16975. - When DestroyWindow is called, instead of waiting for the
  16976. DestroyNotification from X11, we directly post it to the WndProc
  16977. and immediately dispose the hwnd object.
  16978. Same applies to DestroyChildWindows, and this obsoletes the
  16979. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  16980. child windows before our own, to avoid X11 errors.
  16981. - Removed the direct sending of WM_PAINT on UpdateWindow
  16982. * XplatUIWin32.cs:
  16983. - Reworked DoEvents and GetMessage to allow access to internal queue
  16984. even when trying non-blocking access to the queue. Fixes #77335.
  16985. Based on a patch suggestion by Don Edvalson. The new private
  16986. GetMessage can now also be used as a backend for a PeekMessage
  16987. frontend version.
  16988. * XplatUI.cs: Improved debug output for CreateWindow
  16989. 2006-01-25 Jackson Harper <[email protected]>
  16990. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  16991. 2006-01-24 Jackson Harper <[email protected]>
  16992. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  16993. when we have a MaxDropItems lower then the selected index.
  16994. 2006-01-24 Jackson Harper <[email protected]>
  16995. * Control.cs: Don't allow selection of non visible controls, allow
  16996. selection of controls without parents.
  16997. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  16998. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  16999. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  17000. 2006-01-23 Jackson Harper <[email protected]>
  17001. * UpDownBase.cs: Make the textbox handle all the selection and
  17002. tabbing. This fixes tabing to updown controls.
  17003. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  17004. * TextBoxBase.cs: fixes exception thown the object was null
  17005. 2006-01-23 Jackson Harper <[email protected]>
  17006. * ButtonBase.cs: Just use the base CreateParams. They set
  17007. visibility and enabled correctly.
  17008. * ComboBox.cs:
  17009. * TrackBar.cs:
  17010. * MonthCalendar.cs: Lets let the base set as much of the
  17011. createparams as possible so we don't have duplicate code all over
  17012. the place.
  17013. 2006-01-22 Alexander Olk <[email protected]>
  17014. * ThemeGtk.cs: Added TrackBar and some experimental code to
  17015. get double buffering back
  17016. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  17017. * DataGrid.cs: Allows row number set internally higher than the last
  17018. when creating a new row. Restores the editing functionality.
  17019. 2006-01-20 Mike Kestner <[email protected]>
  17020. * MimeIcon.cs: delay Image creation until the icons are accessed
  17021. instead of creating 190 scaled images on GnomeHandler startup.
  17022. 2006-01-19 Peter Dennis Bartok <[email protected]>
  17023. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  17024. first call base before processing the event. Fixes #77279
  17025. 2006-01-19 Peter Dennis Bartok <[email protected]>
  17026. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  17027. that the stride for the GDI bitmap would match the stride of
  17028. a DIB or a Cursor.
  17029. 2006-01-19 Alexander Olk <[email protected]>
  17030. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  17031. 2006-01-19 Jackson Harper <[email protected]>
  17032. * ComboBox.cs: Hookup the text controls keydown event so we get
  17033. those when the text control has the focus.
  17034. 2006-01-18 Peter Dennis Bartok <[email protected]>
  17035. * Label.cs: Now using the base events instead of defining new ones;
  17036. this allows us to just call the base properties without having to
  17037. duplicate all base property logic
  17038. 2006-01-18 Peter Dennis Bartok <[email protected]>
  17039. * Label.cs: A label by default is not a tabstop (Fixes one of our
  17040. failing nunit tests)
  17041. 2006-01-18 Peter Dennis Bartok <[email protected]>
  17042. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  17043. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  17044. 2006-01-18 Peter Dennis Bartok <[email protected]>
  17045. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  17046. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  17047. This fixes #77218
  17048. * XplatUIWin32.cs:
  17049. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  17050. constructor creates images that can't be saved. Part of the fix
  17051. for #76103
  17052. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  17053. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  17054. bug fix for handling window state in forms properly)
  17055. 2006-01-18 Alexander Olk <[email protected]>
  17056. * ThemeGtk.cs: Simplify ScrollBar drawing
  17057. 2006-01-18 Jackson Harper <[email protected]>
  17058. * Splitter.cs: Set the default dock style for the splitter control
  17059. in the constructor.
  17060. 2006-01-18 Alexander Olk <[email protected]>
  17061. * ThemeGtk.cs: Corrected StateType and ShadowType for
  17062. gtk_paint_box
  17063. 2006-01-18 Alexander Olk <[email protected]>
  17064. * Control.cs: Make use of Theme.DoubleBufferingSupported
  17065. * ThemeGtk.cs:
  17066. - Added drawing for flat style buttons
  17067. - Added ScrollBar drawing
  17068. 2006-01-18 Alexander Olk <[email protected]>
  17069. * ThemeClearlooks.cs: Removed some unneeded code.
  17070. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  17071. 2006-01-17 Peter Dennis Bartok <[email protected]>
  17072. * LinkLabel.cs: We need to update the hover drawing when
  17073. leaving the control as well.
  17074. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  17075. * DataGrid.cs: Clicking on non empty areas in the columns
  17076. area was giving an exception
  17077. 2006-01-17 Jackson Harper <[email protected]>
  17078. * ThemeWin32Classic.cs:
  17079. * ListView.cs: Do not draw/clip the headers when the header style
  17080. is None.
  17081. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  17082. * DataGrid.cs: Fixes 77260
  17083. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  17084. * DataGrid.cs: Clicking on a column on a empty grid was giving
  17085. an exception
  17086. 2006-01-17 Peter Dennis Bartok <[email protected]>
  17087. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  17088. or any keypress will crash the grid.
  17089. 2006-01-17 Mike Kestner <[email protected]>
  17090. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  17091. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  17092. invisible/previously-visible items.
  17093. [Fixes #76909]
  17094. 2006-01-17 Alexander Olk <[email protected]>
  17095. * ThemeClearlooks.cs:
  17096. - Added CL_Draw_Button method; now other theme controls that are
  17097. not derived from button or do not have a button can draw buttons
  17098. too
  17099. - Updated ComboBox drawing
  17100. - Beautified RadioButton drawing
  17101. - Corrected drawing of bottom and left tabs
  17102. - Beautified DateTimePicker and MonthCalendar
  17103. - Added CPDrawButton and CPDrawRadioButton
  17104. 2006-01-16 Jackson Harper <[email protected]>
  17105. * ComboBox.cs: Set the initial value of the scrollbar to the
  17106. current index. Reduce the numbers of refreshs and IndexOfs called.
  17107. 2006-01-14 Alexander Olk <[email protected]>
  17108. * FileDialog.cs: When the file listview is focused hitting the
  17109. backspace key moves the fileview to the parent directory
  17110. 2006-01-13 Peter Dennis Bartok <[email protected]>
  17111. * Form.cs:
  17112. - Added RecreateHandle call when changing taskbar visibility to
  17113. trigger reparenting in Win32 driver (Fixes #75719)
  17114. - If a window has minimize or maximize buttons, it cannot have
  17115. a help button
  17116. * XplatUIWin32.cs:
  17117. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  17118. the toplevel form with FosterParent (A toolwindow not on the
  17119. taskbar) (Fixes #75719)
  17120. - Made FosterParent a toolwindow
  17121. 2006-01-13 Alexander Olk <[email protected]>
  17122. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  17123. 2006-01-13 Alexander Olk <[email protected]>
  17124. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  17125. is currently over that control, make sure that tooltip_window.Text
  17126. gets updated
  17127. 2006-01-13 Mike Kestner <[email protected]>
  17128. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  17129. 2006-01-13 Jackson Harper <[email protected]>
  17130. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  17131. value passed. Also redraw the selected node when we recieve
  17132. focus, so tabbing between trees works correctly.
  17133. 2006-01-13 Alexander Olk <[email protected]>
  17134. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  17135. ~/.gconf/%gconf-tree.xml, so use
  17136. .gconf/desktop/gnome/interface/%gconf.xml
  17137. 2006-01-13 Peter Dennis Bartok <[email protected]>
  17138. * TextControl.cs: Draw text in gray if control is disabled
  17139. 2006-01-13 Peter Dennis Bartok <[email protected]>
  17140. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  17141. make sure it's always visible. Fixes #76680.
  17142. 2006-01-13 Peter Dennis Bartok <[email protected]>
  17143. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  17144. 2006-01-13 Jonathan Chambers <[email protected]>
  17145. * PageSetupDialog.cs: Added.
  17146. * PrintDialog.cs: Attributes.
  17147. * PrintPreviewControl.cs: Updates.
  17148. * PrintPreviewDialog.cs: Updates.
  17149. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17150. * Control.cs: Undid my selection check fix, since it's not needed
  17151. * TextBoxBase.cs:
  17152. - Now considering the presence of hscroll/vscroll when sizing
  17153. vscroll/hscroll respectively. Fixed bug #77077
  17154. - Added Left/Up/Down/Right to IsInputKey list to prevent
  17155. ContainerControl from stealing them. This fixes what I broke
  17156. with my last checkin.
  17157. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17158. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  17159. I finally understand how the property can be set without a setter :-)
  17160. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17161. * Application.cs:
  17162. - Switched RunLoop to use static Message.Create to create a
  17163. Message object
  17164. - Added PreProcessMessage call in runloop for keyboard events; this
  17165. is part of the fix for #77219, I overlooked this originally in the
  17166. MSDN doc for PreProcessMessage
  17167. * Control.cs:
  17168. - Removed call to PreProcessMessage from handling of keyboard
  17169. messages; it's supposed to be done in the message pump
  17170. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  17171. per MSDN documentation.
  17172. - IsInputChar: All chars are input chars by default; removed the
  17173. parent calling chain, MS does not document that
  17174. - PreProcessMessage: If IsInputChar is true, we want to return false
  17175. to allow dispatching of the message
  17176. - When selecting the next control, now also check that we're not
  17177. selecting ourselves again and therefore return a false positive.
  17178. * TextBoxBase.cs:
  17179. - Tried to match return values for IsInputKey and ProcessDialogKey
  17180. to what MS returns; moved processing of our special keys outside
  17181. ProcessDialogKey since MS does not seem to return true on those.
  17182. - Moved code that previously was in ProcessDialogKey into new private
  17183. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  17184. - Reworked handling of WM_CHAR to not have to duplicate code from
  17185. Control.cs anymore, instead we simply call down to base.
  17186. 2006-01-12 Jackson Harper <[email protected]>
  17187. * ComboBox.cs: We always need to refresh the text area when
  17188. EndUpdate is called. Fixes the combobox in the file dialog.
  17189. * Control.cs: Don't create the creator_thread until the controls
  17190. handle is created. Also in InvokeRequired we check if the
  17191. creator_thread is null. This gives the effect of InvokeRequired
  17192. returning true if the controls handle is not created yet, and
  17193. matches MS.
  17194. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17195. * XplatUI.cs:
  17196. - Added StartLoop() driver method. This is used to allow drivers to
  17197. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  17198. loop for a particular thread
  17199. - Added EndLoop() driver method. This is called once the message
  17200. pump for the thread is shut down
  17201. - Added SupportsTransparency method to allow the driver to indicate
  17202. opacity support for windows
  17203. * Form.cs:
  17204. - Removed TODO attribute, completed AllowTransparency property
  17205. - Added documented logic to Opacity
  17206. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  17207. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  17208. versions of CompatibleTextRendering
  17209. * X11Structs.cs: Added opacity atom to our atom enumeration
  17210. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  17211. of a form might be set before it's reparented by the WM, and we need
  17212. the opacity value without calling up to Form)
  17213. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  17214. SupportsTransparency() driver methods
  17215. * Application.cs: Now calling StartLoop and EndLoop driver methods
  17216. * XplatUIX11.cs:
  17217. - Added opacity atom registration
  17218. - Added StartLoop()/EndLoop() methods. They're empty right now but
  17219. will need to get implemented when we switch to a per-thread queue
  17220. - Implemented SupportsTransparency() method
  17221. - Implemented SetWindowTransparency() method
  17222. - Added support for setting the opacity value when a window is
  17223. reparented (since the opacity needs to be set on the WM frame)
  17224. * XplatUIOSX.cs, XplatUIWin32.cs:
  17225. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  17226. 2006-01-12 Alexander Olk <[email protected]>
  17227. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  17228. 2006-01-12 Alexander Olk <[email protected]>
  17229. * FileDialog.cs: Added ToolTip for MWFFileView
  17230. * MimeIcon.cs: Rewrote GnomeHandler.
  17231. - Get currently used gnome icon theme from
  17232. ($HOME)/.gconf/%gconf-tree.xml
  17233. - Make use of inherited icon themes
  17234. - Support SVG icon themes like Tango via librsvg
  17235. 2006-01-12 Miguel de Icaza <[email protected]>
  17236. Revert's Jackson's revert which broke 2.0 builds. Fix both
  17237. builds.
  17238. * Application.cs: Move the use_compatible_text_rendering outside
  17239. the NET_2_0 define. If we ever need to use the
  17240. use_compatible_text_rendering on the individual controls they will
  17241. access the variable from the common shared code paths.
  17242. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17243. * XplatUI.cs:
  17244. - Added more granular debug options
  17245. - Added method to print both window text and id
  17246. - Switched debug output to use new Window() debug method
  17247. - Added IsEnabled() driver method
  17248. - Added EnableWindow() driver method
  17249. * Form.cs:
  17250. - Removed end_modal; no longer needed, new loop handles termination
  17251. via 'closing' variable
  17252. - If form is modal, setting DialogResult will now initiate loop
  17253. termination via 'closing' variable
  17254. - Added support for is_enabled/WS_DISABLED to CreateParams
  17255. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  17256. does all the work
  17257. - Removed code that's now in RunLoop from ShowDialog()
  17258. - Added various documented sanity checks to ShowDialog()
  17259. - Added handling of WM_DESTROY message; we set 'closing' on getting
  17260. the message to indicate the message pump to terminate
  17261. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  17262. send by the Application.ExitThread method. (We send the message
  17263. to destroy the window after all other events have been
  17264. processed through the queue, instead of destroying the handle
  17265. directly)
  17266. - Moved code from Close() method to WM_CLOSE handler; added logic
  17267. to only send close-related events if the form is not displayed
  17268. modal
  17269. * Splitter.cs (..ctor): Fixed typo in resource name
  17270. * Control.cs:
  17271. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  17272. brush now
  17273. - set_Cursor: Now only setting calling into XplatUI if the handle for
  17274. the control is already created; this avoids implict handle creation
  17275. or crashes if it's not created
  17276. - set_Enabled: Now setting the enabled state via the new driver method
  17277. instead of just tracking it
  17278. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  17279. - CreateControl: Reordered event firing and method calls to more
  17280. closely fire events in the order MS does. Now setting the
  17281. enabled state in the driver when creating the control.
  17282. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  17283. match MS order
  17284. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  17285. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  17286. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  17287. * Hwnd.cs:
  17288. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  17289. - Added EnabledHwnd property to easily allow a driver to find the
  17290. handle of the first enabled window in the parent chain (this is
  17291. used by drivers to pass up input events of disabled windows)
  17292. * XplatUIDriver.cs: Added IsEnabled() method
  17293. * Application.cs:
  17294. - Removed crude and obsolete exiting tracking variable
  17295. - Removed internal ModalRun(); replaced by RunLoop()
  17296. - Implemented private CloseForms() method to allow closing all
  17297. windows owned by a particular (or all) threads
  17298. - Exit() now properly closes all windows without forcing the message
  17299. pump to quit
  17300. - Removed obsolete InternalExit() method
  17301. - Changed Run() methods to use new RunLoop() message pump
  17302. - Implemented new RunLoop() method for both modal and non-modal forms
  17303. * CommonDialog.cs:
  17304. - get_CreateParams: Added setting of WS_DISABLED
  17305. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  17306. invoked via Form.ShowDialog()
  17307. * NativeWindow.cs: We don't remove the window from the collection when
  17308. the handle is destroyed; there might still be messages for it in the
  17309. queue (mainly the resulting WM_DESTROY); instead it will be removed
  17310. when Control calls InvalidateHandle in the WM_DESTROY handler
  17311. * XplatUIX11.cs:
  17312. - CreateWindow: Added logic to handle the WS_DISABLED window style
  17313. - EnableWindow: Implemented based on Hwnd.Enabled
  17314. - GetMessage: Reset PostQuitState so the method can be called again
  17315. - Implemented support for disabled windows (passing messages to the
  17316. first enabled parent) in handling all input messages
  17317. - Added optimizations for handling Expose events
  17318. - Implemeted new driver method IsEnabled()
  17319. - Now always resetting paint pending tracking vars when we start paint
  17320. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  17321. * XplatUIOSX.cs: Added IsEnabled method stub
  17322. * XplatUIWin32.cs: Implemented new IsEnabled() method
  17323. 2006-01-11 Jackson Harper <[email protected]>
  17324. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  17325. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  17326. variables a little.
  17327. * ColorDialog.cs: Clear out the old form before adding the new
  17328. panel.
  17329. 2006-01-11 Jackson Harper <[email protected]>
  17330. * X11Dnd.cs: Make sure to add all the text formats when adding
  17331. strings to the data object.
  17332. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  17333. do some redrawing too. Also change the UpdateNode to an
  17334. UpdateBelow so the newly added node gets painted.
  17335. 2006-01-11 Miguel de Icaza <[email protected]>
  17336. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  17337. LinkLabel.cs, PropertyGrid.cs: Implement the
  17338. UseCompatibleTextRendering property for 2.x
  17339. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  17340. 2006-01-11 Jackson Harper <[email protected]>
  17341. * TreeView.cs: Use the property for setting the selected node so
  17342. the correct events get raised.
  17343. * TreeNode.cs: Update the tree when the fore/back colours of a
  17344. node are set.
  17345. 2006-01-10 Jackson Harper <[email protected]>
  17346. * TreeView.cs: Allow setting SelectedNode to null.
  17347. 2006-01-9 Jonathan Chambers <[email protected]>
  17348. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  17349. 2006-01-9 Jonathan Chambers <[email protected]>
  17350. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  17351. 2006-01-9 Jonathan Chambers <[email protected]>
  17352. * PrintDialog.cs: Added attributes and set default property values.
  17353. 2006-01-9 Jonathan Chambers <[email protected]>
  17354. * PrintControllerWithStatusDialog.cs:
  17355. Added PrintControllerWithStatusDialog.
  17356. 2006-01-9 Jonathan Chambers <[email protected]>
  17357. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  17358. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  17359. 2006-01-9 Jonathan Chambers <[email protected]>
  17360. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  17361. 2006-01-09 Jonathan Chambers <[email protected]>
  17362. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  17363. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  17364. 2006-01-08 Alexander Olk <[email protected]>
  17365. * MimeIcon.cs: Added internal class SVGUtil.
  17366. 2006-01-08 Alexander Olk <[email protected]>
  17367. * FileDialog.cs: Don't crash if there are two files with the
  17368. same name but different locations.
  17369. 2006-01-08 John BouAntoun <[email protected]>
  17370. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  17371. dates across multiple month grids. Used to not highlight entire
  17372. month, but does now.
  17373. 2006-01-06 Jackson Harper <[email protected]>
  17374. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  17375. message loop. Change timer intervals to numbers that seem more
  17376. natural.
  17377. 2006-01-06 John BouAntoun <[email protected]>
  17378. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  17379. object for location info since screen object is now implemented.
  17380. 2006-01-05 Jackson Harper <[email protected]>
  17381. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  17382. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  17383. AsyncMethodResult, this is because we ALWAYS want the
  17384. ManualResetEvent to get set.
  17385. * Control.cs: When disposing use an async invoke to call shutdown
  17386. code, so that thigns don't block on the finalizer thread. Also
  17387. check if we even have a message loop before trying to send
  17388. messages, if we don't then don't bother sending messages.
  17389. - No more weak references for async methods
  17390. * XplatUIDriver.cs: No more weak references for async methods.
  17391. 2006-01-04 Alexander Olk <[email protected]>
  17392. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  17393. returns two FontFamily with the same name
  17394. 2006-01-04 Peter Dennis Bartok <[email protected]>
  17395. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  17396. drawing disabled text. Instead using the ColorGrayText color
  17397. 2006-01-04 Jackson Harper <[email protected]>
  17398. * TreeNode.cs: redraw the node when its image index is changed.
  17399. 2006-01-04 Peter Dennis Bartok <[email protected]>
  17400. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  17401. time I checked there are no others like it.
  17402. 2006-01-04 Jackson Harper <[email protected]>
  17403. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  17404. this gives the behavoir I was looking for.
  17405. * Control.cs: Special case Invoking EventHandlers, this matches MS
  17406. and fixes part of bug #76326.
  17407. 2006-01-04 Alexander Olk <[email protected]>
  17408. * ThemeClearlooks.cs, FileDialog.cs:
  17409. - Reflect the latest Theme class changes
  17410. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  17411. with DateTime
  17412. 2006-01-04 Alexander Olk <[email protected]>
  17413. * Theme.cs: Cache UI resource images and resize them if needed
  17414. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17415. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  17416. is called. This fixes the crash in Nexxia when setting the font
  17417. attributes in the chat. [However, RTF needs a look-over to make sure
  17418. that all SelectionXXX methods handle the special case that selection
  17419. is empty and therefore the change must be applied to all text starting
  17420. at the cursor/selection start]
  17421. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17422. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  17423. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  17424. * X11Keyboard.cs: Switched to new way of calling PostMessage
  17425. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17426. * Theme.cs: Added theme interface for images to allow the theme to
  17427. control what images are used for things like FileDialog, MessageBox
  17428. icons, etc.
  17429. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  17430. 2006-01-03 Alexander Olk <[email protected]>
  17431. * FileDialog.cs:
  17432. - Removed some dead code
  17433. - Opening a recently used file does work now
  17434. - Small UI enhancements
  17435. - Refactoring
  17436. 2006-01-02 Alexander Olk <[email protected]>
  17437. * FileDialog.cs: Forgot too add __MonoCS__
  17438. 2006-01-02 Alexander Olk <[email protected]>
  17439. * FileDialog.cs: We are able to read recently used files now let's
  17440. go on and write them.
  17441. 2006-01-01 Alexander Olk <[email protected]>
  17442. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  17443. button
  17444. * MimeIcon.cs: Do a check for the top level media type also
  17445. 2005-12-31 Alexander Olk <[email protected]>
  17446. * ThemeClearlooks.cs:
  17447. - Added CPDrawStringDisabled
  17448. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  17449. some chars if the text doesn't fit into text_rect
  17450. - DrawListViewItem: If View = View.LargeIcon center the image;
  17451. rewrote the drawing of ListViewItem.Text if View =
  17452. View.LargeIcon
  17453. 2005-12-31 Alexander Olk <[email protected]>
  17454. * MimeIcon.cs: Use default KDE icon theme if there is no
  17455. "48x48" directory for the current icon theme, fixes #77114
  17456. * Mime.cs: Disable not working and actually not used code.
  17457. * ThemeWin32Classic.cs:
  17458. - Replace "new SolidBrush" in GetControlBackBrush and
  17459. GetControlForeBrush with ResPool.GetSolidBrush
  17460. - Changed DrawListViewItem from private to protected virtual
  17461. * FileDialog.cs:
  17462. - Added form.MaximizeBox = true
  17463. - Don't throw an exception if there is a broken symbolic link
  17464. 2005-12-23 Jackson Harper <[email protected]>
  17465. * TabControl.cs: Give the panels focus, keyboard navigation is
  17466. fixed so this works correctly now.
  17467. - We need these key events also.
  17468. * ToolBar.cs: Remove some of the poor mans double buffering.
  17469. 2005-12-24 Alexander Olk <[email protected]>
  17470. * ComboBox.cs: The internal TextBox now returns the focus.
  17471. 2005-12-23 Jackson Harper <[email protected]>
  17472. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  17473. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17474. * Control.cs: Removed debug code
  17475. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  17476. implicit children
  17477. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17478. * Control.cs: When creating the control, update the Z-order after
  17479. all it's children are created, too. (Fixes nexxia not showing
  17480. picturebox bug)
  17481. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17482. * Control.cs: Do not update the anchoring distances if layout is
  17483. suspended, instead do it once layout is resumed
  17484. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17485. * Control.cs:
  17486. - After many hours of debugging, for both Jackson and
  17487. myself, it turns out that it helps to set the parent of a control
  17488. if you want to actually see it onscreen. In the spirit of that
  17489. discovery, we're now setting the parent of the control and
  17490. it's children when the control's handle is created. This fix
  17491. will make Lutz Roeder's Reflector run happily.
  17492. - now just creating the handle instead of the whole control when
  17493. getting a graphics context for the control.
  17494. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17495. * ScrollableControl.cs: When calculating the canvas, don't consider
  17496. the scrollbar widths. Instead, predict if horizontal scrollbar
  17497. will affect canvas when deciding on vertical display and vice versa.
  17498. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17499. * RichTextBox.cs: Set default RTF font for documents that don't
  17500. have a font table (Fixes #77076)
  17501. 2005-12-22 Jackson Harper <[email protected]>
  17502. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  17503. clipboard. This prevents a NullRef in that case.
  17504. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  17505. clipboard. PRIMARY is for the currently selected text only. (We
  17506. should implement PRIMARY at some point.
  17507. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17508. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  17509. a Unicode function with a structure that was defined in Ansi way.
  17510. This fixes #76942.
  17511. 2005-12-21 Jackson Harper <[email protected]>
  17512. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  17513. on. Because thats how it rolls. (and this avoids it using ambient
  17514. colours).
  17515. * ThemeWin32Classic.cs: Use the proper back color for filling.
  17516. * Menu.cs: Use the system menu bar color for drawing menu
  17517. bars. Using the window back color will bring ambient colours into
  17518. the picture.
  17519. 2005-12-21 Alexander Olk <[email protected]>
  17520. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  17521. Bitmaps were created and not disposed.
  17522. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17523. * Control.cs (CreateControl): Don't do anything if the control is
  17524. already created, otherwise we'd fire the OnCreated event more than
  17525. once
  17526. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17527. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  17528. will always match. Instead return -1. Fixes #76464.
  17529. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17530. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  17531. neither the beginning nor the end of the line (Fixes bug #76479)
  17532. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17533. * Control.cs:
  17534. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  17535. where handle is invalid
  17536. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  17537. instead of slower linear search
  17538. * NativeWindow.cs: Don't remove the window from the hashtable until
  17539. after the driver has destroyed it (since the driver might use
  17540. Control.FromHandle to lookup the control object
  17541. * Hwnd.cs: Added DestroyPending property to track if a window is
  17542. already destroyed as far as the driver is concerned and only hasn't
  17543. yet notified the control
  17544. * XplatUIX11.cs:
  17545. - Activate(): Check if the window is still valid before using the
  17546. handle
  17547. - Implemented DestroyChildWindow() method to mark child windows as
  17548. destroyed when a window is destroyed. This prevents situations
  17549. where we might call an X method based on queued events for a
  17550. window that already has been destroyed but we haven't yet pulled
  17551. the destroy method from the queue.
  17552. - Added a call to the new DestroyChildWindow() method to the drivers
  17553. DestroyWindow code. Also now marking the destroyed window itself
  17554. as pending
  17555. 2005-12-20 Jackson Harper <[email protected]>
  17556. * StatusBar.cs:
  17557. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  17558. anymore. Just do them when needed, also track the rects of panels
  17559. so that we can optimize refreshing more in the future.
  17560. 2005-12-20 Alexander Olk <[email protected]>
  17561. * ColorDialog.cs: Fixed focus drawing in small color controls
  17562. 2005-12-19 Jackson Harper <[email protected]>
  17563. * InternalWindowManager.cs:
  17564. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  17565. moving windows works properly.
  17566. 2005-12-19 Peter Dennis Bartok <[email protected]>
  17567. * Control.cs:
  17568. - Removed call to InitLayout() from SetBoundsCore(); doc says
  17569. it's only called when a control is added to a container
  17570. - Split InitLayout logic, moved to separate UpdateDistances() method
  17571. since we need to perform those calculations more often than just
  17572. when adding the control to a container. (Needed to fix #77022)
  17573. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  17574. - Reduced the OnBindingContextChanged events count, don't send them
  17575. unless the control is created, we still aren't totally matching
  17576. MS, but I can't quite figure out some of their rules
  17577. 2005-12-18 Alexander Olk <[email protected]>
  17578. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  17579. stripes
  17580. 2005-12-18 Alexander Olk <[email protected]>
  17581. * ThemeClearlooks.cs:
  17582. - Updated ProgressBar drawing
  17583. - Corrected drawing of ScrollBars and scroll buttons
  17584. - Some temporary fixes for minor pixel artefacts
  17585. 2005-12-18 Peter Dennis Bartok <[email protected]>
  17586. * Control.cs:
  17587. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  17588. cause events to be sent in the same order as MS does.
  17589. - Added ChangeParent() method to trigger various OnXXXChanged events
  17590. that need to be fired when a parent changes (This is a reworking
  17591. of the patch from r54254, with the X11 errors fixed)
  17592. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  17593. since on MS we get OnLayoutChanged events when calling Clear()
  17594. - Changed Enabled property to consider parent state as well, if a
  17595. parent is not enabled, the control will not be either
  17596. - Changed Parent property to simply call Controls.Add() since that
  17597. now does all the work required, this way we avoid code duplication
  17598. - Threw in a few OnBindingsContextChanged calls to try and match
  17599. when MS sends them. We seem to send a few too many, though.
  17600. - Added call to CreateControl when adding the control to a parent.
  17601. We were never calling CreateControl. Still needs some work, in
  17602. some places we treat HandleCreated and ControlCreated as equal,
  17603. which is wrong
  17604. - Removed obsolete commented out code from UpdateZOrder()
  17605. 2005-12-18 Alexander Olk <[email protected]>
  17606. * ThemeClearlooks.cs: Updated TrackBar drawing.
  17607. 2005-12-17 Alexander Olk <[email protected]>
  17608. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  17609. 2005-12-17 Alexander Olk <[email protected]>
  17610. * FileDialog.cs: Add the Help button and the open readonly
  17611. checkbox only if needed
  17612. 2005-12-16 Jackson Harper <[email protected]>
  17613. * Control.cs: Make sure we have an active menu before trying to
  17614. process commands on it. Prevents menu-less forms from crashing
  17615. when Alt is pressed.
  17616. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  17617. Dieter Bremes.
  17618. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  17619. 2.0 build.
  17620. 2005-12-16 Jackson Harper <[email protected]>
  17621. * InternalWindowManager.cs: Don't translate tool windows screen
  17622. coordinates. This fixes windows 'bouncing' around when being moved.
  17623. 2005-12-15 Peter Dennis Bartok <[email protected]>
  17624. * TextBoxBase.cs:
  17625. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  17626. not quite MS compatible, MS uses that number only for single line
  17627. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  17628. the limit at 2GB)
  17629. - Now enforcing the MaxLength limit when entering characters
  17630. - Added argument to internal Paste() method to track if it's called
  17631. from programatically or via keyboard, since keyboard driven pastes
  17632. need to enforce max-length
  17633. - Added logic to Paste to only paste as many chars as MaxLength
  17634. allows
  17635. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  17636. * TextControl.cs:
  17637. - Added Length property to return number of characters in document
  17638. - Added private CharCount property which only tracks actual chars
  17639. in the document (no linefeeds) and fires event when CharCount
  17640. changes
  17641. - Added tracking of character count to all methods that alter it
  17642. - Added LengthChanged event to allow applications to subscribe
  17643. to any changes to the document
  17644. 2005-12-15 Peter Dennis Bartok <[email protected]>
  17645. * TextBox.cs:
  17646. - Removed local password_char field (moved to TextBoxBase)
  17647. - Now setting the document's password var when password is
  17648. set
  17649. * TextBoxBase.cs:
  17650. - Added password_char field (needed here so MultiLine can
  17651. access it)
  17652. - Added logic to MultiLine property setter to set the document's
  17653. variable when password display is allowed
  17654. - Removed debug code and made some debug code conditional
  17655. * TextControl.cs:
  17656. - Added RecalculatePasswordLine() method to handle special password
  17657. char only lines
  17658. - Added PasswordChar property, also added related tracking vars
  17659. - Draw() method now uses local text var for grabbing text to draw,
  17660. this var is set to line.text unless we're doing password display,
  17661. then it is set to the pre-generated all-password-chars line
  17662. - Added calling RecalculatePasswordLine() method for password lines
  17663. 2005-12-14 Peter Dennis Bartok <[email protected]>
  17664. * Hwnd.cs:
  17665. - Added Reparented property to allow tracking of Window Manager
  17666. reparenting actions (which affect X/Y calculations of toplevel
  17667. windows)
  17668. - Made ToString() print window handles in hex
  17669. * XplatUIX11.cs:
  17670. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  17671. determine if X/Y needs offsetting
  17672. - AddConfigureNotify(): Fixed offset calculations
  17673. - Now adds ReparentNotify messages into the queue
  17674. - Now processes ReparentNotify messages and causes a
  17675. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  17676. is reparented (as most likely it's X/Y coordinates are changed
  17677. due to that)
  17678. 2005-12-14 Jackson Harper <[email protected]>
  17679. * XplatUIX11.cs: Tool windows still need to respek focus.
  17680. 2005-12-14 Peter Dennis Bartok <[email protected]>
  17681. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  17682. have a working release
  17683. 2005-12-13 Jackson Harper <[email protected]>
  17684. * Form.cs: Update styles after setting the border style regardless
  17685. of whether or not the window is using a window manager.
  17686. 2005-12-13 Jackson Harper <[email protected]>
  17687. * Form.cs: We now hook into an internal window manager instead of just an
  17688. MDI subsystem, this is so we can have properly behaving tool windows.
  17689. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  17690. * InternalWindowManager.cs: New internal class that acts as a
  17691. window manager for tool windows and as a base for mdi windows.
  17692. * MdiWindowManager.cs: New class that acts as a window manager for
  17693. mdi windows.
  17694. 2005-12-12 Jackson Harper <[email protected]>
  17695. * Control.cs: Updates so we match behavoir for for implicit
  17696. controls. Fixes explosions in MDI.
  17697. 2005-12-12 Jackson Harper <[email protected]>
  17698. * Control.cs: Implement Invalidate (Region).
  17699. 2005-12-12 Peter Dennis Bartok <[email protected]>
  17700. * Control.cs:
  17701. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  17702. the same events as MS does. MS fires events for each property
  17703. except, for unknown reasons, Cursor, when the control is reparented.
  17704. I can't seem to totally match add/remove since MS also fires some
  17705. VisibleChanged events, which makes no sense. Consolidated the
  17706. parenting code into a separate method so it can be called from
  17707. both Add and Remove. set_Parent no longer needs any special logic
  17708. as it calls the parent's add method which implicitly fires
  17709. all events
  17710. - Removed some obsolete code and debug output
  17711. - Enabled state is inherited from parents, if this is enabled
  17712. 2005-12-08 Peter Dennis Bartok <[email protected]>
  17713. * Form.cs: Removed commented out code
  17714. 2005-12-08 Peter Dennis Bartok <[email protected]>
  17715. * Control.cs:
  17716. - Added internal version of Invoke, with additional argument
  17717. indicating if we're calling it from a Dispose() handler. That
  17718. way we can avoid BeginInvoke throwing an exception if we're
  17719. calling for an already destroyed window.
  17720. - Added a dispose argument to BeginInvokeInternal, and made the
  17721. check if a valid window handle chain exists conditional on
  17722. it not being a dispose call
  17723. - Removed code in DestroyHandle to destroy our children. Since we
  17724. now handle the WM_DESTROY message we will catch all our children
  17725. being destroyed.
  17726. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  17727. * Form.cs:
  17728. - Added a field to track the application context of the form.
  17729. - No need to set closing variable as response to WM_CLOSE, instead
  17730. we destroy the window. We also call PostQuitMessage if the form
  17731. has an application context (which makes it the main app form,
  17732. which, when closed terminates the app)
  17733. * XplatUI.cs:
  17734. - Dropped Exit() method, it's naming was confusing
  17735. - Added PostQuitMessage() which causes GetMessage to return false
  17736. once the message queue is empty
  17737. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  17738. PostQuitMessage()
  17739. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  17740. no longer a valid XplatUI method, but left it in since it's used
  17741. internally. Added empty PostQuitMessage() method.
  17742. * MenuAPI.cs: Replaced call to Exit() with call to
  17743. PostQuitMessage, even though this is probably no longer needed.
  17744. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  17745. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  17746. * Application.cs:
  17747. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  17748. - Removed old debug code that would call XplatUI for exception
  17749. display, enabled standard exception handling (Still not enabled
  17750. though, until NativeWindow's ExternalExceptionHandler define
  17751. is removed
  17752. * NativeWindow.cs:
  17753. - Added internal method to allow control to update NativeWindow
  17754. after a window has been destroyed
  17755. - Added handling of already destroyed windows when calling i
  17756. DestroyWindow
  17757. - Added removal of handle from list on ReleaseHandle
  17758. * XplatUIX11.cs:
  17759. - Dropped GetMessageResult var and related code
  17760. - Added PostQuitState to field to track if PostQuitMessage has been
  17761. called
  17762. - Dropped Exit() method
  17763. - Added PostQuitMessage() method
  17764. - GetMessage now will return false if PostQuitState is set and no
  17765. more messages are in the queue.
  17766. - Expose handler will no longer generate WM_PAINT messages if we are
  17767. in PostQuitState since it's very likely any windows have already
  17768. been destroyed, and since Hwnd won't get updated until we have
  17769. processed the DestroyNotify we'd be causing X errors.
  17770. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17771. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  17772. Thanks to Mike for pointing out the err of my ways.
  17773. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17774. * Control.cs(PreProcessMessage): Moved menu handling back, but
  17775. after all other key handling, to match MS (who handles Menu in
  17776. DefWndProc)
  17777. * Menu.cs (WndProc): Removed my brainfart
  17778. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17779. * Control.cs(PreProcessMessage): Removed special menu handling
  17780. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  17781. 2005-12-07 Mike Kestner <[email protected]>
  17782. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  17783. state according in tracker.
  17784. * Menu.cs : promote tracker field to base class and provide a tracker
  17785. lookup capability. Add/Remove shortcuts dynamically if the top menu
  17786. has a tracker. Unparent items that are removed from the collection.
  17787. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  17788. * Theme*.cs: add always_show_hotkeys field to support configurability
  17789. of mnemonic display. win32 doesn't show mnemonics until Alt is
  17790. pressed.
  17791. 2005-12-07 Jackson Harper <[email protected]>
  17792. * MdiChildContext.cs: Use Control.ResetCursor.
  17793. * Control.cs: ResetCursor needs to set the property so that the
  17794. correct XplatUI call gets made.
  17795. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17796. * Control.cs: More fixes to make our key events match MS. We
  17797. were not setting the modifier state on KeyData, and we were
  17798. not generating any events when Alt was pressed with a key
  17799. since handling of WM_SYSxxx was missing for the OnKey methods.
  17800. 2005-12-07 Jackson Harper <[email protected]>
  17801. * MdiChildContext.cs: reenable the sizing code.
  17802. - When the mouse leaves a window reset its cursor.
  17803. 2005-12-07 Alexander Olk <[email protected]>
  17804. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  17805. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17806. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  17807. widths of Fixed3D borders
  17808. 2005-12-07 Jackson Harper <[email protected]>
  17809. * MdiClient.cs: Fix warnings. Earn Mike's love.
  17810. 2005-12-07 Alexander Olk <[email protected]>
  17811. * ThemeClearlooks.cs:
  17812. - Adjusted mouse over button color
  17813. - Added first parts of CheckBox drawing
  17814. - Added correct color for selected text background
  17815. - Fixed ComboBox drawing
  17816. - Added CPDrawBorder3D and CPDrawBorder
  17817. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17818. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  17819. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17820. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  17821. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  17822. alert users via sound. We could add an enum arg with different
  17823. types of alerts in the future
  17824. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17825. * Control.cs: Fix behaviour problems pointed out by Mike
  17826. 2005-12-05 Mike Kestner <[email protected]>
  17827. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  17828. prop setters. Calls parent.Refresh for now, but could be maybe be
  17829. optimized with an internal method on StatusBar at some point.
  17830. [Fixes #76513]
  17831. 2005-12-05 Peter Dennis Bartok <[email protected]>
  17832. * RichTextBox.cs: Implemented get_SelectionColor
  17833. 2005-12-05 Alexander Olk <[email protected]>
  17834. * ThemeClearlooks.cs:
  17835. - Removed dead code
  17836. - Draw black button border only if button is Form.AcceptButton
  17837. - Draw correct button color for pressed RadioButton if the mouse
  17838. has entered the button
  17839. - Updated ProgressBar drawing!
  17840. - Updated CPDrawSizeGrip drawing
  17841. - Updated StatusBarPanel drawing
  17842. 2005-12-05 Mike Kestner <[email protected]>
  17843. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  17844. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  17845. 2005-12-04 Alexander Olk <[email protected]>
  17846. * ThemeClearlooks.cs: Initial check-in, activate with
  17847. export MONO_THEME=clearlooks
  17848. * ThemeEngine.cs: Added ThemeClearlooks
  17849. 2005-12-03 Mike Kestner <[email protected]>
  17850. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  17851. [Fixes #76897]
  17852. 2005-12-02 Jackson Harper <[email protected]>
  17853. * Form.cs: If the child form has no menu the default main menu is
  17854. used as the active menu.
  17855. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17856. * ListBox.cs: Check if any items exist before trying to resolve
  17857. coordinates into items
  17858. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17859. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  17860. as the second color for the background hatch
  17861. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17862. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  17863. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  17864. sure that what we pass to FormatText is always 1-based. Fixes #76885
  17865. 2005-11-29 Miguel de Icaza <[email protected]>
  17866. * NumericUpDown.cs (EndInit): When we are done initializing,
  17867. reflect any updates on the UI.
  17868. 2005-12-02 Jackson Harper <[email protected]>
  17869. * ImplicitHScrollBar.cs:
  17870. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  17871. their container controls.
  17872. * TreeView.cs: Use the new implicit scrollbars.
  17873. 2005-12-02 Jackson Harper <[email protected]>
  17874. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  17875. can play with it.
  17876. * TreeNodeCollection.cs: If we remove the topnode we need to
  17877. update topnode to the next node in line.
  17878. - When clearing nodes go through the same process as removing
  17879. them, so they get depareneted and checked if they are top node.
  17880. 2005-12-01 Jackson Harper <[email protected]>
  17881. * TreeView.cs: When imagelists are used the image area is
  17882. selectable as well as the text.
  17883. - If there are no selected nodes select the first one.
  17884. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  17885. so don't do it more then we need to.
  17886. 2005-12-01 Jackson Harper <[email protected]>
  17887. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  17888. that arrows can be scaled.
  17889. 2005-12-01 Jackson Harper <[email protected]>
  17890. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  17891. fail. Patch by Dieter Bremes
  17892. 2005-11-30 Jackson Harper <[email protected]>
  17893. * Form.cs: Property is 2.0 only
  17894. * PrintDialog.cs: Signature fix.
  17895. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17896. * TextControl.cs:
  17897. - No longer artificially moves text 2 pixels down (now that we have
  17898. borders this is no longer needed)
  17899. - Added calcs for left, hanging and right indent
  17900. 2005-11-23 Mike Kestner <[email protected]>
  17901. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  17902. 2005-11-30 Jackson Harper <[email protected]>
  17903. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  17904. get cloned as part of CloneMenu ().
  17905. * Menu.cs: Make sure the parent of the items get set correctly
  17906. when they are added. And the owners are notified of the changes.
  17907. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  17908. we can change the menu being displayed/handled by the form without
  17909. changing the menu assosciated with the form.
  17910. - Don't let Mdi children draw/handle menus.
  17911. 2005-11-30 Jackson Harper <[email protected]>
  17912. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  17913. a MenuChanged event. Just to make the API a little more
  17914. consistent.
  17915. * MainMenu.cs:
  17916. * MenuItem.cs: Use the new OnMenuChanged
  17917. * MdiChildContext.cs: Handle menu merging.
  17918. * Form.cs: Implement MergedMenu.
  17919. 2005-11-30 Jackson Harper <[email protected]>
  17920. * Menu.cs: We were misusing Add. Add goes behind the specified
  17921. index according to the docs, and does not replace the specified
  17922. index. So I added an Insert method.
  17923. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17924. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  17925. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  17926. is for Jackson
  17927. * RichTextBox.cs: Added calls to base for DnD events
  17928. 2005-11-28 Peter Dennis Bartok <[email protected]>
  17929. * TextControl.cs:
  17930. - Fixed drag-selection related crash; style fixes
  17931. - Implemented undo class
  17932. o Implemented method to capture document state for specified
  17933. range in document tree
  17934. o Implemented method to restore captured document state
  17935. o Implemented cursor tracking
  17936. o Implemented basic undo stack
  17937. - Added undo cursor tracking to methods altering cursor location
  17938. - Added undo tracking to selection deletion (still missing
  17939. other text-altering hookups)
  17940. * RichTextBox.cs:
  17941. - Added SelectionLength property
  17942. - Implemented CanPaste()
  17943. - Implemented Paste()
  17944. - Added missing protected methods
  17945. - Fixed RTF->Document conversion; now uses font index 0 and color
  17946. index 0 as the default font for the parsed text
  17947. - Fixed RTF<->Document font size translation
  17948. - Fixed RTF generation, now properly handles cross-tag boundaries
  17949. for single line selection
  17950. - No longer always appends blank line to generated RTF
  17951. - Removed TODOs
  17952. - Added missing attributes
  17953. - Hooked up undo-related methods
  17954. * TextBoxBase.cs:
  17955. - Implemented Copy()
  17956. - Implemented Paste()
  17957. - Implemented Cut()
  17958. - Fixed caret mis-behaviour on backspace across line-boundaries
  17959. 2005-11-29 Jackson Harper <[email protected]>
  17960. * MdiClient.cs: Add a method for activating mdi children. Very
  17961. basic right now. I imagine someday it might need more girth.
  17962. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  17963. children windows names are added to the menu item.
  17964. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  17965. mdilist. This happens regardless of whether or not there are any
  17966. mdi windows to see in the list, and according to my tests happens
  17967. before the items are even added. Also happens if there isn't even
  17968. an mdi client to get windows from.
  17969. 2005-11-29 Alexander Olk <[email protected]>
  17970. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  17971. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  17972. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  17973. * DataGridTableStyle.cs:
  17974. - Create always the styles for the missing columns even if they are
  17975. provided by the user (not default table style)
  17976. * DataGrid.cs:
  17977. - Fixes bug 76770
  17978. - Fixes SetDataBinding (always re-attach source)
  17979. - Fixes SetNewDataSource (only clear styles if they are not for
  17980. this source)
  17981. - Expands OnTableStylesCollectionChanged to handle style refresh
  17982. and remove properly
  17983. 2005-11-29 Jackson Harper <[email protected]>
  17984. * FileDialog.cs: Implement missing bits, remove some dead
  17985. code.
  17986. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  17987. creation of the panel so that the options set on the dialog are
  17988. seen when the panel is created.
  17989. * TreeView.cs: raise a click when items are clicked.
  17990. 2005-11-29 Jackson Harper <[email protected]>
  17991. * MdiClient.cs: Pass some signature methods through to base.
  17992. 2005-11-28 Jackson Harper <[email protected]>
  17993. * ListView.cs: Raise the click event when items are clicked.
  17994. 2005-11-28 Jackson Harper <[email protected]>
  17995. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  17996. a nullref.
  17997. 2005-11-27 Alexander Olk <[email protected]>
  17998. * ThemeNice.cs: - Removed 1 pixel bitmaps
  17999. - Use SmoothingMode.AntiAlias where it makes sense
  18000. (ScrollButton arrow for example)
  18001. - Enhanced Button focus drawing
  18002. - Fixed ComboBox drawing (no artefacts anymore, focus
  18003. rectangle is back again, reduced size of ComboButton, etc.)
  18004. - Fixed RadioButton focus drawing for Appearence.Button
  18005. - Slight ScrollButton redesign
  18006. - Some LinearGradientBrush size fixes
  18007. - GroupBoxes have now rounded edges
  18008. - Fixed StatusBar drawing
  18009. 2005-11-25 Alexander Olk <[email protected]>
  18010. * ThemeNice.cs: - Remove dead code
  18011. - use correct background colors for menus, etc.
  18012. - Fake pixel drawing with 1 pixel bitmaps
  18013. 2005-11-24 Jackson Harper <[email protected]>
  18014. * MdiClient.cs: Size the scrollbars when resizing the window.
  18015. - Resize the maximized windows when the client is resized
  18016. * Form.cs: Make the child context available
  18017. 2005-11-23 Jackson Harper <[email protected]>
  18018. * MdiChildContext.cs: Don't size windows if they are maximized.
  18019. 2005-11-23 Mike Kestner <[email protected]>
  18020. * ContextMenu.cs: use MenuTracker.
  18021. * Control.cs: remove menu handle usage.
  18022. * Form.cs: remove menu handle usage.
  18023. * Hwnd.cs: remove menu handle usage.
  18024. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  18025. motion and clicks to the new Tracker handlers.
  18026. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  18027. and handle usage.
  18028. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  18029. Killed the MENU and MENUITEM data types and associated collections
  18030. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  18031. MenuTracker class that exposes the leftovers from the old MenuAPI
  18032. static methods. Restructured Capture handling so that only one grab is
  18033. done for the entire menu hierarchy instead of handing off grabs to
  18034. submenus. Tracker now has an invisible control to Capture when active.
  18035. * MenuItem.cs: add sizing accessors, kill Create
  18036. and handle usage.
  18037. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  18038. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  18039. MENU(ITEM). remove menu handle usage, use Menu directly.
  18040. * XplatUIDriver.cs: remove menu handle usage.
  18041. * XplatUIOSX.cs: remove menu handle usage.
  18042. * XplatUIWin32.cs: remove menu handle usage.
  18043. * XplatUIX11.cs: remove menu handle usage.
  18044. 2005-11-22 Jackson Harper <[email protected]>
  18045. * Hwnd.cs: Don't compute the menu size for
  18046. DefaultClientRectangle.
  18047. - Reenable menu sizes being computed for GetClienRectangle.
  18048. * Form.cs: Remove comment of trechery
  18049. 2005-11-22 Jackson Harper <[email protected]>
  18050. * Hwnd.cs: The adjustments for the menu bar are made when it is
  18051. attached to the form.
  18052. 2005-11-19 Jackson Harper <[email protected]>
  18053. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  18054. (just like on windows).
  18055. 2005-11-19 Jackson Harper <[email protected]>
  18056. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  18057. use real buttons anymore because they are in non client area. The
  18058. one TODO here is that I need to somehow invalidate a section of
  18059. the non client area.
  18060. 2005-11-18 Jackson Harper <[email protected]>
  18061. * Control.cs: Put the enum check back in now that MDI doesnt have
  18062. to use this to set border styles.
  18063. * Form.cs: Only set mdi child windows borders if the handle has
  18064. been created.
  18065. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  18066. this directly on to the driver.
  18067. - Get the move start position before adjusting for the titlebar
  18068. height, this fixes the windows "skipping" when they are first
  18069. moved.
  18070. 2005-11-18 Jackson Harper <[email protected]>
  18071. * XplatUIX11.cs: Just compute the mdi borders separately as they
  18072. don't totally match up with normal form borders.
  18073. 2005-11-18 Jackson Harper <[email protected]>
  18074. * Control.cs: Set WS_ styles for borders, so that the driver does
  18075. not have to retrieve the control instance to figure out what kind
  18076. of borders it should have.
  18077. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  18078. driver can know its an mdi child easily.
  18079. * XplatUIX11.cs: Get the border styles and whether the window is
  18080. MDI from the Styles and ExStyles params instead of having to get a
  18081. control. This prevents a chicken and egg problem.
  18082. 2005-11-18 Jackson Harper <[email protected]>
  18083. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  18084. 2005-11-18 Jackson Harper <[email protected]>
  18085. * MdiClient.cs: Calculate when to add and remove scrollbars
  18086. correctly.
  18087. * MdiChildContext.cs: Adjust the y position to take the titlebar
  18088. into account.
  18089. - No height for FormBorderStyle.None
  18090. 2005-11-18 Jackson Harper <[email protected]>
  18091. * Control.cs: Allow non enum values to be used for
  18092. InternalBorderStyle. MDI does this to set a special border style.
  18093. - New utility methods for converting points to/from client coords
  18094. - Add the newly created control to the Controls collection before
  18095. updating its style. This way UpdateStyle can walk the control
  18096. heirarchy to find the control if needed.
  18097. so I don't need to create a new Point object all the time.
  18098. * Form.cs: Let MDI windows handle their border styles.
  18099. - Set styles on MDI windows so the correct title style is derived.
  18100. * MdiChildContext.cs: Move all the painting and window handling
  18101. into the non client area.
  18102. - Use correct sizing and put correct buttons on frames based on
  18103. the FormBorderStyle.
  18104. - Notify the mdi client about scrolling
  18105. - Need to handle the buttons ourselves now, because they are all
  18106. in non client areas and we can't add controls there.
  18107. * MdiClient.cs: Halfway to scrolling, this implementation is
  18108. somewhat broken though, we need to check to make sure other
  18109. windows aren't causing scrolling before removing the bars. Also
  18110. the bars need to be drawn on top, maybe I can switch implicit
  18111. controls to be on top.
  18112. * Hwnd.cs: caption_height and tool_caption_height are now
  18113. properties of an hwnd, this way they can be set by the driver
  18114. based on the type of window they are. In X11 the window manager
  18115. handles the decorations so caption_height is zero unless its an
  18116. MDI window.
  18117. - Add 3 pixel borders for MDI windows (0xFFFF).
  18118. - Get rid of some code duplication, have DefaultClientRectanle
  18119. just call GetClientRectangle.
  18120. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  18121. Hwnd now.
  18122. - Set border styles differently for mdi windows.
  18123. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  18124. Hwnd now.
  18125. 2005-11-15 Mike Kestner <[email protected]>
  18126. * Menu.cs: when adding an item to the collection, if item is already
  18127. parented, remove it from the parent.
  18128. 2005-11-13 Alexander Olk <[email protected]>
  18129. * X11DesktopColors.cs: Added KDE support
  18130. 2005-11-11 Peter Dennis Bartok <[email protected]>
  18131. * XplatUIWin32.cs:
  18132. - Clipboard methods now can translate Rtf format
  18133. - No longer removes clipboard contents whenever a new format is added
  18134. to allow placing multiple formats on the clipboard
  18135. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  18136. will place all formats contained in it onto the clipboard. Also
  18137. now cleans the clipboard before placing a new object onto it
  18138. * RichTextBox.cs:
  18139. - Implemented set_Rtf
  18140. - Implemented set_SelectedRtf
  18141. - Created InsertRTFFromStream() method to allow single code base
  18142. for all properties and methods that insert RTF into document
  18143. - Removed debug output
  18144. * TextControl.cs:
  18145. - Fixed Delete(int) to fix up line numbers
  18146. - Fixed ReplaceSelection to combine start and end line
  18147. - Fixed serious DeleteChars bug that would leave the document tree
  18148. broken
  18149. - Improved DumpTree with several logic checks to detect broken
  18150. document trees
  18151. - Removed debug lines
  18152. - Fixed Caret.WordForward/WordBack moving code, now always also
  18153. updates caret.tag (fixes crash when word-selecting across tag
  18154. boundaries via keyboard)
  18155. - Added Insert() method for inserting multiline text into documents
  18156. - Fixed DeleteChars() calculation errors that would cause a broken
  18157. tag chain with multiple tag lines
  18158. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  18159. - Split() no longer moves caret if split is at caret location
  18160. - ReplaceSelection() now updates the cursor and re-displays it
  18161. - ReplaceSelection() now uses new Insert() method to avoid code
  18162. duplication
  18163. - FormatText() can now handle formatting partial lines
  18164. * TextBoxBase.cs:
  18165. - Append now uses new TextControl.Insert() method (this avoids
  18166. duplicate code)
  18167. - Implemented Ctrl-X (Cut) (
  18168. - Implemented Ctrl-C (Copy)
  18169. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  18170. regeneration when pasting text; roundtripping Copy&Paste within
  18171. edit control still fails due to some calculation bugs in GenerateRTF)
  18172. - The Delete key will now remove the current selection if it is visible
  18173. * TextBox.cs: Removed debug lines
  18174. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  18175. driver to be initialized and can't therefore be done via a static ctor)
  18176. 2005-11-10 Peter Dennis Bartok <[email protected]>
  18177. * TextControl.cs: Added backend code for finding char arrays and strings
  18178. * TextBoxBase.cs:
  18179. - Added mouse wheel scroll support
  18180. - Added support for VScroll and HScroll events
  18181. * RichTextBox.cs:
  18182. - Implemented all seven Find() variants
  18183. - Implemented GetCharFromPosition()
  18184. - Implemented GetCharIndexFromPosition()
  18185. - Implemented GetLineFromIndex()
  18186. - Implemented GetPositionFromCharIndex();
  18187. - Implemented SaveFile for PlainText and UnicodeText
  18188. - Fixed set_Font, now setting a new font applies that font to
  18189. the whole document
  18190. - Implemented generic Document to RTF converter
  18191. - Implemented SaveFile for RichText format (still missing unicode
  18192. conversion for non-ansi chars)
  18193. - Implemented get_Rtf
  18194. - Implemented get_SelectedRtf
  18195. 2005-11-09 Peter Dennis Bartok <[email protected]>
  18196. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  18197. to allow any captures to be released before triggering OnClick. This
  18198. way a click handler may capture the mouse without interference.
  18199. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  18200. This way we send them even though X may not allow a grab (if the window
  18201. isn't visible, for example)
  18202. 2005-11-08 Pedro Martinez Julia <[email protected]>
  18203. * DataGridViewRowEventArgs.cs: DataGridView implementation
  18204. * DataGridViewElement.cs: DataGridView implementation
  18205. * DataGridViewComboBoxCell.cs: DataGridView implementation
  18206. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  18207. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  18208. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  18209. * ImageLayout.cs: DataGridView implementation
  18210. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  18211. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  18212. * DataGridViewSelectionMode.cs: DataGridView implementation
  18213. * IDataGridViewEditingControl.cs: DataGridView implementation
  18214. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  18215. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  18216. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  18217. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  18218. * DataGridViewColumnSortMode.cs: DataGridView implementation
  18219. * DataGridView.cs: DataGridView implementation
  18220. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  18221. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  18222. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  18223. * Padding.cs: DataGridView implementation
  18224. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  18225. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  18226. * DataGridViewRowEventHandler.cs: DataGridView implementation
  18227. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  18228. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  18229. * DataGridViewButtonCell.cs: DataGridView implementation
  18230. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  18231. * DataGridViewEditMode.cs: DataGridView implementation
  18232. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  18233. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  18234. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  18235. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  18236. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  18237. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  18238. * DataGridViewCellEventHandler.cs: DataGridView implementation
  18239. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  18240. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  18241. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  18242. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  18243. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  18244. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  18245. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  18246. * QuestionEventArgs.cs: DataGridView implementation
  18247. * IDataGridViewEditingCell.cs: DataGridView implementation
  18248. * DataGridViewTriState.cs: DataGridView implementation
  18249. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  18250. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  18251. * DataGridViewColumnCollection.cs: DataGridView implementation
  18252. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  18253. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  18254. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  18255. * DataGridViewColumn.cs: DataGridView implementation
  18256. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  18257. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  18258. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  18259. * DataGridViewRow.cs: DataGridView implementation
  18260. * DataGridViewImageCellLayout.cs: DataGridView implementation
  18261. * DataGridViewImageCell.cs: DataGridView implementation
  18262. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  18263. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  18264. * DataGridViewHeaderCell.cs: DataGridView implementation
  18265. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  18266. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  18267. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  18268. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  18269. * QuestionEventHandler.cs: DataGridView implementation
  18270. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  18271. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  18272. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  18273. * DataGridViewCell.cs: DataGridView implementation
  18274. * DataGridViewCellEventArgs.cs: DataGridView implementation
  18275. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  18276. * DataGridViewCellStyle.cs: DataGridView implementation
  18277. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  18278. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  18279. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  18280. * TextFormatFlags.cs: DataGridView implementation
  18281. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  18282. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  18283. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  18284. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  18285. * DataGridViewButtonColumn.cs: DataGridView implementation
  18286. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  18287. * HandledMouseEventArgs.cs: DataGridView implementation
  18288. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  18289. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  18290. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  18291. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  18292. * DataGridViewRowCollection.cs: DataGridView implementation
  18293. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  18294. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  18295. * DataGridViewHitTestType.cs: DataGridView implementation
  18296. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  18297. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  18298. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  18299. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  18300. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  18301. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  18302. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  18303. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  18304. * DataGridViewContentAlignment.cs: DataGridView implementation
  18305. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  18306. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  18307. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  18308. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  18309. * DataGridViewPaintParts.cs: DataGridView implementation
  18310. * DataGridViewCellCollection.cs: DataGridView implementation
  18311. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  18312. * DataGridViewImageColumn.cs: DataGridView implementation
  18313. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  18314. * DataGridViewElementStates.cs: DataGridView implementation
  18315. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  18316. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  18317. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  18318. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  18319. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  18320. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  18321. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  18322. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  18323. * DataGridViewTextBoxCell.cs: DataGridView implementation
  18324. * DataGridViewBand.cs: DataGridView implementation
  18325. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  18326. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  18327. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  18328. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  18329. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  18330. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  18331. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  18332. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  18333. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  18334. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  18335. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  18336. 2005-11-08 Peter Dennis Bartok <[email protected]>
  18337. * ThemeWin32Classic.cs:
  18338. - Draw the outside focus rectangle around buttons
  18339. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  18340. doesn't use end caps for every dash of a line anymore. This
  18341. workaround ignores the forecolor.
  18342. 2005-11-08 Kornél Pál <[email protected]>
  18343. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  18344. endian safe.
  18345. 2005-11-07 Jackson Harper <[email protected]>
  18346. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  18347. 2005-11-07 Jackson Harper <[email protected]>
  18348. * ScrollableControl.cs: Calculate the maximum and change vars
  18349. (more) correctly so that scrollbars appear as a sensible size.
  18350. 2005-11-04 Jackson Harper <[email protected]>
  18351. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  18352. collection.
  18353. * TreeView.cs: When the tree is sorted null out the top_node so
  18354. that it is recalculated.
  18355. - Use dotted lines instead of dashed lines to match MS better.
  18356. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  18357. * ListView.cs:
  18358. - Implements key search for items. Useful when browsing files with FileDialog
  18359. - When changing view mode or when clear the items reset scrollbar positions
  18360. 2005-11-04 Jackson Harper <[email protected]>
  18361. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  18362. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  18363. as to what the method may do as there is no real way of creating a
  18364. derived CurrencyManager and calling the method.
  18365. 2005-11-03 Jackson Harper <[email protected]>
  18366. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  18367. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  18368. method which seems to just be used internally to refresh the tabs.
  18369. 2005-11-03 Jackson Harper <[email protected]>
  18370. * TabControl.cs: Implement the remove method. Fix some broken
  18371. comments.
  18372. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18373. * DateTimePicker.cs:
  18374. - Added missing DateTimePickerAccessibleObject class
  18375. - Added missing events
  18376. - Added OnFontChanged method
  18377. * Form.cs: Added missing attributes
  18378. * TreeView.cs: Added missing attributes
  18379. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18380. * GridItemCollection.cs: Fix signatures
  18381. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18382. * XplatUI.cs: Updated build rev/date
  18383. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  18384. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  18385. * Application.cs: Trigger context-specific ExitThread events
  18386. 2005-11-03 Jackson Harper <[email protected]>
  18387. * Menu.cs:
  18388. * MainMenu.cs:
  18389. * GridTableStylesCollection.cs:
  18390. * Timer.cs:
  18391. * TabPage.cs:
  18392. * HelpProvider.cs:
  18393. * StatusBar.cs:
  18394. * MonthCalendar.cs: Signature fixes
  18395. 2005-11-03 Jackson Harper <[email protected]>
  18396. * TreeNodeCollection.cs: Remove should not be virtual.
  18397. * TreeView.cs: Implement the last of the missing methods.
  18398. 2005-11-03 Jackson Harper <[email protected]>
  18399. * TreeNodeConverter.cs: Implement to get off my class-status back.
  18400. 2005-11-03 Jackson Harper <[email protected]>
  18401. * TreeView.cs: Hookup the bits for drag and drop.
  18402. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  18403. that nodes can be moved from tree to tree easily this just causes
  18404. all sorts of problems.
  18405. * TreeNodeCollection: Don't need to give treenodes an index and
  18406. treeview anymore when they are added, these are computed on the
  18407. fly. Also make sure to remove a node before its added.
  18408. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18409. * TextControl.cs:
  18410. - Added CaretSelection enum
  18411. - Added comparison methods to Marker struct, makes selection code
  18412. more readable
  18413. - Added SelectionStart and SelectionEnd as 'moveable' location for
  18414. the CaretDirection enum and handler
  18415. - Added selection_prev variable to track optimized invalidation for
  18416. word and line selection
  18417. - Added SelectionVisible property (returns true if there is a valid
  18418. selection)
  18419. - Switched CaretHasFocus to only display the caret if there is no
  18420. visible selection
  18421. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  18422. using the direct character index; should be much faster
  18423. - Added various conditional debug statements
  18424. - Fixed invalidation calculation for selection ranges
  18425. - Added ExpandSelection() method to support word and line selection
  18426. - Switched SetSelectionToCaret to use new Marker compare overloads
  18427. - Added central IsWordSeparator() method to determine word
  18428. separators/whitespace and FindWordSeparator() to streamline common
  18429. usage of IsWordSeparator()
  18430. * TextBoxBase.cs:
  18431. - Removed unneeded grabbed variable, it was just mirroring
  18432. Control.Capture
  18433. - No longer firing OnTextChanged event when Text setter is called,
  18434. since the base will fire the event for us
  18435. - Added handling of Ctrl-Up/Down selection
  18436. - Added handling of Shift-Cursorkey selection
  18437. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  18438. words
  18439. - Added handling of Shift and Ctrl-Shift-Home/End selection
  18440. - Removed some debug output
  18441. - Added handling for single/double/tripple-click to place caret/
  18442. select word/select line respectively (Fixes bug #76031)
  18443. - Added support for drag expansion of word/line selection
  18444. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  18445. current selection
  18446. 2005-11-02 Jackson Harper <[email protected]>
  18447. * X11Dnd.cs: If the drag is going to and from a MWF window just
  18448. copy the data instead of sending it out through the X Selection
  18449. mechanism.
  18450. 2005-11-02 Jackson Harper <[email protected]>
  18451. * X11Dnd.cs:
  18452. * XplatUIX11.cs: When in a drag we don't want motion notify
  18453. messages to get passed on to the other controls. This prevents
  18454. mouse move messages from showing up in the drag source.
  18455. 2005-11-02 Jackson Harper <[email protected]>
  18456. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  18457. the correct button is release to end a drag.
  18458. * XplatUIX11.cs: Make the button state internal so the drag system
  18459. can access it. Dragging needs to know about all button releases,
  18460. not just left button.
  18461. 2005-11-02 Miguel de Icaza <[email protected]>
  18462. * Form.cs (Icon): If the icon is null, reset the icon to the
  18463. default value.
  18464. * Cursor.cs: When writing the AND-mask bitmap do not include the
  18465. number of colors, but hardcode those to two (black and white),
  18466. fixes the loading of color cursors (Paint Dot Net).
  18467. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  18468. turn off autoscaling.
  18469. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  18470. 2005-11-02 Jackson Harper <[email protected]>
  18471. * X11Dnd.cs: Make sure to send a status message if the pointer
  18472. enters a control that can not accept a drop, otherwise the cursor
  18473. isn't updated correctly. Also tried to compress the lines of code
  18474. a bit.
  18475. 2005-11-02 Jackson Harper <[email protected]>
  18476. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  18477. set actions correctly. This isn't perfect as XDND and win32 have
  18478. some differences on how you allow actions. I'll clear this up by
  18479. adding a path for drag from MWF to MWF windows.
  18480. * XplatUIX11.cs: Hook into the dnd system.
  18481. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  18482. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  18483. previously shown but they are no longer need it. Very obvious when
  18484. browsing files with FileDialog.
  18485. 2005-11-01 Peter Dennis Bartok <[email protected]>
  18486. * Control.cs: We always need to call OnPaintBackground. We pretty much
  18487. ignore AllPaintingInWmPaint and always do the painting there, whether
  18488. it's set or not, since we always ignore the WM_ERASEBKGND message
  18489. (which we don't generate on X11). This fixes #76616.
  18490. * Panel.cs: Removed unneeded background painting. This happens properly
  18491. in Control.cs already
  18492. 2005-10-31 Mike Kestner <[email protected]>
  18493. * Menu.cs: Add items to collection before setting their index.
  18494. * MenuItem.cs : add range checking with ArgumentException like MS.
  18495. [Fixes #76510]
  18496. 2005-10-31 Jackson Harper <[email protected]>
  18497. * ListBox.cs: Invalidate if the area is visible at all not just
  18498. contained in the visible rect. Fixes unselection of semi visible
  18499. items.
  18500. 2005-10-31 Jackson Harper <[email protected]>
  18501. * Control.cs: Consistently name the dnd methods. Make them
  18502. internal so we can override them to match some MS behavoir
  18503. internally.
  18504. * Win32DnD.cs: Use the new consistent names.
  18505. 2005-10-31 Jackson Harper <[email protected]>
  18506. * TreeView.cs: Don't draw the selected node when we lose focus.
  18507. 2005-10-31 Jackson Harper <[email protected]>
  18508. * X11Dnd.cs: We still need to reset the state even though a full
  18509. reset isn't being done, otherwise status's still get sent all over
  18510. the place.
  18511. 2005-10-31 Jackson Harper <[email protected]>
  18512. * Control.cs: Make the dnd_aware flag internal so the dnd
  18513. subsystem can check it. Catch exceptions thrown in dnd handlers to
  18514. match MS behavoir.
  18515. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  18516. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  18517. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  18518. flags to reduce the number of dnd enters/status's sent.
  18519. 2005-10-31 Jackson Harper <[email protected]>
  18520. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  18521. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  18522. * PictureBox.cs: Fixes 76512
  18523. 2005-10-28 Jackson Harper <[email protected]>
  18524. * X11Dnd.cs: Early implementation to support winforms being a drag
  18525. source for data on X11. Also restructured the converters so they
  18526. can go both ways now.
  18527. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  18528. 2005-10-27 Peter Dennis Bartok <[email protected]>
  18529. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  18530. clipboard requests
  18531. 2005-10-27 Jackson Harper <[email protected]>
  18532. * TreeNode.cs: Implement serialization so my DnD examples will work.
  18533. 2005-10-24 Kornél Pál <[email protected]>
  18534. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  18535. TreeView.cs: Don't dispose objects that are not owned.
  18536. 2005-10-24 Peter Dennis Bartok <[email protected]>
  18537. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  18538. should retrieve the current cursor and report that, but XplatUI
  18539. doesn't (yet) have an interface for that (and I'm not sure I even
  18540. can, on X11)
  18541. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  18542. until any message loop processing is done (and the WM_SETCURSOR
  18543. replaces the cursor to the proper one)
  18544. * XplatUIX11.cs:
  18545. - Fixed override behaviour, we can't set the cursor globally on X11,
  18546. just for our windows.
  18547. - Invalidating the System.Drawing X11 display handle when we are
  18548. shutting down
  18549. * Control.cs: Fix to make csc happy
  18550. 2005-10-23 Peter Dennis Bartok <[email protected]>
  18551. * TextBoxBase.cs:
  18552. - get_Text: Add last line (without trailing newline) to returned
  18553. value (Fixes 76212)
  18554. - get_TextLength: Count last line in returned length
  18555. - ToString: Call Text property instead of duplicating code
  18556. 2005-10-23 Kornél Pál <[email protected]>
  18557. * ImageList.cs: Dispose ImageAttributes objects.
  18558. 2005-10-22 Kornél Pál <[email protected]>
  18559. * ImageList.cs: Use attribute constructors with less arguments where
  18560. possible.
  18561. 2005-10-22 Kornél Pál <[email protected]>
  18562. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  18563. Use typeof instead of strings when assembly is referenced. Added
  18564. some more comments.
  18565. 2005-10-21 Jackson Harper <[email protected]>
  18566. * ListView.cs: Raise a double click event. Also tried to somewhat
  18567. fix when the selectedindexchanged event is raised. Its still
  18568. broken though.
  18569. 2005-10-21 Jackson Harper <[email protected]>
  18570. * TreeView.cs: New method to invalidate the plus minus area of a
  18571. node without invalidating the whole node (maybe this can be used
  18572. in some more places).
  18573. * TreeNodeCollection.cs: When adding to an empty node we need to
  18574. invalidate its plus minus area so the little block shows up.
  18575. 2005-10-21 Jackson Harper <[email protected]>
  18576. * TreeView.cs: Make sure that when we invalidate a node the bounds
  18577. are big enough to cover the selected box and the focus
  18578. rectangle. Use a different colour for the lines connecting nodes
  18579. so they show up with all themes.
  18580. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18581. * NativeWindow.cs: Don't call anything that could call into the driver,
  18582. we might be on a different thread.
  18583. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18584. * Control.cs(Dispose): Since Dispose might run on a different thread,
  18585. make sure that we call methods that could call into the driver via
  18586. invoke, to avoid thread issues
  18587. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18588. * XplatUI.cs: Removed finalizer
  18589. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  18590. not allowing to be called on the finalizer thread.
  18591. 2005-10-21 Kornél Pál <[email protected]>
  18592. * ImageList.cs:
  18593. - Reverted r51889 and r51891.
  18594. - Added ImageListItem class that stores unmodified image items and image
  18595. properties required to create list images until handle is created.
  18596. - Added AddItem and moved image creation logic to AddItemInternal.
  18597. - Added CreateHandle method that creates images based on unmodified items.
  18598. - Added DestroyHandle that changes state to store unmodified items.
  18599. - Add and AddStrip methods no more create handle.
  18600. - ReduceColorDepth has no return value.
  18601. - Dispose destroys handle.
  18602. - Modified other methods to reflect the above changes.
  18603. - Implemented key support.
  18604. - Added profile 2.0 members and attributes.
  18605. - Added private Reset and ShouldSerialize methods that provide the same
  18606. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  18607. them as they are private.
  18608. - Added some more comments about implementation details.
  18609. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18610. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  18611. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18612. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  18613. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18614. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  18615. * DataGridColumnStyle.cs: Remove debug message
  18616. 2005-10-20 Jackson Harper <[email protected]>
  18617. * TreeView.cs: We can always get input keys regardless of whether
  18618. or not editing is enabled. They are used for navigation.
  18619. 2005-10-20 Jackson Harper <[email protected]>
  18620. * TreeNode.cs: Use the viewport rect for determining if a node
  18621. needs to be moved for visibility. Don't use Begin/End edit. This
  18622. calls a full refresh when its done.
  18623. * TreeView.cs: New SetBottom works correctly. Make the viewport
  18624. rect property internal so the treenodes can see it. When clicking
  18625. on a node we need to ensure that its visible because it might just
  18626. be partly visible when clicked.
  18627. 2005-10-20 Jackson Harper <[email protected]>
  18628. * TreeNodeCollection.cs: Remove debug code.
  18629. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  18630. * Datagrid.cs: Implements column sorting in Datagrid
  18631. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  18632. 2005-10-20 Jackson Harper <[email protected]>
  18633. * TreeNodeCollection.cs: Remove items properly. Update the correct
  18634. area after removing them.
  18635. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  18636. * Datagrid.cs: Should not call base.OnPaintBackground
  18637. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18638. * XplatUIX11.cs (GetMessage):
  18639. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  18640. window instead of client window
  18641. - Now properly calculates NC_xBUTTONUP message coordinates
  18642. - ScreenToMenu now properly calculates it's coordinates of whole
  18643. window, since menus are in the whole window, not in the client
  18644. window
  18645. - Added WholeToScreen coordinate translation method
  18646. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18647. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  18648. want to return a message, loop back to the beginning of the function
  18649. and grab the next real message to process instead.
  18650. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18651. * Splitter.cs: Properly set limits if no filler control is used
  18652. 2005-10-19 Jackson Harper <[email protected]>
  18653. * ColorDialog.cs: Don't show the help button if it is not enabled
  18654. instead of disabling it (this is what MS does). Don't create the
  18655. panel until the dialog is run, otherwise the vars (such as
  18656. ShowHelp) are not set yet.
  18657. 2005-10-19 Jackson Harper <[email protected]>
  18658. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  18659. are reduced when adding nodes.
  18660. * TreeNode.cs:
  18661. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  18662. tree.
  18663. 2005-10-19 Jackson Harper <[email protected]>
  18664. * FolderBrowserDialog.cs: End editing our treeview so the window
  18665. actually gets refreshed.
  18666. 2005-10-18 Peter Dennis Bartok <[email protected]>
  18667. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  18668. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  18669. inside of WM_PAINT
  18670. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18671. * MenuAPI.cs: Returns after Hidding window
  18672. * XplatUIX11.cs: Added TODO found while debugging menu issues
  18673. 2005-10-18 Peter Dennis Bartok <[email protected]>
  18674. * XplatUIX11.cs: Do not re-map the whole window when it's size
  18675. becomes non-zero unless it's supposed to be actually visible
  18676. 2005-10-18 Jackson Harper <[email protected]>
  18677. * TreeView.cs: We don't need to keep a count anymore.
  18678. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  18679. use the Grow method.
  18680. 2005-10-18 Jackson Harper <[email protected]>
  18681. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  18682. implement it manually here.
  18683. 2005-10-18 Jackson Harper <[email protected]>
  18684. * ImageList.cs: Dont kill the list when the colour depth is
  18685. changed, just change the colour depth of all the images.
  18686. - Same goes for setting the image size. Just resize them all
  18687. instead of killing the list softly.
  18688. 2005-10-18 Jackson Harper <[email protected]>
  18689. * Control.cs: Don't invalidate empty rectangles.
  18690. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18691. * ListViewItem.cs:
  18692. - Adds checked item to the Checked/Item lists (where empty before)
  18693. - Do not add items to the Selected lists if they are already present
  18694. * ListView.cs:
  18695. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  18696. - When deleting items make sure that we delete them for the Selected
  18697. and Checked list also.
  18698. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18699. * Label.cs: Dispose objects no longer used
  18700. * ThemeWin32Classic.cs: Dispose objects no longer used
  18701. 2005-10-18 Jackson Harper <[email protected]>
  18702. * TabControl.cs: Don't refresh the whole control when the tabs are
  18703. scrolled, we just need to refresh the tab area.
  18704. 2005-10-17 Jackson Harper <[email protected]>
  18705. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  18706. after handle when we need it.
  18707. 2005-10-17 Peter Dennis Bartok <[email protected]>
  18708. * Control.cs: When the parent size changes, recalculate anchor
  18709. positions. Partial fix for #76462
  18710. 2005-10-17 Peter Dennis Bartok <[email protected]>
  18711. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  18712. drawn. Fixes #76462
  18713. 2005-10-17 Jackson Harper <[email protected]>
  18714. * MonthCalendar.cs: Don't create the numeric up down until our
  18715. handle is created. Otherwise our handle is created in the
  18716. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  18717. yet.
  18718. 2005-10-17 Jackson Harper <[email protected]>
  18719. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  18720. correctly.
  18721. 2005-10-17 Rafael Teixeira <[email protected]>
  18722. * TreeNode.cs : small logical fix (was using local var instead of field)
  18723. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  18724. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  18725. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  18726. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  18727. 2005-10-16 Peter Dennis Bartok <[email protected]>
  18728. * Control.cs:
  18729. - Re-implemented anchoring code. My first version was really broken.
  18730. This fixes bug #76033. Unlike the previous implementation we will
  18731. no longer have round errors since all numbers are calculated from
  18732. scratch every time. Removed various anchor-related obsolete vars.
  18733. - InitLayout no longer causes layout event firing and layout to be
  18734. performed
  18735. 2005-10-16 Jackson Harper <[email protected]>
  18736. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  18737. which was broken).
  18738. 2005-10-16 Jackson Harper <[email protected]>
  18739. * TabControl.cs: Remove debug code.
  18740. 2005-10-16 Jackson Harper <[email protected]>
  18741. * XEventQueue.cs: Increase the default queue size (very simple
  18742. apps needed to grow the queue).
  18743. * Hwnd.cs: No finalizer so we don't need to suppress
  18744. finalization. Compute the invalid area manually so a new rectangle
  18745. does not newto be created.
  18746. * ScrollableControl.cs: Don't set any params (otherwise visibility
  18747. isn't set correctly).
  18748. * MdiChildContext.cs: New constructor takes the mdi parent so it
  18749. doesn't have to be computed and avoids a crash on windows. Draw
  18750. the window icon properly, and allow the text to be seen.
  18751. * Form.cs: Use new MdiChildContext constructor. Make sure the
  18752. child context isn't null in wndproc.
  18753. * TabControl.cs: Don't set focus, this is muddling keyboard
  18754. behavoir. Expand the tab rows when a window size increase will
  18755. allow extra tabs to be seen. Don't allow tabs smaller than the
  18756. width of a window to be scrolled out of view.
  18757. * TreeNode.cs:
  18758. * TreeView.cs: Use measure string to calculate a nodes width, the
  18759. width is cached and only updated when the text or the font is
  18760. changed. Don't check for expand/collapse clicks on the first level
  18761. nodes if root lines are disabled.
  18762. 2005-10-16 Ritvik Mayank <[email protected]>
  18763. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  18764. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  18765. * DataGridBoolColumn.cs: fixes warning
  18766. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  18767. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  18768. to match more to match more precisely the MS Net behavior
  18769. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18770. * Hwnd.cs: Added field to track if window is mapped
  18771. * XplatUIX11.cs:
  18772. - Unmap windows if they become 0-size, re-map when
  18773. they are >0 again; fixes #76035
  18774. - Re-set our error handler after initializing X11Desktop
  18775. to override any error handlers Gtk or whatever was called
  18776. may have set.
  18777. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18778. * CheckedListBox.cs: Removed unused vars
  18779. * ListView.cs: Fixed signatures
  18780. * RichTextBox.cs: Removed unused vars
  18781. * TextBoxBase.cs: Removed unused vars
  18782. * XplatUIWin32.cs: Removed unused vars
  18783. * XplatUIX11.cs: Removed unused vars
  18784. * XplatUI.cs: Updated version and date to latest published
  18785. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18786. * Cursor.cs: Added private .ctor to work around a bug in
  18787. resourceset (Thanks to Geoff Norton for the help on this)
  18788. * SplitterEventArgs.cs: Made fields accessible so we don't
  18789. waste boatloads of objects and can reuse the same one
  18790. in Splitter
  18791. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  18792. any captions and borders when generating screen coordinates
  18793. * Splitter.cs: Reimplemented control, now fully complete, uses
  18794. rubberband drawing, supports and obeys all properties, has
  18795. proper cursors
  18796. 2005-10-13 Miguel de Icaza <[email protected]>
  18797. * Form.cs (Form): Setup default values for autoscale and
  18798. autoscale_base_size; Make these instance variables, not static
  18799. variables.
  18800. (OnLoad): on the first load, adjust the size of the form.
  18801. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18802. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  18803. width argument to DrawReversibleRectangle()
  18804. * XplatUIWin32.cs, XplatUIX11.cs:
  18805. - Implemented width for DrawReversibleRectangle()
  18806. - Added logic to DrawReversibleRectangle that recognizes a zero
  18807. width or height and only draws a line in that situation
  18808. 2005-10-12 Peter Dennis Bartok <[email protected]>
  18809. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  18810. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  18811. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  18812. method (it uses our FosterParent window to get a graphics context)
  18813. 2005-10-12 Peter Dennis Bartok <[email protected]>
  18814. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  18815. and SetWindowBackground methods
  18816. * Control.cs:
  18817. - Setting proper ControlStyles
  18818. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  18819. EraseWindowBackground, instead we draw the window background
  18820. ourselves in PaintControlBackground. This behaviour is
  18821. required to match MS, where, when OnPaintBackground is not
  18822. called, the background is not drawn.
  18823. - Removed unneeded Refresh() in set_Text
  18824. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  18825. * XplatUIX11.cs:
  18826. - Created DeriveStyles method to translate from CreateParams to
  18827. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  18828. matches FormBorderStyle enum values)
  18829. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  18830. style calculations into single DeriveStyles method
  18831. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  18832. from redrawing the whole window on any resize or expose.
  18833. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  18834. all styles were applied to our whole/client window appropriately
  18835. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18836. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  18837. no longer clear/redraw the background through X
  18838. - Removed handling of erase_pending bit, we have no use for it (or
  18839. so it seems)
  18840. * XplatUIOSX.cs:
  18841. - Removed generation and handling of WM_ERASEBKGND message
  18842. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18843. - Removed handling of hwnd.ErasePending flag
  18844. * XplatUIWin32.cs:
  18845. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18846. - We no longer call EraseWindowBackground on PaintEventStart, we
  18847. ignore the fErase flag, erasing is handled in Control in the
  18848. background handler
  18849. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  18850. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  18851. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  18852. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  18853. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  18854. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  18855. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  18856. 2005-10-12 Jonathan Chambers <[email protected]>
  18857. * PropertyGrids.cs: Get sub properties
  18858. * PropertyGridView.cs: Fix drawing code
  18859. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18860. * ListBox.cs: Fixes 76383
  18861. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18862. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  18863. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  18864. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  18865. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18866. * ComboBox.cs: Fixes border drawing
  18867. 2005-10-10 Miguel de Icaza <[email protected]>
  18868. * MimeIcon.cs: Ignore errors if the file can not be read.
  18869. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18870. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  18871. - Fixed border calculations
  18872. - Fixed horizontal scrolling in single column listboxes
  18873. - Fixed drawing issues
  18874. 2005-10-10 Peter Dennis Bartok <[email protected]>
  18875. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  18876. FormBorderStyle enum
  18877. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  18878. code to determine FormBorderStyles from CreateParams
  18879. * Form.cs:
  18880. - Fixed bug where we'd set the wrong window styles if we were
  18881. not creating an MDI window
  18882. - Added call to XplatUI.SetBorderStyle when form borders are set
  18883. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  18884. * Hwnd.cs:
  18885. - Removed obsolete edge style
  18886. - Switched from BorderStyle to FormBorderStyle
  18887. 2005-10-10 Jackson Harper <[email protected]>
  18888. * Form.cs: Use the property to get the window handle instead of
  18889. accessing it directly. Prevents a null reference exception.
  18890. 2005-10-10 Jackson Harper <[email protected]>
  18891. * TreeView.cs: Don't adjust the rect given to DrawString now that
  18892. our libgdiplus draws correctly.
  18893. 2005-10-08 Jackson Harper <[email protected]>
  18894. * TreeView.cs: Don't try to find the clicked on node if there are
  18895. no nodes in the tree.
  18896. 2005-10-08 Alexander Olk <[email protected]>
  18897. * RichTextBox.cs:
  18898. restore
  18899. 2005-10-08 Alexander Olk <[email protected]>
  18900. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  18901. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  18902. ErrorProvider.cs:
  18903. Use ResPool for brushes and dispose System.Drawing objects that
  18904. are not used anymore.
  18905. 2005-10-07 Jackson Harper <[email protected]>
  18906. * MdiChildContext.cs: Use the new borders instead of drawing them
  18907. ourselves.
  18908. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18909. * Calling UpdateBounds after changing the window's BorderStyle
  18910. since the style can change the ClientSize
  18911. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18912. * Control.cs: Made PaintControlBackground virtual
  18913. * Panel.cs: Overriding PaintControlBackground instead of using paint
  18914. event; paint event method was interfering with 'real' users of the
  18915. event.
  18916. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18917. * ThemeWin32Classic.cs: remove border drawing since it is handled
  18918. by the base control class now and was causing double border drawing.
  18919. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18920. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  18921. but it does seem to match MS behaviour. This fixes bug #75324
  18922. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18923. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  18924. somewhat hackish looking
  18925. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18926. * TextBoxBase.cs:
  18927. - We now accept Enter even if AcceptEnter is false, if the containing
  18928. form does not have an AcceptButton configured (fixes bug #76355)
  18929. - Calculations are now fixed to no longer use Width/Height, but
  18930. ClientSize.Width/Height, since we now support borders (this was
  18931. a result of fixing borders and therefore bug #76166)
  18932. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  18933. true (fixes bug #76354)
  18934. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18935. * Control.cs:
  18936. - Defaulting BorderStyle and setting it in XplatUI when our window
  18937. is created
  18938. - Added enum check to InternalBorderStyle setter
  18939. * XplatUIX11.cs:
  18940. - Added drawing of window borders
  18941. - Now properly calculates WM decorations offset for toplevel
  18942. windows (fixes bug #74763)
  18943. * XplatUIWin32.cs:
  18944. - Implemented BorderStyles for windows (we're letting win32 draw
  18945. the border for us)
  18946. - Fixed the signature for SetWindowLong
  18947. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  18948. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  18949. setting borders
  18950. * UpDownBase.cs: Remove drawing of borders, this is handled by
  18951. the driver, outside the client area
  18952. * ListView.cs: Removed bogus border calculations. The control should
  18953. be oblivious to borders, since those are not part of the client
  18954. area.
  18955. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  18956. * ThemeWin32Classic.cs: Removed border calculations from ListView
  18957. drawing code
  18958. 2005-10-06 Jackson Harper <[email protected]>
  18959. * MdiChildContext.cs: Clear out the old virtual position remove
  18960. all the unneeded calls to CreateGraphics.
  18961. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18962. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  18963. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18964. * Form.cs:
  18965. - Added loading and setting of our new default icon
  18966. - Only set icon if window is already created
  18967. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18968. * Label.cs:
  18969. - Do not explicitly set the foreground and background colors, to
  18970. allow inheriting from parents (fixes #76302)
  18971. - Use Control's InternalBorderStyle property to deal with borders
  18972. 2005-10-06 Jackson Harper <[email protected]>
  18973. * MdiChildContext.cs: Use the new xplatui function to draw a
  18974. reversible rect.
  18975. 2005-10-06 Jackson Harper <[email protected]>
  18976. * Form.cs: Add the parent before creating the child context cause
  18977. we need the parent when setting up the child.
  18978. 2005-10-06 Jackson Harper <[email protected]>
  18979. * FolderBrowserDialog.cs: redo the tree population code so a
  18980. second thread isn't used. Should be a lot faster and more stable
  18981. now.
  18982. 2005-10-05 Jackson Harper <[email protected]>
  18983. * TreeView.cs: There are no expand/collapse boxes if the node has
  18984. no children.
  18985. 2005-10-05 Jackson Harper <[email protected]>
  18986. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  18987. 2005-10-05 Alexander Olk <[email protected]>
  18988. * FileDialog.cs: Fix InitialDirectory
  18989. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18990. * ComboBox.cs:
  18991. - Fixes changing between styles
  18992. - Fixes simple mode
  18993. - Fixes last item crashing when navigating with keyboard
  18994. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18995. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  18996. 2005-10-05 Jackson Harper <[email protected]>
  18997. * TreeView.cs: If updating the root node do a full refresh.
  18998. * TreeNode.cs: The root node should be expanded by default. Also
  18999. added a utility prop to tell if we are the root node.
  19000. * TreeNodeCollection.cs: Only refresh if the node we are being
  19001. added to is expanded. Also added a comment on a potential
  19002. optimization.
  19003. 2005-10-04 Peter Dennis Bartok <[email protected]>
  19004. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  19005. in dispose method. Fixes #76330
  19006. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  19007. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  19008. - Implements vertical and horizontal scrolling using XplatUI
  19009. - Fixes keyboard navagation
  19010. - Fixes EnsureVisible
  19011. - Drawing fixes
  19012. - Handles and draws focus properly
  19013. 2005-10-04 Kornél Pál <[email protected]>
  19014. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  19015. Create handle. NET_2_0: Destroy handle when value is null.
  19016. 2005-10-03 Jackson Harper <[email protected]>
  19017. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  19018. revert and a new patch to prevent the thumb from refreshing so
  19019. much.
  19020. 2005-10-02 Jackson Harper <[email protected]>
  19021. * ScrollBar.cs: Don't update position if it hasn't actually
  19022. changed. This occurs when you hold down the increment/decrement
  19023. buttons and the thumb gets to the max/min.
  19024. 2005-10-01 Jackson Harper <[email protected]>
  19025. * Form.cs:
  19026. * MdiChildContext.cs:
  19027. * MdiClient.cs: Implement ActiveMdiChild in Form.
  19028. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  19029. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  19030. 2005-10-01 Peter Dennis Bartok <[email protected]>
  19031. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  19032. be found
  19033. 2005-09-30 Jackson Harper <[email protected]>
  19034. * ListBox.cs: Don't do a full refresh unless some data has
  19035. actually changed.
  19036. 2005-09-30 Jackson Harper <[email protected]>
  19037. * TreeView.cs: Make sure that the checkboxes size is factored in
  19038. even when not visible.
  19039. 2005-09-30 Peter Dennis Bartok <[email protected]>
  19040. * FileDialog.cs: Fix Jordi's build break
  19041. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  19042. * FileDialog.cs:
  19043. - Use standard the Windows colours for the combobox as espected
  19044. - Dispose objects that use resouces when no longer need them
  19045. 2005-09-30 Peter Dennis Bartok <[email protected]>
  19046. * X11DesktopColors.cs: Initial incomplete implementation
  19047. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  19048. 2005-09-30 Peter Dennis Bartok <[email protected]>
  19049. * Theme.cs:
  19050. - Switched Theme color names to match the names defined in
  19051. System.Drawing.KnownColors. Life's hard enough, no need to make
  19052. it harder.
  19053. - Added setters to all theme color properties so themes can set
  19054. their color schemes. The setters also propagate the color changes
  19055. to System.Drawing.KnownColors via reflection
  19056. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  19057. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  19058. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  19059. use the new, more logical theme color names
  19060. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  19061. post-NT colors
  19062. * ThemeWin32Classic.cs:
  19063. - Removed code to set the old classic Windows colors. Instead it
  19064. now relies on the colors returned by System.Drawing.KnownColors
  19065. which will be either modern static colors (Unix) or colors
  19066. read from the user's configuration (Win32)
  19067. - Updated to use the new, more logical theme color names
  19068. - Switched DataGrid drawing code to use only Theme colors instead of
  19069. a mix of System.Drawing.KnownColors and Theme colors
  19070. - DrawFrameControl(): Removed code that fills the button area, the
  19071. fill would overwrite any previous fill done by a control. This
  19072. fixes bug #75338
  19073. - Added DrawReversibleRectangle() stub
  19074. * ScrollableControl.cs: Set visible state to false when scrollbars
  19075. are removed (pdn fix)
  19076. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  19077. DrawReversibleRectangle() method to allow drawing primitive
  19078. 'rubber bands'
  19079. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  19080. 2005-09-30 Kornél Pál <[email protected]>
  19081. * ImageList.cs: Add(Icon): Create handle.
  19082. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  19083. * ListView.cs:
  19084. * ThemeWin32Classic.cs:
  19085. - Fixes detail mode
  19086. - Sets clippings
  19087. - Issues with drawing
  19088. 2005-09-30 Kornél Pál <[email protected]>
  19089. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  19090. source has to be the ImageList.
  19091. 2005-09-30 Kornél Pál <[email protected]>
  19092. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  19093. 2005-09-30 Kornél Pál <[email protected]>
  19094. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  19095. 2005-09-30 Kornél Pál <[email protected]>
  19096. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  19097. 2005-09-29 Jonathan Chambers <[email protected]>
  19098. * GridItem.cs: Fixed TODOs
  19099. * GridItemCollection.cs: Added ICollection interface
  19100. 2005-09-30 Kornél Pál <[email protected]>
  19101. * ImageList.cs: Resize icons when needed.
  19102. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  19103. * ListViewItem.cs
  19104. - Fixes GetBounds and returns on screen rects
  19105. * ListView.cs:
  19106. - Fixes vertical and horzintal scrolling of items
  19107. * ThemeWin32Classic.cs:
  19108. - Fixes drawing
  19109. 2005-09-29 Raja R Harinath <[email protected]>
  19110. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  19111. 2005-09-29 Kornél Pál <[email protected]>
  19112. * ImageList.cs: Added comments about handle creation. Moved Handle,
  19113. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  19114. Handle is created in Add methods.
  19115. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  19116. * DataGridDrawingLogic.cs:
  19117. - Takes rows into account on Colum calculations
  19118. - Returns the column when clickig
  19119. * DataGrid.cs:
  19120. - Fixes default HitTestInfo values
  19121. - Fixes HitTestInfo.ToString
  19122. - Fixes ResetBackColor
  19123. 2005-09-28 Jackson Harper <[email protected]>
  19124. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  19125. sizing or cursor changes). Also added some temp code to draw the
  19126. titlebars text (Makes dev a little easier).
  19127. 2005-09-28 Kornél Pál <[email protected]>
  19128. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  19129. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  19130. * ListBox.cs: Fixes bug 76253
  19131. 2005-09-28 Kornél Pál <[email protected]>
  19132. * ImageList.cs: Added comments about the current implementation. Added
  19133. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  19134. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  19135. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  19136. with Bitmap.LockBits for better performance. Revised the whole file to
  19137. match MS.NET behaviour and provide better performance. Non-public
  19138. interface members are calling public members even when they throw
  19139. NotSupportedException for better maintainability. Moved ColorDepth,
  19140. ImageSize, ImageStream and TransparentColor implementations to
  19141. ImageCollection for better performance as these properties are not used
  19142. by ImageList.
  19143. * ImageListStreamer.cs: Added a new internal constructor that takes an
  19144. ImageList.ImageCollection and serializes Images based on
  19145. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  19146. match ImageList property name.
  19147. 2005-09-28 Kazuki Oikawa <[email protected]>
  19148. * ListBox.cs: Fixes IndexFromPoint for last item
  19149. 2005-09-27 Jackson Harper <[email protected]>
  19150. * Form.cs: Set the position of new mdi children correctly.
  19151. 2005-09-27 Jackson Harper <[email protected]>
  19152. * MdiClient.cs: New mdi children need to be added to the back of
  19153. the controls collection so the zorder is set correctly. Also add a
  19154. count of all the child windows that have been created.
  19155. 2005-09-27 Jackson Harper <[email protected]>
  19156. * Form.cs (CreateParams): Setup MDI forms correctly.
  19157. 2005-09-27 Jackson Harper <[email protected]>
  19158. * MdiChildContext.cs:
  19159. * MonthCalendar.cs:
  19160. * UpDownBase.cs:
  19161. * ListBox.cs:
  19162. * ListView.cs:
  19163. * TextBoxBase.cs:
  19164. * TreeView.cs:
  19165. * ScrollableControl.cs:
  19166. * ComboBox.cs: Add implicit controls using the new implict control
  19167. functionality in ControlCollection. Also try to block multiple
  19168. control add in a suspend/resume layout to save some cycles.
  19169. 2005-09-27 Jackson Harper <[email protected]>
  19170. * Control.cs: Add functionality to the controls collection to add
  19171. 'implicit controls' these are controls that are created by the
  19172. containing control but should not be exposed to the user. Such as
  19173. scrollbars in the treeview.
  19174. * Form.cs: The list var of the ControlsCollection is no longer
  19175. available because of the potential of implicit controls getting
  19176. ignored by someone accessing the list directly.
  19177. 2005-09-26 Peter Dennis Bartok <[email protected]>
  19178. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  19179. loose it's parent. (Fixed bug introduced in r49103 when we added
  19180. setting the child parent to null on Remove)
  19181. 2005-09-26 Gert Driesen <[email protected]>
  19182. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  19183. * Splitter.cs: Added missing attributes for BorderStyle property.
  19184. * TextBoxBase.cs: Marked Calculate* methods internal.
  19185. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  19186. MS.NET.
  19187. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  19188. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  19189. 2005-09-25 Jackson Harper <[email protected]>
  19190. * TreeView.cs: Update the node bounds correctly regardless of
  19191. whether the node is visible.
  19192. 2005-09-25 Jackson Harper <[email protected]>
  19193. * ImageList.cs: Don't dispose the image after it is added to the
  19194. image list. Only reformat images that need to be resized.
  19195. 2005-09-25 Jackson Harper <[email protected]>
  19196. * ImageList.cs: Don't set the format when changing the image.
  19197. 2005-09-25 Jackson Harper <[email protected]>
  19198. * TreeView.cs: We can't just assume the node has a font. Use the
  19199. treeviews font if no node font is available.
  19200. 2005-09-25 Jackson Harper <[email protected]>
  19201. * TreeView.cs: Allow the scrollbars to be reset with negative
  19202. values.
  19203. - Don't add scrollbars to negative sized windows.
  19204. 2005-09-23 Jackson Harper <[email protected]>
  19205. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  19206. old Mono.Posix. Also remove some stray code that shouldn't have
  19207. been committed.
  19208. 2005-09-23 Jackson Harper <[email protected]>
  19209. * TreeView.cs: Attempt at proper sizing of the horizontal
  19210. scrollbar. Also don't resize the scrollbars unless they are
  19211. visible.
  19212. 2005-09-23 Jackson Harper <[email protected]>
  19213. * TreeView.cs: We don't need to expand the invalid area when the
  19214. selection changes, as this is all drawn in the node's bounding
  19215. box. The area needs to be expanded (previous typo was contracting
  19216. it) when the focus rect moves.
  19217. 2005-09-23 Jackson Harper <[email protected]>
  19218. * TreeView.cs: Display the selection box under the correct
  19219. circumstances. We were rendering white text with no selection box
  19220. before.
  19221. 2005-09-23 Peter Dennis Bartok <[email protected]>
  19222. * TextControl.cs(Split): Now updates selection start/end if it points
  19223. into a line that's being split. Fixes a FIXME and bug #75258
  19224. 2005-09-23 Jackson Harper <[email protected]>
  19225. * Binding.cs:
  19226. * ListControl.cs: Don't use the path when retrieving binding
  19227. managers from the binding context. My bat sense tells me that the
  19228. path is only used on insertion.
  19229. 2005-09-22 Jackson Harper <[email protected]>
  19230. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  19231. 2005-09-22 Jackson Harper <[email protected]>
  19232. * Splitter.cs: There are special cursors used for splitting.
  19233. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  19234. 2005-09-22 Jackson Harper <[email protected]>
  19235. * Splitter.cs: Change the cursor appropriately when the splitter
  19236. is moused over, so the user actually knows there is a splitter
  19237. there.
  19238. 2005-09-22 Hisham Mardam Bey <[email protected]>
  19239. * Label.cs : Fix ToString method to give same output as MS.NET
  19240. 2005-09-22 Jackson Harper <[email protected]>
  19241. * TreeView.cs: Create the scrollbars when the handle is created
  19242. and add them right away, just make them invisble. Also account for
  19243. the window being shrunk vertically to the point that the vert
  19244. scrollbar needs to be added.
  19245. - Remove some 0.5 adjustments to get around anti aliasing issues.
  19246. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  19247. * MainMenu.cs: Fixes default value
  19248. * MenuItem.cs: Fixes default value
  19249. 2005-09-22 Kazuki Oikawa <[email protected]>
  19250. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  19251. 2005-09-21 Jackson Harper <[email protected]>
  19252. * Control.cs: Don't try to set the border style on the window if
  19253. it hasn't been created. When the window is created the border
  19254. style will be used.
  19255. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19256. * Control.cs (Update): Don't call XplatUI if we don't have a
  19257. window handle yet
  19258. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19259. * ContainerControl.cs: Instead of throwing an exception, print
  19260. a one-time warning about Validate not being implemented
  19261. * XplatUIWin32.cs: Removed debug output
  19262. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19263. * Control.cs: Only set XplatUI background if we expect the windowing
  19264. system to handle the background. This stops controls that draw their
  19265. own background from flickering
  19266. * XplatUIX11.cs: Support custom visuals and colormaps for window
  19267. creation. This allows, amongst other things, using MWF X11 windows
  19268. with OpenGL.
  19269. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19270. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  19271. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  19272. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  19273. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  19274. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  19275. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  19276. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  19277. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  19278. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  19279. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  19280. GridColumnStylesCollection.cs,
  19281. IDataGridColumnStyleEditingNotificationService.cs,
  19282. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  19283. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  19284. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  19285. TreeNodeCollection.cs, AmbientProperties.cs,
  19286. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  19287. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  19288. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  19289. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  19290. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  19291. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  19292. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  19293. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  19294. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  19295. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  19296. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  19297. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  19298. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  19299. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  19300. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  19301. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  19302. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  19303. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  19304. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  19305. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  19306. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  19307. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  19308. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  19309. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  19310. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  19311. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  19312. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  19313. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  19314. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  19315. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  19316. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  19317. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  19318. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  19319. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  19320. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  19321. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  19322. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  19323. 2005-09-21 Jackson Harper <[email protected]>
  19324. * TreeNode.cs: Call Before/After Expand not Collapse when
  19325. expanding.
  19326. 2005-09-20 Jackson Harper <[email protected]>
  19327. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  19328. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  19329. * ListViewItem.cs:
  19330. - Fixes bug 76120
  19331. - Fixes proper storing of subitems
  19332. - Fixes not updated items
  19333. 2005-09-20 Peter Dennis Bartok <[email protected]>
  19334. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  19335. things if our window handle isn't created yet. Also disabled
  19336. debug for TextBoxBase
  19337. 2005-09-20 Peter Dennis Bartok <[email protected]>
  19338. * MenuAPI.cs: Remove filtering of events to allow menu usage
  19339. 2005-09-20 Miguel de Icaza <[email protected]>
  19340. * Cursor.cs: Allow null to be passed to Cursor.Current.
  19341. 2005-09-20 Alexander Olk <[email protected]>
  19342. * ThemeWin32Classic.cs:
  19343. - Change some private methods/fields to protected virtual so that
  19344. they can be accessed and overriden in derived classes
  19345. - First refactoring of some methods. Derived themes now don't
  19346. need to duplicate the complete code from ThemeWin32Classic
  19347. * ThemeNice.cs:
  19348. - Added nice StatusBar
  19349. - Derive from ThemeWin32Classic and not Theme
  19350. - Removed duplicate ThemeWin32Classic code
  19351. 2005-09-20 Miguel de Icaza <[email protected]>
  19352. * Control.cs (ControlCollection.Add): If the value null is passed
  19353. the control is ignored.
  19354. Optimize this loop.
  19355. 2005-09-19 Peter Dennis Bartok <[email protected]>
  19356. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  19357. PostQuitMessage state.
  19358. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  19359. 2005-09-19 Peter Dennis Bartok <[email protected]>
  19360. * Application.cs: Our constructor will never get called, move
  19361. initialization to fields; fixes bug #75933
  19362. 2005-09-19 Hisham Mardam Bey <[email protected]>
  19363. * FileDialog.cs :
  19364. - Allow files to be selected properly using file name
  19365. combo box.
  19366. - Add ability to change diretory (absolute / relative)
  19367. using file name combo box.
  19368. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  19369. * ListBox.cs:
  19370. - Fixes Multicolumn listboxes item wrong calculations
  19371. - Allows to click when only one item is in the listbox
  19372. - Fixes crash when no items using keyboard navigation
  19373. 2005-09-16 Alexander Olk <[email protected]>
  19374. * ComboBox.cs: Reverted almost everything from the latest patch which
  19375. broke ComboBox
  19376. 2005-09-16 Kazuki Oikawa <[email protected]>
  19377. * ToolTip.cs:
  19378. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  19379. * ComboBox.cs:
  19380. - When DropDownStyle is Simple, it does not show scrollbar
  19381. to the last item of the list.
  19382. - When DropDownStyle is Simple, it crashed when the list was
  19383. scrolled down with the down cursor key.
  19384. - Fixed a bug that when DropDownStyle is DropDownList, the
  19385. selected item was not shown.
  19386. - The position of the selected item was not preserved when
  19387. the next dropdown happened.
  19388. * ThemeWin32Classic.cs:
  19389. - Items were wrapped at the right end.
  19390. * CheckedListBox.cs:
  19391. - Fixed Add method
  19392. * ListBox.cs:
  19393. - Items should be fully shown.
  19394. - When resizing and vertical scrollbar disappeared, the item
  19395. of index 0 should be on the top of the list.
  19396. - GetItemRectangle should consider the size of ver. scrollbar
  19397. * StatusBar.cs:
  19398. - SizingGrip area should not be allocated when it is not
  19399. displayed.
  19400. - Now it reflects MinWidth of the containing panel and
  19401. fixed a crash that happens when its width becomes so small.
  19402. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  19403. * CheckedListBox.cs: Fixes bug 76028
  19404. * ListBox.cs: Fixes bug 76028
  19405. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  19406. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  19407. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  19408. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  19409. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  19410. 2005-09-09 Jonathan Chambers <[email protected]>
  19411. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  19412. 2005-09-09 Jonathan Chambers <[email protected]>
  19413. * IRootGridEntry.cs: Added
  19414. * PropertyGridCommands.cs: Added
  19415. * PropertiesTab.cs: Added missing methods and property
  19416. * PropertyGridView.cs: Made class internal
  19417. * PropertyGridTextBox.cs: Made class internal
  19418. 2005-09-09 Alexander Olk <[email protected]>
  19419. * MimeIcon.cs: Try to check some other environment variables
  19420. if "DESKTOP_SESSION" returns "default"
  19421. 2005-09-09 Alexander Olk <[email protected]>
  19422. * ThemeNice.cs: Corrected background colors (e.g. menus)
  19423. * ColorDialog.cs: Use correct background colors for controls
  19424. 2005-09-09 Alexander Olk <[email protected]>
  19425. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  19426. 2005-09-08 Peter Dennis Bartok <[email protected]>
  19427. * RichTextBox.cs: Added initial implementation
  19428. * lang.cs: Removed. Was accidentally checked in long time ago
  19429. * TODO: Removed. Contents were obsolete
  19430. 2005-09-06 Jonathan Chambers <[email protected]>
  19431. * PropertiesTab.cs : Added
  19432. 2005-09-06 Jonathan Chambers <[email protected]>
  19433. * PropertyGrid.cs : Update
  19434. * PropertyGridView.cs : Update
  19435. * System.Windows.Forms.resx : Added images and strings
  19436. 2005-09-06 Peter Dennis Bartok <[email protected]>
  19437. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  19438. 2005-09-06 Peter Dennis Bartok <[email protected]>
  19439. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  19440. a busy loop right after the Ungrab the X11 display is otherwise
  19441. blocked
  19442. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  19443. * ThemeWin32Classic.cs: Optimise the use of clipping
  19444. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  19445. * DataGrid.cs: fixes recursion bug
  19446. 2005-09-03 Alexander Olk <[email protected]>
  19447. * ThemeNice.cs:
  19448. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  19449. - Cleanup
  19450. 2005-09-02 Alexander Olk <[email protected]>
  19451. * ThemeNice.cs: Draw nice ProgressBars
  19452. 2005-09-01 Miguel de Icaza <[email protected]>
  19453. * VScrollBar.cs: Another buglet found by Aaron's tool.
  19454. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  19455. bug finder.
  19456. 2005-08-30 Alexander Olk <[email protected]>
  19457. * ThemeNice.cs:
  19458. - Added nicer menu drawing
  19459. - Updated DrawTab
  19460. - some refactoring
  19461. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19462. * CreateParams.cs (ToString): Made output match MS
  19463. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  19464. handle is already created (to avoid forcing window creation)
  19465. * XplatUIX11.cs: Set window text to caption after creating window,
  19466. in case Text was set before window was created
  19467. * Form.cs: Use this.Text instead of a static string as caption
  19468. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19469. * NotifyIcon.cs: Don't set the window to visible; this screws
  19470. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  19471. OnPaint without a bitmap)
  19472. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  19473. happen very often anyway; we could add the check to the WM_PAINT
  19474. event generation code
  19475. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19476. * NotifyIcon.cs: Fill the icon area with a background color, to
  19477. avoid 'residue' when transparent icons are drawn
  19478. * XplatUIX11.cs:
  19479. - Handle whole_window == client_window when destroying windows
  19480. - SystrayAdd(): Set client_window to whole_window value to
  19481. get mouse and other events passed to NotifyIcon
  19482. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19483. * Form.cs: Set proper default for Opacity property
  19484. * NotifyIcon.cs:
  19485. - ShowSystray(): Don't bother creating telling the OS
  19486. about the systray item if no icon is provided
  19487. - Now handles WM_NCPAINT message to deal with whole/client window
  19488. split
  19489. - Create window as visible to not get caught by Expose optimization
  19490. * Hwnd.cs: Removed debug message
  19491. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  19492. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  19493. PaintEventStart/End to use new client argument
  19494. * TextBoxBase.cs:
  19495. - Commented out debug messages
  19496. - Switched PaintEventStart/End to use new client argument
  19497. * XplatUI.cs: Added client window bool to PaintEventStart()/
  19498. PaintEventEnd() calls, to support drawing in non-client areas
  19499. * XplatUIDriver.cs:
  19500. - Added client window bool to PaintEventStart()/PaintEventEnd()
  19501. calls, to support drawing in non-client areas
  19502. - Added conditional compile to allow using MWF BeginInvoke
  19503. on MS runtime
  19504. * XplatUIX11.cs:
  19505. - Added some conditional debug output
  19506. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  19507. whole/client window split
  19508. - Implemented handling of client argument to PaintEventStart()/End()
  19509. * Control.cs:
  19510. - Throw exception if BeginInvoke() is called and the window handle
  19511. or one of the window's parent handles is not created
  19512. - Added conditional compile to allow using MWF BeginInvoke on
  19513. MS runtime
  19514. - get_Parent(): Only sets parent if handle is created. This avoids
  19515. forcing window handle creation when parent is set.
  19516. - Now fires Layout and Parent changed events in proper order
  19517. - Switched to use Handle instead of window.Handle for Z-Order setting,
  19518. the get_Parent() patch above causes us to possibly get null for 'window'
  19519. - Implemented handling of client argument to PaintEventStart()/End()
  19520. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  19521. default handling)
  19522. - Now sends a Refresh() to all child windows when Refresh() is called
  19523. 2005-08-29 Peter Dennis Bartok <[email protected]>
  19524. * Form.cs: Added (non-functional) Opacity property
  19525. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  19526. 2005-08-29 Alexander Olk <[email protected]>
  19527. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  19528. use export MONO_THEME=nice to activate it.
  19529. Currently supported controls:
  19530. - Button
  19531. - ComboBox
  19532. - ScrollBar
  19533. - TabControl (TabAlignment.Top only, other will follow)
  19534. * ThemeEngine.cs: Add theme nice
  19535. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  19536. if enabled
  19537. 2005-08-25 Jonathan Chambers <[email protected]>
  19538. * Splitter.cs: Resize docked control and its neighbor.
  19539. 2005-08-24 Rafael Teixeira <[email protected]>
  19540. -- Making Windows with Menus layout correctly --
  19541. * Form.cs : The first leg of the fix
  19542. Menu setter - adjust Client Size as needed to make space for the menu
  19543. SetClientSizeCore - doesn't call base version to be able to pass the
  19544. menu handle to XplatUI.CalculateWindowRect
  19545. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  19546. * XplatUIX11.cs: The critical second leg of the fix
  19547. GetWindowPos needs to use a recalculated client_rect
  19548. so that resizing the window doesn't break layout of child controls.
  19549. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  19550. Lots of \t\n killed
  19551. 2005-08-23 Peter Dennis Bartok <[email protected]>
  19552. * Label.cs: Now properly recalculates width and height on Font and Text
  19553. changes if AutoSize is set
  19554. 2005-08-19 Rafael Teixeira <[email protected]>
  19555. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  19556. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  19557. * ImageList.cs: Makes ToString method compatible with MS
  19558. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  19559. * MenuAPI.cs: fixes bug 75716
  19560. 2005-08-11 Umadevi S <[email protected]>
  19561. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  19562. 2005-08-11 Umadevi S <[email protected]>
  19563. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  19564. 2005-08-10 Umadevi S <[email protected]>
  19565. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  19566. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  19567. * Menu.cs: fixes bug 75700
  19568. * MenuAPI.cs: fixes navigation issues
  19569. 2005-08-09 Umadevi S <[email protected]>
  19570. * CheckedListBox.cs - simple fix for GetItemChecked.
  19571. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  19572. * ComboBox.cs: Serveral fixes
  19573. * ListBox.cs: Serveral fixes
  19574. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  19575. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  19576. * ListBox.cs: Fixes FindString methods
  19577. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  19578. * DataGrid.cs: fixes bugs exposed by new tests
  19579. 2005-08-04 Peter Dennis Bartok <[email protected]>
  19580. * Mime.cs: Compile Mono assembly references only if compiling
  19581. with Mono (Allows to build with VS.Net again)
  19582. 2005-07-28 Marek Safar <[email protected]>
  19583. * Control.cs (PaintControlBackground): Draw background image
  19584. corrrectly.
  19585. (CheckForIllegalCrossThreadCalls): Stubbed.
  19586. * Form.cs (OnCreateControl): Center when should be centered.
  19587. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  19588. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  19589. * Binding.cs: Binding to properties should be case unsensitive
  19590. 2005-07-18 [email protected]
  19591. * DataGrid.cs: fixes setmember order
  19592. 2005-07-07 Alexander Olk <[email protected]>
  19593. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  19594. * FileDialog.cs: FileDialog is now resizable and uses the new
  19595. MimeIconEngine
  19596. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  19597. * DataGridTextBoxColumn.cs: default value
  19598. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  19599. * GridTableStylesCollection.cs: fixes checking MappingName
  19600. * DataGridDrawingLogic.cs: fixes drawing logic issues
  19601. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  19602. * DataGrid.cs: fixes
  19603. 2005-07-06 Alexander Olk <[email protected]>
  19604. * MimeGenerated.cs: Use case sensitive comparer for
  19605. NameValueCollections
  19606. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  19607. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  19608. * ThemeWin32Classic.cs: bug fixes, code refactoring
  19609. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  19610. * DataGrid.cs: bug fixes, code refactoring
  19611. * DataGridTextBox.cs: bug fixes, code refactoring
  19612. * DataGridColumnStyle.cs: bug fixes, code refactoring
  19613. * Theme.cs: bug fixes, code refactoring
  19614. 2005-07-01 Peter Bartok <[email protected]>
  19615. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  19616. and other text box usage
  19617. 2005-07-01 Jackson Harper <[email protected]>
  19618. * TabControl.cs: Make sure the bottom of the tab covers the pages
  19619. border.
  19620. 2005-06-30 Peter Bartok <[email protected]>
  19621. * Form.cs (ShowDialog): Assign owner of the dialog
  19622. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  19623. might have been moved to a tag with different height
  19624. 2005-06-30 Jackson Harper <[email protected]>
  19625. * Form.cs: Don't create an infinite loop when setting focus
  19626. * MenuItem.cs: Don't dirty the parents if we don't have any
  19627. 2005-06-29 Ben Maurer <[email protected]>
  19628. * LibSupport.cs: Rename
  19629. 2005-06-29 Peter Bartok <[email protected]>
  19630. * TextBoxBase.cs: Re-align caret after deleting a character
  19631. * TextControl.cs:
  19632. - DeleteChars(): Ensure that tag covers the provided position
  19633. - StreamLine(): Drop reference for dropped tag
  19634. 2005-06-29 Peter Bartok <[email protected]>
  19635. * TextControl.cs:
  19636. - Selections now work properly, anchoring at the initial location
  19637. and properly extending in either direction (SetSelectionToCaret(),
  19638. SetSelectionStart() and SetSelectionEnd())
  19639. - No longer redraws the whole control on selection change, now
  19640. calculates delta between previous and new selection and only
  19641. invalidates/redraws that area
  19642. - Fixed FindPos() math off-by-one errors
  19643. - Changed DeleteChars() to verify the provided tag covers the
  19644. provided position, selections may have a tag that doesn't cover
  19645. the position if the selection is at a tag border
  19646. - Fixed off-by-one errors in DeleteChars()
  19647. - Added missing streamlining check in DeleteChars() to remove
  19648. zero-length tags
  19649. - Implemented Invalidate() method, now properly calculates exposures
  19650. between two given lines/positions
  19651. - Implemented SetSelection()
  19652. - Obsoleted and removed FixupSelection()
  19653. - Improved RecalculateDocument() logic, removing code duplication
  19654. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  19655. * LibSupport.cs: changes to match different input/output arguments.
  19656. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  19657. * LibSupport.cs: added libsupport.so init routine.
  19658. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  19659. * ControlBindingsCollection.cs
  19660. - Throws an exception on null datasource when adding
  19661. - Checks for duplicated bindings when adding
  19662. 2005-06-28 Jackson Harper <[email protected]>
  19663. * TreeView.cs (OnKeyDown): Support left and right properly
  19664. (navigates as well as expanding and collapsing.
  19665. - Add support for Multiply, this expands all the selected nodes
  19666. children.
  19667. - Fix some tabbing.
  19668. 2005-06-28 Jackson Harper <[email protected]>
  19669. * TreeView.cs: Implement keyboard navigation, currently supports,
  19670. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  19671. support for toggling checkboxes with the space bar.
  19672. 2005-06-28 Jackson Harper <[email protected]>
  19673. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  19674. tree.
  19675. 2005-06-28 Jackson Harper <[email protected]>
  19676. * TreeView.cs: Add missing event.
  19677. 2005-06-27 Peter Bartok <[email protected]>
  19678. * TextControl.cs:
  19679. - Made line ending size configurable (now allows for counting
  19680. lineendings as \n or \r\n)
  19681. - Added margin to viewport to keep caret visible on right side
  19682. - Fixed translation routines for line/pos to documentpos to consider
  19683. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  19684. - Fixed some line-endings to be unix style
  19685. - Fixed Document.FormatText to perform it's calculations 1-based
  19686. - Added descriptions for a few methods that might otherwise get
  19687. used wrong
  19688. - Added NOTE section with some basic conventions to remember at
  19689. the top of the file
  19690. - Major fixup for RichTextBox selection drawing:
  19691. * Fixed crashes when multiple tags on a single line were selected
  19692. * fixed selection box drawing not overlaying text
  19693. * fixed bogus offset calculation for tags not starting at index 1
  19694. * Switched behaviour from using multiple Substrings of a
  19695. StringBuilder.ToString() to using multiple
  19696. StringBuilder.ToString(start, length) statements, hoping this is
  19697. faster (kept original version commented out in the code, in case
  19698. original version was faster)
  19699. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  19700. alignment != Left
  19701. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  19702. call it as well
  19703. 2005-06-27 Jackson Harper <[email protected]>
  19704. * TabControl.cs: Move to the left and right with the arrow
  19705. keys. These keys don't cycle beyond first and last like
  19706. tab. Refresh all the tabs when scrolling them to the left or
  19707. right.
  19708. 2005-06-27 Jackson Harper <[email protected]>
  19709. * TabControl.cs:
  19710. - ToString: Added method
  19711. - CreateParams: Remove TODO and comment
  19712. - OnKeyDown: Cycle through bounds properly.
  19713. - SelectedIndex: Scroll to the right or left if we need to
  19714. display the newly selected tab.
  19715. 2005-06-23 Jackson Harper <[email protected]>
  19716. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  19717. set.
  19718. 2005-06-23 Jackson Harper <[email protected]>
  19719. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  19720. CTRL-SHIFT-TAB, and HOME, END are there any others?
  19721. 2005-06-23 Jackson Harper <[email protected]>
  19722. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  19723. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  19724. * DataGridTextBoxColumn.cs: fixes and enhancements
  19725. * ThemeWin32Classic.cs: fixes and enhancements
  19726. * DataGridBoolColumn.cs: fixes and enhancements
  19727. * DataGridDrawingLogic.cs: fixes and enhancements
  19728. * CurrencyManager.cs: fixes and enhancements
  19729. * DataGrid.cs: fixes and enhancements
  19730. * DataGridColumnStyle.cs: fixes and enhancements
  19731. 2005-06-22 Jackson Harper <[email protected]>
  19732. * TabControl.cs: Add some missing methods that just call into the
  19733. base. Make the TabPageCollection's IList interface behave in the
  19734. same manner as the MS implementation.
  19735. 2005-06-22 Peter Bartok <[email protected]>
  19736. * TextControl.cs: Added sanity check
  19737. * TextBoxBase.cs:
  19738. - Fixed wrapping behaviour, don't set wrap on single line controls
  19739. (this fixes the breakage of colordialog introduced in an earlier
  19740. checkin)
  19741. - Added rudimentary support for autoscrolling right-aligned controls
  19742. (still needs fixing, also, center alignment scroll is missing)
  19743. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  19744. * ScrollBar.cs: Fixes thumbpos on Maximum values
  19745. 2005-06-21 Jonathan Chambers <[email protected]>
  19746. * PropertyGridView.cs: Pass context information to UITypeEditors
  19747. 2005-06-21 Peter Bartok <[email protected]>
  19748. * TextBoxBase.cs:
  19749. - Now calling PositionCaret with absolute space coordinates
  19750. - Enabled vertical scrolling
  19751. - Better tracking of scrollbar changes, tied into WidthChange
  19752. event
  19753. - Improved cursor tracking
  19754. - Removed debug output
  19755. * TextControl.cs:
  19756. - PositionCaret coordinates are now works in absolute space, not
  19757. the canvas
  19758. - Improved tracking of document size
  19759. - Added events for width and height changes
  19760. 2005-06-21 Peter Bartok <[email protected]>
  19761. * Form.cs: Set focus to active control when form is activated
  19762. * TextControl.cs:
  19763. - Added word-wrap functionality to RecalculateLine()
  19764. - Added some short function descriptions for VS.Net to aid in
  19765. writing dependent controls
  19766. - Added Caret property, returning the current coords of the caret
  19767. - Added ViewPortWidth and ViewPortHeight properties
  19768. - Added Wrap property
  19769. - Added CaretMoved event
  19770. - Removed some old debug code
  19771. - Split() can now create soft splits
  19772. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  19773. - Added method to format existing text
  19774. - Fixed size/alignment calculations to use viewport
  19775. - RecalculateDocument now can handle changing line-numbers while
  19776. calculating lines
  19777. * TextBox.cs:
  19778. - Added some wrap logic, we don't wrap if alignment is not left
  19779. - Added casts for scrollbar var, base class switched types to
  19780. also support RichTextBoxA
  19781. - Implemented handling of scrollbar visibility flags
  19782. * TextBoxBase.cs:
  19783. - Switched scrollbars type to RichTextBoxScrollBars to support
  19784. RichTextBox
  19785. - Added tracking of canvas width/height
  19786. - Switched scrollbars to be not selectable (to keep focus on text)
  19787. - Added central CalculateDocument() method to handle all redraw
  19788. requirements
  19789. - Added ReadOnly support
  19790. - Added WordWrap support
  19791. - Fixed handling of Enter key (we now treat it as a DialogKey)
  19792. - Fixed caret positioning when h or v scroll is not zero
  19793. - Fixed placing/generation of vertical scrollbar
  19794. - Added CalculateScrollBars() method to allow updating scrollbar
  19795. limits and visibility
  19796. - Fixed handling of horizontal scroll
  19797. - Added handling of vertical scroll
  19798. - Implemented auto-'jump' when caret moves to close to a left or
  19799. right border and there is text to be scrolled into view (currently
  19800. there's the potential for a stack overflow, until a bug in
  19801. scrollbar is fixed)
  19802. 2005-06-21 Geoff Norton <[email protected]>
  19803. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  19804. 2005-06-19 Alexander Olk <[email protected]>
  19805. * Mime.cs:
  19806. - added inodes.
  19807. - return application/x-zerosize for files with size zero
  19808. (if no extension pattern matches).
  19809. - check matches collection for strings too.
  19810. - return only the first mime type if the name value
  19811. collection has more than one mime type.
  19812. 2005-06-18 Jonathan Chambers <[email protected]>
  19813. * PropertyGrid.cs: Cleaned up some TODOs
  19814. * PropertyGridView.cs: Added support for UITypeEditors
  19815. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  19816. * DataGrid.cs: clears cached value
  19817. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  19818. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  19819. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  19820. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  19821. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  19822. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  19823. * ThemeWin32Classic.cs: fixes colour
  19824. 2005-06-15 Peter Bartok <[email protected]>
  19825. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  19826. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  19827. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  19828. * Control.cs: Added some MWFCategory and MWFDescription attributes
  19829. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  19830. 2005-06-15 Alexander Olk <[email protected]>
  19831. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  19832. usage
  19833. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  19834. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  19835. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  19836. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  19837. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  19838. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  19839. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  19840. 2005-06-13 Jackson Harper <[email protected]>
  19841. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  19842. isn't printed when the user enables dropping. (X11 does accept
  19843. drops).
  19844. 2005-06-13 Jackson Harper <[email protected]>
  19845. * TreeView.cs: Remove some TODOS.
  19846. 2005-06-13 Jackson Harper <[email protected]>
  19847. * Form.cs: Hook into the mdi framework.
  19848. * MdiClient.cs: Use the base control collections add method so
  19849. parents get setup correctly. Set the default back colour and dock
  19850. style.
  19851. * MdiChildContext.cs: New class, this bad actor handles an
  19852. instance of an MDI window. Right now there is only basic
  19853. support. You can drag, close, and resize windows. Minimize and
  19854. Maximize are partially implemented.
  19855. 2005-06-13 Jackson Harper <[email protected]>
  19856. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  19857. freaky when both vals are negative. NOTE: There are probably other
  19858. places in XplatUIX11 that this needs to be done.
  19859. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  19860. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  19861. * DataGridColumnStyle.cs: fixes signature
  19862. 2005-06-12 Jackson Harper <[email protected]>
  19863. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  19864. windows.
  19865. 2005-06-11 Jackson Harper <[email protected]>
  19866. * StatusBarPanel.cs: Signature cleanups. Implement
  19867. BeginInit/EndInit.
  19868. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  19869. * DataGridTextBoxColumn.cs: Honors aligment
  19870. * GridColumnStylesCollection.cs: Contains is case unsensitive
  19871. * GridTableStylesCollection.cs: several fixes
  19872. * DataGridTableStyle.cs: default column creation
  19873. * DataGridDrawingLogic.cs: fixes
  19874. * CurrencyManager.cs: ListName property
  19875. * DataGrid.cs: multiple styles support
  19876. * DataGridColumnStyle.cs: fixes
  19877. 2005-06-10 Peter Bartok <[email protected]>
  19878. * Control.cs(Select): Moved SetFocus call to avoid potential
  19879. loops if controls change the active control when getting focus
  19880. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  19881. the up/down buttons
  19882. 2005-06-10 Matthias Felgner <[email protected]>
  19883. * ImageListConverter.cs: Implemented
  19884. 2005-06-10 John BouAntoun <[email protected]>
  19885. * MonthCalendar.cs: Wired in NumericUpDown control for year
  19886. 2005-06-10 John BouAntoun <[email protected]>
  19887. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  19888. DoubleClick events, since they are not meant to be fired.
  19889. 2005-06-09 Peter Bartok <[email protected]>
  19890. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  19891. Jonathan's standalone controls into MWF, implemented missing
  19892. events, attributes and methods; added xxxAccessible classes
  19893. * AccessibleObject.cs: Made fields internal so other classes
  19894. can change them if needed
  19895. 2005-06-09 Jonathan Gilbert <[email protected]>
  19896. * UpDownBase.cs: Complete implementation
  19897. * NumericUpDown.cs: Complete implementation
  19898. * DomainUpDown.cs: Complete implementation
  19899. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  19900. * DataGridTextBoxColumn.cs: drawing fixes
  19901. * DataGridCell.cs: fixes ToString method to match MSNet
  19902. * DataGridTableStyle.cs: fixes
  19903. * DataGridBoolColumn.cs: fixes, drawing
  19904. * DataGridDrawingLogic.cs: fixes, new methods
  19905. * DataGridTextBox.cs: Keyboard and fixes
  19906. * DataGrid.cs:
  19907. - Keyboard navigation
  19908. - Scrolling fixes
  19909. - Row selection (single, multiple, deletion, etc)
  19910. - Lots of fixes
  19911. 2005-06-07 Jackson Harper <[email protected]>
  19912. * ThemeWin32Classic.cs: Clear the background area when drawing
  19913. buttons.
  19914. 2005-06-06 Peter Bartok <[email protected]>
  19915. * ImageListStreamer.cs: Fixed signature for GetData
  19916. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  19917. * ComboBox.cs:
  19918. - Added missing ChildAccessibleObject class
  19919. - Added missing OnXXXFocus overrides, switched to using those
  19920. instead of the event handler
  19921. * Control.cs:
  19922. - Added Parent property for ControlAccessibleObject
  19923. - Fixed signatures
  19924. - Fixed attributes
  19925. - Added ResetBindings()
  19926. * ListBindingConverter.cs: Implemented some methods
  19927. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  19928. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  19929. * ContainerControl.cs: Fixed signature, now subscribing to the
  19930. ControlRemoved event instead of overriding the handler, LAMESPEC
  19931. * CurrencyManager.cs: Added missing attribute
  19932. * MonthCalendar.cs: Added missing properties
  19933. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19934. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  19935. 2005-06-06 Gaurav Vaish and Ankit Jain
  19936. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19937. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19938. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19939. * Control.cs: fixes CreateParams Width / Height.
  19940. 2005-06-05 Peter Bartok <[email protected]>
  19941. * Win32DnD.cs: Removed compilation warnings
  19942. 2005-06-05 Peter Bartok <[email protected]>
  19943. * Control.cs (CreateParams): Since we don't know if one of the
  19944. properties we use is overridden, lets make sure if we fail accessing
  19945. we continue with a backup plan
  19946. 2005-06-05 Peter Bartok <[email protected]>
  19947. * Win32DnD.cs:
  19948. - Removed debug output
  19949. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  19950. struct
  19951. - Plugged resource leak
  19952. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  19953. MS size
  19954. 2005-06-05 Peter Bartok <[email protected]>
  19955. * XplatUIWin32.cs: Removed DnD code
  19956. * Win32DnD.cs: Implemented drop source and drop target functionality
  19957. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  19958. * UpDownBase.cs: remove duplicate addition of event, enable some code
  19959. that was commented out.
  19960. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  19961. Validate input when a key is pressed. It works fine now for every
  19962. combination of Hexadecimal. Only missing some drawing love when sharing
  19963. space with other controls.
  19964. 2005-06-04 Peter Bartok <[email protected]>
  19965. * Control.cs:
  19966. - We need to pass a window for DragDrop, so enable callback events
  19967. - Added DnD callback events when being a DragSource
  19968. * XplatUI.cs (StartDrag): Added window handle argument
  19969. * XplatUIDriver.cs (StartDrag): Added window handle argument
  19970. * QueryContinueDragEventArgs: Made fields internally accessible so
  19971. drivers can set them
  19972. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  19973. can set them
  19974. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  19975. * DataGridTextBoxColumn.cs: column text editing
  19976. * DataGridTableStyle.cs: Respect columns styles created by the user
  19977. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  19978. * DataGridBoolColumn.cs: bool column editing
  19979. * DataGrid.cs: fixes to scrolling, properties, etc
  19980. * DataGridTextBox.cs: handle keyboard
  19981. * DataGridColumnStyle.cs: fixes
  19982. 2005-06-02 Jackson Harper <[email protected]>
  19983. * ImageListStreamer.cs: Somewhat broken implementation of
  19984. GetObjectData. The RLE needs some work to match MS properly.
  19985. 2005-06-02 Jackson Harper <[email protected]>
  19986. * X11Dnd.cs: Attempting to keep at least one file in MWF
  19987. monostyled.
  19988. 2005-06-02 Peter Bartok <[email protected]>
  19989. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  19990. that way
  19991. 2005-06-02 Peter Bartok <[email protected]>
  19992. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  19993. * XplatUI.cs: Added DoDragDrop() method
  19994. * XplatUIDriver.cs: Added DoDragDrop() method
  19995. 2005-06-02 Jackson Harper <[email protected]>
  19996. * Splitter.cs: Implement BorderStyle.
  19997. 2005-06-02 Jackson Harper <[email protected]>
  19998. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  19999. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  20000. X11 using XDND.
  20001. 2005-06-02 Peter Bartok <[email protected]>
  20002. * DataObject.cs:
  20003. - Added Data setter
  20004. - Fixed broken insertion code for SetData, now also
  20005. overwrites any existing entry of the same format name
  20006. * Hwnd.cs: Added list of pointers that automatically gets
  20007. freed when the window is disposed
  20008. * XplatUI.cs: Call driver initialization method when loading
  20009. a driver
  20010. * Control.cs:
  20011. - OnDragLeave takes EventArgs, not DragEventArgs
  20012. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  20013. supported
  20014. - Forces style update when drop state changes
  20015. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  20016. not perfect since we cannot (yet) call the IDataObject.GetData()
  20017. method, we keep getting 0x80004005 error, dunno why)
  20018. 2005-06-02 Peter Bartok <[email protected]>
  20019. * DragEventArgs.cs: Make fields internal so we can cache the
  20020. object and re-set the fields from XplatUI
  20021. 2005-06-02 Jackson Harper <[email protected]>
  20022. * Control.cs: Add some internal methods so the DnD subsystem can
  20023. raise DnD events. Also call into the driver when AllowDrop is set.
  20024. * XplatUI.cs:
  20025. * XplatUIDriver.cs: New method for setting whether or not a window
  20026. is allowed to accept drag and drop messages.
  20027. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  20028. * ScrollBar.cs: Make sure that values sent in Scroll events
  20029. are always between Maximum and Minimum.
  20030. 2005-06-01 Marek Safar <[email protected]>
  20031. * Menu.cs: Call MenuChanged when menuitem visibility has been
  20032. changed.
  20033. * MenuItem.cs: Rebuild menu when item is (not) visible.
  20034. * MainMenu.cs: MainMenu has special MenuChanged.
  20035. * Theme.cs: Caption and FrameBorderSize are not fixed.
  20036. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  20037. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  20038. * XplatUIX11.cs,
  20039. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  20040. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  20041. 2005-05-30 Jackson Harper <[email protected]>
  20042. * DataFormat.cs: We can't statically initialize this stuff because
  20043. it calls into the xplatui and could create a loop. So we lazy init
  20044. it.
  20045. 2005-05-28 Jackson Harper <[email protected]>
  20046. * Control.cs: Proper implementation of Product(Name/Version).
  20047. 2005-05-27 Jackson Harper <[email protected]>
  20048. * DataObject.cs: Dont crash if no data is found.
  20049. 2005-05-26 Rafael Teixeira <[email protected]>
  20050. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  20051. as per status page, guessing it should be set to true
  20052. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  20053. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  20054. * DataGridTableStyle.cs: set proper formatting text, def header text
  20055. * ThemeWin32Classic.cs: new themable paramaters
  20056. * DataGridBoolColumn.cs: paint check box, get data, fixes
  20057. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  20058. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  20059. * DataGridColumnStyle.cs: fixes
  20060. * Theme.cs: new themable paramaters
  20061. 2005-05-26 Peter Bartok <[email protected]>
  20062. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  20063. 2005-05-24 Jonathan S. Chambers <[email protected]>
  20064. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  20065. 2005-05-24 Peter Bartok <[email protected]>
  20066. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  20067. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  20068. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  20069. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  20070. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  20071. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  20072. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  20073. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  20074. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  20075. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  20076. missing attributes, etc
  20077. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  20078. 2005-05-24 Peter Bartok <[email protected]>
  20079. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  20080. when user tries to get help
  20081. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  20082. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  20083. to suppress warnings
  20084. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  20085. avoid unreachable code warning
  20086. 2005-05-20 Peter Bartok <[email protected]>
  20087. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  20088. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  20089. * DataGridTextBoxColumn.cs: Basic painting methods
  20090. * DataGridTableStyle.cs: Set table style in the column
  20091. * ThemeWin32Classic.cs: Use Theme for colors
  20092. * DataGridDrawingLogic.cs: Implement more drawing
  20093. * DataGrid.cs: drawing, theming, enhacements, fixes
  20094. * DataGridColumnStyle.cs: fixes, drawing
  20095. * Theme.cs: theming for Datagrid
  20096. 2005-05-20 Peter Bartok <[email protected]>
  20097. * Cursor.cs: Implemented GetObjectData() method
  20098. 2005-05-20 Peter Bartok <[email protected]>
  20099. * Cursors.cs: Added setting of cursor name
  20100. * Cursor.cs:
  20101. - Implemented constructors
  20102. - Implemented Draw and DrawStretched
  20103. - Implemented Current property
  20104. - Implemented == and != operators
  20105. - Implemented Dispose()
  20106. - Implemented ToString
  20107. - Added missing attributes
  20108. * XplatUIX11.cs:
  20109. - Added missing reset for OverrideCursor when DoEvents is called
  20110. - Fixed creation of cursor, logic was wrong
  20111. * XplatUIWin32.cs:
  20112. - Added missing reset for OverrideCursor when DoEvents is called
  20113. - Fixed creation of cursor, bit arrays were swapped
  20114. * Clipboard.cs: Removed obsolete MonoTODO attribute
  20115. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  20116. * ComboBox.cs: fixes OnSelectedItemChanged
  20117. * ControlBindingsCollection.cs: fixes item range check
  20118. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  20119. * UpDownBase.cs:
  20120. - Calc preferred height properly
  20121. - Implement missing properties
  20122. * NumericUpDown.cs: Implement missing events
  20123. 2005-05-19 Jackson Harper <[email protected]>
  20124. * TabControl.cs: New method that resizes the tab pages before
  20125. redrawing them. This as needed as the control is double buffered
  20126. and sizing will not be recalculated unless ResizeTabPages is
  20127. called.
  20128. * TabPage.cs: Set base.Text instead of Text in the constructor so
  20129. that UpdateOwner does not get called. Use the new Redraw method of
  20130. TabControl instead of Refresh so the sizing is recalculated.
  20131. * ThemeWin32Classic.cs: Draw the text for button tabs.
  20132. 2005-05-19 Jackson Harper <[email protected]>
  20133. * Control.cs: Paint control background images. Fix typo where
  20134. PaintControlBackground was not getting called correctly.
  20135. 2005-05-19 Peter Bartok <[email protected]>
  20136. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  20137. I can investigate, apparently I broke FileDialog
  20138. 2005-05-19 Marek Safar <[email protected]>
  20139. * AxHost.cs: Some simple properties.
  20140. * Control.cs: window must be accessible after ctor.
  20141. * Form.cs: Added TransparencyKey property.
  20142. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  20143. * XplatUIWin32.cs: SetBorderStyle implemented.
  20144. 2005-05-18 Peter Bartok <[email protected]>
  20145. * DataObject.cs: Entries are not global but particular to the
  20146. DataObject, now it behaves that way
  20147. * XplatUIWin32.cs: Implemented Clipboard methods
  20148. * Clipboard.cs: Implemented
  20149. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  20150. * XplatUIOSX.cs: Updated to final clipboard prototypes
  20151. * XplatUIX11.cs: Implemented Clipboard methods
  20152. * XplatUIDriver.cs: Updated to final clipboard prototypes
  20153. * XplatUIStructs.cs:
  20154. - Added BITMAPINFOHEADER struct
  20155. - Added ClipboardFormats enum
  20156. * X11Structs.cs:
  20157. - Added ClipboardStruct
  20158. - Added Atom enum items for clipboard types
  20159. - Fixed atom types for Selection event structures
  20160. * DataFormats.cs:
  20161. - Added internal properties and methods for drivers to enumerate
  20162. all known formats
  20163. - Switched initialization method to allow drivers to assign their
  20164. own IDs even for the MS predefined clipboard IDs
  20165. * XplatUI.cs: Updated to final clipboard interface
  20166. 2005-05-18 Jonathan S. Chambers <[email protected]>
  20167. * PropertyGridView.cs: Fixed compiler warnings.
  20168. 2005-05-18 Jonathan S. Chambers <[email protected]>
  20169. * PropertyGrid.cs: Added some event calls
  20170. * PropertyGridView.cs: Change drawing code to use double buffering
  20171. * PropertyGridTextBox.cs: Changed Text property name
  20172. * GridItem.cs: Added Bounds property.
  20173. * GridEntry.cs: Added Bounds property.
  20174. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  20175. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  20176. since GetType() may not return the correct type if the object is
  20177. a remoting proxy.
  20178. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  20179. * TreeNodeCollection.cs: fixes get/set item ranges
  20180. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  20181. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  20182. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  20183. * ComboBox.cs: Fix item range comparation
  20184. * ListView.cs: Fix item range comparation
  20185. 2005-05-03 Alexander Olk <[email protected]>
  20186. * FontDialog.cs:
  20187. - Clear example panel when OnPaint is called
  20188. - Better solution for displaying the example panel text
  20189. - Select default indexes in the ListBoxes
  20190. 2005-05-11 Geoff Norton <[email protected]>
  20191. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  20192. 2005-05-11 Peter Bartok <[email protected]>
  20193. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  20194. * SelectionRangeConverter.cs: Implemented
  20195. * PropertyGrid.cs: Fixed attribute value
  20196. * Control.cs:
  20197. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  20198. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  20199. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  20200. that's common to all drivers. First methods to go there are
  20201. Sebastien Pouliot's CAS Stack Propagation helper methods
  20202. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  20203. Sebastien Pouliot for CAS Stack Propagation
  20204. 2005-05-11 Geoff Norton <[email protected]>
  20205. * OSXStructs.cs:
  20206. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  20207. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  20208. * DataGridTextBoxColumn.cs: fixed some members
  20209. * GridColumnStylesCollection.cs: indexed column is case insensitive
  20210. * DataGridTableStyle.cs: fixes
  20211. * ThemeWin32Classic.cs: add new theme parameter
  20212. * Theme.cs: add new theme parameter
  20213. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  20214. * DataGrid.cs: fixes, new internal properties, etc.
  20215. * DataGridColumnStyle.cs: allows to set grid value
  20216. *
  20217. 2005-05-10 Peter Bartok <[email protected]>
  20218. * AccessibleObject.cs:
  20219. - Removed MonoTODO attribute on help, method is correct
  20220. - Fixed Bounds property
  20221. * AxHost.cs: Moved MonoTODO
  20222. * ButtonBase.cs: Now setting AccessibleObject properties
  20223. * RadioButton.cs: Setting proper AccessibleObject role
  20224. * CheckBox.cs: Setting proper AccessibleObject role
  20225. * ControlBindingsCollection.cs: Added properties, methods and attributes
  20226. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  20227. userdefined DataFormats.Format items as well
  20228. * ListControl.cs: Removed data_member from the public eye
  20229. * OpenFileDialog.cs:
  20230. - Made class sealed
  20231. - Added missing attributes
  20232. * SaveFileDialog.cs: Added missing attributes
  20233. * ImageListStreamer.cs: Fixed code that caused warnings
  20234. * LinkLabel.cs: Removed unreachable code
  20235. * TreeView.cs: Fixed code that caused warnings
  20236. * PropertyGridView.cs: Fixed code that caused warnings
  20237. * GridColumnStylesCollection.cs: Added missing attributes
  20238. * GridTableStylesCollection: Added missing attribute
  20239. * PropertyManager: Added .ctor
  20240. * SecurityIDType: Added
  20241. * DataObject.cs: Implemented class
  20242. * LinkArea.cs: Added missing attribute
  20243. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  20244. * RadioButton.cs: call base method to allow to fire OnClick event
  20245. * UpDownBase.cs: OnMouseUp call base method
  20246. * CheckedListBox.cs: call base method before returning
  20247. * TrackBar.cs: call base method before returning
  20248. 2005-05-10 Peter Bartok <[email protected]>
  20249. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  20250. for messages
  20251. 2005-05-10 Peter Bartok <[email protected]>
  20252. * DataFormats.cs: Implemented
  20253. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  20254. XplatUIX11.cs: Added Clipboard APIs
  20255. * XplatUIWin32.cs: Implemented Clipboard APIs
  20256. * FolderBrowserDialog.cs: Added missing event, attributes
  20257. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  20258. * CheckBox.cs: call base method to allow to fire OnClick event
  20259. 2005-05-09 Sebastien Pouliot <[email protected]>
  20260. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  20261. 2005-05-06 Peter Bartok <[email protected]>
  20262. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  20263. * Screen.cs: Implemented
  20264. * HelpNavigator.cs: Added
  20265. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  20266. property
  20267. * HelpProvider.cs: Implemented all we can do until we have a CHM
  20268. help library (which means that "What's This" does work now)
  20269. 2005-05-06 Jackson Harper <[email protected]>
  20270. * XplatUIX11.cs: Fix waking up the main loop.
  20271. 2005-05-05 Peter Bartok <[email protected]>
  20272. * XplatUI.cs: Updated revision
  20273. * Form.cs: Removed enless loop
  20274. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  20275. * Label.cs (OnPaint): Added call to base.OnPaint()
  20276. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  20277. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  20278. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  20279. * AxHost.cs: Added
  20280. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  20281. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  20282. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  20283. reuse of ToolTipWindow by other controls
  20284. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  20285. * XplatUIX11.cs: Now clipping drawing area (experimental)
  20286. * PictureBox.cs: Moved base.OnPaint() call to end of method
  20287. * Theme.cs: Fixed ToolTip abstracts to match new format
  20288. * ErrorProvider.cs: Implemented
  20289. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  20290. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  20291. * LinkLabel.cs:
  20292. - Adds cursors
  20293. - Handles focus
  20294. - Implements LinkBehavior
  20295. - Fixes many issues
  20296. 2005-05-03 Jackson Harper <[email protected]>
  20297. * ListView.cs: Calculate the scrollbar positioning on resize and
  20298. paint, so they get put in the correct place.
  20299. 2005-05-03 Alexander Olk <[email protected]>
  20300. * ColorDialogs.cs: The small color panels are now handled by
  20301. SmallColorControl. This fixes drawing of the focus rectangle
  20302. and adds a 3D border.
  20303. 2005-05-03 Peter Bartok <[email protected]>
  20304. * Control.cs: Modified version of Jonathan Chamber's fix for
  20305. double-buffering
  20306. 2005-05-03 Jackson Harper <[email protected]>
  20307. * ListView.cs: Remove redraw variable. Control now handles whether
  20308. or not a redraw needs to be done, and will only raise the paint
  20309. event if redrawing is needed.
  20310. 2005-05-03 Jackson Harper <[email protected]>
  20311. * Splitter.cs: No decorations for the splitter form. Cache the
  20312. hatch brush.
  20313. 2005-05-03 Jackson Harper <[email protected]>
  20314. * TreeView.cs: Use dashed lines to connect nodes. Use the
  20315. ControlPaint method for drawing the focus rect instead of doing
  20316. that in treeview.
  20317. 2005-05-02 Peter Bartok <[email protected]>
  20318. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  20319. 2005-04-29 Jackson Harper <[email protected]>
  20320. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  20321. entire image buffer. Just clear the clipping rectangle.
  20322. 2005-04-29 Jackson Harper <[email protected]>
  20323. * ThemeWin32Classic.cs: Don't draw list view items that are
  20324. outside the clipping rectangle.
  20325. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  20326. * ListBox.cs: added horizontal item scroll
  20327. 2005-04-29 Jackson Harper <[email protected]>
  20328. * ThemeWin32Classic.cs: Remove some old debug code that was
  20329. causing flicker with the new double buffering code.
  20330. 2005-04-29 John BouAntoun <[email protected]>
  20331. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  20332. behave like combobox and comboboxlist (still not sure if this is
  20333. correct though).
  20334. 2005-04-28 Jackson Harper <[email protected]>
  20335. * ThemeWin32Classic.cs: Don't fill the middle of progress
  20336. bars. This fills areas outside of the clip bounds that don't need
  20337. to be filled.
  20338. 2005-04-28 Jackson Harper <[email protected]>
  20339. * Control.cs: Don't expose functionality to touch the image buffers.
  20340. * ProgressBar.cs:
  20341. * ListView.cs: We do not need to (and no longer can) manipulate
  20342. the image buffers directly. All of this is handled by Control.
  20343. 2005-04-28 Peter Bartok <[email protected]>
  20344. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  20345. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  20346. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  20347. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  20348. * Combobox:
  20349. - Adjust control's height for non-simple comboboxes (bug fix)
  20350. - Remove dead code
  20351. * MenuAPI.cs: remove unused var
  20352. * ScrollBar.cs: remove unsed var
  20353. * ListBox.cs: unselect items when clearing
  20354. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  20355. * ListControl.cs: honors OnPositionChanged and default Selected Item
  20356. * ListBox.cs: unselect items when clearing
  20357. 2005-04-27 Jackson Harper <[email protected]>
  20358. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  20359. if a "correct" keyboard is not found. This will make us not crash,
  20360. but might give some users bad keyboard layouts...seems to be the
  20361. same thing rewind does.
  20362. 2005-04-27 Jackson Harper <[email protected]>
  20363. * BindingManagerBase.cs: Attach the current/position changed
  20364. handlers to their respective events.
  20365. 2005-04-27 Jackson Harper <[email protected]>
  20366. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  20367. not just a blit.
  20368. * ThemeWin32Classic.cs: Don't fill the background for picture
  20369. boxes. This could overright user drawing.
  20370. * ComboBox.cs: Just fill the clipping rect not the entire client
  20371. rect when drawing the background. This prevents pieces of the
  20372. image buffer from getting overwritten and is theoretically faster.
  20373. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  20374. * ComboBox.cs: Databinding support fixes, fire missing events
  20375. * ListControl.cs: implement missing methods and properties, fixes
  20376. * ThemeWin32Classic.cs: Databiding support on Drawing
  20377. * CheckedListBox.cs: Databinding support fixes, fire missing events
  20378. * ListBox.cs: Databinding support fixes, fire missing events
  20379. 2005-04-25 Peter Bartok <[email protected]>
  20380. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  20381. 2005-04-25 Jackson Harper <[email protected]>
  20382. * TreeView.cs: Use the horizontal scrollbars height not width when
  20383. determining how much of the client area is available.
  20384. 2005-04-25 Jackson Harper <[email protected]>
  20385. * Control.cs: Double buffering is handled differently now. As per
  20386. the spec, the extra buffer is created in the WM_PAINT message and
  20387. passed down to the control's drawing code.
  20388. * GroupBox.cs:
  20389. * Label.cs:
  20390. * CheckBox.cs:
  20391. * ProgressBar.cs:
  20392. * RadioButton.cs:
  20393. * ColorDialog.cs:
  20394. * ComboBox.cs:
  20395. * PropertyGridView.cs:
  20396. * UpDownBase.cs:
  20397. * MessageBox.cs:
  20398. * MenuAPI.cs:
  20399. * ListView.cs:
  20400. * ButtonBase.cs:
  20401. * SizeGrip.cs:
  20402. * ScrollBar.cs:
  20403. * ListBox.cs:
  20404. * TrackBar.cs:
  20405. * ToolBar.cs:
  20406. * PictureBox.cs:
  20407. * DateTimePicker.cs:
  20408. * StatusBar.cs:
  20409. * TreeView.cs: Update to new double buffering system.
  20410. * MonthCalendar.cs: Uncomment block, as Capture is now
  20411. working. Update to new double buffering
  20412. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  20413. * PaintEventArgs.cs: New internal method allows us to set the
  20414. graphics object. This is used for double buffering.
  20415. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  20416. rectangle. The internal paint_area var has been removed from
  20417. StatusBar. The clipping rect should be used instead.
  20418. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  20419. * TabPage.cs: The RefreshTabs method was removed, so just call the
  20420. tab controls Refresh method now.
  20421. * TabControl.cs: Update to new double buffering. Make sure the
  20422. handle is created before sizing the tab pages, otherwise we will
  20423. get stuck in a loop.
  20424. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  20425. * LinkLabel.cs: Fix typo, bug #74719; patch
  20426. from Borja Sanchez Zamorano
  20427. 2005-04-22 Jackson Harper <[email protected]>
  20428. * TreeNode.cs: Implement Handle stuff.
  20429. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  20430. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  20431. * DataGridTextBoxColumn.cs: call base constructors, fixes
  20432. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  20433. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  20434. * DataGridTableStyle.cs: implements create default column styles
  20435. * DataGridBoolColumn.cs: which types can handle
  20436. * DataGrid.cs: missing methods, fixes, new functionality
  20437. * DataGridColumnStyle.cs: fixes
  20438. 2005-04-20 Alexander Olk <[email protected]>
  20439. * FolderBrowserDialog.cs:
  20440. - Use a thread to fill the TreeView
  20441. - Adjusted some sizes
  20442. 2005-04-19 Peter Bartok <[email protected]>
  20443. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  20444. property. Fixes #74360.
  20445. 2005-04-19 Jackson Harper <[email protected]>
  20446. * XEventQueue.cs: Lock when getting the lockqueue size.
  20447. * PictureBox.cs: Call base OnPaint
  20448. 2005-04-19 Peter Bartok <[email protected]>
  20449. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  20450. messages were no longer being processed (this broke BeginInvoke)
  20451. 2005-04-18 Jackson Harper <[email protected]>
  20452. * TreeView.cs: buglet that caused node images to get drawn
  20453. regardless of whether or not they were in the clipping rectangle.
  20454. 2005-04-18 Jackson Harper <[email protected]>
  20455. * CurrencyManager.cs: There are four rules for GetItemProperties:
  20456. - If the type is an array use the element type of the array
  20457. - If the type is a typed list, use the type
  20458. - If the list contains an Item property that is not an object, use
  20459. that property
  20460. - use the first element of the list if there are any elements in
  20461. the list.
  20462. 2005-04-17 Jackson Harper <[email protected]>
  20463. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  20464. click. This handles offsets for scrolling properly and reduces
  20465. memory. Also fixed GetNode to not offset now that TopNode works
  20466. properly.
  20467. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  20468. 2005-04-17 Jackson Harper <[email protected]>
  20469. * CursorConverter.cs: Initial implementation.
  20470. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  20471. * ListControl.cs: work towards complex data binding support on ListControl
  20472. * CurrencyManager.cs: work towards complex data binding support on ListControl
  20473. * ListBox.cs: work towards complex data binding support on ListControl
  20474. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  20475. * GridTableStylesCollection.cs: fixes name and constructor
  20476. * DataGridTableStyle.cs: fixes
  20477. * DataGridBoolColumn.cs: fixes names and constructors
  20478. * DataGrid.cs: define methods and properties. Some init implementations
  20479. * DataGridCell.cs: define methods and properties. Some init implementations
  20480. * GridTablesFactory.cs: Define methods and properties
  20481. 2005-04-15 Geoff Norton <[email protected]>
  20482. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  20483. graphics port changes. We still want the coordinates in global screen
  20484. coordinates.
  20485. 2005-04-14 Jackson Harper <[email protected]>
  20486. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  20487. check plus minus or checkbox clicks unless those features are enabled.
  20488. 2005-04-14 Jackson Harper <[email protected]>
  20489. * TreeView.cs: Add methods for setting the top and bottom visible
  20490. nodes. TreeNode::EnsureVisible uses these methods.
  20491. * TreeNode.cs: Implement EnsureVisible
  20492. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  20493. * Form.cs: Pospone menu assignation if the window has not been created yet
  20494. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  20495. size and position
  20496. 2005-04-12 Jackson Harper <[email protected]>
  20497. * TreeView.cs: Set the TopNode properly when scrolling
  20498. occurs. This has the added benifit of reducing the amount of
  20499. walking that needs to be done when drawing. Also removed an old
  20500. misleading TODO.
  20501. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  20502. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  20503. * Timer.cs: fixes interval setting when the timer is already enabled
  20504. 2005-04-10 Alexander Olk <[email protected]>
  20505. * FolderBrowserDialog.cs: First approach
  20506. 2005-04-09 Peter Bartok <[email protected]>
  20507. * FolderBrowserDialog: Added
  20508. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  20509. * LinkLabel.cs: move drawing code into the theme
  20510. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  20511. * Theme.cs: define DrawLinkLabel method
  20512. 2005-04-05 Jackson Harper <[email protected]>
  20513. * BindingContext.cs: Use weak references so these bad actors don't
  20514. stay alive longer then they need to.
  20515. 2005-04-05 Jackson Harper <[email protected]>
  20516. * ListControl.cs: Basic implementation of complex databinding.
  20517. * ComboBox.cs:
  20518. * ListBox.cs: Add calls to ListControl databinding methods.
  20519. 2005-04-05 Alexander Olk <[email protected]>
  20520. * FileDialog.cs:
  20521. - Don't change PopupButtonState to Normal when the
  20522. PopupButton gets pressed several times.
  20523. - Renamed ButtonPanel to PopupButtonPanel
  20524. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  20525. * ColorDialog.cs: Use cached objects instead of creating them
  20526. * LinkLabel.cs: Use cached objects instead of creating them
  20527. * Splitter.cs: Use cached objects instead of creating them
  20528. * FontDialog.cs: Use cached objects instead of creating them
  20529. * PropertyGridView.cs: Use cached objects instead of creating them
  20530. * MessageBox.cs: Use cached objects instead of creating them
  20531. * FileDialog.cs: Use cached objects instead of creating them
  20532. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  20533. * TreeView.cs: Use cached objects instead of creating them
  20534. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  20535. * Control.cs: use Equals to compare the font since no == op
  20536. * ScrollBar.cs: use Equals to compare the font since no == op
  20537. 2005-04-04 Alexander Olk <[email protected]>
  20538. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  20539. 2005-04-01 Jackson Harper <[email protected]>
  20540. * Binding.cs: Implement IsBinding.
  20541. * BindingManagerBase.cs:
  20542. * PropertyManager.cs:
  20543. * CurrencyManager.cs: Add IsSuspended property.
  20544. 2005-04-01 Jackson Harper <[email protected]>
  20545. * Binding.cs: Had some IsAssignableFrom calls backwards.
  20546. 2005-04-01 Jackson Harper <[email protected]>
  20547. * Binding.cs: Handle null data members when pulling data.
  20548. * PropertyManager.cs: Handle the data member being a property that
  20549. does not exist.
  20550. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  20551. * DataGridTextBoxColumn.cs: fixes signature
  20552. * DataGrid.cs: calls right constructor
  20553. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  20554. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  20555. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  20556. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  20557. * DataGridTableStyle.cs: implements DataGridTableStyle
  20558. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  20559. * DataGridTextBox.cs: implements DataGridTextBox
  20560. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  20561. 2005-03-31 Alexander Olk <[email protected]>
  20562. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  20563. 2005-03-29 Peter Bartok <[email protected]>
  20564. * Application.cs:
  20565. - Properly implemented CompanyName property
  20566. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  20567. returns a path that includes CompanyName, ProductName and
  20568. Version (fixes bug #70330)
  20569. 2005-03-29 Stefan Buehler <[email protected]>
  20570. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  20571. fixes bug #72588.
  20572. 2005-03-28 Alexander Olk <[email protected]>
  20573. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  20574. - Added ReadOnly CheckBox
  20575. - Further refactoring: moved some code from Open-/SaveFileDialog
  20576. to FileDialog
  20577. 2005-03-28 Alexander Olk <[email protected]>
  20578. * OpenFileDialog.cs: Fixed CheckFileExists
  20579. * FileDialog.cs:
  20580. Moved FileView and DirComboBox outside FileDialog class.
  20581. They can now be used outside FileDialog
  20582. 2005-03-27 Alexander Olk <[email protected]>
  20583. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  20584. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  20585. 2005-03-27 Alexander Olk <[email protected]>
  20586. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  20587. - Added missing CreatePrompt property in SaveDialog
  20588. - Overall SaveDialog handling should be better now
  20589. - Added non standard ShowHiddenFiles property
  20590. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  20591. - Added InitialDirectory and RestoreDirectory support
  20592. 2005-03-26 Alexander Olk <[email protected]>
  20593. * FileDialog.cs: Made dirComboBox usable
  20594. 2005-03-24 Alexander Olk <[email protected]>
  20595. * FileDialog.cs: Added Filter support (case sensitiv)
  20596. 2005-03-24 Jackson Harper <[email protected]>
  20597. * TabControl.cs: Need a couple more pixels for the lines.
  20598. 2005-03-23 Jackson Harper <[email protected]>
  20599. * TabControl.cs: Give the tab page focus when it is selected.
  20600. 2005-03-23 Jackson Harper <[email protected]>
  20601. * TabControl.cs: Account for the drawing of tabs borders when
  20602. invalidating. If the slider was clicked dont do click detection on
  20603. the tabs.
  20604. 2005-03-23 Jackson Harper <[email protected]>
  20605. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  20606. 2005-03-22 Jonathan Chambers <[email protected]>
  20607. * CategoryGridEntry.cs: Added
  20608. * GridItem.cs: Added helper properties
  20609. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  20610. * GridEntry.cs: Updated code for collection
  20611. * PropertyGrid.cs: Cleaned up some formatting
  20612. * PropertyGridView.cs: Added drop down functionality for enums.
  20613. * GridItemCollection.cs: Added enumerator logic
  20614. * PropertyGridEntry.cs: Added
  20615. 2005-03-19 Alexander Olk <[email protected]>
  20616. * FileDialog.cs:
  20617. - Removed unnecessary commented code
  20618. - Fixed handling for entering the filename manually in the combobox
  20619. 2005-03-19 Alexander Olk <[email protected]>
  20620. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  20621. 2005-03-18 Peter Bartok <[email protected]>
  20622. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  20623. them being touching the border
  20624. 2005-03-18 Peter Bartok <[email protected]>
  20625. * TextControl.cs: Quick hack to center text better
  20626. 2005-03-18 Peter Bartok <[email protected]>
  20627. * ControlPaint.cs:
  20628. - Don't throw NotImplemented exceptions, just print a notice once
  20629. instead (requested by Miguel). This makes running existing SWF
  20630. apps a bit easier
  20631. * Control.cs:
  20632. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  20633. - Added context menu trigger on right click
  20634. * Panel.cs: Trigger invalidate on resize
  20635. * StatusBar.cs:
  20636. - Removed old double-buffer drawing
  20637. - Added ResizeRedraw style to force proper update of statusbar
  20638. * ListView.cs:
  20639. - Removed debug output
  20640. * ThemeWin32Classic.cs:
  20641. - Fixed drawing of status bar, now draws Text property if there
  20642. are no defined panels
  20643. 2005-03-18 Jackson Harper <[email protected]>
  20644. * ImageList.cs: When the image stream is set pull all the images
  20645. from it.
  20646. * ImageListStreamer.cs: Implement reading image list streams.
  20647. 2005-03-18 Peter Bartok <[email protected]>
  20648. * ThemeWin32Classic.cs (DrawPictureBox):
  20649. - Fixed calculations for centered drawing
  20650. - Fixed drawing for normal mode, not scaling the image on normal
  20651. 2005-03-18 Peter Bartok <[email protected]>
  20652. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  20653. textbox
  20654. * FileDialog.cs:
  20655. - Made Open/Save button the accept button for FileDialog
  20656. - Tied the cancel button to the IButtonControl cancel button
  20657. - Save/Open now properly builds the pathname
  20658. - Now handles user-entered text
  20659. - Preventing crash on right-click if no item is selected
  20660. - Fixed Text property, now uses contents of textbox
  20661. - Fixed SelectedText property, now just returns the text part that
  20662. is selected in the text box
  20663. 2005-03-18 Jackson Harper <[email protected]>
  20664. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  20665. rect, make sure to de-adjust the interior rect after drawing the
  20666. tab text.
  20667. 2005-03-18 Peter Bartok <[email protected]>
  20668. * MenuAPI.cs: Remove menu *before* executing selected action to
  20669. prevent the menu from 'hanging around'
  20670. 2005-03-17 Geoff Norton <[email protected]>
  20671. * XplatUIOSX.cs: Implemented WorkingArea property
  20672. 2005-03-17 Peter Bartok <[email protected]>
  20673. * XplatUIX11.cs: Fixed menu coord calculations
  20674. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  20675. for calculating offsets
  20676. 2005-03-17 Peter Bartok <[email protected]>
  20677. * Hwnd.cs: Do not consider menu presence for default client
  20678. rectangle location/size
  20679. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  20680. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  20681. translation functions
  20682. * FileDialog.cs: Fixed (what I presume is a) typo
  20683. 2005-03-17 Jonathan Gilbert <[email protected]>
  20684. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  20685. X access (avoids X-Async errors)
  20686. 2005-03-16 Jackson Harper <[email protected]>
  20687. * TabControl.cs: Raise the SelectedIndexChanged event.
  20688. 2005-03-16 Alexander Olk <[email protected]>
  20689. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  20690. - Removed vertical ToolBar and replaced it with a custom panel
  20691. (desktop and home button already work)
  20692. - Added Help button (some controls get resized or relocated then)
  20693. - Draw correct text depending on Open or Save.
  20694. - Fixed some typos...
  20695. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  20696. * ScrollBar.cs:
  20697. - Only change Maximum and Minimum when need it (bug fix)
  20698. 2005-03-15 Peter Bartok <[email protected]>
  20699. * Form.cs: Use Handle for icon, to trigger creation if
  20700. the window does not yet exist
  20701. * Control.cs:
  20702. - CanSelect: Slight performance improvement
  20703. - Focus(): Preventing possible recursion
  20704. - Invalidate(): Removed ControlStyle based clear flag setting
  20705. - WM_PAINT: fixed logic for calling OnPaintBackground
  20706. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  20707. EraseWindowBackground if the control doesn't paint background
  20708. * XplatUIWin32.cs:
  20709. - Moved EraseWindowBackground() method to internal methods
  20710. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  20711. is sent via SendMessage on BeginPaint call on Win32
  20712. * XplatUIX11.cs:
  20713. - Added EraseWindowBackground() method
  20714. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  20715. PaintEventStart, which more closely matches Win32 behaviour
  20716. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  20717. - Fixed SetFocus() to properly deal with client and whole windows
  20718. * Hwnd.cs: Added ErasePending property
  20719. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  20720. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  20721. 2005-03-12 Geoff Norton <[email protected]>
  20722. * XplatUIOSX.cs:
  20723. - Fix hard loop when timers exist.
  20724. - Fix bugs with middle and right click for 3 button mice.
  20725. 2005-03-11 Peter Bartok <[email protected]>
  20726. * XplatUIX11.cs:
  20727. - get_WorkingArea: Need to call X directly, GetWindowPos only
  20728. returns cached data now
  20729. - Added sanity check to GetWindowPos hwnd usage
  20730. 2005-03-11 Jackson Harper <[email protected]>
  20731. * BindingManagerBase.cs: This method isn't used anymore as
  20732. PullData now updates the data in the control.
  20733. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  20734. * Form.cs: fixes menu drawing on X11
  20735. * MenuAPI.cs: fixes menu drawing on X11
  20736. 2005-03-11 Peter Bartok <[email protected]>
  20737. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  20738. from Jonathan Gilbert; should fix bug #73606
  20739. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  20740. in Screen coordinates. Thanks, Jordi.
  20741. * Form.cs: Added missing attribute
  20742. 2005-03-11 Peter Bartok <[email protected]>
  20743. * Form.cs:
  20744. - Rudimentary Mdi support
  20745. - Removed outdated FormParent code
  20746. - Implemented lots of missing properties and methods, still missing
  20747. transparency support
  20748. - Added missing attributes
  20749. - Implemented support for MaximumBounds
  20750. - Added firing of various events
  20751. * XplatUI.cs: Added SetIcon() method
  20752. * XplatUIDriver.cs: Added SetIcon() abstract
  20753. * XplatUIOSX.cs: Stubbed out SetIcon() method
  20754. * XplatUIX11.cs:
  20755. - Implemented SetIcon() support
  20756. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  20757. - Switched to unix line endings
  20758. * XplatUIWin32.cs:
  20759. - Made POINT internal so for can access it as part of MINMAX
  20760. - Implemented SetIcon() support
  20761. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  20762. native Mdi support again, might have to go managed)
  20763. * Control.cs: Now fires the StyleChanged event
  20764. * MdiClient.cs: Added; still mostly empty
  20765. 2005-03-10 Peter Bartok <[email protected]>
  20766. * SaveFileDialog.cs: Added emtpy file
  20767. 2005-03-08 Peter Bartok <[email protected]>
  20768. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  20769. in turn triggers OnCreateContro) when creating a handle for the
  20770. first time.
  20771. * TextControl.cs: Fixed endless loop in certain cases when
  20772. replacing the current selection
  20773. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  20774. * ScrollBar.cs:
  20775. - Honors NewValue changes in Scroll events allowing apps to change it
  20776. - Adds First and Last Scroll events
  20777. - Fixes Thumb events
  20778. 2005-03-07 Peter Bartok <[email protected]>
  20779. * Hwnd.cs: Added DefaultClientRectangle property
  20780. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  20781. more detailed debug information
  20782. * XplatUIX11.cs:
  20783. - Fixed size-change feedback loop, where we would pull an old size
  20784. off the queue and mistakenly change our window's size to an
  20785. earlier value
  20786. - Now compressing ConfigureNotify events, to reduce looping and
  20787. redraw issues
  20788. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  20789. is called
  20790. 2005-03-07 Jackson Harper <[email protected]>
  20791. * Binding.cs: Push data pushes from data -> property. Check if the
  20792. property is readonly when attempting to set it.
  20793. 2005-03-07 Jackson Harper <[email protected]>
  20794. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  20795. instead of IsSubclassOf. Pulling data now sets the value on the
  20796. control.
  20797. * PropertyManager.cs:
  20798. * CurrencyManager.cs: Just need to pull data when updating now,
  20799. because PullData will set the value on the control.
  20800. 2005-03-04 Jackson Harper <[email protected]>
  20801. * Binding.cs: Implement data type parsing and converting on pulled
  20802. data. TODO: Are there more ways the data can be converted?
  20803. 2005-03-04 Jackson Harper <[email protected]>
  20804. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  20805. controls Validating method so we can repull the data when the
  20806. control loses focus.
  20807. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  20808. * ColumnHeader.cs:
  20809. - Fixes null string format
  20810. * ListView.cs:
  20811. - Adds enum type checks
  20812. - Fixes redrawing and recalc need after changing some properties
  20813. - Fixes on focus_item set after the event
  20814. - Fixes adding columns after the control has been created
  20815. * ThemeWin32Classic.cs:
  20816. - Fixes CheckBox focus rectangle
  20817. - Fixes ColumnHeader drawing
  20818. 2005-03-03 Jackson Harper <[email protected]>
  20819. * Binding.cs: Bind to <Property>Changed events so we can detect
  20820. when properties are changed and update the data.
  20821. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  20822. * ImageList.cs:
  20823. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  20824. - Fixes ImageList constructor with ImageList container
  20825. - Fixes image scaling (wrong parameters at DrawImage)
  20826. 2005-02-02 Jackson Harper <[email protected]>
  20827. * Binding.cs: Make property searches case-insensitive. Eliminate
  20828. some duplicated code.
  20829. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  20830. * ComboBox.cs:
  20831. - Handle focus event
  20832. - Fix scrollbar events
  20833. - Discard highlighted item if remove it
  20834. - Fixes SelectedItem with strings
  20835. 2005-03-01 Peter Bartok <[email protected]>
  20836. * Control.cs:
  20837. - Fixed Visible property, now follows (once again) parent chain
  20838. to return false if any control in the chain is visible=false
  20839. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  20840. - Fixed several places where is_visible instead of Visible was used
  20841. - Implemented FIXME related to focus selection when setting focused
  20842. control to be invisible
  20843. * XplatUIWin32.cs: Now using proper method to find out if window is
  20844. visible. Thanks to Jordi for pointing it out
  20845. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  20846. * ComboBox.cs: show/hide scrollbar instead of creating it
  20847. 2005-02-27 Jackson Harper <[email protected]>
  20848. * CurrencyManager.cs: Add PositionChanged stuff.
  20849. 2005-02-27 Peter Bartok <[email protected]>
  20850. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  20851. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  20852. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  20853. * XplatUIX11.cs:
  20854. - Implemented GetMenuDC()
  20855. - Implemented GetMenuOrigin()
  20856. - Implemented ReleaseMenuDC()
  20857. - Implemented generation of WM_NCPAINT message
  20858. - Implemented generation and handling of WM_NCCALCSIZE message
  20859. * Form.cs: Added debug helper message for Jordi's menu work
  20860. * Hwnd.cs:
  20861. - Modified ClientRect property; added setter, fixed getter to handle
  20862. setting of ClientRect
  20863. - Added MenuOrigin property
  20864. 2005-02-26 Peter Bartok <[email protected]>
  20865. * XplatUIX11.cs:
  20866. - Destroys the caret if a window that's being destroyed contains it
  20867. - Ignores expose events coming from the X11 queue for windows that
  20868. already are destroyed
  20869. - Now uses the proper variable for handling DestroyNotify, before we
  20870. marked the wrong window as destroyed
  20871. - Improved/added some debug output
  20872. 2005-02-26 Peter Bartok <[email protected]>
  20873. * X11Keyboard.cs: Fixes to work on 64bit systems
  20874. 2005-02-26 Peter Bartok <[email protected]>
  20875. * Control.cs:
  20876. - Now calling OnHandleDestroyed from DestroyHandle()
  20877. instead of Dispose()
  20878. - Removed bogus call to controls.Remove() from DestroyHandle()
  20879. 2005-02-26 Peter Bartok <[email protected]>
  20880. * Control.cs: Properly destroy child windows when our handle is
  20881. destroyed
  20882. 2005-02-25 Peter Bartok <[email protected]>
  20883. * XplatUI.cs:
  20884. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  20885. - Alphabetized Static Methods and Subclasses
  20886. * XplatUIX11.cs:
  20887. - Added XException class to allow custom handling of X11 exceptions
  20888. - Created custom X11 error handler, tied into XException class
  20889. - Added support for MONO_XEXCEPTIONS env var to allow the user
  20890. to either throw an exception on X errors or continue running
  20891. after displaying the error
  20892. - Added handling of DestroyNotify message
  20893. - Added handler for CreateNotify message (still disabled)
  20894. - Improved (tried to at least) Where method to provide file and lineno
  20895. * X11Structs.cs:
  20896. - Added XErrorHandler delegate
  20897. - Added XRequest enumeration (to suppor translation of errors)
  20898. 2005-02-25 Jackson Harper <[email protected]>
  20899. * PropertyManager.cs: Implement editing features
  20900. * CurrencyManager.cs:
  20901. * Binding.cs: First attempt at UpdateIsBinding
  20902. * BindingManagerBase.cs: Call UpdateIsBinding before
  20903. pushing/pulling data.
  20904. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  20905. * MenuAPI.cs: Respect disabled items
  20906. * ThemeWin32Classic.cs
  20907. - Caches ImageAttributes creation for DrawImageDisabled
  20908. - Fixes vertical menu line drawing
  20909. - Draws disabled arrows in disable menu items
  20910. 2005-02-24 Peter Bartok <[email protected]>
  20911. * Hwnd.cs:
  20912. - Added UserData property to allow associating arbitrary objects
  20913. with the handle
  20914. - Fixed leak; now removing Hwnd references from static windows array
  20915. * XplatUIWin32.cs:
  20916. - Fixed Graphics leak in PaintEventEnd
  20917. - Removed usage of HandleData, switched over to Hwnd class
  20918. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  20919. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20920. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  20921. * ScrollBar.cs: Fixes bug
  20922. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  20923. keyboard navigation enhancements
  20924. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20925. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  20926. * GroupBox.cs: Add control styles
  20927. * Label.cs: Add control styles
  20928. * UpDownBase.cs: Add control styles
  20929. * ListBox.cs: Add control styles
  20930. * XplatUIWin32.cs: Fixes wrong parameter order
  20931. 2005-02-23 Chris Bacon <[email protected]>
  20932. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  20933. 2005-02-23 Jackson Harper <[email protected]>
  20934. * PropertyManager.cs: Implement property binding. This doesn't
  20935. seem to work yet though as (I think) there are some bugs in
  20936. System.ComponentModel.PropertyDescriptor.
  20937. * BindingContext.cs: Use new PropertyManager constructor.
  20938. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  20939. * ProgressBar.cs: use clip region in ProgressBar
  20940. * ThemeWin32Classic.cs: use clip region in ProgressBar
  20941. 2004-02-22 Jackson Harper <[email protected]>
  20942. * BindingsCollection.cs: Remove some debug code.
  20943. 2005-02-22 Jackson Harper <[email protected]>
  20944. * BindingContext.cs:
  20945. * ControlBindingsCollection.cs:
  20946. * CurrencyManager.cs:
  20947. * Binding.cs:
  20948. * BindingManagerBase.cs: Initial implementation
  20949. * BindingsCollection.cs: Add an internal contains method that the
  20950. BindingManagerBase uses to ensure bindings aren't added twice to
  20951. the collection.
  20952. * PropertyManager.cs: Stubbed out.
  20953. * Control.cs:
  20954. * ContainerControl.cs: Hook up databinding
  20955. 2005-02-22 Geoff Norton <[email protected]>
  20956. * XplatUIOSX.cs:
  20957. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  20958. Fixed Invalidate/Update chain.
  20959. Fixed tons of other minor bugs (this is almost a complete rewrite).
  20960. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  20961. * ComboBox.cs: do subcontrol creation when the control is created
  20962. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20963. * Label.cs: fixes image drawing (image and imagelist)
  20964. * ThemeWin32Classic.cs: cache brushes
  20965. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20966. * Form.cs: Move menu drawing code to Theme class
  20967. * ComboBox.cs: Move ComboBox drawing code to Theme class
  20968. * MenuItem.cs: Move menu drawing code to Theme class
  20969. * MenuAPI.cs: Move menu drawing code to Theme class
  20970. * ThemeWin32Classic.cs: New methods
  20971. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  20972. * ListBox.cs: Move Listbox drawing code to Theme class
  20973. * Theme.cs: New methods
  20974. 2005-02-20 Peter Bartok <[email protected]>
  20975. * Control.cs:
  20976. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  20977. only process mnemonics on those)
  20978. - Fixed event sequence for key handling; first calling
  20979. ProcessKeyEventArgs now
  20980. * TextBoxBase.cs:
  20981. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  20982. for processing non-character keys
  20983. - Fixed WM_CHAR to generate proper event sequence before processing
  20984. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  20985. generation
  20986. 2005-02-19 Peter Bartok <[email protected]>
  20987. * UserControl.cs: Added TextChanged event; added attributes
  20988. * SizeGrip.cs: Implemented resizing and optional display of grip
  20989. * Form.cs: Fixed attribute
  20990. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  20991. Changed meaning of ScrollWindow bool argument; instead of the
  20992. clear attribute (which will be true usually anyway), it gives the
  20993. option of moving child controls as well.
  20994. * XplatUIX11.cs:
  20995. - Changed to match new ScrollWindow argument
  20996. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  20997. now handles the implicit parent window a WM puts around us
  20998. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  20999. to work)
  21000. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  21001. * TreeView.cs: Adjusted to new ScrollWindow arguments
  21002. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  21003. * Form.cs: Menu integration with non-client area
  21004. * MenuItem.cs: Menu integration with non-client area
  21005. * MenuAPI.cs: Menu integration with non-client area
  21006. 2005-02-18 Peter Bartok <[email protected]>
  21007. * MethodInvoker.cs: Added
  21008. * MdiLayout.cs: Added
  21009. * SendKeys.cs: Started implementation
  21010. * ErrorIconAlignment.cs: Added
  21011. 2005-02-18 Peter Bartok <[email protected]>
  21012. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  21013. * Form.cs: Added handling for Menu-related Non-client messages
  21014. 2005-02-17 Peter Bartok <[email protected]>
  21015. * UpDownBase.cs: Fixed typo, compilation errors
  21016. * DomainUpDown.cs: Fixed attribute value
  21017. 2005-02-16 Miguel de Icaza <[email protected]>
  21018. * UpDownBase.cs: Attach entry events.
  21019. Propagate events.
  21020. Add ForeColor property, Focused, InterceptArrowKeys (interception
  21021. does not work yet).
  21022. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  21023. * Form.cs:
  21024. - Redraw non client are on Setmenu
  21025. - Calc proper menu starting point
  21026. 2005-02-17 Peter Bartok <[email protected]>
  21027. * Application.cs: Fixed message_filter check
  21028. 2005-02-17 Peter Bartok <[email protected]>
  21029. * Application.cs: Now calls registered message filters
  21030. * DockStyle.cs: Fixed attribute
  21031. * Form.cs: Fixed attribute
  21032. * Menu.cs: Fixed attribute
  21033. * ToolTip.cs: Fixed attribute
  21034. * TreeNode.cs: Added missing attributes and arranged in regions
  21035. * PropertyGrid.cs: Fixed signatures
  21036. * TreeNodeCollection.cs: Added attributes
  21037. * Splitter.cs: Added missing attributes; arranged into regions
  21038. * TabPage.cs: Added missing attributes; arranged into regions
  21039. * TextBoxBase.cs: Added missing attributes
  21040. * TextBox.cs: Added missing attributes
  21041. * ArrangeDirection.cs: Added missing attributes
  21042. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  21043. * ToolBarButton.cs: Fixed attributes
  21044. * AnchorStyles.cs: Fixed attribute
  21045. * TrackBar.cs: Fixed attributes
  21046. * TabControl.cs: Added missing attributes and arranged into regions
  21047. * ToolBar.cs: Fixed attribute
  21048. * StatusBar.cs: Fixed signature, organized into regions and added
  21049. attributes
  21050. * StatusBarPanel.cs: Fixed attributes
  21051. * ContentsResizedEventArgs.cs: Implemented
  21052. * ContentsResizedEventHandler.cs: Implemented
  21053. * DateBoldEventArgs.cs: Implemented
  21054. * DateBoldEventHandler.cs: Implemented
  21055. * UpDownEventArgs.cs: Implemented
  21056. * UpDownEventHandler.cs: Implemented
  21057. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  21058. * Form.cs: first Menu NC refactoring
  21059. * MenuAPI.cs: first Menu NC refactoring
  21060. 2005-02-16 Peter Bartok <[email protected]>
  21061. * ImeMode.cs: Added missing attributes
  21062. * Menu.cs: Fixed attribute
  21063. * GroupBox.cs: Fixed attribute
  21064. * Label.cs: Fixed attribute
  21065. * ColorDialog.cs (RunDialog): Removed TODO attribute
  21066. * ComboBox.cs: Fixed attributes
  21067. * ListControl.cs: Added missing attributes
  21068. * PropertyGrid.cs: Fixed attributes
  21069. * Control.cs: Fixed attributes
  21070. * ListViewItem.cs: Added TypeConverter attribute
  21071. * NotifyIcon.cs: Fixed attributes
  21072. * ListView.cs: Fixed attributes
  21073. * ButtonBase.cs: Fixed attribute
  21074. * ImageList.cs: Added missing attributes
  21075. * ContainerControl.cs: Fixed signature
  21076. * CheckedListBox.cs: Fixed attribute; added missing attributes
  21077. * Panel.cs: Fixed attributes
  21078. * PropertyTabChangedEventArgs.cs: Added missing attribute
  21079. * PropertyValueChangedEventArgs.cs: Added missing attribute
  21080. * Binding.cs: Fixed attribute
  21081. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  21082. * ListBox.cs: Fixed attribute; added missing attributes;
  21083. * ScrollableControl.cs: Added missing attributes
  21084. * PictureBox.cs: Added missing attributes; implemented missing property
  21085. * DateTimePicker.cs: Added missing attributes
  21086. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  21087. * MonthCalendar.cs: Fixed attributes
  21088. * StatusBarPanel.cs: Added missing attributes
  21089. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  21090. 2005-02-16 Peter Bartok <[email protected]>
  21091. * TextBoxBase.cs: The previous method to enforce height yet remember
  21092. the requested high was less than ideal, this is an attempt to do
  21093. it better.
  21094. * Control.cs: Added comment about possible problem
  21095. * Copyright: Updated format
  21096. * GridItemType.cs: Fixed swapped values
  21097. 2005-02-15 Jackson Harper <[email protected]>
  21098. * BaseCollection.cs: Use property so we never access an
  21099. uninitialized list. Also initialize the list in the property.
  21100. 2005-02-15 Peter Bartok <[email protected]>
  21101. * GroupBox.cs (ProcessMnemonic): Implemented
  21102. * Label.cs (ProcessMnemonic): Implemented
  21103. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  21104. hotkeys
  21105. 2005-02-15 Peter Bartok <[email protected]>
  21106. * RadioButton.cs (ProcessMnemonic): Implemented
  21107. * CheckBox.cs (ProcessMnemonic): Implemented
  21108. * Control.cs:
  21109. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  21110. handling
  21111. - Added internal method to allow calling ProcessMnemonic from other
  21112. controls
  21113. * ContainerControl.cs:
  21114. - Started support for handling validation chain handling
  21115. - Implemented ProcessMnemonic support
  21116. - Added Select() call to Active, to make sure the active control
  21117. receives focus
  21118. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  21119. FormParent rewrite)
  21120. * ThemeWin32Classic.cs:
  21121. - DrawCheckBox(): Fixed stringformat to show hotkeys
  21122. - DrawRadioButton(): Fixed stringformat to show hotkeys
  21123. * CommonDialog.cs: Removed WndProc override, not needed
  21124. 2005-02-14 Peter Bartok <[email protected]>
  21125. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  21126. missed those in the rewrite
  21127. 2005-02-14 Miguel de Icaza <[email protected]>
  21128. * NumericUpDown.cs (Increment, ToString): Add.
  21129. (DecimalPlaces): implement.
  21130. Add attributes.
  21131. * UpDownBase.cs: Add the designer attributes.
  21132. 2005-02-13 Peter Bartok <[email protected]>
  21133. * Panel.cs: Removed border_style, now in Control
  21134. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  21135. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  21136. 2005-02-13 Peter Bartok <[email protected]>
  21137. * MouseButtons.cs: Added missing attributes
  21138. * XplatUIStructs.cs: Added enumeration for title styles
  21139. * LeftRightAlignment.cs: Added missing attributes
  21140. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  21141. it compatible with Graphics.FromHwnd()
  21142. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  21143. * Keys.cs: Added missing attributes
  21144. * SelectionRange.cs: Added missing attributes
  21145. * SelectionRangeConverter.cs: Added
  21146. * XplatUI.cs:
  21147. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  21148. ReleaseMenuDC methods
  21149. - Renamed ReleaseWindow to UngrabWindow
  21150. - Added proper startup notice to allow version identification
  21151. * Form.cs:
  21152. - Added missing attributes
  21153. - Removed FormParent concept
  21154. * Label.cs: Removed border_style field, now in Control
  21155. * RadioButton.cs: Now properly selects RadioButton when focus is
  21156. received
  21157. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  21158. * Control.cs:
  21159. - Added missing attributes
  21160. - Added borderstyle handling
  21161. - Removed FormParent concept support
  21162. - Fixed calls to XplatUI to match changed APIs
  21163. - Fixed bug that would case us to use disposed Graphics objects
  21164. - Removed unneeded internal methods
  21165. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  21166. - SelectNextControl(): Fixed to properly check common parents
  21167. * TextBoxBase.cs: Removed border_style field (now in Control)
  21168. * MessageBox.cs:
  21169. - Patch by Robert Thompson ([email protected]): Added icon support,
  21170. fixed calculations for form size
  21171. - Added support for localized strings and icons
  21172. - Improved form size calculations, added border
  21173. * ListView.cs: Removed border_style field (now in Control)
  21174. * X11Structs.cs: Moved several structs from X11 driver here
  21175. * X11Keyboard.cs: Changed debug message
  21176. * Application.cs: Removed FormParent concept support
  21177. * CommonDialog.cs:
  21178. - Resetting end_modal flag
  21179. - Removed FormParent concept support
  21180. * NativeWindow.cs: Removed FormParent concept support
  21181. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  21182. Client area and Non-Client whole window to allow support for WM_NC
  21183. messages
  21184. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  21185. prevent using it until it supports Hwnd as per Geoff Norton's request
  21186. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  21187. * PictureBox.cs: Removed border_style field, now in Control
  21188. * XplatUIWin32.cs: Added new driver methods
  21189. 2005-02-12 Peter Bartok <[email protected]>
  21190. * OpacityConverter.cs: Implemented
  21191. * Hwnd.cs: Internal class to support drivers that need to emulate
  21192. client area/non-client area window behaviour
  21193. 2005-02-11 Peter Bartok <[email protected]>
  21194. * KeysConverter.cs: Implemented
  21195. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  21196. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  21197. * LinkLabel: Added missing attributes
  21198. * MainMenu.cs: fixes ToString
  21199. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  21200. * ListBox.cs: fixes event position
  21201. * TrackBar.cs: adds missing attributes and events
  21202. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  21203. * MenuItem.cs: Use SystemInformation and bug fixes
  21204. * MenuAPI.cs: Use SystemInformation and bug fixes
  21205. 2005-02-09 Jackson Harper <[email protected]>
  21206. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  21207. their keystate otherwise things like VK_MENU get stuck "on".
  21208. 2005-02-09 Kazuki Oikawa <[email protected]>
  21209. * ListBox.cs: Fixes AddRange bug
  21210. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  21211. * ProgressBar.cs
  21212. - Add missing attributes
  21213. - Add missing method
  21214. * CheckedListBox.cs: Added missing attributes
  21215. - Add missing attributes
  21216. - Remove extra method
  21217. * ComboBox.cs: Added missing attributes
  21218. * VScrollBar.cs: Added missing attributes
  21219. * ScrollBar.cs: Added missing attributes
  21220. * ListBox.cs: Fixes signature, add missing consts
  21221. * LinkArea.cs: Added missing attributes
  21222. 2005-02-08 Peter Bartok <[email protected]>
  21223. * Menu.cs: Added missing attributes
  21224. * MainMenu.cs: Added missing attributes
  21225. * GroupBox.cs: Added missing attributes
  21226. * Label.cs: Added missing attributes
  21227. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  21228. * ColorDialog.cs:
  21229. - Added Instance and Options properties
  21230. - Added missing attributes
  21231. * Cursor.cs: Made Serializable
  21232. * NotifyIcon: Added missing attributes
  21233. * MenuItem.cs: Added missing attributes
  21234. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  21235. * Panel.cs: Added Missing attributes
  21236. * MonthCalendar.cs: Fixed CreateParams
  21237. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  21238. * LinkLabel.cs:
  21239. - Fixes signature
  21240. - Fixes issues with links
  21241. - Adds the class attributes
  21242. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  21243. * ComboBox.cs:
  21244. - Fixes button when no items available in dropdown
  21245. - Fixes repainting problems
  21246. - Adds the class attributes
  21247. 2005-02-07 Geoff Norton <[email protected]>
  21248. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  21249. the current theme. Cache these on startup.
  21250. 2005-02-07 Jackson Harper <[email protected]>
  21251. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  21252. the scrollbar buttons when they are depressed.
  21253. 2005-02-07 Geoff Norton <[email protected]>
  21254. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  21255. Get the display size from the main displayid. We currently dont
  21256. support multiple display configurations.
  21257. 2005-02-07 Geoff Norton <[email protected]>
  21258. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  21259. 2005-02-07 Miguel de Icaza <[email protected]>
  21260. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  21261. 2005-02-05 Jonathan Chambers <[email protected]>
  21262. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  21263. 2005-02-04 Jackson Harper <[email protected]>
  21264. * ThemeWin32Classic.cs: Respect the clipping rect when
  21265. drawing. Only fill the intersection of clips and rects so there
  21266. isn't a lot of large fills.
  21267. * ScrollBar.cs: Pass the correct clipping rect to the theme
  21268. engine. Remove some debug code.
  21269. 2005-02-05 John BouAntoun <[email protected]>
  21270. * DateTimePicker.cs:
  21271. - Fixed crash on DateTime.Parse, use Constructor instead
  21272. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  21273. * MenuItem.cs:
  21274. * MenuAPI.cs:
  21275. - Owner draw support (MeasureItem and DrawItem)
  21276. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  21277. * Menu.cs:
  21278. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  21279. - Fixes MenuItems.Add range
  21280. * MenuItem.cs:
  21281. - MergeMenu and Clone and CloneMenu functions
  21282. 2005-02-03 Jackson Harper <[email protected]>
  21283. * ScrollBar.cs: Make abstract
  21284. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  21285. is abstract.
  21286. 2005-02-03 Jackson Harper <[email protected]>
  21287. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  21288. all the unneeded refreshes and uses invalidates with properly
  21289. computed rects.
  21290. 2005-02-03 Peter Bartok <[email protected]>
  21291. * ComponentModel.cs: Added
  21292. * IDataGridEditingService.cs: Added
  21293. * Timer.cs: Added missing attributes
  21294. * ToolTip.cs: Added missing attributes
  21295. 2005-02-03 Jonathan Chambers <[email protected]>
  21296. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  21297. 2005-02-03 Peter Bartok <[email protected]>
  21298. * ListBox.cs: Added missing attributes
  21299. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  21300. * ListBox.cs:
  21301. - Fixes font height after font change
  21302. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  21303. 2005-02-02 Peter Bartok <[email protected]>
  21304. * HandleData.cs: Introduced static methods to allow class
  21305. to be more self-contained and track it's own HandleData objects
  21306. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  21307. HandleData to use new static methods
  21308. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  21309. * Combobox.cs:
  21310. - Fixes default size and PreferredHeight
  21311. - Missing events
  21312. - ObjectCollection.Insert implementation
  21313. * ListControl.cs
  21314. - Fixes signature
  21315. * ListBox.cs:
  21316. - Several fixes
  21317. - ObjectCollection.Insert implementation
  21318. - No selection after clean
  21319. - Small fixes
  21320. 2005-01-31 John BouAntoun <[email protected]>
  21321. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  21322. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  21323. * Combobox.cs:
  21324. - Caches ItemHeight calculation for OwnerDrawVariable
  21325. - Handles dropdown properly
  21326. - Fixes several minor bugs
  21327. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  21328. * ListBox.cs:
  21329. - Fixes 71946 and 71950
  21330. - Fixes changing Multicolumn on the fly
  21331. - Fixes keyboard navigation on Multicolumn listboxes
  21332. 2005-01-31 Geoff Norton <[email protected]>
  21333. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  21334. crash reporter log.
  21335. 2005-01-31 Geoff Norton <[email protected]>
  21336. * XplatUIOSX.cs: Allow applications to actually exit.
  21337. 2005-01-31 Geoff Norton <[email protected]>
  21338. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  21339. their parent at creation time rather than lazily later. Fixes a major
  21340. regression we were experiencing.
  21341. 2005-01-31 John BouAntoun <[email protected]>
  21342. * ThemeWin32Classic.cs: more date time picker painting fixes
  21343. * DateTimePicker.cs: more monthcalendar drop down fixes
  21344. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  21345. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  21346. * ScrollBar.cs:
  21347. - When moving the thumb going outside the control should stop the moving
  21348. - Adds the firing of missing events
  21349. - Fixes no button show if Size is not specified
  21350. - End / Home keys for keyboard navigation
  21351. 2005-01-30 Peter Bartok <[email protected]>
  21352. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  21353. sanity check to prevent theoretical loop
  21354. * XplatUIWin32.cs (SetVisible): Removed debug output
  21355. * XplatUIX11.cs (SystrayChange): Added sanity check
  21356. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  21357. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  21358. behaviour, valid until the X11 client window rewrite is done
  21359. * TextBox.cs (ctor): Setting proper default foreground and background
  21360. colors
  21361. 2005-01-30 John BouAntoun <[email protected]>
  21362. * Theme: Added DrawDateTimePicker to interface
  21363. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  21364. * DateTimePicker.cs: Created (still needs keys and painting code)
  21365. * DateTimePickerFormat.cs: added
  21366. * MonthCalendar.cs: fixed CreateParams for popup window mode
  21367. 2005-01-29 Peter Bartok <[email protected]>
  21368. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  21369. this should also the calculations for ligher/darker
  21370. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  21371. 2005-01-29 Peter Bartok <[email protected]>
  21372. * ArrangeDirection.cs: Added
  21373. * ArrangeStartingPositon.cs: Added
  21374. * SystemInformation.cs: Implemented
  21375. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  21376. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  21377. used by SystemInformation class
  21378. * X11Strucs.cs: Added XSizeHints structure
  21379. * MenuAPI.cs:
  21380. - Fixed CreateParams to make sure the menu window is always visible
  21381. - TrackPopupMenu: Added check to make sure we don't draw the
  21382. menu offscreen
  21383. 2005-01-29 Peter Bartok <[email protected]>
  21384. * HandleData.cs: Added method for altering invalid area
  21385. * TextBoxBase.cs: Implemented TextLength
  21386. 2005-01-28 Peter Bartok <[email protected]>
  21387. * XplatUIX11.cs: Improvement over last patch, not sending
  21388. the WM_PAINT directly anymore, instead we scroll any pending
  21389. exposed areas and let the system pick out the WM_PAINT later
  21390. 2005-01-28 Peter Bartok <[email protected]>
  21391. * SWF.csproj: Deleted, no longer used. Instead,
  21392. Managed.Windows.Forms/SWF.csproj should be used
  21393. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  21394. directly, to avoid a potential race condition with the next
  21395. scroll
  21396. 2005-01-28 Peter Bartok <[email protected]>
  21397. * XplatUI.cs: Made class internal
  21398. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  21399. * CheckedListBox.cs:
  21400. - Draw focus
  21401. - Fixed Drawing
  21402. - Missing methods and events
  21403. 2005-01-27 Peter Bartok <[email protected]>
  21404. * Application.cs (Run): Don't use form if we don't have one
  21405. 2005-01-27 Peter Bartok <[email protected]>
  21406. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  21407. 2005-01-27 Peter Bartok <[email protected]>
  21408. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  21409. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  21410. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  21411. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  21412. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  21413. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  21414. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21415. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  21416. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21417. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21418. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21419. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  21420. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  21421. * Combobox.cs:
  21422. - Draw focus on Simple Combobox
  21423. - Fixes drawing issues
  21424. - fixes 71834
  21425. 2005-01-27 Peter Bartok <[email protected]>
  21426. * Form.cs:
  21427. - Place window in default location, instead of hardcoded 0/0
  21428. - Send initial LocationChanged event
  21429. * Control.cs:
  21430. - UpdateBounds after creation to find out where the WM placed us
  21431. - Make sure that if the ParentForm changes location the Form
  21432. is notified
  21433. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  21434. to the root, but to whatever the WM placed around us.
  21435. Translate to root coordinates before returning toplevel
  21436. coordinates
  21437. * XplatUIWin32.cs: Removed debug output
  21438. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  21439. flag to GetWindowPos, to allow translation of coordinates on X11
  21440. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  21441. * ListBox.cs: connect LostFocus Event
  21442. 2005-01-27 Peter Bartok <[email protected]>
  21443. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  21444. XplatUIX11.cs: Extended the Systray API
  21445. * Form.cs: Removed debug output
  21446. * Application.cs: Fixed focus assignment, always need to call
  21447. XplatUI.Activate() since Form.Activate() has rules that may
  21448. prevent activation
  21449. * NotifyIcon.cs: Should be complete now
  21450. * ToolTip.cs: Worked around possible timer bug
  21451. 2005-01-27 Jackson Harper <[email protected]>
  21452. * TabControl.cs:
  21453. - Only invalidate the effected tabs when the
  21454. selected index changes. This reduces drawing and gets rid of some
  21455. flicker.
  21456. - Only refresh if the tabs need to be shifted, otherwise only
  21457. invalidate the slider button.
  21458. - On windows the tabs are not filled to right if the slider is
  21459. visible.
  21460. 2005-01-27 Jackson Harper <[email protected]>
  21461. * TabControl.cs: Only refresh on mouseup if we are showing the
  21462. slider. Also only invalidate the button whose state has changed.
  21463. 2005-01-26 Peter Bartok <[email protected]>
  21464. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  21465. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  21466. and SystrayRemove() methods
  21467. * XplatUIOSX.cs: Stubbed Systray methods
  21468. * XplatUIX11.cs:
  21469. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  21470. methods
  21471. - Fixed broken XChangeProperty calls (marshalling messed up things)
  21472. * X11Structs.cs: Added enums and structs required for Size hinting
  21473. * NotifyIcon.cs: Added & implemented
  21474. 2005-01-26 Jackson Harper <[email protected]>
  21475. * TabControl.cs: Space vertically layed out tabs properly.
  21476. 2005-01-26 Peter Bartok <[email protected]>
  21477. * Form.cs (CreateClientParams): Always set the location to 0,0
  21478. since we're a child window.
  21479. * Control.cs (SetVisibleCore): Always explicitly setting the location
  21480. of a toplevel window, apparently X11 doesn't like to move windows
  21481. while they're not mapped.
  21482. 2005-01-26 Jackson Harper <[email protected]>
  21483. * TabControl.cs: Implement FillToRight size mode with vertically
  21484. rendered tabs.
  21485. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  21486. * ControlPaint.cs, ThemeWin32Classic.cs
  21487. - Fixes DrawFocusRectangle
  21488. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  21489. * MenuAPI.cs:
  21490. - MenuBar tracking only starts when item is first clicked
  21491. - Fixes menu hidding for multiple subitems
  21492. - Unselect item in MenuBar when item Executed
  21493. - Fixes bug 71495
  21494. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  21495. * ListControl.cs:
  21496. - IsInputKey for ListBox
  21497. * ListBox.cs:
  21498. - Focus item
  21499. - Shift and Control item selection
  21500. - Implement SelectionMode.MultiExtended
  21501. - Fixes RightToLeft
  21502. * ComboBox.cs:
  21503. - IsInputKey implemented
  21504. - Do not generate OnTextChangedEdit on internal txt changes
  21505. 2005-01-23 Peter Bartok <[email protected]>
  21506. * AccessibleObject.cs: Partially implemented Select()
  21507. * MonthCalendar.cs: Added missing attributes and events
  21508. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  21509. form can properly override CreateParams.
  21510. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  21511. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  21512. Control performs Invalidate & Update
  21513. * NativeWindow (CreateHandle): Added special handling for Form
  21514. and Form.FormParent classes to allow overriding of From.CreateParams
  21515. * Control.cs:
  21516. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  21517. name 'owner'
  21518. - ControlNativeWindow: Added Owner property
  21519. - Removed usage of Refresh() on property changes, changed into
  21520. Invalidate(), we need to wait until the queue is processed for
  21521. updates, direct calls might cause problems if not all vars for
  21522. Paint are initialized
  21523. - Added call to UpdateStyles() when creating the window, to set any
  21524. styles that CreateWindow might have ignored.
  21525. - Added support for Form CreateParent overrides to UpdateStyles()
  21526. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  21527. CreateParams are now properly overridable
  21528. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  21529. CreateParams are now properly overridable
  21530. 2005-01-23 Miguel de Icaza <[email protected]>
  21531. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  21532. OnTextBoxChanged.
  21533. Capture LostFocus and OnTextBoxChanged. The later introduces a
  21534. recursive invocation that I have not figured out yet.
  21535. Reset the timer when not using (it was accumulating).
  21536. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  21537. user has made changes that require validation.
  21538. Reset changing to avoid loops.
  21539. 2005-01-22 Miguel de Icaza <[email protected]>
  21540. * NumericUpDown.cs: Display value at startup.
  21541. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  21542. ValidateEditText.
  21543. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  21544. filled in. Added some basic parsing of text.
  21545. Still missing the OnXXX method overrides, and figuring out the
  21546. events that must be emitted.
  21547. * UpDownBase.cs: Handle UserEdit on the Text property.
  21548. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  21549. * ComboBox.cs:
  21550. - Fixes IntegralHeight
  21551. - ToString method
  21552. 2005-01-21 Jackson Harper <[email protected]>
  21553. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  21554. is set so that the page visibility is updated and the tabs are
  21555. sized correctly.
  21556. 2005-01-21 Jackson Harper <[email protected]>
  21557. * TabControl.cs: Use cliping rectangle for blitting. Give the
  21558. theme the clipping rect so we can do clipping while
  21559. drawing. Remove some debug code.
  21560. 2005-01-21 Jackson Harper <[email protected]>
  21561. * TabPage.cs: Add a new method so tab pages can force the tab
  21562. control to recalculate the tab page sizes.
  21563. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  21564. sizes.
  21565. 2005-01-20 Jackson Harper <[email protected]>
  21566. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  21567. 2005-01-20 Jackson Harper <[email protected]>
  21568. * TreeView.cs: Set the bounds for nodes properly. They were
  21569. getting screwed up when checkboxes were not enabled, but images
  21570. were.
  21571. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  21572. * ListBox.cs:
  21573. - Owner draw support
  21574. - Fixes
  21575. 2005-01-20 Jackson Harper <[email protected]>
  21576. * XplatUIStructs.cs: More misc keys
  21577. * X11Keyboard.cs: Ignore some control keys.
  21578. 2005-01-20 Jackson Harper <[email protected]>
  21579. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  21580. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  21581. 2005-01-19 Peter Bartok <[email protected]>
  21582. * Control.cs: Un-selecting the control when it is loosing focus
  21583. 2005-01-19 Jackson Harper <[email protected]>
  21584. * TreeView.cs: Hook up to the text controls leave event so we can
  21585. end editing when the users clicks outside the text box.
  21586. 2005-01-19 Jackson Harper <[email protected]>
  21587. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  21588. get set in the conversion array.
  21589. 2005-01-19 Peter Bartok <[email protected]>
  21590. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  21591. focus is properly set
  21592. * Button.cs:
  21593. - Added missing attributes
  21594. - removed styles, those are already set in the base class
  21595. * ButtonBase.cs:
  21596. - Added missing attributes
  21597. - Added clip window styles
  21598. * CheckBox.cs: Added missing attributes
  21599. * CommonDialog.cs:
  21600. - FormParentWindow.CreateParams: Added required clip styles
  21601. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  21602. also filters modifier keys
  21603. * MessageBox.cs:
  21604. - Added assignment of Accept and Cancel button to enable Enter
  21605. and Esc keys in MessageBox dialogs
  21606. - FormParentWindow.CreateParams: Added required clip styles
  21607. * RadioButton.cs: Added missing attributes
  21608. * TextControl.cs: No longer draws selection if control does not
  21609. have focus
  21610. * TextBoxBase.cs:
  21611. - Now draws simple rectangle around test area to make it obvious
  21612. there's a control. This is a hack until we properly support borders
  21613. - A few simple fixes to support selections better, now erases selected
  21614. text when typing, and resets selection when using movement keys
  21615. 2005-01-19 Miguel de Icaza <[email protected]>
  21616. * UpDownBase.cs: Added some new properties.
  21617. * DomainUpDown.cs: Implement a lot to get my test working.
  21618. 2005-01-19 Geoff Norton <[email protected]>
  21619. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  21620. 2005-01-19 Geoff Norton <[email protected]>
  21621. * OSXStructs (WindowAttributes): Fixed csc complaints
  21622. 2005-01-19 Geoff Norton <[email protected]>
  21623. * XplayUIOSX.cs:
  21624. OSXStructs.cs: Initial refactor to move enums and consts into
  21625. OSXStructs and use them in the driver for greater readability.
  21626. 2005-01-19 Geoff Norton <[email protected]>
  21627. * XplatUIOSX.cs: Initial support for Standard Cursors.
  21628. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  21629. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  21630. * ComboBox.cs: ability to change style when the ctrl is already
  21631. created, missing methods and events, bug fixes, signature fixes
  21632. 2005-01-19 Peter Bartok <[email protected]>
  21633. * Cursors.cs (ctor): Added ctor to fix signature
  21634. 2005-01-18 Peter Bartok <[email protected]>
  21635. * Button.cs: Implemented DoubleClick event
  21636. * ButtonBase.cs:
  21637. - Fixed keyboard handling to behave like MS, where the press of
  21638. Spacebar is equivalent to a mousedown, and the key release is
  21639. equivalent to mouseup. Now a spacebar push will give the same
  21640. visual feedback like a mouse click.
  21641. - Added missing attributes
  21642. - Added ImeModeChanged event
  21643. - Added support for generating DoubleClick event for derived classes
  21644. * CheckBox.cs:
  21645. - Implemented DoubleClick event
  21646. - Added missing attributes
  21647. * CommonDialog.cs: Added missing attribute
  21648. * ContextMenu.cs: Added missing attributes
  21649. * RadioButton.cs:
  21650. - AutoChecked buttons do not allow to be unselected when clicked
  21651. (otherwise we might end up with no selected buttons in a group)
  21652. - Added missing attributes
  21653. - Implemented DoubleClickEvent
  21654. * ThreadExceptionDialog.cs: Enabled TextBox code
  21655. 2005-01-18 Peter Bartok <[email protected]>
  21656. * Form.cs: Removed debug output
  21657. * Button.cs: Added support for DoubleClick method
  21658. 2005-01-18 Peter Bartok <[email protected]>
  21659. * Form.cs:
  21660. - Added method to parent window that allows triggering size
  21661. calculations when a menu is added/removed
  21662. - set_Menu: Cleaned up mess from early days of Form and Control,
  21663. now properly triggers a recalc when a menu is added/removed
  21664. - Added case to select form itself as focused form if no child
  21665. controls exist
  21666. - Added PerformLayout call when showing dialog, to ensure properly
  21667. placed controls
  21668. * Control.cs:
  21669. - Select(): Made internal so Form can access it
  21670. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  21671. status
  21672. * Application.cs (Run): Removed hack and calls PerformLayout instead
  21673. to trigger calculation when Form becomes visible
  21674. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  21675. * ComboBox.cs: fixes for ownerdraw
  21676. 2005-01-18 Peter Bartok <[email protected]>
  21677. * TextControl.cs:
  21678. - Sentinel is no longer static, each Document gets it's own, this
  21679. avoids locking or alternatively overwrite problems when more
  21680. than one text control is used simultaneously.
  21681. - Switched to use Hilight and HilightText brushes for text selection
  21682. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  21683. 2005-01-18 Peter Bartok <[email protected]>
  21684. * Control.cs:
  21685. - Hooked up the following events:
  21686. o ControlAdded
  21687. o ControlRemoved
  21688. o HandleDestroyed
  21689. o ImeModeChanged
  21690. o ParentChanged
  21691. o TabStopChanged
  21692. o Invalidated
  21693. o SystemColorsChanged
  21694. o ParentFontChanged
  21695. o Move
  21696. - Removed debug output
  21697. - Added a call to the current theme's ResetDefaults when a color change
  21698. is detected
  21699. * Form.cs: Now setting the proper ImeMode
  21700. * Theme.cs: Defined a method to force recreation of cached resources
  21701. and rereading of system defaults (ResetDefaults())
  21702. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  21703. 2005-01-17 Peter Bartok <[email protected]>
  21704. * Control.cs: Added missing attributes
  21705. 2005-01-17 Jackson Harper <[email protected]>
  21706. * TreeNode.cs: Implement editing. Add missing properties selected
  21707. and visible.
  21708. * TreeView.cs: Implement node editing. Also some fixes to use
  21709. Invalidate (invalid area) instead of Refresh when selecting.
  21710. 2005-01-17 Peter Bartok <[email protected]>
  21711. * Control.cs:
  21712. - Implemented InvokeGotFocus() method
  21713. - Implemented InvokeLostFocus() method
  21714. - Implemented InvokePaint() method
  21715. - Implemented InvokePaintBackground() method
  21716. - Implemented InvokeClick() method
  21717. - Implemented FindForm() method
  21718. - Implemented RectangleToClient() method
  21719. - Implemented ClientToRectangle() method
  21720. - Implemented ResetBackColor() method
  21721. - Implemented ResetCursor() method
  21722. - Implemented ResetFont() method
  21723. - Implemented ResteForeColor() method
  21724. - Implemented ResetImeMode() method
  21725. - Implemented ResetLeftToRight() method
  21726. - Implemented ResetText() method
  21727. - Implemented Scale() methods
  21728. - Implemented ScaleCore() method
  21729. - Implemented Update() method
  21730. - Removed unused variables
  21731. - Stubbed AccessibilityNotifyClients and
  21732. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  21733. with those yet)
  21734. - Now setting proper default for RightToLeft property
  21735. - Fixed bug in SetClientSizeCore that would cause windows to get
  21736. really big
  21737. - Now sending Click/DoubleClick events
  21738. - Now selecting controls when left mouse button is clicked on
  21739. selectable control
  21740. * AccessibleEvents.cs: Added
  21741. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  21742. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  21743. * XplatUIWin32.cs: Implemented UpdateWindow() method
  21744. * XplatUIX11.cs: Implemented UpdateWindow() method
  21745. * Form.cs: Removed stray semicolon causing CS0162 warning
  21746. * ThemeWin32Classic.cs: Fixed unused variable warnings
  21747. * ScrollableControl.cs: Now calls base method for ScaleCore
  21748. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  21749. style to avoid interference with internal click handler (which is
  21750. different than standard Control click handling)
  21751. * RadioButton.cs:
  21752. - Now unchecks all sibling radio buttons when control is
  21753. selected (Fixes #68756)
  21754. - Removed internal tabstop variable, using the one inherited from
  21755. Control
  21756. 2005-01-17 Jackson Harper <[email protected]>
  21757. * NavigateEventArgs.cs: Fix base type.
  21758. * LinkLabel.cs: Sig fix
  21759. 2005-01-17 Jackson Harper <[email protected]>
  21760. * TreeView.cs: Only invalidate the effected nodes bounds when
  21761. selecting nodes.
  21762. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21763. * XplatUIWin32.cs: fixes Win32 marshaling
  21764. * XplatUIX11.cs: fixes method signature
  21765. 2005-01-17 Peter Bartok <[email protected]>
  21766. * XplatUIX11.cs: Clean up resources when we no longer need them
  21767. 2005-01-17 Peter Bartok <[email protected]>
  21768. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  21769. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  21770. and DestroyCursor() methods.
  21771. * Cursor.cs: Partially implemented, now supports standard cursors;
  21772. still contains some debug code
  21773. * Cursors.cs: Implemented class
  21774. * Control.cs:
  21775. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  21776. appropriate cursor
  21777. - Implemented Cursor property
  21778. - Replaced break; with return; more straightforwar and possibly
  21779. faster
  21780. - Now properly setting the result for WM_HELP
  21781. * X11Structs.cs: Added CursorFontShape enum
  21782. * XplatUIStructs.cs:
  21783. - Added StdCursor enum (to support DefineStdCursor() method)
  21784. - Added HitTest enum (to support sending WM_SETCURSOR message)
  21785. * XplatUIX11.cs:
  21786. - Now sends the WM_SETCURSOR message
  21787. - Implemented new cursor methods
  21788. * XplatUIOSX.cs: Stubbed new cursor methods
  21789. * XplatUIWin32.cs:
  21790. - Implemented new cursor methods
  21791. - Added GetSystemMetrics function and associated enumeration
  21792. 2005-01-15 Peter Bartok <[email protected]>
  21793. * Control.cs:
  21794. - WndProc(): Now handles EnableNotifyMessage
  21795. - SelectNextControl(): Fixed bug where if no child or sibling
  21796. controls exist we looped endlessly
  21797. 2005-01-14 Jackson Harper <[email protected]>
  21798. * TreeView.cs: Recalculate the tab pages when a new one is added
  21799. so that the proper bounding rects are created.
  21800. 2005-01-14 Jackson Harper <[email protected]>
  21801. * TreeView.cs: Draw a gray box instead of a grip in the lower
  21802. right hand corner when there are both horizontal and vertical
  21803. scroll bars.
  21804. 2005-01-14 Jackson Harper <[email protected]>
  21805. * Control.cs: When erasing backgrounds use FromHwnd instead of
  21806. FromHdc when there is a NULL wparam. This occurs on the X driver.
  21807. * XplatUIX11.cs: Set the wparam to NULL.
  21808. 2005-01-13 Jackson Harper <[email protected]>
  21809. * PictureBox.cs: Implement missing methods (except ToString, need
  21810. to test that on windows) and events. When visibility is changed we
  21811. need to redraw the image because the buffers are killed. When size
  21812. is changed refresh if the sizemode needs it.
  21813. 2005-01-13 Peter Bartok <[email protected]>
  21814. * Control.cs (SelectNextControl): Was using wrong method to select
  21815. a control
  21816. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21817. * ComboBox.cs: fixes dropstyle
  21818. 2005-01-13 Peter Bartok <[email protected]>
  21819. * Form.cs:
  21820. - Implemented Select() override
  21821. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  21822. - Now sets keyboard focus on startup
  21823. * Control.cs (SelectNextControl): Now properly handles directed=true
  21824. * TextBoxBase.cs:
  21825. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  21826. - Added (really bad) focus rectangle (mostly for testing)
  21827. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  21828. to enforce redraw on focus changes
  21829. * ContainerControl.cs:
  21830. - Fixed detection of Shift-Tab key presses
  21831. - Fixed traversal with arrow keys
  21832. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  21833. gonna keep this or if it's complete yet
  21834. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21835. * ComboBox.cs: missing properties, fixes
  21836. 2005-01-13 Peter Bartok <[email protected]>
  21837. * Panel.cs (ctor): Setting Selectable window style to off
  21838. * Splitter.cs (ctor): Setting Selectable window style to off
  21839. * GroupBox.cs (ctor): Setting Selectable window style to off
  21840. * Label.cs (ctor): Setting Selectable window style to off
  21841. 2005-01-12 Miguel de Icaza <[email protected]>
  21842. * UpDownBase.cs (InitTimer): If the timer has been already
  21843. created, enable it.
  21844. Use a TextBox instead of a Label.
  21845. 2005-01-12 Jackson Harper <[email protected]>
  21846. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  21847. draw the connecting node lines (when ShowLines is true).
  21848. * TreeNode.cs: The nodes index can now be updated. This is used
  21849. when a node collection is sorted.
  21850. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  21851. insert or an existing unsorted node collection can be sorted.
  21852. 2005-01-12 Peter Bartok <[email protected]>
  21853. * ContainerControl.cs: Implemented ProcessDialogKeys()
  21854. 2005-01-12 Peter Bartok <[email protected]>
  21855. * Control.cs:
  21856. - Implemented SelectNextControl() method
  21857. - Several focus related bug fixes
  21858. - Fixed Docking calculations to match MS documentation and
  21859. behaviour
  21860. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  21861. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  21862. bug fixes
  21863. 2005-01-12 Peter Bartok <[email protected]>
  21864. * Control.cs:
  21865. - Fixed broken Contains() method
  21866. - Implemented GetNextControl() method. Finally. This is the pre-
  21867. requisite for focus handling.
  21868. 2005-01-12 Peter Bartok <[email protected]>
  21869. * OSXStrucs.cs: Added
  21870. 2005-01-12 Peter Bartok <[email protected]>
  21871. * XplatUIWin32.cs:
  21872. - Removed PeekMessageFlags
  21873. - Implemented SetWindowStyle() method
  21874. * XplatUIStructs.cs: Added PeekMessageFlags
  21875. * X11Structs: Added missing border_width field to XWindowChanges struct
  21876. * XplatUIX11.cs:
  21877. - PeekMessage: Now throws exception if flags which are not yet
  21878. supported are passed
  21879. - Implemented SetWindowStyle() method
  21880. - Fixed SetZOrder to handle AfterHwnd properly
  21881. * XplatUI.cs: Added SetWindowStyle() method
  21882. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  21883. * Control.cs:
  21884. - Implemented UpdateStyles() method
  21885. - Implemented UpdateZOrder() method
  21886. * XplatUIOSX.cs: Added SetWindowStyle() stub
  21887. 2005-01-12 Geoff Norton <[email protected]>
  21888. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  21889. button mouse).
  21890. 2005-01-11 Jackson Harper <[email protected]>
  21891. * TreeView.cs: Still need to draw lines to siblings even if out of
  21892. the current node is out of the clip.
  21893. 2005-01-11 Jackson Harper <[email protected]>
  21894. * TreeView.cs: When setting the hbar/vbar/grip position use
  21895. SetBounds so that perform layout is only called once. Also suspend
  21896. and resume layout so layout is only done once for all controls.
  21897. - Removed some debug fluff
  21898. * SizeGrip.cs: Call base implmentation in overriding methods.
  21899. - When visibility is changed the drawing buffers are killed so we
  21900. need to redraw.
  21901. 2005-01-11 Jackson Harper <[email protected]>
  21902. * TreeView.cs: Calculate the open node count while drawing. This
  21903. saves us an entire tree traversal for every paint operation. Use
  21904. a member var for the open node count so less vars are passed around.
  21905. 2005-01-11 John BouAntoun <[email protected]>
  21906. * MonthCalendar.cs:
  21907. - fixed selection to use mousemove, not mouse polling on timer
  21908. * ThemeWin32Classic.cs
  21909. - removed redundant unused variable "no_more_content"
  21910. 2005-01-11 Peter Bartok <[email protected]>
  21911. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  21912. are pending, so it now calls PeekMessage instead of GetMessage;
  21913. implemented a incomplete version of PeekMessage
  21914. 2005-01-11 Peter Bartok <[email protected]>
  21915. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  21916. I18n issues
  21917. * TextBoxBase.cs: Added sending of TextChanged event
  21918. 2005-01-10 Jackson Harper <[email protected]>
  21919. * TreeView.cs: Try not to draw outside the clipping rectangle on
  21920. each node element.
  21921. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  21922. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  21923. 2005-01-10 Jackson Harper <[email protected]>
  21924. * TreeView.cs:
  21925. - Implement fast scrolling. Now only the newly
  21926. exposed nodes are drawn and the old image is moved using the
  21927. XplatUI::ScrollWindow method.
  21928. - Factor in height of nodes when calculating whether or not the
  21929. node is in the clipping rect.
  21930. 2005-01-10 Jackson Harper <[email protected]>
  21931. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  21932. 2005-01-10 Peter Bartok <[email protected]>
  21933. * Application.cs: Added temporary hack to resolve all our resize
  21934. required issues on startup. This will get fixed properly at
  21935. some point in the future
  21936. 2005-01-10 Jackson Harper <[email protected]>
  21937. * SizeGrip.cs: New internal class that is used as a sizing
  21938. grip control...hence the name.
  21939. 2005-01-10 Peter Bartok <[email protected]>
  21940. * Control.cs: Implemented proper TabIndex handling, now assigning
  21941. a tabindex when a control is added to a container
  21942. * GroupBox.cs (ctor): Now sets the Container style bit, required
  21943. for Control.GetNextControl()
  21944. 2005-01-09 Jackson Harper <[email protected]>
  21945. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  21946. 2005-01-09 Peter Bartok <[email protected]>
  21947. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  21948. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  21949. an overload for ScrollWindow to allow only scrolling a rectangle
  21950. 2005-01-09 Peter Bartok <[email protected]>
  21951. * Form.cs:
  21952. - Implemented SetDesktopBounds method
  21953. - Implemented SetDesktopLocation method
  21954. 2005-01-08 Jackson Harper <[email protected]>
  21955. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  21956. the node count has changed, this removes to VScroll::Refresh calls
  21957. when drawing.
  21958. 2005-01-08 Geoff Norton <[email protected]>
  21959. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  21960. 2005-01-07 Jackson Harper <[email protected]>
  21961. * TreeNode.cs: Just update the single node when it is
  21962. checked. Don't refresh after toggling, the Expand/Collapse already
  21963. handles this.
  21964. * TreeView.cs: Respect clipping a little more when drawing. Try
  21965. not to redraw things that don't need to be redrawn. Just hide the
  21966. scrollbars when they are no longer needed instead of removing
  21967. them, so they don't have to be created again and again.
  21968. 2005-01-07 Geoff Norton <[email protected]>
  21969. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  21970. coordinates to window space to place the caret properly, FIXED.
  21971. Implement GetWindowState & SetWindowState
  21972. 2005-01-06 Peter Bartok <[email protected]>
  21973. * Form.cs:
  21974. - Implemented ClientSize property
  21975. - Implemented DesktopBounds property
  21976. - Implemented DesktopLocation property
  21977. - Implemented IsRestrictedWindow property
  21978. - Implemented Size property
  21979. - Implemented TopLevel property
  21980. - Implemented FormWindowState property
  21981. * Control.cs:
  21982. - Implemented GetTopLevel() method
  21983. - Implemented SetTopLevel() method
  21984. * X11Structs.cs (Atom):
  21985. - Added AnyPropertyType definition
  21986. - Added MapState definiton and updated XWindowAttribute struct
  21987. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  21988. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  21989. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  21990. * XplatUIWin32.cs:
  21991. - Implemented GetWindowState() and SetWindowState() methods
  21992. - Fixed Win32GetWindowLong return type
  21993. * XplatUIX11.cs:
  21994. - Introduced central function for sending NET_WM messages
  21995. - Implemented GetWindowState() and SetWindowState() methods
  21996. * TextBoxBase.cs (set_Lines):
  21997. - Now uses Foreground color for text added via Text property (Duh!)
  21998. - Added code to remember programmatically requested size (fixes
  21999. behaviour when Multiline is set after Size)
  22000. - Added AutoSize logic
  22001. 2005-01-06 Jackson Harper <[email protected]>
  22002. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  22003. 2005-01-06 Jackson Harper <[email protected]>
  22004. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  22005. set to less then 0.
  22006. 2005-01-06 Jackson Harper <[email protected]>
  22007. * ScrollableControl.cs: Lazy init the scrollbars.
  22008. 2005-01-06 Jackson Harper <[email protected]>
  22009. * Theme.cs: Speed up getting pens and solid brushes, by using
  22010. their ARGB as a hash instead of tostring and not calling Contains.
  22011. 2005-01-06 Peter Bartok <[email protected]>
  22012. * Form.cs:
  22013. - Implemented OnActivated and OnDeactivate event trigger
  22014. - Implemented Activate() method
  22015. - Fixed ShowDialog() to activate the form that was active before
  22016. the dialog was shown
  22017. * XplatUIX11.cs:
  22018. - Added global active_window var that tracks the currently active
  22019. X11 window
  22020. - Now always grabs Property changes from the root window to always
  22021. catch changes on the active window property
  22022. - Added code to PropertyNotify handler to send Active/Inactive
  22023. messages when state changes. This puts X11 and Win32 en par on
  22024. WM_ACTIVATE notifications (except for double notifications when
  22025. the user clicks away from our modal window to another one of our
  22026. windows)
  22027. 2005-01-05 Jackson Harper <[email protected]>
  22028. * ImageList.cs: Implment ctor
  22029. 2005-01-05 Geoff Norton <[email protected]>
  22030. * XplatUIOSX.cs: Implement Activate/SetTopmost
  22031. 2005-01-05 Geoff Norton <[email protected]>
  22032. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  22033. 2005-01-05 Geoff Norton <[email protected]>
  22034. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  22035. 2005-01-05 Peter Bartok <[email protected]>
  22036. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  22037. XplatUIOSX.cs: Added GetActive method to return the currently
  22038. active window for the application (or null, if none is active)
  22039. * Form.cs:
  22040. - Implemented ActiveForm
  22041. - Commented out owner assignment for modal dialogs (causes problems
  22042. on Win32, since the owner will be disabled)
  22043. - Reworked some Active/Focus handling (still incomplete)
  22044. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  22045. (causes problems on Win32, since the owner will be disabled)
  22046. * IWin32Window: Added ComVisible attribute
  22047. 2005-01-05 Peter Bartok <[email protected]>
  22048. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  22049. required XplatUI functions.
  22050. 2005-01-05 Peter Bartok <[email protected]>
  22051. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  22052. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  22053. to implement focus and activation handling; still incomplete and
  22054. with debug output
  22055. 2005-01-04 Peter Bartok <[email protected]>
  22056. * TextBoxBase.cs: Changed access level for Document property to
  22057. match switch to internal for TextControl
  22058. 2005-01-04 Peter Bartok <[email protected]>
  22059. * AccessibleObject: Added ComVisible attribute
  22060. 2005-01-04 Jackson Harper <[email protected]>
  22061. * X11Keyboard.cs: Remove unneeded var.
  22062. 2005-01-04 Jackson Harper <[email protected]>
  22063. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  22064. but PAINT.
  22065. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  22066. ClientMessage. This makes apps exit cleanly (more often).
  22067. 2005-01-04 Jackson Harper <[email protected]>
  22068. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  22069. handling focus, return correct colors and fonts,
  22070. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  22071. handle selection, horizontal scrolling, and mouse interaction.
  22072. 2005-01-04 Peter Bartok <[email protected]>
  22073. * ICommandExecutor.cs: Added
  22074. * IDataGridColumnStyleEditingNotificationService.cs: Added
  22075. * IFeatureSupport.cs: Added
  22076. * IFileReaderService.cs: Added
  22077. * IDataObject.cs: Added ComVisible attribute
  22078. * AmbientProperties.cs: Added
  22079. * BaseCollection.cs: Added missing attributes
  22080. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  22081. * BaseCollection.cs: Added missing attributes
  22082. * Binding.cs: Added TypeConverter attribute
  22083. * BindingContext.cs: Added DefaultEvent attribute
  22084. * BindingsCollection.cs: Added DefaultEvent attribute
  22085. * Button.cs: Added DefaultValue attribute
  22086. * DragEventArgs.cs: Added ComVisible attribute
  22087. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  22088. * KeyEventArgs.cs: Added ComVisible attribute
  22089. * KeyPressEventArgs.cs: Added ComVisible attribute
  22090. * MouseEventArgs.cs: Added ComVisible attribute
  22091. * NavigateEventArgs.cs: Added
  22092. * NavigateEventHandler.cs: Added
  22093. * FeatureSupport.cs: Added
  22094. * OSFeature.cs: Added
  22095. * Theme.cs: Added abstract Version property to support OSFeature
  22096. * ThemeWin32Classic.cs: Added Version property to
  22097. support OSFeature.Themes
  22098. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  22099. the proper styles to avoid background drawing are set, also doesn't
  22100. match MS signature
  22101. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  22102. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  22103. * ScrollEventArgs.cs: Added ComVisible attribute
  22104. * SplitterEventArgs.cs: Added ComVisible attribute
  22105. * AccessibleSelection.cs: Added Flags attribute
  22106. * Appearance.cs: Added ComVisible attribute
  22107. * Border3DSide.cs: Added ComVisible attribute
  22108. * Border3DStyle.cs: Added ComVisible attribute
  22109. * BorderStyle.cs: Added ComVisible attribute
  22110. * DragAction.cs: Added ComVisible attribute
  22111. * ErrorBlinkStyle.cs: Added
  22112. * ScrollEventType.cs: Added ComVisible attribute
  22113. * AnchorStyles.cs: Added Editor attribute
  22114. * DockStyle.cs: Added Editor attribute
  22115. * HorizontalAlignment.cs: Added ComVisible attribute
  22116. * HelpEventArgs.cs: Added ComVisible attribute
  22117. * PaintEventArgs.cs: Added IDisposable
  22118. 2005-01-04 Peter Bartok <[email protected]>
  22119. * TextControl.cs: Switched Line, LineTag and Document classes to
  22120. internal
  22121. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  22122. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  22123. Simple mode, fixes, IntegralHeight, etc.
  22124. 2005-01-04 Peter Bartok <[email protected]>
  22125. * TextBoxBase.cs: Using proper font variable now
  22126. 2005-01-04 Peter Bartok <[email protected]>
  22127. * Form.cs (ShowDialog): Set parent to owner, if provided
  22128. * GroupBox.cs: Removed unused vars
  22129. * TextControl.cs:
  22130. - Added GetHashCode() for Document and LineTag classes
  22131. - Removed unused variables
  22132. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  22133. to allow translation between continuous char position and line/pos
  22134. * CheckBox.cs: Removed vars that are provided by base class
  22135. * RadioButton.cs: Removed vars that are provided by base class, added
  22136. new keyword where required
  22137. * LinkLabel.cs: Added new keyword where required
  22138. * Control.cs (WndProc): Removed unused variable
  22139. * TextBoxBase.cs:
  22140. - Finished SelectionLength property
  22141. - Implemented SelectionStart property
  22142. - Implemented Text property
  22143. - Removed unused vars
  22144. * MessageBox.cs: Added new keyword where required
  22145. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  22146. WndProc signature
  22147. * MenuAPI.cs: Added new keyword where required
  22148. * ButtonBase.cs: Removed vars that are provided by base class, added
  22149. new keyword where required
  22150. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  22151. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  22152. into this)
  22153. * Application.cs (Run): Now triggers the ThreadExit event
  22154. * CommonDialog.cs: Added new keyword where required; now properly sets
  22155. parent (owner) for dialog
  22156. * XplatUIX11.cs: Commented out unused vars
  22157. * StatusBar.cs: Fixed signature for Text property
  22158. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  22159. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  22160. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  22161. TrackBar.cs, MonthCalendar.cs: remove unused vars
  22162. 2005-01-03 Jackson Harper <[email protected]>
  22163. * ThemeWin32Classic.cs:
  22164. * X11Keyboard.cs: Remove unused vars.
  22165. 2005-01-03 Peter Bartok <[email protected]>
  22166. * TextBox.cs:
  22167. - set_Text: Tied into TextControl
  22168. - set_TextAlignment: Tied into TextControl
  22169. * TextControl.cs:
  22170. - Added alignment properties and implemented alignment handling
  22171. and drawing (still has a bug, not generating proper expose events)
  22172. - Added new Line() constructor to allow passing the line alignment
  22173. - Fixed selection setting, properly handling end<start now
  22174. - Added aligment considerations to RecalculateDocument()
  22175. * TextBoxBase.cs:
  22176. - Now properly enforces control height for single line controls
  22177. - Added support for CharacterCasing
  22178. - Added IsInputKey override
  22179. - Fixed Keys.Enter logic
  22180. - Added SetBoundsCore override
  22181. - Fixed mouse selection handling
  22182. 2005-01-03 Jackson Harper <[email protected]>
  22183. * TreeView.cs:
  22184. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  22185. - Checkboxes are always aligned to the bottom of the node,
  22186. regardless of item height.
  22187. - Use the node bounds to draw the text so we can center it when
  22188. the item height is greater then the font height.
  22189. - Node::Bounds are only the text part of the node.
  22190. * TreeNode.cs: New method to combine collapsing and unchecking all
  22191. nodes recursively.
  22192. 2005-01-02 Jackson Harper <[email protected]>
  22193. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  22194. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  22195. tree when a check is changed. TODO: Only refresh the checked node.
  22196. 2004-12-30 Jackson Harper <[email protected]>
  22197. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  22198. * TreeNode.cs: When collapsing make sure to never collapse the
  22199. root node.
  22200. 2004-12-29 Jackson Harper <[email protected]>
  22201. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  22202. 2004-12-28 Zoltan Varga <[email protected]>
  22203. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  22204. 2004-12-28 Peter Bartok <[email protected]>
  22205. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  22206. not yet assigned
  22207. 2004-12-28 Peter Bartok <[email protected]>
  22208. * Control.cs (WndProc): Added WM_HELP handler, now generates
  22209. HelpRequested event
  22210. * Form.cs: Added HelpButton property and required support code
  22211. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  22212. 2004-12-28 Peter Bartok <[email protected]>
  22213. * CommonDialog.cs:
  22214. - Made DialogForm.owner variable internal
  22215. - Added check to ensure owner form is set before setting
  22216. owner properties in CreateParams
  22217. 2004-12-28 Geoff Norton <[email protected]>
  22218. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  22219. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  22220. GetCursorPos. Fix major visibility issues. Rework the windowing
  22221. system to support borderless/titleless windows (implements menus).
  22222. Fix GetWindowPos. Implement initial background color support for
  22223. views.
  22224. 2004-12-28 Peter Bartok <[email protected]>
  22225. * Form.cs (get_CreateParams): Make sure we have an owner before using
  22226. the owner variable. Implement proper default if no owner exists
  22227. 2004-12-28 Peter Bartok <[email protected]>
  22228. * In preparation for making Managed.Windows.Forms the default build target
  22229. for System.Windows.Forms, the following stubbed files were added.
  22230. Dialogs are currently being implemented by contributors and are only
  22231. short-term place holders.
  22232. * ColorDialog.cs: Initial check-in (minmal stub)
  22233. * DataGrid.cs: Initial check-in (minimal stub)
  22234. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  22235. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  22236. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  22237. * FontDialog.cs: Initial check-in (minimal stub)
  22238. * FileDialog.cs: Initial check-in (minimal stub)
  22239. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  22240. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  22241. * OpenFileDialog: Initial check-in (minimal stub)
  22242. * IComponentEditorPageSite.cs: Initial check-in
  22243. * Splitter.cs: Initial check-in (for Jackson)
  22244. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  22245. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  22246. * TextBox.cs: Initial check-in; still needs some wiring to
  22247. TextControl backend
  22248. * Form.cs: Implemented ControlBox property
  22249. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  22250. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  22251. * TextControl.cs: Added selection functionality; added todo header
  22252. * TextBoxBase.cs:
  22253. - Implemented Lines property
  22254. - Implemented TextHeight property
  22255. - Implemented SelectedText property
  22256. - Implemented SelectionLength property
  22257. - Implemented SelectAll method
  22258. - Implemented ToString method
  22259. - Removed and cleaned up some debug code
  22260. - Implemented (still buggy) mouse text selection
  22261. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  22262. * ComboBox.cs: Complete DropDownList implementation, fixes.
  22263. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  22264. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  22265. * ComboBoxStyle.cs: ComboBoxStyle enum
  22266. * ComboBox.cs: Initial work on ComboBox control
  22267. 2004-12-21 Peter Bartok <[email protected]>
  22268. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  22269. forward so that anything that creates a window gets the default,
  22270. also no longer uses Visible property in CreateParams to avoid
  22271. walking up the parent chain and possibly get the wrong visible
  22272. status. Fixed IsVisible to no longer walk up to the parent.
  22273. 2004-12-21 Peter Bartok <[email protected]>
  22274. * Form.cs (ShowDialog): Unset modality for the proper window
  22275. 2004-12-20 Peter Bartok <[email protected]>
  22276. * CommonDialog.cs: Initial check-in
  22277. 2004-12-20 Peter Bartok <[email protected]>
  22278. * Control.cs (Visible): Now uses the parent window instead of the
  22279. client area window for the property
  22280. * Form.cs
  22281. - ShowDialog(): Now uses the proper window for modality
  22282. - The default visibility state for the form parent is now false. This
  22283. will prevent the user from seeing all the changes to the form and
  22284. its controls before the application hits Application.Run()
  22285. - Removed some stale commented out code
  22286. * NativeWindow.cs:
  22287. - Added FindWindow() method to have a method to check for existence
  22288. of a window handle
  22289. - Added ability to override default exception handling (for example
  22290. when debugging with VS.Net; to do this the ExternalExceptionHandler
  22291. define must be set
  22292. - Removed some useless debug output
  22293. * XplatUIX11.cs:
  22294. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  22295. not working as expected
  22296. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  22297. property to allow switching back to the modal window if focus is
  22298. given to another one of our windows (Application Modal)
  22299. - Now only sets override_redirect if we create a window
  22300. without WS_CAPTION
  22301. - Moved EventMask selection before mapping of newly created window
  22302. so we can catch the map event as well
  22303. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  22304. - Added various Atom related DllImports
  22305. - Implemented Exit() method
  22306. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  22307. in the CreateParams
  22308. * MessageBox.cs: Now properly deals with the FormParent window by
  22309. providing an override the FormParent CreateParams property to
  22310. set as POPUP instead of OVERLAPPED window.
  22311. 2004-12-19 Geoff Norton <[email protected]>
  22312. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  22313. Minor code cleanup.
  22314. 2004-12-19 Geoff Norton <[email protected]>
  22315. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  22316. 2004-12-18 Peter Bartok <[email protected]>
  22317. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  22318. implementing SetModal() method
  22319. 2004-12-18 Peter Bartok <[email protected]>
  22320. * X11Structs.cs (XGCValues): Fixed type of function element
  22321. * XplatUI.cs: Added ScrollWindow() method
  22322. * XplatUIDriver.cs: Added ScrollWindow() abstract
  22323. * XplatUIWin32.cs: Implemented ScrollWindow() method
  22324. * XplatUIX11.cs: Implemented ScrollWindow() method
  22325. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  22326. 2004-12-17 Geoff Norton <[email protected]>
  22327. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  22328. Some more keyboard support (INCOMPLETE)
  22329. 2004-12-17 Peter Bartok <[email protected]>
  22330. * TextControl.cs:
  22331. - Added color attribute to line tags.
  22332. - Added color argument to all functions dealing with tags
  22333. - Added color argument support to various functions
  22334. - Fixed miss-calculation of baseline/shift in certain circumstances
  22335. * TextBoxBase.cs: Added new color option to test code
  22336. 2004-12-17 Jackson Harper <[email protected]>
  22337. * TreeNode.cs:
  22338. * MonthCalendar.cs: Signature fixes
  22339. 2004-12-17 Geoff Norton <[email protected]>
  22340. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  22341. keyboard event moved it. Create a new graphics context for each paint resolves this
  22342. 2004-12-17 Geoff Norton <[email protected]>
  22343. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  22344. Make caret exist and go blink blink. Initial keyboard support.
  22345. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  22346. works.
  22347. 2004-12-17 Jackson Harper <[email protected]>
  22348. * XplatUIStructs.cs: Updated set of virtual keycodes.
  22349. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  22350. 2004-12-17 Jackson Harper <[email protected]>
  22351. * XplatUIX11.cs: Prune old keyboard code.
  22352. 2004-12-17 Jackson Harper <[email protected]>
  22353. * XplatUIX11.cs: When generating mouse wparams get the modifier
  22354. keys from the ModifierKeys property.
  22355. 2004-12-17 Jackson Harper <[email protected]>
  22356. * X11Keyboard.cs: Send up/down input when generating
  22357. messages. Remove some unused vars.
  22358. 2004-12-17 Jackson Harper <[email protected]>
  22359. * TabControl.cs:
  22360. * TreeView.cs: get rid of warnings.
  22361. 2004-12-17 Jackson Harper <[email protected]>
  22362. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  22363. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  22364. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  22365. CheckedListBox.cs: Implementation
  22366. 2004-12-17 Peter Bartok <[email protected]>
  22367. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  22368. 2004-12-16 Peter Bartok <[email protected]>
  22369. * TextControl.cs:
  22370. - InsertCharAtCaret(): Fixed start pos fixup
  22371. - CaretLine_get: No longer derives the line from the tag, the tag
  22372. could be stale if lines in the document have been added or deleted
  22373. - RebalanceAfterDelete(): Fixed bug in balancing code
  22374. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  22375. - Line.Streamline(): Now can also elminate leading empty tags
  22376. - DumpTree(): Added a few more tests and prevented exception on
  22377. uninitialized data
  22378. - Added Debug section for Combining lines
  22379. - Delete(): Now copies all remaining properties of a line
  22380. * TextBoxBase.cs:
  22381. - Left mousebutton now sets the caret (and middle button still acts
  22382. as formatting tester, which must go away soon)
  22383. - Added Debug section for Deleting/Combining lines
  22384. - Fixed calculations for UpdateView after Combining lines
  22385. 2004-12-16 Peter Bartok <[email protected]>
  22386. * TextControl.cs: Now properly aligns text on a baseline, using the
  22387. new XplatUI.GetFontMetrics() method. Simplified several calculations
  22388. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  22389. defined
  22390. 2004-12-16 Peter Bartok <[email protected]>
  22391. * XplatUI.cs: Added GetFontMetrics() method
  22392. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  22393. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  22394. into libgdiplus, our private GetFontMetrics function
  22395. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  22396. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  22397. 2004-12-16 Jackson Harper <[email protected]>
  22398. * XplatUIStruct.cs: Add enum for dead keys
  22399. * X11Keyboard.cs: Map and unmap dead keys.
  22400. 2004-12-16 Jackson Harper <[email protected]>
  22401. * X11Keyboard.cs: Detect and use the num lock mask.
  22402. 2004-12-16 Peter Bartok <[email protected]>
  22403. * Control.cs (CreateGraphics): Added check to make sure the
  22404. handle of the window exists before calling Graphics.FromHwnd()
  22405. 2004-12-16 Peter Bartok <[email protected]>
  22406. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  22407. contains a lot of code that's not supposed to be there for the
  22408. real thing, but required for developing/testing the textbox
  22409. backend.
  22410. 2004-12-16 Peter Bartok <[email protected]>
  22411. * TextControl.cs:
  22412. - Fixed Streamline method
  22413. - Added FindTag method to Line
  22414. - Added DumpTree method for debugging
  22415. - Added DecrementLines() method for deleting lines
  22416. - Fixed UpdateView to update the cursor to end-of-line on single-line
  22417. updates
  22418. - Added PositionCaret() method
  22419. - Fixed MoveCaret(LineDown) to move into the last line, too
  22420. - Added InsertChar overload
  22421. - Fixed InsertChar tag offset calculations
  22422. - Added DeleteChar() method
  22423. - Added Combine() method for folding lines
  22424. - Fixed Delete() method, no longer allocates wasted Line object and
  22425. now copies all properties when swapping nodes
  22426. - Delete() method now updates document line counter
  22427. 2004-12-15 Jackson Harper <[email protected]>
  22428. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  22429. * X11Keyboard.cs: Expose the currently selected modifier keys
  22430. through a property.
  22431. 2004-12-15 Peter Bartok <[email protected]>
  22432. * TextControl.cs: Initial check-in. Still incomplete
  22433. 2004-12-15 Jackson Harper <[email protected]>
  22434. * TreeNode.cs:
  22435. * TreeView.cs: Fix build on csc (second time today ;-))
  22436. 2004-12-15 Jackson Harper <[email protected]>
  22437. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  22438. is calculated and use this for click testing.
  22439. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  22440. 2004-12-15 Jackson Harper <[email protected]>
  22441. * TreeView.cs: Pass the nodes image index to the image list when
  22442. drawing that image.
  22443. 2004-12-15 Jackson Harper <[email protected]>
  22444. * X11Keyboard.cs: Set messages hwnd.
  22445. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  22446. post_message calls.
  22447. 2004-12-15 Jackson Harper <[email protected]>
  22448. * X11Keyboard.cs: Fix to compile with csc.
  22449. 2004-12-15 Jackson Harper <[email protected]>
  22450. * X11Structs.cs: Add key mask values
  22451. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  22452. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  22453. down/up foo into WM_CHAR foo
  22454. * KeyboardLayouts.cs: Common keyboard layouts
  22455. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  22456. post messages into the main queue.
  22457. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  22458. * Button.cs: implement ProcessMnemonic
  22459. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  22460. brushes everytime
  22461. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  22462. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  22463. 2004-12-12 John BouAntoun <[email protected]>
  22464. * MonthCalendar.cs: Implemented click-hold for next/previous month
  22465. and date selection
  22466. 2004-12-11 Peter Bartok <[email protected]>
  22467. * X11Structs.cs:
  22468. - Added XKeyboardState (moved from XplatUIX11.cs)
  22469. - Added XCreateGC related enums and structures
  22470. - Added GXFunction for XSetFunction
  22471. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  22472. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  22473. CaretVisible() calls
  22474. * ToolTip.cs: Added code to prevent stealing focus from app windows
  22475. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  22476. DestroyCaret, SetCaretPos and CaretVisible)
  22477. * XplatUIX11.cs:
  22478. - Added implementation for caret functions
  22479. - Moved hover variables into a struct, to make it a bit easier
  22480. on the eyes and to debug
  22481. - Removed XKeyboardState (moved to XplatUIX11.cs)
  22482. - Moved Keyboard properties into the properties region
  22483. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  22484. call to get a graphics context for our control
  22485. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  22486. * TreeView.cs: Fixed bug. No matter what color was set it would always
  22487. return SystemColors.Window
  22488. * XplatUIWin32.cs: Implemented caret overrides
  22489. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  22490. * ListBox.cs: fire events, implement missing methods and properties,
  22491. sorting.
  22492. 2004-12-10 John BouAntoun <[email protected]>
  22493. * MonthCalendar.cs: invalidation bug fixing
  22494. * ThemeWin32Classic.cs: paint fixing
  22495. 2004-12-09 Geoff Norton <[email protected]>
  22496. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  22497. prepare the CGContextRef there now.
  22498. 2004-12-09 John BouAntoun <[email protected]>
  22499. * MonthCalendar.cs:
  22500. - optimisationL only invalidate areas that have changed
  22501. * ThemeWin32Classic.cs:
  22502. - only paint parts that intersect with clip_area
  22503. 2004-12-09 Peter Bartok <[email protected]>
  22504. * Application.cs: Undid changes from r37004 which cause problems
  22505. on X11
  22506. 2004-12-09 Ravindra <[email protected]>
  22507. * ToolBar.cs: Added support for displaying ContextMenu
  22508. attached to a button on ToolBar.
  22509. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  22510. property.
  22511. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  22512. * Label.cs: autosize works in text change and removes unnecessary
  22513. invalidate
  22514. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  22515. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  22516. remove warnings
  22517. 2004-12-08 Geoff Norton <[email protected]>
  22518. * XplatUIOSX.cs: Added mouse move/click/grab support
  22519. Remove some debugging WriteLines not needed anymore.
  22520. Add window resizing/positioning.
  22521. Fix visibility on reparenting.
  22522. 2004-12-08 Peter Bartok <[email protected]>
  22523. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  22524. 2004-12-07 Geoff Norton <[email protected]>
  22525. * XplatUIOSX.cs: Initial checkin
  22526. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  22527. 2004-12-03 Ravindra <[email protected]>
  22528. * ListView.cs: Added some keybindings and fixed scrolling.
  22529. ScrollBars listen to ValueChanged event instead of Scroll
  22530. Event. This would let us take care of all changes being
  22531. done in the scrollbars' values programmatically or manually.
  22532. * ListView.cs (CanMultiselect): Added a check for shift key.
  22533. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  22534. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  22535. of ListViewSubItemCollection as well.
  22536. 2004-12-06 Peter Bartok <[email protected]>
  22537. * Control.cs (Parent): Added check and exception to prevent
  22538. circular parenting
  22539. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  22540. * ListBox.cs: implemented clipping, selection single and multiple,
  22541. bug fixing
  22542. 2004-12-03 Ravindra <[email protected]>
  22543. * ListView.cs (ListView_KeyDown):
  22544. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  22545. when CTRL key is pressed.
  22546. * ListViewItem.cs (Selected): Fixed setting the property.
  22547. 2004-12-03 Marek Safar <[email protected]>
  22548. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  22549. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  22550. MinimizeBox, ShowInTaskbar, TopMost properties.
  22551. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  22552. will be implemented).
  22553. 2004-12-03 Marek Safar <[email protected]>
  22554. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  22555. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  22556. tests.
  22557. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  22558. * TreeView.cs: BackColor is Colors.Window.
  22559. 2004-12-01 Jackson Harper <[email protected]>
  22560. * TreeView.cs: When resizing the tree if the user is making it
  22561. smaller we don't get expose events, so we need to handle adding
  22562. the horizontal scrollbar in the size changed handler as well as
  22563. the expose handler.
  22564. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  22565. * DrawItemState.cs: fixes wrong enum values
  22566. 2004-12-01 Jackson Harper <[email protected]>
  22567. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  22568. 2004-12-01 Jackson Harper <[email protected]>
  22569. * NodeLabelEditEventArgs.cs:
  22570. * NodeLabelEditEventHandler.cs:
  22571. * OpenTreeNodeEnumerator.cs:
  22572. * TreeNode.cs:
  22573. * TreeNodeCollection.cs:
  22574. * TreeView.cs:
  22575. * TreeViewAction.cs:
  22576. * TreeViewCancelEventArgs.cs:
  22577. * TreeViewCancelEventHandler.cs:
  22578. * TreeViewEventArgs.cs:
  22579. * TreeViewEventHandler.cs: Initial implementation.
  22580. 2004-12-01 Ravindra <[email protected]>
  22581. * ListView.cs (CalculateListView): Fixed scrolling related
  22582. calculations. Also, removed some debug statements from other
  22583. places.
  22584. * ListViewItem.cs: Changed access to 'selected' instance variable
  22585. from private to internal.
  22586. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  22587. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  22588. * ThemeWin32Classic.cs: remove cache of brush and pens for
  22589. specific controls and use the global system, fixes scrollbutton
  22590. bugs (for small sizes, disabled, etc)
  22591. * ScrollBar.cs: does not show the thumb for very small controls
  22592. (as MS) and allow smaller buttons that the regular size
  22593. 2004-12-01 Miguel de Icaza <[email protected]>
  22594. * UpDownBase.cs: Add abstract methods for the interface.
  22595. Add new virtual methods (need to be hooked up to TextEntry when it
  22596. exists).
  22597. Add override methods for most features.
  22598. Computes the size, forces the height of the text entry.
  22599. * NumericUpDown.cs: Put here the current testing code.
  22600. * Set eol-style property on all files that do not have mixed line
  22601. endings, to minimize the future problems. There are still a few
  22602. files with mixed endings, and someone should choose whether they
  22603. want to move it or not.
  22604. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  22605. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  22606. System.Colors
  22607. 2004-11-30 Ravindra <[email protected]>
  22608. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  22609. drawing and replaced use of SystemColors by theme colors.
  22610. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  22611. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  22612. same ListViewItem is being added more than once.
  22613. 2004-11-30 John BouAntoun <[email protected]>
  22614. * MonthCalendar.cs:
  22615. - ControlStyles love to make the control not flicker
  22616. 2004-11-30 Peter Bartok <[email protected]>
  22617. * CharacterCasing.cs: Added
  22618. 2004-11-29 Peter Bartok <[email protected]>
  22619. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  22620. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  22621. I am removing these files as they conflict with already completed
  22622. work. While it is fantastic to get contributions to MWF, I
  22623. respectfully ask that everyone please coordinate their contributions
  22624. through mono-winforms-list or #mono-winforms at this time. We're
  22625. explicitly avoiding stubbing and don't want controls that don't have
  22626. their basic functionality implemented in svn. Please also see
  22627. http://www.mono-project.com/contributing/winforms.html
  22628. 2004-11-29 Marek Safar <[email protected]>
  22629. * Application.cs (ModalRun): Don't hang after exit.
  22630. * Theme.cs: New TreeViewDefaultSize property.
  22631. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  22632. with less hardcoded SystemColors constant.
  22633. Implemented TreeViewDefaultSize.
  22634. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  22635. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  22636. 2004-11-29 John BouAntoun <[email protected]>
  22637. * MonthCalendar.cs:
  22638. - Fix NextMonthDate and PrevMonthDate click moving calendar
  22639. 2004-11-26 John BouAntoun <[email protected]>
  22640. * MonthCalendar.cs:
  22641. - Fix usage of ScrollChange Property when scrolling months
  22642. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  22643. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  22644. - Fixes menu destroying
  22645. - Support adding and removing items on already created menus
  22646. 2004-11-26 John BouAntoun <[email protected]>
  22647. * MonthCalendar.cs:
  22648. - Re-worked all bolded dates handling to match win32
  22649. * ThemeWin32Classic.cs:
  22650. - Fixed rendering with bolded dates
  22651. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  22652. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  22653. - Horizontal scroolbar
  22654. - Multicolumn
  22655. - Fixes
  22656. 2004-11-25 John BouAntoun <[email protected]>
  22657. * MonthCalendar.cs:
  22658. - Fix Usage of MaxSelectionCount from SelectionRange
  22659. - Fixed Shift + Cursor Selection
  22660. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  22661. - Fixed normal cursor selection to be compat with win32
  22662. - Fixed Shift + Mouse Click selection
  22663. 2004-11-24 Peter Bartok <[email protected]>
  22664. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  22665. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  22666. * XplatUIX11.cs:
  22667. - CreatedKeyBoardMsg now updates keystate with Alt key
  22668. - Added workaround for timer crash to CheckTimers, Jackson will
  22669. develop a proper fix and check in later
  22670. - Implemented DispatchMessage
  22671. - Removed calling the native window proc from GetMessage (call
  22672. now moved to DispatchMessage)
  22673. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  22674. the keydata (Fixes bug #69831)
  22675. * XplatUIWin32.cs:
  22676. - (DispatchMessage): Switched to return IntPtr
  22677. - Added DllImport for SetFocus
  22678. 2004-11-24 Ravindra <[email protected]>
  22679. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  22680. background drawing.
  22681. * ListViewItem.cs: Fixed various properties, calculations
  22682. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  22683. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  22684. and some internal properties. Fixed MouseDown handler and Paint
  22685. method.
  22686. 2004-11-24 John BouAntoun <[email protected]>
  22687. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  22688. 2004-11-24 John BouAntoun <[email protected]>
  22689. * ContainerControl.cs: correct accidental check in of local changes
  22690. 2004-11-24 John BouAntoun <[email protected]>
  22691. * ThemeWin32Classic.cs:
  22692. - Fixed Drawing Last month in grid (sometimes not showing)
  22693. * MonthCalendar.cs:
  22694. - Fixed title width calculation bug (makeing title small)
  22695. 2004-11-23 Peter Bartok <[email protected]>
  22696. * XplatUIX11.cs:
  22697. - Added generation of WM_MOUSEHOVER event
  22698. - Added missing assignment of async_method atom
  22699. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  22700. 2004-11-23 John BouAntoun <[email protected]>
  22701. * ThemeWin32Classic.cs:
  22702. - Fixed Drawing of today circle when showtodaycircle not set
  22703. - fixed drawing of first and last month in the grid (gay dates)
  22704. * MonthCalendar.cs:
  22705. - Fixed Drawing of today circle
  22706. - Fixed drawing of grady dates
  22707. - Fixed HitTest for today link when ShowToday set to false
  22708. - Fixed DefaultSize to obey ShowToday
  22709. 2004-11-23 John BouAntoun <[email protected]>
  22710. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  22711. * System.Windows.Forms/Theme.cs
  22712. * MonthCalendar.cs: added for MonthCalendar
  22713. * SelectionRange.cs: added for MonthCalendar
  22714. * Day.cs: added for MonthCalendar: added for MonthCalendar
  22715. * DateRangeEventArgs.cs: added for MonthCalendar
  22716. * DateRangeEventHandler.cs: added for MonthCalendar
  22717. 2004-11-22 Ravindra <[email protected]>
  22718. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  22719. property.
  22720. 2004-11-22 Miguel de Icaza <[email protected]>
  22721. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  22722. event handler.
  22723. * NumericUpDown.cs: Added new implementation.
  22724. * UpDownBase.cs: Added new implementation.
  22725. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  22726. implementations.
  22727. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  22728. implementations.
  22729. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  22730. methods.
  22731. 2004-11-21 Miguel de Icaza <[email protected]>
  22732. * Timer.cs (Dispose): Should call the base dispose when
  22733. overriding.
  22734. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  22735. * ScrollBar.cs: updates thumb position when max, min or increment
  22736. is changed
  22737. 2004-11-21 Ravindra <[email protected]>
  22738. * ListView.cs: Implemented item selection, activation and
  22739. column header style. Fixed properties to do a redraw, if
  22740. required. Added support for MouseHover, DoubleClick, KeyDown
  22741. and KeyUp event handling and some minor fixes.
  22742. * ListViewItem.cs: Fixed constructor.
  22743. * ThemeWin32Classic.cs: Improved drawing for ListView.
  22744. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  22745. * ThemeWin32Classic.cs: initial listbox drawing code
  22746. * DrawMode.cs: new enumerator
  22747. * ListControl.cs: stubbed class
  22748. * ListBox.cs: initial implementation
  22749. * Theme.cs: new methods definitions
  22750. * SelectionMode.cs: new enumerator
  22751. 2004-11-17 Peter Bartok <[email protected]>
  22752. * XplatUIWin32.cs: Added double-click events to the class style
  22753. * Control.cs (WndProc):
  22754. - Added handling of click-count to MouseDown/ MouseUp events.
  22755. - Added handling of middle and right mouse buttons
  22756. - Removed old debug code
  22757. 2004-11-17 Jackson Harper <[email protected]>
  22758. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  22759. 2004-11-17 Ravindra <[email protected]>
  22760. * ListView.cs: Added event handling for MouseMove/Up/Down.
  22761. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  22762. * ThemeWin32Classic.cs: We need to clear the graphics context and
  22763. draw column header in a proper state.
  22764. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  22765. * Menu.cs: fixes signature
  22766. 2004-11-16 Peter Bartok <[email protected]>
  22767. * XplatUIX11.cs (GetMessage): Implemented generation of
  22768. double click mouse messages
  22769. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  22770. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  22771. not by menu
  22772. 2004-11-11 Peter Bartok <[email protected]>
  22773. * HandleData.cs: Added Visible property
  22774. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  22775. HandleData
  22776. * XplatUIX11.cs: Removed old debug leftovers
  22777. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  22778. * Control.cs (WndProc): Removed old debug leftovers,
  22779. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  22780. needed WM_SIZE handling
  22781. 2004-11-11 Jackson Harper <[email protected]>
  22782. * OwnerDrawPropertyBag.cs:
  22783. * TreeViewImageIndexConverter.cs: Initial implementation
  22784. 2004-11-10 Jackson Harper <[email protected]>
  22785. * ThemeWin32Classic.cs:
  22786. * TabControl.cs: instead of moving tabs by the slider pos just
  22787. start drawing at the tab that is offset by the slider. This way
  22788. scrolling always moves by exactly one tab.
  22789. 2004-11-10 Jackson Harper <[email protected]>
  22790. * TabControl.cs: You can only scroll left when the slider has
  22791. already ben moved right.
  22792. 2004-11-10 Jackson Harper <[email protected]>
  22793. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  22794. the clip area.
  22795. 2004-11-10 Jackson Harper <[email protected]>
  22796. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  22797. clip area.
  22798. 2004-11-09 Jackson Harper <[email protected]>
  22799. * TabControl.cs (CalcXPos): New helper method so we can determine
  22800. the proper place to start drawing vertical tabs.
  22801. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  22802. 2004-11-09 Jackson Harper <[email protected]>
  22803. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  22804. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  22805. and Bottom, left and right are illegal values for this and
  22806. multiline is enabled when the alignment is set to left or right.
  22807. (DrawTab): Each alignment block should draw the text itself now
  22808. because Left requires special love. Also add rendering for Left
  22809. aligned tabs.
  22810. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  22811. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  22812. does not destroy the windows, removes debugging messages
  22813. 2004-11-09 jba <[email protected]>
  22814. * ThemeWin32Classic.cs
  22815. (DrawButtonBase): Fix verticle text rect clipping in windows
  22816. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  22817. rendering and incorrect text rect clipping
  22818. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  22819. rendering and incorrect text rect clipping
  22820. 2004-11-08 Jackson Harper <[email protected]>
  22821. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  22822. bottom when they are bottom aligned so the bottoms of the tabs get
  22823. displayed.
  22824. * TabControl.cs (DropRow): Move rows up instead of down when the
  22825. tab control is bottom aligned.
  22826. 2004-11-08 13:59 pbartok
  22827. * XplatUIX11.cs:
  22828. - Added handling for various window styles
  22829. - Added handling for popup windows
  22830. - Added SetTopmost handling
  22831. 2004-11-08 13:55 pbartok
  22832. * XplatUIWin32.cs:
  22833. - Added argument to SetTopmost method
  22834. - Fixed broken ClientToScreen function
  22835. 2004-11-08 13:53 pbartok
  22836. * XplatUIStructs.cs:
  22837. - Added missing WS_EX styles
  22838. 2004-11-08 13:53 pbartok
  22839. * XplatUI.cs, XplatUIDriver.cs:
  22840. - Added argument to SetTopmost
  22841. 2004-11-08 13:52 pbartok
  22842. * X11Structs.cs:
  22843. - Added XSetWindowAttributes structure
  22844. - Improved XWindowAttributes structure
  22845. - Added SetWindowValuemask enum
  22846. - Added window creation arguments enum
  22847. - Added gravity enum
  22848. - Added Motif hints structure
  22849. - Added various Motif flags and enums
  22850. - Added PropertyMode enum for property functions
  22851. 2004-11-08 13:50 pbartok
  22852. * Form.cs:
  22853. - Fixed arguments for updated SetTopmost method
  22854. 2004-11-08 13:49 pbartok
  22855. * ToolTip.cs:
  22856. - Fixed arguments for updated SetTopmost function
  22857. - Fixed usage of PointToClient
  22858. 2004-11-08 13:44 pbartok
  22859. * MenuAPI.cs:
  22860. - Added Clipping of children and siblings
  22861. 2004-11-08 13:41 pbartok
  22862. * MainMenu.cs:
  22863. - Removed SetMenuBarWindow call. We do this in Form.cs
  22864. 2004-11-08 13:40 jackson
  22865. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  22866. scrolling jimmi in the correct location with bottom aligned tabs
  22867. 2004-11-08 13:36 pbartok
  22868. * ContainerControl.cs:
  22869. - Implemented BindingContext
  22870. - Implemented ParentForm
  22871. 2004-11-08 12:46 jackson
  22872. * TabControl.cs: Put bottom rendered tabs in the right location
  22873. 2004-11-08 07:15 jordi
  22874. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  22875. removes dead code
  22876. 2004-11-05 17:30 jackson
  22877. * TabControl.cs: When selected tabs are expanded make sure they
  22878. don't go beyond the edges of the tab control
  22879. 2004-11-05 14:57 jackson
  22880. * TabControl.cs: Reset show_slider so if the control is resized to
  22881. a size where it is no longer needed it's not displayed anymore
  22882. 2004-11-05 13:16 jackson
  22883. * TabControl.cs: Make tab pages non visible when added to the
  22884. control
  22885. 2004-11-05 12:42 jackson
  22886. * TabControl.cs: Implement SizeMode.FillToRight
  22887. 2004-11-05 12:16 jackson
  22888. * Control.cs: Do not call CreateHandle if the handle is already
  22889. created
  22890. 2004-11-05 11:46 jackson
  22891. * TabControl.cs: Remove superflous call to CalcTabRows
  22892. 2004-11-05 09:07 jackson
  22893. * XplatUIX11.cs: Update for Mono.Posix changes
  22894. 2004-11-05 07:00 ravindra
  22895. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  22896. scrolling.
  22897. 2004-11-04 22:47 jba
  22898. * ThemeWin32Classic.cs:
  22899. - Fix Button rendering for FlatStyle = Flat or Popup
  22900. - Fix RadioButton and CheckBox rendering when Appearance = Button
  22901. (normal and flatstyle).
  22902. - Correct outer rectangle color when drawing focus rectangle
  22903. - Adjust button bounds to be 1 px smaller when focused
  22904. - Make button not draw sunken 3d border when pushed (windows compat)
  22905. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  22906. - Offset the text in RadioButton and Checkbox when being rendered as
  22907. a button.
  22908. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  22909. radiobuttons
  22910. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  22911. - Fixed disabled text rendering for normally rendered radiobuttons
  22912. 2004-11-04 10:26 jackson
  22913. * TabControl.cs: Recalculate tab rows when resizing
  22914. 2004-11-04 07:47 jordi
  22915. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  22916. collection completion, drawing issues, missing features
  22917. 2004-11-04 05:03 ravindra
  22918. * ScrollBar.cs:
  22919. - We need to recalculate the Thumb area when
  22920. LargeChange/maximum/minimum values are changed.
  22921. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  22922. than minimum. This is required to handle the case if large_change is
  22923. more than max, and use LargeChange property instead of large_change
  22924. variable.
  22925. - We return max+1 when large_change is more than max, like MS does.
  22926. 2004-11-04 04:29 ravindra
  22927. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  22928. - Changed default value signatures (prefixed all with ListView).
  22929. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  22930. ListView.
  22931. - Fixed calculations for ListViewItem and implemented Clone()
  22932. method.
  22933. 2004-11-04 04:26 ravindra
  22934. * Theme.cs, ThemeWin32Classic.cs:
  22935. - Changed default ListView values signatures (prefixed all with
  22936. ListView).
  22937. - Fixed default size values for VScrollBar and HScrollBar.
  22938. - Fixed DrawListViewItem method.
  22939. 2004-11-04 04:05 ravindra
  22940. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  22941. 2004-11-04 04:04 ravindra
  22942. * ImageList.cs: Implemented the missing overload for Draw method.
  22943. 2004-11-03 19:29 jackson
  22944. * TabControl.cs: Handle dropping rows on selection properly
  22945. 2004-11-03 11:59 jackson
  22946. * TabControl.cs: remove debug code
  22947. 2004-11-03 11:52 jackson
  22948. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  22949. the scrolly widgerywoo
  22950. 2004-11-02 13:52 jackson
  22951. * TabControl.cs: Resize the tab pages and tabs when the tab control
  22952. is resized
  22953. 2004-11-02 13:40 jackson
  22954. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  22955. selected tab to the bottom
  22956. 2004-11-02 13:39 jackson
  22957. * TabPage.cs: Store the tab pages row
  22958. 2004-11-02 12:33 jordi
  22959. * MenuItem.cs: fixes handle creation
  22960. 2004-11-02 11:42 jackson
  22961. * TabControl.cs: signature fix
  22962. 2004-11-02 08:56 jackson
  22963. * TabControl.cs: Calculate whether the tab is on an edge properly.
  22964. Remove top secret debugging code
  22965. 2004-11-01 19:57 jackson
  22966. * TabControl.cs: Add click handling, and proper sizing
  22967. 2004-11-01 19:47 jackson
  22968. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  22969. tab controls
  22970. 2004-11-01 19:39 jackson
  22971. * TabPage.cs: add internal property to store the bounds of a tab
  22972. page
  22973. 2004-10-30 04:23 ravindra
  22974. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  22975. values.
  22976. 2004-10-30 04:21 ravindra
  22977. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  22978. fixed calculations.
  22979. 2004-10-30 03:06 pbartok
  22980. * XplatUIX11.cs:
  22981. - Removed extension of DllImported libs
  22982. 2004-10-29 09:55 jordi
  22983. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  22984. navigation, itemcollection completion, menu fixes
  22985. 2004-10-27 22:58 pbartok
  22986. * XplatUIX11.cs:
  22987. - Now throws a nice error message when no X display could be opened
  22988. 2004-10-26 13:51 jordi
  22989. * ListView.cs: removes warning
  22990. 2004-10-26 03:55 ravindra
  22991. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  22992. ThemeWin32Classic.cs: Some formatting for my last checkins.
  22993. 2004-10-26 03:36 ravindra
  22994. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  22995. control and default values.
  22996. 2004-10-26 03:35 ravindra
  22997. * Theme.cs: Added some default values for ListView control.
  22998. 2004-10-26 03:33 ravindra
  22999. * ToolBar.cs: ToolBar should use the user specified button size, if
  23000. there is any. Added a size_specified flag for the same.
  23001. 2004-10-26 03:33 ravindra
  23002. * ColumnHeader.cs: Added some internal members and calculations for
  23003. ColumnHeader.
  23004. 2004-10-26 03:32 ravindra
  23005. * ListViewItem.cs: Calculations for ListViewItem.
  23006. 2004-10-26 03:31 ravindra
  23007. * ListView.cs: Added some internal members and calculations for
  23008. ListView.
  23009. 2004-10-22 13:31 jordi
  23010. * MenuAPI.cs: speedup menus drawing
  23011. 2004-10-22 13:16 jackson
  23012. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  23013. expose event
  23014. 2004-10-22 11:49 jackson
  23015. * Control.cs: oops
  23016. 2004-10-22 11:41 jackson
  23017. * Control.cs: Check to see if the window should have its background
  23018. repainted by X when drawing.
  23019. 2004-10-22 11:31 jackson
  23020. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  23021. clear is true, this way we do not get flicker from X repainting the
  23022. background
  23023. 2004-10-22 11:28 jackson
  23024. * XEventQueue.cs: Queue properly
  23025. 2004-10-21 09:38 jackson
  23026. * XEventQueue.cs: Fix access modifier
  23027. 2004-10-21 09:36 jackson
  23028. * XEventQueue.cs: Don't loose messages
  23029. 2004-10-21 09:22 jackson
  23030. * XEventQueue.cs: Don't loose messages
  23031. 2004-10-20 04:15 jordi
  23032. * BootMode.cs: enum need it by SystemInfo
  23033. 2004-10-19 21:58 pbartok
  23034. * XplatUIWin32.cs:
  23035. - Small sanity check
  23036. 2004-10-19 21:56 pbartok
  23037. * Form.cs:
  23038. - Added private FormParentWindow class which acts as the container
  23039. for our form and as the non-client area where menus are drawn
  23040. - Added/Moved required tie-ins to Jordi's menus
  23041. - Fixed/Implemented the FormStartPosition functionality
  23042. 2004-10-19 21:52 pbartok
  23043. * Control.cs:
  23044. - Removed unneeded locals
  23045. - Added code to all size and location properties to understand and
  23046. deal with the parent container of Form
  23047. 2004-10-19 21:33 pbartok
  23048. * Application.cs:
  23049. - Fixed to deal with new Form subclasses for menus
  23050. 2004-10-19 17:48 jackson
  23051. * XEventQueue.cs: commit correct version of file
  23052. 2004-10-19 16:50 jackson
  23053. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  23054. 2004-10-19 16:15 jordi
  23055. * MenuAPI.cs: MenuBarCalcSize returns the height
  23056. 2004-10-19 08:31 pbartok
  23057. * Control.cs:
  23058. - Added missing call to PreProcessMessage before calling OnXXXKey
  23059. methods
  23060. 2004-10-19 00:04 ravindra
  23061. * ToolTip.cs: Fixed constructor.
  23062. 2004-10-18 09:31 jordi
  23063. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  23064. 2004-10-18 09:26 jordi
  23065. * MenuItem.cs: fixes MenuItem class signature
  23066. 2004-10-18 08:56 jordi
  23067. * MenuAPI.cs: prevents windows from showing in the taskbar
  23068. 2004-10-18 00:28 ravindra
  23069. * ToolTip.cs: Suppressed a warning message.
  23070. 2004-10-18 00:27 ravindra
  23071. * Control.cs: Default value of visible property must be true.
  23072. 2004-10-17 23:19 pbartok
  23073. * ToolTip.cs:
  23074. - Complete implementation
  23075. 2004-10-17 23:19 pbartok
  23076. * XplatUIX11.cs:
  23077. - Added EnableWindow method
  23078. - Added SetModal stub
  23079. - Added generation of WM_ACTIVATE message (still needs testing)
  23080. - Added SetTopMost stub
  23081. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  23082. 2004-10-17 23:17 pbartok
  23083. * XplatUIWin32.cs:
  23084. - Removed VirtualKeys to XplatUIStructs
  23085. - Implemented SetTopMost method
  23086. - Implemented EnableWindow method
  23087. - Bugfix in ScreenToClient()
  23088. - Bugfixes in ClientToScreen()
  23089. 2004-10-17 22:51 pbartok
  23090. * XplatUIStructs.cs:
  23091. - Added WS_EX styles to WindowStyles enumeration
  23092. 2004-10-17 22:50 pbartok
  23093. * XplatUI.cs, XplatUIDriver.cs:
  23094. - Added method for enabling/disabling windows
  23095. - Added method for setting window modality
  23096. - Added method for setting topmost window
  23097. 2004-10-17 22:49 pbartok
  23098. * ThemeWin32Classic.cs:
  23099. - Added ToolTip drawing code
  23100. 2004-10-17 22:49 pbartok
  23101. * Theme.cs:
  23102. - Added ToolTip abstracts
  23103. 2004-10-17 22:47 pbartok
  23104. * Form.cs:
  23105. - Fixed Form.ControlCollection to handle owner relations
  23106. - Added Owner/OwnedForms handling
  23107. - Implemented Z-Ordering for owned forms
  23108. - Removed unneeded private overload of ShowDialog
  23109. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  23110. so I hope)
  23111. - Fixed Close(), had wrong default
  23112. - Added firing of OnLoad event
  23113. - Added some commented out debug code for Ownership handling
  23114. 2004-10-17 22:16 pbartok
  23115. * Control.cs:
  23116. - Fixed/implemented flat list of controls
  23117. 2004-10-17 22:14 pbartok
  23118. * Application.cs:
  23119. - Added code to simulate modal dialogs on Win32
  23120. 2004-10-17 16:11 jordi
  23121. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  23122. mouse event
  23123. 2004-10-17 13:39 jordi
  23124. * MenuAPI.cs: menu drawing fixes
  23125. 2004-10-15 09:10 ravindra
  23126. * StructFormat.cs: General Enum.
  23127. 2004-10-15 09:09 ravindra
  23128. * SizeGripStyle.cs: Enum for Form.
  23129. 2004-10-15 09:08 ravindra
  23130. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  23131. in Theme for ListView.
  23132. 2004-10-15 09:06 ravindra
  23133. * ColumnHeader.cs: Flushing some formatting changes.
  23134. 2004-10-15 09:05 ravindra
  23135. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  23136. style.
  23137. 2004-10-15 09:03 ravindra
  23138. * ListView.cs: Implemented Paint method and fixed coding style.
  23139. 2004-10-15 07:34 jordi
  23140. * MenuAPI.cs: fix for X11
  23141. 2004-10-15 07:32 ravindra
  23142. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  23143. - Renamed Paint() method to Draw() for clarity. Also, moved
  23144. DrawImage() to OnPaint().
  23145. 2004-10-15 07:25 ravindra
  23146. * CheckBox.cs, RadioButton.cs:
  23147. - Removed Redraw (), we get it from ButtonBase.
  23148. - Implemented Paint (), to do class specific painting.
  23149. 2004-10-15 07:16 ravindra
  23150. * ButtonBase.cs:
  23151. - Redraw () is not virtual now.
  23152. - Added an internal virtual method Paint (), so that
  23153. derived classes can do their painting on their own.
  23154. - Modified OnPaint () to call Paint ().
  23155. 2004-10-15 06:43 jordi
  23156. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  23157. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  23158. 2004-10-15 00:30 ravindra
  23159. * MessageBox.cs:
  23160. - MessageBox on windows does not have min/max buttons.
  23161. This change in CreateParams fixes this on Windows. We
  23162. still need to implement this windowstyle behavior in
  23163. our X11 driver.
  23164. 2004-10-14 05:14 ravindra
  23165. * ToolBar.cs:
  23166. - Changed Redraw () to do a Refresh () always.
  23167. - Fixed the MouseMove event handling when mouse is pressed,
  23168. ie drag event handling.
  23169. - Replaced the usage of ToolBarButton.Pressed property to
  23170. ToolBarButton.pressed internal variable.
  23171. 2004-10-14 05:10 ravindra
  23172. * ToolBarButton.cs:
  23173. - Added an internal member 'inside' to handle mouse move
  23174. with mouse pressed ie mouse drag event.
  23175. - Changed 'Pressed' property to return true only when
  23176. 'inside' and 'pressed' are both true.
  23177. - Some coding style love.
  23178. 2004-10-14 00:17 ravindra
  23179. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  23180. public method.
  23181. 2004-10-14 00:15 ravindra
  23182. * ButtonBase.cs: Redraw () related improvements.
  23183. 2004-10-14 00:14 ravindra
  23184. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  23185. removed unnecessary calls to Button.Show () method.
  23186. 2004-10-13 17:50 pbartok
  23187. * XplatUIX11.cs:
  23188. - Formatting fix
  23189. - Removed destroying of window until we solve the problem of X
  23190. destroying the window before us on shutdown
  23191. 2004-10-13 16:32 pbartok
  23192. * ButtonBase.cs:
  23193. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  23194. 2004-10-13 14:18 pbartok
  23195. * XplatUIX11.cs:
  23196. - Added code to destroy the X window
  23197. 2004-10-13 14:18 pbartok
  23198. * XplatUIWin32.cs:
  23199. - Added code to destroy a window
  23200. 2004-10-13 14:12 pbartok
  23201. * ButtonBase.cs:
  23202. - Added the Redraw on Resize that got dropped in the last rev
  23203. 2004-10-13 09:06 pbartok
  23204. * ThemeWin32Classic.cs:
  23205. - Path from John BouAntoun:
  23206. * Fix check rendering (centre correctly for normal style, offset
  23207. correctly for FlatStyle).
  23208. * Fix border color usage (use backcolor) for FlatStyle.Popup
  23209. * Use checkbox.Capture instead of checkbox.is_pressed when
  23210. rendering flatstyle states.
  23211. 2004-10-12 21:48 pbartok
  23212. * ThemeWin32Classic.cs:
  23213. - Removed all occurences of SystemColors and replaced them with the
  23214. matching theme color
  23215. 2004-10-12 21:41 pbartok
  23216. * ThemeWin32Classic.cs:
  23217. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  23218. him using the function for flatstyle drawing
  23219. - Changed functions to use the new version of CPDrawBorder3D
  23220. 2004-10-12 21:15 pbartok
  23221. * ControlPaint.cs:
  23222. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  23223. match MS documentation. They need to return defined colors if the
  23224. passed color matches the configured control color. Thanks to John
  23225. BouAntoun for pointing this out.
  23226. 2004-10-12 20:57 pbartok
  23227. * Control.cs:
  23228. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  23229. color is changed
  23230. 2004-10-12 20:46 pbartok
  23231. * CheckBox.cs:
  23232. - Fix from John BouAntoun: Now properly sets the Appearance property
  23233. 2004-10-12 20:45 pbartok
  23234. * ThemeWin32Classic.cs:
  23235. - Fixes from John BouAntoun: now handles forecolors and backcolors
  23236. for flatstyle rendered controls much better; It also fixes normal
  23237. checkbox rendering when pushed or disabled.
  23238. 2004-10-08 02:50 jordi
  23239. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  23240. work
  23241. 2004-10-07 08:56 jordi
  23242. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  23243. 2004-10-06 03:59 jordi
  23244. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  23245. XplatUIWin32.cs: removes warnings from compilation
  23246. 2004-10-05 12:23 jackson
  23247. * RadioButton.cs: Fix ctor
  23248. 2004-10-05 11:10 pbartok
  23249. * MessageBox.cs:
  23250. - Partial implementation by Benjamin Dasnois
  23251. 2004-10-05 10:15 jackson
  23252. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  23253. by John BouAntoun
  23254. 2004-10-05 03:07 ravindra
  23255. * ToolBar.cs:
  23256. - Removed a private method, Draw ().
  23257. - Fixed the ButtonDropDown event handling.
  23258. - Fixed MouseMove event handling.
  23259. 2004-10-05 03:04 ravindra
  23260. * ThemeWin32Classic.cs:
  23261. - Added DrawListView method and ListViewDefaultSize property.
  23262. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  23263. - Changed DOS style CRLF to Unix format (dos2unix).
  23264. 2004-10-05 03:03 ravindra
  23265. * Theme.cs:
  23266. - Added DrawListView method and ListViewDefaultSize property.
  23267. 2004-10-05 02:42 ravindra
  23268. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  23269. clicks on DropDown arrow.
  23270. 2004-10-04 22:56 jackson
  23271. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  23272. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  23273. Control handle the buffers, derived classes should not have to
  23274. CreateBuffers themselves.
  23275. 2004-10-04 21:20 jackson
  23276. * StatusBar.cs: The control handles resizing the buffers now.
  23277. 2004-10-04 21:18 jackson
  23278. * Control.cs: When resizing the buffers should be invalidated. This
  23279. should be handled in Control not in derived classes.
  23280. 2004-10-04 14:45 jackson
  23281. * TabPage.cs: oops
  23282. 2004-10-04 02:14 pbartok
  23283. * LeftRightAlignment.cs:
  23284. - Initial check-in
  23285. 2004-10-04 01:09 jordi
  23286. * ThemeWin32Classic.cs: fixes right button position causing right
  23287. button not showing on horizontal scrollbars
  23288. 2004-10-02 13:12 pbartok
  23289. * XplatUIX11.cs:
  23290. - Simplified the Invalidate method by using an X call instead of
  23291. generating the expose ourselves
  23292. - Added an expose when the window background is changed
  23293. - Implemented ClientToScreen method
  23294. 2004-10-02 13:08 pbartok
  23295. * XplatUIWin32.cs:
  23296. - Added Win32EnableWindow method (test for implementing modal
  23297. dialogs)
  23298. - Added ClientToScreen method and imports
  23299. 2004-10-02 13:07 pbartok
  23300. * XplatUI.cs, XplatUIDriver.cs:
  23301. - Added ClientToScreen coordinate translation method
  23302. 2004-10-02 13:06 pbartok
  23303. * KeyPressEventArgs.cs:
  23304. - Fixed access level for constructor
  23305. 2004-10-02 13:06 pbartok
  23306. * NativeWindow.cs:
  23307. - Changed access level for the window_collection hash table
  23308. 2004-10-02 13:05 pbartok
  23309. * Form.cs:
  23310. - Added KeyPreview property
  23311. - Added Menu property (still incomplete, pending Jordi's menu work)
  23312. - Implemented ProcessCmdKey
  23313. - Implemented ProcessDialogKey
  23314. - Implemented ProcessKeyPreview
  23315. 2004-10-02 13:02 pbartok
  23316. * Control.cs:
  23317. - Added private method to get the Control object from the window
  23318. handle
  23319. - Implemented ContextMenu property
  23320. - Implemented PointToScreen
  23321. - Implemented PreProcessMessage
  23322. - Implemented IsInputChar
  23323. - Implemented IsInputKey
  23324. - Implemented ProcessCmdKey
  23325. - Completed ProcessKeyEventArgs
  23326. - Fixed message loop to call the proper chain of functions on key
  23327. events
  23328. - Implemented ProcessDialogChar
  23329. - Implemented ProcessDialogKey
  23330. - Implemented ProcessKeyMessage
  23331. - Implemented ProcessKeyPreview
  23332. - Added RaiseDragEvent stub (MS internal method)
  23333. - Added RaiseKeyEvent stub (MS internal method)
  23334. - Added RaiseMouseEvent stub (MS Internal method)
  23335. - Added RaisePaintEvent stub (MS Internal method)
  23336. - Added ResetMouseEventArgs stub (MS Internal method)
  23337. - Implemented RtlTranslateAlignment
  23338. - Implemented RtlTranslateContent
  23339. - Implemented RtlTranslateHorizontal
  23340. - Implemented RtlTranslateLeftRight
  23341. - Added generation of KeyPress event
  23342. 2004-10-02 05:57 ravindra
  23343. * ListViewItem.cs: Added attributes.
  23344. 2004-10-02 05:32 ravindra
  23345. * ListView.cs: Added attributes.
  23346. 2004-10-01 11:53 jackson
  23347. * Form.cs: Implement the Close method so work on MessageBox can
  23348. continue.
  23349. 2004-09-30 14:06 pbartok
  23350. * XplatUIX11.cs:
  23351. - Bug fixes
  23352. 2004-09-30 11:34 jackson
  23353. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  23354. 2004-09-30 07:26 ravindra
  23355. * ListViewItemConverter.cs: Converter for ListViewItem.
  23356. 2004-09-30 07:26 ravindra
  23357. * SortOrder.cs: Enum for ListView control.
  23358. 2004-09-30 07:25 ravindra
  23359. * ColumnHeader.cs: Supporting class for ListView control.
  23360. 2004-09-30 07:24 ravindra
  23361. * ListView.cs, ListViewItem.cs: Initial implementation.
  23362. 2004-09-30 07:20 ravindra
  23363. * ItemActivation.cs: Enum for ListView Control.
  23364. 2004-09-29 20:29 pbartok
  23365. * XplatUIX11.cs:
  23366. - Added lookup of pixel value for background color; tries to get a
  23367. color 'close' to the requested color, it avoids having to create a
  23368. colormap. Depending on the display this could mean the used color
  23369. is slightly off the desired color. Might have to change it to a more
  23370. resource intensive colormap approach, but it will work as a
  23371. workaround to avoid red screens.
  23372. 2004-09-29 14:27 jackson
  23373. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  23374. 2004-09-28 12:44 pbartok
  23375. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  23376. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  23377. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  23378. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  23379. TrackBar.cs, VScrollBar.cs:
  23380. - Streamlined Theme interfaces:
  23381. * Each DrawXXX method for a control now is passed the object for
  23382. the control to be drawn in order to allow accessing any state the
  23383. theme might require
  23384. * ControlPaint methods for the theme now have a CP prefix to avoid
  23385. name clashes with the Draw methods for controls
  23386. * Every control now retrieves it's DefaultSize from the current
  23387. theme
  23388. 2004-09-28 12:17 jackson
  23389. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  23390. drawing
  23391. 2004-09-24 14:57 jackson
  23392. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  23393. Gives us a nice little performance boost.
  23394. 2004-09-24 12:02 jackson
  23395. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  23396. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  23397. Control and supporting classes. Initial checkin
  23398. 2004-09-23 13:08 jackson
  23399. * Form.cs: Temp build fixage
  23400. 2004-09-23 01:39 ravindra
  23401. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  23402. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  23403. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  23404. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  23405. EventHandlers needed by ListView Control.
  23406. 2004-09-22 14:12 pbartok
  23407. * ScrollableControl.cs:
  23408. - Implemented DockPadding property
  23409. - Implemented AutoScroll property
  23410. - Implemented AutoScrollMargin property
  23411. - Implemented AutoScrollMinSize property
  23412. - Implemented AutoScrollPosition property
  23413. - Implemented DisplayRectangle property (still incomplete)
  23414. - Implemented CreateParams property
  23415. - Implemented HScroll property
  23416. - Implemented VScroll property
  23417. - Implemented OnVisibleChanged property
  23418. 2004-09-22 14:09 pbartok
  23419. * Form.cs:
  23420. - Added Form.ControllCollection class
  23421. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  23422. RemoveOwnedForm (still incomplete, missing on-top and common
  23423. minimize/maximize behaviour)
  23424. - Added StartPosition property (still incomplete, does not use when
  23425. creating the form)
  23426. - Added ShowDialog() methods (still incomplete, missing forcing the
  23427. dialog modal)
  23428. 2004-09-22 14:05 pbartok
  23429. * Application.cs:
  23430. - Added message loop for modal dialogs
  23431. 2004-09-22 14:02 pbartok
  23432. * GroupBox.cs:
  23433. - Fixed wrong types for events
  23434. 2004-09-22 14:00 pbartok
  23435. * Shortcut.cs, FormWindowState.cs:
  23436. - Fixed wrong values
  23437. 2004-09-22 12:01 jackson
  23438. * Control.cs: Text is never null
  23439. 2004-09-20 22:14 pbartok
  23440. * XplatUIWin32.cs:
  23441. - Fixed accessibility level for Idle handler
  23442. 2004-09-20 18:54 jackson
  23443. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23444. XplatUIX11.cs: New message loop that uses poll so we don't get a
  23445. busy loop
  23446. 2004-09-17 10:43 pbartok
  23447. * ScrollBar.cs:
  23448. - Fixed behaviour of arrow buttons. Now properly behaves like
  23449. Buttons (and like Microsoft's scrollbar arrow buttons)
  23450. 2004-09-17 10:14 pbartok
  23451. * ScrollBar.cs:
  23452. - Added missing release of keyboard/mouse capture
  23453. 2004-09-17 06:18 jordi
  23454. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  23455. Theme.cs: Very early menu support
  23456. 2004-09-16 17:45 pbartok
  23457. * XplatUIWin32.cs:
  23458. - Fixed sending a window to the front
  23459. - Added overload for SetWindowPos to avoid casting
  23460. 2004-09-16 17:44 pbartok
  23461. * Control.cs:
  23462. - Added SendToBack and BringToFront methods
  23463. 2004-09-16 07:00 ravindra
  23464. * Copyright: Added Novell URL.
  23465. 2004-09-16 07:00 ravindra
  23466. * ToolBar.cs: Invalidate should be done before redrawing.
  23467. 2004-09-15 21:19 ravindra
  23468. * ColumnHeaderStyle.cs: Enum for ListView Control.
  23469. 2004-09-15 21:18 ravindra
  23470. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  23471. ListView Control.
  23472. 2004-09-13 18:26 jackson
  23473. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  23474. properly
  23475. 2004-09-13 18:13 jackson
  23476. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  23477. a second thread and post messages into the main threads message
  23478. queue. This makes timing much more consistent. Both win2K and XP
  23479. have a minimum timer value of 15 milliseconds, so we now do this
  23480. too.
  23481. 2004-09-13 15:18 pbartok
  23482. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23483. XplatUIX11.cs:
  23484. - Added Z-Ordering methods
  23485. 2004-09-13 10:56 pbartok
  23486. * Form.cs:
  23487. - Fixed #region names
  23488. - Moved properties and methods into their proper #regions
  23489. 2004-09-13 10:51 pbartok
  23490. * Form.cs:
  23491. - Added Accept and CancelButton properties
  23492. - Added ProcessDialogKey() method
  23493. 2004-09-13 08:18 pbartok
  23494. * IWindowTarget.cs:
  23495. - Initial check-in
  23496. 2004-09-10 21:50 pbartok
  23497. * Control.cs:
  23498. - Added DoDragDrop() [incomplete]
  23499. - Properly implemented 'Visible' handling
  23500. - Added SetVisibleCore()
  23501. - Implemented FindChildAtPoint()
  23502. - Implemented GetContainerControl()
  23503. - Implemented Hide()
  23504. 2004-09-10 19:28 pbartok
  23505. * Control.cs:
  23506. - Moved methods into their appropriate #regions
  23507. - Reordered methods within regions alphabetically
  23508. 2004-09-10 18:57 pbartok
  23509. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23510. - Added method to retrieve text from window
  23511. 2004-09-10 18:56 pbartok
  23512. * Control.cs:
  23513. - Moved some internal functions into the internal region
  23514. - Implemented FontHeight
  23515. - Implemented RenderRightToLeft
  23516. - Implemented ResizeRedraw
  23517. - Implemented ShowFocusCues
  23518. - Implemented ShowKeyboardCues
  23519. - Implemented FromChildHandle
  23520. - Implemented FromHandle
  23521. - Implemented IsMnemonic
  23522. - Implemented ReflectMessage
  23523. - All public and protected Static Methods are now complete
  23524. 2004-09-10 16:54 pbartok
  23525. * Control.cs:
  23526. - Implemented remaining missing public instance properties
  23527. - Alphabetized some out of order properties
  23528. 2004-09-10 05:51 ravindra
  23529. * PictureBox.cs: Added a check for null image.
  23530. 2004-09-10 00:59 jordi
  23531. * GroupBox.cs: remove cvs tag
  23532. 2004-09-09 05:25 ravindra
  23533. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  23534. 2004-09-09 05:23 ravindra
  23535. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  23536. parent redraw.
  23537. 2004-09-09 02:28 pbartok
  23538. * ThemeWin32Classic.cs:
  23539. - Improve disabled string look
  23540. 2004-09-09 01:15 jordi
  23541. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  23542. args and handler
  23543. 2004-09-08 23:56 ravindra
  23544. * ItemBoundsPortion.cs: It's enum, not a class!
  23545. 2004-09-08 23:47 ravindra
  23546. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  23547. Enums for Form.
  23548. 2004-09-08 21:13 ravindra
  23549. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  23550. ListView control.
  23551. 2004-09-08 21:03 ravindra
  23552. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  23553. avoid crash.
  23554. 2004-09-08 21:01 ravindra
  23555. * ScrollableControl.cs: Removed unreachable code.
  23556. 2004-09-08 06:45 jordi
  23557. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  23558. 2004-09-08 01:00 jackson
  23559. * XplatUIX11.cs: Only run the timers when updating the message
  23560. queue. This effectively gives X messages a higher priority then
  23561. timer messages. Timers still need love though
  23562. 2004-09-07 14:01 jackson
  23563. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  23564. this for us and the handle is no longer valid.
  23565. 2004-09-07 13:59 jackson
  23566. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  23567. loop that manages to not crash. TODO: Add poll and cleanup timers
  23568. 2004-09-07 11:12 jordi
  23569. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  23570. 2004-09-07 03:40 jordi
  23571. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  23572. fixes, methods, multiple links
  23573. 2004-09-06 06:55 jordi
  23574. * Control.cs: Caches ClientRectangle rectangle value
  23575. 2004-09-05 02:03 jordi
  23576. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  23577. certain situations
  23578. 2004-09-04 11:10 jordi
  23579. * Label.cs: Refresh when font changed
  23580. 2004-09-02 16:24 pbartok
  23581. * Control.cs:
  23582. - Added sanity check to creation of double buffer bitmap
  23583. 2004-09-02 16:24 pbartok
  23584. * ButtonBase.cs:
  23585. - Fixed selection of text color
  23586. - Fixed handling of resize event; now properly recreates double
  23587. buffering bitmap
  23588. - Added missing assignment of TextAlignment
  23589. - Added proper default for TextAlignment
  23590. 2004-09-02 14:26 pbartok
  23591. * RadioButton.cs:
  23592. - Added missing RadioButton.RadioButtonAccessibleObject class
  23593. 2004-09-02 14:26 pbartok
  23594. * Control.cs:
  23595. - Added missing Control.ControlAccessibleObject class
  23596. - Started to implement Select()ion mechanisms, still very incomplete
  23597. 2004-09-02 14:25 pbartok
  23598. * AccessibleObject.cs:
  23599. - Added missing methods
  23600. 2004-09-02 14:23 pbartok
  23601. * AccessibleNavigation.cs, AccessibleSelection.cs:
  23602. - Initial check-in
  23603. 2004-09-02 10:32 jordi
  23604. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  23605. pool for pens, brushes, and hatchbruses
  23606. 2004-09-01 15:30 jackson
  23607. * StatusBar.cs: Fix typo
  23608. 2004-09-01 14:44 pbartok
  23609. * RadioButton.cs:
  23610. - Fixed state
  23611. 2004-09-01 14:39 pbartok
  23612. * Button.cs, RadioButton.cs:
  23613. - Functional initial check-in
  23614. 2004-09-01 14:01 pbartok
  23615. * CheckBox.cs:
  23616. - Added missing default
  23617. - Added missing region mark
  23618. 2004-09-01 09:10 jordi
  23619. * Label.cs: fixes method signatures, new methods, events, fixes
  23620. autosize
  23621. 2004-09-01 07:19 jordi
  23622. * Control.cs: Init string variables with an empty object
  23623. 2004-09-01 04:20 jordi
  23624. * Control.cs: fires OnFontChanged event
  23625. 2004-08-31 20:07 pbartok
  23626. * ButtonBase.cs:
  23627. - Enabled display of strings
  23628. 2004-08-31 20:05 pbartok
  23629. * Form.cs:
  23630. - Added (partial) implementation of DialogResult; rest needs to be
  23631. implemented when the modal loop code is done
  23632. 2004-08-31 19:55 pbartok
  23633. * CheckBox.cs:
  23634. - Fixed to match the removal of the needs_redraw concept
  23635. 2004-08-31 19:55 pbartok
  23636. * ButtonBase.cs:
  23637. - Removed the rather odd split between 'needs redraw' and redrawing
  23638. - Now handles the events that require regeneration (ambient
  23639. properties and size)
  23640. 2004-08-31 19:41 pbartok
  23641. * Control.cs:
  23642. - Added firing of BackColorChanged event
  23643. - Added TopLevelControl property
  23644. - Fixed handling of WM_ERASEBKGRND message
  23645. 2004-08-31 12:49 pbartok
  23646. * ButtonBase.cs:
  23647. - Removed debug
  23648. - Minor fixes
  23649. 2004-08-31 12:48 pbartok
  23650. * CheckBox.cs:
  23651. - Finished (famous last words)
  23652. 2004-08-31 04:35 jordi
  23653. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  23654. scrolling bugs, adds new methods
  23655. 2004-08-30 14:42 pbartok
  23656. * CheckBox.cs:
  23657. - Implemented CheckBox drawing code
  23658. 2004-08-30 14:42 pbartok
  23659. * ButtonBase.cs:
  23660. - Made Redraw() and CheckRedraw() virtual
  23661. - Improved mouse up/down/move logic to properly track buttons
  23662. 2004-08-30 09:44 pbartok
  23663. * CheckBox.cs:
  23664. - Updated to fix broken build. Not complete yet.
  23665. 2004-08-30 09:28 pbartok
  23666. * CheckState.cs:
  23667. - Initial checkin
  23668. 2004-08-30 09:17 pbartok
  23669. * Appearance.cs:
  23670. - Initial check-in
  23671. 2004-08-27 16:12 ravindra
  23672. * ToolBarButton.cs: Added TypeConverter attribute.
  23673. 2004-08-27 16:07 ravindra
  23674. * ImageIndexConverter.cs: Implemented.
  23675. 2004-08-27 14:17 pbartok
  23676. * Control.cs:
  23677. - Removed unneeded stack vars
  23678. - First attempt to fix sizing issues when layout is suspended
  23679. 2004-08-25 15:35 jordi
  23680. * ScrollBar.cs: more fixes to scrollbar
  23681. 2004-08-25 14:04 ravindra
  23682. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  23683. Added the missing divider code and grip for ToolBar Control.
  23684. 2004-08-25 13:20 pbartok
  23685. * Control.cs:
  23686. - Control now properly passes the ambient background color to child
  23687. controls
  23688. 2004-08-25 13:20 jordi
  23689. * ScrollBar.cs: small bug fix regarding bar position
  23690. 2004-08-25 12:33 pbartok
  23691. * Timer.cs:
  23692. - Now only calls SetTimer or KillTimer if the enabled state has
  23693. changed
  23694. 2004-08-25 12:33 pbartok
  23695. * XplatUIWin32.cs:
  23696. - Fixed timer handling, now seems to work
  23697. - Improved error message for window creation
  23698. 2004-08-25 12:32 pbartok
  23699. * Control.cs:
  23700. - Fixed generation of MouseUp message
  23701. 2004-08-25 12:29 jordi
  23702. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  23703. and fixes for progressbar
  23704. 2004-08-24 18:43 ravindra
  23705. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  23706. in ToolBar control.
  23707. 2004-08-24 17:15 pbartok
  23708. * Panel.cs:
  23709. - Added #region
  23710. - Added missing events
  23711. - Alphabetized
  23712. 2004-08-24 17:14 pbartok
  23713. * StatusBar.cs, PictureBox.cs:
  23714. - Now uses Control's CreateParams
  23715. 2004-08-24 16:36 pbartok
  23716. * XplatUIX11.cs:
  23717. - Fixed background color handling
  23718. - Fixed sending of enter/leave events on a grab
  23719. 2004-08-24 16:35 pbartok
  23720. * X11Structs.cs:
  23721. - Refined definitions for CrossingEvent
  23722. 2004-08-24 12:37 jordi
  23723. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  23724. formmating, methods signature, and adds missing events
  23725. 2004-08-24 12:24 jordi
  23726. * Control.cs: fire OnEnabledChanged event
  23727. 2004-08-24 11:17 pbartok
  23728. * XplatUIWin32.cs:
  23729. - Implemented SetTimer() and KillTimer()
  23730. 2004-08-24 11:16 pbartok
  23731. * XplatUIX11.cs:
  23732. - Now uses Remove instead of Add to kill the timer
  23733. 2004-08-24 10:16 jackson
  23734. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  23735. picture boxes in the theme now. Draw picture box borders and obey
  23736. sizing modes
  23737. 2004-08-24 05:49 jackson
  23738. * Timer.cs: Remove top secret debugging code
  23739. 2004-08-24 05:34 jackson
  23740. * PictureBox.cs: Temp hack to make picture boxes draw their full
  23741. image
  23742. 2004-08-24 05:29 jackson
  23743. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23744. XplatUIX11.cs: Move timers to the driver level. On X they are
  23745. queued by the driver and checked on idle.
  23746. 2004-08-24 01:07 jackson
  23747. * XplatUIX11.cs: Use a queue for async messages instead of passing
  23748. them as ClientMessages since that was totally broken. Also simply
  23749. check for events and return an idle message if none are found. This
  23750. gives us an idle handler, and prevents deadlocking when no messages
  23751. are in the queue.
  23752. 2004-08-23 18:19 ravindra
  23753. * XplatUIWin32.cs: Removed the unwanted destructor.
  23754. 2004-08-23 17:27 pbartok
  23755. * ButtonBase.cs:
  23756. - Finishing touches. Works now, just needs some optimizations.
  23757. 2004-08-23 16:53 jordi
  23758. * ScrollBar.cs: small fix
  23759. 2004-08-23 16:45 pbartok
  23760. * Application.cs:
  23761. - Removed debug output
  23762. - Simplifications
  23763. 2004-08-23 16:43 jordi
  23764. * ScrollBar.cs: [no log message]
  23765. 2004-08-23 16:10 pbartok
  23766. * Form.cs:
  23767. - Fixed handling of WM_CLOSE message
  23768. - Removed debug output
  23769. 2004-08-23 16:09 pbartok
  23770. * Application.cs:
  23771. - Added handling of Idle event
  23772. - Added handling of form closing
  23773. - Fixed reporting of MessageLoop property
  23774. - Removed some unneeded code, should provide a bit of a speedup
  23775. 2004-08-23 15:22 pbartok
  23776. * Control.cs:
  23777. - Added InitLayout() method
  23778. - Added code to properly perform layout when Anchor or Dock property
  23779. is changed
  23780. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  23781. LAMESPEC, tried to do it in a way that makes sense
  23782. 2004-08-23 14:10 jordi
  23783. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  23784. properties and methods
  23785. 2004-08-23 13:55 pbartok
  23786. * Control.cs:
  23787. - Properly fixed Jordi's last fix
  23788. - Now uses Cursor's Position property instead of calling XplatUI
  23789. directly
  23790. 2004-08-23 13:44 jordi
  23791. * PaintEventHandler.cs: Adding missing attribute
  23792. 2004-08-23 13:39 pbartok
  23793. * Cursor.cs:
  23794. - Implemented Position property
  23795. 2004-08-23 13:39 pbartok
  23796. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23797. - Added method to move mouse cursor
  23798. 2004-08-23 13:39 pbartok
  23799. * XplatUIX11.cs:
  23800. - Fixed setting of background color
  23801. - Added method to move mouse cursor
  23802. 2004-08-23 13:16 jordi
  23803. * Control.cs: avoids null exception
  23804. 2004-08-22 17:46 jackson
  23805. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  23806. PictureBox
  23807. 2004-08-22 17:40 jackson
  23808. * XplatUIX11.cs: Add some missing locks
  23809. 2004-08-22 15:10 pbartok
  23810. * Control.cs, Form.cs:
  23811. - Removed OverlappedWindow style from Control, instead it's default
  23812. now is child
  23813. - Made form windows OverlappedWindow by default
  23814. 2004-08-22 13:34 jackson
  23815. * ScrollBar.cs: Update the position through the Value property so
  23816. the OnValueChanged event is raised.
  23817. 2004-08-22 12:04 pbartok
  23818. * SWF.csproj:
  23819. - Added Cursor.cs and UserControl.cs
  23820. 2004-08-22 12:03 pbartok
  23821. * Cursor.cs:
  23822. - Started implementation, not usable yet
  23823. 2004-08-22 12:00 pbartok
  23824. * UserControl.cs:
  23825. - Implemented UserControl (complete)
  23826. 2004-08-21 19:20 ravindra
  23827. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  23828. 2004-08-21 18:49 ravindra
  23829. * ToolBar.cs: Probably this completes the missing attributes in
  23830. toolbar control.
  23831. 2004-08-21 18:03 ravindra
  23832. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  23833. Fixed toolbar control signatures.
  23834. 2004-08-21 16:32 pbartok
  23835. * LinkLabel.cs:
  23836. - Signature Fixes
  23837. 2004-08-21 16:30 pbartok
  23838. * Label.cs:
  23839. - Signature fixes
  23840. 2004-08-21 16:19 pbartok
  23841. * Control.cs, Label.cs:
  23842. - Signature fixes
  23843. 2004-08-21 15:57 pbartok
  23844. * ButtonBase.cs:
  23845. - Added loads of debug output for development
  23846. - Fixed typo in method name
  23847. 2004-08-21 15:52 pbartok
  23848. * ToolBarButtonClickEventArgs.cs:
  23849. - Added missing base class
  23850. 2004-08-21 14:53 pbartok
  23851. * Control.cs:
  23852. - Updated to match new GrabWindow signature
  23853. 2004-08-21 14:51 pbartok
  23854. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23855. - Added method to get default display size
  23856. 2004-08-21 14:23 pbartok
  23857. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23858. - Added method to query current grab state
  23859. - Added argument to allow confining a grab to a window
  23860. 2004-08-21 14:22 pbartok
  23861. * Keys.cs:
  23862. - Added [Flags] attribute so that modifiers can be used in bitwise
  23863. ops
  23864. 2004-08-21 14:21 pbartok
  23865. * TrackBar.cs, ScrollBar.cs:
  23866. - Replaced direct XplatUI calls with their Control counterpart
  23867. 2004-08-21 13:32 pbartok
  23868. * Control.cs:
  23869. - Implemented Created property
  23870. 2004-08-21 13:28 pbartok
  23871. * Control.cs:
  23872. - Implemented ContainsFocus
  23873. 2004-08-21 13:26 pbartok
  23874. * Control.cs:
  23875. - Implemented CausesValidation
  23876. 2004-08-21 13:21 pbartok
  23877. * Control.cs:
  23878. - Implemented CanFocus
  23879. - Implemented CanSelect
  23880. - Implemented Capture
  23881. 2004-08-21 12:35 pbartok
  23882. * XplatUIWin32.cs:
  23883. - Fixed bug with Async message handling
  23884. - Implemented getting the ModifierKeys
  23885. 2004-08-21 12:32 jackson
  23886. * AsyncMethodResult.cs: Make sure we have the mutex before we
  23887. release it. Fixes BeginInvoke on windows
  23888. 2004-08-21 11:31 pbartok
  23889. * XplatUIWin32.cs, XplatUIX11.cs:
  23890. - Drivers now return proper mouse state
  23891. 2004-08-21 10:54 jackson
  23892. * Control.cs: Implement EndInvoke
  23893. 2004-08-21 10:48 jackson
  23894. * Timer.cs: Remove unneeded finalizer
  23895. 2004-08-20 19:52 ravindra
  23896. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  23897. in mouse event handling in the ToolBar control.
  23898. 2004-08-20 19:50 ravindra
  23899. * ImageList.cs: Changed draw method to use the arguments passed in
  23900. to draw the image.
  23901. 2004-08-20 18:58 pbartok
  23902. * XplatUIStructs.cs:
  23903. - Added private message for async communication
  23904. 2004-08-20 17:38 ravindra
  23905. * Control.cs: Made RightToLeft property virtual and removed a
  23906. Console.WriteLine.
  23907. 2004-08-20 14:39 jordi
  23908. * ThemeGtk.cs: use style_attach
  23909. 2004-08-20 14:39 pbartok
  23910. * XplatUIWin32.cs:
  23911. - Added jackson's Async code from X11 to Win32
  23912. 2004-08-20 14:09 pbartok
  23913. * SWF.csproj:
  23914. - Added all new files
  23915. 2004-08-20 14:09 pbartok
  23916. * Control.cs:
  23917. - Added call to set window background color
  23918. 2004-08-20 14:03 pbartok
  23919. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  23920. - Added method for setting the window background
  23921. 2004-08-20 14:02 pbartok
  23922. * XplatUIWin32.cs:
  23923. - Added method for setting the background color
  23924. - Added handling for erasing the window background
  23925. 2004-08-20 13:45 jordi
  23926. * TrackBar.cs: fixes timer, new properties and methods
  23927. 2004-08-20 13:34 jackson
  23928. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  23929. correct thread
  23930. 2004-08-20 13:22 jackson
  23931. * Timer.cs: Timer Tick events are now handed through Controls Async
  23932. mechanism so the callbacks are executed in the same thread as X
  23933. 2004-08-20 13:19 jackson
  23934. * XplatUIDriver.cs: Expose functionality to send async messages
  23935. through the driver
  23936. 2004-08-20 13:18 jackson
  23937. * Control.cs: Implement Begininvoke
  23938. 2004-08-20 13:14 jackson
  23939. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  23940. messages through the driver
  23941. 2004-08-20 13:12 jackson
  23942. * XplatUIX11.cs: Lock before all X operations. Also added Async
  23943. method functionality through XSendEvent
  23944. 2004-08-20 13:11 jackson
  23945. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  23946. This will screw up on 64 bit systems)
  23947. 2004-08-20 13:10 jackson
  23948. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  23949. Async messages through X/Win32
  23950. 2004-08-19 19:39 pbartok
  23951. * XplatUIX11.cs:
  23952. - Updated code to match new HandleData.DeviceContext type
  23953. 2004-08-19 19:38 pbartok
  23954. * HandleData.cs:
  23955. - Made DeviceContext a generic object to allow usage from various
  23956. drivers
  23957. - Added support for queueing Windows messages
  23958. 2004-08-19 19:37 pbartok
  23959. * XplatUIWin32.cs:
  23960. - Added generation of MouseEnter, MouseLeave and MouseHover events
  23961. - Added cleanup on EndPaint
  23962. 2004-08-19 19:17 pbartok
  23963. * Control.cs:
  23964. - Added handling of WM_MOUSEHOVER
  23965. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  23966. code
  23967. 2004-08-19 18:55 jordi
  23968. * ThemeGtk.cs: fixes button order
  23969. 2004-08-19 18:12 jordi
  23970. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  23971. 2004-08-19 17:09 pbartok
  23972. * Control.cs:
  23973. - Added Right property
  23974. - Added RightToLeft property
  23975. 2004-08-19 16:27 jordi
  23976. * ThemeGtk.cs: experimental GTK theme support
  23977. 2004-08-19 16:26 jordi
  23978. * ITheme.cs, Theme.cs: move themes from an interface to a class
  23979. 2004-08-19 16:25 jordi
  23980. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  23981. theme enhancaments
  23982. 2004-08-19 16:04 pbartok
  23983. * XplatUIX11.cs:
  23984. - Added colormap basics
  23985. - Added a way to re-initialize with a different display handle
  23986. - Fixed setting of the window background color
  23987. - Added various X11 imports related to colors and colormaps
  23988. 2004-08-19 15:51 pbartok
  23989. * X11Structs.cs:
  23990. - Removed packing hints (Paolo suggested this a while back)
  23991. - fixed colormap type
  23992. - Added default Atom types
  23993. - Added Screen and color structs and enums
  23994. 2004-08-19 15:39 pbartok
  23995. * ImageList.cs:
  23996. - Added missing Draw() method
  23997. - Added missing RecreateHandle event
  23998. 2004-08-19 15:30 pbartok
  23999. * Form.cs:
  24000. - Added handling of WM_CLOSE
  24001. 2004-08-18 13:16 jordi
  24002. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  24003. a table
  24004. 2004-08-18 09:56 jordi
  24005. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  24006. 2004-08-17 15:31 ravindra
  24007. * SWF.csproj: Updated project.
  24008. 2004-08-17 15:25 pbartok
  24009. * Control.cs:
  24010. - Drawing improvement; don't call UpdateBounds if we are not visible
  24011. (or have been minimized)
  24012. 2004-08-17 15:24 pbartok
  24013. * XplatUIWin32.cs:
  24014. - Finished IsVisible
  24015. - Added Win32GetWindowPlacement
  24016. 2004-08-17 15:08 jackson
  24017. * Panel.cs: Initial checkin of the Panel
  24018. 2004-08-17 14:25 pbartok
  24019. * Control.cs:
  24020. - Fixed broken handling of default window sizes
  24021. 2004-08-17 13:29 jackson
  24022. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  24023. has a large startup time.
  24024. 2004-08-17 10:25 jackson
  24025. * HandleData.cs: union areas properly
  24026. 2004-08-17 10:12 jackson
  24027. * HandleData.cs: union areas properly
  24028. 2004-08-16 20:00 ravindra
  24029. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  24030. 2004-08-16 18:48 ravindra
  24031. * ToolBar.cs: Added attributes.
  24032. 2004-08-16 17:17 ravindra
  24033. * SWF.csproj: Updated project.
  24034. 2004-08-16 17:16 jackson
  24035. * XplatUIX11.cs: Check for more expose events before sending a
  24036. WM_PAINT so they can all be grouped together. This makes dragging a
  24037. window across another window redraw in a sane way.
  24038. 2004-08-16 15:47 pbartok
  24039. * Control.cs:
  24040. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  24041. support OnMouseEnter/Leave()
  24042. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  24043. exposure handling
  24044. 2004-08-16 15:46 pbartok
  24045. * XplatUIStructs.cs, XplatUIX11.cs:
  24046. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  24047. OnMouseEnter/Leave()
  24048. 2004-08-16 15:34 jackson
  24049. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  24050. sure messages get the message field set to WM_NULL if they are not
  24051. handled.
  24052. 2004-08-16 15:24 jackson
  24053. * HandleData.cs: HandleData is used for storing message information
  24054. for window handles
  24055. 2004-08-15 17:23 ravindra
  24056. * ColorDepth.cs: Added attribute.
  24057. 2004-08-15 17:23 ravindra
  24058. * SWF.csproj: Updated project for ToolBar Control.
  24059. 2004-08-15 17:20 ravindra
  24060. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  24061. control and also dos2unix format.
  24062. 2004-08-15 17:13 ravindra
  24063. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  24064. ToolBarButtonClickEventArgs.cs,
  24065. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  24066. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  24067. 2004-08-15 15:31 pbartok
  24068. * ButtonBase.cs:
  24069. - First (mostly) working version
  24070. 2004-08-13 16:15 pbartok
  24071. * Control.cs:
  24072. - Fixed Anchor default
  24073. 2004-08-13 15:43 pbartok
  24074. * Control.cs:
  24075. - Changed GetCursorPos signature
  24076. 2004-08-13 15:42 pbartok
  24077. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  24078. - Changed signature for GetCursorPos
  24079. 2004-08-13 15:25 pbartok
  24080. * XplatUIX11.cs:
  24081. - Cleanup
  24082. - Fixed resizing/exposure handling
  24083. 2004-08-13 15:22 jordi
  24084. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  24085. with tickposition
  24086. 2004-08-13 14:55 jordi
  24087. * TrackBar.cs: change from wndproc to events
  24088. 2004-08-13 13:00 jordi
  24089. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  24090. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  24091. 2004-08-13 12:53 pbartok
  24092. * XplatUIWin32.cs:
  24093. - Changed GetWindowPos to also provide client area size
  24094. - Fixed broken prototypes for several win32 functions
  24095. 2004-08-13 12:53 pbartok
  24096. * XplatUI.cs, XplatUIDriver.cs:
  24097. - Changed GetWindowPos to also provide client area size
  24098. 2004-08-13 12:52 pbartok
  24099. * XplatUIX11.cs:
  24100. - Added generation of WM_POSCHANGED
  24101. - Changed GetWindowPos to also provide client area size
  24102. 2004-08-13 12:52 pbartok
  24103. * Control.cs:
  24104. - Added Dispose() and destructor
  24105. - Fixed resizing and bounds calculation
  24106. - Fixed Layout
  24107. - Added memory savings for invisible windows
  24108. 2004-08-13 12:46 jordi
  24109. * TrackBar.cs: adds timer and grap window
  24110. 2004-08-13 10:25 jackson
  24111. * Timer.cs: SWF Timer
  24112. 2004-08-12 16:59 pbartok
  24113. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24114. - Implemented method to get current mouse position
  24115. 2004-08-12 14:29 jordi
  24116. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  24117. enhancement, fix mouse problems, highli thumb, etc
  24118. 2004-08-12 13:31 pbartok
  24119. * Control.cs:
  24120. - Fixed Anchoring bugs
  24121. 2004-08-12 13:01 jackson
  24122. * StatusBar.cs: Don't forget things
  24123. 2004-08-12 12:54 jackson
  24124. * ThemeWin32Classic.cs: Handle owner draw status bars
  24125. 2004-08-12 12:54 jackson
  24126. * StatusBar.cs: Implement missing properties, events, and methods.
  24127. Handle mouse clicking
  24128. 2004-08-12 10:19 jackson
  24129. * StatusBarPanelClickEventArgs.cs,
  24130. StatusBarPanelClickEventHandler.cs: Classes for handling status
  24131. bar panel click events
  24132. 2004-08-12 10:10 jackson
  24133. * Control.cs: Add missing properties
  24134. 2004-08-12 09:46 pbartok
  24135. * BindingsManagerBase.cs:
  24136. - Name changed to BindingManagerBase.cs
  24137. 2004-08-12 09:25 jordi
  24138. * ScrollableControl.cs: calls ctrlbase instead of exeception
  24139. 2004-08-11 16:28 pbartok
  24140. * InputLanguageChangingEventArgs.cs:
  24141. - Never check in before compiling. Fixes the last check-in
  24142. 2004-08-11 16:26 pbartok
  24143. * InputLanguageChangingEventArgs.cs:
  24144. - More signature fixes
  24145. 2004-08-11 16:20 pbartok
  24146. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  24147. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  24148. ImageListStreamer.cs, InputLanguage.cs,
  24149. InputLanguageChangedEventArgs.cs,
  24150. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  24151. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  24152. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  24153. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24154. - Signature fixes
  24155. 2004-08-11 16:16 pbartok
  24156. * Application.cs:
  24157. - Fixed Signature
  24158. - Added .Net 1.1 method
  24159. 2004-08-11 15:25 pbartok
  24160. * SWF.csproj:
  24161. - Fixed BindingManagerBase.cs filename
  24162. 2004-08-11 15:22 pbartok
  24163. * BindingManagerBase.cs:
  24164. - Was checked in with wrong filename
  24165. 2004-08-11 14:50 pbartok
  24166. * SWF.csproj:
  24167. - Updated
  24168. 2004-08-11 13:41 jordi
  24169. * XplatUIWin32.cs: Fixes ClientRect
  24170. 2004-08-11 13:19 pbartok
  24171. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  24172. XplatUIX11.cs:
  24173. - We had SetWindowPos and MoveWindow to set window positions and
  24174. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  24175. keep SetWindowPos as matching counterpart
  24176. - Added some X11 sanity checking
  24177. 2004-08-11 12:59 pbartok
  24178. * Control.cs:
  24179. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  24180. (It seems that SetBounds is just a front for SetBoundsCore and
  24181. SetBoundsCore updates the underlying window system and
  24182. UpdateBounds is responsible for updating the variables associated
  24183. with the Control and sending the events)
  24184. - Major cleanup of Size handling; we now have two sizes, client_size
  24185. and bounds. Bounds defines the window with decorations, client_size
  24186. without them.
  24187. 2004-08-11 12:55 pbartok
  24188. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24189. - Added method to calculate difference between decorated window and
  24190. raw client area
  24191. 2004-08-11 12:54 pbartok
  24192. * Label.cs:
  24193. - Forcing redraw on resize
  24194. 2004-08-11 11:43 pbartok
  24195. * ImageList.cs:
  24196. - Removed disposing of the actual images when the list is disposed
  24197. 2004-08-11 09:13 pbartok
  24198. * Control.cs:
  24199. - Now properly reparents windows
  24200. 2004-08-11 08:37 pbartok
  24201. * Control.cs:
  24202. - Duh!
  24203. 2004-08-11 07:47 pbartok
  24204. * Control.cs:
  24205. - Rewrote the collection stuff. Might not be as fast now, not
  24206. keeping the number of children around and accessible directly, but
  24207. it's more straightforward
  24208. 2004-08-11 07:44 pbartok
  24209. * AccessibleObject.cs:
  24210. - Fixed to match ControlCollection rewrite
  24211. 2004-08-11 07:43 pbartok
  24212. * ImageList.cs:
  24213. - Added missing creation of the collection list
  24214. 2004-08-10 20:08 jackson
  24215. * StatusBar.cs: Get the paint message from WndProc
  24216. 2004-08-10 19:31 jackson
  24217. * ThemeWin32Classic.cs: Create Brushes as little as possible
  24218. 2004-08-10 19:20 jackson
  24219. * UICues.cs: Add Flags attribute
  24220. 2004-08-10 19:19 jackson
  24221. * StatusBarPanel.cs: Signature cleanup
  24222. 2004-08-10 19:10 jackson
  24223. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  24224. Initial implementation of status bar item drawing
  24225. 2004-08-10 17:27 jordi
  24226. * TrackBar.cs: add missing methods, properties, and restructure to
  24227. hide extra ones
  24228. 2004-08-10 16:24 jackson
  24229. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  24230. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  24231. attribute
  24232. 2004-08-10 13:21 jordi
  24233. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  24234. enhancements and standarize on win colors defaults
  24235. 2004-08-10 12:52 jackson
  24236. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  24237. ThemeWin32Classic.cs: Implement DrawItem functionality
  24238. 2004-08-10 12:47 jordi
  24239. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  24240. 2004-08-10 12:32 jordi
  24241. * Control.cs: throw ontextchange event
  24242. 2004-08-10 11:43 pbartok
  24243. * Control.cs:
  24244. - Added more to the still unfinished Dock/Anchor layout code
  24245. 2004-08-10 11:39 pbartok
  24246. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  24247. - Added GetWindowPos method
  24248. 2004-08-10 11:36 pbartok
  24249. * XplatUIWin32.cs:
  24250. - Implemented several methods
  24251. 2004-08-10 09:47 jackson
  24252. * TrackBar.cs: Allow control to handle buffering
  24253. 2004-08-10 09:41 jackson
  24254. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  24255. 2004-08-10 09:24 jackson
  24256. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  24257. 2004-08-10 09:09 jackson
  24258. * StatusBar.cs: Let Control handle all the buffering.
  24259. 2004-08-10 09:08 jackson
  24260. * Control.cs: Control will now handle the buffering code, so each
  24261. control does not have to implement this.
  24262. 2004-08-10 08:34 jackson
  24263. * XplatUIDriver.cs: Use default colors from the theme
  24264. 2004-08-09 17:12 pbartok
  24265. * ImageList.cs:
  24266. - Fixed several bugs Ravindra pointed out
  24267. 2004-08-09 16:11 pbartok
  24268. * Control.cs:
  24269. - Added incomplete dock layout code
  24270. - Added support for mouse wheel
  24271. 2004-08-09 16:09 pbartok
  24272. * XplatUIX11.cs:
  24273. - Added handling for middle and right mousebutton
  24274. - Added handling for mouse wheel
  24275. - Added handling for key state and mouse state and position
  24276. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  24277. messages
  24278. 2004-08-09 15:40 jackson
  24279. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  24280. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  24281. checkin
  24282. 2004-08-09 15:37 jackson
  24283. * StatusBar.cs: Initial implementation of StatusBar
  24284. 2004-08-09 15:36 jackson
  24285. * ITheme.cs: Add support for drawing status bar and getting status
  24286. bar item sizes
  24287. 2004-08-09 15:35 pbartok
  24288. * MouseButtons.cs:
  24289. - Fixed values
  24290. 2004-08-09 15:34 jackson
  24291. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  24292. status bar item sizes
  24293. 2004-08-09 15:21 jackson
  24294. * ThemeWin32Classic.cs: Use known colors for default control
  24295. colours
  24296. 2004-08-09 15:12 jackson
  24297. * ThemeWin32Classic.cs: Make the default font static, it is static
  24298. in control so this doesn't change functionality and creating fonts
  24299. is sloooooow.
  24300. 2004-08-09 14:56 pbartok
  24301. * X11Structs.cs:
  24302. - Added GrabMode enum
  24303. 2004-08-09 14:55 pbartok
  24304. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24305. - Removed Run method, was only required for initial development
  24306. 2004-08-09 14:51 pbartok
  24307. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24308. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  24309. capture
  24310. 2004-08-09 13:48 pbartok
  24311. * XplatUIX11.cs:
  24312. - Fixed default sizing for child windows
  24313. 2004-08-09 12:56 pbartok
  24314. * XplatUIX11.cs:
  24315. - Added generation of WM_DESTROY message
  24316. - Added handling of window manager induced shutdown
  24317. 2004-08-09 11:31 jackson
  24318. * ThemeWin32Classic.cs: New names for control properties
  24319. 2004-08-09 11:25 jackson
  24320. * Control.cs: Use new color names
  24321. 2004-08-09 11:02 jackson
  24322. * XplatUI.cs: Get default window properties from the theme
  24323. 2004-08-09 11:01 jackson
  24324. * ITheme.cs: The theme engine now controls default window
  24325. properties
  24326. 2004-08-09 11:00 jackson
  24327. * ThemeWin32Classic.cs: Add default window color properties
  24328. 2004-08-09 10:17 jackson
  24329. * ThemeWin32Classic.cs: Use correct default back color
  24330. 2004-08-09 10:05 jackson
  24331. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  24332. the theme now.
  24333. 2004-08-09 09:56 jackson
  24334. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  24335. 2004-08-09 09:54 jackson
  24336. * Control.cs: Get default properties from the theme.
  24337. 2004-08-09 09:53 jackson
  24338. * ITheme.cs: Themes now handle default control properties
  24339. 2004-08-09 09:53 jackson
  24340. * ThemeWin32Classic.cs: Themes now handle default control
  24341. properties so coloring will be consistent
  24342. 2004-08-08 16:54 jordi
  24343. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  24344. 2004-08-08 15:08 jordi
  24345. * XplatUIX11.cs: fixes keyboard crash
  24346. 2004-08-08 13:47 jordi
  24347. * Label.cs: add cvs header info
  24348. 2004-08-08 12:09 jackson
  24349. * ThemeWin32Classic.cs: Add pen_buttonface
  24350. 2004-08-08 11:52 jordi
  24351. * Label.cs, LinkLabel.cs: [no log message]
  24352. 2004-08-08 11:34 jordi
  24353. * ThemeWin32Classic.cs: Use Windows Standard Colours
  24354. 2004-08-07 17:32 jordi
  24355. * TrackBar.cs: throw exceptions of invalid enums values
  24356. 2004-08-07 17:31 jordi
  24357. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  24358. draw method name
  24359. 2004-08-07 16:56 jackson
  24360. * HorizontalAlignment.cs: Initial checkin
  24361. 2004-08-07 13:16 jordi
  24362. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  24363. methods
  24364. 2004-08-07 13:05 jordi
  24365. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  24366. GetSysColor defines
  24367. 2004-08-06 18:01 pbartok
  24368. * ThemeWin32Classic.cs:
  24369. - Fixed some rounding issues with float/int
  24370. 2004-08-06 18:00 jackson
  24371. * DockStyle.cs, AnchorStyles.cs:
  24372. Add flags and serializable attributes.
  24373. 2004-08-06 17:46 pbartok
  24374. * XplatUIX11.cs:
  24375. - Implemented GetParent
  24376. 2004-08-06 17:18 pbartok
  24377. * TrackBar.cs:
  24378. - Fixed some rounding issues with float/int
  24379. 2004-08-06 17:17 pbartok
  24380. * X11Structs.cs, XplatUIX11.cs:
  24381. - Fixed Refresh and Invalidate
  24382. 2004-08-06 15:30 pbartok
  24383. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  24384. - Fixed recursive loop when resizing
  24385. - Improved/fixed redrawing on expose messages
  24386. 2004-08-06 09:53 jordi
  24387. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  24388. keyboard navigation
  24389. 2004-08-06 08:02 pbartok
  24390. * X11Structs.cs, XplatUIX11.cs:
  24391. - Fixed reparenting
  24392. - Fixed window border creation
  24393. 2004-08-05 15:38 pbartok
  24394. * XplatUIX11.cs:
  24395. - Attempted fix for reparenting problems
  24396. 2004-08-04 15:14 pbartok
  24397. * Control.cs:
  24398. - Fixed Invalidation bug (calculated wrong client area)
  24399. - Added ClientSize setter
  24400. 2004-08-04 15:13 pbartok
  24401. * Form.cs:
  24402. - Added AutoScale properties
  24403. 2004-08-04 15:13 pbartok
  24404. * SWF.csproj:
  24405. - Added latest files
  24406. 2004-08-04 14:11 pbartok
  24407. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  24408. XplatUIX11.cs:
  24409. - Added Invalidate handling
  24410. 2004-08-03 17:09 jordi
  24411. * XplatUIDriver.cs: fixes spelling mistake
  24412. 2004-07-27 09:53 jordi
  24413. * TrackBar.cs: fixes trackbar events, def classname, methods
  24414. signature
  24415. 2004-07-27 09:29 jordi
  24416. * ScrollBar.cs: fixes scrollbar events
  24417. 2004-07-27 04:38 jordi
  24418. * Control.cs: changes to be able to run winforms samples
  24419. 2004-07-26 11:42 jordi
  24420. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  24421. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  24422. 2004-07-26 05:41 jordi
  24423. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  24424. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  24425. implementation
  24426. 2004-07-22 09:22 jordi
  24427. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  24428. check link overlapping, implement events, and fixes
  24429. 2004-07-21 10:28 jordi
  24430. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  24431. 2004-07-21 10:19 jordi
  24432. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  24433. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  24434. LinkLabelLinkClickedEventArgs.cs,
  24435. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  24436. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  24437. implementation
  24438. 2004-07-19 13:09 jordi
  24439. * Control.cs, Label.cs: label control re-written: added missing
  24440. functionlity, events, and properties
  24441. 2004-07-19 10:49 jordi
  24442. * Control.cs: fixes SetBounds logic
  24443. 2004-07-19 01:29 jordi
  24444. * Control.cs: Call RefreshWindow only if the window has created
  24445. 2004-07-15 14:05 pbartok
  24446. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  24447. - Implemented ImageList and ImageList.ImageCollection classes
  24448. - Added ColorDepth enumeration
  24449. - Updated SWF VS.Net project
  24450. 2004-07-15 11:06 jordi
  24451. * XplatUIStructs.cs: added MsgButons enum
  24452. 2004-07-15 11:03 jordi
  24453. * Control.cs: added basic mouse handeling events
  24454. 2004-07-15 03:38 jordi
  24455. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  24456. Vertical TrackBar control implementation
  24457. 2004-07-13 09:33 jordi
  24458. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  24459. 2004-07-13 09:31 jordi
  24460. * Control.cs, Form.cs: commit: new properties and fixes form size
  24461. problems
  24462. 2004-07-09 14:13 miguel
  24463. * ProgressBar.cs: Spelling
  24464. 2004-07-09 11:25 pbartok
  24465. * ProgressBar.cs:
  24466. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  24467. faster
  24468. 2004-07-09 11:17 miguel
  24469. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  24470. * ProgressBar.cs: Fixed spelling for `block'
  24471. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  24472. style guidelines.
  24473. Avoid using the += on rect.X, that exposed a bug in the compiler.
  24474. 2004-07-08 23:21 pbartok
  24475. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  24476. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  24477. BaseCollection.cs, Binding.cs, BindingContext.cs,
  24478. BindingMemberInfo.cs, BindingsCollection.cs,
  24479. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  24480. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  24481. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  24482. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  24483. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  24484. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  24485. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  24486. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  24487. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  24488. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  24489. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  24490. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  24491. InputLanguageChangedEventArgs.cs,
  24492. InputLanguageChangedEventHandler.cs,
  24493. InputLanguageChangingEventArgs.cs,
  24494. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  24495. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  24496. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  24497. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  24498. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  24499. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  24500. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  24501. QueryAccessibilityHelpEventArgs.cs,
  24502. QueryAccessibilityHelpEventHandler.cs,
  24503. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  24504. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  24505. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  24506. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  24507. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  24508. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  24509. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  24510. XplatUIX11.cs, lang.cs:
  24511. - Initial check-in