ChangeLog 870 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798
  1. 2007-03-25 Jonathan Pobst <[email protected]>
  2. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  3. 2007-03-24 Jonathan Pobst <[email protected]>
  4. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  5. parameter indicates which aspects were explicit/user-set.
  6. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  7. 2007-03-24 Jonathan Pobst <[email protected]>
  8. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  9. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  10. SmallChange, and Value (2.0).
  11. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  12. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  13. * ListView.cs: Always set item_control.Width in LayoutDetails
  14. if View is Details. Setting it later in CalculateScrollBars
  15. in a not-so-corner scenario (the sum of columns width is
  16. not bigger than the ListView width when handle is created, and then
  17. that sum gets bigger by increasing the width of the columns)
  18. causes a very weird recursion path (which shouldn't be happening,
  19. since header_control sets it in CalculateScrollBars too). This bug
  20. appeared after Chris' fixes for handle created issues, so probably
  21. it's related to some handle-creation time.
  22. 2007-03-23 Chris Toshok <[email protected]>
  23. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  24. case where there's an add row, just so we don't end up in a case
  25. where it's not displayed (this happens when the row is partially
  26. obscured). Fixes bug #79574.
  27. 2007-03-23 Jackson Harper <[email protected]>
  28. * TextControl.cs:
  29. * TextBoxBase.cs:
  30. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  31. also added an enum that represents the line ending type.
  32. 2007-03-23 Andreia Gaita <[email protected]>
  33. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  34. messed with in every method call, but only from DownButton,
  35. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  36. 2007-03-23 Chris Toshok <[email protected]>
  37. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  38. format objects if the format spec is "". Fixes bug #80889.
  39. 2007-03-22 Miguel de Icaza <[email protected]>
  40. * ToolStripPanel.cs (Join): added stubs to build PDN3
  41. * Control.cs (AutoScrollOffset): Add.
  42. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  43. property, its only implemented for Win32, on X11 it defaults to
  44. some hardcoded value.
  45. * ToolStripItem.cs (AllowDrop): Add property
  46. 2007-03-22 Mike Kestner <[email protected]>
  47. * ListView.cs : in FullRowSelect Details mode, only enable box
  48. selection if the user clicks over the "item" column outside of the
  49. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  50. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  51. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  52. handle is not created yet.
  53. * Form.cs: Select: Don't call CreateHandle if the handle is already
  54. created, avoids a stack overflow on Windows when we are recreating
  55. controls.
  56. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  57. they are made visible, and override AfterTopMostControl to keep
  58. them on top when other controls are brought to front.
  59. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  60. or force_*scroll_visible is true (old implementation always shows
  61. scrollbars when needed, no matter what auto_scroll was set to).
  62. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  63. IsHandleCreated check.
  64. 2007-03-22 Andreia Gaita <[email protected]>
  65. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  66. row or col separator.
  67. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  68. 2007-03-22 Everaldo Canuto <[email protected]>
  69. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  70. 2007-03-22 Everaldo Canuto <[email protected]>
  71. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  72. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  73. every time. Fixes #80410.
  74. 2007-03-22 Chris Toshok <[email protected]>
  75. * BindingSource.cs (AddNew): partially implement.
  76. remove a couple of NotImplementedException's
  77. to get bug #81148 closed.
  78. 2007-03-22 Everaldo Canuto <[email protected]>
  79. [Fixes #80380]
  80. * Control.cs:
  81. - UpdateCursor method added to update the screen cursor.
  82. - GetAvailableCursor method added to return cursor for enabled tree,
  83. it searches for cursor on control and it's parent's for enabled control.
  84. - Call UpdateCursor method on setter of Cursor property.
  85. - On setter of Enabled call UpdateCursor when it is false, we need to
  86. change cursor to normal (or to this parent cursor) because cursor
  87. setting theres no effect to disabled controls.
  88. - Some minor source changes to follow the coding style guidelines.
  89. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  90. controls.
  91. 2007-03-22 Chris Toshok <[email protected]>
  92. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  93. generates.
  94. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  95. * XplatUIX11.cs: Implement default locations for forms.
  96. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  97. * Hwnd.cs: Add previous_child_startup_location (to track the current
  98. startup location for any child forms of the current form) and
  99. previous_main_startup_location (to track the startup location for
  100. the current toplevel form).
  101. 2007-03-21 Jonathan Pobst <[email protected]>
  102. * Control.cs: Don't trigger a layout if an implicit control is added
  103. that isn't visible. Also, don't notify the owner when an implicit control
  104. is added. (Owners shouldn't even know about their implicit controls.)
  105. 2007-03-21 Jonathan Pobst <[email protected]>
  106. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  107. to save some re-layouts.
  108. 2007-03-21 Everaldo Canuto <[email protected]>
  109. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  110. [Fixes #81203]
  111. 2007-03-21 Jonathan Pobst <[email protected]>
  112. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  113. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  114. 2007-03-21 Mike Kestner <[email protected]>
  115. * ListView.cs : disable selection update for non-left button clicks
  116. with mods and over selected items. [Fixes #80524]
  117. 2007-03-20 Jackson Harper <[email protected]>
  118. * TextControl.cs:
  119. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  120. \r\r\n, \n.
  121. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  122. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  123. very probably a more complicated calculation there. Update the
  124. textbox' ForeColor and BackColor when the ComboBox' colors are
  125. changed. Change the border change in LayoutComboBox to only affect
  126. the textbox, not all the calculations there. Seems to fix most of
  127. #79436.
  128. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  129. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  130. modifiers + navigation keys as input keys, enables advanced text
  131. selection in the combobox (like Shift+Left Arrow for instance).
  132. ComboTextBox now overrides Focused and returns whatever
  133. ComboBox.Focused returns, since it really should be focused
  134. whenever the ComboBox is. Fixes #80795. Also make the border around
  135. the text box one pixel bigger, as mentioned in #79436.
  136. 2007-03-20 Jackson Harper <[email protected]>
  137. * TreeView.cs: Don't offset the images, this was causing some
  138. artifacts when expanding/collapsing with images that were the
  139. exact height of the treenode.
  140. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  141. * TrackBar.cs: Query the theme for the correct value when the mouse
  142. moves and the thumb is pressed.
  143. * Theme.cs: Added TrackBarValueFromMousePosition
  144. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  145. implementation was updating the trackbar value when drawing, now
  146. the drawing methods only draw. Fixes #80900. Refactored the
  147. calculations out to TrackBarValueFromMousePosition and
  148. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  149. according to the mouse position whenever it wants to. Changed the
  150. light coloured pen when drawing the thumb from ControlLight to
  151. ControlLightLight, because the ControlLight is the same colour as
  152. the background so the 3D effect is lost.
  153. 2007-03-20 Everaldo Canuto <[email protected]>
  154. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  155. defined. Fixes #80784.
  156. 2007-03-20 Marek Habersack <[email protected]>
  157. * ContextMenuStrip.cs: align with the change introduced in
  158. revision 74664.
  159. 2007-03-20 Everaldo Canuto <[email protected]>
  160. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  161. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  162. in SetTopmost.
  163. 2007-03-19 Chris Toshok <[email protected]>
  164. * Control.cs (WmPaint): don't make use of the Handle property
  165. after an event is emitted, as the user could have closed the
  166. form/destroyed the control. Store the Handle in a local variable
  167. and make use of that. Fixes bug #80768.
  168. 2007-03-20 Everaldo Canuto <[email protected]>
  169. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  170. behavior in X11 environments.
  171. 2007-03-20 Everaldo Canuto <[email protected]>
  172. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  173. because on setter of topmost we dont call SetTopmost when handle is not
  174. created.
  175. 2007-03-20 Jackson Harper <[email protected]>
  176. * TextControl.cs: Need to use SelectionLength () not
  177. selection_length, since that var is reset to -1.
  178. - Draw the caret when we don't have focus.
  179. * TextBox.cs: The selectall actually doesn't occur until the first
  180. focus.
  181. * TextBoxBase.cs: Need to update the caret position after a
  182. selectall.
  183. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  184. * ListView.cs: Enable scrolling when using Tile view.
  185. 2007-03-20 Everaldo Canuto <[email protected]>
  186. [Fixes #80902]
  187. * XplatUIDriver.cs: Abstract SetOwner method created.
  188. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  189. must be implemented and was masked as todo.
  190. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  191. GWL_HWNDPARENT.
  192. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  193. cheking for null owner to remove transient. The SetTopmost will be change
  194. on a decond step.
  195. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  196. SetTopmost. Now owned forms will work properly in win32 and X11.
  197. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  198. * MdiWindowManager.cs: Update function name.
  199. * Form.cs: After closing a form MdiParent is always null.
  200. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  201. better what it should do: necessary book-keeping when the form is
  202. closed, it should not close the form itself.
  203. 2007-03-19 Andreia Gaita <[email protected]>
  204. * ListViewItem.cs: Fix back and fore color. The subitems only
  205. use their own colors if they are set, otherwise use the listview's
  206. colors. Don't set default colors on constructor for subitem.
  207. Fixes #79315.
  208. 2007-03-19 Mike Kestner <[email protected]>
  209. * ListView.cs : make box selection for Details views with
  210. FullRowSelect conform to MS behavior when clicking in the "item"
  211. column and clicking outside the defined columns.
  212. [Fixes case 5-6 of #80374]
  213. 2007-03-19 Chris Toshok <[email protected]>
  214. * ScrollableControl.cs: create the controls from within the ctor,
  215. but don't actually add them until our handle is created. this
  216. fixes a NRE possibility jpobst found (if you override OnLayout in
  217. a subclass, it's called before your ctor). Also, add a
  218. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  219. 2007-03-19 Jackson Harper <[email protected]>
  220. * TextBox.cs: Reduce the amount of invalidation we do.
  221. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  222. some of them are true by default on MS.
  223. - Add some functions to reduce the amount of invalidates we do.
  224. * TextControl.cs: Less invalidation.
  225. 2007-03-19 Chris Toshok <[email protected]>
  226. [ Fixes #81773, and *seems* to fix #81553 as well ]
  227. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  228. AccumulateDestroyedHandles. We need to do it *after* we send
  229. WM_DESTROY, as the user's code can access Control.Handle in
  230. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  231. move the WM_DESTROY/zombie handling to before the call to
  232. XDestroyWindow. For some reason without this ordering
  233. FormTest.RecreateHandle hangs. This ordering is semantically
  234. equivalent, however, as XDestroyWindow is async anyway.
  235. 2007-03-19 Gert Driesen <[email protected]>
  236. * RichTextBox.cs: Reset backcolor_set after setting default.
  237. 2007-03-19 Chris Toshok <[email protected]>
  238. * ScrollableControl.cs: the scroll position should not effect the
  239. canvas size. commit patch from [email protected], which
  240. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  241. 2007-03-19 Chris Toshok <[email protected]>
  242. * ScrollableControl.cs: clean this up a bit. create the
  243. scrollbars in the ctor and just show/hide them as needed. Also,
  244. make hscroll_visible/vscroll_visible internal to Recalculate, and
  245. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  246. everywhere else. This seems to fix the scrollbars appearing
  247. beneath the content for me (i have *no* idea why that is,
  248. however.)
  249. 2007-03-19 Jonathan Pobst <[email protected]>
  250. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  251. some redundacy for stuff in Anchor and Dock that base will take care of.
  252. [Fixes #80762]
  253. 2007-03-19 Mike Kestner <[email protected]>
  254. * ListView.cs : make box selection for Details views without
  255. FullRowSelect dependent on the text bounds, not item bounds.
  256. * ListViewItem.cs : add an internal property to obtain the TextBounds
  257. in Details view. [Fixes case 1-4 of #80374]
  258. 2007-03-19 Andreia Gaita <[email protected]>
  259. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  260. we're < 2.0. #78448 && #80316
  261. 2007-03-19 Jonathan Pobst <[email protected]>
  262. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  263. have the same style available as the previously selected one. Also,
  264. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  265. 2007-03-19 Jackson Harper <[email protected]>
  266. * TextControl.cs: Add an alignment property that all new lines
  267. will be given.
  268. - Make sure to use the align shift when calculating the line's X
  269. position.
  270. * TextBox.cs: Set the alignment on the document as well as on all
  271. the document lines.
  272. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  273. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  274. throw if setting the parent of an mdichild that already has an
  275. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  276. AssemblyProductAttribute in the assembly, use the type's namespace (as
  277. MS seems to do). CreateControl: don't create the handle if the control
  278. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  279. create handle if the control is not a form. Change FocusInternal to
  280. virtual so that it can be overriden by Form.
  281. * TextBox.cs: Update call to FocusInternal.
  282. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  283. form is not a toplevel form when it's a mdi child, so update is_toplevel
  284. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  285. hasn't been created. Show (IWin32Window): Don't allow this overload for
  286. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  287. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  288. parent isn't visible yet, save the visibility and restore it when the
  289. parent is made visible.
  290. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  291. methods, since the visibility of the scrollbars can be changed from
  292. several places, not only from AutoScroll.
  293. [Fixes #81179]
  294. 2007-03-19 Jackson Harper <[email protected]>
  295. * RichTextBox.cs: Enable shortcuts by default.
  296. * TextBoxBase.cs: Add conditional shortcuts.
  297. 2007-03-19 Everaldo Canuto <[email protected]>
  298. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  299. 2007-03-19 Chris Toshok <[email protected]>
  300. [ Fixes bug #80604]
  301. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  302. swallow the message we're waiting on, instead of delivering it, as
  303. this is only used for the WM_SHOWWINDOW raised from
  304. MapWindow/UnmapWindow, and the message needs to be generated
  305. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  306. before doing the Map/Unmap. Also make sure that the Hwnd is still
  307. alive after the message has been handled.
  308. *before* the window is shown.
  309. * Control.cs (CreateControl): guard a few more things inside the
  310. if (!is_created) block, as we might end up being called again -
  311. yay .net.
  312. (WmShowWindow): call CreateControl if we're showing the control.
  313. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  314. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  315. controls without a handle if they have any parent with a handle. In
  316. Dispose add a check whether the handle is created or not before
  317. calling BeginInvoke, this removes the need of the extra disposing
  318. parameter (which was bogus anyway since it didn't prevent the
  319. invoke from happening, it only skipped the check for an existing
  320. handle, meaning that the invoke would call on an inexistent
  321. handle).
  322. 2007-03-19 Everaldo Canuto <[email protected]>
  323. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  324. appears in taskbar.
  325. 2007-03-18 Everaldo Canuto <[email protected]>
  326. * MessageBox.cs:
  327. - Fixed a problem that dont show help button for messages with 3 buttons.
  328. - Refactory button size and position calculations, now dont use fixed
  329. values, also fixed button sizes (#80043) and form's border space.
  330. - AddButton method created, now all other AddButton methods call this one.
  331. - Some other source code cosmetic changes.
  332. 2007-03-18 Jackson Harper <[email protected]>
  333. * RichTextBox.cs: Don't do this all fonts must match check if
  334. there is only one char selected.
  335. 2007-03-18 Jackson Harper <[email protected]>
  336. * TreeView.cs: ScrollWindow works properly now, so we don't need
  337. to screw around with the scroll area. This fixes some artifacts
  338. when expanding and collapsing.
  339. 2007-03-18 Jackson Harper <[email protected]>
  340. * TextBoxBase.cs: Allow updating the selection position when the
  341. cursor is outside the textarea, but we have a capture.
  342. * TextControl.cs: A special case for when the cursor is outside
  343. the bounds of the TB.
  344. 2007-03-18 Jackson Harper <[email protected]>
  345. * TextBoxBase.cs: Remove image pasting code for now. There is no
  346. way to get an image on the clipboard right now anyways.
  347. * TextControl.cs:
  348. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  349. 2007-03-18 Everaldo Canuto <[email protected]>
  350. * MessageBox.cs:
  351. - Set window properties in constructor intead of on CreateParams.
  352. - Remove topmost from Window ExStyle.
  353. - Set ShowInTaskbar to false.
  354. - Set form border to FixedDialog.
  355. - Some cosmetic changes and remove unneeded comments.
  356. - It fixes itens 2,3 and 4 of bug #80043.
  357. 2007-03-18 Gert Driesen <[email protected]>
  358. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  359. none was explicitly set. Fixes part of bug #79949.
  360. 2007-03-16 George Giolfan <[email protected]>
  361. * ToolStripComboBox.cs: Add AutoComplete*.
  362. 2007-03-16 George Giolfan <[email protected]>
  363. * ToolStripComboBox.cs: Add FlatStyle.
  364. 2007-03-16 Jonathan Pobst <[email protected]>
  365. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  366. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  367. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  368. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  369. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  370. DataGridColumnStyle.cs: Remove warnings.
  371. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  372. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  373. it.
  374. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  375. visibility of mdi child forms. FormSizeChangedHandler: update the
  376. maximized size if size has changed while maximized.
  377. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  378. creating the handle.
  379. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  380. avoid creating the handle if not created.
  381. * XplatUI.cs: Update debug output.
  382. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  383. 2007-03-16 Jonathan Pobst <[email protected]>
  384. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  385. ProcessCmdKey().
  386. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  387. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  388. Implement keyboard shortcuts.
  389. 2007-03-15 Everaldo Canuto <[email protected]>
  390. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  391. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  392. ColorDialog and all derived classes.
  393. 2007-03-15 Everaldo Canuto <[email protected]>
  394. [ Fixes bug #79828 ]
  395. * ToolBar.cs:
  396. - Rename ToolBarButtonInfor to ToolBarItem.
  397. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  398. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  399. collection to be able add same button more than one time on a toolbar.
  400. - Refactory all properties and methods to use ToolBarItem.
  401. * ToolBarButton.cs:
  402. - Remove all propeties and methods that is now in ToolBarItem.
  403. - Rectangle propery now gets the rectangle from first ToolBarItem to
  404. mimic win32 behavior.
  405. - Size calculation and layout methods also removed.
  406. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  407. ToolBarItem instead of ToolBarButton to right drawing buttons when
  408. same button/separator was added more than one time to ToolBar.
  409. * ThemeNice.cs: Same as above.
  410. 2007-03-15 Andreia Gaita <[email protected]>
  411. * XplatUIX11.cs: Fire extra MouseMove events right after
  412. MouseDown and MouseUp, emulating win32's <censored> behaviour
  413. for apps that rely on it.
  414. 2007-03-15 Jackson Harper <[email protected]>
  415. * TextControl.cs:
  416. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  417. it is drawn on the controls client window and there is no NC
  418. area.
  419. - Set the background color to gray on 2.0 when we are readonly.
  420. 2007-03-15 Chris Toshok <[email protected]>
  421. [ Fixes bug #81144 ]
  422. * XplatUIX11.cs: implement VirtualScreen independently of
  423. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  424. property.
  425. 2007-03-15 Chris Toshok <[email protected]>
  426. * Hwnd.cs: add an internal field for the cached_window_state.
  427. * XplatUIX11.cs: cache the window state, invalidating the cache
  428. (and thus re-querying the X server) only when we see an update to
  429. the _NET_WM_STATE property.
  430. 2007-03-15 Chris Toshok <[email protected]>
  431. * BindingSource.cs: get a lot of the unit tests working.
  432. 2007-03-15 Jonathan Pobst <[email protected]>
  433. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  434. 0 instead of just bounds > 0. [Fixes bug #80912]
  435. 2007-03-15 Jonathan Pobst <[email protected]>
  436. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  437. and methods.
  438. 2007-03-15 Ivan N. Zlatev <[email protected]>
  439. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  440. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  441. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  442. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  443. 2007-03-15 Chris Toshok <[email protected]>
  444. [ Fixes #81101 ]
  445. * Control.cs: add Ivan's fix for 81101, with a slight modification
  446. - you can set control.Target to null.
  447. 2007-03-14 Jonathan Pobst <[email protected]>
  448. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  449. HideDropDown, use Hide instead to prevent an NRE.
  450. [Fixes bug #81147]
  451. 2007-03-14 Jackson Harper <[email protected]>
  452. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  453. to calculate the document before the handle is created, in some
  454. cases. (Actually just one case).
  455. 2007-03-14 Jackson Harper <[email protected]>
  456. * TextBoxBase.cs: Need to display the caret after letting the base
  457. wndproc handle the focus methods, because the caret display
  458. methods check the focus state.
  459. - Try to display the caret after updating it's position with SelectWord.
  460. - Don't need to do an immediate update on this recalc, since there
  461. will be an invalidate anyways.
  462. 2007-03-14 Jackson Harper <[email protected]>
  463. * TreeView.cs: Some workarounds so that we can match event order a
  464. little better.
  465. 2007-03-14 Gert Driesen <[email protected]>
  466. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  467. #80803. Avoid NullReferenceException when Control does not have
  468. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  469. event a single time. Only draw error icon when control is created and
  470. visible. Fixes failing unit tests.
  471. 2007-03-14 Andreia Gaita <[email protected]>
  472. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  473. Selecting events. Fire Leave and Enter events when changing tabs.
  474. 2007-03-14 George Giolfan <[email protected]>
  475. * TreeView.cs: Add TreeViewNodeSorter.
  476. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  477. 2007-03-14 Chris Toshok <[email protected]>
  478. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  479. removed earlier and I had him add back it. It turns out metacity
  480. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  481. just doesn't redraw the window titlebar until you resize the
  482. window. This also means we aren't recreating the entire window
  483. hierarchy on X when you change this property. And it looks better
  484. on windows, too.
  485. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  486. * ListViewItem.cs:
  487. * ListView.cs: Collecting selection information
  488. is now done in SelectedIndexCollection rather than in
  489. SelectedListViewItemCollection. This is done so we can
  490. have the selection information code in one single place
  491. (virtual mode selection information entirely depends on
  492. SelectedIndexCollection).
  493. 2007-03-13 Miguel de Icaza <[email protected]>
  494. * ErrorProvider.cs: Add stubs for ISupportInitialize
  495. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  496. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  497. in the right order with the right values, from the Checked property,
  498. just as MS does (instead of triggering them from ListView).
  499. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  500. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  501. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  502. the correct handler in OnItemCheck method (ItemCheckEventHandler
  503. instead of EventHandler). This used to throw an InvalidCastException.
  504. 2007-03-13 Jackson Harper <[email protected]>
  505. * TextBoxBase.cs: Calculate the document before the handle is
  506. created, so there isn't an extra invalidate called.
  507. 2007-03-13 Jonathan Pobst <[email protected]>
  508. * Form.cs: Don't set owner in ShowDialog until we are sure
  509. that we aren't going to throw an exception. [Fixes bug #80773]
  510. 2007-03-12 George Giolfan <[email protected]>
  511. * TreeView.cs: Make it compile.
  512. 2007-03-12 Jonathan Pobst <[email protected]>
  513. * Control.cs: Another place we don't call SizeFromClientSize.
  514. * Form.cs: Another place we don't call SizeFromClientSize.
  515. [Fixes bug #81125]
  516. 2007-03-12 Jackson Harper <[email protected]>
  517. * TreeView.cs: Basically emulating some strangness here with
  518. exanding nodes and setting node positions when windows aren't
  519. created.
  520. - Also attempting to walk the node tree less than previously, and
  521. just use visible order calculations for determining offsets.
  522. - oops made scrolling backwards.
  523. * TreeNode.cs: We need to start nodes with a zero visible order,
  524. because the order calcs are based on the first nodes order.
  525. 2007-03-12 Jonathan Pobst <[email protected]>
  526. * Form.cs: Don't exit the program if RecreateHandle is called on
  527. the main form.
  528. 2007-03-12 Chris Toshok <[email protected]>
  529. * XEventQueue.cs: remove the use of PostQuitState.
  530. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  531. WM_QUIT message in GetMessage, return false (and if we're in the
  532. nested WaitForHwndMessage, repost the WM_QUIT message).
  533. 2007-03-12 Jonathan Pobst <[email protected]>
  534. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  535. or the MaximizeBox properties. [Part of bug #80640]
  536. 2007-03-12 Everaldo Canuto <[email protected]>
  537. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  538. no links.
  539. 2007-03-12 Jonathan Pobst <[email protected]>
  540. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  541. instead of visible.
  542. 2007-03-12 Gert Driesen <[email protected]>
  543. * FileDialog.cs: Use text of File name combobox to determine what
  544. files the user selected. Added tokenizer to parse the file names.
  545. Fixes bug #81123.
  546. 2007-03-12 Jonathan Pobst <[email protected]>
  547. * Control.cs: We can't call SizeFromClientSize in the constructor,
  548. but we still need to do the same work, so make an internal version.
  549. [Fixes bug #80621]
  550. 2007-03-12 Jackson Harper <[email protected]>
  551. * TreeView.cs:
  552. * TreeNode.cs:
  553. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  554. IsExpanded.
  555. 2007-03-12 Jackson Harper <[email protected]>
  556. * TextBoxBase.cs: Now that the handles are being created a little
  557. later, we need to make sure that the document is recalculated when
  558. the handle is created.
  559. 2007-03-11 Everaldo Canuto <[email protected]>
  560. * Theme.cs: GetLinkFont abstract method added.
  561. * LinkLabel.cs:
  562. - Remove CalcTrimRectangle, no longer needed.
  563. - Factor also remove, position issues must be fixed in libgdiplus.
  564. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  565. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  566. care about font used to draw links.
  567. - Set TabStop to true when control is "Selectable", control is selectable
  568. when have one or more links. Fixes #80501 (test case is also added).
  569. - Set the LinkArea values after links change, LinkArea values must be
  570. based in first link position and size, a test case was created.
  571. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  572. the attribute must be true LinkArea.Length > 0. The same was applied to
  573. TabStop.
  574. * ThemeWin32Classic.cs:
  575. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  576. in draw method.
  577. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  578. color change.
  579. - Draw focus rectangle for every parts focused, including parts that
  580. is on another line, its because regions returns various rectangles
  581. and not only one. Needed to mimic W32 look.
  582. - Uses Graphics.Clip to delimite region painted, it mean that now
  583. complete text is passed to DrawString, with this we solve layout
  584. issues without create another text renderer.
  585. - Uses Region.Intersect to fix some flickers problems, now only needed
  586. parts will redrawed.
  587. - This changes fixes #79614 and some other unreported issues, on Linux
  588. some layout problems still remain, the problem is under
  589. MeasureCharacterRanges but it is an libgdiplus bug.
  590. 2007-03-10 Gert Driesen <[email protected]>
  591. * TextBox.cs: Set for foreground color.
  592. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  593. this is already done in Control.
  594. 2007-03-10 Jackson Harper <[email protected]>
  595. * TextBox.cs: Set the background color, but reset the
  596. backcolor_set flag which is just for the user setting the
  597. background color.
  598. 2007-03-09 Chris Toshok <[email protected]>
  599. * Control.cs: really remove the call to XplatUI.SetVisible from
  600. CreateHandle(), like I said I did when I merged the branch.
  601. * BindingSource.cs: implement some more of this stuff.
  602. 2007-03-09 Jackson Harper <[email protected]>
  603. * TextBox.cs: Don't explicitly set our background colors.
  604. * TextControl.cs:
  605. * TextBoxBase.cs: Draw readonly text.
  606. - Need to invalidate when backcolor or readonly are changed.
  607. 2007-03-09 Jackson Harper <[email protected]>
  608. * TextBoxBase.cs: Don't set the forecolor until the handle is
  609. created.
  610. - Do not raise OnPaint, and removed some old debug code.
  611. 2007-03-09 George Giolfan <[email protected]>
  612. * ScrollableControl.cs: Fix mouse wheel scrolling.
  613. 2007-03-09 Jonathan Pobst <[email protected]>
  614. * Control.cs: Wire up MouseDoubleClick event.
  615. 2007-03-09 Jonathan Pobst <[email protected]>
  616. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  617. top or bottom.
  618. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  619. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  620. item is added. This logic was moved to ToolStrip.OnItemAdded.
  621. [Fixes bug #81090]
  622. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  623. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  624. 2007-03-08 Jackson Harper <[email protected]>
  625. * TreeView.cs: Show the correct image for selected node (this used
  626. to work, not sure how the code got deleted). Also implemented 2.0 feature
  627. SelectedImageKey.
  628. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  629. * ListView.cs:
  630. * ListViewItem.cs: Cache index in items when retrieving them
  631. in VirtualMode.
  632. 2007-03-08 Jonathan Pobst <[email protected]>
  633. * ToolStripItem.cs: Don't return the explicit_size if we are using
  634. AutoSize. Fixes invalidation issue when user has explicitly set a
  635. size and has AutoSize = true.
  636. 2007-03-08 Jonathan Pobst <[email protected]>
  637. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  638. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  639. * DataGridView.cs: Remove event handler from DataView when a
  640. DataTable is used as DataSource.
  641. 2007-03-08 Jonathan Pobst <[email protected]>
  642. * Control.cs: Create internal setter for client_size to allow it to be
  643. set without triggering resizing code.
  644. * Form.cs: Calculate client_size in constructor, only change client_size
  645. in FormBorderStyle property if Handle has been created.
  646. [Fixes #80574, #80791]
  647. 2007-03-08 George Giolfan <[email protected]>
  648. * SystemInformation.cs: Add TerminalServerSession.
  649. 2007-03-07 Jonathan Pobst <[email protected]>
  650. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  651. TreeView code.
  652. 2007-03-07 Jonathan Pobst <[email protected]>
  653. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  654. Handle before we were supposed to. Now checks ActivateOnShow property
  655. in Control.
  656. * Control.cs: Add internal ActivateOnShow property.
  657. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  658. for ActivateOnShow.
  659. * Hwnd.cs Remove no longer needed no_activate field.
  660. 2007-03-07 Jackson Harper <[email protected]>
  661. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  662. 2.0 properties
  663. * DrawTreeNodeEventHandler.cs: Add
  664. * DrawTreeNodeEventArgs.cs: Correct default value.
  665. 2007-03-07 Chris Toshok <[email protected]>
  666. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  667. to be called before NativeWindow.WndProc. Put the HwndCreating
  668. magic there to hook up our Hwnd's to handles.
  669. 2007-03-07 Gert Driesen <[email protected]>
  670. * DataGridView.cs: Comment out debug code.
  671. 2007-03-07 Chris Toshok <[email protected]>
  672. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  673. to make the rest of the world happy]
  674. * Control.cs (CreateHandle): there's no need to call
  675. XplatUI.SetVisible here, it's effectively done by
  676. XplatUI.CreateWindow on X now, and always was on windows.
  677. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  678. shortcircuit out of the loop if we have a message loop running on
  679. this thread.
  680. [Changelog from merge]
  681. 2007-03-05 Chris Toshok <[email protected]>
  682. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  683. causes handle creation.
  684. 2007-02-28 Chris Toshok <[email protected]>
  685. * ApplicationContext.cs: Add a flag to make sure we only raise the
  686. ThreadExit event once (ExitThreadCore can be indirectly called
  687. from a few places.) I don't like the additional flag, but it
  688. makes the event ordering/count correct.
  689. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  690. without locking the collection. An enumerator doesn't give us any
  691. protection from modification anyway. Lock the thread hash and
  692. replace the complicated enumerator loop with a foreach.
  693. (Application.CloseForms): make internal so it can be called from
  694. ApplicationContext. This should probably be moved to MWFThread.
  695. (Application.ExitThread): don't call MWFThread.Current.Exit()
  696. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  697. when the runloop exits (in response to WM_QUIT.)
  698. (Application.RunLoop): add a comment (and check) for
  699. context.MainForm being null after setting context.MainForm.Visible
  700. = true. This is because you're perfectly free to dispose of a
  701. form in VisibilityChanged. Chalk this up to another case where we
  702. need to synchronously generate WM_ACTIVATE from Control.Show.
  703. Also, add handling for WM_QUIT here so we'll exit the loop.
  704. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  705. fact that we don't wait if we're only unmapping the whole_window
  706. makes me a bit nervous, but it doesn't seem to cause any problems
  707. yet.
  708. also, add a comment about the stupid, broken and wrong resetting
  709. of PostQuitState to false in GetMessage().
  710. In PostQuitMessage, we need to add a WM_QUIT message to the
  711. thread's queue. We use the FosterParent to get the right
  712. handle/hwnd/queue.
  713. Lastly, in SetVisible, we need to unmap both windows, since the
  714. waiting only happens when we're unmapping the client window. So
  715. now, the *only* time we unmap just the whole_window is in the hack
  716. for resizing a control to 0,0.
  717. 2007-02-21 Chris Toshok <[email protected]>
  718. * Application.cs (CloseForms): rewrite this so that we don't
  719. modify the list while we're traversing it.
  720. 2007-02-20 Chris Toshok <[email protected]>
  721. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  722. of OnHandleCreated.
  723. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  724. handle is created. otherwise we'll create it here.
  725. (VerticalScrollEvent): same here.
  726. * Application.cs (CloseForms): call Form.Dispose, don't post
  727. WM_CLOSE_INTERNAL.
  728. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  729. here. Application should Dispose() of the Form's.
  730. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  731. WM_DESTROY as well.
  732. (MapWindow,UnmapWindow): only actually do the waiting for
  733. SHOWWINDOW if the control we're dealing with is a Form.
  734. (CreateWindow): if the control isn't a form, SendMessage
  735. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  736. * Control.cs (SetVisibleCore): always use is_visible here, not
  737. value. If we use value, we can end up re-setting something
  738. visible if, for instance, you do Control.Hide() in a delegate
  739. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  740. 2007-02-20 Chris Toshok <[email protected]>
  741. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  742. the message we need. PeekMessage returning false should not be a
  743. condition under which we exit the loop.
  744. 2007-02-15 Chris Toshok <[email protected]>
  745. * Control.cs (Refresh): only refresh if we've got a handle and are
  746. visible.
  747. (CreateAccessibilityInstance): CreateControl() here.
  748. (UpdateChildrenZOrder): complicate the code loop even more by
  749. taking into account controls that haven't had their handle
  750. created, and those that aren't visible. But on the flip side,
  751. simplify the code by splitting it into two loops. one which
  752. builds up the list of child controls we're interested in, and the
  753. other that sets the z order of those children.
  754. 2007-02-14 Chris Toshok <[email protected]>
  755. * Control.cs: Control.AccessibilityObject causes the control to be
  756. created, not just the handle.
  757. 2007-02-14 Chris Toshok <[email protected]>
  758. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  759. problem on X where a window might have its handle created (and be
  760. visible) while the window is unmapped. calling XConfigureWindow
  761. on an unmapped window is bad, and generates X errors.
  762. 2007-02-13 Chris Toshok <[email protected]>
  763. * Control.cs (CreateHandle): don't loop over our children setting
  764. their parent here. do it when in WndProc when we're shown.
  765. (UpdateChildrenZOrder): make this internal so we can call it from
  766. ScrollableControl.
  767. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  768. creating its handle. Also, remove the calls to PerformLayout from
  769. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  770. OnVisibleChanged only seems to be called directly here for the
  771. toplevel control. It's propagated down the window hierarchy by
  772. calls to child.OnParentVisibleChanged.
  773. (OnVisibleChanged): don't do layout here - it's done (oddly
  774. enough, according to a glance at stack traces on ms.net..) in
  775. ScrollableControl.
  776. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  777. z order of our children before calling PerformLayout.
  778. 2007-02-12 Chris Toshok <[email protected]>
  779. [big change, fixes #80020]
  780. * AccessibleObject.cs: we need to make owner internal again to fix
  781. some of ControlAccessibleObject.
  782. * Control.cs: lots of changes here. add support for WM_CREATE,
  783. for which we generate OnHandleCreated. Remove the OnHandleCreated
  784. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  785. we create child controls. leave the MonoTODO's for the
  786. accessibility calls, but fix the exceptions so the tests pass.
  787. Add the InvalidOperationExceptions to Invoke methods, and remove a
  788. couple of InvokeInternal methods we aren't using.
  789. Also, add a couple of CreateHandle calls in places where we know
  790. the handles are being created but our code doesn't reference
  791. .Handle.
  792. Make SetVisibleCore call OnVisibleChange if the handle isn't
  793. created. If the handle is created, we rely on XplatUI.SetVisible
  794. generating the event synchronously.
  795. Lastly, make sure we don't use this.Handle inside CreateHandle,
  796. because we can call back into client (and that code can dispose of
  797. the control).
  798. * XplatUIStructs.cs: misc/cleanup.
  799. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  800. although we don't populate the wParam properly.
  801. (CreateWindow): generate WM_CREATE.
  802. (MapWindow,UnmapWindow): make these calls synchronous, at great
  803. performance expense (particularly in the unmap case), to match
  804. win32 behavior.
  805. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  806. to call it.
  807. (set_MdiParent): don't recreate the handle unless it's been
  808. created already.
  809. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  810. it's created.
  811. * NativeWindow.cs: this is probably the weirdest part of the
  812. patch. We need a way to link up the window being created to the
  813. WM_CREATE message. Since we can only be creating one window at a
  814. time on a given thread, we keep track of a per-thread reference so
  815. we can dispatch it properly. We also need to keep track of the
  816. Hwnd currently being created so that the win32 backend doesn't
  817. have problems.
  818. * XplatUIWin32.cs: a similar change to the one we made in
  819. NativeWindow.cs.
  820. 2007-03-07 Jonathan Pobst <[email protected]>
  821. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  822. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  823. to draw the menu shortcut string.
  824. 2007-03-07 Jackson Harper <[email protected]>
  825. * TreeNode.cs: Add the 2.0 collapse method.
  826. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  827. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  828. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  829. * DataGridView.cs: Change DataSource will clear column and row
  830. lists. Call Invalidate() to reflect DataSource change.
  831. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  832. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  833. and a new row is added to it.
  834. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  835. * DataGridView.cs: Add columns when DataSource is en empty list but
  836. is a System.Data.DataView (from a System.Data.DataTable).
  837. 2007-03-06 Andreia Gaita <[email protected]>
  838. * Label.cs: Implement AutoEllipsis (2.0)
  839. 2007-03-06 Jackson Harper <[email protected]>
  840. * TreeView.cs: Implement 2.0 TopNode setter property.
  841. - Use a local var instead of the skipped_nodes field for computing
  842. how many nodes to skip. Otherwise we won't scroll because the
  843. valuechanged handler checks if skipped_nodes is equal to the new
  844. value.
  845. - Implement 2.0 Sort method.
  846. - Add useless 2.0 DoubleBuffer property
  847. - Implement 2.0 LineColors property. Lets you change the color of
  848. the lines in the tree. Terribly useful for creating non cohesive
  849. desktops.
  850. - Implement 2.0 image key feature.
  851. 2007-03-06 Jackson Harper <[email protected]>
  852. * TreeView.cs: We can't get the bounds of the nodes before raising
  853. the AfterSelect event, because that event could change the node's
  854. bounds (scrolling, font change, etc).
  855. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  856. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  857. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  858. update window styles. In CreateParams us VisibleInternal instead of
  859. VIsible to get the actual visible flag set for this form.
  860. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  861. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  862. handle the case when the form is already maximized, in which case
  863. it should be restored. Fixes #81043.
  864. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  865. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  866. 2007-03-05 Jackson Harper <[email protected]>
  867. * TreeViewHitTestInfo.cs: implement.
  868. 2007-03-05 Jackson Harper <[email protected]>
  869. * InternalWindowManager.cs: class status fix.
  870. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  871. * InternalWindowManager.cs: All windows that have a parent
  872. are confined to their parent when they're being moved.
  873. Fixes #80822.
  874. 2007-03-04 Gert Driesen <[email protected]>
  875. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  876. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  877. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  878. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  879. buttons invisible before deciding which ones should be visible
  880. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  881. an unused variable.
  882. * InternalWindowManager.cs: Remove warning.
  883. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  884. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  885. to throw an InvalidOperationException is virtual mode is being used.
  886. 2007-03-02 Jonathan Pobst <[email protected]>
  887. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  888. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  889. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  890. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  891. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  892. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  893. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  894. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  895. driver.KeyboardDelay from XplatUI.KeyboardDelay
  896. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  897. (patch by Sergey Volk)
  898. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  899. * ToolWindowManager.cs: Added, contains logic for
  900. tool windows.
  901. * CreateParams.cs: Add a few helper methods and an
  902. internal variable to know which control the CreateParams belongs
  903. to.
  904. * Control.cs: Call Form.ChangingParent when the
  905. parent is about to be changed.
  906. * XplatUIX11.cs: DeriveStyles (): Set
  907. caption_height for all windows that have captions and are children.
  908. Update to use ToolWindowManager instead of InternalWindowManager
  909. for ToolWindows.
  910. * XplatUIWin32.cs: Set fake window styles for all
  911. windows that have window managers.
  912. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  913. now duplicated for mdi windows when they are
  914. maximized, first for the buttons the window itself has, then for
  915. the buttons that appear in the menu bar. Makes things a little
  916. easier). Updated UpdateWindowDecorations, SetWindowState and the
  917. mouse eventhandlers accordingly.
  918. * Form.cs: Add ChangingParent (), contains the
  919. logic of what should happen when the parent changes. In MdiParent
  920. don't set things that ChangingParent () is doing. When handling
  921. WM_CLOSE, we can close the form if there are any other modal forms
  922. and the current form is a descendent of the modal form.
  923. * InternalWindowManager.cs: A lot of refactoring,
  924. the title buttons are now extracted to a separate container class
  925. that takes care of all button code (clicks, tooltips, etc). Moved
  926. Iconic|Maximized|Normal Bounds properties to this class from
  927. MdiWindowManager, so that the window state logic can succeed for
  928. other than mdi wm's. Implemented general window state change logic.
  929. Moved CreateButtons to ThemeWin32Classic, since the theme might
  930. override which buttons are available when as well as the exact
  931. location.
  932. * FormWindowManager.cs: Added, contains logic for
  933. normal forms.
  934. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  935. which buttons go where (and if they are at all visible).
  936. Removed special handling of maximized windows, since they aren't special.
  937. In DrawManagedWindowDecorations don't try to draw the text if it is
  938. empty.
  939. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  940. use whatever the wm gives us.
  941. 2007-03-02 Jonathan Pobst <[email protected]>
  942. * ButtonBase.cs: Add 2.0 properties.
  943. * Button.cs: Override Draw for 2.0.
  944. * Control.cs: Add Entered and Selected properties.
  945. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  946. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  947. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  948. buttons.
  949. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  950. 2007-03-01 Jonathan Pobst <[email protected]>
  951. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  952. 2007-03-01 Jonathan Pobst <[email protected]>
  953. * XplatUIWin32.cs: Register a new class with Windows each time we get
  954. a new ClassStyle. [Fixes bugs #79432, #80817]
  955. * Controls.cs: Set the correct ClassStyle in CreateParams.
  956. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  957. 2007-03-01 Gert Driesen <[email protected]>
  958. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  959. ColumnReordered event must not be signaled when modifying DisplayIndex
  960. of a ColumnHeader. Added internal ReorderColumns method which takes
  961. care of drawing, and updating the internal DisplayIndex of the
  962. ColumnHeader. Added AddColumn method which is invoked from
  963. ColumnHeaderCollection when adding or inserting columns, and which
  964. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  965. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  966. Recalculated dispay indices after removing a ColumnHeader.
  967. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  968. match MS. Allows last display index to be returned after ListView
  969. is disposed. Update actual location of ColumnHeader when DisplayIndex
  970. is modified.
  971. 2007-03-01 Everaldo Canuto <[email protected]>
  972. * LinkLabel.cs: Improve CalcTrimRectangle.
  973. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  974. 2007-02-28 Everaldo Canuto <[email protected]>
  975. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  976. get rectangle as a result value.
  977. 2007-02-28 Everaldo Canuto <[email protected]>
  978. * LinkLabel.cs: Theres some diferences between rectangle return from
  979. MeasureCharacterRanges and the area used for DrawString to fix this
  980. CalcMeasurementFactor method was created, it calcules the diferences
  981. to be use later to adjust rectangle in draw operations. Fixes #80473.
  982. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  983. to adjust draw rectangle.
  984. 2007-02-27 Everaldo Canuto <[email protected]>
  985. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  986. text and some other changes to reduce and optimize source code.
  987. 2007-02-27 Jonathan Pobst <[email protected]>
  988. * RadioButton.cs: Implement 2.0 event.
  989. * RelatedImageListAttribute.cs: Implement new class.
  990. 2007-02-27 Everaldo Canuto <[email protected]>
  991. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  992. 2007-02-27 Jonathan Pobst <[email protected]>
  993. * CheckBox.cs: Implement 2.0 functionality.
  994. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  995. * ListView.cs: Refactor Add and AddRange methods of
  996. ListViewItemCollection, to not update the ListView
  997. everytime an item is added in AddRange. Also move the update
  998. code to a new CollectionChanged method, and call it
  999. from other methods that need it as well (this should also fix some
  1000. bugs when Sorting is used).
  1001. 2007-02-27 Jackson Harper <[email protected]>
  1002. * TextControl.cs: Try to never let the caret stay in a non-text
  1003. tag.
  1004. * TextBoxBase.cs: Update the caret.
  1005. 2007-02-26 Jonathan Pobst <[email protected]>
  1006. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  1007. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  1008. delete POINT structure, duplicate of one in XplatUIStructs.
  1009. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  1010. 2007-02-26 Gert Driesen <[email protected]>
  1011. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  1012. edit box since otherwise the Label would immediately be set (even if
  1013. the user did not modify the label). In OnKeyDown set Handled to true
  1014. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  1015. columns that are to be removed. In ListViewItemCollection unlink items
  1016. that are to be removed.
  1017. 2007-02-24 Jonathan Pobst <[email protected]>
  1018. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  1019. it when we are done. [Fixes bug #80949]
  1020. 2007-02-23 Jonathan Pobst <[email protected]>
  1021. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  1022. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1023. * ListView.cs: I forgot to commit the changes for ListView
  1024. in my previous patch.
  1025. 2007-02-23 Jonathan Pobst <[email protected]>
  1026. * Clipboard.cs: Partially implement an overload of SetDataObject.
  1027. * Form.cs: Implement ShowWithoutActivation.
  1028. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  1029. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1030. This is a first set of changes to make the Virtual mode works,
  1031. by avoiding the retrieval of ListViewItem instances until
  1032. draw time.
  1033. * ListView.cs: Store item position in the ListView instead of the
  1034. ListViewItem, this way we don't request the Bounds property of
  1035. ListViewItem inside the ListView calculations, as well as cache the item
  1036. size in item_size field. Store indexes instead of ListViewItem
  1037. instances in the matrix used by icon view. Add a ItemMatrixLocation
  1038. struct to hold the row and col info of the matrix info.
  1039. * ListViewItem.cs: Don't store the location anymore, and only cache
  1040. the rectangles for GetBounds. Use the ListView.GetItemLocation
  1041. method to retrieve the actual location.
  1042. 2007-02-23 Jonathan Pobst <[email protected]>
  1043. * TextRenderer.cs: Add clipping support, thanks to George.
  1044. [Fixes bug #80949]
  1045. 2007-02-23 Gert Driesen <[email protected]>
  1046. * ListViewItem.cs: Cancel label edit when item is removed from
  1047. ListView.
  1048. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  1049. event before the edit textbox is displayed. Added CancelEdit method
  1050. which is used end to editing while ignoring the value set by the
  1051. user. In EndEdit, set focus to ListView to avoid losing focus to
  1052. other controls. In ListViewItemCollection.Clear, cancel editing of
  1053. any of the items. In Remove, cancel editing of item being removed.
  1054. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  1055. 2007-02-23 Gert Driesen <[email protected]>
  1056. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  1057. bug #80948.
  1058. 2007-02-23 Everaldo Canuto <[email protected]>
  1059. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  1060. compatible with non X11 systems. Fixes #80901.
  1061. 2007-02-23 Gert Driesen <[email protected]>
  1062. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  1063. whether the item should be unselected and reselect. We do no want this
  1064. when we're starting to edit the label. Do not fire the
  1065. SelectedIndexChanged event from ListView when its already been fired
  1066. by modifying ListViewItem.Selected. Fixes bug #80943.
  1067. 2007-02-23 Jonathan Pobst <[email protected]>
  1068. * TextRenderer.cs: Previos commit logic was backwards.
  1069. 2007-02-23 Jonathan Pobst <[email protected]>
  1070. * TextRenderer.cs: Don't add padding on MeasureText if we were
  1071. sent the NoPadding flag.
  1072. 2007-02-23 Everaldo Canuto <[email protected]>
  1073. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  1074. after DrawButton. To prevent image overlaps button borders SetClip and
  1075. ResetClip added before and after draw image. Fixes #79129.
  1076. 2007-02-23 Everaldo Canuto <[email protected]>
  1077. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  1078. window size, it fix problem when you run under win32 that theres
  1079. Size diferent than ClientSize. Also fix controls size and positions
  1080. to mimic Win32. Fixes #80837.
  1081. 2007-02-22 Everaldo Canuto <[email protected]>
  1082. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  1083. menu area to fix some problems for non X11 systems. Fixes #80613.
  1084. 2007-02-22 Jackson Harper <[email protected]>
  1085. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  1086. even if it doesn't have any children.
  1087. 2007-02-22 Jackson Harper <[email protected]>
  1088. * TreeView.cs: Calculate the top node 'on the fly', this
  1089. eliminates issues where you need to click on the tree before
  1090. scrolling it to get the top node computed correctly.
  1091. * TreeNodeCollection.cs: We don't need to mess with the top node
  1092. anymore.
  1093. 2007-02-22 Jackson Harper <[email protected]>
  1094. * DataGridViewRow.cs: Fix typo so height can actually be set.
  1095. Patch by Peter Grimm.
  1096. 2007-02-22 Gert Driesen <[email protected]>
  1097. * FileDialog.cs: Fixed support for renaming files and directories.
  1098. * ListView.cs: Do not lose focus when edit is canceled. Process
  1099. Escape as regular key (to prevent closing of dialogs).
  1100. 2007-02-22 Gert Driesen <[email protected]>
  1101. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  1102. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  1103. 2007-02-22 Gert Driesen <[email protected]>
  1104. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  1105. did not modify label.
  1106. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  1107. modified the text. Reset Label when user presses Escape in edit mode.
  1108. Move focus to ListView after having cancelled or finished editing the
  1109. label.
  1110. 2007-02-21 Gert Driesen <[email protected]>
  1111. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  1112. private. Clear textbox when Text is set to null and SelectedIndex is
  1113. already -1.
  1114. * FileDialog.cs: Removed unnecessary initializations. Removed
  1115. workarounds for ComboBox bugs that are now fixed. Modified
  1116. DefaultExt, InitialDirectory and Title property to change null to
  1117. zero-length string in getters. Avoid directly accessing fields.
  1118. 2007-02-20 Jackson Harper <[email protected]>
  1119. * TextControl.cs: Remove RecalAlignments call, that was some
  1120. debugging leftovers.
  1121. - Don't use the line indent when we shouldn't.
  1122. * RichTextBox.cs: Add support for paragraph left indents.
  1123. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  1124. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  1125. Seems like the class status pages doesn't catch params differences.
  1126. 2007-02-19 Gert Driesen <[email protected]>
  1127. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  1128. 2007-02-19 Gert Driesen <[email protected]>
  1129. * ComboBox.cs: Setting Text should have no effect if item text of
  1130. selected item exactly matches value. First lookup text using
  1131. case-sensitive comparison, and fallback to case-insensitive comparison.
  1132. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  1133. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  1134. paramname to match MS. Restart from first item if string is not found
  1135. after startIndex. Fixed paramname of ArgumentNullException that is
  1136. thrown for null value in ObjectCollection.Contains.
  1137. 2007-02-19 Everaldo Canuto <[email protected]>
  1138. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  1139. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1140. * ListControl.cs: In SelectedValue use value.Equals to compare for
  1141. equality instead of ==, otherwise it will fail for strings.
  1142. Fixes #80794.
  1143. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1144. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  1145. since the caret won't show up unless ShowSelection is true.
  1146. Fixes #80795.
  1147. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1148. * Application.cs: When disabling all forms but the main form, do not
  1149. disable any descendants of the main form (such as mdi children or
  1150. other parented forms). Fixes #80822 on Windows.
  1151. * Form.cs: If we have a parent, set the WS_CHILD style.
  1152. * Control.cs: Update the window styles if the control whose parent has
  1153. changed is a form (the WS_CHILD style has to be switched).
  1154. 2007-02-19 Everaldo Canuto <[email protected]>
  1155. * XplatUIStructs.cs: MsgUIState structure added.
  1156. 2007-02-18 Gert Driesen <[email protected]>
  1157. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  1158. profile, do not check filename(s) for illegal character if filename(s)
  1159. were set non-interactively but always check on 1.0 profile. Fixed NRE
  1160. in DefaultExt and only strip off first leading dot. Improve exception
  1161. message when invalid Filter is set. Do not ignore InitialDirectory if
  1162. it does no exist. Store specified Title, and if empty use default
  1163. title (depending on type of dialog). Added an internal DialogTitle
  1164. property for retrieving dialog title. Fixed logic of displayed dir to
  1165. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  1166. string as its buggy.
  1167. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  1168. FileName is a zero-length string (it can never be null). Override
  1169. DialogTitle property to set default title of dialog box.
  1170. * SaveFileDialog.cs: Override DialogTitle property to set default
  1171. title of dialog box.
  1172. 2007-02-18 Gert Driesen <[email protected]>
  1173. * FileDialog.cs: Modify default text of filename and filetype labels
  1174. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  1175. after we've updated the SelectedIndex. Fixes part of bug #80887.
  1176. * SaveFileDialog.cs: Set text of filetype label.
  1177. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  1178. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  1179. label field. Needed by latest Jackson's fixes for ListView.
  1180. 2007-02-16 Andreia Gaita <[email protected]>
  1181. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  1182. print preview images.
  1183. 2007-02-16 Jackson Harper <[email protected]>
  1184. * ListView.cs: Make AfterLabelEdit work correctly.
  1185. * FileDialog.cs: After changing the name of the folder, we have to
  1186. make sure that it is created, or that we pop up an error because
  1187. it already exists.
  1188. 2007-02-16 Jackson Harper <[email protected]>
  1189. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  1190. System.String are mapped to text.
  1191. - Handle dataobjects, getting all the possible formats out of them
  1192. - We dont need the drag event args before we give feedback. This
  1193. allows feedback cursors to be immediate before selections have
  1194. been converted.
  1195. 2007-02-16 Jackson Harper <[email protected]>
  1196. * TextBoxBase.cs: Modified the method for inserting images to
  1197. taking a line and position instead of tag and position.
  1198. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  1199. into the RTF file.
  1200. * TextControl.cs: Allow images to be inserted as the first tag of
  1201. a line.
  1202. - Fix some off by one issues when we assume the first tag is a
  1203. text tag, not an image tag.
  1204. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  1205. * ListView.cs: Set focus to ListView when ItemControl gets a
  1206. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  1207. Fixes part of #80467.
  1208. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  1209. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  1210. validate Text input (if null or empty string reset Value to default
  1211. value). Fixes #80830.
  1212. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  1213. * ListView.cs: Set owner as null for columns and items when
  1214. Dispose is invoked. Fixes #80607.
  1215. 2007-02-14 Jonathan Pobst <[email protected]>
  1216. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  1217. showing DropDowns, don't show a Grip when doing Flow layout.
  1218. [This fixes the toolbox in PDN 2.72.]
  1219. * ToolStripItem.cs: Add Anchor property and some internal properties to
  1220. reduces needed changes to FlowLayout.
  1221. * ToolStripOverflow.cs: Remove unused variable.
  1222. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  1223. use it in the layout calculations.
  1224. 2007-02-13 Everaldo Canuto <[email protected]>
  1225. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  1226. reported in #79640.
  1227. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  1228. size calculation.
  1229. 2007-02-13 Everaldo Canuto <[email protected]>
  1230. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  1231. MeasureString format, it can make button very large in some cases, it is
  1232. strange but is what win32 do.
  1233. 2007-02-13 Everaldo Canuto <[email protected]>
  1234. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  1235. size calculation.
  1236. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  1237. rendering, the value is based on MenuAccessKeysUnderlined.
  1238. 2007-02-13 Everaldo Canuto <[email protected]>
  1239. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  1240. for most themes.
  1241. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  1242. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  1243. and use MenuAccessKeysUnderlined instead.
  1244. 2007-02-13 Andreia Gaita <[email protected]>
  1245. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  1246. A selected control would not get a Focus call if:
  1247. - the default active control of the container is the same as
  1248. the one that was selected
  1249. - we are switching from one container to another
  1250. Under these conditions, the container being selected already has
  1251. an active_control, which is the same as the one being activated,
  1252. so set_ActiveControl would always return and not send the Focus
  1253. call. Fix to check if the currently active control of the container
  1254. is actually focused.
  1255. 2007-02-13 Jonathan Pobst <[email protected]>
  1256. * StatusStrip.cs: Implement the spring layout.
  1257. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  1258. always matches the host.
  1259. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  1260. and TextAfterImage.
  1261. 2007-02-13 Andreia Gaita <[email protected]>
  1262. * Control.cs: Code reorganization only.
  1263. - Reorganize the WndProc cases so that each case has it's own handling method,
  1264. to help with the no-line-numbering stack traces.
  1265. - Formatting changes (it's vstudio's fault, really :p)
  1266. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  1267. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  1268. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  1269. behaviour.
  1270. 2007-02-12 Jackson Harper <[email protected]>
  1271. * RichTextBox.cs:
  1272. * TextBox.cs: By default we have a non multiline document
  1273. - use the multiline property instead of the internal variable
  1274. * TextBoxBase.cs: Treat multiline and non multiline the same in
  1275. most places.
  1276. - Use the documents multiline flag instead of tracking it ourself
  1277. * TextControl.cs: Attempt at getting multiline to match MS
  1278. behavior. Lines now track an offset, which is either their X or Y
  1279. offset depending on whether or not we are in multiline mode.
  1280. - Update all the methods to understand that lines have an X value.
  1281. - Fix crash in Undo::Duplicate when empty lines are deleted.
  1282. 2007-02-12 Everaldo Canuto <[email protected]>
  1283. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  1284. code moved to properties PreferredHeight and PreferredWidth. It solve the
  1285. all problems when preferred sizes must be recalculated. Fixes #80801.
  1286. 2007-02-12 Everaldo Canuto <[email protected]>
  1287. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  1288. font height when compatible_text_rendering is false. Partially fix #80801.
  1289. 2007-02-09 Gert Driesen <[email protected]>
  1290. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  1291. 2007-02-09 Gert Driesen <[email protected]>
  1292. * Form.cs: Improved exception messages in ShowDialog.
  1293. 2007-02-09 Gert Driesen <[email protected]>
  1294. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  1295. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  1296. if not set. Fixes bug #80764. Avoid accessing current_settings field
  1297. directly.
  1298. 2007-02-08 Everaldo Canuto <[email protected]>
  1299. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  1300. false.
  1301. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  1302. public in 2.0 and for easy maintenance and dont break compatibility it is
  1303. internal in 1.1.
  1304. 2007-02-08 Jonathan Pobst <[email protected]>
  1305. * ToolStripItem.cs: Implement using images from ImageList.
  1306. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1307. * DateTimePicker.cs: Change default date-formatting culture from
  1308. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  1309. seems to be the way MS does it.
  1310. 2007-02-08 Andreia Gaita <[email protected]>
  1311. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  1312. (the 6 was cut off on the right side)
  1313. 2007-02-08 Jonathan Pobst <[email protected]>
  1314. * Form.cs: Tell MenuStrips to close when the form is clicked.
  1315. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  1316. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  1317. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  1318. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  1319. support for Overflow, where items that do not fit are automatically
  1320. reparented to a drop down menu.
  1321. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  1322. Also: fixes bug #80747.
  1323. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1324. * ComboBox.cs: Remove warning (unused code).
  1325. * ScrollableControl.cs: Remove warning for 1.1 profile.
  1326. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1327. * Form.cs: Remove a warning.
  1328. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1329. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  1330. 'g' specifier, not documented anywhere, but seems to always show up
  1331. as a single space (might have something to do with the DateTime 'g'
  1332. specifier, which is the era format, but since DateTimePicker can't
  1333. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  1334. won't crash if the format has an unmatched quote. Now shows
  1335. single-character formats correctly. Fixes #80744.
  1336. 2007-02-08 Jonathan Pobst <[email protected]>
  1337. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  1338. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  1339. 2007-02-07 Chris Toshok <[email protected]>
  1340. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  1341. background color. it overwrites the background image we've
  1342. already painted. Fixes #80599.
  1343. 2007-02-07 Chris Toshok <[email protected]>
  1344. * DataGrid.cs: return immediately from Edit() when there are no
  1345. columns. Fixes #80662.
  1346. 2007-02-07 Chris Toshok <[email protected]>
  1347. * MessageBox.cs: fix #80625. don't always show the Help button in
  1348. 2.0. use the displayHelpButton parameter to determine if we
  1349. should show it. Also, make the internal show_help field private.
  1350. 2007-02-07 Chris Toshok <[email protected]>
  1351. * Control.cs (SetVisibleCore): check in the proposed patch for
  1352. 80604, and set is_visible before calling CreateControl.
  1353. 2007-02-07 Jonathan Pobst <[email protected]>
  1354. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  1355. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  1356. on it.
  1357. 2007-02-06 Everaldo Canuto <[email protected]>
  1358. * MenuAPI.cs: hotkey_active internal field added, it is required because
  1359. we need to know when hotkeys must be draw, before this change a keystate
  1360. Navigating was used but we can have menu in navigating state without
  1361. hotkeys. Fixes #80694.
  1362. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  1363. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  1364. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  1365. corresponding events and methods to be internal for 1.1 profile and
  1366. public for 2.0 profile (required by SizeGrip).
  1367. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  1368. implicit control list). Don't set the size nor the location of the
  1369. SizeGrip anymore as it's not needed.
  1370. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  1371. draw directly on the captured control (fixes #80656). Removed
  1372. ShowGrip (it wasn't used anywhere), redraw (always true), added
  1373. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  1374. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  1375. be called from SizeGrip.
  1376. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  1377. * Timer.cs: Throw ArgumentException if Interval <= 0.
  1378. 2007-02-05 Jackson Harper <[email protected]>
  1379. * TreeView.cs: We need to check scrollbar visibility when window
  1380. visibility is updated, because non visible trees don't ever add
  1381. scrollbars.
  1382. * Cursor.cs: We want the override cursor to be reset to NULL when
  1383. we set current cursor to the default cursor.
  1384. 2007-02-05 Jackson Harper <[email protected]>
  1385. * TextControl.cs: Don't have crlfs when we are non multiline.
  1386. - Consolidate the line position.
  1387. 2007-02-05 Jackson Harper <[email protected]>
  1388. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  1389. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  1390. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  1391. handling LeaveNotify->NotifyUngrab in order to send
  1392. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  1393. after calling XUngrabPointer, so we call WindowUngrabbed directly
  1394. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  1395. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  1396. MouseCaptureChanged correctly. Also create handles if changing
  1397. Capture (matches MS behaviour).
  1398. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1399. * SizeGrip.cs: Make the last change 2.0 only.
  1400. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1401. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  1402. changes to initial size (fixes #80597).
  1403. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1404. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  1405. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1406. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  1407. background) and only allow dragging if enabled. This way the
  1408. sizegrip can be used to fill the open square that otherwise would
  1409. have been shown in the bottom right corner of ScrollableControl
  1410. when ScrollableControl is not suppose to support sizing.
  1411. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  1412. sizegrip is shown and enabled, and hook up with necessary events.
  1413. 2007-02-01 Chris Toshok <[email protected]>
  1414. * DataGridTextBoxColumn.cs: clean up the
  1415. GetFormattedString/GetColumnValueAtRow combination of functions.
  1416. Also fix UpdateUI, and the initial state of
  1417. IsInEditOrNavigateMode.
  1418. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  1419. aren't supposed to scroll the textbox here, we're supposed to
  1420. scroll the datagrid.
  1421. 2007-02-01 Chris Toshok <[email protected]>
  1422. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  1423. setting the position.
  1424. 2007-02-01 Chris Toshok <[email protected]>
  1425. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  1426. here, since the most recent focus fixes keep us from generating
  1427. the Leave event when our textbox gets focus.
  1428. (Edit): we should be passing null for the column style's
  1429. instantText parameter.
  1430. 2007-02-01 Jonathan Pobst <[email protected]>
  1431. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  1432. raised. Fixes menu text/icons not showing up in PDN.
  1433. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  1434. * Control.cs: Remove code in constructor that makes every
  1435. control with WS_CHILD set have initial location -1, -1.
  1436. 2007-01-31 Jackson Harper <[email protected]>
  1437. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  1438. XplatUIX11.
  1439. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  1440. 2007-01-31 Jackson Harper <[email protected]>
  1441. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  1442. - Remove some debug code.
  1443. 2007-01-31 Jackson Harper <[email protected]>
  1444. * XplatUIX11.cs: If you set the override cursor during a grab, it
  1445. should actually override the grab cursor. This comes into play
  1446. when you are setting custom cursors in a DND feedback method.
  1447. 2007-01-31 Jackson Harper <[email protected]>
  1448. * X11Dnd.cs: Add support for handling the QueryContinue and
  1449. GiveFeedback events.
  1450. - Cancel drag and drop actions when the escape key is clicked.
  1451. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  1452. can handle the ESCAPE key.
  1453. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  1454. done when dnd events are continued after the button is released.
  1455. - Add a new helper method so that dnd can translate key events.
  1456. 2007-01-31 Alexander Olk <[email protected]>
  1457. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  1458. make it more obvious what is happening.
  1459. 2007-01-30 Jackson Harper <[email protected]>
  1460. * XplatUIX11.cs: Don't break when handling button release in drag
  1461. and drop operations. We need that BUTTONUP message to get through
  1462. so capture is released.
  1463. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  1464. this is handled automatically when the mouse is down.
  1465. 2007-01-30 Jackson Harper <[email protected]>
  1466. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  1467. is closed, so we need to make sure that we aren't changing the
  1468. dialog result when the OK (Open or Save) button has been clicked
  1469. and we are closing the window ourselves. Note we don't need to
  1470. worry about the cache being written in this case, because it was
  1471. already done in the previous FilOk call.
  1472. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  1473. * DateTimePicker.cs: Remove a warning.
  1474. * ComboBox.cs: Remove a couple of warnings.
  1475. 2007-01-29 Chris Toshok <[email protected]>
  1476. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  1477. set one, if SetIcon is passed a null icon.
  1478. 2007-01-29 Andreia Gaita <[email protected]>
  1479. * TextBox.cs: Redraw when the password characters changes
  1480. * TextControl.cs: Check if textbox has a password char and draw
  1481. a line of password chars instead of the text in the line. LineTag gets
  1482. an extra Draw() method which allows document.Draw to override the text
  1483. that will be drawn. Removes 1024 char limitation on length of passworded
  1484. lines.
  1485. 2007-01-29 Jackson Harper <[email protected]>
  1486. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  1487. single chars is not.
  1488. 2007-01-28 Jonathan Pobst <[email protected]>
  1489. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  1490. one pixel. Fix a StackOverflowException caused by an overload wrongly
  1491. calling itself.
  1492. 2007-01-26 Everaldo Canuto <[email protected]>
  1493. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  1494. also remove ProcessArrowKey and put the code inside ProcessKeys.
  1495. 2007-01-26 Jonathan Pobst <[email protected]>
  1496. * PaddingConverter.cs: Added.
  1497. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  1498. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  1499. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  1500. of text (fixes #80601). For panels clip the text to draw to the
  1501. panel (fixes #80603).
  1502. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  1503. * ComboBox.cs: Fixed implementation of ResetText.
  1504. 2007-01-25 Jackson Harper <[email protected]>
  1505. * TextControl.cs: For the last char of a line we need to use the
  1506. line size, not that chars width, since it won't actually be
  1507. computed since the right side of a char is based on the start of
  1508. the left side of the next char, and the next char does not exist.
  1509. 2007-01-25 Chris Toshok <[email protected]>
  1510. * Splitter.cs: fix the new unit tests, and reindent some switch
  1511. statements.
  1512. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1513. * ComboBox.cs: Implemented 2.0 methods and events.
  1514. * TextBoxBase.cs: Added OnTextUpdate, so that
  1515. ComboBox.ComboTextBox can inform ComboBox of it.
  1516. 2007-01-25 Jackson Harper <[email protected]>
  1517. * TextControl.cs: Respect ShowSelection when deciding whether or
  1518. not to display the caret, this allows comboboxes to have carets
  1519. when the combotextbox does not have focus.
  1520. 2007-01-25 Jackson Harper <[email protected]>
  1521. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  1522. same as the Suspend/Resume for recalc, except this will do actual
  1523. Invalidates.
  1524. - New Undo manager, works much like the MS version.
  1525. - Implemented Redo
  1526. * TextBoxBase.cs: The Cut operation is undoable.
  1527. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1528. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  1529. on Windows (no difference on Linux).
  1530. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1531. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  1532. we don't want to activate any windows. Fixes #79433.
  1533. 2007-01-25 Jonathan Pobst <[email protected]>
  1534. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  1535. [Fixes bug #80609]
  1536. 2007-01-25 Alexander Olk <[email protected]>
  1537. * FileDialog.cs:
  1538. - Move to using System.ComponentModel.EventHandlerList
  1539. - Replace Refresh with Invalidate
  1540. - Clear the mime filecache on closing
  1541. - Some other memory reducing work. After beeing closed FD now uses
  1542. only about 300 KB for the fdo mime stuff plus the memory of the
  1543. cached icons.
  1544. * Mime.cs: Changed coding style and removed unnecessary commented
  1545. code. Some more memory memory reducing work.
  1546. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1547. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  1548. a few other missing 2.0 properties.
  1549. * Theme.cs: Added DrawFlatStyleComboBox.
  1550. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  1551. 2007-01-24 Chris Toshok <[email protected]>
  1552. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  1553. wake_waiting flag, not just when there's data to be read. if we
  1554. don't, then future wakeup's won't reach us and we'll be doomed to
  1555. wait for the entire 1 second timeout forever (unless there are X
  1556. events to be had).
  1557. 2007-01-24 Jonathan Pobst <[email protected]>
  1558. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  1559. until you pass Items.Count, not Items.Count - 1 like 1.1.
  1560. 2007-01-24 Gert Driesen <[email protected]>
  1561. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  1562. 2007-01-24 Jonathan Pobst <[email protected]>
  1563. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  1564. adding the panels in the wrong order.
  1565. 2007-01-24 Jackson Harper <[email protected]>
  1566. * TextBoxBase.cs: When we move the caret we also need to move the
  1567. selection, this fixes some random crashing after doing select
  1568. text, unselect, delete a char, paste.
  1569. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  1570. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  1571. 2007-01-23 Everaldo Canuto <[email protected]>
  1572. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  1573. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  1574. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  1575. 2007-01-23 Everaldo Canuto <[email protected]>
  1576. * ToolBar.cs:
  1577. - Implement support for vertical toolbars. Fixes #80539;
  1578. - Call LayoutToolBar when resize, it fix some other problems in layout.
  1579. - Rename requested_height to requested_size, as we can have width on it
  1580. when toolbar is vertical.
  1581. - Create a private property "Vertical" that uses Dock to verify when
  1582. toolbar is vertical or not.
  1583. - Set ControlStyles when change Dock property.
  1584. - Refactory in LayoutToolBar to have better variables names and to support
  1585. vertical toolbars.
  1586. - Fixes default value for ButtonSize when button count is equal zero, size
  1587. must be (39, 36) test case writed.
  1588. 2007-01-23 Chris Toshok <[email protected]>
  1589. * Control.cs: fix the checks so that they work correctly for mdi
  1590. parents/children.
  1591. 2007-01-23 Chris Toshok <[email protected]>
  1592. * Control.cs: ControlCollection seems to have super-secret
  1593. abstraction breaking knowledge of Mdi containers. allow MdiClient
  1594. to add toplevel controls.
  1595. 2007-01-23 Chris Toshok <[email protected]>
  1596. * Control.cs: throw an ArgumentException if a toplevel control is
  1597. added to our control collection from ControlCollection.Add, as
  1598. well as from ControlCollection.IList.Add. This fixes the
  1599. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  1600. Also, in ControlCollection.IList.Add, don't through an
  1601. ArgumentNullException, throw an ArgumentException, when value ==
  1602. null. This matches MS.
  1603. 2007-01-23 Chris Toshok <[email protected]>
  1604. * BindingSource.cs: initial, incomplete, implementation of
  1605. BindingSource.
  1606. 2007-01-23 Jackson Harper <[email protected]>
  1607. * TextControl.cs:
  1608. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  1609. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  1610. 2007-01-23 Everaldo Canuto <[email protected]>
  1611. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  1612. 2007-01-23 Andreia Gaita <[email protected]>
  1613. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  1614. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  1615. IndexOfKey() for 2.0
  1616. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  1617. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  1618. to prevent it from changing z-order.
  1619. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  1620. leave UI updates in MdiWindowManager.
  1621. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  1622. 1 sized (NC handling goes weird on Linux otherwise).
  1623. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  1624. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  1625. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  1626. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  1627. and SetWindowState(s) to allow for changing the size of an activated child
  1628. before activating it (reduces a lot of flicker).
  1629. 2007-01-22 Jonathan Pobst <[email protected]>
  1630. * Form.cs: Changing FormBorderStyle has different semantics based
  1631. on whether the Form is visible or not. If not visible, don't change
  1632. the Size. But InvalidateNC needs to be called to force the window
  1633. to pick up the changes and redraw itself. [Fixes bug #80574]
  1634. 2007-01-22 Jonathan Pobst <[email protected]>
  1635. [Moma work]
  1636. * ContainerControl.cs: ProcessCmdKey.
  1637. * ErrorProvider.cs: new constructor.
  1638. * Form.cs: fix AutoValidateEvent compiler warning.
  1639. * Label.cs: fix OnAutoSizeChanged compiler warning.
  1640. * MenuStrip.cs: fix CanOverflow compiler warning.
  1641. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  1642. * TextBox.cs: Dispose.
  1643. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  1644. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  1645. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  1646. * ToolStripItem.cs: Overflow, RightToLeft properties.
  1647. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  1648. * Form.cs: Move the layout of the main form to MdiWindowManager.
  1649. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  1650. do a layout of the main window to update MdiClient's client area to
  1651. the right area. Fixes #80533. Remove the calculation of nc size,
  1652. it was just wrong and the correct one is the same as for
  1653. InternalWindowManager.
  1654. 2007-01-20 Jonathan Pobst <[email protected]>
  1655. * Control.cs: Setting Anchor or Dock needs to reset the other
  1656. to its default. [Fixes bug #80556]
  1657. 2007-01-20 Chris Toshok <[email protected]>
  1658. * CheckedListBox.cs: class status changes.
  1659. * ScrollableControl.cs: same.
  1660. * RichTextBox.cs: same.
  1661. * ContainerControl.cs: same.
  1662. * ListView.cs: same.
  1663. * NotifyIcon.cs: same.
  1664. * MenuStrip.cs: same.
  1665. * RadioButton.cs: same.
  1666. * CheckBox.cs: same.
  1667. * PrintPreviewDialog.cs: same.
  1668. * Form.cs: same.
  1669. 2007-01-19 Jonathan Pobst <[email protected]>
  1670. * TreeNode.cs: Apply Alan's patch for Name property.
  1671. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  1672. * Form.cs: Implemented SizeGripStyle.
  1673. * SizeGrip.cs: Check for minimum and maximum size for the
  1674. control being resized and only resize if size has actually
  1675. changed.
  1676. 2007-01-19 Chris Toshok <[email protected]>
  1677. * DataGridColumnStyle.cs: stop setting _readonly in the
  1678. PropertyDescriptor setter. fixes a unit test failure.
  1679. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  1680. just consult our table style (if we have one). We don't need to
  1681. consult the datagrid readonly attribute because that's passed in
  1682. as the _ro arg to Edit. this simplifies things a little.
  1683. * DataGrid.cs: use CurrentColumn instead of
  1684. current_cell.ColumnNumber just to simplify some of the code.
  1685. switch the order of some things in the CurrentCell setter to keep
  1686. the previous cell from getting a textbox again -
  1687. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  1688. So we need to set the new cell before calling it.
  1689. call Edit in OnEnter, as does Microsoft.
  1690. also, make sure the current table style isn't the one we create
  1691. initially when checking to see if it's different than the one
  1692. we're setting it to in BindColumns (this fixes #80421).
  1693. * GridTableStylesCollection.cs: table styles can have "" for a
  1694. mapping name. part of the fix for #80421.
  1695. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  1696. Edit significantly.
  1697. 2007-01-18 Jonathan Pobst <[email protected]>
  1698. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  1699. and less GDI object leaky-er.
  1700. 2007-01-18 Andreia Gaita <[email protected]>
  1701. * LinkLabel.cs: Add opaque control style
  1702. 2007-01-18 Jackson Harper <[email protected]>
  1703. * TextControl.cs: Calculate width properly.
  1704. - Don't store the tag's X offset, this can be figured out very
  1705. easily.
  1706. - When getting the caret tag make sure to get the last empty tag.
  1707. 2007-01-18 Jonathan Pobst <[email protected]>
  1708. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  1709. [Fixes bug #79959]
  1710. * Control.cs: Color.Empty shouldn't count for previous transparent
  1711. redraw changes.
  1712. 2007-01-18 Jackson Harper <[email protected]>
  1713. * TextBox.cs:
  1714. * RichTextBox.cs:
  1715. * TextControl.cs: Starting to merge in some pieces of my older
  1716. undo work. Basically just some slight cleanup of the undo API.
  1717. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  1718. * TrackBar.cs: Fix signature of RightToLeftLayout.
  1719. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  1720. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  1721. * Application.cs: Implemented UseWaitCursor.
  1722. 2007-01-18 Jackson Harper <[email protected]>
  1723. * TextControl.cs: We can't skip tags if any part of the tag is
  1724. visible.
  1725. 2007-01-18 Jonathan Pobst <[email protected]>
  1726. * ContainerControl.cs: Override OnLayout.
  1727. 2007-01-18 Jonathan Pobst <[email protected]>
  1728. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  1729. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  1730. everything else.
  1731. 2007-01-18 Chris Toshok <[email protected]>
  1732. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  1733. (leftover from the container_selected days, I'd wager). fixes bug
  1734. #80546.
  1735. 2007-01-18 Jonathan Pobst <[email protected]>
  1736. * Control.cs: Apply patch from George to fix the new testcase on
  1737. bug #80451. We can't just check for Color.Transparent, we need
  1738. to check if the back color's alpha channel is < 255.
  1739. 2007-01-18 Jonathan Pobst <[email protected]>
  1740. * Form.cs: Move setting show_icon = true to before the constructor
  1741. so that the base constructor has that information when it calculates
  1742. the form's size. Was causing forms to be (6, 6) bigger than they
  1743. were supposed to be. Thanks for catching this Rolf!
  1744. 2007-01-18 Jackson Harper <[email protected]>
  1745. * TextControl.cs: When replacing a selection we need to invalidate
  1746. from the initial selection start, because selection start is moved
  1747. to the end of the replacement.
  1748. 2007-01-18 Andreia Gaita <[email protected]>
  1749. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  1750. 2007-01-18 Chris Toshok <[email protected]>
  1751. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  1752. I just added.
  1753. 2007-01-17 Everaldo Canuto <[email protected]>
  1754. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  1755. layout methods and properties from ToolBarButton must be available
  1756. into ToolBarButtonInfo.
  1757. 2007-01-17 Jonathan Pobst <[email protected]>
  1758. * Control.cs: If the control has a transparent background, we
  1759. need to refresh it when it moves and when it's parent's background
  1760. image changes. [Fixes bug #80451]
  1761. 2007-01-17 Jonathan Pobst <[email protected]>
  1762. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  1763. 2007-01-17 Jonathan Pobst <[email protected]>
  1764. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  1765. [Fixes bug #80447, and probably speeds up things as well]
  1766. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1767. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  1768. * XplatUIWin32.cs: We need to recalculate NC size after changing
  1769. window style to toolwindow (otherwise the client rectangle will be
  1770. 3 pixels to small for some reason).
  1771. * MdiWindowManager.cs: Revert NC size calculations to match how
  1772. they are calculated only based on window styles (to match
  1773. Win32AdjustWindowRectEx, since otherwise when setting size or
  1774. location, Control will call Win32AdjustWindowRectEx to update client
  1775. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  1776. calculate a different value of client size causing another paint
  1777. (and flickering))
  1778. * InternalWindowManager.cs: When moving or resizing a window only
  1779. update size or location if they actually changed.
  1780. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  1781. (seems to match Windows behaviour better). Cleaned up
  1782. ManagedWindowDecorations to draw what's needed and nothing else
  1783. (was drawing borders and lines where they shouldn't be)
  1784. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  1785. (style = 0xFFFF) and takes into account caption height when
  1786. calculating window rectangle.
  1787. 2007-01-16 Everaldo Canuto <[email protected]>
  1788. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  1789. can be added to toolbar multiple times, we need to maintain a list of
  1790. button information for each positions.
  1791. 2007-01-16 Everaldo Canuto <[email protected]>
  1792. * ToolBar.cs: Some small stetic changes.
  1793. 2007-01-16 Jackson Harper <[email protected]>
  1794. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  1795. that allow us to have nested recalc = false blocks.
  1796. - Add paste support for images in the RichTextBox
  1797. * RichTextBox.cs: flush the text after the color is changed, so
  1798. the change takes effect.
  1799. - Use SuspendRecalc
  1800. - Some extra debugging info
  1801. * TextControl.cs: Tags no longer track their length, it is just
  1802. computed from the next tags length, this makes things a little
  1803. simpler and reduces places that we have to track length changes.
  1804. - Refactored the linetag class a little so we could make it
  1805. a base class for different kinds of tags
  1806. - Created a image tag, a tag that can have a single image inserted
  1807. into it
  1808. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  1809. that we can call suspend multiple times.
  1810. - Add some debugging methods
  1811. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1812. * MdiClient.cs: Add ActivatePreviousChild for
  1813. mdi child window navigation.
  1814. * Form.cs: Use MdiClient.ActivateNextChild/
  1815. ActivatePreviousChild instead of Form.SelectNextControl
  1816. to select the next/previous child since
  1817. SelectNextControl doesn't do it in the same order
  1818. as mdi children should do it.
  1819. 2007-01-16 Chris Toshok <[email protected]>
  1820. * Control.cs: remove container_selected field.
  1821. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1822. * MdiClient.cs: Update main form's ActiveChild when
  1823. updating keyboard focus for the mdi child.
  1824. 2007-01-16 Jonathan Pobst <[email protected]>
  1825. * Control.cs: PreferredSize fix.
  1826. * Form.cs: Add several 2.0 events, properties, and methods.
  1827. 2007-01-16 Gert Driesen <[email protected]>
  1828. * Form.cs: Provide meaningful message when MdiParent is assigned a
  1829. Form that is not an MdiContainer.
  1830. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1831. * MdiClient.cs: Update main form's ActiveChild when
  1832. activating a mdi child.
  1833. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1834. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  1835. doesn't have a menu.
  1836. * Form.cs: Request NCRecalc after creating a mdi child window.
  1837. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  1838. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  1839. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  1840. sends keyboard focus to the active child, or to the MdiClient
  1841. if there are no child forms.
  1842. 2007-01-15 Chris Toshok <[email protected]>
  1843. * ListView.cs: drop the *Internal overrides, just do our work in
  1844. ItemControl's WndProc instead.
  1845. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  1846. of the various controls, and forward the events properly (in the
  1847. same manner as MS) from the textbox to the UpDown. Also the
  1848. ActiveControl of the UpDownBase gets set properly now. Finally,
  1849. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  1850. * NumericUpDown.cs: set Text in the ctor.
  1851. * DomainUpDown.cs: call UpdateEditText in the ctor.
  1852. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  1853. so even a Selectable = false textbox can be focused if you click
  1854. in it. Go figure.
  1855. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  1856. just add their handling in their respective WndProc's. Also add
  1857. an explicit FocusInternal method that doesn't consult CanFocus
  1858. before calling Select(this).
  1859. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  1860. do our work in WndProc instead.
  1861. * TabControl.cs: same.
  1862. * ComboBox.cs: same.
  1863. 2007-01-15 Everaldo Canuto <[email protected]>
  1864. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  1865. Fixes #80006.
  1866. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  1867. * ListViewItem.cs:
  1868. * ThemeWin32Classic.cs: Don't draw the item text outside
  1869. item bounds in Details view, as well as use trimming.
  1870. Fixes bug #80376.
  1871. 2007-01-15 Jonathan Pobst <[email protected]>
  1872. * Form.cs: Implement Form.ShowIcon.
  1873. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  1874. null, which when combined with the DlgModalFrame window style removes
  1875. the icon from the title bar.
  1876. 2007-01-15 Jonathan Pobst <[email protected]>
  1877. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  1878. 2007-01-15 Everaldo Canuto <[email protected]>
  1879. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  1880. menu when mdi child windows theres a menu, uses insert to get icon
  1881. at first position. Partially fix #80006.
  1882. 2007-01-15 Jonathan Pobst <[email protected]>
  1883. * Clipboard.cs: Implement 2.0 methods.
  1884. 2007-01-15 Everaldo Canuto <[email protected]>
  1885. * Menu.cs: Implement Insert method of MenuItemCollection class
  1886. to fix MenuMerge.
  1887. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  1888. * ListView.cs: Implement 2.0 FindItemWithText method.
  1889. 2007-01-11 Everaldo Canuto <[email protected]>
  1890. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  1891. to calculate menu bar size. Fixes #80290.
  1892. 2007-01-11 Everaldo Canuto <[email protected]>
  1893. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  1894. 2007-01-11 Chris Toshok <[email protected]>
  1895. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  1896. initial form.
  1897. 2007-01-11 Chris Toshok <[email protected]>
  1898. * LinkLabel.cs: make sure to call base.Select in our Select method
  1899. if it turns out we're going to be selected (i.e. if we have a link
  1900. that is going to receive focus). That way our container's
  1901. ActiveControl is updated properly.
  1902. 2007-01-11 Chris Toshok <[email protected]>
  1903. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  1904. they have 1 or more links. this fixes the crash gert reported.
  1905. 2007-01-11 Andreia Gaita <[email protected]>
  1906. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  1907. anymore.
  1908. * Control.cs (Controls.Add): Check if control to be added to the collection
  1909. is a top level control, and throw an ArgumentException if it is.
  1910. Remove ContainerSelectedFlag, not needed anymore.
  1911. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  1912. top most control doesn't activate the form. This fixes a problem in the
  1913. MessageBox, where the default button wouldn't get focus because the form
  1914. was activated before being Loaded - when the Owner is set, SetTopMost is
  1915. called, and it would activate it.
  1916. 2007-01-11 Jonathan Pobst <[email protected]>
  1917. * Button.cs: When clicked and setting the parent form's DialogResult,
  1918. use FindForm instead of Parent, since parent could be a container
  1919. control and not the Form. Fixes bug #80495.
  1920. 2007-01-10 Chris Toshok <[email protected]>
  1921. * Form.cs: move the call to SendControlFocus into the same
  1922. is_loaded check.
  1923. 2007-01-10 Chris Toshok <[email protected]>
  1924. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  1925. It breaks in the face of the new ActiveControl stuff, and should
  1926. be unnecessary.
  1927. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  1928. activecontrol's focus if it's not already set, after we set
  1929. ActiveControl, but before we call OnActivated. Re-fixes #79667
  1930. after the previous focus/active control fixes regressed it.
  1931. * Control.cs: reindent some code.
  1932. 2007-01-10 Chris Toshok <[email protected]>
  1933. * Splitter.cs: clearing some outstanding changes from my tree.
  1934. Replace all accesses (not writes) to the internal dock_style field
  1935. with the Dock property.
  1936. 2007-01-10 Chris Toshok <[email protected]>
  1937. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  1938. FireValidated virtual.
  1939. * Form.cs: override and don't chain up calls to FireEnter and
  1940. FireLeave.
  1941. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  1942. * ListView.cs: Add more text padding space when using
  1943. auto resize for columns (the previous value didn't work fine).
  1944. * ThemeWin32Classic.cs: Update text position inside columns,
  1945. to match the appeareance of .Net.
  1946. * ColumnHeader.cs: When using auto resize, only the Width should
  1947. depend on the sub items, not the Height. Also, set width after
  1948. auto resizing (the value of Width should never remain as -1 or -2).
  1949. 2007-01-10 Chris Toshok <[email protected]>
  1950. * Application.cs: fix compilation errors when debug is enabled.
  1951. 2007-01-10 Chris Toshok <[email protected]>
  1952. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  1953. add some nice ascii art pictures and explanation of the process).
  1954. (GetMostDeeplyNestedActiveControl): new utility function we need
  1955. because our ActiveControl can refer to a child container with its
  1956. own ActiveControl.
  1957. * Form.cs (OnActivated): remove the call to SelectActiveControl
  1958. from here, since you can override this method and not chain up,
  1959. and winforms still sets the active control.
  1960. (OnCreateControl): also remove the unnecessary SelectActiveControl
  1961. call from here.
  1962. (WndProc): it's actually called from the WM_ACTIVATE block, just
  1963. before calling OnActivated.
  1964. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  1965. inside the else. the ActiveControl setter will end up setting
  1966. focus on @control. This keeps us from setting it again (and
  1967. generating an extra LostFocus/GotFocus pair).
  1968. (Select (bool, bool)): reindent.
  1969. 2007-01-10 Jonathan Pobst <[email protected]>
  1970. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  1971. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  1972. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  1973. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  1974. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  1975. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  1976. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  1977. ToolStripTextBox.cs: Another wave of corcompare work.
  1978. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1979. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  1980. the Width property.
  1981. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  1982. methods by callling Column.AutoResize method on columns.
  1983. 2007-01-09 Jonathan Pobst <[email protected]>
  1984. * Control.cs: Provide proper implementations of PreferredSize
  1985. and GetPreferredSize (2.0).
  1986. 2007-01-09 Jonathan Pobst <[email protected]>
  1987. * Form.cs: Remove one character (!) to make my previous OnClosing
  1988. stuff work for modal windows like MessageBox.
  1989. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1990. * ListView.cs:
  1991. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  1992. ListView.Columns to get the last displayed column. Fixes #80452.
  1993. 2007-01-09 Everaldo Canuto <[email protected]>
  1994. * Label.cs, LinkLabel.cs: Source code identation fixes.
  1995. 2007-01-08 Everaldo Canuto <[email protected]>
  1996. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  1997. we dont need to invalidate only borders because when we invalidate four
  1998. border lines the invalidate's generates a complete redraw of button,
  1999. because it now invalidate a complete rect some other redraws operations
  2000. are fixed. Fixes #80196.
  2001. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  2002. Remove ToolBarInvalidateEntireButton as it is not used.
  2003. 2007-01-08 Jonathan Pobst <[email protected]>
  2004. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  2005. called for 2.0 profile.
  2006. * CloseReason.cs: Make class internal for 1.1.
  2007. 2007-01-08 Jonathan Pobst <[email protected]>
  2008. * ToolStripManager.cs: Implement FindToolStrip functionality.
  2009. * ToolStrip.cs: Register and unregister with ToolStripManager.
  2010. 2007-01-07 Jonathan Pobst <[email protected]>
  2011. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  2012. to ArrangedElementCollection. Implemented this with as few #if's as
  2013. possible (which is still too many).
  2014. 2007-01-07 Jonathan Pobst <[email protected]>
  2015. * Control.cs: Implement SizeFromClientSize() [2.0].
  2016. 2007-01-07 Everaldo Canuto <[email protected]>
  2017. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  2018. use Theme.BorderSize to calculate area instead of static value 1,
  2019. by the way use new BorderStaticSize instead Border3DSize when
  2020. border_static is true. Fixes #79537.
  2021. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  2022. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  2023. it is not needed.
  2024. 2007-01-06 Everaldo Canuto <[email protected]>
  2025. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  2026. 2007-01-06 Everaldo Canuto <[email protected]>
  2027. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  2028. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  2029. * Hwnd.cs:
  2030. - border_static field added, it will used to define when a control
  2031. theres 3D border but it must be static (thin).
  2032. - In GetWindowRectangle use Theme.BorderSize to calculate area
  2033. instead of static value 1, by the way use new BorderStaticSize instead
  2034. Border3DSize when border_static is true.
  2035. * XplatUIX11.cs, XplatUIOSX.cs:
  2036. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  2037. * Theme.cs: BorderStaticSize field added.
  2038. 2007-01-05 Everaldo Canuto <[email protected]>
  2039. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  2040. 2007-01-05 Everaldo Canuto <[email protected]>
  2041. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  2042. mimic same behavior than win32 that set border only in CreateParams,
  2043. it fix problems under CreateParams overrides. Fix #79442 and partial
  2044. fix #79537.
  2045. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  2046. of thi control you must call recreate handle.
  2047. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  2048. need to do anything as RecreateHangle will take care about borders.
  2049. 2007-01-05 Mike Kestner <[email protected]>
  2050. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  2051. cycles between the ItemControl and parent. Fixes #80388.
  2052. 2007-01-05 Gert Driesen <[email protected]>
  2053. * Control.cs: Lazy init layout engine. Do not directly use
  2054. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  2055. 2007-01-05 Chris Toshok <[email protected]>
  2056. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  2057. unless our list manager has changed (i.e. unless we have reason to
  2058. believe our columns have changed). Fixes #80422.
  2059. also, disable the call do BindColumns in
  2060. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  2061. 1.1 the event isn't raised in response to a column addition on a
  2062. table.)
  2063. 2007-01-05 Jonathan Pobst <[email protected]>
  2064. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  2065. that inheritors can not call it if they choose. Fixes bug #80456.
  2066. 2007-01-05 Andreia Gaita <[email protected]>
  2067. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  2068. doesn't blow up with a null exception on marshalling.
  2069. 2007-01-05 Jonathan Pobst <[email protected]>
  2070. * Control.cs: Implement several 2.0 protected properties and methods.
  2071. Ensure that all necessary events are being called when properties
  2072. are set.
  2073. 2007-01-05 Mike Kestner <[email protected]>
  2074. * ListView.cs: implement PgUp/PgDn for Details view. Also
  2075. fixes First/LastVisibleIndex to use the item_control.ClientRect
  2076. instead of the parent control. Fixes #80378.
  2077. 2006-01-05 Atsushi Enomoto <[email protected]>
  2078. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  2079. determine whether to use yard-pound or not (bug #78399).
  2080. 2006-01-04 Alexander Olk <[email protected]>
  2081. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  2082. problems. So it is time to bring back the old popupbutton colors.
  2083. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  2084. * ColumnHeader.cs:
  2085. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  2086. property by using the internal information of the
  2087. columns order in ListView.
  2088. 2007-01-04 Jonathan Pobst <[email protected]>
  2089. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  2090. Add 2.0 Tag properties.
  2091. * LinkArea.cs: Add 2.0 ToString method.
  2092. 2007-01-03 Chris Toshok <[email protected]>
  2093. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  2094. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  2095. when we're editing, which fixes #80047.
  2096. 2007-01-03 Chris Toshok <[email protected]>
  2097. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  2098. #80404.
  2099. 2007-01-03 Jonathan Pobst <[email protected]>
  2100. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  2101. property and implementation.
  2102. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  2103. for MdiWindowListItem property.
  2104. * ToolStripDropDown.cs: Don't consider hidden menu items while
  2105. laying out the menu.
  2106. 2007-01-03 Andreia Gaita <[email protected]>
  2107. * SendKeys.cs: window handle is not needed in win32, so just
  2108. get the active window for X after parsing keys and don't use
  2109. it when building the message; it is passed by parameter to the
  2110. Xplat method and used there to build the message instead. Also,
  2111. wait for events to be processed on SendWait, as opposed to Send,
  2112. which doesn't wait :) Playing with threads and Send() completely
  2113. hangs on ms.net, only SendWait() works.
  2114. XplatUIX11.cs
  2115. X11Display.cs: Check for valid window handle.
  2116. 2007-01-03 Jackson Harper <[email protected]>
  2117. * TextControl.cs: Need to prevent wrap calculations when replacing
  2118. text (this was there before i removed it accidently).
  2119. - Don't update the cursor during the positioning, just set it to
  2120. selection_start at the end of the operaion.
  2121. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2122. * Control.cs:
  2123. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  2124. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2125. * MonthCalendar.cs: Added Click and DoubleClick events again,
  2126. but this time they only hide Control's Click and DoubleClick.
  2127. 2007-01-03 Gert Driesen <[email protected]>
  2128. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  2129. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  2130. 2007-01-02 Jackson Harper <[email protected]>
  2131. * TextBoxBase.cs: We move the caret with the split now, so we
  2132. don't need to explicitly move the caret after splitting. This
  2133. fixes the caret bumping down an extra line on Enter.
  2134. 2007-01-02 Miguel de Icaza <[email protected]>
  2135. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  2136. 2.72).
  2137. * ScrollableControl.cs: Add Scroll event.
  2138. 2007-01-02 Mike Kestner <[email protected]>
  2139. * ListView.cs: one more try with help from [email protected]
  2140. to fix all hdr height padding codepaths. Fixes #80207.
  2141. 2007-01-02 Chris Toshok <[email protected]>
  2142. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  2143. setting it to the Control defaults anyway, and it being after the
  2144. Dock set was screwing up layout.
  2145. (set_Dock): don't short circuit out of setting base.Dock. Also,
  2146. no need to call UpdateStatusBar here, as it'll be re-layed out if
  2147. it needs to be.
  2148. 2007-01-02 Mike Kestner <[email protected]>
  2149. * ListView.cs: patch from [email protected] to add padding
  2150. to header height for width == -1. Fixes the rest of #80207.
  2151. 2007-01-02 Mike Kestner <[email protected]>
  2152. * ListView.cs: rework the mouse event forwarding everaldo added
  2153. to translate the coordinates to the parent control not
  2154. raise the parent events until after we've done our work. Hover
  2155. needs more work, in the case where HoverSelection is on, because
  2156. the item control receives more than one MouseHover per Enter
  2157. event, so we need to ensure only the "first" hover gets forwarded.
  2158. Opening a minor bug for that.
  2159. 2007-01-02 Gert Driesen <[email protected]>
  2160. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  2161. * ListControl.cs: Implemented AllowSelection property. Removed extra
  2162. tabs.
  2163. * ListBox.cs: Implemented AllowSelection property.
  2164. 2007-01-02 Everaldo Canuto <[email protected]>
  2165. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  2166. SelectedItem, it prevent for errors when you must disable item
  2167. before perform click. Fixes #80409.
  2168. 2007-01-02 Everaldo Canuto <[email protected]>
  2169. * MenuAPI.cs: Prevent second level and beyond submenus to close
  2170. until first level when move out side of popup.
  2171. 2007-01-02 Everaldo Canuto <[email protected]>
  2172. * MenuAPI.cs:
  2173. - Down submenu positin in three pixels.
  2174. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  2175. 2007-01-02 Everaldo Canuto <[email protected]>
  2176. * ThemeWin32Classic.cs:
  2177. - Fix popup menu size adding one pixel on the top.
  2178. - Down menu item border from two to one to mimic Win32.
  2179. - Some source identation fixes.
  2180. 2007-01-01 Everaldo Canuto <[email protected]>
  2181. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  2182. position of menu arrows, it fix wrong arrow size.
  2183. 2007-01-01 Everaldo Canuto <[email protected]>
  2184. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  2185. instead of line, it simplify draw operation and fix it using 3D
  2186. borders to mimic Win32.
  2187. 2007-01-01 Jonathan Pobst <[email protected]>
  2188. * StatusStrip.cs: Add implementation of the sizing grip.
  2189. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  2190. StatusStrip rendering.
  2191. 2006-12-31 Chris Toshok <[email protected]>
  2192. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  2193. override the layout style (anchor/dock) of the control. assign to
  2194. Dock instead. Fixes bug #80416.
  2195. * ToolStrip.cs: same.
  2196. 2006-12-31 Andreia Gaita <[email protected]>
  2197. * ContainerControl.cs: Use ContainerSelected flag to check if
  2198. a Container is directly selected, or if Select is called on a
  2199. non-container. If a container is directly selected, focus events
  2200. should not be raised.
  2201. Apply #80411 patch to throw exception on set_ActiveControl if
  2202. control is the same as the current one.
  2203. * Control.cs: Use ContainerSelected flag (see above).
  2204. Add invalidation check to raise event but not invalidate if
  2205. dimensions are 0.
  2206. Apply #80411 patch.
  2207. 2006-12-31 Everaldo Canuto <[email protected]>
  2208. * MenuAPI.cs: After click, dont close popup menu when menu is
  2209. ContextMenu. Fixes #80399.
  2210. 2006-12-30 Chris Toshok <[email protected]>
  2211. * ContainerControl.cs: make sure we throw the exception if the
  2212. container control doesn't contain the control we're setting
  2213. ActiveControl to.
  2214. 2006-12-30 Chris Toshok <[email protected]>
  2215. * Control.cs (SetTopLevel): fix the exception raised by
  2216. SetTopLevel for child controls.
  2217. (set_Anchor): call UpdateDistances when setting the anchor type.
  2218. This fixes bug #80336.
  2219. 2006-12-29 Gert Driesen <[email protected]>
  2220. * Theme.cs: For now, revert back to 8pt font.
  2221. 2006-12-29 Everaldo Canuto <[email protected]>
  2222. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  2223. Fixes #80395.
  2224. 2006-12-29 Chris Toshok <[email protected]>
  2225. * Control.cs: reorder the code in OnResize to give the same event
  2226. ordering as MS.
  2227. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  2228. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  2229. TileHorizontally and TileVertically.
  2230. 2006-12-29 Alexander Olk <[email protected]>
  2231. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  2232. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  2233. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  2234. Corrected copyright and email adress.
  2235. 2006-12-29 Gert Driesen <[email protected]>
  2236. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  2237. of Exception in FullPath property if no TreeView is associated with
  2238. the TreeNode.
  2239. 2006-12-29 Gert Driesen <[email protected]>
  2240. * Theme.cs: Marked default_font as private, and initialize it in ctor
  2241. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  2242. on 2.0 profile.
  2243. * ThemeGtk.cs: Removed default_font intialization.
  2244. * ThemeWin32Classic.cs: Removed default_font initialization.
  2245. 2006-12-28 Chris Toshok <[email protected]>
  2246. * Control.cs: fix a couple of place where we were creating handles
  2247. more aggressively than we should be. Fixes ControlRefresh unit
  2248. tests.
  2249. 2006-12-28 Chris Toshok <[email protected]>
  2250. * Control.cs: contrary to what the comment said, Control.Dock does
  2251. not supercede Control.Anchor - the last one you assign to decides
  2252. the layout behavior. so we need to keep track of which was the
  2253. last set. Also, fix some of the affected property arguments in
  2254. PerformLayout calls, and remove an redundant parent.PerformLayout
  2255. call in OnResized.
  2256. Add a VisibleInternal property, which returns is_visible. We
  2257. can/should get rid of all the usage of this field elsewhere.
  2258. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2259. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  2260. control style, not DoubleBuffer. Added UseDoubleBuffering property
  2261. that indicates whether doublebuffering is enabled and supported.
  2262. (comment from and code based on Gert Driesen's patch in #80324).
  2263. Fixes #80324.
  2264. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2265. * Control.cs: Fixed a NRE.
  2266. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2267. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  2268. for 2.0.
  2269. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2270. * Control.cs: Rewrote double buffering, now a seperate
  2271. class handles all the buffering, no Graphics is disposed of
  2272. until the painting is finished (earlier implementation
  2273. would crash if the control was resized in the OnPaint,
  2274. since it would cause the double buffer to be recreated
  2275. and the old one disposed), a separate Graphics is
  2276. created for every paint (MS behaviour and anyways the state
  2277. of the Graphics would have to be saved and restored otherwise)
  2278. * XplatUIDriver.cs:
  2279. * XplatUIX11.cs:
  2280. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  2281. so that we can get the graphics for the back buffer without
  2282. having to create a new one and remove the offscreen_dc parameter
  2283. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  2284. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  2285. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  2286. Also make virtual all the key-related methods.
  2287. * ListViewItem.cs: Make virtual the key related methods for
  2288. ListViewSubItemCollection.
  2289. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  2290. * ListView.cs:
  2291. * ListViewItem.cs:
  2292. * ThemeWin32Classic.cs:
  2293. * Theme.cs: Initial support for Tile view in ListView,
  2294. as well as the implementation of the required bits for it (Item
  2295. and Subitem).
  2296. 2006-12-27 Gert Driesen <[email protected]>
  2297. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  2298. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  2299. Provide useful exception messages.
  2300. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  2301. * TrackBar.cs: Remove a warning.
  2302. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  2303. when used by DateTimePicker, fixes #80287. This also requires that
  2304. MonthCalendar implements it's own drawing for the yearly updown control,
  2305. otherwise the Capture tracking would be too complicated. Removed the Click
  2306. and DoubleClick events (according to comments they were hiding the base class
  2307. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  2308. raise these events, not that they cannot be raised. It is possible to raise
  2309. them by calling OnClick and OnDoubleClick). Added two internal fields in
  2310. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  2311. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  2312. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  2313. event, no longer needed.
  2314. 2006-12-27 Gert Driesen <[email protected]>
  2315. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  2316. true if new value differs from current value.
  2317. 2006-12-27 Gert Driesen <[email protected]>
  2318. * Control.cs: ControlCollection.Count must be public. Fixed build of
  2319. unit tests.
  2320. 2006-12-27 Gert Driesen <[email protected]>
  2321. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  2322. 2006-12-27 Gert Driesen <[email protected]>
  2323. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  2324. 2006-12-26 Everaldo Canuto <[email protected]>
  2325. * Control.cs: Invalidates control including when Width and Height is
  2326. equal zero or is not visible, only Paint event must be care about
  2327. this. Fixes #79913.
  2328. 2006-12-26 Chris Toshok <[email protected]>
  2329. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  2330. more corcompare work.
  2331. * DataGridView.cs: fix compiler warning.
  2332. * ColumnHeader.cs: some corcompare work, and also take the
  2333. opportunity to make the internal fields private.
  2334. * ListView.cs: fix the fallout from the above field change.
  2335. 2006-12-26 Jonathan Pobst <[email protected]>
  2336. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  2337. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  2338. ToolStripTextBox.cs: Fixes to events and corcompare.
  2339. 2006-12-26 Everaldo Canuto <[email protected]>
  2340. * ListView.cs: Call owner.OnMousexx event to propagate events from
  2341. item to ListView. Fixes #80367.
  2342. 2006-12-26 Gert Driesen <[email protected]>
  2343. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  2344. if value is less than one. ItemHeight should not be set to a value
  2345. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  2346. Removed extra tabs.
  2347. 2006-12-26 Jonathan Pobst <[email protected]>
  2348. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  2349. * ToolStripStatusLabel.cs: Add Spring for Moma.
  2350. 2006-12-26 Gert Driesen <[email protected]>
  2351. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  2352. Fixed code formatting. Removed debug code.
  2353. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  2354. 2006-12-26 Gert Driesen <[email protected]>
  2355. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  2356. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  2357. ArgumentOutOfRangeException if ColumnCount is negative. In
  2358. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  2359. less than 4 or higher than 32768.
  2360. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  2361. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  2362. Fixed IsFormatProviderDefault to return true if FormatProvider has
  2363. not been explicitly set.
  2364. 2006-12-25 Chris Toshok <[email protected]>
  2365. * Application.cs: add a couple of 2.0 events.
  2366. 2006-12-25 Chris Toshok <[email protected]>
  2367. * Control.cs: fix compiler warning.
  2368. * AxHost.cs: corcompare fixes.
  2369. * ApplicationContext.cs: corcompare fixes.
  2370. 2006-12-25 Chris Toshok <[email protected]>
  2371. * Control.cs: only update dist_right/dist_bottom if the
  2372. width/height is > 0. this fixes anchored controls being resized
  2373. smaller until they disappear and then resized larger again.
  2374. 2006-12-25 Chris Toshok <[email protected]>
  2375. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  2376. since they're nothing more than X/Left and Y/Top, respectively.
  2377. Also, move back to a per-control Bitmap/Graphics for
  2378. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  2379. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  2380. Height.
  2381. 2006-12-25 Miguel de Icaza <[email protected]>
  2382. * MessageBox.cs: Implemented overload that takes a new "bool
  2383. displayHelpButton" by adding a new internal field "show_help".
  2384. When clicked this will raise the HelpRequested on the owner or the
  2385. main form.
  2386. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  2387. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  2388. * ListView.cs: Add support ColumnWidthChanged and
  2389. ColumnWidthChanging.
  2390. Add support for ColumnReordered event.
  2391. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  2392. reorder.
  2393. Very nice codebase!
  2394. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  2395. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  2396. 2006-12-24 Chris Toshok <[email protected]>
  2397. * GridTablesFactory.cs: 2.0 corcompare work.
  2398. * ToolStripContainer.cs: add "override" to
  2399. ContextMenuStripChanged, and remove the local event object.
  2400. * ToolStripDropDown.cs: same with a couple properties.
  2401. * ToolStripPanel.cs: same with AutoSizeChanged event.
  2402. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  2403. * Form.cs: add the remaining 2.0 events, and do some corcompare
  2404. attribute work.
  2405. * DateTimePicker.cs: add "new" to padding.
  2406. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  2407. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  2408. * DataGridView.cs: PaddingChanged is overridden.
  2409. 2006-12-24 Chris Toshok <[email protected]>
  2410. * Control.cs: corecompare work here too.
  2411. * DataGridViewElement.cs, DataGridView.cs,
  2412. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  2413. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  2414. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  2415. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  2416. work.
  2417. 2006-12-24 Miguel de Icaza <[email protected]>
  2418. * Control.cs: Switched the error message on the console for a
  2419. todo. A review of the code will have to cope with this anyways
  2420. (since its a large feature, it is in our radar) and it was
  2421. producing too much output when running PDN.
  2422. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  2423. changes. Applications depend on this (PDN 2.72)
  2424. 2006-12-23 Chris Toshok <[email protected]>
  2425. * TableLayoutSettings.cs: finish up the corcompare work for this
  2426. class.
  2427. 2006-12-23 Chris Toshok <[email protected]>
  2428. * Control.cs: make SetImplicitBounds internal, do some futzing
  2429. with LayoutEngine so that it's available in 1.1, and remove the
  2430. entire duplicated code mess from PerformLayout. Use
  2431. System.Windows.Forms.Layout.DefaultLayout instead.
  2432. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  2433. 2006-12-23 Jonathan Pobst <[email protected]>
  2434. * Form.cs: Add MainMenuStrip property.
  2435. 2006-12-23 Jonathan Pobst <[email protected]>
  2436. * Control.cs: Add ContextMenuStrip property and implementation.
  2437. Fix ContextMenu implementation to show menu centered on control when
  2438. activated using the keyboard instead of showing at screen (0,0).
  2439. * ToolStripDropDown.cs: Fix needed overload of Show ().
  2440. 2006-12-23 Everaldo Canuto <[email protected]>
  2441. * Menu.cs: Name property added for 2.0 profile.
  2442. 2006-12-23 Everaldo Canuto <[email protected]>
  2443. * Menu.cs: Update information about FindMenuItem, method to be
  2444. implemented soon.
  2445. 2006-12-23 Everaldo Canuto <[email protected]>
  2446. * MenuAPI.cs: When deselect items deselect also selected subitems.
  2447. 2006-12-23 Everaldo Canuto <[email protected]>
  2448. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  2449. FindSubItemByCoord to found itens that is not active, also an
  2450. cheking added to FindSubItemByCoord to search for items only
  2451. in visible popup windows. Fixes #80274.
  2452. 2006-12-22 Everaldo Canuto <[email protected]>
  2453. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  2454. internal property, it be care about change ExStyle.
  2455. 2006-12-22 Andreia Gaita <[email protected]>
  2456. * ContainerControl.cs: set activeControl for parent forms up the
  2457. tree when the new activecontrol is a container.
  2458. When validating the active control, if it is a container, also
  2459. raise up the validation for it's active control. Fixes #80280
  2460. * Control.cs: Add internal property flag and check to prevent
  2461. Focus events from getting raised when Select() is called for
  2462. a ContainerControl. There are still too many focus events being
  2463. raised at the moment though.
  2464. Cleaned up the code a bit.
  2465. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  2466. * Control.cs: Added all missing 2.0 events.and
  2467. fixed a couple of corcompare issues.
  2468. * TrackBar.cs: Implemented missing 2.0 bits.
  2469. * MonthCalendar.cs,
  2470. * DateTimePicker.cs,
  2471. * MdiClient.cs: Fixed some corcompare issues.
  2472. 2006-12-21 Jonathan Pobst <[email protected]>
  2473. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  2474. SplitterPanel.cs: corecompare work.
  2475. 2006-12-21 Jonathan Pobst <[email protected]>
  2476. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  2477. Clean up warnings for BackgroundImageChanged and PaddingChanged
  2478. events now that they are implemented in Control.cs.
  2479. 2006-12-21 Jonathan Pobst <[email protected]>
  2480. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  2481. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  2482. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  2483. of TableLayoutPanel and supporting cast.
  2484. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  2485. * XplatUIWin32.cs:
  2486. - GrabWindow now confines the mouse pointer to the confine window.
  2487. - Added Win32ClipCursor and Win32GetClipCursor.
  2488. * Control.cs:
  2489. - Added CaptureWithConfine to be able to capture and confine
  2490. mouse pointer.
  2491. * InternalWindowManager.cs:
  2492. - Call CaptureWithConfine instead of Capture if we're an
  2493. MdiChild (fixes #79982).
  2494. 2006-12-21 Chris Toshok <[email protected]>
  2495. * DataGrid.cs: guard against the initial state of selection, where
  2496. selection_start == -1. make sure we only select from index >= 0.
  2497. Fixes bug #80291.
  2498. 2006-12-21 Chris Toshok <[email protected]>
  2499. * Control.cs: we don't need to be so draconian with
  2500. UpdateDistances, and we thusly don't need to call it before
  2501. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  2502. 2006-12-21 Daniel Nauck <[email protected]>
  2503. * ComboBox.cs,
  2504. TextBox.cs: Implemented AutoComplete properties.
  2505. 2006-12-20 Chris Toshok <[email protected]>
  2506. * DataGridView*.cs: some corecompare work.
  2507. 2006-12-20 Jackson Harper <[email protected]>
  2508. * XplatUIX11.cs: We need to hide the caret when deleting it,
  2509. otherwise you get carets left lying around everywhere.
  2510. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  2511. prevents getting some weird half drawn caret tracers when
  2512. scrolling.
  2513. * TextControl.cs: Attempt to reduce the number of times we need to
  2514. recreate the caret.
  2515. 2006-12-20 Gert Driesen <[email protected]>
  2516. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  2517. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2518. * DateTimePicker.cs:
  2519. - Implemented missing 2.0 bits.
  2520. - Changed some default values to match MS.
  2521. 2006-12-20 Jackson Harper <[email protected]>
  2522. * TextBoxBase.cs: When changing the font across the document we
  2523. can't recalculate after changing each line, since that will cahnge
  2524. the line count.
  2525. - PreferredHeight is a little different than i thought.
  2526. - When backspacing, move the caret before we do the actual char
  2527. delete, because when that delete crosses a wrap boundary the
  2528. positional information will change.
  2529. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2530. * Control.cs: Added some missing 2.0 bits:
  2531. BackgroundImageLayout, BackgroundImageLayoutChanged,
  2532. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  2533. add IBindableComponent and IDropTarget implementation.
  2534. * MonthCalendar.cs:
  2535. - Added all missing 2.0 features:
  2536. BackgroundImageLayout, RightToLeftLayout,
  2537. OnHandleDestroyed, RightToLeftLayoutChanged,
  2538. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  2539. PaddingChanged.
  2540. - Rewrote all the BoldDate code, it was completely broken.
  2541. - Fixed all the tests (the tests can now be re-enabled, the
  2542. problems were not with the tests, but with the control, it was
  2543. mostly broken).
  2544. * DateTimePicker.cs: Changed the location where the
  2545. MonthCalendar is shown.
  2546. 2006-12-19 Chris Toshok <[email protected]>
  2547. * DataGridView.cs: add IDropTarget implementation.
  2548. * ToolStripPanel.cs: add IDropTarget implementation.
  2549. 2006-12-19 Jackson Harper <[email protected]>
  2550. * TextControl.cs: soft now means something different than what it
  2551. used to mean, we want to move the caret regardless of whether or
  2552. not this break was soft (would we really have wanted the caret
  2553. to not move with the break in the old context?)
  2554. * TreeView.cs: Make sure we factor in the vert scrollbar when
  2555. calculating the horizontal scrollbar's maximum.
  2556. 2006-12-19 Andreia Gaita <[email protected]>
  2557. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  2558. check for keywords in alternate casing, close bug #80049.
  2559. 2006-12-19 Chris Toshok <[email protected]>
  2560. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  2561. methods (which all do nothing).
  2562. * IDropTarget.cs: add the 4 missing methods.
  2563. 2006-12-19 Chris Toshok <[email protected]>
  2564. * TableLayoutRowStyleCollection.cs: corcompare work.
  2565. * TableLayoutSettings.cs: same.
  2566. * TableLayoutStyle.cs: same.
  2567. * TableLayoutColumnStyleCollection.cs: same.
  2568. 2006-12-19 Jonathan Pobst <[email protected]>
  2569. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  2570. TableLayoutPanel I've had in my local tree for way too long.
  2571. 2006-12-19 Miguel de Icaza <[email protected]>
  2572. * TableLayoutSettings.cs: Finish the public API (still needs all
  2573. the logic to update on changes).
  2574. * TableLayoutPanelCellPosition.cs: new file.
  2575. * TableLayoutRowStyleCollection.cs,
  2576. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  2577. TableLayoutSettings.cs: Track the final 2.0 table api.
  2578. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2579. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  2580. and Image List 2.0 members for ColummnHeader.
  2581. * ListView.cs: Add key-related 2.0 methods for
  2582. ColumnHeaderCollection.
  2583. 2006-12-19 Gert Driesen <[email protected]>
  2584. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  2585. ArgumentNullException if items argument is null. Ignore null item in
  2586. arrays. Removed extra tabs.
  2587. 2006-12-19 Gert Driesen <[email protected]>
  2588. * MonthCalendar.cs: Fixed InvalidCastException.
  2589. 2006-12-19 Jackson Harper <[email protected]>
  2590. * TextControl.cs: Don't increment the position here.
  2591. - When calculating char positions only add in the line break size
  2592. for hard line breaks.
  2593. 2006-12-19 Andreia Gaita <[email protected]>
  2594. * SendKeys.cs: Changed some things to match ms.net behaviour
  2595. when parsing shifted capital letters.
  2596. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  2597. Add window handle as parameter to SendInput. X11 needs the
  2598. window handle, and the handle being passed to it in the keys
  2599. queue is the active control handle (which windows needs), not
  2600. the window handle.
  2601. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  2602. to support SendKeys on X.
  2603. * X11Keyboard: Implement helper method to lookup a linux keycode
  2604. given the virtual keycode. Added table of keycode-2-virtualkey
  2605. values to support this.
  2606. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2607. * ListView.cs: Add support for SelectedIndexCollection
  2608. and SelectedItemCollection 2.0 methods. Implement support
  2609. for ImageKey too.
  2610. * ListViewItem.cs: Add support for ListViewSubItemCollection
  2611. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  2612. (it shouldn't call Clear).
  2613. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  2614. 2006-12-19 Jackson Harper <[email protected]>
  2615. * RichTextBox.cs:
  2616. * TextBoxBase.cs: New args for FormatText
  2617. * TextControl.cs: Rewrote the main drawing method, this version
  2618. feels a little easier to understand and debug to me. Hopefully it
  2619. does to others also
  2620. - Fix FormatText to OR in the new formating values. Added
  2621. FormatSpecified param, basically this works in the same way as
  2622. BoundsSpecified in Control.
  2623. - Set the caret properties when the caret is positioned.
  2624. - When wrapping text make sure that we calculate the width of the
  2625. last character
  2626. - when calculating alignments we might have wrapped down to the
  2627. next line, so don't search for an individual tag, search for the
  2628. end of the line
  2629. - We need to invalidate the selection area when we replace the
  2630. selection.
  2631. 2006-12-19 Daniel Nauck <[email protected]>
  2632. * Application.cs: add Restart () 2.0 support
  2633. 2006-12-18 Everaldo Canuto <[email protected]>
  2634. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  2635. property. Fixes #80268.
  2636. 2006-12-18 Everaldo Canuto <[email protected]>
  2637. * MenuAPI.cs: Dont trigger select event when closes top menu
  2638. item. Fixes #80270.
  2639. 2006-12-18 Everaldo Canuto <[email protected]>
  2640. * MenuAPI.cs: When you click on menuitem only trigger onselect
  2641. event for top menu itens. Fixes #80271.
  2642. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2643. * MdiWindowManager.cs: Make IconicBounds depend on
  2644. the bottom of MdiClient, not the top (fixes #80267)
  2645. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2646. * MdiClient.cs: Added missing 2.0 attribute
  2647. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  2648. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  2649. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  2650. 2006-12-18 Everaldo Canuto <[email protected]>
  2651. * MenuAPI.cs: Fix click when menuitem is not popup,
  2652. this regression was caused by last commit (#80272).
  2653. 2006-12-17 Everaldo Canuto <[email protected]>
  2654. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  2655. fire click event or close menu. Fixes #80272.
  2656. 2006-12-17 Daniel Nauck <[email protected]>
  2657. * ListViewHitTestInfo.cs: add
  2658. 2006-12-17 Daniel Nauck <[email protected]>
  2659. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  2660. * FlatButtonAppearance.cs: add
  2661. * DockingAttribute.cs: add
  2662. 2006-12-17 Chris Toshok <[email protected]>
  2663. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  2664. and rebind our columns when it does - this way, if you make
  2665. changes to the DataTable (or set the Table attribute on a DataView
  2666. after setting it as the DataGrid's DataSource, the changes are
  2667. made visible.) Fixes bug #80107.
  2668. 2006-12-17 Daniel Nauck <[email protected]>
  2669. * ListViewGroup.cs: add internal Location property for layouting.
  2670. * Theme.cs: add abstract ListViewGroupHeight function.
  2671. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  2672. 2006-12-16 Andreia Gaita <[email protected]>
  2673. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  2674. Added reset of selected index to 0 when adding first tab page.
  2675. Fixes #80264
  2676. * NumericUpDown.cs: Fix NET_2_0 check
  2677. 2006-12-16 Daniel Nauck <[email protected]>
  2678. * ListViewGroup.cs: fixed DefaultValueAttribute value
  2679. 2006-12-16 Daniel Nauck <[email protected]>
  2680. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  2681. 2006-12-15 Miguel de Icaza <[email protected]>
  2682. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  2683. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  2684. ScrollableControl.cs: Add a handful of methods that are
  2685. overwritten in 2.0
  2686. 2006-12-15 Chris Toshok <[email protected]>
  2687. * XplatUIWin32.cs: initial implementation of the Reversible
  2688. drawing functions. there are some problems. DrawReversibleFrame
  2689. doesn't seem to work at all for Dashed FrameStyle, and in the
  2690. Thick case there are drawing errors at the corners (we probably
  2691. need to bind Rectangle instead of doing moveto/lineto's.)
  2692. 2006-12-16 Andreia Gaita <[email protected]>
  2693. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  2694. to send blocks of key messages. Send accumulates keys to send with Flush,
  2695. while SendWait sends all keys immediately.
  2696. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2697. XplatUIX11.cs, XplatUIX11-new.cs:
  2698. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  2699. to Win32 SendInput.
  2700. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  2701. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  2702. testing for ms.net on this class is very tricky, as the tests run too fast
  2703. to allow the hook to release, essentially freezing the keyboard and the
  2704. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  2705. category :p
  2706. 2006-12-16 Daniel Nauck <[email protected]>
  2707. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  2708. added missing attributes.
  2709. 2006-12-15 Daniel Nauck <[email protected]>
  2710. * ListViewGroup.cs: Added missing attributes.
  2711. * ListViewGroupCollection.cs: Added missing attributes.
  2712. 2006-12-15 Daniel Nauck <[email protected]>
  2713. * ListViewItem.cs: fixed ListViewSubItem text property.
  2714. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2715. * Control.cs: Added missing 2.0 attributes
  2716. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2717. * MdiClient.cs: Added missing 2.0 attribute.
  2718. * MonthCalendar.cs: Added some missing 2.0 attributes
  2719. and properties.
  2720. 2006-12-15 Daniel Nauck <[email protected]>
  2721. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  2722. 2006-12-15 Jonathan Pobst <[email protected]>
  2723. * MainMenu.cs: Add the new 2.0 constructor to help out people
  2724. using the MainMenu in VS2005.
  2725. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2726. * MdiChildContext.cs: Removed it, no longer used.
  2727. * MdiClient.cs: Added missing 2.0 attributes.
  2728. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2729. * InternalWindowManager.cs: Fix a NullRef with previous
  2730. changes for toolwindows.
  2731. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2732. * Control.cs:
  2733. - Added AfterTopMostControl to allow for certain controls
  2734. to always stay on top when normal controls are brought to
  2735. front.
  2736. * XplatUIWin32.cs:
  2737. - (DrawInversibleRectangle): Get window rectangle from Win32
  2738. in stead of from control, since Win32 doesn't calculate
  2739. screen coords correctly from control's Location if it
  2740. have docked siblings.
  2741. * MdiWindowManager.cs:
  2742. - Correct the control menu popup location when clicked on
  2743. the maximized form icon. (fixes #80223.1)
  2744. - Don't show moving rectangle if mouse hasn't moved from
  2745. the original clicked point.
  2746. - Removed FormGotFocus handler (not used).
  2747. - Calculate the control buttons location from the main
  2748. window's size and not client size (fixes #79770).
  2749. - Form is now closed when the form icon is double-clicked
  2750. (fixes #79775).
  2751. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  2752. * InternalWindowManager.cs:
  2753. - Moved some MDI-only methods to MdiWindowManager.
  2754. - Removed unused properties and methods.
  2755. - Unified method naming for methods handling wm messages.
  2756. - Moved all message handling to seperate methods for
  2757. each message.
  2758. * ThemeWin32Classic.cs:
  2759. - DrawManagedWindowDecorations now draws the title bar
  2760. with a gradient brush.
  2761. - Add a CPDrawButtonInternal that allows us to specify
  2762. light, normal and dark colors for the buttons (control
  2763. buttons for MDI children were drawn with the same light
  2764. color as the background, therefore loosing the 3D effect).
  2765. * SizeGrip.cs:
  2766. - Add a CapturedControl property that is used to
  2767. determine the control to resize (defaults to parent).
  2768. Needed for MdiClient, since its SizeGrip's parent is
  2769. MdiClient, but the control to resize is the main form.
  2770. * MdiClient.cs:
  2771. - Set SizeGrip's CapturedControl to the main form in order
  2772. to resize the main form and not the MdiClient.
  2773. - Override AfterTopMostControl to leave the scrollbars
  2774. always on top.
  2775. 2006-12-15 Daniel Nauck <[email protected]>
  2776. * ListView.cs: fixed ListViewItemCollection AddRange and
  2777. implemented ListViewItemCollection AddRange 2.0 support.
  2778. 2006-12-15 Daniel Nauck <[email protected]>
  2779. * ListViewGroup.cs: Add.
  2780. * ListViewGroupCollection.cs: Add
  2781. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  2782. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  2783. stub for ImageKey 2.0 support.
  2784. 2006-12-14 Mike Kestner <[email protected]>
  2785. * ListView.cs: add text padding to the autocalculation for columns
  2786. of width -2. Fixes #80207.
  2787. 2006-12-14 Mike Kestner <[email protected]>
  2788. * ListView.cs: add some index guarding for partial row navigation
  2789. logic. Fixes #80250.
  2790. 2006-12-14 Mike Kestner <[email protected]>
  2791. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  2792. are added or inserted to the collection. Fixes #81099.
  2793. 2006-12-13 Everaldo Canuto <[email protected]>
  2794. * MenuAPI.cs: Closes menu when right click out side of popup
  2795. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  2796. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  2797. * ListViewItem.cs: Fix dumb error.
  2798. * ListView.cs: Add Find and ContainsKey methods in
  2799. ListViewItemCollection, and also return true for IsReadOnly
  2800. and IsFixedSize (changes for 2.0).
  2801. 2006-12-13 Gert Driesen <[email protected]>
  2802. * Control.cs: Allow Region to be set to null.
  2803. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  2804. * MdiWindowManager.cs: Remove unused (commented out) code.
  2805. * Form.cs: When the MdiChild is maximized, the form needs
  2806. WM_NCMOUSELEAVE, so request it.
  2807. * InternalWindowManager.cs:
  2808. - Added tooltips to control buttons.
  2809. - Removed duplicated control button handling code.
  2810. - Removed unused (commented out) code.
  2811. 2006-12-12 Everaldo Canuto <[email protected]>
  2812. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  2813. was used because we must set cursor without trigger ChangeCursor event
  2814. and without change Cursor control property. Fixes #79963.
  2815. 2006-12-12 Andreia Gaita <[email protected]>
  2816. * Control.cs: Check if Region setter value is null, and ignore
  2817. 2006-12-12 Jackson Harper <[email protected]>
  2818. * TextControl.cs: We were almost always drawing one more line then
  2819. needed, since the GetLineByPixel will return the last line found
  2820. at that pixel. In most cases though, we were invalidating up to
  2821. the junction between two lines.
  2822. - Improve debug code.
  2823. 2006-12-12 Chris Toshok <[email protected]>
  2824. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  2825. and FillReversibleRectangle.
  2826. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  2827. and FillReversibleRectangle.
  2828. * XplatUIWin32.cs: add stubs which do nothing for
  2829. DrawReversibleFrame, DrawReversibleLine, and
  2830. FillReversibleRectangle.
  2831. * XplatUIOSX.cs: add stubs which raise NIE for
  2832. DrawReversibleFrame, DrawReversibleLine, and
  2833. FillReversibleRectangle.
  2834. * XplatUIX11.cs: add working implementation for
  2835. DrawReversibleFrame, DrawReversibleLine, and
  2836. FillReversibleRectangle.
  2837. * ControlPaint.cs: implement DrawReversibleFrame,
  2838. DrawReversibleLine, and FillReversibleRectangle, by calling into
  2839. the appropriate XplatUI method.
  2840. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2841. * Form.cs: Make MdiClient have the focus even if it's
  2842. not selectable, since it should receive WM_KEY* and WM_MOUSE
  2843. messages. Fixes #79907.
  2844. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2845. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  2846. queried after the window is created.
  2847. * XplatUIX11.cs: Added SendParentNotify to implement
  2848. WM_PARENTNOTIFY logic. Fixes #79965.
  2849. * Control.cs: Added MakeParam.
  2850. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2851. * MdiClient.cs: Resume Layout before setting window
  2852. states (fixes #80201).
  2853. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2854. * MenuAPI.cs: Deselect a menu item after performing
  2855. the click (fixes #80197).
  2856. 2006-12-11 Jackson Harper <[email protected]>
  2857. * TextBoxBase.cs: We need to cap this value, since Maximum -
  2858. ViewPortHeight can be less than zero.
  2859. - Only do selection with the left mouse button.
  2860. * TextBox.cs: Don't tell the world that we have a context menu.
  2861. * Control.cs: New method so that we can control whether or not the
  2862. context menu is visible outside MWF.
  2863. 2006-12-11 Everaldo Canuto <[email protected]>
  2864. * ToolBarButton.cs: Fix text positon.
  2865. 2006-12-11 Miguel de Icaza <[email protected]>
  2866. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  2867. * Control.cs (DoubleBuffered): Add implementation.
  2868. * Application.cs (OpenForms): Add.
  2869. 2006-12-11 Jonathan Pobst <[email protected]>
  2870. * Form.cs: Use opacity instead of Opactiy to determine if we need
  2871. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  2872. 2006-12-11 Jonathan Pobst <[email protected]>
  2873. * Control.cs: Fix NRE if Control.Site was set to null.
  2874. 2006-12-11 Chris Toshok <[email protected]>
  2875. * Control.cs: ControlCollection.Remove should return if the arg is
  2876. null, and ControlCollection.SetChildIndex should raise a ANE.
  2877. 2006-12-11 Gert Driesen <[email protected]>
  2878. * Control.cs: Verify value set for Dock property. Code formatting
  2879. updates.
  2880. 2006-12-11 Jackson Harper <[email protected]>
  2881. * TextControl.cs: Draw the caret and the selection when a flag is
  2882. set on the owner.
  2883. * TextBoxBase.cs: We want to draw the caret and the selection for
  2884. TextBox but not for TextBoxBase.
  2885. - If the window is resized and scrolling is no longer needed (the
  2886. whole doc is visible) set the scroll position to zero.
  2887. - The default SelectWord (the one TextBox uses) should move the
  2888. caret to the end of the word.
  2889. - SelectAll moves the caret to the end of the selection.
  2890. * TextBox.cs: We don't selectall on focus, we just do it when the
  2891. control is created.
  2892. 2006-12-11 Mike Kestner <[email protected]>
  2893. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  2894. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  2895. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  2896. 2.0 support.
  2897. * ListViewItem.cs: Add Name 2.0 property.
  2898. 2006-12-11 Andreia Gaita <[email protected]>
  2899. * TabControl.cs: Set visibility on selected or default tab
  2900. when tabcontrol handle is created, so that it's contents
  2901. actually show up (duh). Fixes #80193
  2902. Don't redraw the control if there is no handle created, as
  2903. the selected index might be completely invalid. Added some tests
  2904. to check for this.
  2905. 2006-12-11 Everaldo Canuto <[email protected]>
  2906. * ToolBar.cs: Uses maximun width and height of all buttons as
  2907. button rectangle when ButtonSize specified, it looks strange but
  2908. is what happens in Win32. Fixes #80189.
  2909. 2006-12-11 Jackson Harper <[email protected]>
  2910. * TextControl.cs: Need to track undo levels ourself, since
  2911. compound actions will mess them up.
  2912. 2006-12-10 Andreia Gaita <[email protected]>
  2913. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  2914. SelectedIndex value is changed (even if it's not valid).
  2915. Reset SelectedIndex to 0 when the handle is created and if
  2916. the current index is invalid.
  2917. Fixes SelectdeIndex unit tests and #80128
  2918. 2006-12-08 Chris Toshok <[email protected]>
  2919. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  2920. calls EndEdit, it needs to be called before we set current_cell to
  2921. its new value. Otherwise, we end up committing the value in the
  2922. textbox to the new cell as well. Fixes bug #80160.
  2923. 2006-12-08 Chris Toshok <[email protected]>
  2924. * Form.cs (set_CancelButton): if the button's DialogResult is
  2925. None, set it to Cancel. Fixes bug 80180.
  2926. 2006-12-08 Jackson Harper <[email protected]>
  2927. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  2928. to watch ourselves when setting the canvas size and setting the
  2929. scrollbar values.
  2930. 2006-12-08 Chris Toshok <[email protected]>
  2931. * DataGrid.cs: comment out the two MakeTransparent calls for the
  2932. time being so people using trunk (and not 1.2.2) on windows can
  2933. actually use the datagrid. This deals with bug #80151.
  2934. 2006-12-08 Jonathan Pobst <[email protected]>
  2935. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  2936. Graphics.DrawImage (image, int, int, int, int) overload instead
  2937. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  2938. the dpi difference and was blurring images it drew.
  2939. [Fixes bug #79960]
  2940. 2006-12-08 Chris Toshok <[email protected]>
  2941. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  2942. rowcnt is 0 (such as with an empty datasource), and make sure we
  2943. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  2944. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  2945. 2006-12-08 Chris Toshok <[email protected]>
  2946. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  2947. grid.
  2948. 2006-12-08 Chris Toshok <[email protected]>
  2949. [ Fixes bug #80167 ]
  2950. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  2951. style is FlatStyle.System.
  2952. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  2953. ButtonBase.flat_style private, and switch uses of it to the public
  2954. property.
  2955. 2006-12-08 Chris Toshok <[email protected]>
  2956. [ Fixes bug #80121 ]
  2957. * ThemeWin32Classic.cs: center the caption text in the datagrid
  2958. when we draw it.
  2959. * DataGrid.cs: lessen the amount we add to the caption height from
  2960. 6 to 2. 6 was making it huge.
  2961. 2006-12-08 Andreia Gaita <[email protected]>
  2962. * UpDownBase: Handle MouseWheel call directly instead of capturing
  2963. the inner textbox's OnMouseWheel. Fixes #80166
  2964. 2006-12-08 Jackson Harper <[email protected]>
  2965. * TextControl.cs: We need to invalidate the textbox when we empty
  2966. it (how had this not been discovered before?)
  2967. 2006-12-08 Jackson Harper <[email protected]>
  2968. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  2969. to behave like MS, we now ignore the eventargs.Click and just
  2970. track state ourself, which we were already doing anyways.
  2971. - Constrain the double click handler to the double click size.
  2972. 2006-12-08 Chris Toshok <[email protected]>
  2973. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  2974. direction if that scrollbar isn't shown. fixes bug #80158.
  2975. 2006-12-08 Andreia Gaita <[email protected]>
  2976. * NumericUpDown.cs: Update value on getter. Fixes #79950
  2977. 2006-12-08 Chris Toshok <[email protected]>
  2978. * MenuItem.cs: add back in the event cloning code. I didn't know
  2979. how to do it in the face of the EventHandlerList work i'd done
  2980. last week. Fixes bug #80183.
  2981. 2006-12-08 Jonathan Pobst <[email protected]>
  2982. * Control.cs: Add an invalidate to the BackgroundImage setter.
  2983. [Fixes 80184]
  2984. 2006-12-07 Jonathan Pobst <[email protected]>
  2985. * ToolStrip*: Add some small properties reported by MoMA, fix event
  2986. firing and default properties based off of unit tests, and add some
  2987. attributes based off of the class status page.
  2988. 2006-12-07 Jackson Harper <[email protected]>
  2989. * TextBoxBase.cs: Take HideSelection into account when determining
  2990. whether or not to show the selection.
  2991. * RichTextBox.cs: After inserting the RTF into the document move
  2992. the cursor to the beginning of the document.
  2993. 2006-12-07 Jonathan Pobst <[email protected]>
  2994. * Control.cs: Remove static ArrayList "controls" which maintained
  2995. a reference to every control created.
  2996. * Application.cs: Create a static FormCollection to maintain a reference
  2997. to every form created. Use it in places that formerly enumerated through
  2998. the controls one looking for forms.
  2999. * Form.cs: Add and remove self from above FormCollection.
  3000. 2006-12-07 Alexander Olk <[email protected]>
  3001. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  3002. not libgdk (though it makes me wonder why I didn't have any
  3003. problems)
  3004. 2006-12-07 Chris Toshok <[email protected]>
  3005. [ you had to know this was coming after that last commit...]
  3006. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  3007. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  3008. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  3009. XCopyArea).
  3010. 2006-12-07 Chris Toshok <[email protected]>
  3011. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  3012. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  3013. all the behavior we need for double buffering.
  3014. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  3015. client side Bitmap, just like the old Control-based double buffer
  3016. code did. The methods are virtual, so each XplatUI driver
  3017. subclass can replace the implementation to use a faster, platform
  3018. specific approach.
  3019. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  3020. double buffer code, and clean things up a bit in the process.
  3021. 2006-12-06 Chris Toshok <[email protected]>
  3022. * Control.cs: reindent WndProc.
  3023. 2006-12-06 Chris Toshok <[email protected]>
  3024. [ I wanna be like BenM when I grow up ]
  3025. * Hwnd.cs: create a single static Graphics object on the static
  3026. Bitmap we create. use this for our text measurements.
  3027. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  3028. This was causing us to allocate a backbuffer for every control,
  3029. even when it wasn't flagged as double buffered. Instead use the
  3030. single graphics instance. This might have implications for
  3031. multithreaded applications. If we run into problems we can switch
  3032. to creating 1 Graphics per control, on the static Hwnd bitmap.
  3033. this change nets us a 7M savings in private dirty mappings when
  3034. running FormsTest.exe.
  3035. 2006-12-06 Chris Toshok <[email protected]>
  3036. * ListView.cs: the BackgroundImage override is just to set
  3037. attributes. chain up to base.BackgroundImage.
  3038. * RichTextBox.cs: same.
  3039. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  3040. changes, so instead a handler for BackgroundImageChanged.
  3041. * Control.cs: make background_image private.
  3042. 2006-12-06 Chris Toshok <[email protected]>
  3043. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  3044. sure we even need this assignment, but roll with it for now.
  3045. * Control.cs: make the cursor field private.
  3046. 2006-12-06 Chris Toshok <[email protected]>
  3047. * Form.cs: we don't need to explicitly set ImeMode to
  3048. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  3049. behavior in the face of ImeMode.Inherit.
  3050. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  3051. change the ctor's assignment to use ImeMode instead of ime_mode.
  3052. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  3053. ImeModeInherit. Only check for the parent's imemode (and return
  3054. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  3055. This fixes the button unit test, which sets both ImeMode and
  3056. DefaultImeMode to ImeMode.Disable.
  3057. also make the ime_mode field private.
  3058. 2006-12-06 Chris Toshok <[email protected]>
  3059. * Control.cs: make control_style private.
  3060. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  3061. setting the styles to true, then setting them to false instead of
  3062. reverting to their previous values.
  3063. also, call SetStyle on the scrollbars instead of using
  3064. control_style directly.
  3065. 2006-12-06 Jonathan Pobst <[email protected]>
  3066. * FormCollection.cs: Implement. [2.0]
  3067. 2006-12-06 Chris Toshok <[email protected]>
  3068. * Control.cs: make tab_stop private.
  3069. * Label.cs: set TabStop, not tab_stop. reformat some event
  3070. add/remove methods to make them more compact.
  3071. 2006-12-06 Chris Toshok <[email protected]>
  3072. * RadioButton.cs: fix TabStop handling.
  3073. 2006-12-06 Chris Toshok <[email protected]>
  3074. * TextBox.cs: remove the explicit assignments to has_focus.
  3075. Control does that.
  3076. * ButtonBase.cs: remove the assignment to has_focus. Control will
  3077. manage that.
  3078. 2006-12-06 Chris Toshok <[email protected]>
  3079. * ButtonBase.cs: remove all uses of is_enabled from this code.
  3080. it's always true when any of the code containing the checks is
  3081. executed.
  3082. 2006-12-06 Chris Toshok <[email protected]>
  3083. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  3084. with different semantics (some are present in both 1.1 and 2.0
  3085. profiles) so that we match MS's behavior in our unit tests.
  3086. 2006-12-06 Jackson Harper <[email protected]>
  3087. * TextControl.cs: Make this operation undoable.
  3088. * TextBoxBase.cs: Factor the border width into the preferred
  3089. height.
  3090. - implement Modified as per the spec.
  3091. 2006-12-06 Chris Toshok <[email protected]>
  3092. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  3093. 2006-12-06 Chris Toshok <[email protected]>
  3094. * Control.cs: make right_to_left and context_menu fields private.
  3095. 2006-12-06 Chris Toshok <[email protected]>
  3096. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  3097. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  3098. Control.child_controls private. switch all uses over to
  3099. Control.Controls.
  3100. 2006-12-06 Chris Toshok <[email protected]>
  3101. * System.Windows.Forms/GroupBox.cs,
  3102. System.Windows.Forms/AccessibleObject.cs,
  3103. System.Windows.Forms/ErrorProvider.cs,
  3104. System.Windows.Forms/Control.cs,
  3105. System.Windows.Forms/UpDownBase.cs,
  3106. System.Windows.Forms/ScrollBar.cs,
  3107. System.Windows.Forms/DateTimePicker.cs,
  3108. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  3109. System.Windows.Forms/ToolTip.cs,
  3110. System.Windows.Forms/RadioButton.cs,
  3111. System.Windows.Forms/LinkLabel.cs,
  3112. System.Windows.Forms/Splitter.cs,
  3113. System.Windows.Forms/TextBoxBase.cs,
  3114. System.Windows.Forms/ToolStripTextBox.cs,
  3115. System.Windows.Forms/ContainerControl.cs,
  3116. System.Windows.Forms/ThemeWin32Classic.cs,
  3117. System.Windows.Forms/SizeGrip.cs,
  3118. System.Windows.Forms/ToolStripDropDown.cs,
  3119. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  3120. private. switch all uses over to Control.Parent.
  3121. 2006-12-06 Chris Toshok <[email protected]>
  3122. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  3123. Control does this before calling emitting these events.
  3124. * TabControl.cs: same.
  3125. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  3126. Control.client_rect.
  3127. * ButtonBase.cs: use the ClientSize property instead of the
  3128. client_size field.
  3129. * ScrollableControl.cs: same.
  3130. * Control.cs: another pass at making properties private. also,
  3131. move the initialization of tab_stop to the ctor.
  3132. 2006-12-05 Andreia Gaita <[email protected]>
  3133. * TabControl.cs: Let the selected index be set freely if the
  3134. control handle is not yet created.
  3135. 2006-12-05 Jonathan Pobst <[email protected]>
  3136. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  3137. internal until I can rewrite DefaultLayout.
  3138. * ToolStrip.cs: Fix build error and some general cleaning.
  3139. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  3140. Fix build errors caused by making some of Control's fields private.
  3141. 2006-12-05 Jackson Harper <[email protected]>
  3142. * TextControl.cs: Redo Insert a little so that it use IndexOf
  3143. instead of Split, this prevents it from messing up on things like
  3144. \n\n\n. Also more effecient since the split array doesn't need to
  3145. be created.
  3146. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  3147. multiline text differently, this is the first of many fixes that
  3148. will make multiline/non-multiline the same thing as far as the
  3149. TextBoxBase is concerned.
  3150. - Don't split the text and insert lines, this can lose some line
  3151. endings (like is the last line a soft or hard break). Instead use
  3152. the new Insert.
  3153. - Fix an off by one when combining all the lines in the Text
  3154. getter.
  3155. - Remove separate multiline handling from the Text getter/setter.
  3156. 2006-12-05 Chris Toshok <[email protected]>
  3157. * ButtonBase.cs: a few changes:
  3158. - don't reinitialize internal Control fields in the ctor when they
  3159. have the same values as Control sets them.
  3160. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  3161. this before calling those methods.
  3162. - we don't need to call Refresh for anything. use Invalidate
  3163. instead.
  3164. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  3165. calls Refresh in its OnEnabledChanged.
  3166. - several of the events we were registered for in the ctor to
  3167. redraw ourselves already include calls to Invalidate in the
  3168. property setters that raise the events. remove the extra
  3169. invalidation.
  3170. - reformat a switch statement that was 83274658 columns wide.
  3171. 2006-12-05 Mike Kestner <[email protected]>
  3172. * ComboBox.cs: fix a unit test regression from a TextBox
  3173. SelectionLength return of -1 when there's no selection.
  3174. 2006-12-05 Chris Toshok <[email protected]>
  3175. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  3176. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  3177. cleaning up some of the internal Control fields being used by
  3178. subclasses.
  3179. 2006-12-05 Mike Kestner <[email protected]>
  3180. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  3181. listbox after AddImplicit calls since it defaults to hidden. Add a
  3182. hack to preserve requested heights across DropDownStyle changes.
  3183. 2006-12-05 Jonathan Pobst <[email protected]>
  3184. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  3185. 2006-12-05 Chris Toshok <[email protected]>
  3186. * DataGridView.cs: fix compiler warnings.
  3187. * PrintControllerWithStatusDialog.cs: same.
  3188. * ToolBar.cs: same.
  3189. * FolderBrowserDialog.cs: same.
  3190. * Splitter.cs: same.
  3191. * DataGridViewComboBoxCell.cs: same.
  3192. * XplatUIWin32.cs: same.
  3193. * PictureBox.cs: same.
  3194. * Win32DnD.cs: same.
  3195. * PageSetupDialog.cs: same.
  3196. * FileDialog.cs: same.
  3197. * PrintDialog.cs: same.
  3198. * DataGridTextBoxColumn.cs: same.
  3199. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  3200. 2006-12-05 Chris Toshok <[email protected]>
  3201. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  3202. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  3203. System.ComponentModel.EventHandlerList work.
  3204. 2006-12-05 Jonathan Chambers <[email protected]>
  3205. * DrawTreeNodeEventArgs.cs: Added.
  3206. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3207. * InternalWindowManager.cs: Remove an unused field.
  3208. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3209. * InternalWindowManager.cs:
  3210. - Save the point where the title bar is clicked.
  3211. * MdiWindowManager.cs:
  3212. - Only allow moving of the window as long as the
  3213. clicked point on the title bar does not get out of
  3214. MdiClient's rectangle. Fixes #79982.
  3215. * MdiClient.cs:
  3216. - Added Horizontal/VerticalScrollbarVisible.
  3217. - Simplified the scrollbar sizing algorithm.
  3218. - Cache the difference in scrolled value in
  3219. H/VBarValueChanged and move the calculation out
  3220. of the for loop.
  3221. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3222. * Control.cs: Make the Console.WriteLine in WndProc
  3223. write more info.
  3224. 2006-12-05 Chris Toshok <[email protected]>
  3225. * ToolStripManager.cs, ToolStripButton.cs,
  3226. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  3227. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  3228. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  3229. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  3230. ToolStripProgressBar.cs, ToolStripContainer.cs,
  3231. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  3232. to using System.ComponentModel.EventHandlerList.
  3233. 2006-12-04 Chris Toshok <[email protected]>
  3234. * LinkLabel.cs: fix up compiler warnings.
  3235. * TableLayoutSettings.cs: same.
  3236. * TreeView.cs: same.
  3237. * ToolBar.cs: same.
  3238. * TabControl.cs: same.
  3239. * RichTextBox.cs: same.
  3240. * ListViewItem.cs: same.
  3241. * PropertyGrid.cs: same.
  3242. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  3243. * ToolTip.cs same.
  3244. * TextRenderer.cs: fix up compiler warnings.
  3245. * Label.cs: same.
  3246. * Form.cs: corcompare fixes.
  3247. * PictureBox.cs: fix up compiler warnings.
  3248. * ImageListStreamer.cs: same.
  3249. * TrackBar.cs: corcompare fix.
  3250. * Control.cs: fix up compiler warnings.
  3251. * SplitterPanel.cs: same.
  3252. * NumericTextBox.cs: same.
  3253. * ImageList.cs: same.
  3254. * StatusStrip.cs: same.
  3255. * ProgressBar.cs: corcompare fix.
  3256. * ToolStripButton.cs: fix up compiler warnings.
  3257. * ToolStripStatusLabel.cs: same.
  3258. * ToolStripSplitButton.cs: same.
  3259. * ToolStripSeparator.cs: same.
  3260. * ToolStripProgressBar.cs: same.
  3261. * ToolStripDropDownMenu.cs: same
  3262. * ToolStripDropDown.cs: same.
  3263. * ToolStripDropDownButton.cs: same.
  3264. * ToolStrip.cs: same.
  3265. * ToolStripControlHost.cs: same.
  3266. * ToolStripContentPanel.cs: same.
  3267. * ToolStripDropDown.cs: same.
  3268. * ToolStripContainer.cs: same.
  3269. * ToolStripPanel.cs: same, and add "new" where we need it to work
  3270. with the new ArrangedElementCollection.
  3271. * ToolStripItemCollection.cs: add "new" where we need it to work
  3272. with the new ArrangedElementCollection.
  3273. 2006-12-04 Andreia Gaita <[email protected]>
  3274. * TabControl.cs: Fix default tab selection to after TabControl
  3275. gets focus and not before. Fixes #80128
  3276. 2006-12-04 Chris Toshok <[email protected]>
  3277. * DataGridTableStyle.cs: remove the gross calling of
  3278. datagrid.Refresh from here. It's a broken idea and it doesn't
  3279. work anyway.
  3280. * DataGrid.cs: instead, just register/unregister from the
  3281. DataGridTableStyle events in CurrentTableStyle. we play it
  3282. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  3283. even though some would most likely not require it. Fixes bug
  3284. #80115 (and one portion of #80117 as a side effect).
  3285. 2006-12-04 Chris Toshok <[email protected]>
  3286. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  3287. so the textbox (if any) goes away. Fixes bug #80117.
  3288. 2006-12-04 Chris Toshok <[email protected]>
  3289. * DataGridColumnStyle.cs: set the column's readonly property
  3290. initially based on the property descriptor's IsReadOnly. Fixes
  3291. bug #80044.
  3292. 2006-12-04 Chris Toshok <[email protected]>
  3293. * ComboBox.cs: wrap the dropdown style changing work in
  3294. SuspendLayout/ResumeLayout. Fixes bug #79968.
  3295. 2006-12-04 Jackson Harper <[email protected]>
  3296. * TextBoxBase.cs: Fix off by one, since these are one-based.
  3297. * TextBox.cs: Select all the text when we get focus. The TextBox
  3298. does this but the RTB does not.
  3299. 2006-12-04 Chris Toshok <[email protected]>
  3300. * DataGridTextBoxColumn.cs: remove some spew.
  3301. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  3302. but some part of me is saying "it shouldn't be here.." At any
  3303. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  3304. setting the value.
  3305. 2006-12-04 Chris Toshok <[email protected]>
  3306. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  3307. to reassign the propertydescriptor.
  3308. 2006-12-04 Jackson Harper <[email protected]>
  3309. * TextBoxBase.cs:
  3310. * TextControl.cs: Remove some unused variables. Maybe this will
  3311. patch things up between mike and I.
  3312. - don't split lines less then one char wide, if the viewport is
  3313. that small text won't be visible anyways.
  3314. 2006-12-04 Jackson Harper <[email protected]>
  3315. * TextBoxBase.cs: Default selection length is -1, need to do some
  3316. more testing on windows to see when this is used for the property.
  3317. - Redid the Lines [] property to that we properly remove soft line
  3318. breaks
  3319. - added support for preserving carriage returns
  3320. - CanUndo is not a variable like 'is undo enabled' it just returns
  3321. true if there is undo operations available.
  3322. - AppendText doesn't need to grab the last tag itself anymore,
  3323. this happens automatically when we move the cursor.
  3324. * TextControl.cs: Add CompoundActions to the undo class. This
  3325. allows combining the other operations into one big option. ie a
  3326. paste will combine { delete old, insert new, move cursor }
  3327. - Add InsertString undo operation
  3328. - New method for deleting multiline text
  3329. - Add carriage returns to lines. So we can preserve carriage
  3330. returns when text is 'roundtripped'
  3331. 2006-12-04 Chris Toshok <[email protected]>
  3332. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  3333. minimum 0. Fixes the scrollbar exception in bug #80136.
  3334. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3335. * MdiClient.cs:
  3336. * MdiWindowManager: Removed unused fields and methods.
  3337. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3338. * StatusBar.cs: Update all panels when a AutoSize=Contents
  3339. panel needs updating.
  3340. * StatusBarPanel.cs: Remove twidth and only use initialize.
  3341. Fixes #80031.
  3342. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3343. * Form.cs: When a form's MdiParent is set add it directly
  3344. on top of the z-order in stead of relying on MdiClient's
  3345. ActivateChild to do it. Fixes #80135.
  3346. * MdiClient.cs:
  3347. - Remove original_order, mdi_child_list is already doing
  3348. the same thing.
  3349. - Create mdi_child_list on construction in
  3350. stead of first use (avoids a few null checks).
  3351. * MenuItem.cs: Use an already existing list of mdi children
  3352. to get the correct order of children and remove the other
  3353. redundant list.
  3354. 2006-12-04 Chris Toshok <[email protected]>
  3355. * PropertyGridView.cs: cached_splitter_location is only used in
  3356. !DOUBLEBUFFER code.
  3357. * PropertyGrid.cs: implement the ComComponentNameChanged event
  3358. using Events, hoping that would fix the warning. Looks like a
  3359. compiler bug instead (#80144).
  3360. * PropertyManager.cs: remove unused method.
  3361. 2006-11-04 Everaldo Canuto <[email protected]>
  3362. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  3363. include parentesis to fix expression evaluation. Fixes #79634.
  3364. 2006-11-02 Everaldo Canuto <[email protected]>
  3365. * MenuAPI.cs:
  3366. - Changes to fix behavior in Menu control, some reported in #80097
  3367. and other detected during behavior refactory like a select event
  3368. problems.
  3369. - Remove unneded "if's" conditions.
  3370. - Created an internal to flag when popup is active in control, we need
  3371. it because in .NET you can have menu active but without popup active
  3372. when you active menu using popup without visible items.
  3373. - Mimic win32 behavior for Select and Popup events.
  3374. - Dont open popup menu when you dont have visible subitems.
  3375. - Do nothing when click on disabled menu item.
  3376. - Some small changes to follow the coding style guidelines.
  3377. - Unselect menu only when another control gives focus. Fixes #80097.
  3378. - Remove unused code.
  3379. * MenuItem.cs: internal VisibleItems method to check if menu
  3380. theres visible subitems, it will be usefull to fix some
  3381. behavior in Menu control.
  3382. 2006-11-01 Everaldo Canuto <[email protected]>
  3383. * Timer.cs: Tag property for 2.0 profile.
  3384. 2006-12-01 Chris Toshok <[email protected]>
  3385. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  3386. * Win32DnD.cs: comment out some unused fields.
  3387. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  3388. some unused properties/methods.
  3389. * XplatUIX11.cs: fix MousePosition so we override the base class's
  3390. property instead of conflicting with it.
  3391. * PictureBox.cs: comment out some unused fields
  3392. * OSXStructs.cs: make some struct fields public.
  3393. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  3394. MousePosition so we override the base class's property instead of
  3395. conflicting with it.
  3396. * X11Dnd.cs: comment out some unused fields
  3397. * X11DesktopColors.cs: fix some struct field visibility to quiet
  3398. the compiler.
  3399. * X11Dnd.cs: remove some debug code.
  3400. * ThemeClearlooks.cs: comment out unused field.
  3401. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  3402. * ThemeGtk.cs: comment out some unused pinvokes.
  3403. * Timer.cs: remove some unused fields.
  3404. * ThemeClearlooks.cs: comment out unused field.
  3405. * UpDownBase.cs: comment out unused field.
  3406. * DataObject.cs: comment out unused field.
  3407. * DataGridBoolColumn.cs: reomve unused field.
  3408. * DataGrid.cs: remove unused field.
  3409. * Cursor.cs: remove old ToBitmap code.
  3410. * ControlPaint.cs: remove unused method.
  3411. * ScrollBar.cs: remove unused fields.
  3412. * ComboBox.cs: remove unused field, and chain up to
  3413. AccessibleObject ctor.
  3414. * ListBox.cs: remove unused field.
  3415. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  3416. * GridEntry.cs: remove unused fields.
  3417. * Binding.cs: remove unused fields.
  3418. * AxHost.cs: remove unused method.
  3419. * ContainerControl.cs: remove unused field.
  3420. * ScrollableControl.cs: remove unused fields.
  3421. 2006-12-01 Chris Toshok <[email protected]>
  3422. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  3423. the Where/WhereString stuff. it's easy enough to CWL
  3424. Environment.StackTrace.
  3425. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  3426. unused private fields.
  3427. 2006-12-01 Jackson Harper <[email protected]>
  3428. * TextControl.cs: Do not update the view while inserting multiline
  3429. text. If we update the view we might wrap lines, before entering
  3430. the new lines, which causes the new line insertion calculations to
  3431. be totally fubared.
  3432. - Remove an old TODO
  3433. - Make debug output a little nicer
  3434. 2006-12-01 Chris Toshok <[email protected]>
  3435. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  3436. 2006-12-01 Chris Toshok <[email protected]>
  3437. [ fix the majority of the CS0108 warnings we've been suppressing ]
  3438. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  3439. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  3440. to "LayoutToolBar" to quiet mcs.
  3441. * TabControl.cs: mark our ControlCollection class as 'new'.
  3442. * TextBoxBase.cs: mark some events as 'new'.
  3443. * Splitter.cs: TabStop is 'new'.
  3444. * ControlBindingsCollection.cs: mark a few methods as new since
  3445. they change the visibility from protected to public.
  3446. * RadioButton.cs: DoubleClick -> base class, and remove unused
  3447. HaveDoubleClick.
  3448. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  3449. events as new.
  3450. * NumericUpDown.cs: TextChanged -> base class.
  3451. * CheckedListBox.cs: mark our ObjectCollection class as new to
  3452. quiet mcs.
  3453. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  3454. muck with the base class.
  3455. * StatusBar.cs: fix some mcs warnings about Update being the same
  3456. name as a base class method.
  3457. * RichTextBox.cs: mark some events as new, and make them do things
  3458. to the base class impl.
  3459. * UserControl.cs: mark TextChanged as new, and have it manipulate
  3460. base.TextChanged.
  3461. * UpDownBase.cs: mark some things new.
  3462. * CheckBox.cs: mark DoubleClick "new", and add some text about
  3463. what we need to look at.
  3464. * Panel.cs: make the events "new", and manipulate the base
  3465. version. these are just here for attributes.
  3466. * AccessibleObject.cs: make owner private.
  3467. * Control.cs: deal with AccessibleObject.owner being private.
  3468. cache our own copy if we need it.
  3469. * Button.cs: add "new" to the DoubleClickEvent.
  3470. * ListBox.cs: no need to track our own has_focus here. let
  3471. Control.has_focus do it for us. Also some other work to clear up
  3472. warnings about not overriding base class methods of the same name.
  3473. * ComboBox.cs: clear up some warnings about not override base
  3474. class methods of the same name.
  3475. 2006-12-01 Chris Toshok <[email protected]>
  3476. * Form.cs: flag a few things as "new" to quiet some of the mcs
  3477. warnings.
  3478. * AxHost.cs: same.
  3479. * PrintPreviewDialog.cs: same.
  3480. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  3481. now DGV isn't so horrible on the class status page. also, move
  3482. all events to using System.ComponentModel.EventHandlerList. my
  3483. wrists hurt.
  3484. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  3485. * MdiWindowManager.cs:
  3486. - Set form to active mdi child if shown,
  3487. and update the active mdi child to the next
  3488. remaining child in the z-order if the form is hidden.
  3489. * Form.cs:
  3490. - Track if the form has been visible and if its
  3491. visibility is beeing changed, so that the MdiClient
  3492. can properly decide the ActiveMdiChild. The MdiClient
  3493. cannot track this since the form can change visibility
  3494. before MdiClient is created.
  3495. * MdiClient.cs:
  3496. - Don't activate anything of the parent form is changing
  3497. its visibility.
  3498. - Rework ActiveMdiChild to only return visible mdi
  3499. children and take into account several other corner
  3500. cases.
  3501. 2006-12-01 Chris Toshok <[email protected]>
  3502. * IBindableComponent.cs: new 2.0 interface.
  3503. 2006-12-01 Gert Driesen <[email protected]>
  3504. * DataGrid.cs: Font for caption area is bold by default.
  3505. 2006-12-01 Everaldo Canuto <[email protected]>
  3506. * Menu.cs: Tag property for 2.0.
  3507. 2006-11-01 Everaldo Canuto <[email protected]>
  3508. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  3509. 2006-12-01 Chris Toshok <[email protected]>
  3510. * TreeView.cs: doh, the Begin* events should be
  3511. TreeViewCancelEventHandler.
  3512. 2006-12-01 Chris Toshok <[email protected]>
  3513. * Form.cs: Form.ControlCollection already stores off the
  3514. form_owner field. don't access the base class's internal "owner"
  3515. field.
  3516. * Control.cs: make all the fields in Control.ControlCollection
  3517. private. there's no need for any internal fields here.
  3518. 2006-12-01 Chris Toshok <[email protected]>
  3519. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  3520. OnHandleCreated. Fixes bug #80109.
  3521. 2006-12-01 Chris Toshok <[email protected]>
  3522. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  3523. SplitContainer.cs, Control.cs, StatusStrip.cs,
  3524. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  3525. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  3526. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  3527. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  3528. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  3529. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  3530. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  3531. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  3532. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  3533. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  3534. do most of the work to convert our code over to use
  3535. System.ComponentModel.Component.Events for
  3536. adding/removing/dispatching events.
  3537. 2006-11-30 Jonathan Pobst <[email protected]>
  3538. * DataGridView.cs: Fix an ArgumentNullException reported
  3539. twice today in IRC.
  3540. 2006-11-30 Mike Kestner <[email protected]>
  3541. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  3542. grabbed listbox. Fixes #80036 and #80101.
  3543. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3544. * Message.cs: Changed ToString() to match MS.
  3545. 2006-11-30 Jackson Harper <[email protected]>
  3546. * TextBoxBase.cs: You can still change the selected text on a read
  3547. only textbox.
  3548. * TextControl.cs: Lower magic number for wrap calculations. This
  3549. lets text get closer to the right (far) edge.
  3550. 2006-11-30 Jonathan Pobst <[email protected]>
  3551. * Control.cs: Tweak 2.0 layout properties.
  3552. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  3553. * TextRenderer.cs: Add a new overload.
  3554. * ToolStrip*: Huge amount of changes and new features.
  3555. 2006-11-30 Mike Kestner <[email protected]>
  3556. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  3557. scroll range correct. Fixes #79994.
  3558. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3559. * MdiWindowManager.cs: Update main form's text when
  3560. a form is closed. (fixes #80038)
  3561. 2006-11-30 Everaldo Canuto <[email protected]>
  3562. * ToolBar.cs:
  3563. - Fix an regression in ButtonSize.
  3564. - Get ImeMode default value change to "Disable".
  3565. - Get ShowTooltips default value change to true, default value is
  3566. "false" but after make a test in .NET we get "true" result as default.
  3567. 2006-11-29 Jonathan Pobst <[email protected]>
  3568. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  3569. 2006-11-29 Chris Toshok <[email protected]>
  3570. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  3571. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  3572. SetWindowTransparency hasn't been called.
  3573. 2006-11-29 Chris Toshok <[email protected]>
  3574. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  3575. if it's supported.
  3576. (set_AllowTransparency): reorder things a little so that the
  3577. WS_EX_LAYERED style is removed properly.
  3578. 2006-11-29 Chris Toshok <[email protected]>
  3579. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  3580. * Form.cs: only call the XplatUI transparency method (get/set) if
  3581. SupportsTransparency says it's supported. Otherwise fallback to
  3582. doing nothing (in the set case) or returning the instance field we
  3583. cache (in the get case).
  3584. * XplatUIStructs.cs: add TransparencySupport flag enum.
  3585. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  3586. change to SupportsTransparency.
  3587. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  3588. TransparencySupport.None from SupportsTransparency.
  3589. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  3590. TransparencySupport.Set from SupportsTransparency.
  3591. * XplatUIWin32.cs: implement GetWindowTransparency calling
  3592. GetLayeredWindowAttributes, and implement SupportsTransparency by
  3593. checking whether or not both
  3594. GetWindowTransparency/SetWindowTransparency are available
  3595. entrypoints. We need to do this since SetWindowTransparency is
  3596. available as of win2k, but GetWindowTransparency requires winxp.
  3597. yay win32 api.
  3598. * XplatUI.cs: Add GetWindowTransparency, and change
  3599. SupportsTransparency to allow for either/both Get/Set.
  3600. 2006-11-29 Chris Toshok <[email protected]>
  3601. * DataGrid.cs: keep from going into an infinite loop redrawing a
  3602. datagrid that has no datasource. Fixes bug #80033.
  3603. 2006-11-29 Chris Toshok <[email protected]>
  3604. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  3605. Invalidate) before the mainmenu has been assigned to a control.
  3606. 2006-11-29 Chris Toshok <[email protected]>
  3607. * DataGrid.cs: detect when we should be double the double click
  3608. row/column autosize stuff, although that codepath has yet to be
  3609. written. part of the work for bug #79891.
  3610. 2006-11-29 Chris Toshok <[email protected]>
  3611. * Binding.cs (SetControl): fix unit test.
  3612. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  3613. * PageSetupDialog.cs: Validate the margins and set them in
  3614. PageSettings.
  3615. * NumericTextBox.cs: New class to mimic the behavior of the
  3616. textboxes used in the printing dialogs.
  3617. 2006-11-29 Andreia Gaita <[email protected]>
  3618. * Form.cs: Revert previous change (remove call UpdateBounds
  3619. from form constructor), because it messes with the handle creation
  3620. order, and that one needs lots and lots of love.
  3621. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  3622. for valid printer and throw InvalidPrinterException if document
  3623. is set but printer not valid), adding a MonoTODO. Once
  3624. handle creation is done properly, we can put this back in.
  3625. 2006-11-28 Everaldo Canuto <[email protected]>
  3626. * MenuItem.cs: Create a invalidate method for menu item, to be
  3627. calling from set text, it make text changes to imadiate update
  3628. on screen. Fixes #80013.
  3629. 2006-11-28 Everaldo Canuto <[email protected]>
  3630. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  3631. fixes bug #80070 and some other problem on toolbar buttons
  3632. layout.
  3633. 2006-11-28 Everaldo Canuto <[email protected]>
  3634. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  3635. with dotted brush. Fixes #79564
  3636. 2006-11-28 Andreia Gaita <[email protected]>
  3637. * Form.cs: Removed call to UpdateBounds on Form
  3638. constructor, it was causing a call to CreateHandle
  3639. before it was supposed to.
  3640. * PrintControllerWithStatusDialog: Applied patch
  3641. by Chris Toshok to hide controller when there are
  3642. no printers available.
  3643. PrintDialog.cs: initialize printer settings to
  3644. null - correct DefaultValues test #5
  3645. * PrintPreviewControl.cs: Move PrintController
  3646. initialization to GeneratePreview
  3647. * PrintPreviewDialog.cs:
  3648. - Remove Preview generation from Document_set(). It is
  3649. called on OnPaint
  3650. - Throw InvalidPrinterException on CreateHandle if
  3651. a Document is set but there are no printers or
  3652. printer is not valid.
  3653. * ThemeWin32Classic: don't paint PrintPreviewControl
  3654. if there is nothing to paint
  3655. 2006-11-28 Miguel de Icaza <[email protected]>
  3656. * Form.cs: Add another popular method.
  3657. * TabPage.cs: ditto.
  3658. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3659. * MenuItem.cs: Fixed a warning.
  3660. * InternalWindowManager: Fixed a warning.
  3661. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3662. * MenuItem.cs:
  3663. - When cloning a menu also clone MdiList and clone the
  3664. window menu items properly (as the forms and menuitems
  3665. are kept in an internal hashtable, these need updating
  3666. as well)
  3667. - Rewrote the window menu code, menu items are added in the
  3668. order the forms were added to their parent, and they are
  3669. updated every time the window menu is shown (before the
  3670. list was only generated once, in the current order of the
  3671. forms, and would never be updated). A checkmark is shown
  3672. next to the item corresponding to the active mdi child.
  3673. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3674. * XplatUIStructs.cs:
  3675. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  3676. * XplatUIWin32.cs:
  3677. - Added TME_NONCLIENT to TMEFlags.
  3678. - Handles WM_NCMOUSEMOVE in GetMessage to
  3679. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  3680. * MdiWindowManager:
  3681. - Now merges mdi child menu to parent menu when maximized.
  3682. - Recalculate NC areas of both mdi child and mdi parent.
  3683. Fixes #79757 (4).
  3684. on window state and size changes.Fixes #79844 (3).
  3685. - Handle WM_NCCALCSIZE to properly calculate borders.
  3686. * Form.cs:
  3687. - Add/remove to the mdi containers list of mdi children
  3688. in the order they are added.
  3689. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  3690. to the maximized mdi child.
  3691. * InternalWindowManager.cs:
  3692. - Only execute a click on the control buttons on the mouse up,
  3693. not on the mouse down. Show the state of the button
  3694. (was only showing Normal state, never Pressed state). The
  3695. pressed button now follows the mouse (if you click the Close
  3696. button and move the mouse over the Maximize button, the
  3697. Maximize button will be shown as pressed). Since Win32 does
  3698. not generate WM_NCLBUTTONUP if you release the button outside
  3699. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  3700. it as a mouse up.
  3701. * ThemeWin32Classic.cs:
  3702. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  3703. * MdiClient.cs:
  3704. - Added a list of forms which contains the order the forms are
  3705. added to the mdi parent.
  3706. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  3707. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  3708. - If the active form changes set the scrollbars to the top
  3709. of the Z order, otherwise the form could hide them.
  3710. - Scrollbars are now sized according to ClientSize, not
  3711. to Size, and they take into account the other scrollbar
  3712. to determine maximum.
  3713. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3714. * XplatUI.cs:
  3715. * XplatUIDriver.cs:
  3716. * XplatUIX11.cs:
  3717. * XplatUIWin32.cs:
  3718. * XplatUIOSX.cs:
  3719. - Added RequestAdditionalWM_NCMessages for windows to
  3720. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  3721. Currently only implemented in XplatUIWin32.
  3722. 2006-11-27 Chris Toshok <[email protected]>
  3723. * Hwnd.cs: only add the hwnd to the windows hash in
  3724. set_WholeWindow and set_ClientWindow if whole_window/client_window
  3725. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  3726. 2006-11-27 Mike Kestner <[email protected]>
  3727. * ComboBox.cs: remove redundant OnDropDown call. It is called
  3728. from the ComboListBox.ShowWindow code. Fixes #79969.
  3729. 2006-11-27 Chris Toshok <[email protected]>
  3730. * Hwnd.cs: remove the setters for ExposePending and
  3731. NCExposePending - noone uses them.
  3732. 2006-11-27 Jackson Harper <[email protected]>
  3733. * TextControl.cs: new param for ReplaceSelection which determines
  3734. whether we select the new selection, or set the cursor to the end
  3735. of the new selection.
  3736. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  3737. pasting, select the new text.
  3738. * RichTextBox.cs: Use new param for ReplaceSelection.
  3739. 2006-11-27 Jackson Harper <[email protected]>
  3740. * TextBoxBase.cs: Set the selection to the caret after the caret
  3741. is moved, otherwise they get out of sync.
  3742. 2006-11-26 Everaldo Canuto <[email protected]>
  3743. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  3744. it fixes #80015
  3745. 2006-11-26 Everaldo Canuto <[email protected]>
  3746. * ThemeWin32Classic.cs:
  3747. - Fix toolbar drop down arrow position.
  3748. - Fix drop down appearance when ToolBar.Appearance is normal,
  3749. it fixes #80018.
  3750. 2006-11-26 Gert Driesen <[email protected]>
  3751. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  3752. * Control.cs: Same.
  3753. * UpDownBase.cs: Same.
  3754. * ButtonBase.cs: Same.
  3755. * ScrollBar.cs: Same.
  3756. * TrackBar.cs: Same.
  3757. * PictureBox.cs: Same.
  3758. * UserControl.cs: Same.
  3759. * Label.cs: Same.
  3760. * ListControl.cs: Same.
  3761. * TextBoxBase.cs: Same.
  3762. * ListView.cs: Same.
  3763. * RichTextBox.cs: Same.
  3764. * TreeView.cs: Same.
  3765. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  3766. * PrintDialog.cs:
  3767. - Text label for where
  3768. - Text label comment was not shown
  3769. 2006-11-23 Everaldo Canuto <[email protected]>
  3770. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  3771. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3772. * InternalWindowManager.cs:
  3773. - Handle WM_PARENTNOTIFY to activate the form
  3774. if any child control is clicked.
  3775. - The form is only sizable if not minimized.
  3776. * MdiWindowManager.cs:
  3777. - Save the IconicBounds if the form is moved.
  3778. - Rework SetWindowState, now the window bounds
  3779. are stored only if the old window state is Normal.
  3780. * MdiClient.cs:
  3781. - In SetWindowStates store the old window state if
  3782. the window is maximized and restore window state if
  3783. the window looses focus.
  3784. - Don't handle any scrollbar value changes if
  3785. initializing the scroll bars. Fixes #79771.
  3786. - Reworked ArrangeIconicWindows. Current algorithm
  3787. tests bounds agains all other minimized windows, if
  3788. any intersections create new bounds (going left to
  3789. right, bottom to top) and then test again. When
  3790. successful the bounds are saved and never computed
  3791. again. Fixes #79774.
  3792. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3793. * InternalWindowManager.cs: Added HandleTitleBarUp.
  3794. 2006-11-23 Gert Driesen <[email protected]>
  3795. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  3796. hexadecimal in ParseUserEdit.
  3797. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3798. * MdiWindowManager.cs:
  3799. - Handle a click on the form's icon to show the
  3800. system menu (when maximized). Fixes #79775.
  3801. - Change the existing click handler for the form's
  3802. icon when not maximized to show on MouseUp.
  3803. Fixes #79776.
  3804. * Form.cs: In OnResize only layout the mdi child's
  3805. parent if it actually has a parent. Might not if
  3806. the window is closing.
  3807. 2006-11-23 Gert Driesen <[email protected]>
  3808. * MdiClient.cs: Ignore active MDI client for text of parent, if
  3809. child has no text set.
  3810. 2006-11-23 Gert Driesen <[email protected]>
  3811. * ToolBar.cs: Fixed ToString to match MS.
  3812. 2006-11-22 Andreia Gaita <[email protected]>
  3813. * NumericUpDown:
  3814. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  3815. update inner values on set. Fixes #79966.
  3816. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  3817. - Fix hexadecimal parsing.
  3818. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  3819. parent. Fixes #79957
  3820. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  3821. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  3822. the actual size has to be queried, since if height /
  3823. width is negative Win32 changes it to 0.
  3824. Fixes #79999 on Windows.
  3825. * XplatUIX11.cs: Set height / width to 0 if negative
  3826. in SetWindowPos. Fixes #79999 on Linux.
  3827. 2006-11-22 Everaldo Canuto <[email protected]>
  3828. * ThemeWin32Classic.cs: Fix text redenring when button is
  3829. pressed.
  3830. 2006-11-22 Everaldo Canuto <[email protected]>
  3831. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  3832. and later navigate by mouse. Fixes #79528.
  3833. 2006-11-21 Everaldo Canuto <[email protected]>
  3834. * ToolBar.cs: Set default value for TabStop to false in
  3835. constructor, it fixes remaining behavior of bug #79863.
  3836. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  3837. * MdiWindowManager.cs:
  3838. * InternalWindowManager.cs:
  3839. - Moved a few methods specific to Mdi from
  3840. InternalWindowManager to MdiWindowManager.
  3841. Fixes #79996.
  3842. 2006-11-21 Chris Toshok <[email protected]>
  3843. * XplatUIOSX.cs: stub out InvalidateNC.
  3844. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  3845. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  3846. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  3847. * XplatUIDriver.cs: add InvalidateNC abstract method.
  3848. * XplatUI.cs: add InvalidateNC.
  3849. 2006-11-21 Everaldo Canuto <[email protected]>
  3850. * ToolBar.cs: Invalidate complete button area when pressed status
  3851. was changed.
  3852. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  3853. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  3854. by 1 when button is pressed.
  3855. 2006-11-20 Everaldo Canuto <[email protected]>
  3856. * ToolButton.cs: Invalidate middle of DropDown button when
  3857. ToolBar theres DropDownArrows.
  3858. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  3859. fix DropDown drawing operations.
  3860. 2006-11-20 Chris Toshok <[email protected]>
  3861. * NativeWindow.cs: fix the formatting of functions ('{' on the
  3862. following line), and enable the thread exception dialog.
  3863. * Application.cs: remove the duplicate exception catching from
  3864. here.
  3865. 2006-11-20 Everaldo Canuto <[email protected]>
  3866. * Toolbar.cs: Triggers button click event when click on icon
  3867. of dropdown ToolBarButton. Fixes #79912.
  3868. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3869. * Theme.cs:
  3870. * ThemeWin32Classic.cs:
  3871. - Added a property WindowBorderFont to enable themeing
  3872. of mdi child windows' Text.
  3873. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3874. * InternalWindowManager.cs:
  3875. * Form.cs:
  3876. * MdiClient.cs:
  3877. * MdiWindowManager.cs:
  3878. - If mdi child is maximized, set mdi parent's
  3879. text to "Parent - [Child]". Fixes #79770.
  3880. - If there is any maximized mdi child windows, only the active
  3881. window (and any new windows) is maximized, the rest are normal.
  3882. - On a WindowState change only save mdi child's window bounds
  3883. if the old window state was normal. Fixes #79774.
  3884. - The scroll bars are now calculated on hopefully all
  3885. necessary events. Fixed #79771 / #79844->6 / #79906.
  3886. - MdiClient.SizeScrollBars() now takes into account docked
  3887. controls in the parent when calculating available space.
  3888. - InternalWindowManager now always repaints the entire title
  3889. area. Fixes #79844->1/4/5.
  3890. - Added RequestNCRecalc on mdi child windowstate changes.
  3891. Fixes #79772.
  3892. 2006-11-20 Mike Kestner <[email protected]>
  3893. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  3894. in the MouseUp handler of the listbox and move the return handling
  3895. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  3896. 2006-11-20 Everaldo Canuto <[email protected]>
  3897. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  3898. 2006-11-17 Alexander Olk <[email protected]>
  3899. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  3900. working in 1.2.x anymore. So, updated.
  3901. 2006-11-19 Gert Driesen <[email protected]>
  3902. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  3903. NumberGroupSeparator of current culture instead of assuming en-US.
  3904. Fixed bug #79967.
  3905. 2006-11-17 Mike Kestner <[email protected]>
  3906. * Control.cs: Add the concept of implicit bounds setting so that
  3907. dock/undock round trips preserve explicitly set size/locations.
  3908. Fixes #79313.
  3909. 2006-11-17 Alexander Olk <[email protected]>
  3910. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  3911. can't handle those filters. (Fixes bug #79961)
  3912. 2006-11-17 Chris Toshok <[email protected]>
  3913. [ fixes the exit/crashes associated with #79835. it's clearly
  3914. suboptimal though, we need to figure out a better way to solve
  3915. this. ]
  3916. * PrintPreviewControl.cs: deal with the new invalid printer
  3917. exceptions.
  3918. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  3919. and return false (so CommonDialog.ShowDialog doesn't actually show
  3920. the form.)
  3921. * PrintDialog.cs: enable/disable the Ok button depending on
  3922. whether or not the printer is valid.
  3923. * CommonDialog.cs (ShowDialog): only actually show the form if
  3924. RunDialog returns true.
  3925. 2006-11-17 Jackson Harper <[email protected]>
  3926. * TextControl.cs: When soft splitting a line, mark it as a soft
  3927. split line. Also carry over the current line break to the next
  3928. line.
  3929. 2006-11-17 Chris Toshok <[email protected]>
  3930. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  3931. only want to shift the part of the invalid area that overlaps the
  3932. area we're scrolling. we also don't want to clear the invalid
  3933. area unless the invalid area was entirely contained within the
  3934. scrolling area.
  3935. 2006-11-16 Chris Toshok <[email protected]>
  3936. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  3937. also make sure to free the memory returned by XGetWindowProperty
  3938. in GetText().
  3939. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  3940. 2006-11-16 Chris Toshok <[email protected]>
  3941. * XplatUI.cs: add a new super secret way to get at the totally
  3942. unsupported X11 backend.
  3943. 2006-11-16 Gert Driesen <[email protected]>
  3944. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  3945. 2006-11-16 Jackson Harper <[email protected]>
  3946. * TreeView.cs: Allow more explicit setting of top node position
  3947. for scrollbars. Slower algo, but more accurate.
  3948. - CollapseAll should maintain the current top node.
  3949. * TextBoxBase.cs: When positioning the caret, use the line, pos
  3950. method, since the x, y method does not grab the correct tag, and
  3951. the caret height never gets set correctly. (Maybe I should just do
  3952. away with the caret having its own height, and always use the
  3953. carets current tag for height).
  3954. 2006-11-16 Jonathan Pobst <[email protected]
  3955. [Fixes 79778, 79923]
  3956. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  3957. Parent to the FosterParent instead.
  3958. 2006-11-16 Jackson Harper <[email protected]>
  3959. * TreeView.cs: Need to recalc the topnode when we expand or
  3960. collapse. The scrolling methods can't handle this on their own,
  3961. since they use differences between the last scroll position, and
  3962. those difference get completely messed up since we are expanding
  3963. nodes. This problem should probably be fixed in the scrolling
  3964. methods, so they can figure out exactly where they are, but this
  3965. will slow things down a little.
  3966. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  3967. strings, makes nunit-gui look a lot nicer.
  3968. 2006-11-16 Chris Toshok <[email protected]>
  3969. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  3970. the broken multithreaded event handling we have in here. File
  3971. this entry under "Why we should move to the new X11 backend".
  3972. Any thread can make it into UpdateMessageQueue, which gets events
  3973. from the X socket - some of which could belong to hwnds being
  3974. managed by a different thread. We can also have multiple threads
  3975. in UpdateMessageQueue at the same time, with each one reading from
  3976. the X socket. This leads to many problems, with the following
  3977. solutions:
  3978. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  3979. EnqueueLocked.
  3980. The MotionNotify compression we do can't work across threads
  3981. (without locking the entire queue, perhaps) since we call
  3982. hwnd.Queue.Peek, so we just punt and don't compress motion events
  3983. unless the owning thread is the one which got the X event.
  3984. ConfigureNotify is another fun one, since it modifies the hwnd's
  3985. bounds and then enqueues the event. We add a lock to Hwnd which
  3986. is held when setting configure_pending to true (and enqueuing the
  3987. event).
  3988. There is a race wrt the wake socket. we need to make sure that
  3989. only 1 thread is waiting on that socket, or else a thread could
  3990. sleep waiting for data that never comes. It's difficult (but not
  3991. impossible) to make happen, because it seems to require something
  3992. like the following:
  3993. 1. Thread 1 polls on wake_receive
  3994. 2. poll returns saying there's data to be read on
  3995. wake_receive.
  3996. 3. Thread 2 polls on wake_receive and immediately returns
  3997. saying there's data to be read.
  3998. 4. Thread 2 reads the wakeup byte from wake_receive
  3999. 5. Thread 1 attempts to read the wakeup byte from
  4000. wake_receive.
  4001. 6. Thread 2 exits (due to a form closing, perhaps).
  4002. 7. Thread 1 blocks forever.
  4003. Fun, eh?
  4004. Fixing the Expose handling isn't done yet, and the races inherent
  4005. in that piece of code are responsible for the drawing mistakes you
  4006. see when generating expose events in a MT app (like NPlot). This
  4007. one is the likely to be the hardest to bandaid, and it doesn't
  4008. appear to cause anything but drawing problems. The other issues
  4009. caused apps to exit or hang.
  4010. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  4011. called from a different thread than the one that should be calling
  4012. these functions.
  4013. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  4014. 2006-11-15 Chris Toshok <[email protected]>
  4015. * Application.cs: null out the context's MainForm when we exit
  4016. RunLoop. Fixes a newly checked in unit test as well as the last
  4017. ODE from bug #79933.
  4018. 2006-11-15 Chris Toshok <[email protected]>
  4019. * Form.cs (set_Owner): allow a null value so we can clear the
  4020. form's owner.
  4021. (Dispose): set all our owned_form's Owner properties to null, and
  4022. clear the owned_forms collection.
  4023. (WM_CLOSE): clean up this a little bit.. still not right though.
  4024. * ApplicationContext.cs: OnMainFormClosed should only call
  4025. ExitThreadCore if the main form isn't recreating. Fixes unit
  4026. test.
  4027. 2006-11-15 Jonathan Pobst <[email protected]>
  4028. [Fixes 78346]
  4029. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  4030. 2006-11-15 Jonathan Pobst <[email protected]>
  4031. [Fixes 79433]
  4032. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  4033. keep popup window types from stealing focus from the main form
  4034. on Windows.
  4035. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  4036. * MenuAPI.cs: Set above flag to true.
  4037. 2006-11-15 Chris Toshok <[email protected]>
  4038. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  4039. the button being released is not in wParam.
  4040. 2006-11-15 Jonathan Pobst <[email protected]>
  4041. * Form.cs: Add the released button to MouseEventArgs.Button
  4042. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  4043. on Win32.
  4044. 2006-11-15 Chris Toshok <[email protected]>
  4045. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  4046. GetText(). untested because it's unused in our implementation.
  4047. Control.Text always caches the text, even if
  4048. ControlStyles.CacheText is not set.
  4049. fixes bug #79939.
  4050. 2006-11-15 Chris Toshok <[email protected]>
  4051. [ fixes #79933 ]
  4052. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  4053. message. no hiding, no disposing.
  4054. in the WM_CLOSE handler, hide the form if it's modal.
  4055. 2006-11-15 Chris Toshok <[email protected]>
  4056. * XplatUIX11.cs: use AddExpose instead of sending a message.
  4057. fixes textbox border drawing.
  4058. 2006-11-15 Chris Toshok <[email protected]>
  4059. * PropertyGridView.cs: keep from crashing on mouse move/down when
  4060. the property grid is empty.
  4061. 2006-11-14 Jackson Harper <[email protected]>
  4062. * TextControl.cs: Make PageUp and PageDown more like the MS
  4063. versions.
  4064. * TextBoxBase.cs: When we set the text property position the
  4065. cursor at the beginning of the document.
  4066. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4067. * Form.cs: if a mdi child's WindowState has changed
  4068. before it's creation, it would display wrong control
  4069. buttons.
  4070. 2006-11-14 Alexander Olk <[email protected]>
  4071. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  4072. (Fixes bug #79927)
  4073. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4074. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  4075. the window gets to paint its borders even if the window is
  4076. getting smaller.
  4077. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  4078. otherwise the old control buttons would still be painted
  4079. if the window gets bigger.
  4080. * PaintEventArgs.cs: add an internal method so that the clip
  4081. rectangle can be changed.
  4082. 2006-11-13 Chris Toshok <[email protected]>
  4083. [ fixes bug #79745 ]
  4084. * NotifyIcon.cs: lots of cleanup.
  4085. * X11Structs.cs: add an enum for XEMBED messages.
  4086. * XplatUIX11.cs: reindent one of the giant switch statements, it
  4087. was taking up an additional tab stop, and this file is already way
  4088. too wide for my laptop's screen.
  4089. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  4090. we get it, resize the hwnd to the WMNormalHints max_width/height.
  4091. 2006-11-13 Jackson Harper <[email protected]>
  4092. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  4093. teh simple way.
  4094. 2006-11-13 Chris Toshok <[email protected]>
  4095. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  4096. #79898. force a reference to the Region to stick around so the
  4097. unmanaged object isn't collected (rendering our handle in the MSG
  4098. stale).
  4099. 2006-11-13 Chris Toshok <[email protected]>
  4100. * XplatUIX11.cs: fix #79917 for window managers which support
  4101. using XStoreName on the raw utf8, and we need to convert to
  4102. COMPOUND_TEXT if it's non-latin1.
  4103. 2006-11-13 Chris Toshok <[email protected]>
  4104. * Form.cs (set_DialogResult): we need to set closing to false if
  4105. we're setting our result to None. fixes bug #79908.
  4106. 2006-11-13 Jackson Harper <[email protected]>
  4107. * TextControl.cs: When formatting text, compute the adjusted tag
  4108. lengths correctly, using FindTag for the end tag instead of trying
  4109. to figure it out outselves.
  4110. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  4111. the item, ItemHeight doesn't work, because trees with large
  4112. imagelists use those for their height
  4113. * TreeView.cs: ActualItemHeight factors in the image height
  4114. - compute left edge of checkboxes correctly
  4115. - when expanding/collapsing move the bottom down one pixel, so we
  4116. aren't moving part of the node
  4117. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  4118. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  4119. stack in PaintEventStart so that it won't get disposed by the gc
  4120. before reaching PaintEventEnd.
  4121. 2006-11-13 Jackson Harper <[email protected]>
  4122. * TextBoxBase.cs: Don't select the word if we are on a line with
  4123. no text.
  4124. - We don't need to position the caret on mouse up, since the mouse
  4125. move handler should be doing this
  4126. - When double clicking a blank line, the caret is advanced to the
  4127. next line.
  4128. 2006-11-13 Gert Driesen <[email protected]>
  4129. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  4130. 2006-11-12 Gert Driesen <[email protected]>
  4131. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  4132. Fixes part of bug #79910.
  4133. 2006-11-11 Alexander Olk <[email protected]>
  4134. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  4135. (bug #79903). Some minor string updates to match ms.
  4136. 2006-11-10 Alexander Olk <[email protected]>
  4137. * FileDialog.cs: Don't add an extension if the filename
  4138. already ends with that extension.
  4139. 2006-11-10 Jackson Harper <[email protected]>
  4140. * TreeView.cs: Use the currently highlighted node for the
  4141. BeforeSelect event.
  4142. * TextBoxBase.cs: There is no need to expand selection on
  4143. MouseMove.
  4144. - CanUndo means 'is there any undo operations', not 'is undo
  4145. allowed on this textcontrol. Fixed ClearUndo unit test.
  4146. 2006-11-10 Andreia Gaita <[email protected]>
  4147. * Button.cs: only perform click when button is Selectable (so as
  4148. not to activate default buttons when they're disabled)
  4149. * Control.cs: Rewrite of the SelectNextControl and related
  4150. methods. HandleClick now selects next control if the current one
  4151. is being disabled.
  4152. * Form.cs: OnActivated selects next active control only if Load
  4153. has already occurred. If Load hasn't run, there's no point in
  4154. selecting here, Load might change the state of controls.
  4155. * FocusTest.cs: Tests marked as working again for these fixes
  4156. 2006-11-10 Chris Toshok <[email protected]>
  4157. * XplatUIX11.cs: a couple of fixes.
  4158. - use XInternAtoms with almost all the atoms we need to register,
  4159. instead of many, many calls to XInternAtom. should help a bit on
  4160. startup time, at the expense of making the code look a little
  4161. worse.
  4162. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  4163. isn't reparented (which seems to be a clue that we're running fon
  4164. compiz) and they have an Owner form. This fixes the tool windows
  4165. in paint.net when running under compiz.
  4166. - when setting the opacity of a window, support both the case
  4167. where the window has been reparented and also when it hasn't been.
  4168. Since compiz/beryl doesn't seem to reparent windows, and these are
  4169. the only window managers which support translucency, I'm not sure
  4170. why we need the hwnd.reparented case at all.. but leave it in.
  4171. now we get translucent windows in paint.net under compiz/beryl.
  4172. 2006-11-10 Alexander Olk <[email protected]>
  4173. * FileDialog.cs: Always return the value for FilterIndex that
  4174. was set. Internally convert it to values that make sense.
  4175. 2006-11-10 Everaldo Canuto <[email protected]>
  4176. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  4177. 2006-11-10 Everaldo Canuto <[email protected]>
  4178. * Toolbar.cs: Change default value of DropDownArrows to true, the
  4179. signature still using false to make it compatible with MS but the
  4180. initial value is true. Fixes #79855.
  4181. 2006-11-10 Alexander Olk <[email protected]>
  4182. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  4183. only available on Linux.
  4184. 2006-11-09 Everaldo Canuto <[email protected]>
  4185. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  4186. reduce number of calls to redraw method during toolbar creation.
  4187. 2006-11-09 Mike Kestner <[email protected]>
  4188. * ListView.cs : raise SelectedIndexChanged when an item is selected
  4189. programmatically via the Item.Selected property. Gert's nice
  4190. ListViewSelectedIndexChanged test fixture now runs clean.
  4191. 2006-11-09 Mike Kestner <[email protected]>
  4192. * ListView.cs : raise SelectedIndexChanged when a selected item is
  4193. removed from the item collection using Remove or RemoveAt.
  4194. 2006-11-09 Mike Kestner <[email protected]>
  4195. * ListView.cs : raise SelectedIndexChanged once per selected item
  4196. for compat with MS. Fixes #79849+.
  4197. 2006-11-09 Chris Toshok <[email protected]>
  4198. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  4199. we need to (if we have any tab pages). Fixes unit test.
  4200. 2006-11-09 Chris Toshok <[email protected]>
  4201. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  4202. width is 0, not 3. Fixes a unit test.
  4203. 2006-11-09 Mike Kestner <[email protected]>
  4204. * ListView.cs : use Implicit scrollbars so that focus isn't
  4205. stolen from the listview when they are clicked. Fixes #79850.
  4206. 2006-11-09 Chris Toshok <[email protected]>
  4207. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  4208. have a root item. Fixes #79879.
  4209. 2006-11-09 Alexander Olk <[email protected]>
  4210. * FileDialog.cs:
  4211. - Fix ToString ()
  4212. - An ArgumentException is now thrown if a wrong filter
  4213. is applied (matches ms). The previous filter doesn't change
  4214. anymore if an exception is thrown.
  4215. - Changing the FileName property also affects FileNames
  4216. * ColorDialog.cs: The length of the CustomColors array is always
  4217. 16. It doesn't matter if we use a smaller array or null to update
  4218. or change the custom colors property.
  4219. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  4220. for RootFolder if we get a undefined value.
  4221. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  4222. * StatusBarPanel.cs:
  4223. - Width is set to MinWidth if Width is smaller than
  4224. MinWidth. Fixes #79842.
  4225. - MinWidth now always overrides Width (MSDN says MinWidth
  4226. is set to Width when AutoSize = None, but they do not
  4227. behave like that).
  4228. - Style has now the the correct default value.
  4229. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  4230. * TrackBar.cs:
  4231. - The control is completely invalidated on
  4232. Got/LostFocus to draw the focus rectangle correctly.
  4233. - When AutoSize then height is always 45 (width for
  4234. vertical controls).
  4235. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  4236. on the mouse when moved and it doesn't move when grabbed
  4237. until the mouse moves as well. Also fixed some wrong
  4238. calculations when clicking on the thumb (control thought
  4239. click was outside of thumb and didn't grab it).
  4240. Fixes some of the issues in #79718.
  4241. 2006-11-08 Everaldo Canuto <[email protected]>
  4242. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  4243. 2006-11-08 Chris Toshok <[email protected]>
  4244. * PropertyGridView.cs: only call ToggleValue if the item is not
  4245. readonly.
  4246. 2006-11-08 Jackson Harper <[email protected]>
  4247. * TextBoxBase.cs: The RichTextBox and textbox have very different
  4248. word selection methods. Implement the textbox's simple word
  4249. selection here, and let the RichTextBox override and provide it's
  4250. own.
  4251. - Don't do extra selection on mouseup
  4252. * RichTextBox.cs: Use the documents word selection algorithm, I
  4253. think ideally, this function will be pulled into the
  4254. RichTextBox.cs code someday.
  4255. 2006-11-08 Chris Toshok <[email protected]>
  4256. * RootGridEntry.cs: new class to represent GridItemType.Root.
  4257. * CategoryGridEntry.cs: reformat, and add boilerplate.
  4258. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  4259. returns the UI parent anyway, and we need special handling to
  4260. implement the GetTarget method in the face of it. Also, implement
  4261. Select().
  4262. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  4263. a root grid item, and use that instead of PropertyGrid.grid_items.
  4264. Also, make use of TypeConverters (and add limitted support for
  4265. ICustomTypeDescriptors) when initially populating the grid.
  4266. Arrays now show up more or less properly.
  4267. 2006-11-08 Chris Toshok <[email protected]>
  4268. * Application.cs: set the modal dialog to non modal after we close
  4269. it. Fixes bug #79866.
  4270. 2006-11-08 Jackson Harper <[email protected]>
  4271. * TextControl.cs: When combining lines carry over the line end
  4272. style from the end line.
  4273. - Invalidate the selected area when setting it, if it is visible.
  4274. * TextBoxBase.cs: Only rich text box can do full line selects.
  4275. - Make sure to set the cursor position when there is a click,
  4276. otherwise two clicks in separate areas could cause a large chunk
  4277. to be selected.
  4278. 2006-11-07 Everaldo Canuto <[email protected]>
  4279. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  4280. Fixes #79863.
  4281. 2006-11-07 Everaldo Canuto <[email protected]>
  4282. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  4283. time. Remove tooltips when ToolButton click events. Fixes #79856.
  4284. 2006-11-07 Everaldo Canuto <[email protected]>
  4285. * MenuAPI.cs: Ignore right click for menu actions and fixes
  4286. menu border when clicked. Fixes #79846.
  4287. 2006-11-07 Everaldo Canuto <[email protected]>
  4288. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  4289. MouseState after create wParam for message, this fixes mouse button
  4290. equal none in mouse up events.
  4291. 2006-11-07 Andreia Gaita <[email protected]>
  4292. * Control.cs : Focus() now calls Select to set the Container's
  4293. Active Control and to give it focus. To avoid infinite recursion
  4294. (because ActiveControl also calls Focus at one point), a check
  4295. is made in Focus with the help of a new internal variable
  4296. is_focusing.
  4297. 2006-11-07 Mike Kestner <[email protected]>
  4298. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  4299. if there's a selection. Fixes #79849.
  4300. 2006-11-07 Gert Driesen <[email protected]>
  4301. * PropertyGrid.cs: Avoid fixed height of help description label.
  4302. Fixes part of bug #79829.
  4303. 2006-11-07 Chris Toshok <[email protected]>
  4304. * XplatUIX11.cs: fix #79790 again, by using the
  4305. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  4306. 2006-11-07 Everaldo Canuto <[email protected]>
  4307. * ToolBar.cs: Fix left click checking.
  4308. 2006-11-07 Chris Toshok <[email protected]>
  4309. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  4310. 2006-11-07 Chris Toshok <[email protected]>
  4311. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  4312. PropertyManager unit tests.
  4313. * PropertyManager.cs: make property_name internal.
  4314. 2006-11-07 Chris Toshok <[email protected]>
  4315. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  4316. pass a unit test. Also, don't set image_index to anything in
  4317. response to setting the ImageList property.
  4318. 2006-11-07 Everaldo Canuto <[email protected]>
  4319. * ToolBar.cs: Ignore click events when mouse button is not a
  4320. left button, only accepts other button for dropdown menus.
  4321. Fixes #79854.
  4322. 2006-11-07 Chris Toshok <[email protected]>
  4323. * DataGrid.cs: make the back and parent row buttons a little less
  4324. ugly.
  4325. 2006-11-07 Jackson Harper <[email protected]>
  4326. * TextBoxBase.cs: When converting to Text don't put line breaks in
  4327. for soft line breaks.
  4328. * TextControl.cs: There is an initial "fake" line in the document,
  4329. this is now a soft break line, so that an extra line feed doesn't
  4330. get added to the end of documents.
  4331. 2006-11-07 Chris Toshok <[email protected]>
  4332. [ fix bug #79778 ]
  4333. * CurrencyManager.cs: if the list is readonly, don't bother
  4334. checking if IBindingList.AllowNew is true.
  4335. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  4336. for non-DataRowView datasources.. or rather, make it not crash.
  4337. (DataGridPaintRelationRow): make sure we limit the row painting to
  4338. the area not covered by the row header, and make our cell width at
  4339. least large enough to cover the relation area. This allows grids
  4340. that have relations but no rows to render correctly.
  4341. (DataGridPaintRowContents): same type of changes here.
  4342. (SetDataSource): move back to always calling
  4343. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  4344. navigating back through relations.
  4345. (HitTest): handle the case where we have no cells but have
  4346. relations. Right now we generate a hit in cell 0 of whatever the
  4347. row is, not sure if this is strictly correct, but it works for our
  4348. purposes.
  4349. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  4350. bother doing anything.
  4351. 2006-11-07 Jonathan Pobst <[email protected]>
  4352. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  4353. early version of StatusStrip. Not responsible for eaten
  4354. application or firstborn children.
  4355. 2006-11-06 Chris Toshok <[email protected]>
  4356. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  4357. call GetTabRect with a -1 index. Fixes #79847.
  4358. 2006-11-06 Jackson Harper <[email protected]>
  4359. * TreeNodeCollection.cs: Update scrollbars after clearing.
  4360. 2006-11-06 Chris Toshok <[email protected]>
  4361. * NumericUpDown.cs: fix the ToString method for some unit test
  4362. love.
  4363. 2006-11-06 Chris Toshok <[email protected]>
  4364. * PropertyGrid.cs:
  4365. - set the initial SelectedGridItem if we can.
  4366. - Exclude non-mergable properties only if we're merging > 1
  4367. object. Merging 1 object isn't really merging, obviously.
  4368. - Handle PropertySort.NoSort just like Alphabetical, which is
  4369. wrong of course, but at least gets things on the screen.
  4370. * PropertyGridView.cs:
  4371. - Add method "FindFirstItem" which finds the first property grid
  4372. item, so we can select it by default.
  4373. - make use of GridEntry.CanResetValue.
  4374. - Don't call RedrawBelowItemOnExpansion here anymore, the
  4375. individual GridEntry's will do that.
  4376. - Remove the ITypeDescriptorContextImpl internal class.
  4377. * GridEntry.cs:
  4378. - this class needs to implement ITypeDescriptorContext, as it's
  4379. what MS's PropertyDescriptorGridEntry does, which means we can
  4380. remove the ITypeDescriptorContextImpl internal class from
  4381. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  4382. - keep a reference to our PropertyGridView, and move the call to
  4383. RedrawBelowItemOnExpansion here from PGV. This means
  4384. programmaticly setting Expanded actually does something visible.
  4385. - add a CanResetValue() function which takes into account our
  4386. possibly multiple "selected_objects" in the merged case. Shifting
  4387. PropertyGridView to use this method fixes another unreported
  4388. crasher found running the test for #79829.
  4389. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  4390. is updated to reflect this.
  4391. * CategoryGridEntry.cs: the ctor takes the PGV now.
  4392. 2006-11-06 Jackson Harper <[email protected]>
  4393. * TextControl.cs: These are 1 based.
  4394. * TextBoxBase.cs: When setting the selected text, don't change the
  4395. selected text tags, this is done by ReplaceText, just position the
  4396. cursor at the end of the new text.
  4397. 2006-11-06 Alexander Olk <[email protected]>
  4398. * ListView.cs: Allow label edit only when, when LabelEdit is
  4399. set to true.
  4400. 2006-11-06 Jackson Harper <[email protected]>
  4401. * TextControl.cs: If a suitable wrapping position isn't found,
  4402. just wrap right in the middle of a word.
  4403. 2006-11-06 Alexander Olk <[email protected]>
  4404. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  4405. bug #79820.
  4406. 2006-11-06 Jackson Harper <[email protected]>
  4407. * TreeView.cs: Can't use the VisibleCount property when setting
  4408. scrollbar heights, because this doesn't take into account whether
  4409. or not the horz scrollbar just came visible.
  4410. 2006-11-05 Everaldo Canuto <[email protected]>
  4411. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  4412. activated. Fixes #79369, #79832.
  4413. 2006-11-05 Alexander Olk <[email protected]>
  4414. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  4415. had to remove support for links that point to a directory. FileInfo
  4416. returns no usefull information (means, the directory they point to)
  4417. for such links. Replaced some empty string ("") with String.Empty.
  4418. 2006-11-04 Gert Driesen <[email protected]>
  4419. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  4420. NullReferenceException when attempting to remove node that is not in
  4421. collection. Throw NullReferenceException when null is passed to
  4422. Remove. Allow first element of the collection to be removed. Fixes
  4423. bug #79831. In GetEnumerator ().Current return null if positioned
  4424. before the first element of the collection. In GetEnumerator ().Reset,
  4425. position before first element of the collection.
  4426. 2006-11-04 Gert Driesen <[email protected]>
  4427. * PropertyGrid.cs: To match MS, remove default title and description
  4428. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  4429. buttons.
  4430. 2006-11-04 Chris Toshok <[email protected]>
  4431. * Theme.cs: add a Clamp method, just for kicks.
  4432. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  4433. 2006-11-04 Chris Toshok <[email protected]>
  4434. * Form.cs: if the form isn't visible, Close() does nothing.
  4435. 2006-11-03 Chris Toshok <[email protected]>
  4436. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  4437. Hide it.
  4438. (WndProc): don't Dispose after handling the WM_CLOSE message.
  4439. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  4440. them as such, instead of using casts from Control to Form. Also,
  4441. don't Dispose of the modal dialog when we fall out of the loop -
  4442. Close() it instead.
  4443. fixes bug #79813.
  4444. 2006-11-03 Chris Toshok <[email protected]>
  4445. * Control.cs (Dispose): only go through the dispose thing if we're
  4446. @disposing, and we haven't already been disposed. Fixes bug
  4447. #79814.
  4448. * Form.cs: no reason to call "base.Dispose()" here instead of
  4449. "Dispose()".
  4450. 2006-11-03 Mike Kestner <[email protected]>
  4451. * ComboBox.cs : use ToString instead of casts in AddItem for
  4452. sorting functionality. Fixes #79812.
  4453. 2006-11-03 Chris Toshok <[email protected]>
  4454. * Application.cs: pave the way for actually using the thread
  4455. exception dialog. it's ifdefed out at the moment.
  4456. 2006-11-03 Chris Toshok <[email protected]>
  4457. * ThreadExceptionDialog.cs: until we get a better layout, actually
  4458. hide the details textbox and label when we shouldn't see them.
  4459. 2006-11-03 Jackson Harper <[email protected]>
  4460. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  4461. multiline textboxes anymore. This method also determines the
  4462. width/height of a textboxes canvas area.
  4463. - Sorta a revert of the last patch. For multiline just position
  4464. the controls, then bail. This way the scrollbar width won't be
  4465. altered.
  4466. 2006-11-03 Everaldo Canuto <[email protected]>
  4467. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  4468. it dont need. Fixes #79537.
  4469. 2006-11-02 Jackson Harper <[email protected]>
  4470. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  4471. send the status after firing the DndOver event.
  4472. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4473. * TrackBar.cs: Now orientation only switches height / width if
  4474. the control's handle is created (Win32 does it like this). Also
  4475. fixed a typo in ToString() for a test to pass, changed the
  4476. exception thrown in set_LargeChange and set_SmallChange to
  4477. match Win32 behaviour, and added TrackBar tests to the unit
  4478. tests.
  4479. 2006-11-02 Chris Toshok <[email protected]>
  4480. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  4481. not _NET_WM_STATE_NO_TASKBAR.
  4482. 2006-11-02 Jackson Harper <[email protected]>
  4483. * TextControl.cs: Increment count by one, since in the update view
  4484. count - 1 is used.
  4485. 2006-11-02 Jackson Harper <[email protected]>
  4486. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  4487. the mouse is in the client rectangle (duh).
  4488. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4489. * TrackBar.cs: Fixed trackbar jumping around when clicking
  4490. on it - the trackbar was not detecting correctly at which
  4491. side of the thumb the click was done. (fixes #79718)
  4492. 2006-11-02 Everaldo Canuto <[email protected]>
  4493. * ListBox.cs: scroll visible area when change SelectedIndex to
  4494. a non visible area. Fixes #79481.
  4495. 2006-11-01 Jackson Harper <[email protected]>
  4496. * TextControl.cs: When replacing the selection move the selection
  4497. start/end/anchor to the end of the new text.
  4498. 2006-11-01 Jackson Harper <[email protected]>
  4499. * XplatUIWin32.cs: When setting the parent change the controls
  4500. visibility to it's visibility flag, not to it's old parents
  4501. visibility (.Visible walks the parent chain).
  4502. 2006-11-01 Chris Toshok <[email protected]>
  4503. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  4504. XSetTransientForHint fix breaks paint .net's tool windows. more
  4505. work needed for that one.
  4506. 2006-11-01 Chris Toshok <[email protected]>
  4507. * ScrollBar.cs: throw ArgumentException instead of Exception in
  4508. LargeChange/SmallChange setters. fixes unit tests.
  4509. 2006-10-31 Andreia Gaita <[email protected]>
  4510. * ContainerControl.cs: reverted rev.67183 (which was itself
  4511. a reversion of rev.66853... eh).
  4512. * Control.cs: Fixes Reflector hang by changing Focus() call
  4513. to what it was before rev.66643 (calling Select() here sets
  4514. ActiveControl, which in some situations calls back Focus and
  4515. eventually does a stack overflow). Temp fix.
  4516. Changes to GetNextControl() to not look for children to select when
  4517. parent cannot be selectable (so it looks for siblings instead)
  4518. 2006-10-31 Mike Kestner <[email protected]>
  4519. * CheckedListBox.cs : off by one error in returned index from
  4520. ObjectCollection.Add. Fixes #79758.
  4521. 2006-10-31 Chris Toshok <[email protected]>
  4522. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  4523. calls for the textbox/spinner, to keep from recursing to the point
  4524. where we crash. Fixes #79760.
  4525. 2006-10-31 Chris Toshok <[email protected]>
  4526. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  4527. null/"" value, just return. matches ms's behavior and fixes some
  4528. failing tests.
  4529. 2006-10-31 Chris Toshok <[email protected]>
  4530. * Control.cs (set_Capture): make a logic a little easier to
  4531. follow.
  4532. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  4533. if it's being destroyed. A necessary fix surely, but a bandaid
  4534. also, to fix the stuck capture problem in bug #78413.
  4535. 2006-10-31 Chris Toshok <[email protected]>
  4536. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  4537. convention of clearing hwnd.ClientRect when we set the
  4538. width/height (so it'll be recalculated by Hwnd).
  4539. 2006-10-31 Andreia Gaita <[email protected]>
  4540. * ContainerControl.cs: reversed Contains check from
  4541. ActiveControl due to hanging problems. This fix
  4542. partly regresses #79667 (button does not have
  4543. initial focus), so this might be a symptom for
  4544. a larger parenting problem (set_ActiveControl
  4545. is being called but the child control does
  4546. not have the parent set yet?)
  4547. 2006-10-31 Mike Kestner <[email protected]>
  4548. * MenuAPI.cs : fix keynav when menu is click activated.
  4549. 2006-10-31 Jonathan Pobst <[email protected]>
  4550. * ToolStrip*: Version 0.2.
  4551. * MenuStrip.cs: Version 0.1.
  4552. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  4553. 2006-10-30 Chris Toshok <[email protected]>
  4554. [ fixes the oversized notify icon issue in bug #79745 ]
  4555. * NotifyIcon.cs: scale the icon down to the size we're given by
  4556. the XplatUI layer (this would be faster if we did it once instead
  4557. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  4558. since it's never invoked.
  4559. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  4560. pixels high by default, so let's hardcode our systray icon to that
  4561. size. The SYSTEM_TRAY protocol should really have a way for
  4562. client apps to query for the correct icon size.. but oh well. A
  4563. couple of patches to deal with the screwy client_window ==
  4564. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  4565. instance, and also make sure we don't XSelectInput twice).
  4566. 2006-10-30 Chris Toshok <[email protected]>
  4567. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  4568. recreating forms. Control recreation is the bane of my existence.
  4569. Fix it in a way that keeps everyone happy.
  4570. 2006-10-30 Chris Toshok <[email protected]>
  4571. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  4572. just non-CHILD ones. otherwise sometimes scrollbars end up with
  4573. client_windows not being resized to the proper size (ReportBuilder
  4574. shows this extremely well).
  4575. 2006-10-30 Chris Toshok <[email protected]>
  4576. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  4577. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  4578. showing up in the gnome taskbar. Fixes bug #79790.
  4579. 2006-10-30 Chris Toshok <[email protected]>
  4580. * ApplicationContext.cs: guard against a NRE.
  4581. * Application.cs: null out the old MainForm for the context, so we
  4582. don't try to use it again once it's disposed. Fixes bug #79783.
  4583. 2006-10-30 Chris Toshok <[email protected]>
  4584. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  4585. BindingContext, set the data source directly, otherwise do the
  4586. lazy approach - the actual ListManager will be created when we get
  4587. a BindingContext. Fixes bug #79700.
  4588. 2006-10-30 Jonathan Pobst <[email protected]>
  4589. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  4590. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  4591. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  4592. 2006-10-30 Jonathan Pobst <[email protected]>
  4593. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  4594. of SetVisible that allows a window to be shown, but not activated.
  4595. This is needed on Windows for MenuStrip, and can probably be used
  4596. with MainMenu and ComboBox to fix the focus stealing issues on
  4597. Windows.
  4598. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  4599. 2006-10-30 Alexander Olk <[email protected]>
  4600. * PictureBox.cs: Fix the output of the ToString method.
  4601. 2006-10-29 Chris Toshok <[email protected]>
  4602. * Control.cs (get_TopLevelControl): fix bug #79781.
  4603. 2006-10-29 Chris Toshok <[email protected]>
  4604. * ListControl.cs (set_DataSource): throw Exception here, not
  4605. ArgumentException, to match MS behavior.
  4606. 2006-10-29 Chris Toshok <[email protected]>
  4607. * Form.cs: remove the try-catch's around calls to GetWindowState.
  4608. We can just check the return value.
  4609. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  4610. Instead return -1.
  4611. * XplatUI.cs: Add note about additional return value for
  4612. GetWindowState.
  4613. 2006-10-29 Chris Toshok <[email protected]>
  4614. * Control.cs (CreateHandle): when we create our handle, we also
  4615. create the handles of our child controls. Fixes one of the
  4616. Control unit tests (CH11).
  4617. 2006-10-28 Alexander Olk <[email protected]>
  4618. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  4619. 2006-10-28 Alexander Olk <[email protected]>
  4620. * ThemeClearlooks.cs: A little speedup.
  4621. 2006-10-27 Chris Toshok <[email protected]>
  4622. * Control.cs: implement Control.FromChildHandle in a way that
  4623. matches the docs (and fixes the failed test.)
  4624. 2006-10-27 Chris Toshok <[email protected]>
  4625. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  4626. comments).
  4627. * DataGrid.cs: implement ResetForeColor such that the tests
  4628. succeed.
  4629. 2006-10-27 Chris Toshok <[email protected]>
  4630. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  4631. being set to "". Fixes bug #79759.
  4632. 2006-10-27 Jackson Harper <[email protected]>
  4633. * TextControl.cs: We need to clear the entire selection area when
  4634. setting the start, otherwise multiline selections are still
  4635. visible.
  4636. 2006-10-26 Chris Toshok <[email protected]>
  4637. * PropertyGridView.cs:
  4638. - ifdef all the code specific to the double
  4639. buffer case, and provide some alternatives in the non-doublebuffer
  4640. code, which makes heavy use of XplatUI.ScrollWindow to move things
  4641. around without having to invalidate (and cause flicker). There
  4642. are still some drawing problems in the non-doublebuffered case, so
  4643. DOUBLEBUFFER is defined by default.
  4644. - Fix the way dropdowns are handled. now we explicitly watch for
  4645. the events which might cause the dropdown to close, and break out
  4646. of the nested event loop there. This gets rid of all Capture
  4647. code, at the expense of the Msg special casing. Seems to work,
  4648. though, and fixes bug #79743.
  4649. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  4650. * Control.cs: SetIsRecreating now recreates implicitly added
  4651. child controls as well. Finally fixes #79629. The flag passed to
  4652. SetIsRecreating has also been removed since it wasn't used.
  4653. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  4654. * PageSetupDialog.cs: Clean some code, fix some bits,
  4655. add some checks, and add a printer sub-dialog.
  4656. 2006-10-26 Chris Toshok <[email protected]>
  4657. * PropertyGrid.cs: make set_SelectedObject call
  4658. set_SelectedObjects, and move the duplicate logic to the
  4659. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  4660. * PropertyGridView.cs: hide the textbox when we get a
  4661. SelectedObjectsChanged event.
  4662. Fixes bug #79748.
  4663. 2006-10-26 Chris Toshok <[email protected]>
  4664. * PropertyGridView.cs: deal with the type converter not supporting
  4665. GetStandardValues() or GetStandardValues() returning null, which
  4666. is does in the default case. Fixes #79742.
  4667. 2006-10-25 Andreia Gaita <[email protected]>
  4668. * CheckedListBox.cs: nunit no longer crashes when selecting
  4669. Project/Edit menu option
  4670. 2006-10-25 Andreia Gaita <[email protected]>
  4671. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  4672. is no menu selected. fixes #79739
  4673. 2006-10-25 Chris Toshok <[email protected]>
  4674. * PropertyGridView.cs: factor out the splitter invalidation code
  4675. into the SplitterPercent setter, and for kicks implement the
  4676. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  4677. amount in either direction.
  4678. 2006-10-25 Chris Toshok <[email protected]>
  4679. * PropertyGridView.cs: do some cleanup of the brush used to draw
  4680. text - read only fields should be grayed out. not sure how to do
  4681. this with the textbox, though. but the textbox's should also be
  4682. readonly now at least. Also, hide/show the textbox when resizing
  4683. the control.
  4684. * CursorConverter.cs: use System.Reflection when getting the
  4685. properties of Cursors, as TypeDescriptor.GetProperties isn't
  4686. returning static properties.
  4687. 2006-10-25 Chris Toshok <[email protected]>
  4688. * PropertyGridView.cs: factor out the up/down handling, and reuse
  4689. it for page up/down. also add End/Home support.
  4690. 2006-10-25 Chris Toshok <[email protected]>
  4691. * PropertyGridView.cs:
  4692. - ensure the selected grid item is visible in the scrolled area,
  4693. fixes bug #79572.
  4694. - fix Keys.Down handling when you're on the last item in the
  4695. propertygrid.
  4696. 2006-10-25 Mike Kestner <[email protected]>
  4697. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  4698. clicks too. Fixes #79725.
  4699. 2006-10-24 Chris Toshok <[email protected]>
  4700. * PropertyGrid.cs: use property.Converter instead of
  4701. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  4702. TypeConverters declared on the property as well as on the
  4703. PropertyType. Fixes bug #79678.
  4704. 2006-10-24 Alexander Olk <[email protected]>
  4705. * MimeIcon.cs, Mime.cs:
  4706. Fallback to the default platform handler if no shared mime info
  4707. stuff exists (fixes #79693).
  4708. 2006-10-20 Andreia Gaita <[email protected]>
  4709. * ContainerControl.cs: Incorrect contains check in ActiveControl
  4710. from previous fix (duh).
  4711. 2006-10-20 Chris Toshok <[email protected]>
  4712. * PropertyGridView.cs: the dropdown should be MIN(number of items
  4713. in list, 15). Fixes #79551.
  4714. 2006-10-20 Andreia Gaita <[email protected]>
  4715. Fixes #79384, #79394, #79652, #79667
  4716. * Application.cs:
  4717. - Modal windows are now destroyed in the proper order for windows
  4718. * ContainerControl.cs:
  4719. - ActiveControl setter has more conditions on when to return:
  4720. - if we're reselecting the active control, but it actually
  4721. didn't have focus (window hidden or some such), it runs
  4722. - if the active control being selected doesn't actually
  4723. exist in the container, it returns
  4724. * Form.cs
  4725. - The ShowDialog now gets the current form as the owner when
  4726. invoking without parameters, and correctly activates the owner
  4727. when returning
  4728. * MessageBox.cs
  4729. - MessageBox now catches the Escape key to exit
  4730. 2006-10-20 Chris Toshok <[email protected]>
  4731. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  4732. most of bug #79676):
  4733. - you can navigate around the property grid with the arrow keys.
  4734. - the dropdown is sized properly when the pg has a vertical
  4735. scrollbar.
  4736. - fix the indentation for subentries, and properly select the
  4737. entire label rect.
  4738. - fix the gray bar's drawing (only draw it to the last element,
  4739. not for the height of the control. Also make sure we draw that
  4740. last horizontal grid line.
  4741. - use the same mechanism the datagrid uses wrt the editing textbox
  4742. when scrolling/resizing/etc. Namely, we hide it first, do the
  4743. operation, then show it again (if it's still visible).
  4744. - aggressively remove a lot of unnecessary refreshes (and also
  4745. calls to Invalidate(). call more limited variants, and only redraw
  4746. what we need.)
  4747. * PropertyGrid.cs:
  4748. - when we're populating the merged collection, fill in the UI
  4749. parent with either the passed in item, or the category item we
  4750. create.
  4751. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  4752. * GridItem.cs: drop some fully qualified names.
  4753. * GridEntry.cs: add a "UIParent", which is basically the parent
  4754. treenode.
  4755. * GridItemCollection.cs: add an IndexOf method.
  4756. 2006-10-20 Mike Kestner <[email protected]>
  4757. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  4758. a working win32 NC invalidation mechanism, we can't invalidate
  4759. menus. [Fixes #79705]
  4760. 2006-10-20 Mike Kestner <[email protected]>
  4761. * ListBox.cs : don't update the VScrollbar if the list is empty,
  4762. just hide it. [Fixes #79692]
  4763. 2006-10-20 Jackson Harper <[email protected]>
  4764. * RichTextBox.cs: Handle some special chars better, and don't skip
  4765. the entire group when we encounter a special char that we don't
  4766. handle correctly.
  4767. 2006-10-18 Chris Toshok <[email protected]>
  4768. * PropertyGridView.cs: address a number of issues from bug #79676,
  4769. mostly of the cosmetic variety.
  4770. - The highlight rectangle for indented items not extends all the
  4771. way to the left.
  4772. - Indented items aren't indented so much.
  4773. - the dropdown is properly sized width-wise if the pg has a
  4774. vertical scrollbar.
  4775. 2006-10-18 Chris Toshok <[email protected]>
  4776. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  4777. systray stuff is rather convoluted to begin with.
  4778. systray icons are a single window for some reason (that I haven't
  4779. figured out yet), and for them, client_window == whole_window.
  4780. Given the way the tests are structured elsewhere to determine
  4781. which paints are pending (client vs. nc), that situation will
  4782. always yield PAINT, not NCPAINT. So, if we have a pending
  4783. nc_expose and no pending expose, remove the hwnd from the paint
  4784. queue, and also set nc_expose_pending to false, to keep us from
  4785. blocking further expose's adding the hwnd to the paint queue.
  4786. phew. like i said, a rather convoluted change. Fixes the
  4787. notifyicon repaint issues in bug #79645.
  4788. 2006-10-18 Chris Toshok <[email protected]>
  4789. * Form.cs: when getting the backcolor of the form, don't get
  4790. base.BackColor, as this allows parents to influence the background
  4791. color. This breaks mdi forms. Instead, if the background_color
  4792. is empty, return the default.
  4793. 2006-10-18 Chris Toshok <[email protected]>
  4794. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  4795. to being private instead of internal static.
  4796. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  4797. crap, it wasn't working for more deeply nested controls anyway,
  4798. and we already have the is_recreating flag - use that instead.
  4799. Before calling DestroyHandle in RecreateHandle, recurse through
  4800. the control tree setting it to true. this returns the recreate
  4801. code to much of its original simplicity, while now guaranteeing we
  4802. actually recreate everything we're supposed to. This change gets
  4803. fyireporting actually showing mdi children.
  4804. 2006-10-17 Chris Toshok <[email protected]>
  4805. * Form.cs: remove some debug spew, and collapse some duplicate
  4806. code at the end of SetClientSizeCore.
  4807. * XplatUIX11.cs:
  4808. - add some more debug spew here too wrt Destroy handling.
  4809. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  4810. in Control's handling of WM_DESTROY.
  4811. - Remove the handling of zombie window DestroyNotifies from the
  4812. event loop - we don't need it. Now the only DestroyNotifies we
  4813. actually handle are ones generated by X.
  4814. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  4815. match gtk's (functioning) handling of this. This keep metacity
  4816. from leaving droppings in the form of wm borders with no window
  4817. contents all over the place.
  4818. * Control.cs:
  4819. - add a bunch of debug spew wrt control recreation.
  4820. - fix a bug where we weren't tracking Visible properly on
  4821. recreated hwnds.
  4822. - fixed the WM_PAINT double buffer handling to support re-entrant
  4823. calls (yes, i know it's gross, but it's happening to us).
  4824. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  4825. * ThemeWin32Classic.cs: changed drawing of selected days
  4826. to make them look better.
  4827. 2006-10-16 Chris Toshok <[email protected]>
  4828. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  4829. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  4830. * XplatUIX11.cs: move away from using hwnd.client_dc and
  4831. hwnd.non_client_dc and on to a stack of dc's (and in window's
  4832. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  4833. without puking or not disposing of Graphics objects.
  4834. * XplatUIOSX.cs: same.
  4835. * XplatUIWin32.cs: same.
  4836. 2006-10-03 Alexander Olk <[email protected]>
  4837. * FileDialog.cs: Don't call on_directory_changed inside
  4838. OnSelectedIndexChanged (it changes the SelectedIndex too).
  4839. Instead move it to OnSelectionChangeCommitted.
  4840. 2006-10-13 Chris Toshok <[email protected]>
  4841. * XplatUIX11.cs: more Destroy work. the current code does the
  4842. following things, in order:
  4843. 1. Enumerates all handles of all controls at or below the one
  4844. being destroyed, in pre-order. As it is doing this, it marks the
  4845. handles as zombie and clears all references to them.
  4846. 2. calls XDestroyWindow on the window passed in.
  4847. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  4848. list.
  4849. 2006-10-13 Chris Toshok <[email protected]>
  4850. * XplatUIX11.cs: set hwnd.zombie to true before calling
  4851. SendMessage (WM_DESTROY). this keeps us from marking the new
  4852. window a zombie, and also keeps us from calling sendmessage at
  4853. all.
  4854. 2006-10-13 Jackson Harper <[email protected]>
  4855. * TextControl.cs: Do not show the caret and selection at the same
  4856. time. Reduces ugliness by 35%.
  4857. 2006-10-13 Chris Toshok <[email protected]>
  4858. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  4859. zombie after we do the recursive call, so we actually do call
  4860. SendMessage on the children controls.
  4861. (GetMessage): if we find a pending paint event for a zombie hwnd,
  4862. remove the hwnd from the paint queue, or else it will always be
  4863. there (and we'll effectively loop infinitely)
  4864. 2006-10-13 Mike Kestner <[email protected]>
  4865. * MenuItem.cs : add Selected format under keynav too.
  4866. Fixes #79528.
  4867. 2006-10-13 Gert Driesen <[email protected]>
  4868. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  4869. implementation and that of MS.
  4870. 2006-10-13 Chris Toshok <[email protected]>
  4871. * Control.cs (OnInvalidated) only futz with the invalid_region if
  4872. the control is double buffered. this fixes the apparent hang in
  4873. the ListView unit tests. Someone needs to make the
  4874. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  4875. 2006-10-13 Chris Toshok <[email protected]>
  4876. * PropertyGridView.cs:
  4877. - do a little refactoring so that only one place calls
  4878. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  4879. else call that. Also make it Refresh, since there are redraw bugs
  4880. otherwise (we should take a look at that...)
  4881. - do a little more refactoring work to share the body of code
  4882. involved with the drop down. it was duplicated in the code
  4883. dealing with the listbox handling and in the code dealing with the
  4884. UITypeEditors.
  4885. - add a Capture to the dropdown form's control once it's
  4886. displayed, and add a MouseDown handler that checks to make sure
  4887. the position is inside the control. If it's not, close the
  4888. dropdown. This fixes #78190.
  4889. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  4890. if the value is different than the initial value.
  4891. 2006-10-13 Andreia Gaita <[email protected]>
  4892. * Control.cs: see #78650
  4893. - Fixed GetNextControl for several cases:
  4894. - Changed FindFlatForward to return
  4895. correct sibling control when more than one
  4896. control has same TabIndex as the currently
  4897. focused one.
  4898. - Changed FindFlatBackward to loop children
  4899. from last to first and apply same logic as in
  4900. FindFlatForward
  4901. - Changed FindControlForward to search for
  4902. children when control is not a container
  4903. but has children, or search for siblings if
  4904. control is a container...
  4905. - Changed FindControlBackward to continue
  4906. searching for child controls when hitting
  4907. Panel-like parents
  4908. - Fixed Focus method to update ActiveControl
  4909. (FocusTest.FocusSetsActive failure)
  4910. * TabControl.cs:
  4911. - Focus rectangle now refreshes when gaining
  4912. or losing focus
  4913. - Removed grab for Tab key on IsInputKey that
  4914. was keeping tab navigation from working (#78650)
  4915. 2006-10-13 Chris Toshok <[email protected]>
  4916. * PropertyGridView.cs:
  4917. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  4918. SelectedObjects.
  4919. - Deal with GridItem.Value == null a few places.
  4920. * PropertyGrid.cs:
  4921. - replace the PopulateGridItemCollection with a pair of methods
  4922. which compute the intersection of all the properties in the
  4923. SelectedObjects array. Fixes #79615.
  4924. - Throw ArgumentException from set_SelectedObjects if there's a
  4925. null in the array.
  4926. - Add GetTarget method which can be used to traverse up the
  4927. GridItem.Parent chain. It depends on the assumption that
  4928. selected_objects for different GridEntries are always in the same
  4929. order (a safe assumption). Use this method and loop over all the
  4930. selected objects in the entry when calling RemoveValueChanged and
  4931. AddValueChanged.
  4932. * GridEntry.cs: Make this handle multiple selected objects.
  4933. .Value returns null if not all the selected objects share the same
  4934. value.
  4935. 2006-10-12 Jonathan Pobst <[email protected]>
  4936. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  4937. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4938. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  4939. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  4940. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  4941. add additional functionality.
  4942. 2006-10-12 Mike Kestner <[email protected]>
  4943. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  4944. * HelpProvider.cs : new ToolTipWindow ctor sig.
  4945. * ToolTip.cs : remove ToolTip param from Window sig since it is
  4946. not used.
  4947. * ToolBar.cs : add tooltip support. Fixes #79565.
  4948. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4949. * ComboBox.cs: move the events in set_SelectedIndex to
  4950. after the call to HighlightIndex in order to avoid
  4951. possible recursion and subsequent problems with the call
  4952. to HighlightIndex and include a range check in
  4953. set_HighlightIndex. Fixes #79588
  4954. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4955. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  4956. to ui thread's settings instead of sunday.
  4957. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  4958. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4959. * DateTimePicker.cs
  4960. * MonthCalendar.cs
  4961. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  4962. and implement missing functionality (selecting different parts
  4963. of the date and edit them individually with the keyboard).
  4964. 2006-10-11 Chris Toshok <[email protected]>
  4965. * Control.cs (OnInvalidated): fix NRE relating to last change.
  4966. 2006-10-11 Chris Toshok <[email protected]>
  4967. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  4968. atoms in _NET_WM_STATE here if the window is maximized. We need
  4969. to do this because we're *replacing* the existing _NET_WM_STATE
  4970. property, so those atoms will be lost otherwise, and any further
  4971. call to GetWindowState will return Normal for a window which is
  4972. actually maximized. Fixes #79338.
  4973. 2006-10-11 Jackson Harper <[email protected]>
  4974. * TextControl.cs: Special case for setting selection end to
  4975. selection start, we basically kill the anchor.
  4976. - some todo comments.
  4977. 2006-10-11 Chris Toshok <[email protected]>
  4978. * Control.cs: switch to using an "invalid_region" to track which
  4979. parts of the image buffer need updating. This is more code than
  4980. the simple fix from r66532. That version just attempted to always
  4981. fill the entire buffer on redraw, which turns out to be
  4982. inefficient when invalidating small rectangles. This version
  4983. simply adds the invalid rectangle to the invalid region. When we
  4984. get any WM_PAINT message we see if it can be filled using the
  4985. image buffer, and if it can't (if the paint event's clip rectangle
  4986. is visible in the invalid region) we first fill the image buffer.
  4987. So, the image buffer is still a cache, we just fill it lazily.
  4988. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  4989. need it any longer.
  4990. 2006-10-11 Chris Toshok <[email protected]>
  4991. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  4992. well as size after calling XMoveResizeWindow. This keeps us from
  4993. ignoring future SetWindowPos calls. Fixes the disappearing
  4994. DateTimePicker in the ToolBarDockExample from bug #72499.
  4995. 2006-10-11 Chris Toshok <[email protected]>
  4996. * TextBoxBase.cs: reorder things a bit when it comes to
  4997. resizing-causing-recalculation. we were recalculating the
  4998. document when our position was changed, which shouldn't happen.
  4999. We only care about size changes. Clear up some more redundant
  5000. recalculation calls while I'm at it. This makes the toolbar dock
  5001. example snappy when you're just dragging toolbars around (since it
  5002. causes a relayout whenever you move one.)
  5003. 2006-10-11 Chris Toshok <[email protected]>
  5004. * ToolBarButton.cs (get_Rectangle): this only returns
  5005. Rectangle.Empty if Visible == false, or Parent == null.
  5006. Parent.Visible doesn't matter.
  5007. 2006-10-10 Chris Toshok <[email protected]>
  5008. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  5009. by .net 1.1, so switch to an internal method instead.
  5010. 2006-10-10 Chris Toshok <[email protected]>
  5011. * Control.cs (WM_PAINT): when a control is double buffered we draw
  5012. initially to the ImageBuffer and then copy from there. But when a
  5013. parent control which has child controls is double buffered, the
  5014. initial drawing doesn't encompass the entire ClientRectangle of
  5015. the parent control, so we end up with uninitialized bits (this is
  5016. easily seen by dragging the top toolbar in
  5017. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  5018. manually set the ClipRectangle of the paint_event (only the one we
  5019. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  5020. of the nastiness in bug #72499.
  5021. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  5022. which we use in Control.cs's WM_PAINT handling.
  5023. 2006-10-10 Jackson Harper <[email protected]>
  5024. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  5025. 2006-10-10 Chris Toshok <[email protected]>
  5026. * Cursor.cs: Apply a slightly different patch to the one suggested
  5027. in #79609.
  5028. 2006-10-10 Jackson Harper <[email protected]>
  5029. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  5030. not the parent form.
  5031. * TextControl.cs: use difference in old line count vs new count to
  5032. calculate how many lines were added, this takes into account soft
  5033. line breaks properly.
  5034. 2006-10-10 Chris Toshok <[email protected]>
  5035. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  5036. rectangle located at 0,0 and the size of the text. Use
  5037. ClientRectangle instead. This fixes rendering of non-left aligned
  5038. link labels.
  5039. 2006-10-10 Jackson Harper <[email protected]>
  5040. * TextBoxBase.cs: When we set the selection start position the
  5041. caret.
  5042. * TextControl.cs: Need to update the caret when we decrement it to
  5043. zero.
  5044. - Make sure that the selection_visible flag gets reset to false if
  5045. the selection isn't visible. Before this you could get it set to
  5046. visible by changing the selection start, then changing the end to
  5047. equal the start.
  5048. 2006-10-09 Jackson Harper <[email protected]>
  5049. * TreeView.cs: Don't update scrollbars when we aren't visible.
  5050. * TreeNodeCollection.cs: Only need to update scrollbars if being
  5051. added to an expanded visible node or the root node.
  5052. 2006-10-09 Chris Toshok <[email protected]>
  5053. * XplatUIX11.cs (SendMessage): fix NRE.
  5054. 2006-10-09 Jackson Harper <[email protected]>
  5055. * TextBoxBase.cs: Implement horizontal autoscrolling.
  5056. * TextControl.cs: Add a movement types that allows moving forward
  5057. and backwards without wrapping.
  5058. 2006-10-09 Mike Kestner <[email protected]>
  5059. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  5060. with focus "expansion" of labels. Fixes #79532 and then some.
  5061. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  5062. when wrapping.
  5063. 2006-10-09 Jackson Harper <[email protected]>
  5064. * TextBoxBase.cs: Set the default max values to MaxValue since
  5065. we use the scrollbar for autoscrolling and the default value is
  5066. 100. If we don't do this the caret won't keep up with typing
  5067. after about 18 characters.
  5068. * TextControl.cs: Make sure the selection is offset by the
  5069. viewport x. This fixes selection when using auto scrolling.
  5070. 2006-10-07 Andreia Gaita <[email protected]>
  5071. * Form.cs: The active control should be selected after the
  5072. OnLoad so that any child control initialization that affects
  5073. the selection is done. Fixes #79406
  5074. 2006-10-06 Chris Toshok <[email protected]>
  5075. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  5076. to have no evil effects.
  5077. - Stop selecting StructureNotifyMask on non-toplevel windows.
  5078. The only way children should be resized is by using the SWF api,
  5079. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  5080. Toplevel windows can be interacted with via the window manager,
  5081. and so we keep the input mask there.
  5082. The other event StructureNotifyMask gives us (that we care
  5083. about) is DestroyNotify. The code is already structured such
  5084. that it assumes we won't be getting a DestroyNotify event for
  5085. the window we pass to XDestroyWindow (which is what
  5086. StructureNotifyMask is supposed to guarantee.) So, that code
  5087. shouldn't be affected by this either.
  5088. - Stop selecting VisibilityChangeMask altogether.
  5089. We weren't doing anything with the resulting events anyway.
  5090. This vastly reduces the number of X requests and events we see
  5091. when resizing/laying out a large ui.
  5092. 2006-10-06 Chris Toshok <[email protected]>
  5093. * ScrollableControl.cs (DisplayRectangle): we need to take into
  5094. account the DockPadding regardless of whether or not auto_scroll
  5095. == true. rework this slightly to this effect, and fix bug #79606,
  5096. and part of #72499 (you can now see the drag handles and drag
  5097. toolbars around).
  5098. 2006-10-06 Gert Driesen <[email protected]>
  5099. * ListViewItem.cs: Collections of selected and checked items are now
  5100. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  5101. we mark the collection "dirty".
  5102. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  5103. to only clear SelectedItems when a new item is selected and MultiSelect
  5104. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  5105. event of ListViewItemCollection, and mark its list dirty whenever
  5106. that event is fire. This allows us to return selected/checked items
  5107. in the same order as they are in the Items collection. This matches
  5108. the MS behavior.
  5109. 2006-10-06 Chris Toshok <[email protected]>
  5110. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  5111. right mouse clicks. Fixes bug #79593.
  5112. 2006-10-06 Chris Toshok <[email protected]>
  5113. * Splitter.cs: doh, fix splitters that don't want to cancel the
  5114. movement when you drag them. Also, impose the limits on the
  5115. values we send to the SplitterMovingEvent. Fixes #79598.
  5116. 2006-10-06 Jackson Harper <[email protected]>
  5117. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  5118. since we use this for auto scrolling also.
  5119. 2006-10-05 Chris Toshok <[email protected]>
  5120. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  5121. beginning to think that most datagrid column types don't need this
  5122. method. Fixes bug #79392.
  5123. 2006-10-05 Chris Toshok <[email protected]>
  5124. * DataGrid.cs: move back to a more lazy scheme for creating the
  5125. CurrencyManager, so we aren't updating it every time you set
  5126. either DataSource or DataMember. Also, don't call
  5127. RecreateDataGridRows if the currency manager hasn't changed.
  5128. 2006-10-05 Chris Toshok <[email protected]>
  5129. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  5130. emitted, SelectedIndex should already be updated. Fixes bug
  5131. #78929.
  5132. 2006-10-05 Jonathan Pobst <[email protected]>
  5133. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  5134. ToolStripTextBox.cs: Initial commit.
  5135. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  5136. 2006-10-05 Jackson Harper <[email protected]>
  5137. * TabControl.cs: We need to invalidate the tab control area when
  5138. new ones are added (duh).
  5139. 2006-10-03 Chris Toshok <[email protected]>
  5140. * Form.cs (ProcessDialogKey): if the focused control is in this
  5141. form and is a button, call its PerformClick method here. Fixes
  5142. #79534.
  5143. 2006-10-04 Jackson Harper <[email protected]>
  5144. * TabPage.cs: Ignore setting of Visible, and add an internal
  5145. method for setting the controls visibility. TabPage's Visible
  5146. property is a little strange on MS, this seems to make us
  5147. compatible, and fixes cases where people set all the tab pages to
  5148. visible.
  5149. * TabControl.cs: Use the new internal setting on tab pages
  5150. visibility.
  5151. 2006-10-03 Mike Kestner <[email protected]>
  5152. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  5153. 2006-10-03 Mike Kestner <[email protected]>
  5154. * ListView.cs : use is_visible instead of Visible to check if
  5155. scrollbars should be placed/sized. Also some max_wrap_width
  5156. love for LargeIcon view. [Fixes #79533]
  5157. 2006-10-03 Atsushi Enomoto <[email protected]>
  5158. * TextControl.cs :
  5159. Make set_TextAlign() do actually update the align. Fixed #78403.
  5160. 2006-10-03 Chris Toshok <[email protected]>
  5161. * DataGrid.cs: fix a crash when switching datasources if the
  5162. vertical scrollbar is at someplace other than Value = 0. Also,
  5163. reduce the number of recalculation passes we do in SetDataSource
  5164. from 2 to 1.
  5165. 2006-10-03 Jackson Harper <[email protected]>
  5166. * TextBoxBase.cs: Move the if value the same bail check up, we
  5167. don't want to empty the document if it is already empty, this
  5168. seems to severly mess up the caret. TODO: I should probably fix
  5169. the empty statement to update teh caret somehow.
  5170. 2006-10-03 Chris Toshok <[email protected]>
  5171. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  5172. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  5173. reflection, an internal row type, properties on said type, etc.)
  5174. will work with our datagrid. Fixes #79531.
  5175. 2006-10-03 Alexander Olk <[email protected]>
  5176. * FileDialog.cs: Don't crash if a path is not accessible
  5177. (System.UnauthorizedAccessException). Fixes #79569.
  5178. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  5179. a ':' too. Return unknown icon for those paths/files.
  5180. 2006-10-03 Sebastien Pouliot <[email protected]>
  5181. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  5182. GetContainerControl returns null.
  5183. 2006-10-02 Chris Toshok <[email protected]>
  5184. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  5185. call to XGetWindowAttributes instead of "handle". fixes an X
  5186. error using notifyicon after the NotifyIconWindow to Form base
  5187. class switch.
  5188. 2006-10-02 Chris Toshok <[email protected]>
  5189. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  5190. server grab and looping we need to do to get down to the most
  5191. deeply nested child window.
  5192. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  5193. QueryPointer again after the WarpPointer so we can generate a
  5194. proper (fake) MotionNotify event to be enqueued in the destination
  5195. window's queue.
  5196. (GetCursorPos): call QueryPointer.
  5197. Fixes #79556.
  5198. 2006-10-02 Jackson Harper <[email protected]>
  5199. * NotifyIcon.cs: Derive the notify icon from a form, so things
  5200. like FindForm work on it.
  5201. - Swallow the WM_CONTEXTMENU message, since that is generated on
  5202. mouse down, and context menu is a mouse up kinda guy. I believe
  5203. the correct fix here is probably to make the notify icon entirely
  5204. NC area, but this seems to work fine for anyone not manipulating
  5205. WndProc.
  5206. 2006-10-02 Jonathan Pobst <[email protected]>
  5207. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  5208. ToolStripItemCollection.cs, ToolStripLabel.cs,
  5209. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  5210. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  5211. Initial implementation.
  5212. * TextRenderer.cs: Provide padding to MeasureText.
  5213. 2006-10-02 Sebastien Pouliot <[email protected]>
  5214. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  5215. of ButtonBaseAccessibleObject. Fix bug #79552.
  5216. 2006-10-02 Jackson Harper <[email protected]>
  5217. * MdiWindowManager.cs: When maximizing use the containers client
  5218. rect, not it's bounds, so nc area is accounted correctly.
  5219. - Use the parent form's size for the menu position, since the
  5220. client isn't always the full form size.
  5221. 2006-10-01 Chris Toshok <[email protected]>
  5222. * ScrollableControl.cs: make sure neither right_edge or
  5223. bottom_edge are < 0, since they're used as LargeChange for the
  5224. horiz/vert scrollbars respectively. Fixes #79539.
  5225. 2006-10-01 Chris Toshok <[email protected]>
  5226. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  5227. the xplatuix11 code can cause us to destroy/recreate our handle.
  5228. * XplatUIX11.cs
  5229. (SystrayAdd):
  5230. - this code can be invoked many times for the same Hwnd. Make
  5231. sure we only destroy the client window once (the first time this
  5232. method is called). This fixes bug #79544.
  5233. - Remove the call to the improperly bound XSync. why we had two
  5234. bindings to this, I will never know, but this call resulted in
  5235. events being discarded from the queue(!).
  5236. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  5237. not our current state but the state we wish to be in. So, 0 if
  5238. we don't want to be mapped. Change it to 1.
  5239. (SystrayRemove): The XEMBED spec makes mention of the fact that
  5240. gtk doesn't support the reparent of client windows away from the
  5241. embedder. Looking at gtksocket-x11.c seems to agree with this.
  5242. The only avenue we have for removing systray icons is to destroy
  5243. them. We don't want the handle to go away for good, though, so
  5244. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  5245. #79545.
  5246. 2006-10-01 Chris Toshok <[email protected]>
  5247. * Form.cs (WndProc): inline the native_enabled variable usage into
  5248. the cases in which it's used. Fixes #79536.
  5249. 2006-09-29 Mike Kestner <[email protected]>
  5250. * ListView.cs : toggle the selection state for ctrl clicks in
  5251. multiselect mode. [Fixes #79417]
  5252. 2006-09-29 Mike Kestner <[email protected]>
  5253. * ListView.cs : kill CanMultiSelect and refactor the selection
  5254. code to support multiselection in the absence of mod keys. Steal
  5255. arrow/home/end keys by overriding InternalPreProcessMessage to
  5256. restore regressed keynav behavior.
  5257. [Fixes #79416]
  5258. 2006-09-29 Jackson Harper <[email protected]>
  5259. * MdiClient.cs: Repaint the titlebars when the active window is
  5260. changed.
  5261. 2006-09-29 Chris Toshok <[email protected]>
  5262. * Application.cs: when entering a runloop with a modal, make sure
  5263. the hwnd is enabled. Fixes #79480.
  5264. 2006-09-29 Chris Toshok <[email protected]>
  5265. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  5266. when ListManager.CanAddRows == false, bump us back one.
  5267. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  5268. listmanager.CanAddRows check. This makes ArrayLists uneditable
  5269. using a datagrid, which is not right.
  5270. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  5271. is an IEditable, but call property_descriptor.SetValue regardless.
  5272. fixes #79435.
  5273. 2006-09-29 Chris Toshok <[email protected]>
  5274. * DataGridBoolColumn.cs: we need to test equality in the face of
  5275. possible null values (as is the case with the default NullValue).
  5276. This patch keeps us from crashing in that case.
  5277. 2006-09-29 Jackson Harper <[email protected]>
  5278. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  5279. here, since it will get called for every node collection in the
  5280. tree. This is now done in the treeview once the sorting is
  5281. finished.
  5282. * TreeView.cs: Recalculate the visible order, and update the
  5283. scrollbars after sorting, set the top nope to the root so that the
  5284. recalc actually works.
  5285. 2006-09-29 Chris Toshok <[email protected]>
  5286. * LinkLabel.cs: more handling of the default link collection in
  5287. the face of LinkArea manipulation. The default link collection
  5288. contains 1 element (start=0,length=-1). If the user sets LinkArea
  5289. to anything and the links collection is the default, clear it.
  5290. Then only add the link if its nonempty. Fixes #79518.
  5291. 2006-09-29 Chris Toshok <[email protected]>
  5292. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  5293. piece correctly when we hit a '\n'. Fixes #79517.
  5294. 2006-09-29 Chris Toshok <[email protected]>
  5295. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  5296. change the binding of gdk_init_check to take two IntPtr's, and
  5297. pass IntPtr.Zero for both of them. Fixes #79520.
  5298. 2006-09-29 Mike Kestner <[email protected]>
  5299. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  5300. [Fixes #78779]
  5301. 2006-09-28 Jackson Harper <[email protected]>
  5302. * XplatUIX11.cs: When translating NC messages make sure we go from
  5303. whole window to screen, not client window to screen.
  5304. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  5305. method doesn't exist
  5306. - Skip over controls that aren't forms when arranging.
  5307. 2006-09-28 Jackson Harper <[email protected]>
  5308. * XplatUIWin32.cs: Clip the rect to the parent window.
  5309. * XplatUIStructs.cs: Add clipping modes struct.
  5310. * InternalWindowManager.cs: New private method that factors title
  5311. bar heights in when calculating the pos of an NC mouse message.
  5312. - Use SendMessage to force a paint when the form's size is changed
  5313. instead of painting the decorations immediately.
  5314. - Don't let the NC button click messages get to DefWndProc,
  5315. because they will attempt to handle windowing themself, and this
  5316. messes up z-order (it will put them in front of the scrollbars).
  5317. * XplatUIX11.cs: Make sure that we don't reset window managers if
  5318. we already have one (ie the window is an MDI window).
  5319. 2006-09-28 Chris Toshok <[email protected]>
  5320. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  5321. menu code really needs going over.
  5322. 2006-09-27 Chris Toshok <[email protected]>
  5323. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  5324. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  5325. window is maximizable. So, we need to make sure that even if we
  5326. clear the border/wm frame of those functions, they're still
  5327. available (basically, we remove the decoration without removing
  5328. the function). Half the fix for #79338.
  5329. 2006-09-27 Chris Toshok <[email protected]>
  5330. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  5331. Fixes bug #79515.
  5332. 2006-09-27 Chris Toshok <[email protected]>
  5333. * Splitter.cs: reorder things a bit so that we don't actually
  5334. draw/move the splitter until after calling OnSplitterMoving. This
  5335. lets users cancel/disallow the movement by explicitly setting
  5336. event.SplitX/SplitY. Fixes #79372.
  5337. 2006-09-27 Jackson Harper <[email protected]>
  5338. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  5339. because it is most likely on a window being destroyed, and that
  5340. will give us an X11 error.
  5341. 2006-09-27 Chris Toshok <[email protected]>
  5342. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  5343. the dropdown button now toggles between showing and hiding the
  5344. dropdown. Also, get rid of dropdown_form_showing and just use
  5345. dropdown_form.Visible. We still don't do a grab, but I'll leave
  5346. that part to someone who has handled Capture-fu before.
  5347. 2006-09-27 Chris Toshok <[email protected]>
  5348. * DataGrid.cs: return false if alt isn't pressed when '0' is
  5349. pressed. this keeps the '0' key from being swallowed, and fixes
  5350. bug #79350.
  5351. 2006-09-27 Chris Toshok <[email protected]>
  5352. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  5353. Calling Refresh (in response to a scrollbar event) screws up the
  5354. scrollbar painting. Fixes bug #78923.
  5355. 2006-09-27 Chris Toshok <[email protected]>
  5356. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  5357. then insert into hashtable" blocks threadsafe.
  5358. 2006-09-27 Chris Toshok <[email protected]>
  5359. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  5360. baseclass's, since otherwise the
  5361. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  5362. effect. This gets the close button back in messageboxes.
  5363. 2006-09-27 Chris Toshok <[email protected]>
  5364. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  5365. flag, not just != 0. this makes flags that are actually multiple
  5366. bits (like WS_CAPTION) work. fixes bug #79508.
  5367. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  5368. * PageSetupDialog.cs: add support for getting and settings the
  5369. paper size, source and orientation.
  5370. 2006-09-26 Chris Toshok <[email protected]>
  5371. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  5372. and caption == "", we need to remove the resize handles as well as
  5373. the title bar.
  5374. * Control.cs (set_Text): turns out that setting Text on a form
  5375. should change the WM styles on the window, since if ControlBox ==
  5376. false, the only way to get a window border is to have a non-""
  5377. Text property. check winforms/forms/text.cs for an example. so,
  5378. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  5379. update both window styles and title. This fixes a lot of dialogs
  5380. (including the preferences dialog in MonoCalendar.)
  5381. 2006-09-26 Chris Toshok <[email protected]>
  5382. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  5383. control isn't a Form), call Win32ShowWindow to hide the window,
  5384. but don't update the control Visible property. When we reparent
  5385. back to a parent control, call SetVisible in order for the
  5386. window's visibility to be reinstated.
  5387. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  5388. the FosterParent.
  5389. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  5390. call for good, since it breaks MonoCalendar (and other things I'm
  5391. sure.) Also, set all_controls to null *after* the owner calls,
  5392. which end up regenerating it.
  5393. (ChangeParent): allow new_parent to be == null, passing
  5394. IntPtr.Zero down to XplatUI.
  5395. this fixes #79294 the right way.
  5396. 2006-09-26 Mike Kestner <[email protected]>
  5397. * GridEntry.cs : internal SetParent method.
  5398. * PropertyGrid.cs : attach to property changed on the proper
  5399. target if we have a hierarchical grid with subobjects. Setup
  5400. GridItem.Parent for hierarchical items.
  5401. * PropertyGridView.cs : Set value on the correct target for
  5402. hierarchical grids. [Fixes #78903]
  5403. 2006-09-26 Chris Toshok <[email protected]>
  5404. * Control.cs (ChildNeedsRecreating): this should return true if
  5405. either we're being recreated and the child is in our list, or our
  5406. parent is waiting for our recreation.
  5407. 2006-09-26 Chris Toshok <[email protected]>
  5408. * Control.cs (ControlCollection.Remove): reinstate the
  5409. value.Hide() call as suggested in bug #79294.
  5410. 2006-09-26 Sebastien Pouliot <[email protected]>
  5411. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  5412. coordinates (versus a relative move).
  5413. 2006-09-26 Chris Toshok <[email protected]>
  5414. * Control.cs: rework child recreation a little bit. It turns out
  5415. that we race between the DestroyNotify the WM_DESTROY message. If
  5416. the parent gets its DestroyNotify before the child gets the
  5417. WM_DESTROY message, the child ends up not recreating (since the
  5418. parent finishes its recreation on DestroyNotify, and the child
  5419. checks ParentIsRecreating.)
  5420. So, instead we store off a list of all the child controls which
  5421. need to be recreated when the parent control starts to recreate
  5422. itself. Then, when child controls get their WM_DESTROY message we
  5423. check to see if they're in the parent's pending recreation list,
  5424. and if so, we recreate. This removes all dependency on ordering
  5425. from the code and fixes the initial MonoCalendar upgrade dialog.
  5426. 2006-09-26 Jackson Harper <[email protected]>
  5427. * TextControl.cs: Use the Line to get the length of the line,
  5428. since soft line breaks can change the end line.
  5429. 2006-09-26 Chris Toshok <[email protected]>
  5430. * Control.cs (ControlCollection.AddImplicit): don't add the
  5431. control again if it's already in one of our lists. This keeps us
  5432. from adding controls over and over again for comboboxes when their
  5433. handle gets recreated (as the combobox adds implicit controls in
  5434. OnHandleCreated). Fixes the X11 errors in bug #79480.
  5435. 2006-09-26 Jackson Harper <[email protected]>
  5436. * TextControl.cs: When deleting characters make sure that any
  5437. orphaned zero lengthed tags get deleted.
  5438. - Fix ToString for zero lengthed tags.
  5439. 2006-09-25 Jackson Harper <[email protected]>
  5440. * TextControl.cs: When getting a tag at the location there can be
  5441. multiple tags at the same spot, these are 0-lengthed tags that
  5442. appear when extra formatting has been stuck in a location. We
  5443. need to pull out the last of these 0 lengthed tags.
  5444. 2006-09-25 Jackson Harper <[email protected]>
  5445. * TextControl.cs: Fix print out in debug method.
  5446. * TextBoxBase.cs: When text is set bail if we are setting to the
  5447. previous value.
  5448. 2006-09-24 Alexander Olk <[email protected]>
  5449. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  5450. It is now possible to change the selected index in a FontXXXListBox
  5451. with the up and down arrow keys from the FontXXXTextBoxes.
  5452. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  5453. FontXXXListBoxes to match ms.
  5454. 2006-09-22 Sebastien Pouliot <[email protected]>
  5455. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  5456. anyone can dispose it, anytime. All other properties returns enums,
  5457. structs or basic types so they don't need such tricks.
  5458. 2006-09-22 Jackson Harper <[email protected]>
  5459. * XplatUI.cs:
  5460. * XplatUIWin32.cs:
  5461. * Clipboard.cs:
  5462. * DataFormats.cs:
  5463. * XplatUIOSX.cs:
  5464. * XplatUIDriver.cs: Update interface to add a primary selection
  5465. flag, so the driver can use the primary selection buffer if
  5466. needed.
  5467. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  5468. * RichTextBox.cs: We need to supply the data object to paste now
  5469. (so we can choose to supply CLIPBOARD or PRIMARY).
  5470. * TextBoxBase.cs: Supply data object to paste (see above).
  5471. - Middle click uses the primary selection data object.
  5472. 2006-09-21 Chris Toshok <[email protected]>
  5473. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  5474. of SetWMStyles. It's still a rat's nest and is largely
  5475. order-dependent which I dislike immensely. This also fixes the X
  5476. button disappearing from toplevel forms.
  5477. 2006-09-21 Mike Kestner <[email protected]>
  5478. * ListBox.cs: move Jordi's click/dblclick raising code to the
  5479. mouse up handler.
  5480. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  5481. * ListBox.cs: Fixes 79450
  5482. 2006-09-21 Mike Kestner <[email protected]>
  5483. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  5484. to deal with people updating the TreeNodeCollection after the tree
  5485. is disposed. "Fixes" 79330.
  5486. 2006-09-20 Jackson Harper <[email protected]>
  5487. * TextControl.cs: Push the cursor record onto the undo stack
  5488. before the delete action. This fixes 78651.
  5489. 2006-09-20 Jonathan Chambers <[email protected]>
  5490. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  5491. CreateParams. Fixes 79329.
  5492. 2006-09-19 Chris Toshok <[email protected]>
  5493. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  5494. things up a bit. First, get rid of the NetAtoms array (and the NA
  5495. enum), and just embed the atoms as static fields. Also, add a
  5496. couple of functions (StyleSet and ExStyleSet) to clean up all the
  5497. bitmask testing of styles.
  5498. * X11Structs.cs: remove the NA enum, not needed anymore.
  5499. 2006-09-19 Chris Toshok <[email protected]>
  5500. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  5501. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  5502. added cleanup to get MessageBox titles appearing again, which were
  5503. broken by my earlier fix for caption-less/ControlBox-less windows.
  5504. 2006-09-18 Jonathan Pobst <[email protected]>
  5505. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  5506. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  5507. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  5508. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  5509. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  5510. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  5511. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  5512. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  5513. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  5514. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  5515. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  5516. Inital import.
  5517. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  5518. ToolStripButton.cs: Stubs needed for above.
  5519. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  5520. 2006-09-15 Chris Toshok <[email protected]>
  5521. * XplatUIX11.cs:
  5522. - make the MessageQueues hashtable Synchronized.
  5523. - SendMessage: if the Hwnd is owned by a different thread, use the
  5524. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  5525. thread. Fixes bug #79201.
  5526. 2006-09-15 Chris Toshok <[email protected]>
  5527. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  5528. ControlBox == false, we disallow maximize/minimize/close. If the
  5529. form Caption is "" we also disallow move (and get rid of the Title
  5530. decoration). Unfortunately, regardless of how things are set,
  5531. we're stuck with the Title and WM menu.
  5532. 2006-09-15 Chris Toshok <[email protected]>
  5533. * Application.cs: add locking around the static message_filters
  5534. ArrayList, part of #79196.
  5535. 2006-09-15 Chris Toshok <[email protected]>
  5536. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  5537. Form.ControlBox == false, the window has no titlebar nor resize
  5538. handles. fixes bug #79368.
  5539. 2006-09-15 Chris Toshok <[email protected]>
  5540. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  5541. >= 0. Fixes bug #79370.
  5542. 2006-09-15 Jonathan Pobst <[email protected]>
  5543. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  5544. * Control.cs:
  5545. Add properties: LayoutEngine, Margin, DefaultMargin.
  5546. Add method: GetPreferredSize.
  5547. Move layout logic from PerformLayout to layout engines.
  5548. 2006-09-13 Chris Toshok <[email protected]>
  5549. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  5550. fix for #79326 broke #78718, so this change addresses that.
  5551. - in SendWMDestroyMessages remove the call to
  5552. CleanupCachedWindows, since we might be recreating the control and
  5553. need to maintain the references to right Hwnd handles. Also, set
  5554. the zombie flag to true for each of the children in the hierarchy
  5555. instead of calling hwnd.Dispose. This will cause GetMessage to
  5556. ignore all events for the window except for DestroyNotify.
  5557. - In GetMessage, ignore messages except for DestroyNotify for
  5558. zombie hwnds.
  5559. * Control.cs: revert the is_recreating fix from the last
  5560. ChangeLog. It's definitely "right", but it breaks switching from
  5561. an MDI form to a non-MDI form. Will need to revisit that.
  5562. * Hwnd.cs: add a zombie flag, which means "the
  5563. client_window/whole_window handles are invalid, but we're waiting
  5564. for the DestroyNotify event to come in for them". Set the flag to
  5565. false explicitly if setting WholeWindow/ClientWindow, and also
  5566. when Disposing.
  5567. 2006-09-13 Chris Toshok <[email protected]>
  5568. * XplatUIX11.cs: rework window destruction slightly.
  5569. - when destroying the windows associated with a control, we don't
  5570. need 2 separate XDestroyWindow calls. Just the one for the
  5571. whole_window (or for client_window if whole_window is somehow
  5572. IntPtr.Zero -- can this happen?) is enough.
  5573. - reworked SendWMDestroyMessages slightly, so we always dispose
  5574. the child control hwnd's after sending the messages.
  5575. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  5576. the two places it was used (one was even using hwnd.Handle and the
  5577. other hwnd.client_window. ugh), adding another call in
  5578. SendWMDestroyMessages. We need this new call because now the
  5579. DestroyNotify events in the queue will be ignored for the child
  5580. controls (as their hwnd's were disposed, and the window id's
  5581. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  5582. - this fixes bug #79326.
  5583. 2006-09-13 Chris Toshok <[email protected]>
  5584. * Control.cs: don't always set is_recreating to false at the end
  5585. of RecreateHandle, since sometimes we're not done (and won't be
  5586. until WndProc handles the WM_DESTROY message). Also, set
  5587. is_recreating to false in the WM_DESTROY handling code. Part of
  5588. the fix for bug #79326.
  5589. 2006-09-13 Miguel de Icaza <[email protected]>
  5590. * X11DesktopColors.cs: Start the droppage of debugging messages.
  5591. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  5592. 2006-09-13 Jonathan Pobst <[email protected]>
  5593. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  5594. 2006-09-12 Chris Toshok <[email protected]>
  5595. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  5596. to create it using SetDataSource. Fixes bug #79151.
  5597. 2006-09-11 Chris Toshok <[email protected]>
  5598. * XEventQueue.cs: add a DispatchIdle property.
  5599. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  5600. either the queue is null, or the queue has DispatchIdle set to
  5601. true.
  5602. (DoEvents): set queue.DispatchIdle to false around the
  5603. peek/translate/dispatch message loop in this method. This keeps
  5604. Application.Doevents from emitting idle events. Part of the fix
  5605. for #78823.
  5606. 2006-09-11 Chris Toshok <[email protected]>
  5607. * DataGrid.cs (set_DataSource): make this work for both the
  5608. winforms/datagrid test and ReportBuilder. It seems as though when
  5609. we've created a ListManager (or maybe it's if we have a
  5610. BindingContext?), when we set the DataSource it clears the
  5611. DataMember to "". otherwise we reuse the datamember. Fixes bug
  5612. #79333.
  5613. 2006-09-11 Chris Toshok <[email protected]>
  5614. * XplatUIX11.cs: deal with queue being null, which happens in all
  5615. the Clipboard functions. Fixes one of the two problems mentioned
  5616. in #78612.
  5617. 2006-09-11 Chris Toshok <[email protected]>
  5618. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  5619. button on various spots (including outside the menu) works closer
  5620. to MS, and doesn't crash. Fixes #79343.
  5621. 2006-09-11 Gert Driesen <[email protected]>
  5622. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  5623. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  5624. and the internal comparer is set. When a new ListViewItemSorter is set,
  5625. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  5626. was specified. No further processing is necessary if SortOrder is set
  5627. to it's current value. If Sorting is modified to None, and View is
  5628. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  5629. (either custom or our internal ItemComparer) to null, on 1.0 profile
  5630. only set item_sorter to null if its our internal IComparer. If Sorting
  5631. is modified to Ascending or Descending, then use our internal IComparer
  5632. if none is set, and if the current IComparer is our internal one then:
  5633. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  5634. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  5635. Enum.IsDefined to verify whether a valid View value is specified in
  5636. its setter. Automatically sort listview items when listview is
  5637. created. In Sort, do nothing if ListView is not yet created, or if
  5638. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  5639. to None or ListViewItemSorter was set to null). Added Sort overload
  5640. taking a bool to indicate whether the ListView should be redrawn when
  5641. items are sorted (we use this in ListViewItemCollection to avoid double
  5642. redraws). Modified our internal IComparer to take the sort order into
  5643. account. In Add and AddRange methods of ListViewItemCollection, also
  5644. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  5645. view), but use overload with noredraw option to avoid double redraw.
  5646. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  5647. true when View is Tile, and do the same when attempting to set View to
  5648. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  5649. for selected/checked indices, as it involves overhead when sorting is
  5650. done while these collections are not used all that often. Instead
  5651. we'll build the indices on demand. Modified IList implementation of
  5652. CheckedIndexCollection to use public methods if object is int.
  5653. Modified CheckedListViewItemCollection to hide checked items if
  5654. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  5655. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  5656. IList implementation in SelectedIndexCollection to use public methods
  5657. if object is int. Modified SelectedListViewItemCollection to hide
  5658. selected items if listview is not yet created.
  5659. * ListViewItem.cs: CheckedIndices list no longer needs to be
  5660. maintained separately (see ListView changes). Also clone font, fixes
  5661. test failure.
  5662. 2006-09-11 Mike Kestner <[email protected]>
  5663. * ComboBox.cs: if we are updating the contents of the currently
  5664. selected index, refresh the control or the textbox selection.
  5665. [Fixes #79066]
  5666. 2006-09-11 Mike Kestner <[email protected]>
  5667. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  5668. the 'specified' logic has been moved there. This seems like a bug
  5669. in Control.cs, since our current SetBoundsCore completely ignores
  5670. the specified parameter. Peter's commit seems to indicate that is
  5671. the way the MS control implementation works. [Fixes #79325]
  5672. 2006-09-10 Jonathan Chambers <[email protected]>
  5673. * XplatUI.cs: Set default_class_name to be composed
  5674. of current domain id. This allows MWF to be loaded in multiple
  5675. domains on Win32.
  5676. 2006-09-09 Miguel de Icaza <[email protected]>
  5677. * X11Keyboard.cs: If we are unable to obtain the input method, do
  5678. not call CreateXic to create the input context. Should fix
  5679. #78944/79276.
  5680. 2006-09-08 Alexander Olk <[email protected]>
  5681. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  5682. Simplified gnome support by adding more pinvokes to get the
  5683. icon for a file or mime type.
  5684. 2006-09-08 Jackson Harper <[email protected]>
  5685. * MenuAPI.cs: Deslect popup context menu items before closing the
  5686. window, so that you don't see the previously selected item
  5687. selected when you reopen the menu.
  5688. * TextControl.cs: Update the cursor position even if we don't have
  5689. focus. This fixes typing in things like the ComboBox. I'm not
  5690. totally sure we should always set the visibility if we don't have
  5691. focus, but couldn't find any corner cases where the cursor showed
  5692. up when it shouldn't.
  5693. 2006-09-08 Chris Toshok <[email protected]>
  5694. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  5695. our arrays are length 256. & 0xff before indexing. Fixes the
  5696. crash in bug #78077.
  5697. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  5698. * ThemeWin32Classic.cs:
  5699. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  5700. is true. Handle that check box too.
  5701. 2006-09-07 Chris Toshok <[email protected]>
  5702. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  5703. 79244.
  5704. 2006-09-07 Chris Toshok <[email protected]>
  5705. * Control.cs: in set_BackColor only do the work if
  5706. background_color != value.
  5707. * XplatUIX11.cs: move the clearing of invalid areas (both client
  5708. and nc) to the same block of code where we set (nc_)expose_pending
  5709. to false. That is, move it from PaintEventEnd to PaintEventStart,
  5710. so things that cause invalidates from within OnPaint will trigger
  5711. another call to OnPaint. Fixes bug #79262.
  5712. 2006-09-07 Alexander Olk <[email protected]>
  5713. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  5714. * FileDialog.cs: Fix typo
  5715. 2006-09-07 Jackson Harper <[email protected]>
  5716. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  5717. for tab pages if they have any.
  5718. 2006-09-06 Mike Kestner <[email protected]>
  5719. * Splitter.cs: use the "current" rect when finishing drag handle
  5720. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  5721. 2006-09-06 Mike Kestner <[email protected]>
  5722. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  5723. support offset splitters. [Fixes #79298]
  5724. 2006-09-06 Alexander Olk <[email protected]>
  5725. * Mime.cs: Fixed a bug that could override the global mime type
  5726. result.
  5727. 2006-09-05 Jackson Harper <[email protected]>
  5728. * TabControl.cs: Better calculation method for setting the slider
  5729. pos. Prevents crashes on really wide tabs.
  5730. - Draw Image on tab pages if an image list is used.
  5731. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  5732. * MonthCalendar.cs: When Font changes, the Size should be
  5733. updated to fit the new font's space requirements.
  5734. 2006-09-02 Alexander Olk <[email protected]>
  5735. * ListBox.cs: If the items are cleared with Items.Clear set
  5736. top_index to 0.
  5737. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5738. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  5739. fire DateChanged event instead of DateSelected event when
  5740. the date was changed by keyboard interaction.
  5741. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5742. * DateTimePicker.cs: Handle DateChanged for the associated
  5743. month_calendar control, and set month_calendar.Font from
  5744. OnFontChanged method, as well as resize the height of the
  5745. control when needed. Make PreferredHeight proportional.
  5746. 2006-09-01 Chris Toshok <[email protected]>
  5747. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  5748. properties.
  5749. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  5750. 2006-09-01 Peter Dennis Bartok <[email protected]>
  5751. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  5752. for decorations (Fixes #79219)
  5753. 2006-09-01 Mike Kestner <[email protected]>
  5754. * ComboBox.cs: first stab at sorting plus some selection handling
  5755. fixes to bring us more in line with MS behavior. Also switches back
  5756. to index based selection. Alternative patches for index-based
  5757. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  5758. and [email protected] on bug 78848. I assume they were similar to this
  5759. code I've had simmering in my tree forever.
  5760. [Fixes #78848]
  5761. 2006-09-01 Chris Toshok <[email protected]>
  5762. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  5763. when setting list position guard against ending up with a -1 index
  5764. (the other part of the fix for #78812). Should probably make sure
  5765. we don't need the analogous fix in the ItemDeleted case.
  5766. * DataGrid.cs:
  5767. - in SetDataSource, work around the fact that the way
  5768. OnBindingContextChanged is invoked will cause us to re-enter this
  5769. method. I'll remove the hack once I investigate
  5770. OnBindingContextChanged.
  5771. - fix the logic in set_DataSource and set_DataMember (basically
  5772. what to do if the other of the two is null.)
  5773. - in OnListManagerItemChanged, we need to take into account the
  5774. edit row when deciding whether or not to call RecreateDataGridRows
  5775. (part of the fix for #78812).
  5776. 2006-09-01 Jackson Harper <[email protected]>
  5777. * Splitter.cs: Don't do anything if there is no control to affect
  5778. (prevents us from crashing in weird tet cases).
  5779. * TreeView.cs: Bounding box for the mouse movement reverting
  5780. focus/selection back to previously selected node. This matches
  5781. MS, and makes the tree a lot more useable.
  5782. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  5783. use clipping so they are not drawn. This fixes when the control
  5784. is set to have a transparent background, or if it was over an
  5785. image.
  5786. 2006-09-01 Alexander Olk <[email protected]>
  5787. * MimeIcon.cs: Improved handling for reading default icons when
  5788. using gnome (2.16 made it necessary). Check and read svg icons
  5789. first, then 48x48 and then 32x32 icons.
  5790. 2006-08-31 Chris Toshok <[email protected]>
  5791. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  5792. visible.
  5793. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  5794. ProcessKeyPreview. Fixes part of #77806.
  5795. * DataGrid.cs: big patch.
  5796. - revert the queueing up of DataSource/DataMember if inside
  5797. BeginInit/EndInit calls. That's not the way the datagrid achieves
  5798. its delayed databinding. Instead, call SetDataSource in
  5799. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  5800. #78811.
  5801. - Also, it wasn't mentioned in #78811, but the test case exhibits
  5802. behavior that was lacking in our datagrid implementation - Columns
  5803. that have mapping names that don't exist in the datasource's
  5804. properties aren't shown. Yuck. To fix this I added the bound
  5805. field to the column style, and basically any calculation to figure
  5806. out anything about columns uses a loop to find the bound columns.
  5807. still need to investigate if I can cache an array of the bound
  5808. columns or if the indices must be the same.
  5809. - When setting CurrentCell, we no longer abort if the cell being
  5810. edited was in the add row. This fixes the other part of #77806.
  5811. - The new code also fixes #78807.
  5812. * ThemeWin32Classic.cs: perpetrate the same disgusting
  5813. column.bound field hack, and only render bound fields.
  5814. 2006-08-31 Chris Toshok <[email protected]>
  5815. * DataGridColumnStyle.cs: add bound field. this field is true if
  5816. the datasource has a property corresponding to the mapping name.
  5817. * DataGridTableStyle.cs: set the bound field on the column styles
  5818. depending on whether or not we have a column for that property.
  5819. 2006-08-31 Peter Dennis Bartok <[email protected]>
  5820. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  5821. splitter control (fixes #79228)
  5822. 2006-08-31 Chris Toshok <[email protected]>
  5823. * DataGridColumnStyle.cs: we need to delay the assignment of
  5824. property descriptor until the last possible moment due to the lazy
  5825. databinding stuff in the datagrid. Also, fix the exceptions
  5826. thrown by CheckValidDataSource to match MS.
  5827. 2006-08-31 Jackson Harper <[email protected]>
  5828. * Form.cs: When activated select the active control, if there is
  5829. no active control, we select the first control.
  5830. * XplatUIX11.cs: If there is no focus control when we get a
  5831. FocusIn event, find the toplevel form and activate it. This
  5832. occurs when you popup a window, it becomes the focus window, then
  5833. you close that window, giving focus back to the main window.
  5834. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  5835. * MonthCalendar.cs:
  5836. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  5837. as StringFormat with Center alignments in MonthCalendar,
  5838. instead of creating new ones when drawing the control.
  5839. Also, draw the month name in bold style.
  5840. 2006-08-30 Peter Dennis Bartok <[email protected]>
  5841. * Control.cs:
  5842. - PerformLayout(): It would seem MS performs the fill even if the
  5843. control is not visible (part of #79218 fix)
  5844. - ResetBackColor(): Use the setter to reset the color, to allow
  5845. overriders to catch the change.
  5846. * Form.cs:
  5847. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  5848. - CreateHandle(): dito (part of $79218 fix)
  5849. - Don't set an icon if we have a dialog
  5850. * ScrollableControl.cs:
  5851. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  5852. - ScrollIntoView(): No need to scroll if control is already visible
  5853. (resolves fixme and fixes #79218)
  5854. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  5855. * MonthCalendar.cs: Change proportions in SingleMonthSize
  5856. to match the aspect of the original control.
  5857. 2006-08-29 Alexander Olk <[email protected]>
  5858. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  5859. get updated when they get maximized.
  5860. 2006-08-29 Peter Dennis Bartok <[email protected]>
  5861. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  5862. 2006-08-29 Chris Toshok <[email protected]>
  5863. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  5864. 2006-08-29 Jackson Harper <[email protected]>
  5865. * TreeView.cs: Need to track selected node and highlighted node,
  5866. they aren't always the same thing, when the mouse is down on a
  5867. node it is hilighted, but not selected yet.
  5868. - Do the HideSelection stuff right
  5869. - Need to focus on rbutton mouse down. And redraw selection when
  5870. right click is mouse upped.
  5871. 2006-08-29 Mike Kestner <[email protected]>
  5872. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  5873. when SubItems.Count < Columns.Count. [Fixes #79167]
  5874. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5875. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  5876. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5877. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  5878. from X. Only send based on ConfigureNotify if we don't have the
  5879. correct location in hwnd (if the window manager moved us)
  5880. 2006-08-28 Mike Kestner <[email protected]>
  5881. * ListView.cs: remove a TODO.
  5882. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  5883. [Fixes ListView part of #79166]
  5884. 2006-08-28 Mike Kestner <[email protected]>
  5885. * ListView.cs: move wheel handler to parent since it is focused
  5886. instead of the item_control now. [Fixes #79177]
  5887. 2006-08-28 Mike Kestner <[email protected]>
  5888. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  5889. when the control is focused. [Fixes #79171]
  5890. 2006-08-28 Mike Kestner <[email protected]>
  5891. * ListView.cs: size the item and header controls for empty and
  5892. unscrollable views.
  5893. * ThemeWin32Classic.cs: draw disabled backgrounds.
  5894. [Fixes #79187]
  5895. 2006-08-28 Chris Toshok <[email protected]>
  5896. * Form.cs: remove unused "active_form" static field.
  5897. * Hwnd.cs: lock around accesses to static windows collection.
  5898. * Application.cs: lock threads in Exit ().
  5899. 2006-08-28 Chris Toshok <[email protected]>
  5900. * NativeWindow.cs: lock around accesses to window_collection.
  5901. 2006-08-28 Chris Toshok <[email protected]>
  5902. * Control.cs: err, fix this the right way, by locking on controls
  5903. when using it. not by making it synchronized.
  5904. 2006-08-28 Chris Toshok <[email protected]>
  5905. * Control.cs: make the static "controls" field synchronized, as it
  5906. gets updated from multiple threads.
  5907. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5908. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  5909. Prevent other threads from exiting when calling thread sets quit state.
  5910. * XEventQueue.cs: Added PostQuitState property
  5911. 2006-08-27 Chris Toshok <[email protected]>
  5912. * AsyncMethodData.cs: add a slot for the window handle.
  5913. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  5914. window (the destination control's window, not the foster window).
  5915. * Control.cs (BeginInvokeInternal): store the window's handle in
  5916. the AsyncMethodData.
  5917. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5918. * XplatUIX11.cs:
  5919. - PostQuitMessage: Removed resetting S.D display handle, we might have
  5920. another loop started after calling PostQuitMessage (Fixes #79119)
  5921. - Created destructor to reset S.D handle
  5922. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5923. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  5924. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5925. * TextControl.cs (Insert): Update the caret position even if we don't
  5926. have a handle yet, just don't call the driver in that case.
  5927. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  5928. to the end of the new selection text (Fixes #79184)
  5929. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5930. * Form.cs (Activate): Only activate if the handle is created)
  5931. * Control.c:
  5932. - Mark window as invisible when it's disposed
  5933. - Check if window handle is created when setting window visible,
  5934. instead of relying just on the is_created variable
  5935. - Check if object is disposed when creating the control (Fixes #79155)
  5936. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5937. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  5938. when allowing layout again. Otherwise we re-generate the anchoring
  5939. distance to the border again and actually alter what the user wanted
  5940. This is ugly, it'd be better if we used DisplayRectangle instead of
  5941. ClientRectangle for Control.UpdateDistances, but that causes us to
  5942. have other problems (initial anchoring positons would be wrong)
  5943. (Fixes #78835)
  5944. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5945. * Control.cs:
  5946. - The size and location setters shouldn't go directly to
  5947. SetBoundsCore, but to SetBounds, which triggers layout on the
  5948. parent, then calls SetBoundsCore. (Related to fix for #78835)
  5949. - SetBounds: Moved actual location update code into this function
  5950. from SetBoundsCore, to match MS. Added call to PerformLayout if
  5951. we have a parent (to trigger resizing of anchored parents if the
  5952. child size has changed (see testcase for #78835)
  5953. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  5954. new control code
  5955. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  5956. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5957. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  5958. System.Drawing when a toplevel window gets closed; there might
  5959. be other toplevel windows belonging to the same app (Fixes #78052)
  5960. 2006-08-26 Alexander Olk <[email protected]>
  5961. * FileDialog.cs: After reading FileDialog settings from mwf_config
  5962. use Desktop prefix only if a real folder doesn't exist anymore.
  5963. * FontDialog.cs: Added char sets.
  5964. It is now possible to select the font, size or style with the
  5965. textboxes.
  5966. 2006-08-25 Kornél Pál <[email protected]>
  5967. * PrintPreviewDialog.cs: Use assembly name constants.
  5968. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5969. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  5970. scrollbar from whacking it's buttons)
  5971. 2006-08-24 Chris Toshok <[email protected]>
  5972. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  5973. in this patch (aggregating setting Left/Top/Width/Height to
  5974. setting Bounds on the scrollbars), but the crux of the fix is in
  5975. Recalculate, where we scroll by the remaining scroll_position if
  5976. we're hiding a scrollbar. The 2*$5 reward in the comment is
  5977. serious.
  5978. 2006-08-24 Jackson Harper <[email protected]>
  5979. * MdiClient.cs:
  5980. * MdiWindowManager.cs: If the form is made a non-mdi window we
  5981. need to remove the form closed event so that closing forms works
  5982. correctly.
  5983. 2006-08-24 Jackson Harper <[email protected]>
  5984. * Control.cs: Make IsRecreating internal so that the driver can
  5985. check it
  5986. - Temporarily remove the Hide when controls are removed, its
  5987. making a whole bunch of things not work because visibility isn't
  5988. getting reset elsewhere correctly
  5989. * Form.cs: Need to do a full handle recreation when the mdi parent
  5990. is set.
  5991. * XplatUIX11.cs: If we are recreating handles don't dispose the
  5992. HWNDs. What was happening is the handles were being recreated in
  5993. SendWMDestroyMessages, but then flow continued on in that method
  5994. and destroyed the new handles.
  5995. 2006-08-23 Jackson Harper <[email protected]>
  5996. * Form.cs: MdiClient is always at the back of the bus
  5997. * Control.cs: When the order of items in the collection is changed
  5998. we need to reset the all_controls array
  5999. - do the same sorta setup thats done when adding a control when a
  6000. control is set on the collection.
  6001. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6002. * TextBoxBase.cs (get_Text): Return an empty array if our document
  6003. is empty (fixes #79052)
  6004. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6005. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  6006. on WM_SYSCHAR messages (fixes #79053)
  6007. 2006-08-23 Chris Toshok <[email protected]>
  6008. * DataGrid.cs: fix flickering when scrolling vertically.
  6009. 2006-08-23 Chris Toshok <[email protected]>
  6010. * DataGrid.cs (EndEdit): only invalidate the row header when we
  6011. need to.
  6012. 2006-08-23 Chris Toshok <[email protected]>
  6013. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  6014. methods. fixes the flicker when scrolling around.
  6015. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6016. * FileDialog.cs: Making sure the control is created before we get a
  6017. chance to use it with BeginInvoke (Fixes #79096)
  6018. 2006-08-23 Chris Toshok <[email protected]>
  6019. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  6020. width to use when painting the rows.
  6021. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6022. * TextBoxBase.cs:
  6023. - Throw ArgumentException if a negative value is passed to SelectionLength
  6024. - Update the selection end if start is moved. end needs to be always
  6025. after start. (Fixes #79095)
  6026. - Track selection length; MS keeps the selection length even if start
  6027. is changed; reset on all other operations affection selection
  6028. 2006-08-22 Jackson Harper <[email protected]>
  6029. * TreeView.cs: Make sure both scrollbars get displayed and sized
  6030. correctly when the other bar is visible.
  6031. - Use the original clip rectangle for checking if the area between
  6032. the two scrollbars is visible, not the viewport adjusted clipping
  6033. rectangle.
  6034. 2006-08-22 Jackson Harper <[email protected]>
  6035. * Binding.cs: We don't use IsBinding because it requires the
  6036. control to be created, which really shouldn't be necessary just to
  6037. set a property on the control.
  6038. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  6039. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  6040. ArgumentNullReferenceException when the argument is null.
  6041. 2006-08-21 Jackson Harper <[email protected]>
  6042. * Timer.cs: Track the thread that the timer is started in (NOT
  6043. CREATED), this way messages for it will only be triggered on its
  6044. queue.
  6045. * XEventQueue.cs: Track the timers here, this makes timers per
  6046. thread, like MS.
  6047. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  6048. 2006-08-19 Chris Toshok <[email protected]>
  6049. * XplatUIX11.cs: after further communication with pdb, we get the
  6050. best of both worlds. SetZOrder working for un-Mapped windows, and
  6051. no X errors for un-mapped windows.
  6052. 2006-08-19 Chris Toshok <[email protected]>
  6053. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  6054. as it was causing pdn toolbars to not have the correct stacking.
  6055. 2006-08-18 Mike Kestner <[email protected]>
  6056. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  6057. calculation. Not sure why control should ever be setting a negative
  6058. width though. Fixes #78931.
  6059. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  6060. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  6061. null items in ObjectCollection class.
  6062. * ListBox.cs.: Likewise.
  6063. 2006-08-18 Atsushi Enomoto <[email protected]>
  6064. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  6065. as the base method in ThemeWin32Classic should work fine.
  6066. Fixed bug #78607.
  6067. 2006-08-18 Jackson Harper <[email protected]>
  6068. * Binding.cs: When validating if the value entered doesn't convert
  6069. properly reset to the old value.
  6070. * RadioButton.cs: Don't fire click when we get focus.
  6071. 2006-08-18 Jackson Harper <[email protected]>
  6072. * FileDialog.cs: Paint the selection on the directory combobox the
  6073. same way as on MS.
  6074. 2006-08-17 Jackson Harper <[email protected]>
  6075. * ErrorProvider.cs: Don't allow the error control to be selected.
  6076. * Control.cs: Don't send the SetFocus messages, the control
  6077. activation will do this, and if we do it blindly here validation
  6078. does not work.
  6079. 2006-08-17 Jackson Harper <[email protected]>
  6080. * Control.cs:
  6081. * ContainerControl.cs: Make validation events fire in the correct
  6082. order. TODO: For some reason the first validation event is not
  6083. getting fired.
  6084. 2006-08-17 Mike Kestner <[email protected]>
  6085. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  6086. 2006-08-17 Mike Kestner <[email protected]>
  6087. * ComboBox.cs : implement scroll wheel support for popped-down
  6088. state. Fixes #78945.
  6089. 2006-08-17 Jackson Harper <[email protected]>
  6090. * TreeView.cs: Specify treeview actions (old patch that didn't get
  6091. committed for some reason).
  6092. - Don't let the mouse wheel scroll us too far. Just want to make
  6093. the bottom node visible, not scroll it all the ways to the top.
  6094. 2006-08-17 Jackson Harper <[email protected]>
  6095. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  6096. 2006-08-17 Mike Kestner <[email protected]>
  6097. * ComboBox.cs : don't do mouseover selection in simple mode.
  6098. 2006-08-16 Jackson Harper <[email protected]>
  6099. * Form.cs: Fire the closing events for all the mdi child windows
  6100. when a window is closed. If the cancel args are set to true, the
  6101. main window still gets the event fired, but it doesn't not close.
  6102. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  6103. handler, instead of when the button is clicked, so cancelling the
  6104. close works correctly.
  6105. * ComboBox.cs: Send the mouse down to the scrollbar.
  6106. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  6107. * ListBox.cs: When passing 'null' to SelectedItem,
  6108. set SelectedIndex to -1, to unselect items. This is the
  6109. observed behaviour in .Net.
  6110. 2006-08-16 Peter Dennis Bartok <[email protected]>
  6111. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  6112. MS flags saying there won't be any. (fixes #78800)
  6113. * Control.cs (HandleClick): Made virtual
  6114. 2006-08-16 Atsushi Enomoto <[email protected]>
  6115. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  6116. cultures. Fixed bug #78399.
  6117. 2006-08-16 Jackson Harper <[email protected]>
  6118. * Form.cs: Use the MdiClients MdiChildren property to access
  6119. MdiChildren instead of creating the array from the child controls.
  6120. * MdiClient.cs: Maintain a separate array of the mdi children, so
  6121. that insertion order is maintained when the Z-order is changed.
  6122. 2006-08-16 Mike Kestner <[email protected]>
  6123. * ListView.cs : add an ItemComparer and default to it for sorting.
  6124. Fixes #79076, but sorting needs a complete overhaul to be compat with
  6125. MS.
  6126. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6127. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  6128. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6129. * Hwnd.cs (Mapped): Properly traverse the tree
  6130. 2006-08-15 Chris Toshok <[email protected]>
  6131. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  6132. pass manager.Current.GetType() to ParseData. It has to be the
  6133. property type. So, hold off doing the ParseData until we're in
  6134. SetPropertyValue where we know the type. This fixes the crash in
  6135. #78821 but the textbox is still empty.
  6136. 2006-08-15 Chris Toshok <[email protected]>
  6137. * DataGrid.cs:
  6138. - when we're scrolling, only call Edit() again if the
  6139. current cell is still unobscured. Fixes bug #78927.
  6140. - when handling mousedown on a cell, ensure the cell is visible
  6141. before calling Edit.
  6142. - remove the properties from DataGridRow, and remove the
  6143. DataGridParentRow class altogether.
  6144. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6145. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  6146. fire OnTextChanged by ourselves. There's no point calling base,
  6147. we don't set the base value anywhere else. Fixes #78773.
  6148. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6149. * ListBox.cs: Call CollectionChanged when modifying
  6150. an item from Items indexer, to update the actual items
  6151. in the list box.
  6152. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6153. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  6154. to match .Net behaviour.
  6155. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6156. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  6157. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6158. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  6159. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6160. * MessageBox.cs: Prevent potential NRE exception.
  6161. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  6162. 2006-08-14 Peter Dennis Bartok <[email protected]>
  6163. * MessageBox.cs: Calculate the owner of a messagebox, also make
  6164. it topmost. Fixes #78753
  6165. 2006-08-14 Chris Toshok <[email protected]>
  6166. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  6167. programmatically move windows. first, set the PPosition hint as
  6168. well as the USPosition hint. Second include some code from pdb
  6169. that sets the window type to NORMAL when we set the transient for
  6170. hint. This is because, in the absence of a window type, metacity
  6171. thinks any window with TransientFor set is a dialog, and refuses
  6172. to let us move it programmatically. fascists.
  6173. 2006-08-14 Peter Dennis Bartok <[email protected]>
  6174. * XplatUIX11.cs: When setting normal hints, take into consideration
  6175. an different hints previously set so we don't delete them (fixes #78866)
  6176. 2006-08-12 Chris Toshok <[email protected]>
  6177. * ToolBarButton.cs: make Layout return a boolean, if something to
  6178. do with the button's layout changed.
  6179. * ToolBar.cs:
  6180. - add another parameter to Redraw, @force, which all existing
  6181. calls set to true.
  6182. - make the Layout function return a boolean which is true if the
  6183. layout has actually changed. Redraw now uses this (and @force)
  6184. to determine when to invalidate. At present the only place
  6185. where @force can be false is the call from OnResize, when
  6186. background_image == null. So, resizing a toolbar when the
  6187. layout doesn't change results in no drawing.
  6188. 2006-08-12 Chris Toshok <[email protected]>
  6189. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  6190. the VScrollBar and HScrollbar reversed. oops.
  6191. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  6192. scrollbars. we were assigning them twice (once in
  6193. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  6194. therefore causing two scrollbar resizes (and redraws?) to happen
  6195. per grid resize.
  6196. 2006-08-12 Chris Toshok <[email protected]>
  6197. * ToolBarButton.cs: redraw the entire button if the theme tells us
  6198. to.
  6199. * Theme.cs: add ToolBarInvalidateEntireButton.
  6200. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  6201. buttons, just the border.
  6202. * ThemeNice.cs: redraw the entire toolbar button since we need to
  6203. draw the highlight image.
  6204. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  6205. we need to redraw the entire button (not just the border).
  6206. 2006-08-11 Peter Dennis Bartok <[email protected]>
  6207. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  6208. for vertical bars. Fixes the mismatches shown by #78513
  6209. 2006-08-11 Alexander Olk <[email protected]>
  6210. * FileDialog.cs: If a saved/remembered path doesn't exist
  6211. anymore, fall back to "Desktop".
  6212. 2006-08-11 Peter Dennis Bartok <[email protected]>
  6213. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  6214. parent. It's apparently legal to not have one
  6215. * XplatUIX11.cs:
  6216. - SetZOrder: Don't try to set Z-Order on an unmapped window
  6217. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  6218. it unless the coordinates are negative
  6219. 2006-08-10 Mike Kestner <[email protected]>
  6220. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  6221. when setting to null per msdn docs. Fixes #78854.
  6222. 2006-08-10 Chris Toshok <[email protected]>
  6223. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  6224. flickering by setting a clip rectangle on the Graphics when we
  6225. need to redraw just a particular menuitem. Also, rename "OnClick"
  6226. to "OnMouseDown" to reflect what it actually is.
  6227. * Form.cs: track the OnMouseDown change.
  6228. 2006-08-10 Peter Dennis Bartok <[email protected]>
  6229. * CommonDialog.cs: Properly inherit the CreateParams from the form
  6230. and only change what we need. Fixes #78865
  6231. 2006-08-10 Chris Toshok <[email protected]>
  6232. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  6233. flickering in flat mode (and most of the flickering in general) by
  6234. only invalidating the button border (and not the entire rectangle)
  6235. when the state changes. A couple of cases still flicker:
  6236. ToggleButtons, and the dropdown arrow case when the user mouse
  6237. ups.
  6238. 2006-08-10 Alexander Olk <[email protected]>
  6239. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  6240. for german keyboards. Numlock state shouldn't affect the behaviour
  6241. of the Del key. Fixes bug #78291.
  6242. 2006-08-10 Chris Toshok <[email protected]>
  6243. * ListControl.cs: remove the items.Clear line from BindDataItems,
  6244. as this is the first thing done by both subclasses in their
  6245. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  6246. passed -1, refresh the list. This gets databinding working when
  6247. the datasource is set on the list before the datasource is
  6248. populated (as in wf-apps/ReportBuilder.)
  6249. * ComboBox.cs: remove the argument to BindDataItems. This call
  6250. should really go away, and be initiated by the ListControl code.
  6251. * ListBox.cs: same.
  6252. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6253. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  6254. if no data is in the document when the control is displayed
  6255. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6256. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  6257. yes (fixes #78806)
  6258. * TextControl.cs:
  6259. - PositionCaret: Allow positioning of caret but don't call methods
  6260. requiring a handle if the window isn't created yet
  6261. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  6262. - owner_HandleCreated: Don't position the caret, just update it's
  6263. location. User might have already set a different position
  6264. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6265. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  6266. windows. Screws up the returned coordinates for child windows.
  6267. Fixes #78825. I'm hoping this doesn't break something, since the
  6268. code was explicitly put in 8 months ago, but no bug was attached.
  6269. Menus still seem to work properly.
  6270. 2006-08-08 Chris Toshok <[email protected]>
  6271. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  6272. supposed to do - delay data binding until the EndInit call. Also,
  6273. make the table style collection's CollectionChangeAction.Refresh
  6274. work properly.
  6275. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  6276. (with action = Refresh) when a consituent table's MappingName is
  6277. changed.
  6278. 2006-08-08 Chris Toshok <[email protected]>
  6279. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  6280. Invalidate, since changing the text can change the size of the all
  6281. toolbar buttons.
  6282. 2006-08-08 Peter Dennis Bartok <[email protected]>
  6283. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  6284. we don't have it yet
  6285. 2006-08-08 Chris Toshok <[email protected]>
  6286. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  6287. dialog, as this causes X errors later on, since we actually
  6288. destroy the window. Instead, .Hide() it.
  6289. 2006-08-08 Peter Dennis Bartok <[email protected]>
  6290. * ComboBox.cs: Added focus reflection for popup window
  6291. * XplatUIX11.cs:
  6292. - Removed transient setting for non-app windows for now, not sure it
  6293. was needed
  6294. - Fixed logic checking if we have captions when deciding
  6295. override_redirect, WS_CAPTION is two bits and a 0 check was not
  6296. sufficient
  6297. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  6298. complicated
  6299. * Form.cs:
  6300. - AddOwnedForm: Don't just add the form to the list, call the property
  6301. to ensure the driver is informed about the ownership as well
  6302. - CreateHandle: Set the TopMost status in the driver if we have an owner
  6303. * XplatUI.cs: Fixed debug statement
  6304. 2006-08-08 Jonathan Pobst <[email protected]>
  6305. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  6306. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  6307. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  6308. TrackBarRenderer.cs: Make constructor private.
  6309. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  6310. * ProfessionalColorTable.cs: Make properties virtual.
  6311. 2006-08-06 Duncan Mak <[email protected]>
  6312. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  6313. is not changing.
  6314. 2006-08-04 Jonathan Pobst <[email protected]>
  6315. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  6316. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  6317. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  6318. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  6319. Initial import of new 2.0 classes.
  6320. 2006-08-04 Jonathan Pobst <[email protected]>
  6321. * Application.cs: Add 2.0 VisualStyles properties.
  6322. 2006-08-04 Jonathan Pobst <[email protected]>
  6323. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6324. XplatUIX11.cs: Create property to allow access to existing private
  6325. variable "themes_enabled"
  6326. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  6327. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  6328. file size, as otherwise our class libraries fail using windows. Fixes
  6329. bug #78759.
  6330. 2006-08-04 Jackson Harper <[email protected]>
  6331. * Form.cs:
  6332. * XplatUIX11.cs: Move the toolwindow window manager creation into
  6333. the X11 driver, this way on win32 we can let windows create/handle
  6334. the toolwindows.
  6335. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  6336. * PrintDialog.cs: Remove some redundant checks, add some others,
  6337. clean some code, and move the focus to the text boxes when the
  6338. values are incorrect.
  6339. 2006-08-04 Alexander Olk <[email protected]>
  6340. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  6341. 2006-08-03 Alexander Olk <[email protected]>
  6342. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  6343. handled correctly. Fixes bug #79001.
  6344. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  6345. * PrintDialog.cs: The "Copies" numeric up down must have
  6346. set the Minimum property to 1; only if the value is bigger
  6347. than 1, activate "Collate" check box. This is the behaviour of .Net.
  6348. Also modify the Document elements only if it is not null.
  6349. 2006-08-03 Jackson Harper <[email protected]>
  6350. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  6351. length. (We have a larger array then actual node count).
  6352. 2006-08-03 Jackson Harper <[email protected]>
  6353. * ComboBox.cs: Don't show selection by default.
  6354. - The SelectAll isn't needed here, since the focus code should do
  6355. that
  6356. - DDL style lists to manual selection drawing, so when they
  6357. get/lose focus they have to invalidate.
  6358. 2006-08-03 Peter Dennis Bartok <[email protected]>
  6359. * TextBoxBase.cs: Don't always show all selections by default.
  6360. 2006-08-03 Jonathan Pobst <[email protected]>
  6361. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  6362. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  6363. Fixed various typos.
  6364. 2006-08-03 Alexander Olk <[email protected]>
  6365. * Control.cs: Removing the controls in a ControlCollection with
  6366. Clear now hides the controls as expected. Fixes bug #78804.
  6367. 2006-08-03 Jackson Harper <[email protected]>
  6368. * Control.cs: Revert previous focus patch, it breaks reflector.
  6369. 2006-08-03 Jackson Harper <[email protected]>
  6370. * ComboBox.cs: Cleanup selection and focus with the combobox.
  6371. This also eliminates some duplicated keyboard code, since now
  6372. everything is handled by the main class.
  6373. - Make list selection work on mouse up instead of down, to match
  6374. MS.
  6375. 2006-08-02 Jackson Harper <[email protected]>
  6376. * Control.cs: Setting focus needs to go through the whole
  6377. selection mechanism.
  6378. 2006-08-02 Chris Toshok <[email protected]>
  6379. * PrintPreviewDialog.cs: change MinimumSize to use
  6380. base.MinimumSize so it works.
  6381. 2006-08-02 Peter Dennis Bartok <[email protected]>
  6382. * TextControl.cs:
  6383. - UpdateCaret: Added sanity check in case caret isn't defined yet
  6384. - Line.Delete: Now updating selection and caret markers if we're
  6385. transfering a node (Properly fixes #78323)
  6386. - SetSelectionEnd: Added sanity check
  6387. * TextBoxBase.cs: Removed broken attempt to fix #78323
  6388. 2006-08-01 Chris Toshok <[email protected]>
  6389. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  6390. Close() call is handled in Form, not here.
  6391. 2006-08-01 Chris Toshok <[email protected]>
  6392. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  6393. layout/rendering.
  6394. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  6395. for sizes < 100% zoom. The code now aggressively attempts to keep
  6396. from calling document.Print (), and tries not to use the scaling
  6397. g.DrawImage whenever possible (it still does if you scale to >
  6398. 100%, since usually that involves huge images).
  6399. * PrintPreviewControl.cs: hook up the close button.
  6400. 2006-08-01 Jonathan Pobst <[email protected]>
  6401. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  6402. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  6403. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  6404. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  6405. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  6406. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  6407. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  6408. Removed [Serializable] for 2.0 Event Handlers.
  6409. 2006-07-31 Jackson Harper <[email protected]>
  6410. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  6411. * TextControl.cs: Uncomment out the body of this method.
  6412. 2006-07-31 Alexander Olk <[email protected]>
  6413. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  6414. standard cursors.
  6415. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6416. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  6417. that embed TextBox and need selections visible even if textbox is not
  6418. focused to enforce that behaviour.
  6419. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  6420. selection drawing
  6421. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6422. * TextControl.cs:
  6423. - Added new SetSelectionStart/SetSelectionEnd overloads
  6424. - Fixed viewport width assignment to be accurate
  6425. - Adjusted alignment line shift calculations to allow cursor on right
  6426. aligned lines to be always visible at the right border (like MS)
  6427. * TextBoxBase.cs:
  6428. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  6429. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  6430. - CalculateScrollBars: Use ViewPort size instead of window size, to
  6431. properly consider space occupied by the border and scrollbars
  6432. (Fixes #78661)
  6433. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  6434. calculations; no longer leaves artifacts
  6435. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  6436. calculation bugs (Still missing right/center align calculations)
  6437. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6438. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  6439. use of both scroll rect and clip rect, as they do the same.
  6440. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6441. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  6442. in the event handler (fixes #78912)
  6443. 2006-07-31 Chris Toshok <[email protected]>
  6444. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  6445. grid.ListManager.Count, since grid.ListManager might be null.
  6446. This of course begs the question "why are we drawing rows for a
  6447. grid with no list manager (and therefor no rows)?" Fixes the
  6448. crash in bug #78929.
  6449. 2006-07-31 Chris Toshok <[email protected]>
  6450. * RelatedPropertyManager.cs: Don't always chain up to the parent
  6451. ctor. instead, call SetDataSource if the parent's position is !=
  6452. -1. Fixes the crash in #78822.
  6453. 2006-07-31 Chris Toshok <[email protected]>
  6454. * DataGrid.cs (get_ListManager): use field instead of property
  6455. accessors for datasource and datamember.
  6456. (RowsCount): make internal again.
  6457. (OnMouseDown): end edits before resizing columns/rows.
  6458. (OnMouseUp): restart edits after resizing columns/rows.
  6459. 2006-07-30 Peter Dennis Bartok <[email protected]>
  6460. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  6461. This fixes the situation where the last set cursor is displayed
  6462. whenever the mouse is over scrollbars.
  6463. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  6464. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  6465. Document properties, as well as initial values.
  6466. 2006-07-29 Peter Dennis Bartok <[email protected]>
  6467. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  6468. and ClientEdge results in a 3-pixel border, which is
  6469. wrong.
  6470. 2006-07-28 Jackson Harper <[email protected]>
  6471. * TreeNodeCollection.cs: Fix the clear method.
  6472. - Fix the Shrink also
  6473. 2006-07-27 Jackson Harper <[email protected]>
  6474. * TreeView.cs: Make sure the visible order is computed when we
  6475. attempt to size the scrollbars (for trees that mess with the
  6476. scrolling when they shouldn't.
  6477. - Make sure to give the scrollbars valid values.
  6478. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6479. * XplatUIX11.cs: Move motion compression code to where it
  6480. has less performance impact
  6481. 2006-07-26 Jackson Harper <[email protected]>
  6482. * UpDownBase.cs: When the control is selected make the child
  6483. controls non selectable, so that a click on them won't do a
  6484. focus/unfocus cycle.
  6485. - Don't give focus to the text box when the spinner is selected.
  6486. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  6487. 2006-07-26 Chris Toshok <[email protected]>
  6488. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  6489. satisfied with this solution. If the bitmaps are small, we should
  6490. just cache them in the PrintPreviewDialog and draw them here.
  6491. Also, the layout is broken for the 2-up and 3-up cases.
  6492. * Theme.cs: add PrintPReviewControlPaint.
  6493. * PrintPreviewDialog.cs: first pass implementation.
  6494. * PrintPreviewControl.cs: first pass implementation. No
  6495. scrollbars yet.
  6496. * PrintDialog.cs: only validate fields if that particular portion
  6497. of the UI is enabled. Also, set the document's controller to a
  6498. PrintControllerWithStatusDialog wrapping the document's print
  6499. controller.
  6500. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  6501. bring up a SaveFileDialog (i hope we don't want to match the
  6502. behavior of the crappy windows file entry) and set the
  6503. PrinterSettings.PrintFileName accordingly.
  6504. 2006-07-26 Jackson Harper <[email protected]>
  6505. * ContainerControl.cs: Add a field that disables auto selecting
  6506. the next control in a container when the container is activated.
  6507. * UpDownBase.cs: Don't select the text box when the up down is
  6508. selected.
  6509. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6510. * XEventQueue.cs: Added methods for peeking (used for compression
  6511. of successive events)
  6512. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  6513. mouse move events (fixes #78732)
  6514. 2006-07-25 Jackson Harper <[email protected]>
  6515. * UpDownBase.cs: Use an internal class for the textbox so that we
  6516. can control focus. the updown control should always have focus,
  6517. if either the text area or the buttons are clicked.
  6518. - Send the key messages to the textbox, since it never actually
  6519. has focus
  6520. - Activate and decativate the textbox caret.
  6521. 2006-07-24 Jackson Harper <[email protected]>
  6522. * Control.cs: Use the directed select when selecting a control,
  6523. this way the container controls override will get called and the
  6524. whole ActiveControl chain will get triggered. TODO: probably need
  6525. to make sure this gets done everywhere instead of the old
  6526. Select(Control).
  6527. * ContainerControl.cs: Implement the directed Select method to
  6528. find and activate the correct child control.
  6529. 2006-07-22 Mike Kestner <[email protected]>
  6530. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  6531. menu handling code so that clicks without a grab work too.
  6532. [Fixes #78914]
  6533. 2006-07-22 Alexander Olk <[email protected]>
  6534. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  6535. Added some small optimizations.
  6536. 2006-07-21 Matt Hargett <[email protected]>
  6537. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  6538. 2006-07-21 Peter Dennis Bartok <[email protected]>
  6539. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  6540. tests pass and match MS in some strange border cases.
  6541. 2006-07-21 Chris Toshok <[email protected]>
  6542. * ThemeWin32Classic.cs: handle drawing of the relation links and
  6543. parent row buttons.
  6544. * Theme.cs: change args to DataGridPaintParentRow.
  6545. * DataGrid.cs: Don't use controls for the relation links and
  6546. parent buttons, so we have to handle all their interactions in
  6547. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  6548. when we're navigating through child tables, so we can reinstate
  6549. selection, expanded state, current cell, etc.
  6550. 2006-07-20 Chris Toshok <[email protected]>
  6551. * ToolBar.cs: When we redraw a button, for whatever reason,
  6552. there's no reason to redraw the entire toolbar. Also, don't call
  6553. Control.Refresh from within Redraw, as it's much heavier than
  6554. Invalidate (which is really what we want).
  6555. 2006-07-20 Chris Toshok <[email protected]>
  6556. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  6557. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  6558. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  6559. traces from within a debug IBindingList datasource
  6560. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  6561. to work in a similar fashion.
  6562. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6563. * ListBox.cs: Don't call Sort () when setting
  6564. the Sorted property to false (avoid an unnecessary sort).
  6565. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6566. * ListControl.cs: DataSource should throw an ArgumentException
  6567. instead of a normal exception when the argument is not of the
  6568. correct type.
  6569. 2006-07-20 Mike Kestner <[email protected]>
  6570. * Control.cs: add InternalPreProcessMessage to allow us to steal
  6571. key events before MWF gets its paws on them. Adapted from a
  6572. suggestion by eno.
  6573. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  6574. up/down/left/right navigation. Override the new internal control
  6575. method to steal the events since they never make it to WndProc.
  6576. * ToolBarButton.cs: don't worry about pushed when setting hilight
  6577. since the drawing code prefers pushed to hilight. Invalidate on
  6578. Hilight changes. Fixes #78547 and #78525.
  6579. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6580. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  6581. the canvas size. Fixes #78868
  6582. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6583. * Splitter.cs: Track requested split position until first layout
  6584. is performed. Fixes #78871
  6585. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6586. * Application.cs: Removed code that forces 1.x for the version
  6587. number if the version started with 0. Not sure why that code was
  6588. there and I couldn't find any bugs that indicated we needed it.
  6589. Fixes #78869
  6590. 2006-07-20 Alexander Olk <[email protected]>
  6591. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  6592. ResetDefaults(), just write some output to the console until it's
  6593. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  6594. 2006-07-19 Jonathan Chambers <[email protected]>
  6595. * PropertyGridView.cs: set StartPosition of drop down forms
  6596. so they appear in correct initial spot. Fixes #78190.
  6597. 2006-07-19 Mike Kestner <[email protected]>
  6598. * ThemeWin32Classic.cs: use parent background color when drawing
  6599. flat toolbars. Restructure the conditionals to make sure non-flat
  6600. non-Divider toolbars are filled too. Fixes #78837.
  6601. 2006-07-19 Mike Kestner <[email protected]>
  6602. * ListBox.cs: Sort on collection changes even if the handle
  6603. isn't created yet. Fixes #78813.
  6604. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  6605. * ListControl.cs: DisplayMember should never be null,
  6606. and now we assign String.Empty when null is passed to it (this
  6607. is the .Net way).
  6608. 2006-07-17 Mike Kestner <[email protected]>
  6609. * ListViewItem.cs: restructure Font and subitem Font handling
  6610. to hold a specific font and refer back to owner on null.
  6611. Fixes #78761.
  6612. 2006-07-17 Mike Kestner <[email protected]>
  6613. * ToolBar.cs: bandaid for side-effect of previous patch which was
  6614. discarding explicit heights for non-AutoSize toolbars. Need to
  6615. extend my format tester to deal with AutoSize=false. Fixes #78864.
  6616. 2006-07-15 Jackson Harper <[email protected]>
  6617. * LabelEditTextBox.cs:
  6618. * TreeView.cs: Use a new LabelEdit class for node editing, this
  6619. class automatically 'closes' itself when it gets the enter key or
  6620. loses focus.
  6621. - Use the client rectangle when setting the trees scrollbars, so
  6622. border style is taken into account.
  6623. 2006-07-14 Jackson Harper <[email protected]>
  6624. * TreeNode.cs:
  6625. * TreeView.cs: Make the editing work similar to MSs, firing the
  6626. events correctly and ending edits correctly.
  6627. 2006-07-14 Mike Kestner <[email protected]>
  6628. * ToolBarButton.cs:
  6629. * ToolBar.cs: layout restructuring and redraw enhancements to support
  6630. formatting changes gracefully, like setting TextAlign, ImageList,
  6631. ButtonSize, and Appearance. Handles explicit button sizing quirks
  6632. of the MS controls. Things like flat toolbars ignoring button size
  6633. but becoming constant sized at the largest button's size. Normal
  6634. toolbars with an image set cannot be shrunk smaller than the image,
  6635. but text can be clipped/ignored.
  6636. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  6637. is zero. Seems like DrawString should be smart enough to not put
  6638. anything on screen though. Also trim labels and ellipsize at the char
  6639. boundary, not word.
  6640. Fixes #78711 and #78483.
  6641. 2006-07-14 Alexander Olk <[email protected]>
  6642. * FolderBrowserDialog.cs: Disable "New Folder" button and
  6643. "New Folder" contextmenu menuitem if a folder like "My Computer"
  6644. is selected.
  6645. 2006-07-14 Alexander Olk <[email protected]>
  6646. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  6647. * FolderBrowserDialog.cs:
  6648. - Use MWFConfig to store and read size and position settings
  6649. - Added code to create a new folder (button or context menu).
  6650. Use TreeView labeledit to change the name of the new folder.
  6651. 2006-07-14 Jackson Harper <[email protected]>
  6652. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  6653. when the tree is scrolled we end editing.
  6654. 2006-07-14 Alexander Olk <[email protected]>
  6655. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  6656. Down arrows
  6657. 2006-07-14 Jonathan Pobst <[email protected]>
  6658. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  6659. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  6660. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  6661. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  6662. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  6663. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  6664. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  6665. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  6666. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  6667. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  6668. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  6669. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  6670. ListViewItemSelectionChangedEventHandler.cs,
  6671. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  6672. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  6673. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  6674. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  6675. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  6676. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  6677. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  6678. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  6679. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  6680. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  6681. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  6682. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  6683. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  6684. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  6685. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  6686. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  6687. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  6688. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  6689. WebBrowserNavigatingEventHandler.cs,
  6690. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  6691. 2006-07-14 Jonathan Pobst <[email protected]>
  6692. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  6693. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  6694. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  6695. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  6696. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  6697. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  6698. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  6699. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  6700. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  6701. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  6702. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  6703. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  6704. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  6705. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  6706. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  6707. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  6708. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  6709. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  6710. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  6711. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  6712. ListViewItemStates.cs, MaskFormat.cs: Added
  6713. 2006-07-13 Jonathan Chambers <[email protected]>
  6714. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  6715. Patch from eno for bug 78558.
  6716. 2006-07-13 Jackson Harper <[email protected]>
  6717. * TreeView.cs: When an edit is finished make sure that the
  6718. selected node is visible.
  6719. - When setting the top/bottom use the scrollbars is_visible, so
  6720. everything will be set correctly even if the tree isn't visible
  6721. yet.
  6722. 2006-07-13 Jackson Harper <[email protected]>
  6723. * ComboBox.cs: Revert the item->index part of my previous patch.
  6724. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  6725. the edit box has lost focus (duh).
  6726. - Just make the edit box not visible when we get return, that will
  6727. take the focus, which will call EndEdit
  6728. * TreeNode.cs When we start editing, notify the treeview.
  6729. 2006-07-12 Jackson Harper <[email protected]>
  6730. * ComboBox.cs: Clear out old items before setting the item list.
  6731. This prevents databound controls from having their items added
  6732. twice.
  6733. - Switch the combobox to use indices whereever possible instead of
  6734. using Item's. This allows usto navigate through lists that have
  6735. more then one item with the same string value (ie a, b, b, a).
  6736. - Scroll the listboxes scrollbar when a non visible item is
  6737. highlighted
  6738. - Allow keypress to cycle through all the possible values. For
  6739. example if you have b1, b2, b3 and hold down the B key all the
  6740. values will be cycled through.
  6741. 2006-07-12 Jackson Harper <[email protected]>
  6742. * TextBoxBase.cs:
  6743. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  6744. this using the internal methods.
  6745. * Control.cs: Add OnGotFocusInternal. A new method that allows
  6746. controls to "override" OnGotFocus and change focus behavior if
  6747. needed.
  6748. - Same thing for LostFocus
  6749. * ComboBox.cs: Pass off focus to the text control properly.
  6750. 2006-07-12 Alexander Olk <[email protected]>
  6751. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  6752. * FolderBrowserDialog.cs: Almost a complete rewrite.
  6753. - Better support for Environment.Specialfolders
  6754. - Added support for MWFVFS
  6755. - Made setting SelectedPath work
  6756. 2006-07-12 Jackson Harper <[email protected]>
  6757. * Control.cs: Optimze getting all the controls.
  6758. 2006-07-11 Jackson Harper <[email protected]>
  6759. * ContainerControl.cs: Override SETFOCUS in the container control,
  6760. so that it is not selected on mouse click.
  6761. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6762. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  6763. Hopefully we will have a better way once all of focus is complete.
  6764. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6765. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  6766. a compile error with csc.
  6767. 2006-07-11 Jackson Harper <[email protected]>
  6768. * Control.cs: When hiding a control only select the next control
  6769. if the current control was focused.
  6770. - Don't handle enter/leave when setting/killing focus, this is
  6771. done by the container control.
  6772. - Remove is_selected, it's not needed anymore.
  6773. - Add utility methods for selecting a child control, and for
  6774. firing the Enter/Leave events.
  6775. * ContainerControl.cs: When a control is activated fire the
  6776. enter/leave events.
  6777. - Don't wrap when processing the tab key, so that focus can be
  6778. moved outside of the container.
  6779. - Use the correct active control
  6780. 2006-07-11 Jackson Harper <[email protected]>
  6781. * ComboBox.cs: Remove some debug code that was blinding me.
  6782. * UpDownBase.cs: These controls actually aren't implicit, they are
  6783. visible to the user.
  6784. 2006-07-10 Chris Toshok <[email protected]>
  6785. * DataGrid.cs: move back to the is_adding boolean field. god i
  6786. hate this is_editing/is_adding/is_changing stuff.
  6787. 2006-07-10 Chris Toshok <[email protected]>
  6788. * DataGridTableStyle.cs: just check if the property type is bool.
  6789. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  6790. Don't use CanRenderType.
  6791. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  6792. if our text == NullText. Remove CanRenderType.
  6793. * DataGridBoolColumn.cs: nuke CanRenderType.
  6794. * DataGrid.cs: reenable some code to end the current edit inside
  6795. of set_CurrentCell. This fixes the other 1.1.16 regression.
  6796. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  6797. Also, remove the visible_row_count arg from CalcRowHeaders, since
  6798. we don't need to worry about the actual height of the area.
  6799. 2006-07-10 Chris Toshok <[email protected]>
  6800. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  6801. mode, just return.
  6802. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  6803. the real sense of the IsInEditOrNavigateMode property (true =
  6804. navigate, false = edit). Also, update OnKeyPress to reflect this.
  6805. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  6806. column style exists, we still need to set its property descriptor
  6807. to match up with our list manager.
  6808. 2006-07-10 Chris Toshok <[email protected]>
  6809. * ThemeWin32Classic.cs: implement the new row/header painting
  6810. approach. The parent row painting will likely go away and
  6811. replaced with label controls, but the rest seems to work ok (and
  6812. efficiently).
  6813. * Theme.cs: change the way we draw datagrid rows. we don't draw
  6814. the row headers as a block now. Instead we draw them in the
  6815. normal draw-row loop. Add some calls for drawing parent rows and
  6816. relation rows.
  6817. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  6818. a default table style. Set the defaults from ThemeEngine.Current,
  6819. not SystemColors. Fix lots of misc issues with property setters.
  6820. * DataGrid.cs: move loads of style information out of this class
  6821. as it's being duplicated with DataGridTableStyle. keep track of a
  6822. special DataGridTableStyle for the properties we used to mirror
  6823. here. Switch all the style properties to access this table style
  6824. instead of instance fields of this class. Also add a internal
  6825. class to represent parent rows (more needs to be stored here, like
  6826. the selection state from the parent table, as well as the
  6827. expansion state.) Also, for datasources with relations, do the
  6828. right thing for collapse/expand, and add support for the
  6829. navigation/parent row buttons.
  6830. Lastly, fix the crash in the 1.1.16 build.
  6831. * GridTableStylesCollection.cs: make the explicit interface
  6832. implementations call the class's methods as opposed to duplicating
  6833. them.
  6834. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  6835. 0 so the text doesn't jump around when we move the cursor.
  6836. 2006-07-10 Jackson Harper <[email protected]>
  6837. * TextBoxBase.cs:
  6838. * ListBox.cs: Match MS's ToString (this makes debugging focus
  6839. stuff infinitely easier).
  6840. 2006-07-10 Jackson Harper <[email protected]>
  6841. * Control.cs (SelectNextControl): When checking the control's
  6842. parent use this instead of ctrl.parent so that null can be passed
  6843. to SelectNextControl. (I have unit tests for this).
  6844. - Remove unused var.
  6845. 2006-07-10 Chris Toshok <[email protected]>
  6846. * CurrencyManager.cs: correct one regression, the removal of the
  6847. finalType field. Also, add a MonoTODO on CanAddRows, implement
  6848. Refresh() correctly, and fix some event emission in
  6849. ListChangedHandler.
  6850. 2006-07-07 Alexander Olk <[email protected]>
  6851. * FileDialog.cs: Don't use brackets for new folders if they exist
  6852. under *nix. Instead use -(number of existing folders +1).
  6853. 2006-07-07 Alexander Olk <[email protected]>
  6854. * FileDialog.cs:
  6855. - Fixed really nasty bug #78771
  6856. - Don't block the whole GUI when reading directories with a lot of
  6857. entries. Use an other thread instead and call BeginInvoke to
  6858. update the ListView in MWFFileView
  6859. 2006-07-07 Chris Toshok <[email protected]>
  6860. * Control.cs (Dispose): release any Capture when disposing.
  6861. 2006-07-07 Chris Toshok <[email protected]>
  6862. * LinkLabel.cs (Select): if we chain up to the parent, set
  6863. focused_index to -1 so we'll search for the first available link
  6864. the next time the user tabs into us. Also, if the direction is
  6865. backward and focused_index == -1, start the search from the last
  6866. element.
  6867. 2006-07-07 Chris Toshok <[email protected]>
  6868. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  6869. is beyond the end of the text, don't do anything.
  6870. (CreateLinkPieces): set our ControlStyles.Selectable based on
  6871. whether or not we have any links.
  6872. (Link.Invalidate): use a loop instead of foreach.
  6873. (Link.set_Start): null out owner.sorted_links so it'll be
  6874. recreated by CreateLinkPieces.
  6875. 2006-07-06 Chris Toshok <[email protected]>
  6876. * LinkLabel.cs: revert the SetStyle change.
  6877. 2006-07-06 Chris Toshok <[email protected]>
  6878. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  6879. (OnEnableChanged): s/Refresh/Invalidate
  6880. (OnGotFocus): if we have a focused index already, refocus it (so
  6881. if we mouse out/in to the window it'll focus the right link).
  6882. (OnKeyDown): move the tab handling out of here.
  6883. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  6884. when we lose focus.
  6885. (OnMouseDown): don't Capture here - Control handles it. Also,
  6886. focus the active link.
  6887. (OnMouseUp): don't deal with Capture.
  6888. (OnPaintBackgroundInternal): remove.
  6889. (OnTextAlignChanged): CreateLinkPieces before calling the
  6890. superclass's method.
  6891. (OnTextChanged): call CreateLinkPieces before calling superclass's
  6892. method.
  6893. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  6894. move around.
  6895. (Select): implement this, moving the selection between different
  6896. links, and call parent.SelectNextControl if we don't have another
  6897. link to focus in the given direction.
  6898. (CreateLinkPieces): call Invalidate instead of Refresh.
  6899. 2006-07-06 Chris Toshok <[email protected]>
  6900. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  6901. new LinkLabel internals.
  6902. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  6903. over pieces looking for active/focused/etc links. also, deal with
  6904. runs of text (and links) with embedded \n's in them, and use
  6905. MeasureCharacterRanges instead of MeasureString to figure out the
  6906. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  6907. two-step.
  6908. 2006-07-04 Jackson Harper <[email protected]>
  6909. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  6910. XKB or key auto repeat, do it manually. Without key auto repeat,
  6911. when a key is held down we get key press, key release, key press,
  6912. key release, ... with auto repeat we get key press, key press, key
  6913. press ..., and then a release when the key is actually released.
  6914. 2006-07-03 Jackson Harper <[email protected]>
  6915. * TabControl.cs:
  6916. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  6917. rules, they are always control color regardless of the background
  6918. color.
  6919. 2006-07-02 Alexander Olk <[email protected]>
  6920. * FileDialog.cs: Added internal class MWFConfig.
  6921. Removed Registry support and replaced it with support for the new
  6922. MWFConfig class. See MWFConfig comments for more information.
  6923. 2006-06-30 Alexander Olk <[email protected]>
  6924. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  6925. rectangle. Added some patches from eno from bug #78490 and fixed
  6926. the arrow position for small up and down CPDrawScrollButtons.
  6927. 2006-06-30 Jackson Harper <[email protected]>
  6928. * InternalWindowManager.cs: Remove some debug code.
  6929. * Form.cs: When an MdiParent is set to null, the window is
  6930. "detatched" and becomes a normal window.
  6931. * MdiClient.cs: Don't bring the new child form to the front until
  6932. it is activated (setting it as active does this), this makes the
  6933. previously active forms titlebar get redrawn as inactive.
  6934. 2006-06-29 Peter Dennis Bartok <[email protected]>
  6935. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  6936. with later controls
  6937. 2006-06-29 Mike Kestner <[email protected]>
  6938. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  6939. arrow in keynav state. Fixes #78682.
  6940. 2006-06-28 Atsushi Enomoto <[email protected]>
  6941. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  6942. order (fixes #78393)
  6943. 2006-06-28 Jonathan Pobst <[email protected]>
  6944. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  6945. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  6946. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  6947. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  6948. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  6949. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  6950. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  6951. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  6952. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  6953. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  6954. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  6955. values)
  6956. 2006-06-28 Mike Kestner <[email protected]>
  6957. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  6958. 2006-06-28 Atsushi Enomoto <[email protected]>
  6959. * PropertyGrid.cs,
  6960. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  6961. item lines from other area (It also makes BackColor consistent and
  6962. compatible with .NET). Fixed bug #78564.
  6963. 2006-06-28 Jonathan Chambers <[email protected]>
  6964. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  6965. Patch from Eno for #78555.
  6966. 2006-06-27 Chris Toshok <[email protected]>
  6967. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  6968. * DataGridColumnStyle.cs: same.
  6969. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  6970. * DataGridDrawingLogic.cs: nuke.
  6971. 2006-06-27 Chris Toshok <[email protected]>
  6972. * DataGridTableStyle.cs: clean up the constructors, and build the
  6973. list of child relations for this table. I have no idea if this is
  6974. where we should be doing it (it probably isn't), but since we're
  6975. already iterating over the properties..
  6976. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  6977. struct and array for keeping track of row information, similar to
  6978. what's shown in a hack on
  6979. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  6980. * Theme.cs: be consistent about the naming of DataGrid methods,
  6981. prefering ColumnWidths and RowHeights over columnsWidths and
  6982. RowsHeights.
  6983. * ThemeWin32Classic.cs: same, and also add support for variable
  6984. sized rows (and the +/- expansion icons for related rows).
  6985. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6986. * TextBoxBase.cs: Applied Eno's patch from #78660
  6987. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6988. * Form.cs (ScaleCore): We don't want to scale our form if it's
  6989. state is minimized or maximized, but we still need to scale our
  6990. child windows. Also, added try/finally block to ensure layout
  6991. gets reset (Fixes #78697)
  6992. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6993. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  6994. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6995. * Form.cs: Fixed c+p error and added check to resize form if minimum
  6996. size is bigger than current size (Fixes #78709)
  6997. 2006-06-26 Peter Dennis Bartok <[email protected]>
  6998. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  6999. 2006-06-26 Mike Kestner <[email protected]>
  7000. * ComboBox.cs: only do Keypress handling in the combo when there
  7001. are items in the collection. Fixes #78710.
  7002. 2006-06-26 Chris Toshok <[email protected]>
  7003. * Binding.cs: make this work bi-directionally. also, clear up
  7004. other mixups between Push/Pull Data (e.g. we're supposed to pull
  7005. data when validating).
  7006. * BindingManagerBase.cs: trim some fully qualified collection
  7007. types.
  7008. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  7009. 2006-06-23 Chris Toshok <[email protected]>
  7010. * PropertyManager.cs: It appears (according to the unit tests)
  7011. that PropertyManager doesn't use
  7012. PropertyDescriptor.AddValueChanged to track propery value changes
  7013. in its datasource, but uses the same scheme as Binding, where it
  7014. looks for a <Property>Changed event and binds to it.
  7015. Also, according to the docs, IsSuspended always returns false for
  7016. a property manager with a non-null datasource.
  7017. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7018. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  7019. need to update the actual DialogResult. (Fixes #78613)
  7020. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7021. * Form.cs (ShowDialog): Release any captures before running the
  7022. new message pump (fixes #78680)
  7023. 2006-06-22 Mike Kestner <[email protected]>
  7024. * ListView.cs: Layout column widths properly in details mode even
  7025. if HeaderStyle.None is set. Fixes #78691.
  7026. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7027. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  7028. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7029. * Control.cs (ContainsFocus): Using new driver method to get focused
  7030. window, instead of trying to use internal tracking var, which can
  7031. recursion issues (Fixes #78685)
  7032. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7033. XplatUIWin32.cs: Added GetFocus method to return focused window
  7034. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  7035. * ColorDialog.cs: when the mouse button is pressed inside the color
  7036. matrix, don't let the cursor move out of it until the button is
  7037. released, which is the behavior on windows. Changed 'colours' by
  7038. 'colors' to use the same word consistently.
  7039. 2006-06-21 Chris Toshok <[email protected]>
  7040. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  7041. child relation and back, using a stack). Also, remove
  7042. GetDataSource and the code that calls it - it's not needed. Also,
  7043. track CurrencyManager.ListName's removal.
  7044. 2006-06-21 Chris Toshok <[email protected]>
  7045. * CurrencyManager.cs: push some of the original type checking from
  7046. BindingContext.CreateBindingManager to here, and remove some of
  7047. the finalType stuff. Need more tests to make sure I've got the
  7048. ListName part right, and we might need more in SetDataSource.
  7049. * PropertyManager.cs: add a ctor that takes just the datasource,
  7050. and no property name. Make SetDataSource work with a null
  7051. property_name, and make Current return the data_source if the
  7052. property descriptor is null. this makes 'string foo = "hi";
  7053. BindingContext[foo].Current' return "hi" as it should.
  7054. * RelatedCurrencyManager.cs: make this code more generic - there's
  7055. no reason the parent manager has to be CurrencyManager, and
  7056. there's no reason to pass the DataRelation. It suffices to use a
  7057. BindingManagerBase and PropetyDescriptor.
  7058. * RelatedPropertyManager.cs: make a similar change here.
  7059. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  7060. flower I knew it could be.
  7061. 2006-06-20 Chris Toshok <[email protected]>
  7062. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  7063. data in the source has changed and we need to update the control,
  7064. so s/PullData/PushData.
  7065. * CurrencyManager.cs: Refresh is meant to update the control from
  7066. data in the datasource. So, s/PullData/PushData.
  7067. * BindingContext.cs: add more ugliness (we weren't handling the
  7068. case where data_source = DataTable and data_member = column_name).
  7069. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  7070. from the perspective of the datasource. PullData pulls from the
  7071. control, PushData pushes to the control.
  7072. 2006-06-20 Chris Toshok <[email protected]>
  7073. * BindingContext.cs: rewrite the CreateBindingManager code to
  7074. handle navigation paths more or less properly. This could
  7075. definitely stand some more work, in particular to push the
  7076. recursion up to the toplevel. But that relies on fixes in other
  7077. places (System.Data comes to mind).
  7078. Also, move to a flat hashtable (and encode the twolevel nature of
  7079. the dictionary into the hash key). This lets us implement the
  7080. IEnumerable.GetEnumerator method.
  7081. * RelatedCurrencyManager.cs: new class. Update our view based on
  7082. our relation and our parent CurrencyManager's position.
  7083. * CurrencyManager.cs: split out some logic from the ctor into
  7084. SetView, so it can be called from the new RelatedCurrencyManager
  7085. subclass.
  7086. * RelatedPropertyManager.cs: new class. Update our datasource
  7087. based on the position of our parent CurrencyManager.
  7088. * PropertyManager.cs: split out some logic from the ctor into
  7089. SetDataSource, so it can be called from the new RelatedDataSource
  7090. subclass. Also, make the Current getter return the value
  7091. of the PropertyDescriptor, not the data_source.
  7092. * Binding.cs: no need to duplicate the string splitting code here.
  7093. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7094. * Control.cs:
  7095. - set_Enabled: OnEnabledChanged is not called if the inherited state
  7096. of the control is not altered, even though we might be changing the
  7097. internal state of the control (#78458)
  7098. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  7099. OnEnabledChanged, to allow easy altering of any child window state
  7100. - OnEnabledChanged: Added code to enable/disable driver window state
  7101. - OnParentEnabledChanged: Instead of firing the event, call
  7102. OnEnabledChanged, which will fire the event and also a) set driver
  7103. window state and pass the enabled state to any grandchildren (#78458)
  7104. 2006-06-19 Jackson Harper <[email protected]>
  7105. * InternalWindowManager.cs: We don't set the cursor explicitly
  7106. thats done via the response to NCHITTESTs.
  7107. - Don't need to adjust for titlebar heights anymore, the
  7108. coordinates are coming in the correct coordinates now (see peters
  7109. last patch).
  7110. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7111. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  7112. being translated relative to whole window, instead of client window.
  7113. That caused broken offsets on mouseclick (and caused gas for our
  7114. InternalWindowManager)
  7115. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7116. * TextControl.cs:
  7117. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  7118. - Undo(): Added replay of cursor move on DeleteChars action; added
  7119. calling Undo() again if a recorded cursor move is invalid (to
  7120. ensure that some action is performed on Undo)
  7121. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  7122. 2006-06-16 Jackson Harper <[email protected]>
  7123. * MdiClient.cs: Instead of just sizing maximized windows when
  7124. there is a resize we also have to adjust the Y of minimized
  7125. windows, so they stay pinned to the bottom of the mdi container.
  7126. - Eliminate separate tracking of the active control, we can just
  7127. get this from the controls collection.
  7128. - Paint the decorations for the newly activated titlebar so we get
  7129. a pretty blue bar.
  7130. * InternalWindowManager.cs:
  7131. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  7132. even if they are a tool window.
  7133. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7134. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  7135. undo buffer, these can happen when text was deleted and the cursor
  7136. was recorded first. Since we will also have a recorded cursor
  7137. after the delete this is not an issue. (Fixes #78651)
  7138. 2006-06-14 Peter Dennis Bartok <[email protected]>
  7139. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  7140. instead properly track control states internally (allows us to
  7141. remove is_selected from Control)
  7142. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  7143. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  7144. whose width is not a multiple of 8.
  7145. 2006-06-13 Jackson Harper <[email protected]>
  7146. * MdiClient.cs: Only maximize the next child if the current one
  7147. is maximized.
  7148. 2006-06-13 Chris Toshok <[email protected]>
  7149. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  7150. modified. Also, guard against grid or grid_drawing being null in
  7151. Invalidate.
  7152. * DataGrid.cs: Reformat tons of getters/setters. In the
  7153. DataMember setter, just call SetNewDataSource instead of
  7154. duplicating some of its functionality. In SetNewDataSource, don't
  7155. check ListManager for null, since the property getter creates the
  7156. object if needed.
  7157. * DataGridTableStyle.cs: don't set TableStyle or call
  7158. SetDataGridInternal on the column here, it's done in
  7159. GridColumnStylesCollection.Add.
  7160. * GridColumnStylesCollection.cs: fix all the explicit interface
  7161. implementations to just call our methods. Nuke AddInternal() and
  7162. move the body of it to Add(). Also, add a call to
  7163. column.SetDataGridInternal to Add().
  7164. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  7165. base()+duplicate code. Also, use the Format property instead of
  7166. format to generate an Invalidate ala MS. Lastly, create the
  7167. textbox here, unconditionally.
  7168. (set_Format): call Invalidate.
  7169. (get_TextBox): no need to call EnsureTextBox.
  7170. (Commit): remove the message box.
  7171. (Edit) remove the call to EnsureTextBox.
  7172. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  7173. (EnterNullValue): no need to check textbox for null.
  7174. (HideEditBox): no need to check textbox for null.
  7175. (SetDataGridInColumn): add the textbox to the grid's controls.
  7176. (EnsureTextBox): nuke.
  7177. 2006-06-13 Jackson Harper <[email protected]>
  7178. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  7179. and redraw the buttons when needed. Unhook when the window is
  7180. unmaximized.
  7181. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  7182. needs this so that it can redraw its buttons when the menu is
  7183. repainted.
  7184. * InternalWindowManager.cs:
  7185. * Form.cs: The method order has changed for DrawMaximizedButtons,
  7186. so that it can be a PaintEventHandler.
  7187. 2006-06-13 Jackson Harper <[email protected]>
  7188. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  7189. window is activated and maximized, even if it wasn't before.
  7190. - When a new window is activated repaint the decorations of the
  7191. old one, so that it no longer has the Active "look" (the blue
  7192. titlebar).
  7193. * InternalWindowManager.cs: Open up CreateButtons to base classes
  7194. so they can recreate the buttons on state changes.
  7195. - If a window is maximized give it all three buttons
  7196. * MdiWindowManager.cs: Create the titlebar buttons when the state
  7197. is changed, this is needed because a toolwindow will not have all
  7198. three buttons until it is maximized.
  7199. 2006-06-13 Atsushi Enomoto <[email protected]>
  7200. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  7201. Fixed bug #78609.
  7202. 2006-06-12 Jackson Harper <[email protected]>
  7203. * KeysConverter.cs: Make sure we handle the Ctrl special case
  7204. if its the only key.
  7205. 2006-06-12 Jackson Harper <[email protected]>
  7206. * Theme.cs: Add a method to get the size of a managed window
  7207. toolbar button.
  7208. * InternalWindowManager.cs: Remove the ButtonSize property, this
  7209. should be retrieved from the theme.
  7210. * MdiWindowManager.cs: Get the button size from the theme
  7211. * ThemeWin32Classic.cs: Make the method to get the managed window
  7212. titlebar button size public.
  7213. - Handle the different button sizes of maximized toolwindows
  7214. (should match any maximized window).
  7215. - Get the titlebar height from the theme, not the WM (which gets
  7216. it from the theme).
  7217. 2006-06-12 Jackson Harper <[email protected]>
  7218. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  7219. event down to the mdi window manager.
  7220. - Expose some extra stuff to base classes
  7221. - Make sure to end the Capture on an NC Mouse up, so that we can
  7222. get double clicks properly, and the sizing doens't stick.
  7223. - When doing PointToClient contain it in the workable desktop
  7224. area, this prevents windows from changing size when the cursor is
  7225. pulled outside of the working area while sizing.
  7226. * MdiWindowManager.cs: When we get a double click maximize the
  7227. window.
  7228. - Reset the cursor after handling mode changes.
  7229. 2006-06-12 Peter Dennis Bartok <[email protected]>
  7230. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  7231. current desktop, instead of just assuming a 0, 0 origin. This
  7232. is needed for our internal window manager, to know the top
  7233. margin of the desktop
  7234. 2006-06-12 Chris Toshok <[email protected]>
  7235. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  7236. we need this to get rid of the selected background in the bool
  7237. column.
  7238. (CancelEditing): move the ConcedeFocus call to above the Abort
  7239. call. Also, set is_changing to false and invalidate the row
  7240. header if we were changing before.
  7241. (ProcessKeyPreviewInternal): remove, since noone outside this
  7242. class calls it anymore. Roll the code into ProcessKeyPreview.
  7243. (EndEdit): remove the internal version.
  7244. (InvalidateCurrentRowHeader): make private.
  7245. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  7246. Keys.Escape handling (and with it the last call to
  7247. DataGrid.EndEdit from outside the class.)
  7248. 2006-06-12 Chris Toshok <[email protected]>
  7249. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  7250. (OnKeyPress): set isedit to true.
  7251. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  7252. already handled by the grid.
  7253. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  7254. right. ugh.
  7255. (set_DataSource): SetDataSource always returns true, so stop
  7256. putting it in an if statement.
  7257. (EndEdit): get rid of some {}'s
  7258. (ProcessGridKey): return true in case Keys.Escape.
  7259. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  7260. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  7261. PositionChanged, stopped connecting to CurrentChanged.
  7262. (GetDataSource): simplify this a bunch.
  7263. (SetDataSource): change return type from bool to void.
  7264. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  7265. to this, and make sure we don't set ListManager.Position inside
  7266. set_CurrentCell.
  7267. (OnListManagerItemChanged): if we're passed an actual index,
  7268. redraw that row.
  7269. * CurrencyManager.cs (set_Position): don't call PullData here.
  7270. 2006-06-09 Jackson Harper <[email protected]>
  7271. * TreeNode.cs: Recalculate the visible order before doing the
  7272. Expand/Collapse Below calls, because those calls generate an
  7273. expose.
  7274. - Reduce calls to the TreeView property, which is mildly expensive
  7275. by using a local var.
  7276. * Form.cs: Layout the MDI child windows when creating the parent
  7277. form.
  7278. - Don't use the internal constructor anymore
  7279. * MdiClient.cs: use the parent form width/height (if available)
  7280. when laying out the child windows, we do this because the
  7281. mdiclient isn't docked yet when the initial layout is done.
  7282. - Don't need an internal constructor anymore.
  7283. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  7284. * FileDialog.cs: handle access errors when trying to create a folder
  7285. or changing to a directory. No need to initialize out parameters.
  7286. 2006-06-08 Alexander Olk <[email protected]>
  7287. * FileDialog.cs: Append a number when creating a new folder if the
  7288. folder already exists (use parenthesis instead of square brackets)
  7289. 2006-06-08 Alexander Olk <[email protected]>
  7290. * FileDialog.cs:
  7291. - Disabled registry support for windows and added better registry
  7292. error checking for other systems (need to investigate why it
  7293. works perfectly on my system)
  7294. - If a folder already exist show an error MessageBox instead of
  7295. trying to create an indexed name.
  7296. - Fixed a non intentional typo.
  7297. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  7298. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  7299. 2006-06-08 Alexander Olk <[email protected]>
  7300. * FileDialog.cs: When creating a new folder don't crash if the
  7301. folder already exists.
  7302. 2006-06-08 Alexander Olk <[email protected]>
  7303. * FileDialog.cs: Allmost a complete rewrite.
  7304. - added a "virtual" file system that handles the differences
  7305. between unix and windows file systems (especially the directory
  7306. structure). Moved most of the directory and file handling code
  7307. into the vfs.
  7308. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  7309. UnixFileSystem and FSEntry.
  7310. - Recently used folder/directory, size, location and used file names
  7311. (file name ComboBox) are now stored in the registry and get read
  7312. before the dialog shows up (fixes part 6 of bug #78446).
  7313. - Creation of new folders/directories is now possible (context menu
  7314. or ToolBar). Added TextEntryDialog for this that fills in the gap
  7315. until ListView.LabelEdit works.
  7316. - Fixed cursor handling (bug #78527) and focus handling for
  7317. PopupButtonPanel
  7318. - Various "Search in" ComboBox enhancements. The content of the
  7319. dropdown listbox now almost matches ms.
  7320. - Changed the behaviour when the user switches to SpecialFolder
  7321. Recent to show the ListView in View.Details.
  7322. - Beside using the ToolBar to change the View property of the
  7323. file ListView it is now possible to use the context menu too.
  7324. 2006-06-08 Alexander Olk <[email protected]>
  7325. * ComboBox.cs: Don't create a new ObjectCollection when an item
  7326. gets inserted. Just insert the item in the existing object_items
  7327. ArrayList.
  7328. 2006-06-08 Jackson Harper <[email protected]>
  7329. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  7330. that the treeview and root node checks are done also, this fixes a
  7331. regression i caused in the unit tests.
  7332. 2006-06-07 Wade Berrier <[email protected]>
  7333. * RichTextBox.cs: More ISO8859-1 -> unicode
  7334. 2006-06-07 Mike Kestner <[email protected]>
  7335. * ComboBox.cs : use items to hold highlight/selection so that
  7336. collection insertions don't require synchronization.
  7337. 2006-06-07 Jackson Harper <[email protected]>
  7338. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  7339. routine. We now always keep the sized edge at the cursor instead
  7340. of computing movement and adjusting rects. There is one buglet
  7341. with this method though when the cursor is moved over area that
  7342. the window can not expand too (such as the toolbars on the desktop).
  7343. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  7344. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  7345. here. Fixes crash on startup in AlbumSurfer.
  7346. 2006-06-07 Peter Dennis Bartok <[email protected]>
  7347. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  7348. values
  7349. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  7350. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  7351. statement to avoid calling XNextEvent which will block if another thread
  7352. took the event that we were expecting. Fixes bug #78605.
  7353. 2006-06-07 Mike Kestner <[email protected]>
  7354. * ListView.cs : isolated checkbox clicking from the selection logic.
  7355. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  7356. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  7357. * Form.cs: Check that the value passed to Form.DialogResult
  7358. is a valid enum value.
  7359. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  7360. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  7361. Computer'. Clicking it in the network view goes to 'My Computer'.
  7362. Added CIFS filesystem type. Display the mount point of filesystems.
  7363. Avoid duplicate mount points (happens for me with CIFS);
  7364. 2006-06-06 Jackson Harper <[email protected]>
  7365. * InternalWindowManager.cs: Draw the maximized windows buttons
  7366. when resizing.
  7367. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  7368. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  7369. all other dialogs. Fixes bug #78585.
  7370. 2006-06-06 Mike Kestner <[email protected]>
  7371. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  7372. Only invalidate checkbox on checkstate changes to avoid flicker.
  7373. * ListBox.cs : avoid unselect/select when clicking selected item.
  7374. avoid reselection flicker for already multiselected items.
  7375. Fixes #78382.
  7376. 2006-06-06 Jackson Harper <[email protected]>
  7377. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  7378. the parent form so that the menu is removed if needed.
  7379. 2006-06-06 Mike Kestner <[email protected]>
  7380. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  7381. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  7382. 2006-06-06 Mike Kestner <[email protected]>
  7383. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  7384. 2006-06-06 Jackson Harper <[email protected]>
  7385. * Control.cs: Use the property (instead of the field) to get the
  7386. default cursor so it is instantiated correctly.
  7387. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  7388. resizes so we need to manually repaint the window decorations here.
  7389. - Set the titlebar button locations as soon as they are created,
  7390. otherwise they are not set correctly on win32.
  7391. 2006-06-06 Chris Toshok <[email protected]>
  7392. * CurrencyManager.cs (set_Position): call PullData before
  7393. OnCurrentChanged.
  7394. (AddNew): after calling IBindingList.AddNew, update our
  7395. listposition, and call OnCurrentChanged/OnPositionChanged (without
  7396. calling PullData).
  7397. (OnCurrentChanged): remove the call to PullData from here.
  7398. (OnItemChanged): remove the call to PushData from here.
  7399. (OnPositionChanged): change the test from == null to != null to
  7400. match the other methods.
  7401. (ListChangedHandler): the grossest part of the patch. Implement
  7402. this such that it passes the unit tests in CurrencyManagerTest and
  7403. the output more or less matches that of MS's implementation.
  7404. 2006-06-06 Mike Kestner <[email protected]>
  7405. * ListView.cs : only update check state on single click.
  7406. * ThemeWin32Classic.cs : fix focus drawing for details view without
  7407. fullrowselect. Fixes #78454.
  7408. * XplatUIX11.cs : fix for double click emission.
  7409. 2006-06-05 Jonathan Chambers <[email protected]>
  7410. * PropertyGridView.cs : Applied Atsushi's patch to fix
  7411. font dialog bug (#78197).
  7412. 2006-06-05 Jackson Harper <[email protected]>
  7413. * TreeNode.cs: Compute the next node for expanding/collapsing
  7414. correctly. We now factor in nodes without a NextNode
  7415. correctly. (Fixes somes cases in nunit-gui).
  7416. * InternalWindowManager.cs: Set the bounds when updating the
  7417. virtual position of a tool window.
  7418. 2006-06-05 Chris Toshok <[email protected]>
  7419. * DataGrid.cs: rename cached_currencymgr to list_manager.
  7420. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  7421. some.
  7422. (CurrentRow, CurrentColumn): single accessors so we can make the
  7423. cursor movement code a lot easier to understand.
  7424. (CurrentRowIndex): implement this in terms of CurrentRow.
  7425. (BeginEdit): clean this up a bit.
  7426. (CancelEditing): sort out the is_editing/is_changing/is_adding
  7427. stuff a little.
  7428. (EndEdit): minor changes.
  7429. (OnKeyDown): add a comment about a (most likely) unnecessary
  7430. check.
  7431. (OnMouseDown): cancel editing when we click on a row header. And
  7432. use the CurrentRow setter, not CurrentCell.
  7433. (ProcessDialogKey): directly call ProcessGridKey.
  7434. (UpdateSelectionAfterCursorMove): factor out this common block of
  7435. code (it's used everywhere that we move the cursor by updating row
  7436. or column).
  7437. (ProcessGridKey): pretty substantial overhaul. Use the
  7438. CurrentRow/CurrentColumn properties to make the code a lot more
  7439. readable. Only use the CurrentCell property when we have to
  7440. modify both row and column at once. Tab behavior is still broken,
  7441. and Delete is untested.
  7442. (Select): if we have no selected rows, set selection_start to
  7443. @row.
  7444. (EditCurrentCell): rename EditCell this. It was only ever invoked
  7445. with CurrentCell as the arg, so drop the arg and rename it.
  7446. * DataGridColumnStyle.cs: clean up the constructors a little, and
  7447. drop CommonConstructor().
  7448. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  7449. actually get notified when the user hits it.
  7450. (ProcessKeyMessage): *substantially* simplify this method.
  7451. There's no reason (that I can see) for the textbox to be making
  7452. calls into the datagrid at all. Remove all of them but the ones
  7453. for Enter handling. those will take some more work.
  7454. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  7455. calling HideEditBox.
  7456. (HideEditBox): if we have an active textbox, render it invisible
  7457. without causing a re-layout of the datagrid.
  7458. 2006-06-05 Mike Kestner <[email protected]>
  7459. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  7460. collection changes by resetting it to Items[0]. Fixes #78587.
  7461. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  7462. * MessageBox.cs: if the height of the text is larger than the icon_size,
  7463. use that. Fixes bug #78575.
  7464. 2006-06-05 Jackson Harper <[email protected]>
  7465. * TreeView.cs: Fix line drawing when scrolling. To do this each
  7466. node is basically responsible for drawing its entire horizontal
  7467. area. When drawing a node it draws its parent node lines if
  7468. needed.
  7469. - Adjust the clip area to the viewport rectangle
  7470. - Fix Left/Right key handling to match MS. (It expand/collapses
  7471. and moves to parents/first child but does not move selection to
  7472. sibling nodes).
  7473. - Fix SetTop to work with new bound calculation code
  7474. - When scrollbars are no longer needed we need to reset scrolling
  7475. vars and recalculate the visible order so the redraw is correct
  7476. * TreeNode.cs: We can't expand/collapse nodes with no children.
  7477. 2006-06-03 John Luke <[email protected]>
  7478. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  7479. so the colors work without dev packages
  7480. 2006-06-02 Peter Dennis Bartok <[email protected]>
  7481. * Control.cs
  7482. - Select: Implemented to just use activate. Seems to match MS
  7483. behaviour closest. Documented to only do actual control walking
  7484. based on it's parameters if in a container control so I moved
  7485. the code there.
  7486. - Removed selection check logic from our internal Select() method
  7487. * ContainerControl.cs:
  7488. - Select: Moved selection logic from Control here, since MS documents
  7489. that containers obey the bool arguments. No longer calling base
  7490. 2006-06-02 Jackson Harper <[email protected]>
  7491. * TreeView.cs: If the selected node isn't changed when we get
  7492. focus update the previously selected node so that we see the
  7493. selection box.
  7494. 2006-06-02 Mike Kestner <[email protected]>
  7495. * ComboBox.cs: restructure grab and general mouse event handling.
  7496. Make the composite control raise mouse events like it was a single
  7497. control for leaves/enters/motion/up/down events. fix dropdown list
  7498. coordinate mangling and refactor it into the scrollbar subclass to
  7499. reduce code duplication. Fixes #78282 #78361 and #78457.
  7500. 2006-06-02 Mike Kestner <[email protected]>
  7501. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  7502. automatically in the Control.WndProc.
  7503. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  7504. * FileDialog.cs: fix crash when running SharpChess, which sets the
  7505. FilterIndex to 2 with only one Filter.
  7506. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  7507. * ToolBar.cs: add SizeSpecified property.
  7508. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  7509. try to figure out our real size, otherwise fallback to what the
  7510. container says.
  7511. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7512. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  7513. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  7514. up the event
  7515. 2006-06-01 Mike Kestner <[email protected]>
  7516. * ListView.cs: revamp the focus management in ListView. It still
  7517. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  7518. better than not handling focus at all. Will revisit when pdb feels
  7519. the general focus handling is solid. Fixes #78526.
  7520. 2006-06-01 Jackson Harper <[email protected]>
  7521. * TreeView.cs: Set the default border style in the constructor.
  7522. - Move painting to use OnPaintInternal instead of capturing
  7523. WM_PAINT, this is the correct way of doing things
  7524. - UpdateBelow shouldn't invalidate the scrollbar area
  7525. - Cap the top on update below in case the node was above the top
  7526. of the viewport rectangle.
  7527. - ExpandBelow and Collapse below need to obey Begin/End Update.
  7528. * TreeNode.cs: Make is_expanded internal so the treenode
  7529. collection can change it without firing the whole event chain.
  7530. * TreeNodeCollection.cs: When clearing all the child nodes make
  7531. sure to recalc the visible order.
  7532. - Improve algo for remove the top node
  7533. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7534. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  7535. SendMessage directly calling window procedures, which in turn might
  7536. call SetFocus()
  7537. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7538. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  7539. has focus (works around X11 sending a FocusIn after our SetFocus)
  7540. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  7541. 2006-06-01 Alexander Olk <[email protected]>
  7542. * Mime.cs: Fix for the NET_2_0 build.
  7543. NameValueCollection needs StringComparer now.
  7544. 2006-05-31 Chris Toshok <[email protected]>
  7545. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  7546. return (via an out parameter) the starting X of the column.
  7547. (UpdateVisibleColumn): track change to FromPixelToColumn.
  7548. (HitTest): add a ColumnResize case here.
  7549. (DrawResizeLine): new function, probably poorly named.
  7550. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  7551. only need to keep one reference.
  7552. (set_ListManager): same.
  7553. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  7554. Also, add support for HitTestType.ColumnResize.
  7555. (OnMouseMove): add column resize behavior here, and change the
  7556. cursor to the correct one as we move around the datagrid.
  7557. (OnMouseUp): terminate the column resize if we're resizing.
  7558. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  7559. for the current cell.
  7560. (ConnectListManagerEvents): use cached_currencymgr.
  7561. (DisconnectListManagerEvents): fill this in, using
  7562. cached_currencymgr.
  7563. (SetCurrentCell): remove cached_currencymgr_events handling.
  7564. (SetDataMember): only call DisconnectListManagerEvents if
  7565. cached_currencymgr is != null.
  7566. (SetDataSource): same.
  7567. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  7568. cached_currencymgr.
  7569. 2006-05-31 Jackson Harper <[email protected]>
  7570. * BindingManagerBase.cs: Remove somedebug code that creeped into
  7571. SVN.
  7572. * TreeNode.cs: We get the indent level dynamically right now, so
  7573. don't track it as a member.
  7574. * TreeNodeCollection.cs: Make sure all nodes added to the list
  7575. have parents, treeviews/topnodes setup properly.
  7576. - Don't attempt to track indent level.
  7577. 2006-05-30 Jackson Harper <[email protected]>
  7578. * BindingContext.cs: Create the currency manager tables here.
  7579. This allows us to more easily create null tables (when bad data
  7580. members are used), and more easily create related currency
  7581. managers.
  7582. * CurrencyManager.cs: All the table creation stuff is done by the
  7583. binding context now.
  7584. - Current should throw an exception if listposition is -1.
  7585. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  7586. been bound yet.
  7587. 2006-05-30 Mike Kestner <[email protected]>
  7588. * ListView.cs: allow reexpansion of zero-width column headers.
  7589. Fixes #78528.
  7590. 2006-05-28 Chris Toshok <[email protected]>
  7591. * CurrencyManager.cs (get_Current): after the late binding
  7592. listposition = -1 fix, we need to guard against it here and return
  7593. null, otherwise we raise an exception (which is swallowed
  7594. elsewhere, and breaks datagrid databinding.)
  7595. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7596. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  7597. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  7598. 2006-05-26 Jackson Harper <[email protected]>
  7599. * ControlPaint.cs:
  7600. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  7601. values, it's faster and it's all we care about (we don't care if
  7602. the names aren't equal).
  7603. * KeyboardLayouts.cs: Eliminate some dead code.
  7604. - Lazy init things
  7605. * X11Keyboard.cs: Lazy init keyboard detection.
  7606. - Cleanup access modifiers a little.
  7607. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7608. * XplatUIX11.cs: Once again, attempting to get layout just right.
  7609. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7610. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  7611. the sizes of each link section, that will result in sizes that
  7612. match DrawString's layout (Fixes #78391)
  7613. 2006-05-27 Alexander Olk <[email protected]>
  7614. * FileDialog.cs: If AddExtension property is true autocomplete the
  7615. extensions in SaveFileDialog correctly. Fixes bug #78453.
  7616. Set MyNetwork and MyComputer to "C:\" for windows. This should
  7617. fix part 8 of bug #78446 for now.
  7618. 2006-05-26 Chris Toshok <[email protected]>
  7619. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  7620. invalidate the current row header if we need to, but presumably
  7621. we'll invalidate the row corrsponding to the bounds or
  7622. editingControl.
  7623. (GridHScrolled): switch back to this method, as it's part of the
  7624. public api. *sigh*.
  7625. (GridVScrolled): same.
  7626. (OnMouseWheel): hack up something that more or less works. Call
  7627. GridHScrolled/GridVScrolled directly, instead of duplicating much
  7628. of their code here.
  7629. (EnsureCellVisibility): reinstate a bunch of this code, since we
  7630. can't just set the scrollbar Value and expect to do all the work
  7631. in the ValueChanged handler. Also, Call Update() after scrolling
  7632. in one direction so the other XplatX11.ScrollWindow call has the
  7633. proper stuff in the proper places.
  7634. (EditCell): set is_editing to true before calling .Edit.
  7635. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  7636. don't bother comparing first.
  7637. (OnKeyPress): call grid.ColumnStartedEditing before calling
  7638. base.OnKeyPress. this will set is_changing and invalidate the row
  7639. header if necessary.
  7640. (ProcessKeyMessage): for WM_CHAR messages, call
  7641. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  7642. and WM_KEYDOWN.
  7643. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  7644. it's done in the DataGrid.
  7645. (NextState): call grid.ColumnStartedEditing, which takes care of
  7646. invalidating the row header (and setting is_changing).
  7647. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  7648. here. it's done in the DataGrid.
  7649. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7650. * Control.cs: allow changing the cursor when the mouse position is
  7651. out of bounds but Capture is set.
  7652. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  7653. linklabel but released somewhere else.
  7654. 2006-05-25 Jackson Harper <[email protected]>
  7655. * TreeView.cs: When we get focus if there is no selected node make
  7656. it the top node
  7657. - Remove some uneeded setup code from Draw.
  7658. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  7659. a new node is inserted make the new node the top.
  7660. * XplatUIX11.cs:
  7661. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  7662. be used (should be faster).
  7663. 2006-05-25 Chris Toshok <[email protected]>
  7664. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  7665. problem with the last commit.
  7666. 2006-05-25 Chris Toshok <[email protected]>
  7667. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  7668. need the invalidate call here, while scrolling right-to-left via
  7669. the left arrow key (i.e. moving the editing cell while scrolling).
  7670. * DataGrid.cs (.ctor): remove the initialization of
  7671. ctrl_pressed/shift_pressed. We no longer track them using key
  7672. up/down handlers, but by using Control.ModifierKeys. Also, switch
  7673. to using ValueChanged handlers on the scrollbars instead of
  7674. Scrolled event handlers. This simplifies a bunch of the scrolling
  7675. code.
  7676. (GridHValueChanged): rename from GridHScrolled, and change it to
  7677. work with the new event args.
  7678. (GridVValueChanged): same.
  7679. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  7680. (OnMouseWheel): actually scroll the datagrid. Don't change the
  7681. selected cell.
  7682. (ProcessGridKey): correct all the keyboard navigation stuff I
  7683. could find. Ctrl up/down/left/right/home/end work now.
  7684. (EnsureCellVisibility): correct method name spelling. Also,
  7685. simplify this a touch by not explicitly calling the
  7686. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  7687. scrollbar value.
  7688. (OnKeyUpDG): no need for this method now.
  7689. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7690. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  7691. Fixes bug #78392.
  7692. 2006-05-25 Chris Toshok <[email protected]>
  7693. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  7694. r61019.
  7695. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7696. * Application.cs: Moved setting of is_modal and closing to before
  7697. we create the control, to allow the event handlers called as a
  7698. result of creation affect closing. Also removed Gonzalo's previous
  7699. change to setting DialogResult, the behaviour has been moved to
  7700. Form.ShowDialog()
  7701. * Form.cs:
  7702. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  7703. handle it instead
  7704. - ShowDialog(): If no dialog result is set, we need to return Cancel
  7705. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  7706. the close is cancelled
  7707. 2006-05-25 Jackson Harper <[email protected]>
  7708. * StatusBar.cs: We only need to update the sizes of the other
  7709. panels when we have auto size contents. Also we are only updating
  7710. the contents of the panel, not the borders, so compensate for the
  7711. border width (TODO: get this width from the theme somehow).
  7712. * TreeView.cs: Scrollable is true by default
  7713. - Use invalidate instead of refresh where needed
  7714. - Factor the scrollable value into scrollbar updating
  7715. - Update the scrollbars if the Scrollable property is altered
  7716. - Update the selected node if its ImageIndex is changed
  7717. - Handle null nodes in UpdateNode (mainly so we don't have to
  7718. check if selected is null when updating it
  7719. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  7720. are factored into the visible count
  7721. - Use VisibleCount for clarity in the code
  7722. - When the font is changed we need to recurse through all the
  7723. nodes and invalidate their sizes
  7724. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7725. * Application.cs: set the DialogResult to fixed when the main form is
  7726. hidden or destroyed while being modal.
  7727. 2006-05-25 Miguel de Icaza <[email protected]>
  7728. * Theme.cs: Use Tangoified messagebox icons.
  7729. (GetSizedResourceImage): Also cope with width = 0 and do not
  7730. trigger a warning in that case (0 means "give me your icon from
  7731. the resouce, no special size needed).
  7732. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7733. * Application.cs: Leave runloop if the the main modal form is
  7734. hidden (fixes #78484)
  7735. 2006-05-25 Atsushi Enomoto <[email protected]>
  7736. * BindingContext.cs : reject null datasource in Contains() and
  7737. Item[].
  7738. * CurrencyManager.cs : check data_member validity when data_source
  7739. is dataset. When it is late binding, the initial position is -1.
  7740. 2006-05-24 Jackson Harper <[email protected]>
  7741. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  7742. inserted nodes that aren't visible. This changes the
  7743. max_visible_order which confuses scrollbar settings.
  7744. - Use the enumerator to get the prev node instead of duplicating
  7745. code.
  7746. * TreeView.cs: Use new method for setting scrollbar values
  7747. - Don't set the bounds every time the scrollbar is updated
  7748. - When updating below the root node use an invalidate instead of a
  7749. refresh to prevent the child controls (scrollbars) from being
  7750. refreshed. (UpdateBelow still needs to be reworked anyways).
  7751. - Reenable SetBottom now that visible orders are set correctly,
  7752. added some debug code incase we ever get bad values there again.
  7753. - Set the scrollbar max to 2 less then the max value, this
  7754. compensates for the max value being one above the node count, and
  7755. for scrollbars adding one extra "notch".
  7756. - When drawing image nodes if there is an imagelist we draw the
  7757. first image in the list if the supplied image index is out of the
  7758. image list's bounds.
  7759. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7760. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  7761. we receive a size change from the WM (Fixes #78503)
  7762. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7763. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  7764. rectangle (Fixes #78501)
  7765. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7766. * ButtonBase.cs:
  7767. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  7768. as a bitfield.
  7769. - Fixed MouseMove to no longer switch pressed state unless the left
  7770. mouse button is pressed. Atsushi provided the original patch (#78485)
  7771. 2006-05-24 Jackson Harper <[email protected]>
  7772. * ScrollBar.cs: New internal methods that allow us to change a
  7773. couple values on the scrollbar (the most common case is maximum
  7774. and large change) without getting multiple invalidates.
  7775. 2006-05-24 Chris Toshok <[email protected]>
  7776. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  7777. (Edit): save off the original state in oldState, and set
  7778. grid.is_editing to true.
  7779. (OnKeyDown): abort editing if escape is pressed. also, call
  7780. NextState if space is pressed.
  7781. (OnMouseDown): call NextState.
  7782. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  7783. here. Also, only invalidate the row header once (on the initial
  7784. is_changing switch) to save on redraws.
  7785. 2006-05-24 Chris Toshok <[email protected]>
  7786. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  7787. if the value in the cell is different than it was before. This
  7788. keeps us from triggering a layout when we move around a datarid
  7789. with a highlighted cell.
  7790. (Edit): suspend layout when creating/positining the text box, and
  7791. resume passing false so we don't ever actually re-layout.
  7792. (ReleaseHostedControl): same.
  7793. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  7794. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  7795. control-key sequences should go to the datagrid - remove that
  7796. lock. Also, modify the conditions under which we move between
  7797. cells when moving the cursor within a cell, and remove the "this"
  7798. and "base" from field accesses. We weren't even consistent, given
  7799. they all were in the base class.
  7800. 2006-05-24 Atsushi Enomoto <[email protected]>
  7801. * Binding.cs : (.ctor)
  7802. An obvious NRE fix for BindingTest.CtorNullTest().
  7803. 2006-05-23 Chris Toshok <[email protected]>
  7804. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  7805. them between lines. This fixes some quirks editing cells in the
  7806. datagrid.
  7807. 2006-05-23 Jackson Harper <[email protected]>
  7808. * TreeView.cs: Use begin/end update when doing expand/collapse all
  7809. so that we don't get flicker on the scrollbar.
  7810. 2006-05-23 Jackson Harper <[email protected]>
  7811. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  7812. treenode calculations to be independant of the painting code. To
  7813. do this nodes track a visible order which is calculated by the
  7814. treeview.
  7815. - Call new methods for expanding/collapsing nodes. These methods
  7816. use scrollwindow so we don't have to update everything below the
  7817. node.
  7818. * TreeView.cs: Refactored drawing and scrolling code. We don't
  7819. need to update nodes when drawing anymore or calculate scrollbar
  7820. stuff.
  7821. - Added new methods for expanding/collapsing nodes. These methods
  7822. use ScrollWindow so as to not have to redraw all the nodes below.
  7823. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  7824. we add/remove nodes or sort.
  7825. - Handle removing the selected and the top node properly.
  7826. 2006-05-23 Chris Toshok <[email protected]>
  7827. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  7828. maybe this should actually happen in the datagrid code?
  7829. (EndEdit): no need to invalidate anything, given that
  7830. ReleaseHostedControl causes the datagrid to relayout, which
  7831. invalidates everything anyway.
  7832. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  7833. in SetCurrentCell).
  7834. (set_SelectionBackColor): call InvalidateSelection instead of
  7835. Refresh.
  7836. (set_SelectionForeColor): same.
  7837. (BeginEdit): Flesh this out a bit.
  7838. (CancelEditing): only do any of this if we're editing/adding.
  7839. (EndEdit): same.
  7840. (OnMouseDown): there's no need to cancel editing here, it's done
  7841. in SetCurrentCell.
  7842. (SetCurrentCell): only invalidate the current row header if it's a
  7843. different row than the new one.
  7844. (ShiftSelection): fix this to work like MS does.
  7845. (ResetSelection): factor out the invalidation of selected_rows to
  7846. InvalidateSelection.
  7847. (SetDataSource): cancel any editing that's going on.
  7848. * DataGridColumnStyle.cs
  7849. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  7850. call the non-interface version.
  7851. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  7852. header rectangle with the clip rectangle so we don't redraw the
  7853. entire header for just a small area. Gets rid of the last flicker
  7854. when horizontally scrolling.
  7855. (DataGridPaintRow): same.
  7856. 2006-05-23 Mike Kestner <[email protected]>
  7857. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  7858. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  7859. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  7860. Critical bug report.
  7861. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7862. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  7863. and this fixes #78493
  7864. 2006-05-23 Miguel de Icaza <[email protected]>
  7865. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  7866. size is not found.
  7867. * FileDialog.cs: Do not change the background for the side bar as
  7868. it wont work nicely with the theme, and also reduces the artifacts
  7869. in rendering the icons (which I want to fix too).
  7870. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  7871. resources, not resgen resources.
  7872. (PlatformDefaultHandler): Pull images using the new API.
  7873. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7874. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  7875. a reference to the hwnd and will not remove it unless there are
  7876. no pending exposures (fixes #78341)
  7877. * XplatUI.cs: Improved debug
  7878. 2006-05-23 Atsushi Enomoto <[email protected]>
  7879. * MenuAPI.cs : don't handle OnClick event when it was not the left
  7880. button. Fixed bug #78487.
  7881. 2006-05-23 Mike Kestner <[email protected]>
  7882. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  7883. prefer submenus to the top menu for item lookup, to avoid popping down
  7884. top-row items.
  7885. 2006-05-23 Alexander Olk <[email protected]>
  7886. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  7887. Graphics.FillRectangle as the visual results are really bad (even
  7888. on win). We now draw perfect arrows (and perfect shadows when the
  7889. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  7890. Pen.DashPattern to draw the dots of each line.
  7891. 2006-05-22 Alexander Olk <[email protected]>
  7892. * FileDialog.cs: Update the filename combobox when navigating through
  7893. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  7894. 2006-05-22 Mike Kestner <[email protected]>
  7895. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  7896. Fixes #78463.
  7897. 2006-05-22 Mike Kestner <[email protected]>
  7898. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  7899. requests. Fix a misspelled parameter and a copy paste exception error
  7900. in Select.
  7901. 2006-05-22 Peter Dennis Bartok <[email protected]>
  7902. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  7903. to get the same width/height (5/13) on X11 as the default font has on
  7904. win32. This means that our DefaultFont emSize is smaller than the
  7905. the MS SWF equivalent (even thought the width/height stays the same)
  7906. 2006-05-20 Jackson Harper <[email protected]>
  7907. * MdiClient.cs:
  7908. * MdiWindowManager.cs:
  7909. * InternalWindowManager.cs: Make sure to use the border width from
  7910. the theme.
  7911. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  7912. * PrintDialog.cs: Implements printer details
  7913. 2006-05-19 Alexander Olk <[email protected]>
  7914. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  7915. Fixes part 1 and 2 of bug #78446
  7916. 2006-05-19 Peter Dennis Bartok <[email protected]>
  7917. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  7918. instead of sticking to the first ever calculated value
  7919. 2006-05-19 Mike Kestner <[email protected]>
  7920. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  7921. PointToClient, since Capture is set. Fixes #78344.
  7922. 2006-05-19 Mike Kestner <[email protected]>
  7923. * ListView.cs: match MS behavior in Details view where items are not
  7924. drawn if Columns.Count == 0.
  7925. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  7926. Use a separate pen to draw the check, since changing the width affects
  7927. the box as well. Fixes #78454.
  7928. 2006-05-18 Miguel de Icaza <[email protected]>
  7929. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  7930. exception should throw the name of the invalid argument.
  7931. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  7932. there are no files listed.
  7933. 2006-05-18 Jackson Harper <[email protected]>
  7934. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  7935. up.
  7936. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7937. * Control.cs: Brought back our old UpdateZOrder method as a private
  7938. function and switched our calls from UpdateZOrder to the new one.
  7939. This fixes the Paint.Net canvas disappearing bug.
  7940. 2006-05-18 Jackson Harper <[email protected]>
  7941. * Theme.cs:
  7942. * ThemeWin32Classic.cs:
  7943. * InternalWindowManager.cs: Move the drawing into the theme,
  7944. expose everything the theme should need from the window manager.
  7945. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7946. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  7947. from the call to NativeWindow to avoid walking up the parent chain
  7948. further than needed (speeds up setting cursors and avoids setting
  7949. the wrong cursor if a parent has another cursor defined)
  7950. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  7951. the icon as hotspot, not what's contained as hotspot in the icon
  7952. file. This fixes the perceived drawing offset seen with Paint.Net
  7953. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7954. * XplatUIX11.cs:
  7955. - Store the calculated rectangle in Hwnd object and use it when
  7956. setting the client size
  7957. - Force Toolwindows to always be type Dock, to ensure they're on top
  7958. 2006-05-18 Mike Kestner <[email protected]>
  7959. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  7960. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  7961. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  7962. Substantial refactoring to remove confusing nested classes. Coding
  7963. standard and Get+Set->property refactorings. Shift to index based
  7964. highlighting in ComboListBox instead of constantly using IndexOf and
  7965. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  7966. in FileDialog growth. Draw borders manually since Simple mode needs
  7967. to look like two independent controls. Make listbox border
  7968. conditional to DropDownStyle. Improved OwnerDraw support.
  7969. 2006-05-18 Sebastien Pouliot <[email protected]>
  7970. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  7971. Don't set the disposed graphics to null, so we can throw the "right"
  7972. exception if the graphics is reused later (added a flag to avoid
  7973. double disposing). Some behaviours are different under 2.0 and are
  7974. filled under bug #78448.
  7975. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7976. * Control.cs: When double-buffering is enabled, we need to reset
  7977. our graphics context between paint calls. Otherwise, any
  7978. transformations and other alterations on the context will
  7979. become cumulative (#77734)
  7980. 2006-05-18 Mike Kestner <[email protected]>
  7981. * ListView.cs: do focused item selection like MS on clicks.
  7982. Rework focus handling for ItemControl so LostFocus invalidates as
  7983. well.
  7984. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  7985. the ListView ItemControl has focus.
  7986. 2006-05-17 Peter Dennis Bartok <[email protected]>
  7987. * XplatUIX11.cs: If client_window ends up being width or height zero
  7988. due to border settings, move it off window inside whole_window (#78433)
  7989. 2006-05-17 Alexander Olk <[email protected]>
  7990. * Mime.cs: Shrink the mime file cache correctly.
  7991. 2006-05-17 Alexander Olk <[email protected]>
  7992. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  7993. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7994. * XplatUIX11.cs (AddExpose): More sanity checks
  7995. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7996. * XplatUIX11.cs:
  7997. - AddExpose: Don't add expose ranges outside the size of our
  7998. window
  7999. - Cast opacity values to Int32 to avoid crashes with certain
  8000. values
  8001. - Added disabled code paths that protect against illegal cross-
  8002. thread painting (Developers.exe)
  8003. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8004. * ProgressBar.cs: Invalidate the control when it's resized
  8005. since block size is based on control size. (#78388)
  8006. 2006-05-16 Miguel de Icaza <[email protected]>
  8007. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  8008. of setting the incoming argument to the "reset" value, we set the
  8009. this.datamember to string.empty (before we were invalidating the
  8010. incoming data).
  8011. Fixes 78420
  8012. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8013. * Form.cs: Only apply transparency settings after the form
  8014. is created. (Fixes #77800)
  8015. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8016. * ApplicationContext.cs: Grab the HandleDestroyed event so
  8017. we know when to fire OnMainFormClosed
  8018. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8019. * Application.cs: Introduced sub-class to allow tracking of
  8020. threads and centralized triggering of the event mess for
  8021. ThreadExit, AppExit, etc.. (#76156)
  8022. 2006-05-16 Alexander Olk <[email protected]>
  8023. * MimeIcon.cs:
  8024. - Do not return a null icon index value for a mime subclass.
  8025. Instead try the main mime type class too.
  8026. - Seems that some newer distributions don't have a link to some
  8027. gnome default icons anymore. So check the default gnome dir too.
  8028. 2006-05-16 Jackson Harper <[email protected]>
  8029. * MdiClient.cs: Don't paint the parent background image if we have
  8030. our own background image.
  8031. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8032. * Control.cs:
  8033. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  8034. controls, all filled controls are supposed to overlap (#78080)
  8035. - UpdateZOrder is supposed to update the control's z-order in the
  8036. parent's z-order chain. Fixed to behave like that
  8037. - BringToFront: Removed obsolete code
  8038. - SendToBack: Simplyfied
  8039. - SetChildIndex: Trigger layout calculations when Z-order changes
  8040. since layout is done by z-order
  8041. 2006-05-16 Chris Toshok <[email protected]>
  8042. [ fixes bug #78410 ]
  8043. * DataGrid.cs (set_AlternatingBackColor): use
  8044. grid_drawing.InvalidateCells instead of Refresh().
  8045. (set_BackColor): call grid_drawing.InvalidateCells.
  8046. (set_BackgroundColor): use Invalidate instead of Refresh.
  8047. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  8048. invalidate the cell area.
  8049. 2006-05-15 Chris Toshok <[email protected]>
  8050. [ fixes bug #78011 ]
  8051. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  8052. on to DataGridPaintRow.
  8053. (DataGridPaintRow): take a clip argument, and only draw the cells
  8054. which intersect it. same with the not_usedarea.
  8055. * Theme.cs (DataGridPaintRow) add @clip parameter.
  8056. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  8057. XplatUI.ScrollWindow.
  8058. (ScrollToRow): same.
  8059. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  8060. with last column which was causing a gray swath to appear with the
  8061. XplatUI.ScrollWindow code.
  8062. 2006-05-15 Chris Toshok <[email protected]>
  8063. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  8064. use XplatUI.ScrollWindow.
  8065. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  8066. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8067. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  8068. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8069. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  8070. file since there are no equivalent X11 cursors
  8071. 2006-05-15 Atsushi Enomoto <[email protected]>
  8072. * MonthCalendar.cs : DateTimePicker should reflect selected date
  8073. on mouse*up*, not mouse*down*. Fixed originally reported part of
  8074. bug #76474.
  8075. 2006-05-15 Atsushi Enomoto <[email protected]>
  8076. * TabControl.cs : When argument index is equal or more than tab
  8077. count, just ignore. Fixed bug #78395.
  8078. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8079. * Control.cs: Dispose all child controls when control is diposed (#78394)
  8080. 2006-05-14 Alexander Olk <[email protected]>
  8081. * ColorDialog.cs: Finally it is possible to select the color with
  8082. the text boxes
  8083. 2006-05-14 Alexander Olk <[email protected]>
  8084. * PrintDialog.cs: Fix typo
  8085. 2006-05-14 Alexander Olk <[email protected]>
  8086. * PrintDialog.cs: PrintDialog is not resizable
  8087. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  8088. color. Made some ToolBar drawing methods protected virtual.
  8089. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  8090. * PrintDialog.cs: Implementation of the PrintDialog
  8091. 2006-05-12 Chris Toshok <[email protected]>
  8092. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  8093. thumb, instead use MoveThumb. This has the side effect of making
  8094. most of the other thumb moving machinery use MoveThumb as well.
  8095. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  8096. need to actually invalidate the rectangle where the new thumb will
  8097. go.
  8098. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  8099. We force an Update() after, so it's not as fast as it could be,
  8100. but at least there's zero flicker and no droppings.
  8101. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  8102. (UpdateThumbPos): add another argument (dirty), which says whether
  8103. or not to calculate/add dirty regions which we later invalidate.
  8104. For cases where we know we're going to use MoveThumb, we pass
  8105. false for this. Otherwise, pass true.
  8106. 2006-05-12 Jackson Harper <[email protected]>
  8107. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  8108. the status bar.
  8109. 2006-05-12 Peter Dennis Bartok <[email protected]>
  8110. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  8111. and GetClipRegion methods and UserClipWontExposeParent property.
  8112. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  8113. overriding UserClipWontExposeParent property, setting to false, since
  8114. Win32 handles the required expose messages to draw our clipped parent
  8115. areas internally
  8116. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  8117. PaintEventStart to set the user clip region if set.
  8118. * Control.cs:
  8119. - Now internally tracking the Region for the control since we need to
  8120. store it if the handle is not yet created and only set it when it
  8121. becomes created. Before setting the region forced handle creation
  8122. - Added code to draw the parents underneath a user-clipped region
  8123. * Hwnd.cs: Added UserClip property
  8124. 2006-05-12 Chris Toshok <[email protected]>
  8125. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  8126. (set_Maximum): same.
  8127. (set_Minimum): same.
  8128. (set_SmallChange): same.
  8129. (OnMouseUpSB): remove the call to refresh when releasing the
  8130. thumb. We shouldn't need it.
  8131. 2006-05-12 Miguel de Icaza <[email protected]>
  8132. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  8133. AutoSize set to None, we do not need to relayout everything, we
  8134. just need to invalidate the current region.
  8135. (Draw): Do not draw the entire ClientArea, just redraw the
  8136. clip area being passed.
  8137. * MdiClient.cs: Make MdiClient constructor with the Form argument
  8138. internal.
  8139. 2006-05-12 Jackson Harper <[email protected]>
  8140. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  8141. parents background image, but strangely not their own.
  8142. - (DrawStatusBarPanel): Take into account horizontal alignment
  8143. when drawing the strings and icons.
  8144. 2006-05-12 Mike Kestner <[email protected]>
  8145. * ListBox.cs: avoid invalidations for focus when the collection is
  8146. empty.
  8147. 2006-05-12 Chris Toshok <[email protected]>
  8148. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  8149. invalidate the entire thumb area. Call InvalidateDirty which
  8150. limits the redraw to the thumb itself and surrounding pixels.
  8151. * XplatUIX11.cs (ScrollWindow): optimize copying.
  8152. 2006-05-12 Chris Toshok <[email protected]>
  8153. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  8154. Figure out the positioning/layout in a single pass instead of
  8155. multiple recursive invocations. Speeds up the initial display of
  8156. the data grid. Also, make many things private that were
  8157. originally public but unused outside this class.
  8158. 2006-05-11 Jackson Harper <[email protected]>
  8159. * MdiClient.cs: Improved layout code.
  8160. 2006-05-11 Jonathan Chambers <[email protected]>
  8161. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  8162. not SelectedObject.
  8163. 2006-05-11 Chris Toshok <[email protected]>
  8164. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  8165. union of that will always be {0,0,width,height}.
  8166. 2006-05-11 Jackson Harper <[email protected]>
  8167. * Form.cs: Match MS's DefaultSize for forms (they must have
  8168. changed the size in sp2).
  8169. 2006-05-11 Atsushi Enomoto <[email protected]>
  8170. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  8171. 2006-05-11 Atsushi Enomoto <[email protected]>
  8172. * TextControl.cs : Fixed bug #78109. This incorrect position
  8173. comparison caused crash on automatic line split.
  8174. * TextBoxBase.cs : reduce duplicate code.
  8175. 2006-05-10 Jackson Harper <[email protected]>
  8176. * MdiClient.cs: Active form is only sent to the back when using
  8177. the Next form functionality, when a form is clicked the current
  8178. active shouldn't be sent to the back.
  8179. - Layout the mdi windows when the container is first made visible.
  8180. * Form.cs: Give the MdiClient a ref to the containing form when we
  8181. create it.
  8182. 2006-05-10 Atsushi Enomoto <[email protected]>
  8183. * LinkLabel.cs : link_font could be uninitialized, so populate one
  8184. before actual use. Fixed bug #78340.
  8185. 2006-05-10 Atsushi Enomoto <[email protected]>
  8186. * XplatUIX11.cs : clipboard format native value is IntPtr.
  8187. Fixed bug #78283.
  8188. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8189. * Control.cs:
  8190. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  8191. which is passed up the parent chain by DefWndProc
  8192. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  8193. to DefWndProc (#77956)
  8194. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  8195. 2006-05-10 Jackson Harper <[email protected]>
  8196. * MdiClient.cs: We need to remove the controls from the mdi
  8197. collection, when we close the window.
  8198. * MdiWindowManager.cs: Special handling of closing mdi windows.
  8199. * InternalWindowManager.cs: Make the close method virtual so the
  8200. mdi window manager can handle it specially.
  8201. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  8202. * DataGrid.cs:
  8203. - Recalculate grid when the data source has changed
  8204. - Matches styles provided by user from all data sources types
  8205. * DataGridTableStyle.cs: For columns that provided by the user set the
  8206. with the preferred value is there was unassigned.
  8207. * CurrencyManager.cs: throw OnItemChanged event
  8208. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8209. * PictureBox.cs: Don't animate until handle is created. Start animation
  8210. when handle is created.
  8211. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8212. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  8213. current codebase.
  8214. * XEventQueue.cs: We don't need to provide the extra info
  8215. 2006-05-10 Jackson Harper <[email protected]>
  8216. * MdiClient.cs: If the mdi clients parent form has a background
  8217. image set, we draw that background image for the mdi area's
  8218. background.
  8219. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8220. * TextBoxBase.cs: Set IBeam cursor (#78347)
  8221. 2006-05-10 Mike Kestner <[email protected]>
  8222. * ToolBar.cs: fix some text padding issues with ButtonSize
  8223. calculation. Update the default size to match MS documentation.
  8224. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  8225. button size. Fixes #78296.
  8226. 2006-05-10 Mike Kestner <[email protected]>
  8227. * ListBox.cs: use is_visible for scrollbar positioning in case the
  8228. control isn't on screen yet. Fix off by one with Right vs Width
  8229. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  8230. 2006-05-10 Jackson Harper <[email protected]>
  8231. * X11Dnd.cs: Drop to a control with another control on top of it.
  8232. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  8233. be modified in click handlers. TODO: Look for similar problems in
  8234. other controls.
  8235. 2006-05-09 Jackson Harper <[email protected]>
  8236. * Form.cs: Window managers need the old window state when setting
  8237. window state now.
  8238. * InternalWindowManager.cs: Allow the base mdi window manager to
  8239. handle more of the MDI only stuff (like maximize buttons).
  8240. * MdiWindowManager.cs: Fix some snafus in changing the window
  8241. state. Add all the menu functionality, for both popup and
  8242. maximized menus.
  8243. * MdiClient.cs: When a new form is selected the currently
  8244. activated form is sent to the back, this matches MS.
  8245. - Implement a new method to activate the next mdi child window.
  8246. 2006-05-08 Peter Dennis Bartok <[email protected]>
  8247. * Control.cs:
  8248. - Added new InternalCapture method to allow controls to prevent
  8249. the capture behaviour on the click handlers
  8250. - Switched to use InternalCapture
  8251. * ComboBox.cs:
  8252. - Using InternalCapture to prevent mouse captures from being released
  8253. on mouse button release (Fixes #78100)
  8254. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  8255. returns Form borders if a caption is present. (Fixes #78310)
  8256. 2006-05-08 Peter Dennis Bartok <[email protected]>
  8257. * TreeNode.cs: Changed serialization .ctor to not require every field
  8258. to be present. (#78265)
  8259. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  8260. 2006-05-05 Alexander Olk <[email protected]>
  8261. * MimeIcon.cs: for is faster than foreach for strings.
  8262. 2006-05-05 Mike Kestner <[email protected]>
  8263. * CheckedListBox.cs: update check handling code to not use selected.
  8264. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  8265. behavior for visual feedback, motion response, shift/ctrl handling,
  8266. and properly deal with all 4 selection modes. Updates to bounds
  8267. handling logic. Add scroll wheel support. [Fixes #77842]
  8268. 2006-05-05 Peter Dennis Bartok <[email protected]>
  8269. * ListView.cs:
  8270. - Moved adding of Implicit controls into .ctor. That way, subsequent
  8271. creation of the controls will not cause them to think they are
  8272. toplevel windows (fixes #78200 header problem)
  8273. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  8274. - Switched visibility setting of header control to use internal field
  8275. to avoid triggering handle creation
  8276. - Now checking if handle is created before causing a refresh when items
  8277. are added (This makes us now match handle creation time with MS)
  8278. * Splitter.cs: Removed loading of private splitter cursor, switched to
  8279. Cursors version now that that is loading the right ones
  8280. * Cursors.cs: Load proper splitter cursors from resources
  8281. * Cursor.cs: Added second method of loading resource cursors for the
  8282. VS.Net users amongst us
  8283. 2006-05-05 Mike Kestner <[email protected]>
  8284. * ListView.cs: give header_control a minimum size based on the
  8285. ListView size.
  8286. 2006-05-05 Peter Dennis Bartok <[email protected]>
  8287. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  8288. window seems to do that with metacity, so set that type. (#78120)
  8289. 2006-05-05 Mike Kestner <[email protected]>
  8290. * ListViewItem.cs: fix Details mode checkbox layout bug.
  8291. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  8292. at the end of the header, if it exists. [Fixes for #78200]
  8293. 2006-05-04 Jackson Harper <[email protected]>
  8294. * MdiClient.cs: Add a helper property to get the container form.
  8295. * MdiWindowManager.cs: We have to make sure to use the menu origin
  8296. when drawing the icons and buttons, this fixes maximized window
  8297. icons/buttons on win32.
  8298. * InternalWindowManager.cs: Reset the restore captions when a
  8299. window goes from Maximized to Minimized and vice versa. Move the
  8300. DrawMaximizedButtons into the MdiWindowManager source, tool
  8301. windows can't be maximized. NOTE: This could use a little
  8302. refactoring if time ever permits.
  8303. 2006-05-03 Jonathan Chambers <[email protected]>
  8304. * TextBox.cs: Add MWFCategoryAttributes
  8305. * TextBoxBase.cs: Add MWFCategoryAttributes
  8306. * Form.cs: Add MWFCategoryAttributes
  8307. 2006-05-03 Jonathan Chambers <[email protected]>
  8308. * Control.cs: Add MWFCategoryAttributes
  8309. * ScrollableControl.cs: Add MWFCategoryAttributes
  8310. 2006-05-03 Alexander Olk <[email protected]>
  8311. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  8312. Divider is true. Fix a little glitch in PropertyToolBar
  8313. drawing code
  8314. 2006-05-02 Peter Dennis Bartok <[email protected]>
  8315. * Control.cs:
  8316. - Dispose: Call base.Dispose, this causes the disposed event
  8317. to be fired (and probably other, more important stuff)
  8318. - SetVisibleCore: Set is_visible to true after creating the
  8319. window so that the window still gets created invisible (if
  8320. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  8321. to generate a WM_ACTIVE message
  8322. * Form.cs: Call Dispose when we want to destroy the window, instead of
  8323. just destroying the handle (Dispose will do that for us)
  8324. * XplatUIX11.cs:
  8325. - RootWindow also needs a queue, so we can properly process the
  8326. property change events from RootWindow (like Activate)
  8327. - Generatic synthetic WM_ACTIVE message when the active window is
  8328. being destroyed
  8329. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8330. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  8331. bounds are changed
  8332. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8333. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  8334. for determining width and height (image might not be assigned if
  8335. we're drawing an imagelist)
  8336. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8337. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  8338. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  8339. height from system
  8340. * Theme.cs: No longer returns hardcoded menu height, instead calls
  8341. new driver method
  8342. * Form.cs (OnLoad): Scaling happens before triggering Load events
  8343. on MS (# 78257)
  8344. 2006-05-01 Mike Kestner <[email protected]>
  8345. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  8346. 2006-04-30 Peter Dennis Bartok <[email protected]>
  8347. * TextBoxBase.cs: Removed Fixme
  8348. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  8349. 2006-04-30 Peter Dennis Bartok <[email protected]>
  8350. * XplatUIX11.cs:
  8351. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  8352. the rectangle relative to the parent, considering borders. We
  8353. don't really want that.
  8354. - ScrollWindow: Fixed warning to be more understandable
  8355. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  8356. scrollbars and scroll only the visible area
  8357. * RichTextBox.cs: Removed debug output
  8358. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8359. * NumericUpDown.cs (Text): Just use base
  8360. * UpDownBase.cs: Ensure txtView is created before using it
  8361. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8362. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  8363. casting to IntPtr to avoid 64bit overflow errors
  8364. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8365. * Control.cs:
  8366. - AllowDrop: Don't force handle creation.
  8367. - CreateHandle: Added call to tell driver if we're allowed to drop
  8368. 2006-04-27 Alexander Olk <[email protected]>
  8369. * FileDialog.cs: Remember the last directory not only for the
  8370. current instance but also for new FileDialog instances.
  8371. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8372. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  8373. broke sending async messages
  8374. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8375. * XplatUIX11.cs:
  8376. - ScrollWindow: Fixed method. We finally generate expose events again
  8377. for scrolled areas. This was causing 'garbage' when scrolling
  8378. textbox and other controls that used ScrollWindow
  8379. - Switched from using the regular queue for paint events to the MS
  8380. model of 'generating' paint events when the queue is empty.
  8381. We use the new XQueueEvent.Paint subclass to store which windows
  8382. need painting.
  8383. - AddExpose now takes the x/y/width/height of the exposed area
  8384. and inserts the window into the paint queue if not already there
  8385. - InvalidateWholeWindow: Switched to use new AddExpose method
  8386. - UpdateMessageQueue: Added which queue to monitor for paint events
  8387. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  8388. the unlikely case nothing above handles it. We reset the expose
  8389. pending states to get them off the queue.
  8390. - GetMessage: Now pulls a paint event if no other events are in the
  8391. queue
  8392. - Invalidate: Switched to new AddExpose method
  8393. - PeekMessage: Updated to understand pending paint events
  8394. - UpdateWindow: Fixed logic bug. We were only updating if the window
  8395. didn't need updating. Also switched to sending WM_PAINT directly,
  8396. like MS does.
  8397. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  8398. and random access Remove(). The random access is needed to handle
  8399. UpdateWindow() where a WM_PAINT is sent directly without accessing
  8400. the queue.
  8401. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  8402. allow for better feedback when scrolling. Scrollbars are small and
  8403. the immediate update should make it 'feel' more responsive without
  8404. slowing things down. ScrollBar still needs it's invaliate logic
  8405. updated to not always invalidate the whole bar on certain changes.
  8406. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  8407. * Control.cs:
  8408. (BackColor): if the control does not support a transparent background,
  8409. return the default backcolor when the parent backcolor is transparent.
  8410. 2006-04-28 Peter Dennis Bartok <[email protected]>
  8411. * Application.cs: Updated to new StartLoop/GetMessage API
  8412. * RichTextBox.cs: Provide some output on RTF parsing errors
  8413. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  8414. new queue_id argument to GetMessage and PeekMessage to allow faster
  8415. handling of per-thread queues in drivers.
  8416. * Hwnd.cs: Added Queue tracking and property
  8417. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  8418. * XEventQueue.cs: Added thread trackingA
  8419. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  8420. * XplatUIX11.cs:
  8421. - Implemented new per-thread queue
  8422. - GetMessage: Fixed return/break behaviour on several cases. We were
  8423. returning stale messages in some cases, instead of just processing
  8424. the next message
  8425. 2006-04-27 Jonathan Chambers <[email protected]>
  8426. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  8427. 2006-04-27 Peter Dennis Bartok <[email protected]>
  8428. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  8429. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  8430. 2006-04-27 Jonathan Chambers <[email protected]>
  8431. * PropertyGridView.cs: Fix drop down width.
  8432. 2006-04-27 Alexander Olk <[email protected]>
  8433. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  8434. a mess in DrawToolBar, so I removed one of them.
  8435. 2006-04-27 Alexander Olk <[email protected]>
  8436. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  8437. needed (clip). Otherwise we get artifacts.
  8438. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8439. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  8440. dimension is fixed
  8441. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  8442. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  8443. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  8444. if it matches the scale base font (avoids unneeded scaling)
  8445. 2006-04-26 Alexander Olk <[email protected]>
  8446. * X11DesktopColors.cs: One gtk_init_check should be enough
  8447. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8448. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  8449. match MS behaviour
  8450. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8451. * TextBoxBase.cs:
  8452. - Generate OnTextChanged for Backspace even if we're only deleting
  8453. the current selection
  8454. - When setting the Text property, only select all text if the
  8455. control does not have focus when it is being set. Otherwise
  8456. just place the cursor at the beginning of the control
  8457. 2006-04-26 Alexander Olk <[email protected]>
  8458. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  8459. Added a little helper to draw PropertyGrid ToolBar with a different
  8460. border and a different BackColor.
  8461. * PropertyGrid.cs: Some background parts didn't get painted with the
  8462. correct background color. Added a class that helps us to draw the
  8463. correct border for PropertyGridView and a class that helps us to
  8464. draw ToolBars with a different backcolor
  8465. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  8466. 2006-04-25 Jonathan Chambers <[email protected]>
  8467. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  8468. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  8469. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8470. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  8471. into the palette entries. Also, since we're working on a copy
  8472. we needed to copy the palette back onto the bitmap.
  8473. * Cursor.cs: Same fix as XplatUIWin32.cs.
  8474. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8475. * ImageListStreamer.cs: Need to read the var (or we're off)
  8476. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8477. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  8478. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  8479. TextBoxBase.cs: Unused var fixes
  8480. * AxHost.cs: Small 2.0 fix
  8481. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  8482. as it seems that is what at least Metacity expects. This will make
  8483. icons show up on 64bit platforms. We still have some 64bit size
  8484. issues, though, since the startup app window size still won't match.
  8485. 2006-04-25 Mike Kestner <[email protected]>
  8486. * *.cs: cleanup newly reported exception var unused warnings.
  8487. 2006-04-25 Alexander Olk <[email protected]>
  8488. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  8489. ms
  8490. 2006-04-25 Alexander Olk <[email protected]>
  8491. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  8492. image. The image position is always the same, no matter if the
  8493. button is pressed or not.
  8494. 2006-04-25 Alexander Olk <[email protected]>
  8495. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  8496. selection and set the correct filename for SaveFileDialog.
  8497. Patch by Emery Conrad.
  8498. 2006-04-24 Mike Kestner <[email protected]>
  8499. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  8500. check for item.X outside the ClientRect instead of item.Y. Fixes
  8501. #78151.
  8502. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  8503. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  8504. trust that value blindly and do some sanity check. Fixes bug #77814.
  8505. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  8506. * ImageListStreamer.cs: save the mask as a 1bpp image.
  8507. 2006-04-21 Mike Kestner <[email protected]>
  8508. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  8509. pass Checked and Indeterminate to the Theme Engine. Improve
  8510. encapsulation with ListBox.
  8511. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  8512. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  8513. nested types. Move all CheckState functionality to CheckedListBox.
  8514. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  8515. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  8516. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  8517. single base list. Fix scrollbar sizing and placement to mirror MS.
  8518. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  8519. used.
  8520. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  8521. for CheckedListBox by using new DrawItemState info. Center the
  8522. checkboxes on the items. Use new StringFormat property.
  8523. 2006-04-18 Jackson Harper <[email protected]>
  8524. * Form.cs: MdiChildren don't do default locations the same way as
  8525. regular forms. This prevents a crash when trying to position the
  8526. mdi windows.
  8527. 2006-04-17 Jonathan Chambers <[email protected]>
  8528. * PropertyGridTextBox.cs: Formatting, copyright
  8529. * PropertiesTab.cs: Formatting
  8530. * PropertyGrid.cs: Formatting
  8531. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  8532. click toggling of values
  8533. 2006-04-17 Peter Dennis Bartok <[email protected]>
  8534. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  8535. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  8536. every time a control is created
  8537. * Application.cs: Removed obsolete EnableRTLMirroring method
  8538. 2006-04-18 Gert Driesen <[email protected]>
  8539. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  8540. SelectedIndex to -1. Fixes bug #78121.
  8541. 2006-04-17 Jackson Harper <[email protected]>
  8542. * Binding.cs: Handle null values for Current and BindingContext.
  8543. This occurs when binding is a little delayed.
  8544. * CurrencyManager.cs: return null for Current when there are no
  8545. items in the list.
  8546. - Hookup to the listchanged event on the DataView and update
  8547. bindings when the list is changed. This fixes late binding of
  8548. controls.
  8549. 2006-04-17 Jackson Harper <[email protected]>
  8550. * X11Dnd.cs:
  8551. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  8552. Ringenbach.
  8553. 2006-04-15 Alexander Olk <[email protected]>
  8554. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  8555. place
  8556. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  8557. with the correct ButtonState
  8558. 2006-04-14 Peter Dennis Bartok <[email protected]>
  8559. * XplatUIX11.cs: Improved distinguishing between window types to
  8560. tell the WM a type closer to what the app wants (Fixes #78107)
  8561. 2006-04-14 Alexander Olk <[email protected]>
  8562. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  8563. GrabHandle
  8564. 2006-04-14 Alexander Olk <[email protected]>
  8565. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  8566. drawing code to reflect the size grip changes
  8567. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  8568. * ImageListStreamer.cs: fix handling of the mask that follows the main
  8569. bitmap when deserializing and serialize it properly. The generated mask
  8570. should better be a 1bpp image, but I'll do that later.
  8571. 2006-04-13 Alexander Olk <[email protected]>
  8572. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  8573. path doesn't fit into some of our Current.Places
  8574. 2006-04-13 Jackson Harper <[email protected]>
  8575. * ComboBox.cs: Use borders instead of drawing our own decorations,
  8576. try to obey correct rules for heights.
  8577. * Theme.cs:
  8578. * ThemeNice.cs:
  8579. * ThemeClearLooks.cs:
  8580. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  8581. this is now handled by borders.
  8582. - Remove unused DrawListBoxDecorationSize method.
  8583. 2006-04-13 Mike Kestner <[email protected]>
  8584. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  8585. reported by Alex.
  8586. 2006-04-13 Alexander Olk <[email protected]>
  8587. * ThemeWin32Classic.cs:
  8588. - Fixed CPDrawStringDisabled
  8589. - Corrected drawing of disabled menu items
  8590. - Fixed drawing of disabled radio buttons (bug #78095)
  8591. - Draw check in a disabled CheckBox with color ControlDark
  8592. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8593. * Form.cs: Use the provided width when calculating the menu size;
  8594. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  8595. and ClientSize.Width won't be updated yet
  8596. * Application.cs: Use Visible instead of Show() to make form visible,
  8597. this way we create the handle later and menusize is considered
  8598. 2006-04-12 Mike Kestner <[email protected]>
  8599. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  8600. reporting.
  8601. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8602. * TextBox.cs: Implemented context menu
  8603. 2006-04-12 Mike Kestner <[email protected]>
  8604. * ListView.cs: implement box selection. fixes #77838.
  8605. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  8606. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8607. * XplatUIX11.cs: Added setting of window type when transient window
  8608. is created (metacity would move it otherwise)
  8609. * X11Structs.cs: Added WINDOW_TYPE atoms
  8610. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  8611. background (the control is Opaque but still wants transparent
  8612. backgrounds)
  8613. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8614. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  8615. that set Opaque but don't mean it (like all ButtonBase-derived
  8616. controls) to still draw their background
  8617. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  8618. the background
  8619. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8620. * Control.cs (PaintControlBackground): Set the graphics object
  8621. on our PaintEvent to null to prevent it from being disposed
  8622. when the PaintEvent gets disposed
  8623. 2006-04-12 Alexander Olk <[email protected]>
  8624. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  8625. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  8626. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8627. * Control.cs:
  8628. - Added transparency check to BackColor property. Transparent
  8629. backgrounds are only allowed if the control styles permit it
  8630. - Added recursive painting of parent control background and
  8631. foreground if a control with a transparent backcolor is drawn
  8632. (Thanks to Tim Ringenback for providing his 'hack' as a base
  8633. for this patch) Fixes #77985 and #78026.
  8634. - Added Opaque style check before calling OnPaintBackground, no
  8635. need to draw the background if the control is opaque
  8636. - Removed ControlAccessibleObject owner variable (inherited from
  8637. base, no need to define again)
  8638. - Added some documentation links explaining the drawing events
  8639. and styles
  8640. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8641. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  8642. that the affected control is the located at the left border of our
  8643. parent (Fixes #77936)
  8644. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8645. * TextBoxBase.cs: When rendering disabled or readonly controls,
  8646. draw the background with 'Control' instead of 'Window' color as
  8647. long as the user hasn't specifically set a color
  8648. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8649. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  8650. since that won't be updated if the user types text (only if it's
  8651. programatically set)
  8652. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8653. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  8654. layout changes do to app-triggered resizes will have the proper
  8655. display rectangle for layout
  8656. 2006-04-11 Alexander Olk <[email protected]>
  8657. * ThemeWin32Classic.cs:
  8658. - Make use of the SystemBrushes and SystemPens wherever possible
  8659. - Corrected some highlight colors
  8660. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  8661. drawing
  8662. * Theme.cs: Added Empty field to CPColor struct
  8663. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8664. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  8665. is displayed when calculating the display rectangle. Thanks to Mike
  8666. for teaching me the err of my ways.
  8667. 2006-04-10 Peter Dennis Bartok <[email protected]>
  8668. * ScrollableControl.cs:
  8669. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  8670. (instead of 0,0) and we now return the real width/height instead of
  8671. just the clientrectangle, adjusted for padding. The rectangle is
  8672. now cached and created by the new CalculateDisplayRectangle method.
  8673. - Created new CalculateDisplayRectange method, which basically does
  8674. what get_DisplayRectangle() did originally, but now using the
  8675. right edge instead of DisplayRectangle to determine the size of
  8676. our scrollbars
  8677. - get_Canvas(): Fixed it to properly calculate canvas for
  8678. right/bottom controls which seem to be placed to the right/bottom
  8679. of any controls that have a fixed location
  8680. - Removed TODO that's taken care of
  8681. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  8682. and SetDisplayRectLocation according to new MSDN2 docs
  8683. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  8684. event when that is called, this is added for compatibility
  8685. - ScrollControlIntoView(): Implemented.
  8686. - Switched scrollbars to be implicit, they shouldn't be selectable
  8687. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  8688. call it when the active control is set/changed
  8689. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  8690. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  8691. implicit_control variable (used for native Win32 message generation)
  8692. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  8693. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  8694. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  8695. * XplatUIStructs.cs: Added ScrollBarCommands enum
  8696. 2006-04-10 Jackson Harper <[email protected]>
  8697. * ButtonBase.cs:
  8698. * CheckedListBox.cs:
  8699. * ComboBox.cs:
  8700. * DataGrid.cs:
  8701. * DataGridView.cs:
  8702. * Form.cs:
  8703. * GroupBox.cs:
  8704. * ListBox.cs:
  8705. * PrintPreviewControl.cs:
  8706. * ProgressBar.cs:
  8707. * PropertyGrid.cs:
  8708. * Splitter.cs:
  8709. * StatusBar.cs:
  8710. * TrackBar.cs:
  8711. * UpDownBase.cs: Fixup base event overrides.
  8712. 2006-04-06 Mike Kestner <[email protected]>
  8713. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  8714. all user-initiated value changes to min <= value <= max-thumbsz+1.
  8715. (set_Value): check for vert/horiz when calculating new thumb position.
  8716. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  8717. like MS does.
  8718. (OnMouseMoveSB): refactor the thumb dragging code and refine
  8719. invalidation logic to reduce flicker.
  8720. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  8721. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  8722. (UpdateThumbPosition): small code readability cleanup
  8723. 2006-04-10 Alexander Olk <[email protected]>
  8724. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  8725. different
  8726. 2006-04-08 Alexander Olk <[email protected]>
  8727. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  8728. 2006-04-08 Alexander Olk <[email protected]>
  8729. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  8730. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  8731. This dramatically reduces the number of Pen.Dispose calls.
  8732. Where possible call ResPool methods only once instead of calling it
  8733. over and over again (for example for the same color).
  8734. 2006-04-06 Mike Kestner <[email protected]>
  8735. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  8736. Also remove an unused private field on the collection. Fixes #77972.
  8737. 2006-04-06 Alexander Olk <[email protected]>
  8738. * ThemeNice.cs: Added ToolBar drawing code
  8739. 2006-04-06 Mike Kestner <[email protected]>
  8740. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  8741. I'm assuming that means we need to look up the toplevel for the
  8742. provided control. Fixes the crash trace in #77911 but exposes another
  8743. crash in some strange reflection usage in NDocGui.
  8744. 2006-04-06 Alexander Olk <[email protected]>
  8745. * ThemeNice.cs: Gave it a little silver touch and added Images
  8746. method
  8747. * FontDialog.cs: FontDialog is not resizable
  8748. * FileDialg.cs: Added SizeGripStyle.Show
  8749. 2006-04-05 Jackson Harper <[email protected]>
  8750. * KeyboardLayouts.cs: Remove warning.
  8751. 2006-04-05 Jackson Harper <[email protected]>
  8752. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  8753. all of our controls instead of Paint +=.
  8754. * ListBox.cs:
  8755. * ListView.cs:
  8756. * MenuAPI.cs:
  8757. * MessageBox.cs:
  8758. * NotifyIcon.cs:
  8759. * ProgressBar.cs:
  8760. * ScrollBar.cs:
  8761. * Splitter.cs:
  8762. * StatusBar.cs:
  8763. * TabControl.cs:
  8764. * TextBoxBase.cs:
  8765. * ToolBar.cs:
  8766. * TrackBar.cs:
  8767. * UpDownBase.cs:
  8768. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  8769. use OnPaintInternal. Remove Width/Height and Visible checks in
  8770. paint handler, this is done at a higher level now.
  8771. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  8772. * PaintEventArgs.cs: Add a handled flag so controls that don't
  8773. want anymore painting after OnPaintInternal can make sure OnPaint
  8774. isn't called.
  8775. 2006-04-05 Mike Kestner <[email protected]>
  8776. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  8777. state of the form, so that we don't process events when Modal dialogs
  8778. are up. Fixes #77922.
  8779. 2006-04-05 Alexander Olk <[email protected]>
  8780. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  8781. checking is done.
  8782. 2006-04-05 Mike Kestner <[email protected]>
  8783. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  8784. 2006-04-05 Mike Kestner <[email protected]>
  8785. * ListView.cs (HeaderMouseMove): null guarding for the over column
  8786. when setting up the drag_to_index. Fixes #78015.
  8787. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8788. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  8789. in the taskbar. Transient windows seem to accomplish that.
  8790. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8791. * Form.cs:
  8792. - Re-enabled CreateParams.X/Y code for FormStartPosition
  8793. - Added code for manual placement when creating the Control
  8794. - Incomplete patch to treat MDI forms differently when
  8795. setting the ClientSizeCore. (Still need to figure out handling
  8796. x/y coords there)
  8797. * XplatUIX11.cs:
  8798. - When we're explicitly setting the X/Y position of a non-Child
  8799. window, let the WM know. Metacity really wants this.
  8800. 2006-04-04 Alexander Olk <[email protected]>
  8801. * ThemeNice.cs: Added CPDrawButton
  8802. 2006-04-04 Alexander Olk <[email protected]>
  8803. * ThemeNice.cs: Changed the color for focused buttons and activated
  8804. the arrows for small scroll buttons.
  8805. 2006-04-04 Alexander Olk <[email protected]>
  8806. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  8807. anymore. Changed some method modifiers to protected (virtual)
  8808. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  8809. changes
  8810. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  8811. Updated drawing of menus, buttons and progressbars; added
  8812. CPDrawBorder3D
  8813. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  8814. * ImageListStreamer.cs: implemented serialization/deserialization
  8815. of the images.
  8816. 2006-04-03 Alexander Olk <[email protected]>
  8817. * ThemeWin32Classic.cs:
  8818. - Removed all the DrawFrameControl stuff; CPDrawButton,
  8819. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  8820. inside the methods
  8821. - Updated and corrected the drawing code of CPDrawButton,
  8822. CPDrawCheckBox and CPDrawRadioButton to better match ms
  8823. - Updated theme checkbox and radiobutton code to use the CP*
  8824. methods
  8825. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8826. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  8827. bug is fixed
  8828. 2006-03-31 Jackson Harper <[email protected]>
  8829. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  8830. sometimes.
  8831. * UpDownBase.cs: Don't CreateGraphics manually, use a
  8832. Refresh. Ideally we would invalidate the correct areas here.
  8833. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8834. * XplatUIX11.cs:
  8835. - We now track the mapping state of windows. If a window (or
  8836. one of it's parents) is not mapped we no longer permit
  8837. WM_PAINT messages to be generated since we'd otherwise get
  8838. lots of BadMatch X errors. Jackson did all the work figuring
  8839. out the problem.
  8840. - Destroying the caret if the window it's contained in is
  8841. destroyed. Can't use regular DestroyCaret method since it
  8842. might fall into a drawing function (trying to remove the
  8843. caret) and with that generate new BadMatch errors. Again,
  8844. Jackson tracked this down.
  8845. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  8846. make sure we send the messages to all windows. (The old code
  8847. would send the WM_DESTROY to the window, and then all child
  8848. windows would be 'gone' because the WM_DESTROY handle lookup
  8849. would no longer find the destroyed window)
  8850. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  8851. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  8852. 2006-03-31 Jackson Harper <[email protected]>
  8853. * ScrollableControl.cs: Dont recalc if we are not visible.
  8854. 2006-03-31 Mike Kestner <[email protected]>
  8855. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  8856. the visibility branch.
  8857. 2006-03-31 Jackson Harper <[email protected]>
  8858. * ScrollBar.cs: Cap values when incrementing/decrementing.
  8859. 2006-03-31 Mike Kestner <[email protected]>
  8860. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  8861. * ToolTip.cs: guard against timer expirations with no active control.
  8862. Not sure why it happened.
  8863. 2006-03-31 Mike Kestner <[email protected]>
  8864. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  8865. text.
  8866. * ToolTip.cs: Position the tooltip based on where the cursor is at
  8867. popup time, not at MouseEnter time. Add a Down state so that we don't
  8868. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  8869. positioning offset. Lookup DisplaySize at positioning time, since it
  8870. can theoretically change during invocation.
  8871. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  8872. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  8873. 2006-03-31 Alexander Olk <[email protected]>
  8874. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  8875. Fixes behaviour when the Text property of the box is String.Empty
  8876. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8877. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  8878. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  8879. a window)
  8880. 2006-03-31 Alexander Olk <[email protected]>
  8881. * FileDialog.cs: Visual enhancement for the popup buttons in
  8882. PopupButtonPanel
  8883. 2006-03-31 Alexander Olk <[email protected]>
  8884. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  8885. code
  8886. 2006-03-30 Alexander Olk <[email protected]>
  8887. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  8888. highlighted menu items to match ms
  8889. 2006-03-30 Peter Dennis Bartok <[email protected]>
  8890. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  8891. 2006-03-30 Mike Kestner <[email protected]>
  8892. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  8893. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  8894. go active to account for HotLight to Selected transition.
  8895. * MenuItem.cs: add internal Selected prop. Fill out the Status
  8896. property by calculating it from item info. Add HotLight,
  8897. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  8898. 2006-03-30 Mike Kestner <[email protected]>
  8899. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  8900. 2006-03-29 Jackson Harper <[email protected]>
  8901. * Form.cs: Implement TODO.
  8902. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8903. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  8904. missing proper dialog setup in the constructor
  8905. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8906. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  8907. * Control.cs:
  8908. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  8909. - Fixed ResetBindings and removed TODO
  8910. - Added check for cross-thread calls to get_Handle()
  8911. - Added Marshaller attribute for set_Font to satisfy class status
  8912. * FontDialog.cs: Removed TODOs that seemed implemented
  8913. * UpDownBase.cs: Removed unneeded TODO and Fixme
  8914. * MessageBox.cs: Implemented support for Default button and removed TODO
  8915. * FileDialog.cs: Removed obsolete TODO
  8916. * DomainUpDown.cs: Removed obsolete TODO
  8917. * ButtonBase.cs: Removed obsolete TODO
  8918. * XplatUIWin32.cs: Removed obsolete TODO
  8919. * Form.cs:
  8920. - Removed obsolete TODO
  8921. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  8922. internal status updates
  8923. - Making sure the active control is selected when the control is created
  8924. * CurrencyManager.cs: Removed obsolete TODO
  8925. 2006-03-29 Mike Kestner <[email protected]>
  8926. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  8927. of PrintPreviewDialog and RichTextBox.
  8928. 2006-03-29 Alexander Olk <[email protected]>
  8929. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  8930. DarkDark, Light and LightLight colors for a specific color
  8931. * ThemeWin32Classic.cs:
  8932. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  8933. Appearance = Button
  8934. - Make use of the new ResPool helper CPColor
  8935. - Draw ProgressBar and StatusBar with correct 3D borders
  8936. 2006-03-29 Alexander Olk <[email protected]>
  8937. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  8938. 2006-03-28 Mike Kestner <[email protected]>
  8939. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  8940. calculating col/row counts.
  8941. 2006-03-28 Mike Kestner <[email protected]>
  8942. * ColumnHeader.cs:
  8943. * ListView.cs:
  8944. * ListViewItem.cs:
  8945. * Menu.cs:
  8946. switch to explicit interface method implementation for some methods
  8947. corcompare identifies as inconsistent with MS.
  8948. 2006-03-28 Mike Kestner <[email protected]>
  8949. * MainMenu.cs:
  8950. * Menu.cs:
  8951. add a few missing methods from the class status output.
  8952. 2006-03-28 Alexander Olk <[email protected]>
  8953. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  8954. correct.
  8955. 2006-03-28 Mike Kestner <[email protected]>
  8956. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  8957. 2006-03-27 Mike Kestner <[email protected]>
  8958. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  8959. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  8960. 2006-03-27 Alexander Olk <[email protected]>
  8961. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  8962. 2006-03-25 Alexander Olk <[email protected]>
  8963. * ThemeWin32Classic.cs:
  8964. - GroupBox: Inserted a little gap between the text and the lines
  8965. on the right side
  8966. - Made the code in CPDrawBorder3D more readable
  8967. - Corrected the drawing location of the up and down arrows in
  8968. CPDrawScrollButton
  8969. 2006-03-25 Alexander Olk <[email protected]>
  8970. * ControlPaint.cs: Corrected line widths in DrawBorder for
  8971. ButtonBorderStyle Inset and Outset
  8972. 2006-03-25 Alexander Olk <[email protected]>
  8973. * ThemeWin32Classic.cs:
  8974. - Rewrote the totally broken CPDrawBorder3D method. That was
  8975. one of the main problems for the terrific ThemeWin32Classic
  8976. look
  8977. - Updated and corrected Button drawing
  8978. - Correct the dimensions of the SizeGrip to match ms ones
  8979. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  8980. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  8981. Border3DStyle.Sunken to match ms.
  8982. 2006-03-25 Alexander Olk <[email protected]>
  8983. * ThemeWin32Classic.cs: First small part of the "de-uglify
  8984. ThemeWin32Classic" effort, SizeGrip
  8985. 2006-03-24 Jackson Harper <[email protected]>
  8986. * XplatUIX11.cs: Give a max idle time of one second, this matches
  8987. MS and forces an Idle event every second when there are no other
  8988. events in the queue.
  8989. 2006-03-24 Mike Kestner <[email protected]>
  8990. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  8991. * ListView.Item.cs: fix layout issues with null image lists and images
  8992. smaller than checkbox size.
  8993. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  8994. mode like MS does. It's weird, but consistent. ;-)
  8995. Fixes #77890.
  8996. 2006-03-24 Mike Kestner <[email protected]>
  8997. * ListView.cs: Scroll wheel support for the item control. Fixes
  8998. #77839.
  8999. 2006-03-23 Jackson Harper <[email protected]>
  9000. * ScrollableControl.cs: Special case negative sized areas, not
  9001. zero.
  9002. * MonthCalendar.cs: Save the rect of the clicked date so we can
  9003. use it for invalidation.
  9004. - Try to cut down on the number of invalidates
  9005. - Invalidate the rect the mouse is over and was over when moving
  9006. the mouse, so we get the focus box following the cursor.
  9007. 2006-03-23 Mike Kestner <[email protected]>
  9008. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  9009. focus rectangle drawing. Fixes #77835.
  9010. 2006-03-23 Mike Kestner <[email protected]>
  9011. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  9012. the if and else if and reverting back to the original == check on the
  9013. None conditional.
  9014. 2006-03-23 Alexander Olk <[email protected]>
  9015. * FontDialog.cs: Update the example panel if the selected index of
  9016. the fontListBox changes.
  9017. 2006-03-23 Alexander Olk <[email protected]>
  9018. * FileDialog.cs: Make FileDialog remember which directory it was in
  9019. last in the same execution.
  9020. 2006-03-22 Mike Kestner <[email protected]>
  9021. * FileDialog.cs: make the DropDownMenu on the toolbar display
  9022. RadioChecks since they are mutually exclusive and that's what MS does.
  9023. 2006-03-22 Mike Kestner <[email protected]>
  9024. * Theme.cs: add Color param to CPDrawMenuGlyph.
  9025. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  9026. checks and radio marks and arrows are visible on highlighted items.
  9027. * ControlPaint.cs: update to use new Theme signature.
  9028. 2006-03-22 Mike Kestner <[email protected]>
  9029. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  9030. is active. Fixes #77870.
  9031. 2006-03-22 Alexander Olk <[email protected]>
  9032. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  9033. to be focused/selected after startup
  9034. 2006-03-22 Alexander Olk <[email protected]>
  9035. * ColorDialog.cs:
  9036. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  9037. CustomColors and ShowHelp properties
  9038. - Some internal rewrites to get better results when using the
  9039. ColorMatrix
  9040. 2006-03-22 Mike Kestner <[email protected]>
  9041. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  9042. HoverSelection. Fixes #77836.
  9043. 2006-03-22 Mike Kestner <[email protected]>
  9044. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  9045. ToggleButtons. (De)Sensitize the Back button around a stack count of
  9046. 1, not 0. Update ButtonSize based on a pixel count of the win32
  9047. control. Adjust the toolbar size/location for new button size.
  9048. 2006-03-22 Jackson Harper <[email protected]>
  9049. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  9050. true.
  9051. * ScrollBar.cs: When doing increments and decrements we need to
  9052. set the Value property so that ValueChanged gets raised. A
  9053. possible optimization here would be to make an internal SetValue
  9054. that doesn't invalidate immediately.
  9055. * ToolTip.cs: Tooltips get added to their container (when
  9056. supplied) so they get disposed when the container is disposed.
  9057. - Don't create tooltips for String.Empty. This prevents all these
  9058. little 2-3 pixel windows from showing up when running nunit-gui
  9059. and driving me mad.
  9060. * Form.cs: Don't set topmost when setting the owner if the handles
  9061. haven't been created yet. The topmost set will happen when the
  9062. handles are created.
  9063. 2006-03-22 Peter Dennis Bartok <[email protected]>
  9064. * XplatUIX11.cs:
  9065. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  9066. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  9067. visible (to allow them to recalculate their sizes)
  9068. 2006-03-21 Mike Kestner <[email protected]>
  9069. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  9070. methods. Removed a ton of redundant code. Still not really happy with
  9071. the border rendering, but I think that's mainly because of the
  9072. ControlDarkDark being black instead of a dark grey. Depending on how
  9073. close we want to be, we might want to revisit those color choices.
  9074. Among the new features added during the refactor were DropDownArrow
  9075. pressed rendering, Disabled image rendering. Proper flat appearance
  9076. boundary rendering. Removed the Divider and Wrapping dividers since I
  9077. can't figure out any combination of themes and conditions to make the
  9078. MS control draw a horizontal line on a toolbar despite what the
  9079. Divider property docs indicate.
  9080. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  9081. conditions and incorrect layout. Updated to coding standard.
  9082. * ToolBarButton.cs: refactored layout and positioning code from
  9083. ToolBar to here. Invalidate wherever possible instead of forcing
  9084. redraws of the whole toolbar.
  9085. (Known remaining issues: explicit ButtonSize smaller than provided
  9086. images.)
  9087. 2006-03-21 Mike Kestner <[email protected]>
  9088. * ContextMenu.cs (Show): use the position parameter instead of just
  9089. showing at the MousePosition.
  9090. 2006-03-21 Jackson Harper <[email protected]>
  9091. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  9092. control handle this.
  9093. * TreeNodeCollection.cs: If we are clearing the root node we need
  9094. to reset top_node so calcs can still happen.
  9095. * ThemeWin32Classic.cs: This is a Flags so we need to check
  9096. properly.
  9097. 2006-03-21 Jackson Harper <[email protected]>
  9098. * DataGrid.cs: Create columns when the binding context has been
  9099. changed.
  9100. * X11Structs.cs: Keysyms are uints.
  9101. - Add size to fix build.
  9102. 2006-03-21 Peter Dennis Bartok <[email protected]>
  9103. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9104. XplatUIOSX.cs:
  9105. - Added ResetMouseHover method to allow controls to retrigger
  9106. hovering if they need it more than once
  9107. - Implemented MouseHoverTime and MouseHoverSize properties
  9108. * Timer.cs: Start() must reset the interval
  9109. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  9110. properties
  9111. 2006-03-21 Jackson Harper <[email protected]>
  9112. * X11Keyboard.cs: improved layout detection. Move the nonchar
  9113. tables into this file.
  9114. * KeyboardLayouts.cs: Move the tables into resource files.
  9115. 2006-03-21 Mike Kestner <[email protected]>
  9116. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  9117. 2006-03-21 Alexander Olk <[email protected]>
  9118. * Mime.cs: Various speed optimizations. Looking up mime types
  9119. is now 2 times faster than before
  9120. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9121. * CreateParams.cs: Added internal menu field
  9122. * Control.cs:
  9123. - Switched call order for UpdateBounds; now we always call
  9124. the one that also takes ClientSize, and we're calculating the
  9125. client size via driver method in the others. The previous
  9126. method of tracking client size by difference wasn't working
  9127. for forms where even the starting client size wouldn't match
  9128. the overall form size (due to borders) (Part of fix for #77729)
  9129. - CreateParams(): Do not use parent.Handle unless the handle is
  9130. already created. Causes havoc with Nexxia and throws off our
  9131. creation of controls
  9132. * XplatUIX11.cs:
  9133. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  9134. - Switched handling of ConfigureNotify over to new PerformNCCalc
  9135. method (consolidates code)
  9136. - Changed RequestNCRecalc to use new PerformNCCalc method
  9137. - Added calls to RequestNCRecalc when menus and borders are changed
  9138. to allow app to set NC size. (Part of fix for #77729) This matches
  9139. when MS send a WM_NCRECALC on Win32 windows.
  9140. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  9141. (Part of fix for #77729). This matches what MS does, they also
  9142. send that message when the form is made visible.
  9143. - XException.GetMessage: Improved usability of X errors by including
  9144. a translation of the window into Hwnd and Control class
  9145. - Improved debug info for window creation, reparenting and destruction
  9146. - Created helper method WindowIsMapped() [Currently not used]
  9147. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  9148. * Form.cs:
  9149. - CreateParams: Now setting our menu on the new internal menu field
  9150. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  9151. avoid calculating the same property twice
  9152. * Hwnd.cs:
  9153. - Improved usability of ToString() for debugging purposes
  9154. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  9155. determine the height of the menu, instead of just the font. This
  9156. required to also create a graphics context and to keep a bmp
  9157. around (for performance reasons)
  9158. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9159. * MenuAPI.cs: Added OnMouseUp method
  9160. * Form.cs:
  9161. - Now remembering the requested client size, avoids size errors
  9162. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  9163. instead of base if the menu is active. This is required due to
  9164. control now capturing and releasing on down/up and it would
  9165. prematurely release our menu capture
  9166. 2006-03-17 Jackson Harper <[email protected]>
  9167. * KeyboardLayouts.cs: Add the czech layouts.
  9168. 2006-03-16 Jackson Harper <[email protected]>
  9169. * Control.cs: Use the viewport space when sizing not the controls
  9170. client size, so things like ScrollableControl that effect the
  9171. viewport size (when scrollbars are added) are computed correctly.
  9172. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  9173. of ManagerEntrys.
  9174. - Handle creating BindingManagers for null data sources.
  9175. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  9176. source, otherwise when rows are added they are added to the 'fake'
  9177. datasource and we will crash when trying to set the position in
  9178. those rows.
  9179. - Use Implicit scrollbars on the datagrid so they arent
  9180. selectable.
  9181. 2006-03-16 Jackson Harper <[email protected]>
  9182. * Binding.cs:
  9183. * InternalWindowManager.cs:
  9184. * MdiWindowManager.cs:
  9185. * X11Keyboard.cs: I really want Mike to love me again (fix
  9186. compiler warnings).
  9187. 2006-03-16 Peter Dennis Bartok <[email protected]>
  9188. * DataGrid.cs:
  9189. - OnMouseDown: Switch to editing mode when clicking on the cell
  9190. even if we're clicking on the cell that's currently
  9191. selected
  9192. - ProcessGridKey: Left/Right now wrap like MS.Net does
  9193. - ProcessGridKey: Tab now knows to add a new row when tab is
  9194. pressed in the cell of the last column of the
  9195. last row
  9196. - ProcessGridKey: Enter now adds another row if pressed in the last
  9197. row and selectes the new row, same column cell
  9198. - ProcessGridKey: Home/End navigate columns, not rows, like
  9199. originally implemented
  9200. - Broke ProcessKeyPreview code out into an extra Internal method
  9201. so it can be called from the edit code
  9202. * DataGridTextBox.cs (ProcessKeyMessage):
  9203. - Switched to accept Tab keypresses
  9204. - Added F2 handling to allow jumping to the end of the edited cell
  9205. - Added logic to allow moving caret left/right inside edited cell
  9206. and making the edited cell jump when the caret hits cell borders
  9207. - Tab and Enter are now passed to the datagrid after being handled
  9208. * TextBoxBase.cs:
  9209. - Removed capture code now that Control handles it
  9210. - set_SelectionStart now ensures caret is visible
  9211. 2006-03-16 Jackson Harper <[email protected]>
  9212. * TrackBar.cs: Debackwards the increment/decrement for handling
  9213. mouse clicks on the bar with vertical trackbars.
  9214. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  9215. bottom to match MS.
  9216. 2006-03-16 Mike Kestner <[email protected]>
  9217. * ListView.cs: make shift/ctrl keyboard and mouse selection
  9218. consistent with the MS control. Fix a bug in
  9219. SelectedListViewItemCollection.Clear that was pissing me off for the
  9220. better part of a day because the collection was being altered
  9221. underneath us as we walked the list.
  9222. 2006-03-16 Peter Dennis Bartok <[email protected]>
  9223. * Control.cs: Not sure how we could miss this so long, but it seems
  9224. that MS.Net has Capture set all the way from before calling
  9225. OnMouseDown through sending the mouse events until after
  9226. OnMouseUp. This will fix DataGrid's selection being set to end
  9227. at the location of the MouseUp.
  9228. 2006-03-15 Jackson Harper <[email protected]>
  9229. * BindingContext.cs: Check the binding after its added so that it
  9230. can initialize the binding managers and hookup to events.
  9231. * Binding.cs: Data members seem to sometimes include rows/cols in
  9232. the format Row.Column we now take this into account.
  9233. - Hookup to the position changed event so we can update the
  9234. control when the position has changed in the data set.
  9235. * CurrencyManager.cs: Take into account the row/col naming
  9236. convention when creating dataset tables.
  9237. * BindingContext.cs: Using a newer better way of storing
  9238. datasource/datamember pairs. Hopefully this better matches MS for
  9239. looking up binding managers.
  9240. 2006-03-15 Jackson Harper <[email protected]>
  9241. * BindingContext.cs: The currency manager needs the data member
  9242. name, if the member is a data set we use the name to find the
  9243. correct table.
  9244. * CurrencyManager.cs: When creating the list prefer an IList over
  9245. an IListSource.
  9246. - Attempt to create a DataTable from a DataSet (TODO: might need
  9247. some better error checking here, although MS doesn't seem to have much)
  9248. - If we have a DataTable create a view and use it as our list.
  9249. 2006-03-15 Mike Kestner <[email protected]>
  9250. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  9251. keyboard navigation. Support Up/Down/Left/Right selection correctly
  9252. for all 4 View modes.
  9253. * ListViewItem.cs: add internal row/col fields for icon layouts.
  9254. 2006-03-15 Jackson Harper <[email protected]>
  9255. * TabControl.cs: Redraw the tabs when we resize so their newly
  9256. calculated sizes are drawn on screen.
  9257. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  9258. composite characters.
  9259. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  9260. - filter events so that composite characters can be created
  9261. patches by peter
  9262. * X11Structs.cs: Add XIMProperties enum.
  9263. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9264. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  9265. unless it's created
  9266. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9267. * Control.cs (PerformLayout): We don't need to consider visiblity
  9268. for anchoring, only for docking. This fixes 'whacky' alignment
  9269. in listbox and other controls that use implicit scrollbars after
  9270. the previous PerformLayout patch
  9271. * ListBox.cs: Switched to use implicit scrollbars
  9272. 2006-03-14 Mike Kestner <[email protected]>
  9273. * ToolBar.cs:
  9274. * VScrollBar.cs:
  9275. - chain up the "new event" overrides to base and use
  9276. OnEvent to raise them. Part of fix for bug #76509.
  9277. 2006-03-14 Alexander Olk <[email protected]>
  9278. * FileDialog.cs: Do not select an item in the parent directory
  9279. on backspace
  9280. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9281. * Control.cs (PerformLayout): It would seem that we considered
  9282. invisible windows for our layout. Not quite the right thing
  9283. to do. Now we don't any longer, thereby fixing bug #76889.
  9284. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9285. * Control.cs (CanFocus): I goofed. A control can have focus
  9286. even though it's not selectable. Made it match MS docs.
  9287. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9288. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  9289. center by default (fixes #76895)
  9290. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  9291. all uses of Border3DSides.All with the explicit ORd together
  9292. Left|Right|Top|Bottom because I assume that nobody was aware
  9293. that All also implies a center fill. Most places I checked had
  9294. a fill right above.
  9295. * ProgressBarStyle.cs: Added
  9296. 2006-03-13 Mike Kestner <[email protected]>
  9297. * ListView.cs: fix breakage in drag shadow header positioning
  9298. from Peter's csc compilation fix.
  9299. 2006-03-13 Mike Kestner <[email protected]>
  9300. * ListView.cs: fix NRE produced by backspacing twice in a focused
  9301. FileDialog.
  9302. 2006-03-13 Mike Kestner <[email protected]>
  9303. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  9304. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9305. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  9306. be changed
  9307. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  9308. the allowed size before making programmatic size changes
  9309. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9310. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  9311. set, metacity is broken and will still use the emty sizes in
  9312. the struct. (Fix for #77089)
  9313. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9314. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  9315. WindowExStyles and marked both enums as Flags
  9316. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  9317. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  9318. to match WindowStyles split
  9319. * XplatUIX11.cs:
  9320. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  9321. - Updated to match WindowStyles split
  9322. * XplatUIWin32.cs:
  9323. - Fixed FosterParent creation, was using ExStyle on the Style field
  9324. (This should help with Popup focus issues)
  9325. - Updated to match WindowStyles split
  9326. 2006-03-13 Jackson Harper <[email protected]>
  9327. * MdiWindowManager.cs: Use the system menu height. Fixes some
  9328. strange sizing issues.
  9329. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9330. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  9331. * TextBoxBase.cs:
  9332. - Scroll to caret after inserting text (#77672)
  9333. - Make scroll range one pixel higher, fixes off-by-one error (and
  9334. makes underlines visible on the last line)
  9335. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9336. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  9337. the keyboard state from being stuck with keys in 'pressed' state when
  9338. focus is switched away via keyboard
  9339. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  9340. reset the keyboard if no X11 KeyUp events are expected to come
  9341. * X11Structs.cs: Switched type of Visible to bool to match driver
  9342. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9343. * TextControl.cs:
  9344. - Switched caret to be just 1 pixel wide, matches MS and looks less
  9345. clunky
  9346. - Moved caret display 1 pixel down from the top of the control
  9347. to improve view
  9348. - InsertCharAtCharet: Update the selection start if moving the caret
  9349. (fixes bug #77696; based on patch suggested by [email protected])
  9350. - No longer always creating the caret when the caret methods are
  9351. called. Only the actual ShowCaret/HideCaret will do that now
  9352. - Only setting caret visible if the owner control has focus
  9353. - UpdateView: Added invalidation-shortcut logic for center and right
  9354. aligned text. Previously we'd update all according to the left
  9355. logic which caused drawing errors. Also fixed height of invalidated
  9356. areas, now properly invalidating the whole area (was off-by-one)
  9357. - owner_HandleCreated: Always generate the document when the
  9358. handle is created; this ensures that
  9359. * TextBoxBase.cs:
  9360. - Fixed situation where caret would disappear under the right
  9361. window border, also improved scrolling behaviour on left-
  9362. aligned textboxes
  9363. - Fixed right-aligned textboxes to have a border to the
  9364. right instead of the caret being under the right border
  9365. * XplatUIX11.cs:
  9366. - Switched from 'nested' to simple visible/not visible tracking
  9367. for caret (part of fix for #77671)
  9368. - No longer passing through translated FocusIn/FocusOut messages
  9369. since we were notifying too often and the wrong windows. Instead
  9370. we just notify our focussed window of receiving or loosing focus
  9371. * XplatUIWin32.cs: Switched from 'nested' show/hide
  9372. counting for caret to simple visible yes/no behaviour (part of
  9373. fix for #77671)
  9374. 2006-03-11 Alexander Olk <[email protected]>
  9375. * Mime.cs: Remove debug code...
  9376. 2006-03-11 Alexander Olk <[email protected]>
  9377. * MimeGenerated.cs: Removed
  9378. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  9379. and subclasses) from /usr/(local/)share/mime and
  9380. $HOME/.local/share/mime.
  9381. 2006-03-10 Jackson Harper <[email protected]>
  9382. * MdiWindowManager.cs: Recalc the NC area when a window is
  9383. maximized/restored so that the menu area is drawn on forms that
  9384. don't have a menu.
  9385. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9386. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9387. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  9388. us to force a WM_NCCALCRESIZE message being sent. This is needed
  9389. for MDI maximizing.
  9390. 2006-03-10 Jackson Harper <[email protected]>
  9391. * Form.cs: We need to use the ActiveMenu when calculating menu
  9392. height.
  9393. - Fix nullref when the window manager hasn't been created yet.
  9394. * Control.cs: Fix nullref when we try to bring a control to the
  9395. front that has no parent.
  9396. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  9397. height.
  9398. - Add a dummy item to the maximized menu so it always has the
  9399. correct height. Otherwise when there are no menus we don't get our
  9400. icon and buttons.
  9401. 2006-03-10 Jackson Harper <[email protected]>
  9402. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  9403. stuff.
  9404. * Form.cs: Make the window_state internal so the window managers
  9405. can track it.
  9406. - When an MDI child is maximized let its window manager create the
  9407. main menu (so it can add its icon).
  9408. - Notify the window managers of state changes
  9409. - Let the window manager paint its buttons and handle button
  9410. clicks on the menu when it is maximized.
  9411. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  9412. window manager, since tool windows don't use it, only mdi windows.
  9413. - Tell the main form that we don't want it to handle NCPAINT
  9414. itself to avoid extra painting.
  9415. - Handle clicks on a maximized windows menu.
  9416. - Handle window state changes
  9417. - Handle minimize/maximize clicks correctly by setting the window state.
  9418. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  9419. when clicking on the forms icon).
  9420. - New method to create a forms maximized menu. This is its normal
  9421. menu + an icon.
  9422. - Handle window state changes.
  9423. - Handle sizing of maximized windows. Maximized windows are just
  9424. drawn bigger then the parent visible area. All controls are still
  9425. there, they are just outside the visible area (this matches windows).
  9426. * MdiClient.cs: No scrollbars when a child window is maximized.
  9427. - Let the children windows figure out how big they should be when
  9428. sizing maximized windows.
  9429. - Implement a version of ArrangeIconicWindows somewhat similar to
  9430. Windows version. There are some little differences, but I don't
  9431. think any app will rely on the layout of minimized mdi windows.
  9432. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9433. * Padding.cs: Several fixes to allow compiling with csc 2.0
  9434. 2006-03-09 Jackson Harper <[email protected]>
  9435. * Menu.cs:
  9436. * MenuItem.cs: Cheap hack so we can add items to the list without
  9437. the events being raised. This allows adding mdi items during
  9438. drawing. TODO: Should probably find a better time to add the items.
  9439. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9440. * ThemeWin32Classic.cs:
  9441. - CheckBox_DrawText: Added logic to not wrap if not enough space
  9442. is available (Fix for bug #77727)
  9443. - RadioButton_DrawText: Added logic not to wrap if not enough
  9444. space is available (Fix for bug #77727). Also removed some
  9445. duplicate code, DrawString always drawing the regular text
  9446. before hitting the if statement.
  9447. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9448. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  9449. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9450. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  9451. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  9452. methods. Moved the new 2.0 properties into alphabetical order with
  9453. other properties and added MonoTODO tags
  9454. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9455. * AutoScaleMode.cs: Added. Fix build.
  9456. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9457. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9458. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  9459. and was requiring premature handle creation for calls from above
  9460. * Form.cs, Control.cs: Removed handle arguments from calls to
  9461. CalculateClientRect()
  9462. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9463. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  9464. drag_column.column_rect is MarshalByRef and can't be used that way
  9465. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9466. * AxHost.cs: Added deserialization constructor for
  9467. AxHost+State (fixes 77743)
  9468. 2006-03-09 Mike Kestner <[email protected]>
  9469. * ListView.cs:
  9470. - Added column drag reordering for details view.
  9471. - fixed behavior when mouse is dragged off column and
  9472. AllowColumnReorder is false.
  9473. * ColumnHeader.cs: clone the format too in Clone.
  9474. * Theme.cs: add DrawListViewHeaderDragDetails method.
  9475. * ThemeWin32Classic.cs:
  9476. - impl new method for drawing drag column shadows and targets.
  9477. - support column offset for details mode in DrawListViewItem.
  9478. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9479. * TextControl.cs: Reset the char_count when the document is cleared
  9480. (Fixes bug reported on mono-winforms mailing list)
  9481. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9482. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  9483. of calling base we simply process the key ourselves, since both
  9484. DefWindowProc and the handled method would set m.Result.
  9485. (Fixes #77732)
  9486. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9487. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  9488. method also moves the window; instead implemented a copy of
  9489. Control.ScaleCore (Part of fix for #77456)
  9490. * TextBoxBase.cs:
  9491. - Created new CreateGraphicsInternal method to allow providing
  9492. a graphics context when no handle is created without triggering
  9493. handle creation. (Part of fix for #77456)
  9494. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  9495. * TextControl.cs:
  9496. - Switched Constructor to require TextBoxBase instead of Control (to
  9497. allow uncast access to CreateGraphicsInternal)
  9498. - Safeguarded use of owner.Handle property. No longer accessing it
  9499. unless the handle is already created.
  9500. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  9501. - Now triggering a recalc when owning control becomes visible
  9502. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  9503. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  9504. premature handle creation (Part of fix for #77456)
  9505. * Control.cs:
  9506. - We now only destroy our double-buffering buffers when the
  9507. control is resized or disposed, but not when visibility
  9508. changes. (The code even re-created them twice every time)
  9509. - Now requiring a redraw of the buffer on visibility changes
  9510. (fixes bug 77654 part 2)
  9511. - Not passing OnParentVisibleChanged up unless the control
  9512. is visible
  9513. - CanFocus: Fixed to match MS documentation
  9514. - Focus: Fixed to return actual focus state and to check if
  9515. setting focus is legal before setting it
  9516. 2006-03-08 Peter Dennis Bartok <[email protected]>
  9517. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  9518. when to draw focus rectangle by looking at parent focus and
  9519. selected state instead. This fixes TabPages on Linux sometimes
  9520. having none or multiple focus rectangles.
  9521. * XplatUIX11.cs (SetFocus):
  9522. - Don't set the focus if the same window already has focus
  9523. - Use SendMessage instead of PostMessage (like it's Win32
  9524. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  9525. to match MS behaviour
  9526. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  9527. are not selectable.
  9528. 2006-03-07 Jackson Harper <[email protected]>
  9529. * PictureBox.cs: Revert line I accidently committed last week.
  9530. 2006-03-07 Peter Dennis Bartok <[email protected]>
  9531. * Control.cs:
  9532. - Added new IsRecreating and ParentIsRecreating properties to
  9533. allow testing if RecreateHandle has been called on ourselves
  9534. or one of our parents
  9535. - WndProc(WM_DESTROY): If our control handle is being recreated
  9536. we immediately need to create the handle when receiving the
  9537. destroy, that way our child windows find a valid parent handle
  9538. when they themselves are being recreated upon WM_DESTROY receipt
  9539. (fix for bug #77654 part 1)
  9540. * XplatUIX11.cs:
  9541. - DestroyWindow: WM_DESTROY must be sent to our own window before
  9542. notifying any child windows. MS documents that child windows
  9543. are still valid when WM_DESTROY is received. (Control now relies on
  9544. this behaviour)
  9545. - Added some fine-grain debug options
  9546. 2006-03-06 Jackson Harper <[email protected]>
  9547. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  9548. box and base calculations off this.
  9549. * MdiChildContext.cs:
  9550. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  9551. anymore.
  9552. 2006-03-06 Peter Dennis Bartok <[email protected]>
  9553. * Splitter.cs: In situations where the affected control is added
  9554. to the parent's control list after the splitter, we would not
  9555. populate affected. Now we try populating it on mousedown, if
  9556. it's not already set, and force it to be re-set whenever our
  9557. parent changes.
  9558. 2006-03-03 Matt Hargett <[email protected]>
  9559. * Control.cs: implement Control.Padding
  9560. * Padding.cs: -Padding.All returns -1 when constructing with the
  9561. implicit default ctor
  9562. -Padding.ToString() matches MS.NET
  9563. * ContainerControl.cs: implement
  9564. ContainerControl.AutoScaleDimensions
  9565. * ListControl.cs: implement ListControl.FormattingEnabled
  9566. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  9567. * ButtonBase.cs:
  9568. * TabPage.cs: Implement UseVisualStyleBackColor.
  9569. * PictureBox.cs: Implement PictureBox.InitialImage.
  9570. 2006-03-03 Mike Kestner <[email protected]>
  9571. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  9572. event declarations to proxy to base event.
  9573. * ListViewItem.cs: update to use ItemControl.
  9574. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  9575. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  9576. column header label rendering for 0 width columns.
  9577. 2006-03-03 Peter Dennis Bartok <[email protected]>
  9578. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  9579. that causes the control to be created. Fixes #77476.
  9580. 2006-03-02 Jackson Harper <[email protected]>
  9581. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  9582. expose_pending.
  9583. 2006-03-02 Peter Dennis Bartok <[email protected]>
  9584. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  9585. passed in for the EventArgs (fixes #77690)
  9586. 2006-03-01 Jackson Harper <[email protected]>
  9587. * ScrollBar.cs: Refresh afterbeing resized.
  9588. 2006-02-28 Mike Kestner <[email protected]>
  9589. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  9590. Clean up a tracker compile warning.
  9591. * MenuItem.cs: add internal PerformPopup method.
  9592. [Fixes #77457]
  9593. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9594. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  9595. implicit expose) when the text is set to null
  9596. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9597. * RichTextBox.cs (FlushText): When newline is true, we always
  9598. need to split the line, even if no text is on it and we may
  9599. never eat newlines. (Fixes #77669)
  9600. 2006-02-28 Mike Kestner <[email protected]>
  9601. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  9602. and set Selected instead.
  9603. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  9604. collections.
  9605. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9606. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  9607. 2006-02-28 Alexander Olk <[email protected]>
  9608. * FontDialog.cs:
  9609. - Got rid of the panel. All controls are now directly added to
  9610. the dialog form
  9611. - It is now possible to set a font with the Font property
  9612. - MinSize and MaxSize property do now what they should
  9613. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  9614. - Searching and selecting a font with the font textbox works now,
  9615. the same applies to the style and size textbox
  9616. - Draw the correct 3D border in the example panel
  9617. - Fixed a little mem leak (unused fonts didn't get disposed)
  9618. - Many other internal updates/rewrites...
  9619. - Fix typo
  9620. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9621. * TextControl.cs:
  9622. - InsertRTFFromStream: Added 'number of characters inserted' argument
  9623. - set_SelectedRTF: Now using the number of characters to calculate
  9624. the new location for the selection and cursor (x/y cannot be used
  9625. due to potentially already wrapped text)
  9626. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9627. * TextControl.cs: Added property and implemented means to allow
  9628. disabling recalculation of a document (can be used to speed up
  9629. multiple inserts and is needed to make RTF inserts predictable, see
  9630. bug #77659)
  9631. * RichTextBox.cs: Using the new NoRecalc property of Document to
  9632. keep x/y insert locations predictable. Also makes it faster inserting
  9633. large chunks of RTF
  9634. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9635. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  9636. it's easier for a child control to handle the other messages without
  9637. having to duplicate the special functionality
  9638. * TextBoxBase.cs
  9639. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  9640. code to handle processing the key ourselves, in order to get
  9641. access to the result of KeyEventArgs.Handled. We now only call
  9642. ProcessKey if they key hasn't been handled already. Fixes #77526.
  9643. - set_Text: If null or empty string is given, just clear the
  9644. document. Fixes part of #77526
  9645. 2006-02-27 Jackson Harper <[email protected]>
  9646. * SizeGrip.cs: Paint the background color before painting the grip
  9647. so things look right.
  9648. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  9649. 2006-02-27 Mike Kestner <[email protected]>
  9650. * ListView.cs:
  9651. - Restructure layout and invalidation model to remove a ton of
  9652. flicker from the control and speed up performance in general.
  9653. - Add manual column resize, flickers like crazy, but I already have
  9654. some ideas on how I'll fix that. (#76822)
  9655. - Merge the three Icon-based views into a single layout method.
  9656. - Move item selection interaction logic from the item since
  9657. interaction with the collections is more appropriate to the view.
  9658. - Deselection on non-item clicks.
  9659. * ListViewItem.cs:
  9660. - Encapsulate most of the layout. Add some internal props to trigger
  9661. layout. Move to a model where Items invalidate themselves instead
  9662. of just invalidating the whole control every time something changes.
  9663. - Invalidate on Text/Caption changes.
  9664. - switch to an offset based layout model to avoid having to absolute
  9665. position every element on item moves.
  9666. - correct checkbox layout to conform to MS layout.
  9667. * ThemeWin32Classic.cs:
  9668. - refactor some column header drawing code.
  9669. - fix string justification for column headers (#76821)
  9670. - make SmallIcon labels top justified for compat with MS impl.
  9671. * ThemeClearlooks.cs:
  9672. - adjust to new ListViewItem internal checkbox bounds api.
  9673. 2006-02-27 Jackson Harper <[email protected]>
  9674. * Control.cs: Change where implicit controls fall in the zorder.
  9675. They are now on top of all children.
  9676. - Synced AddImplicit code with Add
  9677. - Removed unused enumerator.
  9678. * SizeGrip.cs: Remove the TODO as its been TODONE.
  9679. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9680. * TextControl.cs(Insert): Combine the last lines unless the insertion
  9681. string ends with \n\n, otherwise we leave one line too many (Fixes
  9682. something I noticed with the testapp for #77526; the bug itself was
  9683. already fixed in the previous checkin)
  9684. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9685. * RichTextBox.cs:
  9686. - SelectionColor and SelectionFont methods no longer set absolute
  9687. styles. Instead, the keep font or color respectively (This
  9688. resolves a long-standing FIXME in the code)
  9689. - When flushing RTF text, the insert code now considers text trailing
  9690. behind the insertion point (Fixes the bug where when replacing
  9691. the selected text via SelectedRTF the remainder of the line behind
  9692. the selection would stay on the first insertion line)
  9693. * TextBoxBase.cs:
  9694. - AppendText now updates the selection points after inserting text
  9695. - AppendText now ensures that the last tag (sometimes 0-length) of
  9696. the document is used for the style information (Fixes part of
  9697. bug #77220)
  9698. * TextControl.cs:
  9699. - Created new FontDefiniton class to allow describing partial style
  9700. changes
  9701. - StreamLine() now takes a lines argument, to allow it to decide
  9702. whether an encountered zero-length tag is the last in the document
  9703. (which must be kept to not loose the font/color contained in it,
  9704. for later appends)
  9705. - Created Combine() and Split() methods for Marker structs, to
  9706. support marker updates due to reformatted documents (soft line
  9707. wraps)
  9708. - Implemented Document.CaretTag setter
  9709. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  9710. of the last line (Not the cause, but also exposed by bug #77220)
  9711. - Added LineTag argument to InsertString method, to allow callers
  9712. to force a certain tag to be used (required to force use of the
  9713. trailing zero-length tag of a document)
  9714. - Now updating markers in Combine(), to avoid stale tag markers
  9715. - Added some method descriptions to aid maintenance
  9716. - Implemented new FormatText concept, allowing additive/subtractive
  9717. formatting by only specifying the components that are to be
  9718. changed. This was needed for resolving the RTB.SelectedColor/
  9719. RTB.SelectedFont fixmes
  9720. - Added Break() support method to allow breaking up linetags (used
  9721. for partial formatting)
  9722. - Added GenerateTextFormat() method. It is used for partial
  9723. formatting and allows to generate a full font/color from given
  9724. attributes and an existing tag.
  9725. 2006-02-26 Jackson Harper <[email protected]>
  9726. * XplatUIX11.cs: Use the correct caption height.
  9727. - Translate hittest coordinates to screen coords to match MS.
  9728. * XplatUIWin32.cs: When we create MDI windows we need to reset
  9729. some of the style flags, so we get a nice blank window, and can
  9730. draw all the decorations ourselves.
  9731. - Set a clipping rectangle on the non client paint event, the
  9732. window manager drawing code needs one.
  9733. * Form.cs: The window manager needs to know when the window state
  9734. has been updated.
  9735. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  9736. don't need to factor in border and title sizes in these
  9737. methods. TODO: Remove the args and fix the call points.
  9738. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  9739. properly.
  9740. - Let the driver set the cursors.
  9741. - Improve active window handling
  9742. - Correct sizes for title bars and buttons.
  9743. - Match MS drawing better
  9744. * MdiWindowManager.cs: We don't need to handle border style
  9745. updates specially anymore.
  9746. - Check for scrollbars when windows are done moving
  9747. - Handle Active properly.
  9748. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  9749. correctly. I am spewing the exception though, so we don't hide the
  9750. bugs.
  9751. 2006-02-26 Pedro Martinez Julia <[email protected]>
  9752. * DataGridViewRowPostPaintEventArgs.cs,
  9753. DataGridViewCellPaintingEventArgs.cs,
  9754. DataGridViewRowCollection.cs,
  9755. DataGridViewRowPrePaintEventArgs.cs,
  9756. DataGridViewCell.cs: Clear a few warnings and implement a few
  9757. exceptions that should be thrown.
  9758. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9759. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  9760. 'inheriting' our parent's (non-default) cursor. (Part of
  9761. the fix for #77479)
  9762. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9763. * XplatUIX11.cs: Fixed cast to make csc happy
  9764. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9765. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  9766. it's for the client area (part of fix for #77479 and needed
  9767. for MDI window cursor handling)
  9768. * XplatUIX11.cs
  9769. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  9770. the appropriate default cursors and also passing the message
  9771. up the parent chain
  9772. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  9773. for non-client areas
  9774. 2006-02-15 Jackson Harper <[email protected]>
  9775. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  9776. is a real MDI window
  9777. 2006-02-14 Alexander Olk <[email protected]>
  9778. * X11DesktopColors.cs: Instead of checking the desktop session
  9779. string for "KDE" check if it starts with "KDE"
  9780. 2006-02-10 Jackson Harper <[email protected]>
  9781. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  9782. systems).
  9783. 2006-02-10 Alexander Olk <[email protected]>
  9784. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  9785. errors
  9786. * ColorDialog.cs:
  9787. - Got rid of the panel. All controls are now directly added to
  9788. the dialog form
  9789. - Changed to mono coding style
  9790. 2006-02-10 Jackson Harper <[email protected]>
  9791. * InternalWindowManager.cs: We don't need the set visibility to
  9792. false hack anymore now that peter has written beautiful shutdown
  9793. code.
  9794. 2006-02-10 Peter Dennis Bartok <[email protected]>
  9795. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  9796. where already explicitly destroyed
  9797. 2006-02-10 Jackson Harper <[email protected]>
  9798. * MdiClient.cs: Handle the case where windows are too high or to
  9799. the left and we need scrollbars.
  9800. 2006-02-10 Alexander Olk <[email protected]>
  9801. * MimeIcon.cs: Added some icons
  9802. * FileDialog.cs:
  9803. - Fixed bug #77477
  9804. - Got rid of the panel. All controls are now directly added to
  9805. the dialog form
  9806. - Changed to mono coding style
  9807. - On Linux "My Computer" and "My Network" will now show some
  9808. more usefull information. A new class, MasterMount, gathers
  9809. this information from /proc/mount. Updated MWFFileView to make
  9810. use of this information
  9811. - Fixed a bug that caused FileDialog to crash when
  9812. ".recently_used" file had a zero size
  9813. - FilterIndex does now what it should
  9814. - Some Refactoring
  9815. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  9816. FileDialog changes
  9817. 2006-02-09 Jackson Harper <[email protected]>
  9818. * ComboBox.cs: Don't touch if null.
  9819. 2006-02-09 Peter Dennis Bartok <[email protected]>
  9820. * Cursor.cs: 64bit safeness fix
  9821. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  9822. 2006-02-09 Jackson Harper <[email protected]>
  9823. * Form.cs: If a form is made into an MDI form update the styles so
  9824. all the props can get set correctly.
  9825. - Kill the mdi_container when we dont need it anymore.
  9826. * InternalWindowManager.cs: Add missing NOT
  9827. 2006-02-08 Jackson Harper <[email protected]>
  9828. * InternalWindowManager.cs: Respek clipping when drawing MDi
  9829. decorations.
  9830. 2006-02-08 Jackson Harper <[email protected]>
  9831. * Hwnd.cs: Add bits to track non client expose events.
  9832. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  9833. gives us a proper invalid rect and will allow for some nice
  9834. optimizations with NC client drawing
  9835. - MDI windows are children windows, so move their style handling
  9836. into the child window block.
  9837. * InternalWindowManager.cs: Remove a state reset that was
  9838. getting invoked at the wrong time. Fixes managed windows getting
  9839. into a 'stuck' captured state.
  9840. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9841. * TextControl.cs (Document.ctor): Now initializing
  9842. selection_anchor. Fixes #77493
  9843. 2006-02-07 Jackson Harper <[email protected]>
  9844. * TrackBar.cs: The increment/decrements were backwards.
  9845. 2006-02-07 Mike Kestner <[email protected]>
  9846. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  9847. to the instance itself.
  9848. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9849. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  9850. on ulongs and pointers, the size differs between 32bit and 64bit
  9851. systems.
  9852. 2006-02-07 Mike Kestner <[email protected]>
  9853. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  9854. for 64 bit platforms to work around a metacity bug.
  9855. 2006-02-07 Jackson Harper <[email protected]>
  9856. * TrackBar.cs: Process the input keys we need, and hookup to
  9857. KeyDown instead of using WndProc, so we get key messages.
  9858. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9859. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  9860. machine we're on.
  9861. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  9862. we need to translate the XdndVersion atoms array before sending it
  9863. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9864. * XplatUIX11.cs:
  9865. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  9866. number of bits for the property, not the number of bytes. The
  9867. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  9868. but would not crash since it specified 8 bits instead of 4 bits)
  9869. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  9870. defined as XID -> long in the C headers)
  9871. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  9872. references since those are now IntPtr to begin with
  9873. - Switched all Atom.XXX 'int' casts to IntPtr casts
  9874. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  9875. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  9876. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  9877. * X11Structs.cs:
  9878. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  9879. - Changed atom in HoverStruct to be IntPtr
  9880. * X11DnD.cs:
  9881. - Removed local DllImports, switched code to use those from XplatUIX11
  9882. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  9883. 2006-02-06 Mike Kestner <[email protected]>
  9884. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  9885. method signatures in the import region. There may still be some
  9886. lingering struct marshaling issues, as I didn't drill down into those.
  9887. Yet.
  9888. 2006-02-06 Jackson Harper <[email protected]>
  9889. * ComboBox.cs: Dont manually set the top_item, this is computed
  9890. when the scrollbar position is set.
  9891. 2006-02-06 Mike Kestner <[email protected]>
  9892. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  9893. startup crashes on amd64. There's other fixes needed. All pinvoke
  9894. usage of Atom needs to be mapped to IntPtr for example. And there are
  9895. likely other int/long issues to be addressed.
  9896. 2006-02-04 Alexander Olk <[email protected]>
  9897. * FileDialog.cs: One more...
  9898. 2006-02-03 Alexander Olk <[email protected]>
  9899. * FileDialog.cs: Next try
  9900. 2006-02-03 Alexander Olk <[email protected]>
  9901. * FileDialog.cs: First part of fix for #77464
  9902. 2006-02-03 Alexander Olk <[email protected]>
  9903. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  9904. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  9905. AcceptButton border drawing.
  9906. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9907. * Form.cs: Moved positioning of form after auto scaling is applied,
  9908. otherwise it would possibly use wrong form size.
  9909. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9910. * Control.cs (RecreateHandle): No need to re-create any child
  9911. controls, the child windows will get destroyed automatically by
  9912. the windowing system or driver, and re-created when the handle
  9913. is being accessed the first time. Fixes #77456
  9914. * Form.cs: No longer setting the form to closing if the handle is
  9915. being recreated. This seems like the right thing to do, don't
  9916. have a bug or testcase for this, though.
  9917. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9918. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  9919. controls to avoid unwanted side effects
  9920. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9921. * Control.cs:
  9922. - ScaleCore needs to scale the bounds, not the ClientSize of the
  9923. control. Fixes #77416.
  9924. - DefaultSize is 0,0 for control
  9925. * TextBoxBase.cs:
  9926. - DefaultSize is 100, 20
  9927. - SetBoundsCore: Now enforcing the height, no matter if the provided
  9928. height is more or less than the preferred one, as long as AutoSize
  9929. is on
  9930. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  9931. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9932. * Control.cs:
  9933. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  9934. call unless both performLayout is true *and* we have a pending
  9935. layout change
  9936. - ResumeLayout: MS does not completely nest Suspend and Resume,
  9937. they bottom out at 0, fixed our code to match that.
  9938. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  9939. SetBoundsCore, we were updating even when we shouldn't. This fixes
  9940. swf-anchors mis-anchoring when resizing the app fast and lots.
  9941. - UpdateDistances: Now only setting the left and top distance if
  9942. we have a parent and are not suspended, this is based on
  9943. a suggestion by Don Edvaldson in bug #77355.
  9944. - OnVisibleChanged: Fixed logic when to create the control. We may
  9945. not create the control if we have no parent or if it's not visible;
  9946. switched to using Visible property instead of is_visible field
  9947. since the property also considers parent states. This fixes a bug
  9948. when starting Paint.Net
  9949. 2006-02-02 Jackson Harper <[email protected]>
  9950. * Form.cs: If the forms handle hasn't been created yet don't call
  9951. into xplatui to make it top most, just set the topmost flag on the
  9952. form in CreateParams
  9953. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  9954. 2006-02-01 Jackson Harper <[email protected]>
  9955. * ScrollableControl.cs: Refactored the Recalculate method a
  9956. little, this wasn't handling all the variants of bottom and right
  9957. bars needed to be added and added/removed based on their
  9958. counterparts being added/removed (which changes the drawable
  9959. size). Also we special case client widths and heights of 0 and
  9960. don't add the scrollbar for those.
  9961. 2006-02-01 Peter Dennis Bartok <[email protected]>
  9962. * XplatUIX11.cs:
  9963. - Added method to get AbsoluteGeometry(); currently unused, but might
  9964. be used in the future, if we try again to figure out toplevel
  9965. coordinates with some more crappy window managers
  9966. - Added FrameExtents() method to retrieve the WM set decoration size
  9967. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  9968. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  9969. * Hwnd.cs:
  9970. - Added whacky_wm tracking var for metacity
  9971. - Added logic to have default menu height if the actual menu height
  9972. has not yet been calculated (part of fix for #77426)
  9973. * Form.cs: Keep track whether client size has been set and re-set
  9974. it if a menu is added/removed afterwards (Fixes #77426)
  9975. 2006-01-31 Jackson Harper <[email protected]>
  9976. * Control.cs: When a new Site is set on the component attempt to
  9977. pull the AmbientProperties from it.
  9978. 2006-01-31 Peter Dennis Bartok <[email protected]>
  9979. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  9980. in the background of the owning form. Fixes #77332
  9981. 2006-01-31 Alexander Olk <[email protected]>
  9982. * MimeIcon.cs: Fix for #77409
  9983. 2006-01-31 Alexander Olk <[email protected]>
  9984. * XplatUIX11GTK.cs: Initial import
  9985. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  9986. * FixedSizeTextBox: fixes class signature
  9987. 2006-01-30 Jackson Harper <[email protected]>
  9988. * FixedSizeTextBox.cs: New internal class that represents a
  9989. textBox that will not be scaled.
  9990. * TreeView.cs:
  9991. * ComboBox.cs:
  9992. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  9993. standard TextBox.
  9994. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9995. * XplatUIX11.cs: Retrieve default screen number instead of
  9996. assuming 0. Attempted fix for #77318
  9997. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9998. * XplatUIWin32.cs:
  9999. - GetWindowPos: When a window is parented by FosterParent, use
  10000. the desktop instead of FosterParent as the base to get coordinates
  10001. - CreateWindow: Don't make FosterParent the parent window for Popups
  10002. if we don't want a taskbar entry, Popups automatically don't get one
  10003. * Hwnd.cs: Need to call remove to actually remove the key from the
  10004. hash table
  10005. 2006-01-30 Mike Kestner <[email protected]>
  10006. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  10007. 2006-01-30 Jackson Harper <[email protected]>
  10008. * TreeView.cs:
  10009. * TreeNode.cs: Raise events no matter how the treenode is
  10010. checked. Patch by Don Edvalson.
  10011. 2006-01-30 Jackson Harper <[email protected]>
  10012. * TreeNode.cs: Signature fix.
  10013. 2006-01-29 Alexander Olk <[email protected]>
  10014. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  10015. 2006-01-20 Mike Kestner <[email protected]>
  10016. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  10017. event forwarding when menus are active.
  10018. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  10019. Most of the patch is pdb's with a little rework.
  10020. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10021. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  10022. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  10023. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  10024. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  10025. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  10026. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  10027. the PaintWindowDecorations method
  10028. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  10029. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  10030. * MenuAPI.cs: Made tracker window invisible
  10031. * XplatUIWin32.cs:
  10032. - Removed GetMenuDC and ReleaseMenuDC methods
  10033. - Implemented the client=false path for PaintEventStart and
  10034. PaintEventEnd
  10035. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10036. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  10037. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  10038. styles
  10039. * Form.cs:
  10040. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  10041. the style
  10042. - CreateParams: Reworked the styles to match MS look'n'feel,
  10043. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  10044. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  10045. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10046. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  10047. window is not mapped, since otherwise every form that's being
  10048. created is considered minimized, which is wrong.
  10049. * Form.cs: Catching the exception and returning our internal value
  10050. instead
  10051. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10052. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  10053. SetWindowMinMax() to have means to tell the driver about the minimum,
  10054. maximum and maximized state window sizes. (Part of the fix for #76485)
  10055. * Form.cs:
  10056. - Implemented tracking of minimum and maximum window size, now calling
  10057. new SetWindowMinMax() driver method to tell the driver (Part of the
  10058. fix for #76485)
  10059. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  10060. (Completes fix for #76485)
  10061. - Calling new SetWindowMinMax driver method when the handle for a
  10062. form is created, to make sure the driver knows about it even if
  10063. the values have been set before the window was created
  10064. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  10065. to avoid messing up our anchoring calculations (partial fix
  10066. for #77355)
  10067. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  10068. * XplatUIX11.cs:
  10069. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  10070. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  10071. (and presumably other freedesktop.org compliant WMs). Left the
  10072. assumption unmapped=minimized, needed for SetVisible to work.
  10073. - Now setting the window state when creating windows
  10074. - Fixed SetVisible to consider/set the window state when mapping
  10075. a Form. We cannot set the state before it's mapped, and we cannot
  10076. use Form.WindowState once it's mapped (since it would ask the
  10077. driver and get 'normal'. Therefore, we grab the state before
  10078. mapping, map, and then set state.
  10079. - Implmemented SetWindowMinMax method; Metacity does not seem to
  10080. honor the ZoomHints, though.
  10081. * XplatUIWin32.cs:
  10082. - Removed MINMAXINFO (moved to XplatUIStructs)
  10083. - Added SetWindowMinMax stub (on Win32 the only way to set that
  10084. information is in response to the WM_GETMINMAXINFO message, which
  10085. is handled in Form.cs)
  10086. - Added logic to SetVisible to set the proper window state when a
  10087. form is made visible (fixes #75720)
  10088. 2006-01-26 Jackson Harper <[email protected]>
  10089. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  10090. same way we handle them with Invoke.
  10091. 2006-01-25 Peter Dennis Bartok <[email protected]>
  10092. * Form.cs:
  10093. - Added tracking of window state so CreateParams can return
  10094. the appropriate style
  10095. - Moved setting of WS_CAPTION style in CreateParams to allow
  10096. styles without caption
  10097. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  10098. control if the TextBox property is accessed. Fixes #77345
  10099. * Control.cs:
  10100. - get_Created: now uses is_disposed and is_created to determine
  10101. return value (suggested by Jackson)
  10102. - CreateHandle: No longer exits if the handle is being recreated
  10103. - RecreateHandle: If the handle is not yet created call the
  10104. appropriate method to create either control or handle. If the
  10105. control is already created CreateHandle will simply exit instead
  10106. of just creating the handle
  10107. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  10108. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  10109. is called.
  10110. * XplatUIX11.cs:
  10111. - When DestroyWindow is called, instead of waiting for the
  10112. DestroyNotification from X11, we directly post it to the WndProc
  10113. and immediately dispose the hwnd object.
  10114. Same applies to DestroyChildWindows, and this obsoletes the
  10115. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  10116. child windows before our own, to avoid X11 errors.
  10117. - Removed the direct sending of WM_PAINT on UpdateWindow
  10118. * XplatUIWin32.cs:
  10119. - Reworked DoEvents and GetMessage to allow access to internal queue
  10120. even when trying non-blocking access to the queue. Fixes #77335.
  10121. Based on a patch suggestion by Don Edvalson. The new private
  10122. GetMessage can now also be used as a backend for a PeekMessage
  10123. frontend version.
  10124. * XplatUI.cs: Improved debug output for CreateWindow
  10125. 2006-01-25 Jackson Harper <[email protected]>
  10126. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  10127. 2006-01-24 Jackson Harper <[email protected]>
  10128. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  10129. when we have a MaxDropItems lower then the selected index.
  10130. 2006-01-24 Jackson Harper <[email protected]>
  10131. * Control.cs: Don't allow selection of non visible controls, allow
  10132. selection of controls without parents.
  10133. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10134. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  10135. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  10136. 2006-01-23 Jackson Harper <[email protected]>
  10137. * UpDownBase.cs: Make the textbox handle all the selection and
  10138. tabbing. This fixes tabing to updown controls.
  10139. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10140. * TextBoxBase.cs: fixes exception thown the object was null
  10141. 2006-01-23 Jackson Harper <[email protected]>
  10142. * ButtonBase.cs: Just use the base CreateParams. They set
  10143. visibility and enabled correctly.
  10144. * ComboBox.cs:
  10145. * TrackBar.cs:
  10146. * MonthCalendar.cs: Lets let the base set as much of the
  10147. createparams as possible so we don't have duplicate code all over
  10148. the place.
  10149. 2006-01-22 Alexander Olk <[email protected]>
  10150. * ThemeGtk.cs: Added TrackBar and some experimental code to
  10151. get double buffering back
  10152. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  10153. * DataGrid.cs: Allows row number set internally higher than the last
  10154. when creating a new row. Restores the editing functionality.
  10155. 2006-01-20 Mike Kestner <[email protected]>
  10156. * MimeIcon.cs: delay Image creation until the icons are accessed
  10157. instead of creating 190 scaled images on GnomeHandler startup.
  10158. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10159. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  10160. first call base before processing the event. Fixes #77279
  10161. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10162. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  10163. that the stride for the GDI bitmap would match the stride of
  10164. a DIB or a Cursor.
  10165. 2006-01-19 Alexander Olk <[email protected]>
  10166. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  10167. 2006-01-19 Jackson Harper <[email protected]>
  10168. * ComboBox.cs: Hookup the text controls keydown event so we get
  10169. those when the text control has the focus.
  10170. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10171. * Label.cs: Now using the base events instead of defining new ones;
  10172. this allows us to just call the base properties without having to
  10173. duplicate all base property logic
  10174. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10175. * Label.cs: A label by default is not a tabstop (Fixes one of our
  10176. failing nunit tests)
  10177. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10178. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  10179. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  10180. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10181. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  10182. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  10183. This fixes #77218
  10184. * XplatUIWin32.cs:
  10185. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  10186. constructor creates images that can't be saved. Part of the fix
  10187. for #76103
  10188. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  10189. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  10190. bug fix for handling window state in forms properly)
  10191. 2006-01-18 Alexander Olk <[email protected]>
  10192. * ThemeGtk.cs: Simplify ScrollBar drawing
  10193. 2006-01-18 Jackson Harper <[email protected]>
  10194. * Splitter.cs: Set the default dock style for the splitter control
  10195. in the constructor.
  10196. 2006-01-18 Alexander Olk <[email protected]>
  10197. * ThemeGtk.cs: Corrected StateType and ShadowType for
  10198. gtk_paint_box
  10199. 2006-01-18 Alexander Olk <[email protected]>
  10200. * Control.cs: Make use of Theme.DoubleBufferingSupported
  10201. * ThemeGtk.cs:
  10202. - Added drawing for flat style buttons
  10203. - Added ScrollBar drawing
  10204. 2006-01-18 Alexander Olk <[email protected]>
  10205. * ThemeClearlooks.cs: Removed some unneeded code.
  10206. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  10207. 2006-01-17 Peter Dennis Bartok <[email protected]>
  10208. * LinkLabel.cs: We need to update the hover drawing when
  10209. leaving the control as well.
  10210. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  10211. * DataGrid.cs: Clicking on non empty areas in the columns
  10212. area was giving an exception
  10213. 2006-01-17 Jackson Harper <[email protected]>
  10214. * ThemeWin32Classic.cs:
  10215. * ListView.cs: Do not draw/clip the headers when the header style
  10216. is None.
  10217. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  10218. * DataGrid.cs: Fixes 77260
  10219. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  10220. * DataGrid.cs: Clicking on a column on a empty grid was giving
  10221. an exception
  10222. 2006-01-17 Peter Dennis Bartok <[email protected]>
  10223. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  10224. or any keypress will crash the grid.
  10225. 2006-01-17 Mike Kestner <[email protected]>
  10226. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  10227. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  10228. invisible/previously-visible items.
  10229. [Fixes #76909]
  10230. 2006-01-17 Alexander Olk <[email protected]>
  10231. * ThemeClearlooks.cs:
  10232. - Added CL_Draw_Button method; now other theme controls that are
  10233. not derived from button or do not have a button can draw buttons
  10234. too
  10235. - Updated ComboBox drawing
  10236. - Beautified RadioButton drawing
  10237. - Corrected drawing of bottom and left tabs
  10238. - Beautified DateTimePicker and MonthCalendar
  10239. - Added CPDrawButton and CPDrawRadioButton
  10240. 2006-01-16 Jackson Harper <[email protected]>
  10241. * ComboBox.cs: Set the initial value of the scrollbar to the
  10242. current index. Reduce the numbers of refreshs and IndexOfs called.
  10243. 2006-01-14 Alexander Olk <[email protected]>
  10244. * FileDialog.cs: When the file listview is focused hitting the
  10245. backspace key moves the fileview to the parent directory
  10246. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10247. * Form.cs:
  10248. - Added RecreateHandle call when changing taskbar visibility to
  10249. trigger reparenting in Win32 driver (Fixes #75719)
  10250. - If a window has minimize or maximize buttons, it cannot have
  10251. a help button
  10252. * XplatUIWin32.cs:
  10253. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  10254. the toplevel form with FosterParent (A toolwindow not on the
  10255. taskbar) (Fixes #75719)
  10256. - Made FosterParent a toolwindow
  10257. 2006-01-13 Alexander Olk <[email protected]>
  10258. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  10259. 2006-01-13 Alexander Olk <[email protected]>
  10260. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  10261. is currently over that control, make sure that tooltip_window.Text
  10262. gets updated
  10263. 2006-01-13 Mike Kestner <[email protected]>
  10264. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  10265. 2006-01-13 Jackson Harper <[email protected]>
  10266. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  10267. value passed. Also redraw the selected node when we recieve
  10268. focus, so tabbing between trees works correctly.
  10269. 2006-01-13 Alexander Olk <[email protected]>
  10270. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  10271. ~/.gconf/%gconf-tree.xml, so use
  10272. .gconf/desktop/gnome/interface/%gconf.xml
  10273. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10274. * TextControl.cs: Draw text in gray if control is disabled
  10275. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10276. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  10277. make sure it's always visible. Fixes #76680.
  10278. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10279. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  10280. 2006-01-13 Jonathan Chambers <[email protected]>
  10281. * PageSetupDialog.cs: Added.
  10282. * PrintDialog.cs: Attributes.
  10283. * PrintPreviewControl.cs: Updates.
  10284. * PrintPreviewDialog.cs: Updates.
  10285. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10286. * Control.cs: Undid my selection check fix, since it's not needed
  10287. * TextBoxBase.cs:
  10288. - Now considering the presence of hscroll/vscroll when sizing
  10289. vscroll/hscroll respectively. Fixed bug #77077
  10290. - Added Left/Up/Down/Right to IsInputKey list to prevent
  10291. ContainerControl from stealing them. This fixes what I broke
  10292. with my last checkin.
  10293. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10294. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  10295. I finally understand how the property can be set without a setter :-)
  10296. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10297. * Application.cs:
  10298. - Switched RunLoop to use static Message.Create to create a
  10299. Message object
  10300. - Added PreProcessMessage call in runloop for keyboard events; this
  10301. is part of the fix for #77219, I overlooked this originally in the
  10302. MSDN doc for PreProcessMessage
  10303. * Control.cs:
  10304. - Removed call to PreProcessMessage from handling of keyboard
  10305. messages; it's supposed to be done in the message pump
  10306. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  10307. per MSDN documentation.
  10308. - IsInputChar: All chars are input chars by default; removed the
  10309. parent calling chain, MS does not document that
  10310. - PreProcessMessage: If IsInputChar is true, we want to return false
  10311. to allow dispatching of the message
  10312. - When selecting the next control, now also check that we're not
  10313. selecting ourselves again and therefore return a false positive.
  10314. * TextBoxBase.cs:
  10315. - Tried to match return values for IsInputKey and ProcessDialogKey
  10316. to what MS returns; moved processing of our special keys outside
  10317. ProcessDialogKey since MS does not seem to return true on those.
  10318. - Moved code that previously was in ProcessDialogKey into new private
  10319. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  10320. - Reworked handling of WM_CHAR to not have to duplicate code from
  10321. Control.cs anymore, instead we simply call down to base.
  10322. 2006-01-12 Jackson Harper <[email protected]>
  10323. * ComboBox.cs: We always need to refresh the text area when
  10324. EndUpdate is called. Fixes the combobox in the file dialog.
  10325. * Control.cs: Don't create the creator_thread until the controls
  10326. handle is created. Also in InvokeRequired we check if the
  10327. creator_thread is null. This gives the effect of InvokeRequired
  10328. returning true if the controls handle is not created yet, and
  10329. matches MS.
  10330. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10331. * XplatUI.cs:
  10332. - Added StartLoop() driver method. This is used to allow drivers to
  10333. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  10334. loop for a particular thread
  10335. - Added EndLoop() driver method. This is called once the message
  10336. pump for the thread is shut down
  10337. - Added SupportsTransparency method to allow the driver to indicate
  10338. opacity support for windows
  10339. * Form.cs:
  10340. - Removed TODO attribute, completed AllowTransparency property
  10341. - Added documented logic to Opacity
  10342. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  10343. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  10344. versions of CompatibleTextRendering
  10345. * X11Structs.cs: Added opacity atom to our atom enumeration
  10346. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  10347. of a form might be set before it's reparented by the WM, and we need
  10348. the opacity value without calling up to Form)
  10349. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  10350. SupportsTransparency() driver methods
  10351. * Application.cs: Now calling StartLoop and EndLoop driver methods
  10352. * XplatUIX11.cs:
  10353. - Added opacity atom registration
  10354. - Added StartLoop()/EndLoop() methods. They're empty right now but
  10355. will need to get implemented when we switch to a per-thread queue
  10356. - Implemented SupportsTransparency() method
  10357. - Implemented SetWindowTransparency() method
  10358. - Added support for setting the opacity value when a window is
  10359. reparented (since the opacity needs to be set on the WM frame)
  10360. * XplatUIOSX.cs, XplatUIWin32.cs:
  10361. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  10362. 2006-01-12 Alexander Olk <[email protected]>
  10363. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  10364. 2006-01-12 Alexander Olk <[email protected]>
  10365. * FileDialog.cs: Added ToolTip for MWFFileView
  10366. * MimeIcon.cs: Rewrote GnomeHandler.
  10367. - Get currently used gnome icon theme from
  10368. ($HOME)/.gconf/%gconf-tree.xml
  10369. - Make use of inherited icon themes
  10370. - Support SVG icon themes like Tango via librsvg
  10371. 2006-01-12 Miguel de Icaza <[email protected]>
  10372. Revert's Jackson's revert which broke 2.0 builds. Fix both
  10373. builds.
  10374. * Application.cs: Move the use_compatible_text_rendering outside
  10375. the NET_2_0 define. If we ever need to use the
  10376. use_compatible_text_rendering on the individual controls they will
  10377. access the variable from the common shared code paths.
  10378. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10379. * XplatUI.cs:
  10380. - Added more granular debug options
  10381. - Added method to print both window text and id
  10382. - Switched debug output to use new Window() debug method
  10383. - Added IsEnabled() driver method
  10384. - Added EnableWindow() driver method
  10385. * Form.cs:
  10386. - Removed end_modal; no longer needed, new loop handles termination
  10387. via 'closing' variable
  10388. - If form is modal, setting DialogResult will now initiate loop
  10389. termination via 'closing' variable
  10390. - Added support for is_enabled/WS_DISABLED to CreateParams
  10391. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  10392. does all the work
  10393. - Removed code that's now in RunLoop from ShowDialog()
  10394. - Added various documented sanity checks to ShowDialog()
  10395. - Added handling of WM_DESTROY message; we set 'closing' on getting
  10396. the message to indicate the message pump to terminate
  10397. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  10398. send by the Application.ExitThread method. (We send the message
  10399. to destroy the window after all other events have been
  10400. processed through the queue, instead of destroying the handle
  10401. directly)
  10402. - Moved code from Close() method to WM_CLOSE handler; added logic
  10403. to only send close-related events if the form is not displayed
  10404. modal
  10405. * Splitter.cs (..ctor): Fixed typo in resource name
  10406. * Control.cs:
  10407. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  10408. brush now
  10409. - set_Cursor: Now only setting calling into XplatUI if the handle for
  10410. the control is already created; this avoids implict handle creation
  10411. or crashes if it's not created
  10412. - set_Enabled: Now setting the enabled state via the new driver method
  10413. instead of just tracking it
  10414. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  10415. - CreateControl: Reordered event firing and method calls to more
  10416. closely fire events in the order MS does. Now setting the
  10417. enabled state in the driver when creating the control.
  10418. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  10419. match MS order
  10420. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  10421. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  10422. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  10423. * Hwnd.cs:
  10424. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  10425. - Added EnabledHwnd property to easily allow a driver to find the
  10426. handle of the first enabled window in the parent chain (this is
  10427. used by drivers to pass up input events of disabled windows)
  10428. * XplatUIDriver.cs: Added IsEnabled() method
  10429. * Application.cs:
  10430. - Removed crude and obsolete exiting tracking variable
  10431. - Removed internal ModalRun(); replaced by RunLoop()
  10432. - Implemented private CloseForms() method to allow closing all
  10433. windows owned by a particular (or all) threads
  10434. - Exit() now properly closes all windows without forcing the message
  10435. pump to quit
  10436. - Removed obsolete InternalExit() method
  10437. - Changed Run() methods to use new RunLoop() message pump
  10438. - Implemented new RunLoop() method for both modal and non-modal forms
  10439. * CommonDialog.cs:
  10440. - get_CreateParams: Added setting of WS_DISABLED
  10441. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  10442. invoked via Form.ShowDialog()
  10443. * NativeWindow.cs: We don't remove the window from the collection when
  10444. the handle is destroyed; there might still be messages for it in the
  10445. queue (mainly the resulting WM_DESTROY); instead it will be removed
  10446. when Control calls InvalidateHandle in the WM_DESTROY handler
  10447. * XplatUIX11.cs:
  10448. - CreateWindow: Added logic to handle the WS_DISABLED window style
  10449. - EnableWindow: Implemented based on Hwnd.Enabled
  10450. - GetMessage: Reset PostQuitState so the method can be called again
  10451. - Implemented support for disabled windows (passing messages to the
  10452. first enabled parent) in handling all input messages
  10453. - Added optimizations for handling Expose events
  10454. - Implemeted new driver method IsEnabled()
  10455. - Now always resetting paint pending tracking vars when we start paint
  10456. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  10457. * XplatUIOSX.cs: Added IsEnabled method stub
  10458. * XplatUIWin32.cs: Implemented new IsEnabled() method
  10459. 2006-01-11 Jackson Harper <[email protected]>
  10460. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10461. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  10462. variables a little.
  10463. * ColorDialog.cs: Clear out the old form before adding the new
  10464. panel.
  10465. 2006-01-11 Jackson Harper <[email protected]>
  10466. * X11Dnd.cs: Make sure to add all the text formats when adding
  10467. strings to the data object.
  10468. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  10469. do some redrawing too. Also change the UpdateNode to an
  10470. UpdateBelow so the newly added node gets painted.
  10471. 2006-01-11 Miguel de Icaza <[email protected]>
  10472. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10473. LinkLabel.cs, PropertyGrid.cs: Implement the
  10474. UseCompatibleTextRendering property for 2.x
  10475. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  10476. 2006-01-11 Jackson Harper <[email protected]>
  10477. * TreeView.cs: Use the property for setting the selected node so
  10478. the correct events get raised.
  10479. * TreeNode.cs: Update the tree when the fore/back colours of a
  10480. node are set.
  10481. 2006-01-10 Jackson Harper <[email protected]>
  10482. * TreeView.cs: Allow setting SelectedNode to null.
  10483. 2006-01-9 Jonathan Chambers <[email protected]>
  10484. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  10485. 2006-01-9 Jonathan Chambers <[email protected]>
  10486. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  10487. 2006-01-9 Jonathan Chambers <[email protected]>
  10488. * PrintDialog.cs: Added attributes and set default property values.
  10489. 2006-01-9 Jonathan Chambers <[email protected]>
  10490. * PrintControllerWithStatusDialog.cs:
  10491. Added PrintControllerWithStatusDialog.
  10492. 2006-01-9 Jonathan Chambers <[email protected]>
  10493. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10494. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  10495. 2006-01-9 Jonathan Chambers <[email protected]>
  10496. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  10497. 2006-01-09 Jonathan Chambers <[email protected]>
  10498. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  10499. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  10500. 2006-01-08 Alexander Olk <[email protected]>
  10501. * MimeIcon.cs: Added internal class SVGUtil.
  10502. 2006-01-08 Alexander Olk <[email protected]>
  10503. * FileDialog.cs: Don't crash if there are two files with the
  10504. same name but different locations.
  10505. 2006-01-08 John BouAntoun <[email protected]>
  10506. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  10507. dates across multiple month grids. Used to not highlight entire
  10508. month, but does now.
  10509. 2006-01-06 Jackson Harper <[email protected]>
  10510. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  10511. message loop. Change timer intervals to numbers that seem more
  10512. natural.
  10513. 2006-01-06 John BouAntoun <[email protected]>
  10514. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  10515. object for location info since screen object is now implemented.
  10516. 2006-01-05 Jackson Harper <[email protected]>
  10517. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  10518. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  10519. AsyncMethodResult, this is because we ALWAYS want the
  10520. ManualResetEvent to get set.
  10521. * Control.cs: When disposing use an async invoke to call shutdown
  10522. code, so that thigns don't block on the finalizer thread. Also
  10523. check if we even have a message loop before trying to send
  10524. messages, if we don't then don't bother sending messages.
  10525. - No more weak references for async methods
  10526. * XplatUIDriver.cs: No more weak references for async methods.
  10527. 2006-01-04 Alexander Olk <[email protected]>
  10528. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  10529. returns two FontFamily with the same name
  10530. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10531. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  10532. drawing disabled text. Instead using the ColorGrayText color
  10533. 2006-01-04 Jackson Harper <[email protected]>
  10534. * TreeNode.cs: redraw the node when its image index is changed.
  10535. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10536. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  10537. time I checked there are no others like it.
  10538. 2006-01-04 Jackson Harper <[email protected]>
  10539. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  10540. this gives the behavoir I was looking for.
  10541. * Control.cs: Special case Invoking EventHandlers, this matches MS
  10542. and fixes part of bug #76326.
  10543. 2006-01-04 Alexander Olk <[email protected]>
  10544. * ThemeClearlooks.cs, FileDialog.cs:
  10545. - Reflect the latest Theme class changes
  10546. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  10547. with DateTime
  10548. 2006-01-04 Alexander Olk <[email protected]>
  10549. * Theme.cs: Cache UI resource images and resize them if needed
  10550. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10551. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  10552. is called. This fixes the crash in Nexxia when setting the font
  10553. attributes in the chat. [However, RTF needs a look-over to make sure
  10554. that all SelectionXXX methods handle the special case that selection
  10555. is empty and therefore the change must be applied to all text starting
  10556. at the cursor/selection start]
  10557. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10558. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10559. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  10560. * X11Keyboard.cs: Switched to new way of calling PostMessage
  10561. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10562. * Theme.cs: Added theme interface for images to allow the theme to
  10563. control what images are used for things like FileDialog, MessageBox
  10564. icons, etc.
  10565. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  10566. 2006-01-03 Alexander Olk <[email protected]>
  10567. * FileDialog.cs:
  10568. - Removed some dead code
  10569. - Opening a recently used file does work now
  10570. - Small UI enhancements
  10571. - Refactoring
  10572. 2006-01-02 Alexander Olk <[email protected]>
  10573. * FileDialog.cs: Forgot too add __MonoCS__
  10574. 2006-01-02 Alexander Olk <[email protected]>
  10575. * FileDialog.cs: We are able to read recently used files now let's
  10576. go on and write them.
  10577. 2006-01-01 Alexander Olk <[email protected]>
  10578. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  10579. button
  10580. * MimeIcon.cs: Do a check for the top level media type also
  10581. 2005-12-31 Alexander Olk <[email protected]>
  10582. * ThemeClearlooks.cs:
  10583. - Added CPDrawStringDisabled
  10584. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  10585. some chars if the text doesn't fit into text_rect
  10586. - DrawListViewItem: If View = View.LargeIcon center the image;
  10587. rewrote the drawing of ListViewItem.Text if View =
  10588. View.LargeIcon
  10589. 2005-12-31 Alexander Olk <[email protected]>
  10590. * MimeIcon.cs: Use default KDE icon theme if there is no
  10591. "48x48" directory for the current icon theme, fixes #77114
  10592. * Mime.cs: Disable not working and actually not used code.
  10593. * ThemeWin32Classic.cs:
  10594. - Replace "new SolidBrush" in GetControlBackBrush and
  10595. GetControlForeBrush with ResPool.GetSolidBrush
  10596. - Changed DrawListViewItem from private to protected virtual
  10597. * FileDialog.cs:
  10598. - Added form.MaximizeBox = true
  10599. - Don't throw an exception if there is a broken symbolic link
  10600. 2005-12-23 Jackson Harper <[email protected]>
  10601. * TabControl.cs: Give the panels focus, keyboard navigation is
  10602. fixed so this works correctly now.
  10603. - We need these key events also.
  10604. * ToolBar.cs: Remove some of the poor mans double buffering.
  10605. 2005-12-24 Alexander Olk <[email protected]>
  10606. * ComboBox.cs: The internal TextBox now returns the focus.
  10607. 2005-12-23 Jackson Harper <[email protected]>
  10608. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  10609. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10610. * Control.cs: Removed debug code
  10611. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  10612. implicit children
  10613. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10614. * Control.cs: When creating the control, update the Z-order after
  10615. all it's children are created, too. (Fixes nexxia not showing
  10616. picturebox bug)
  10617. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10618. * Control.cs: Do not update the anchoring distances if layout is
  10619. suspended, instead do it once layout is resumed
  10620. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10621. * Control.cs:
  10622. - After many hours of debugging, for both Jackson and
  10623. myself, it turns out that it helps to set the parent of a control
  10624. if you want to actually see it onscreen. In the spirit of that
  10625. discovery, we're now setting the parent of the control and
  10626. it's children when the control's handle is created. This fix
  10627. will make Lutz Roeder's Reflector run happily.
  10628. - now just creating the handle instead of the whole control when
  10629. getting a graphics context for the control.
  10630. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10631. * ScrollableControl.cs: When calculating the canvas, don't consider
  10632. the scrollbar widths. Instead, predict if horizontal scrollbar
  10633. will affect canvas when deciding on vertical display and vice versa.
  10634. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10635. * RichTextBox.cs: Set default RTF font for documents that don't
  10636. have a font table (Fixes #77076)
  10637. 2005-12-22 Jackson Harper <[email protected]>
  10638. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  10639. clipboard. This prevents a NullRef in that case.
  10640. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  10641. clipboard. PRIMARY is for the currently selected text only. (We
  10642. should implement PRIMARY at some point.
  10643. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10644. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  10645. a Unicode function with a structure that was defined in Ansi way.
  10646. This fixes #76942.
  10647. 2005-12-21 Jackson Harper <[email protected]>
  10648. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  10649. on. Because thats how it rolls. (and this avoids it using ambient
  10650. colours).
  10651. * ThemeWin32Classic.cs: Use the proper back color for filling.
  10652. * Menu.cs: Use the system menu bar color for drawing menu
  10653. bars. Using the window back color will bring ambient colours into
  10654. the picture.
  10655. 2005-12-21 Alexander Olk <[email protected]>
  10656. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  10657. Bitmaps were created and not disposed.
  10658. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10659. * Control.cs (CreateControl): Don't do anything if the control is
  10660. already created, otherwise we'd fire the OnCreated event more than
  10661. once
  10662. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10663. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  10664. will always match. Instead return -1. Fixes #76464.
  10665. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10666. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  10667. neither the beginning nor the end of the line (Fixes bug #76479)
  10668. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10669. * Control.cs:
  10670. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  10671. where handle is invalid
  10672. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  10673. instead of slower linear search
  10674. * NativeWindow.cs: Don't remove the window from the hashtable until
  10675. after the driver has destroyed it (since the driver might use
  10676. Control.FromHandle to lookup the control object
  10677. * Hwnd.cs: Added DestroyPending property to track if a window is
  10678. already destroyed as far as the driver is concerned and only hasn't
  10679. yet notified the control
  10680. * XplatUIX11.cs:
  10681. - Activate(): Check if the window is still valid before using the
  10682. handle
  10683. - Implemented DestroyChildWindow() method to mark child windows as
  10684. destroyed when a window is destroyed. This prevents situations
  10685. where we might call an X method based on queued events for a
  10686. window that already has been destroyed but we haven't yet pulled
  10687. the destroy method from the queue.
  10688. - Added a call to the new DestroyChildWindow() method to the drivers
  10689. DestroyWindow code. Also now marking the destroyed window itself
  10690. as pending
  10691. 2005-12-20 Jackson Harper <[email protected]>
  10692. * StatusBar.cs:
  10693. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  10694. anymore. Just do them when needed, also track the rects of panels
  10695. so that we can optimize refreshing more in the future.
  10696. 2005-12-20 Alexander Olk <[email protected]>
  10697. * ColorDialog.cs: Fixed focus drawing in small color controls
  10698. 2005-12-19 Jackson Harper <[email protected]>
  10699. * InternalWindowManager.cs:
  10700. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  10701. moving windows works properly.
  10702. 2005-12-19 Peter Dennis Bartok <[email protected]>
  10703. * Control.cs:
  10704. - Removed call to InitLayout() from SetBoundsCore(); doc says
  10705. it's only called when a control is added to a container
  10706. - Split InitLayout logic, moved to separate UpdateDistances() method
  10707. since we need to perform those calculations more often than just
  10708. when adding the control to a container. (Needed to fix #77022)
  10709. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  10710. - Reduced the OnBindingContextChanged events count, don't send them
  10711. unless the control is created, we still aren't totally matching
  10712. MS, but I can't quite figure out some of their rules
  10713. 2005-12-18 Alexander Olk <[email protected]>
  10714. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  10715. stripes
  10716. 2005-12-18 Alexander Olk <[email protected]>
  10717. * ThemeClearlooks.cs:
  10718. - Updated ProgressBar drawing
  10719. - Corrected drawing of ScrollBars and scroll buttons
  10720. - Some temporary fixes for minor pixel artefacts
  10721. 2005-12-18 Peter Dennis Bartok <[email protected]>
  10722. * Control.cs:
  10723. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  10724. cause events to be sent in the same order as MS does.
  10725. - Added ChangeParent() method to trigger various OnXXXChanged events
  10726. that need to be fired when a parent changes (This is a reworking
  10727. of the patch from r54254, with the X11 errors fixed)
  10728. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  10729. since on MS we get OnLayoutChanged events when calling Clear()
  10730. - Changed Enabled property to consider parent state as well, if a
  10731. parent is not enabled, the control will not be either
  10732. - Changed Parent property to simply call Controls.Add() since that
  10733. now does all the work required, this way we avoid code duplication
  10734. - Threw in a few OnBindingsContextChanged calls to try and match
  10735. when MS sends them. We seem to send a few too many, though.
  10736. - Added call to CreateControl when adding the control to a parent.
  10737. We were never calling CreateControl. Still needs some work, in
  10738. some places we treat HandleCreated and ControlCreated as equal,
  10739. which is wrong
  10740. - Removed obsolete commented out code from UpdateZOrder()
  10741. 2005-12-18 Alexander Olk <[email protected]>
  10742. * ThemeClearlooks.cs: Updated TrackBar drawing.
  10743. 2005-12-17 Alexander Olk <[email protected]>
  10744. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  10745. 2005-12-17 Alexander Olk <[email protected]>
  10746. * FileDialog.cs: Add the Help button and the open readonly
  10747. checkbox only if needed
  10748. 2005-12-16 Jackson Harper <[email protected]>
  10749. * Control.cs: Make sure we have an active menu before trying to
  10750. process commands on it. Prevents menu-less forms from crashing
  10751. when Alt is pressed.
  10752. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  10753. Dieter Bremes.
  10754. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  10755. 2.0 build.
  10756. 2005-12-16 Jackson Harper <[email protected]>
  10757. * InternalWindowManager.cs: Don't translate tool windows screen
  10758. coordinates. This fixes windows 'bouncing' around when being moved.
  10759. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10760. * TextBoxBase.cs:
  10761. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  10762. not quite MS compatible, MS uses that number only for single line
  10763. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  10764. the limit at 2GB)
  10765. - Now enforcing the MaxLength limit when entering characters
  10766. - Added argument to internal Paste() method to track if it's called
  10767. from programatically or via keyboard, since keyboard driven pastes
  10768. need to enforce max-length
  10769. - Added logic to Paste to only paste as many chars as MaxLength
  10770. allows
  10771. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  10772. * TextControl.cs:
  10773. - Added Length property to return number of characters in document
  10774. - Added private CharCount property which only tracks actual chars
  10775. in the document (no linefeeds) and fires event when CharCount
  10776. changes
  10777. - Added tracking of character count to all methods that alter it
  10778. - Added LengthChanged event to allow applications to subscribe
  10779. to any changes to the document
  10780. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10781. * TextBox.cs:
  10782. - Removed local password_char field (moved to TextBoxBase)
  10783. - Now setting the document's password var when password is
  10784. set
  10785. * TextBoxBase.cs:
  10786. - Added password_char field (needed here so MultiLine can
  10787. access it)
  10788. - Added logic to MultiLine property setter to set the document's
  10789. variable when password display is allowed
  10790. - Removed debug code and made some debug code conditional
  10791. * TextControl.cs:
  10792. - Added RecalculatePasswordLine() method to handle special password
  10793. char only lines
  10794. - Added PasswordChar property, also added related tracking vars
  10795. - Draw() method now uses local text var for grabbing text to draw,
  10796. this var is set to line.text unless we're doing password display,
  10797. then it is set to the pre-generated all-password-chars line
  10798. - Added calling RecalculatePasswordLine() method for password lines
  10799. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10800. * Hwnd.cs:
  10801. - Added Reparented property to allow tracking of Window Manager
  10802. reparenting actions (which affect X/Y calculations of toplevel
  10803. windows)
  10804. - Made ToString() print window handles in hex
  10805. * XplatUIX11.cs:
  10806. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  10807. determine if X/Y needs offsetting
  10808. - AddConfigureNotify(): Fixed offset calculations
  10809. - Now adds ReparentNotify messages into the queue
  10810. - Now processes ReparentNotify messages and causes a
  10811. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  10812. is reparented (as most likely it's X/Y coordinates are changed
  10813. due to that)
  10814. 2005-12-14 Jackson Harper <[email protected]>
  10815. * XplatUIX11.cs: Tool windows still need to respek focus.
  10816. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10817. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  10818. have a working release
  10819. 2005-12-13 Jackson Harper <[email protected]>
  10820. * Form.cs: Update styles after setting the border style regardless
  10821. of whether or not the window is using a window manager.
  10822. 2005-12-13 Jackson Harper <[email protected]>
  10823. * Form.cs: We now hook into an internal window manager instead of just an
  10824. MDI subsystem, this is so we can have properly behaving tool windows.
  10825. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  10826. * InternalWindowManager.cs: New internal class that acts as a
  10827. window manager for tool windows and as a base for mdi windows.
  10828. * MdiWindowManager.cs: New class that acts as a window manager for
  10829. mdi windows.
  10830. 2005-12-12 Jackson Harper <[email protected]>
  10831. * Control.cs: Updates so we match behavoir for for implicit
  10832. controls. Fixes explosions in MDI.
  10833. 2005-12-12 Jackson Harper <[email protected]>
  10834. * Control.cs: Implement Invalidate (Region).
  10835. 2005-12-12 Peter Dennis Bartok <[email protected]>
  10836. * Control.cs:
  10837. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  10838. the same events as MS does. MS fires events for each property
  10839. except, for unknown reasons, Cursor, when the control is reparented.
  10840. I can't seem to totally match add/remove since MS also fires some
  10841. VisibleChanged events, which makes no sense. Consolidated the
  10842. parenting code into a separate method so it can be called from
  10843. both Add and Remove. set_Parent no longer needs any special logic
  10844. as it calls the parent's add method which implicitly fires
  10845. all events
  10846. - Removed some obsolete code and debug output
  10847. - Enabled state is inherited from parents, if this is enabled
  10848. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10849. * Form.cs: Removed commented out code
  10850. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10851. * Control.cs:
  10852. - Added internal version of Invoke, with additional argument
  10853. indicating if we're calling it from a Dispose() handler. That
  10854. way we can avoid BeginInvoke throwing an exception if we're
  10855. calling for an already destroyed window.
  10856. - Added a dispose argument to BeginInvokeInternal, and made the
  10857. check if a valid window handle chain exists conditional on
  10858. it not being a dispose call
  10859. - Removed code in DestroyHandle to destroy our children. Since we
  10860. now handle the WM_DESTROY message we will catch all our children
  10861. being destroyed.
  10862. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  10863. * Form.cs:
  10864. - Added a field to track the application context of the form.
  10865. - No need to set closing variable as response to WM_CLOSE, instead
  10866. we destroy the window. We also call PostQuitMessage if the form
  10867. has an application context (which makes it the main app form,
  10868. which, when closed terminates the app)
  10869. * XplatUI.cs:
  10870. - Dropped Exit() method, it's naming was confusing
  10871. - Added PostQuitMessage() which causes GetMessage to return false
  10872. once the message queue is empty
  10873. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  10874. PostQuitMessage()
  10875. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  10876. no longer a valid XplatUI method, but left it in since it's used
  10877. internally. Added empty PostQuitMessage() method.
  10878. * MenuAPI.cs: Replaced call to Exit() with call to
  10879. PostQuitMessage, even though this is probably no longer needed.
  10880. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  10881. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  10882. * Application.cs:
  10883. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  10884. - Removed old debug code that would call XplatUI for exception
  10885. display, enabled standard exception handling (Still not enabled
  10886. though, until NativeWindow's ExternalExceptionHandler define
  10887. is removed
  10888. * NativeWindow.cs:
  10889. - Added internal method to allow control to update NativeWindow
  10890. after a window has been destroyed
  10891. - Added handling of already destroyed windows when calling i
  10892. DestroyWindow
  10893. - Added removal of handle from list on ReleaseHandle
  10894. * XplatUIX11.cs:
  10895. - Dropped GetMessageResult var and related code
  10896. - Added PostQuitState to field to track if PostQuitMessage has been
  10897. called
  10898. - Dropped Exit() method
  10899. - Added PostQuitMessage() method
  10900. - GetMessage now will return false if PostQuitState is set and no
  10901. more messages are in the queue.
  10902. - Expose handler will no longer generate WM_PAINT messages if we are
  10903. in PostQuitState since it's very likely any windows have already
  10904. been destroyed, and since Hwnd won't get updated until we have
  10905. processed the DestroyNotify we'd be causing X errors.
  10906. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10907. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  10908. Thanks to Mike for pointing out the err of my ways.
  10909. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10910. * Control.cs(PreProcessMessage): Moved menu handling back, but
  10911. after all other key handling, to match MS (who handles Menu in
  10912. DefWndProc)
  10913. * Menu.cs (WndProc): Removed my brainfart
  10914. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10915. * Control.cs(PreProcessMessage): Removed special menu handling
  10916. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  10917. 2005-12-07 Mike Kestner <[email protected]>
  10918. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  10919. state according in tracker.
  10920. * Menu.cs : promote tracker field to base class and provide a tracker
  10921. lookup capability. Add/Remove shortcuts dynamically if the top menu
  10922. has a tracker. Unparent items that are removed from the collection.
  10923. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  10924. * Theme*.cs: add always_show_hotkeys field to support configurability
  10925. of mnemonic display. win32 doesn't show mnemonics until Alt is
  10926. pressed.
  10927. 2005-12-07 Jackson Harper <[email protected]>
  10928. * MdiChildContext.cs: Use Control.ResetCursor.
  10929. * Control.cs: ResetCursor needs to set the property so that the
  10930. correct XplatUI call gets made.
  10931. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10932. * Control.cs: More fixes to make our key events match MS. We
  10933. were not setting the modifier state on KeyData, and we were
  10934. not generating any events when Alt was pressed with a key
  10935. since handling of WM_SYSxxx was missing for the OnKey methods.
  10936. 2005-12-07 Jackson Harper <[email protected]>
  10937. * MdiChildContext.cs: reenable the sizing code.
  10938. - When the mouse leaves a window reset its cursor.
  10939. 2005-12-07 Alexander Olk <[email protected]>
  10940. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  10941. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10942. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  10943. widths of Fixed3D borders
  10944. 2005-12-07 Jackson Harper <[email protected]>
  10945. * MdiClient.cs: Fix warnings. Earn Mike's love.
  10946. 2005-12-07 Alexander Olk <[email protected]>
  10947. * ThemeClearlooks.cs:
  10948. - Adjusted mouse over button color
  10949. - Added first parts of CheckBox drawing
  10950. - Added correct color for selected text background
  10951. - Fixed ComboBox drawing
  10952. - Added CPDrawBorder3D and CPDrawBorder
  10953. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10954. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  10955. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10956. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10957. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  10958. alert users via sound. We could add an enum arg with different
  10959. types of alerts in the future
  10960. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10961. * Control.cs: Fix behaviour problems pointed out by Mike
  10962. 2005-12-05 Mike Kestner <[email protected]>
  10963. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  10964. prop setters. Calls parent.Refresh for now, but could be maybe be
  10965. optimized with an internal method on StatusBar at some point.
  10966. [Fixes #76513]
  10967. 2005-12-05 Peter Dennis Bartok <[email protected]>
  10968. * RichTextBox.cs: Implemented get_SelectionColor
  10969. 2005-12-05 Alexander Olk <[email protected]>
  10970. * ThemeClearlooks.cs:
  10971. - Removed dead code
  10972. - Draw black button border only if button is Form.AcceptButton
  10973. - Draw correct button color for pressed RadioButton if the mouse
  10974. has entered the button
  10975. - Updated ProgressBar drawing!
  10976. - Updated CPDrawSizeGrip drawing
  10977. - Updated StatusBarPanel drawing
  10978. 2005-12-05 Mike Kestner <[email protected]>
  10979. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  10980. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  10981. 2005-12-04 Alexander Olk <[email protected]>
  10982. * ThemeClearlooks.cs: Initial check-in, activate with
  10983. export MONO_THEME=clearlooks
  10984. * ThemeEngine.cs: Added ThemeClearlooks
  10985. 2005-12-03 Mike Kestner <[email protected]>
  10986. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  10987. [Fixes #76897]
  10988. 2005-12-02 Jackson Harper <[email protected]>
  10989. * Form.cs: If the child form has no menu the default main menu is
  10990. used as the active menu.
  10991. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10992. * ListBox.cs: Check if any items exist before trying to resolve
  10993. coordinates into items
  10994. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10995. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  10996. as the second color for the background hatch
  10997. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10998. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  10999. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  11000. sure that what we pass to FormatText is always 1-based. Fixes #76885
  11001. 2005-11-29 Miguel de Icaza <[email protected]>
  11002. * NumericUpDown.cs (EndInit): When we are done initializing,
  11003. reflect any updates on the UI.
  11004. 2005-12-02 Jackson Harper <[email protected]>
  11005. * ImplicitHScrollBar.cs:
  11006. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  11007. their container controls.
  11008. * TreeView.cs: Use the new implicit scrollbars.
  11009. 2005-12-02 Jackson Harper <[email protected]>
  11010. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  11011. can play with it.
  11012. * TreeNodeCollection.cs: If we remove the topnode we need to
  11013. update topnode to the next node in line.
  11014. - When clearing nodes go through the same process as removing
  11015. them, so they get depareneted and checked if they are top node.
  11016. 2005-12-01 Jackson Harper <[email protected]>
  11017. * TreeView.cs: When imagelists are used the image area is
  11018. selectable as well as the text.
  11019. - If there are no selected nodes select the first one.
  11020. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  11021. so don't do it more then we need to.
  11022. 2005-12-01 Jackson Harper <[email protected]>
  11023. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  11024. that arrows can be scaled.
  11025. 2005-12-01 Jackson Harper <[email protected]>
  11026. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  11027. fail. Patch by Dieter Bremes
  11028. 2005-11-30 Jackson Harper <[email protected]>
  11029. * Form.cs: Property is 2.0 only
  11030. * PrintDialog.cs: Signature fix.
  11031. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11032. * TextControl.cs:
  11033. - No longer artificially moves text 2 pixels down (now that we have
  11034. borders this is no longer needed)
  11035. - Added calcs for left, hanging and right indent
  11036. 2005-11-23 Mike Kestner <[email protected]>
  11037. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  11038. 2005-11-30 Jackson Harper <[email protected]>
  11039. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  11040. get cloned as part of CloneMenu ().
  11041. * Menu.cs: Make sure the parent of the items get set correctly
  11042. when they are added. And the owners are notified of the changes.
  11043. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  11044. we can change the menu being displayed/handled by the form without
  11045. changing the menu assosciated with the form.
  11046. - Don't let Mdi children draw/handle menus.
  11047. 2005-11-30 Jackson Harper <[email protected]>
  11048. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  11049. a MenuChanged event. Just to make the API a little more
  11050. consistent.
  11051. * MainMenu.cs:
  11052. * MenuItem.cs: Use the new OnMenuChanged
  11053. * MdiChildContext.cs: Handle menu merging.
  11054. * Form.cs: Implement MergedMenu.
  11055. 2005-11-30 Jackson Harper <[email protected]>
  11056. * Menu.cs: We were misusing Add. Add goes behind the specified
  11057. index according to the docs, and does not replace the specified
  11058. index. So I added an Insert method.
  11059. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11060. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  11061. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  11062. is for Jackson
  11063. * RichTextBox.cs: Added calls to base for DnD events
  11064. 2005-11-28 Peter Dennis Bartok <[email protected]>
  11065. * TextControl.cs:
  11066. - Fixed drag-selection related crash; style fixes
  11067. - Implemented undo class
  11068. o Implemented method to capture document state for specified
  11069. range in document tree
  11070. o Implemented method to restore captured document state
  11071. o Implemented cursor tracking
  11072. o Implemented basic undo stack
  11073. - Added undo cursor tracking to methods altering cursor location
  11074. - Added undo tracking to selection deletion (still missing
  11075. other text-altering hookups)
  11076. * RichTextBox.cs:
  11077. - Added SelectionLength property
  11078. - Implemented CanPaste()
  11079. - Implemented Paste()
  11080. - Added missing protected methods
  11081. - Fixed RTF->Document conversion; now uses font index 0 and color
  11082. index 0 as the default font for the parsed text
  11083. - Fixed RTF<->Document font size translation
  11084. - Fixed RTF generation, now properly handles cross-tag boundaries
  11085. for single line selection
  11086. - No longer always appends blank line to generated RTF
  11087. - Removed TODOs
  11088. - Added missing attributes
  11089. - Hooked up undo-related methods
  11090. * TextBoxBase.cs:
  11091. - Implemented Copy()
  11092. - Implemented Paste()
  11093. - Implemented Cut()
  11094. - Fixed caret mis-behaviour on backspace across line-boundaries
  11095. 2005-11-29 Jackson Harper <[email protected]>
  11096. * MdiClient.cs: Add a method for activating mdi children. Very
  11097. basic right now. I imagine someday it might need more girth.
  11098. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  11099. children windows names are added to the menu item.
  11100. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  11101. mdilist. This happens regardless of whether or not there are any
  11102. mdi windows to see in the list, and according to my tests happens
  11103. before the items are even added. Also happens if there isn't even
  11104. an mdi client to get windows from.
  11105. 2005-11-29 Alexander Olk <[email protected]>
  11106. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  11107. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  11108. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  11109. * DataGridTableStyle.cs:
  11110. - Create always the styles for the missing columns even if they are
  11111. provided by the user (not default table style)
  11112. * DataGrid.cs:
  11113. - Fixes bug 76770
  11114. - Fixes SetDataBinding (always re-attach source)
  11115. - Fixes SetNewDataSource (only clear styles if they are not for
  11116. this source)
  11117. - Expands OnTableStylesCollectionChanged to handle style refresh
  11118. and remove properly
  11119. 2005-11-29 Jackson Harper <[email protected]>
  11120. * FileDialog.cs: Implement missing bits, remove some dead
  11121. code.
  11122. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  11123. creation of the panel so that the options set on the dialog are
  11124. seen when the panel is created.
  11125. * TreeView.cs: raise a click when items are clicked.
  11126. 2005-11-29 Jackson Harper <[email protected]>
  11127. * MdiClient.cs: Pass some signature methods through to base.
  11128. 2005-11-28 Jackson Harper <[email protected]>
  11129. * ListView.cs: Raise the click event when items are clicked.
  11130. 2005-11-28 Jackson Harper <[email protected]>
  11131. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  11132. a nullref.
  11133. 2005-11-27 Alexander Olk <[email protected]>
  11134. * ThemeNice.cs: - Removed 1 pixel bitmaps
  11135. - Use SmoothingMode.AntiAlias where it makes sense
  11136. (ScrollButton arrow for example)
  11137. - Enhanced Button focus drawing
  11138. - Fixed ComboBox drawing (no artefacts anymore, focus
  11139. rectangle is back again, reduced size of ComboButton, etc.)
  11140. - Fixed RadioButton focus drawing for Appearence.Button
  11141. - Slight ScrollButton redesign
  11142. - Some LinearGradientBrush size fixes
  11143. - GroupBoxes have now rounded edges
  11144. - Fixed StatusBar drawing
  11145. 2005-11-25 Alexander Olk <[email protected]>
  11146. * ThemeNice.cs: - Remove dead code
  11147. - use correct background colors for menus, etc.
  11148. - Fake pixel drawing with 1 pixel bitmaps
  11149. 2005-11-24 Jackson Harper <[email protected]>
  11150. * MdiClient.cs: Size the scrollbars when resizing the window.
  11151. - Resize the maximized windows when the client is resized
  11152. * Form.cs: Make the child context available
  11153. 2005-11-23 Jackson Harper <[email protected]>
  11154. * MdiChildContext.cs: Don't size windows if they are maximized.
  11155. 2005-11-23 Mike Kestner <[email protected]>
  11156. * ContextMenu.cs: use MenuTracker.
  11157. * Control.cs: remove menu handle usage.
  11158. * Form.cs: remove menu handle usage.
  11159. * Hwnd.cs: remove menu handle usage.
  11160. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  11161. motion and clicks to the new Tracker handlers.
  11162. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  11163. and handle usage.
  11164. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  11165. Killed the MENU and MENUITEM data types and associated collections
  11166. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  11167. MenuTracker class that exposes the leftovers from the old MenuAPI
  11168. static methods. Restructured Capture handling so that only one grab is
  11169. done for the entire menu hierarchy instead of handing off grabs to
  11170. submenus. Tracker now has an invisible control to Capture when active.
  11171. * MenuItem.cs: add sizing accessors, kill Create
  11172. and handle usage.
  11173. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  11174. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  11175. MENU(ITEM). remove menu handle usage, use Menu directly.
  11176. * XplatUIDriver.cs: remove menu handle usage.
  11177. * XplatUIOSX.cs: remove menu handle usage.
  11178. * XplatUIWin32.cs: remove menu handle usage.
  11179. * XplatUIX11.cs: remove menu handle usage.
  11180. 2005-11-22 Jackson Harper <[email protected]>
  11181. * Hwnd.cs: Don't compute the menu size for
  11182. DefaultClientRectangle.
  11183. - Reenable menu sizes being computed for GetClienRectangle.
  11184. * Form.cs: Remove comment of trechery
  11185. 2005-11-22 Jackson Harper <[email protected]>
  11186. * Hwnd.cs: The adjustments for the menu bar are made when it is
  11187. attached to the form.
  11188. 2005-11-19 Jackson Harper <[email protected]>
  11189. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  11190. (just like on windows).
  11191. 2005-11-19 Jackson Harper <[email protected]>
  11192. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  11193. use real buttons anymore because they are in non client area. The
  11194. one TODO here is that I need to somehow invalidate a section of
  11195. the non client area.
  11196. 2005-11-18 Jackson Harper <[email protected]>
  11197. * Control.cs: Put the enum check back in now that MDI doesnt have
  11198. to use this to set border styles.
  11199. * Form.cs: Only set mdi child windows borders if the handle has
  11200. been created.
  11201. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  11202. this directly on to the driver.
  11203. - Get the move start position before adjusting for the titlebar
  11204. height, this fixes the windows "skipping" when they are first
  11205. moved.
  11206. 2005-11-18 Jackson Harper <[email protected]>
  11207. * XplatUIX11.cs: Just compute the mdi borders separately as they
  11208. don't totally match up with normal form borders.
  11209. 2005-11-18 Jackson Harper <[email protected]>
  11210. * Control.cs: Set WS_ styles for borders, so that the driver does
  11211. not have to retrieve the control instance to figure out what kind
  11212. of borders it should have.
  11213. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  11214. driver can know its an mdi child easily.
  11215. * XplatUIX11.cs: Get the border styles and whether the window is
  11216. MDI from the Styles and ExStyles params instead of having to get a
  11217. control. This prevents a chicken and egg problem.
  11218. 2005-11-18 Jackson Harper <[email protected]>
  11219. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  11220. 2005-11-18 Jackson Harper <[email protected]>
  11221. * MdiClient.cs: Calculate when to add and remove scrollbars
  11222. correctly.
  11223. * MdiChildContext.cs: Adjust the y position to take the titlebar
  11224. into account.
  11225. - No height for FormBorderStyle.None
  11226. 2005-11-18 Jackson Harper <[email protected]>
  11227. * Control.cs: Allow non enum values to be used for
  11228. InternalBorderStyle. MDI does this to set a special border style.
  11229. - New utility methods for converting points to/from client coords
  11230. - Add the newly created control to the Controls collection before
  11231. updating its style. This way UpdateStyle can walk the control
  11232. heirarchy to find the control if needed.
  11233. so I don't need to create a new Point object all the time.
  11234. * Form.cs: Let MDI windows handle their border styles.
  11235. - Set styles on MDI windows so the correct title style is derived.
  11236. * MdiChildContext.cs: Move all the painting and window handling
  11237. into the non client area.
  11238. - Use correct sizing and put correct buttons on frames based on
  11239. the FormBorderStyle.
  11240. - Notify the mdi client about scrolling
  11241. - Need to handle the buttons ourselves now, because they are all
  11242. in non client areas and we can't add controls there.
  11243. * MdiClient.cs: Halfway to scrolling, this implementation is
  11244. somewhat broken though, we need to check to make sure other
  11245. windows aren't causing scrolling before removing the bars. Also
  11246. the bars need to be drawn on top, maybe I can switch implicit
  11247. controls to be on top.
  11248. * Hwnd.cs: caption_height and tool_caption_height are now
  11249. properties of an hwnd, this way they can be set by the driver
  11250. based on the type of window they are. In X11 the window manager
  11251. handles the decorations so caption_height is zero unless its an
  11252. MDI window.
  11253. - Add 3 pixel borders for MDI windows (0xFFFF).
  11254. - Get rid of some code duplication, have DefaultClientRectanle
  11255. just call GetClientRectangle.
  11256. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  11257. Hwnd now.
  11258. - Set border styles differently for mdi windows.
  11259. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  11260. Hwnd now.
  11261. 2005-11-15 Mike Kestner <[email protected]>
  11262. * Menu.cs: when adding an item to the collection, if item is already
  11263. parented, remove it from the parent.
  11264. 2005-11-13 Alexander Olk <[email protected]>
  11265. * X11DesktopColors.cs: Added KDE support
  11266. 2005-11-11 Peter Dennis Bartok <[email protected]>
  11267. * XplatUIWin32.cs:
  11268. - Clipboard methods now can translate Rtf format
  11269. - No longer removes clipboard contents whenever a new format is added
  11270. to allow placing multiple formats on the clipboard
  11271. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  11272. will place all formats contained in it onto the clipboard. Also
  11273. now cleans the clipboard before placing a new object onto it
  11274. * RichTextBox.cs:
  11275. - Implemented set_Rtf
  11276. - Implemented set_SelectedRtf
  11277. - Created InsertRTFFromStream() method to allow single code base
  11278. for all properties and methods that insert RTF into document
  11279. - Removed debug output
  11280. * TextControl.cs:
  11281. - Fixed Delete(int) to fix up line numbers
  11282. - Fixed ReplaceSelection to combine start and end line
  11283. - Fixed serious DeleteChars bug that would leave the document tree
  11284. broken
  11285. - Improved DumpTree with several logic checks to detect broken
  11286. document trees
  11287. - Removed debug lines
  11288. - Fixed Caret.WordForward/WordBack moving code, now always also
  11289. updates caret.tag (fixes crash when word-selecting across tag
  11290. boundaries via keyboard)
  11291. - Added Insert() method for inserting multiline text into documents
  11292. - Fixed DeleteChars() calculation errors that would cause a broken
  11293. tag chain with multiple tag lines
  11294. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  11295. - Split() no longer moves caret if split is at caret location
  11296. - ReplaceSelection() now updates the cursor and re-displays it
  11297. - ReplaceSelection() now uses new Insert() method to avoid code
  11298. duplication
  11299. - FormatText() can now handle formatting partial lines
  11300. * TextBoxBase.cs:
  11301. - Append now uses new TextControl.Insert() method (this avoids
  11302. duplicate code)
  11303. - Implemented Ctrl-X (Cut) (
  11304. - Implemented Ctrl-C (Copy)
  11305. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  11306. regeneration when pasting text; roundtripping Copy&Paste within
  11307. edit control still fails due to some calculation bugs in GenerateRTF)
  11308. - The Delete key will now remove the current selection if it is visible
  11309. * TextBox.cs: Removed debug lines
  11310. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  11311. driver to be initialized and can't therefore be done via a static ctor)
  11312. 2005-11-10 Peter Dennis Bartok <[email protected]>
  11313. * TextControl.cs: Added backend code for finding char arrays and strings
  11314. * TextBoxBase.cs:
  11315. - Added mouse wheel scroll support
  11316. - Added support for VScroll and HScroll events
  11317. * RichTextBox.cs:
  11318. - Implemented all seven Find() variants
  11319. - Implemented GetCharFromPosition()
  11320. - Implemented GetCharIndexFromPosition()
  11321. - Implemented GetLineFromIndex()
  11322. - Implemented GetPositionFromCharIndex();
  11323. - Implemented SaveFile for PlainText and UnicodeText
  11324. - Fixed set_Font, now setting a new font applies that font to
  11325. the whole document
  11326. - Implemented generic Document to RTF converter
  11327. - Implemented SaveFile for RichText format (still missing unicode
  11328. conversion for non-ansi chars)
  11329. - Implemented get_Rtf
  11330. - Implemented get_SelectedRtf
  11331. 2005-11-09 Peter Dennis Bartok <[email protected]>
  11332. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  11333. to allow any captures to be released before triggering OnClick. This
  11334. way a click handler may capture the mouse without interference.
  11335. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  11336. This way we send them even though X may not allow a grab (if the window
  11337. isn't visible, for example)
  11338. 2005-11-08 Pedro Martinez Julia <[email protected]>
  11339. * DataGridViewRowEventArgs.cs: DataGridView implementation
  11340. * DataGridViewElement.cs: DataGridView implementation
  11341. * DataGridViewComboBoxCell.cs: DataGridView implementation
  11342. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  11343. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  11344. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  11345. * ImageLayout.cs: DataGridView implementation
  11346. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  11347. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  11348. * DataGridViewSelectionMode.cs: DataGridView implementation
  11349. * IDataGridViewEditingControl.cs: DataGridView implementation
  11350. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  11351. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  11352. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  11353. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  11354. * DataGridViewColumnSortMode.cs: DataGridView implementation
  11355. * DataGridView.cs: DataGridView implementation
  11356. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  11357. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  11358. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  11359. * Padding.cs: DataGridView implementation
  11360. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  11361. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  11362. * DataGridViewRowEventHandler.cs: DataGridView implementation
  11363. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  11364. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  11365. * DataGridViewButtonCell.cs: DataGridView implementation
  11366. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  11367. * DataGridViewEditMode.cs: DataGridView implementation
  11368. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  11369. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  11370. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  11371. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  11372. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  11373. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  11374. * DataGridViewCellEventHandler.cs: DataGridView implementation
  11375. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  11376. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  11377. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  11378. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  11379. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  11380. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  11381. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  11382. * QuestionEventArgs.cs: DataGridView implementation
  11383. * IDataGridViewEditingCell.cs: DataGridView implementation
  11384. * DataGridViewTriState.cs: DataGridView implementation
  11385. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  11386. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  11387. * DataGridViewColumnCollection.cs: DataGridView implementation
  11388. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  11389. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  11390. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  11391. * DataGridViewColumn.cs: DataGridView implementation
  11392. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  11393. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  11394. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  11395. * DataGridViewRow.cs: DataGridView implementation
  11396. * DataGridViewImageCellLayout.cs: DataGridView implementation
  11397. * DataGridViewImageCell.cs: DataGridView implementation
  11398. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  11399. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  11400. * DataGridViewHeaderCell.cs: DataGridView implementation
  11401. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  11402. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  11403. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  11404. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  11405. * QuestionEventHandler.cs: DataGridView implementation
  11406. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  11407. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  11408. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  11409. * DataGridViewCell.cs: DataGridView implementation
  11410. * DataGridViewCellEventArgs.cs: DataGridView implementation
  11411. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  11412. * DataGridViewCellStyle.cs: DataGridView implementation
  11413. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  11414. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  11415. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  11416. * TextFormatFlags.cs: DataGridView implementation
  11417. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  11418. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  11419. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  11420. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  11421. * DataGridViewButtonColumn.cs: DataGridView implementation
  11422. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  11423. * HandledMouseEventArgs.cs: DataGridView implementation
  11424. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  11425. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  11426. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  11427. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  11428. * DataGridViewRowCollection.cs: DataGridView implementation
  11429. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  11430. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  11431. * DataGridViewHitTestType.cs: DataGridView implementation
  11432. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  11433. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  11434. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  11435. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  11436. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  11437. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  11438. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  11439. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  11440. * DataGridViewContentAlignment.cs: DataGridView implementation
  11441. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  11442. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  11443. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  11444. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  11445. * DataGridViewPaintParts.cs: DataGridView implementation
  11446. * DataGridViewCellCollection.cs: DataGridView implementation
  11447. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  11448. * DataGridViewImageColumn.cs: DataGridView implementation
  11449. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  11450. * DataGridViewElementStates.cs: DataGridView implementation
  11451. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  11452. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  11453. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  11454. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  11455. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  11456. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  11457. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  11458. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  11459. * DataGridViewTextBoxCell.cs: DataGridView implementation
  11460. * DataGridViewBand.cs: DataGridView implementation
  11461. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  11462. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  11463. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  11464. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  11465. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  11466. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  11467. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  11468. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  11469. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  11470. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  11471. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  11472. 2005-11-08 Peter Dennis Bartok <[email protected]>
  11473. * ThemeWin32Classic.cs:
  11474. - Draw the outside focus rectangle around buttons
  11475. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  11476. doesn't use end caps for every dash of a line anymore. This
  11477. workaround ignores the forecolor.
  11478. 2005-11-08 Kornél Pál <[email protected]>
  11479. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  11480. endian safe.
  11481. 2005-11-07 Jackson Harper <[email protected]>
  11482. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  11483. 2005-11-07 Jackson Harper <[email protected]>
  11484. * ScrollableControl.cs: Calculate the maximum and change vars
  11485. (more) correctly so that scrollbars appear as a sensible size.
  11486. 2005-11-04 Jackson Harper <[email protected]>
  11487. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  11488. collection.
  11489. * TreeView.cs: When the tree is sorted null out the top_node so
  11490. that it is recalculated.
  11491. - Use dotted lines instead of dashed lines to match MS better.
  11492. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  11493. * ListView.cs:
  11494. - Implements key search for items. Useful when browsing files with FileDialog
  11495. - When changing view mode or when clear the items reset scrollbar positions
  11496. 2005-11-04 Jackson Harper <[email protected]>
  11497. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  11498. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  11499. as to what the method may do as there is no real way of creating a
  11500. derived CurrencyManager and calling the method.
  11501. 2005-11-03 Jackson Harper <[email protected]>
  11502. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  11503. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  11504. method which seems to just be used internally to refresh the tabs.
  11505. 2005-11-03 Jackson Harper <[email protected]>
  11506. * TabControl.cs: Implement the remove method. Fix some broken
  11507. comments.
  11508. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11509. * DateTimePicker.cs:
  11510. - Added missing DateTimePickerAccessibleObject class
  11511. - Added missing events
  11512. - Added OnFontChanged method
  11513. * Form.cs: Added missing attributes
  11514. * TreeView.cs: Added missing attributes
  11515. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11516. * GridItemCollection.cs: Fix signatures
  11517. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11518. * XplatUI.cs: Updated build rev/date
  11519. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  11520. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  11521. * Application.cs: Trigger context-specific ExitThread events
  11522. 2005-11-03 Jackson Harper <[email protected]>
  11523. * Menu.cs:
  11524. * MainMenu.cs:
  11525. * GridTableStylesCollection.cs:
  11526. * Timer.cs:
  11527. * TabPage.cs:
  11528. * HelpProvider.cs:
  11529. * StatusBar.cs:
  11530. * MonthCalendar.cs: Signature fixes
  11531. 2005-11-03 Jackson Harper <[email protected]>
  11532. * TreeNodeCollection.cs: Remove should not be virtual.
  11533. * TreeView.cs: Implement the last of the missing methods.
  11534. 2005-11-03 Jackson Harper <[email protected]>
  11535. * TreeNodeConverter.cs: Implement to get off my class-status back.
  11536. 2005-11-03 Jackson Harper <[email protected]>
  11537. * TreeView.cs: Hookup the bits for drag and drop.
  11538. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  11539. that nodes can be moved from tree to tree easily this just causes
  11540. all sorts of problems.
  11541. * TreeNodeCollection: Don't need to give treenodes an index and
  11542. treeview anymore when they are added, these are computed on the
  11543. fly. Also make sure to remove a node before its added.
  11544. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11545. * TextControl.cs:
  11546. - Added CaretSelection enum
  11547. - Added comparison methods to Marker struct, makes selection code
  11548. more readable
  11549. - Added SelectionStart and SelectionEnd as 'moveable' location for
  11550. the CaretDirection enum and handler
  11551. - Added selection_prev variable to track optimized invalidation for
  11552. word and line selection
  11553. - Added SelectionVisible property (returns true if there is a valid
  11554. selection)
  11555. - Switched CaretHasFocus to only display the caret if there is no
  11556. visible selection
  11557. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  11558. using the direct character index; should be much faster
  11559. - Added various conditional debug statements
  11560. - Fixed invalidation calculation for selection ranges
  11561. - Added ExpandSelection() method to support word and line selection
  11562. - Switched SetSelectionToCaret to use new Marker compare overloads
  11563. - Added central IsWordSeparator() method to determine word
  11564. separators/whitespace and FindWordSeparator() to streamline common
  11565. usage of IsWordSeparator()
  11566. * TextBoxBase.cs:
  11567. - Removed unneeded grabbed variable, it was just mirroring
  11568. Control.Capture
  11569. - No longer firing OnTextChanged event when Text setter is called,
  11570. since the base will fire the event for us
  11571. - Added handling of Ctrl-Up/Down selection
  11572. - Added handling of Shift-Cursorkey selection
  11573. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  11574. words
  11575. - Added handling of Shift and Ctrl-Shift-Home/End selection
  11576. - Removed some debug output
  11577. - Added handling for single/double/tripple-click to place caret/
  11578. select word/select line respectively (Fixes bug #76031)
  11579. - Added support for drag expansion of word/line selection
  11580. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  11581. current selection
  11582. 2005-11-02 Jackson Harper <[email protected]>
  11583. * X11Dnd.cs: If the drag is going to and from a MWF window just
  11584. copy the data instead of sending it out through the X Selection
  11585. mechanism.
  11586. 2005-11-02 Jackson Harper <[email protected]>
  11587. * X11Dnd.cs:
  11588. * XplatUIX11.cs: When in a drag we don't want motion notify
  11589. messages to get passed on to the other controls. This prevents
  11590. mouse move messages from showing up in the drag source.
  11591. 2005-11-02 Jackson Harper <[email protected]>
  11592. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  11593. the correct button is release to end a drag.
  11594. * XplatUIX11.cs: Make the button state internal so the drag system
  11595. can access it. Dragging needs to know about all button releases,
  11596. not just left button.
  11597. 2005-11-02 Miguel de Icaza <[email protected]>
  11598. * Form.cs (Icon): If the icon is null, reset the icon to the
  11599. default value.
  11600. * Cursor.cs: When writing the AND-mask bitmap do not include the
  11601. number of colors, but hardcode those to two (black and white),
  11602. fixes the loading of color cursors (Paint Dot Net).
  11603. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  11604. turn off autoscaling.
  11605. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  11606. 2005-11-02 Jackson Harper <[email protected]>
  11607. * X11Dnd.cs: Make sure to send a status message if the pointer
  11608. enters a control that can not accept a drop, otherwise the cursor
  11609. isn't updated correctly. Also tried to compress the lines of code
  11610. a bit.
  11611. 2005-11-02 Jackson Harper <[email protected]>
  11612. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  11613. set actions correctly. This isn't perfect as XDND and win32 have
  11614. some differences on how you allow actions. I'll clear this up by
  11615. adding a path for drag from MWF to MWF windows.
  11616. * XplatUIX11.cs: Hook into the dnd system.
  11617. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  11618. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  11619. previously shown but they are no longer need it. Very obvious when
  11620. browsing files with FileDialog.
  11621. 2005-11-01 Peter Dennis Bartok <[email protected]>
  11622. * Control.cs: We always need to call OnPaintBackground. We pretty much
  11623. ignore AllPaintingInWmPaint and always do the painting there, whether
  11624. it's set or not, since we always ignore the WM_ERASEBKGND message
  11625. (which we don't generate on X11). This fixes #76616.
  11626. * Panel.cs: Removed unneeded background painting. This happens properly
  11627. in Control.cs already
  11628. 2005-10-31 Mike Kestner <[email protected]>
  11629. * Menu.cs: Add items to collection before setting their index.
  11630. * MenuItem.cs : add range checking with ArgumentException like MS.
  11631. [Fixes #76510]
  11632. 2005-10-31 Jackson Harper <[email protected]>
  11633. * ListBox.cs: Invalidate if the area is visible at all not just
  11634. contained in the visible rect. Fixes unselection of semi visible
  11635. items.
  11636. 2005-10-31 Jackson Harper <[email protected]>
  11637. * Control.cs: Consistently name the dnd methods. Make them
  11638. internal so we can override them to match some MS behavoir
  11639. internally.
  11640. * Win32DnD.cs: Use the new consistent names.
  11641. 2005-10-31 Jackson Harper <[email protected]>
  11642. * TreeView.cs: Don't draw the selected node when we lose focus.
  11643. 2005-10-31 Jackson Harper <[email protected]>
  11644. * X11Dnd.cs: We still need to reset the state even though a full
  11645. reset isn't being done, otherwise status's still get sent all over
  11646. the place.
  11647. 2005-10-31 Jackson Harper <[email protected]>
  11648. * Control.cs: Make the dnd_aware flag internal so the dnd
  11649. subsystem can check it. Catch exceptions thrown in dnd handlers to
  11650. match MS behavoir.
  11651. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  11652. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  11653. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  11654. flags to reduce the number of dnd enters/status's sent.
  11655. 2005-10-31 Jackson Harper <[email protected]>
  11656. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  11657. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  11658. * PictureBox.cs: Fixes 76512
  11659. 2005-10-28 Jackson Harper <[email protected]>
  11660. * X11Dnd.cs: Early implementation to support winforms being a drag
  11661. source for data on X11. Also restructured the converters so they
  11662. can go both ways now.
  11663. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  11664. 2005-10-27 Peter Dennis Bartok <[email protected]>
  11665. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  11666. clipboard requests
  11667. 2005-10-27 Jackson Harper <[email protected]>
  11668. * TreeNode.cs: Implement serialization so my DnD examples will work.
  11669. 2005-10-24 Kornél Pál <[email protected]>
  11670. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  11671. TreeView.cs: Don't dispose objects that are not owned.
  11672. 2005-10-24 Peter Dennis Bartok <[email protected]>
  11673. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  11674. should retrieve the current cursor and report that, but XplatUI
  11675. doesn't (yet) have an interface for that (and I'm not sure I even
  11676. can, on X11)
  11677. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  11678. until any message loop processing is done (and the WM_SETCURSOR
  11679. replaces the cursor to the proper one)
  11680. * XplatUIX11.cs:
  11681. - Fixed override behaviour, we can't set the cursor globally on X11,
  11682. just for our windows.
  11683. - Invalidating the System.Drawing X11 display handle when we are
  11684. shutting down
  11685. * Control.cs: Fix to make csc happy
  11686. 2005-10-23 Peter Dennis Bartok <[email protected]>
  11687. * TextBoxBase.cs:
  11688. - get_Text: Add last line (without trailing newline) to returned
  11689. value (Fixes 76212)
  11690. - get_TextLength: Count last line in returned length
  11691. - ToString: Call Text property instead of duplicating code
  11692. 2005-10-23 Kornél Pál <[email protected]>
  11693. * ImageList.cs: Dispose ImageAttributes objects.
  11694. 2005-10-22 Kornél Pál <[email protected]>
  11695. * ImageList.cs: Use attribute constructors with less arguments where
  11696. possible.
  11697. 2005-10-22 Kornél Pál <[email protected]>
  11698. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  11699. Use typeof instead of strings when assembly is referenced. Added
  11700. some more comments.
  11701. 2005-10-21 Jackson Harper <[email protected]>
  11702. * ListView.cs: Raise a double click event. Also tried to somewhat
  11703. fix when the selectedindexchanged event is raised. Its still
  11704. broken though.
  11705. 2005-10-21 Jackson Harper <[email protected]>
  11706. * TreeView.cs: New method to invalidate the plus minus area of a
  11707. node without invalidating the whole node (maybe this can be used
  11708. in some more places).
  11709. * TreeNodeCollection.cs: When adding to an empty node we need to
  11710. invalidate its plus minus area so the little block shows up.
  11711. 2005-10-21 Jackson Harper <[email protected]>
  11712. * TreeView.cs: Make sure that when we invalidate a node the bounds
  11713. are big enough to cover the selected box and the focus
  11714. rectangle. Use a different colour for the lines connecting nodes
  11715. so they show up with all themes.
  11716. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11717. * NativeWindow.cs: Don't call anything that could call into the driver,
  11718. we might be on a different thread.
  11719. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11720. * Control.cs(Dispose): Since Dispose might run on a different thread,
  11721. make sure that we call methods that could call into the driver via
  11722. invoke, to avoid thread issues
  11723. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11724. * XplatUI.cs: Removed finalizer
  11725. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  11726. not allowing to be called on the finalizer thread.
  11727. 2005-10-21 Kornél Pál <[email protected]>
  11728. * ImageList.cs:
  11729. - Reverted r51889 and r51891.
  11730. - Added ImageListItem class that stores unmodified image items and image
  11731. properties required to create list images until handle is created.
  11732. - Added AddItem and moved image creation logic to AddItemInternal.
  11733. - Added CreateHandle method that creates images based on unmodified items.
  11734. - Added DestroyHandle that changes state to store unmodified items.
  11735. - Add and AddStrip methods no more create handle.
  11736. - ReduceColorDepth has no return value.
  11737. - Dispose destroys handle.
  11738. - Modified other methods to reflect the above changes.
  11739. - Implemented key support.
  11740. - Added profile 2.0 members and attributes.
  11741. - Added private Reset and ShouldSerialize methods that provide the same
  11742. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  11743. them as they are private.
  11744. - Added some more comments about implementation details.
  11745. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11746. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  11747. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11748. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  11749. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11750. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  11751. * DataGridColumnStyle.cs: Remove debug message
  11752. 2005-10-20 Jackson Harper <[email protected]>
  11753. * TreeView.cs: We can always get input keys regardless of whether
  11754. or not editing is enabled. They are used for navigation.
  11755. 2005-10-20 Jackson Harper <[email protected]>
  11756. * TreeNode.cs: Use the viewport rect for determining if a node
  11757. needs to be moved for visibility. Don't use Begin/End edit. This
  11758. calls a full refresh when its done.
  11759. * TreeView.cs: New SetBottom works correctly. Make the viewport
  11760. rect property internal so the treenodes can see it. When clicking
  11761. on a node we need to ensure that its visible because it might just
  11762. be partly visible when clicked.
  11763. 2005-10-20 Jackson Harper <[email protected]>
  11764. * TreeNodeCollection.cs: Remove debug code.
  11765. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11766. * Datagrid.cs: Implements column sorting in Datagrid
  11767. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  11768. 2005-10-20 Jackson Harper <[email protected]>
  11769. * TreeNodeCollection.cs: Remove items properly. Update the correct
  11770. area after removing them.
  11771. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11772. * Datagrid.cs: Should not call base.OnPaintBackground
  11773. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11774. * XplatUIX11.cs (GetMessage):
  11775. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  11776. window instead of client window
  11777. - Now properly calculates NC_xBUTTONUP message coordinates
  11778. - ScreenToMenu now properly calculates it's coordinates of whole
  11779. window, since menus are in the whole window, not in the client
  11780. window
  11781. - Added WholeToScreen coordinate translation method
  11782. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11783. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  11784. want to return a message, loop back to the beginning of the function
  11785. and grab the next real message to process instead.
  11786. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11787. * Splitter.cs: Properly set limits if no filler control is used
  11788. 2005-10-19 Jackson Harper <[email protected]>
  11789. * ColorDialog.cs: Don't show the help button if it is not enabled
  11790. instead of disabling it (this is what MS does). Don't create the
  11791. panel until the dialog is run, otherwise the vars (such as
  11792. ShowHelp) are not set yet.
  11793. 2005-10-19 Jackson Harper <[email protected]>
  11794. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  11795. are reduced when adding nodes.
  11796. * TreeNode.cs:
  11797. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  11798. tree.
  11799. 2005-10-19 Jackson Harper <[email protected]>
  11800. * FolderBrowserDialog.cs: End editing our treeview so the window
  11801. actually gets refreshed.
  11802. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11803. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  11804. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  11805. inside of WM_PAINT
  11806. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11807. * MenuAPI.cs: Returns after Hidding window
  11808. * XplatUIX11.cs: Added TODO found while debugging menu issues
  11809. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11810. * XplatUIX11.cs: Do not re-map the whole window when it's size
  11811. becomes non-zero unless it's supposed to be actually visible
  11812. 2005-10-18 Jackson Harper <[email protected]>
  11813. * TreeView.cs: We don't need to keep a count anymore.
  11814. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  11815. use the Grow method.
  11816. 2005-10-18 Jackson Harper <[email protected]>
  11817. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  11818. implement it manually here.
  11819. 2005-10-18 Jackson Harper <[email protected]>
  11820. * ImageList.cs: Dont kill the list when the colour depth is
  11821. changed, just change the colour depth of all the images.
  11822. - Same goes for setting the image size. Just resize them all
  11823. instead of killing the list softly.
  11824. 2005-10-18 Jackson Harper <[email protected]>
  11825. * Control.cs: Don't invalidate empty rectangles.
  11826. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11827. * ListViewItem.cs:
  11828. - Adds checked item to the Checked/Item lists (where empty before)
  11829. - Do not add items to the Selected lists if they are already present
  11830. * ListView.cs:
  11831. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  11832. - When deleting items make sure that we delete them for the Selected
  11833. and Checked list also.
  11834. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11835. * Label.cs: Dispose objects no longer used
  11836. * ThemeWin32Classic.cs: Dispose objects no longer used
  11837. 2005-10-18 Jackson Harper <[email protected]>
  11838. * TabControl.cs: Don't refresh the whole control when the tabs are
  11839. scrolled, we just need to refresh the tab area.
  11840. 2005-10-17 Jackson Harper <[email protected]>
  11841. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  11842. after handle when we need it.
  11843. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11844. * Control.cs: When the parent size changes, recalculate anchor
  11845. positions. Partial fix for #76462
  11846. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11847. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  11848. drawn. Fixes #76462
  11849. 2005-10-17 Jackson Harper <[email protected]>
  11850. * MonthCalendar.cs: Don't create the numeric up down until our
  11851. handle is created. Otherwise our handle is created in the
  11852. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  11853. yet.
  11854. 2005-10-17 Jackson Harper <[email protected]>
  11855. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  11856. correctly.
  11857. 2005-10-17 Rafael Teixeira <[email protected]>
  11858. * TreeNode.cs : small logical fix (was using local var instead of field)
  11859. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11860. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  11861. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11862. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  11863. 2005-10-16 Peter Dennis Bartok <[email protected]>
  11864. * Control.cs:
  11865. - Re-implemented anchoring code. My first version was really broken.
  11866. This fixes bug #76033. Unlike the previous implementation we will
  11867. no longer have round errors since all numbers are calculated from
  11868. scratch every time. Removed various anchor-related obsolete vars.
  11869. - InitLayout no longer causes layout event firing and layout to be
  11870. performed
  11871. 2005-10-16 Jackson Harper <[email protected]>
  11872. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  11873. which was broken).
  11874. 2005-10-16 Jackson Harper <[email protected]>
  11875. * TabControl.cs: Remove debug code.
  11876. 2005-10-16 Jackson Harper <[email protected]>
  11877. * XEventQueue.cs: Increase the default queue size (very simple
  11878. apps needed to grow the queue).
  11879. * Hwnd.cs: No finalizer so we don't need to suppress
  11880. finalization. Compute the invalid area manually so a new rectangle
  11881. does not newto be created.
  11882. * ScrollableControl.cs: Don't set any params (otherwise visibility
  11883. isn't set correctly).
  11884. * MdiChildContext.cs: New constructor takes the mdi parent so it
  11885. doesn't have to be computed and avoids a crash on windows. Draw
  11886. the window icon properly, and allow the text to be seen.
  11887. * Form.cs: Use new MdiChildContext constructor. Make sure the
  11888. child context isn't null in wndproc.
  11889. * TabControl.cs: Don't set focus, this is muddling keyboard
  11890. behavoir. Expand the tab rows when a window size increase will
  11891. allow extra tabs to be seen. Don't allow tabs smaller than the
  11892. width of a window to be scrolled out of view.
  11893. * TreeNode.cs:
  11894. * TreeView.cs: Use measure string to calculate a nodes width, the
  11895. width is cached and only updated when the text or the font is
  11896. changed. Don't check for expand/collapse clicks on the first level
  11897. nodes if root lines are disabled.
  11898. 2005-10-16 Ritvik Mayank <[email protected]>
  11899. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  11900. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11901. * DataGridBoolColumn.cs: fixes warning
  11902. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11903. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  11904. to match more to match more precisely the MS Net behavior
  11905. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11906. * Hwnd.cs: Added field to track if window is mapped
  11907. * XplatUIX11.cs:
  11908. - Unmap windows if they become 0-size, re-map when
  11909. they are >0 again; fixes #76035
  11910. - Re-set our error handler after initializing X11Desktop
  11911. to override any error handlers Gtk or whatever was called
  11912. may have set.
  11913. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11914. * CheckedListBox.cs: Removed unused vars
  11915. * ListView.cs: Fixed signatures
  11916. * RichTextBox.cs: Removed unused vars
  11917. * TextBoxBase.cs: Removed unused vars
  11918. * XplatUIWin32.cs: Removed unused vars
  11919. * XplatUIX11.cs: Removed unused vars
  11920. * XplatUI.cs: Updated version and date to latest published
  11921. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11922. * Cursor.cs: Added private .ctor to work around a bug in
  11923. resourceset (Thanks to Geoff Norton for the help on this)
  11924. * SplitterEventArgs.cs: Made fields accessible so we don't
  11925. waste boatloads of objects and can reuse the same one
  11926. in Splitter
  11927. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  11928. any captions and borders when generating screen coordinates
  11929. * Splitter.cs: Reimplemented control, now fully complete, uses
  11930. rubberband drawing, supports and obeys all properties, has
  11931. proper cursors
  11932. 2005-10-13 Miguel de Icaza <[email protected]>
  11933. * Form.cs (Form): Setup default values for autoscale and
  11934. autoscale_base_size; Make these instance variables, not static
  11935. variables.
  11936. (OnLoad): on the first load, adjust the size of the form.
  11937. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11938. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  11939. width argument to DrawReversibleRectangle()
  11940. * XplatUIWin32.cs, XplatUIX11.cs:
  11941. - Implemented width for DrawReversibleRectangle()
  11942. - Added logic to DrawReversibleRectangle that recognizes a zero
  11943. width or height and only draws a line in that situation
  11944. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11945. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  11946. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  11947. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  11948. method (it uses our FosterParent window to get a graphics context)
  11949. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11950. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  11951. and SetWindowBackground methods
  11952. * Control.cs:
  11953. - Setting proper ControlStyles
  11954. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  11955. EraseWindowBackground, instead we draw the window background
  11956. ourselves in PaintControlBackground. This behaviour is
  11957. required to match MS, where, when OnPaintBackground is not
  11958. called, the background is not drawn.
  11959. - Removed unneeded Refresh() in set_Text
  11960. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  11961. * XplatUIX11.cs:
  11962. - Created DeriveStyles method to translate from CreateParams to
  11963. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  11964. matches FormBorderStyle enum values)
  11965. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  11966. style calculations into single DeriveStyles method
  11967. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  11968. from redrawing the whole window on any resize or expose.
  11969. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  11970. all styles were applied to our whole/client window appropriately
  11971. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11972. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  11973. no longer clear/redraw the background through X
  11974. - Removed handling of erase_pending bit, we have no use for it (or
  11975. so it seems)
  11976. * XplatUIOSX.cs:
  11977. - Removed generation and handling of WM_ERASEBKGND message
  11978. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11979. - Removed handling of hwnd.ErasePending flag
  11980. * XplatUIWin32.cs:
  11981. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11982. - We no longer call EraseWindowBackground on PaintEventStart, we
  11983. ignore the fErase flag, erasing is handled in Control in the
  11984. background handler
  11985. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  11986. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  11987. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  11988. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  11989. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  11990. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  11991. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  11992. 2005-10-12 Jonathan Chambers <[email protected]>
  11993. * PropertyGrids.cs: Get sub properties
  11994. * PropertyGridView.cs: Fix drawing code
  11995. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11996. * ListBox.cs: Fixes 76383
  11997. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11998. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  11999. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  12000. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  12001. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12002. * ComboBox.cs: Fixes border drawing
  12003. 2005-10-10 Miguel de Icaza <[email protected]>
  12004. * MimeIcon.cs: Ignore errors if the file can not be read.
  12005. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12006. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  12007. - Fixed border calculations
  12008. - Fixed horizontal scrolling in single column listboxes
  12009. - Fixed drawing issues
  12010. 2005-10-10 Peter Dennis Bartok <[email protected]>
  12011. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  12012. FormBorderStyle enum
  12013. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  12014. code to determine FormBorderStyles from CreateParams
  12015. * Form.cs:
  12016. - Fixed bug where we'd set the wrong window styles if we were
  12017. not creating an MDI window
  12018. - Added call to XplatUI.SetBorderStyle when form borders are set
  12019. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  12020. * Hwnd.cs:
  12021. - Removed obsolete edge style
  12022. - Switched from BorderStyle to FormBorderStyle
  12023. 2005-10-10 Jackson Harper <[email protected]>
  12024. * Form.cs: Use the property to get the window handle instead of
  12025. accessing it directly. Prevents a null reference exception.
  12026. 2005-10-10 Jackson Harper <[email protected]>
  12027. * TreeView.cs: Don't adjust the rect given to DrawString now that
  12028. our libgdiplus draws correctly.
  12029. 2005-10-08 Jackson Harper <[email protected]>
  12030. * TreeView.cs: Don't try to find the clicked on node if there are
  12031. no nodes in the tree.
  12032. 2005-10-08 Alexander Olk <[email protected]>
  12033. * RichTextBox.cs:
  12034. restore
  12035. 2005-10-08 Alexander Olk <[email protected]>
  12036. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  12037. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  12038. ErrorProvider.cs:
  12039. Use ResPool for brushes and dispose System.Drawing objects that
  12040. are not used anymore.
  12041. 2005-10-07 Jackson Harper <[email protected]>
  12042. * MdiChildContext.cs: Use the new borders instead of drawing them
  12043. ourselves.
  12044. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12045. * Calling UpdateBounds after changing the window's BorderStyle
  12046. since the style can change the ClientSize
  12047. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12048. * Control.cs: Made PaintControlBackground virtual
  12049. * Panel.cs: Overriding PaintControlBackground instead of using paint
  12050. event; paint event method was interfering with 'real' users of the
  12051. event.
  12052. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12053. * ThemeWin32Classic.cs: remove border drawing since it is handled
  12054. by the base control class now and was causing double border drawing.
  12055. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12056. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  12057. but it does seem to match MS behaviour. This fixes bug #75324
  12058. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12059. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  12060. somewhat hackish looking
  12061. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12062. * TextBoxBase.cs:
  12063. - We now accept Enter even if AcceptEnter is false, if the containing
  12064. form does not have an AcceptButton configured (fixes bug #76355)
  12065. - Calculations are now fixed to no longer use Width/Height, but
  12066. ClientSize.Width/Height, since we now support borders (this was
  12067. a result of fixing borders and therefore bug #76166)
  12068. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  12069. true (fixes bug #76354)
  12070. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12071. * Control.cs:
  12072. - Defaulting BorderStyle and setting it in XplatUI when our window
  12073. is created
  12074. - Added enum check to InternalBorderStyle setter
  12075. * XplatUIX11.cs:
  12076. - Added drawing of window borders
  12077. - Now properly calculates WM decorations offset for toplevel
  12078. windows (fixes bug #74763)
  12079. * XplatUIWin32.cs:
  12080. - Implemented BorderStyles for windows (we're letting win32 draw
  12081. the border for us)
  12082. - Fixed the signature for SetWindowLong
  12083. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  12084. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  12085. setting borders
  12086. * UpDownBase.cs: Remove drawing of borders, this is handled by
  12087. the driver, outside the client area
  12088. * ListView.cs: Removed bogus border calculations. The control should
  12089. be oblivious to borders, since those are not part of the client
  12090. area.
  12091. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  12092. * ThemeWin32Classic.cs: Removed border calculations from ListView
  12093. drawing code
  12094. 2005-10-06 Jackson Harper <[email protected]>
  12095. * MdiChildContext.cs: Clear out the old virtual position remove
  12096. all the unneeded calls to CreateGraphics.
  12097. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12098. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  12099. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12100. * Form.cs:
  12101. - Added loading and setting of our new default icon
  12102. - Only set icon if window is already created
  12103. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12104. * Label.cs:
  12105. - Do not explicitly set the foreground and background colors, to
  12106. allow inheriting from parents (fixes #76302)
  12107. - Use Control's InternalBorderStyle property to deal with borders
  12108. 2005-10-06 Jackson Harper <[email protected]>
  12109. * MdiChildContext.cs: Use the new xplatui function to draw a
  12110. reversible rect.
  12111. 2005-10-06 Jackson Harper <[email protected]>
  12112. * Form.cs: Add the parent before creating the child context cause
  12113. we need the parent when setting up the child.
  12114. 2005-10-06 Jackson Harper <[email protected]>
  12115. * FolderBrowserDialog.cs: redo the tree population code so a
  12116. second thread isn't used. Should be a lot faster and more stable
  12117. now.
  12118. 2005-10-05 Jackson Harper <[email protected]>
  12119. * TreeView.cs: There are no expand/collapse boxes if the node has
  12120. no children.
  12121. 2005-10-05 Jackson Harper <[email protected]>
  12122. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  12123. 2005-10-05 Alexander Olk <[email protected]>
  12124. * FileDialog.cs: Fix InitialDirectory
  12125. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12126. * ComboBox.cs:
  12127. - Fixes changing between styles
  12128. - Fixes simple mode
  12129. - Fixes last item crashing when navigating with keyboard
  12130. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12131. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  12132. 2005-10-05 Jackson Harper <[email protected]>
  12133. * TreeView.cs: If updating the root node do a full refresh.
  12134. * TreeNode.cs: The root node should be expanded by default. Also
  12135. added a utility prop to tell if we are the root node.
  12136. * TreeNodeCollection.cs: Only refresh if the node we are being
  12137. added to is expanded. Also added a comment on a potential
  12138. optimization.
  12139. 2005-10-04 Peter Dennis Bartok <[email protected]>
  12140. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  12141. in dispose method. Fixes #76330
  12142. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  12143. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  12144. - Implements vertical and horizontal scrolling using XplatUI
  12145. - Fixes keyboard navagation
  12146. - Fixes EnsureVisible
  12147. - Drawing fixes
  12148. - Handles and draws focus properly
  12149. 2005-10-04 Kornél Pál <[email protected]>
  12150. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  12151. Create handle. NET_2_0: Destroy handle when value is null.
  12152. 2005-10-03 Jackson Harper <[email protected]>
  12153. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  12154. revert and a new patch to prevent the thumb from refreshing so
  12155. much.
  12156. 2005-10-02 Jackson Harper <[email protected]>
  12157. * ScrollBar.cs: Don't update position if it hasn't actually
  12158. changed. This occurs when you hold down the increment/decrement
  12159. buttons and the thumb gets to the max/min.
  12160. 2005-10-01 Jackson Harper <[email protected]>
  12161. * Form.cs:
  12162. * MdiChildContext.cs:
  12163. * MdiClient.cs: Implement ActiveMdiChild in Form.
  12164. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  12165. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  12166. 2005-10-01 Peter Dennis Bartok <[email protected]>
  12167. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  12168. be found
  12169. 2005-09-30 Jackson Harper <[email protected]>
  12170. * ListBox.cs: Don't do a full refresh unless some data has
  12171. actually changed.
  12172. 2005-09-30 Jackson Harper <[email protected]>
  12173. * TreeView.cs: Make sure that the checkboxes size is factored in
  12174. even when not visible.
  12175. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12176. * FileDialog.cs: Fix Jordi's build break
  12177. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  12178. * FileDialog.cs:
  12179. - Use standard the Windows colours for the combobox as espected
  12180. - Dispose objects that use resouces when no longer need them
  12181. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12182. * X11DesktopColors.cs: Initial incomplete implementation
  12183. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  12184. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12185. * Theme.cs:
  12186. - Switched Theme color names to match the names defined in
  12187. System.Drawing.KnownColors. Life's hard enough, no need to make
  12188. it harder.
  12189. - Added setters to all theme color properties so themes can set
  12190. their color schemes. The setters also propagate the color changes
  12191. to System.Drawing.KnownColors via reflection
  12192. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  12193. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  12194. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  12195. use the new, more logical theme color names
  12196. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  12197. post-NT colors
  12198. * ThemeWin32Classic.cs:
  12199. - Removed code to set the old classic Windows colors. Instead it
  12200. now relies on the colors returned by System.Drawing.KnownColors
  12201. which will be either modern static colors (Unix) or colors
  12202. read from the user's configuration (Win32)
  12203. - Updated to use the new, more logical theme color names
  12204. - Switched DataGrid drawing code to use only Theme colors instead of
  12205. a mix of System.Drawing.KnownColors and Theme colors
  12206. - DrawFrameControl(): Removed code that fills the button area, the
  12207. fill would overwrite any previous fill done by a control. This
  12208. fixes bug #75338
  12209. - Added DrawReversibleRectangle() stub
  12210. * ScrollableControl.cs: Set visible state to false when scrollbars
  12211. are removed (pdn fix)
  12212. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  12213. DrawReversibleRectangle() method to allow drawing primitive
  12214. 'rubber bands'
  12215. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  12216. 2005-09-30 Kornél Pál <[email protected]>
  12217. * ImageList.cs: Add(Icon): Create handle.
  12218. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  12219. * ListView.cs:
  12220. * ThemeWin32Classic.cs:
  12221. - Fixes detail mode
  12222. - Sets clippings
  12223. - Issues with drawing
  12224. 2005-09-30 Kornél Pál <[email protected]>
  12225. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  12226. source has to be the ImageList.
  12227. 2005-09-30 Kornél Pál <[email protected]>
  12228. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  12229. 2005-09-30 Kornél Pál <[email protected]>
  12230. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  12231. 2005-09-30 Kornél Pál <[email protected]>
  12232. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  12233. 2005-09-29 Jonathan Chambers <[email protected]>
  12234. * GridItem.cs: Fixed TODOs
  12235. * GridItemCollection.cs: Added ICollection interface
  12236. 2005-09-30 Kornél Pál <[email protected]>
  12237. * ImageList.cs: Resize icons when needed.
  12238. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  12239. * ListViewItem.cs
  12240. - Fixes GetBounds and returns on screen rects
  12241. * ListView.cs:
  12242. - Fixes vertical and horzintal scrolling of items
  12243. * ThemeWin32Classic.cs:
  12244. - Fixes drawing
  12245. 2005-09-29 Raja R Harinath <[email protected]>
  12246. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  12247. 2005-09-29 Kornél Pál <[email protected]>
  12248. * ImageList.cs: Added comments about handle creation. Moved Handle,
  12249. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  12250. Handle is created in Add methods.
  12251. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  12252. * DataGridDrawingLogic.cs:
  12253. - Takes rows into account on Colum calculations
  12254. - Returns the column when clickig
  12255. * DataGrid.cs:
  12256. - Fixes default HitTestInfo values
  12257. - Fixes HitTestInfo.ToString
  12258. - Fixes ResetBackColor
  12259. 2005-09-28 Jackson Harper <[email protected]>
  12260. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  12261. sizing or cursor changes). Also added some temp code to draw the
  12262. titlebars text (Makes dev a little easier).
  12263. 2005-09-28 Kornél Pál <[email protected]>
  12264. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  12265. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  12266. * ListBox.cs: Fixes bug 76253
  12267. 2005-09-28 Kornél Pál <[email protected]>
  12268. * ImageList.cs: Added comments about the current implementation. Added
  12269. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  12270. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  12271. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  12272. with Bitmap.LockBits for better performance. Revised the whole file to
  12273. match MS.NET behaviour and provide better performance. Non-public
  12274. interface members are calling public members even when they throw
  12275. NotSupportedException for better maintainability. Moved ColorDepth,
  12276. ImageSize, ImageStream and TransparentColor implementations to
  12277. ImageCollection for better performance as these properties are not used
  12278. by ImageList.
  12279. * ImageListStreamer.cs: Added a new internal constructor that takes an
  12280. ImageList.ImageCollection and serializes Images based on
  12281. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  12282. match ImageList property name.
  12283. 2005-09-28 Kazuki Oikawa <[email protected]>
  12284. * ListBox.cs: Fixes IndexFromPoint for last item
  12285. 2005-09-27 Jackson Harper <[email protected]>
  12286. * Form.cs: Set the position of new mdi children correctly.
  12287. 2005-09-27 Jackson Harper <[email protected]>
  12288. * MdiClient.cs: New mdi children need to be added to the back of
  12289. the controls collection so the zorder is set correctly. Also add a
  12290. count of all the child windows that have been created.
  12291. 2005-09-27 Jackson Harper <[email protected]>
  12292. * Form.cs (CreateParams): Setup MDI forms correctly.
  12293. 2005-09-27 Jackson Harper <[email protected]>
  12294. * MdiChildContext.cs:
  12295. * MonthCalendar.cs:
  12296. * UpDownBase.cs:
  12297. * ListBox.cs:
  12298. * ListView.cs:
  12299. * TextBoxBase.cs:
  12300. * TreeView.cs:
  12301. * ScrollableControl.cs:
  12302. * ComboBox.cs: Add implicit controls using the new implict control
  12303. functionality in ControlCollection. Also try to block multiple
  12304. control add in a suspend/resume layout to save some cycles.
  12305. 2005-09-27 Jackson Harper <[email protected]>
  12306. * Control.cs: Add functionality to the controls collection to add
  12307. 'implicit controls' these are controls that are created by the
  12308. containing control but should not be exposed to the user. Such as
  12309. scrollbars in the treeview.
  12310. * Form.cs: The list var of the ControlsCollection is no longer
  12311. available because of the potential of implicit controls getting
  12312. ignored by someone accessing the list directly.
  12313. 2005-09-26 Peter Dennis Bartok <[email protected]>
  12314. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  12315. loose it's parent. (Fixed bug introduced in r49103 when we added
  12316. setting the child parent to null on Remove)
  12317. 2005-09-26 Gert Driesen <[email protected]>
  12318. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  12319. * Splitter.cs: Added missing attributes for BorderStyle property.
  12320. * TextBoxBase.cs: Marked Calculate* methods internal.
  12321. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  12322. MS.NET.
  12323. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  12324. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  12325. 2005-09-25 Jackson Harper <[email protected]>
  12326. * TreeView.cs: Update the node bounds correctly regardless of
  12327. whether the node is visible.
  12328. 2005-09-25 Jackson Harper <[email protected]>
  12329. * ImageList.cs: Don't dispose the image after it is added to the
  12330. image list. Only reformat images that need to be resized.
  12331. 2005-09-25 Jackson Harper <[email protected]>
  12332. * ImageList.cs: Don't set the format when changing the image.
  12333. 2005-09-25 Jackson Harper <[email protected]>
  12334. * TreeView.cs: We can't just assume the node has a font. Use the
  12335. treeviews font if no node font is available.
  12336. 2005-09-25 Jackson Harper <[email protected]>
  12337. * TreeView.cs: Allow the scrollbars to be reset with negative
  12338. values.
  12339. - Don't add scrollbars to negative sized windows.
  12340. 2005-09-23 Jackson Harper <[email protected]>
  12341. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  12342. old Mono.Posix. Also remove some stray code that shouldn't have
  12343. been committed.
  12344. 2005-09-23 Jackson Harper <[email protected]>
  12345. * TreeView.cs: Attempt at proper sizing of the horizontal
  12346. scrollbar. Also don't resize the scrollbars unless they are
  12347. visible.
  12348. 2005-09-23 Jackson Harper <[email protected]>
  12349. * TreeView.cs: We don't need to expand the invalid area when the
  12350. selection changes, as this is all drawn in the node's bounding
  12351. box. The area needs to be expanded (previous typo was contracting
  12352. it) when the focus rect moves.
  12353. 2005-09-23 Jackson Harper <[email protected]>
  12354. * TreeView.cs: Display the selection box under the correct
  12355. circumstances. We were rendering white text with no selection box
  12356. before.
  12357. 2005-09-23 Peter Dennis Bartok <[email protected]>
  12358. * TextControl.cs(Split): Now updates selection start/end if it points
  12359. into a line that's being split. Fixes a FIXME and bug #75258
  12360. 2005-09-23 Jackson Harper <[email protected]>
  12361. * Binding.cs:
  12362. * ListControl.cs: Don't use the path when retrieving binding
  12363. managers from the binding context. My bat sense tells me that the
  12364. path is only used on insertion.
  12365. 2005-09-22 Jackson Harper <[email protected]>
  12366. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  12367. 2005-09-22 Jackson Harper <[email protected]>
  12368. * Splitter.cs: There are special cursors used for splitting.
  12369. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  12370. 2005-09-22 Jackson Harper <[email protected]>
  12371. * Splitter.cs: Change the cursor appropriately when the splitter
  12372. is moused over, so the user actually knows there is a splitter
  12373. there.
  12374. 2005-09-22 Hisham Mardam Bey <[email protected]>
  12375. * Label.cs : Fix ToString method to give same output as MS.NET
  12376. 2005-09-22 Jackson Harper <[email protected]>
  12377. * TreeView.cs: Create the scrollbars when the handle is created
  12378. and add them right away, just make them invisble. Also account for
  12379. the window being shrunk vertically to the point that the vert
  12380. scrollbar needs to be added.
  12381. - Remove some 0.5 adjustments to get around anti aliasing issues.
  12382. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  12383. * MainMenu.cs: Fixes default value
  12384. * MenuItem.cs: Fixes default value
  12385. 2005-09-22 Kazuki Oikawa <[email protected]>
  12386. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  12387. 2005-09-21 Jackson Harper <[email protected]>
  12388. * Control.cs: Don't try to set the border style on the window if
  12389. it hasn't been created. When the window is created the border
  12390. style will be used.
  12391. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12392. * Control.cs (Update): Don't call XplatUI if we don't have a
  12393. window handle yet
  12394. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12395. * ContainerControl.cs: Instead of throwing an exception, print
  12396. a one-time warning about Validate not being implemented
  12397. * XplatUIWin32.cs: Removed debug output
  12398. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12399. * Control.cs: Only set XplatUI background if we expect the windowing
  12400. system to handle the background. This stops controls that draw their
  12401. own background from flickering
  12402. * XplatUIX11.cs: Support custom visuals and colormaps for window
  12403. creation. This allows, amongst other things, using MWF X11 windows
  12404. with OpenGL.
  12405. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12406. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  12407. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  12408. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  12409. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  12410. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  12411. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  12412. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  12413. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  12414. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  12415. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  12416. GridColumnStylesCollection.cs,
  12417. IDataGridColumnStyleEditingNotificationService.cs,
  12418. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  12419. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  12420. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  12421. TreeNodeCollection.cs, AmbientProperties.cs,
  12422. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  12423. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  12424. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  12425. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  12426. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  12427. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  12428. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  12429. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  12430. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  12431. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  12432. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  12433. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  12434. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  12435. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  12436. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  12437. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  12438. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  12439. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  12440. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  12441. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  12442. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  12443. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  12444. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  12445. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  12446. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  12447. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  12448. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  12449. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  12450. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  12451. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  12452. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  12453. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  12454. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  12455. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  12456. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  12457. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  12458. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  12459. 2005-09-21 Jackson Harper <[email protected]>
  12460. * TreeNode.cs: Call Before/After Expand not Collapse when
  12461. expanding.
  12462. 2005-09-20 Jackson Harper <[email protected]>
  12463. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  12464. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  12465. * ListViewItem.cs:
  12466. - Fixes bug 76120
  12467. - Fixes proper storing of subitems
  12468. - Fixes not updated items
  12469. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12470. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  12471. things if our window handle isn't created yet. Also disabled
  12472. debug for TextBoxBase
  12473. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12474. * MenuAPI.cs: Remove filtering of events to allow menu usage
  12475. 2005-09-20 Miguel de Icaza <[email protected]>
  12476. * Cursor.cs: Allow null to be passed to Cursor.Current.
  12477. 2005-09-20 Alexander Olk <[email protected]>
  12478. * ThemeWin32Classic.cs:
  12479. - Change some private methods/fields to protected virtual so that
  12480. they can be accessed and overriden in derived classes
  12481. - First refactoring of some methods. Derived themes now don't
  12482. need to duplicate the complete code from ThemeWin32Classic
  12483. * ThemeNice.cs:
  12484. - Added nice StatusBar
  12485. - Derive from ThemeWin32Classic and not Theme
  12486. - Removed duplicate ThemeWin32Classic code
  12487. 2005-09-20 Miguel de Icaza <[email protected]>
  12488. * Control.cs (ControlCollection.Add): If the value null is passed
  12489. the control is ignored.
  12490. Optimize this loop.
  12491. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12492. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  12493. PostQuitMessage state.
  12494. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  12495. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12496. * Application.cs: Our constructor will never get called, move
  12497. initialization to fields; fixes bug #75933
  12498. 2005-09-19 Hisham Mardam Bey <[email protected]>
  12499. * FileDialog.cs :
  12500. - Allow files to be selected properly using file name
  12501. combo box.
  12502. - Add ability to change diretory (absolute / relative)
  12503. using file name combo box.
  12504. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  12505. * ListBox.cs:
  12506. - Fixes Multicolumn listboxes item wrong calculations
  12507. - Allows to click when only one item is in the listbox
  12508. - Fixes crash when no items using keyboard navigation
  12509. 2005-09-16 Alexander Olk <[email protected]>
  12510. * ComboBox.cs: Reverted almost everything from the latest patch which
  12511. broke ComboBox
  12512. 2005-09-16 Kazuki Oikawa <[email protected]>
  12513. * ToolTip.cs:
  12514. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  12515. * ComboBox.cs:
  12516. - When DropDownStyle is Simple, it does not show scrollbar
  12517. to the last item of the list.
  12518. - When DropDownStyle is Simple, it crashed when the list was
  12519. scrolled down with the down cursor key.
  12520. - Fixed a bug that when DropDownStyle is DropDownList, the
  12521. selected item was not shown.
  12522. - The position of the selected item was not preserved when
  12523. the next dropdown happened.
  12524. * ThemeWin32Classic.cs:
  12525. - Items were wrapped at the right end.
  12526. * CheckedListBox.cs:
  12527. - Fixed Add method
  12528. * ListBox.cs:
  12529. - Items should be fully shown.
  12530. - When resizing and vertical scrollbar disappeared, the item
  12531. of index 0 should be on the top of the list.
  12532. - GetItemRectangle should consider the size of ver. scrollbar
  12533. * StatusBar.cs:
  12534. - SizingGrip area should not be allocated when it is not
  12535. displayed.
  12536. - Now it reflects MinWidth of the containing panel and
  12537. fixed a crash that happens when its width becomes so small.
  12538. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12539. * CheckedListBox.cs: Fixes bug 76028
  12540. * ListBox.cs: Fixes bug 76028
  12541. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12542. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  12543. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  12544. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  12545. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  12546. 2005-09-09 Jonathan Chambers <[email protected]>
  12547. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  12548. 2005-09-09 Jonathan Chambers <[email protected]>
  12549. * IRootGridEntry.cs: Added
  12550. * PropertyGridCommands.cs: Added
  12551. * PropertiesTab.cs: Added missing methods and property
  12552. * PropertyGridView.cs: Made class internal
  12553. * PropertyGridTextBox.cs: Made class internal
  12554. 2005-09-09 Alexander Olk <[email protected]>
  12555. * MimeIcon.cs: Try to check some other environment variables
  12556. if "DESKTOP_SESSION" returns "default"
  12557. 2005-09-09 Alexander Olk <[email protected]>
  12558. * ThemeNice.cs: Corrected background colors (e.g. menus)
  12559. * ColorDialog.cs: Use correct background colors for controls
  12560. 2005-09-09 Alexander Olk <[email protected]>
  12561. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  12562. 2005-09-08 Peter Dennis Bartok <[email protected]>
  12563. * RichTextBox.cs: Added initial implementation
  12564. * lang.cs: Removed. Was accidentally checked in long time ago
  12565. * TODO: Removed. Contents were obsolete
  12566. 2005-09-06 Jonathan Chambers <[email protected]>
  12567. * PropertiesTab.cs : Added
  12568. 2005-09-06 Jonathan Chambers <[email protected]>
  12569. * PropertyGrid.cs : Update
  12570. * PropertyGridView.cs : Update
  12571. * System.Windows.Forms.resx : Added images and strings
  12572. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12573. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  12574. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12575. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  12576. a busy loop right after the Ungrab the X11 display is otherwise
  12577. blocked
  12578. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  12579. * ThemeWin32Classic.cs: Optimise the use of clipping
  12580. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  12581. * DataGrid.cs: fixes recursion bug
  12582. 2005-09-03 Alexander Olk <[email protected]>
  12583. * ThemeNice.cs:
  12584. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  12585. - Cleanup
  12586. 2005-09-02 Alexander Olk <[email protected]>
  12587. * ThemeNice.cs: Draw nice ProgressBars
  12588. 2005-09-01 Miguel de Icaza <[email protected]>
  12589. * VScrollBar.cs: Another buglet found by Aaron's tool.
  12590. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  12591. bug finder.
  12592. 2005-08-30 Alexander Olk <[email protected]>
  12593. * ThemeNice.cs:
  12594. - Added nicer menu drawing
  12595. - Updated DrawTab
  12596. - some refactoring
  12597. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12598. * CreateParams.cs (ToString): Made output match MS
  12599. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  12600. handle is already created (to avoid forcing window creation)
  12601. * XplatUIX11.cs: Set window text to caption after creating window,
  12602. in case Text was set before window was created
  12603. * Form.cs: Use this.Text instead of a static string as caption
  12604. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12605. * NotifyIcon.cs: Don't set the window to visible; this screws
  12606. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  12607. OnPaint without a bitmap)
  12608. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  12609. happen very often anyway; we could add the check to the WM_PAINT
  12610. event generation code
  12611. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12612. * NotifyIcon.cs: Fill the icon area with a background color, to
  12613. avoid 'residue' when transparent icons are drawn
  12614. * XplatUIX11.cs:
  12615. - Handle whole_window == client_window when destroying windows
  12616. - SystrayAdd(): Set client_window to whole_window value to
  12617. get mouse and other events passed to NotifyIcon
  12618. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12619. * Form.cs: Set proper default for Opacity property
  12620. * NotifyIcon.cs:
  12621. - ShowSystray(): Don't bother creating telling the OS
  12622. about the systray item if no icon is provided
  12623. - Now handles WM_NCPAINT message to deal with whole/client window
  12624. split
  12625. - Create window as visible to not get caught by Expose optimization
  12626. * Hwnd.cs: Removed debug message
  12627. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  12628. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  12629. PaintEventStart/End to use new client argument
  12630. * TextBoxBase.cs:
  12631. - Commented out debug messages
  12632. - Switched PaintEventStart/End to use new client argument
  12633. * XplatUI.cs: Added client window bool to PaintEventStart()/
  12634. PaintEventEnd() calls, to support drawing in non-client areas
  12635. * XplatUIDriver.cs:
  12636. - Added client window bool to PaintEventStart()/PaintEventEnd()
  12637. calls, to support drawing in non-client areas
  12638. - Added conditional compile to allow using MWF BeginInvoke
  12639. on MS runtime
  12640. * XplatUIX11.cs:
  12641. - Added some conditional debug output
  12642. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  12643. whole/client window split
  12644. - Implemented handling of client argument to PaintEventStart()/End()
  12645. * Control.cs:
  12646. - Throw exception if BeginInvoke() is called and the window handle
  12647. or one of the window's parent handles is not created
  12648. - Added conditional compile to allow using MWF BeginInvoke on
  12649. MS runtime
  12650. - get_Parent(): Only sets parent if handle is created. This avoids
  12651. forcing window handle creation when parent is set.
  12652. - Now fires Layout and Parent changed events in proper order
  12653. - Switched to use Handle instead of window.Handle for Z-Order setting,
  12654. the get_Parent() patch above causes us to possibly get null for 'window'
  12655. - Implemented handling of client argument to PaintEventStart()/End()
  12656. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  12657. default handling)
  12658. - Now sends a Refresh() to all child windows when Refresh() is called
  12659. 2005-08-29 Peter Dennis Bartok <[email protected]>
  12660. * Form.cs: Added (non-functional) Opacity property
  12661. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  12662. 2005-08-29 Alexander Olk <[email protected]>
  12663. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  12664. use export MONO_THEME=nice to activate it.
  12665. Currently supported controls:
  12666. - Button
  12667. - ComboBox
  12668. - ScrollBar
  12669. - TabControl (TabAlignment.Top only, other will follow)
  12670. * ThemeEngine.cs: Add theme nice
  12671. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  12672. if enabled
  12673. 2005-08-25 Jonathan Chambers <[email protected]>
  12674. * Splitter.cs: Resize docked control and its neighbor.
  12675. 2005-08-24 Rafael Teixeira <[email protected]>
  12676. -- Making Windows with Menus layout correctly --
  12677. * Form.cs : The first leg of the fix
  12678. Menu setter - adjust Client Size as needed to make space for the menu
  12679. SetClientSizeCore - doesn't call base version to be able to pass the
  12680. menu handle to XplatUI.CalculateWindowRect
  12681. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  12682. * XplatUIX11.cs: The critical second leg of the fix
  12683. GetWindowPos needs to use a recalculated client_rect
  12684. so that resizing the window doesn't break layout of child controls.
  12685. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  12686. Lots of \t\n killed
  12687. 2005-08-23 Peter Dennis Bartok <[email protected]>
  12688. * Label.cs: Now properly recalculates width and height on Font and Text
  12689. changes if AutoSize is set
  12690. 2005-08-19 Rafael Teixeira <[email protected]>
  12691. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  12692. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  12693. * ImageList.cs: Makes ToString method compatible with MS
  12694. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  12695. * MenuAPI.cs: fixes bug 75716
  12696. 2005-08-11 Umadevi S <[email protected]>
  12697. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  12698. 2005-08-11 Umadevi S <[email protected]>
  12699. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  12700. 2005-08-10 Umadevi S <[email protected]>
  12701. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  12702. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  12703. * Menu.cs: fixes bug 75700
  12704. * MenuAPI.cs: fixes navigation issues
  12705. 2005-08-09 Umadevi S <[email protected]>
  12706. * CheckedListBox.cs - simple fix for GetItemChecked.
  12707. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  12708. * ComboBox.cs: Serveral fixes
  12709. * ListBox.cs: Serveral fixes
  12710. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12711. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  12712. * ListBox.cs: Fixes FindString methods
  12713. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12714. * DataGrid.cs: fixes bugs exposed by new tests
  12715. 2005-08-04 Peter Dennis Bartok <[email protected]>
  12716. * Mime.cs: Compile Mono assembly references only if compiling
  12717. with Mono (Allows to build with VS.Net again)
  12718. 2005-07-28 Marek Safar <[email protected]>
  12719. * Control.cs (PaintControlBackground): Draw background image
  12720. corrrectly.
  12721. (CheckForIllegalCrossThreadCalls): Stubbed.
  12722. * Form.cs (OnCreateControl): Center when should be centered.
  12723. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  12724. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  12725. * Binding.cs: Binding to properties should be case unsensitive
  12726. 2005-07-18 [email protected]
  12727. * DataGrid.cs: fixes setmember order
  12728. 2005-07-07 Alexander Olk <[email protected]>
  12729. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  12730. * FileDialog.cs: FileDialog is now resizable and uses the new
  12731. MimeIconEngine
  12732. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  12733. * DataGridTextBoxColumn.cs: default value
  12734. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  12735. * GridTableStylesCollection.cs: fixes checking MappingName
  12736. * DataGridDrawingLogic.cs: fixes drawing logic issues
  12737. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  12738. * DataGrid.cs: fixes
  12739. 2005-07-06 Alexander Olk <[email protected]>
  12740. * MimeGenerated.cs: Use case sensitive comparer for
  12741. NameValueCollections
  12742. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  12743. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  12744. * ThemeWin32Classic.cs: bug fixes, code refactoring
  12745. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  12746. * DataGrid.cs: bug fixes, code refactoring
  12747. * DataGridTextBox.cs: bug fixes, code refactoring
  12748. * DataGridColumnStyle.cs: bug fixes, code refactoring
  12749. * Theme.cs: bug fixes, code refactoring
  12750. 2005-07-01 Peter Bartok <[email protected]>
  12751. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  12752. and other text box usage
  12753. 2005-07-01 Jackson Harper <[email protected]>
  12754. * TabControl.cs: Make sure the bottom of the tab covers the pages
  12755. border.
  12756. 2005-06-30 Peter Bartok <[email protected]>
  12757. * Form.cs (ShowDialog): Assign owner of the dialog
  12758. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  12759. might have been moved to a tag with different height
  12760. 2005-06-30 Jackson Harper <[email protected]>
  12761. * Form.cs: Don't create an infinite loop when setting focus
  12762. * MenuItem.cs: Don't dirty the parents if we don't have any
  12763. 2005-06-29 Ben Maurer <[email protected]>
  12764. * LibSupport.cs: Rename
  12765. 2005-06-29 Peter Bartok <[email protected]>
  12766. * TextBoxBase.cs: Re-align caret after deleting a character
  12767. * TextControl.cs:
  12768. - DeleteChars(): Ensure that tag covers the provided position
  12769. - StreamLine(): Drop reference for dropped tag
  12770. 2005-06-29 Peter Bartok <[email protected]>
  12771. * TextControl.cs:
  12772. - Selections now work properly, anchoring at the initial location
  12773. and properly extending in either direction (SetSelectionToCaret(),
  12774. SetSelectionStart() and SetSelectionEnd())
  12775. - No longer redraws the whole control on selection change, now
  12776. calculates delta between previous and new selection and only
  12777. invalidates/redraws that area
  12778. - Fixed FindPos() math off-by-one errors
  12779. - Changed DeleteChars() to verify the provided tag covers the
  12780. provided position, selections may have a tag that doesn't cover
  12781. the position if the selection is at a tag border
  12782. - Fixed off-by-one errors in DeleteChars()
  12783. - Added missing streamlining check in DeleteChars() to remove
  12784. zero-length tags
  12785. - Implemented Invalidate() method, now properly calculates exposures
  12786. between two given lines/positions
  12787. - Implemented SetSelection()
  12788. - Obsoleted and removed FixupSelection()
  12789. - Improved RecalculateDocument() logic, removing code duplication
  12790. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12791. * LibSupport.cs: changes to match different input/output arguments.
  12792. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12793. * LibSupport.cs: added libsupport.so init routine.
  12794. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  12795. * ControlBindingsCollection.cs
  12796. - Throws an exception on null datasource when adding
  12797. - Checks for duplicated bindings when adding
  12798. 2005-06-28 Jackson Harper <[email protected]>
  12799. * TreeView.cs (OnKeyDown): Support left and right properly
  12800. (navigates as well as expanding and collapsing.
  12801. - Add support for Multiply, this expands all the selected nodes
  12802. children.
  12803. - Fix some tabbing.
  12804. 2005-06-28 Jackson Harper <[email protected]>
  12805. * TreeView.cs: Implement keyboard navigation, currently supports,
  12806. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  12807. support for toggling checkboxes with the space bar.
  12808. 2005-06-28 Jackson Harper <[email protected]>
  12809. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  12810. tree.
  12811. 2005-06-28 Jackson Harper <[email protected]>
  12812. * TreeView.cs: Add missing event.
  12813. 2005-06-27 Peter Bartok <[email protected]>
  12814. * TextControl.cs:
  12815. - Made line ending size configurable (now allows for counting
  12816. lineendings as \n or \r\n)
  12817. - Added margin to viewport to keep caret visible on right side
  12818. - Fixed translation routines for line/pos to documentpos to consider
  12819. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  12820. - Fixed some line-endings to be unix style
  12821. - Fixed Document.FormatText to perform it's calculations 1-based
  12822. - Added descriptions for a few methods that might otherwise get
  12823. used wrong
  12824. - Added NOTE section with some basic conventions to remember at
  12825. the top of the file
  12826. - Major fixup for RichTextBox selection drawing:
  12827. * Fixed crashes when multiple tags on a single line were selected
  12828. * fixed selection box drawing not overlaying text
  12829. * fixed bogus offset calculation for tags not starting at index 1
  12830. * Switched behaviour from using multiple Substrings of a
  12831. StringBuilder.ToString() to using multiple
  12832. StringBuilder.ToString(start, length) statements, hoping this is
  12833. faster (kept original version commented out in the code, in case
  12834. original version was faster)
  12835. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  12836. alignment != Left
  12837. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  12838. call it as well
  12839. 2005-06-27 Jackson Harper <[email protected]>
  12840. * TabControl.cs: Move to the left and right with the arrow
  12841. keys. These keys don't cycle beyond first and last like
  12842. tab. Refresh all the tabs when scrolling them to the left or
  12843. right.
  12844. 2005-06-27 Jackson Harper <[email protected]>
  12845. * TabControl.cs:
  12846. - ToString: Added method
  12847. - CreateParams: Remove TODO and comment
  12848. - OnKeyDown: Cycle through bounds properly.
  12849. - SelectedIndex: Scroll to the right or left if we need to
  12850. display the newly selected tab.
  12851. 2005-06-23 Jackson Harper <[email protected]>
  12852. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  12853. set.
  12854. 2005-06-23 Jackson Harper <[email protected]>
  12855. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  12856. CTRL-SHIFT-TAB, and HOME, END are there any others?
  12857. 2005-06-23 Jackson Harper <[email protected]>
  12858. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  12859. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12860. * DataGridTextBoxColumn.cs: fixes and enhancements
  12861. * ThemeWin32Classic.cs: fixes and enhancements
  12862. * DataGridBoolColumn.cs: fixes and enhancements
  12863. * DataGridDrawingLogic.cs: fixes and enhancements
  12864. * CurrencyManager.cs: fixes and enhancements
  12865. * DataGrid.cs: fixes and enhancements
  12866. * DataGridColumnStyle.cs: fixes and enhancements
  12867. 2005-06-22 Jackson Harper <[email protected]>
  12868. * TabControl.cs: Add some missing methods that just call into the
  12869. base. Make the TabPageCollection's IList interface behave in the
  12870. same manner as the MS implementation.
  12871. 2005-06-22 Peter Bartok <[email protected]>
  12872. * TextControl.cs: Added sanity check
  12873. * TextBoxBase.cs:
  12874. - Fixed wrapping behaviour, don't set wrap on single line controls
  12875. (this fixes the breakage of colordialog introduced in an earlier
  12876. checkin)
  12877. - Added rudimentary support for autoscrolling right-aligned controls
  12878. (still needs fixing, also, center alignment scroll is missing)
  12879. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12880. * ScrollBar.cs: Fixes thumbpos on Maximum values
  12881. 2005-06-21 Jonathan Chambers <[email protected]>
  12882. * PropertyGridView.cs: Pass context information to UITypeEditors
  12883. 2005-06-21 Peter Bartok <[email protected]>
  12884. * TextBoxBase.cs:
  12885. - Now calling PositionCaret with absolute space coordinates
  12886. - Enabled vertical scrolling
  12887. - Better tracking of scrollbar changes, tied into WidthChange
  12888. event
  12889. - Improved cursor tracking
  12890. - Removed debug output
  12891. * TextControl.cs:
  12892. - PositionCaret coordinates are now works in absolute space, not
  12893. the canvas
  12894. - Improved tracking of document size
  12895. - Added events for width and height changes
  12896. 2005-06-21 Peter Bartok <[email protected]>
  12897. * Form.cs: Set focus to active control when form is activated
  12898. * TextControl.cs:
  12899. - Added word-wrap functionality to RecalculateLine()
  12900. - Added some short function descriptions for VS.Net to aid in
  12901. writing dependent controls
  12902. - Added Caret property, returning the current coords of the caret
  12903. - Added ViewPortWidth and ViewPortHeight properties
  12904. - Added Wrap property
  12905. - Added CaretMoved event
  12906. - Removed some old debug code
  12907. - Split() can now create soft splits
  12908. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  12909. - Added method to format existing text
  12910. - Fixed size/alignment calculations to use viewport
  12911. - RecalculateDocument now can handle changing line-numbers while
  12912. calculating lines
  12913. * TextBox.cs:
  12914. - Added some wrap logic, we don't wrap if alignment is not left
  12915. - Added casts for scrollbar var, base class switched types to
  12916. also support RichTextBoxA
  12917. - Implemented handling of scrollbar visibility flags
  12918. * TextBoxBase.cs:
  12919. - Switched scrollbars type to RichTextBoxScrollBars to support
  12920. RichTextBox
  12921. - Added tracking of canvas width/height
  12922. - Switched scrollbars to be not selectable (to keep focus on text)
  12923. - Added central CalculateDocument() method to handle all redraw
  12924. requirements
  12925. - Added ReadOnly support
  12926. - Added WordWrap support
  12927. - Fixed handling of Enter key (we now treat it as a DialogKey)
  12928. - Fixed caret positioning when h or v scroll is not zero
  12929. - Fixed placing/generation of vertical scrollbar
  12930. - Added CalculateScrollBars() method to allow updating scrollbar
  12931. limits and visibility
  12932. - Fixed handling of horizontal scroll
  12933. - Added handling of vertical scroll
  12934. - Implemented auto-'jump' when caret moves to close to a left or
  12935. right border and there is text to be scrolled into view (currently
  12936. there's the potential for a stack overflow, until a bug in
  12937. scrollbar is fixed)
  12938. 2005-06-21 Geoff Norton <[email protected]>
  12939. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  12940. 2005-06-19 Alexander Olk <[email protected]>
  12941. * Mime.cs:
  12942. - added inodes.
  12943. - return application/x-zerosize for files with size zero
  12944. (if no extension pattern matches).
  12945. - check matches collection for strings too.
  12946. - return only the first mime type if the name value
  12947. collection has more than one mime type.
  12948. 2005-06-18 Jonathan Chambers <[email protected]>
  12949. * PropertyGrid.cs: Cleaned up some TODOs
  12950. * PropertyGridView.cs: Added support for UITypeEditors
  12951. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12952. * DataGrid.cs: clears cached value
  12953. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12954. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  12955. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  12956. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  12957. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  12958. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  12959. * ThemeWin32Classic.cs: fixes colour
  12960. 2005-06-15 Peter Bartok <[email protected]>
  12961. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  12962. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  12963. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  12964. * Control.cs: Added some MWFCategory and MWFDescription attributes
  12965. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  12966. 2005-06-15 Alexander Olk <[email protected]>
  12967. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  12968. usage
  12969. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  12970. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  12971. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  12972. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  12973. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  12974. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  12975. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  12976. 2005-06-13 Jackson Harper <[email protected]>
  12977. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  12978. isn't printed when the user enables dropping. (X11 does accept
  12979. drops).
  12980. 2005-06-13 Jackson Harper <[email protected]>
  12981. * TreeView.cs: Remove some TODOS.
  12982. 2005-06-13 Jackson Harper <[email protected]>
  12983. * Form.cs: Hook into the mdi framework.
  12984. * MdiClient.cs: Use the base control collections add method so
  12985. parents get setup correctly. Set the default back colour and dock
  12986. style.
  12987. * MdiChildContext.cs: New class, this bad actor handles an
  12988. instance of an MDI window. Right now there is only basic
  12989. support. You can drag, close, and resize windows. Minimize and
  12990. Maximize are partially implemented.
  12991. 2005-06-13 Jackson Harper <[email protected]>
  12992. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  12993. freaky when both vals are negative. NOTE: There are probably other
  12994. places in XplatUIX11 that this needs to be done.
  12995. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  12996. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  12997. * DataGridColumnStyle.cs: fixes signature
  12998. 2005-06-12 Jackson Harper <[email protected]>
  12999. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  13000. windows.
  13001. 2005-06-11 Jackson Harper <[email protected]>
  13002. * StatusBarPanel.cs: Signature cleanups. Implement
  13003. BeginInit/EndInit.
  13004. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  13005. * DataGridTextBoxColumn.cs: Honors aligment
  13006. * GridColumnStylesCollection.cs: Contains is case unsensitive
  13007. * GridTableStylesCollection.cs: several fixes
  13008. * DataGridTableStyle.cs: default column creation
  13009. * DataGridDrawingLogic.cs: fixes
  13010. * CurrencyManager.cs: ListName property
  13011. * DataGrid.cs: multiple styles support
  13012. * DataGridColumnStyle.cs: fixes
  13013. 2005-06-10 Peter Bartok <[email protected]>
  13014. * Control.cs(Select): Moved SetFocus call to avoid potential
  13015. loops if controls change the active control when getting focus
  13016. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  13017. the up/down buttons
  13018. 2005-06-10 Matthias Felgner <[email protected]>
  13019. * ImageListConverter.cs: Implemented
  13020. 2005-06-10 John BouAntoun <[email protected]>
  13021. * MonthCalendar.cs: Wired in NumericUpDown control for year
  13022. 2005-06-10 John BouAntoun <[email protected]>
  13023. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  13024. DoubleClick events, since they are not meant to be fired.
  13025. 2005-06-09 Peter Bartok <[email protected]>
  13026. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  13027. Jonathan's standalone controls into MWF, implemented missing
  13028. events, attributes and methods; added xxxAccessible classes
  13029. * AccessibleObject.cs: Made fields internal so other classes
  13030. can change them if needed
  13031. 2005-06-09 Jonathan Gilbert <[email protected]>
  13032. * UpDownBase.cs: Complete implementation
  13033. * NumericUpDown.cs: Complete implementation
  13034. * DomainUpDown.cs: Complete implementation
  13035. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  13036. * DataGridTextBoxColumn.cs: drawing fixes
  13037. * DataGridCell.cs: fixes ToString method to match MSNet
  13038. * DataGridTableStyle.cs: fixes
  13039. * DataGridBoolColumn.cs: fixes, drawing
  13040. * DataGridDrawingLogic.cs: fixes, new methods
  13041. * DataGridTextBox.cs: Keyboard and fixes
  13042. * DataGrid.cs:
  13043. - Keyboard navigation
  13044. - Scrolling fixes
  13045. - Row selection (single, multiple, deletion, etc)
  13046. - Lots of fixes
  13047. 2005-06-07 Jackson Harper <[email protected]>
  13048. * ThemeWin32Classic.cs: Clear the background area when drawing
  13049. buttons.
  13050. 2005-06-06 Peter Bartok <[email protected]>
  13051. * ImageListStreamer.cs: Fixed signature for GetData
  13052. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  13053. * ComboBox.cs:
  13054. - Added missing ChildAccessibleObject class
  13055. - Added missing OnXXXFocus overrides, switched to using those
  13056. instead of the event handler
  13057. * Control.cs:
  13058. - Added Parent property for ControlAccessibleObject
  13059. - Fixed signatures
  13060. - Fixed attributes
  13061. - Added ResetBindings()
  13062. * ListBindingConverter.cs: Implemented some methods
  13063. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  13064. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  13065. * ContainerControl.cs: Fixed signature, now subscribing to the
  13066. ControlRemoved event instead of overriding the handler, LAMESPEC
  13067. * CurrencyManager.cs: Added missing attribute
  13068. * MonthCalendar.cs: Added missing properties
  13069. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13070. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  13071. 2005-06-06 Gaurav Vaish and Ankit Jain
  13072. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13073. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13074. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13075. * Control.cs: fixes CreateParams Width / Height.
  13076. 2005-06-05 Peter Bartok <[email protected]>
  13077. * Win32DnD.cs: Removed compilation warnings
  13078. 2005-06-05 Peter Bartok <[email protected]>
  13079. * Control.cs (CreateParams): Since we don't know if one of the
  13080. properties we use is overridden, lets make sure if we fail accessing
  13081. we continue with a backup plan
  13082. 2005-06-05 Peter Bartok <[email protected]>
  13083. * Win32DnD.cs:
  13084. - Removed debug output
  13085. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  13086. struct
  13087. - Plugged resource leak
  13088. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  13089. MS size
  13090. 2005-06-05 Peter Bartok <[email protected]>
  13091. * XplatUIWin32.cs: Removed DnD code
  13092. * Win32DnD.cs: Implemented drop source and drop target functionality
  13093. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  13094. * UpDownBase.cs: remove duplicate addition of event, enable some code
  13095. that was commented out.
  13096. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  13097. Validate input when a key is pressed. It works fine now for every
  13098. combination of Hexadecimal. Only missing some drawing love when sharing
  13099. space with other controls.
  13100. 2005-06-04 Peter Bartok <[email protected]>
  13101. * Control.cs:
  13102. - We need to pass a window for DragDrop, so enable callback events
  13103. - Added DnD callback events when being a DragSource
  13104. * XplatUI.cs (StartDrag): Added window handle argument
  13105. * XplatUIDriver.cs (StartDrag): Added window handle argument
  13106. * QueryContinueDragEventArgs: Made fields internally accessible so
  13107. drivers can set them
  13108. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  13109. can set them
  13110. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  13111. * DataGridTextBoxColumn.cs: column text editing
  13112. * DataGridTableStyle.cs: Respect columns styles created by the user
  13113. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  13114. * DataGridBoolColumn.cs: bool column editing
  13115. * DataGrid.cs: fixes to scrolling, properties, etc
  13116. * DataGridTextBox.cs: handle keyboard
  13117. * DataGridColumnStyle.cs: fixes
  13118. 2005-06-02 Jackson Harper <[email protected]>
  13119. * ImageListStreamer.cs: Somewhat broken implementation of
  13120. GetObjectData. The RLE needs some work to match MS properly.
  13121. 2005-06-02 Jackson Harper <[email protected]>
  13122. * X11Dnd.cs: Attempting to keep at least one file in MWF
  13123. monostyled.
  13124. 2005-06-02 Peter Bartok <[email protected]>
  13125. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  13126. that way
  13127. 2005-06-02 Peter Bartok <[email protected]>
  13128. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  13129. * XplatUI.cs: Added DoDragDrop() method
  13130. * XplatUIDriver.cs: Added DoDragDrop() method
  13131. 2005-06-02 Jackson Harper <[email protected]>
  13132. * Splitter.cs: Implement BorderStyle.
  13133. 2005-06-02 Jackson Harper <[email protected]>
  13134. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  13135. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  13136. X11 using XDND.
  13137. 2005-06-02 Peter Bartok <[email protected]>
  13138. * DataObject.cs:
  13139. - Added Data setter
  13140. - Fixed broken insertion code for SetData, now also
  13141. overwrites any existing entry of the same format name
  13142. * Hwnd.cs: Added list of pointers that automatically gets
  13143. freed when the window is disposed
  13144. * XplatUI.cs: Call driver initialization method when loading
  13145. a driver
  13146. * Control.cs:
  13147. - OnDragLeave takes EventArgs, not DragEventArgs
  13148. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  13149. supported
  13150. - Forces style update when drop state changes
  13151. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  13152. not perfect since we cannot (yet) call the IDataObject.GetData()
  13153. method, we keep getting 0x80004005 error, dunno why)
  13154. 2005-06-02 Peter Bartok <[email protected]>
  13155. * DragEventArgs.cs: Make fields internal so we can cache the
  13156. object and re-set the fields from XplatUI
  13157. 2005-06-02 Jackson Harper <[email protected]>
  13158. * Control.cs: Add some internal methods so the DnD subsystem can
  13159. raise DnD events. Also call into the driver when AllowDrop is set.
  13160. * XplatUI.cs:
  13161. * XplatUIDriver.cs: New method for setting whether or not a window
  13162. is allowed to accept drag and drop messages.
  13163. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  13164. * ScrollBar.cs: Make sure that values sent in Scroll events
  13165. are always between Maximum and Minimum.
  13166. 2005-06-01 Marek Safar <[email protected]>
  13167. * Menu.cs: Call MenuChanged when menuitem visibility has been
  13168. changed.
  13169. * MenuItem.cs: Rebuild menu when item is (not) visible.
  13170. * MainMenu.cs: MainMenu has special MenuChanged.
  13171. * Theme.cs: Caption and FrameBorderSize are not fixed.
  13172. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  13173. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  13174. * XplatUIX11.cs,
  13175. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  13176. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  13177. 2005-05-30 Jackson Harper <[email protected]>
  13178. * DataFormat.cs: We can't statically initialize this stuff because
  13179. it calls into the xplatui and could create a loop. So we lazy init
  13180. it.
  13181. 2005-05-28 Jackson Harper <[email protected]>
  13182. * Control.cs: Proper implementation of Product(Name/Version).
  13183. 2005-05-27 Jackson Harper <[email protected]>
  13184. * DataObject.cs: Dont crash if no data is found.
  13185. 2005-05-26 Rafael Teixeira <[email protected]>
  13186. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  13187. as per status page, guessing it should be set to true
  13188. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  13189. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  13190. * DataGridTableStyle.cs: set proper formatting text, def header text
  13191. * ThemeWin32Classic.cs: new themable paramaters
  13192. * DataGridBoolColumn.cs: paint check box, get data, fixes
  13193. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  13194. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  13195. * DataGridColumnStyle.cs: fixes
  13196. * Theme.cs: new themable paramaters
  13197. 2005-05-26 Peter Bartok <[email protected]>
  13198. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  13199. 2005-05-24 Jonathan S. Chambers <[email protected]>
  13200. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  13201. 2005-05-24 Peter Bartok <[email protected]>
  13202. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  13203. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  13204. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  13205. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  13206. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  13207. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  13208. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  13209. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  13210. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  13211. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  13212. missing attributes, etc
  13213. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  13214. 2005-05-24 Peter Bartok <[email protected]>
  13215. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  13216. when user tries to get help
  13217. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  13218. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  13219. to suppress warnings
  13220. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  13221. avoid unreachable code warning
  13222. 2005-05-20 Peter Bartok <[email protected]>
  13223. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  13224. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13225. * DataGridTextBoxColumn.cs: Basic painting methods
  13226. * DataGridTableStyle.cs: Set table style in the column
  13227. * ThemeWin32Classic.cs: Use Theme for colors
  13228. * DataGridDrawingLogic.cs: Implement more drawing
  13229. * DataGrid.cs: drawing, theming, enhacements, fixes
  13230. * DataGridColumnStyle.cs: fixes, drawing
  13231. * Theme.cs: theming for Datagrid
  13232. 2005-05-20 Peter Bartok <[email protected]>
  13233. * Cursor.cs: Implemented GetObjectData() method
  13234. 2005-05-20 Peter Bartok <[email protected]>
  13235. * Cursors.cs: Added setting of cursor name
  13236. * Cursor.cs:
  13237. - Implemented constructors
  13238. - Implemented Draw and DrawStretched
  13239. - Implemented Current property
  13240. - Implemented == and != operators
  13241. - Implemented Dispose()
  13242. - Implemented ToString
  13243. - Added missing attributes
  13244. * XplatUIX11.cs:
  13245. - Added missing reset for OverrideCursor when DoEvents is called
  13246. - Fixed creation of cursor, logic was wrong
  13247. * XplatUIWin32.cs:
  13248. - Added missing reset for OverrideCursor when DoEvents is called
  13249. - Fixed creation of cursor, bit arrays were swapped
  13250. * Clipboard.cs: Removed obsolete MonoTODO attribute
  13251. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13252. * ComboBox.cs: fixes OnSelectedItemChanged
  13253. * ControlBindingsCollection.cs: fixes item range check
  13254. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13255. * UpDownBase.cs:
  13256. - Calc preferred height properly
  13257. - Implement missing properties
  13258. * NumericUpDown.cs: Implement missing events
  13259. 2005-05-19 Jackson Harper <[email protected]>
  13260. * TabControl.cs: New method that resizes the tab pages before
  13261. redrawing them. This as needed as the control is double buffered
  13262. and sizing will not be recalculated unless ResizeTabPages is
  13263. called.
  13264. * TabPage.cs: Set base.Text instead of Text in the constructor so
  13265. that UpdateOwner does not get called. Use the new Redraw method of
  13266. TabControl instead of Refresh so the sizing is recalculated.
  13267. * ThemeWin32Classic.cs: Draw the text for button tabs.
  13268. 2005-05-19 Jackson Harper <[email protected]>
  13269. * Control.cs: Paint control background images. Fix typo where
  13270. PaintControlBackground was not getting called correctly.
  13271. 2005-05-19 Peter Bartok <[email protected]>
  13272. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  13273. I can investigate, apparently I broke FileDialog
  13274. 2005-05-19 Marek Safar <[email protected]>
  13275. * AxHost.cs: Some simple properties.
  13276. * Control.cs: window must be accessible after ctor.
  13277. * Form.cs: Added TransparencyKey property.
  13278. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  13279. * XplatUIWin32.cs: SetBorderStyle implemented.
  13280. 2005-05-18 Peter Bartok <[email protected]>
  13281. * DataObject.cs: Entries are not global but particular to the
  13282. DataObject, now it behaves that way
  13283. * XplatUIWin32.cs: Implemented Clipboard methods
  13284. * Clipboard.cs: Implemented
  13285. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  13286. * XplatUIOSX.cs: Updated to final clipboard prototypes
  13287. * XplatUIX11.cs: Implemented Clipboard methods
  13288. * XplatUIDriver.cs: Updated to final clipboard prototypes
  13289. * XplatUIStructs.cs:
  13290. - Added BITMAPINFOHEADER struct
  13291. - Added ClipboardFormats enum
  13292. * X11Structs.cs:
  13293. - Added ClipboardStruct
  13294. - Added Atom enum items for clipboard types
  13295. - Fixed atom types for Selection event structures
  13296. * DataFormats.cs:
  13297. - Added internal properties and methods for drivers to enumerate
  13298. all known formats
  13299. - Switched initialization method to allow drivers to assign their
  13300. own IDs even for the MS predefined clipboard IDs
  13301. * XplatUI.cs: Updated to final clipboard interface
  13302. 2005-05-18 Jonathan S. Chambers <[email protected]>
  13303. * PropertyGridView.cs: Fixed compiler warnings.
  13304. 2005-05-18 Jonathan S. Chambers <[email protected]>
  13305. * PropertyGrid.cs: Added some event calls
  13306. * PropertyGridView.cs: Change drawing code to use double buffering
  13307. * PropertyGridTextBox.cs: Changed Text property name
  13308. * GridItem.cs: Added Bounds property.
  13309. * GridEntry.cs: Added Bounds property.
  13310. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  13311. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  13312. since GetType() may not return the correct type if the object is
  13313. a remoting proxy.
  13314. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  13315. * TreeNodeCollection.cs: fixes get/set item ranges
  13316. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  13317. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  13318. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  13319. * ComboBox.cs: Fix item range comparation
  13320. * ListView.cs: Fix item range comparation
  13321. 2005-05-03 Alexander Olk <[email protected]>
  13322. * FontDialog.cs:
  13323. - Clear example panel when OnPaint is called
  13324. - Better solution for displaying the example panel text
  13325. - Select default indexes in the ListBoxes
  13326. 2005-05-11 Geoff Norton <[email protected]>
  13327. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  13328. 2005-05-11 Peter Bartok <[email protected]>
  13329. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  13330. * SelectionRangeConverter.cs: Implemented
  13331. * PropertyGrid.cs: Fixed attribute value
  13332. * Control.cs:
  13333. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  13334. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  13335. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  13336. that's common to all drivers. First methods to go there are
  13337. Sebastien Pouliot's CAS Stack Propagation helper methods
  13338. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  13339. Sebastien Pouliot for CAS Stack Propagation
  13340. 2005-05-11 Geoff Norton <[email protected]>
  13341. * OSXStructs.cs:
  13342. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  13343. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  13344. * DataGridTextBoxColumn.cs: fixed some members
  13345. * GridColumnStylesCollection.cs: indexed column is case insensitive
  13346. * DataGridTableStyle.cs: fixes
  13347. * ThemeWin32Classic.cs: add new theme parameter
  13348. * Theme.cs: add new theme parameter
  13349. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  13350. * DataGrid.cs: fixes, new internal properties, etc.
  13351. * DataGridColumnStyle.cs: allows to set grid value
  13352. *
  13353. 2005-05-10 Peter Bartok <[email protected]>
  13354. * AccessibleObject.cs:
  13355. - Removed MonoTODO attribute on help, method is correct
  13356. - Fixed Bounds property
  13357. * AxHost.cs: Moved MonoTODO
  13358. * ButtonBase.cs: Now setting AccessibleObject properties
  13359. * RadioButton.cs: Setting proper AccessibleObject role
  13360. * CheckBox.cs: Setting proper AccessibleObject role
  13361. * ControlBindingsCollection.cs: Added properties, methods and attributes
  13362. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  13363. userdefined DataFormats.Format items as well
  13364. * ListControl.cs: Removed data_member from the public eye
  13365. * OpenFileDialog.cs:
  13366. - Made class sealed
  13367. - Added missing attributes
  13368. * SaveFileDialog.cs: Added missing attributes
  13369. * ImageListStreamer.cs: Fixed code that caused warnings
  13370. * LinkLabel.cs: Removed unreachable code
  13371. * TreeView.cs: Fixed code that caused warnings
  13372. * PropertyGridView.cs: Fixed code that caused warnings
  13373. * GridColumnStylesCollection.cs: Added missing attributes
  13374. * GridTableStylesCollection: Added missing attribute
  13375. * PropertyManager: Added .ctor
  13376. * SecurityIDType: Added
  13377. * DataObject.cs: Implemented class
  13378. * LinkArea.cs: Added missing attribute
  13379. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  13380. * RadioButton.cs: call base method to allow to fire OnClick event
  13381. * UpDownBase.cs: OnMouseUp call base method
  13382. * CheckedListBox.cs: call base method before returning
  13383. * TrackBar.cs: call base method before returning
  13384. 2005-05-10 Peter Bartok <[email protected]>
  13385. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  13386. for messages
  13387. 2005-05-10 Peter Bartok <[email protected]>
  13388. * DataFormats.cs: Implemented
  13389. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  13390. XplatUIX11.cs: Added Clipboard APIs
  13391. * XplatUIWin32.cs: Implemented Clipboard APIs
  13392. * FolderBrowserDialog.cs: Added missing event, attributes
  13393. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  13394. * CheckBox.cs: call base method to allow to fire OnClick event
  13395. 2005-05-09 Sebastien Pouliot <[email protected]>
  13396. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  13397. 2005-05-06 Peter Bartok <[email protected]>
  13398. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  13399. * Screen.cs: Implemented
  13400. * HelpNavigator.cs: Added
  13401. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  13402. property
  13403. * HelpProvider.cs: Implemented all we can do until we have a CHM
  13404. help library (which means that "What's This" does work now)
  13405. 2005-05-06 Jackson Harper <[email protected]>
  13406. * XplatUIX11.cs: Fix waking up the main loop.
  13407. 2005-05-05 Peter Bartok <[email protected]>
  13408. * XplatUI.cs: Updated revision
  13409. * Form.cs: Removed enless loop
  13410. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  13411. * Label.cs (OnPaint): Added call to base.OnPaint()
  13412. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  13413. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  13414. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  13415. * AxHost.cs: Added
  13416. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  13417. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  13418. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  13419. reuse of ToolTipWindow by other controls
  13420. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  13421. * XplatUIX11.cs: Now clipping drawing area (experimental)
  13422. * PictureBox.cs: Moved base.OnPaint() call to end of method
  13423. * Theme.cs: Fixed ToolTip abstracts to match new format
  13424. * ErrorProvider.cs: Implemented
  13425. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  13426. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  13427. * LinkLabel.cs:
  13428. - Adds cursors
  13429. - Handles focus
  13430. - Implements LinkBehavior
  13431. - Fixes many issues
  13432. 2005-05-03 Jackson Harper <[email protected]>
  13433. * ListView.cs: Calculate the scrollbar positioning on resize and
  13434. paint, so they get put in the correct place.
  13435. 2005-05-03 Alexander Olk <[email protected]>
  13436. * ColorDialogs.cs: The small color panels are now handled by
  13437. SmallColorControl. This fixes drawing of the focus rectangle
  13438. and adds a 3D border.
  13439. 2005-05-03 Peter Bartok <[email protected]>
  13440. * Control.cs: Modified version of Jonathan Chamber's fix for
  13441. double-buffering
  13442. 2005-05-03 Jackson Harper <[email protected]>
  13443. * ListView.cs: Remove redraw variable. Control now handles whether
  13444. or not a redraw needs to be done, and will only raise the paint
  13445. event if redrawing is needed.
  13446. 2005-05-03 Jackson Harper <[email protected]>
  13447. * Splitter.cs: No decorations for the splitter form. Cache the
  13448. hatch brush.
  13449. 2005-05-03 Jackson Harper <[email protected]>
  13450. * TreeView.cs: Use dashed lines to connect nodes. Use the
  13451. ControlPaint method for drawing the focus rect instead of doing
  13452. that in treeview.
  13453. 2005-05-02 Peter Bartok <[email protected]>
  13454. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  13455. 2005-04-29 Jackson Harper <[email protected]>
  13456. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  13457. entire image buffer. Just clear the clipping rectangle.
  13458. 2005-04-29 Jackson Harper <[email protected]>
  13459. * ThemeWin32Classic.cs: Don't draw list view items that are
  13460. outside the clipping rectangle.
  13461. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  13462. * ListBox.cs: added horizontal item scroll
  13463. 2005-04-29 Jackson Harper <[email protected]>
  13464. * ThemeWin32Classic.cs: Remove some old debug code that was
  13465. causing flicker with the new double buffering code.
  13466. 2005-04-29 John BouAntoun <[email protected]>
  13467. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  13468. behave like combobox and comboboxlist (still not sure if this is
  13469. correct though).
  13470. 2005-04-28 Jackson Harper <[email protected]>
  13471. * ThemeWin32Classic.cs: Don't fill the middle of progress
  13472. bars. This fills areas outside of the clip bounds that don't need
  13473. to be filled.
  13474. 2005-04-28 Jackson Harper <[email protected]>
  13475. * Control.cs: Don't expose functionality to touch the image buffers.
  13476. * ProgressBar.cs:
  13477. * ListView.cs: We do not need to (and no longer can) manipulate
  13478. the image buffers directly. All of this is handled by Control.
  13479. 2005-04-28 Peter Bartok <[email protected]>
  13480. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13481. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  13482. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  13483. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13484. * Combobox:
  13485. - Adjust control's height for non-simple comboboxes (bug fix)
  13486. - Remove dead code
  13487. * MenuAPI.cs: remove unused var
  13488. * ScrollBar.cs: remove unsed var
  13489. * ListBox.cs: unselect items when clearing
  13490. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13491. * ListControl.cs: honors OnPositionChanged and default Selected Item
  13492. * ListBox.cs: unselect items when clearing
  13493. 2005-04-27 Jackson Harper <[email protected]>
  13494. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  13495. if a "correct" keyboard is not found. This will make us not crash,
  13496. but might give some users bad keyboard layouts...seems to be the
  13497. same thing rewind does.
  13498. 2005-04-27 Jackson Harper <[email protected]>
  13499. * BindingManagerBase.cs: Attach the current/position changed
  13500. handlers to their respective events.
  13501. 2005-04-27 Jackson Harper <[email protected]>
  13502. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  13503. not just a blit.
  13504. * ThemeWin32Classic.cs: Don't fill the background for picture
  13505. boxes. This could overright user drawing.
  13506. * ComboBox.cs: Just fill the clipping rect not the entire client
  13507. rect when drawing the background. This prevents pieces of the
  13508. image buffer from getting overwritten and is theoretically faster.
  13509. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  13510. * ComboBox.cs: Databinding support fixes, fire missing events
  13511. * ListControl.cs: implement missing methods and properties, fixes
  13512. * ThemeWin32Classic.cs: Databiding support on Drawing
  13513. * CheckedListBox.cs: Databinding support fixes, fire missing events
  13514. * ListBox.cs: Databinding support fixes, fire missing events
  13515. 2005-04-25 Peter Bartok <[email protected]>
  13516. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  13517. 2005-04-25 Jackson Harper <[email protected]>
  13518. * TreeView.cs: Use the horizontal scrollbars height not width when
  13519. determining how much of the client area is available.
  13520. 2005-04-25 Jackson Harper <[email protected]>
  13521. * Control.cs: Double buffering is handled differently now. As per
  13522. the spec, the extra buffer is created in the WM_PAINT message and
  13523. passed down to the control's drawing code.
  13524. * GroupBox.cs:
  13525. * Label.cs:
  13526. * CheckBox.cs:
  13527. * ProgressBar.cs:
  13528. * RadioButton.cs:
  13529. * ColorDialog.cs:
  13530. * ComboBox.cs:
  13531. * PropertyGridView.cs:
  13532. * UpDownBase.cs:
  13533. * MessageBox.cs:
  13534. * MenuAPI.cs:
  13535. * ListView.cs:
  13536. * ButtonBase.cs:
  13537. * SizeGrip.cs:
  13538. * ScrollBar.cs:
  13539. * ListBox.cs:
  13540. * TrackBar.cs:
  13541. * ToolBar.cs:
  13542. * PictureBox.cs:
  13543. * DateTimePicker.cs:
  13544. * StatusBar.cs:
  13545. * TreeView.cs: Update to new double buffering system.
  13546. * MonthCalendar.cs: Uncomment block, as Capture is now
  13547. working. Update to new double buffering
  13548. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  13549. * PaintEventArgs.cs: New internal method allows us to set the
  13550. graphics object. This is used for double buffering.
  13551. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  13552. rectangle. The internal paint_area var has been removed from
  13553. StatusBar. The clipping rect should be used instead.
  13554. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  13555. * TabPage.cs: The RefreshTabs method was removed, so just call the
  13556. tab controls Refresh method now.
  13557. * TabControl.cs: Update to new double buffering. Make sure the
  13558. handle is created before sizing the tab pages, otherwise we will
  13559. get stuck in a loop.
  13560. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  13561. * LinkLabel.cs: Fix typo, bug #74719; patch
  13562. from Borja Sanchez Zamorano
  13563. 2005-04-22 Jackson Harper <[email protected]>
  13564. * TreeNode.cs: Implement Handle stuff.
  13565. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  13566. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  13567. * DataGridTextBoxColumn.cs: call base constructors, fixes
  13568. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  13569. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  13570. * DataGridTableStyle.cs: implements create default column styles
  13571. * DataGridBoolColumn.cs: which types can handle
  13572. * DataGrid.cs: missing methods, fixes, new functionality
  13573. * DataGridColumnStyle.cs: fixes
  13574. 2005-04-20 Alexander Olk <[email protected]>
  13575. * FolderBrowserDialog.cs:
  13576. - Use a thread to fill the TreeView
  13577. - Adjusted some sizes
  13578. 2005-04-19 Peter Bartok <[email protected]>
  13579. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  13580. property. Fixes #74360.
  13581. 2005-04-19 Jackson Harper <[email protected]>
  13582. * XEventQueue.cs: Lock when getting the lockqueue size.
  13583. * PictureBox.cs: Call base OnPaint
  13584. 2005-04-19 Peter Bartok <[email protected]>
  13585. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  13586. messages were no longer being processed (this broke BeginInvoke)
  13587. 2005-04-18 Jackson Harper <[email protected]>
  13588. * TreeView.cs: buglet that caused node images to get drawn
  13589. regardless of whether or not they were in the clipping rectangle.
  13590. 2005-04-18 Jackson Harper <[email protected]>
  13591. * CurrencyManager.cs: There are four rules for GetItemProperties:
  13592. - If the type is an array use the element type of the array
  13593. - If the type is a typed list, use the type
  13594. - If the list contains an Item property that is not an object, use
  13595. that property
  13596. - use the first element of the list if there are any elements in
  13597. the list.
  13598. 2005-04-17 Jackson Harper <[email protected]>
  13599. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  13600. click. This handles offsets for scrolling properly and reduces
  13601. memory. Also fixed GetNode to not offset now that TopNode works
  13602. properly.
  13603. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  13604. 2005-04-17 Jackson Harper <[email protected]>
  13605. * CursorConverter.cs: Initial implementation.
  13606. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13607. * ListControl.cs: work towards complex data binding support on ListControl
  13608. * CurrencyManager.cs: work towards complex data binding support on ListControl
  13609. * ListBox.cs: work towards complex data binding support on ListControl
  13610. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13611. * GridTableStylesCollection.cs: fixes name and constructor
  13612. * DataGridTableStyle.cs: fixes
  13613. * DataGridBoolColumn.cs: fixes names and constructors
  13614. * DataGrid.cs: define methods and properties. Some init implementations
  13615. * DataGridCell.cs: define methods and properties. Some init implementations
  13616. * GridTablesFactory.cs: Define methods and properties
  13617. 2005-04-15 Geoff Norton <[email protected]>
  13618. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  13619. graphics port changes. We still want the coordinates in global screen
  13620. coordinates.
  13621. 2005-04-14 Jackson Harper <[email protected]>
  13622. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  13623. check plus minus or checkbox clicks unless those features are enabled.
  13624. 2005-04-14 Jackson Harper <[email protected]>
  13625. * TreeView.cs: Add methods for setting the top and bottom visible
  13626. nodes. TreeNode::EnsureVisible uses these methods.
  13627. * TreeNode.cs: Implement EnsureVisible
  13628. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  13629. * Form.cs: Pospone menu assignation if the window has not been created yet
  13630. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  13631. size and position
  13632. 2005-04-12 Jackson Harper <[email protected]>
  13633. * TreeView.cs: Set the TopNode properly when scrolling
  13634. occurs. This has the added benifit of reducing the amount of
  13635. walking that needs to be done when drawing. Also removed an old
  13636. misleading TODO.
  13637. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  13638. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  13639. * Timer.cs: fixes interval setting when the timer is already enabled
  13640. 2005-04-10 Alexander Olk <[email protected]>
  13641. * FolderBrowserDialog.cs: First approach
  13642. 2005-04-09 Peter Bartok <[email protected]>
  13643. * FolderBrowserDialog: Added
  13644. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  13645. * LinkLabel.cs: move drawing code into the theme
  13646. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  13647. * Theme.cs: define DrawLinkLabel method
  13648. 2005-04-05 Jackson Harper <[email protected]>
  13649. * BindingContext.cs: Use weak references so these bad actors don't
  13650. stay alive longer then they need to.
  13651. 2005-04-05 Jackson Harper <[email protected]>
  13652. * ListControl.cs: Basic implementation of complex databinding.
  13653. * ComboBox.cs:
  13654. * ListBox.cs: Add calls to ListControl databinding methods.
  13655. 2005-04-05 Alexander Olk <[email protected]>
  13656. * FileDialog.cs:
  13657. - Don't change PopupButtonState to Normal when the
  13658. PopupButton gets pressed several times.
  13659. - Renamed ButtonPanel to PopupButtonPanel
  13660. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  13661. * ColorDialog.cs: Use cached objects instead of creating them
  13662. * LinkLabel.cs: Use cached objects instead of creating them
  13663. * Splitter.cs: Use cached objects instead of creating them
  13664. * FontDialog.cs: Use cached objects instead of creating them
  13665. * PropertyGridView.cs: Use cached objects instead of creating them
  13666. * MessageBox.cs: Use cached objects instead of creating them
  13667. * FileDialog.cs: Use cached objects instead of creating them
  13668. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  13669. * TreeView.cs: Use cached objects instead of creating them
  13670. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  13671. * Control.cs: use Equals to compare the font since no == op
  13672. * ScrollBar.cs: use Equals to compare the font since no == op
  13673. 2005-04-04 Alexander Olk <[email protected]>
  13674. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  13675. 2005-04-01 Jackson Harper <[email protected]>
  13676. * Binding.cs: Implement IsBinding.
  13677. * BindingManagerBase.cs:
  13678. * PropertyManager.cs:
  13679. * CurrencyManager.cs: Add IsSuspended property.
  13680. 2005-04-01 Jackson Harper <[email protected]>
  13681. * Binding.cs: Had some IsAssignableFrom calls backwards.
  13682. 2005-04-01 Jackson Harper <[email protected]>
  13683. * Binding.cs: Handle null data members when pulling data.
  13684. * PropertyManager.cs: Handle the data member being a property that
  13685. does not exist.
  13686. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13687. * DataGridTextBoxColumn.cs: fixes signature
  13688. * DataGrid.cs: calls right constructor
  13689. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13690. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  13691. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  13692. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  13693. * DataGridTableStyle.cs: implements DataGridTableStyle
  13694. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  13695. * DataGridTextBox.cs: implements DataGridTextBox
  13696. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  13697. 2005-03-31 Alexander Olk <[email protected]>
  13698. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  13699. 2005-03-29 Peter Bartok <[email protected]>
  13700. * Application.cs:
  13701. - Properly implemented CompanyName property
  13702. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  13703. returns a path that includes CompanyName, ProductName and
  13704. Version (fixes bug #70330)
  13705. 2005-03-29 Stefan Buehler <[email protected]>
  13706. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  13707. fixes bug #72588.
  13708. 2005-03-28 Alexander Olk <[email protected]>
  13709. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  13710. - Added ReadOnly CheckBox
  13711. - Further refactoring: moved some code from Open-/SaveFileDialog
  13712. to FileDialog
  13713. 2005-03-28 Alexander Olk <[email protected]>
  13714. * OpenFileDialog.cs: Fixed CheckFileExists
  13715. * FileDialog.cs:
  13716. Moved FileView and DirComboBox outside FileDialog class.
  13717. They can now be used outside FileDialog
  13718. 2005-03-27 Alexander Olk <[email protected]>
  13719. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  13720. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  13721. 2005-03-27 Alexander Olk <[email protected]>
  13722. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13723. - Added missing CreatePrompt property in SaveDialog
  13724. - Overall SaveDialog handling should be better now
  13725. - Added non standard ShowHiddenFiles property
  13726. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  13727. - Added InitialDirectory and RestoreDirectory support
  13728. 2005-03-26 Alexander Olk <[email protected]>
  13729. * FileDialog.cs: Made dirComboBox usable
  13730. 2005-03-24 Alexander Olk <[email protected]>
  13731. * FileDialog.cs: Added Filter support (case sensitiv)
  13732. 2005-03-24 Jackson Harper <[email protected]>
  13733. * TabControl.cs: Need a couple more pixels for the lines.
  13734. 2005-03-23 Jackson Harper <[email protected]>
  13735. * TabControl.cs: Give the tab page focus when it is selected.
  13736. 2005-03-23 Jackson Harper <[email protected]>
  13737. * TabControl.cs: Account for the drawing of tabs borders when
  13738. invalidating. If the slider was clicked dont do click detection on
  13739. the tabs.
  13740. 2005-03-23 Jackson Harper <[email protected]>
  13741. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  13742. 2005-03-22 Jonathan Chambers <[email protected]>
  13743. * CategoryGridEntry.cs: Added
  13744. * GridItem.cs: Added helper properties
  13745. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  13746. * GridEntry.cs: Updated code for collection
  13747. * PropertyGrid.cs: Cleaned up some formatting
  13748. * PropertyGridView.cs: Added drop down functionality for enums.
  13749. * GridItemCollection.cs: Added enumerator logic
  13750. * PropertyGridEntry.cs: Added
  13751. 2005-03-19 Alexander Olk <[email protected]>
  13752. * FileDialog.cs:
  13753. - Removed unnecessary commented code
  13754. - Fixed handling for entering the filename manually in the combobox
  13755. 2005-03-19 Alexander Olk <[email protected]>
  13756. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  13757. 2005-03-18 Peter Bartok <[email protected]>
  13758. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  13759. them being touching the border
  13760. 2005-03-18 Peter Bartok <[email protected]>
  13761. * TextControl.cs: Quick hack to center text better
  13762. 2005-03-18 Peter Bartok <[email protected]>
  13763. * ControlPaint.cs:
  13764. - Don't throw NotImplemented exceptions, just print a notice once
  13765. instead (requested by Miguel). This makes running existing SWF
  13766. apps a bit easier
  13767. * Control.cs:
  13768. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  13769. - Added context menu trigger on right click
  13770. * Panel.cs: Trigger invalidate on resize
  13771. * StatusBar.cs:
  13772. - Removed old double-buffer drawing
  13773. - Added ResizeRedraw style to force proper update of statusbar
  13774. * ListView.cs:
  13775. - Removed debug output
  13776. * ThemeWin32Classic.cs:
  13777. - Fixed drawing of status bar, now draws Text property if there
  13778. are no defined panels
  13779. 2005-03-18 Jackson Harper <[email protected]>
  13780. * ImageList.cs: When the image stream is set pull all the images
  13781. from it.
  13782. * ImageListStreamer.cs: Implement reading image list streams.
  13783. 2005-03-18 Peter Bartok <[email protected]>
  13784. * ThemeWin32Classic.cs (DrawPictureBox):
  13785. - Fixed calculations for centered drawing
  13786. - Fixed drawing for normal mode, not scaling the image on normal
  13787. 2005-03-18 Peter Bartok <[email protected]>
  13788. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  13789. textbox
  13790. * FileDialog.cs:
  13791. - Made Open/Save button the accept button for FileDialog
  13792. - Tied the cancel button to the IButtonControl cancel button
  13793. - Save/Open now properly builds the pathname
  13794. - Now handles user-entered text
  13795. - Preventing crash on right-click if no item is selected
  13796. - Fixed Text property, now uses contents of textbox
  13797. - Fixed SelectedText property, now just returns the text part that
  13798. is selected in the text box
  13799. 2005-03-18 Jackson Harper <[email protected]>
  13800. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  13801. rect, make sure to de-adjust the interior rect after drawing the
  13802. tab text.
  13803. 2005-03-18 Peter Bartok <[email protected]>
  13804. * MenuAPI.cs: Remove menu *before* executing selected action to
  13805. prevent the menu from 'hanging around'
  13806. 2005-03-17 Geoff Norton <[email protected]>
  13807. * XplatUIOSX.cs: Implemented WorkingArea property
  13808. 2005-03-17 Peter Bartok <[email protected]>
  13809. * XplatUIX11.cs: Fixed menu coord calculations
  13810. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  13811. for calculating offsets
  13812. 2005-03-17 Peter Bartok <[email protected]>
  13813. * Hwnd.cs: Do not consider menu presence for default client
  13814. rectangle location/size
  13815. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13816. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  13817. translation functions
  13818. * FileDialog.cs: Fixed (what I presume is a) typo
  13819. 2005-03-17 Jonathan Gilbert <[email protected]>
  13820. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  13821. X access (avoids X-Async errors)
  13822. 2005-03-16 Jackson Harper <[email protected]>
  13823. * TabControl.cs: Raise the SelectedIndexChanged event.
  13824. 2005-03-16 Alexander Olk <[email protected]>
  13825. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13826. - Removed vertical ToolBar and replaced it with a custom panel
  13827. (desktop and home button already work)
  13828. - Added Help button (some controls get resized or relocated then)
  13829. - Draw correct text depending on Open or Save.
  13830. - Fixed some typos...
  13831. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  13832. * ScrollBar.cs:
  13833. - Only change Maximum and Minimum when need it (bug fix)
  13834. 2005-03-15 Peter Bartok <[email protected]>
  13835. * Form.cs: Use Handle for icon, to trigger creation if
  13836. the window does not yet exist
  13837. * Control.cs:
  13838. - CanSelect: Slight performance improvement
  13839. - Focus(): Preventing possible recursion
  13840. - Invalidate(): Removed ControlStyle based clear flag setting
  13841. - WM_PAINT: fixed logic for calling OnPaintBackground
  13842. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  13843. EraseWindowBackground if the control doesn't paint background
  13844. * XplatUIWin32.cs:
  13845. - Moved EraseWindowBackground() method to internal methods
  13846. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  13847. is sent via SendMessage on BeginPaint call on Win32
  13848. * XplatUIX11.cs:
  13849. - Added EraseWindowBackground() method
  13850. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  13851. PaintEventStart, which more closely matches Win32 behaviour
  13852. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  13853. - Fixed SetFocus() to properly deal with client and whole windows
  13854. * Hwnd.cs: Added ErasePending property
  13855. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  13856. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  13857. 2005-03-12 Geoff Norton <[email protected]>
  13858. * XplatUIOSX.cs:
  13859. - Fix hard loop when timers exist.
  13860. - Fix bugs with middle and right click for 3 button mice.
  13861. 2005-03-11 Peter Bartok <[email protected]>
  13862. * XplatUIX11.cs:
  13863. - get_WorkingArea: Need to call X directly, GetWindowPos only
  13864. returns cached data now
  13865. - Added sanity check to GetWindowPos hwnd usage
  13866. 2005-03-11 Jackson Harper <[email protected]>
  13867. * BindingManagerBase.cs: This method isn't used anymore as
  13868. PullData now updates the data in the control.
  13869. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  13870. * Form.cs: fixes menu drawing on X11
  13871. * MenuAPI.cs: fixes menu drawing on X11
  13872. 2005-03-11 Peter Bartok <[email protected]>
  13873. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  13874. from Jonathan Gilbert; should fix bug #73606
  13875. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  13876. in Screen coordinates. Thanks, Jordi.
  13877. * Form.cs: Added missing attribute
  13878. 2005-03-11 Peter Bartok <[email protected]>
  13879. * Form.cs:
  13880. - Rudimentary Mdi support
  13881. - Removed outdated FormParent code
  13882. - Implemented lots of missing properties and methods, still missing
  13883. transparency support
  13884. - Added missing attributes
  13885. - Implemented support for MaximumBounds
  13886. - Added firing of various events
  13887. * XplatUI.cs: Added SetIcon() method
  13888. * XplatUIDriver.cs: Added SetIcon() abstract
  13889. * XplatUIOSX.cs: Stubbed out SetIcon() method
  13890. * XplatUIX11.cs:
  13891. - Implemented SetIcon() support
  13892. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  13893. - Switched to unix line endings
  13894. * XplatUIWin32.cs:
  13895. - Made POINT internal so for can access it as part of MINMAX
  13896. - Implemented SetIcon() support
  13897. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  13898. native Mdi support again, might have to go managed)
  13899. * Control.cs: Now fires the StyleChanged event
  13900. * MdiClient.cs: Added; still mostly empty
  13901. 2005-03-10 Peter Bartok <[email protected]>
  13902. * SaveFileDialog.cs: Added emtpy file
  13903. 2005-03-08 Peter Bartok <[email protected]>
  13904. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  13905. in turn triggers OnCreateContro) when creating a handle for the
  13906. first time.
  13907. * TextControl.cs: Fixed endless loop in certain cases when
  13908. replacing the current selection
  13909. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  13910. * ScrollBar.cs:
  13911. - Honors NewValue changes in Scroll events allowing apps to change it
  13912. - Adds First and Last Scroll events
  13913. - Fixes Thumb events
  13914. 2005-03-07 Peter Bartok <[email protected]>
  13915. * Hwnd.cs: Added DefaultClientRectangle property
  13916. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  13917. more detailed debug information
  13918. * XplatUIX11.cs:
  13919. - Fixed size-change feedback loop, where we would pull an old size
  13920. off the queue and mistakenly change our window's size to an
  13921. earlier value
  13922. - Now compressing ConfigureNotify events, to reduce looping and
  13923. redraw issues
  13924. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  13925. is called
  13926. 2005-03-07 Jackson Harper <[email protected]>
  13927. * Binding.cs: Push data pushes from data -> property. Check if the
  13928. property is readonly when attempting to set it.
  13929. 2005-03-07 Jackson Harper <[email protected]>
  13930. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  13931. instead of IsSubclassOf. Pulling data now sets the value on the
  13932. control.
  13933. * PropertyManager.cs:
  13934. * CurrencyManager.cs: Just need to pull data when updating now,
  13935. because PullData will set the value on the control.
  13936. 2005-03-04 Jackson Harper <[email protected]>
  13937. * Binding.cs: Implement data type parsing and converting on pulled
  13938. data. TODO: Are there more ways the data can be converted?
  13939. 2005-03-04 Jackson Harper <[email protected]>
  13940. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  13941. controls Validating method so we can repull the data when the
  13942. control loses focus.
  13943. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  13944. * ColumnHeader.cs:
  13945. - Fixes null string format
  13946. * ListView.cs:
  13947. - Adds enum type checks
  13948. - Fixes redrawing and recalc need after changing some properties
  13949. - Fixes on focus_item set after the event
  13950. - Fixes adding columns after the control has been created
  13951. * ThemeWin32Classic.cs:
  13952. - Fixes CheckBox focus rectangle
  13953. - Fixes ColumnHeader drawing
  13954. 2005-03-03 Jackson Harper <[email protected]>
  13955. * Binding.cs: Bind to <Property>Changed events so we can detect
  13956. when properties are changed and update the data.
  13957. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  13958. * ImageList.cs:
  13959. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  13960. - Fixes ImageList constructor with ImageList container
  13961. - Fixes image scaling (wrong parameters at DrawImage)
  13962. 2005-02-02 Jackson Harper <[email protected]>
  13963. * Binding.cs: Make property searches case-insensitive. Eliminate
  13964. some duplicated code.
  13965. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  13966. * ComboBox.cs:
  13967. - Handle focus event
  13968. - Fix scrollbar events
  13969. - Discard highlighted item if remove it
  13970. - Fixes SelectedItem with strings
  13971. 2005-03-01 Peter Bartok <[email protected]>
  13972. * Control.cs:
  13973. - Fixed Visible property, now follows (once again) parent chain
  13974. to return false if any control in the chain is visible=false
  13975. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  13976. - Fixed several places where is_visible instead of Visible was used
  13977. - Implemented FIXME related to focus selection when setting focused
  13978. control to be invisible
  13979. * XplatUIWin32.cs: Now using proper method to find out if window is
  13980. visible. Thanks to Jordi for pointing it out
  13981. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  13982. * ComboBox.cs: show/hide scrollbar instead of creating it
  13983. 2005-02-27 Jackson Harper <[email protected]>
  13984. * CurrencyManager.cs: Add PositionChanged stuff.
  13985. 2005-02-27 Peter Bartok <[email protected]>
  13986. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  13987. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  13988. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  13989. * XplatUIX11.cs:
  13990. - Implemented GetMenuDC()
  13991. - Implemented GetMenuOrigin()
  13992. - Implemented ReleaseMenuDC()
  13993. - Implemented generation of WM_NCPAINT message
  13994. - Implemented generation and handling of WM_NCCALCSIZE message
  13995. * Form.cs: Added debug helper message for Jordi's menu work
  13996. * Hwnd.cs:
  13997. - Modified ClientRect property; added setter, fixed getter to handle
  13998. setting of ClientRect
  13999. - Added MenuOrigin property
  14000. 2005-02-26 Peter Bartok <[email protected]>
  14001. * XplatUIX11.cs:
  14002. - Destroys the caret if a window that's being destroyed contains it
  14003. - Ignores expose events coming from the X11 queue for windows that
  14004. already are destroyed
  14005. - Now uses the proper variable for handling DestroyNotify, before we
  14006. marked the wrong window as destroyed
  14007. - Improved/added some debug output
  14008. 2005-02-26 Peter Bartok <[email protected]>
  14009. * X11Keyboard.cs: Fixes to work on 64bit systems
  14010. 2005-02-26 Peter Bartok <[email protected]>
  14011. * Control.cs:
  14012. - Now calling OnHandleDestroyed from DestroyHandle()
  14013. instead of Dispose()
  14014. - Removed bogus call to controls.Remove() from DestroyHandle()
  14015. 2005-02-26 Peter Bartok <[email protected]>
  14016. * Control.cs: Properly destroy child windows when our handle is
  14017. destroyed
  14018. 2005-02-25 Peter Bartok <[email protected]>
  14019. * XplatUI.cs:
  14020. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  14021. - Alphabetized Static Methods and Subclasses
  14022. * XplatUIX11.cs:
  14023. - Added XException class to allow custom handling of X11 exceptions
  14024. - Created custom X11 error handler, tied into XException class
  14025. - Added support for MONO_XEXCEPTIONS env var to allow the user
  14026. to either throw an exception on X errors or continue running
  14027. after displaying the error
  14028. - Added handling of DestroyNotify message
  14029. - Added handler for CreateNotify message (still disabled)
  14030. - Improved (tried to at least) Where method to provide file and lineno
  14031. * X11Structs.cs:
  14032. - Added XErrorHandler delegate
  14033. - Added XRequest enumeration (to suppor translation of errors)
  14034. 2005-02-25 Jackson Harper <[email protected]>
  14035. * PropertyManager.cs: Implement editing features
  14036. * CurrencyManager.cs:
  14037. * Binding.cs: First attempt at UpdateIsBinding
  14038. * BindingManagerBase.cs: Call UpdateIsBinding before
  14039. pushing/pulling data.
  14040. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  14041. * MenuAPI.cs: Respect disabled items
  14042. * ThemeWin32Classic.cs
  14043. - Caches ImageAttributes creation for DrawImageDisabled
  14044. - Fixes vertical menu line drawing
  14045. - Draws disabled arrows in disable menu items
  14046. 2005-02-24 Peter Bartok <[email protected]>
  14047. * Hwnd.cs:
  14048. - Added UserData property to allow associating arbitrary objects
  14049. with the handle
  14050. - Fixed leak; now removing Hwnd references from static windows array
  14051. * XplatUIWin32.cs:
  14052. - Fixed Graphics leak in PaintEventEnd
  14053. - Removed usage of HandleData, switched over to Hwnd class
  14054. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  14055. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14056. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  14057. * ScrollBar.cs: Fixes bug
  14058. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  14059. keyboard navigation enhancements
  14060. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14061. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  14062. * GroupBox.cs: Add control styles
  14063. * Label.cs: Add control styles
  14064. * UpDownBase.cs: Add control styles
  14065. * ListBox.cs: Add control styles
  14066. * XplatUIWin32.cs: Fixes wrong parameter order
  14067. 2005-02-23 Chris Bacon <[email protected]>
  14068. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  14069. 2005-02-23 Jackson Harper <[email protected]>
  14070. * PropertyManager.cs: Implement property binding. This doesn't
  14071. seem to work yet though as (I think) there are some bugs in
  14072. System.ComponentModel.PropertyDescriptor.
  14073. * BindingContext.cs: Use new PropertyManager constructor.
  14074. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  14075. * ProgressBar.cs: use clip region in ProgressBar
  14076. * ThemeWin32Classic.cs: use clip region in ProgressBar
  14077. 2004-02-22 Jackson Harper <[email protected]>
  14078. * BindingsCollection.cs: Remove some debug code.
  14079. 2005-02-22 Jackson Harper <[email protected]>
  14080. * BindingContext.cs:
  14081. * ControlBindingsCollection.cs:
  14082. * CurrencyManager.cs:
  14083. * Binding.cs:
  14084. * BindingManagerBase.cs: Initial implementation
  14085. * BindingsCollection.cs: Add an internal contains method that the
  14086. BindingManagerBase uses to ensure bindings aren't added twice to
  14087. the collection.
  14088. * PropertyManager.cs: Stubbed out.
  14089. * Control.cs:
  14090. * ContainerControl.cs: Hook up databinding
  14091. 2005-02-22 Geoff Norton <[email protected]>
  14092. * XplatUIOSX.cs:
  14093. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  14094. Fixed Invalidate/Update chain.
  14095. Fixed tons of other minor bugs (this is almost a complete rewrite).
  14096. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  14097. * ComboBox.cs: do subcontrol creation when the control is created
  14098. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14099. * Label.cs: fixes image drawing (image and imagelist)
  14100. * ThemeWin32Classic.cs: cache brushes
  14101. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14102. * Form.cs: Move menu drawing code to Theme class
  14103. * ComboBox.cs: Move ComboBox drawing code to Theme class
  14104. * MenuItem.cs: Move menu drawing code to Theme class
  14105. * MenuAPI.cs: Move menu drawing code to Theme class
  14106. * ThemeWin32Classic.cs: New methods
  14107. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  14108. * ListBox.cs: Move Listbox drawing code to Theme class
  14109. * Theme.cs: New methods
  14110. 2005-02-20 Peter Bartok <[email protected]>
  14111. * Control.cs:
  14112. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  14113. only process mnemonics on those)
  14114. - Fixed event sequence for key handling; first calling
  14115. ProcessKeyEventArgs now
  14116. * TextBoxBase.cs:
  14117. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  14118. for processing non-character keys
  14119. - Fixed WM_CHAR to generate proper event sequence before processing
  14120. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  14121. generation
  14122. 2005-02-19 Peter Bartok <[email protected]>
  14123. * UserControl.cs: Added TextChanged event; added attributes
  14124. * SizeGrip.cs: Implemented resizing and optional display of grip
  14125. * Form.cs: Fixed attribute
  14126. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  14127. Changed meaning of ScrollWindow bool argument; instead of the
  14128. clear attribute (which will be true usually anyway), it gives the
  14129. option of moving child controls as well.
  14130. * XplatUIX11.cs:
  14131. - Changed to match new ScrollWindow argument
  14132. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  14133. now handles the implicit parent window a WM puts around us
  14134. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  14135. to work)
  14136. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  14137. * TreeView.cs: Adjusted to new ScrollWindow arguments
  14138. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14139. * Form.cs: Menu integration with non-client area
  14140. * MenuItem.cs: Menu integration with non-client area
  14141. * MenuAPI.cs: Menu integration with non-client area
  14142. 2005-02-18 Peter Bartok <[email protected]>
  14143. * MethodInvoker.cs: Added
  14144. * MdiLayout.cs: Added
  14145. * SendKeys.cs: Started implementation
  14146. * ErrorIconAlignment.cs: Added
  14147. 2005-02-18 Peter Bartok <[email protected]>
  14148. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  14149. * Form.cs: Added handling for Menu-related Non-client messages
  14150. 2005-02-17 Peter Bartok <[email protected]>
  14151. * UpDownBase.cs: Fixed typo, compilation errors
  14152. * DomainUpDown.cs: Fixed attribute value
  14153. 2005-02-16 Miguel de Icaza <[email protected]>
  14154. * UpDownBase.cs: Attach entry events.
  14155. Propagate events.
  14156. Add ForeColor property, Focused, InterceptArrowKeys (interception
  14157. does not work yet).
  14158. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  14159. * Form.cs:
  14160. - Redraw non client are on Setmenu
  14161. - Calc proper menu starting point
  14162. 2005-02-17 Peter Bartok <[email protected]>
  14163. * Application.cs: Fixed message_filter check
  14164. 2005-02-17 Peter Bartok <[email protected]>
  14165. * Application.cs: Now calls registered message filters
  14166. * DockStyle.cs: Fixed attribute
  14167. * Form.cs: Fixed attribute
  14168. * Menu.cs: Fixed attribute
  14169. * ToolTip.cs: Fixed attribute
  14170. * TreeNode.cs: Added missing attributes and arranged in regions
  14171. * PropertyGrid.cs: Fixed signatures
  14172. * TreeNodeCollection.cs: Added attributes
  14173. * Splitter.cs: Added missing attributes; arranged into regions
  14174. * TabPage.cs: Added missing attributes; arranged into regions
  14175. * TextBoxBase.cs: Added missing attributes
  14176. * TextBox.cs: Added missing attributes
  14177. * ArrangeDirection.cs: Added missing attributes
  14178. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  14179. * ToolBarButton.cs: Fixed attributes
  14180. * AnchorStyles.cs: Fixed attribute
  14181. * TrackBar.cs: Fixed attributes
  14182. * TabControl.cs: Added missing attributes and arranged into regions
  14183. * ToolBar.cs: Fixed attribute
  14184. * StatusBar.cs: Fixed signature, organized into regions and added
  14185. attributes
  14186. * StatusBarPanel.cs: Fixed attributes
  14187. * ContentsResizedEventArgs.cs: Implemented
  14188. * ContentsResizedEventHandler.cs: Implemented
  14189. * DateBoldEventArgs.cs: Implemented
  14190. * DateBoldEventHandler.cs: Implemented
  14191. * UpDownEventArgs.cs: Implemented
  14192. * UpDownEventHandler.cs: Implemented
  14193. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  14194. * Form.cs: first Menu NC refactoring
  14195. * MenuAPI.cs: first Menu NC refactoring
  14196. 2005-02-16 Peter Bartok <[email protected]>
  14197. * ImeMode.cs: Added missing attributes
  14198. * Menu.cs: Fixed attribute
  14199. * GroupBox.cs: Fixed attribute
  14200. * Label.cs: Fixed attribute
  14201. * ColorDialog.cs (RunDialog): Removed TODO attribute
  14202. * ComboBox.cs: Fixed attributes
  14203. * ListControl.cs: Added missing attributes
  14204. * PropertyGrid.cs: Fixed attributes
  14205. * Control.cs: Fixed attributes
  14206. * ListViewItem.cs: Added TypeConverter attribute
  14207. * NotifyIcon.cs: Fixed attributes
  14208. * ListView.cs: Fixed attributes
  14209. * ButtonBase.cs: Fixed attribute
  14210. * ImageList.cs: Added missing attributes
  14211. * ContainerControl.cs: Fixed signature
  14212. * CheckedListBox.cs: Fixed attribute; added missing attributes
  14213. * Panel.cs: Fixed attributes
  14214. * PropertyTabChangedEventArgs.cs: Added missing attribute
  14215. * PropertyValueChangedEventArgs.cs: Added missing attribute
  14216. * Binding.cs: Fixed attribute
  14217. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  14218. * ListBox.cs: Fixed attribute; added missing attributes;
  14219. * ScrollableControl.cs: Added missing attributes
  14220. * PictureBox.cs: Added missing attributes; implemented missing property
  14221. * DateTimePicker.cs: Added missing attributes
  14222. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  14223. * MonthCalendar.cs: Fixed attributes
  14224. * StatusBarPanel.cs: Added missing attributes
  14225. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  14226. 2005-02-16 Peter Bartok <[email protected]>
  14227. * TextBoxBase.cs: The previous method to enforce height yet remember
  14228. the requested high was less than ideal, this is an attempt to do
  14229. it better.
  14230. * Control.cs: Added comment about possible problem
  14231. * Copyright: Updated format
  14232. * GridItemType.cs: Fixed swapped values
  14233. 2005-02-15 Jackson Harper <[email protected]>
  14234. * BaseCollection.cs: Use property so we never access an
  14235. uninitialized list. Also initialize the list in the property.
  14236. 2005-02-15 Peter Bartok <[email protected]>
  14237. * GroupBox.cs (ProcessMnemonic): Implemented
  14238. * Label.cs (ProcessMnemonic): Implemented
  14239. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  14240. hotkeys
  14241. 2005-02-15 Peter Bartok <[email protected]>
  14242. * RadioButton.cs (ProcessMnemonic): Implemented
  14243. * CheckBox.cs (ProcessMnemonic): Implemented
  14244. * Control.cs:
  14245. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  14246. handling
  14247. - Added internal method to allow calling ProcessMnemonic from other
  14248. controls
  14249. * ContainerControl.cs:
  14250. - Started support for handling validation chain handling
  14251. - Implemented ProcessMnemonic support
  14252. - Added Select() call to Active, to make sure the active control
  14253. receives focus
  14254. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  14255. FormParent rewrite)
  14256. * ThemeWin32Classic.cs:
  14257. - DrawCheckBox(): Fixed stringformat to show hotkeys
  14258. - DrawRadioButton(): Fixed stringformat to show hotkeys
  14259. * CommonDialog.cs: Removed WndProc override, not needed
  14260. 2005-02-14 Peter Bartok <[email protected]>
  14261. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  14262. missed those in the rewrite
  14263. 2005-02-14 Miguel de Icaza <[email protected]>
  14264. * NumericUpDown.cs (Increment, ToString): Add.
  14265. (DecimalPlaces): implement.
  14266. Add attributes.
  14267. * UpDownBase.cs: Add the designer attributes.
  14268. 2005-02-13 Peter Bartok <[email protected]>
  14269. * Panel.cs: Removed border_style, now in Control
  14270. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  14271. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  14272. 2005-02-13 Peter Bartok <[email protected]>
  14273. * MouseButtons.cs: Added missing attributes
  14274. * XplatUIStructs.cs: Added enumeration for title styles
  14275. * LeftRightAlignment.cs: Added missing attributes
  14276. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  14277. it compatible with Graphics.FromHwnd()
  14278. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  14279. * Keys.cs: Added missing attributes
  14280. * SelectionRange.cs: Added missing attributes
  14281. * SelectionRangeConverter.cs: Added
  14282. * XplatUI.cs:
  14283. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  14284. ReleaseMenuDC methods
  14285. - Renamed ReleaseWindow to UngrabWindow
  14286. - Added proper startup notice to allow version identification
  14287. * Form.cs:
  14288. - Added missing attributes
  14289. - Removed FormParent concept
  14290. * Label.cs: Removed border_style field, now in Control
  14291. * RadioButton.cs: Now properly selects RadioButton when focus is
  14292. received
  14293. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  14294. * Control.cs:
  14295. - Added missing attributes
  14296. - Added borderstyle handling
  14297. - Removed FormParent concept support
  14298. - Fixed calls to XplatUI to match changed APIs
  14299. - Fixed bug that would case us to use disposed Graphics objects
  14300. - Removed unneeded internal methods
  14301. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  14302. - SelectNextControl(): Fixed to properly check common parents
  14303. * TextBoxBase.cs: Removed border_style field (now in Control)
  14304. * MessageBox.cs:
  14305. - Patch by Robert Thompson ([email protected]): Added icon support,
  14306. fixed calculations for form size
  14307. - Added support for localized strings and icons
  14308. - Improved form size calculations, added border
  14309. * ListView.cs: Removed border_style field (now in Control)
  14310. * X11Structs.cs: Moved several structs from X11 driver here
  14311. * X11Keyboard.cs: Changed debug message
  14312. * Application.cs: Removed FormParent concept support
  14313. * CommonDialog.cs:
  14314. - Resetting end_modal flag
  14315. - Removed FormParent concept support
  14316. * NativeWindow.cs: Removed FormParent concept support
  14317. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  14318. Client area and Non-Client whole window to allow support for WM_NC
  14319. messages
  14320. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  14321. prevent using it until it supports Hwnd as per Geoff Norton's request
  14322. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  14323. * PictureBox.cs: Removed border_style field, now in Control
  14324. * XplatUIWin32.cs: Added new driver methods
  14325. 2005-02-12 Peter Bartok <[email protected]>
  14326. * OpacityConverter.cs: Implemented
  14327. * Hwnd.cs: Internal class to support drivers that need to emulate
  14328. client area/non-client area window behaviour
  14329. 2005-02-11 Peter Bartok <[email protected]>
  14330. * KeysConverter.cs: Implemented
  14331. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  14332. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  14333. * LinkLabel: Added missing attributes
  14334. * MainMenu.cs: fixes ToString
  14335. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  14336. * ListBox.cs: fixes event position
  14337. * TrackBar.cs: adds missing attributes and events
  14338. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  14339. * MenuItem.cs: Use SystemInformation and bug fixes
  14340. * MenuAPI.cs: Use SystemInformation and bug fixes
  14341. 2005-02-09 Jackson Harper <[email protected]>
  14342. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  14343. their keystate otherwise things like VK_MENU get stuck "on".
  14344. 2005-02-09 Kazuki Oikawa <[email protected]>
  14345. * ListBox.cs: Fixes AddRange bug
  14346. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  14347. * ProgressBar.cs
  14348. - Add missing attributes
  14349. - Add missing method
  14350. * CheckedListBox.cs: Added missing attributes
  14351. - Add missing attributes
  14352. - Remove extra method
  14353. * ComboBox.cs: Added missing attributes
  14354. * VScrollBar.cs: Added missing attributes
  14355. * ScrollBar.cs: Added missing attributes
  14356. * ListBox.cs: Fixes signature, add missing consts
  14357. * LinkArea.cs: Added missing attributes
  14358. 2005-02-08 Peter Bartok <[email protected]>
  14359. * Menu.cs: Added missing attributes
  14360. * MainMenu.cs: Added missing attributes
  14361. * GroupBox.cs: Added missing attributes
  14362. * Label.cs: Added missing attributes
  14363. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  14364. * ColorDialog.cs:
  14365. - Added Instance and Options properties
  14366. - Added missing attributes
  14367. * Cursor.cs: Made Serializable
  14368. * NotifyIcon: Added missing attributes
  14369. * MenuItem.cs: Added missing attributes
  14370. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  14371. * Panel.cs: Added Missing attributes
  14372. * MonthCalendar.cs: Fixed CreateParams
  14373. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  14374. * LinkLabel.cs:
  14375. - Fixes signature
  14376. - Fixes issues with links
  14377. - Adds the class attributes
  14378. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  14379. * ComboBox.cs:
  14380. - Fixes button when no items available in dropdown
  14381. - Fixes repainting problems
  14382. - Adds the class attributes
  14383. 2005-02-07 Geoff Norton <[email protected]>
  14384. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  14385. the current theme. Cache these on startup.
  14386. 2005-02-07 Jackson Harper <[email protected]>
  14387. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  14388. the scrollbar buttons when they are depressed.
  14389. 2005-02-07 Geoff Norton <[email protected]>
  14390. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  14391. Get the display size from the main displayid. We currently dont
  14392. support multiple display configurations.
  14393. 2005-02-07 Geoff Norton <[email protected]>
  14394. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  14395. 2005-02-07 Miguel de Icaza <[email protected]>
  14396. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  14397. 2005-02-05 Jonathan Chambers <[email protected]>
  14398. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  14399. 2005-02-04 Jackson Harper <[email protected]>
  14400. * ThemeWin32Classic.cs: Respect the clipping rect when
  14401. drawing. Only fill the intersection of clips and rects so there
  14402. isn't a lot of large fills.
  14403. * ScrollBar.cs: Pass the correct clipping rect to the theme
  14404. engine. Remove some debug code.
  14405. 2005-02-05 John BouAntoun <[email protected]>
  14406. * DateTimePicker.cs:
  14407. - Fixed crash on DateTime.Parse, use Constructor instead
  14408. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  14409. * MenuItem.cs:
  14410. * MenuAPI.cs:
  14411. - Owner draw support (MeasureItem and DrawItem)
  14412. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  14413. * Menu.cs:
  14414. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  14415. - Fixes MenuItems.Add range
  14416. * MenuItem.cs:
  14417. - MergeMenu and Clone and CloneMenu functions
  14418. 2005-02-03 Jackson Harper <[email protected]>
  14419. * ScrollBar.cs: Make abstract
  14420. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  14421. is abstract.
  14422. 2005-02-03 Jackson Harper <[email protected]>
  14423. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  14424. all the unneeded refreshes and uses invalidates with properly
  14425. computed rects.
  14426. 2005-02-03 Peter Bartok <[email protected]>
  14427. * ComponentModel.cs: Added
  14428. * IDataGridEditingService.cs: Added
  14429. * Timer.cs: Added missing attributes
  14430. * ToolTip.cs: Added missing attributes
  14431. 2005-02-03 Jonathan Chambers <[email protected]>
  14432. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  14433. 2005-02-03 Peter Bartok <[email protected]>
  14434. * ListBox.cs: Added missing attributes
  14435. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  14436. * ListBox.cs:
  14437. - Fixes font height after font change
  14438. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  14439. 2005-02-02 Peter Bartok <[email protected]>
  14440. * HandleData.cs: Introduced static methods to allow class
  14441. to be more self-contained and track it's own HandleData objects
  14442. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  14443. HandleData to use new static methods
  14444. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  14445. * Combobox.cs:
  14446. - Fixes default size and PreferredHeight
  14447. - Missing events
  14448. - ObjectCollection.Insert implementation
  14449. * ListControl.cs
  14450. - Fixes signature
  14451. * ListBox.cs:
  14452. - Several fixes
  14453. - ObjectCollection.Insert implementation
  14454. - No selection after clean
  14455. - Small fixes
  14456. 2005-01-31 John BouAntoun <[email protected]>
  14457. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  14458. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  14459. * Combobox.cs:
  14460. - Caches ItemHeight calculation for OwnerDrawVariable
  14461. - Handles dropdown properly
  14462. - Fixes several minor bugs
  14463. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14464. * ListBox.cs:
  14465. - Fixes 71946 and 71950
  14466. - Fixes changing Multicolumn on the fly
  14467. - Fixes keyboard navigation on Multicolumn listboxes
  14468. 2005-01-31 Geoff Norton <[email protected]>
  14469. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  14470. crash reporter log.
  14471. 2005-01-31 Geoff Norton <[email protected]>
  14472. * XplatUIOSX.cs: Allow applications to actually exit.
  14473. 2005-01-31 Geoff Norton <[email protected]>
  14474. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  14475. their parent at creation time rather than lazily later. Fixes a major
  14476. regression we were experiencing.
  14477. 2005-01-31 John BouAntoun <[email protected]>
  14478. * ThemeWin32Classic.cs: more date time picker painting fixes
  14479. * DateTimePicker.cs: more monthcalendar drop down fixes
  14480. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  14481. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14482. * ScrollBar.cs:
  14483. - When moving the thumb going outside the control should stop the moving
  14484. - Adds the firing of missing events
  14485. - Fixes no button show if Size is not specified
  14486. - End / Home keys for keyboard navigation
  14487. 2005-01-30 Peter Bartok <[email protected]>
  14488. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  14489. sanity check to prevent theoretical loop
  14490. * XplatUIWin32.cs (SetVisible): Removed debug output
  14491. * XplatUIX11.cs (SystrayChange): Added sanity check
  14492. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  14493. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  14494. behaviour, valid until the X11 client window rewrite is done
  14495. * TextBox.cs (ctor): Setting proper default foreground and background
  14496. colors
  14497. 2005-01-30 John BouAntoun <[email protected]>
  14498. * Theme: Added DrawDateTimePicker to interface
  14499. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  14500. * DateTimePicker.cs: Created (still needs keys and painting code)
  14501. * DateTimePickerFormat.cs: added
  14502. * MonthCalendar.cs: fixed CreateParams for popup window mode
  14503. 2005-01-29 Peter Bartok <[email protected]>
  14504. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  14505. this should also the calculations for ligher/darker
  14506. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  14507. 2005-01-29 Peter Bartok <[email protected]>
  14508. * ArrangeDirection.cs: Added
  14509. * ArrangeStartingPositon.cs: Added
  14510. * SystemInformation.cs: Implemented
  14511. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14512. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  14513. used by SystemInformation class
  14514. * X11Strucs.cs: Added XSizeHints structure
  14515. * MenuAPI.cs:
  14516. - Fixed CreateParams to make sure the menu window is always visible
  14517. - TrackPopupMenu: Added check to make sure we don't draw the
  14518. menu offscreen
  14519. 2005-01-29 Peter Bartok <[email protected]>
  14520. * HandleData.cs: Added method for altering invalid area
  14521. * TextBoxBase.cs: Implemented TextLength
  14522. 2005-01-28 Peter Bartok <[email protected]>
  14523. * XplatUIX11.cs: Improvement over last patch, not sending
  14524. the WM_PAINT directly anymore, instead we scroll any pending
  14525. exposed areas and let the system pick out the WM_PAINT later
  14526. 2005-01-28 Peter Bartok <[email protected]>
  14527. * SWF.csproj: Deleted, no longer used. Instead,
  14528. Managed.Windows.Forms/SWF.csproj should be used
  14529. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  14530. directly, to avoid a potential race condition with the next
  14531. scroll
  14532. 2005-01-28 Peter Bartok <[email protected]>
  14533. * XplatUI.cs: Made class internal
  14534. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  14535. * CheckedListBox.cs:
  14536. - Draw focus
  14537. - Fixed Drawing
  14538. - Missing methods and events
  14539. 2005-01-27 Peter Bartok <[email protected]>
  14540. * Application.cs (Run): Don't use form if we don't have one
  14541. 2005-01-27 Peter Bartok <[email protected]>
  14542. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  14543. 2005-01-27 Peter Bartok <[email protected]>
  14544. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  14545. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  14546. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  14547. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  14548. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  14549. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  14550. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14551. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14552. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14553. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14554. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14555. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14556. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14557. * Combobox.cs:
  14558. - Draw focus on Simple Combobox
  14559. - Fixes drawing issues
  14560. - fixes 71834
  14561. 2005-01-27 Peter Bartok <[email protected]>
  14562. * Form.cs:
  14563. - Place window in default location, instead of hardcoded 0/0
  14564. - Send initial LocationChanged event
  14565. * Control.cs:
  14566. - UpdateBounds after creation to find out where the WM placed us
  14567. - Make sure that if the ParentForm changes location the Form
  14568. is notified
  14569. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  14570. to the root, but to whatever the WM placed around us.
  14571. Translate to root coordinates before returning toplevel
  14572. coordinates
  14573. * XplatUIWin32.cs: Removed debug output
  14574. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  14575. flag to GetWindowPos, to allow translation of coordinates on X11
  14576. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14577. * ListBox.cs: connect LostFocus Event
  14578. 2005-01-27 Peter Bartok <[email protected]>
  14579. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  14580. XplatUIX11.cs: Extended the Systray API
  14581. * Form.cs: Removed debug output
  14582. * Application.cs: Fixed focus assignment, always need to call
  14583. XplatUI.Activate() since Form.Activate() has rules that may
  14584. prevent activation
  14585. * NotifyIcon.cs: Should be complete now
  14586. * ToolTip.cs: Worked around possible timer bug
  14587. 2005-01-27 Jackson Harper <[email protected]>
  14588. * TabControl.cs:
  14589. - Only invalidate the effected tabs when the
  14590. selected index changes. This reduces drawing and gets rid of some
  14591. flicker.
  14592. - Only refresh if the tabs need to be shifted, otherwise only
  14593. invalidate the slider button.
  14594. - On windows the tabs are not filled to right if the slider is
  14595. visible.
  14596. 2005-01-27 Jackson Harper <[email protected]>
  14597. * TabControl.cs: Only refresh on mouseup if we are showing the
  14598. slider. Also only invalidate the button whose state has changed.
  14599. 2005-01-26 Peter Bartok <[email protected]>
  14600. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  14601. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  14602. and SystrayRemove() methods
  14603. * XplatUIOSX.cs: Stubbed Systray methods
  14604. * XplatUIX11.cs:
  14605. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  14606. methods
  14607. - Fixed broken XChangeProperty calls (marshalling messed up things)
  14608. * X11Structs.cs: Added enums and structs required for Size hinting
  14609. * NotifyIcon.cs: Added & implemented
  14610. 2005-01-26 Jackson Harper <[email protected]>
  14611. * TabControl.cs: Space vertically layed out tabs properly.
  14612. 2005-01-26 Peter Bartok <[email protected]>
  14613. * Form.cs (CreateClientParams): Always set the location to 0,0
  14614. since we're a child window.
  14615. * Control.cs (SetVisibleCore): Always explicitly setting the location
  14616. of a toplevel window, apparently X11 doesn't like to move windows
  14617. while they're not mapped.
  14618. 2005-01-26 Jackson Harper <[email protected]>
  14619. * TabControl.cs: Implement FillToRight size mode with vertically
  14620. rendered tabs.
  14621. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14622. * ControlPaint.cs, ThemeWin32Classic.cs
  14623. - Fixes DrawFocusRectangle
  14624. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14625. * MenuAPI.cs:
  14626. - MenuBar tracking only starts when item is first clicked
  14627. - Fixes menu hidding for multiple subitems
  14628. - Unselect item in MenuBar when item Executed
  14629. - Fixes bug 71495
  14630. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  14631. * ListControl.cs:
  14632. - IsInputKey for ListBox
  14633. * ListBox.cs:
  14634. - Focus item
  14635. - Shift and Control item selection
  14636. - Implement SelectionMode.MultiExtended
  14637. - Fixes RightToLeft
  14638. * ComboBox.cs:
  14639. - IsInputKey implemented
  14640. - Do not generate OnTextChangedEdit on internal txt changes
  14641. 2005-01-23 Peter Bartok <[email protected]>
  14642. * AccessibleObject.cs: Partially implemented Select()
  14643. * MonthCalendar.cs: Added missing attributes and events
  14644. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  14645. form can properly override CreateParams.
  14646. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14647. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  14648. Control performs Invalidate & Update
  14649. * NativeWindow (CreateHandle): Added special handling for Form
  14650. and Form.FormParent classes to allow overriding of From.CreateParams
  14651. * Control.cs:
  14652. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  14653. name 'owner'
  14654. - ControlNativeWindow: Added Owner property
  14655. - Removed usage of Refresh() on property changes, changed into
  14656. Invalidate(), we need to wait until the queue is processed for
  14657. updates, direct calls might cause problems if not all vars for
  14658. Paint are initialized
  14659. - Added call to UpdateStyles() when creating the window, to set any
  14660. styles that CreateWindow might have ignored.
  14661. - Added support for Form CreateParent overrides to UpdateStyles()
  14662. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  14663. CreateParams are now properly overridable
  14664. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  14665. CreateParams are now properly overridable
  14666. 2005-01-23 Miguel de Icaza <[email protected]>
  14667. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  14668. OnTextBoxChanged.
  14669. Capture LostFocus and OnTextBoxChanged. The later introduces a
  14670. recursive invocation that I have not figured out yet.
  14671. Reset the timer when not using (it was accumulating).
  14672. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  14673. user has made changes that require validation.
  14674. Reset changing to avoid loops.
  14675. 2005-01-22 Miguel de Icaza <[email protected]>
  14676. * NumericUpDown.cs: Display value at startup.
  14677. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  14678. ValidateEditText.
  14679. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  14680. filled in. Added some basic parsing of text.
  14681. Still missing the OnXXX method overrides, and figuring out the
  14682. events that must be emitted.
  14683. * UpDownBase.cs: Handle UserEdit on the Text property.
  14684. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  14685. * ComboBox.cs:
  14686. - Fixes IntegralHeight
  14687. - ToString method
  14688. 2005-01-21 Jackson Harper <[email protected]>
  14689. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  14690. is set so that the page visibility is updated and the tabs are
  14691. sized correctly.
  14692. 2005-01-21 Jackson Harper <[email protected]>
  14693. * TabControl.cs: Use cliping rectangle for blitting. Give the
  14694. theme the clipping rect so we can do clipping while
  14695. drawing. Remove some debug code.
  14696. 2005-01-21 Jackson Harper <[email protected]>
  14697. * TabPage.cs: Add a new method so tab pages can force the tab
  14698. control to recalculate the tab page sizes.
  14699. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  14700. sizes.
  14701. 2005-01-20 Jackson Harper <[email protected]>
  14702. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  14703. 2005-01-20 Jackson Harper <[email protected]>
  14704. * TreeView.cs: Set the bounds for nodes properly. They were
  14705. getting screwed up when checkboxes were not enabled, but images
  14706. were.
  14707. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  14708. * ListBox.cs:
  14709. - Owner draw support
  14710. - Fixes
  14711. 2005-01-20 Jackson Harper <[email protected]>
  14712. * XplatUIStructs.cs: More misc keys
  14713. * X11Keyboard.cs: Ignore some control keys.
  14714. 2005-01-20 Jackson Harper <[email protected]>
  14715. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  14716. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  14717. 2005-01-19 Peter Bartok <[email protected]>
  14718. * Control.cs: Un-selecting the control when it is loosing focus
  14719. 2005-01-19 Jackson Harper <[email protected]>
  14720. * TreeView.cs: Hook up to the text controls leave event so we can
  14721. end editing when the users clicks outside the text box.
  14722. 2005-01-19 Jackson Harper <[email protected]>
  14723. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  14724. get set in the conversion array.
  14725. 2005-01-19 Peter Bartok <[email protected]>
  14726. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  14727. focus is properly set
  14728. * Button.cs:
  14729. - Added missing attributes
  14730. - removed styles, those are already set in the base class
  14731. * ButtonBase.cs:
  14732. - Added missing attributes
  14733. - Added clip window styles
  14734. * CheckBox.cs: Added missing attributes
  14735. * CommonDialog.cs:
  14736. - FormParentWindow.CreateParams: Added required clip styles
  14737. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  14738. also filters modifier keys
  14739. * MessageBox.cs:
  14740. - Added assignment of Accept and Cancel button to enable Enter
  14741. and Esc keys in MessageBox dialogs
  14742. - FormParentWindow.CreateParams: Added required clip styles
  14743. * RadioButton.cs: Added missing attributes
  14744. * TextControl.cs: No longer draws selection if control does not
  14745. have focus
  14746. * TextBoxBase.cs:
  14747. - Now draws simple rectangle around test area to make it obvious
  14748. there's a control. This is a hack until we properly support borders
  14749. - A few simple fixes to support selections better, now erases selected
  14750. text when typing, and resets selection when using movement keys
  14751. 2005-01-19 Miguel de Icaza <[email protected]>
  14752. * UpDownBase.cs: Added some new properties.
  14753. * DomainUpDown.cs: Implement a lot to get my test working.
  14754. 2005-01-19 Geoff Norton <[email protected]>
  14755. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  14756. 2005-01-19 Geoff Norton <[email protected]>
  14757. * OSXStructs (WindowAttributes): Fixed csc complaints
  14758. 2005-01-19 Geoff Norton <[email protected]>
  14759. * XplayUIOSX.cs:
  14760. OSXStructs.cs: Initial refactor to move enums and consts into
  14761. OSXStructs and use them in the driver for greater readability.
  14762. 2005-01-19 Geoff Norton <[email protected]>
  14763. * XplatUIOSX.cs: Initial support for Standard Cursors.
  14764. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  14765. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  14766. * ComboBox.cs: ability to change style when the ctrl is already
  14767. created, missing methods and events, bug fixes, signature fixes
  14768. 2005-01-19 Peter Bartok <[email protected]>
  14769. * Cursors.cs (ctor): Added ctor to fix signature
  14770. 2005-01-18 Peter Bartok <[email protected]>
  14771. * Button.cs: Implemented DoubleClick event
  14772. * ButtonBase.cs:
  14773. - Fixed keyboard handling to behave like MS, where the press of
  14774. Spacebar is equivalent to a mousedown, and the key release is
  14775. equivalent to mouseup. Now a spacebar push will give the same
  14776. visual feedback like a mouse click.
  14777. - Added missing attributes
  14778. - Added ImeModeChanged event
  14779. - Added support for generating DoubleClick event for derived classes
  14780. * CheckBox.cs:
  14781. - Implemented DoubleClick event
  14782. - Added missing attributes
  14783. * CommonDialog.cs: Added missing attribute
  14784. * ContextMenu.cs: Added missing attributes
  14785. * RadioButton.cs:
  14786. - AutoChecked buttons do not allow to be unselected when clicked
  14787. (otherwise we might end up with no selected buttons in a group)
  14788. - Added missing attributes
  14789. - Implemented DoubleClickEvent
  14790. * ThreadExceptionDialog.cs: Enabled TextBox code
  14791. 2005-01-18 Peter Bartok <[email protected]>
  14792. * Form.cs: Removed debug output
  14793. * Button.cs: Added support for DoubleClick method
  14794. 2005-01-18 Peter Bartok <[email protected]>
  14795. * Form.cs:
  14796. - Added method to parent window that allows triggering size
  14797. calculations when a menu is added/removed
  14798. - set_Menu: Cleaned up mess from early days of Form and Control,
  14799. now properly triggers a recalc when a menu is added/removed
  14800. - Added case to select form itself as focused form if no child
  14801. controls exist
  14802. - Added PerformLayout call when showing dialog, to ensure properly
  14803. placed controls
  14804. * Control.cs:
  14805. - Select(): Made internal so Form can access it
  14806. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  14807. status
  14808. * Application.cs (Run): Removed hack and calls PerformLayout instead
  14809. to trigger calculation when Form becomes visible
  14810. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  14811. * ComboBox.cs: fixes for ownerdraw
  14812. 2005-01-18 Peter Bartok <[email protected]>
  14813. * TextControl.cs:
  14814. - Sentinel is no longer static, each Document gets it's own, this
  14815. avoids locking or alternatively overwrite problems when more
  14816. than one text control is used simultaneously.
  14817. - Switched to use Hilight and HilightText brushes for text selection
  14818. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  14819. 2005-01-18 Peter Bartok <[email protected]>
  14820. * Control.cs:
  14821. - Hooked up the following events:
  14822. o ControlAdded
  14823. o ControlRemoved
  14824. o HandleDestroyed
  14825. o ImeModeChanged
  14826. o ParentChanged
  14827. o TabStopChanged
  14828. o Invalidated
  14829. o SystemColorsChanged
  14830. o ParentFontChanged
  14831. o Move
  14832. - Removed debug output
  14833. - Added a call to the current theme's ResetDefaults when a color change
  14834. is detected
  14835. * Form.cs: Now setting the proper ImeMode
  14836. * Theme.cs: Defined a method to force recreation of cached resources
  14837. and rereading of system defaults (ResetDefaults())
  14838. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  14839. 2005-01-17 Peter Bartok <[email protected]>
  14840. * Control.cs: Added missing attributes
  14841. 2005-01-17 Jackson Harper <[email protected]>
  14842. * TreeNode.cs: Implement editing. Add missing properties selected
  14843. and visible.
  14844. * TreeView.cs: Implement node editing. Also some fixes to use
  14845. Invalidate (invalid area) instead of Refresh when selecting.
  14846. 2005-01-17 Peter Bartok <[email protected]>
  14847. * Control.cs:
  14848. - Implemented InvokeGotFocus() method
  14849. - Implemented InvokeLostFocus() method
  14850. - Implemented InvokePaint() method
  14851. - Implemented InvokePaintBackground() method
  14852. - Implemented InvokeClick() method
  14853. - Implemented FindForm() method
  14854. - Implemented RectangleToClient() method
  14855. - Implemented ClientToRectangle() method
  14856. - Implemented ResetBackColor() method
  14857. - Implemented ResetCursor() method
  14858. - Implemented ResetFont() method
  14859. - Implemented ResteForeColor() method
  14860. - Implemented ResetImeMode() method
  14861. - Implemented ResetLeftToRight() method
  14862. - Implemented ResetText() method
  14863. - Implemented Scale() methods
  14864. - Implemented ScaleCore() method
  14865. - Implemented Update() method
  14866. - Removed unused variables
  14867. - Stubbed AccessibilityNotifyClients and
  14868. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  14869. with those yet)
  14870. - Now setting proper default for RightToLeft property
  14871. - Fixed bug in SetClientSizeCore that would cause windows to get
  14872. really big
  14873. - Now sending Click/DoubleClick events
  14874. - Now selecting controls when left mouse button is clicked on
  14875. selectable control
  14876. * AccessibleEvents.cs: Added
  14877. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  14878. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  14879. * XplatUIWin32.cs: Implemented UpdateWindow() method
  14880. * XplatUIX11.cs: Implemented UpdateWindow() method
  14881. * Form.cs: Removed stray semicolon causing CS0162 warning
  14882. * ThemeWin32Classic.cs: Fixed unused variable warnings
  14883. * ScrollableControl.cs: Now calls base method for ScaleCore
  14884. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  14885. style to avoid interference with internal click handler (which is
  14886. different than standard Control click handling)
  14887. * RadioButton.cs:
  14888. - Now unchecks all sibling radio buttons when control is
  14889. selected (Fixes #68756)
  14890. - Removed internal tabstop variable, using the one inherited from
  14891. Control
  14892. 2005-01-17 Jackson Harper <[email protected]>
  14893. * NavigateEventArgs.cs: Fix base type.
  14894. * LinkLabel.cs: Sig fix
  14895. 2005-01-17 Jackson Harper <[email protected]>
  14896. * TreeView.cs: Only invalidate the effected nodes bounds when
  14897. selecting nodes.
  14898. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14899. * XplatUIWin32.cs: fixes Win32 marshaling
  14900. * XplatUIX11.cs: fixes method signature
  14901. 2005-01-17 Peter Bartok <[email protected]>
  14902. * XplatUIX11.cs: Clean up resources when we no longer need them
  14903. 2005-01-17 Peter Bartok <[email protected]>
  14904. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  14905. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  14906. and DestroyCursor() methods.
  14907. * Cursor.cs: Partially implemented, now supports standard cursors;
  14908. still contains some debug code
  14909. * Cursors.cs: Implemented class
  14910. * Control.cs:
  14911. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  14912. appropriate cursor
  14913. - Implemented Cursor property
  14914. - Replaced break; with return; more straightforwar and possibly
  14915. faster
  14916. - Now properly setting the result for WM_HELP
  14917. * X11Structs.cs: Added CursorFontShape enum
  14918. * XplatUIStructs.cs:
  14919. - Added StdCursor enum (to support DefineStdCursor() method)
  14920. - Added HitTest enum (to support sending WM_SETCURSOR message)
  14921. * XplatUIX11.cs:
  14922. - Now sends the WM_SETCURSOR message
  14923. - Implemented new cursor methods
  14924. * XplatUIOSX.cs: Stubbed new cursor methods
  14925. * XplatUIWin32.cs:
  14926. - Implemented new cursor methods
  14927. - Added GetSystemMetrics function and associated enumeration
  14928. 2005-01-15 Peter Bartok <[email protected]>
  14929. * Control.cs:
  14930. - WndProc(): Now handles EnableNotifyMessage
  14931. - SelectNextControl(): Fixed bug where if no child or sibling
  14932. controls exist we looped endlessly
  14933. 2005-01-14 Jackson Harper <[email protected]>
  14934. * TreeView.cs: Recalculate the tab pages when a new one is added
  14935. so that the proper bounding rects are created.
  14936. 2005-01-14 Jackson Harper <[email protected]>
  14937. * TreeView.cs: Draw a gray box instead of a grip in the lower
  14938. right hand corner when there are both horizontal and vertical
  14939. scroll bars.
  14940. 2005-01-14 Jackson Harper <[email protected]>
  14941. * Control.cs: When erasing backgrounds use FromHwnd instead of
  14942. FromHdc when there is a NULL wparam. This occurs on the X driver.
  14943. * XplatUIX11.cs: Set the wparam to NULL.
  14944. 2005-01-13 Jackson Harper <[email protected]>
  14945. * PictureBox.cs: Implement missing methods (except ToString, need
  14946. to test that on windows) and events. When visibility is changed we
  14947. need to redraw the image because the buffers are killed. When size
  14948. is changed refresh if the sizemode needs it.
  14949. 2005-01-13 Peter Bartok <[email protected]>
  14950. * Control.cs (SelectNextControl): Was using wrong method to select
  14951. a control
  14952. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14953. * ComboBox.cs: fixes dropstyle
  14954. 2005-01-13 Peter Bartok <[email protected]>
  14955. * Form.cs:
  14956. - Implemented Select() override
  14957. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  14958. - Now sets keyboard focus on startup
  14959. * Control.cs (SelectNextControl): Now properly handles directed=true
  14960. * TextBoxBase.cs:
  14961. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  14962. - Added (really bad) focus rectangle (mostly for testing)
  14963. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  14964. to enforce redraw on focus changes
  14965. * ContainerControl.cs:
  14966. - Fixed detection of Shift-Tab key presses
  14967. - Fixed traversal with arrow keys
  14968. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  14969. gonna keep this or if it's complete yet
  14970. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14971. * ComboBox.cs: missing properties, fixes
  14972. 2005-01-13 Peter Bartok <[email protected]>
  14973. * Panel.cs (ctor): Setting Selectable window style to off
  14974. * Splitter.cs (ctor): Setting Selectable window style to off
  14975. * GroupBox.cs (ctor): Setting Selectable window style to off
  14976. * Label.cs (ctor): Setting Selectable window style to off
  14977. 2005-01-12 Miguel de Icaza <[email protected]>
  14978. * UpDownBase.cs (InitTimer): If the timer has been already
  14979. created, enable it.
  14980. Use a TextBox instead of a Label.
  14981. 2005-01-12 Jackson Harper <[email protected]>
  14982. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  14983. draw the connecting node lines (when ShowLines is true).
  14984. * TreeNode.cs: The nodes index can now be updated. This is used
  14985. when a node collection is sorted.
  14986. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  14987. insert or an existing unsorted node collection can be sorted.
  14988. 2005-01-12 Peter Bartok <[email protected]>
  14989. * ContainerControl.cs: Implemented ProcessDialogKeys()
  14990. 2005-01-12 Peter Bartok <[email protected]>
  14991. * Control.cs:
  14992. - Implemented SelectNextControl() method
  14993. - Several focus related bug fixes
  14994. - Fixed Docking calculations to match MS documentation and
  14995. behaviour
  14996. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  14997. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  14998. bug fixes
  14999. 2005-01-12 Peter Bartok <[email protected]>
  15000. * Control.cs:
  15001. - Fixed broken Contains() method
  15002. - Implemented GetNextControl() method. Finally. This is the pre-
  15003. requisite for focus handling.
  15004. 2005-01-12 Peter Bartok <[email protected]>
  15005. * OSXStrucs.cs: Added
  15006. 2005-01-12 Peter Bartok <[email protected]>
  15007. * XplatUIWin32.cs:
  15008. - Removed PeekMessageFlags
  15009. - Implemented SetWindowStyle() method
  15010. * XplatUIStructs.cs: Added PeekMessageFlags
  15011. * X11Structs: Added missing border_width field to XWindowChanges struct
  15012. * XplatUIX11.cs:
  15013. - PeekMessage: Now throws exception if flags which are not yet
  15014. supported are passed
  15015. - Implemented SetWindowStyle() method
  15016. - Fixed SetZOrder to handle AfterHwnd properly
  15017. * XplatUI.cs: Added SetWindowStyle() method
  15018. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  15019. * Control.cs:
  15020. - Implemented UpdateStyles() method
  15021. - Implemented UpdateZOrder() method
  15022. * XplatUIOSX.cs: Added SetWindowStyle() stub
  15023. 2005-01-12 Geoff Norton <[email protected]>
  15024. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  15025. button mouse).
  15026. 2005-01-11 Jackson Harper <[email protected]>
  15027. * TreeView.cs: Still need to draw lines to siblings even if out of
  15028. the current node is out of the clip.
  15029. 2005-01-11 Jackson Harper <[email protected]>
  15030. * TreeView.cs: When setting the hbar/vbar/grip position use
  15031. SetBounds so that perform layout is only called once. Also suspend
  15032. and resume layout so layout is only done once for all controls.
  15033. - Removed some debug fluff
  15034. * SizeGrip.cs: Call base implmentation in overriding methods.
  15035. - When visibility is changed the drawing buffers are killed so we
  15036. need to redraw.
  15037. 2005-01-11 Jackson Harper <[email protected]>
  15038. * TreeView.cs: Calculate the open node count while drawing. This
  15039. saves us an entire tree traversal for every paint operation. Use
  15040. a member var for the open node count so less vars are passed around.
  15041. 2005-01-11 John BouAntoun <[email protected]>
  15042. * MonthCalendar.cs:
  15043. - fixed selection to use mousemove, not mouse polling on timer
  15044. * ThemeWin32Classic.cs
  15045. - removed redundant unused variable "no_more_content"
  15046. 2005-01-11 Peter Bartok <[email protected]>
  15047. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  15048. are pending, so it now calls PeekMessage instead of GetMessage;
  15049. implemented a incomplete version of PeekMessage
  15050. 2005-01-11 Peter Bartok <[email protected]>
  15051. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  15052. I18n issues
  15053. * TextBoxBase.cs: Added sending of TextChanged event
  15054. 2005-01-10 Jackson Harper <[email protected]>
  15055. * TreeView.cs: Try not to draw outside the clipping rectangle on
  15056. each node element.
  15057. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  15058. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  15059. 2005-01-10 Jackson Harper <[email protected]>
  15060. * TreeView.cs:
  15061. - Implement fast scrolling. Now only the newly
  15062. exposed nodes are drawn and the old image is moved using the
  15063. XplatUI::ScrollWindow method.
  15064. - Factor in height of nodes when calculating whether or not the
  15065. node is in the clipping rect.
  15066. 2005-01-10 Jackson Harper <[email protected]>
  15067. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  15068. 2005-01-10 Peter Bartok <[email protected]>
  15069. * Application.cs: Added temporary hack to resolve all our resize
  15070. required issues on startup. This will get fixed properly at
  15071. some point in the future
  15072. 2005-01-10 Jackson Harper <[email protected]>
  15073. * SizeGrip.cs: New internal class that is used as a sizing
  15074. grip control...hence the name.
  15075. 2005-01-10 Peter Bartok <[email protected]>
  15076. * Control.cs: Implemented proper TabIndex handling, now assigning
  15077. a tabindex when a control is added to a container
  15078. * GroupBox.cs (ctor): Now sets the Container style bit, required
  15079. for Control.GetNextControl()
  15080. 2005-01-09 Jackson Harper <[email protected]>
  15081. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  15082. 2005-01-09 Peter Bartok <[email protected]>
  15083. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15084. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  15085. an overload for ScrollWindow to allow only scrolling a rectangle
  15086. 2005-01-09 Peter Bartok <[email protected]>
  15087. * Form.cs:
  15088. - Implemented SetDesktopBounds method
  15089. - Implemented SetDesktopLocation method
  15090. 2005-01-08 Jackson Harper <[email protected]>
  15091. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  15092. the node count has changed, this removes to VScroll::Refresh calls
  15093. when drawing.
  15094. 2005-01-08 Geoff Norton <[email protected]>
  15095. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  15096. 2005-01-07 Jackson Harper <[email protected]>
  15097. * TreeNode.cs: Just update the single node when it is
  15098. checked. Don't refresh after toggling, the Expand/Collapse already
  15099. handles this.
  15100. * TreeView.cs: Respect clipping a little more when drawing. Try
  15101. not to redraw things that don't need to be redrawn. Just hide the
  15102. scrollbars when they are no longer needed instead of removing
  15103. them, so they don't have to be created again and again.
  15104. 2005-01-07 Geoff Norton <[email protected]>
  15105. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  15106. coordinates to window space to place the caret properly, FIXED.
  15107. Implement GetWindowState & SetWindowState
  15108. 2005-01-06 Peter Bartok <[email protected]>
  15109. * Form.cs:
  15110. - Implemented ClientSize property
  15111. - Implemented DesktopBounds property
  15112. - Implemented DesktopLocation property
  15113. - Implemented IsRestrictedWindow property
  15114. - Implemented Size property
  15115. - Implemented TopLevel property
  15116. - Implemented FormWindowState property
  15117. * Control.cs:
  15118. - Implemented GetTopLevel() method
  15119. - Implemented SetTopLevel() method
  15120. * X11Structs.cs (Atom):
  15121. - Added AnyPropertyType definition
  15122. - Added MapState definiton and updated XWindowAttribute struct
  15123. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  15124. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  15125. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  15126. * XplatUIWin32.cs:
  15127. - Implemented GetWindowState() and SetWindowState() methods
  15128. - Fixed Win32GetWindowLong return type
  15129. * XplatUIX11.cs:
  15130. - Introduced central function for sending NET_WM messages
  15131. - Implemented GetWindowState() and SetWindowState() methods
  15132. * TextBoxBase.cs (set_Lines):
  15133. - Now uses Foreground color for text added via Text property (Duh!)
  15134. - Added code to remember programmatically requested size (fixes
  15135. behaviour when Multiline is set after Size)
  15136. - Added AutoSize logic
  15137. 2005-01-06 Jackson Harper <[email protected]>
  15138. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  15139. 2005-01-06 Jackson Harper <[email protected]>
  15140. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  15141. set to less then 0.
  15142. 2005-01-06 Jackson Harper <[email protected]>
  15143. * ScrollableControl.cs: Lazy init the scrollbars.
  15144. 2005-01-06 Jackson Harper <[email protected]>
  15145. * Theme.cs: Speed up getting pens and solid brushes, by using
  15146. their ARGB as a hash instead of tostring and not calling Contains.
  15147. 2005-01-06 Peter Bartok <[email protected]>
  15148. * Form.cs:
  15149. - Implemented OnActivated and OnDeactivate event trigger
  15150. - Implemented Activate() method
  15151. - Fixed ShowDialog() to activate the form that was active before
  15152. the dialog was shown
  15153. * XplatUIX11.cs:
  15154. - Added global active_window var that tracks the currently active
  15155. X11 window
  15156. - Now always grabs Property changes from the root window to always
  15157. catch changes on the active window property
  15158. - Added code to PropertyNotify handler to send Active/Inactive
  15159. messages when state changes. This puts X11 and Win32 en par on
  15160. WM_ACTIVATE notifications (except for double notifications when
  15161. the user clicks away from our modal window to another one of our
  15162. windows)
  15163. 2005-01-05 Jackson Harper <[email protected]>
  15164. * ImageList.cs: Implment ctor
  15165. 2005-01-05 Geoff Norton <[email protected]>
  15166. * XplatUIOSX.cs: Implement Activate/SetTopmost
  15167. 2005-01-05 Geoff Norton <[email protected]>
  15168. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  15169. 2005-01-05 Geoff Norton <[email protected]>
  15170. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  15171. 2005-01-05 Peter Bartok <[email protected]>
  15172. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  15173. XplatUIOSX.cs: Added GetActive method to return the currently
  15174. active window for the application (or null, if none is active)
  15175. * Form.cs:
  15176. - Implemented ActiveForm
  15177. - Commented out owner assignment for modal dialogs (causes problems
  15178. on Win32, since the owner will be disabled)
  15179. - Reworked some Active/Focus handling (still incomplete)
  15180. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  15181. (causes problems on Win32, since the owner will be disabled)
  15182. * IWin32Window: Added ComVisible attribute
  15183. 2005-01-05 Peter Bartok <[email protected]>
  15184. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  15185. required XplatUI functions.
  15186. 2005-01-05 Peter Bartok <[email protected]>
  15187. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  15188. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  15189. to implement focus and activation handling; still incomplete and
  15190. with debug output
  15191. 2005-01-04 Peter Bartok <[email protected]>
  15192. * TextBoxBase.cs: Changed access level for Document property to
  15193. match switch to internal for TextControl
  15194. 2005-01-04 Peter Bartok <[email protected]>
  15195. * AccessibleObject: Added ComVisible attribute
  15196. 2005-01-04 Jackson Harper <[email protected]>
  15197. * X11Keyboard.cs: Remove unneeded var.
  15198. 2005-01-04 Jackson Harper <[email protected]>
  15199. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  15200. but PAINT.
  15201. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  15202. ClientMessage. This makes apps exit cleanly (more often).
  15203. 2005-01-04 Jackson Harper <[email protected]>
  15204. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  15205. handling focus, return correct colors and fonts,
  15206. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  15207. handle selection, horizontal scrolling, and mouse interaction.
  15208. 2005-01-04 Peter Bartok <[email protected]>
  15209. * ICommandExecutor.cs: Added
  15210. * IDataGridColumnStyleEditingNotificationService.cs: Added
  15211. * IFeatureSupport.cs: Added
  15212. * IFileReaderService.cs: Added
  15213. * IDataObject.cs: Added ComVisible attribute
  15214. * AmbientProperties.cs: Added
  15215. * BaseCollection.cs: Added missing attributes
  15216. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  15217. * BaseCollection.cs: Added missing attributes
  15218. * Binding.cs: Added TypeConverter attribute
  15219. * BindingContext.cs: Added DefaultEvent attribute
  15220. * BindingsCollection.cs: Added DefaultEvent attribute
  15221. * Button.cs: Added DefaultValue attribute
  15222. * DragEventArgs.cs: Added ComVisible attribute
  15223. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  15224. * KeyEventArgs.cs: Added ComVisible attribute
  15225. * KeyPressEventArgs.cs: Added ComVisible attribute
  15226. * MouseEventArgs.cs: Added ComVisible attribute
  15227. * NavigateEventArgs.cs: Added
  15228. * NavigateEventHandler.cs: Added
  15229. * FeatureSupport.cs: Added
  15230. * OSFeature.cs: Added
  15231. * Theme.cs: Added abstract Version property to support OSFeature
  15232. * ThemeWin32Classic.cs: Added Version property to
  15233. support OSFeature.Themes
  15234. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  15235. the proper styles to avoid background drawing are set, also doesn't
  15236. match MS signature
  15237. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  15238. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  15239. * ScrollEventArgs.cs: Added ComVisible attribute
  15240. * SplitterEventArgs.cs: Added ComVisible attribute
  15241. * AccessibleSelection.cs: Added Flags attribute
  15242. * Appearance.cs: Added ComVisible attribute
  15243. * Border3DSide.cs: Added ComVisible attribute
  15244. * Border3DStyle.cs: Added ComVisible attribute
  15245. * BorderStyle.cs: Added ComVisible attribute
  15246. * DragAction.cs: Added ComVisible attribute
  15247. * ErrorBlinkStyle.cs: Added
  15248. * ScrollEventType.cs: Added ComVisible attribute
  15249. * AnchorStyles.cs: Added Editor attribute
  15250. * DockStyle.cs: Added Editor attribute
  15251. * HorizontalAlignment.cs: Added ComVisible attribute
  15252. * HelpEventArgs.cs: Added ComVisible attribute
  15253. * PaintEventArgs.cs: Added IDisposable
  15254. 2005-01-04 Peter Bartok <[email protected]>
  15255. * TextControl.cs: Switched Line, LineTag and Document classes to
  15256. internal
  15257. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  15258. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  15259. Simple mode, fixes, IntegralHeight, etc.
  15260. 2005-01-04 Peter Bartok <[email protected]>
  15261. * TextBoxBase.cs: Using proper font variable now
  15262. 2005-01-04 Peter Bartok <[email protected]>
  15263. * Form.cs (ShowDialog): Set parent to owner, if provided
  15264. * GroupBox.cs: Removed unused vars
  15265. * TextControl.cs:
  15266. - Added GetHashCode() for Document and LineTag classes
  15267. - Removed unused variables
  15268. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  15269. to allow translation between continuous char position and line/pos
  15270. * CheckBox.cs: Removed vars that are provided by base class
  15271. * RadioButton.cs: Removed vars that are provided by base class, added
  15272. new keyword where required
  15273. * LinkLabel.cs: Added new keyword where required
  15274. * Control.cs (WndProc): Removed unused variable
  15275. * TextBoxBase.cs:
  15276. - Finished SelectionLength property
  15277. - Implemented SelectionStart property
  15278. - Implemented Text property
  15279. - Removed unused vars
  15280. * MessageBox.cs: Added new keyword where required
  15281. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  15282. WndProc signature
  15283. * MenuAPI.cs: Added new keyword where required
  15284. * ButtonBase.cs: Removed vars that are provided by base class, added
  15285. new keyword where required
  15286. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  15287. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  15288. into this)
  15289. * Application.cs (Run): Now triggers the ThreadExit event
  15290. * CommonDialog.cs: Added new keyword where required; now properly sets
  15291. parent (owner) for dialog
  15292. * XplatUIX11.cs: Commented out unused vars
  15293. * StatusBar.cs: Fixed signature for Text property
  15294. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  15295. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  15296. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  15297. TrackBar.cs, MonthCalendar.cs: remove unused vars
  15298. 2005-01-03 Jackson Harper <[email protected]>
  15299. * ThemeWin32Classic.cs:
  15300. * X11Keyboard.cs: Remove unused vars.
  15301. 2005-01-03 Peter Bartok <[email protected]>
  15302. * TextBox.cs:
  15303. - set_Text: Tied into TextControl
  15304. - set_TextAlignment: Tied into TextControl
  15305. * TextControl.cs:
  15306. - Added alignment properties and implemented alignment handling
  15307. and drawing (still has a bug, not generating proper expose events)
  15308. - Added new Line() constructor to allow passing the line alignment
  15309. - Fixed selection setting, properly handling end<start now
  15310. - Added aligment considerations to RecalculateDocument()
  15311. * TextBoxBase.cs:
  15312. - Now properly enforces control height for single line controls
  15313. - Added support for CharacterCasing
  15314. - Added IsInputKey override
  15315. - Fixed Keys.Enter logic
  15316. - Added SetBoundsCore override
  15317. - Fixed mouse selection handling
  15318. 2005-01-03 Jackson Harper <[email protected]>
  15319. * TreeView.cs:
  15320. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  15321. - Checkboxes are always aligned to the bottom of the node,
  15322. regardless of item height.
  15323. - Use the node bounds to draw the text so we can center it when
  15324. the item height is greater then the font height.
  15325. - Node::Bounds are only the text part of the node.
  15326. * TreeNode.cs: New method to combine collapsing and unchecking all
  15327. nodes recursively.
  15328. 2005-01-02 Jackson Harper <[email protected]>
  15329. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  15330. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  15331. tree when a check is changed. TODO: Only refresh the checked node.
  15332. 2004-12-30 Jackson Harper <[email protected]>
  15333. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  15334. * TreeNode.cs: When collapsing make sure to never collapse the
  15335. root node.
  15336. 2004-12-29 Jackson Harper <[email protected]>
  15337. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  15338. 2004-12-28 Zoltan Varga <[email protected]>
  15339. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  15340. 2004-12-28 Peter Bartok <[email protected]>
  15341. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  15342. not yet assigned
  15343. 2004-12-28 Peter Bartok <[email protected]>
  15344. * Control.cs (WndProc): Added WM_HELP handler, now generates
  15345. HelpRequested event
  15346. * Form.cs: Added HelpButton property and required support code
  15347. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  15348. 2004-12-28 Peter Bartok <[email protected]>
  15349. * CommonDialog.cs:
  15350. - Made DialogForm.owner variable internal
  15351. - Added check to ensure owner form is set before setting
  15352. owner properties in CreateParams
  15353. 2004-12-28 Geoff Norton <[email protected]>
  15354. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  15355. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  15356. GetCursorPos. Fix major visibility issues. Rework the windowing
  15357. system to support borderless/titleless windows (implements menus).
  15358. Fix GetWindowPos. Implement initial background color support for
  15359. views.
  15360. 2004-12-28 Peter Bartok <[email protected]>
  15361. * Form.cs (get_CreateParams): Make sure we have an owner before using
  15362. the owner variable. Implement proper default if no owner exists
  15363. 2004-12-28 Peter Bartok <[email protected]>
  15364. * In preparation for making Managed.Windows.Forms the default build target
  15365. for System.Windows.Forms, the following stubbed files were added.
  15366. Dialogs are currently being implemented by contributors and are only
  15367. short-term place holders.
  15368. * ColorDialog.cs: Initial check-in (minmal stub)
  15369. * DataGrid.cs: Initial check-in (minimal stub)
  15370. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  15371. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  15372. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  15373. * FontDialog.cs: Initial check-in (minimal stub)
  15374. * FileDialog.cs: Initial check-in (minimal stub)
  15375. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  15376. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  15377. * OpenFileDialog: Initial check-in (minimal stub)
  15378. * IComponentEditorPageSite.cs: Initial check-in
  15379. * Splitter.cs: Initial check-in (for Jackson)
  15380. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  15381. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  15382. * TextBox.cs: Initial check-in; still needs some wiring to
  15383. TextControl backend
  15384. * Form.cs: Implemented ControlBox property
  15385. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  15386. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  15387. * TextControl.cs: Added selection functionality; added todo header
  15388. * TextBoxBase.cs:
  15389. - Implemented Lines property
  15390. - Implemented TextHeight property
  15391. - Implemented SelectedText property
  15392. - Implemented SelectionLength property
  15393. - Implemented SelectAll method
  15394. - Implemented ToString method
  15395. - Removed and cleaned up some debug code
  15396. - Implemented (still buggy) mouse text selection
  15397. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  15398. * ComboBox.cs: Complete DropDownList implementation, fixes.
  15399. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  15400. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  15401. * ComboBoxStyle.cs: ComboBoxStyle enum
  15402. * ComboBox.cs: Initial work on ComboBox control
  15403. 2004-12-21 Peter Bartok <[email protected]>
  15404. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  15405. forward so that anything that creates a window gets the default,
  15406. also no longer uses Visible property in CreateParams to avoid
  15407. walking up the parent chain and possibly get the wrong visible
  15408. status. Fixed IsVisible to no longer walk up to the parent.
  15409. 2004-12-21 Peter Bartok <[email protected]>
  15410. * Form.cs (ShowDialog): Unset modality for the proper window
  15411. 2004-12-20 Peter Bartok <[email protected]>
  15412. * CommonDialog.cs: Initial check-in
  15413. 2004-12-20 Peter Bartok <[email protected]>
  15414. * Control.cs (Visible): Now uses the parent window instead of the
  15415. client area window for the property
  15416. * Form.cs
  15417. - ShowDialog(): Now uses the proper window for modality
  15418. - The default visibility state for the form parent is now false. This
  15419. will prevent the user from seeing all the changes to the form and
  15420. its controls before the application hits Application.Run()
  15421. - Removed some stale commented out code
  15422. * NativeWindow.cs:
  15423. - Added FindWindow() method to have a method to check for existence
  15424. of a window handle
  15425. - Added ability to override default exception handling (for example
  15426. when debugging with VS.Net; to do this the ExternalExceptionHandler
  15427. define must be set
  15428. - Removed some useless debug output
  15429. * XplatUIX11.cs:
  15430. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  15431. not working as expected
  15432. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  15433. property to allow switching back to the modal window if focus is
  15434. given to another one of our windows (Application Modal)
  15435. - Now only sets override_redirect if we create a window
  15436. without WS_CAPTION
  15437. - Moved EventMask selection before mapping of newly created window
  15438. so we can catch the map event as well
  15439. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  15440. - Added various Atom related DllImports
  15441. - Implemented Exit() method
  15442. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  15443. in the CreateParams
  15444. * MessageBox.cs: Now properly deals with the FormParent window by
  15445. providing an override the FormParent CreateParams property to
  15446. set as POPUP instead of OVERLAPPED window.
  15447. 2004-12-19 Geoff Norton <[email protected]>
  15448. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  15449. Minor code cleanup.
  15450. 2004-12-19 Geoff Norton <[email protected]>
  15451. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  15452. 2004-12-18 Peter Bartok <[email protected]>
  15453. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  15454. implementing SetModal() method
  15455. 2004-12-18 Peter Bartok <[email protected]>
  15456. * X11Structs.cs (XGCValues): Fixed type of function element
  15457. * XplatUI.cs: Added ScrollWindow() method
  15458. * XplatUIDriver.cs: Added ScrollWindow() abstract
  15459. * XplatUIWin32.cs: Implemented ScrollWindow() method
  15460. * XplatUIX11.cs: Implemented ScrollWindow() method
  15461. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  15462. 2004-12-17 Geoff Norton <[email protected]>
  15463. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  15464. Some more keyboard support (INCOMPLETE)
  15465. 2004-12-17 Peter Bartok <[email protected]>
  15466. * TextControl.cs:
  15467. - Added color attribute to line tags.
  15468. - Added color argument to all functions dealing with tags
  15469. - Added color argument support to various functions
  15470. - Fixed miss-calculation of baseline/shift in certain circumstances
  15471. * TextBoxBase.cs: Added new color option to test code
  15472. 2004-12-17 Jackson Harper <[email protected]>
  15473. * TreeNode.cs:
  15474. * MonthCalendar.cs: Signature fixes
  15475. 2004-12-17 Geoff Norton <[email protected]>
  15476. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  15477. keyboard event moved it. Create a new graphics context for each paint resolves this
  15478. 2004-12-17 Geoff Norton <[email protected]>
  15479. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  15480. Make caret exist and go blink blink. Initial keyboard support.
  15481. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  15482. works.
  15483. 2004-12-17 Jackson Harper <[email protected]>
  15484. * XplatUIStructs.cs: Updated set of virtual keycodes.
  15485. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  15486. 2004-12-17 Jackson Harper <[email protected]>
  15487. * XplatUIX11.cs: Prune old keyboard code.
  15488. 2004-12-17 Jackson Harper <[email protected]>
  15489. * XplatUIX11.cs: When generating mouse wparams get the modifier
  15490. keys from the ModifierKeys property.
  15491. 2004-12-17 Jackson Harper <[email protected]>
  15492. * X11Keyboard.cs: Send up/down input when generating
  15493. messages. Remove some unused vars.
  15494. 2004-12-17 Jackson Harper <[email protected]>
  15495. * TabControl.cs:
  15496. * TreeView.cs: get rid of warnings.
  15497. 2004-12-17 Jackson Harper <[email protected]>
  15498. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  15499. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  15500. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  15501. CheckedListBox.cs: Implementation
  15502. 2004-12-17 Peter Bartok <[email protected]>
  15503. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  15504. 2004-12-16 Peter Bartok <[email protected]>
  15505. * TextControl.cs:
  15506. - InsertCharAtCaret(): Fixed start pos fixup
  15507. - CaretLine_get: No longer derives the line from the tag, the tag
  15508. could be stale if lines in the document have been added or deleted
  15509. - RebalanceAfterDelete(): Fixed bug in balancing code
  15510. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  15511. - Line.Streamline(): Now can also elminate leading empty tags
  15512. - DumpTree(): Added a few more tests and prevented exception on
  15513. uninitialized data
  15514. - Added Debug section for Combining lines
  15515. - Delete(): Now copies all remaining properties of a line
  15516. * TextBoxBase.cs:
  15517. - Left mousebutton now sets the caret (and middle button still acts
  15518. as formatting tester, which must go away soon)
  15519. - Added Debug section for Deleting/Combining lines
  15520. - Fixed calculations for UpdateView after Combining lines
  15521. 2004-12-16 Peter Bartok <[email protected]>
  15522. * TextControl.cs: Now properly aligns text on a baseline, using the
  15523. new XplatUI.GetFontMetrics() method. Simplified several calculations
  15524. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  15525. defined
  15526. 2004-12-16 Peter Bartok <[email protected]>
  15527. * XplatUI.cs: Added GetFontMetrics() method
  15528. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  15529. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  15530. into libgdiplus, our private GetFontMetrics function
  15531. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  15532. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  15533. 2004-12-16 Jackson Harper <[email protected]>
  15534. * XplatUIStruct.cs: Add enum for dead keys
  15535. * X11Keyboard.cs: Map and unmap dead keys.
  15536. 2004-12-16 Jackson Harper <[email protected]>
  15537. * X11Keyboard.cs: Detect and use the num lock mask.
  15538. 2004-12-16 Peter Bartok <[email protected]>
  15539. * Control.cs (CreateGraphics): Added check to make sure the
  15540. handle of the window exists before calling Graphics.FromHwnd()
  15541. 2004-12-16 Peter Bartok <[email protected]>
  15542. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  15543. contains a lot of code that's not supposed to be there for the
  15544. real thing, but required for developing/testing the textbox
  15545. backend.
  15546. 2004-12-16 Peter Bartok <[email protected]>
  15547. * TextControl.cs:
  15548. - Fixed Streamline method
  15549. - Added FindTag method to Line
  15550. - Added DumpTree method for debugging
  15551. - Added DecrementLines() method for deleting lines
  15552. - Fixed UpdateView to update the cursor to end-of-line on single-line
  15553. updates
  15554. - Added PositionCaret() method
  15555. - Fixed MoveCaret(LineDown) to move into the last line, too
  15556. - Added InsertChar overload
  15557. - Fixed InsertChar tag offset calculations
  15558. - Added DeleteChar() method
  15559. - Added Combine() method for folding lines
  15560. - Fixed Delete() method, no longer allocates wasted Line object and
  15561. now copies all properties when swapping nodes
  15562. - Delete() method now updates document line counter
  15563. 2004-12-15 Jackson Harper <[email protected]>
  15564. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  15565. * X11Keyboard.cs: Expose the currently selected modifier keys
  15566. through a property.
  15567. 2004-12-15 Peter Bartok <[email protected]>
  15568. * TextControl.cs: Initial check-in. Still incomplete
  15569. 2004-12-15 Jackson Harper <[email protected]>
  15570. * TreeNode.cs:
  15571. * TreeView.cs: Fix build on csc (second time today ;-))
  15572. 2004-12-15 Jackson Harper <[email protected]>
  15573. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  15574. is calculated and use this for click testing.
  15575. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  15576. 2004-12-15 Jackson Harper <[email protected]>
  15577. * TreeView.cs: Pass the nodes image index to the image list when
  15578. drawing that image.
  15579. 2004-12-15 Jackson Harper <[email protected]>
  15580. * X11Keyboard.cs: Set messages hwnd.
  15581. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  15582. post_message calls.
  15583. 2004-12-15 Jackson Harper <[email protected]>
  15584. * X11Keyboard.cs: Fix to compile with csc.
  15585. 2004-12-15 Jackson Harper <[email protected]>
  15586. * X11Structs.cs: Add key mask values
  15587. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  15588. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  15589. down/up foo into WM_CHAR foo
  15590. * KeyboardLayouts.cs: Common keyboard layouts
  15591. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  15592. post messages into the main queue.
  15593. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  15594. * Button.cs: implement ProcessMnemonic
  15595. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  15596. brushes everytime
  15597. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  15598. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  15599. 2004-12-12 John BouAntoun <[email protected]>
  15600. * MonthCalendar.cs: Implemented click-hold for next/previous month
  15601. and date selection
  15602. 2004-12-11 Peter Bartok <[email protected]>
  15603. * X11Structs.cs:
  15604. - Added XKeyboardState (moved from XplatUIX11.cs)
  15605. - Added XCreateGC related enums and structures
  15606. - Added GXFunction for XSetFunction
  15607. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  15608. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  15609. CaretVisible() calls
  15610. * ToolTip.cs: Added code to prevent stealing focus from app windows
  15611. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  15612. DestroyCaret, SetCaretPos and CaretVisible)
  15613. * XplatUIX11.cs:
  15614. - Added implementation for caret functions
  15615. - Moved hover variables into a struct, to make it a bit easier
  15616. on the eyes and to debug
  15617. - Removed XKeyboardState (moved to XplatUIX11.cs)
  15618. - Moved Keyboard properties into the properties region
  15619. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  15620. call to get a graphics context for our control
  15621. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  15622. * TreeView.cs: Fixed bug. No matter what color was set it would always
  15623. return SystemColors.Window
  15624. * XplatUIWin32.cs: Implemented caret overrides
  15625. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  15626. * ListBox.cs: fire events, implement missing methods and properties,
  15627. sorting.
  15628. 2004-12-10 John BouAntoun <[email protected]>
  15629. * MonthCalendar.cs: invalidation bug fixing
  15630. * ThemeWin32Classic.cs: paint fixing
  15631. 2004-12-09 Geoff Norton <[email protected]>
  15632. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  15633. prepare the CGContextRef there now.
  15634. 2004-12-09 John BouAntoun <[email protected]>
  15635. * MonthCalendar.cs:
  15636. - optimisationL only invalidate areas that have changed
  15637. * ThemeWin32Classic.cs:
  15638. - only paint parts that intersect with clip_area
  15639. 2004-12-09 Peter Bartok <[email protected]>
  15640. * Application.cs: Undid changes from r37004 which cause problems
  15641. on X11
  15642. 2004-12-09 Ravindra <[email protected]>
  15643. * ToolBar.cs: Added support for displaying ContextMenu
  15644. attached to a button on ToolBar.
  15645. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  15646. property.
  15647. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15648. * Label.cs: autosize works in text change and removes unnecessary
  15649. invalidate
  15650. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15651. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  15652. remove warnings
  15653. 2004-12-08 Geoff Norton <[email protected]>
  15654. * XplatUIOSX.cs: Added mouse move/click/grab support
  15655. Remove some debugging WriteLines not needed anymore.
  15656. Add window resizing/positioning.
  15657. Fix visibility on reparenting.
  15658. 2004-12-08 Peter Bartok <[email protected]>
  15659. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  15660. 2004-12-07 Geoff Norton <[email protected]>
  15661. * XplatUIOSX.cs: Initial checkin
  15662. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  15663. 2004-12-03 Ravindra <[email protected]>
  15664. * ListView.cs: Added some keybindings and fixed scrolling.
  15665. ScrollBars listen to ValueChanged event instead of Scroll
  15666. Event. This would let us take care of all changes being
  15667. done in the scrollbars' values programmatically or manually.
  15668. * ListView.cs (CanMultiselect): Added a check for shift key.
  15669. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  15670. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  15671. of ListViewSubItemCollection as well.
  15672. 2004-12-06 Peter Bartok <[email protected]>
  15673. * Control.cs (Parent): Added check and exception to prevent
  15674. circular parenting
  15675. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  15676. * ListBox.cs: implemented clipping, selection single and multiple,
  15677. bug fixing
  15678. 2004-12-03 Ravindra <[email protected]>
  15679. * ListView.cs (ListView_KeyDown):
  15680. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  15681. when CTRL key is pressed.
  15682. * ListViewItem.cs (Selected): Fixed setting the property.
  15683. 2004-12-03 Marek Safar <[email protected]>
  15684. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  15685. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  15686. MinimizeBox, ShowInTaskbar, TopMost properties.
  15687. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  15688. will be implemented).
  15689. 2004-12-03 Marek Safar <[email protected]>
  15690. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  15691. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  15692. tests.
  15693. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  15694. * TreeView.cs: BackColor is Colors.Window.
  15695. 2004-12-01 Jackson Harper <[email protected]>
  15696. * TreeView.cs: When resizing the tree if the user is making it
  15697. smaller we don't get expose events, so we need to handle adding
  15698. the horizontal scrollbar in the size changed handler as well as
  15699. the expose handler.
  15700. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  15701. * DrawItemState.cs: fixes wrong enum values
  15702. 2004-12-01 Jackson Harper <[email protected]>
  15703. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  15704. 2004-12-01 Jackson Harper <[email protected]>
  15705. * NodeLabelEditEventArgs.cs:
  15706. * NodeLabelEditEventHandler.cs:
  15707. * OpenTreeNodeEnumerator.cs:
  15708. * TreeNode.cs:
  15709. * TreeNodeCollection.cs:
  15710. * TreeView.cs:
  15711. * TreeViewAction.cs:
  15712. * TreeViewCancelEventArgs.cs:
  15713. * TreeViewCancelEventHandler.cs:
  15714. * TreeViewEventArgs.cs:
  15715. * TreeViewEventHandler.cs: Initial implementation.
  15716. 2004-12-01 Ravindra <[email protected]>
  15717. * ListView.cs (CalculateListView): Fixed scrolling related
  15718. calculations. Also, removed some debug statements from other
  15719. places.
  15720. * ListViewItem.cs: Changed access to 'selected' instance variable
  15721. from private to internal.
  15722. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  15723. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  15724. * ThemeWin32Classic.cs: remove cache of brush and pens for
  15725. specific controls and use the global system, fixes scrollbutton
  15726. bugs (for small sizes, disabled, etc)
  15727. * ScrollBar.cs: does not show the thumb for very small controls
  15728. (as MS) and allow smaller buttons that the regular size
  15729. 2004-12-01 Miguel de Icaza <[email protected]>
  15730. * UpDownBase.cs: Add abstract methods for the interface.
  15731. Add new virtual methods (need to be hooked up to TextEntry when it
  15732. exists).
  15733. Add override methods for most features.
  15734. Computes the size, forces the height of the text entry.
  15735. * NumericUpDown.cs: Put here the current testing code.
  15736. * Set eol-style property on all files that do not have mixed line
  15737. endings, to minimize the future problems. There are still a few
  15738. files with mixed endings, and someone should choose whether they
  15739. want to move it or not.
  15740. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  15741. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  15742. System.Colors
  15743. 2004-11-30 Ravindra <[email protected]>
  15744. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  15745. drawing and replaced use of SystemColors by theme colors.
  15746. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  15747. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  15748. same ListViewItem is being added more than once.
  15749. 2004-11-30 John BouAntoun <[email protected]>
  15750. * MonthCalendar.cs:
  15751. - ControlStyles love to make the control not flicker
  15752. 2004-11-30 Peter Bartok <[email protected]>
  15753. * CharacterCasing.cs: Added
  15754. 2004-11-29 Peter Bartok <[email protected]>
  15755. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15756. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  15757. I am removing these files as they conflict with already completed
  15758. work. While it is fantastic to get contributions to MWF, I
  15759. respectfully ask that everyone please coordinate their contributions
  15760. through mono-winforms-list or #mono-winforms at this time. We're
  15761. explicitly avoiding stubbing and don't want controls that don't have
  15762. their basic functionality implemented in svn. Please also see
  15763. http://www.mono-project.com/contributing/winforms.html
  15764. 2004-11-29 Marek Safar <[email protected]>
  15765. * Application.cs (ModalRun): Don't hang after exit.
  15766. * Theme.cs: New TreeViewDefaultSize property.
  15767. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  15768. with less hardcoded SystemColors constant.
  15769. Implemented TreeViewDefaultSize.
  15770. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15771. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  15772. 2004-11-29 John BouAntoun <[email protected]>
  15773. * MonthCalendar.cs:
  15774. - Fix NextMonthDate and PrevMonthDate click moving calendar
  15775. 2004-11-26 John BouAntoun <[email protected]>
  15776. * MonthCalendar.cs:
  15777. - Fix usage of ScrollChange Property when scrolling months
  15778. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  15779. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  15780. - Fixes menu destroying
  15781. - Support adding and removing items on already created menus
  15782. 2004-11-26 John BouAntoun <[email protected]>
  15783. * MonthCalendar.cs:
  15784. - Re-worked all bolded dates handling to match win32
  15785. * ThemeWin32Classic.cs:
  15786. - Fixed rendering with bolded dates
  15787. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  15788. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  15789. - Horizontal scroolbar
  15790. - Multicolumn
  15791. - Fixes
  15792. 2004-11-25 John BouAntoun <[email protected]>
  15793. * MonthCalendar.cs:
  15794. - Fix Usage of MaxSelectionCount from SelectionRange
  15795. - Fixed Shift + Cursor Selection
  15796. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  15797. - Fixed normal cursor selection to be compat with win32
  15798. - Fixed Shift + Mouse Click selection
  15799. 2004-11-24 Peter Bartok <[email protected]>
  15800. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  15801. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  15802. * XplatUIX11.cs:
  15803. - CreatedKeyBoardMsg now updates keystate with Alt key
  15804. - Added workaround for timer crash to CheckTimers, Jackson will
  15805. develop a proper fix and check in later
  15806. - Implemented DispatchMessage
  15807. - Removed calling the native window proc from GetMessage (call
  15808. now moved to DispatchMessage)
  15809. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  15810. the keydata (Fixes bug #69831)
  15811. * XplatUIWin32.cs:
  15812. - (DispatchMessage): Switched to return IntPtr
  15813. - Added DllImport for SetFocus
  15814. 2004-11-24 Ravindra <[email protected]>
  15815. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  15816. background drawing.
  15817. * ListViewItem.cs: Fixed various properties, calculations
  15818. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  15819. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  15820. and some internal properties. Fixed MouseDown handler and Paint
  15821. method.
  15822. 2004-11-24 John BouAntoun <[email protected]>
  15823. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  15824. 2004-11-24 John BouAntoun <[email protected]>
  15825. * ContainerControl.cs: correct accidental check in of local changes
  15826. 2004-11-24 John BouAntoun <[email protected]>
  15827. * ThemeWin32Classic.cs:
  15828. - Fixed Drawing Last month in grid (sometimes not showing)
  15829. * MonthCalendar.cs:
  15830. - Fixed title width calculation bug (makeing title small)
  15831. 2004-11-23 Peter Bartok <[email protected]>
  15832. * XplatUIX11.cs:
  15833. - Added generation of WM_MOUSEHOVER event
  15834. - Added missing assignment of async_method atom
  15835. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  15836. 2004-11-23 John BouAntoun <[email protected]>
  15837. * ThemeWin32Classic.cs:
  15838. - Fixed Drawing of today circle when showtodaycircle not set
  15839. - fixed drawing of first and last month in the grid (gay dates)
  15840. * MonthCalendar.cs:
  15841. - Fixed Drawing of today circle
  15842. - Fixed drawing of grady dates
  15843. - Fixed HitTest for today link when ShowToday set to false
  15844. - Fixed DefaultSize to obey ShowToday
  15845. 2004-11-23 John BouAntoun <[email protected]>
  15846. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  15847. * System.Windows.Forms/Theme.cs
  15848. * MonthCalendar.cs: added for MonthCalendar
  15849. * SelectionRange.cs: added for MonthCalendar
  15850. * Day.cs: added for MonthCalendar: added for MonthCalendar
  15851. * DateRangeEventArgs.cs: added for MonthCalendar
  15852. * DateRangeEventHandler.cs: added for MonthCalendar
  15853. 2004-11-22 Ravindra <[email protected]>
  15854. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  15855. property.
  15856. 2004-11-22 Miguel de Icaza <[email protected]>
  15857. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  15858. event handler.
  15859. * NumericUpDown.cs: Added new implementation.
  15860. * UpDownBase.cs: Added new implementation.
  15861. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  15862. implementations.
  15863. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  15864. implementations.
  15865. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  15866. methods.
  15867. 2004-11-21 Miguel de Icaza <[email protected]>
  15868. * Timer.cs (Dispose): Should call the base dispose when
  15869. overriding.
  15870. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15871. * ScrollBar.cs: updates thumb position when max, min or increment
  15872. is changed
  15873. 2004-11-21 Ravindra <[email protected]>
  15874. * ListView.cs: Implemented item selection, activation and
  15875. column header style. Fixed properties to do a redraw, if
  15876. required. Added support for MouseHover, DoubleClick, KeyDown
  15877. and KeyUp event handling and some minor fixes.
  15878. * ListViewItem.cs: Fixed constructor.
  15879. * ThemeWin32Classic.cs: Improved drawing for ListView.
  15880. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15881. * ThemeWin32Classic.cs: initial listbox drawing code
  15882. * DrawMode.cs: new enumerator
  15883. * ListControl.cs: stubbed class
  15884. * ListBox.cs: initial implementation
  15885. * Theme.cs: new methods definitions
  15886. * SelectionMode.cs: new enumerator
  15887. 2004-11-17 Peter Bartok <[email protected]>
  15888. * XplatUIWin32.cs: Added double-click events to the class style
  15889. * Control.cs (WndProc):
  15890. - Added handling of click-count to MouseDown/ MouseUp events.
  15891. - Added handling of middle and right mouse buttons
  15892. - Removed old debug code
  15893. 2004-11-17 Jackson Harper <[email protected]>
  15894. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  15895. 2004-11-17 Ravindra <[email protected]>
  15896. * ListView.cs: Added event handling for MouseMove/Up/Down.
  15897. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  15898. * ThemeWin32Classic.cs: We need to clear the graphics context and
  15899. draw column header in a proper state.
  15900. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  15901. * Menu.cs: fixes signature
  15902. 2004-11-16 Peter Bartok <[email protected]>
  15903. * XplatUIX11.cs (GetMessage): Implemented generation of
  15904. double click mouse messages
  15905. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  15906. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  15907. not by menu
  15908. 2004-11-11 Peter Bartok <[email protected]>
  15909. * HandleData.cs: Added Visible property
  15910. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  15911. HandleData
  15912. * XplatUIX11.cs: Removed old debug leftovers
  15913. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  15914. * Control.cs (WndProc): Removed old debug leftovers,
  15915. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  15916. needed WM_SIZE handling
  15917. 2004-11-11 Jackson Harper <[email protected]>
  15918. * OwnerDrawPropertyBag.cs:
  15919. * TreeViewImageIndexConverter.cs: Initial implementation
  15920. 2004-11-10 Jackson Harper <[email protected]>
  15921. * ThemeWin32Classic.cs:
  15922. * TabControl.cs: instead of moving tabs by the slider pos just
  15923. start drawing at the tab that is offset by the slider. This way
  15924. scrolling always moves by exactly one tab.
  15925. 2004-11-10 Jackson Harper <[email protected]>
  15926. * TabControl.cs: You can only scroll left when the slider has
  15927. already ben moved right.
  15928. 2004-11-10 Jackson Harper <[email protected]>
  15929. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  15930. the clip area.
  15931. 2004-11-10 Jackson Harper <[email protected]>
  15932. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  15933. clip area.
  15934. 2004-11-09 Jackson Harper <[email protected]>
  15935. * TabControl.cs (CalcXPos): New helper method so we can determine
  15936. the proper place to start drawing vertical tabs.
  15937. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  15938. 2004-11-09 Jackson Harper <[email protected]>
  15939. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  15940. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  15941. and Bottom, left and right are illegal values for this and
  15942. multiline is enabled when the alignment is set to left or right.
  15943. (DrawTab): Each alignment block should draw the text itself now
  15944. because Left requires special love. Also add rendering for Left
  15945. aligned tabs.
  15946. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  15947. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  15948. does not destroy the windows, removes debugging messages
  15949. 2004-11-09 jba <[email protected]>
  15950. * ThemeWin32Classic.cs
  15951. (DrawButtonBase): Fix verticle text rect clipping in windows
  15952. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15953. rendering and incorrect text rect clipping
  15954. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15955. rendering and incorrect text rect clipping
  15956. 2004-11-08 Jackson Harper <[email protected]>
  15957. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  15958. bottom when they are bottom aligned so the bottoms of the tabs get
  15959. displayed.
  15960. * TabControl.cs (DropRow): Move rows up instead of down when the
  15961. tab control is bottom aligned.
  15962. 2004-11-08 13:59 pbartok
  15963. * XplatUIX11.cs:
  15964. - Added handling for various window styles
  15965. - Added handling for popup windows
  15966. - Added SetTopmost handling
  15967. 2004-11-08 13:55 pbartok
  15968. * XplatUIWin32.cs:
  15969. - Added argument to SetTopmost method
  15970. - Fixed broken ClientToScreen function
  15971. 2004-11-08 13:53 pbartok
  15972. * XplatUIStructs.cs:
  15973. - Added missing WS_EX styles
  15974. 2004-11-08 13:53 pbartok
  15975. * XplatUI.cs, XplatUIDriver.cs:
  15976. - Added argument to SetTopmost
  15977. 2004-11-08 13:52 pbartok
  15978. * X11Structs.cs:
  15979. - Added XSetWindowAttributes structure
  15980. - Improved XWindowAttributes structure
  15981. - Added SetWindowValuemask enum
  15982. - Added window creation arguments enum
  15983. - Added gravity enum
  15984. - Added Motif hints structure
  15985. - Added various Motif flags and enums
  15986. - Added PropertyMode enum for property functions
  15987. 2004-11-08 13:50 pbartok
  15988. * Form.cs:
  15989. - Fixed arguments for updated SetTopmost method
  15990. 2004-11-08 13:49 pbartok
  15991. * ToolTip.cs:
  15992. - Fixed arguments for updated SetTopmost function
  15993. - Fixed usage of PointToClient
  15994. 2004-11-08 13:44 pbartok
  15995. * MenuAPI.cs:
  15996. - Added Clipping of children and siblings
  15997. 2004-11-08 13:41 pbartok
  15998. * MainMenu.cs:
  15999. - Removed SetMenuBarWindow call. We do this in Form.cs
  16000. 2004-11-08 13:40 jackson
  16001. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  16002. scrolling jimmi in the correct location with bottom aligned tabs
  16003. 2004-11-08 13:36 pbartok
  16004. * ContainerControl.cs:
  16005. - Implemented BindingContext
  16006. - Implemented ParentForm
  16007. 2004-11-08 12:46 jackson
  16008. * TabControl.cs: Put bottom rendered tabs in the right location
  16009. 2004-11-08 07:15 jordi
  16010. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  16011. removes dead code
  16012. 2004-11-05 17:30 jackson
  16013. * TabControl.cs: When selected tabs are expanded make sure they
  16014. don't go beyond the edges of the tab control
  16015. 2004-11-05 14:57 jackson
  16016. * TabControl.cs: Reset show_slider so if the control is resized to
  16017. a size where it is no longer needed it's not displayed anymore
  16018. 2004-11-05 13:16 jackson
  16019. * TabControl.cs: Make tab pages non visible when added to the
  16020. control
  16021. 2004-11-05 12:42 jackson
  16022. * TabControl.cs: Implement SizeMode.FillToRight
  16023. 2004-11-05 12:16 jackson
  16024. * Control.cs: Do not call CreateHandle if the handle is already
  16025. created
  16026. 2004-11-05 11:46 jackson
  16027. * TabControl.cs: Remove superflous call to CalcTabRows
  16028. 2004-11-05 09:07 jackson
  16029. * XplatUIX11.cs: Update for Mono.Posix changes
  16030. 2004-11-05 07:00 ravindra
  16031. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  16032. scrolling.
  16033. 2004-11-04 22:47 jba
  16034. * ThemeWin32Classic.cs:
  16035. - Fix Button rendering for FlatStyle = Flat or Popup
  16036. - Fix RadioButton and CheckBox rendering when Appearance = Button
  16037. (normal and flatstyle).
  16038. - Correct outer rectangle color when drawing focus rectangle
  16039. - Adjust button bounds to be 1 px smaller when focused
  16040. - Make button not draw sunken 3d border when pushed (windows compat)
  16041. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  16042. - Offset the text in RadioButton and Checkbox when being rendered as
  16043. a button.
  16044. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  16045. radiobuttons
  16046. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  16047. - Fixed disabled text rendering for normally rendered radiobuttons
  16048. 2004-11-04 10:26 jackson
  16049. * TabControl.cs: Recalculate tab rows when resizing
  16050. 2004-11-04 07:47 jordi
  16051. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  16052. collection completion, drawing issues, missing features
  16053. 2004-11-04 05:03 ravindra
  16054. * ScrollBar.cs:
  16055. - We need to recalculate the Thumb area when
  16056. LargeChange/maximum/minimum values are changed.
  16057. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  16058. than minimum. This is required to handle the case if large_change is
  16059. more than max, and use LargeChange property instead of large_change
  16060. variable.
  16061. - We return max+1 when large_change is more than max, like MS does.
  16062. 2004-11-04 04:29 ravindra
  16063. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  16064. - Changed default value signatures (prefixed all with ListView).
  16065. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  16066. ListView.
  16067. - Fixed calculations for ListViewItem and implemented Clone()
  16068. method.
  16069. 2004-11-04 04:26 ravindra
  16070. * Theme.cs, ThemeWin32Classic.cs:
  16071. - Changed default ListView values signatures (prefixed all with
  16072. ListView).
  16073. - Fixed default size values for VScrollBar and HScrollBar.
  16074. - Fixed DrawListViewItem method.
  16075. 2004-11-04 04:05 ravindra
  16076. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  16077. 2004-11-04 04:04 ravindra
  16078. * ImageList.cs: Implemented the missing overload for Draw method.
  16079. 2004-11-03 19:29 jackson
  16080. * TabControl.cs: Handle dropping rows on selection properly
  16081. 2004-11-03 11:59 jackson
  16082. * TabControl.cs: remove debug code
  16083. 2004-11-03 11:52 jackson
  16084. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  16085. the scrolly widgerywoo
  16086. 2004-11-02 13:52 jackson
  16087. * TabControl.cs: Resize the tab pages and tabs when the tab control
  16088. is resized
  16089. 2004-11-02 13:40 jackson
  16090. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  16091. selected tab to the bottom
  16092. 2004-11-02 13:39 jackson
  16093. * TabPage.cs: Store the tab pages row
  16094. 2004-11-02 12:33 jordi
  16095. * MenuItem.cs: fixes handle creation
  16096. 2004-11-02 11:42 jackson
  16097. * TabControl.cs: signature fix
  16098. 2004-11-02 08:56 jackson
  16099. * TabControl.cs: Calculate whether the tab is on an edge properly.
  16100. Remove top secret debugging code
  16101. 2004-11-01 19:57 jackson
  16102. * TabControl.cs: Add click handling, and proper sizing
  16103. 2004-11-01 19:47 jackson
  16104. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  16105. tab controls
  16106. 2004-11-01 19:39 jackson
  16107. * TabPage.cs: add internal property to store the bounds of a tab
  16108. page
  16109. 2004-10-30 04:23 ravindra
  16110. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  16111. values.
  16112. 2004-10-30 04:21 ravindra
  16113. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  16114. fixed calculations.
  16115. 2004-10-30 03:06 pbartok
  16116. * XplatUIX11.cs:
  16117. - Removed extension of DllImported libs
  16118. 2004-10-29 09:55 jordi
  16119. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  16120. navigation, itemcollection completion, menu fixes
  16121. 2004-10-27 22:58 pbartok
  16122. * XplatUIX11.cs:
  16123. - Now throws a nice error message when no X display could be opened
  16124. 2004-10-26 13:51 jordi
  16125. * ListView.cs: removes warning
  16126. 2004-10-26 03:55 ravindra
  16127. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  16128. ThemeWin32Classic.cs: Some formatting for my last checkins.
  16129. 2004-10-26 03:36 ravindra
  16130. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  16131. control and default values.
  16132. 2004-10-26 03:35 ravindra
  16133. * Theme.cs: Added some default values for ListView control.
  16134. 2004-10-26 03:33 ravindra
  16135. * ToolBar.cs: ToolBar should use the user specified button size, if
  16136. there is any. Added a size_specified flag for the same.
  16137. 2004-10-26 03:33 ravindra
  16138. * ColumnHeader.cs: Added some internal members and calculations for
  16139. ColumnHeader.
  16140. 2004-10-26 03:32 ravindra
  16141. * ListViewItem.cs: Calculations for ListViewItem.
  16142. 2004-10-26 03:31 ravindra
  16143. * ListView.cs: Added some internal members and calculations for
  16144. ListView.
  16145. 2004-10-22 13:31 jordi
  16146. * MenuAPI.cs: speedup menus drawing
  16147. 2004-10-22 13:16 jackson
  16148. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  16149. expose event
  16150. 2004-10-22 11:49 jackson
  16151. * Control.cs: oops
  16152. 2004-10-22 11:41 jackson
  16153. * Control.cs: Check to see if the window should have its background
  16154. repainted by X when drawing.
  16155. 2004-10-22 11:31 jackson
  16156. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  16157. clear is true, this way we do not get flicker from X repainting the
  16158. background
  16159. 2004-10-22 11:28 jackson
  16160. * XEventQueue.cs: Queue properly
  16161. 2004-10-21 09:38 jackson
  16162. * XEventQueue.cs: Fix access modifier
  16163. 2004-10-21 09:36 jackson
  16164. * XEventQueue.cs: Don't loose messages
  16165. 2004-10-21 09:22 jackson
  16166. * XEventQueue.cs: Don't loose messages
  16167. 2004-10-20 04:15 jordi
  16168. * BootMode.cs: enum need it by SystemInfo
  16169. 2004-10-19 21:58 pbartok
  16170. * XplatUIWin32.cs:
  16171. - Small sanity check
  16172. 2004-10-19 21:56 pbartok
  16173. * Form.cs:
  16174. - Added private FormParentWindow class which acts as the container
  16175. for our form and as the non-client area where menus are drawn
  16176. - Added/Moved required tie-ins to Jordi's menus
  16177. - Fixed/Implemented the FormStartPosition functionality
  16178. 2004-10-19 21:52 pbartok
  16179. * Control.cs:
  16180. - Removed unneeded locals
  16181. - Added code to all size and location properties to understand and
  16182. deal with the parent container of Form
  16183. 2004-10-19 21:33 pbartok
  16184. * Application.cs:
  16185. - Fixed to deal with new Form subclasses for menus
  16186. 2004-10-19 17:48 jackson
  16187. * XEventQueue.cs: commit correct version of file
  16188. 2004-10-19 16:50 jackson
  16189. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  16190. 2004-10-19 16:15 jordi
  16191. * MenuAPI.cs: MenuBarCalcSize returns the height
  16192. 2004-10-19 08:31 pbartok
  16193. * Control.cs:
  16194. - Added missing call to PreProcessMessage before calling OnXXXKey
  16195. methods
  16196. 2004-10-19 00:04 ravindra
  16197. * ToolTip.cs: Fixed constructor.
  16198. 2004-10-18 09:31 jordi
  16199. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  16200. 2004-10-18 09:26 jordi
  16201. * MenuItem.cs: fixes MenuItem class signature
  16202. 2004-10-18 08:56 jordi
  16203. * MenuAPI.cs: prevents windows from showing in the taskbar
  16204. 2004-10-18 00:28 ravindra
  16205. * ToolTip.cs: Suppressed a warning message.
  16206. 2004-10-18 00:27 ravindra
  16207. * Control.cs: Default value of visible property must be true.
  16208. 2004-10-17 23:19 pbartok
  16209. * ToolTip.cs:
  16210. - Complete implementation
  16211. 2004-10-17 23:19 pbartok
  16212. * XplatUIX11.cs:
  16213. - Added EnableWindow method
  16214. - Added SetModal stub
  16215. - Added generation of WM_ACTIVATE message (still needs testing)
  16216. - Added SetTopMost stub
  16217. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  16218. 2004-10-17 23:17 pbartok
  16219. * XplatUIWin32.cs:
  16220. - Removed VirtualKeys to XplatUIStructs
  16221. - Implemented SetTopMost method
  16222. - Implemented EnableWindow method
  16223. - Bugfix in ScreenToClient()
  16224. - Bugfixes in ClientToScreen()
  16225. 2004-10-17 22:51 pbartok
  16226. * XplatUIStructs.cs:
  16227. - Added WS_EX styles to WindowStyles enumeration
  16228. 2004-10-17 22:50 pbartok
  16229. * XplatUI.cs, XplatUIDriver.cs:
  16230. - Added method for enabling/disabling windows
  16231. - Added method for setting window modality
  16232. - Added method for setting topmost window
  16233. 2004-10-17 22:49 pbartok
  16234. * ThemeWin32Classic.cs:
  16235. - Added ToolTip drawing code
  16236. 2004-10-17 22:49 pbartok
  16237. * Theme.cs:
  16238. - Added ToolTip abstracts
  16239. 2004-10-17 22:47 pbartok
  16240. * Form.cs:
  16241. - Fixed Form.ControlCollection to handle owner relations
  16242. - Added Owner/OwnedForms handling
  16243. - Implemented Z-Ordering for owned forms
  16244. - Removed unneeded private overload of ShowDialog
  16245. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  16246. so I hope)
  16247. - Fixed Close(), had wrong default
  16248. - Added firing of OnLoad event
  16249. - Added some commented out debug code for Ownership handling
  16250. 2004-10-17 22:16 pbartok
  16251. * Control.cs:
  16252. - Fixed/implemented flat list of controls
  16253. 2004-10-17 22:14 pbartok
  16254. * Application.cs:
  16255. - Added code to simulate modal dialogs on Win32
  16256. 2004-10-17 16:11 jordi
  16257. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  16258. mouse event
  16259. 2004-10-17 13:39 jordi
  16260. * MenuAPI.cs: menu drawing fixes
  16261. 2004-10-15 09:10 ravindra
  16262. * StructFormat.cs: General Enum.
  16263. 2004-10-15 09:09 ravindra
  16264. * SizeGripStyle.cs: Enum for Form.
  16265. 2004-10-15 09:08 ravindra
  16266. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  16267. in Theme for ListView.
  16268. 2004-10-15 09:06 ravindra
  16269. * ColumnHeader.cs: Flushing some formatting changes.
  16270. 2004-10-15 09:05 ravindra
  16271. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  16272. style.
  16273. 2004-10-15 09:03 ravindra
  16274. * ListView.cs: Implemented Paint method and fixed coding style.
  16275. 2004-10-15 07:34 jordi
  16276. * MenuAPI.cs: fix for X11
  16277. 2004-10-15 07:32 ravindra
  16278. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  16279. - Renamed Paint() method to Draw() for clarity. Also, moved
  16280. DrawImage() to OnPaint().
  16281. 2004-10-15 07:25 ravindra
  16282. * CheckBox.cs, RadioButton.cs:
  16283. - Removed Redraw (), we get it from ButtonBase.
  16284. - Implemented Paint (), to do class specific painting.
  16285. 2004-10-15 07:16 ravindra
  16286. * ButtonBase.cs:
  16287. - Redraw () is not virtual now.
  16288. - Added an internal virtual method Paint (), so that
  16289. derived classes can do their painting on their own.
  16290. - Modified OnPaint () to call Paint ().
  16291. 2004-10-15 06:43 jordi
  16292. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  16293. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  16294. 2004-10-15 00:30 ravindra
  16295. * MessageBox.cs:
  16296. - MessageBox on windows does not have min/max buttons.
  16297. This change in CreateParams fixes this on Windows. We
  16298. still need to implement this windowstyle behavior in
  16299. our X11 driver.
  16300. 2004-10-14 05:14 ravindra
  16301. * ToolBar.cs:
  16302. - Changed Redraw () to do a Refresh () always.
  16303. - Fixed the MouseMove event handling when mouse is pressed,
  16304. ie drag event handling.
  16305. - Replaced the usage of ToolBarButton.Pressed property to
  16306. ToolBarButton.pressed internal variable.
  16307. 2004-10-14 05:10 ravindra
  16308. * ToolBarButton.cs:
  16309. - Added an internal member 'inside' to handle mouse move
  16310. with mouse pressed ie mouse drag event.
  16311. - Changed 'Pressed' property to return true only when
  16312. 'inside' and 'pressed' are both true.
  16313. - Some coding style love.
  16314. 2004-10-14 00:17 ravindra
  16315. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  16316. public method.
  16317. 2004-10-14 00:15 ravindra
  16318. * ButtonBase.cs: Redraw () related improvements.
  16319. 2004-10-14 00:14 ravindra
  16320. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  16321. removed unnecessary calls to Button.Show () method.
  16322. 2004-10-13 17:50 pbartok
  16323. * XplatUIX11.cs:
  16324. - Formatting fix
  16325. - Removed destroying of window until we solve the problem of X
  16326. destroying the window before us on shutdown
  16327. 2004-10-13 16:32 pbartok
  16328. * ButtonBase.cs:
  16329. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  16330. 2004-10-13 14:18 pbartok
  16331. * XplatUIX11.cs:
  16332. - Added code to destroy the X window
  16333. 2004-10-13 14:18 pbartok
  16334. * XplatUIWin32.cs:
  16335. - Added code to destroy a window
  16336. 2004-10-13 14:12 pbartok
  16337. * ButtonBase.cs:
  16338. - Added the Redraw on Resize that got dropped in the last rev
  16339. 2004-10-13 09:06 pbartok
  16340. * ThemeWin32Classic.cs:
  16341. - Path from John BouAntoun:
  16342. * Fix check rendering (centre correctly for normal style, offset
  16343. correctly for FlatStyle).
  16344. * Fix border color usage (use backcolor) for FlatStyle.Popup
  16345. * Use checkbox.Capture instead of checkbox.is_pressed when
  16346. rendering flatstyle states.
  16347. 2004-10-12 21:48 pbartok
  16348. * ThemeWin32Classic.cs:
  16349. - Removed all occurences of SystemColors and replaced them with the
  16350. matching theme color
  16351. 2004-10-12 21:41 pbartok
  16352. * ThemeWin32Classic.cs:
  16353. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  16354. him using the function for flatstyle drawing
  16355. - Changed functions to use the new version of CPDrawBorder3D
  16356. 2004-10-12 21:15 pbartok
  16357. * ControlPaint.cs:
  16358. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  16359. match MS documentation. They need to return defined colors if the
  16360. passed color matches the configured control color. Thanks to John
  16361. BouAntoun for pointing this out.
  16362. 2004-10-12 20:57 pbartok
  16363. * Control.cs:
  16364. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  16365. color is changed
  16366. 2004-10-12 20:46 pbartok
  16367. * CheckBox.cs:
  16368. - Fix from John BouAntoun: Now properly sets the Appearance property
  16369. 2004-10-12 20:45 pbartok
  16370. * ThemeWin32Classic.cs:
  16371. - Fixes from John BouAntoun: now handles forecolors and backcolors
  16372. for flatstyle rendered controls much better; It also fixes normal
  16373. checkbox rendering when pushed or disabled.
  16374. 2004-10-08 02:50 jordi
  16375. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  16376. work
  16377. 2004-10-07 08:56 jordi
  16378. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  16379. 2004-10-06 03:59 jordi
  16380. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  16381. XplatUIWin32.cs: removes warnings from compilation
  16382. 2004-10-05 12:23 jackson
  16383. * RadioButton.cs: Fix ctor
  16384. 2004-10-05 11:10 pbartok
  16385. * MessageBox.cs:
  16386. - Partial implementation by Benjamin Dasnois
  16387. 2004-10-05 10:15 jackson
  16388. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  16389. by John BouAntoun
  16390. 2004-10-05 03:07 ravindra
  16391. * ToolBar.cs:
  16392. - Removed a private method, Draw ().
  16393. - Fixed the ButtonDropDown event handling.
  16394. - Fixed MouseMove event handling.
  16395. 2004-10-05 03:04 ravindra
  16396. * ThemeWin32Classic.cs:
  16397. - Added DrawListView method and ListViewDefaultSize property.
  16398. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  16399. - Changed DOS style CRLF to Unix format (dos2unix).
  16400. 2004-10-05 03:03 ravindra
  16401. * Theme.cs:
  16402. - Added DrawListView method and ListViewDefaultSize property.
  16403. 2004-10-05 02:42 ravindra
  16404. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  16405. clicks on DropDown arrow.
  16406. 2004-10-04 22:56 jackson
  16407. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  16408. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  16409. Control handle the buffers, derived classes should not have to
  16410. CreateBuffers themselves.
  16411. 2004-10-04 21:20 jackson
  16412. * StatusBar.cs: The control handles resizing the buffers now.
  16413. 2004-10-04 21:18 jackson
  16414. * Control.cs: When resizing the buffers should be invalidated. This
  16415. should be handled in Control not in derived classes.
  16416. 2004-10-04 14:45 jackson
  16417. * TabPage.cs: oops
  16418. 2004-10-04 02:14 pbartok
  16419. * LeftRightAlignment.cs:
  16420. - Initial check-in
  16421. 2004-10-04 01:09 jordi
  16422. * ThemeWin32Classic.cs: fixes right button position causing right
  16423. button not showing on horizontal scrollbars
  16424. 2004-10-02 13:12 pbartok
  16425. * XplatUIX11.cs:
  16426. - Simplified the Invalidate method by using an X call instead of
  16427. generating the expose ourselves
  16428. - Added an expose when the window background is changed
  16429. - Implemented ClientToScreen method
  16430. 2004-10-02 13:08 pbartok
  16431. * XplatUIWin32.cs:
  16432. - Added Win32EnableWindow method (test for implementing modal
  16433. dialogs)
  16434. - Added ClientToScreen method and imports
  16435. 2004-10-02 13:07 pbartok
  16436. * XplatUI.cs, XplatUIDriver.cs:
  16437. - Added ClientToScreen coordinate translation method
  16438. 2004-10-02 13:06 pbartok
  16439. * KeyPressEventArgs.cs:
  16440. - Fixed access level for constructor
  16441. 2004-10-02 13:06 pbartok
  16442. * NativeWindow.cs:
  16443. - Changed access level for the window_collection hash table
  16444. 2004-10-02 13:05 pbartok
  16445. * Form.cs:
  16446. - Added KeyPreview property
  16447. - Added Menu property (still incomplete, pending Jordi's menu work)
  16448. - Implemented ProcessCmdKey
  16449. - Implemented ProcessDialogKey
  16450. - Implemented ProcessKeyPreview
  16451. 2004-10-02 13:02 pbartok
  16452. * Control.cs:
  16453. - Added private method to get the Control object from the window
  16454. handle
  16455. - Implemented ContextMenu property
  16456. - Implemented PointToScreen
  16457. - Implemented PreProcessMessage
  16458. - Implemented IsInputChar
  16459. - Implemented IsInputKey
  16460. - Implemented ProcessCmdKey
  16461. - Completed ProcessKeyEventArgs
  16462. - Fixed message loop to call the proper chain of functions on key
  16463. events
  16464. - Implemented ProcessDialogChar
  16465. - Implemented ProcessDialogKey
  16466. - Implemented ProcessKeyMessage
  16467. - Implemented ProcessKeyPreview
  16468. - Added RaiseDragEvent stub (MS internal method)
  16469. - Added RaiseKeyEvent stub (MS internal method)
  16470. - Added RaiseMouseEvent stub (MS Internal method)
  16471. - Added RaisePaintEvent stub (MS Internal method)
  16472. - Added ResetMouseEventArgs stub (MS Internal method)
  16473. - Implemented RtlTranslateAlignment
  16474. - Implemented RtlTranslateContent
  16475. - Implemented RtlTranslateHorizontal
  16476. - Implemented RtlTranslateLeftRight
  16477. - Added generation of KeyPress event
  16478. 2004-10-02 05:57 ravindra
  16479. * ListViewItem.cs: Added attributes.
  16480. 2004-10-02 05:32 ravindra
  16481. * ListView.cs: Added attributes.
  16482. 2004-10-01 11:53 jackson
  16483. * Form.cs: Implement the Close method so work on MessageBox can
  16484. continue.
  16485. 2004-09-30 14:06 pbartok
  16486. * XplatUIX11.cs:
  16487. - Bug fixes
  16488. 2004-09-30 11:34 jackson
  16489. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  16490. 2004-09-30 07:26 ravindra
  16491. * ListViewItemConverter.cs: Converter for ListViewItem.
  16492. 2004-09-30 07:26 ravindra
  16493. * SortOrder.cs: Enum for ListView control.
  16494. 2004-09-30 07:25 ravindra
  16495. * ColumnHeader.cs: Supporting class for ListView control.
  16496. 2004-09-30 07:24 ravindra
  16497. * ListView.cs, ListViewItem.cs: Initial implementation.
  16498. 2004-09-30 07:20 ravindra
  16499. * ItemActivation.cs: Enum for ListView Control.
  16500. 2004-09-29 20:29 pbartok
  16501. * XplatUIX11.cs:
  16502. - Added lookup of pixel value for background color; tries to get a
  16503. color 'close' to the requested color, it avoids having to create a
  16504. colormap. Depending on the display this could mean the used color
  16505. is slightly off the desired color. Might have to change it to a more
  16506. resource intensive colormap approach, but it will work as a
  16507. workaround to avoid red screens.
  16508. 2004-09-29 14:27 jackson
  16509. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  16510. 2004-09-28 12:44 pbartok
  16511. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  16512. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  16513. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  16514. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  16515. TrackBar.cs, VScrollBar.cs:
  16516. - Streamlined Theme interfaces:
  16517. * Each DrawXXX method for a control now is passed the object for
  16518. the control to be drawn in order to allow accessing any state the
  16519. theme might require
  16520. * ControlPaint methods for the theme now have a CP prefix to avoid
  16521. name clashes with the Draw methods for controls
  16522. * Every control now retrieves it's DefaultSize from the current
  16523. theme
  16524. 2004-09-28 12:17 jackson
  16525. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  16526. drawing
  16527. 2004-09-24 14:57 jackson
  16528. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  16529. Gives us a nice little performance boost.
  16530. 2004-09-24 12:02 jackson
  16531. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  16532. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  16533. Control and supporting classes. Initial checkin
  16534. 2004-09-23 13:08 jackson
  16535. * Form.cs: Temp build fixage
  16536. 2004-09-23 01:39 ravindra
  16537. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  16538. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  16539. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  16540. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  16541. EventHandlers needed by ListView Control.
  16542. 2004-09-22 14:12 pbartok
  16543. * ScrollableControl.cs:
  16544. - Implemented DockPadding property
  16545. - Implemented AutoScroll property
  16546. - Implemented AutoScrollMargin property
  16547. - Implemented AutoScrollMinSize property
  16548. - Implemented AutoScrollPosition property
  16549. - Implemented DisplayRectangle property (still incomplete)
  16550. - Implemented CreateParams property
  16551. - Implemented HScroll property
  16552. - Implemented VScroll property
  16553. - Implemented OnVisibleChanged property
  16554. 2004-09-22 14:09 pbartok
  16555. * Form.cs:
  16556. - Added Form.ControllCollection class
  16557. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  16558. RemoveOwnedForm (still incomplete, missing on-top and common
  16559. minimize/maximize behaviour)
  16560. - Added StartPosition property (still incomplete, does not use when
  16561. creating the form)
  16562. - Added ShowDialog() methods (still incomplete, missing forcing the
  16563. dialog modal)
  16564. 2004-09-22 14:05 pbartok
  16565. * Application.cs:
  16566. - Added message loop for modal dialogs
  16567. 2004-09-22 14:02 pbartok
  16568. * GroupBox.cs:
  16569. - Fixed wrong types for events
  16570. 2004-09-22 14:00 pbartok
  16571. * Shortcut.cs, FormWindowState.cs:
  16572. - Fixed wrong values
  16573. 2004-09-22 12:01 jackson
  16574. * Control.cs: Text is never null
  16575. 2004-09-20 22:14 pbartok
  16576. * XplatUIWin32.cs:
  16577. - Fixed accessibility level for Idle handler
  16578. 2004-09-20 18:54 jackson
  16579. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16580. XplatUIX11.cs: New message loop that uses poll so we don't get a
  16581. busy loop
  16582. 2004-09-17 10:43 pbartok
  16583. * ScrollBar.cs:
  16584. - Fixed behaviour of arrow buttons. Now properly behaves like
  16585. Buttons (and like Microsoft's scrollbar arrow buttons)
  16586. 2004-09-17 10:14 pbartok
  16587. * ScrollBar.cs:
  16588. - Added missing release of keyboard/mouse capture
  16589. 2004-09-17 06:18 jordi
  16590. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  16591. Theme.cs: Very early menu support
  16592. 2004-09-16 17:45 pbartok
  16593. * XplatUIWin32.cs:
  16594. - Fixed sending a window to the front
  16595. - Added overload for SetWindowPos to avoid casting
  16596. 2004-09-16 17:44 pbartok
  16597. * Control.cs:
  16598. - Added SendToBack and BringToFront methods
  16599. 2004-09-16 07:00 ravindra
  16600. * Copyright: Added Novell URL.
  16601. 2004-09-16 07:00 ravindra
  16602. * ToolBar.cs: Invalidate should be done before redrawing.
  16603. 2004-09-15 21:19 ravindra
  16604. * ColumnHeaderStyle.cs: Enum for ListView Control.
  16605. 2004-09-15 21:18 ravindra
  16606. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  16607. ListView Control.
  16608. 2004-09-13 18:26 jackson
  16609. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  16610. properly
  16611. 2004-09-13 18:13 jackson
  16612. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  16613. a second thread and post messages into the main threads message
  16614. queue. This makes timing much more consistent. Both win2K and XP
  16615. have a minimum timer value of 15 milliseconds, so we now do this
  16616. too.
  16617. 2004-09-13 15:18 pbartok
  16618. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16619. XplatUIX11.cs:
  16620. - Added Z-Ordering methods
  16621. 2004-09-13 10:56 pbartok
  16622. * Form.cs:
  16623. - Fixed #region names
  16624. - Moved properties and methods into their proper #regions
  16625. 2004-09-13 10:51 pbartok
  16626. * Form.cs:
  16627. - Added Accept and CancelButton properties
  16628. - Added ProcessDialogKey() method
  16629. 2004-09-13 08:18 pbartok
  16630. * IWindowTarget.cs:
  16631. - Initial check-in
  16632. 2004-09-10 21:50 pbartok
  16633. * Control.cs:
  16634. - Added DoDragDrop() [incomplete]
  16635. - Properly implemented 'Visible' handling
  16636. - Added SetVisibleCore()
  16637. - Implemented FindChildAtPoint()
  16638. - Implemented GetContainerControl()
  16639. - Implemented Hide()
  16640. 2004-09-10 19:28 pbartok
  16641. * Control.cs:
  16642. - Moved methods into their appropriate #regions
  16643. - Reordered methods within regions alphabetically
  16644. 2004-09-10 18:57 pbartok
  16645. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16646. - Added method to retrieve text from window
  16647. 2004-09-10 18:56 pbartok
  16648. * Control.cs:
  16649. - Moved some internal functions into the internal region
  16650. - Implemented FontHeight
  16651. - Implemented RenderRightToLeft
  16652. - Implemented ResizeRedraw
  16653. - Implemented ShowFocusCues
  16654. - Implemented ShowKeyboardCues
  16655. - Implemented FromChildHandle
  16656. - Implemented FromHandle
  16657. - Implemented IsMnemonic
  16658. - Implemented ReflectMessage
  16659. - All public and protected Static Methods are now complete
  16660. 2004-09-10 16:54 pbartok
  16661. * Control.cs:
  16662. - Implemented remaining missing public instance properties
  16663. - Alphabetized some out of order properties
  16664. 2004-09-10 05:51 ravindra
  16665. * PictureBox.cs: Added a check for null image.
  16666. 2004-09-10 00:59 jordi
  16667. * GroupBox.cs: remove cvs tag
  16668. 2004-09-09 05:25 ravindra
  16669. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  16670. 2004-09-09 05:23 ravindra
  16671. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  16672. parent redraw.
  16673. 2004-09-09 02:28 pbartok
  16674. * ThemeWin32Classic.cs:
  16675. - Improve disabled string look
  16676. 2004-09-09 01:15 jordi
  16677. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  16678. args and handler
  16679. 2004-09-08 23:56 ravindra
  16680. * ItemBoundsPortion.cs: It's enum, not a class!
  16681. 2004-09-08 23:47 ravindra
  16682. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  16683. Enums for Form.
  16684. 2004-09-08 21:13 ravindra
  16685. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  16686. ListView control.
  16687. 2004-09-08 21:03 ravindra
  16688. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  16689. avoid crash.
  16690. 2004-09-08 21:01 ravindra
  16691. * ScrollableControl.cs: Removed unreachable code.
  16692. 2004-09-08 06:45 jordi
  16693. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  16694. 2004-09-08 01:00 jackson
  16695. * XplatUIX11.cs: Only run the timers when updating the message
  16696. queue. This effectively gives X messages a higher priority then
  16697. timer messages. Timers still need love though
  16698. 2004-09-07 14:01 jackson
  16699. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  16700. this for us and the handle is no longer valid.
  16701. 2004-09-07 13:59 jackson
  16702. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  16703. loop that manages to not crash. TODO: Add poll and cleanup timers
  16704. 2004-09-07 11:12 jordi
  16705. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  16706. 2004-09-07 03:40 jordi
  16707. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  16708. fixes, methods, multiple links
  16709. 2004-09-06 06:55 jordi
  16710. * Control.cs: Caches ClientRectangle rectangle value
  16711. 2004-09-05 02:03 jordi
  16712. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  16713. certain situations
  16714. 2004-09-04 11:10 jordi
  16715. * Label.cs: Refresh when font changed
  16716. 2004-09-02 16:24 pbartok
  16717. * Control.cs:
  16718. - Added sanity check to creation of double buffer bitmap
  16719. 2004-09-02 16:24 pbartok
  16720. * ButtonBase.cs:
  16721. - Fixed selection of text color
  16722. - Fixed handling of resize event; now properly recreates double
  16723. buffering bitmap
  16724. - Added missing assignment of TextAlignment
  16725. - Added proper default for TextAlignment
  16726. 2004-09-02 14:26 pbartok
  16727. * RadioButton.cs:
  16728. - Added missing RadioButton.RadioButtonAccessibleObject class
  16729. 2004-09-02 14:26 pbartok
  16730. * Control.cs:
  16731. - Added missing Control.ControlAccessibleObject class
  16732. - Started to implement Select()ion mechanisms, still very incomplete
  16733. 2004-09-02 14:25 pbartok
  16734. * AccessibleObject.cs:
  16735. - Added missing methods
  16736. 2004-09-02 14:23 pbartok
  16737. * AccessibleNavigation.cs, AccessibleSelection.cs:
  16738. - Initial check-in
  16739. 2004-09-02 10:32 jordi
  16740. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  16741. pool for pens, brushes, and hatchbruses
  16742. 2004-09-01 15:30 jackson
  16743. * StatusBar.cs: Fix typo
  16744. 2004-09-01 14:44 pbartok
  16745. * RadioButton.cs:
  16746. - Fixed state
  16747. 2004-09-01 14:39 pbartok
  16748. * Button.cs, RadioButton.cs:
  16749. - Functional initial check-in
  16750. 2004-09-01 14:01 pbartok
  16751. * CheckBox.cs:
  16752. - Added missing default
  16753. - Added missing region mark
  16754. 2004-09-01 09:10 jordi
  16755. * Label.cs: fixes method signatures, new methods, events, fixes
  16756. autosize
  16757. 2004-09-01 07:19 jordi
  16758. * Control.cs: Init string variables with an empty object
  16759. 2004-09-01 04:20 jordi
  16760. * Control.cs: fires OnFontChanged event
  16761. 2004-08-31 20:07 pbartok
  16762. * ButtonBase.cs:
  16763. - Enabled display of strings
  16764. 2004-08-31 20:05 pbartok
  16765. * Form.cs:
  16766. - Added (partial) implementation of DialogResult; rest needs to be
  16767. implemented when the modal loop code is done
  16768. 2004-08-31 19:55 pbartok
  16769. * CheckBox.cs:
  16770. - Fixed to match the removal of the needs_redraw concept
  16771. 2004-08-31 19:55 pbartok
  16772. * ButtonBase.cs:
  16773. - Removed the rather odd split between 'needs redraw' and redrawing
  16774. - Now handles the events that require regeneration (ambient
  16775. properties and size)
  16776. 2004-08-31 19:41 pbartok
  16777. * Control.cs:
  16778. - Added firing of BackColorChanged event
  16779. - Added TopLevelControl property
  16780. - Fixed handling of WM_ERASEBKGRND message
  16781. 2004-08-31 12:49 pbartok
  16782. * ButtonBase.cs:
  16783. - Removed debug
  16784. - Minor fixes
  16785. 2004-08-31 12:48 pbartok
  16786. * CheckBox.cs:
  16787. - Finished (famous last words)
  16788. 2004-08-31 04:35 jordi
  16789. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  16790. scrolling bugs, adds new methods
  16791. 2004-08-30 14:42 pbartok
  16792. * CheckBox.cs:
  16793. - Implemented CheckBox drawing code
  16794. 2004-08-30 14:42 pbartok
  16795. * ButtonBase.cs:
  16796. - Made Redraw() and CheckRedraw() virtual
  16797. - Improved mouse up/down/move logic to properly track buttons
  16798. 2004-08-30 09:44 pbartok
  16799. * CheckBox.cs:
  16800. - Updated to fix broken build. Not complete yet.
  16801. 2004-08-30 09:28 pbartok
  16802. * CheckState.cs:
  16803. - Initial checkin
  16804. 2004-08-30 09:17 pbartok
  16805. * Appearance.cs:
  16806. - Initial check-in
  16807. 2004-08-27 16:12 ravindra
  16808. * ToolBarButton.cs: Added TypeConverter attribute.
  16809. 2004-08-27 16:07 ravindra
  16810. * ImageIndexConverter.cs: Implemented.
  16811. 2004-08-27 14:17 pbartok
  16812. * Control.cs:
  16813. - Removed unneeded stack vars
  16814. - First attempt to fix sizing issues when layout is suspended
  16815. 2004-08-25 15:35 jordi
  16816. * ScrollBar.cs: more fixes to scrollbar
  16817. 2004-08-25 14:04 ravindra
  16818. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  16819. Added the missing divider code and grip for ToolBar Control.
  16820. 2004-08-25 13:20 pbartok
  16821. * Control.cs:
  16822. - Control now properly passes the ambient background color to child
  16823. controls
  16824. 2004-08-25 13:20 jordi
  16825. * ScrollBar.cs: small bug fix regarding bar position
  16826. 2004-08-25 12:33 pbartok
  16827. * Timer.cs:
  16828. - Now only calls SetTimer or KillTimer if the enabled state has
  16829. changed
  16830. 2004-08-25 12:33 pbartok
  16831. * XplatUIWin32.cs:
  16832. - Fixed timer handling, now seems to work
  16833. - Improved error message for window creation
  16834. 2004-08-25 12:32 pbartok
  16835. * Control.cs:
  16836. - Fixed generation of MouseUp message
  16837. 2004-08-25 12:29 jordi
  16838. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  16839. and fixes for progressbar
  16840. 2004-08-24 18:43 ravindra
  16841. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  16842. in ToolBar control.
  16843. 2004-08-24 17:15 pbartok
  16844. * Panel.cs:
  16845. - Added #region
  16846. - Added missing events
  16847. - Alphabetized
  16848. 2004-08-24 17:14 pbartok
  16849. * StatusBar.cs, PictureBox.cs:
  16850. - Now uses Control's CreateParams
  16851. 2004-08-24 16:36 pbartok
  16852. * XplatUIX11.cs:
  16853. - Fixed background color handling
  16854. - Fixed sending of enter/leave events on a grab
  16855. 2004-08-24 16:35 pbartok
  16856. * X11Structs.cs:
  16857. - Refined definitions for CrossingEvent
  16858. 2004-08-24 12:37 jordi
  16859. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  16860. formmating, methods signature, and adds missing events
  16861. 2004-08-24 12:24 jordi
  16862. * Control.cs: fire OnEnabledChanged event
  16863. 2004-08-24 11:17 pbartok
  16864. * XplatUIWin32.cs:
  16865. - Implemented SetTimer() and KillTimer()
  16866. 2004-08-24 11:16 pbartok
  16867. * XplatUIX11.cs:
  16868. - Now uses Remove instead of Add to kill the timer
  16869. 2004-08-24 10:16 jackson
  16870. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  16871. picture boxes in the theme now. Draw picture box borders and obey
  16872. sizing modes
  16873. 2004-08-24 05:49 jackson
  16874. * Timer.cs: Remove top secret debugging code
  16875. 2004-08-24 05:34 jackson
  16876. * PictureBox.cs: Temp hack to make picture boxes draw their full
  16877. image
  16878. 2004-08-24 05:29 jackson
  16879. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16880. XplatUIX11.cs: Move timers to the driver level. On X they are
  16881. queued by the driver and checked on idle.
  16882. 2004-08-24 01:07 jackson
  16883. * XplatUIX11.cs: Use a queue for async messages instead of passing
  16884. them as ClientMessages since that was totally broken. Also simply
  16885. check for events and return an idle message if none are found. This
  16886. gives us an idle handler, and prevents deadlocking when no messages
  16887. are in the queue.
  16888. 2004-08-23 18:19 ravindra
  16889. * XplatUIWin32.cs: Removed the unwanted destructor.
  16890. 2004-08-23 17:27 pbartok
  16891. * ButtonBase.cs:
  16892. - Finishing touches. Works now, just needs some optimizations.
  16893. 2004-08-23 16:53 jordi
  16894. * ScrollBar.cs: small fix
  16895. 2004-08-23 16:45 pbartok
  16896. * Application.cs:
  16897. - Removed debug output
  16898. - Simplifications
  16899. 2004-08-23 16:43 jordi
  16900. * ScrollBar.cs: [no log message]
  16901. 2004-08-23 16:10 pbartok
  16902. * Form.cs:
  16903. - Fixed handling of WM_CLOSE message
  16904. - Removed debug output
  16905. 2004-08-23 16:09 pbartok
  16906. * Application.cs:
  16907. - Added handling of Idle event
  16908. - Added handling of form closing
  16909. - Fixed reporting of MessageLoop property
  16910. - Removed some unneeded code, should provide a bit of a speedup
  16911. 2004-08-23 15:22 pbartok
  16912. * Control.cs:
  16913. - Added InitLayout() method
  16914. - Added code to properly perform layout when Anchor or Dock property
  16915. is changed
  16916. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  16917. LAMESPEC, tried to do it in a way that makes sense
  16918. 2004-08-23 14:10 jordi
  16919. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  16920. properties and methods
  16921. 2004-08-23 13:55 pbartok
  16922. * Control.cs:
  16923. - Properly fixed Jordi's last fix
  16924. - Now uses Cursor's Position property instead of calling XplatUI
  16925. directly
  16926. 2004-08-23 13:44 jordi
  16927. * PaintEventHandler.cs: Adding missing attribute
  16928. 2004-08-23 13:39 pbartok
  16929. * Cursor.cs:
  16930. - Implemented Position property
  16931. 2004-08-23 13:39 pbartok
  16932. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16933. - Added method to move mouse cursor
  16934. 2004-08-23 13:39 pbartok
  16935. * XplatUIX11.cs:
  16936. - Fixed setting of background color
  16937. - Added method to move mouse cursor
  16938. 2004-08-23 13:16 jordi
  16939. * Control.cs: avoids null exception
  16940. 2004-08-22 17:46 jackson
  16941. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  16942. PictureBox
  16943. 2004-08-22 17:40 jackson
  16944. * XplatUIX11.cs: Add some missing locks
  16945. 2004-08-22 15:10 pbartok
  16946. * Control.cs, Form.cs:
  16947. - Removed OverlappedWindow style from Control, instead it's default
  16948. now is child
  16949. - Made form windows OverlappedWindow by default
  16950. 2004-08-22 13:34 jackson
  16951. * ScrollBar.cs: Update the position through the Value property so
  16952. the OnValueChanged event is raised.
  16953. 2004-08-22 12:04 pbartok
  16954. * SWF.csproj:
  16955. - Added Cursor.cs and UserControl.cs
  16956. 2004-08-22 12:03 pbartok
  16957. * Cursor.cs:
  16958. - Started implementation, not usable yet
  16959. 2004-08-22 12:00 pbartok
  16960. * UserControl.cs:
  16961. - Implemented UserControl (complete)
  16962. 2004-08-21 19:20 ravindra
  16963. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  16964. 2004-08-21 18:49 ravindra
  16965. * ToolBar.cs: Probably this completes the missing attributes in
  16966. toolbar control.
  16967. 2004-08-21 18:03 ravindra
  16968. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  16969. Fixed toolbar control signatures.
  16970. 2004-08-21 16:32 pbartok
  16971. * LinkLabel.cs:
  16972. - Signature Fixes
  16973. 2004-08-21 16:30 pbartok
  16974. * Label.cs:
  16975. - Signature fixes
  16976. 2004-08-21 16:19 pbartok
  16977. * Control.cs, Label.cs:
  16978. - Signature fixes
  16979. 2004-08-21 15:57 pbartok
  16980. * ButtonBase.cs:
  16981. - Added loads of debug output for development
  16982. - Fixed typo in method name
  16983. 2004-08-21 15:52 pbartok
  16984. * ToolBarButtonClickEventArgs.cs:
  16985. - Added missing base class
  16986. 2004-08-21 14:53 pbartok
  16987. * Control.cs:
  16988. - Updated to match new GrabWindow signature
  16989. 2004-08-21 14:51 pbartok
  16990. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16991. - Added method to get default display size
  16992. 2004-08-21 14:23 pbartok
  16993. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16994. - Added method to query current grab state
  16995. - Added argument to allow confining a grab to a window
  16996. 2004-08-21 14:22 pbartok
  16997. * Keys.cs:
  16998. - Added [Flags] attribute so that modifiers can be used in bitwise
  16999. ops
  17000. 2004-08-21 14:21 pbartok
  17001. * TrackBar.cs, ScrollBar.cs:
  17002. - Replaced direct XplatUI calls with their Control counterpart
  17003. 2004-08-21 13:32 pbartok
  17004. * Control.cs:
  17005. - Implemented Created property
  17006. 2004-08-21 13:28 pbartok
  17007. * Control.cs:
  17008. - Implemented ContainsFocus
  17009. 2004-08-21 13:26 pbartok
  17010. * Control.cs:
  17011. - Implemented CausesValidation
  17012. 2004-08-21 13:21 pbartok
  17013. * Control.cs:
  17014. - Implemented CanFocus
  17015. - Implemented CanSelect
  17016. - Implemented Capture
  17017. 2004-08-21 12:35 pbartok
  17018. * XplatUIWin32.cs:
  17019. - Fixed bug with Async message handling
  17020. - Implemented getting the ModifierKeys
  17021. 2004-08-21 12:32 jackson
  17022. * AsyncMethodResult.cs: Make sure we have the mutex before we
  17023. release it. Fixes BeginInvoke on windows
  17024. 2004-08-21 11:31 pbartok
  17025. * XplatUIWin32.cs, XplatUIX11.cs:
  17026. - Drivers now return proper mouse state
  17027. 2004-08-21 10:54 jackson
  17028. * Control.cs: Implement EndInvoke
  17029. 2004-08-21 10:48 jackson
  17030. * Timer.cs: Remove unneeded finalizer
  17031. 2004-08-20 19:52 ravindra
  17032. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  17033. in mouse event handling in the ToolBar control.
  17034. 2004-08-20 19:50 ravindra
  17035. * ImageList.cs: Changed draw method to use the arguments passed in
  17036. to draw the image.
  17037. 2004-08-20 18:58 pbartok
  17038. * XplatUIStructs.cs:
  17039. - Added private message for async communication
  17040. 2004-08-20 17:38 ravindra
  17041. * Control.cs: Made RightToLeft property virtual and removed a
  17042. Console.WriteLine.
  17043. 2004-08-20 14:39 jordi
  17044. * ThemeGtk.cs: use style_attach
  17045. 2004-08-20 14:39 pbartok
  17046. * XplatUIWin32.cs:
  17047. - Added jackson's Async code from X11 to Win32
  17048. 2004-08-20 14:09 pbartok
  17049. * SWF.csproj:
  17050. - Added all new files
  17051. 2004-08-20 14:09 pbartok
  17052. * Control.cs:
  17053. - Added call to set window background color
  17054. 2004-08-20 14:03 pbartok
  17055. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  17056. - Added method for setting the window background
  17057. 2004-08-20 14:02 pbartok
  17058. * XplatUIWin32.cs:
  17059. - Added method for setting the background color
  17060. - Added handling for erasing the window background
  17061. 2004-08-20 13:45 jordi
  17062. * TrackBar.cs: fixes timer, new properties and methods
  17063. 2004-08-20 13:34 jackson
  17064. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  17065. correct thread
  17066. 2004-08-20 13:22 jackson
  17067. * Timer.cs: Timer Tick events are now handed through Controls Async
  17068. mechanism so the callbacks are executed in the same thread as X
  17069. 2004-08-20 13:19 jackson
  17070. * XplatUIDriver.cs: Expose functionality to send async messages
  17071. through the driver
  17072. 2004-08-20 13:18 jackson
  17073. * Control.cs: Implement Begininvoke
  17074. 2004-08-20 13:14 jackson
  17075. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  17076. messages through the driver
  17077. 2004-08-20 13:12 jackson
  17078. * XplatUIX11.cs: Lock before all X operations. Also added Async
  17079. method functionality through XSendEvent
  17080. 2004-08-20 13:11 jackson
  17081. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  17082. This will screw up on 64 bit systems)
  17083. 2004-08-20 13:10 jackson
  17084. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  17085. Async messages through X/Win32
  17086. 2004-08-19 19:39 pbartok
  17087. * XplatUIX11.cs:
  17088. - Updated code to match new HandleData.DeviceContext type
  17089. 2004-08-19 19:38 pbartok
  17090. * HandleData.cs:
  17091. - Made DeviceContext a generic object to allow usage from various
  17092. drivers
  17093. - Added support for queueing Windows messages
  17094. 2004-08-19 19:37 pbartok
  17095. * XplatUIWin32.cs:
  17096. - Added generation of MouseEnter, MouseLeave and MouseHover events
  17097. - Added cleanup on EndPaint
  17098. 2004-08-19 19:17 pbartok
  17099. * Control.cs:
  17100. - Added handling of WM_MOUSEHOVER
  17101. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  17102. code
  17103. 2004-08-19 18:55 jordi
  17104. * ThemeGtk.cs: fixes button order
  17105. 2004-08-19 18:12 jordi
  17106. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  17107. 2004-08-19 17:09 pbartok
  17108. * Control.cs:
  17109. - Added Right property
  17110. - Added RightToLeft property
  17111. 2004-08-19 16:27 jordi
  17112. * ThemeGtk.cs: experimental GTK theme support
  17113. 2004-08-19 16:26 jordi
  17114. * ITheme.cs, Theme.cs: move themes from an interface to a class
  17115. 2004-08-19 16:25 jordi
  17116. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  17117. theme enhancaments
  17118. 2004-08-19 16:04 pbartok
  17119. * XplatUIX11.cs:
  17120. - Added colormap basics
  17121. - Added a way to re-initialize with a different display handle
  17122. - Fixed setting of the window background color
  17123. - Added various X11 imports related to colors and colormaps
  17124. 2004-08-19 15:51 pbartok
  17125. * X11Structs.cs:
  17126. - Removed packing hints (Paolo suggested this a while back)
  17127. - fixed colormap type
  17128. - Added default Atom types
  17129. - Added Screen and color structs and enums
  17130. 2004-08-19 15:39 pbartok
  17131. * ImageList.cs:
  17132. - Added missing Draw() method
  17133. - Added missing RecreateHandle event
  17134. 2004-08-19 15:30 pbartok
  17135. * Form.cs:
  17136. - Added handling of WM_CLOSE
  17137. 2004-08-18 13:16 jordi
  17138. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  17139. a table
  17140. 2004-08-18 09:56 jordi
  17141. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  17142. 2004-08-17 15:31 ravindra
  17143. * SWF.csproj: Updated project.
  17144. 2004-08-17 15:25 pbartok
  17145. * Control.cs:
  17146. - Drawing improvement; don't call UpdateBounds if we are not visible
  17147. (or have been minimized)
  17148. 2004-08-17 15:24 pbartok
  17149. * XplatUIWin32.cs:
  17150. - Finished IsVisible
  17151. - Added Win32GetWindowPlacement
  17152. 2004-08-17 15:08 jackson
  17153. * Panel.cs: Initial checkin of the Panel
  17154. 2004-08-17 14:25 pbartok
  17155. * Control.cs:
  17156. - Fixed broken handling of default window sizes
  17157. 2004-08-17 13:29 jackson
  17158. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  17159. has a large startup time.
  17160. 2004-08-17 10:25 jackson
  17161. * HandleData.cs: union areas properly
  17162. 2004-08-17 10:12 jackson
  17163. * HandleData.cs: union areas properly
  17164. 2004-08-16 20:00 ravindra
  17165. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  17166. 2004-08-16 18:48 ravindra
  17167. * ToolBar.cs: Added attributes.
  17168. 2004-08-16 17:17 ravindra
  17169. * SWF.csproj: Updated project.
  17170. 2004-08-16 17:16 jackson
  17171. * XplatUIX11.cs: Check for more expose events before sending a
  17172. WM_PAINT so they can all be grouped together. This makes dragging a
  17173. window across another window redraw in a sane way.
  17174. 2004-08-16 15:47 pbartok
  17175. * Control.cs:
  17176. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  17177. support OnMouseEnter/Leave()
  17178. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  17179. exposure handling
  17180. 2004-08-16 15:46 pbartok
  17181. * XplatUIStructs.cs, XplatUIX11.cs:
  17182. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  17183. OnMouseEnter/Leave()
  17184. 2004-08-16 15:34 jackson
  17185. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  17186. sure messages get the message field set to WM_NULL if they are not
  17187. handled.
  17188. 2004-08-16 15:24 jackson
  17189. * HandleData.cs: HandleData is used for storing message information
  17190. for window handles
  17191. 2004-08-15 17:23 ravindra
  17192. * ColorDepth.cs: Added attribute.
  17193. 2004-08-15 17:23 ravindra
  17194. * SWF.csproj: Updated project for ToolBar Control.
  17195. 2004-08-15 17:20 ravindra
  17196. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  17197. control and also dos2unix format.
  17198. 2004-08-15 17:13 ravindra
  17199. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  17200. ToolBarButtonClickEventArgs.cs,
  17201. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  17202. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  17203. 2004-08-15 15:31 pbartok
  17204. * ButtonBase.cs:
  17205. - First (mostly) working version
  17206. 2004-08-13 16:15 pbartok
  17207. * Control.cs:
  17208. - Fixed Anchor default
  17209. 2004-08-13 15:43 pbartok
  17210. * Control.cs:
  17211. - Changed GetCursorPos signature
  17212. 2004-08-13 15:42 pbartok
  17213. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17214. - Changed signature for GetCursorPos
  17215. 2004-08-13 15:25 pbartok
  17216. * XplatUIX11.cs:
  17217. - Cleanup
  17218. - Fixed resizing/exposure handling
  17219. 2004-08-13 15:22 jordi
  17220. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  17221. with tickposition
  17222. 2004-08-13 14:55 jordi
  17223. * TrackBar.cs: change from wndproc to events
  17224. 2004-08-13 13:00 jordi
  17225. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17226. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  17227. 2004-08-13 12:53 pbartok
  17228. * XplatUIWin32.cs:
  17229. - Changed GetWindowPos to also provide client area size
  17230. - Fixed broken prototypes for several win32 functions
  17231. 2004-08-13 12:53 pbartok
  17232. * XplatUI.cs, XplatUIDriver.cs:
  17233. - Changed GetWindowPos to also provide client area size
  17234. 2004-08-13 12:52 pbartok
  17235. * XplatUIX11.cs:
  17236. - Added generation of WM_POSCHANGED
  17237. - Changed GetWindowPos to also provide client area size
  17238. 2004-08-13 12:52 pbartok
  17239. * Control.cs:
  17240. - Added Dispose() and destructor
  17241. - Fixed resizing and bounds calculation
  17242. - Fixed Layout
  17243. - Added memory savings for invisible windows
  17244. 2004-08-13 12:46 jordi
  17245. * TrackBar.cs: adds timer and grap window
  17246. 2004-08-13 10:25 jackson
  17247. * Timer.cs: SWF Timer
  17248. 2004-08-12 16:59 pbartok
  17249. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17250. - Implemented method to get current mouse position
  17251. 2004-08-12 14:29 jordi
  17252. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  17253. enhancement, fix mouse problems, highli thumb, etc
  17254. 2004-08-12 13:31 pbartok
  17255. * Control.cs:
  17256. - Fixed Anchoring bugs
  17257. 2004-08-12 13:01 jackson
  17258. * StatusBar.cs: Don't forget things
  17259. 2004-08-12 12:54 jackson
  17260. * ThemeWin32Classic.cs: Handle owner draw status bars
  17261. 2004-08-12 12:54 jackson
  17262. * StatusBar.cs: Implement missing properties, events, and methods.
  17263. Handle mouse clicking
  17264. 2004-08-12 10:19 jackson
  17265. * StatusBarPanelClickEventArgs.cs,
  17266. StatusBarPanelClickEventHandler.cs: Classes for handling status
  17267. bar panel click events
  17268. 2004-08-12 10:10 jackson
  17269. * Control.cs: Add missing properties
  17270. 2004-08-12 09:46 pbartok
  17271. * BindingsManagerBase.cs:
  17272. - Name changed to BindingManagerBase.cs
  17273. 2004-08-12 09:25 jordi
  17274. * ScrollableControl.cs: calls ctrlbase instead of exeception
  17275. 2004-08-11 16:28 pbartok
  17276. * InputLanguageChangingEventArgs.cs:
  17277. - Never check in before compiling. Fixes the last check-in
  17278. 2004-08-11 16:26 pbartok
  17279. * InputLanguageChangingEventArgs.cs:
  17280. - More signature fixes
  17281. 2004-08-11 16:20 pbartok
  17282. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  17283. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  17284. ImageListStreamer.cs, InputLanguage.cs,
  17285. InputLanguageChangedEventArgs.cs,
  17286. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  17287. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  17288. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  17289. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17290. - Signature fixes
  17291. 2004-08-11 16:16 pbartok
  17292. * Application.cs:
  17293. - Fixed Signature
  17294. - Added .Net 1.1 method
  17295. 2004-08-11 15:25 pbartok
  17296. * SWF.csproj:
  17297. - Fixed BindingManagerBase.cs filename
  17298. 2004-08-11 15:22 pbartok
  17299. * BindingManagerBase.cs:
  17300. - Was checked in with wrong filename
  17301. 2004-08-11 14:50 pbartok
  17302. * SWF.csproj:
  17303. - Updated
  17304. 2004-08-11 13:41 jordi
  17305. * XplatUIWin32.cs: Fixes ClientRect
  17306. 2004-08-11 13:19 pbartok
  17307. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17308. XplatUIX11.cs:
  17309. - We had SetWindowPos and MoveWindow to set window positions and
  17310. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  17311. keep SetWindowPos as matching counterpart
  17312. - Added some X11 sanity checking
  17313. 2004-08-11 12:59 pbartok
  17314. * Control.cs:
  17315. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  17316. (It seems that SetBounds is just a front for SetBoundsCore and
  17317. SetBoundsCore updates the underlying window system and
  17318. UpdateBounds is responsible for updating the variables associated
  17319. with the Control and sending the events)
  17320. - Major cleanup of Size handling; we now have two sizes, client_size
  17321. and bounds. Bounds defines the window with decorations, client_size
  17322. without them.
  17323. 2004-08-11 12:55 pbartok
  17324. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17325. - Added method to calculate difference between decorated window and
  17326. raw client area
  17327. 2004-08-11 12:54 pbartok
  17328. * Label.cs:
  17329. - Forcing redraw on resize
  17330. 2004-08-11 11:43 pbartok
  17331. * ImageList.cs:
  17332. - Removed disposing of the actual images when the list is disposed
  17333. 2004-08-11 09:13 pbartok
  17334. * Control.cs:
  17335. - Now properly reparents windows
  17336. 2004-08-11 08:37 pbartok
  17337. * Control.cs:
  17338. - Duh!
  17339. 2004-08-11 07:47 pbartok
  17340. * Control.cs:
  17341. - Rewrote the collection stuff. Might not be as fast now, not
  17342. keeping the number of children around and accessible directly, but
  17343. it's more straightforward
  17344. 2004-08-11 07:44 pbartok
  17345. * AccessibleObject.cs:
  17346. - Fixed to match ControlCollection rewrite
  17347. 2004-08-11 07:43 pbartok
  17348. * ImageList.cs:
  17349. - Added missing creation of the collection list
  17350. 2004-08-10 20:08 jackson
  17351. * StatusBar.cs: Get the paint message from WndProc
  17352. 2004-08-10 19:31 jackson
  17353. * ThemeWin32Classic.cs: Create Brushes as little as possible
  17354. 2004-08-10 19:20 jackson
  17355. * UICues.cs: Add Flags attribute
  17356. 2004-08-10 19:19 jackson
  17357. * StatusBarPanel.cs: Signature cleanup
  17358. 2004-08-10 19:10 jackson
  17359. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  17360. Initial implementation of status bar item drawing
  17361. 2004-08-10 17:27 jordi
  17362. * TrackBar.cs: add missing methods, properties, and restructure to
  17363. hide extra ones
  17364. 2004-08-10 16:24 jackson
  17365. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  17366. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  17367. attribute
  17368. 2004-08-10 13:21 jordi
  17369. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  17370. enhancements and standarize on win colors defaults
  17371. 2004-08-10 12:52 jackson
  17372. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  17373. ThemeWin32Classic.cs: Implement DrawItem functionality
  17374. 2004-08-10 12:47 jordi
  17375. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  17376. 2004-08-10 12:32 jordi
  17377. * Control.cs: throw ontextchange event
  17378. 2004-08-10 11:43 pbartok
  17379. * Control.cs:
  17380. - Added more to the still unfinished Dock/Anchor layout code
  17381. 2004-08-10 11:39 pbartok
  17382. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  17383. - Added GetWindowPos method
  17384. 2004-08-10 11:36 pbartok
  17385. * XplatUIWin32.cs:
  17386. - Implemented several methods
  17387. 2004-08-10 09:47 jackson
  17388. * TrackBar.cs: Allow control to handle buffering
  17389. 2004-08-10 09:41 jackson
  17390. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  17391. 2004-08-10 09:24 jackson
  17392. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  17393. 2004-08-10 09:09 jackson
  17394. * StatusBar.cs: Let Control handle all the buffering.
  17395. 2004-08-10 09:08 jackson
  17396. * Control.cs: Control will now handle the buffering code, so each
  17397. control does not have to implement this.
  17398. 2004-08-10 08:34 jackson
  17399. * XplatUIDriver.cs: Use default colors from the theme
  17400. 2004-08-09 17:12 pbartok
  17401. * ImageList.cs:
  17402. - Fixed several bugs Ravindra pointed out
  17403. 2004-08-09 16:11 pbartok
  17404. * Control.cs:
  17405. - Added incomplete dock layout code
  17406. - Added support for mouse wheel
  17407. 2004-08-09 16:09 pbartok
  17408. * XplatUIX11.cs:
  17409. - Added handling for middle and right mousebutton
  17410. - Added handling for mouse wheel
  17411. - Added handling for key state and mouse state and position
  17412. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  17413. messages
  17414. 2004-08-09 15:40 jackson
  17415. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  17416. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  17417. checkin
  17418. 2004-08-09 15:37 jackson
  17419. * StatusBar.cs: Initial implementation of StatusBar
  17420. 2004-08-09 15:36 jackson
  17421. * ITheme.cs: Add support for drawing status bar and getting status
  17422. bar item sizes
  17423. 2004-08-09 15:35 pbartok
  17424. * MouseButtons.cs:
  17425. - Fixed values
  17426. 2004-08-09 15:34 jackson
  17427. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  17428. status bar item sizes
  17429. 2004-08-09 15:21 jackson
  17430. * ThemeWin32Classic.cs: Use known colors for default control
  17431. colours
  17432. 2004-08-09 15:12 jackson
  17433. * ThemeWin32Classic.cs: Make the default font static, it is static
  17434. in control so this doesn't change functionality and creating fonts
  17435. is sloooooow.
  17436. 2004-08-09 14:56 pbartok
  17437. * X11Structs.cs:
  17438. - Added GrabMode enum
  17439. 2004-08-09 14:55 pbartok
  17440. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17441. - Removed Run method, was only required for initial development
  17442. 2004-08-09 14:51 pbartok
  17443. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17444. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  17445. capture
  17446. 2004-08-09 13:48 pbartok
  17447. * XplatUIX11.cs:
  17448. - Fixed default sizing for child windows
  17449. 2004-08-09 12:56 pbartok
  17450. * XplatUIX11.cs:
  17451. - Added generation of WM_DESTROY message
  17452. - Added handling of window manager induced shutdown
  17453. 2004-08-09 11:31 jackson
  17454. * ThemeWin32Classic.cs: New names for control properties
  17455. 2004-08-09 11:25 jackson
  17456. * Control.cs: Use new color names
  17457. 2004-08-09 11:02 jackson
  17458. * XplatUI.cs: Get default window properties from the theme
  17459. 2004-08-09 11:01 jackson
  17460. * ITheme.cs: The theme engine now controls default window
  17461. properties
  17462. 2004-08-09 11:00 jackson
  17463. * ThemeWin32Classic.cs: Add default window color properties
  17464. 2004-08-09 10:17 jackson
  17465. * ThemeWin32Classic.cs: Use correct default back color
  17466. 2004-08-09 10:05 jackson
  17467. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  17468. the theme now.
  17469. 2004-08-09 09:56 jackson
  17470. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  17471. 2004-08-09 09:54 jackson
  17472. * Control.cs: Get default properties from the theme.
  17473. 2004-08-09 09:53 jackson
  17474. * ITheme.cs: Themes now handle default control properties
  17475. 2004-08-09 09:53 jackson
  17476. * ThemeWin32Classic.cs: Themes now handle default control
  17477. properties so coloring will be consistent
  17478. 2004-08-08 16:54 jordi
  17479. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  17480. 2004-08-08 15:08 jordi
  17481. * XplatUIX11.cs: fixes keyboard crash
  17482. 2004-08-08 13:47 jordi
  17483. * Label.cs: add cvs header info
  17484. 2004-08-08 12:09 jackson
  17485. * ThemeWin32Classic.cs: Add pen_buttonface
  17486. 2004-08-08 11:52 jordi
  17487. * Label.cs, LinkLabel.cs: [no log message]
  17488. 2004-08-08 11:34 jordi
  17489. * ThemeWin32Classic.cs: Use Windows Standard Colours
  17490. 2004-08-07 17:32 jordi
  17491. * TrackBar.cs: throw exceptions of invalid enums values
  17492. 2004-08-07 17:31 jordi
  17493. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  17494. draw method name
  17495. 2004-08-07 16:56 jackson
  17496. * HorizontalAlignment.cs: Initial checkin
  17497. 2004-08-07 13:16 jordi
  17498. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  17499. methods
  17500. 2004-08-07 13:05 jordi
  17501. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  17502. GetSysColor defines
  17503. 2004-08-06 18:01 pbartok
  17504. * ThemeWin32Classic.cs:
  17505. - Fixed some rounding issues with float/int
  17506. 2004-08-06 18:00 jackson
  17507. * DockStyle.cs, AnchorStyles.cs:
  17508. Add flags and serializable attributes.
  17509. 2004-08-06 17:46 pbartok
  17510. * XplatUIX11.cs:
  17511. - Implemented GetParent
  17512. 2004-08-06 17:18 pbartok
  17513. * TrackBar.cs:
  17514. - Fixed some rounding issues with float/int
  17515. 2004-08-06 17:17 pbartok
  17516. * X11Structs.cs, XplatUIX11.cs:
  17517. - Fixed Refresh and Invalidate
  17518. 2004-08-06 15:30 pbartok
  17519. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  17520. - Fixed recursive loop when resizing
  17521. - Improved/fixed redrawing on expose messages
  17522. 2004-08-06 09:53 jordi
  17523. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  17524. keyboard navigation
  17525. 2004-08-06 08:02 pbartok
  17526. * X11Structs.cs, XplatUIX11.cs:
  17527. - Fixed reparenting
  17528. - Fixed window border creation
  17529. 2004-08-05 15:38 pbartok
  17530. * XplatUIX11.cs:
  17531. - Attempted fix for reparenting problems
  17532. 2004-08-04 15:14 pbartok
  17533. * Control.cs:
  17534. - Fixed Invalidation bug (calculated wrong client area)
  17535. - Added ClientSize setter
  17536. 2004-08-04 15:13 pbartok
  17537. * Form.cs:
  17538. - Added AutoScale properties
  17539. 2004-08-04 15:13 pbartok
  17540. * SWF.csproj:
  17541. - Added latest files
  17542. 2004-08-04 14:11 pbartok
  17543. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17544. XplatUIX11.cs:
  17545. - Added Invalidate handling
  17546. 2004-08-03 17:09 jordi
  17547. * XplatUIDriver.cs: fixes spelling mistake
  17548. 2004-07-27 09:53 jordi
  17549. * TrackBar.cs: fixes trackbar events, def classname, methods
  17550. signature
  17551. 2004-07-27 09:29 jordi
  17552. * ScrollBar.cs: fixes scrollbar events
  17553. 2004-07-27 04:38 jordi
  17554. * Control.cs: changes to be able to run winforms samples
  17555. 2004-07-26 11:42 jordi
  17556. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  17557. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  17558. 2004-07-26 05:41 jordi
  17559. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  17560. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  17561. implementation
  17562. 2004-07-22 09:22 jordi
  17563. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  17564. check link overlapping, implement events, and fixes
  17565. 2004-07-21 10:28 jordi
  17566. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  17567. 2004-07-21 10:19 jordi
  17568. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  17569. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  17570. LinkLabelLinkClickedEventArgs.cs,
  17571. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  17572. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  17573. implementation
  17574. 2004-07-19 13:09 jordi
  17575. * Control.cs, Label.cs: label control re-written: added missing
  17576. functionlity, events, and properties
  17577. 2004-07-19 10:49 jordi
  17578. * Control.cs: fixes SetBounds logic
  17579. 2004-07-19 01:29 jordi
  17580. * Control.cs: Call RefreshWindow only if the window has created
  17581. 2004-07-15 14:05 pbartok
  17582. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  17583. - Implemented ImageList and ImageList.ImageCollection classes
  17584. - Added ColorDepth enumeration
  17585. - Updated SWF VS.Net project
  17586. 2004-07-15 11:06 jordi
  17587. * XplatUIStructs.cs: added MsgButons enum
  17588. 2004-07-15 11:03 jordi
  17589. * Control.cs: added basic mouse handeling events
  17590. 2004-07-15 03:38 jordi
  17591. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  17592. Vertical TrackBar control implementation
  17593. 2004-07-13 09:33 jordi
  17594. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  17595. 2004-07-13 09:31 jordi
  17596. * Control.cs, Form.cs: commit: new properties and fixes form size
  17597. problems
  17598. 2004-07-09 14:13 miguel
  17599. * ProgressBar.cs: Spelling
  17600. 2004-07-09 11:25 pbartok
  17601. * ProgressBar.cs:
  17602. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  17603. faster
  17604. 2004-07-09 11:17 miguel
  17605. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  17606. * ProgressBar.cs: Fixed spelling for `block'
  17607. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  17608. style guidelines.
  17609. Avoid using the += on rect.X, that exposed a bug in the compiler.
  17610. 2004-07-08 23:21 pbartok
  17611. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  17612. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  17613. BaseCollection.cs, Binding.cs, BindingContext.cs,
  17614. BindingMemberInfo.cs, BindingsCollection.cs,
  17615. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  17616. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  17617. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  17618. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  17619. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  17620. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  17621. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  17622. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  17623. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  17624. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  17625. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  17626. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  17627. InputLanguageChangedEventArgs.cs,
  17628. InputLanguageChangedEventHandler.cs,
  17629. InputLanguageChangingEventArgs.cs,
  17630. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  17631. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  17632. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  17633. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  17634. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  17635. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  17636. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  17637. QueryAccessibilityHelpEventArgs.cs,
  17638. QueryAccessibilityHelpEventHandler.cs,
  17639. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  17640. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  17641. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  17642. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  17643. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  17644. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  17645. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  17646. XplatUIX11.cs, lang.cs:
  17647. - Initial check-in