ChangeLog 771 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158
  1. 2007-01-15 Everaldo Canuto <[email protected]>
  2. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  3. Fixes #80006.
  4. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  5. * ListViewItem.cs:
  6. * ThemeWin32Classic.cs: Don't draw the item text outside
  7. item bounds in Details view, as well as use trimming.
  8. Fixes bug #80376.
  9. 2007-01-15 Jonathan Pobst <[email protected]>
  10. * Form.cs: Implement Form.ShowIcon.
  11. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  12. null, which when combined with the DlgModalFrame window style removes
  13. the icon from the title bar.
  14. 2007-01-15 Jonathan Pobst <[email protected]>
  15. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  16. 2007-01-15 Everaldo Canuto <[email protected]>
  17. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  18. menu when mdi child windows theres a menu, uses insert to get icon
  19. at first position. Partially fix #80006.
  20. 2007-01-15 Jonathan Pobst <[email protected]>
  21. * Clipboard.cs: Implement 2.0 methods.
  22. 2007-01-15 Everaldo Canuto <[email protected]>
  23. * Menu.cs: Implement Insert method of MenuItemCollection class
  24. to fix MenuMerge.
  25. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  26. * ListView.cs: Implement 2.0 FindItemWithText method.
  27. 2007-01-11 Everaldo Canuto <[email protected]>
  28. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  29. to calculate menu bar size. Fixes #80290.
  30. 2007-01-11 Everaldo Canuto <[email protected]>
  31. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  32. 2007-01-11 Chris Toshok <[email protected]>
  33. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  34. initial form.
  35. 2007-01-11 Chris Toshok <[email protected]>
  36. * LinkLabel.cs: make sure to call base.Select in our Select method
  37. if it turns out we're going to be selected (i.e. if we have a link
  38. that is going to receive focus). That way our container's
  39. ActiveControl is updated properly.
  40. 2007-01-11 Chris Toshok <[email protected]>
  41. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  42. they have 1 or more links. this fixes the crash gert reported.
  43. 2007-01-11 Andreia Gaita <[email protected]>
  44. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  45. anymore.
  46. * Control.cs (Controls.Add): Check if control to be added to the collection
  47. is a top level control, and throw an ArgumentException if it is.
  48. Remove ContainerSelectedFlag, not needed anymore.
  49. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  50. top most control doesn't activate the form. This fixes a problem in the
  51. MessageBox, where the default button wouldn't get focus because the form
  52. was activated before being Loaded - when the Owner is set, SetTopMost is
  53. called, and it would activate it.
  54. 2007-01-11 Jonathan Pobst <[email protected]>
  55. * Button.cs: When clicked and setting the parent form's DialogResult,
  56. use FindForm instead of Parent, since parent could be a container
  57. control and not the Form. Fixes bug #80495.
  58. 2007-01-10 Chris Toshok <[email protected]>
  59. * Form.cs: move the call to SendControlFocus into the same
  60. is_loaded check.
  61. 2007-01-10 Chris Toshok <[email protected]>
  62. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  63. It breaks in the face of the new ActiveControl stuff, and should
  64. be unnecessary.
  65. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  66. activecontrol's focus if it's not already set, after we set
  67. ActiveControl, but before we call OnActivated. Re-fixes #79667
  68. after the previous focus/active control fixes regressed it.
  69. * Control.cs: reindent some code.
  70. 2007-01-10 Chris Toshok <[email protected]>
  71. * Splitter.cs: clearing some outstanding changes from my tree.
  72. Replace all accesses (not writes) to the internal dock_style field
  73. with the Dock property.
  74. 2007-01-10 Chris Toshok <[email protected]>
  75. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  76. FireValidated virtual.
  77. * Form.cs: override and don't chain up calls to FireEnter and
  78. FireLeave.
  79. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  80. * ListView.cs: Add more text padding space when using
  81. auto resize for columns (the previous value didn't work fine).
  82. * ThemeWin32Classic.cs: Update text position inside columns,
  83. to match the appeareance of .Net.
  84. * ColumnHeader.cs: When using auto resize, only the Width should
  85. depend on the sub items, not the Height. Also, set width after
  86. auto resizing (the value of Width should never remain as -1 or -2).
  87. 2007-01-10 Chris Toshok <[email protected]>
  88. * Application.cs: fix compilation errors when debug is enabled.
  89. 2007-01-10 Chris Toshok <[email protected]>
  90. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  91. add some nice ascii art pictures and explanation of the process).
  92. (GetMostDeeplyNestedActiveControl): new utility function we need
  93. because our ActiveControl can refer to a child container with its
  94. own ActiveControl.
  95. * Form.cs (OnActivated): remove the call to SelectActiveControl
  96. from here, since you can override this method and not chain up,
  97. and winforms still sets the active control.
  98. (OnCreateControl): also remove the unnecessary SelectActiveControl
  99. call from here.
  100. (WndProc): it's actually called from the WM_ACTIVATE block, just
  101. before calling OnActivated.
  102. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  103. inside the else. the ActiveControl setter will end up setting
  104. focus on @control. This keeps us from setting it again (and
  105. generating an extra LostFocus/GotFocus pair).
  106. (Select (bool, bool)): reindent.
  107. 2007-01-10 Jonathan Pobst <[email protected]>
  108. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  109. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  110. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  111. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  112. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  113. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  114. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  115. ToolStripTextBox.cs: Another wave of corcompare work.
  116. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  117. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  118. the Width property.
  119. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  120. methods by callling Column.AutoResize method on columns.
  121. 2007-01-09 Jonathan Pobst <[email protected]>
  122. * Control.cs: Provide proper implementations of PreferredSize
  123. and GetPreferredSize (2.0).
  124. 2007-01-09 Jonathan Pobst <[email protected]>
  125. * Form.cs: Remove one character (!) to make my previous OnClosing
  126. stuff work for modal windows like MessageBox.
  127. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  128. * ListView.cs:
  129. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  130. ListView.Columns to get the last displayed column. Fixes #80452.
  131. 2007-01-09 Everaldo Canuto <[email protected]>
  132. * Label.cs, LinkLabel.cs: Source code identation fixes.
  133. 2007-01-08 Everaldo Canuto <[email protected]>
  134. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  135. we dont need to invalidate only borders because when we invalidate four
  136. border lines the invalidate's generates a complete redraw of button,
  137. because it now invalidate a complete rect some other redraws operations
  138. are fixed. Fixes #80196.
  139. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  140. Remove ToolBarInvalidateEntireButton as it is not used.
  141. 2007-01-08 Jonathan Pobst <[email protected]>
  142. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  143. called for 2.0 profile.
  144. * CloseReason.cs: Make class internal for 1.1.
  145. 2007-01-08 Jonathan Pobst <[email protected]>
  146. * ToolStripManager.cs: Implement FindToolStrip functionality.
  147. * ToolStrip.cs: Register and unregister with ToolStripManager.
  148. 2007-01-07 Jonathan Pobst <[email protected]>
  149. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  150. to ArrangedElementCollection. Implemented this with as few #if's as
  151. possible (which is still too many).
  152. 2007-01-07 Jonathan Pobst <[email protected]>
  153. * Control.cs: Implement SizeFromClientSize() [2.0].
  154. 2007-01-07 Everaldo Canuto <[email protected]>
  155. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  156. use Theme.BorderSize to calculate area instead of static value 1,
  157. by the way use new BorderStaticSize instead Border3DSize when
  158. border_static is true. Fixes #79537.
  159. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  160. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  161. it is not needed.
  162. 2007-01-06 Everaldo Canuto <[email protected]>
  163. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  164. 2007-01-06 Everaldo Canuto <[email protected]>
  165. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  166. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  167. * Hwnd.cs:
  168. - border_static field added, it will used to define when a control
  169. theres 3D border but it must be static (thin).
  170. - In GetWindowRectangle use Theme.BorderSize to calculate area
  171. instead of static value 1, by the way use new BorderStaticSize instead
  172. Border3DSize when border_static is true.
  173. * XplatUIX11.cs, XplatUIOSX.cs:
  174. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  175. * Theme.cs: BorderStaticSize field added.
  176. 2007-01-05 Everaldo Canuto <[email protected]>
  177. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  178. 2007-01-05 Everaldo Canuto <[email protected]>
  179. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  180. mimic same behavior than win32 that set border only in CreateParams,
  181. it fix problems under CreateParams overrides. Fix #79442 and partial
  182. fix #79537.
  183. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  184. of thi control you must call recreate handle.
  185. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  186. need to do anything as RecreateHangle will take care about borders.
  187. 2007-01-05 Mike Kestner <[email protected]>
  188. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  189. cycles between the ItemControl and parent. Fixes #80388.
  190. 2007-01-05 Gert Driesen <[email protected]>
  191. * Control.cs: Lazy init layout engine. Do not directly use
  192. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  193. 2007-01-05 Chris Toshok <[email protected]>
  194. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  195. unless our list manager has changed (i.e. unless we have reason to
  196. believe our columns have changed). Fixes #80422.
  197. also, disable the call do BindColumns in
  198. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  199. 1.1 the event isn't raised in response to a column addition on a
  200. table.)
  201. 2007-01-05 Jonathan Pobst <[email protected]>
  202. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  203. that inheritors can not call it if they choose. Fixes bug #80456.
  204. 2007-01-05 Andreia Gaita <[email protected]>
  205. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  206. doesn't blow up with a null exception on marshalling.
  207. 2007-01-05 Jonathan Pobst <[email protected]>
  208. * Control.cs: Implement several 2.0 protected properties and methods.
  209. Ensure that all necessary events are being called when properties
  210. are set.
  211. 2007-01-05 Mike Kestner <[email protected]>
  212. * ListView.cs: implement PgUp/PgDn for Details view. Also
  213. fixes First/LastVisibleIndex to use the item_control.ClientRect
  214. instead of the parent control. Fixes #80378.
  215. 2006-01-05 Atsushi Enomoto <[email protected]>
  216. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  217. determine whether to use yard-pound or not (bug #78399).
  218. 2006-01-04 Alexander Olk <[email protected]>
  219. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  220. problems. So it is time to bring back the old popupbutton colors.
  221. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  222. * ColumnHeader.cs:
  223. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  224. property by using the internal information of the
  225. columns order in ListView.
  226. 2007-01-04 Jonathan Pobst <[email protected]>
  227. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  228. Add 2.0 Tag properties.
  229. * LinkArea.cs: Add 2.0 ToString method.
  230. 2007-01-03 Chris Toshok <[email protected]>
  231. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  232. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  233. when we're editing, which fixes #80047.
  234. 2007-01-03 Chris Toshok <[email protected]>
  235. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  236. #80404.
  237. 2007-01-03 Jonathan Pobst <[email protected]>
  238. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  239. property and implementation.
  240. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  241. for MdiWindowListItem property.
  242. * ToolStripDropDown.cs: Don't consider hidden menu items while
  243. laying out the menu.
  244. 2007-01-03 Andreia Gaita <[email protected]>
  245. * SendKeys.cs: window handle is not needed in win32, so just
  246. get the active window for X after parsing keys and don't use
  247. it when building the message; it is passed by parameter to the
  248. Xplat method and used there to build the message instead. Also,
  249. wait for events to be processed on SendWait, as opposed to Send,
  250. which doesn't wait :) Playing with threads and Send() completely
  251. hangs on ms.net, only SendWait() works.
  252. XplatUIX11.cs
  253. X11Display.cs: Check for valid window handle.
  254. 2007-01-03 Jackson Harper <[email protected]>
  255. * TextControl.cs: Need to prevent wrap calculations when replacing
  256. text (this was there before i removed it accidently).
  257. - Don't update the cursor during the positioning, just set it to
  258. selection_start at the end of the operaion.
  259. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  260. * Control.cs:
  261. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  262. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  263. * MonthCalendar.cs: Added Click and DoubleClick events again,
  264. but this time they only hide Control's Click and DoubleClick.
  265. 2007-01-03 Gert Driesen <[email protected]>
  266. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  267. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  268. 2007-01-02 Jackson Harper <[email protected]>
  269. * TextBoxBase.cs: We move the caret with the split now, so we
  270. don't need to explicitly move the caret after splitting. This
  271. fixes the caret bumping down an extra line on Enter.
  272. 2007-01-02 Miguel de Icaza <[email protected]>
  273. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  274. 2.72).
  275. * ScrollableControl.cs: Add Scroll event.
  276. 2007-01-02 Mike Kestner <[email protected]>
  277. * ListView.cs: one more try with help from [email protected]
  278. to fix all hdr height padding codepaths. Fixes #80207.
  279. 2007-01-02 Chris Toshok <[email protected]>
  280. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  281. setting it to the Control defaults anyway, and it being after the
  282. Dock set was screwing up layout.
  283. (set_Dock): don't short circuit out of setting base.Dock. Also,
  284. no need to call UpdateStatusBar here, as it'll be re-layed out if
  285. it needs to be.
  286. 2007-01-02 Mike Kestner <[email protected]>
  287. * ListView.cs: patch from [email protected] to add padding
  288. to header height for width == -1. Fixes the rest of #80207.
  289. 2007-01-02 Mike Kestner <[email protected]>
  290. * ListView.cs: rework the mouse event forwarding everaldo added
  291. to translate the coordinates to the parent control not
  292. raise the parent events until after we've done our work. Hover
  293. needs more work, in the case where HoverSelection is on, because
  294. the item control receives more than one MouseHover per Enter
  295. event, so we need to ensure only the "first" hover gets forwarded.
  296. Opening a minor bug for that.
  297. 2007-01-02 Gert Driesen <[email protected]>
  298. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  299. * ListControl.cs: Implemented AllowSelection property. Removed extra
  300. tabs.
  301. * ListBox.cs: Implemented AllowSelection property.
  302. 2007-01-02 Everaldo Canuto <[email protected]>
  303. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  304. SelectedItem, it prevent for errors when you must disable item
  305. before perform click. Fixes #80409.
  306. 2007-01-02 Everaldo Canuto <[email protected]>
  307. * MenuAPI.cs: Prevent second level and beyond submenus to close
  308. until first level when move out side of popup.
  309. 2007-01-02 Everaldo Canuto <[email protected]>
  310. * MenuAPI.cs:
  311. - Down submenu positin in three pixels.
  312. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  313. 2007-01-02 Everaldo Canuto <[email protected]>
  314. * ThemeWin32Classic.cs:
  315. - Fix popup menu size adding one pixel on the top.
  316. - Down menu item border from two to one to mimic Win32.
  317. - Some source identation fixes.
  318. 2007-01-01 Everaldo Canuto <[email protected]>
  319. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  320. position of menu arrows, it fix wrong arrow size.
  321. 2007-01-01 Everaldo Canuto <[email protected]>
  322. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  323. instead of line, it simplify draw operation and fix it using 3D
  324. borders to mimic Win32.
  325. 2007-01-01 Jonathan Pobst <[email protected]>
  326. * StatusStrip.cs: Add implementation of the sizing grip.
  327. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  328. StatusStrip rendering.
  329. 2006-12-31 Chris Toshok <[email protected]>
  330. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  331. override the layout style (anchor/dock) of the control. assign to
  332. Dock instead. Fixes bug #80416.
  333. * ToolStrip.cs: same.
  334. 2006-12-31 Andreia Gaita <[email protected]>
  335. * ContainerControl.cs: Use ContainerSelected flag to check if
  336. a Container is directly selected, or if Select is called on a
  337. non-container. If a container is directly selected, focus events
  338. should not be raised.
  339. Apply #80411 patch to throw exception on set_ActiveControl if
  340. control is the same as the current one.
  341. * Control.cs: Use ContainerSelected flag (see above).
  342. Add invalidation check to raise event but not invalidate if
  343. dimensions are 0.
  344. Apply #80411 patch.
  345. 2006-12-31 Everaldo Canuto <[email protected]>
  346. * MenuAPI.cs: After click, dont close popup menu when menu is
  347. ContextMenu. Fixes #80399.
  348. 2006-12-30 Chris Toshok <[email protected]>
  349. * ContainerControl.cs: make sure we throw the exception if the
  350. container control doesn't contain the control we're setting
  351. ActiveControl to.
  352. 2006-12-30 Chris Toshok <[email protected]>
  353. * Control.cs (SetTopLevel): fix the exception raised by
  354. SetTopLevel for child controls.
  355. (set_Anchor): call UpdateDistances when setting the anchor type.
  356. This fixes bug #80336.
  357. 2006-12-29 Gert Driesen <[email protected]>
  358. * Theme.cs: For now, revert back to 8pt font.
  359. 2006-12-29 Everaldo Canuto <[email protected]>
  360. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  361. Fixes #80395.
  362. 2006-12-29 Chris Toshok <[email protected]>
  363. * Control.cs: reorder the code in OnResize to give the same event
  364. ordering as MS.
  365. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  366. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  367. TileHorizontally and TileVertically.
  368. 2006-12-29 Alexander Olk <[email protected]>
  369. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  370. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  371. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  372. Corrected copyright and email adress.
  373. 2006-12-29 Gert Driesen <[email protected]>
  374. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  375. of Exception in FullPath property if no TreeView is associated with
  376. the TreeNode.
  377. 2006-12-29 Gert Driesen <[email protected]>
  378. * Theme.cs: Marked default_font as private, and initialize it in ctor
  379. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  380. on 2.0 profile.
  381. * ThemeGtk.cs: Removed default_font intialization.
  382. * ThemeWin32Classic.cs: Removed default_font initialization.
  383. 2006-12-28 Chris Toshok <[email protected]>
  384. * Control.cs: fix a couple of place where we were creating handles
  385. more aggressively than we should be. Fixes ControlRefresh unit
  386. tests.
  387. 2006-12-28 Chris Toshok <[email protected]>
  388. * Control.cs: contrary to what the comment said, Control.Dock does
  389. not supercede Control.Anchor - the last one you assign to decides
  390. the layout behavior. so we need to keep track of which was the
  391. last set. Also, fix some of the affected property arguments in
  392. PerformLayout calls, and remove an redundant parent.PerformLayout
  393. call in OnResized.
  394. Add a VisibleInternal property, which returns is_visible. We
  395. can/should get rid of all the usage of this field elsewhere.
  396. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  397. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  398. control style, not DoubleBuffer. Added UseDoubleBuffering property
  399. that indicates whether doublebuffering is enabled and supported.
  400. (comment from and code based on Gert Driesen's patch in #80324).
  401. Fixes #80324.
  402. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  403. * Control.cs: Fixed a NRE.
  404. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  405. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  406. for 2.0.
  407. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  408. * Control.cs: Rewrote double buffering, now a seperate
  409. class handles all the buffering, no Graphics is disposed of
  410. until the painting is finished (earlier implementation
  411. would crash if the control was resized in the OnPaint,
  412. since it would cause the double buffer to be recreated
  413. and the old one disposed), a separate Graphics is
  414. created for every paint (MS behaviour and anyways the state
  415. of the Graphics would have to be saved and restored otherwise)
  416. * XplatUIDriver.cs:
  417. * XplatUIX11.cs:
  418. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  419. so that we can get the graphics for the back buffer without
  420. having to create a new one and remove the offscreen_dc parameter
  421. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  422. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  423. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  424. Also make virtual all the key-related methods.
  425. * ListViewItem.cs: Make virtual the key related methods for
  426. ListViewSubItemCollection.
  427. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  428. * ListView.cs:
  429. * ListViewItem.cs:
  430. * ThemeWin32Classic.cs:
  431. * Theme.cs: Initial support for Tile view in ListView,
  432. as well as the implementation of the required bits for it (Item
  433. and Subitem).
  434. 2006-12-27 Gert Driesen <[email protected]>
  435. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  436. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  437. Provide useful exception messages.
  438. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  439. * TrackBar.cs: Remove a warning.
  440. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  441. when used by DateTimePicker, fixes #80287. This also requires that
  442. MonthCalendar implements it's own drawing for the yearly updown control,
  443. otherwise the Capture tracking would be too complicated. Removed the Click
  444. and DoubleClick events (according to comments they were hiding the base class
  445. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  446. raise these events, not that they cannot be raised. It is possible to raise
  447. them by calling OnClick and OnDoubleClick). Added two internal fields in
  448. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  449. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  450. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  451. event, no longer needed.
  452. 2006-12-27 Gert Driesen <[email protected]>
  453. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  454. true if new value differs from current value.
  455. 2006-12-27 Gert Driesen <[email protected]>
  456. * Control.cs: ControlCollection.Count must be public. Fixed build of
  457. unit tests.
  458. 2006-12-27 Gert Driesen <[email protected]>
  459. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  460. 2006-12-27 Gert Driesen <[email protected]>
  461. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  462. 2006-12-26 Everaldo Canuto <[email protected]>
  463. * Control.cs: Invalidates control including when Width and Height is
  464. equal zero or is not visible, only Paint event must be care about
  465. this. Fixes #79913.
  466. 2006-12-26 Chris Toshok <[email protected]>
  467. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  468. more corcompare work.
  469. * DataGridView.cs: fix compiler warning.
  470. * ColumnHeader.cs: some corcompare work, and also take the
  471. opportunity to make the internal fields private.
  472. * ListView.cs: fix the fallout from the above field change.
  473. 2006-12-26 Jonathan Pobst <[email protected]>
  474. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  475. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  476. ToolStripTextBox.cs: Fixes to events and corcompare.
  477. 2006-12-26 Everaldo Canuto <[email protected]>
  478. * ListView.cs: Call owner.OnMousexx event to propagate events from
  479. item to ListView. Fixes #80367.
  480. 2006-12-26 Gert Driesen <[email protected]>
  481. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  482. if value is less than one. ItemHeight should not be set to a value
  483. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  484. Removed extra tabs.
  485. 2006-12-26 Jonathan Pobst <[email protected]>
  486. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  487. * ToolStripStatusLabel.cs: Add Spring for Moma.
  488. 2006-12-26 Gert Driesen <[email protected]>
  489. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  490. Fixed code formatting. Removed debug code.
  491. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  492. 2006-12-26 Gert Driesen <[email protected]>
  493. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  494. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  495. ArgumentOutOfRangeException if ColumnCount is negative. In
  496. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  497. less than 4 or higher than 32768.
  498. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  499. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  500. Fixed IsFormatProviderDefault to return true if FormatProvider has
  501. not been explicitly set.
  502. 2006-12-25 Chris Toshok <[email protected]>
  503. * Application.cs: add a couple of 2.0 events.
  504. 2006-12-25 Chris Toshok <[email protected]>
  505. * Control.cs: fix compiler warning.
  506. * AxHost.cs: corcompare fixes.
  507. * ApplicationContext.cs: corcompare fixes.
  508. 2006-12-25 Chris Toshok <[email protected]>
  509. * Control.cs: only update dist_right/dist_bottom if the
  510. width/height is > 0. this fixes anchored controls being resized
  511. smaller until they disappear and then resized larger again.
  512. 2006-12-25 Chris Toshok <[email protected]>
  513. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  514. since they're nothing more than X/Left and Y/Top, respectively.
  515. Also, move back to a per-control Bitmap/Graphics for
  516. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  517. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  518. Height.
  519. 2006-12-25 Miguel de Icaza <[email protected]>
  520. * MessageBox.cs: Implemented overload that takes a new "bool
  521. displayHelpButton" by adding a new internal field "show_help".
  522. When clicked this will raise the HelpRequested on the owner or the
  523. main form.
  524. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  525. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  526. * ListView.cs: Add support ColumnWidthChanged and
  527. ColumnWidthChanging.
  528. Add support for ColumnReordered event.
  529. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  530. reorder.
  531. Very nice codebase!
  532. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  533. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  534. 2006-12-24 Chris Toshok <[email protected]>
  535. * GridTablesFactory.cs: 2.0 corcompare work.
  536. * ToolStripContainer.cs: add "override" to
  537. ContextMenuStripChanged, and remove the local event object.
  538. * ToolStripDropDown.cs: same with a couple properties.
  539. * ToolStripPanel.cs: same with AutoSizeChanged event.
  540. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  541. * Form.cs: add the remaining 2.0 events, and do some corcompare
  542. attribute work.
  543. * DateTimePicker.cs: add "new" to padding.
  544. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  545. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  546. * DataGridView.cs: PaddingChanged is overridden.
  547. 2006-12-24 Chris Toshok <[email protected]>
  548. * Control.cs: corecompare work here too.
  549. * DataGridViewElement.cs, DataGridView.cs,
  550. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  551. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  552. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  553. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  554. work.
  555. 2006-12-24 Miguel de Icaza <[email protected]>
  556. * Control.cs: Switched the error message on the console for a
  557. todo. A review of the code will have to cope with this anyways
  558. (since its a large feature, it is in our radar) and it was
  559. producing too much output when running PDN.
  560. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  561. changes. Applications depend on this (PDN 2.72)
  562. 2006-12-23 Chris Toshok <[email protected]>
  563. * TableLayoutSettings.cs: finish up the corcompare work for this
  564. class.
  565. 2006-12-23 Chris Toshok <[email protected]>
  566. * Control.cs: make SetImplicitBounds internal, do some futzing
  567. with LayoutEngine so that it's available in 1.1, and remove the
  568. entire duplicated code mess from PerformLayout. Use
  569. System.Windows.Forms.Layout.DefaultLayout instead.
  570. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  571. 2006-12-23 Jonathan Pobst <[email protected]>
  572. * Form.cs: Add MainMenuStrip property.
  573. 2006-12-23 Jonathan Pobst <[email protected]>
  574. * Control.cs: Add ContextMenuStrip property and implementation.
  575. Fix ContextMenu implementation to show menu centered on control when
  576. activated using the keyboard instead of showing at screen (0,0).
  577. * ToolStripDropDown.cs: Fix needed overload of Show ().
  578. 2006-12-23 Everaldo Canuto <[email protected]>
  579. * Menu.cs: Name property added for 2.0 profile.
  580. 2006-12-23 Everaldo Canuto <[email protected]>
  581. * Menu.cs: Update information about FindMenuItem, method to be
  582. implemented soon.
  583. 2006-12-23 Everaldo Canuto <[email protected]>
  584. * MenuAPI.cs: When deselect items deselect also selected subitems.
  585. 2006-12-23 Everaldo Canuto <[email protected]>
  586. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  587. FindSubItemByCoord to found itens that is not active, also an
  588. cheking added to FindSubItemByCoord to search for items only
  589. in visible popup windows. Fixes #80274.
  590. 2006-12-22 Everaldo Canuto <[email protected]>
  591. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  592. internal property, it be care about change ExStyle.
  593. 2006-12-22 Andreia Gaita <[email protected]>
  594. * ContainerControl.cs: set activeControl for parent forms up the
  595. tree when the new activecontrol is a container.
  596. When validating the active control, if it is a container, also
  597. raise up the validation for it's active control. Fixes #80280
  598. * Control.cs: Add internal property flag and check to prevent
  599. Focus events from getting raised when Select() is called for
  600. a ContainerControl. There are still too many focus events being
  601. raised at the moment though.
  602. Cleaned up the code a bit.
  603. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  604. * Control.cs: Added all missing 2.0 events.and
  605. fixed a couple of corcompare issues.
  606. * TrackBar.cs: Implemented missing 2.0 bits.
  607. * MonthCalendar.cs,
  608. * DateTimePicker.cs,
  609. * MdiClient.cs: Fixed some corcompare issues.
  610. 2006-12-21 Jonathan Pobst <[email protected]>
  611. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  612. SplitterPanel.cs: corecompare work.
  613. 2006-12-21 Jonathan Pobst <[email protected]>
  614. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  615. Clean up warnings for BackgroundImageChanged and PaddingChanged
  616. events now that they are implemented in Control.cs.
  617. 2006-12-21 Jonathan Pobst <[email protected]>
  618. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  619. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  620. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  621. of TableLayoutPanel and supporting cast.
  622. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  623. * XplatUIWin32.cs:
  624. - GrabWindow now confines the mouse pointer to the confine window.
  625. - Added Win32ClipCursor and Win32GetClipCursor.
  626. * Control.cs:
  627. - Added CaptureWithConfine to be able to capture and confine
  628. mouse pointer.
  629. * InternalWindowManager.cs:
  630. - Call CaptureWithConfine instead of Capture if we're an
  631. MdiChild (fixes #79982).
  632. 2006-12-21 Chris Toshok <[email protected]>
  633. * DataGrid.cs: guard against the initial state of selection, where
  634. selection_start == -1. make sure we only select from index >= 0.
  635. Fixes bug #80291.
  636. 2006-12-21 Chris Toshok <[email protected]>
  637. * Control.cs: we don't need to be so draconian with
  638. UpdateDistances, and we thusly don't need to call it before
  639. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  640. 2006-12-21 Daniel Nauck <[email protected]>
  641. * ComboBox.cs,
  642. TextBox.cs: Implemented AutoComplete properties.
  643. 2006-12-20 Chris Toshok <[email protected]>
  644. * DataGridView*.cs: some corecompare work.
  645. 2006-12-20 Jackson Harper <[email protected]>
  646. * XplatUIX11.cs: We need to hide the caret when deleting it,
  647. otherwise you get carets left lying around everywhere.
  648. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  649. prevents getting some weird half drawn caret tracers when
  650. scrolling.
  651. * TextControl.cs: Attempt to reduce the number of times we need to
  652. recreate the caret.
  653. 2006-12-20 Gert Driesen <[email protected]>
  654. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  655. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  656. * DateTimePicker.cs:
  657. - Implemented missing 2.0 bits.
  658. - Changed some default values to match MS.
  659. 2006-12-20 Jackson Harper <[email protected]>
  660. * TextBoxBase.cs: When changing the font across the document we
  661. can't recalculate after changing each line, since that will cahnge
  662. the line count.
  663. - PreferredHeight is a little different than i thought.
  664. - When backspacing, move the caret before we do the actual char
  665. delete, because when that delete crosses a wrap boundary the
  666. positional information will change.
  667. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  668. * Control.cs: Added some missing 2.0 bits:
  669. BackgroundImageLayout, BackgroundImageLayoutChanged,
  670. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  671. add IBindableComponent and IDropTarget implementation.
  672. * MonthCalendar.cs:
  673. - Added all missing 2.0 features:
  674. BackgroundImageLayout, RightToLeftLayout,
  675. OnHandleDestroyed, RightToLeftLayoutChanged,
  676. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  677. PaddingChanged.
  678. - Rewrote all the BoldDate code, it was completely broken.
  679. - Fixed all the tests (the tests can now be re-enabled, the
  680. problems were not with the tests, but with the control, it was
  681. mostly broken).
  682. * DateTimePicker.cs: Changed the location where the
  683. MonthCalendar is shown.
  684. 2006-12-19 Chris Toshok <[email protected]>
  685. * DataGridView.cs: add IDropTarget implementation.
  686. * ToolStripPanel.cs: add IDropTarget implementation.
  687. 2006-12-19 Jackson Harper <[email protected]>
  688. * TextControl.cs: soft now means something different than what it
  689. used to mean, we want to move the caret regardless of whether or
  690. not this break was soft (would we really have wanted the caret
  691. to not move with the break in the old context?)
  692. * TreeView.cs: Make sure we factor in the vert scrollbar when
  693. calculating the horizontal scrollbar's maximum.
  694. 2006-12-19 Andreia Gaita <[email protected]>
  695. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  696. check for keywords in alternate casing, close bug #80049.
  697. 2006-12-19 Chris Toshok <[email protected]>
  698. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  699. methods (which all do nothing).
  700. * IDropTarget.cs: add the 4 missing methods.
  701. 2006-12-19 Chris Toshok <[email protected]>
  702. * TableLayoutRowStyleCollection.cs: corcompare work.
  703. * TableLayoutSettings.cs: same.
  704. * TableLayoutStyle.cs: same.
  705. * TableLayoutColumnStyleCollection.cs: same.
  706. 2006-12-19 Jonathan Pobst <[email protected]>
  707. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  708. TableLayoutPanel I've had in my local tree for way too long.
  709. 2006-12-19 Miguel de Icaza <[email protected]>
  710. * TableLayoutSettings.cs: Finish the public API (still needs all
  711. the logic to update on changes).
  712. * TableLayoutPanelCellPosition.cs: new file.
  713. * TableLayoutRowStyleCollection.cs,
  714. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  715. TableLayoutSettings.cs: Track the final 2.0 table api.
  716. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  717. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  718. and Image List 2.0 members for ColummnHeader.
  719. * ListView.cs: Add key-related 2.0 methods for
  720. ColumnHeaderCollection.
  721. 2006-12-19 Gert Driesen <[email protected]>
  722. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  723. ArgumentNullException if items argument is null. Ignore null item in
  724. arrays. Removed extra tabs.
  725. 2006-12-19 Gert Driesen <[email protected]>
  726. * MonthCalendar.cs: Fixed InvalidCastException.
  727. 2006-12-19 Jackson Harper <[email protected]>
  728. * TextControl.cs: Don't increment the position here.
  729. - When calculating char positions only add in the line break size
  730. for hard line breaks.
  731. 2006-12-19 Andreia Gaita <[email protected]>
  732. * SendKeys.cs: Changed some things to match ms.net behaviour
  733. when parsing shifted capital letters.
  734. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  735. Add window handle as parameter to SendInput. X11 needs the
  736. window handle, and the handle being passed to it in the keys
  737. queue is the active control handle (which windows needs), not
  738. the window handle.
  739. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  740. to support SendKeys on X.
  741. * X11Keyboard: Implement helper method to lookup a linux keycode
  742. given the virtual keycode. Added table of keycode-2-virtualkey
  743. values to support this.
  744. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  745. * ListView.cs: Add support for SelectedIndexCollection
  746. and SelectedItemCollection 2.0 methods. Implement support
  747. for ImageKey too.
  748. * ListViewItem.cs: Add support for ListViewSubItemCollection
  749. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  750. (it shouldn't call Clear).
  751. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  752. 2006-12-19 Jackson Harper <[email protected]>
  753. * RichTextBox.cs:
  754. * TextBoxBase.cs: New args for FormatText
  755. * TextControl.cs: Rewrote the main drawing method, this version
  756. feels a little easier to understand and debug to me. Hopefully it
  757. does to others also
  758. - Fix FormatText to OR in the new formating values. Added
  759. FormatSpecified param, basically this works in the same way as
  760. BoundsSpecified in Control.
  761. - Set the caret properties when the caret is positioned.
  762. - When wrapping text make sure that we calculate the width of the
  763. last character
  764. - when calculating alignments we might have wrapped down to the
  765. next line, so don't search for an individual tag, search for the
  766. end of the line
  767. - We need to invalidate the selection area when we replace the
  768. selection.
  769. 2006-12-19 Daniel Nauck <[email protected]>
  770. * Application.cs: add Restart () 2.0 support
  771. 2006-12-18 Everaldo Canuto <[email protected]>
  772. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  773. property. Fixes #80268.
  774. 2006-12-18 Everaldo Canuto <[email protected]>
  775. * MenuAPI.cs: Dont trigger select event when closes top menu
  776. item. Fixes #80270.
  777. 2006-12-18 Everaldo Canuto <[email protected]>
  778. * MenuAPI.cs: When you click on menuitem only trigger onselect
  779. event for top menu itens. Fixes #80271.
  780. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  781. * MdiWindowManager.cs: Make IconicBounds depend on
  782. the bottom of MdiClient, not the top (fixes #80267)
  783. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  784. * MdiClient.cs: Added missing 2.0 attribute
  785. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  786. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  787. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  788. 2006-12-18 Everaldo Canuto <[email protected]>
  789. * MenuAPI.cs: Fix click when menuitem is not popup,
  790. this regression was caused by last commit (#80272).
  791. 2006-12-17 Everaldo Canuto <[email protected]>
  792. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  793. fire click event or close menu. Fixes #80272.
  794. 2006-12-17 Daniel Nauck <[email protected]>
  795. * ListViewHitTestInfo.cs: add
  796. 2006-12-17 Daniel Nauck <[email protected]>
  797. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  798. * FlatButtonAppearance.cs: add
  799. * DockingAttribute.cs: add
  800. 2006-12-17 Chris Toshok <[email protected]>
  801. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  802. and rebind our columns when it does - this way, if you make
  803. changes to the DataTable (or set the Table attribute on a DataView
  804. after setting it as the DataGrid's DataSource, the changes are
  805. made visible.) Fixes bug #80107.
  806. 2006-12-17 Daniel Nauck <[email protected]>
  807. * ListViewGroup.cs: add internal Location property for layouting.
  808. * Theme.cs: add abstract ListViewGroupHeight function.
  809. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  810. 2006-12-16 Andreia Gaita <[email protected]>
  811. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  812. Added reset of selected index to 0 when adding first tab page.
  813. Fixes #80264
  814. * NumericUpDown.cs: Fix NET_2_0 check
  815. 2006-12-16 Daniel Nauck <[email protected]>
  816. * ListViewGroup.cs: fixed DefaultValueAttribute value
  817. 2006-12-16 Daniel Nauck <[email protected]>
  818. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  819. 2006-12-15 Miguel de Icaza <[email protected]>
  820. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  821. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  822. ScrollableControl.cs: Add a handful of methods that are
  823. overwritten in 2.0
  824. 2006-12-15 Chris Toshok <[email protected]>
  825. * XplatUIWin32.cs: initial implementation of the Reversible
  826. drawing functions. there are some problems. DrawReversibleFrame
  827. doesn't seem to work at all for Dashed FrameStyle, and in the
  828. Thick case there are drawing errors at the corners (we probably
  829. need to bind Rectangle instead of doing moveto/lineto's.)
  830. 2006-12-16 Andreia Gaita <[email protected]>
  831. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  832. to send blocks of key messages. Send accumulates keys to send with Flush,
  833. while SendWait sends all keys immediately.
  834. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  835. XplatUIX11.cs, XplatUIX11-new.cs:
  836. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  837. to Win32 SendInput.
  838. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  839. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  840. testing for ms.net on this class is very tricky, as the tests run too fast
  841. to allow the hook to release, essentially freezing the keyboard and the
  842. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  843. category :p
  844. 2006-12-16 Daniel Nauck <[email protected]>
  845. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  846. added missing attributes.
  847. 2006-12-15 Daniel Nauck <[email protected]>
  848. * ListViewGroup.cs: Added missing attributes.
  849. * ListViewGroupCollection.cs: Added missing attributes.
  850. 2006-12-15 Daniel Nauck <[email protected]>
  851. * ListViewItem.cs: fixed ListViewSubItem text property.
  852. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  853. * Control.cs: Added missing 2.0 attributes
  854. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  855. * MdiClient.cs: Added missing 2.0 attribute.
  856. * MonthCalendar.cs: Added some missing 2.0 attributes
  857. and properties.
  858. 2006-12-15 Daniel Nauck <[email protected]>
  859. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  860. 2006-12-15 Jonathan Pobst <[email protected]>
  861. * MainMenu.cs: Add the new 2.0 constructor to help out people
  862. using the MainMenu in VS2005.
  863. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  864. * MdiChildContext.cs: Removed it, no longer used.
  865. * MdiClient.cs: Added missing 2.0 attributes.
  866. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  867. * InternalWindowManager.cs: Fix a NullRef with previous
  868. changes for toolwindows.
  869. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  870. * Control.cs:
  871. - Added AfterTopMostControl to allow for certain controls
  872. to always stay on top when normal controls are brought to
  873. front.
  874. * XplatUIWin32.cs:
  875. - (DrawInversibleRectangle): Get window rectangle from Win32
  876. in stead of from control, since Win32 doesn't calculate
  877. screen coords correctly from control's Location if it
  878. have docked siblings.
  879. * MdiWindowManager.cs:
  880. - Correct the control menu popup location when clicked on
  881. the maximized form icon. (fixes #80223.1)
  882. - Don't show moving rectangle if mouse hasn't moved from
  883. the original clicked point.
  884. - Removed FormGotFocus handler (not used).
  885. - Calculate the control buttons location from the main
  886. window's size and not client size (fixes #79770).
  887. - Form is now closed when the form icon is double-clicked
  888. (fixes #79775).
  889. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  890. * InternalWindowManager.cs:
  891. - Moved some MDI-only methods to MdiWindowManager.
  892. - Removed unused properties and methods.
  893. - Unified method naming for methods handling wm messages.
  894. - Moved all message handling to seperate methods for
  895. each message.
  896. * ThemeWin32Classic.cs:
  897. - DrawManagedWindowDecorations now draws the title bar
  898. with a gradient brush.
  899. - Add a CPDrawButtonInternal that allows us to specify
  900. light, normal and dark colors for the buttons (control
  901. buttons for MDI children were drawn with the same light
  902. color as the background, therefore loosing the 3D effect).
  903. * SizeGrip.cs:
  904. - Add a CapturedControl property that is used to
  905. determine the control to resize (defaults to parent).
  906. Needed for MdiClient, since its SizeGrip's parent is
  907. MdiClient, but the control to resize is the main form.
  908. * MdiClient.cs:
  909. - Set SizeGrip's CapturedControl to the main form in order
  910. to resize the main form and not the MdiClient.
  911. - Override AfterTopMostControl to leave the scrollbars
  912. always on top.
  913. 2006-12-15 Daniel Nauck <[email protected]>
  914. * ListView.cs: fixed ListViewItemCollection AddRange and
  915. implemented ListViewItemCollection AddRange 2.0 support.
  916. 2006-12-15 Daniel Nauck <[email protected]>
  917. * ListViewGroup.cs: Add.
  918. * ListViewGroupCollection.cs: Add
  919. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  920. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  921. stub for ImageKey 2.0 support.
  922. 2006-12-14 Mike Kestner <[email protected]>
  923. * ListView.cs: add text padding to the autocalculation for columns
  924. of width -2. Fixes #80207.
  925. 2006-12-14 Mike Kestner <[email protected]>
  926. * ListView.cs: add some index guarding for partial row navigation
  927. logic. Fixes #80250.
  928. 2006-12-14 Mike Kestner <[email protected]>
  929. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  930. are added or inserted to the collection. Fixes #81099.
  931. 2006-12-13 Everaldo Canuto <[email protected]>
  932. * MenuAPI.cs: Closes menu when right click out side of popup
  933. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  934. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  935. * ListViewItem.cs: Fix dumb error.
  936. * ListView.cs: Add Find and ContainsKey methods in
  937. ListViewItemCollection, and also return true for IsReadOnly
  938. and IsFixedSize (changes for 2.0).
  939. 2006-12-13 Gert Driesen <[email protected]>
  940. * Control.cs: Allow Region to be set to null.
  941. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  942. * MdiWindowManager.cs: Remove unused (commented out) code.
  943. * Form.cs: When the MdiChild is maximized, the form needs
  944. WM_NCMOUSELEAVE, so request it.
  945. * InternalWindowManager.cs:
  946. - Added tooltips to control buttons.
  947. - Removed duplicated control button handling code.
  948. - Removed unused (commented out) code.
  949. 2006-12-12 Everaldo Canuto <[email protected]>
  950. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  951. was used because we must set cursor without trigger ChangeCursor event
  952. and without change Cursor control property. Fixes #79963.
  953. 2006-12-12 Andreia Gaita <[email protected]>
  954. * Control.cs: Check if Region setter value is null, and ignore
  955. 2006-12-12 Jackson Harper <[email protected]>
  956. * TextControl.cs: We were almost always drawing one more line then
  957. needed, since the GetLineByPixel will return the last line found
  958. at that pixel. In most cases though, we were invalidating up to
  959. the junction between two lines.
  960. - Improve debug code.
  961. 2006-12-12 Chris Toshok <[email protected]>
  962. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  963. and FillReversibleRectangle.
  964. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  965. and FillReversibleRectangle.
  966. * XplatUIWin32.cs: add stubs which do nothing for
  967. DrawReversibleFrame, DrawReversibleLine, and
  968. FillReversibleRectangle.
  969. * XplatUIOSX.cs: add stubs which raise NIE for
  970. DrawReversibleFrame, DrawReversibleLine, and
  971. FillReversibleRectangle.
  972. * XplatUIX11.cs: add working implementation for
  973. DrawReversibleFrame, DrawReversibleLine, and
  974. FillReversibleRectangle.
  975. * ControlPaint.cs: implement DrawReversibleFrame,
  976. DrawReversibleLine, and FillReversibleRectangle, by calling into
  977. the appropriate XplatUI method.
  978. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  979. * Form.cs: Make MdiClient have the focus even if it's
  980. not selectable, since it should receive WM_KEY* and WM_MOUSE
  981. messages. Fixes #79907.
  982. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  983. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  984. queried after the window is created.
  985. * XplatUIX11.cs: Added SendParentNotify to implement
  986. WM_PARENTNOTIFY logic. Fixes #79965.
  987. * Control.cs: Added MakeParam.
  988. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  989. * MdiClient.cs: Resume Layout before setting window
  990. states (fixes #80201).
  991. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  992. * MenuAPI.cs: Deselect a menu item after performing
  993. the click (fixes #80197).
  994. 2006-12-11 Jackson Harper <[email protected]>
  995. * TextBoxBase.cs: We need to cap this value, since Maximum -
  996. ViewPortHeight can be less than zero.
  997. - Only do selection with the left mouse button.
  998. * TextBox.cs: Don't tell the world that we have a context menu.
  999. * Control.cs: New method so that we can control whether or not the
  1000. context menu is visible outside MWF.
  1001. 2006-12-11 Everaldo Canuto <[email protected]>
  1002. * ToolBarButton.cs: Fix text positon.
  1003. 2006-12-11 Miguel de Icaza <[email protected]>
  1004. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  1005. * Control.cs (DoubleBuffered): Add implementation.
  1006. * Application.cs (OpenForms): Add.
  1007. 2006-12-11 Jonathan Pobst <[email protected]>
  1008. * Form.cs: Use opacity instead of Opactiy to determine if we need
  1009. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  1010. 2006-12-11 Jonathan Pobst <[email protected]>
  1011. * Control.cs: Fix NRE if Control.Site was set to null.
  1012. 2006-12-11 Chris Toshok <[email protected]>
  1013. * Control.cs: ControlCollection.Remove should return if the arg is
  1014. null, and ControlCollection.SetChildIndex should raise a ANE.
  1015. 2006-12-11 Gert Driesen <[email protected]>
  1016. * Control.cs: Verify value set for Dock property. Code formatting
  1017. updates.
  1018. 2006-12-11 Jackson Harper <[email protected]>
  1019. * TextControl.cs: Draw the caret and the selection when a flag is
  1020. set on the owner.
  1021. * TextBoxBase.cs: We want to draw the caret and the selection for
  1022. TextBox but not for TextBoxBase.
  1023. - If the window is resized and scrolling is no longer needed (the
  1024. whole doc is visible) set the scroll position to zero.
  1025. - The default SelectWord (the one TextBox uses) should move the
  1026. caret to the end of the word.
  1027. - SelectAll moves the caret to the end of the selection.
  1028. * TextBox.cs: We don't selectall on focus, we just do it when the
  1029. control is created.
  1030. 2006-12-11 Mike Kestner <[email protected]>
  1031. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  1032. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  1033. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  1034. 2.0 support.
  1035. * ListViewItem.cs: Add Name 2.0 property.
  1036. 2006-12-11 Andreia Gaita <[email protected]>
  1037. * TabControl.cs: Set visibility on selected or default tab
  1038. when tabcontrol handle is created, so that it's contents
  1039. actually show up (duh). Fixes #80193
  1040. Don't redraw the control if there is no handle created, as
  1041. the selected index might be completely invalid. Added some tests
  1042. to check for this.
  1043. 2006-12-11 Everaldo Canuto <[email protected]>
  1044. * ToolBar.cs: Uses maximun width and height of all buttons as
  1045. button rectangle when ButtonSize specified, it looks strange but
  1046. is what happens in Win32. Fixes #80189.
  1047. 2006-12-11 Jackson Harper <[email protected]>
  1048. * TextControl.cs: Need to track undo levels ourself, since
  1049. compound actions will mess them up.
  1050. 2006-12-10 Andreia Gaita <[email protected]>
  1051. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  1052. SelectedIndex value is changed (even if it's not valid).
  1053. Reset SelectedIndex to 0 when the handle is created and if
  1054. the current index is invalid.
  1055. Fixes SelectdeIndex unit tests and #80128
  1056. 2006-12-08 Chris Toshok <[email protected]>
  1057. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  1058. calls EndEdit, it needs to be called before we set current_cell to
  1059. its new value. Otherwise, we end up committing the value in the
  1060. textbox to the new cell as well. Fixes bug #80160.
  1061. 2006-12-08 Chris Toshok <[email protected]>
  1062. * Form.cs (set_CancelButton): if the button's DialogResult is
  1063. None, set it to Cancel. Fixes bug 80180.
  1064. 2006-12-08 Jackson Harper <[email protected]>
  1065. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  1066. to watch ourselves when setting the canvas size and setting the
  1067. scrollbar values.
  1068. 2006-12-08 Chris Toshok <[email protected]>
  1069. * DataGrid.cs: comment out the two MakeTransparent calls for the
  1070. time being so people using trunk (and not 1.2.2) on windows can
  1071. actually use the datagrid. This deals with bug #80151.
  1072. 2006-12-08 Jonathan Pobst <[email protected]>
  1073. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  1074. Graphics.DrawImage (image, int, int, int, int) overload instead
  1075. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  1076. the dpi difference and was blurring images it drew.
  1077. [Fixes bug #79960]
  1078. 2006-12-08 Chris Toshok <[email protected]>
  1079. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  1080. rowcnt is 0 (such as with an empty datasource), and make sure we
  1081. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  1082. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  1083. 2006-12-08 Chris Toshok <[email protected]>
  1084. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  1085. grid.
  1086. 2006-12-08 Chris Toshok <[email protected]>
  1087. [ Fixes bug #80167 ]
  1088. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  1089. style is FlatStyle.System.
  1090. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  1091. ButtonBase.flat_style private, and switch uses of it to the public
  1092. property.
  1093. 2006-12-08 Chris Toshok <[email protected]>
  1094. [ Fixes bug #80121 ]
  1095. * ThemeWin32Classic.cs: center the caption text in the datagrid
  1096. when we draw it.
  1097. * DataGrid.cs: lessen the amount we add to the caption height from
  1098. 6 to 2. 6 was making it huge.
  1099. 2006-12-08 Andreia Gaita <[email protected]>
  1100. * UpDownBase: Handle MouseWheel call directly instead of capturing
  1101. the inner textbox's OnMouseWheel. Fixes #80166
  1102. 2006-12-08 Jackson Harper <[email protected]>
  1103. * TextControl.cs: We need to invalidate the textbox when we empty
  1104. it (how had this not been discovered before?)
  1105. 2006-12-08 Jackson Harper <[email protected]>
  1106. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  1107. to behave like MS, we now ignore the eventargs.Click and just
  1108. track state ourself, which we were already doing anyways.
  1109. - Constrain the double click handler to the double click size.
  1110. 2006-12-08 Chris Toshok <[email protected]>
  1111. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  1112. direction if that scrollbar isn't shown. fixes bug #80158.
  1113. 2006-12-08 Andreia Gaita <[email protected]>
  1114. * NumericUpDown.cs: Update value on getter. Fixes #79950
  1115. 2006-12-08 Chris Toshok <[email protected]>
  1116. * MenuItem.cs: add back in the event cloning code. I didn't know
  1117. how to do it in the face of the EventHandlerList work i'd done
  1118. last week. Fixes bug #80183.
  1119. 2006-12-08 Jonathan Pobst <[email protected]>
  1120. * Control.cs: Add an invalidate to the BackgroundImage setter.
  1121. [Fixes 80184]
  1122. 2006-12-07 Jonathan Pobst <[email protected]>
  1123. * ToolStrip*: Add some small properties reported by MoMA, fix event
  1124. firing and default properties based off of unit tests, and add some
  1125. attributes based off of the class status page.
  1126. 2006-12-07 Jackson Harper <[email protected]>
  1127. * TextBoxBase.cs: Take HideSelection into account when determining
  1128. whether or not to show the selection.
  1129. * RichTextBox.cs: After inserting the RTF into the document move
  1130. the cursor to the beginning of the document.
  1131. 2006-12-07 Jonathan Pobst <[email protected]>
  1132. * Control.cs: Remove static ArrayList "controls" which maintained
  1133. a reference to every control created.
  1134. * Application.cs: Create a static FormCollection to maintain a reference
  1135. to every form created. Use it in places that formerly enumerated through
  1136. the controls one looking for forms.
  1137. * Form.cs: Add and remove self from above FormCollection.
  1138. 2006-12-07 Alexander Olk <[email protected]>
  1139. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  1140. not libgdk (though it makes me wonder why I didn't have any
  1141. problems)
  1142. 2006-12-07 Chris Toshok <[email protected]>
  1143. [ you had to know this was coming after that last commit...]
  1144. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  1145. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  1146. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  1147. XCopyArea).
  1148. 2006-12-07 Chris Toshok <[email protected]>
  1149. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  1150. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  1151. all the behavior we need for double buffering.
  1152. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  1153. client side Bitmap, just like the old Control-based double buffer
  1154. code did. The methods are virtual, so each XplatUI driver
  1155. subclass can replace the implementation to use a faster, platform
  1156. specific approach.
  1157. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  1158. double buffer code, and clean things up a bit in the process.
  1159. 2006-12-06 Chris Toshok <[email protected]>
  1160. * Control.cs: reindent WndProc.
  1161. 2006-12-06 Chris Toshok <[email protected]>
  1162. [ I wanna be like BenM when I grow up ]
  1163. * Hwnd.cs: create a single static Graphics object on the static
  1164. Bitmap we create. use this for our text measurements.
  1165. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  1166. This was causing us to allocate a backbuffer for every control,
  1167. even when it wasn't flagged as double buffered. Instead use the
  1168. single graphics instance. This might have implications for
  1169. multithreaded applications. If we run into problems we can switch
  1170. to creating 1 Graphics per control, on the static Hwnd bitmap.
  1171. this change nets us a 7M savings in private dirty mappings when
  1172. running FormsTest.exe.
  1173. 2006-12-06 Chris Toshok <[email protected]>
  1174. * ListView.cs: the BackgroundImage override is just to set
  1175. attributes. chain up to base.BackgroundImage.
  1176. * RichTextBox.cs: same.
  1177. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  1178. changes, so instead a handler for BackgroundImageChanged.
  1179. * Control.cs: make background_image private.
  1180. 2006-12-06 Chris Toshok <[email protected]>
  1181. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  1182. sure we even need this assignment, but roll with it for now.
  1183. * Control.cs: make the cursor field private.
  1184. 2006-12-06 Chris Toshok <[email protected]>
  1185. * Form.cs: we don't need to explicitly set ImeMode to
  1186. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  1187. behavior in the face of ImeMode.Inherit.
  1188. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  1189. change the ctor's assignment to use ImeMode instead of ime_mode.
  1190. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  1191. ImeModeInherit. Only check for the parent's imemode (and return
  1192. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  1193. This fixes the button unit test, which sets both ImeMode and
  1194. DefaultImeMode to ImeMode.Disable.
  1195. also make the ime_mode field private.
  1196. 2006-12-06 Chris Toshok <[email protected]>
  1197. * Control.cs: make control_style private.
  1198. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  1199. setting the styles to true, then setting them to false instead of
  1200. reverting to their previous values.
  1201. also, call SetStyle on the scrollbars instead of using
  1202. control_style directly.
  1203. 2006-12-06 Jonathan Pobst <[email protected]>
  1204. * FormCollection.cs: Implement. [2.0]
  1205. 2006-12-06 Chris Toshok <[email protected]>
  1206. * Control.cs: make tab_stop private.
  1207. * Label.cs: set TabStop, not tab_stop. reformat some event
  1208. add/remove methods to make them more compact.
  1209. 2006-12-06 Chris Toshok <[email protected]>
  1210. * RadioButton.cs: fix TabStop handling.
  1211. 2006-12-06 Chris Toshok <[email protected]>
  1212. * TextBox.cs: remove the explicit assignments to has_focus.
  1213. Control does that.
  1214. * ButtonBase.cs: remove the assignment to has_focus. Control will
  1215. manage that.
  1216. 2006-12-06 Chris Toshok <[email protected]>
  1217. * ButtonBase.cs: remove all uses of is_enabled from this code.
  1218. it's always true when any of the code containing the checks is
  1219. executed.
  1220. 2006-12-06 Chris Toshok <[email protected]>
  1221. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  1222. with different semantics (some are present in both 1.1 and 2.0
  1223. profiles) so that we match MS's behavior in our unit tests.
  1224. 2006-12-06 Jackson Harper <[email protected]>
  1225. * TextControl.cs: Make this operation undoable.
  1226. * TextBoxBase.cs: Factor the border width into the preferred
  1227. height.
  1228. - implement Modified as per the spec.
  1229. 2006-12-06 Chris Toshok <[email protected]>
  1230. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  1231. 2006-12-06 Chris Toshok <[email protected]>
  1232. * Control.cs: make right_to_left and context_menu fields private.
  1233. 2006-12-06 Chris Toshok <[email protected]>
  1234. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  1235. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  1236. Control.child_controls private. switch all uses over to
  1237. Control.Controls.
  1238. 2006-12-06 Chris Toshok <[email protected]>
  1239. * System.Windows.Forms/GroupBox.cs,
  1240. System.Windows.Forms/AccessibleObject.cs,
  1241. System.Windows.Forms/ErrorProvider.cs,
  1242. System.Windows.Forms/Control.cs,
  1243. System.Windows.Forms/UpDownBase.cs,
  1244. System.Windows.Forms/ScrollBar.cs,
  1245. System.Windows.Forms/DateTimePicker.cs,
  1246. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  1247. System.Windows.Forms/ToolTip.cs,
  1248. System.Windows.Forms/RadioButton.cs,
  1249. System.Windows.Forms/LinkLabel.cs,
  1250. System.Windows.Forms/Splitter.cs,
  1251. System.Windows.Forms/TextBoxBase.cs,
  1252. System.Windows.Forms/ToolStripTextBox.cs,
  1253. System.Windows.Forms/ContainerControl.cs,
  1254. System.Windows.Forms/ThemeWin32Classic.cs,
  1255. System.Windows.Forms/SizeGrip.cs,
  1256. System.Windows.Forms/ToolStripDropDown.cs,
  1257. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  1258. private. switch all uses over to Control.Parent.
  1259. 2006-12-06 Chris Toshok <[email protected]>
  1260. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  1261. Control does this before calling emitting these events.
  1262. * TabControl.cs: same.
  1263. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  1264. Control.client_rect.
  1265. * ButtonBase.cs: use the ClientSize property instead of the
  1266. client_size field.
  1267. * ScrollableControl.cs: same.
  1268. * Control.cs: another pass at making properties private. also,
  1269. move the initialization of tab_stop to the ctor.
  1270. 2006-12-05 Andreia Gaita <[email protected]>
  1271. * TabControl.cs: Let the selected index be set freely if the
  1272. control handle is not yet created.
  1273. 2006-12-05 Jonathan Pobst <[email protected]>
  1274. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  1275. internal until I can rewrite DefaultLayout.
  1276. * ToolStrip.cs: Fix build error and some general cleaning.
  1277. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  1278. Fix build errors caused by making some of Control's fields private.
  1279. 2006-12-05 Jackson Harper <[email protected]>
  1280. * TextControl.cs: Redo Insert a little so that it use IndexOf
  1281. instead of Split, this prevents it from messing up on things like
  1282. \n\n\n. Also more effecient since the split array doesn't need to
  1283. be created.
  1284. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  1285. multiline text differently, this is the first of many fixes that
  1286. will make multiline/non-multiline the same thing as far as the
  1287. TextBoxBase is concerned.
  1288. - Don't split the text and insert lines, this can lose some line
  1289. endings (like is the last line a soft or hard break). Instead use
  1290. the new Insert.
  1291. - Fix an off by one when combining all the lines in the Text
  1292. getter.
  1293. - Remove separate multiline handling from the Text getter/setter.
  1294. 2006-12-05 Chris Toshok <[email protected]>
  1295. * ButtonBase.cs: a few changes:
  1296. - don't reinitialize internal Control fields in the ctor when they
  1297. have the same values as Control sets them.
  1298. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  1299. this before calling those methods.
  1300. - we don't need to call Refresh for anything. use Invalidate
  1301. instead.
  1302. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  1303. calls Refresh in its OnEnabledChanged.
  1304. - several of the events we were registered for in the ctor to
  1305. redraw ourselves already include calls to Invalidate in the
  1306. property setters that raise the events. remove the extra
  1307. invalidation.
  1308. - reformat a switch statement that was 83274658 columns wide.
  1309. 2006-12-05 Mike Kestner <[email protected]>
  1310. * ComboBox.cs: fix a unit test regression from a TextBox
  1311. SelectionLength return of -1 when there's no selection.
  1312. 2006-12-05 Chris Toshok <[email protected]>
  1313. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  1314. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  1315. cleaning up some of the internal Control fields being used by
  1316. subclasses.
  1317. 2006-12-05 Mike Kestner <[email protected]>
  1318. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  1319. listbox after AddImplicit calls since it defaults to hidden. Add a
  1320. hack to preserve requested heights across DropDownStyle changes.
  1321. 2006-12-05 Jonathan Pobst <[email protected]>
  1322. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  1323. 2006-12-05 Chris Toshok <[email protected]>
  1324. * DataGridView.cs: fix compiler warnings.
  1325. * PrintControllerWithStatusDialog.cs: same.
  1326. * ToolBar.cs: same.
  1327. * FolderBrowserDialog.cs: same.
  1328. * Splitter.cs: same.
  1329. * DataGridViewComboBoxCell.cs: same.
  1330. * XplatUIWin32.cs: same.
  1331. * PictureBox.cs: same.
  1332. * Win32DnD.cs: same.
  1333. * PageSetupDialog.cs: same.
  1334. * FileDialog.cs: same.
  1335. * PrintDialog.cs: same.
  1336. * DataGridTextBoxColumn.cs: same.
  1337. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  1338. 2006-12-05 Chris Toshok <[email protected]>
  1339. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  1340. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  1341. System.ComponentModel.EventHandlerList work.
  1342. 2006-12-05 Jonathan Chambers <[email protected]>
  1343. * DrawTreeNodeEventArgs.cs: Added.
  1344. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1345. * InternalWindowManager.cs: Remove an unused field.
  1346. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1347. * InternalWindowManager.cs:
  1348. - Save the point where the title bar is clicked.
  1349. * MdiWindowManager.cs:
  1350. - Only allow moving of the window as long as the
  1351. clicked point on the title bar does not get out of
  1352. MdiClient's rectangle. Fixes #79982.
  1353. * MdiClient.cs:
  1354. - Added Horizontal/VerticalScrollbarVisible.
  1355. - Simplified the scrollbar sizing algorithm.
  1356. - Cache the difference in scrolled value in
  1357. H/VBarValueChanged and move the calculation out
  1358. of the for loop.
  1359. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1360. * Control.cs: Make the Console.WriteLine in WndProc
  1361. write more info.
  1362. 2006-12-05 Chris Toshok <[email protected]>
  1363. * ToolStripManager.cs, ToolStripButton.cs,
  1364. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  1365. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  1366. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  1367. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  1368. ToolStripProgressBar.cs, ToolStripContainer.cs,
  1369. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  1370. to using System.ComponentModel.EventHandlerList.
  1371. 2006-12-04 Chris Toshok <[email protected]>
  1372. * LinkLabel.cs: fix up compiler warnings.
  1373. * TableLayoutSettings.cs: same.
  1374. * TreeView.cs: same.
  1375. * ToolBar.cs: same.
  1376. * TabControl.cs: same.
  1377. * RichTextBox.cs: same.
  1378. * ListViewItem.cs: same.
  1379. * PropertyGrid.cs: same.
  1380. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  1381. * ToolTip.cs same.
  1382. * TextRenderer.cs: fix up compiler warnings.
  1383. * Label.cs: same.
  1384. * Form.cs: corcompare fixes.
  1385. * PictureBox.cs: fix up compiler warnings.
  1386. * ImageListStreamer.cs: same.
  1387. * TrackBar.cs: corcompare fix.
  1388. * Control.cs: fix up compiler warnings.
  1389. * SplitterPanel.cs: same.
  1390. * NumericTextBox.cs: same.
  1391. * ImageList.cs: same.
  1392. * StatusStrip.cs: same.
  1393. * ProgressBar.cs: corcompare fix.
  1394. * ToolStripButton.cs: fix up compiler warnings.
  1395. * ToolStripStatusLabel.cs: same.
  1396. * ToolStripSplitButton.cs: same.
  1397. * ToolStripSeparator.cs: same.
  1398. * ToolStripProgressBar.cs: same.
  1399. * ToolStripDropDownMenu.cs: same
  1400. * ToolStripDropDown.cs: same.
  1401. * ToolStripDropDownButton.cs: same.
  1402. * ToolStrip.cs: same.
  1403. * ToolStripControlHost.cs: same.
  1404. * ToolStripContentPanel.cs: same.
  1405. * ToolStripDropDown.cs: same.
  1406. * ToolStripContainer.cs: same.
  1407. * ToolStripPanel.cs: same, and add "new" where we need it to work
  1408. with the new ArrangedElementCollection.
  1409. * ToolStripItemCollection.cs: add "new" where we need it to work
  1410. with the new ArrangedElementCollection.
  1411. 2006-12-04 Andreia Gaita <[email protected]>
  1412. * TabControl.cs: Fix default tab selection to after TabControl
  1413. gets focus and not before. Fixes #80128
  1414. 2006-12-04 Chris Toshok <[email protected]>
  1415. * DataGridTableStyle.cs: remove the gross calling of
  1416. datagrid.Refresh from here. It's a broken idea and it doesn't
  1417. work anyway.
  1418. * DataGrid.cs: instead, just register/unregister from the
  1419. DataGridTableStyle events in CurrentTableStyle. we play it
  1420. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  1421. even though some would most likely not require it. Fixes bug
  1422. #80115 (and one portion of #80117 as a side effect).
  1423. 2006-12-04 Chris Toshok <[email protected]>
  1424. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  1425. so the textbox (if any) goes away. Fixes bug #80117.
  1426. 2006-12-04 Chris Toshok <[email protected]>
  1427. * DataGridColumnStyle.cs: set the column's readonly property
  1428. initially based on the property descriptor's IsReadOnly. Fixes
  1429. bug #80044.
  1430. 2006-12-04 Chris Toshok <[email protected]>
  1431. * ComboBox.cs: wrap the dropdown style changing work in
  1432. SuspendLayout/ResumeLayout. Fixes bug #79968.
  1433. 2006-12-04 Jackson Harper <[email protected]>
  1434. * TextBoxBase.cs: Fix off by one, since these are one-based.
  1435. * TextBox.cs: Select all the text when we get focus. The TextBox
  1436. does this but the RTB does not.
  1437. 2006-12-04 Chris Toshok <[email protected]>
  1438. * DataGridTextBoxColumn.cs: remove some spew.
  1439. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  1440. but some part of me is saying "it shouldn't be here.." At any
  1441. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  1442. setting the value.
  1443. 2006-12-04 Chris Toshok <[email protected]>
  1444. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  1445. to reassign the propertydescriptor.
  1446. 2006-12-04 Jackson Harper <[email protected]>
  1447. * TextBoxBase.cs:
  1448. * TextControl.cs: Remove some unused variables. Maybe this will
  1449. patch things up between mike and I.
  1450. - don't split lines less then one char wide, if the viewport is
  1451. that small text won't be visible anyways.
  1452. 2006-12-04 Jackson Harper <[email protected]>
  1453. * TextBoxBase.cs: Default selection length is -1, need to do some
  1454. more testing on windows to see when this is used for the property.
  1455. - Redid the Lines [] property to that we properly remove soft line
  1456. breaks
  1457. - added support for preserving carriage returns
  1458. - CanUndo is not a variable like 'is undo enabled' it just returns
  1459. true if there is undo operations available.
  1460. - AppendText doesn't need to grab the last tag itself anymore,
  1461. this happens automatically when we move the cursor.
  1462. * TextControl.cs: Add CompoundActions to the undo class. This
  1463. allows combining the other operations into one big option. ie a
  1464. paste will combine { delete old, insert new, move cursor }
  1465. - Add InsertString undo operation
  1466. - New method for deleting multiline text
  1467. - Add carriage returns to lines. So we can preserve carriage
  1468. returns when text is 'roundtripped'
  1469. 2006-12-04 Chris Toshok <[email protected]>
  1470. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  1471. minimum 0. Fixes the scrollbar exception in bug #80136.
  1472. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1473. * MdiClient.cs:
  1474. * MdiWindowManager: Removed unused fields and methods.
  1475. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1476. * StatusBar.cs: Update all panels when a AutoSize=Contents
  1477. panel needs updating.
  1478. * StatusBarPanel.cs: Remove twidth and only use initialize.
  1479. Fixes #80031.
  1480. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1481. * Form.cs: When a form's MdiParent is set add it directly
  1482. on top of the z-order in stead of relying on MdiClient's
  1483. ActivateChild to do it. Fixes #80135.
  1484. * MdiClient.cs:
  1485. - Remove original_order, mdi_child_list is already doing
  1486. the same thing.
  1487. - Create mdi_child_list on construction in
  1488. stead of first use (avoids a few null checks).
  1489. * MenuItem.cs: Use an already existing list of mdi children
  1490. to get the correct order of children and remove the other
  1491. redundant list.
  1492. 2006-12-04 Chris Toshok <[email protected]>
  1493. * PropertyGridView.cs: cached_splitter_location is only used in
  1494. !DOUBLEBUFFER code.
  1495. * PropertyGrid.cs: implement the ComComponentNameChanged event
  1496. using Events, hoping that would fix the warning. Looks like a
  1497. compiler bug instead (#80144).
  1498. * PropertyManager.cs: remove unused method.
  1499. 2006-11-04 Everaldo Canuto <[email protected]>
  1500. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  1501. include parentesis to fix expression evaluation. Fixes #79634.
  1502. 2006-11-02 Everaldo Canuto <[email protected]>
  1503. * MenuAPI.cs:
  1504. - Changes to fix behavior in Menu control, some reported in #80097
  1505. and other detected during behavior refactory like a select event
  1506. problems.
  1507. - Remove unneded "if's" conditions.
  1508. - Created an internal to flag when popup is active in control, we need
  1509. it because in .NET you can have menu active but without popup active
  1510. when you active menu using popup without visible items.
  1511. - Mimic win32 behavior for Select and Popup events.
  1512. - Dont open popup menu when you dont have visible subitems.
  1513. - Do nothing when click on disabled menu item.
  1514. - Some small changes to follow the coding style guidelines.
  1515. - Unselect menu only when another control gives focus. Fixes #80097.
  1516. - Remove unused code.
  1517. * MenuItem.cs: internal VisibleItems method to check if menu
  1518. theres visible subitems, it will be usefull to fix some
  1519. behavior in Menu control.
  1520. 2006-11-01 Everaldo Canuto <[email protected]>
  1521. * Timer.cs: Tag property for 2.0 profile.
  1522. 2006-12-01 Chris Toshok <[email protected]>
  1523. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  1524. * Win32DnD.cs: comment out some unused fields.
  1525. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  1526. some unused properties/methods.
  1527. * XplatUIX11.cs: fix MousePosition so we override the base class's
  1528. property instead of conflicting with it.
  1529. * PictureBox.cs: comment out some unused fields
  1530. * OSXStructs.cs: make some struct fields public.
  1531. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  1532. MousePosition so we override the base class's property instead of
  1533. conflicting with it.
  1534. * X11Dnd.cs: comment out some unused fields
  1535. * X11DesktopColors.cs: fix some struct field visibility to quiet
  1536. the compiler.
  1537. * X11Dnd.cs: remove some debug code.
  1538. * ThemeClearlooks.cs: comment out unused field.
  1539. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  1540. * ThemeGtk.cs: comment out some unused pinvokes.
  1541. * Timer.cs: remove some unused fields.
  1542. * ThemeClearlooks.cs: comment out unused field.
  1543. * UpDownBase.cs: comment out unused field.
  1544. * DataObject.cs: comment out unused field.
  1545. * DataGridBoolColumn.cs: reomve unused field.
  1546. * DataGrid.cs: remove unused field.
  1547. * Cursor.cs: remove old ToBitmap code.
  1548. * ControlPaint.cs: remove unused method.
  1549. * ScrollBar.cs: remove unused fields.
  1550. * ComboBox.cs: remove unused field, and chain up to
  1551. AccessibleObject ctor.
  1552. * ListBox.cs: remove unused field.
  1553. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  1554. * GridEntry.cs: remove unused fields.
  1555. * Binding.cs: remove unused fields.
  1556. * AxHost.cs: remove unused method.
  1557. * ContainerControl.cs: remove unused field.
  1558. * ScrollableControl.cs: remove unused fields.
  1559. 2006-12-01 Chris Toshok <[email protected]>
  1560. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  1561. the Where/WhereString stuff. it's easy enough to CWL
  1562. Environment.StackTrace.
  1563. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  1564. unused private fields.
  1565. 2006-12-01 Jackson Harper <[email protected]>
  1566. * TextControl.cs: Do not update the view while inserting multiline
  1567. text. If we update the view we might wrap lines, before entering
  1568. the new lines, which causes the new line insertion calculations to
  1569. be totally fubared.
  1570. - Remove an old TODO
  1571. - Make debug output a little nicer
  1572. 2006-12-01 Chris Toshok <[email protected]>
  1573. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  1574. 2006-12-01 Chris Toshok <[email protected]>
  1575. [ fix the majority of the CS0108 warnings we've been suppressing ]
  1576. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  1577. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  1578. to "LayoutToolBar" to quiet mcs.
  1579. * TabControl.cs: mark our ControlCollection class as 'new'.
  1580. * TextBoxBase.cs: mark some events as 'new'.
  1581. * Splitter.cs: TabStop is 'new'.
  1582. * ControlBindingsCollection.cs: mark a few methods as new since
  1583. they change the visibility from protected to public.
  1584. * RadioButton.cs: DoubleClick -> base class, and remove unused
  1585. HaveDoubleClick.
  1586. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  1587. events as new.
  1588. * NumericUpDown.cs: TextChanged -> base class.
  1589. * CheckedListBox.cs: mark our ObjectCollection class as new to
  1590. quiet mcs.
  1591. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  1592. muck with the base class.
  1593. * StatusBar.cs: fix some mcs warnings about Update being the same
  1594. name as a base class method.
  1595. * RichTextBox.cs: mark some events as new, and make them do things
  1596. to the base class impl.
  1597. * UserControl.cs: mark TextChanged as new, and have it manipulate
  1598. base.TextChanged.
  1599. * UpDownBase.cs: mark some things new.
  1600. * CheckBox.cs: mark DoubleClick "new", and add some text about
  1601. what we need to look at.
  1602. * Panel.cs: make the events "new", and manipulate the base
  1603. version. these are just here for attributes.
  1604. * AccessibleObject.cs: make owner private.
  1605. * Control.cs: deal with AccessibleObject.owner being private.
  1606. cache our own copy if we need it.
  1607. * Button.cs: add "new" to the DoubleClickEvent.
  1608. * ListBox.cs: no need to track our own has_focus here. let
  1609. Control.has_focus do it for us. Also some other work to clear up
  1610. warnings about not overriding base class methods of the same name.
  1611. * ComboBox.cs: clear up some warnings about not override base
  1612. class methods of the same name.
  1613. 2006-12-01 Chris Toshok <[email protected]>
  1614. * Form.cs: flag a few things as "new" to quiet some of the mcs
  1615. warnings.
  1616. * AxHost.cs: same.
  1617. * PrintPreviewDialog.cs: same.
  1618. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  1619. now DGV isn't so horrible on the class status page. also, move
  1620. all events to using System.ComponentModel.EventHandlerList. my
  1621. wrists hurt.
  1622. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  1623. * MdiWindowManager.cs:
  1624. - Set form to active mdi child if shown,
  1625. and update the active mdi child to the next
  1626. remaining child in the z-order if the form is hidden.
  1627. * Form.cs:
  1628. - Track if the form has been visible and if its
  1629. visibility is beeing changed, so that the MdiClient
  1630. can properly decide the ActiveMdiChild. The MdiClient
  1631. cannot track this since the form can change visibility
  1632. before MdiClient is created.
  1633. * MdiClient.cs:
  1634. - Don't activate anything of the parent form is changing
  1635. its visibility.
  1636. - Rework ActiveMdiChild to only return visible mdi
  1637. children and take into account several other corner
  1638. cases.
  1639. 2006-12-01 Chris Toshok <[email protected]>
  1640. * IBindableComponent.cs: new 2.0 interface.
  1641. 2006-12-01 Gert Driesen <[email protected]>
  1642. * DataGrid.cs: Font for caption area is bold by default.
  1643. 2006-12-01 Everaldo Canuto <[email protected]>
  1644. * Menu.cs: Tag property for 2.0.
  1645. 2006-11-01 Everaldo Canuto <[email protected]>
  1646. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  1647. 2006-12-01 Chris Toshok <[email protected]>
  1648. * TreeView.cs: doh, the Begin* events should be
  1649. TreeViewCancelEventHandler.
  1650. 2006-12-01 Chris Toshok <[email protected]>
  1651. * Form.cs: Form.ControlCollection already stores off the
  1652. form_owner field. don't access the base class's internal "owner"
  1653. field.
  1654. * Control.cs: make all the fields in Control.ControlCollection
  1655. private. there's no need for any internal fields here.
  1656. 2006-12-01 Chris Toshok <[email protected]>
  1657. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  1658. OnHandleCreated. Fixes bug #80109.
  1659. 2006-12-01 Chris Toshok <[email protected]>
  1660. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  1661. SplitContainer.cs, Control.cs, StatusStrip.cs,
  1662. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  1663. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  1664. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  1665. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  1666. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  1667. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  1668. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  1669. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  1670. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  1671. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  1672. do most of the work to convert our code over to use
  1673. System.ComponentModel.Component.Events for
  1674. adding/removing/dispatching events.
  1675. 2006-11-30 Jonathan Pobst <[email protected]>
  1676. * DataGridView.cs: Fix an ArgumentNullException reported
  1677. twice today in IRC.
  1678. 2006-11-30 Mike Kestner <[email protected]>
  1679. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  1680. grabbed listbox. Fixes #80036 and #80101.
  1681. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1682. * Message.cs: Changed ToString() to match MS.
  1683. 2006-11-30 Jackson Harper <[email protected]>
  1684. * TextBoxBase.cs: You can still change the selected text on a read
  1685. only textbox.
  1686. * TextControl.cs: Lower magic number for wrap calculations. This
  1687. lets text get closer to the right (far) edge.
  1688. 2006-11-30 Jonathan Pobst <[email protected]>
  1689. * Control.cs: Tweak 2.0 layout properties.
  1690. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  1691. * TextRenderer.cs: Add a new overload.
  1692. * ToolStrip*: Huge amount of changes and new features.
  1693. 2006-11-30 Mike Kestner <[email protected]>
  1694. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  1695. scroll range correct. Fixes #79994.
  1696. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1697. * MdiWindowManager.cs: Update main form's text when
  1698. a form is closed. (fixes #80038)
  1699. 2006-11-30 Everaldo Canuto <[email protected]>
  1700. * ToolBar.cs:
  1701. - Fix an regression in ButtonSize.
  1702. - Get ImeMode default value change to "Disable".
  1703. - Get ShowTooltips default value change to true, default value is
  1704. "false" but after make a test in .NET we get "true" result as default.
  1705. 2006-11-29 Jonathan Pobst <[email protected]>
  1706. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  1707. 2006-11-29 Chris Toshok <[email protected]>
  1708. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  1709. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  1710. SetWindowTransparency hasn't been called.
  1711. 2006-11-29 Chris Toshok <[email protected]>
  1712. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  1713. if it's supported.
  1714. (set_AllowTransparency): reorder things a little so that the
  1715. WS_EX_LAYERED style is removed properly.
  1716. 2006-11-29 Chris Toshok <[email protected]>
  1717. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  1718. * Form.cs: only call the XplatUI transparency method (get/set) if
  1719. SupportsTransparency says it's supported. Otherwise fallback to
  1720. doing nothing (in the set case) or returning the instance field we
  1721. cache (in the get case).
  1722. * XplatUIStructs.cs: add TransparencySupport flag enum.
  1723. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  1724. change to SupportsTransparency.
  1725. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  1726. TransparencySupport.None from SupportsTransparency.
  1727. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  1728. TransparencySupport.Set from SupportsTransparency.
  1729. * XplatUIWin32.cs: implement GetWindowTransparency calling
  1730. GetLayeredWindowAttributes, and implement SupportsTransparency by
  1731. checking whether or not both
  1732. GetWindowTransparency/SetWindowTransparency are available
  1733. entrypoints. We need to do this since SetWindowTransparency is
  1734. available as of win2k, but GetWindowTransparency requires winxp.
  1735. yay win32 api.
  1736. * XplatUI.cs: Add GetWindowTransparency, and change
  1737. SupportsTransparency to allow for either/both Get/Set.
  1738. 2006-11-29 Chris Toshok <[email protected]>
  1739. * DataGrid.cs: keep from going into an infinite loop redrawing a
  1740. datagrid that has no datasource. Fixes bug #80033.
  1741. 2006-11-29 Chris Toshok <[email protected]>
  1742. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  1743. Invalidate) before the mainmenu has been assigned to a control.
  1744. 2006-11-29 Chris Toshok <[email protected]>
  1745. * DataGrid.cs: detect when we should be double the double click
  1746. row/column autosize stuff, although that codepath has yet to be
  1747. written. part of the work for bug #79891.
  1748. 2006-11-29 Chris Toshok <[email protected]>
  1749. * Binding.cs (SetControl): fix unit test.
  1750. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  1751. * PageSetupDialog.cs: Validate the margins and set them in
  1752. PageSettings.
  1753. * NumericTextBox.cs: New class to mimic the behavior of the
  1754. textboxes used in the printing dialogs.
  1755. 2006-11-29 Andreia Gaita <[email protected]>
  1756. * Form.cs: Revert previous change (remove call UpdateBounds
  1757. from form constructor), because it messes with the handle creation
  1758. order, and that one needs lots and lots of love.
  1759. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  1760. for valid printer and throw InvalidPrinterException if document
  1761. is set but printer not valid), adding a MonoTODO. Once
  1762. handle creation is done properly, we can put this back in.
  1763. 2006-11-28 Everaldo Canuto <[email protected]>
  1764. * MenuItem.cs: Create a invalidate method for menu item, to be
  1765. calling from set text, it make text changes to imadiate update
  1766. on screen. Fixes #80013.
  1767. 2006-11-28 Everaldo Canuto <[email protected]>
  1768. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  1769. fixes bug #80070 and some other problem on toolbar buttons
  1770. layout.
  1771. 2006-11-28 Everaldo Canuto <[email protected]>
  1772. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  1773. with dotted brush. Fixes #79564
  1774. 2006-11-28 Andreia Gaita <[email protected]>
  1775. * Form.cs: Removed call to UpdateBounds on Form
  1776. constructor, it was causing a call to CreateHandle
  1777. before it was supposed to.
  1778. * PrintControllerWithStatusDialog: Applied patch
  1779. by Chris Toshok to hide controller when there are
  1780. no printers available.
  1781. PrintDialog.cs: initialize printer settings to
  1782. null - correct DefaultValues test #5
  1783. * PrintPreviewControl.cs: Move PrintController
  1784. initialization to GeneratePreview
  1785. * PrintPreviewDialog.cs:
  1786. - Remove Preview generation from Document_set(). It is
  1787. called on OnPaint
  1788. - Throw InvalidPrinterException on CreateHandle if
  1789. a Document is set but there are no printers or
  1790. printer is not valid.
  1791. * ThemeWin32Classic: don't paint PrintPreviewControl
  1792. if there is nothing to paint
  1793. 2006-11-28 Miguel de Icaza <[email protected]>
  1794. * Form.cs: Add another popular method.
  1795. * TabPage.cs: ditto.
  1796. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1797. * MenuItem.cs: Fixed a warning.
  1798. * InternalWindowManager: Fixed a warning.
  1799. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1800. * MenuItem.cs:
  1801. - When cloning a menu also clone MdiList and clone the
  1802. window menu items properly (as the forms and menuitems
  1803. are kept in an internal hashtable, these need updating
  1804. as well)
  1805. - Rewrote the window menu code, menu items are added in the
  1806. order the forms were added to their parent, and they are
  1807. updated every time the window menu is shown (before the
  1808. list was only generated once, in the current order of the
  1809. forms, and would never be updated). A checkmark is shown
  1810. next to the item corresponding to the active mdi child.
  1811. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1812. * XplatUIStructs.cs:
  1813. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  1814. * XplatUIWin32.cs:
  1815. - Added TME_NONCLIENT to TMEFlags.
  1816. - Handles WM_NCMOUSEMOVE in GetMessage to
  1817. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  1818. * MdiWindowManager:
  1819. - Now merges mdi child menu to parent menu when maximized.
  1820. - Recalculate NC areas of both mdi child and mdi parent.
  1821. Fixes #79757 (4).
  1822. on window state and size changes.Fixes #79844 (3).
  1823. - Handle WM_NCCALCSIZE to properly calculate borders.
  1824. * Form.cs:
  1825. - Add/remove to the mdi containers list of mdi children
  1826. in the order they are added.
  1827. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  1828. to the maximized mdi child.
  1829. * InternalWindowManager.cs:
  1830. - Only execute a click on the control buttons on the mouse up,
  1831. not on the mouse down. Show the state of the button
  1832. (was only showing Normal state, never Pressed state). The
  1833. pressed button now follows the mouse (if you click the Close
  1834. button and move the mouse over the Maximize button, the
  1835. Maximize button will be shown as pressed). Since Win32 does
  1836. not generate WM_NCLBUTTONUP if you release the button outside
  1837. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  1838. it as a mouse up.
  1839. * ThemeWin32Classic.cs:
  1840. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  1841. * MdiClient.cs:
  1842. - Added a list of forms which contains the order the forms are
  1843. added to the mdi parent.
  1844. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  1845. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  1846. - If the active form changes set the scrollbars to the top
  1847. of the Z order, otherwise the form could hide them.
  1848. - Scrollbars are now sized according to ClientSize, not
  1849. to Size, and they take into account the other scrollbar
  1850. to determine maximum.
  1851. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1852. * XplatUI.cs:
  1853. * XplatUIDriver.cs:
  1854. * XplatUIX11.cs:
  1855. * XplatUIWin32.cs:
  1856. * XplatUIOSX.cs:
  1857. - Added RequestAdditionalWM_NCMessages for windows to
  1858. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  1859. Currently only implemented in XplatUIWin32.
  1860. 2006-11-27 Chris Toshok <[email protected]>
  1861. * Hwnd.cs: only add the hwnd to the windows hash in
  1862. set_WholeWindow and set_ClientWindow if whole_window/client_window
  1863. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  1864. 2006-11-27 Mike Kestner <[email protected]>
  1865. * ComboBox.cs: remove redundant OnDropDown call. It is called
  1866. from the ComboListBox.ShowWindow code. Fixes #79969.
  1867. 2006-11-27 Chris Toshok <[email protected]>
  1868. * Hwnd.cs: remove the setters for ExposePending and
  1869. NCExposePending - noone uses them.
  1870. 2006-11-27 Jackson Harper <[email protected]>
  1871. * TextControl.cs: new param for ReplaceSelection which determines
  1872. whether we select the new selection, or set the cursor to the end
  1873. of the new selection.
  1874. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  1875. pasting, select the new text.
  1876. * RichTextBox.cs: Use new param for ReplaceSelection.
  1877. 2006-11-27 Jackson Harper <[email protected]>
  1878. * TextBoxBase.cs: Set the selection to the caret after the caret
  1879. is moved, otherwise they get out of sync.
  1880. 2006-11-26 Everaldo Canuto <[email protected]>
  1881. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  1882. it fixes #80015
  1883. 2006-11-26 Everaldo Canuto <[email protected]>
  1884. * ThemeWin32Classic.cs:
  1885. - Fix toolbar drop down arrow position.
  1886. - Fix drop down appearance when ToolBar.Appearance is normal,
  1887. it fixes #80018.
  1888. 2006-11-26 Gert Driesen <[email protected]>
  1889. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  1890. * Control.cs: Same.
  1891. * UpDownBase.cs: Same.
  1892. * ButtonBase.cs: Same.
  1893. * ScrollBar.cs: Same.
  1894. * TrackBar.cs: Same.
  1895. * PictureBox.cs: Same.
  1896. * UserControl.cs: Same.
  1897. * Label.cs: Same.
  1898. * ListControl.cs: Same.
  1899. * TextBoxBase.cs: Same.
  1900. * ListView.cs: Same.
  1901. * RichTextBox.cs: Same.
  1902. * TreeView.cs: Same.
  1903. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  1904. * PrintDialog.cs:
  1905. - Text label for where
  1906. - Text label comment was not shown
  1907. 2006-11-23 Everaldo Canuto <[email protected]>
  1908. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  1909. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1910. * InternalWindowManager.cs:
  1911. - Handle WM_PARENTNOTIFY to activate the form
  1912. if any child control is clicked.
  1913. - The form is only sizable if not minimized.
  1914. * MdiWindowManager.cs:
  1915. - Save the IconicBounds if the form is moved.
  1916. - Rework SetWindowState, now the window bounds
  1917. are stored only if the old window state is Normal.
  1918. * MdiClient.cs:
  1919. - In SetWindowStates store the old window state if
  1920. the window is maximized and restore window state if
  1921. the window looses focus.
  1922. - Don't handle any scrollbar value changes if
  1923. initializing the scroll bars. Fixes #79771.
  1924. - Reworked ArrangeIconicWindows. Current algorithm
  1925. tests bounds agains all other minimized windows, if
  1926. any intersections create new bounds (going left to
  1927. right, bottom to top) and then test again. When
  1928. successful the bounds are saved and never computed
  1929. again. Fixes #79774.
  1930. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1931. * InternalWindowManager.cs: Added HandleTitleBarUp.
  1932. 2006-11-23 Gert Driesen <[email protected]>
  1933. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  1934. hexadecimal in ParseUserEdit.
  1935. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1936. * MdiWindowManager.cs:
  1937. - Handle a click on the form's icon to show the
  1938. system menu (when maximized). Fixes #79775.
  1939. - Change the existing click handler for the form's
  1940. icon when not maximized to show on MouseUp.
  1941. Fixes #79776.
  1942. * Form.cs: In OnResize only layout the mdi child's
  1943. parent if it actually has a parent. Might not if
  1944. the window is closing.
  1945. 2006-11-23 Gert Driesen <[email protected]>
  1946. * MdiClient.cs: Ignore active MDI client for text of parent, if
  1947. child has no text set.
  1948. 2006-11-23 Gert Driesen <[email protected]>
  1949. * ToolBar.cs: Fixed ToString to match MS.
  1950. 2006-11-22 Andreia Gaita <[email protected]>
  1951. * NumericUpDown:
  1952. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  1953. update inner values on set. Fixes #79966.
  1954. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  1955. - Fix hexadecimal parsing.
  1956. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  1957. parent. Fixes #79957
  1958. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  1959. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  1960. the actual size has to be queried, since if height /
  1961. width is negative Win32 changes it to 0.
  1962. Fixes #79999 on Windows.
  1963. * XplatUIX11.cs: Set height / width to 0 if negative
  1964. in SetWindowPos. Fixes #79999 on Linux.
  1965. 2006-11-22 Everaldo Canuto <[email protected]>
  1966. * ThemeWin32Classic.cs: Fix text redenring when button is
  1967. pressed.
  1968. 2006-11-22 Everaldo Canuto <[email protected]>
  1969. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  1970. and later navigate by mouse. Fixes #79528.
  1971. 2006-11-21 Everaldo Canuto <[email protected]>
  1972. * ToolBar.cs: Set default value for TabStop to false in
  1973. constructor, it fixes remaining behavior of bug #79863.
  1974. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  1975. * MdiWindowManager.cs:
  1976. * InternalWindowManager.cs:
  1977. - Moved a few methods specific to Mdi from
  1978. InternalWindowManager to MdiWindowManager.
  1979. Fixes #79996.
  1980. 2006-11-21 Chris Toshok <[email protected]>
  1981. * XplatUIOSX.cs: stub out InvalidateNC.
  1982. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  1983. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  1984. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  1985. * XplatUIDriver.cs: add InvalidateNC abstract method.
  1986. * XplatUI.cs: add InvalidateNC.
  1987. 2006-11-21 Everaldo Canuto <[email protected]>
  1988. * ToolBar.cs: Invalidate complete button area when pressed status
  1989. was changed.
  1990. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  1991. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  1992. by 1 when button is pressed.
  1993. 2006-11-20 Everaldo Canuto <[email protected]>
  1994. * ToolButton.cs: Invalidate middle of DropDown button when
  1995. ToolBar theres DropDownArrows.
  1996. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  1997. fix DropDown drawing operations.
  1998. 2006-11-20 Chris Toshok <[email protected]>
  1999. * NativeWindow.cs: fix the formatting of functions ('{' on the
  2000. following line), and enable the thread exception dialog.
  2001. * Application.cs: remove the duplicate exception catching from
  2002. here.
  2003. 2006-11-20 Everaldo Canuto <[email protected]>
  2004. * Toolbar.cs: Triggers button click event when click on icon
  2005. of dropdown ToolBarButton. Fixes #79912.
  2006. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  2007. * Theme.cs:
  2008. * ThemeWin32Classic.cs:
  2009. - Added a property WindowBorderFont to enable themeing
  2010. of mdi child windows' Text.
  2011. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  2012. * InternalWindowManager.cs:
  2013. * Form.cs:
  2014. * MdiClient.cs:
  2015. * MdiWindowManager.cs:
  2016. - If mdi child is maximized, set mdi parent's
  2017. text to "Parent - [Child]". Fixes #79770.
  2018. - If there is any maximized mdi child windows, only the active
  2019. window (and any new windows) is maximized, the rest are normal.
  2020. - On a WindowState change only save mdi child's window bounds
  2021. if the old window state was normal. Fixes #79774.
  2022. - The scroll bars are now calculated on hopefully all
  2023. necessary events. Fixed #79771 / #79844->6 / #79906.
  2024. - MdiClient.SizeScrollBars() now takes into account docked
  2025. controls in the parent when calculating available space.
  2026. - InternalWindowManager now always repaints the entire title
  2027. area. Fixes #79844->1/4/5.
  2028. - Added RequestNCRecalc on mdi child windowstate changes.
  2029. Fixes #79772.
  2030. 2006-11-20 Mike Kestner <[email protected]>
  2031. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  2032. in the MouseUp handler of the listbox and move the return handling
  2033. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  2034. 2006-11-20 Everaldo Canuto <[email protected]>
  2035. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  2036. 2006-11-17 Alexander Olk <[email protected]>
  2037. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  2038. working in 1.2.x anymore. So, updated.
  2039. 2006-11-19 Gert Driesen <[email protected]>
  2040. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  2041. NumberGroupSeparator of current culture instead of assuming en-US.
  2042. Fixed bug #79967.
  2043. 2006-11-17 Mike Kestner <[email protected]>
  2044. * Control.cs: Add the concept of implicit bounds setting so that
  2045. dock/undock round trips preserve explicitly set size/locations.
  2046. Fixes #79313.
  2047. 2006-11-17 Alexander Olk <[email protected]>
  2048. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  2049. can't handle those filters. (Fixes bug #79961)
  2050. 2006-11-17 Chris Toshok <[email protected]>
  2051. [ fixes the exit/crashes associated with #79835. it's clearly
  2052. suboptimal though, we need to figure out a better way to solve
  2053. this. ]
  2054. * PrintPreviewControl.cs: deal with the new invalid printer
  2055. exceptions.
  2056. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  2057. and return false (so CommonDialog.ShowDialog doesn't actually show
  2058. the form.)
  2059. * PrintDialog.cs: enable/disable the Ok button depending on
  2060. whether or not the printer is valid.
  2061. * CommonDialog.cs (ShowDialog): only actually show the form if
  2062. RunDialog returns true.
  2063. 2006-11-17 Jackson Harper <[email protected]>
  2064. * TextControl.cs: When soft splitting a line, mark it as a soft
  2065. split line. Also carry over the current line break to the next
  2066. line.
  2067. 2006-11-17 Chris Toshok <[email protected]>
  2068. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  2069. only want to shift the part of the invalid area that overlaps the
  2070. area we're scrolling. we also don't want to clear the invalid
  2071. area unless the invalid area was entirely contained within the
  2072. scrolling area.
  2073. 2006-11-16 Chris Toshok <[email protected]>
  2074. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  2075. also make sure to free the memory returned by XGetWindowProperty
  2076. in GetText().
  2077. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  2078. 2006-11-16 Chris Toshok <[email protected]>
  2079. * XplatUI.cs: add a new super secret way to get at the totally
  2080. unsupported X11 backend.
  2081. 2006-11-16 Gert Driesen <[email protected]>
  2082. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  2083. 2006-11-16 Jackson Harper <[email protected]>
  2084. * TreeView.cs: Allow more explicit setting of top node position
  2085. for scrollbars. Slower algo, but more accurate.
  2086. - CollapseAll should maintain the current top node.
  2087. * TextBoxBase.cs: When positioning the caret, use the line, pos
  2088. method, since the x, y method does not grab the correct tag, and
  2089. the caret height never gets set correctly. (Maybe I should just do
  2090. away with the caret having its own height, and always use the
  2091. carets current tag for height).
  2092. 2006-11-16 Jonathan Pobst <[email protected]
  2093. [Fixes 79778, 79923]
  2094. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  2095. Parent to the FosterParent instead.
  2096. 2006-11-16 Jackson Harper <[email protected]>
  2097. * TreeView.cs: Need to recalc the topnode when we expand or
  2098. collapse. The scrolling methods can't handle this on their own,
  2099. since they use differences between the last scroll position, and
  2100. those difference get completely messed up since we are expanding
  2101. nodes. This problem should probably be fixed in the scrolling
  2102. methods, so they can figure out exactly where they are, but this
  2103. will slow things down a little.
  2104. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  2105. strings, makes nunit-gui look a lot nicer.
  2106. 2006-11-16 Chris Toshok <[email protected]>
  2107. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  2108. the broken multithreaded event handling we have in here. File
  2109. this entry under "Why we should move to the new X11 backend".
  2110. Any thread can make it into UpdateMessageQueue, which gets events
  2111. from the X socket - some of which could belong to hwnds being
  2112. managed by a different thread. We can also have multiple threads
  2113. in UpdateMessageQueue at the same time, with each one reading from
  2114. the X socket. This leads to many problems, with the following
  2115. solutions:
  2116. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  2117. EnqueueLocked.
  2118. The MotionNotify compression we do can't work across threads
  2119. (without locking the entire queue, perhaps) since we call
  2120. hwnd.Queue.Peek, so we just punt and don't compress motion events
  2121. unless the owning thread is the one which got the X event.
  2122. ConfigureNotify is another fun one, since it modifies the hwnd's
  2123. bounds and then enqueues the event. We add a lock to Hwnd which
  2124. is held when setting configure_pending to true (and enqueuing the
  2125. event).
  2126. There is a race wrt the wake socket. we need to make sure that
  2127. only 1 thread is waiting on that socket, or else a thread could
  2128. sleep waiting for data that never comes. It's difficult (but not
  2129. impossible) to make happen, because it seems to require something
  2130. like the following:
  2131. 1. Thread 1 polls on wake_receive
  2132. 2. poll returns saying there's data to be read on
  2133. wake_receive.
  2134. 3. Thread 2 polls on wake_receive and immediately returns
  2135. saying there's data to be read.
  2136. 4. Thread 2 reads the wakeup byte from wake_receive
  2137. 5. Thread 1 attempts to read the wakeup byte from
  2138. wake_receive.
  2139. 6. Thread 2 exits (due to a form closing, perhaps).
  2140. 7. Thread 1 blocks forever.
  2141. Fun, eh?
  2142. Fixing the Expose handling isn't done yet, and the races inherent
  2143. in that piece of code are responsible for the drawing mistakes you
  2144. see when generating expose events in a MT app (like NPlot). This
  2145. one is the likely to be the hardest to bandaid, and it doesn't
  2146. appear to cause anything but drawing problems. The other issues
  2147. caused apps to exit or hang.
  2148. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  2149. called from a different thread than the one that should be calling
  2150. these functions.
  2151. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  2152. 2006-11-15 Chris Toshok <[email protected]>
  2153. * Application.cs: null out the context's MainForm when we exit
  2154. RunLoop. Fixes a newly checked in unit test as well as the last
  2155. ODE from bug #79933.
  2156. 2006-11-15 Chris Toshok <[email protected]>
  2157. * Form.cs (set_Owner): allow a null value so we can clear the
  2158. form's owner.
  2159. (Dispose): set all our owned_form's Owner properties to null, and
  2160. clear the owned_forms collection.
  2161. (WM_CLOSE): clean up this a little bit.. still not right though.
  2162. * ApplicationContext.cs: OnMainFormClosed should only call
  2163. ExitThreadCore if the main form isn't recreating. Fixes unit
  2164. test.
  2165. 2006-11-15 Jonathan Pobst <[email protected]>
  2166. [Fixes 78346]
  2167. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  2168. 2006-11-15 Jonathan Pobst <[email protected]>
  2169. [Fixes 79433]
  2170. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  2171. keep popup window types from stealing focus from the main form
  2172. on Windows.
  2173. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  2174. * MenuAPI.cs: Set above flag to true.
  2175. 2006-11-15 Chris Toshok <[email protected]>
  2176. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  2177. the button being released is not in wParam.
  2178. 2006-11-15 Jonathan Pobst <[email protected]>
  2179. * Form.cs: Add the released button to MouseEventArgs.Button
  2180. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  2181. on Win32.
  2182. 2006-11-15 Chris Toshok <[email protected]>
  2183. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  2184. GetText(). untested because it's unused in our implementation.
  2185. Control.Text always caches the text, even if
  2186. ControlStyles.CacheText is not set.
  2187. fixes bug #79939.
  2188. 2006-11-15 Chris Toshok <[email protected]>
  2189. [ fixes #79933 ]
  2190. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  2191. message. no hiding, no disposing.
  2192. in the WM_CLOSE handler, hide the form if it's modal.
  2193. 2006-11-15 Chris Toshok <[email protected]>
  2194. * XplatUIX11.cs: use AddExpose instead of sending a message.
  2195. fixes textbox border drawing.
  2196. 2006-11-15 Chris Toshok <[email protected]>
  2197. * PropertyGridView.cs: keep from crashing on mouse move/down when
  2198. the property grid is empty.
  2199. 2006-11-14 Jackson Harper <[email protected]>
  2200. * TextControl.cs: Make PageUp and PageDown more like the MS
  2201. versions.
  2202. * TextBoxBase.cs: When we set the text property position the
  2203. cursor at the beginning of the document.
  2204. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  2205. * Form.cs: if a mdi child's WindowState has changed
  2206. before it's creation, it would display wrong control
  2207. buttons.
  2208. 2006-11-14 Alexander Olk <[email protected]>
  2209. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  2210. (Fixes bug #79927)
  2211. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  2212. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  2213. the window gets to paint its borders even if the window is
  2214. getting smaller.
  2215. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  2216. otherwise the old control buttons would still be painted
  2217. if the window gets bigger.
  2218. * PaintEventArgs.cs: add an internal method so that the clip
  2219. rectangle can be changed.
  2220. 2006-11-13 Chris Toshok <[email protected]>
  2221. [ fixes bug #79745 ]
  2222. * NotifyIcon.cs: lots of cleanup.
  2223. * X11Structs.cs: add an enum for XEMBED messages.
  2224. * XplatUIX11.cs: reindent one of the giant switch statements, it
  2225. was taking up an additional tab stop, and this file is already way
  2226. too wide for my laptop's screen.
  2227. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  2228. we get it, resize the hwnd to the WMNormalHints max_width/height.
  2229. 2006-11-13 Jackson Harper <[email protected]>
  2230. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  2231. teh simple way.
  2232. 2006-11-13 Chris Toshok <[email protected]>
  2233. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  2234. #79898. force a reference to the Region to stick around so the
  2235. unmanaged object isn't collected (rendering our handle in the MSG
  2236. stale).
  2237. 2006-11-13 Chris Toshok <[email protected]>
  2238. * XplatUIX11.cs: fix #79917 for window managers which support
  2239. using XStoreName on the raw utf8, and we need to convert to
  2240. COMPOUND_TEXT if it's non-latin1.
  2241. 2006-11-13 Chris Toshok <[email protected]>
  2242. * Form.cs (set_DialogResult): we need to set closing to false if
  2243. we're setting our result to None. fixes bug #79908.
  2244. 2006-11-13 Jackson Harper <[email protected]>
  2245. * TextControl.cs: When formatting text, compute the adjusted tag
  2246. lengths correctly, using FindTag for the end tag instead of trying
  2247. to figure it out outselves.
  2248. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  2249. the item, ItemHeight doesn't work, because trees with large
  2250. imagelists use those for their height
  2251. * TreeView.cs: ActualItemHeight factors in the image height
  2252. - compute left edge of checkboxes correctly
  2253. - when expanding/collapsing move the bottom down one pixel, so we
  2254. aren't moving part of the node
  2255. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  2256. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  2257. stack in PaintEventStart so that it won't get disposed by the gc
  2258. before reaching PaintEventEnd.
  2259. 2006-11-13 Jackson Harper <[email protected]>
  2260. * TextBoxBase.cs: Don't select the word if we are on a line with
  2261. no text.
  2262. - We don't need to position the caret on mouse up, since the mouse
  2263. move handler should be doing this
  2264. - When double clicking a blank line, the caret is advanced to the
  2265. next line.
  2266. 2006-11-13 Gert Driesen <[email protected]>
  2267. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  2268. 2006-11-12 Gert Driesen <[email protected]>
  2269. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  2270. Fixes part of bug #79910.
  2271. 2006-11-11 Alexander Olk <[email protected]>
  2272. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  2273. (bug #79903). Some minor string updates to match ms.
  2274. 2006-11-10 Alexander Olk <[email protected]>
  2275. * FileDialog.cs: Don't add an extension if the filename
  2276. already ends with that extension.
  2277. 2006-11-10 Jackson Harper <[email protected]>
  2278. * TreeView.cs: Use the currently highlighted node for the
  2279. BeforeSelect event.
  2280. * TextBoxBase.cs: There is no need to expand selection on
  2281. MouseMove.
  2282. - CanUndo means 'is there any undo operations', not 'is undo
  2283. allowed on this textcontrol. Fixed ClearUndo unit test.
  2284. 2006-11-10 Andreia Gaita <[email protected]>
  2285. * Button.cs: only perform click when button is Selectable (so as
  2286. not to activate default buttons when they're disabled)
  2287. * Control.cs: Rewrite of the SelectNextControl and related
  2288. methods. HandleClick now selects next control if the current one
  2289. is being disabled.
  2290. * Form.cs: OnActivated selects next active control only if Load
  2291. has already occurred. If Load hasn't run, there's no point in
  2292. selecting here, Load might change the state of controls.
  2293. * FocusTest.cs: Tests marked as working again for these fixes
  2294. 2006-11-10 Chris Toshok <[email protected]>
  2295. * XplatUIX11.cs: a couple of fixes.
  2296. - use XInternAtoms with almost all the atoms we need to register,
  2297. instead of many, many calls to XInternAtom. should help a bit on
  2298. startup time, at the expense of making the code look a little
  2299. worse.
  2300. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  2301. isn't reparented (which seems to be a clue that we're running fon
  2302. compiz) and they have an Owner form. This fixes the tool windows
  2303. in paint.net when running under compiz.
  2304. - when setting the opacity of a window, support both the case
  2305. where the window has been reparented and also when it hasn't been.
  2306. Since compiz/beryl doesn't seem to reparent windows, and these are
  2307. the only window managers which support translucency, I'm not sure
  2308. why we need the hwnd.reparented case at all.. but leave it in.
  2309. now we get translucent windows in paint.net under compiz/beryl.
  2310. 2006-11-10 Alexander Olk <[email protected]>
  2311. * FileDialog.cs: Always return the value for FilterIndex that
  2312. was set. Internally convert it to values that make sense.
  2313. 2006-11-10 Everaldo Canuto <[email protected]>
  2314. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  2315. 2006-11-10 Everaldo Canuto <[email protected]>
  2316. * Toolbar.cs: Change default value of DropDownArrows to true, the
  2317. signature still using false to make it compatible with MS but the
  2318. initial value is true. Fixes #79855.
  2319. 2006-11-10 Alexander Olk <[email protected]>
  2320. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  2321. only available on Linux.
  2322. 2006-11-09 Everaldo Canuto <[email protected]>
  2323. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  2324. reduce number of calls to redraw method during toolbar creation.
  2325. 2006-11-09 Mike Kestner <[email protected]>
  2326. * ListView.cs : raise SelectedIndexChanged when an item is selected
  2327. programmatically via the Item.Selected property. Gert's nice
  2328. ListViewSelectedIndexChanged test fixture now runs clean.
  2329. 2006-11-09 Mike Kestner <[email protected]>
  2330. * ListView.cs : raise SelectedIndexChanged when a selected item is
  2331. removed from the item collection using Remove or RemoveAt.
  2332. 2006-11-09 Mike Kestner <[email protected]>
  2333. * ListView.cs : raise SelectedIndexChanged once per selected item
  2334. for compat with MS. Fixes #79849+.
  2335. 2006-11-09 Chris Toshok <[email protected]>
  2336. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  2337. we need to (if we have any tab pages). Fixes unit test.
  2338. 2006-11-09 Chris Toshok <[email protected]>
  2339. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  2340. width is 0, not 3. Fixes a unit test.
  2341. 2006-11-09 Mike Kestner <[email protected]>
  2342. * ListView.cs : use Implicit scrollbars so that focus isn't
  2343. stolen from the listview when they are clicked. Fixes #79850.
  2344. 2006-11-09 Chris Toshok <[email protected]>
  2345. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  2346. have a root item. Fixes #79879.
  2347. 2006-11-09 Alexander Olk <[email protected]>
  2348. * FileDialog.cs:
  2349. - Fix ToString ()
  2350. - An ArgumentException is now thrown if a wrong filter
  2351. is applied (matches ms). The previous filter doesn't change
  2352. anymore if an exception is thrown.
  2353. - Changing the FileName property also affects FileNames
  2354. * ColorDialog.cs: The length of the CustomColors array is always
  2355. 16. It doesn't matter if we use a smaller array or null to update
  2356. or change the custom colors property.
  2357. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  2358. for RootFolder if we get a undefined value.
  2359. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  2360. * StatusBarPanel.cs:
  2361. - Width is set to MinWidth if Width is smaller than
  2362. MinWidth. Fixes #79842.
  2363. - MinWidth now always overrides Width (MSDN says MinWidth
  2364. is set to Width when AutoSize = None, but they do not
  2365. behave like that).
  2366. - Style has now the the correct default value.
  2367. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  2368. * TrackBar.cs:
  2369. - The control is completely invalidated on
  2370. Got/LostFocus to draw the focus rectangle correctly.
  2371. - When AutoSize then height is always 45 (width for
  2372. vertical controls).
  2373. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  2374. on the mouse when moved and it doesn't move when grabbed
  2375. until the mouse moves as well. Also fixed some wrong
  2376. calculations when clicking on the thumb (control thought
  2377. click was outside of thumb and didn't grab it).
  2378. Fixes some of the issues in #79718.
  2379. 2006-11-08 Everaldo Canuto <[email protected]>
  2380. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  2381. 2006-11-08 Chris Toshok <[email protected]>
  2382. * PropertyGridView.cs: only call ToggleValue if the item is not
  2383. readonly.
  2384. 2006-11-08 Jackson Harper <[email protected]>
  2385. * TextBoxBase.cs: The RichTextBox and textbox have very different
  2386. word selection methods. Implement the textbox's simple word
  2387. selection here, and let the RichTextBox override and provide it's
  2388. own.
  2389. - Don't do extra selection on mouseup
  2390. * RichTextBox.cs: Use the documents word selection algorithm, I
  2391. think ideally, this function will be pulled into the
  2392. RichTextBox.cs code someday.
  2393. 2006-11-08 Chris Toshok <[email protected]>
  2394. * RootGridEntry.cs: new class to represent GridItemType.Root.
  2395. * CategoryGridEntry.cs: reformat, and add boilerplate.
  2396. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  2397. returns the UI parent anyway, and we need special handling to
  2398. implement the GetTarget method in the face of it. Also, implement
  2399. Select().
  2400. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  2401. a root grid item, and use that instead of PropertyGrid.grid_items.
  2402. Also, make use of TypeConverters (and add limitted support for
  2403. ICustomTypeDescriptors) when initially populating the grid.
  2404. Arrays now show up more or less properly.
  2405. 2006-11-08 Chris Toshok <[email protected]>
  2406. * Application.cs: set the modal dialog to non modal after we close
  2407. it. Fixes bug #79866.
  2408. 2006-11-08 Jackson Harper <[email protected]>
  2409. * TextControl.cs: When combining lines carry over the line end
  2410. style from the end line.
  2411. - Invalidate the selected area when setting it, if it is visible.
  2412. * TextBoxBase.cs: Only rich text box can do full line selects.
  2413. - Make sure to set the cursor position when there is a click,
  2414. otherwise two clicks in separate areas could cause a large chunk
  2415. to be selected.
  2416. 2006-11-07 Everaldo Canuto <[email protected]>
  2417. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  2418. Fixes #79863.
  2419. 2006-11-07 Everaldo Canuto <[email protected]>
  2420. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  2421. time. Remove tooltips when ToolButton click events. Fixes #79856.
  2422. 2006-11-07 Everaldo Canuto <[email protected]>
  2423. * MenuAPI.cs: Ignore right click for menu actions and fixes
  2424. menu border when clicked. Fixes #79846.
  2425. 2006-11-07 Everaldo Canuto <[email protected]>
  2426. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  2427. MouseState after create wParam for message, this fixes mouse button
  2428. equal none in mouse up events.
  2429. 2006-11-07 Andreia Gaita <[email protected]>
  2430. * Control.cs : Focus() now calls Select to set the Container's
  2431. Active Control and to give it focus. To avoid infinite recursion
  2432. (because ActiveControl also calls Focus at one point), a check
  2433. is made in Focus with the help of a new internal variable
  2434. is_focusing.
  2435. 2006-11-07 Mike Kestner <[email protected]>
  2436. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  2437. if there's a selection. Fixes #79849.
  2438. 2006-11-07 Gert Driesen <[email protected]>
  2439. * PropertyGrid.cs: Avoid fixed height of help description label.
  2440. Fixes part of bug #79829.
  2441. 2006-11-07 Chris Toshok <[email protected]>
  2442. * XplatUIX11.cs: fix #79790 again, by using the
  2443. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  2444. 2006-11-07 Everaldo Canuto <[email protected]>
  2445. * ToolBar.cs: Fix left click checking.
  2446. 2006-11-07 Chris Toshok <[email protected]>
  2447. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  2448. 2006-11-07 Chris Toshok <[email protected]>
  2449. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  2450. PropertyManager unit tests.
  2451. * PropertyManager.cs: make property_name internal.
  2452. 2006-11-07 Chris Toshok <[email protected]>
  2453. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  2454. pass a unit test. Also, don't set image_index to anything in
  2455. response to setting the ImageList property.
  2456. 2006-11-07 Everaldo Canuto <[email protected]>
  2457. * ToolBar.cs: Ignore click events when mouse button is not a
  2458. left button, only accepts other button for dropdown menus.
  2459. Fixes #79854.
  2460. 2006-11-07 Chris Toshok <[email protected]>
  2461. * DataGrid.cs: make the back and parent row buttons a little less
  2462. ugly.
  2463. 2006-11-07 Jackson Harper <[email protected]>
  2464. * TextBoxBase.cs: When converting to Text don't put line breaks in
  2465. for soft line breaks.
  2466. * TextControl.cs: There is an initial "fake" line in the document,
  2467. this is now a soft break line, so that an extra line feed doesn't
  2468. get added to the end of documents.
  2469. 2006-11-07 Chris Toshok <[email protected]>
  2470. [ fix bug #79778 ]
  2471. * CurrencyManager.cs: if the list is readonly, don't bother
  2472. checking if IBindingList.AllowNew is true.
  2473. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  2474. for non-DataRowView datasources.. or rather, make it not crash.
  2475. (DataGridPaintRelationRow): make sure we limit the row painting to
  2476. the area not covered by the row header, and make our cell width at
  2477. least large enough to cover the relation area. This allows grids
  2478. that have relations but no rows to render correctly.
  2479. (DataGridPaintRowContents): same type of changes here.
  2480. (SetDataSource): move back to always calling
  2481. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  2482. navigating back through relations.
  2483. (HitTest): handle the case where we have no cells but have
  2484. relations. Right now we generate a hit in cell 0 of whatever the
  2485. row is, not sure if this is strictly correct, but it works for our
  2486. purposes.
  2487. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  2488. bother doing anything.
  2489. 2006-11-07 Jonathan Pobst <[email protected]>
  2490. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  2491. early version of StatusStrip. Not responsible for eaten
  2492. application or firstborn children.
  2493. 2006-11-06 Chris Toshok <[email protected]>
  2494. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  2495. call GetTabRect with a -1 index. Fixes #79847.
  2496. 2006-11-06 Jackson Harper <[email protected]>
  2497. * TreeNodeCollection.cs: Update scrollbars after clearing.
  2498. 2006-11-06 Chris Toshok <[email protected]>
  2499. * NumericUpDown.cs: fix the ToString method for some unit test
  2500. love.
  2501. 2006-11-06 Chris Toshok <[email protected]>
  2502. * PropertyGrid.cs:
  2503. - set the initial SelectedGridItem if we can.
  2504. - Exclude non-mergable properties only if we're merging > 1
  2505. object. Merging 1 object isn't really merging, obviously.
  2506. - Handle PropertySort.NoSort just like Alphabetical, which is
  2507. wrong of course, but at least gets things on the screen.
  2508. * PropertyGridView.cs:
  2509. - Add method "FindFirstItem" which finds the first property grid
  2510. item, so we can select it by default.
  2511. - make use of GridEntry.CanResetValue.
  2512. - Don't call RedrawBelowItemOnExpansion here anymore, the
  2513. individual GridEntry's will do that.
  2514. - Remove the ITypeDescriptorContextImpl internal class.
  2515. * GridEntry.cs:
  2516. - this class needs to implement ITypeDescriptorContext, as it's
  2517. what MS's PropertyDescriptorGridEntry does, which means we can
  2518. remove the ITypeDescriptorContextImpl internal class from
  2519. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  2520. - keep a reference to our PropertyGridView, and move the call to
  2521. RedrawBelowItemOnExpansion here from PGV. This means
  2522. programmaticly setting Expanded actually does something visible.
  2523. - add a CanResetValue() function which takes into account our
  2524. possibly multiple "selected_objects" in the merged case. Shifting
  2525. PropertyGridView to use this method fixes another unreported
  2526. crasher found running the test for #79829.
  2527. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  2528. is updated to reflect this.
  2529. * CategoryGridEntry.cs: the ctor takes the PGV now.
  2530. 2006-11-06 Jackson Harper <[email protected]>
  2531. * TextControl.cs: These are 1 based.
  2532. * TextBoxBase.cs: When setting the selected text, don't change the
  2533. selected text tags, this is done by ReplaceText, just position the
  2534. cursor at the end of the new text.
  2535. 2006-11-06 Alexander Olk <[email protected]>
  2536. * ListView.cs: Allow label edit only when, when LabelEdit is
  2537. set to true.
  2538. 2006-11-06 Jackson Harper <[email protected]>
  2539. * TextControl.cs: If a suitable wrapping position isn't found,
  2540. just wrap right in the middle of a word.
  2541. 2006-11-06 Alexander Olk <[email protected]>
  2542. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  2543. bug #79820.
  2544. 2006-11-06 Jackson Harper <[email protected]>
  2545. * TreeView.cs: Can't use the VisibleCount property when setting
  2546. scrollbar heights, because this doesn't take into account whether
  2547. or not the horz scrollbar just came visible.
  2548. 2006-11-05 Everaldo Canuto <[email protected]>
  2549. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  2550. activated. Fixes #79369, #79832.
  2551. 2006-11-05 Alexander Olk <[email protected]>
  2552. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  2553. had to remove support for links that point to a directory. FileInfo
  2554. returns no usefull information (means, the directory they point to)
  2555. for such links. Replaced some empty string ("") with String.Empty.
  2556. 2006-11-04 Gert Driesen <[email protected]>
  2557. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  2558. NullReferenceException when attempting to remove node that is not in
  2559. collection. Throw NullReferenceException when null is passed to
  2560. Remove. Allow first element of the collection to be removed. Fixes
  2561. bug #79831. In GetEnumerator ().Current return null if positioned
  2562. before the first element of the collection. In GetEnumerator ().Reset,
  2563. position before first element of the collection.
  2564. 2006-11-04 Gert Driesen <[email protected]>
  2565. * PropertyGrid.cs: To match MS, remove default title and description
  2566. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  2567. buttons.
  2568. 2006-11-04 Chris Toshok <[email protected]>
  2569. * Theme.cs: add a Clamp method, just for kicks.
  2570. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  2571. 2006-11-04 Chris Toshok <[email protected]>
  2572. * Form.cs: if the form isn't visible, Close() does nothing.
  2573. 2006-11-03 Chris Toshok <[email protected]>
  2574. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  2575. Hide it.
  2576. (WndProc): don't Dispose after handling the WM_CLOSE message.
  2577. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  2578. them as such, instead of using casts from Control to Form. Also,
  2579. don't Dispose of the modal dialog when we fall out of the loop -
  2580. Close() it instead.
  2581. fixes bug #79813.
  2582. 2006-11-03 Chris Toshok <[email protected]>
  2583. * Control.cs (Dispose): only go through the dispose thing if we're
  2584. @disposing, and we haven't already been disposed. Fixes bug
  2585. #79814.
  2586. * Form.cs: no reason to call "base.Dispose()" here instead of
  2587. "Dispose()".
  2588. 2006-11-03 Mike Kestner <[email protected]>
  2589. * ComboBox.cs : use ToString instead of casts in AddItem for
  2590. sorting functionality. Fixes #79812.
  2591. 2006-11-03 Chris Toshok <[email protected]>
  2592. * Application.cs: pave the way for actually using the thread
  2593. exception dialog. it's ifdefed out at the moment.
  2594. 2006-11-03 Chris Toshok <[email protected]>
  2595. * ThreadExceptionDialog.cs: until we get a better layout, actually
  2596. hide the details textbox and label when we shouldn't see them.
  2597. 2006-11-03 Jackson Harper <[email protected]>
  2598. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  2599. multiline textboxes anymore. This method also determines the
  2600. width/height of a textboxes canvas area.
  2601. - Sorta a revert of the last patch. For multiline just position
  2602. the controls, then bail. This way the scrollbar width won't be
  2603. altered.
  2604. 2006-11-03 Everaldo Canuto <[email protected]>
  2605. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  2606. it dont need. Fixes #79537.
  2607. 2006-11-02 Jackson Harper <[email protected]>
  2608. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  2609. send the status after firing the DndOver event.
  2610. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2611. * TrackBar.cs: Now orientation only switches height / width if
  2612. the control's handle is created (Win32 does it like this). Also
  2613. fixed a typo in ToString() for a test to pass, changed the
  2614. exception thrown in set_LargeChange and set_SmallChange to
  2615. match Win32 behaviour, and added TrackBar tests to the unit
  2616. tests.
  2617. 2006-11-02 Chris Toshok <[email protected]>
  2618. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  2619. not _NET_WM_STATE_NO_TASKBAR.
  2620. 2006-11-02 Jackson Harper <[email protected]>
  2621. * TextControl.cs: Increment count by one, since in the update view
  2622. count - 1 is used.
  2623. 2006-11-02 Jackson Harper <[email protected]>
  2624. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  2625. the mouse is in the client rectangle (duh).
  2626. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2627. * TrackBar.cs: Fixed trackbar jumping around when clicking
  2628. on it - the trackbar was not detecting correctly at which
  2629. side of the thumb the click was done. (fixes #79718)
  2630. 2006-11-02 Everaldo Canuto <[email protected]>
  2631. * ListBox.cs: scroll visible area when change SelectedIndex to
  2632. a non visible area. Fixes #79481.
  2633. 2006-11-01 Jackson Harper <[email protected]>
  2634. * TextControl.cs: When replacing the selection move the selection
  2635. start/end/anchor to the end of the new text.
  2636. 2006-11-01 Jackson Harper <[email protected]>
  2637. * XplatUIWin32.cs: When setting the parent change the controls
  2638. visibility to it's visibility flag, not to it's old parents
  2639. visibility (.Visible walks the parent chain).
  2640. 2006-11-01 Chris Toshok <[email protected]>
  2641. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  2642. XSetTransientForHint fix breaks paint .net's tool windows. more
  2643. work needed for that one.
  2644. 2006-11-01 Chris Toshok <[email protected]>
  2645. * ScrollBar.cs: throw ArgumentException instead of Exception in
  2646. LargeChange/SmallChange setters. fixes unit tests.
  2647. 2006-10-31 Andreia Gaita <[email protected]>
  2648. * ContainerControl.cs: reverted rev.67183 (which was itself
  2649. a reversion of rev.66853... eh).
  2650. * Control.cs: Fixes Reflector hang by changing Focus() call
  2651. to what it was before rev.66643 (calling Select() here sets
  2652. ActiveControl, which in some situations calls back Focus and
  2653. eventually does a stack overflow). Temp fix.
  2654. Changes to GetNextControl() to not look for children to select when
  2655. parent cannot be selectable (so it looks for siblings instead)
  2656. 2006-10-31 Mike Kestner <[email protected]>
  2657. * CheckedListBox.cs : off by one error in returned index from
  2658. ObjectCollection.Add. Fixes #79758.
  2659. 2006-10-31 Chris Toshok <[email protected]>
  2660. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  2661. calls for the textbox/spinner, to keep from recursing to the point
  2662. where we crash. Fixes #79760.
  2663. 2006-10-31 Chris Toshok <[email protected]>
  2664. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  2665. null/"" value, just return. matches ms's behavior and fixes some
  2666. failing tests.
  2667. 2006-10-31 Chris Toshok <[email protected]>
  2668. * Control.cs (set_Capture): make a logic a little easier to
  2669. follow.
  2670. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  2671. if it's being destroyed. A necessary fix surely, but a bandaid
  2672. also, to fix the stuck capture problem in bug #78413.
  2673. 2006-10-31 Chris Toshok <[email protected]>
  2674. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  2675. convention of clearing hwnd.ClientRect when we set the
  2676. width/height (so it'll be recalculated by Hwnd).
  2677. 2006-10-31 Andreia Gaita <[email protected]>
  2678. * ContainerControl.cs: reversed Contains check from
  2679. ActiveControl due to hanging problems. This fix
  2680. partly regresses #79667 (button does not have
  2681. initial focus), so this might be a symptom for
  2682. a larger parenting problem (set_ActiveControl
  2683. is being called but the child control does
  2684. not have the parent set yet?)
  2685. 2006-10-31 Mike Kestner <[email protected]>
  2686. * MenuAPI.cs : fix keynav when menu is click activated.
  2687. 2006-10-31 Jonathan Pobst <[email protected]>
  2688. * ToolStrip*: Version 0.2.
  2689. * MenuStrip.cs: Version 0.1.
  2690. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  2691. 2006-10-30 Chris Toshok <[email protected]>
  2692. [ fixes the oversized notify icon issue in bug #79745 ]
  2693. * NotifyIcon.cs: scale the icon down to the size we're given by
  2694. the XplatUI layer (this would be faster if we did it once instead
  2695. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  2696. since it's never invoked.
  2697. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  2698. pixels high by default, so let's hardcode our systray icon to that
  2699. size. The SYSTEM_TRAY protocol should really have a way for
  2700. client apps to query for the correct icon size.. but oh well. A
  2701. couple of patches to deal with the screwy client_window ==
  2702. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  2703. instance, and also make sure we don't XSelectInput twice).
  2704. 2006-10-30 Chris Toshok <[email protected]>
  2705. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  2706. recreating forms. Control recreation is the bane of my existence.
  2707. Fix it in a way that keeps everyone happy.
  2708. 2006-10-30 Chris Toshok <[email protected]>
  2709. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  2710. just non-CHILD ones. otherwise sometimes scrollbars end up with
  2711. client_windows not being resized to the proper size (ReportBuilder
  2712. shows this extremely well).
  2713. 2006-10-30 Chris Toshok <[email protected]>
  2714. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  2715. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  2716. showing up in the gnome taskbar. Fixes bug #79790.
  2717. 2006-10-30 Chris Toshok <[email protected]>
  2718. * ApplicationContext.cs: guard against a NRE.
  2719. * Application.cs: null out the old MainForm for the context, so we
  2720. don't try to use it again once it's disposed. Fixes bug #79783.
  2721. 2006-10-30 Chris Toshok <[email protected]>
  2722. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  2723. BindingContext, set the data source directly, otherwise do the
  2724. lazy approach - the actual ListManager will be created when we get
  2725. a BindingContext. Fixes bug #79700.
  2726. 2006-10-30 Jonathan Pobst <[email protected]>
  2727. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  2728. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  2729. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  2730. 2006-10-30 Jonathan Pobst <[email protected]>
  2731. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  2732. of SetVisible that allows a window to be shown, but not activated.
  2733. This is needed on Windows for MenuStrip, and can probably be used
  2734. with MainMenu and ComboBox to fix the focus stealing issues on
  2735. Windows.
  2736. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  2737. 2006-10-30 Alexander Olk <[email protected]>
  2738. * PictureBox.cs: Fix the output of the ToString method.
  2739. 2006-10-29 Chris Toshok <[email protected]>
  2740. * Control.cs (get_TopLevelControl): fix bug #79781.
  2741. 2006-10-29 Chris Toshok <[email protected]>
  2742. * ListControl.cs (set_DataSource): throw Exception here, not
  2743. ArgumentException, to match MS behavior.
  2744. 2006-10-29 Chris Toshok <[email protected]>
  2745. * Form.cs: remove the try-catch's around calls to GetWindowState.
  2746. We can just check the return value.
  2747. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  2748. Instead return -1.
  2749. * XplatUI.cs: Add note about additional return value for
  2750. GetWindowState.
  2751. 2006-10-29 Chris Toshok <[email protected]>
  2752. * Control.cs (CreateHandle): when we create our handle, we also
  2753. create the handles of our child controls. Fixes one of the
  2754. Control unit tests (CH11).
  2755. 2006-10-28 Alexander Olk <[email protected]>
  2756. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  2757. 2006-10-28 Alexander Olk <[email protected]>
  2758. * ThemeClearlooks.cs: A little speedup.
  2759. 2006-10-27 Chris Toshok <[email protected]>
  2760. * Control.cs: implement Control.FromChildHandle in a way that
  2761. matches the docs (and fixes the failed test.)
  2762. 2006-10-27 Chris Toshok <[email protected]>
  2763. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  2764. comments).
  2765. * DataGrid.cs: implement ResetForeColor such that the tests
  2766. succeed.
  2767. 2006-10-27 Chris Toshok <[email protected]>
  2768. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  2769. being set to "". Fixes bug #79759.
  2770. 2006-10-27 Jackson Harper <[email protected]>
  2771. * TextControl.cs: We need to clear the entire selection area when
  2772. setting the start, otherwise multiline selections are still
  2773. visible.
  2774. 2006-10-26 Chris Toshok <[email protected]>
  2775. * PropertyGridView.cs:
  2776. - ifdef all the code specific to the double
  2777. buffer case, and provide some alternatives in the non-doublebuffer
  2778. code, which makes heavy use of XplatUI.ScrollWindow to move things
  2779. around without having to invalidate (and cause flicker). There
  2780. are still some drawing problems in the non-doublebuffered case, so
  2781. DOUBLEBUFFER is defined by default.
  2782. - Fix the way dropdowns are handled. now we explicitly watch for
  2783. the events which might cause the dropdown to close, and break out
  2784. of the nested event loop there. This gets rid of all Capture
  2785. code, at the expense of the Msg special casing. Seems to work,
  2786. though, and fixes bug #79743.
  2787. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  2788. * Control.cs: SetIsRecreating now recreates implicitly added
  2789. child controls as well. Finally fixes #79629. The flag passed to
  2790. SetIsRecreating has also been removed since it wasn't used.
  2791. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  2792. * PageSetupDialog.cs: Clean some code, fix some bits,
  2793. add some checks, and add a printer sub-dialog.
  2794. 2006-10-26 Chris Toshok <[email protected]>
  2795. * PropertyGrid.cs: make set_SelectedObject call
  2796. set_SelectedObjects, and move the duplicate logic to the
  2797. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  2798. * PropertyGridView.cs: hide the textbox when we get a
  2799. SelectedObjectsChanged event.
  2800. Fixes bug #79748.
  2801. 2006-10-26 Chris Toshok <[email protected]>
  2802. * PropertyGridView.cs: deal with the type converter not supporting
  2803. GetStandardValues() or GetStandardValues() returning null, which
  2804. is does in the default case. Fixes #79742.
  2805. 2006-10-25 Andreia Gaita <[email protected]>
  2806. * CheckedListBox.cs: nunit no longer crashes when selecting
  2807. Project/Edit menu option
  2808. 2006-10-25 Andreia Gaita <[email protected]>
  2809. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  2810. is no menu selected. fixes #79739
  2811. 2006-10-25 Chris Toshok <[email protected]>
  2812. * PropertyGridView.cs: factor out the splitter invalidation code
  2813. into the SplitterPercent setter, and for kicks implement the
  2814. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  2815. amount in either direction.
  2816. 2006-10-25 Chris Toshok <[email protected]>
  2817. * PropertyGridView.cs: do some cleanup of the brush used to draw
  2818. text - read only fields should be grayed out. not sure how to do
  2819. this with the textbox, though. but the textbox's should also be
  2820. readonly now at least. Also, hide/show the textbox when resizing
  2821. the control.
  2822. * CursorConverter.cs: use System.Reflection when getting the
  2823. properties of Cursors, as TypeDescriptor.GetProperties isn't
  2824. returning static properties.
  2825. 2006-10-25 Chris Toshok <[email protected]>
  2826. * PropertyGridView.cs: factor out the up/down handling, and reuse
  2827. it for page up/down. also add End/Home support.
  2828. 2006-10-25 Chris Toshok <[email protected]>
  2829. * PropertyGridView.cs:
  2830. - ensure the selected grid item is visible in the scrolled area,
  2831. fixes bug #79572.
  2832. - fix Keys.Down handling when you're on the last item in the
  2833. propertygrid.
  2834. 2006-10-25 Mike Kestner <[email protected]>
  2835. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  2836. clicks too. Fixes #79725.
  2837. 2006-10-24 Chris Toshok <[email protected]>
  2838. * PropertyGrid.cs: use property.Converter instead of
  2839. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  2840. TypeConverters declared on the property as well as on the
  2841. PropertyType. Fixes bug #79678.
  2842. 2006-10-24 Alexander Olk <[email protected]>
  2843. * MimeIcon.cs, Mime.cs:
  2844. Fallback to the default platform handler if no shared mime info
  2845. stuff exists (fixes #79693).
  2846. 2006-10-20 Andreia Gaita <[email protected]>
  2847. * ContainerControl.cs: Incorrect contains check in ActiveControl
  2848. from previous fix (duh).
  2849. 2006-10-20 Chris Toshok <[email protected]>
  2850. * PropertyGridView.cs: the dropdown should be MIN(number of items
  2851. in list, 15). Fixes #79551.
  2852. 2006-10-20 Andreia Gaita <[email protected]>
  2853. Fixes #79384, #79394, #79652, #79667
  2854. * Application.cs:
  2855. - Modal windows are now destroyed in the proper order for windows
  2856. * ContainerControl.cs:
  2857. - ActiveControl setter has more conditions on when to return:
  2858. - if we're reselecting the active control, but it actually
  2859. didn't have focus (window hidden or some such), it runs
  2860. - if the active control being selected doesn't actually
  2861. exist in the container, it returns
  2862. * Form.cs
  2863. - The ShowDialog now gets the current form as the owner when
  2864. invoking without parameters, and correctly activates the owner
  2865. when returning
  2866. * MessageBox.cs
  2867. - MessageBox now catches the Escape key to exit
  2868. 2006-10-20 Chris Toshok <[email protected]>
  2869. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  2870. most of bug #79676):
  2871. - you can navigate around the property grid with the arrow keys.
  2872. - the dropdown is sized properly when the pg has a vertical
  2873. scrollbar.
  2874. - fix the indentation for subentries, and properly select the
  2875. entire label rect.
  2876. - fix the gray bar's drawing (only draw it to the last element,
  2877. not for the height of the control. Also make sure we draw that
  2878. last horizontal grid line.
  2879. - use the same mechanism the datagrid uses wrt the editing textbox
  2880. when scrolling/resizing/etc. Namely, we hide it first, do the
  2881. operation, then show it again (if it's still visible).
  2882. - aggressively remove a lot of unnecessary refreshes (and also
  2883. calls to Invalidate(). call more limited variants, and only redraw
  2884. what we need.)
  2885. * PropertyGrid.cs:
  2886. - when we're populating the merged collection, fill in the UI
  2887. parent with either the passed in item, or the category item we
  2888. create.
  2889. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  2890. * GridItem.cs: drop some fully qualified names.
  2891. * GridEntry.cs: add a "UIParent", which is basically the parent
  2892. treenode.
  2893. * GridItemCollection.cs: add an IndexOf method.
  2894. 2006-10-20 Mike Kestner <[email protected]>
  2895. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  2896. a working win32 NC invalidation mechanism, we can't invalidate
  2897. menus. [Fixes #79705]
  2898. 2006-10-20 Mike Kestner <[email protected]>
  2899. * ListBox.cs : don't update the VScrollbar if the list is empty,
  2900. just hide it. [Fixes #79692]
  2901. 2006-10-20 Jackson Harper <[email protected]>
  2902. * RichTextBox.cs: Handle some special chars better, and don't skip
  2903. the entire group when we encounter a special char that we don't
  2904. handle correctly.
  2905. 2006-10-18 Chris Toshok <[email protected]>
  2906. * PropertyGridView.cs: address a number of issues from bug #79676,
  2907. mostly of the cosmetic variety.
  2908. - The highlight rectangle for indented items not extends all the
  2909. way to the left.
  2910. - Indented items aren't indented so much.
  2911. - the dropdown is properly sized width-wise if the pg has a
  2912. vertical scrollbar.
  2913. 2006-10-18 Chris Toshok <[email protected]>
  2914. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  2915. systray stuff is rather convoluted to begin with.
  2916. systray icons are a single window for some reason (that I haven't
  2917. figured out yet), and for them, client_window == whole_window.
  2918. Given the way the tests are structured elsewhere to determine
  2919. which paints are pending (client vs. nc), that situation will
  2920. always yield PAINT, not NCPAINT. So, if we have a pending
  2921. nc_expose and no pending expose, remove the hwnd from the paint
  2922. queue, and also set nc_expose_pending to false, to keep us from
  2923. blocking further expose's adding the hwnd to the paint queue.
  2924. phew. like i said, a rather convoluted change. Fixes the
  2925. notifyicon repaint issues in bug #79645.
  2926. 2006-10-18 Chris Toshok <[email protected]>
  2927. * Form.cs: when getting the backcolor of the form, don't get
  2928. base.BackColor, as this allows parents to influence the background
  2929. color. This breaks mdi forms. Instead, if the background_color
  2930. is empty, return the default.
  2931. 2006-10-18 Chris Toshok <[email protected]>
  2932. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  2933. to being private instead of internal static.
  2934. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  2935. crap, it wasn't working for more deeply nested controls anyway,
  2936. and we already have the is_recreating flag - use that instead.
  2937. Before calling DestroyHandle in RecreateHandle, recurse through
  2938. the control tree setting it to true. this returns the recreate
  2939. code to much of its original simplicity, while now guaranteeing we
  2940. actually recreate everything we're supposed to. This change gets
  2941. fyireporting actually showing mdi children.
  2942. 2006-10-17 Chris Toshok <[email protected]>
  2943. * Form.cs: remove some debug spew, and collapse some duplicate
  2944. code at the end of SetClientSizeCore.
  2945. * XplatUIX11.cs:
  2946. - add some more debug spew here too wrt Destroy handling.
  2947. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  2948. in Control's handling of WM_DESTROY.
  2949. - Remove the handling of zombie window DestroyNotifies from the
  2950. event loop - we don't need it. Now the only DestroyNotifies we
  2951. actually handle are ones generated by X.
  2952. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  2953. match gtk's (functioning) handling of this. This keep metacity
  2954. from leaving droppings in the form of wm borders with no window
  2955. contents all over the place.
  2956. * Control.cs:
  2957. - add a bunch of debug spew wrt control recreation.
  2958. - fix a bug where we weren't tracking Visible properly on
  2959. recreated hwnds.
  2960. - fixed the WM_PAINT double buffer handling to support re-entrant
  2961. calls (yes, i know it's gross, but it's happening to us).
  2962. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  2963. * ThemeWin32Classic.cs: changed drawing of selected days
  2964. to make them look better.
  2965. 2006-10-16 Chris Toshok <[email protected]>
  2966. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  2967. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  2968. * XplatUIX11.cs: move away from using hwnd.client_dc and
  2969. hwnd.non_client_dc and on to a stack of dc's (and in window's
  2970. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  2971. without puking or not disposing of Graphics objects.
  2972. * XplatUIOSX.cs: same.
  2973. * XplatUIWin32.cs: same.
  2974. 2006-10-03 Alexander Olk <[email protected]>
  2975. * FileDialog.cs: Don't call on_directory_changed inside
  2976. OnSelectedIndexChanged (it changes the SelectedIndex too).
  2977. Instead move it to OnSelectionChangeCommitted.
  2978. 2006-10-13 Chris Toshok <[email protected]>
  2979. * XplatUIX11.cs: more Destroy work. the current code does the
  2980. following things, in order:
  2981. 1. Enumerates all handles of all controls at or below the one
  2982. being destroyed, in pre-order. As it is doing this, it marks the
  2983. handles as zombie and clears all references to them.
  2984. 2. calls XDestroyWindow on the window passed in.
  2985. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  2986. list.
  2987. 2006-10-13 Chris Toshok <[email protected]>
  2988. * XplatUIX11.cs: set hwnd.zombie to true before calling
  2989. SendMessage (WM_DESTROY). this keeps us from marking the new
  2990. window a zombie, and also keeps us from calling sendmessage at
  2991. all.
  2992. 2006-10-13 Jackson Harper <[email protected]>
  2993. * TextControl.cs: Do not show the caret and selection at the same
  2994. time. Reduces ugliness by 35%.
  2995. 2006-10-13 Chris Toshok <[email protected]>
  2996. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  2997. zombie after we do the recursive call, so we actually do call
  2998. SendMessage on the children controls.
  2999. (GetMessage): if we find a pending paint event for a zombie hwnd,
  3000. remove the hwnd from the paint queue, or else it will always be
  3001. there (and we'll effectively loop infinitely)
  3002. 2006-10-13 Mike Kestner <[email protected]>
  3003. * MenuItem.cs : add Selected format under keynav too.
  3004. Fixes #79528.
  3005. 2006-10-13 Gert Driesen <[email protected]>
  3006. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  3007. implementation and that of MS.
  3008. 2006-10-13 Chris Toshok <[email protected]>
  3009. * Control.cs (OnInvalidated) only futz with the invalid_region if
  3010. the control is double buffered. this fixes the apparent hang in
  3011. the ListView unit tests. Someone needs to make the
  3012. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  3013. 2006-10-13 Chris Toshok <[email protected]>
  3014. * PropertyGridView.cs:
  3015. - do a little refactoring so that only one place calls
  3016. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  3017. else call that. Also make it Refresh, since there are redraw bugs
  3018. otherwise (we should take a look at that...)
  3019. - do a little more refactoring work to share the body of code
  3020. involved with the drop down. it was duplicated in the code
  3021. dealing with the listbox handling and in the code dealing with the
  3022. UITypeEditors.
  3023. - add a Capture to the dropdown form's control once it's
  3024. displayed, and add a MouseDown handler that checks to make sure
  3025. the position is inside the control. If it's not, close the
  3026. dropdown. This fixes #78190.
  3027. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  3028. if the value is different than the initial value.
  3029. 2006-10-13 Andreia Gaita <[email protected]>
  3030. * Control.cs: see #78650
  3031. - Fixed GetNextControl for several cases:
  3032. - Changed FindFlatForward to return
  3033. correct sibling control when more than one
  3034. control has same TabIndex as the currently
  3035. focused one.
  3036. - Changed FindFlatBackward to loop children
  3037. from last to first and apply same logic as in
  3038. FindFlatForward
  3039. - Changed FindControlForward to search for
  3040. children when control is not a container
  3041. but has children, or search for siblings if
  3042. control is a container...
  3043. - Changed FindControlBackward to continue
  3044. searching for child controls when hitting
  3045. Panel-like parents
  3046. - Fixed Focus method to update ActiveControl
  3047. (FocusTest.FocusSetsActive failure)
  3048. * TabControl.cs:
  3049. - Focus rectangle now refreshes when gaining
  3050. or losing focus
  3051. - Removed grab for Tab key on IsInputKey that
  3052. was keeping tab navigation from working (#78650)
  3053. 2006-10-13 Chris Toshok <[email protected]>
  3054. * PropertyGridView.cs:
  3055. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  3056. SelectedObjects.
  3057. - Deal with GridItem.Value == null a few places.
  3058. * PropertyGrid.cs:
  3059. - replace the PopulateGridItemCollection with a pair of methods
  3060. which compute the intersection of all the properties in the
  3061. SelectedObjects array. Fixes #79615.
  3062. - Throw ArgumentException from set_SelectedObjects if there's a
  3063. null in the array.
  3064. - Add GetTarget method which can be used to traverse up the
  3065. GridItem.Parent chain. It depends on the assumption that
  3066. selected_objects for different GridEntries are always in the same
  3067. order (a safe assumption). Use this method and loop over all the
  3068. selected objects in the entry when calling RemoveValueChanged and
  3069. AddValueChanged.
  3070. * GridEntry.cs: Make this handle multiple selected objects.
  3071. .Value returns null if not all the selected objects share the same
  3072. value.
  3073. 2006-10-12 Jonathan Pobst <[email protected]>
  3074. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  3075. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  3076. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  3077. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  3078. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  3079. add additional functionality.
  3080. 2006-10-12 Mike Kestner <[email protected]>
  3081. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  3082. * HelpProvider.cs : new ToolTipWindow ctor sig.
  3083. * ToolTip.cs : remove ToolTip param from Window sig since it is
  3084. not used.
  3085. * ToolBar.cs : add tooltip support. Fixes #79565.
  3086. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3087. * ComboBox.cs: move the events in set_SelectedIndex to
  3088. after the call to HighlightIndex in order to avoid
  3089. possible recursion and subsequent problems with the call
  3090. to HighlightIndex and include a range check in
  3091. set_HighlightIndex. Fixes #79588
  3092. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3093. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  3094. to ui thread's settings instead of sunday.
  3095. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  3096. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3097. * DateTimePicker.cs
  3098. * MonthCalendar.cs
  3099. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  3100. and implement missing functionality (selecting different parts
  3101. of the date and edit them individually with the keyboard).
  3102. 2006-10-11 Chris Toshok <[email protected]>
  3103. * Control.cs (OnInvalidated): fix NRE relating to last change.
  3104. 2006-10-11 Chris Toshok <[email protected]>
  3105. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  3106. atoms in _NET_WM_STATE here if the window is maximized. We need
  3107. to do this because we're *replacing* the existing _NET_WM_STATE
  3108. property, so those atoms will be lost otherwise, and any further
  3109. call to GetWindowState will return Normal for a window which is
  3110. actually maximized. Fixes #79338.
  3111. 2006-10-11 Jackson Harper <[email protected]>
  3112. * TextControl.cs: Special case for setting selection end to
  3113. selection start, we basically kill the anchor.
  3114. - some todo comments.
  3115. 2006-10-11 Chris Toshok <[email protected]>
  3116. * Control.cs: switch to using an "invalid_region" to track which
  3117. parts of the image buffer need updating. This is more code than
  3118. the simple fix from r66532. That version just attempted to always
  3119. fill the entire buffer on redraw, which turns out to be
  3120. inefficient when invalidating small rectangles. This version
  3121. simply adds the invalid rectangle to the invalid region. When we
  3122. get any WM_PAINT message we see if it can be filled using the
  3123. image buffer, and if it can't (if the paint event's clip rectangle
  3124. is visible in the invalid region) we first fill the image buffer.
  3125. So, the image buffer is still a cache, we just fill it lazily.
  3126. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  3127. need it any longer.
  3128. 2006-10-11 Chris Toshok <[email protected]>
  3129. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  3130. well as size after calling XMoveResizeWindow. This keeps us from
  3131. ignoring future SetWindowPos calls. Fixes the disappearing
  3132. DateTimePicker in the ToolBarDockExample from bug #72499.
  3133. 2006-10-11 Chris Toshok <[email protected]>
  3134. * TextBoxBase.cs: reorder things a bit when it comes to
  3135. resizing-causing-recalculation. we were recalculating the
  3136. document when our position was changed, which shouldn't happen.
  3137. We only care about size changes. Clear up some more redundant
  3138. recalculation calls while I'm at it. This makes the toolbar dock
  3139. example snappy when you're just dragging toolbars around (since it
  3140. causes a relayout whenever you move one.)
  3141. 2006-10-11 Chris Toshok <[email protected]>
  3142. * ToolBarButton.cs (get_Rectangle): this only returns
  3143. Rectangle.Empty if Visible == false, or Parent == null.
  3144. Parent.Visible doesn't matter.
  3145. 2006-10-10 Chris Toshok <[email protected]>
  3146. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  3147. by .net 1.1, so switch to an internal method instead.
  3148. 2006-10-10 Chris Toshok <[email protected]>
  3149. * Control.cs (WM_PAINT): when a control is double buffered we draw
  3150. initially to the ImageBuffer and then copy from there. But when a
  3151. parent control which has child controls is double buffered, the
  3152. initial drawing doesn't encompass the entire ClientRectangle of
  3153. the parent control, so we end up with uninitialized bits (this is
  3154. easily seen by dragging the top toolbar in
  3155. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  3156. manually set the ClipRectangle of the paint_event (only the one we
  3157. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  3158. of the nastiness in bug #72499.
  3159. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  3160. which we use in Control.cs's WM_PAINT handling.
  3161. 2006-10-10 Jackson Harper <[email protected]>
  3162. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  3163. 2006-10-10 Chris Toshok <[email protected]>
  3164. * Cursor.cs: Apply a slightly different patch to the one suggested
  3165. in #79609.
  3166. 2006-10-10 Jackson Harper <[email protected]>
  3167. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  3168. not the parent form.
  3169. * TextControl.cs: use difference in old line count vs new count to
  3170. calculate how many lines were added, this takes into account soft
  3171. line breaks properly.
  3172. 2006-10-10 Chris Toshok <[email protected]>
  3173. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  3174. rectangle located at 0,0 and the size of the text. Use
  3175. ClientRectangle instead. This fixes rendering of non-left aligned
  3176. link labels.
  3177. 2006-10-10 Jackson Harper <[email protected]>
  3178. * TextBoxBase.cs: When we set the selection start position the
  3179. caret.
  3180. * TextControl.cs: Need to update the caret when we decrement it to
  3181. zero.
  3182. - Make sure that the selection_visible flag gets reset to false if
  3183. the selection isn't visible. Before this you could get it set to
  3184. visible by changing the selection start, then changing the end to
  3185. equal the start.
  3186. 2006-10-09 Jackson Harper <[email protected]>
  3187. * TreeView.cs: Don't update scrollbars when we aren't visible.
  3188. * TreeNodeCollection.cs: Only need to update scrollbars if being
  3189. added to an expanded visible node or the root node.
  3190. 2006-10-09 Chris Toshok <[email protected]>
  3191. * XplatUIX11.cs (SendMessage): fix NRE.
  3192. 2006-10-09 Jackson Harper <[email protected]>
  3193. * TextBoxBase.cs: Implement horizontal autoscrolling.
  3194. * TextControl.cs: Add a movement types that allows moving forward
  3195. and backwards without wrapping.
  3196. 2006-10-09 Mike Kestner <[email protected]>
  3197. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  3198. with focus "expansion" of labels. Fixes #79532 and then some.
  3199. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  3200. when wrapping.
  3201. 2006-10-09 Jackson Harper <[email protected]>
  3202. * TextBoxBase.cs: Set the default max values to MaxValue since
  3203. we use the scrollbar for autoscrolling and the default value is
  3204. 100. If we don't do this the caret won't keep up with typing
  3205. after about 18 characters.
  3206. * TextControl.cs: Make sure the selection is offset by the
  3207. viewport x. This fixes selection when using auto scrolling.
  3208. 2006-10-07 Andreia Gaita <[email protected]>
  3209. * Form.cs: The active control should be selected after the
  3210. OnLoad so that any child control initialization that affects
  3211. the selection is done. Fixes #79406
  3212. 2006-10-06 Chris Toshok <[email protected]>
  3213. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  3214. to have no evil effects.
  3215. - Stop selecting StructureNotifyMask on non-toplevel windows.
  3216. The only way children should be resized is by using the SWF api,
  3217. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  3218. Toplevel windows can be interacted with via the window manager,
  3219. and so we keep the input mask there.
  3220. The other event StructureNotifyMask gives us (that we care
  3221. about) is DestroyNotify. The code is already structured such
  3222. that it assumes we won't be getting a DestroyNotify event for
  3223. the window we pass to XDestroyWindow (which is what
  3224. StructureNotifyMask is supposed to guarantee.) So, that code
  3225. shouldn't be affected by this either.
  3226. - Stop selecting VisibilityChangeMask altogether.
  3227. We weren't doing anything with the resulting events anyway.
  3228. This vastly reduces the number of X requests and events we see
  3229. when resizing/laying out a large ui.
  3230. 2006-10-06 Chris Toshok <[email protected]>
  3231. * ScrollableControl.cs (DisplayRectangle): we need to take into
  3232. account the DockPadding regardless of whether or not auto_scroll
  3233. == true. rework this slightly to this effect, and fix bug #79606,
  3234. and part of #72499 (you can now see the drag handles and drag
  3235. toolbars around).
  3236. 2006-10-06 Gert Driesen <[email protected]>
  3237. * ListViewItem.cs: Collections of selected and checked items are now
  3238. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  3239. we mark the collection "dirty".
  3240. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  3241. to only clear SelectedItems when a new item is selected and MultiSelect
  3242. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  3243. event of ListViewItemCollection, and mark its list dirty whenever
  3244. that event is fire. This allows us to return selected/checked items
  3245. in the same order as they are in the Items collection. This matches
  3246. the MS behavior.
  3247. 2006-10-06 Chris Toshok <[email protected]>
  3248. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  3249. right mouse clicks. Fixes bug #79593.
  3250. 2006-10-06 Chris Toshok <[email protected]>
  3251. * Splitter.cs: doh, fix splitters that don't want to cancel the
  3252. movement when you drag them. Also, impose the limits on the
  3253. values we send to the SplitterMovingEvent. Fixes #79598.
  3254. 2006-10-06 Jackson Harper <[email protected]>
  3255. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  3256. since we use this for auto scrolling also.
  3257. 2006-10-05 Chris Toshok <[email protected]>
  3258. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  3259. beginning to think that most datagrid column types don't need this
  3260. method. Fixes bug #79392.
  3261. 2006-10-05 Chris Toshok <[email protected]>
  3262. * DataGrid.cs: move back to a more lazy scheme for creating the
  3263. CurrencyManager, so we aren't updating it every time you set
  3264. either DataSource or DataMember. Also, don't call
  3265. RecreateDataGridRows if the currency manager hasn't changed.
  3266. 2006-10-05 Chris Toshok <[email protected]>
  3267. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  3268. emitted, SelectedIndex should already be updated. Fixes bug
  3269. #78929.
  3270. 2006-10-05 Jonathan Pobst <[email protected]>
  3271. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  3272. ToolStripTextBox.cs: Initial commit.
  3273. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  3274. 2006-10-05 Jackson Harper <[email protected]>
  3275. * TabControl.cs: We need to invalidate the tab control area when
  3276. new ones are added (duh).
  3277. 2006-10-03 Chris Toshok <[email protected]>
  3278. * Form.cs (ProcessDialogKey): if the focused control is in this
  3279. form and is a button, call its PerformClick method here. Fixes
  3280. #79534.
  3281. 2006-10-04 Jackson Harper <[email protected]>
  3282. * TabPage.cs: Ignore setting of Visible, and add an internal
  3283. method for setting the controls visibility. TabPage's Visible
  3284. property is a little strange on MS, this seems to make us
  3285. compatible, and fixes cases where people set all the tab pages to
  3286. visible.
  3287. * TabControl.cs: Use the new internal setting on tab pages
  3288. visibility.
  3289. 2006-10-03 Mike Kestner <[email protected]>
  3290. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  3291. 2006-10-03 Mike Kestner <[email protected]>
  3292. * ListView.cs : use is_visible instead of Visible to check if
  3293. scrollbars should be placed/sized. Also some max_wrap_width
  3294. love for LargeIcon view. [Fixes #79533]
  3295. 2006-10-03 Atsushi Enomoto <[email protected]>
  3296. * TextControl.cs :
  3297. Make set_TextAlign() do actually update the align. Fixed #78403.
  3298. 2006-10-03 Chris Toshok <[email protected]>
  3299. * DataGrid.cs: fix a crash when switching datasources if the
  3300. vertical scrollbar is at someplace other than Value = 0. Also,
  3301. reduce the number of recalculation passes we do in SetDataSource
  3302. from 2 to 1.
  3303. 2006-10-03 Jackson Harper <[email protected]>
  3304. * TextBoxBase.cs: Move the if value the same bail check up, we
  3305. don't want to empty the document if it is already empty, this
  3306. seems to severly mess up the caret. TODO: I should probably fix
  3307. the empty statement to update teh caret somehow.
  3308. 2006-10-03 Chris Toshok <[email protected]>
  3309. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  3310. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  3311. reflection, an internal row type, properties on said type, etc.)
  3312. will work with our datagrid. Fixes #79531.
  3313. 2006-10-03 Alexander Olk <[email protected]>
  3314. * FileDialog.cs: Don't crash if a path is not accessible
  3315. (System.UnauthorizedAccessException). Fixes #79569.
  3316. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  3317. a ':' too. Return unknown icon for those paths/files.
  3318. 2006-10-03 Sebastien Pouliot <[email protected]>
  3319. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  3320. GetContainerControl returns null.
  3321. 2006-10-02 Chris Toshok <[email protected]>
  3322. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  3323. call to XGetWindowAttributes instead of "handle". fixes an X
  3324. error using notifyicon after the NotifyIconWindow to Form base
  3325. class switch.
  3326. 2006-10-02 Chris Toshok <[email protected]>
  3327. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  3328. server grab and looping we need to do to get down to the most
  3329. deeply nested child window.
  3330. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  3331. QueryPointer again after the WarpPointer so we can generate a
  3332. proper (fake) MotionNotify event to be enqueued in the destination
  3333. window's queue.
  3334. (GetCursorPos): call QueryPointer.
  3335. Fixes #79556.
  3336. 2006-10-02 Jackson Harper <[email protected]>
  3337. * NotifyIcon.cs: Derive the notify icon from a form, so things
  3338. like FindForm work on it.
  3339. - Swallow the WM_CONTEXTMENU message, since that is generated on
  3340. mouse down, and context menu is a mouse up kinda guy. I believe
  3341. the correct fix here is probably to make the notify icon entirely
  3342. NC area, but this seems to work fine for anyone not manipulating
  3343. WndProc.
  3344. 2006-10-02 Jonathan Pobst <[email protected]>
  3345. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  3346. ToolStripItemCollection.cs, ToolStripLabel.cs,
  3347. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  3348. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  3349. Initial implementation.
  3350. * TextRenderer.cs: Provide padding to MeasureText.
  3351. 2006-10-02 Sebastien Pouliot <[email protected]>
  3352. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  3353. of ButtonBaseAccessibleObject. Fix bug #79552.
  3354. 2006-10-02 Jackson Harper <[email protected]>
  3355. * MdiWindowManager.cs: When maximizing use the containers client
  3356. rect, not it's bounds, so nc area is accounted correctly.
  3357. - Use the parent form's size for the menu position, since the
  3358. client isn't always the full form size.
  3359. 2006-10-01 Chris Toshok <[email protected]>
  3360. * ScrollableControl.cs: make sure neither right_edge or
  3361. bottom_edge are < 0, since they're used as LargeChange for the
  3362. horiz/vert scrollbars respectively. Fixes #79539.
  3363. 2006-10-01 Chris Toshok <[email protected]>
  3364. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  3365. the xplatuix11 code can cause us to destroy/recreate our handle.
  3366. * XplatUIX11.cs
  3367. (SystrayAdd):
  3368. - this code can be invoked many times for the same Hwnd. Make
  3369. sure we only destroy the client window once (the first time this
  3370. method is called). This fixes bug #79544.
  3371. - Remove the call to the improperly bound XSync. why we had two
  3372. bindings to this, I will never know, but this call resulted in
  3373. events being discarded from the queue(!).
  3374. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  3375. not our current state but the state we wish to be in. So, 0 if
  3376. we don't want to be mapped. Change it to 1.
  3377. (SystrayRemove): The XEMBED spec makes mention of the fact that
  3378. gtk doesn't support the reparent of client windows away from the
  3379. embedder. Looking at gtksocket-x11.c seems to agree with this.
  3380. The only avenue we have for removing systray icons is to destroy
  3381. them. We don't want the handle to go away for good, though, so
  3382. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  3383. #79545.
  3384. 2006-10-01 Chris Toshok <[email protected]>
  3385. * Form.cs (WndProc): inline the native_enabled variable usage into
  3386. the cases in which it's used. Fixes #79536.
  3387. 2006-09-29 Mike Kestner <[email protected]>
  3388. * ListView.cs : toggle the selection state for ctrl clicks in
  3389. multiselect mode. [Fixes #79417]
  3390. 2006-09-29 Mike Kestner <[email protected]>
  3391. * ListView.cs : kill CanMultiSelect and refactor the selection
  3392. code to support multiselection in the absence of mod keys. Steal
  3393. arrow/home/end keys by overriding InternalPreProcessMessage to
  3394. restore regressed keynav behavior.
  3395. [Fixes #79416]
  3396. 2006-09-29 Jackson Harper <[email protected]>
  3397. * MdiClient.cs: Repaint the titlebars when the active window is
  3398. changed.
  3399. 2006-09-29 Chris Toshok <[email protected]>
  3400. * Application.cs: when entering a runloop with a modal, make sure
  3401. the hwnd is enabled. Fixes #79480.
  3402. 2006-09-29 Chris Toshok <[email protected]>
  3403. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  3404. when ListManager.CanAddRows == false, bump us back one.
  3405. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  3406. listmanager.CanAddRows check. This makes ArrayLists uneditable
  3407. using a datagrid, which is not right.
  3408. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  3409. is an IEditable, but call property_descriptor.SetValue regardless.
  3410. fixes #79435.
  3411. 2006-09-29 Chris Toshok <[email protected]>
  3412. * DataGridBoolColumn.cs: we need to test equality in the face of
  3413. possible null values (as is the case with the default NullValue).
  3414. This patch keeps us from crashing in that case.
  3415. 2006-09-29 Jackson Harper <[email protected]>
  3416. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  3417. here, since it will get called for every node collection in the
  3418. tree. This is now done in the treeview once the sorting is
  3419. finished.
  3420. * TreeView.cs: Recalculate the visible order, and update the
  3421. scrollbars after sorting, set the top nope to the root so that the
  3422. recalc actually works.
  3423. 2006-09-29 Chris Toshok <[email protected]>
  3424. * LinkLabel.cs: more handling of the default link collection in
  3425. the face of LinkArea manipulation. The default link collection
  3426. contains 1 element (start=0,length=-1). If the user sets LinkArea
  3427. to anything and the links collection is the default, clear it.
  3428. Then only add the link if its nonempty. Fixes #79518.
  3429. 2006-09-29 Chris Toshok <[email protected]>
  3430. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  3431. piece correctly when we hit a '\n'. Fixes #79517.
  3432. 2006-09-29 Chris Toshok <[email protected]>
  3433. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  3434. change the binding of gdk_init_check to take two IntPtr's, and
  3435. pass IntPtr.Zero for both of them. Fixes #79520.
  3436. 2006-09-29 Mike Kestner <[email protected]>
  3437. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  3438. [Fixes #78779]
  3439. 2006-09-28 Jackson Harper <[email protected]>
  3440. * XplatUIX11.cs: When translating NC messages make sure we go from
  3441. whole window to screen, not client window to screen.
  3442. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  3443. method doesn't exist
  3444. - Skip over controls that aren't forms when arranging.
  3445. 2006-09-28 Jackson Harper <[email protected]>
  3446. * XplatUIWin32.cs: Clip the rect to the parent window.
  3447. * XplatUIStructs.cs: Add clipping modes struct.
  3448. * InternalWindowManager.cs: New private method that factors title
  3449. bar heights in when calculating the pos of an NC mouse message.
  3450. - Use SendMessage to force a paint when the form's size is changed
  3451. instead of painting the decorations immediately.
  3452. - Don't let the NC button click messages get to DefWndProc,
  3453. because they will attempt to handle windowing themself, and this
  3454. messes up z-order (it will put them in front of the scrollbars).
  3455. * XplatUIX11.cs: Make sure that we don't reset window managers if
  3456. we already have one (ie the window is an MDI window).
  3457. 2006-09-28 Chris Toshok <[email protected]>
  3458. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  3459. menu code really needs going over.
  3460. 2006-09-27 Chris Toshok <[email protected]>
  3461. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  3462. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  3463. window is maximizable. So, we need to make sure that even if we
  3464. clear the border/wm frame of those functions, they're still
  3465. available (basically, we remove the decoration without removing
  3466. the function). Half the fix for #79338.
  3467. 2006-09-27 Chris Toshok <[email protected]>
  3468. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  3469. Fixes bug #79515.
  3470. 2006-09-27 Chris Toshok <[email protected]>
  3471. * Splitter.cs: reorder things a bit so that we don't actually
  3472. draw/move the splitter until after calling OnSplitterMoving. This
  3473. lets users cancel/disallow the movement by explicitly setting
  3474. event.SplitX/SplitY. Fixes #79372.
  3475. 2006-09-27 Jackson Harper <[email protected]>
  3476. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  3477. because it is most likely on a window being destroyed, and that
  3478. will give us an X11 error.
  3479. 2006-09-27 Chris Toshok <[email protected]>
  3480. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  3481. the dropdown button now toggles between showing and hiding the
  3482. dropdown. Also, get rid of dropdown_form_showing and just use
  3483. dropdown_form.Visible. We still don't do a grab, but I'll leave
  3484. that part to someone who has handled Capture-fu before.
  3485. 2006-09-27 Chris Toshok <[email protected]>
  3486. * DataGrid.cs: return false if alt isn't pressed when '0' is
  3487. pressed. this keeps the '0' key from being swallowed, and fixes
  3488. bug #79350.
  3489. 2006-09-27 Chris Toshok <[email protected]>
  3490. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  3491. Calling Refresh (in response to a scrollbar event) screws up the
  3492. scrollbar painting. Fixes bug #78923.
  3493. 2006-09-27 Chris Toshok <[email protected]>
  3494. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  3495. then insert into hashtable" blocks threadsafe.
  3496. 2006-09-27 Chris Toshok <[email protected]>
  3497. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  3498. baseclass's, since otherwise the
  3499. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  3500. effect. This gets the close button back in messageboxes.
  3501. 2006-09-27 Chris Toshok <[email protected]>
  3502. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  3503. flag, not just != 0. this makes flags that are actually multiple
  3504. bits (like WS_CAPTION) work. fixes bug #79508.
  3505. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  3506. * PageSetupDialog.cs: add support for getting and settings the
  3507. paper size, source and orientation.
  3508. 2006-09-26 Chris Toshok <[email protected]>
  3509. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  3510. and caption == "", we need to remove the resize handles as well as
  3511. the title bar.
  3512. * Control.cs (set_Text): turns out that setting Text on a form
  3513. should change the WM styles on the window, since if ControlBox ==
  3514. false, the only way to get a window border is to have a non-""
  3515. Text property. check winforms/forms/text.cs for an example. so,
  3516. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  3517. update both window styles and title. This fixes a lot of dialogs
  3518. (including the preferences dialog in MonoCalendar.)
  3519. 2006-09-26 Chris Toshok <[email protected]>
  3520. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  3521. control isn't a Form), call Win32ShowWindow to hide the window,
  3522. but don't update the control Visible property. When we reparent
  3523. back to a parent control, call SetVisible in order for the
  3524. window's visibility to be reinstated.
  3525. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  3526. the FosterParent.
  3527. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  3528. call for good, since it breaks MonoCalendar (and other things I'm
  3529. sure.) Also, set all_controls to null *after* the owner calls,
  3530. which end up regenerating it.
  3531. (ChangeParent): allow new_parent to be == null, passing
  3532. IntPtr.Zero down to XplatUI.
  3533. this fixes #79294 the right way.
  3534. 2006-09-26 Mike Kestner <[email protected]>
  3535. * GridEntry.cs : internal SetParent method.
  3536. * PropertyGrid.cs : attach to property changed on the proper
  3537. target if we have a hierarchical grid with subobjects. Setup
  3538. GridItem.Parent for hierarchical items.
  3539. * PropertyGridView.cs : Set value on the correct target for
  3540. hierarchical grids. [Fixes #78903]
  3541. 2006-09-26 Chris Toshok <[email protected]>
  3542. * Control.cs (ChildNeedsRecreating): this should return true if
  3543. either we're being recreated and the child is in our list, or our
  3544. parent is waiting for our recreation.
  3545. 2006-09-26 Chris Toshok <[email protected]>
  3546. * Control.cs (ControlCollection.Remove): reinstate the
  3547. value.Hide() call as suggested in bug #79294.
  3548. 2006-09-26 Sebastien Pouliot <[email protected]>
  3549. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  3550. coordinates (versus a relative move).
  3551. 2006-09-26 Chris Toshok <[email protected]>
  3552. * Control.cs: rework child recreation a little bit. It turns out
  3553. that we race between the DestroyNotify the WM_DESTROY message. If
  3554. the parent gets its DestroyNotify before the child gets the
  3555. WM_DESTROY message, the child ends up not recreating (since the
  3556. parent finishes its recreation on DestroyNotify, and the child
  3557. checks ParentIsRecreating.)
  3558. So, instead we store off a list of all the child controls which
  3559. need to be recreated when the parent control starts to recreate
  3560. itself. Then, when child controls get their WM_DESTROY message we
  3561. check to see if they're in the parent's pending recreation list,
  3562. and if so, we recreate. This removes all dependency on ordering
  3563. from the code and fixes the initial MonoCalendar upgrade dialog.
  3564. 2006-09-26 Jackson Harper <[email protected]>
  3565. * TextControl.cs: Use the Line to get the length of the line,
  3566. since soft line breaks can change the end line.
  3567. 2006-09-26 Chris Toshok <[email protected]>
  3568. * Control.cs (ControlCollection.AddImplicit): don't add the
  3569. control again if it's already in one of our lists. This keeps us
  3570. from adding controls over and over again for comboboxes when their
  3571. handle gets recreated (as the combobox adds implicit controls in
  3572. OnHandleCreated). Fixes the X11 errors in bug #79480.
  3573. 2006-09-26 Jackson Harper <[email protected]>
  3574. * TextControl.cs: When deleting characters make sure that any
  3575. orphaned zero lengthed tags get deleted.
  3576. - Fix ToString for zero lengthed tags.
  3577. 2006-09-25 Jackson Harper <[email protected]>
  3578. * TextControl.cs: When getting a tag at the location there can be
  3579. multiple tags at the same spot, these are 0-lengthed tags that
  3580. appear when extra formatting has been stuck in a location. We
  3581. need to pull out the last of these 0 lengthed tags.
  3582. 2006-09-25 Jackson Harper <[email protected]>
  3583. * TextControl.cs: Fix print out in debug method.
  3584. * TextBoxBase.cs: When text is set bail if we are setting to the
  3585. previous value.
  3586. 2006-09-24 Alexander Olk <[email protected]>
  3587. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  3588. It is now possible to change the selected index in a FontXXXListBox
  3589. with the up and down arrow keys from the FontXXXTextBoxes.
  3590. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  3591. FontXXXListBoxes to match ms.
  3592. 2006-09-22 Sebastien Pouliot <[email protected]>
  3593. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  3594. anyone can dispose it, anytime. All other properties returns enums,
  3595. structs or basic types so they don't need such tricks.
  3596. 2006-09-22 Jackson Harper <[email protected]>
  3597. * XplatUI.cs:
  3598. * XplatUIWin32.cs:
  3599. * Clipboard.cs:
  3600. * DataFormats.cs:
  3601. * XplatUIOSX.cs:
  3602. * XplatUIDriver.cs: Update interface to add a primary selection
  3603. flag, so the driver can use the primary selection buffer if
  3604. needed.
  3605. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  3606. * RichTextBox.cs: We need to supply the data object to paste now
  3607. (so we can choose to supply CLIPBOARD or PRIMARY).
  3608. * TextBoxBase.cs: Supply data object to paste (see above).
  3609. - Middle click uses the primary selection data object.
  3610. 2006-09-21 Chris Toshok <[email protected]>
  3611. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  3612. of SetWMStyles. It's still a rat's nest and is largely
  3613. order-dependent which I dislike immensely. This also fixes the X
  3614. button disappearing from toplevel forms.
  3615. 2006-09-21 Mike Kestner <[email protected]>
  3616. * ListBox.cs: move Jordi's click/dblclick raising code to the
  3617. mouse up handler.
  3618. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  3619. * ListBox.cs: Fixes 79450
  3620. 2006-09-21 Mike Kestner <[email protected]>
  3621. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  3622. to deal with people updating the TreeNodeCollection after the tree
  3623. is disposed. "Fixes" 79330.
  3624. 2006-09-20 Jackson Harper <[email protected]>
  3625. * TextControl.cs: Push the cursor record onto the undo stack
  3626. before the delete action. This fixes 78651.
  3627. 2006-09-20 Jonathan Chambers <[email protected]>
  3628. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  3629. CreateParams. Fixes 79329.
  3630. 2006-09-19 Chris Toshok <[email protected]>
  3631. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  3632. things up a bit. First, get rid of the NetAtoms array (and the NA
  3633. enum), and just embed the atoms as static fields. Also, add a
  3634. couple of functions (StyleSet and ExStyleSet) to clean up all the
  3635. bitmask testing of styles.
  3636. * X11Structs.cs: remove the NA enum, not needed anymore.
  3637. 2006-09-19 Chris Toshok <[email protected]>
  3638. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  3639. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  3640. added cleanup to get MessageBox titles appearing again, which were
  3641. broken by my earlier fix for caption-less/ControlBox-less windows.
  3642. 2006-09-18 Jonathan Pobst <[email protected]>
  3643. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  3644. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  3645. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  3646. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  3647. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  3648. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  3649. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  3650. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  3651. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  3652. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  3653. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  3654. Inital import.
  3655. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  3656. ToolStripButton.cs: Stubs needed for above.
  3657. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  3658. 2006-09-15 Chris Toshok <[email protected]>
  3659. * XplatUIX11.cs:
  3660. - make the MessageQueues hashtable Synchronized.
  3661. - SendMessage: if the Hwnd is owned by a different thread, use the
  3662. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  3663. thread. Fixes bug #79201.
  3664. 2006-09-15 Chris Toshok <[email protected]>
  3665. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  3666. ControlBox == false, we disallow maximize/minimize/close. If the
  3667. form Caption is "" we also disallow move (and get rid of the Title
  3668. decoration). Unfortunately, regardless of how things are set,
  3669. we're stuck with the Title and WM menu.
  3670. 2006-09-15 Chris Toshok <[email protected]>
  3671. * Application.cs: add locking around the static message_filters
  3672. ArrayList, part of #79196.
  3673. 2006-09-15 Chris Toshok <[email protected]>
  3674. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  3675. Form.ControlBox == false, the window has no titlebar nor resize
  3676. handles. fixes bug #79368.
  3677. 2006-09-15 Chris Toshok <[email protected]>
  3678. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  3679. >= 0. Fixes bug #79370.
  3680. 2006-09-15 Jonathan Pobst <[email protected]>
  3681. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  3682. * Control.cs:
  3683. Add properties: LayoutEngine, Margin, DefaultMargin.
  3684. Add method: GetPreferredSize.
  3685. Move layout logic from PerformLayout to layout engines.
  3686. 2006-09-13 Chris Toshok <[email protected]>
  3687. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  3688. fix for #79326 broke #78718, so this change addresses that.
  3689. - in SendWMDestroyMessages remove the call to
  3690. CleanupCachedWindows, since we might be recreating the control and
  3691. need to maintain the references to right Hwnd handles. Also, set
  3692. the zombie flag to true for each of the children in the hierarchy
  3693. instead of calling hwnd.Dispose. This will cause GetMessage to
  3694. ignore all events for the window except for DestroyNotify.
  3695. - In GetMessage, ignore messages except for DestroyNotify for
  3696. zombie hwnds.
  3697. * Control.cs: revert the is_recreating fix from the last
  3698. ChangeLog. It's definitely "right", but it breaks switching from
  3699. an MDI form to a non-MDI form. Will need to revisit that.
  3700. * Hwnd.cs: add a zombie flag, which means "the
  3701. client_window/whole_window handles are invalid, but we're waiting
  3702. for the DestroyNotify event to come in for them". Set the flag to
  3703. false explicitly if setting WholeWindow/ClientWindow, and also
  3704. when Disposing.
  3705. 2006-09-13 Chris Toshok <[email protected]>
  3706. * XplatUIX11.cs: rework window destruction slightly.
  3707. - when destroying the windows associated with a control, we don't
  3708. need 2 separate XDestroyWindow calls. Just the one for the
  3709. whole_window (or for client_window if whole_window is somehow
  3710. IntPtr.Zero -- can this happen?) is enough.
  3711. - reworked SendWMDestroyMessages slightly, so we always dispose
  3712. the child control hwnd's after sending the messages.
  3713. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  3714. the two places it was used (one was even using hwnd.Handle and the
  3715. other hwnd.client_window. ugh), adding another call in
  3716. SendWMDestroyMessages. We need this new call because now the
  3717. DestroyNotify events in the queue will be ignored for the child
  3718. controls (as their hwnd's were disposed, and the window id's
  3719. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  3720. - this fixes bug #79326.
  3721. 2006-09-13 Chris Toshok <[email protected]>
  3722. * Control.cs: don't always set is_recreating to false at the end
  3723. of RecreateHandle, since sometimes we're not done (and won't be
  3724. until WndProc handles the WM_DESTROY message). Also, set
  3725. is_recreating to false in the WM_DESTROY handling code. Part of
  3726. the fix for bug #79326.
  3727. 2006-09-13 Miguel de Icaza <[email protected]>
  3728. * X11DesktopColors.cs: Start the droppage of debugging messages.
  3729. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  3730. 2006-09-13 Jonathan Pobst <[email protected]>
  3731. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  3732. 2006-09-12 Chris Toshok <[email protected]>
  3733. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  3734. to create it using SetDataSource. Fixes bug #79151.
  3735. 2006-09-11 Chris Toshok <[email protected]>
  3736. * XEventQueue.cs: add a DispatchIdle property.
  3737. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  3738. either the queue is null, or the queue has DispatchIdle set to
  3739. true.
  3740. (DoEvents): set queue.DispatchIdle to false around the
  3741. peek/translate/dispatch message loop in this method. This keeps
  3742. Application.Doevents from emitting idle events. Part of the fix
  3743. for #78823.
  3744. 2006-09-11 Chris Toshok <[email protected]>
  3745. * DataGrid.cs (set_DataSource): make this work for both the
  3746. winforms/datagrid test and ReportBuilder. It seems as though when
  3747. we've created a ListManager (or maybe it's if we have a
  3748. BindingContext?), when we set the DataSource it clears the
  3749. DataMember to "". otherwise we reuse the datamember. Fixes bug
  3750. #79333.
  3751. 2006-09-11 Chris Toshok <[email protected]>
  3752. * XplatUIX11.cs: deal with queue being null, which happens in all
  3753. the Clipboard functions. Fixes one of the two problems mentioned
  3754. in #78612.
  3755. 2006-09-11 Chris Toshok <[email protected]>
  3756. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  3757. button on various spots (including outside the menu) works closer
  3758. to MS, and doesn't crash. Fixes #79343.
  3759. 2006-09-11 Gert Driesen <[email protected]>
  3760. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  3761. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  3762. and the internal comparer is set. When a new ListViewItemSorter is set,
  3763. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  3764. was specified. No further processing is necessary if SortOrder is set
  3765. to it's current value. If Sorting is modified to None, and View is
  3766. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  3767. (either custom or our internal ItemComparer) to null, on 1.0 profile
  3768. only set item_sorter to null if its our internal IComparer. If Sorting
  3769. is modified to Ascending or Descending, then use our internal IComparer
  3770. if none is set, and if the current IComparer is our internal one then:
  3771. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  3772. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  3773. Enum.IsDefined to verify whether a valid View value is specified in
  3774. its setter. Automatically sort listview items when listview is
  3775. created. In Sort, do nothing if ListView is not yet created, or if
  3776. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  3777. to None or ListViewItemSorter was set to null). Added Sort overload
  3778. taking a bool to indicate whether the ListView should be redrawn when
  3779. items are sorted (we use this in ListViewItemCollection to avoid double
  3780. redraws). Modified our internal IComparer to take the sort order into
  3781. account. In Add and AddRange methods of ListViewItemCollection, also
  3782. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  3783. view), but use overload with noredraw option to avoid double redraw.
  3784. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  3785. true when View is Tile, and do the same when attempting to set View to
  3786. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  3787. for selected/checked indices, as it involves overhead when sorting is
  3788. done while these collections are not used all that often. Instead
  3789. we'll build the indices on demand. Modified IList implementation of
  3790. CheckedIndexCollection to use public methods if object is int.
  3791. Modified CheckedListViewItemCollection to hide checked items if
  3792. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  3793. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  3794. IList implementation in SelectedIndexCollection to use public methods
  3795. if object is int. Modified SelectedListViewItemCollection to hide
  3796. selected items if listview is not yet created.
  3797. * ListViewItem.cs: CheckedIndices list no longer needs to be
  3798. maintained separately (see ListView changes). Also clone font, fixes
  3799. test failure.
  3800. 2006-09-11 Mike Kestner <[email protected]>
  3801. * ComboBox.cs: if we are updating the contents of the currently
  3802. selected index, refresh the control or the textbox selection.
  3803. [Fixes #79066]
  3804. 2006-09-11 Mike Kestner <[email protected]>
  3805. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  3806. the 'specified' logic has been moved there. This seems like a bug
  3807. in Control.cs, since our current SetBoundsCore completely ignores
  3808. the specified parameter. Peter's commit seems to indicate that is
  3809. the way the MS control implementation works. [Fixes #79325]
  3810. 2006-09-10 Jonathan Chambers <[email protected]>
  3811. * XplatUI.cs: Set default_class_name to be composed
  3812. of current domain id. This allows MWF to be loaded in multiple
  3813. domains on Win32.
  3814. 2006-09-09 Miguel de Icaza <[email protected]>
  3815. * X11Keyboard.cs: If we are unable to obtain the input method, do
  3816. not call CreateXic to create the input context. Should fix
  3817. #78944/79276.
  3818. 2006-09-08 Alexander Olk <[email protected]>
  3819. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  3820. Simplified gnome support by adding more pinvokes to get the
  3821. icon for a file or mime type.
  3822. 2006-09-08 Jackson Harper <[email protected]>
  3823. * MenuAPI.cs: Deslect popup context menu items before closing the
  3824. window, so that you don't see the previously selected item
  3825. selected when you reopen the menu.
  3826. * TextControl.cs: Update the cursor position even if we don't have
  3827. focus. This fixes typing in things like the ComboBox. I'm not
  3828. totally sure we should always set the visibility if we don't have
  3829. focus, but couldn't find any corner cases where the cursor showed
  3830. up when it shouldn't.
  3831. 2006-09-08 Chris Toshok <[email protected]>
  3832. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  3833. our arrays are length 256. & 0xff before indexing. Fixes the
  3834. crash in bug #78077.
  3835. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  3836. * ThemeWin32Classic.cs:
  3837. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  3838. is true. Handle that check box too.
  3839. 2006-09-07 Chris Toshok <[email protected]>
  3840. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  3841. 79244.
  3842. 2006-09-07 Chris Toshok <[email protected]>
  3843. * Control.cs: in set_BackColor only do the work if
  3844. background_color != value.
  3845. * XplatUIX11.cs: move the clearing of invalid areas (both client
  3846. and nc) to the same block of code where we set (nc_)expose_pending
  3847. to false. That is, move it from PaintEventEnd to PaintEventStart,
  3848. so things that cause invalidates from within OnPaint will trigger
  3849. another call to OnPaint. Fixes bug #79262.
  3850. 2006-09-07 Alexander Olk <[email protected]>
  3851. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  3852. * FileDialog.cs: Fix typo
  3853. 2006-09-07 Jackson Harper <[email protected]>
  3854. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  3855. for tab pages if they have any.
  3856. 2006-09-06 Mike Kestner <[email protected]>
  3857. * Splitter.cs: use the "current" rect when finishing drag handle
  3858. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  3859. 2006-09-06 Mike Kestner <[email protected]>
  3860. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  3861. support offset splitters. [Fixes #79298]
  3862. 2006-09-06 Alexander Olk <[email protected]>
  3863. * Mime.cs: Fixed a bug that could override the global mime type
  3864. result.
  3865. 2006-09-05 Jackson Harper <[email protected]>
  3866. * TabControl.cs: Better calculation method for setting the slider
  3867. pos. Prevents crashes on really wide tabs.
  3868. - Draw Image on tab pages if an image list is used.
  3869. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  3870. * MonthCalendar.cs: When Font changes, the Size should be
  3871. updated to fit the new font's space requirements.
  3872. 2006-09-02 Alexander Olk <[email protected]>
  3873. * ListBox.cs: If the items are cleared with Items.Clear set
  3874. top_index to 0.
  3875. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  3876. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  3877. fire DateChanged event instead of DateSelected event when
  3878. the date was changed by keyboard interaction.
  3879. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  3880. * DateTimePicker.cs: Handle DateChanged for the associated
  3881. month_calendar control, and set month_calendar.Font from
  3882. OnFontChanged method, as well as resize the height of the
  3883. control when needed. Make PreferredHeight proportional.
  3884. 2006-09-01 Chris Toshok <[email protected]>
  3885. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  3886. properties.
  3887. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  3888. 2006-09-01 Peter Dennis Bartok <[email protected]>
  3889. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  3890. for decorations (Fixes #79219)
  3891. 2006-09-01 Mike Kestner <[email protected]>
  3892. * ComboBox.cs: first stab at sorting plus some selection handling
  3893. fixes to bring us more in line with MS behavior. Also switches back
  3894. to index based selection. Alternative patches for index-based
  3895. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  3896. and [email protected] on bug 78848. I assume they were similar to this
  3897. code I've had simmering in my tree forever.
  3898. [Fixes #78848]
  3899. 2006-09-01 Chris Toshok <[email protected]>
  3900. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  3901. when setting list position guard against ending up with a -1 index
  3902. (the other part of the fix for #78812). Should probably make sure
  3903. we don't need the analogous fix in the ItemDeleted case.
  3904. * DataGrid.cs:
  3905. - in SetDataSource, work around the fact that the way
  3906. OnBindingContextChanged is invoked will cause us to re-enter this
  3907. method. I'll remove the hack once I investigate
  3908. OnBindingContextChanged.
  3909. - fix the logic in set_DataSource and set_DataMember (basically
  3910. what to do if the other of the two is null.)
  3911. - in OnListManagerItemChanged, we need to take into account the
  3912. edit row when deciding whether or not to call RecreateDataGridRows
  3913. (part of the fix for #78812).
  3914. 2006-09-01 Jackson Harper <[email protected]>
  3915. * Splitter.cs: Don't do anything if there is no control to affect
  3916. (prevents us from crashing in weird tet cases).
  3917. * TreeView.cs: Bounding box for the mouse movement reverting
  3918. focus/selection back to previously selected node. This matches
  3919. MS, and makes the tree a lot more useable.
  3920. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  3921. use clipping so they are not drawn. This fixes when the control
  3922. is set to have a transparent background, or if it was over an
  3923. image.
  3924. 2006-09-01 Alexander Olk <[email protected]>
  3925. * MimeIcon.cs: Improved handling for reading default icons when
  3926. using gnome (2.16 made it necessary). Check and read svg icons
  3927. first, then 48x48 and then 32x32 icons.
  3928. 2006-08-31 Chris Toshok <[email protected]>
  3929. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  3930. visible.
  3931. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  3932. ProcessKeyPreview. Fixes part of #77806.
  3933. * DataGrid.cs: big patch.
  3934. - revert the queueing up of DataSource/DataMember if inside
  3935. BeginInit/EndInit calls. That's not the way the datagrid achieves
  3936. its delayed databinding. Instead, call SetDataSource in
  3937. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  3938. #78811.
  3939. - Also, it wasn't mentioned in #78811, but the test case exhibits
  3940. behavior that was lacking in our datagrid implementation - Columns
  3941. that have mapping names that don't exist in the datasource's
  3942. properties aren't shown. Yuck. To fix this I added the bound
  3943. field to the column style, and basically any calculation to figure
  3944. out anything about columns uses a loop to find the bound columns.
  3945. still need to investigate if I can cache an array of the bound
  3946. columns or if the indices must be the same.
  3947. - When setting CurrentCell, we no longer abort if the cell being
  3948. edited was in the add row. This fixes the other part of #77806.
  3949. - The new code also fixes #78807.
  3950. * ThemeWin32Classic.cs: perpetrate the same disgusting
  3951. column.bound field hack, and only render bound fields.
  3952. 2006-08-31 Chris Toshok <[email protected]>
  3953. * DataGridColumnStyle.cs: add bound field. this field is true if
  3954. the datasource has a property corresponding to the mapping name.
  3955. * DataGridTableStyle.cs: set the bound field on the column styles
  3956. depending on whether or not we have a column for that property.
  3957. 2006-08-31 Peter Dennis Bartok <[email protected]>
  3958. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  3959. splitter control (fixes #79228)
  3960. 2006-08-31 Chris Toshok <[email protected]>
  3961. * DataGridColumnStyle.cs: we need to delay the assignment of
  3962. property descriptor until the last possible moment due to the lazy
  3963. databinding stuff in the datagrid. Also, fix the exceptions
  3964. thrown by CheckValidDataSource to match MS.
  3965. 2006-08-31 Jackson Harper <[email protected]>
  3966. * Form.cs: When activated select the active control, if there is
  3967. no active control, we select the first control.
  3968. * XplatUIX11.cs: If there is no focus control when we get a
  3969. FocusIn event, find the toplevel form and activate it. This
  3970. occurs when you popup a window, it becomes the focus window, then
  3971. you close that window, giving focus back to the main window.
  3972. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  3973. * MonthCalendar.cs:
  3974. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  3975. as StringFormat with Center alignments in MonthCalendar,
  3976. instead of creating new ones when drawing the control.
  3977. Also, draw the month name in bold style.
  3978. 2006-08-30 Peter Dennis Bartok <[email protected]>
  3979. * Control.cs:
  3980. - PerformLayout(): It would seem MS performs the fill even if the
  3981. control is not visible (part of #79218 fix)
  3982. - ResetBackColor(): Use the setter to reset the color, to allow
  3983. overriders to catch the change.
  3984. * Form.cs:
  3985. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  3986. - CreateHandle(): dito (part of $79218 fix)
  3987. - Don't set an icon if we have a dialog
  3988. * ScrollableControl.cs:
  3989. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  3990. - ScrollIntoView(): No need to scroll if control is already visible
  3991. (resolves fixme and fixes #79218)
  3992. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  3993. * MonthCalendar.cs: Change proportions in SingleMonthSize
  3994. to match the aspect of the original control.
  3995. 2006-08-29 Alexander Olk <[email protected]>
  3996. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  3997. get updated when they get maximized.
  3998. 2006-08-29 Peter Dennis Bartok <[email protected]>
  3999. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  4000. 2006-08-29 Chris Toshok <[email protected]>
  4001. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  4002. 2006-08-29 Jackson Harper <[email protected]>
  4003. * TreeView.cs: Need to track selected node and highlighted node,
  4004. they aren't always the same thing, when the mouse is down on a
  4005. node it is hilighted, but not selected yet.
  4006. - Do the HideSelection stuff right
  4007. - Need to focus on rbutton mouse down. And redraw selection when
  4008. right click is mouse upped.
  4009. 2006-08-29 Mike Kestner <[email protected]>
  4010. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  4011. when SubItems.Count < Columns.Count. [Fixes #79167]
  4012. 2006-08-28 Peter Dennis Bartok <[email protected]>
  4013. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  4014. 2006-08-28 Peter Dennis Bartok <[email protected]>
  4015. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  4016. from X. Only send based on ConfigureNotify if we don't have the
  4017. correct location in hwnd (if the window manager moved us)
  4018. 2006-08-28 Mike Kestner <[email protected]>
  4019. * ListView.cs: remove a TODO.
  4020. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  4021. [Fixes ListView part of #79166]
  4022. 2006-08-28 Mike Kestner <[email protected]>
  4023. * ListView.cs: move wheel handler to parent since it is focused
  4024. instead of the item_control now. [Fixes #79177]
  4025. 2006-08-28 Mike Kestner <[email protected]>
  4026. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  4027. when the control is focused. [Fixes #79171]
  4028. 2006-08-28 Mike Kestner <[email protected]>
  4029. * ListView.cs: size the item and header controls for empty and
  4030. unscrollable views.
  4031. * ThemeWin32Classic.cs: draw disabled backgrounds.
  4032. [Fixes #79187]
  4033. 2006-08-28 Chris Toshok <[email protected]>
  4034. * Form.cs: remove unused "active_form" static field.
  4035. * Hwnd.cs: lock around accesses to static windows collection.
  4036. * Application.cs: lock threads in Exit ().
  4037. 2006-08-28 Chris Toshok <[email protected]>
  4038. * NativeWindow.cs: lock around accesses to window_collection.
  4039. 2006-08-28 Chris Toshok <[email protected]>
  4040. * Control.cs: err, fix this the right way, by locking on controls
  4041. when using it. not by making it synchronized.
  4042. 2006-08-28 Chris Toshok <[email protected]>
  4043. * Control.cs: make the static "controls" field synchronized, as it
  4044. gets updated from multiple threads.
  4045. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4046. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  4047. Prevent other threads from exiting when calling thread sets quit state.
  4048. * XEventQueue.cs: Added PostQuitState property
  4049. 2006-08-27 Chris Toshok <[email protected]>
  4050. * AsyncMethodData.cs: add a slot for the window handle.
  4051. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  4052. window (the destination control's window, not the foster window).
  4053. * Control.cs (BeginInvokeInternal): store the window's handle in
  4054. the AsyncMethodData.
  4055. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4056. * XplatUIX11.cs:
  4057. - PostQuitMessage: Removed resetting S.D display handle, we might have
  4058. another loop started after calling PostQuitMessage (Fixes #79119)
  4059. - Created destructor to reset S.D handle
  4060. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4061. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  4062. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4063. * TextControl.cs (Insert): Update the caret position even if we don't
  4064. have a handle yet, just don't call the driver in that case.
  4065. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  4066. to the end of the new selection text (Fixes #79184)
  4067. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4068. * Form.cs (Activate): Only activate if the handle is created)
  4069. * Control.c:
  4070. - Mark window as invisible when it's disposed
  4071. - Check if window handle is created when setting window visible,
  4072. instead of relying just on the is_created variable
  4073. - Check if object is disposed when creating the control (Fixes #79155)
  4074. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4075. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  4076. when allowing layout again. Otherwise we re-generate the anchoring
  4077. distance to the border again and actually alter what the user wanted
  4078. This is ugly, it'd be better if we used DisplayRectangle instead of
  4079. ClientRectangle for Control.UpdateDistances, but that causes us to
  4080. have other problems (initial anchoring positons would be wrong)
  4081. (Fixes #78835)
  4082. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4083. * Control.cs:
  4084. - The size and location setters shouldn't go directly to
  4085. SetBoundsCore, but to SetBounds, which triggers layout on the
  4086. parent, then calls SetBoundsCore. (Related to fix for #78835)
  4087. - SetBounds: Moved actual location update code into this function
  4088. from SetBoundsCore, to match MS. Added call to PerformLayout if
  4089. we have a parent (to trigger resizing of anchored parents if the
  4090. child size has changed (see testcase for #78835)
  4091. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  4092. new control code
  4093. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  4094. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4095. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  4096. System.Drawing when a toplevel window gets closed; there might
  4097. be other toplevel windows belonging to the same app (Fixes #78052)
  4098. 2006-08-26 Alexander Olk <[email protected]>
  4099. * FileDialog.cs: After reading FileDialog settings from mwf_config
  4100. use Desktop prefix only if a real folder doesn't exist anymore.
  4101. * FontDialog.cs: Added char sets.
  4102. It is now possible to select the font, size or style with the
  4103. textboxes.
  4104. 2006-08-25 Kornél Pál <[email protected]>
  4105. * PrintPreviewDialog.cs: Use assembly name constants.
  4106. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4107. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  4108. scrollbar from whacking it's buttons)
  4109. 2006-08-24 Chris Toshok <[email protected]>
  4110. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  4111. in this patch (aggregating setting Left/Top/Width/Height to
  4112. setting Bounds on the scrollbars), but the crux of the fix is in
  4113. Recalculate, where we scroll by the remaining scroll_position if
  4114. we're hiding a scrollbar. The 2*$5 reward in the comment is
  4115. serious.
  4116. 2006-08-24 Jackson Harper <[email protected]>
  4117. * MdiClient.cs:
  4118. * MdiWindowManager.cs: If the form is made a non-mdi window we
  4119. need to remove the form closed event so that closing forms works
  4120. correctly.
  4121. 2006-08-24 Jackson Harper <[email protected]>
  4122. * Control.cs: Make IsRecreating internal so that the driver can
  4123. check it
  4124. - Temporarily remove the Hide when controls are removed, its
  4125. making a whole bunch of things not work because visibility isn't
  4126. getting reset elsewhere correctly
  4127. * Form.cs: Need to do a full handle recreation when the mdi parent
  4128. is set.
  4129. * XplatUIX11.cs: If we are recreating handles don't dispose the
  4130. HWNDs. What was happening is the handles were being recreated in
  4131. SendWMDestroyMessages, but then flow continued on in that method
  4132. and destroyed the new handles.
  4133. 2006-08-23 Jackson Harper <[email protected]>
  4134. * Form.cs: MdiClient is always at the back of the bus
  4135. * Control.cs: When the order of items in the collection is changed
  4136. we need to reset the all_controls array
  4137. - do the same sorta setup thats done when adding a control when a
  4138. control is set on the collection.
  4139. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4140. * TextBoxBase.cs (get_Text): Return an empty array if our document
  4141. is empty (fixes #79052)
  4142. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4143. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  4144. on WM_SYSCHAR messages (fixes #79053)
  4145. 2006-08-23 Chris Toshok <[email protected]>
  4146. * DataGrid.cs: fix flickering when scrolling vertically.
  4147. 2006-08-23 Chris Toshok <[email protected]>
  4148. * DataGrid.cs (EndEdit): only invalidate the row header when we
  4149. need to.
  4150. 2006-08-23 Chris Toshok <[email protected]>
  4151. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  4152. methods. fixes the flicker when scrolling around.
  4153. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4154. * FileDialog.cs: Making sure the control is created before we get a
  4155. chance to use it with BeginInvoke (Fixes #79096)
  4156. 2006-08-23 Chris Toshok <[email protected]>
  4157. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  4158. width to use when painting the rows.
  4159. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4160. * TextBoxBase.cs:
  4161. - Throw ArgumentException if a negative value is passed to SelectionLength
  4162. - Update the selection end if start is moved. end needs to be always
  4163. after start. (Fixes #79095)
  4164. - Track selection length; MS keeps the selection length even if start
  4165. is changed; reset on all other operations affection selection
  4166. 2006-08-22 Jackson Harper <[email protected]>
  4167. * TreeView.cs: Make sure both scrollbars get displayed and sized
  4168. correctly when the other bar is visible.
  4169. - Use the original clip rectangle for checking if the area between
  4170. the two scrollbars is visible, not the viewport adjusted clipping
  4171. rectangle.
  4172. 2006-08-22 Jackson Harper <[email protected]>
  4173. * Binding.cs: We don't use IsBinding because it requires the
  4174. control to be created, which really shouldn't be necessary just to
  4175. set a property on the control.
  4176. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  4177. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  4178. ArgumentNullReferenceException when the argument is null.
  4179. 2006-08-21 Jackson Harper <[email protected]>
  4180. * Timer.cs: Track the thread that the timer is started in (NOT
  4181. CREATED), this way messages for it will only be triggered on its
  4182. queue.
  4183. * XEventQueue.cs: Track the timers here, this makes timers per
  4184. thread, like MS.
  4185. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  4186. 2006-08-19 Chris Toshok <[email protected]>
  4187. * XplatUIX11.cs: after further communication with pdb, we get the
  4188. best of both worlds. SetZOrder working for un-Mapped windows, and
  4189. no X errors for un-mapped windows.
  4190. 2006-08-19 Chris Toshok <[email protected]>
  4191. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  4192. as it was causing pdn toolbars to not have the correct stacking.
  4193. 2006-08-18 Mike Kestner <[email protected]>
  4194. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  4195. calculation. Not sure why control should ever be setting a negative
  4196. width though. Fixes #78931.
  4197. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  4198. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  4199. null items in ObjectCollection class.
  4200. * ListBox.cs.: Likewise.
  4201. 2006-08-18 Atsushi Enomoto <[email protected]>
  4202. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  4203. as the base method in ThemeWin32Classic should work fine.
  4204. Fixed bug #78607.
  4205. 2006-08-18 Jackson Harper <[email protected]>
  4206. * Binding.cs: When validating if the value entered doesn't convert
  4207. properly reset to the old value.
  4208. * RadioButton.cs: Don't fire click when we get focus.
  4209. 2006-08-18 Jackson Harper <[email protected]>
  4210. * FileDialog.cs: Paint the selection on the directory combobox the
  4211. same way as on MS.
  4212. 2006-08-17 Jackson Harper <[email protected]>
  4213. * ErrorProvider.cs: Don't allow the error control to be selected.
  4214. * Control.cs: Don't send the SetFocus messages, the control
  4215. activation will do this, and if we do it blindly here validation
  4216. does not work.
  4217. 2006-08-17 Jackson Harper <[email protected]>
  4218. * Control.cs:
  4219. * ContainerControl.cs: Make validation events fire in the correct
  4220. order. TODO: For some reason the first validation event is not
  4221. getting fired.
  4222. 2006-08-17 Mike Kestner <[email protected]>
  4223. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  4224. 2006-08-17 Mike Kestner <[email protected]>
  4225. * ComboBox.cs : implement scroll wheel support for popped-down
  4226. state. Fixes #78945.
  4227. 2006-08-17 Jackson Harper <[email protected]>
  4228. * TreeView.cs: Specify treeview actions (old patch that didn't get
  4229. committed for some reason).
  4230. - Don't let the mouse wheel scroll us too far. Just want to make
  4231. the bottom node visible, not scroll it all the ways to the top.
  4232. 2006-08-17 Jackson Harper <[email protected]>
  4233. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  4234. 2006-08-17 Mike Kestner <[email protected]>
  4235. * ComboBox.cs : don't do mouseover selection in simple mode.
  4236. 2006-08-16 Jackson Harper <[email protected]>
  4237. * Form.cs: Fire the closing events for all the mdi child windows
  4238. when a window is closed. If the cancel args are set to true, the
  4239. main window still gets the event fired, but it doesn't not close.
  4240. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  4241. handler, instead of when the button is clicked, so cancelling the
  4242. close works correctly.
  4243. * ComboBox.cs: Send the mouse down to the scrollbar.
  4244. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  4245. * ListBox.cs: When passing 'null' to SelectedItem,
  4246. set SelectedIndex to -1, to unselect items. This is the
  4247. observed behaviour in .Net.
  4248. 2006-08-16 Peter Dennis Bartok <[email protected]>
  4249. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  4250. MS flags saying there won't be any. (fixes #78800)
  4251. * Control.cs (HandleClick): Made virtual
  4252. 2006-08-16 Atsushi Enomoto <[email protected]>
  4253. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  4254. cultures. Fixed bug #78399.
  4255. 2006-08-16 Jackson Harper <[email protected]>
  4256. * Form.cs: Use the MdiClients MdiChildren property to access
  4257. MdiChildren instead of creating the array from the child controls.
  4258. * MdiClient.cs: Maintain a separate array of the mdi children, so
  4259. that insertion order is maintained when the Z-order is changed.
  4260. 2006-08-16 Mike Kestner <[email protected]>
  4261. * ListView.cs : add an ItemComparer and default to it for sorting.
  4262. Fixes #79076, but sorting needs a complete overhaul to be compat with
  4263. MS.
  4264. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4265. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  4266. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4267. * Hwnd.cs (Mapped): Properly traverse the tree
  4268. 2006-08-15 Chris Toshok <[email protected]>
  4269. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  4270. pass manager.Current.GetType() to ParseData. It has to be the
  4271. property type. So, hold off doing the ParseData until we're in
  4272. SetPropertyValue where we know the type. This fixes the crash in
  4273. #78821 but the textbox is still empty.
  4274. 2006-08-15 Chris Toshok <[email protected]>
  4275. * DataGrid.cs:
  4276. - when we're scrolling, only call Edit() again if the
  4277. current cell is still unobscured. Fixes bug #78927.
  4278. - when handling mousedown on a cell, ensure the cell is visible
  4279. before calling Edit.
  4280. - remove the properties from DataGridRow, and remove the
  4281. DataGridParentRow class altogether.
  4282. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4283. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  4284. fire OnTextChanged by ourselves. There's no point calling base,
  4285. we don't set the base value anywhere else. Fixes #78773.
  4286. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  4287. * ListBox.cs: Call CollectionChanged when modifying
  4288. an item from Items indexer, to update the actual items
  4289. in the list box.
  4290. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  4291. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  4292. to match .Net behaviour.
  4293. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4294. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  4295. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4296. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  4297. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4298. * MessageBox.cs: Prevent potential NRE exception.
  4299. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  4300. 2006-08-14 Peter Dennis Bartok <[email protected]>
  4301. * MessageBox.cs: Calculate the owner of a messagebox, also make
  4302. it topmost. Fixes #78753
  4303. 2006-08-14 Chris Toshok <[email protected]>
  4304. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  4305. programmatically move windows. first, set the PPosition hint as
  4306. well as the USPosition hint. Second include some code from pdb
  4307. that sets the window type to NORMAL when we set the transient for
  4308. hint. This is because, in the absence of a window type, metacity
  4309. thinks any window with TransientFor set is a dialog, and refuses
  4310. to let us move it programmatically. fascists.
  4311. 2006-08-14 Peter Dennis Bartok <[email protected]>
  4312. * XplatUIX11.cs: When setting normal hints, take into consideration
  4313. an different hints previously set so we don't delete them (fixes #78866)
  4314. 2006-08-12 Chris Toshok <[email protected]>
  4315. * ToolBarButton.cs: make Layout return a boolean, if something to
  4316. do with the button's layout changed.
  4317. * ToolBar.cs:
  4318. - add another parameter to Redraw, @force, which all existing
  4319. calls set to true.
  4320. - make the Layout function return a boolean which is true if the
  4321. layout has actually changed. Redraw now uses this (and @force)
  4322. to determine when to invalidate. At present the only place
  4323. where @force can be false is the call from OnResize, when
  4324. background_image == null. So, resizing a toolbar when the
  4325. layout doesn't change results in no drawing.
  4326. 2006-08-12 Chris Toshok <[email protected]>
  4327. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  4328. the VScrollBar and HScrollbar reversed. oops.
  4329. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  4330. scrollbars. we were assigning them twice (once in
  4331. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  4332. therefore causing two scrollbar resizes (and redraws?) to happen
  4333. per grid resize.
  4334. 2006-08-12 Chris Toshok <[email protected]>
  4335. * ToolBarButton.cs: redraw the entire button if the theme tells us
  4336. to.
  4337. * Theme.cs: add ToolBarInvalidateEntireButton.
  4338. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  4339. buttons, just the border.
  4340. * ThemeNice.cs: redraw the entire toolbar button since we need to
  4341. draw the highlight image.
  4342. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  4343. we need to redraw the entire button (not just the border).
  4344. 2006-08-11 Peter Dennis Bartok <[email protected]>
  4345. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  4346. for vertical bars. Fixes the mismatches shown by #78513
  4347. 2006-08-11 Alexander Olk <[email protected]>
  4348. * FileDialog.cs: If a saved/remembered path doesn't exist
  4349. anymore, fall back to "Desktop".
  4350. 2006-08-11 Peter Dennis Bartok <[email protected]>
  4351. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  4352. parent. It's apparently legal to not have one
  4353. * XplatUIX11.cs:
  4354. - SetZOrder: Don't try to set Z-Order on an unmapped window
  4355. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  4356. it unless the coordinates are negative
  4357. 2006-08-10 Mike Kestner <[email protected]>
  4358. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  4359. when setting to null per msdn docs. Fixes #78854.
  4360. 2006-08-10 Chris Toshok <[email protected]>
  4361. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  4362. flickering by setting a clip rectangle on the Graphics when we
  4363. need to redraw just a particular menuitem. Also, rename "OnClick"
  4364. to "OnMouseDown" to reflect what it actually is.
  4365. * Form.cs: track the OnMouseDown change.
  4366. 2006-08-10 Peter Dennis Bartok <[email protected]>
  4367. * CommonDialog.cs: Properly inherit the CreateParams from the form
  4368. and only change what we need. Fixes #78865
  4369. 2006-08-10 Chris Toshok <[email protected]>
  4370. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  4371. flickering in flat mode (and most of the flickering in general) by
  4372. only invalidating the button border (and not the entire rectangle)
  4373. when the state changes. A couple of cases still flicker:
  4374. ToggleButtons, and the dropdown arrow case when the user mouse
  4375. ups.
  4376. 2006-08-10 Alexander Olk <[email protected]>
  4377. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  4378. for german keyboards. Numlock state shouldn't affect the behaviour
  4379. of the Del key. Fixes bug #78291.
  4380. 2006-08-10 Chris Toshok <[email protected]>
  4381. * ListControl.cs: remove the items.Clear line from BindDataItems,
  4382. as this is the first thing done by both subclasses in their
  4383. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  4384. passed -1, refresh the list. This gets databinding working when
  4385. the datasource is set on the list before the datasource is
  4386. populated (as in wf-apps/ReportBuilder.)
  4387. * ComboBox.cs: remove the argument to BindDataItems. This call
  4388. should really go away, and be initiated by the ListControl code.
  4389. * ListBox.cs: same.
  4390. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4391. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  4392. if no data is in the document when the control is displayed
  4393. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4394. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  4395. yes (fixes #78806)
  4396. * TextControl.cs:
  4397. - PositionCaret: Allow positioning of caret but don't call methods
  4398. requiring a handle if the window isn't created yet
  4399. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  4400. - owner_HandleCreated: Don't position the caret, just update it's
  4401. location. User might have already set a different position
  4402. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4403. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  4404. windows. Screws up the returned coordinates for child windows.
  4405. Fixes #78825. I'm hoping this doesn't break something, since the
  4406. code was explicitly put in 8 months ago, but no bug was attached.
  4407. Menus still seem to work properly.
  4408. 2006-08-08 Chris Toshok <[email protected]>
  4409. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  4410. supposed to do - delay data binding until the EndInit call. Also,
  4411. make the table style collection's CollectionChangeAction.Refresh
  4412. work properly.
  4413. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  4414. (with action = Refresh) when a consituent table's MappingName is
  4415. changed.
  4416. 2006-08-08 Chris Toshok <[email protected]>
  4417. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  4418. Invalidate, since changing the text can change the size of the all
  4419. toolbar buttons.
  4420. 2006-08-08 Peter Dennis Bartok <[email protected]>
  4421. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  4422. we don't have it yet
  4423. 2006-08-08 Chris Toshok <[email protected]>
  4424. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  4425. dialog, as this causes X errors later on, since we actually
  4426. destroy the window. Instead, .Hide() it.
  4427. 2006-08-08 Peter Dennis Bartok <[email protected]>
  4428. * ComboBox.cs: Added focus reflection for popup window
  4429. * XplatUIX11.cs:
  4430. - Removed transient setting for non-app windows for now, not sure it
  4431. was needed
  4432. - Fixed logic checking if we have captions when deciding
  4433. override_redirect, WS_CAPTION is two bits and a 0 check was not
  4434. sufficient
  4435. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  4436. complicated
  4437. * Form.cs:
  4438. - AddOwnedForm: Don't just add the form to the list, call the property
  4439. to ensure the driver is informed about the ownership as well
  4440. - CreateHandle: Set the TopMost status in the driver if we have an owner
  4441. * XplatUI.cs: Fixed debug statement
  4442. 2006-08-08 Jonathan Pobst <[email protected]>
  4443. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  4444. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  4445. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  4446. TrackBarRenderer.cs: Make constructor private.
  4447. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  4448. * ProfessionalColorTable.cs: Make properties virtual.
  4449. 2006-08-06 Duncan Mak <[email protected]>
  4450. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  4451. is not changing.
  4452. 2006-08-04 Jonathan Pobst <[email protected]>
  4453. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  4454. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  4455. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  4456. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  4457. Initial import of new 2.0 classes.
  4458. 2006-08-04 Jonathan Pobst <[email protected]>
  4459. * Application.cs: Add 2.0 VisualStyles properties.
  4460. 2006-08-04 Jonathan Pobst <[email protected]>
  4461. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4462. XplatUIX11.cs: Create property to allow access to existing private
  4463. variable "themes_enabled"
  4464. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  4465. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  4466. file size, as otherwise our class libraries fail using windows. Fixes
  4467. bug #78759.
  4468. 2006-08-04 Jackson Harper <[email protected]>
  4469. * Form.cs:
  4470. * XplatUIX11.cs: Move the toolwindow window manager creation into
  4471. the X11 driver, this way on win32 we can let windows create/handle
  4472. the toolwindows.
  4473. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  4474. * PrintDialog.cs: Remove some redundant checks, add some others,
  4475. clean some code, and move the focus to the text boxes when the
  4476. values are incorrect.
  4477. 2006-08-04 Alexander Olk <[email protected]>
  4478. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  4479. 2006-08-03 Alexander Olk <[email protected]>
  4480. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  4481. handled correctly. Fixes bug #79001.
  4482. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  4483. * PrintDialog.cs: The "Copies" numeric up down must have
  4484. set the Minimum property to 1; only if the value is bigger
  4485. than 1, activate "Collate" check box. This is the behaviour of .Net.
  4486. Also modify the Document elements only if it is not null.
  4487. 2006-08-03 Jackson Harper <[email protected]>
  4488. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  4489. length. (We have a larger array then actual node count).
  4490. 2006-08-03 Jackson Harper <[email protected]>
  4491. * ComboBox.cs: Don't show selection by default.
  4492. - The SelectAll isn't needed here, since the focus code should do
  4493. that
  4494. - DDL style lists to manual selection drawing, so when they
  4495. get/lose focus they have to invalidate.
  4496. 2006-08-03 Peter Dennis Bartok <[email protected]>
  4497. * TextBoxBase.cs: Don't always show all selections by default.
  4498. 2006-08-03 Jonathan Pobst <[email protected]>
  4499. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  4500. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  4501. Fixed various typos.
  4502. 2006-08-03 Alexander Olk <[email protected]>
  4503. * Control.cs: Removing the controls in a ControlCollection with
  4504. Clear now hides the controls as expected. Fixes bug #78804.
  4505. 2006-08-03 Jackson Harper <[email protected]>
  4506. * Control.cs: Revert previous focus patch, it breaks reflector.
  4507. 2006-08-03 Jackson Harper <[email protected]>
  4508. * ComboBox.cs: Cleanup selection and focus with the combobox.
  4509. This also eliminates some duplicated keyboard code, since now
  4510. everything is handled by the main class.
  4511. - Make list selection work on mouse up instead of down, to match
  4512. MS.
  4513. 2006-08-02 Jackson Harper <[email protected]>
  4514. * Control.cs: Setting focus needs to go through the whole
  4515. selection mechanism.
  4516. 2006-08-02 Chris Toshok <[email protected]>
  4517. * PrintPreviewDialog.cs: change MinimumSize to use
  4518. base.MinimumSize so it works.
  4519. 2006-08-02 Peter Dennis Bartok <[email protected]>
  4520. * TextControl.cs:
  4521. - UpdateCaret: Added sanity check in case caret isn't defined yet
  4522. - Line.Delete: Now updating selection and caret markers if we're
  4523. transfering a node (Properly fixes #78323)
  4524. - SetSelectionEnd: Added sanity check
  4525. * TextBoxBase.cs: Removed broken attempt to fix #78323
  4526. 2006-08-01 Chris Toshok <[email protected]>
  4527. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  4528. Close() call is handled in Form, not here.
  4529. 2006-08-01 Chris Toshok <[email protected]>
  4530. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  4531. layout/rendering.
  4532. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  4533. for sizes < 100% zoom. The code now aggressively attempts to keep
  4534. from calling document.Print (), and tries not to use the scaling
  4535. g.DrawImage whenever possible (it still does if you scale to >
  4536. 100%, since usually that involves huge images).
  4537. * PrintPreviewControl.cs: hook up the close button.
  4538. 2006-08-01 Jonathan Pobst <[email protected]>
  4539. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  4540. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  4541. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  4542. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  4543. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  4544. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  4545. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  4546. Removed [Serializable] for 2.0 Event Handlers.
  4547. 2006-07-31 Jackson Harper <[email protected]>
  4548. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  4549. * TextControl.cs: Uncomment out the body of this method.
  4550. 2006-07-31 Alexander Olk <[email protected]>
  4551. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  4552. standard cursors.
  4553. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4554. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  4555. that embed TextBox and need selections visible even if textbox is not
  4556. focused to enforce that behaviour.
  4557. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  4558. selection drawing
  4559. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4560. * TextControl.cs:
  4561. - Added new SetSelectionStart/SetSelectionEnd overloads
  4562. - Fixed viewport width assignment to be accurate
  4563. - Adjusted alignment line shift calculations to allow cursor on right
  4564. aligned lines to be always visible at the right border (like MS)
  4565. * TextBoxBase.cs:
  4566. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  4567. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  4568. - CalculateScrollBars: Use ViewPort size instead of window size, to
  4569. properly consider space occupied by the border and scrollbars
  4570. (Fixes #78661)
  4571. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  4572. calculations; no longer leaves artifacts
  4573. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  4574. calculation bugs (Still missing right/center align calculations)
  4575. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4576. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  4577. use of both scroll rect and clip rect, as they do the same.
  4578. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4579. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  4580. in the event handler (fixes #78912)
  4581. 2006-07-31 Chris Toshok <[email protected]>
  4582. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  4583. grid.ListManager.Count, since grid.ListManager might be null.
  4584. This of course begs the question "why are we drawing rows for a
  4585. grid with no list manager (and therefor no rows)?" Fixes the
  4586. crash in bug #78929.
  4587. 2006-07-31 Chris Toshok <[email protected]>
  4588. * RelatedPropertyManager.cs: Don't always chain up to the parent
  4589. ctor. instead, call SetDataSource if the parent's position is !=
  4590. -1. Fixes the crash in #78822.
  4591. 2006-07-31 Chris Toshok <[email protected]>
  4592. * DataGrid.cs (get_ListManager): use field instead of property
  4593. accessors for datasource and datamember.
  4594. (RowsCount): make internal again.
  4595. (OnMouseDown): end edits before resizing columns/rows.
  4596. (OnMouseUp): restart edits after resizing columns/rows.
  4597. 2006-07-30 Peter Dennis Bartok <[email protected]>
  4598. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  4599. This fixes the situation where the last set cursor is displayed
  4600. whenever the mouse is over scrollbars.
  4601. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  4602. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  4603. Document properties, as well as initial values.
  4604. 2006-07-29 Peter Dennis Bartok <[email protected]>
  4605. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  4606. and ClientEdge results in a 3-pixel border, which is
  4607. wrong.
  4608. 2006-07-28 Jackson Harper <[email protected]>
  4609. * TreeNodeCollection.cs: Fix the clear method.
  4610. - Fix the Shrink also
  4611. 2006-07-27 Jackson Harper <[email protected]>
  4612. * TreeView.cs: Make sure the visible order is computed when we
  4613. attempt to size the scrollbars (for trees that mess with the
  4614. scrolling when they shouldn't.
  4615. - Make sure to give the scrollbars valid values.
  4616. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4617. * XplatUIX11.cs: Move motion compression code to where it
  4618. has less performance impact
  4619. 2006-07-26 Jackson Harper <[email protected]>
  4620. * UpDownBase.cs: When the control is selected make the child
  4621. controls non selectable, so that a click on them won't do a
  4622. focus/unfocus cycle.
  4623. - Don't give focus to the text box when the spinner is selected.
  4624. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  4625. 2006-07-26 Chris Toshok <[email protected]>
  4626. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  4627. satisfied with this solution. If the bitmaps are small, we should
  4628. just cache them in the PrintPreviewDialog and draw them here.
  4629. Also, the layout is broken for the 2-up and 3-up cases.
  4630. * Theme.cs: add PrintPReviewControlPaint.
  4631. * PrintPreviewDialog.cs: first pass implementation.
  4632. * PrintPreviewControl.cs: first pass implementation. No
  4633. scrollbars yet.
  4634. * PrintDialog.cs: only validate fields if that particular portion
  4635. of the UI is enabled. Also, set the document's controller to a
  4636. PrintControllerWithStatusDialog wrapping the document's print
  4637. controller.
  4638. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  4639. bring up a SaveFileDialog (i hope we don't want to match the
  4640. behavior of the crappy windows file entry) and set the
  4641. PrinterSettings.PrintFileName accordingly.
  4642. 2006-07-26 Jackson Harper <[email protected]>
  4643. * ContainerControl.cs: Add a field that disables auto selecting
  4644. the next control in a container when the container is activated.
  4645. * UpDownBase.cs: Don't select the text box when the up down is
  4646. selected.
  4647. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4648. * XEventQueue.cs: Added methods for peeking (used for compression
  4649. of successive events)
  4650. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  4651. mouse move events (fixes #78732)
  4652. 2006-07-25 Jackson Harper <[email protected]>
  4653. * UpDownBase.cs: Use an internal class for the textbox so that we
  4654. can control focus. the updown control should always have focus,
  4655. if either the text area or the buttons are clicked.
  4656. - Send the key messages to the textbox, since it never actually
  4657. has focus
  4658. - Activate and decativate the textbox caret.
  4659. 2006-07-24 Jackson Harper <[email protected]>
  4660. * Control.cs: Use the directed select when selecting a control,
  4661. this way the container controls override will get called and the
  4662. whole ActiveControl chain will get triggered. TODO: probably need
  4663. to make sure this gets done everywhere instead of the old
  4664. Select(Control).
  4665. * ContainerControl.cs: Implement the directed Select method to
  4666. find and activate the correct child control.
  4667. 2006-07-22 Mike Kestner <[email protected]>
  4668. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  4669. menu handling code so that clicks without a grab work too.
  4670. [Fixes #78914]
  4671. 2006-07-22 Alexander Olk <[email protected]>
  4672. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  4673. Added some small optimizations.
  4674. 2006-07-21 Matt Hargett <[email protected]>
  4675. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  4676. 2006-07-21 Peter Dennis Bartok <[email protected]>
  4677. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  4678. tests pass and match MS in some strange border cases.
  4679. 2006-07-21 Chris Toshok <[email protected]>
  4680. * ThemeWin32Classic.cs: handle drawing of the relation links and
  4681. parent row buttons.
  4682. * Theme.cs: change args to DataGridPaintParentRow.
  4683. * DataGrid.cs: Don't use controls for the relation links and
  4684. parent buttons, so we have to handle all their interactions in
  4685. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  4686. when we're navigating through child tables, so we can reinstate
  4687. selection, expanded state, current cell, etc.
  4688. 2006-07-20 Chris Toshok <[email protected]>
  4689. * ToolBar.cs: When we redraw a button, for whatever reason,
  4690. there's no reason to redraw the entire toolbar. Also, don't call
  4691. Control.Refresh from within Redraw, as it's much heavier than
  4692. Invalidate (which is really what we want).
  4693. 2006-07-20 Chris Toshok <[email protected]>
  4694. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  4695. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  4696. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  4697. traces from within a debug IBindingList datasource
  4698. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  4699. to work in a similar fashion.
  4700. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4701. * ListBox.cs: Don't call Sort () when setting
  4702. the Sorted property to false (avoid an unnecessary sort).
  4703. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4704. * ListControl.cs: DataSource should throw an ArgumentException
  4705. instead of a normal exception when the argument is not of the
  4706. correct type.
  4707. 2006-07-20 Mike Kestner <[email protected]>
  4708. * Control.cs: add InternalPreProcessMessage to allow us to steal
  4709. key events before MWF gets its paws on them. Adapted from a
  4710. suggestion by eno.
  4711. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  4712. up/down/left/right navigation. Override the new internal control
  4713. method to steal the events since they never make it to WndProc.
  4714. * ToolBarButton.cs: don't worry about pushed when setting hilight
  4715. since the drawing code prefers pushed to hilight. Invalidate on
  4716. Hilight changes. Fixes #78547 and #78525.
  4717. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4718. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  4719. the canvas size. Fixes #78868
  4720. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4721. * Splitter.cs: Track requested split position until first layout
  4722. is performed. Fixes #78871
  4723. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4724. * Application.cs: Removed code that forces 1.x for the version
  4725. number if the version started with 0. Not sure why that code was
  4726. there and I couldn't find any bugs that indicated we needed it.
  4727. Fixes #78869
  4728. 2006-07-20 Alexander Olk <[email protected]>
  4729. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  4730. ResetDefaults(), just write some output to the console until it's
  4731. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  4732. 2006-07-19 Jonathan Chambers <[email protected]>
  4733. * PropertyGridView.cs: set StartPosition of drop down forms
  4734. so they appear in correct initial spot. Fixes #78190.
  4735. 2006-07-19 Mike Kestner <[email protected]>
  4736. * ThemeWin32Classic.cs: use parent background color when drawing
  4737. flat toolbars. Restructure the conditionals to make sure non-flat
  4738. non-Divider toolbars are filled too. Fixes #78837.
  4739. 2006-07-19 Mike Kestner <[email protected]>
  4740. * ListBox.cs: Sort on collection changes even if the handle
  4741. isn't created yet. Fixes #78813.
  4742. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  4743. * ListControl.cs: DisplayMember should never be null,
  4744. and now we assign String.Empty when null is passed to it (this
  4745. is the .Net way).
  4746. 2006-07-17 Mike Kestner <[email protected]>
  4747. * ListViewItem.cs: restructure Font and subitem Font handling
  4748. to hold a specific font and refer back to owner on null.
  4749. Fixes #78761.
  4750. 2006-07-17 Mike Kestner <[email protected]>
  4751. * ToolBar.cs: bandaid for side-effect of previous patch which was
  4752. discarding explicit heights for non-AutoSize toolbars. Need to
  4753. extend my format tester to deal with AutoSize=false. Fixes #78864.
  4754. 2006-07-15 Jackson Harper <[email protected]>
  4755. * LabelEditTextBox.cs:
  4756. * TreeView.cs: Use a new LabelEdit class for node editing, this
  4757. class automatically 'closes' itself when it gets the enter key or
  4758. loses focus.
  4759. - Use the client rectangle when setting the trees scrollbars, so
  4760. border style is taken into account.
  4761. 2006-07-14 Jackson Harper <[email protected]>
  4762. * TreeNode.cs:
  4763. * TreeView.cs: Make the editing work similar to MSs, firing the
  4764. events correctly and ending edits correctly.
  4765. 2006-07-14 Mike Kestner <[email protected]>
  4766. * ToolBarButton.cs:
  4767. * ToolBar.cs: layout restructuring and redraw enhancements to support
  4768. formatting changes gracefully, like setting TextAlign, ImageList,
  4769. ButtonSize, and Appearance. Handles explicit button sizing quirks
  4770. of the MS controls. Things like flat toolbars ignoring button size
  4771. but becoming constant sized at the largest button's size. Normal
  4772. toolbars with an image set cannot be shrunk smaller than the image,
  4773. but text can be clipped/ignored.
  4774. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  4775. is zero. Seems like DrawString should be smart enough to not put
  4776. anything on screen though. Also trim labels and ellipsize at the char
  4777. boundary, not word.
  4778. Fixes #78711 and #78483.
  4779. 2006-07-14 Alexander Olk <[email protected]>
  4780. * FolderBrowserDialog.cs: Disable "New Folder" button and
  4781. "New Folder" contextmenu menuitem if a folder like "My Computer"
  4782. is selected.
  4783. 2006-07-14 Alexander Olk <[email protected]>
  4784. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  4785. * FolderBrowserDialog.cs:
  4786. - Use MWFConfig to store and read size and position settings
  4787. - Added code to create a new folder (button or context menu).
  4788. Use TreeView labeledit to change the name of the new folder.
  4789. 2006-07-14 Jackson Harper <[email protected]>
  4790. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  4791. when the tree is scrolled we end editing.
  4792. 2006-07-14 Alexander Olk <[email protected]>
  4793. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  4794. Down arrows
  4795. 2006-07-14 Jonathan Pobst <[email protected]>
  4796. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  4797. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  4798. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  4799. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  4800. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  4801. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  4802. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  4803. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  4804. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  4805. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  4806. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  4807. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  4808. ListViewItemSelectionChangedEventHandler.cs,
  4809. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  4810. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  4811. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  4812. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  4813. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  4814. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  4815. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  4816. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  4817. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  4818. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  4819. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  4820. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  4821. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  4822. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  4823. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  4824. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  4825. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  4826. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  4827. WebBrowserNavigatingEventHandler.cs,
  4828. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  4829. 2006-07-14 Jonathan Pobst <[email protected]>
  4830. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  4831. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  4832. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  4833. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  4834. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  4835. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  4836. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  4837. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  4838. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  4839. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  4840. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  4841. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  4842. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  4843. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  4844. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  4845. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  4846. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  4847. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  4848. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  4849. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  4850. ListViewItemStates.cs, MaskFormat.cs: Added
  4851. 2006-07-13 Jonathan Chambers <[email protected]>
  4852. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  4853. Patch from eno for bug 78558.
  4854. 2006-07-13 Jackson Harper <[email protected]>
  4855. * TreeView.cs: When an edit is finished make sure that the
  4856. selected node is visible.
  4857. - When setting the top/bottom use the scrollbars is_visible, so
  4858. everything will be set correctly even if the tree isn't visible
  4859. yet.
  4860. 2006-07-13 Jackson Harper <[email protected]>
  4861. * ComboBox.cs: Revert the item->index part of my previous patch.
  4862. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  4863. the edit box has lost focus (duh).
  4864. - Just make the edit box not visible when we get return, that will
  4865. take the focus, which will call EndEdit
  4866. * TreeNode.cs When we start editing, notify the treeview.
  4867. 2006-07-12 Jackson Harper <[email protected]>
  4868. * ComboBox.cs: Clear out old items before setting the item list.
  4869. This prevents databound controls from having their items added
  4870. twice.
  4871. - Switch the combobox to use indices whereever possible instead of
  4872. using Item's. This allows usto navigate through lists that have
  4873. more then one item with the same string value (ie a, b, b, a).
  4874. - Scroll the listboxes scrollbar when a non visible item is
  4875. highlighted
  4876. - Allow keypress to cycle through all the possible values. For
  4877. example if you have b1, b2, b3 and hold down the B key all the
  4878. values will be cycled through.
  4879. 2006-07-12 Jackson Harper <[email protected]>
  4880. * TextBoxBase.cs:
  4881. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  4882. this using the internal methods.
  4883. * Control.cs: Add OnGotFocusInternal. A new method that allows
  4884. controls to "override" OnGotFocus and change focus behavior if
  4885. needed.
  4886. - Same thing for LostFocus
  4887. * ComboBox.cs: Pass off focus to the text control properly.
  4888. 2006-07-12 Alexander Olk <[email protected]>
  4889. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  4890. * FolderBrowserDialog.cs: Almost a complete rewrite.
  4891. - Better support for Environment.Specialfolders
  4892. - Added support for MWFVFS
  4893. - Made setting SelectedPath work
  4894. 2006-07-12 Jackson Harper <[email protected]>
  4895. * Control.cs: Optimze getting all the controls.
  4896. 2006-07-11 Jackson Harper <[email protected]>
  4897. * ContainerControl.cs: Override SETFOCUS in the container control,
  4898. so that it is not selected on mouse click.
  4899. 2006-07-11 Peter Dennis Bartok <[email protected]>
  4900. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  4901. Hopefully we will have a better way once all of focus is complete.
  4902. 2006-07-11 Peter Dennis Bartok <[email protected]>
  4903. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  4904. a compile error with csc.
  4905. 2006-07-11 Jackson Harper <[email protected]>
  4906. * Control.cs: When hiding a control only select the next control
  4907. if the current control was focused.
  4908. - Don't handle enter/leave when setting/killing focus, this is
  4909. done by the container control.
  4910. - Remove is_selected, it's not needed anymore.
  4911. - Add utility methods for selecting a child control, and for
  4912. firing the Enter/Leave events.
  4913. * ContainerControl.cs: When a control is activated fire the
  4914. enter/leave events.
  4915. - Don't wrap when processing the tab key, so that focus can be
  4916. moved outside of the container.
  4917. - Use the correct active control
  4918. 2006-07-11 Jackson Harper <[email protected]>
  4919. * ComboBox.cs: Remove some debug code that was blinding me.
  4920. * UpDownBase.cs: These controls actually aren't implicit, they are
  4921. visible to the user.
  4922. 2006-07-10 Chris Toshok <[email protected]>
  4923. * DataGrid.cs: move back to the is_adding boolean field. god i
  4924. hate this is_editing/is_adding/is_changing stuff.
  4925. 2006-07-10 Chris Toshok <[email protected]>
  4926. * DataGridTableStyle.cs: just check if the property type is bool.
  4927. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  4928. Don't use CanRenderType.
  4929. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  4930. if our text == NullText. Remove CanRenderType.
  4931. * DataGridBoolColumn.cs: nuke CanRenderType.
  4932. * DataGrid.cs: reenable some code to end the current edit inside
  4933. of set_CurrentCell. This fixes the other 1.1.16 regression.
  4934. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  4935. Also, remove the visible_row_count arg from CalcRowHeaders, since
  4936. we don't need to worry about the actual height of the area.
  4937. 2006-07-10 Chris Toshok <[email protected]>
  4938. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  4939. mode, just return.
  4940. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  4941. the real sense of the IsInEditOrNavigateMode property (true =
  4942. navigate, false = edit). Also, update OnKeyPress to reflect this.
  4943. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  4944. column style exists, we still need to set its property descriptor
  4945. to match up with our list manager.
  4946. 2006-07-10 Chris Toshok <[email protected]>
  4947. * ThemeWin32Classic.cs: implement the new row/header painting
  4948. approach. The parent row painting will likely go away and
  4949. replaced with label controls, but the rest seems to work ok (and
  4950. efficiently).
  4951. * Theme.cs: change the way we draw datagrid rows. we don't draw
  4952. the row headers as a block now. Instead we draw them in the
  4953. normal draw-row loop. Add some calls for drawing parent rows and
  4954. relation rows.
  4955. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  4956. a default table style. Set the defaults from ThemeEngine.Current,
  4957. not SystemColors. Fix lots of misc issues with property setters.
  4958. * DataGrid.cs: move loads of style information out of this class
  4959. as it's being duplicated with DataGridTableStyle. keep track of a
  4960. special DataGridTableStyle for the properties we used to mirror
  4961. here. Switch all the style properties to access this table style
  4962. instead of instance fields of this class. Also add a internal
  4963. class to represent parent rows (more needs to be stored here, like
  4964. the selection state from the parent table, as well as the
  4965. expansion state.) Also, for datasources with relations, do the
  4966. right thing for collapse/expand, and add support for the
  4967. navigation/parent row buttons.
  4968. Lastly, fix the crash in the 1.1.16 build.
  4969. * GridTableStylesCollection.cs: make the explicit interface
  4970. implementations call the class's methods as opposed to duplicating
  4971. them.
  4972. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  4973. 0 so the text doesn't jump around when we move the cursor.
  4974. 2006-07-10 Jackson Harper <[email protected]>
  4975. * TextBoxBase.cs:
  4976. * ListBox.cs: Match MS's ToString (this makes debugging focus
  4977. stuff infinitely easier).
  4978. 2006-07-10 Jackson Harper <[email protected]>
  4979. * Control.cs (SelectNextControl): When checking the control's
  4980. parent use this instead of ctrl.parent so that null can be passed
  4981. to SelectNextControl. (I have unit tests for this).
  4982. - Remove unused var.
  4983. 2006-07-10 Chris Toshok <[email protected]>
  4984. * CurrencyManager.cs: correct one regression, the removal of the
  4985. finalType field. Also, add a MonoTODO on CanAddRows, implement
  4986. Refresh() correctly, and fix some event emission in
  4987. ListChangedHandler.
  4988. 2006-07-07 Alexander Olk <[email protected]>
  4989. * FileDialog.cs: Don't use brackets for new folders if they exist
  4990. under *nix. Instead use -(number of existing folders +1).
  4991. 2006-07-07 Alexander Olk <[email protected]>
  4992. * FileDialog.cs:
  4993. - Fixed really nasty bug #78771
  4994. - Don't block the whole GUI when reading directories with a lot of
  4995. entries. Use an other thread instead and call BeginInvoke to
  4996. update the ListView in MWFFileView
  4997. 2006-07-07 Chris Toshok <[email protected]>
  4998. * Control.cs (Dispose): release any Capture when disposing.
  4999. 2006-07-07 Chris Toshok <[email protected]>
  5000. * LinkLabel.cs (Select): if we chain up to the parent, set
  5001. focused_index to -1 so we'll search for the first available link
  5002. the next time the user tabs into us. Also, if the direction is
  5003. backward and focused_index == -1, start the search from the last
  5004. element.
  5005. 2006-07-07 Chris Toshok <[email protected]>
  5006. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  5007. is beyond the end of the text, don't do anything.
  5008. (CreateLinkPieces): set our ControlStyles.Selectable based on
  5009. whether or not we have any links.
  5010. (Link.Invalidate): use a loop instead of foreach.
  5011. (Link.set_Start): null out owner.sorted_links so it'll be
  5012. recreated by CreateLinkPieces.
  5013. 2006-07-06 Chris Toshok <[email protected]>
  5014. * LinkLabel.cs: revert the SetStyle change.
  5015. 2006-07-06 Chris Toshok <[email protected]>
  5016. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  5017. (OnEnableChanged): s/Refresh/Invalidate
  5018. (OnGotFocus): if we have a focused index already, refocus it (so
  5019. if we mouse out/in to the window it'll focus the right link).
  5020. (OnKeyDown): move the tab handling out of here.
  5021. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  5022. when we lose focus.
  5023. (OnMouseDown): don't Capture here - Control handles it. Also,
  5024. focus the active link.
  5025. (OnMouseUp): don't deal with Capture.
  5026. (OnPaintBackgroundInternal): remove.
  5027. (OnTextAlignChanged): CreateLinkPieces before calling the
  5028. superclass's method.
  5029. (OnTextChanged): call CreateLinkPieces before calling superclass's
  5030. method.
  5031. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  5032. move around.
  5033. (Select): implement this, moving the selection between different
  5034. links, and call parent.SelectNextControl if we don't have another
  5035. link to focus in the given direction.
  5036. (CreateLinkPieces): call Invalidate instead of Refresh.
  5037. 2006-07-06 Chris Toshok <[email protected]>
  5038. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  5039. new LinkLabel internals.
  5040. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  5041. over pieces looking for active/focused/etc links. also, deal with
  5042. runs of text (and links) with embedded \n's in them, and use
  5043. MeasureCharacterRanges instead of MeasureString to figure out the
  5044. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  5045. two-step.
  5046. 2006-07-04 Jackson Harper <[email protected]>
  5047. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  5048. XKB or key auto repeat, do it manually. Without key auto repeat,
  5049. when a key is held down we get key press, key release, key press,
  5050. key release, ... with auto repeat we get key press, key press, key
  5051. press ..., and then a release when the key is actually released.
  5052. 2006-07-03 Jackson Harper <[email protected]>
  5053. * TabControl.cs:
  5054. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  5055. rules, they are always control color regardless of the background
  5056. color.
  5057. 2006-07-02 Alexander Olk <[email protected]>
  5058. * FileDialog.cs: Added internal class MWFConfig.
  5059. Removed Registry support and replaced it with support for the new
  5060. MWFConfig class. See MWFConfig comments for more information.
  5061. 2006-06-30 Alexander Olk <[email protected]>
  5062. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  5063. rectangle. Added some patches from eno from bug #78490 and fixed
  5064. the arrow position for small up and down CPDrawScrollButtons.
  5065. 2006-06-30 Jackson Harper <[email protected]>
  5066. * InternalWindowManager.cs: Remove some debug code.
  5067. * Form.cs: When an MdiParent is set to null, the window is
  5068. "detatched" and becomes a normal window.
  5069. * MdiClient.cs: Don't bring the new child form to the front until
  5070. it is activated (setting it as active does this), this makes the
  5071. previously active forms titlebar get redrawn as inactive.
  5072. 2006-06-29 Peter Dennis Bartok <[email protected]>
  5073. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  5074. with later controls
  5075. 2006-06-29 Mike Kestner <[email protected]>
  5076. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  5077. arrow in keynav state. Fixes #78682.
  5078. 2006-06-28 Atsushi Enomoto <[email protected]>
  5079. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  5080. order (fixes #78393)
  5081. 2006-06-28 Jonathan Pobst <[email protected]>
  5082. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  5083. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  5084. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  5085. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  5086. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  5087. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  5088. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  5089. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  5090. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  5091. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  5092. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  5093. values)
  5094. 2006-06-28 Mike Kestner <[email protected]>
  5095. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  5096. 2006-06-28 Atsushi Enomoto <[email protected]>
  5097. * PropertyGrid.cs,
  5098. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  5099. item lines from other area (It also makes BackColor consistent and
  5100. compatible with .NET). Fixed bug #78564.
  5101. 2006-06-28 Jonathan Chambers <[email protected]>
  5102. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  5103. Patch from Eno for #78555.
  5104. 2006-06-27 Chris Toshok <[email protected]>
  5105. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  5106. * DataGridColumnStyle.cs: same.
  5107. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  5108. * DataGridDrawingLogic.cs: nuke.
  5109. 2006-06-27 Chris Toshok <[email protected]>
  5110. * DataGridTableStyle.cs: clean up the constructors, and build the
  5111. list of child relations for this table. I have no idea if this is
  5112. where we should be doing it (it probably isn't), but since we're
  5113. already iterating over the properties..
  5114. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  5115. struct and array for keeping track of row information, similar to
  5116. what's shown in a hack on
  5117. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  5118. * Theme.cs: be consistent about the naming of DataGrid methods,
  5119. prefering ColumnWidths and RowHeights over columnsWidths and
  5120. RowsHeights.
  5121. * ThemeWin32Classic.cs: same, and also add support for variable
  5122. sized rows (and the +/- expansion icons for related rows).
  5123. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5124. * TextBoxBase.cs: Applied Eno's patch from #78660
  5125. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5126. * Form.cs (ScaleCore): We don't want to scale our form if it's
  5127. state is minimized or maximized, but we still need to scale our
  5128. child windows. Also, added try/finally block to ensure layout
  5129. gets reset (Fixes #78697)
  5130. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5131. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  5132. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5133. * Form.cs: Fixed c+p error and added check to resize form if minimum
  5134. size is bigger than current size (Fixes #78709)
  5135. 2006-06-26 Peter Dennis Bartok <[email protected]>
  5136. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  5137. 2006-06-26 Mike Kestner <[email protected]>
  5138. * ComboBox.cs: only do Keypress handling in the combo when there
  5139. are items in the collection. Fixes #78710.
  5140. 2006-06-26 Chris Toshok <[email protected]>
  5141. * Binding.cs: make this work bi-directionally. also, clear up
  5142. other mixups between Push/Pull Data (e.g. we're supposed to pull
  5143. data when validating).
  5144. * BindingManagerBase.cs: trim some fully qualified collection
  5145. types.
  5146. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  5147. 2006-06-23 Chris Toshok <[email protected]>
  5148. * PropertyManager.cs: It appears (according to the unit tests)
  5149. that PropertyManager doesn't use
  5150. PropertyDescriptor.AddValueChanged to track propery value changes
  5151. in its datasource, but uses the same scheme as Binding, where it
  5152. looks for a <Property>Changed event and binds to it.
  5153. Also, according to the docs, IsSuspended always returns false for
  5154. a property manager with a non-null datasource.
  5155. 2006-06-22 Peter Dennis Bartok <[email protected]>
  5156. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  5157. need to update the actual DialogResult. (Fixes #78613)
  5158. 2006-06-22 Peter Dennis Bartok <[email protected]>
  5159. * Form.cs (ShowDialog): Release any captures before running the
  5160. new message pump (fixes #78680)
  5161. 2006-06-22 Mike Kestner <[email protected]>
  5162. * ListView.cs: Layout column widths properly in details mode even
  5163. if HeaderStyle.None is set. Fixes #78691.
  5164. 2006-06-21 Peter Dennis Bartok <[email protected]>
  5165. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  5166. 2006-06-21 Peter Dennis Bartok <[email protected]>
  5167. * Control.cs (ContainsFocus): Using new driver method to get focused
  5168. window, instead of trying to use internal tracking var, which can
  5169. recursion issues (Fixes #78685)
  5170. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  5171. XplatUIWin32.cs: Added GetFocus method to return focused window
  5172. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  5173. * ColorDialog.cs: when the mouse button is pressed inside the color
  5174. matrix, don't let the cursor move out of it until the button is
  5175. released, which is the behavior on windows. Changed 'colours' by
  5176. 'colors' to use the same word consistently.
  5177. 2006-06-21 Chris Toshok <[email protected]>
  5178. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  5179. child relation and back, using a stack). Also, remove
  5180. GetDataSource and the code that calls it - it's not needed. Also,
  5181. track CurrencyManager.ListName's removal.
  5182. 2006-06-21 Chris Toshok <[email protected]>
  5183. * CurrencyManager.cs: push some of the original type checking from
  5184. BindingContext.CreateBindingManager to here, and remove some of
  5185. the finalType stuff. Need more tests to make sure I've got the
  5186. ListName part right, and we might need more in SetDataSource.
  5187. * PropertyManager.cs: add a ctor that takes just the datasource,
  5188. and no property name. Make SetDataSource work with a null
  5189. property_name, and make Current return the data_source if the
  5190. property descriptor is null. this makes 'string foo = "hi";
  5191. BindingContext[foo].Current' return "hi" as it should.
  5192. * RelatedCurrencyManager.cs: make this code more generic - there's
  5193. no reason the parent manager has to be CurrencyManager, and
  5194. there's no reason to pass the DataRelation. It suffices to use a
  5195. BindingManagerBase and PropetyDescriptor.
  5196. * RelatedPropertyManager.cs: make a similar change here.
  5197. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  5198. flower I knew it could be.
  5199. 2006-06-20 Chris Toshok <[email protected]>
  5200. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  5201. data in the source has changed and we need to update the control,
  5202. so s/PullData/PushData.
  5203. * CurrencyManager.cs: Refresh is meant to update the control from
  5204. data in the datasource. So, s/PullData/PushData.
  5205. * BindingContext.cs: add more ugliness (we weren't handling the
  5206. case where data_source = DataTable and data_member = column_name).
  5207. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  5208. from the perspective of the datasource. PullData pulls from the
  5209. control, PushData pushes to the control.
  5210. 2006-06-20 Chris Toshok <[email protected]>
  5211. * BindingContext.cs: rewrite the CreateBindingManager code to
  5212. handle navigation paths more or less properly. This could
  5213. definitely stand some more work, in particular to push the
  5214. recursion up to the toplevel. But that relies on fixes in other
  5215. places (System.Data comes to mind).
  5216. Also, move to a flat hashtable (and encode the twolevel nature of
  5217. the dictionary into the hash key). This lets us implement the
  5218. IEnumerable.GetEnumerator method.
  5219. * RelatedCurrencyManager.cs: new class. Update our view based on
  5220. our relation and our parent CurrencyManager's position.
  5221. * CurrencyManager.cs: split out some logic from the ctor into
  5222. SetView, so it can be called from the new RelatedCurrencyManager
  5223. subclass.
  5224. * RelatedPropertyManager.cs: new class. Update our datasource
  5225. based on the position of our parent CurrencyManager.
  5226. * PropertyManager.cs: split out some logic from the ctor into
  5227. SetDataSource, so it can be called from the new RelatedDataSource
  5228. subclass. Also, make the Current getter return the value
  5229. of the PropertyDescriptor, not the data_source.
  5230. * Binding.cs: no need to duplicate the string splitting code here.
  5231. 2006-06-19 Peter Dennis Bartok <[email protected]>
  5232. * Control.cs:
  5233. - set_Enabled: OnEnabledChanged is not called if the inherited state
  5234. of the control is not altered, even though we might be changing the
  5235. internal state of the control (#78458)
  5236. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  5237. OnEnabledChanged, to allow easy altering of any child window state
  5238. - OnEnabledChanged: Added code to enable/disable driver window state
  5239. - OnParentEnabledChanged: Instead of firing the event, call
  5240. OnEnabledChanged, which will fire the event and also a) set driver
  5241. window state and pass the enabled state to any grandchildren (#78458)
  5242. 2006-06-19 Jackson Harper <[email protected]>
  5243. * InternalWindowManager.cs: We don't set the cursor explicitly
  5244. thats done via the response to NCHITTESTs.
  5245. - Don't need to adjust for titlebar heights anymore, the
  5246. coordinates are coming in the correct coordinates now (see peters
  5247. last patch).
  5248. 2006-06-19 Peter Dennis Bartok <[email protected]>
  5249. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  5250. being translated relative to whole window, instead of client window.
  5251. That caused broken offsets on mouseclick (and caused gas for our
  5252. InternalWindowManager)
  5253. 2006-06-15 Peter Dennis Bartok <[email protected]>
  5254. * TextControl.cs:
  5255. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  5256. - Undo(): Added replay of cursor move on DeleteChars action; added
  5257. calling Undo() again if a recorded cursor move is invalid (to
  5258. ensure that some action is performed on Undo)
  5259. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  5260. 2006-06-16 Jackson Harper <[email protected]>
  5261. * MdiClient.cs: Instead of just sizing maximized windows when
  5262. there is a resize we also have to adjust the Y of minimized
  5263. windows, so they stay pinned to the bottom of the mdi container.
  5264. - Eliminate separate tracking of the active control, we can just
  5265. get this from the controls collection.
  5266. - Paint the decorations for the newly activated titlebar so we get
  5267. a pretty blue bar.
  5268. * InternalWindowManager.cs:
  5269. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  5270. even if they are a tool window.
  5271. 2006-06-15 Peter Dennis Bartok <[email protected]>
  5272. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  5273. undo buffer, these can happen when text was deleted and the cursor
  5274. was recorded first. Since we will also have a recorded cursor
  5275. after the delete this is not an issue. (Fixes #78651)
  5276. 2006-06-14 Peter Dennis Bartok <[email protected]>
  5277. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  5278. instead properly track control states internally (allows us to
  5279. remove is_selected from Control)
  5280. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  5281. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  5282. whose width is not a multiple of 8.
  5283. 2006-06-13 Jackson Harper <[email protected]>
  5284. * MdiClient.cs: Only maximize the next child if the current one
  5285. is maximized.
  5286. 2006-06-13 Chris Toshok <[email protected]>
  5287. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  5288. modified. Also, guard against grid or grid_drawing being null in
  5289. Invalidate.
  5290. * DataGrid.cs: Reformat tons of getters/setters. In the
  5291. DataMember setter, just call SetNewDataSource instead of
  5292. duplicating some of its functionality. In SetNewDataSource, don't
  5293. check ListManager for null, since the property getter creates the
  5294. object if needed.
  5295. * DataGridTableStyle.cs: don't set TableStyle or call
  5296. SetDataGridInternal on the column here, it's done in
  5297. GridColumnStylesCollection.Add.
  5298. * GridColumnStylesCollection.cs: fix all the explicit interface
  5299. implementations to just call our methods. Nuke AddInternal() and
  5300. move the body of it to Add(). Also, add a call to
  5301. column.SetDataGridInternal to Add().
  5302. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  5303. base()+duplicate code. Also, use the Format property instead of
  5304. format to generate an Invalidate ala MS. Lastly, create the
  5305. textbox here, unconditionally.
  5306. (set_Format): call Invalidate.
  5307. (get_TextBox): no need to call EnsureTextBox.
  5308. (Commit): remove the message box.
  5309. (Edit) remove the call to EnsureTextBox.
  5310. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  5311. (EnterNullValue): no need to check textbox for null.
  5312. (HideEditBox): no need to check textbox for null.
  5313. (SetDataGridInColumn): add the textbox to the grid's controls.
  5314. (EnsureTextBox): nuke.
  5315. 2006-06-13 Jackson Harper <[email protected]>
  5316. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  5317. and redraw the buttons when needed. Unhook when the window is
  5318. unmaximized.
  5319. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  5320. needs this so that it can redraw its buttons when the menu is
  5321. repainted.
  5322. * InternalWindowManager.cs:
  5323. * Form.cs: The method order has changed for DrawMaximizedButtons,
  5324. so that it can be a PaintEventHandler.
  5325. 2006-06-13 Jackson Harper <[email protected]>
  5326. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  5327. window is activated and maximized, even if it wasn't before.
  5328. - When a new window is activated repaint the decorations of the
  5329. old one, so that it no longer has the Active "look" (the blue
  5330. titlebar).
  5331. * InternalWindowManager.cs: Open up CreateButtons to base classes
  5332. so they can recreate the buttons on state changes.
  5333. - If a window is maximized give it all three buttons
  5334. * MdiWindowManager.cs: Create the titlebar buttons when the state
  5335. is changed, this is needed because a toolwindow will not have all
  5336. three buttons until it is maximized.
  5337. 2006-06-13 Atsushi Enomoto <[email protected]>
  5338. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  5339. Fixed bug #78609.
  5340. 2006-06-12 Jackson Harper <[email protected]>
  5341. * KeysConverter.cs: Make sure we handle the Ctrl special case
  5342. if its the only key.
  5343. 2006-06-12 Jackson Harper <[email protected]>
  5344. * Theme.cs: Add a method to get the size of a managed window
  5345. toolbar button.
  5346. * InternalWindowManager.cs: Remove the ButtonSize property, this
  5347. should be retrieved from the theme.
  5348. * MdiWindowManager.cs: Get the button size from the theme
  5349. * ThemeWin32Classic.cs: Make the method to get the managed window
  5350. titlebar button size public.
  5351. - Handle the different button sizes of maximized toolwindows
  5352. (should match any maximized window).
  5353. - Get the titlebar height from the theme, not the WM (which gets
  5354. it from the theme).
  5355. 2006-06-12 Jackson Harper <[email protected]>
  5356. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  5357. event down to the mdi window manager.
  5358. - Expose some extra stuff to base classes
  5359. - Make sure to end the Capture on an NC Mouse up, so that we can
  5360. get double clicks properly, and the sizing doens't stick.
  5361. - When doing PointToClient contain it in the workable desktop
  5362. area, this prevents windows from changing size when the cursor is
  5363. pulled outside of the working area while sizing.
  5364. * MdiWindowManager.cs: When we get a double click maximize the
  5365. window.
  5366. - Reset the cursor after handling mode changes.
  5367. 2006-06-12 Peter Dennis Bartok <[email protected]>
  5368. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  5369. current desktop, instead of just assuming a 0, 0 origin. This
  5370. is needed for our internal window manager, to know the top
  5371. margin of the desktop
  5372. 2006-06-12 Chris Toshok <[email protected]>
  5373. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  5374. we need this to get rid of the selected background in the bool
  5375. column.
  5376. (CancelEditing): move the ConcedeFocus call to above the Abort
  5377. call. Also, set is_changing to false and invalidate the row
  5378. header if we were changing before.
  5379. (ProcessKeyPreviewInternal): remove, since noone outside this
  5380. class calls it anymore. Roll the code into ProcessKeyPreview.
  5381. (EndEdit): remove the internal version.
  5382. (InvalidateCurrentRowHeader): make private.
  5383. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  5384. Keys.Escape handling (and with it the last call to
  5385. DataGrid.EndEdit from outside the class.)
  5386. 2006-06-12 Chris Toshok <[email protected]>
  5387. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  5388. (OnKeyPress): set isedit to true.
  5389. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  5390. already handled by the grid.
  5391. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  5392. right. ugh.
  5393. (set_DataSource): SetDataSource always returns true, so stop
  5394. putting it in an if statement.
  5395. (EndEdit): get rid of some {}'s
  5396. (ProcessGridKey): return true in case Keys.Escape.
  5397. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  5398. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  5399. PositionChanged, stopped connecting to CurrentChanged.
  5400. (GetDataSource): simplify this a bunch.
  5401. (SetDataSource): change return type from bool to void.
  5402. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  5403. to this, and make sure we don't set ListManager.Position inside
  5404. set_CurrentCell.
  5405. (OnListManagerItemChanged): if we're passed an actual index,
  5406. redraw that row.
  5407. * CurrencyManager.cs (set_Position): don't call PullData here.
  5408. 2006-06-09 Jackson Harper <[email protected]>
  5409. * TreeNode.cs: Recalculate the visible order before doing the
  5410. Expand/Collapse Below calls, because those calls generate an
  5411. expose.
  5412. - Reduce calls to the TreeView property, which is mildly expensive
  5413. by using a local var.
  5414. * Form.cs: Layout the MDI child windows when creating the parent
  5415. form.
  5416. - Don't use the internal constructor anymore
  5417. * MdiClient.cs: use the parent form width/height (if available)
  5418. when laying out the child windows, we do this because the
  5419. mdiclient isn't docked yet when the initial layout is done.
  5420. - Don't need an internal constructor anymore.
  5421. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  5422. * FileDialog.cs: handle access errors when trying to create a folder
  5423. or changing to a directory. No need to initialize out parameters.
  5424. 2006-06-08 Alexander Olk <[email protected]>
  5425. * FileDialog.cs: Append a number when creating a new folder if the
  5426. folder already exists (use parenthesis instead of square brackets)
  5427. 2006-06-08 Alexander Olk <[email protected]>
  5428. * FileDialog.cs:
  5429. - Disabled registry support for windows and added better registry
  5430. error checking for other systems (need to investigate why it
  5431. works perfectly on my system)
  5432. - If a folder already exist show an error MessageBox instead of
  5433. trying to create an indexed name.
  5434. - Fixed a non intentional typo.
  5435. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  5436. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  5437. 2006-06-08 Alexander Olk <[email protected]>
  5438. * FileDialog.cs: When creating a new folder don't crash if the
  5439. folder already exists.
  5440. 2006-06-08 Alexander Olk <[email protected]>
  5441. * FileDialog.cs: Allmost a complete rewrite.
  5442. - added a "virtual" file system that handles the differences
  5443. between unix and windows file systems (especially the directory
  5444. structure). Moved most of the directory and file handling code
  5445. into the vfs.
  5446. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  5447. UnixFileSystem and FSEntry.
  5448. - Recently used folder/directory, size, location and used file names
  5449. (file name ComboBox) are now stored in the registry and get read
  5450. before the dialog shows up (fixes part 6 of bug #78446).
  5451. - Creation of new folders/directories is now possible (context menu
  5452. or ToolBar). Added TextEntryDialog for this that fills in the gap
  5453. until ListView.LabelEdit works.
  5454. - Fixed cursor handling (bug #78527) and focus handling for
  5455. PopupButtonPanel
  5456. - Various "Search in" ComboBox enhancements. The content of the
  5457. dropdown listbox now almost matches ms.
  5458. - Changed the behaviour when the user switches to SpecialFolder
  5459. Recent to show the ListView in View.Details.
  5460. - Beside using the ToolBar to change the View property of the
  5461. file ListView it is now possible to use the context menu too.
  5462. 2006-06-08 Alexander Olk <[email protected]>
  5463. * ComboBox.cs: Don't create a new ObjectCollection when an item
  5464. gets inserted. Just insert the item in the existing object_items
  5465. ArrayList.
  5466. 2006-06-08 Jackson Harper <[email protected]>
  5467. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  5468. that the treeview and root node checks are done also, this fixes a
  5469. regression i caused in the unit tests.
  5470. 2006-06-07 Wade Berrier <[email protected]>
  5471. * RichTextBox.cs: More ISO8859-1 -> unicode
  5472. 2006-06-07 Mike Kestner <[email protected]>
  5473. * ComboBox.cs : use items to hold highlight/selection so that
  5474. collection insertions don't require synchronization.
  5475. 2006-06-07 Jackson Harper <[email protected]>
  5476. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  5477. routine. We now always keep the sized edge at the cursor instead
  5478. of computing movement and adjusting rects. There is one buglet
  5479. with this method though when the cursor is moved over area that
  5480. the window can not expand too (such as the toolbars on the desktop).
  5481. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  5482. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  5483. here. Fixes crash on startup in AlbumSurfer.
  5484. 2006-06-07 Peter Dennis Bartok <[email protected]>
  5485. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  5486. values
  5487. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  5488. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  5489. statement to avoid calling XNextEvent which will block if another thread
  5490. took the event that we were expecting. Fixes bug #78605.
  5491. 2006-06-07 Mike Kestner <[email protected]>
  5492. * ListView.cs : isolated checkbox clicking from the selection logic.
  5493. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  5494. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  5495. * Form.cs: Check that the value passed to Form.DialogResult
  5496. is a valid enum value.
  5497. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  5498. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  5499. Computer'. Clicking it in the network view goes to 'My Computer'.
  5500. Added CIFS filesystem type. Display the mount point of filesystems.
  5501. Avoid duplicate mount points (happens for me with CIFS);
  5502. 2006-06-06 Jackson Harper <[email protected]>
  5503. * InternalWindowManager.cs: Draw the maximized windows buttons
  5504. when resizing.
  5505. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  5506. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  5507. all other dialogs. Fixes bug #78585.
  5508. 2006-06-06 Mike Kestner <[email protected]>
  5509. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  5510. Only invalidate checkbox on checkstate changes to avoid flicker.
  5511. * ListBox.cs : avoid unselect/select when clicking selected item.
  5512. avoid reselection flicker for already multiselected items.
  5513. Fixes #78382.
  5514. 2006-06-06 Jackson Harper <[email protected]>
  5515. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  5516. the parent form so that the menu is removed if needed.
  5517. 2006-06-06 Mike Kestner <[email protected]>
  5518. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  5519. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  5520. 2006-06-06 Mike Kestner <[email protected]>
  5521. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  5522. 2006-06-06 Jackson Harper <[email protected]>
  5523. * Control.cs: Use the property (instead of the field) to get the
  5524. default cursor so it is instantiated correctly.
  5525. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  5526. resizes so we need to manually repaint the window decorations here.
  5527. - Set the titlebar button locations as soon as they are created,
  5528. otherwise they are not set correctly on win32.
  5529. 2006-06-06 Chris Toshok <[email protected]>
  5530. * CurrencyManager.cs (set_Position): call PullData before
  5531. OnCurrentChanged.
  5532. (AddNew): after calling IBindingList.AddNew, update our
  5533. listposition, and call OnCurrentChanged/OnPositionChanged (without
  5534. calling PullData).
  5535. (OnCurrentChanged): remove the call to PullData from here.
  5536. (OnItemChanged): remove the call to PushData from here.
  5537. (OnPositionChanged): change the test from == null to != null to
  5538. match the other methods.
  5539. (ListChangedHandler): the grossest part of the patch. Implement
  5540. this such that it passes the unit tests in CurrencyManagerTest and
  5541. the output more or less matches that of MS's implementation.
  5542. 2006-06-06 Mike Kestner <[email protected]>
  5543. * ListView.cs : only update check state on single click.
  5544. * ThemeWin32Classic.cs : fix focus drawing for details view without
  5545. fullrowselect. Fixes #78454.
  5546. * XplatUIX11.cs : fix for double click emission.
  5547. 2006-06-05 Jonathan Chambers <[email protected]>
  5548. * PropertyGridView.cs : Applied Atsushi's patch to fix
  5549. font dialog bug (#78197).
  5550. 2006-06-05 Jackson Harper <[email protected]>
  5551. * TreeNode.cs: Compute the next node for expanding/collapsing
  5552. correctly. We now factor in nodes without a NextNode
  5553. correctly. (Fixes somes cases in nunit-gui).
  5554. * InternalWindowManager.cs: Set the bounds when updating the
  5555. virtual position of a tool window.
  5556. 2006-06-05 Chris Toshok <[email protected]>
  5557. * DataGrid.cs: rename cached_currencymgr to list_manager.
  5558. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  5559. some.
  5560. (CurrentRow, CurrentColumn): single accessors so we can make the
  5561. cursor movement code a lot easier to understand.
  5562. (CurrentRowIndex): implement this in terms of CurrentRow.
  5563. (BeginEdit): clean this up a bit.
  5564. (CancelEditing): sort out the is_editing/is_changing/is_adding
  5565. stuff a little.
  5566. (EndEdit): minor changes.
  5567. (OnKeyDown): add a comment about a (most likely) unnecessary
  5568. check.
  5569. (OnMouseDown): cancel editing when we click on a row header. And
  5570. use the CurrentRow setter, not CurrentCell.
  5571. (ProcessDialogKey): directly call ProcessGridKey.
  5572. (UpdateSelectionAfterCursorMove): factor out this common block of
  5573. code (it's used everywhere that we move the cursor by updating row
  5574. or column).
  5575. (ProcessGridKey): pretty substantial overhaul. Use the
  5576. CurrentRow/CurrentColumn properties to make the code a lot more
  5577. readable. Only use the CurrentCell property when we have to
  5578. modify both row and column at once. Tab behavior is still broken,
  5579. and Delete is untested.
  5580. (Select): if we have no selected rows, set selection_start to
  5581. @row.
  5582. (EditCurrentCell): rename EditCell this. It was only ever invoked
  5583. with CurrentCell as the arg, so drop the arg and rename it.
  5584. * DataGridColumnStyle.cs: clean up the constructors a little, and
  5585. drop CommonConstructor().
  5586. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  5587. actually get notified when the user hits it.
  5588. (ProcessKeyMessage): *substantially* simplify this method.
  5589. There's no reason (that I can see) for the textbox to be making
  5590. calls into the datagrid at all. Remove all of them but the ones
  5591. for Enter handling. those will take some more work.
  5592. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  5593. calling HideEditBox.
  5594. (HideEditBox): if we have an active textbox, render it invisible
  5595. without causing a re-layout of the datagrid.
  5596. 2006-06-05 Mike Kestner <[email protected]>
  5597. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  5598. collection changes by resetting it to Items[0]. Fixes #78587.
  5599. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  5600. * MessageBox.cs: if the height of the text is larger than the icon_size,
  5601. use that. Fixes bug #78575.
  5602. 2006-06-05 Jackson Harper <[email protected]>
  5603. * TreeView.cs: Fix line drawing when scrolling. To do this each
  5604. node is basically responsible for drawing its entire horizontal
  5605. area. When drawing a node it draws its parent node lines if
  5606. needed.
  5607. - Adjust the clip area to the viewport rectangle
  5608. - Fix Left/Right key handling to match MS. (It expand/collapses
  5609. and moves to parents/first child but does not move selection to
  5610. sibling nodes).
  5611. - Fix SetTop to work with new bound calculation code
  5612. - When scrollbars are no longer needed we need to reset scrolling
  5613. vars and recalculate the visible order so the redraw is correct
  5614. * TreeNode.cs: We can't expand/collapse nodes with no children.
  5615. 2006-06-03 John Luke <[email protected]>
  5616. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  5617. so the colors work without dev packages
  5618. 2006-06-02 Peter Dennis Bartok <[email protected]>
  5619. * Control.cs
  5620. - Select: Implemented to just use activate. Seems to match MS
  5621. behaviour closest. Documented to only do actual control walking
  5622. based on it's parameters if in a container control so I moved
  5623. the code there.
  5624. - Removed selection check logic from our internal Select() method
  5625. * ContainerControl.cs:
  5626. - Select: Moved selection logic from Control here, since MS documents
  5627. that containers obey the bool arguments. No longer calling base
  5628. 2006-06-02 Jackson Harper <[email protected]>
  5629. * TreeView.cs: If the selected node isn't changed when we get
  5630. focus update the previously selected node so that we see the
  5631. selection box.
  5632. 2006-06-02 Mike Kestner <[email protected]>
  5633. * ComboBox.cs: restructure grab and general mouse event handling.
  5634. Make the composite control raise mouse events like it was a single
  5635. control for leaves/enters/motion/up/down events. fix dropdown list
  5636. coordinate mangling and refactor it into the scrollbar subclass to
  5637. reduce code duplication. Fixes #78282 #78361 and #78457.
  5638. 2006-06-02 Mike Kestner <[email protected]>
  5639. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  5640. automatically in the Control.WndProc.
  5641. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5642. * FileDialog.cs: fix crash when running SharpChess, which sets the
  5643. FilterIndex to 2 with only one Filter.
  5644. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5645. * ToolBar.cs: add SizeSpecified property.
  5646. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  5647. try to figure out our real size, otherwise fallback to what the
  5648. container says.
  5649. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5650. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  5651. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  5652. up the event
  5653. 2006-06-01 Mike Kestner <[email protected]>
  5654. * ListView.cs: revamp the focus management in ListView. It still
  5655. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  5656. better than not handling focus at all. Will revisit when pdb feels
  5657. the general focus handling is solid. Fixes #78526.
  5658. 2006-06-01 Jackson Harper <[email protected]>
  5659. * TreeView.cs: Set the default border style in the constructor.
  5660. - Move painting to use OnPaintInternal instead of capturing
  5661. WM_PAINT, this is the correct way of doing things
  5662. - UpdateBelow shouldn't invalidate the scrollbar area
  5663. - Cap the top on update below in case the node was above the top
  5664. of the viewport rectangle.
  5665. - ExpandBelow and Collapse below need to obey Begin/End Update.
  5666. * TreeNode.cs: Make is_expanded internal so the treenode
  5667. collection can change it without firing the whole event chain.
  5668. * TreeNodeCollection.cs: When clearing all the child nodes make
  5669. sure to recalc the visible order.
  5670. - Improve algo for remove the top node
  5671. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5672. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  5673. SendMessage directly calling window procedures, which in turn might
  5674. call SetFocus()
  5675. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5676. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  5677. has focus (works around X11 sending a FocusIn after our SetFocus)
  5678. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  5679. 2006-06-01 Alexander Olk <[email protected]>
  5680. * Mime.cs: Fix for the NET_2_0 build.
  5681. NameValueCollection needs StringComparer now.
  5682. 2006-05-31 Chris Toshok <[email protected]>
  5683. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  5684. return (via an out parameter) the starting X of the column.
  5685. (UpdateVisibleColumn): track change to FromPixelToColumn.
  5686. (HitTest): add a ColumnResize case here.
  5687. (DrawResizeLine): new function, probably poorly named.
  5688. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  5689. only need to keep one reference.
  5690. (set_ListManager): same.
  5691. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  5692. Also, add support for HitTestType.ColumnResize.
  5693. (OnMouseMove): add column resize behavior here, and change the
  5694. cursor to the correct one as we move around the datagrid.
  5695. (OnMouseUp): terminate the column resize if we're resizing.
  5696. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  5697. for the current cell.
  5698. (ConnectListManagerEvents): use cached_currencymgr.
  5699. (DisconnectListManagerEvents): fill this in, using
  5700. cached_currencymgr.
  5701. (SetCurrentCell): remove cached_currencymgr_events handling.
  5702. (SetDataMember): only call DisconnectListManagerEvents if
  5703. cached_currencymgr is != null.
  5704. (SetDataSource): same.
  5705. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  5706. cached_currencymgr.
  5707. 2006-05-31 Jackson Harper <[email protected]>
  5708. * BindingManagerBase.cs: Remove somedebug code that creeped into
  5709. SVN.
  5710. * TreeNode.cs: We get the indent level dynamically right now, so
  5711. don't track it as a member.
  5712. * TreeNodeCollection.cs: Make sure all nodes added to the list
  5713. have parents, treeviews/topnodes setup properly.
  5714. - Don't attempt to track indent level.
  5715. 2006-05-30 Jackson Harper <[email protected]>
  5716. * BindingContext.cs: Create the currency manager tables here.
  5717. This allows us to more easily create null tables (when bad data
  5718. members are used), and more easily create related currency
  5719. managers.
  5720. * CurrencyManager.cs: All the table creation stuff is done by the
  5721. binding context now.
  5722. - Current should throw an exception if listposition is -1.
  5723. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  5724. been bound yet.
  5725. 2006-05-30 Mike Kestner <[email protected]>
  5726. * ListView.cs: allow reexpansion of zero-width column headers.
  5727. Fixes #78528.
  5728. 2006-05-28 Chris Toshok <[email protected]>
  5729. * CurrencyManager.cs (get_Current): after the late binding
  5730. listposition = -1 fix, we need to guard against it here and return
  5731. null, otherwise we raise an exception (which is swallowed
  5732. elsewhere, and breaks datagrid databinding.)
  5733. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5734. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  5735. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  5736. 2006-05-26 Jackson Harper <[email protected]>
  5737. * ControlPaint.cs:
  5738. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  5739. values, it's faster and it's all we care about (we don't care if
  5740. the names aren't equal).
  5741. * KeyboardLayouts.cs: Eliminate some dead code.
  5742. - Lazy init things
  5743. * X11Keyboard.cs: Lazy init keyboard detection.
  5744. - Cleanup access modifiers a little.
  5745. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5746. * XplatUIX11.cs: Once again, attempting to get layout just right.
  5747. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5748. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  5749. the sizes of each link section, that will result in sizes that
  5750. match DrawString's layout (Fixes #78391)
  5751. 2006-05-27 Alexander Olk <[email protected]>
  5752. * FileDialog.cs: If AddExtension property is true autocomplete the
  5753. extensions in SaveFileDialog correctly. Fixes bug #78453.
  5754. Set MyNetwork and MyComputer to "C:\" for windows. This should
  5755. fix part 8 of bug #78446 for now.
  5756. 2006-05-26 Chris Toshok <[email protected]>
  5757. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  5758. invalidate the current row header if we need to, but presumably
  5759. we'll invalidate the row corrsponding to the bounds or
  5760. editingControl.
  5761. (GridHScrolled): switch back to this method, as it's part of the
  5762. public api. *sigh*.
  5763. (GridVScrolled): same.
  5764. (OnMouseWheel): hack up something that more or less works. Call
  5765. GridHScrolled/GridVScrolled directly, instead of duplicating much
  5766. of their code here.
  5767. (EnsureCellVisibility): reinstate a bunch of this code, since we
  5768. can't just set the scrollbar Value and expect to do all the work
  5769. in the ValueChanged handler. Also, Call Update() after scrolling
  5770. in one direction so the other XplatX11.ScrollWindow call has the
  5771. proper stuff in the proper places.
  5772. (EditCell): set is_editing to true before calling .Edit.
  5773. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  5774. don't bother comparing first.
  5775. (OnKeyPress): call grid.ColumnStartedEditing before calling
  5776. base.OnKeyPress. this will set is_changing and invalidate the row
  5777. header if necessary.
  5778. (ProcessKeyMessage): for WM_CHAR messages, call
  5779. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  5780. and WM_KEYDOWN.
  5781. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  5782. it's done in the DataGrid.
  5783. (NextState): call grid.ColumnStartedEditing, which takes care of
  5784. invalidating the row header (and setting is_changing).
  5785. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  5786. here. it's done in the DataGrid.
  5787. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5788. * Control.cs: allow changing the cursor when the mouse position is
  5789. out of bounds but Capture is set.
  5790. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  5791. linklabel but released somewhere else.
  5792. 2006-05-25 Jackson Harper <[email protected]>
  5793. * TreeView.cs: When we get focus if there is no selected node make
  5794. it the top node
  5795. - Remove some uneeded setup code from Draw.
  5796. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  5797. a new node is inserted make the new node the top.
  5798. * XplatUIX11.cs:
  5799. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  5800. be used (should be faster).
  5801. 2006-05-25 Chris Toshok <[email protected]>
  5802. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  5803. problem with the last commit.
  5804. 2006-05-25 Chris Toshok <[email protected]>
  5805. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  5806. need the invalidate call here, while scrolling right-to-left via
  5807. the left arrow key (i.e. moving the editing cell while scrolling).
  5808. * DataGrid.cs (.ctor): remove the initialization of
  5809. ctrl_pressed/shift_pressed. We no longer track them using key
  5810. up/down handlers, but by using Control.ModifierKeys. Also, switch
  5811. to using ValueChanged handlers on the scrollbars instead of
  5812. Scrolled event handlers. This simplifies a bunch of the scrolling
  5813. code.
  5814. (GridHValueChanged): rename from GridHScrolled, and change it to
  5815. work with the new event args.
  5816. (GridVValueChanged): same.
  5817. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  5818. (OnMouseWheel): actually scroll the datagrid. Don't change the
  5819. selected cell.
  5820. (ProcessGridKey): correct all the keyboard navigation stuff I
  5821. could find. Ctrl up/down/left/right/home/end work now.
  5822. (EnsureCellVisibility): correct method name spelling. Also,
  5823. simplify this a touch by not explicitly calling the
  5824. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  5825. scrollbar value.
  5826. (OnKeyUpDG): no need for this method now.
  5827. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5828. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  5829. Fixes bug #78392.
  5830. 2006-05-25 Chris Toshok <[email protected]>
  5831. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  5832. r61019.
  5833. 2006-05-25 Peter Dennis Bartok <[email protected]>
  5834. * Application.cs: Moved setting of is_modal and closing to before
  5835. we create the control, to allow the event handlers called as a
  5836. result of creation affect closing. Also removed Gonzalo's previous
  5837. change to setting DialogResult, the behaviour has been moved to
  5838. Form.ShowDialog()
  5839. * Form.cs:
  5840. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  5841. handle it instead
  5842. - ShowDialog(): If no dialog result is set, we need to return Cancel
  5843. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  5844. the close is cancelled
  5845. 2006-05-25 Jackson Harper <[email protected]>
  5846. * StatusBar.cs: We only need to update the sizes of the other
  5847. panels when we have auto size contents. Also we are only updating
  5848. the contents of the panel, not the borders, so compensate for the
  5849. border width (TODO: get this width from the theme somehow).
  5850. * TreeView.cs: Scrollable is true by default
  5851. - Use invalidate instead of refresh where needed
  5852. - Factor the scrollable value into scrollbar updating
  5853. - Update the scrollbars if the Scrollable property is altered
  5854. - Update the selected node if its ImageIndex is changed
  5855. - Handle null nodes in UpdateNode (mainly so we don't have to
  5856. check if selected is null when updating it
  5857. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  5858. are factored into the visible count
  5859. - Use VisibleCount for clarity in the code
  5860. - When the font is changed we need to recurse through all the
  5861. nodes and invalidate their sizes
  5862. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5863. * Application.cs: set the DialogResult to fixed when the main form is
  5864. hidden or destroyed while being modal.
  5865. 2006-05-25 Miguel de Icaza <[email protected]>
  5866. * Theme.cs: Use Tangoified messagebox icons.
  5867. (GetSizedResourceImage): Also cope with width = 0 and do not
  5868. trigger a warning in that case (0 means "give me your icon from
  5869. the resouce, no special size needed).
  5870. 2006-05-25 Peter Dennis Bartok <[email protected]>
  5871. * Application.cs: Leave runloop if the the main modal form is
  5872. hidden (fixes #78484)
  5873. 2006-05-25 Atsushi Enomoto <[email protected]>
  5874. * BindingContext.cs : reject null datasource in Contains() and
  5875. Item[].
  5876. * CurrencyManager.cs : check data_member validity when data_source
  5877. is dataset. When it is late binding, the initial position is -1.
  5878. 2006-05-24 Jackson Harper <[email protected]>
  5879. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  5880. inserted nodes that aren't visible. This changes the
  5881. max_visible_order which confuses scrollbar settings.
  5882. - Use the enumerator to get the prev node instead of duplicating
  5883. code.
  5884. * TreeView.cs: Use new method for setting scrollbar values
  5885. - Don't set the bounds every time the scrollbar is updated
  5886. - When updating below the root node use an invalidate instead of a
  5887. refresh to prevent the child controls (scrollbars) from being
  5888. refreshed. (UpdateBelow still needs to be reworked anyways).
  5889. - Reenable SetBottom now that visible orders are set correctly,
  5890. added some debug code incase we ever get bad values there again.
  5891. - Set the scrollbar max to 2 less then the max value, this
  5892. compensates for the max value being one above the node count, and
  5893. for scrollbars adding one extra "notch".
  5894. - When drawing image nodes if there is an imagelist we draw the
  5895. first image in the list if the supplied image index is out of the
  5896. image list's bounds.
  5897. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5898. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  5899. we receive a size change from the WM (Fixes #78503)
  5900. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5901. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  5902. rectangle (Fixes #78501)
  5903. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5904. * ButtonBase.cs:
  5905. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  5906. as a bitfield.
  5907. - Fixed MouseMove to no longer switch pressed state unless the left
  5908. mouse button is pressed. Atsushi provided the original patch (#78485)
  5909. 2006-05-24 Jackson Harper <[email protected]>
  5910. * ScrollBar.cs: New internal methods that allow us to change a
  5911. couple values on the scrollbar (the most common case is maximum
  5912. and large change) without getting multiple invalidates.
  5913. 2006-05-24 Chris Toshok <[email protected]>
  5914. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  5915. (Edit): save off the original state in oldState, and set
  5916. grid.is_editing to true.
  5917. (OnKeyDown): abort editing if escape is pressed. also, call
  5918. NextState if space is pressed.
  5919. (OnMouseDown): call NextState.
  5920. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  5921. here. Also, only invalidate the row header once (on the initial
  5922. is_changing switch) to save on redraws.
  5923. 2006-05-24 Chris Toshok <[email protected]>
  5924. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  5925. if the value in the cell is different than it was before. This
  5926. keeps us from triggering a layout when we move around a datarid
  5927. with a highlighted cell.
  5928. (Edit): suspend layout when creating/positining the text box, and
  5929. resume passing false so we don't ever actually re-layout.
  5930. (ReleaseHostedControl): same.
  5931. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  5932. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  5933. control-key sequences should go to the datagrid - remove that
  5934. lock. Also, modify the conditions under which we move between
  5935. cells when moving the cursor within a cell, and remove the "this"
  5936. and "base" from field accesses. We weren't even consistent, given
  5937. they all were in the base class.
  5938. 2006-05-24 Atsushi Enomoto <[email protected]>
  5939. * Binding.cs : (.ctor)
  5940. An obvious NRE fix for BindingTest.CtorNullTest().
  5941. 2006-05-23 Chris Toshok <[email protected]>
  5942. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  5943. them between lines. This fixes some quirks editing cells in the
  5944. datagrid.
  5945. 2006-05-23 Jackson Harper <[email protected]>
  5946. * TreeView.cs: Use begin/end update when doing expand/collapse all
  5947. so that we don't get flicker on the scrollbar.
  5948. 2006-05-23 Jackson Harper <[email protected]>
  5949. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  5950. treenode calculations to be independant of the painting code. To
  5951. do this nodes track a visible order which is calculated by the
  5952. treeview.
  5953. - Call new methods for expanding/collapsing nodes. These methods
  5954. use scrollwindow so we don't have to update everything below the
  5955. node.
  5956. * TreeView.cs: Refactored drawing and scrolling code. We don't
  5957. need to update nodes when drawing anymore or calculate scrollbar
  5958. stuff.
  5959. - Added new methods for expanding/collapsing nodes. These methods
  5960. use ScrollWindow so as to not have to redraw all the nodes below.
  5961. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  5962. we add/remove nodes or sort.
  5963. - Handle removing the selected and the top node properly.
  5964. 2006-05-23 Chris Toshok <[email protected]>
  5965. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  5966. maybe this should actually happen in the datagrid code?
  5967. (EndEdit): no need to invalidate anything, given that
  5968. ReleaseHostedControl causes the datagrid to relayout, which
  5969. invalidates everything anyway.
  5970. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  5971. in SetCurrentCell).
  5972. (set_SelectionBackColor): call InvalidateSelection instead of
  5973. Refresh.
  5974. (set_SelectionForeColor): same.
  5975. (BeginEdit): Flesh this out a bit.
  5976. (CancelEditing): only do any of this if we're editing/adding.
  5977. (EndEdit): same.
  5978. (OnMouseDown): there's no need to cancel editing here, it's done
  5979. in SetCurrentCell.
  5980. (SetCurrentCell): only invalidate the current row header if it's a
  5981. different row than the new one.
  5982. (ShiftSelection): fix this to work like MS does.
  5983. (ResetSelection): factor out the invalidation of selected_rows to
  5984. InvalidateSelection.
  5985. (SetDataSource): cancel any editing that's going on.
  5986. * DataGridColumnStyle.cs
  5987. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  5988. call the non-interface version.
  5989. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  5990. header rectangle with the clip rectangle so we don't redraw the
  5991. entire header for just a small area. Gets rid of the last flicker
  5992. when horizontally scrolling.
  5993. (DataGridPaintRow): same.
  5994. 2006-05-23 Mike Kestner <[email protected]>
  5995. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  5996. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  5997. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  5998. Critical bug report.
  5999. 2006-05-23 Peter Dennis Bartok <[email protected]>
  6000. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  6001. and this fixes #78493
  6002. 2006-05-23 Miguel de Icaza <[email protected]>
  6003. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  6004. size is not found.
  6005. * FileDialog.cs: Do not change the background for the side bar as
  6006. it wont work nicely with the theme, and also reduces the artifacts
  6007. in rendering the icons (which I want to fix too).
  6008. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  6009. resources, not resgen resources.
  6010. (PlatformDefaultHandler): Pull images using the new API.
  6011. 2006-05-23 Peter Dennis Bartok <[email protected]>
  6012. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  6013. a reference to the hwnd and will not remove it unless there are
  6014. no pending exposures (fixes #78341)
  6015. * XplatUI.cs: Improved debug
  6016. 2006-05-23 Atsushi Enomoto <[email protected]>
  6017. * MenuAPI.cs : don't handle OnClick event when it was not the left
  6018. button. Fixed bug #78487.
  6019. 2006-05-23 Mike Kestner <[email protected]>
  6020. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  6021. prefer submenus to the top menu for item lookup, to avoid popping down
  6022. top-row items.
  6023. 2006-05-23 Alexander Olk <[email protected]>
  6024. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  6025. Graphics.FillRectangle as the visual results are really bad (even
  6026. on win). We now draw perfect arrows (and perfect shadows when the
  6027. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  6028. Pen.DashPattern to draw the dots of each line.
  6029. 2006-05-22 Alexander Olk <[email protected]>
  6030. * FileDialog.cs: Update the filename combobox when navigating through
  6031. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  6032. 2006-05-22 Mike Kestner <[email protected]>
  6033. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  6034. Fixes #78463.
  6035. 2006-05-22 Mike Kestner <[email protected]>
  6036. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  6037. requests. Fix a misspelled parameter and a copy paste exception error
  6038. in Select.
  6039. 2006-05-22 Peter Dennis Bartok <[email protected]>
  6040. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  6041. to get the same width/height (5/13) on X11 as the default font has on
  6042. win32. This means that our DefaultFont emSize is smaller than the
  6043. the MS SWF equivalent (even thought the width/height stays the same)
  6044. 2006-05-20 Jackson Harper <[email protected]>
  6045. * MdiClient.cs:
  6046. * MdiWindowManager.cs:
  6047. * InternalWindowManager.cs: Make sure to use the border width from
  6048. the theme.
  6049. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  6050. * PrintDialog.cs: Implements printer details
  6051. 2006-05-19 Alexander Olk <[email protected]>
  6052. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  6053. Fixes part 1 and 2 of bug #78446
  6054. 2006-05-19 Peter Dennis Bartok <[email protected]>
  6055. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  6056. instead of sticking to the first ever calculated value
  6057. 2006-05-19 Mike Kestner <[email protected]>
  6058. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  6059. PointToClient, since Capture is set. Fixes #78344.
  6060. 2006-05-19 Mike Kestner <[email protected]>
  6061. * ListView.cs: match MS behavior in Details view where items are not
  6062. drawn if Columns.Count == 0.
  6063. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  6064. Use a separate pen to draw the check, since changing the width affects
  6065. the box as well. Fixes #78454.
  6066. 2006-05-18 Miguel de Icaza <[email protected]>
  6067. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  6068. exception should throw the name of the invalid argument.
  6069. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  6070. there are no files listed.
  6071. 2006-05-18 Jackson Harper <[email protected]>
  6072. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  6073. up.
  6074. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6075. * Control.cs: Brought back our old UpdateZOrder method as a private
  6076. function and switched our calls from UpdateZOrder to the new one.
  6077. This fixes the Paint.Net canvas disappearing bug.
  6078. 2006-05-18 Jackson Harper <[email protected]>
  6079. * Theme.cs:
  6080. * ThemeWin32Classic.cs:
  6081. * InternalWindowManager.cs: Move the drawing into the theme,
  6082. expose everything the theme should need from the window manager.
  6083. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6084. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  6085. from the call to NativeWindow to avoid walking up the parent chain
  6086. further than needed (speeds up setting cursors and avoids setting
  6087. the wrong cursor if a parent has another cursor defined)
  6088. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  6089. the icon as hotspot, not what's contained as hotspot in the icon
  6090. file. This fixes the perceived drawing offset seen with Paint.Net
  6091. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6092. * XplatUIX11.cs:
  6093. - Store the calculated rectangle in Hwnd object and use it when
  6094. setting the client size
  6095. - Force Toolwindows to always be type Dock, to ensure they're on top
  6096. 2006-05-18 Mike Kestner <[email protected]>
  6097. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  6098. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  6099. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  6100. Substantial refactoring to remove confusing nested classes. Coding
  6101. standard and Get+Set->property refactorings. Shift to index based
  6102. highlighting in ComboListBox instead of constantly using IndexOf and
  6103. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  6104. in FileDialog growth. Draw borders manually since Simple mode needs
  6105. to look like two independent controls. Make listbox border
  6106. conditional to DropDownStyle. Improved OwnerDraw support.
  6107. 2006-05-18 Sebastien Pouliot <[email protected]>
  6108. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  6109. Don't set the disposed graphics to null, so we can throw the "right"
  6110. exception if the graphics is reused later (added a flag to avoid
  6111. double disposing). Some behaviours are different under 2.0 and are
  6112. filled under bug #78448.
  6113. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6114. * Control.cs: When double-buffering is enabled, we need to reset
  6115. our graphics context between paint calls. Otherwise, any
  6116. transformations and other alterations on the context will
  6117. become cumulative (#77734)
  6118. 2006-05-18 Mike Kestner <[email protected]>
  6119. * ListView.cs: do focused item selection like MS on clicks.
  6120. Rework focus handling for ItemControl so LostFocus invalidates as
  6121. well.
  6122. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  6123. the ListView ItemControl has focus.
  6124. 2006-05-17 Peter Dennis Bartok <[email protected]>
  6125. * XplatUIX11.cs: If client_window ends up being width or height zero
  6126. due to border settings, move it off window inside whole_window (#78433)
  6127. 2006-05-17 Alexander Olk <[email protected]>
  6128. * Mime.cs: Shrink the mime file cache correctly.
  6129. 2006-05-17 Alexander Olk <[email protected]>
  6130. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  6131. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6132. * XplatUIX11.cs (AddExpose): More sanity checks
  6133. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6134. * XplatUIX11.cs:
  6135. - AddExpose: Don't add expose ranges outside the size of our
  6136. window
  6137. - Cast opacity values to Int32 to avoid crashes with certain
  6138. values
  6139. - Added disabled code paths that protect against illegal cross-
  6140. thread painting (Developers.exe)
  6141. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6142. * ProgressBar.cs: Invalidate the control when it's resized
  6143. since block size is based on control size. (#78388)
  6144. 2006-05-16 Miguel de Icaza <[email protected]>
  6145. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  6146. of setting the incoming argument to the "reset" value, we set the
  6147. this.datamember to string.empty (before we were invalidating the
  6148. incoming data).
  6149. Fixes 78420
  6150. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6151. * Form.cs: Only apply transparency settings after the form
  6152. is created. (Fixes #77800)
  6153. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6154. * ApplicationContext.cs: Grab the HandleDestroyed event so
  6155. we know when to fire OnMainFormClosed
  6156. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6157. * Application.cs: Introduced sub-class to allow tracking of
  6158. threads and centralized triggering of the event mess for
  6159. ThreadExit, AppExit, etc.. (#76156)
  6160. 2006-05-16 Alexander Olk <[email protected]>
  6161. * MimeIcon.cs:
  6162. - Do not return a null icon index value for a mime subclass.
  6163. Instead try the main mime type class too.
  6164. - Seems that some newer distributions don't have a link to some
  6165. gnome default icons anymore. So check the default gnome dir too.
  6166. 2006-05-16 Jackson Harper <[email protected]>
  6167. * MdiClient.cs: Don't paint the parent background image if we have
  6168. our own background image.
  6169. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6170. * Control.cs:
  6171. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  6172. controls, all filled controls are supposed to overlap (#78080)
  6173. - UpdateZOrder is supposed to update the control's z-order in the
  6174. parent's z-order chain. Fixed to behave like that
  6175. - BringToFront: Removed obsolete code
  6176. - SendToBack: Simplyfied
  6177. - SetChildIndex: Trigger layout calculations when Z-order changes
  6178. since layout is done by z-order
  6179. 2006-05-16 Chris Toshok <[email protected]>
  6180. [ fixes bug #78410 ]
  6181. * DataGrid.cs (set_AlternatingBackColor): use
  6182. grid_drawing.InvalidateCells instead of Refresh().
  6183. (set_BackColor): call grid_drawing.InvalidateCells.
  6184. (set_BackgroundColor): use Invalidate instead of Refresh.
  6185. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  6186. invalidate the cell area.
  6187. 2006-05-15 Chris Toshok <[email protected]>
  6188. [ fixes bug #78011 ]
  6189. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  6190. on to DataGridPaintRow.
  6191. (DataGridPaintRow): take a clip argument, and only draw the cells
  6192. which intersect it. same with the not_usedarea.
  6193. * Theme.cs (DataGridPaintRow) add @clip parameter.
  6194. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  6195. XplatUI.ScrollWindow.
  6196. (ScrollToRow): same.
  6197. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  6198. with last column which was causing a gray swath to appear with the
  6199. XplatUI.ScrollWindow code.
  6200. 2006-05-15 Chris Toshok <[email protected]>
  6201. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  6202. use XplatUI.ScrollWindow.
  6203. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  6204. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6205. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  6206. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6207. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  6208. file since there are no equivalent X11 cursors
  6209. 2006-05-15 Atsushi Enomoto <[email protected]>
  6210. * MonthCalendar.cs : DateTimePicker should reflect selected date
  6211. on mouse*up*, not mouse*down*. Fixed originally reported part of
  6212. bug #76474.
  6213. 2006-05-15 Atsushi Enomoto <[email protected]>
  6214. * TabControl.cs : When argument index is equal or more than tab
  6215. count, just ignore. Fixed bug #78395.
  6216. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6217. * Control.cs: Dispose all child controls when control is diposed (#78394)
  6218. 2006-05-14 Alexander Olk <[email protected]>
  6219. * ColorDialog.cs: Finally it is possible to select the color with
  6220. the text boxes
  6221. 2006-05-14 Alexander Olk <[email protected]>
  6222. * PrintDialog.cs: Fix typo
  6223. 2006-05-14 Alexander Olk <[email protected]>
  6224. * PrintDialog.cs: PrintDialog is not resizable
  6225. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  6226. color. Made some ToolBar drawing methods protected virtual.
  6227. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  6228. * PrintDialog.cs: Implementation of the PrintDialog
  6229. 2006-05-12 Chris Toshok <[email protected]>
  6230. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  6231. thumb, instead use MoveThumb. This has the side effect of making
  6232. most of the other thumb moving machinery use MoveThumb as well.
  6233. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  6234. need to actually invalidate the rectangle where the new thumb will
  6235. go.
  6236. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  6237. We force an Update() after, so it's not as fast as it could be,
  6238. but at least there's zero flicker and no droppings.
  6239. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  6240. (UpdateThumbPos): add another argument (dirty), which says whether
  6241. or not to calculate/add dirty regions which we later invalidate.
  6242. For cases where we know we're going to use MoveThumb, we pass
  6243. false for this. Otherwise, pass true.
  6244. 2006-05-12 Jackson Harper <[email protected]>
  6245. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  6246. the status bar.
  6247. 2006-05-12 Peter Dennis Bartok <[email protected]>
  6248. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  6249. and GetClipRegion methods and UserClipWontExposeParent property.
  6250. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  6251. overriding UserClipWontExposeParent property, setting to false, since
  6252. Win32 handles the required expose messages to draw our clipped parent
  6253. areas internally
  6254. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  6255. PaintEventStart to set the user clip region if set.
  6256. * Control.cs:
  6257. - Now internally tracking the Region for the control since we need to
  6258. store it if the handle is not yet created and only set it when it
  6259. becomes created. Before setting the region forced handle creation
  6260. - Added code to draw the parents underneath a user-clipped region
  6261. * Hwnd.cs: Added UserClip property
  6262. 2006-05-12 Chris Toshok <[email protected]>
  6263. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  6264. (set_Maximum): same.
  6265. (set_Minimum): same.
  6266. (set_SmallChange): same.
  6267. (OnMouseUpSB): remove the call to refresh when releasing the
  6268. thumb. We shouldn't need it.
  6269. 2006-05-12 Miguel de Icaza <[email protected]>
  6270. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  6271. AutoSize set to None, we do not need to relayout everything, we
  6272. just need to invalidate the current region.
  6273. (Draw): Do not draw the entire ClientArea, just redraw the
  6274. clip area being passed.
  6275. * MdiClient.cs: Make MdiClient constructor with the Form argument
  6276. internal.
  6277. 2006-05-12 Jackson Harper <[email protected]>
  6278. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  6279. parents background image, but strangely not their own.
  6280. - (DrawStatusBarPanel): Take into account horizontal alignment
  6281. when drawing the strings and icons.
  6282. 2006-05-12 Mike Kestner <[email protected]>
  6283. * ListBox.cs: avoid invalidations for focus when the collection is
  6284. empty.
  6285. 2006-05-12 Chris Toshok <[email protected]>
  6286. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  6287. invalidate the entire thumb area. Call InvalidateDirty which
  6288. limits the redraw to the thumb itself and surrounding pixels.
  6289. * XplatUIX11.cs (ScrollWindow): optimize copying.
  6290. 2006-05-12 Chris Toshok <[email protected]>
  6291. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  6292. Figure out the positioning/layout in a single pass instead of
  6293. multiple recursive invocations. Speeds up the initial display of
  6294. the data grid. Also, make many things private that were
  6295. originally public but unused outside this class.
  6296. 2006-05-11 Jackson Harper <[email protected]>
  6297. * MdiClient.cs: Improved layout code.
  6298. 2006-05-11 Jonathan Chambers <[email protected]>
  6299. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  6300. not SelectedObject.
  6301. 2006-05-11 Chris Toshok <[email protected]>
  6302. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  6303. union of that will always be {0,0,width,height}.
  6304. 2006-05-11 Jackson Harper <[email protected]>
  6305. * Form.cs: Match MS's DefaultSize for forms (they must have
  6306. changed the size in sp2).
  6307. 2006-05-11 Atsushi Enomoto <[email protected]>
  6308. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  6309. 2006-05-11 Atsushi Enomoto <[email protected]>
  6310. * TextControl.cs : Fixed bug #78109. This incorrect position
  6311. comparison caused crash on automatic line split.
  6312. * TextBoxBase.cs : reduce duplicate code.
  6313. 2006-05-10 Jackson Harper <[email protected]>
  6314. * MdiClient.cs: Active form is only sent to the back when using
  6315. the Next form functionality, when a form is clicked the current
  6316. active shouldn't be sent to the back.
  6317. - Layout the mdi windows when the container is first made visible.
  6318. * Form.cs: Give the MdiClient a ref to the containing form when we
  6319. create it.
  6320. 2006-05-10 Atsushi Enomoto <[email protected]>
  6321. * LinkLabel.cs : link_font could be uninitialized, so populate one
  6322. before actual use. Fixed bug #78340.
  6323. 2006-05-10 Atsushi Enomoto <[email protected]>
  6324. * XplatUIX11.cs : clipboard format native value is IntPtr.
  6325. Fixed bug #78283.
  6326. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6327. * Control.cs:
  6328. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  6329. which is passed up the parent chain by DefWndProc
  6330. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  6331. to DefWndProc (#77956)
  6332. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  6333. 2006-05-10 Jackson Harper <[email protected]>
  6334. * MdiClient.cs: We need to remove the controls from the mdi
  6335. collection, when we close the window.
  6336. * MdiWindowManager.cs: Special handling of closing mdi windows.
  6337. * InternalWindowManager.cs: Make the close method virtual so the
  6338. mdi window manager can handle it specially.
  6339. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  6340. * DataGrid.cs:
  6341. - Recalculate grid when the data source has changed
  6342. - Matches styles provided by user from all data sources types
  6343. * DataGridTableStyle.cs: For columns that provided by the user set the
  6344. with the preferred value is there was unassigned.
  6345. * CurrencyManager.cs: throw OnItemChanged event
  6346. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6347. * PictureBox.cs: Don't animate until handle is created. Start animation
  6348. when handle is created.
  6349. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6350. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  6351. current codebase.
  6352. * XEventQueue.cs: We don't need to provide the extra info
  6353. 2006-05-10 Jackson Harper <[email protected]>
  6354. * MdiClient.cs: If the mdi clients parent form has a background
  6355. image set, we draw that background image for the mdi area's
  6356. background.
  6357. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6358. * TextBoxBase.cs: Set IBeam cursor (#78347)
  6359. 2006-05-10 Mike Kestner <[email protected]>
  6360. * ToolBar.cs: fix some text padding issues with ButtonSize
  6361. calculation. Update the default size to match MS documentation.
  6362. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  6363. button size. Fixes #78296.
  6364. 2006-05-10 Mike Kestner <[email protected]>
  6365. * ListBox.cs: use is_visible for scrollbar positioning in case the
  6366. control isn't on screen yet. Fix off by one with Right vs Width
  6367. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  6368. 2006-05-10 Jackson Harper <[email protected]>
  6369. * X11Dnd.cs: Drop to a control with another control on top of it.
  6370. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  6371. be modified in click handlers. TODO: Look for similar problems in
  6372. other controls.
  6373. 2006-05-09 Jackson Harper <[email protected]>
  6374. * Form.cs: Window managers need the old window state when setting
  6375. window state now.
  6376. * InternalWindowManager.cs: Allow the base mdi window manager to
  6377. handle more of the MDI only stuff (like maximize buttons).
  6378. * MdiWindowManager.cs: Fix some snafus in changing the window
  6379. state. Add all the menu functionality, for both popup and
  6380. maximized menus.
  6381. * MdiClient.cs: When a new form is selected the currently
  6382. activated form is sent to the back, this matches MS.
  6383. - Implement a new method to activate the next mdi child window.
  6384. 2006-05-08 Peter Dennis Bartok <[email protected]>
  6385. * Control.cs:
  6386. - Added new InternalCapture method to allow controls to prevent
  6387. the capture behaviour on the click handlers
  6388. - Switched to use InternalCapture
  6389. * ComboBox.cs:
  6390. - Using InternalCapture to prevent mouse captures from being released
  6391. on mouse button release (Fixes #78100)
  6392. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  6393. returns Form borders if a caption is present. (Fixes #78310)
  6394. 2006-05-08 Peter Dennis Bartok <[email protected]>
  6395. * TreeNode.cs: Changed serialization .ctor to not require every field
  6396. to be present. (#78265)
  6397. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  6398. 2006-05-05 Alexander Olk <[email protected]>
  6399. * MimeIcon.cs: for is faster than foreach for strings.
  6400. 2006-05-05 Mike Kestner <[email protected]>
  6401. * CheckedListBox.cs: update check handling code to not use selected.
  6402. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  6403. behavior for visual feedback, motion response, shift/ctrl handling,
  6404. and properly deal with all 4 selection modes. Updates to bounds
  6405. handling logic. Add scroll wheel support. [Fixes #77842]
  6406. 2006-05-05 Peter Dennis Bartok <[email protected]>
  6407. * ListView.cs:
  6408. - Moved adding of Implicit controls into .ctor. That way, subsequent
  6409. creation of the controls will not cause them to think they are
  6410. toplevel windows (fixes #78200 header problem)
  6411. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  6412. - Switched visibility setting of header control to use internal field
  6413. to avoid triggering handle creation
  6414. - Now checking if handle is created before causing a refresh when items
  6415. are added (This makes us now match handle creation time with MS)
  6416. * Splitter.cs: Removed loading of private splitter cursor, switched to
  6417. Cursors version now that that is loading the right ones
  6418. * Cursors.cs: Load proper splitter cursors from resources
  6419. * Cursor.cs: Added second method of loading resource cursors for the
  6420. VS.Net users amongst us
  6421. 2006-05-05 Mike Kestner <[email protected]>
  6422. * ListView.cs: give header_control a minimum size based on the
  6423. ListView size.
  6424. 2006-05-05 Peter Dennis Bartok <[email protected]>
  6425. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  6426. window seems to do that with metacity, so set that type. (#78120)
  6427. 2006-05-05 Mike Kestner <[email protected]>
  6428. * ListViewItem.cs: fix Details mode checkbox layout bug.
  6429. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  6430. at the end of the header, if it exists. [Fixes for #78200]
  6431. 2006-05-04 Jackson Harper <[email protected]>
  6432. * MdiClient.cs: Add a helper property to get the container form.
  6433. * MdiWindowManager.cs: We have to make sure to use the menu origin
  6434. when drawing the icons and buttons, this fixes maximized window
  6435. icons/buttons on win32.
  6436. * InternalWindowManager.cs: Reset the restore captions when a
  6437. window goes from Maximized to Minimized and vice versa. Move the
  6438. DrawMaximizedButtons into the MdiWindowManager source, tool
  6439. windows can't be maximized. NOTE: This could use a little
  6440. refactoring if time ever permits.
  6441. 2006-05-03 Jonathan Chambers <[email protected]>
  6442. * TextBox.cs: Add MWFCategoryAttributes
  6443. * TextBoxBase.cs: Add MWFCategoryAttributes
  6444. * Form.cs: Add MWFCategoryAttributes
  6445. 2006-05-03 Jonathan Chambers <[email protected]>
  6446. * Control.cs: Add MWFCategoryAttributes
  6447. * ScrollableControl.cs: Add MWFCategoryAttributes
  6448. 2006-05-03 Alexander Olk <[email protected]>
  6449. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  6450. Divider is true. Fix a little glitch in PropertyToolBar
  6451. drawing code
  6452. 2006-05-02 Peter Dennis Bartok <[email protected]>
  6453. * Control.cs:
  6454. - Dispose: Call base.Dispose, this causes the disposed event
  6455. to be fired (and probably other, more important stuff)
  6456. - SetVisibleCore: Set is_visible to true after creating the
  6457. window so that the window still gets created invisible (if
  6458. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  6459. to generate a WM_ACTIVE message
  6460. * Form.cs: Call Dispose when we want to destroy the window, instead of
  6461. just destroying the handle (Dispose will do that for us)
  6462. * XplatUIX11.cs:
  6463. - RootWindow also needs a queue, so we can properly process the
  6464. property change events from RootWindow (like Activate)
  6465. - Generatic synthetic WM_ACTIVE message when the active window is
  6466. being destroyed
  6467. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6468. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  6469. bounds are changed
  6470. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6471. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  6472. for determining width and height (image might not be assigned if
  6473. we're drawing an imagelist)
  6474. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6475. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  6476. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  6477. height from system
  6478. * Theme.cs: No longer returns hardcoded menu height, instead calls
  6479. new driver method
  6480. * Form.cs (OnLoad): Scaling happens before triggering Load events
  6481. on MS (# 78257)
  6482. 2006-05-01 Mike Kestner <[email protected]>
  6483. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  6484. 2006-04-30 Peter Dennis Bartok <[email protected]>
  6485. * TextBoxBase.cs: Removed Fixme
  6486. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  6487. 2006-04-30 Peter Dennis Bartok <[email protected]>
  6488. * XplatUIX11.cs:
  6489. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  6490. the rectangle relative to the parent, considering borders. We
  6491. don't really want that.
  6492. - ScrollWindow: Fixed warning to be more understandable
  6493. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  6494. scrollbars and scroll only the visible area
  6495. * RichTextBox.cs: Removed debug output
  6496. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6497. * NumericUpDown.cs (Text): Just use base
  6498. * UpDownBase.cs: Ensure txtView is created before using it
  6499. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6500. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  6501. casting to IntPtr to avoid 64bit overflow errors
  6502. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6503. * Control.cs:
  6504. - AllowDrop: Don't force handle creation.
  6505. - CreateHandle: Added call to tell driver if we're allowed to drop
  6506. 2006-04-27 Alexander Olk <[email protected]>
  6507. * FileDialog.cs: Remember the last directory not only for the
  6508. current instance but also for new FileDialog instances.
  6509. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6510. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  6511. broke sending async messages
  6512. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6513. * XplatUIX11.cs:
  6514. - ScrollWindow: Fixed method. We finally generate expose events again
  6515. for scrolled areas. This was causing 'garbage' when scrolling
  6516. textbox and other controls that used ScrollWindow
  6517. - Switched from using the regular queue for paint events to the MS
  6518. model of 'generating' paint events when the queue is empty.
  6519. We use the new XQueueEvent.Paint subclass to store which windows
  6520. need painting.
  6521. - AddExpose now takes the x/y/width/height of the exposed area
  6522. and inserts the window into the paint queue if not already there
  6523. - InvalidateWholeWindow: Switched to use new AddExpose method
  6524. - UpdateMessageQueue: Added which queue to monitor for paint events
  6525. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  6526. the unlikely case nothing above handles it. We reset the expose
  6527. pending states to get them off the queue.
  6528. - GetMessage: Now pulls a paint event if no other events are in the
  6529. queue
  6530. - Invalidate: Switched to new AddExpose method
  6531. - PeekMessage: Updated to understand pending paint events
  6532. - UpdateWindow: Fixed logic bug. We were only updating if the window
  6533. didn't need updating. Also switched to sending WM_PAINT directly,
  6534. like MS does.
  6535. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  6536. and random access Remove(). The random access is needed to handle
  6537. UpdateWindow() where a WM_PAINT is sent directly without accessing
  6538. the queue.
  6539. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  6540. allow for better feedback when scrolling. Scrollbars are small and
  6541. the immediate update should make it 'feel' more responsive without
  6542. slowing things down. ScrollBar still needs it's invaliate logic
  6543. updated to not always invalidate the whole bar on certain changes.
  6544. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  6545. * Control.cs:
  6546. (BackColor): if the control does not support a transparent background,
  6547. return the default backcolor when the parent backcolor is transparent.
  6548. 2006-04-28 Peter Dennis Bartok <[email protected]>
  6549. * Application.cs: Updated to new StartLoop/GetMessage API
  6550. * RichTextBox.cs: Provide some output on RTF parsing errors
  6551. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  6552. new queue_id argument to GetMessage and PeekMessage to allow faster
  6553. handling of per-thread queues in drivers.
  6554. * Hwnd.cs: Added Queue tracking and property
  6555. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  6556. * XEventQueue.cs: Added thread trackingA
  6557. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  6558. * XplatUIX11.cs:
  6559. - Implemented new per-thread queue
  6560. - GetMessage: Fixed return/break behaviour on several cases. We were
  6561. returning stale messages in some cases, instead of just processing
  6562. the next message
  6563. 2006-04-27 Jonathan Chambers <[email protected]>
  6564. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  6565. 2006-04-27 Peter Dennis Bartok <[email protected]>
  6566. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  6567. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  6568. 2006-04-27 Jonathan Chambers <[email protected]>
  6569. * PropertyGridView.cs: Fix drop down width.
  6570. 2006-04-27 Alexander Olk <[email protected]>
  6571. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  6572. a mess in DrawToolBar, so I removed one of them.
  6573. 2006-04-27 Alexander Olk <[email protected]>
  6574. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  6575. needed (clip). Otherwise we get artifacts.
  6576. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6577. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  6578. dimension is fixed
  6579. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  6580. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  6581. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  6582. if it matches the scale base font (avoids unneeded scaling)
  6583. 2006-04-26 Alexander Olk <[email protected]>
  6584. * X11DesktopColors.cs: One gtk_init_check should be enough
  6585. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6586. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  6587. match MS behaviour
  6588. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6589. * TextBoxBase.cs:
  6590. - Generate OnTextChanged for Backspace even if we're only deleting
  6591. the current selection
  6592. - When setting the Text property, only select all text if the
  6593. control does not have focus when it is being set. Otherwise
  6594. just place the cursor at the beginning of the control
  6595. 2006-04-26 Alexander Olk <[email protected]>
  6596. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  6597. Added a little helper to draw PropertyGrid ToolBar with a different
  6598. border and a different BackColor.
  6599. * PropertyGrid.cs: Some background parts didn't get painted with the
  6600. correct background color. Added a class that helps us to draw the
  6601. correct border for PropertyGridView and a class that helps us to
  6602. draw ToolBars with a different backcolor
  6603. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  6604. 2006-04-25 Jonathan Chambers <[email protected]>
  6605. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  6606. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  6607. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6608. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  6609. into the palette entries. Also, since we're working on a copy
  6610. we needed to copy the palette back onto the bitmap.
  6611. * Cursor.cs: Same fix as XplatUIWin32.cs.
  6612. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6613. * ImageListStreamer.cs: Need to read the var (or we're off)
  6614. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6615. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  6616. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  6617. TextBoxBase.cs: Unused var fixes
  6618. * AxHost.cs: Small 2.0 fix
  6619. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  6620. as it seems that is what at least Metacity expects. This will make
  6621. icons show up on 64bit platforms. We still have some 64bit size
  6622. issues, though, since the startup app window size still won't match.
  6623. 2006-04-25 Mike Kestner <[email protected]>
  6624. * *.cs: cleanup newly reported exception var unused warnings.
  6625. 2006-04-25 Alexander Olk <[email protected]>
  6626. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  6627. ms
  6628. 2006-04-25 Alexander Olk <[email protected]>
  6629. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  6630. image. The image position is always the same, no matter if the
  6631. button is pressed or not.
  6632. 2006-04-25 Alexander Olk <[email protected]>
  6633. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  6634. selection and set the correct filename for SaveFileDialog.
  6635. Patch by Emery Conrad.
  6636. 2006-04-24 Mike Kestner <[email protected]>
  6637. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  6638. check for item.X outside the ClientRect instead of item.Y. Fixes
  6639. #78151.
  6640. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6641. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  6642. trust that value blindly and do some sanity check. Fixes bug #77814.
  6643. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6644. * ImageListStreamer.cs: save the mask as a 1bpp image.
  6645. 2006-04-21 Mike Kestner <[email protected]>
  6646. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  6647. pass Checked and Indeterminate to the Theme Engine. Improve
  6648. encapsulation with ListBox.
  6649. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  6650. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  6651. nested types. Move all CheckState functionality to CheckedListBox.
  6652. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  6653. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  6654. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  6655. single base list. Fix scrollbar sizing and placement to mirror MS.
  6656. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  6657. used.
  6658. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  6659. for CheckedListBox by using new DrawItemState info. Center the
  6660. checkboxes on the items. Use new StringFormat property.
  6661. 2006-04-18 Jackson Harper <[email protected]>
  6662. * Form.cs: MdiChildren don't do default locations the same way as
  6663. regular forms. This prevents a crash when trying to position the
  6664. mdi windows.
  6665. 2006-04-17 Jonathan Chambers <[email protected]>
  6666. * PropertyGridTextBox.cs: Formatting, copyright
  6667. * PropertiesTab.cs: Formatting
  6668. * PropertyGrid.cs: Formatting
  6669. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  6670. click toggling of values
  6671. 2006-04-17 Peter Dennis Bartok <[email protected]>
  6672. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  6673. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  6674. every time a control is created
  6675. * Application.cs: Removed obsolete EnableRTLMirroring method
  6676. 2006-04-18 Gert Driesen <[email protected]>
  6677. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  6678. SelectedIndex to -1. Fixes bug #78121.
  6679. 2006-04-17 Jackson Harper <[email protected]>
  6680. * Binding.cs: Handle null values for Current and BindingContext.
  6681. This occurs when binding is a little delayed.
  6682. * CurrencyManager.cs: return null for Current when there are no
  6683. items in the list.
  6684. - Hookup to the listchanged event on the DataView and update
  6685. bindings when the list is changed. This fixes late binding of
  6686. controls.
  6687. 2006-04-17 Jackson Harper <[email protected]>
  6688. * X11Dnd.cs:
  6689. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  6690. Ringenbach.
  6691. 2006-04-15 Alexander Olk <[email protected]>
  6692. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  6693. place
  6694. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  6695. with the correct ButtonState
  6696. 2006-04-14 Peter Dennis Bartok <[email protected]>
  6697. * XplatUIX11.cs: Improved distinguishing between window types to
  6698. tell the WM a type closer to what the app wants (Fixes #78107)
  6699. 2006-04-14 Alexander Olk <[email protected]>
  6700. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  6701. GrabHandle
  6702. 2006-04-14 Alexander Olk <[email protected]>
  6703. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  6704. drawing code to reflect the size grip changes
  6705. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  6706. * ImageListStreamer.cs: fix handling of the mask that follows the main
  6707. bitmap when deserializing and serialize it properly. The generated mask
  6708. should better be a 1bpp image, but I'll do that later.
  6709. 2006-04-13 Alexander Olk <[email protected]>
  6710. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  6711. path doesn't fit into some of our Current.Places
  6712. 2006-04-13 Jackson Harper <[email protected]>
  6713. * ComboBox.cs: Use borders instead of drawing our own decorations,
  6714. try to obey correct rules for heights.
  6715. * Theme.cs:
  6716. * ThemeNice.cs:
  6717. * ThemeClearLooks.cs:
  6718. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  6719. this is now handled by borders.
  6720. - Remove unused DrawListBoxDecorationSize method.
  6721. 2006-04-13 Mike Kestner <[email protected]>
  6722. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  6723. reported by Alex.
  6724. 2006-04-13 Alexander Olk <[email protected]>
  6725. * ThemeWin32Classic.cs:
  6726. - Fixed CPDrawStringDisabled
  6727. - Corrected drawing of disabled menu items
  6728. - Fixed drawing of disabled radio buttons (bug #78095)
  6729. - Draw check in a disabled CheckBox with color ControlDark
  6730. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6731. * Form.cs: Use the provided width when calculating the menu size;
  6732. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  6733. and ClientSize.Width won't be updated yet
  6734. * Application.cs: Use Visible instead of Show() to make form visible,
  6735. this way we create the handle later and menusize is considered
  6736. 2006-04-12 Mike Kestner <[email protected]>
  6737. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  6738. reporting.
  6739. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6740. * TextBox.cs: Implemented context menu
  6741. 2006-04-12 Mike Kestner <[email protected]>
  6742. * ListView.cs: implement box selection. fixes #77838.
  6743. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  6744. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6745. * XplatUIX11.cs: Added setting of window type when transient window
  6746. is created (metacity would move it otherwise)
  6747. * X11Structs.cs: Added WINDOW_TYPE atoms
  6748. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  6749. background (the control is Opaque but still wants transparent
  6750. backgrounds)
  6751. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6752. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  6753. that set Opaque but don't mean it (like all ButtonBase-derived
  6754. controls) to still draw their background
  6755. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  6756. the background
  6757. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6758. * Control.cs (PaintControlBackground): Set the graphics object
  6759. on our PaintEvent to null to prevent it from being disposed
  6760. when the PaintEvent gets disposed
  6761. 2006-04-12 Alexander Olk <[email protected]>
  6762. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  6763. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  6764. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6765. * Control.cs:
  6766. - Added transparency check to BackColor property. Transparent
  6767. backgrounds are only allowed if the control styles permit it
  6768. - Added recursive painting of parent control background and
  6769. foreground if a control with a transparent backcolor is drawn
  6770. (Thanks to Tim Ringenback for providing his 'hack' as a base
  6771. for this patch) Fixes #77985 and #78026.
  6772. - Added Opaque style check before calling OnPaintBackground, no
  6773. need to draw the background if the control is opaque
  6774. - Removed ControlAccessibleObject owner variable (inherited from
  6775. base, no need to define again)
  6776. - Added some documentation links explaining the drawing events
  6777. and styles
  6778. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6779. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  6780. that the affected control is the located at the left border of our
  6781. parent (Fixes #77936)
  6782. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6783. * TextBoxBase.cs: When rendering disabled or readonly controls,
  6784. draw the background with 'Control' instead of 'Window' color as
  6785. long as the user hasn't specifically set a color
  6786. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6787. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  6788. since that won't be updated if the user types text (only if it's
  6789. programatically set)
  6790. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6791. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  6792. layout changes do to app-triggered resizes will have the proper
  6793. display rectangle for layout
  6794. 2006-04-11 Alexander Olk <[email protected]>
  6795. * ThemeWin32Classic.cs:
  6796. - Make use of the SystemBrushes and SystemPens wherever possible
  6797. - Corrected some highlight colors
  6798. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  6799. drawing
  6800. * Theme.cs: Added Empty field to CPColor struct
  6801. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6802. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  6803. is displayed when calculating the display rectangle. Thanks to Mike
  6804. for teaching me the err of my ways.
  6805. 2006-04-10 Peter Dennis Bartok <[email protected]>
  6806. * ScrollableControl.cs:
  6807. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  6808. (instead of 0,0) and we now return the real width/height instead of
  6809. just the clientrectangle, adjusted for padding. The rectangle is
  6810. now cached and created by the new CalculateDisplayRectangle method.
  6811. - Created new CalculateDisplayRectange method, which basically does
  6812. what get_DisplayRectangle() did originally, but now using the
  6813. right edge instead of DisplayRectangle to determine the size of
  6814. our scrollbars
  6815. - get_Canvas(): Fixed it to properly calculate canvas for
  6816. right/bottom controls which seem to be placed to the right/bottom
  6817. of any controls that have a fixed location
  6818. - Removed TODO that's taken care of
  6819. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  6820. and SetDisplayRectLocation according to new MSDN2 docs
  6821. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  6822. event when that is called, this is added for compatibility
  6823. - ScrollControlIntoView(): Implemented.
  6824. - Switched scrollbars to be implicit, they shouldn't be selectable
  6825. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  6826. call it when the active control is set/changed
  6827. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  6828. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  6829. implicit_control variable (used for native Win32 message generation)
  6830. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  6831. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  6832. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  6833. * XplatUIStructs.cs: Added ScrollBarCommands enum
  6834. 2006-04-10 Jackson Harper <[email protected]>
  6835. * ButtonBase.cs:
  6836. * CheckedListBox.cs:
  6837. * ComboBox.cs:
  6838. * DataGrid.cs:
  6839. * DataGridView.cs:
  6840. * Form.cs:
  6841. * GroupBox.cs:
  6842. * ListBox.cs:
  6843. * PrintPreviewControl.cs:
  6844. * ProgressBar.cs:
  6845. * PropertyGrid.cs:
  6846. * Splitter.cs:
  6847. * StatusBar.cs:
  6848. * TrackBar.cs:
  6849. * UpDownBase.cs: Fixup base event overrides.
  6850. 2006-04-06 Mike Kestner <[email protected]>
  6851. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  6852. all user-initiated value changes to min <= value <= max-thumbsz+1.
  6853. (set_Value): check for vert/horiz when calculating new thumb position.
  6854. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  6855. like MS does.
  6856. (OnMouseMoveSB): refactor the thumb dragging code and refine
  6857. invalidation logic to reduce flicker.
  6858. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  6859. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  6860. (UpdateThumbPosition): small code readability cleanup
  6861. 2006-04-10 Alexander Olk <[email protected]>
  6862. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  6863. different
  6864. 2006-04-08 Alexander Olk <[email protected]>
  6865. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  6866. 2006-04-08 Alexander Olk <[email protected]>
  6867. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  6868. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  6869. This dramatically reduces the number of Pen.Dispose calls.
  6870. Where possible call ResPool methods only once instead of calling it
  6871. over and over again (for example for the same color).
  6872. 2006-04-06 Mike Kestner <[email protected]>
  6873. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  6874. Also remove an unused private field on the collection. Fixes #77972.
  6875. 2006-04-06 Alexander Olk <[email protected]>
  6876. * ThemeNice.cs: Added ToolBar drawing code
  6877. 2006-04-06 Mike Kestner <[email protected]>
  6878. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  6879. I'm assuming that means we need to look up the toplevel for the
  6880. provided control. Fixes the crash trace in #77911 but exposes another
  6881. crash in some strange reflection usage in NDocGui.
  6882. 2006-04-06 Alexander Olk <[email protected]>
  6883. * ThemeNice.cs: Gave it a little silver touch and added Images
  6884. method
  6885. * FontDialog.cs: FontDialog is not resizable
  6886. * FileDialg.cs: Added SizeGripStyle.Show
  6887. 2006-04-05 Jackson Harper <[email protected]>
  6888. * KeyboardLayouts.cs: Remove warning.
  6889. 2006-04-05 Jackson Harper <[email protected]>
  6890. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  6891. all of our controls instead of Paint +=.
  6892. * ListBox.cs:
  6893. * ListView.cs:
  6894. * MenuAPI.cs:
  6895. * MessageBox.cs:
  6896. * NotifyIcon.cs:
  6897. * ProgressBar.cs:
  6898. * ScrollBar.cs:
  6899. * Splitter.cs:
  6900. * StatusBar.cs:
  6901. * TabControl.cs:
  6902. * TextBoxBase.cs:
  6903. * ToolBar.cs:
  6904. * TrackBar.cs:
  6905. * UpDownBase.cs:
  6906. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  6907. use OnPaintInternal. Remove Width/Height and Visible checks in
  6908. paint handler, this is done at a higher level now.
  6909. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  6910. * PaintEventArgs.cs: Add a handled flag so controls that don't
  6911. want anymore painting after OnPaintInternal can make sure OnPaint
  6912. isn't called.
  6913. 2006-04-05 Mike Kestner <[email protected]>
  6914. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  6915. state of the form, so that we don't process events when Modal dialogs
  6916. are up. Fixes #77922.
  6917. 2006-04-05 Alexander Olk <[email protected]>
  6918. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  6919. checking is done.
  6920. 2006-04-05 Mike Kestner <[email protected]>
  6921. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  6922. 2006-04-05 Mike Kestner <[email protected]>
  6923. * ListView.cs (HeaderMouseMove): null guarding for the over column
  6924. when setting up the drag_to_index. Fixes #78015.
  6925. 2006-04-04 Peter Dennis Bartok <[email protected]>
  6926. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  6927. in the taskbar. Transient windows seem to accomplish that.
  6928. 2006-04-04 Peter Dennis Bartok <[email protected]>
  6929. * Form.cs:
  6930. - Re-enabled CreateParams.X/Y code for FormStartPosition
  6931. - Added code for manual placement when creating the Control
  6932. - Incomplete patch to treat MDI forms differently when
  6933. setting the ClientSizeCore. (Still need to figure out handling
  6934. x/y coords there)
  6935. * XplatUIX11.cs:
  6936. - When we're explicitly setting the X/Y position of a non-Child
  6937. window, let the WM know. Metacity really wants this.
  6938. 2006-04-04 Alexander Olk <[email protected]>
  6939. * ThemeNice.cs: Added CPDrawButton
  6940. 2006-04-04 Alexander Olk <[email protected]>
  6941. * ThemeNice.cs: Changed the color for focused buttons and activated
  6942. the arrows for small scroll buttons.
  6943. 2006-04-04 Alexander Olk <[email protected]>
  6944. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  6945. anymore. Changed some method modifiers to protected (virtual)
  6946. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  6947. changes
  6948. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  6949. Updated drawing of menus, buttons and progressbars; added
  6950. CPDrawBorder3D
  6951. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  6952. * ImageListStreamer.cs: implemented serialization/deserialization
  6953. of the images.
  6954. 2006-04-03 Alexander Olk <[email protected]>
  6955. * ThemeWin32Classic.cs:
  6956. - Removed all the DrawFrameControl stuff; CPDrawButton,
  6957. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  6958. inside the methods
  6959. - Updated and corrected the drawing code of CPDrawButton,
  6960. CPDrawCheckBox and CPDrawRadioButton to better match ms
  6961. - Updated theme checkbox and radiobutton code to use the CP*
  6962. methods
  6963. 2006-03-31 Peter Dennis Bartok <[email protected]>
  6964. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  6965. bug is fixed
  6966. 2006-03-31 Jackson Harper <[email protected]>
  6967. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  6968. sometimes.
  6969. * UpDownBase.cs: Don't CreateGraphics manually, use a
  6970. Refresh. Ideally we would invalidate the correct areas here.
  6971. 2006-03-31 Peter Dennis Bartok <[email protected]>
  6972. * XplatUIX11.cs:
  6973. - We now track the mapping state of windows. If a window (or
  6974. one of it's parents) is not mapped we no longer permit
  6975. WM_PAINT messages to be generated since we'd otherwise get
  6976. lots of BadMatch X errors. Jackson did all the work figuring
  6977. out the problem.
  6978. - Destroying the caret if the window it's contained in is
  6979. destroyed. Can't use regular DestroyCaret method since it
  6980. might fall into a drawing function (trying to remove the
  6981. caret) and with that generate new BadMatch errors. Again,
  6982. Jackson tracked this down.
  6983. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  6984. make sure we send the messages to all windows. (The old code
  6985. would send the WM_DESTROY to the window, and then all child
  6986. windows would be 'gone' because the WM_DESTROY handle lookup
  6987. would no longer find the destroyed window)
  6988. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  6989. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  6990. 2006-03-31 Jackson Harper <[email protected]>
  6991. * ScrollableControl.cs: Dont recalc if we are not visible.
  6992. 2006-03-31 Mike Kestner <[email protected]>
  6993. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  6994. the visibility branch.
  6995. 2006-03-31 Jackson Harper <[email protected]>
  6996. * ScrollBar.cs: Cap values when incrementing/decrementing.
  6997. 2006-03-31 Mike Kestner <[email protected]>
  6998. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  6999. * ToolTip.cs: guard against timer expirations with no active control.
  7000. Not sure why it happened.
  7001. 2006-03-31 Mike Kestner <[email protected]>
  7002. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  7003. text.
  7004. * ToolTip.cs: Position the tooltip based on where the cursor is at
  7005. popup time, not at MouseEnter time. Add a Down state so that we don't
  7006. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  7007. positioning offset. Lookup DisplaySize at positioning time, since it
  7008. can theoretically change during invocation.
  7009. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  7010. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  7011. 2006-03-31 Alexander Olk <[email protected]>
  7012. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  7013. Fixes behaviour when the Text property of the box is String.Empty
  7014. 2006-03-31 Peter Dennis Bartok <[email protected]>
  7015. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  7016. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  7017. a window)
  7018. 2006-03-31 Alexander Olk <[email protected]>
  7019. * FileDialog.cs: Visual enhancement for the popup buttons in
  7020. PopupButtonPanel
  7021. 2006-03-31 Alexander Olk <[email protected]>
  7022. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  7023. code
  7024. 2006-03-30 Alexander Olk <[email protected]>
  7025. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  7026. highlighted menu items to match ms
  7027. 2006-03-30 Peter Dennis Bartok <[email protected]>
  7028. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  7029. 2006-03-30 Mike Kestner <[email protected]>
  7030. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  7031. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  7032. go active to account for HotLight to Selected transition.
  7033. * MenuItem.cs: add internal Selected prop. Fill out the Status
  7034. property by calculating it from item info. Add HotLight,
  7035. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  7036. 2006-03-30 Mike Kestner <[email protected]>
  7037. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  7038. 2006-03-29 Jackson Harper <[email protected]>
  7039. * Form.cs: Implement TODO.
  7040. 2006-03-29 Peter Dennis Bartok <[email protected]>
  7041. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  7042. missing proper dialog setup in the constructor
  7043. 2006-03-29 Peter Dennis Bartok <[email protected]>
  7044. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  7045. * Control.cs:
  7046. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  7047. - Fixed ResetBindings and removed TODO
  7048. - Added check for cross-thread calls to get_Handle()
  7049. - Added Marshaller attribute for set_Font to satisfy class status
  7050. * FontDialog.cs: Removed TODOs that seemed implemented
  7051. * UpDownBase.cs: Removed unneeded TODO and Fixme
  7052. * MessageBox.cs: Implemented support for Default button and removed TODO
  7053. * FileDialog.cs: Removed obsolete TODO
  7054. * DomainUpDown.cs: Removed obsolete TODO
  7055. * ButtonBase.cs: Removed obsolete TODO
  7056. * XplatUIWin32.cs: Removed obsolete TODO
  7057. * Form.cs:
  7058. - Removed obsolete TODO
  7059. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  7060. internal status updates
  7061. - Making sure the active control is selected when the control is created
  7062. * CurrencyManager.cs: Removed obsolete TODO
  7063. 2006-03-29 Mike Kestner <[email protected]>
  7064. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  7065. of PrintPreviewDialog and RichTextBox.
  7066. 2006-03-29 Alexander Olk <[email protected]>
  7067. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  7068. DarkDark, Light and LightLight colors for a specific color
  7069. * ThemeWin32Classic.cs:
  7070. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  7071. Appearance = Button
  7072. - Make use of the new ResPool helper CPColor
  7073. - Draw ProgressBar and StatusBar with correct 3D borders
  7074. 2006-03-29 Alexander Olk <[email protected]>
  7075. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  7076. 2006-03-28 Mike Kestner <[email protected]>
  7077. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  7078. calculating col/row counts.
  7079. 2006-03-28 Mike Kestner <[email protected]>
  7080. * ColumnHeader.cs:
  7081. * ListView.cs:
  7082. * ListViewItem.cs:
  7083. * Menu.cs:
  7084. switch to explicit interface method implementation for some methods
  7085. corcompare identifies as inconsistent with MS.
  7086. 2006-03-28 Mike Kestner <[email protected]>
  7087. * MainMenu.cs:
  7088. * Menu.cs:
  7089. add a few missing methods from the class status output.
  7090. 2006-03-28 Alexander Olk <[email protected]>
  7091. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  7092. correct.
  7093. 2006-03-28 Mike Kestner <[email protected]>
  7094. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  7095. 2006-03-27 Mike Kestner <[email protected]>
  7096. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  7097. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  7098. 2006-03-27 Alexander Olk <[email protected]>
  7099. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  7100. 2006-03-25 Alexander Olk <[email protected]>
  7101. * ThemeWin32Classic.cs:
  7102. - GroupBox: Inserted a little gap between the text and the lines
  7103. on the right side
  7104. - Made the code in CPDrawBorder3D more readable
  7105. - Corrected the drawing location of the up and down arrows in
  7106. CPDrawScrollButton
  7107. 2006-03-25 Alexander Olk <[email protected]>
  7108. * ControlPaint.cs: Corrected line widths in DrawBorder for
  7109. ButtonBorderStyle Inset and Outset
  7110. 2006-03-25 Alexander Olk <[email protected]>
  7111. * ThemeWin32Classic.cs:
  7112. - Rewrote the totally broken CPDrawBorder3D method. That was
  7113. one of the main problems for the terrific ThemeWin32Classic
  7114. look
  7115. - Updated and corrected Button drawing
  7116. - Correct the dimensions of the SizeGrip to match ms ones
  7117. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  7118. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  7119. Border3DStyle.Sunken to match ms.
  7120. 2006-03-25 Alexander Olk <[email protected]>
  7121. * ThemeWin32Classic.cs: First small part of the "de-uglify
  7122. ThemeWin32Classic" effort, SizeGrip
  7123. 2006-03-24 Jackson Harper <[email protected]>
  7124. * XplatUIX11.cs: Give a max idle time of one second, this matches
  7125. MS and forces an Idle event every second when there are no other
  7126. events in the queue.
  7127. 2006-03-24 Mike Kestner <[email protected]>
  7128. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  7129. * ListView.Item.cs: fix layout issues with null image lists and images
  7130. smaller than checkbox size.
  7131. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  7132. mode like MS does. It's weird, but consistent. ;-)
  7133. Fixes #77890.
  7134. 2006-03-24 Mike Kestner <[email protected]>
  7135. * ListView.cs: Scroll wheel support for the item control. Fixes
  7136. #77839.
  7137. 2006-03-23 Jackson Harper <[email protected]>
  7138. * ScrollableControl.cs: Special case negative sized areas, not
  7139. zero.
  7140. * MonthCalendar.cs: Save the rect of the clicked date so we can
  7141. use it for invalidation.
  7142. - Try to cut down on the number of invalidates
  7143. - Invalidate the rect the mouse is over and was over when moving
  7144. the mouse, so we get the focus box following the cursor.
  7145. 2006-03-23 Mike Kestner <[email protected]>
  7146. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  7147. focus rectangle drawing. Fixes #77835.
  7148. 2006-03-23 Mike Kestner <[email protected]>
  7149. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  7150. the if and else if and reverting back to the original == check on the
  7151. None conditional.
  7152. 2006-03-23 Alexander Olk <[email protected]>
  7153. * FontDialog.cs: Update the example panel if the selected index of
  7154. the fontListBox changes.
  7155. 2006-03-23 Alexander Olk <[email protected]>
  7156. * FileDialog.cs: Make FileDialog remember which directory it was in
  7157. last in the same execution.
  7158. 2006-03-22 Mike Kestner <[email protected]>
  7159. * FileDialog.cs: make the DropDownMenu on the toolbar display
  7160. RadioChecks since they are mutually exclusive and that's what MS does.
  7161. 2006-03-22 Mike Kestner <[email protected]>
  7162. * Theme.cs: add Color param to CPDrawMenuGlyph.
  7163. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  7164. checks and radio marks and arrows are visible on highlighted items.
  7165. * ControlPaint.cs: update to use new Theme signature.
  7166. 2006-03-22 Mike Kestner <[email protected]>
  7167. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  7168. is active. Fixes #77870.
  7169. 2006-03-22 Alexander Olk <[email protected]>
  7170. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  7171. to be focused/selected after startup
  7172. 2006-03-22 Alexander Olk <[email protected]>
  7173. * ColorDialog.cs:
  7174. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  7175. CustomColors and ShowHelp properties
  7176. - Some internal rewrites to get better results when using the
  7177. ColorMatrix
  7178. 2006-03-22 Mike Kestner <[email protected]>
  7179. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  7180. HoverSelection. Fixes #77836.
  7181. 2006-03-22 Mike Kestner <[email protected]>
  7182. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  7183. ToggleButtons. (De)Sensitize the Back button around a stack count of
  7184. 1, not 0. Update ButtonSize based on a pixel count of the win32
  7185. control. Adjust the toolbar size/location for new button size.
  7186. 2006-03-22 Jackson Harper <[email protected]>
  7187. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  7188. true.
  7189. * ScrollBar.cs: When doing increments and decrements we need to
  7190. set the Value property so that ValueChanged gets raised. A
  7191. possible optimization here would be to make an internal SetValue
  7192. that doesn't invalidate immediately.
  7193. * ToolTip.cs: Tooltips get added to their container (when
  7194. supplied) so they get disposed when the container is disposed.
  7195. - Don't create tooltips for String.Empty. This prevents all these
  7196. little 2-3 pixel windows from showing up when running nunit-gui
  7197. and driving me mad.
  7198. * Form.cs: Don't set topmost when setting the owner if the handles
  7199. haven't been created yet. The topmost set will happen when the
  7200. handles are created.
  7201. 2006-03-22 Peter Dennis Bartok <[email protected]>
  7202. * XplatUIX11.cs:
  7203. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  7204. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  7205. visible (to allow them to recalculate their sizes)
  7206. 2006-03-21 Mike Kestner <[email protected]>
  7207. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  7208. methods. Removed a ton of redundant code. Still not really happy with
  7209. the border rendering, but I think that's mainly because of the
  7210. ControlDarkDark being black instead of a dark grey. Depending on how
  7211. close we want to be, we might want to revisit those color choices.
  7212. Among the new features added during the refactor were DropDownArrow
  7213. pressed rendering, Disabled image rendering. Proper flat appearance
  7214. boundary rendering. Removed the Divider and Wrapping dividers since I
  7215. can't figure out any combination of themes and conditions to make the
  7216. MS control draw a horizontal line on a toolbar despite what the
  7217. Divider property docs indicate.
  7218. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  7219. conditions and incorrect layout. Updated to coding standard.
  7220. * ToolBarButton.cs: refactored layout and positioning code from
  7221. ToolBar to here. Invalidate wherever possible instead of forcing
  7222. redraws of the whole toolbar.
  7223. (Known remaining issues: explicit ButtonSize smaller than provided
  7224. images.)
  7225. 2006-03-21 Mike Kestner <[email protected]>
  7226. * ContextMenu.cs (Show): use the position parameter instead of just
  7227. showing at the MousePosition.
  7228. 2006-03-21 Jackson Harper <[email protected]>
  7229. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  7230. control handle this.
  7231. * TreeNodeCollection.cs: If we are clearing the root node we need
  7232. to reset top_node so calcs can still happen.
  7233. * ThemeWin32Classic.cs: This is a Flags so we need to check
  7234. properly.
  7235. 2006-03-21 Jackson Harper <[email protected]>
  7236. * DataGrid.cs: Create columns when the binding context has been
  7237. changed.
  7238. * X11Structs.cs: Keysyms are uints.
  7239. - Add size to fix build.
  7240. 2006-03-21 Peter Dennis Bartok <[email protected]>
  7241. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7242. XplatUIOSX.cs:
  7243. - Added ResetMouseHover method to allow controls to retrigger
  7244. hovering if they need it more than once
  7245. - Implemented MouseHoverTime and MouseHoverSize properties
  7246. * Timer.cs: Start() must reset the interval
  7247. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  7248. properties
  7249. 2006-03-21 Jackson Harper <[email protected]>
  7250. * X11Keyboard.cs: improved layout detection. Move the nonchar
  7251. tables into this file.
  7252. * KeyboardLayouts.cs: Move the tables into resource files.
  7253. 2006-03-21 Mike Kestner <[email protected]>
  7254. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  7255. 2006-03-21 Alexander Olk <[email protected]>
  7256. * Mime.cs: Various speed optimizations. Looking up mime types
  7257. is now 2 times faster than before
  7258. 2006-03-17 Peter Dennis Bartok <[email protected]>
  7259. * CreateParams.cs: Added internal menu field
  7260. * Control.cs:
  7261. - Switched call order for UpdateBounds; now we always call
  7262. the one that also takes ClientSize, and we're calculating the
  7263. client size via driver method in the others. The previous
  7264. method of tracking client size by difference wasn't working
  7265. for forms where even the starting client size wouldn't match
  7266. the overall form size (due to borders) (Part of fix for #77729)
  7267. - CreateParams(): Do not use parent.Handle unless the handle is
  7268. already created. Causes havoc with Nexxia and throws off our
  7269. creation of controls
  7270. * XplatUIX11.cs:
  7271. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  7272. - Switched handling of ConfigureNotify over to new PerformNCCalc
  7273. method (consolidates code)
  7274. - Changed RequestNCRecalc to use new PerformNCCalc method
  7275. - Added calls to RequestNCRecalc when menus and borders are changed
  7276. to allow app to set NC size. (Part of fix for #77729) This matches
  7277. when MS send a WM_NCRECALC on Win32 windows.
  7278. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  7279. (Part of fix for #77729). This matches what MS does, they also
  7280. send that message when the form is made visible.
  7281. - XException.GetMessage: Improved usability of X errors by including
  7282. a translation of the window into Hwnd and Control class
  7283. - Improved debug info for window creation, reparenting and destruction
  7284. - Created helper method WindowIsMapped() [Currently not used]
  7285. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  7286. * Form.cs:
  7287. - CreateParams: Now setting our menu on the new internal menu field
  7288. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  7289. avoid calculating the same property twice
  7290. * Hwnd.cs:
  7291. - Improved usability of ToString() for debugging purposes
  7292. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  7293. determine the height of the menu, instead of just the font. This
  7294. required to also create a graphics context and to keep a bmp
  7295. around (for performance reasons)
  7296. 2006-03-17 Peter Dennis Bartok <[email protected]>
  7297. * MenuAPI.cs: Added OnMouseUp method
  7298. * Form.cs:
  7299. - Now remembering the requested client size, avoids size errors
  7300. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  7301. instead of base if the menu is active. This is required due to
  7302. control now capturing and releasing on down/up and it would
  7303. prematurely release our menu capture
  7304. 2006-03-17 Jackson Harper <[email protected]>
  7305. * KeyboardLayouts.cs: Add the czech layouts.
  7306. 2006-03-16 Jackson Harper <[email protected]>
  7307. * Control.cs: Use the viewport space when sizing not the controls
  7308. client size, so things like ScrollableControl that effect the
  7309. viewport size (when scrollbars are added) are computed correctly.
  7310. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  7311. of ManagerEntrys.
  7312. - Handle creating BindingManagers for null data sources.
  7313. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  7314. source, otherwise when rows are added they are added to the 'fake'
  7315. datasource and we will crash when trying to set the position in
  7316. those rows.
  7317. - Use Implicit scrollbars on the datagrid so they arent
  7318. selectable.
  7319. 2006-03-16 Jackson Harper <[email protected]>
  7320. * Binding.cs:
  7321. * InternalWindowManager.cs:
  7322. * MdiWindowManager.cs:
  7323. * X11Keyboard.cs: I really want Mike to love me again (fix
  7324. compiler warnings).
  7325. 2006-03-16 Peter Dennis Bartok <[email protected]>
  7326. * DataGrid.cs:
  7327. - OnMouseDown: Switch to editing mode when clicking on the cell
  7328. even if we're clicking on the cell that's currently
  7329. selected
  7330. - ProcessGridKey: Left/Right now wrap like MS.Net does
  7331. - ProcessGridKey: Tab now knows to add a new row when tab is
  7332. pressed in the cell of the last column of the
  7333. last row
  7334. - ProcessGridKey: Enter now adds another row if pressed in the last
  7335. row and selectes the new row, same column cell
  7336. - ProcessGridKey: Home/End navigate columns, not rows, like
  7337. originally implemented
  7338. - Broke ProcessKeyPreview code out into an extra Internal method
  7339. so it can be called from the edit code
  7340. * DataGridTextBox.cs (ProcessKeyMessage):
  7341. - Switched to accept Tab keypresses
  7342. - Added F2 handling to allow jumping to the end of the edited cell
  7343. - Added logic to allow moving caret left/right inside edited cell
  7344. and making the edited cell jump when the caret hits cell borders
  7345. - Tab and Enter are now passed to the datagrid after being handled
  7346. * TextBoxBase.cs:
  7347. - Removed capture code now that Control handles it
  7348. - set_SelectionStart now ensures caret is visible
  7349. 2006-03-16 Jackson Harper <[email protected]>
  7350. * TrackBar.cs: Debackwards the increment/decrement for handling
  7351. mouse clicks on the bar with vertical trackbars.
  7352. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  7353. bottom to match MS.
  7354. 2006-03-16 Mike Kestner <[email protected]>
  7355. * ListView.cs: make shift/ctrl keyboard and mouse selection
  7356. consistent with the MS control. Fix a bug in
  7357. SelectedListViewItemCollection.Clear that was pissing me off for the
  7358. better part of a day because the collection was being altered
  7359. underneath us as we walked the list.
  7360. 2006-03-16 Peter Dennis Bartok <[email protected]>
  7361. * Control.cs: Not sure how we could miss this so long, but it seems
  7362. that MS.Net has Capture set all the way from before calling
  7363. OnMouseDown through sending the mouse events until after
  7364. OnMouseUp. This will fix DataGrid's selection being set to end
  7365. at the location of the MouseUp.
  7366. 2006-03-15 Jackson Harper <[email protected]>
  7367. * BindingContext.cs: Check the binding after its added so that it
  7368. can initialize the binding managers and hookup to events.
  7369. * Binding.cs: Data members seem to sometimes include rows/cols in
  7370. the format Row.Column we now take this into account.
  7371. - Hookup to the position changed event so we can update the
  7372. control when the position has changed in the data set.
  7373. * CurrencyManager.cs: Take into account the row/col naming
  7374. convention when creating dataset tables.
  7375. * BindingContext.cs: Using a newer better way of storing
  7376. datasource/datamember pairs. Hopefully this better matches MS for
  7377. looking up binding managers.
  7378. 2006-03-15 Jackson Harper <[email protected]>
  7379. * BindingContext.cs: The currency manager needs the data member
  7380. name, if the member is a data set we use the name to find the
  7381. correct table.
  7382. * CurrencyManager.cs: When creating the list prefer an IList over
  7383. an IListSource.
  7384. - Attempt to create a DataTable from a DataSet (TODO: might need
  7385. some better error checking here, although MS doesn't seem to have much)
  7386. - If we have a DataTable create a view and use it as our list.
  7387. 2006-03-15 Mike Kestner <[email protected]>
  7388. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  7389. keyboard navigation. Support Up/Down/Left/Right selection correctly
  7390. for all 4 View modes.
  7391. * ListViewItem.cs: add internal row/col fields for icon layouts.
  7392. 2006-03-15 Jackson Harper <[email protected]>
  7393. * TabControl.cs: Redraw the tabs when we resize so their newly
  7394. calculated sizes are drawn on screen.
  7395. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  7396. composite characters.
  7397. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  7398. - filter events so that composite characters can be created
  7399. patches by peter
  7400. * X11Structs.cs: Add XIMProperties enum.
  7401. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7402. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  7403. unless it's created
  7404. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7405. * Control.cs (PerformLayout): We don't need to consider visiblity
  7406. for anchoring, only for docking. This fixes 'whacky' alignment
  7407. in listbox and other controls that use implicit scrollbars after
  7408. the previous PerformLayout patch
  7409. * ListBox.cs: Switched to use implicit scrollbars
  7410. 2006-03-14 Mike Kestner <[email protected]>
  7411. * ToolBar.cs:
  7412. * VScrollBar.cs:
  7413. - chain up the "new event" overrides to base and use
  7414. OnEvent to raise them. Part of fix for bug #76509.
  7415. 2006-03-14 Alexander Olk <[email protected]>
  7416. * FileDialog.cs: Do not select an item in the parent directory
  7417. on backspace
  7418. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7419. * Control.cs (PerformLayout): It would seem that we considered
  7420. invisible windows for our layout. Not quite the right thing
  7421. to do. Now we don't any longer, thereby fixing bug #76889.
  7422. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7423. * Control.cs (CanFocus): I goofed. A control can have focus
  7424. even though it's not selectable. Made it match MS docs.
  7425. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7426. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  7427. center by default (fixes #76895)
  7428. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  7429. all uses of Border3DSides.All with the explicit ORd together
  7430. Left|Right|Top|Bottom because I assume that nobody was aware
  7431. that All also implies a center fill. Most places I checked had
  7432. a fill right above.
  7433. * ProgressBarStyle.cs: Added
  7434. 2006-03-13 Mike Kestner <[email protected]>
  7435. * ListView.cs: fix breakage in drag shadow header positioning
  7436. from Peter's csc compilation fix.
  7437. 2006-03-13 Mike Kestner <[email protected]>
  7438. * ListView.cs: fix NRE produced by backspacing twice in a focused
  7439. FileDialog.
  7440. 2006-03-13 Mike Kestner <[email protected]>
  7441. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  7442. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7443. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  7444. be changed
  7445. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  7446. the allowed size before making programmatic size changes
  7447. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7448. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  7449. set, metacity is broken and will still use the emty sizes in
  7450. the struct. (Fix for #77089)
  7451. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7452. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  7453. WindowExStyles and marked both enums as Flags
  7454. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  7455. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  7456. to match WindowStyles split
  7457. * XplatUIX11.cs:
  7458. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  7459. - Updated to match WindowStyles split
  7460. * XplatUIWin32.cs:
  7461. - Fixed FosterParent creation, was using ExStyle on the Style field
  7462. (This should help with Popup focus issues)
  7463. - Updated to match WindowStyles split
  7464. 2006-03-13 Jackson Harper <[email protected]>
  7465. * MdiWindowManager.cs: Use the system menu height. Fixes some
  7466. strange sizing issues.
  7467. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7468. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  7469. * TextBoxBase.cs:
  7470. - Scroll to caret after inserting text (#77672)
  7471. - Make scroll range one pixel higher, fixes off-by-one error (and
  7472. makes underlines visible on the last line)
  7473. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7474. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  7475. the keyboard state from being stuck with keys in 'pressed' state when
  7476. focus is switched away via keyboard
  7477. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  7478. reset the keyboard if no X11 KeyUp events are expected to come
  7479. * X11Structs.cs: Switched type of Visible to bool to match driver
  7480. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7481. * TextControl.cs:
  7482. - Switched caret to be just 1 pixel wide, matches MS and looks less
  7483. clunky
  7484. - Moved caret display 1 pixel down from the top of the control
  7485. to improve view
  7486. - InsertCharAtCharet: Update the selection start if moving the caret
  7487. (fixes bug #77696; based on patch suggested by [email protected])
  7488. - No longer always creating the caret when the caret methods are
  7489. called. Only the actual ShowCaret/HideCaret will do that now
  7490. - Only setting caret visible if the owner control has focus
  7491. - UpdateView: Added invalidation-shortcut logic for center and right
  7492. aligned text. Previously we'd update all according to the left
  7493. logic which caused drawing errors. Also fixed height of invalidated
  7494. areas, now properly invalidating the whole area (was off-by-one)
  7495. - owner_HandleCreated: Always generate the document when the
  7496. handle is created; this ensures that
  7497. * TextBoxBase.cs:
  7498. - Fixed situation where caret would disappear under the right
  7499. window border, also improved scrolling behaviour on left-
  7500. aligned textboxes
  7501. - Fixed right-aligned textboxes to have a border to the
  7502. right instead of the caret being under the right border
  7503. * XplatUIX11.cs:
  7504. - Switched from 'nested' to simple visible/not visible tracking
  7505. for caret (part of fix for #77671)
  7506. - No longer passing through translated FocusIn/FocusOut messages
  7507. since we were notifying too often and the wrong windows. Instead
  7508. we just notify our focussed window of receiving or loosing focus
  7509. * XplatUIWin32.cs: Switched from 'nested' show/hide
  7510. counting for caret to simple visible yes/no behaviour (part of
  7511. fix for #77671)
  7512. 2006-03-11 Alexander Olk <[email protected]>
  7513. * Mime.cs: Remove debug code...
  7514. 2006-03-11 Alexander Olk <[email protected]>
  7515. * MimeGenerated.cs: Removed
  7516. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  7517. and subclasses) from /usr/(local/)share/mime and
  7518. $HOME/.local/share/mime.
  7519. 2006-03-10 Jackson Harper <[email protected]>
  7520. * MdiWindowManager.cs: Recalc the NC area when a window is
  7521. maximized/restored so that the menu area is drawn on forms that
  7522. don't have a menu.
  7523. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7524. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7525. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  7526. us to force a WM_NCCALCRESIZE message being sent. This is needed
  7527. for MDI maximizing.
  7528. 2006-03-10 Jackson Harper <[email protected]>
  7529. * Form.cs: We need to use the ActiveMenu when calculating menu
  7530. height.
  7531. - Fix nullref when the window manager hasn't been created yet.
  7532. * Control.cs: Fix nullref when we try to bring a control to the
  7533. front that has no parent.
  7534. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  7535. height.
  7536. - Add a dummy item to the maximized menu so it always has the
  7537. correct height. Otherwise when there are no menus we don't get our
  7538. icon and buttons.
  7539. 2006-03-10 Jackson Harper <[email protected]>
  7540. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  7541. stuff.
  7542. * Form.cs: Make the window_state internal so the window managers
  7543. can track it.
  7544. - When an MDI child is maximized let its window manager create the
  7545. main menu (so it can add its icon).
  7546. - Notify the window managers of state changes
  7547. - Let the window manager paint its buttons and handle button
  7548. clicks on the menu when it is maximized.
  7549. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  7550. window manager, since tool windows don't use it, only mdi windows.
  7551. - Tell the main form that we don't want it to handle NCPAINT
  7552. itself to avoid extra painting.
  7553. - Handle clicks on a maximized windows menu.
  7554. - Handle window state changes
  7555. - Handle minimize/maximize clicks correctly by setting the window state.
  7556. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  7557. when clicking on the forms icon).
  7558. - New method to create a forms maximized menu. This is its normal
  7559. menu + an icon.
  7560. - Handle window state changes.
  7561. - Handle sizing of maximized windows. Maximized windows are just
  7562. drawn bigger then the parent visible area. All controls are still
  7563. there, they are just outside the visible area (this matches windows).
  7564. * MdiClient.cs: No scrollbars when a child window is maximized.
  7565. - Let the children windows figure out how big they should be when
  7566. sizing maximized windows.
  7567. - Implement a version of ArrangeIconicWindows somewhat similar to
  7568. Windows version. There are some little differences, but I don't
  7569. think any app will rely on the layout of minimized mdi windows.
  7570. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7571. * Padding.cs: Several fixes to allow compiling with csc 2.0
  7572. 2006-03-09 Jackson Harper <[email protected]>
  7573. * Menu.cs:
  7574. * MenuItem.cs: Cheap hack so we can add items to the list without
  7575. the events being raised. This allows adding mdi items during
  7576. drawing. TODO: Should probably find a better time to add the items.
  7577. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7578. * ThemeWin32Classic.cs:
  7579. - CheckBox_DrawText: Added logic to not wrap if not enough space
  7580. is available (Fix for bug #77727)
  7581. - RadioButton_DrawText: Added logic not to wrap if not enough
  7582. space is available (Fix for bug #77727). Also removed some
  7583. duplicate code, DrawString always drawing the regular text
  7584. before hitting the if statement.
  7585. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7586. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  7587. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7588. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  7589. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  7590. methods. Moved the new 2.0 properties into alphabetical order with
  7591. other properties and added MonoTODO tags
  7592. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7593. * AutoScaleMode.cs: Added. Fix build.
  7594. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7595. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7596. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  7597. and was requiring premature handle creation for calls from above
  7598. * Form.cs, Control.cs: Removed handle arguments from calls to
  7599. CalculateClientRect()
  7600. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7601. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  7602. drag_column.column_rect is MarshalByRef and can't be used that way
  7603. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7604. * AxHost.cs: Added deserialization constructor for
  7605. AxHost+State (fixes 77743)
  7606. 2006-03-09 Mike Kestner <[email protected]>
  7607. * ListView.cs:
  7608. - Added column drag reordering for details view.
  7609. - fixed behavior when mouse is dragged off column and
  7610. AllowColumnReorder is false.
  7611. * ColumnHeader.cs: clone the format too in Clone.
  7612. * Theme.cs: add DrawListViewHeaderDragDetails method.
  7613. * ThemeWin32Classic.cs:
  7614. - impl new method for drawing drag column shadows and targets.
  7615. - support column offset for details mode in DrawListViewItem.
  7616. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7617. * TextControl.cs: Reset the char_count when the document is cleared
  7618. (Fixes bug reported on mono-winforms mailing list)
  7619. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7620. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  7621. of calling base we simply process the key ourselves, since both
  7622. DefWindowProc and the handled method would set m.Result.
  7623. (Fixes #77732)
  7624. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7625. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  7626. method also moves the window; instead implemented a copy of
  7627. Control.ScaleCore (Part of fix for #77456)
  7628. * TextBoxBase.cs:
  7629. - Created new CreateGraphicsInternal method to allow providing
  7630. a graphics context when no handle is created without triggering
  7631. handle creation. (Part of fix for #77456)
  7632. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7633. * TextControl.cs:
  7634. - Switched Constructor to require TextBoxBase instead of Control (to
  7635. allow uncast access to CreateGraphicsInternal)
  7636. - Safeguarded use of owner.Handle property. No longer accessing it
  7637. unless the handle is already created.
  7638. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7639. - Now triggering a recalc when owning control becomes visible
  7640. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  7641. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  7642. premature handle creation (Part of fix for #77456)
  7643. * Control.cs:
  7644. - We now only destroy our double-buffering buffers when the
  7645. control is resized or disposed, but not when visibility
  7646. changes. (The code even re-created them twice every time)
  7647. - Now requiring a redraw of the buffer on visibility changes
  7648. (fixes bug 77654 part 2)
  7649. - Not passing OnParentVisibleChanged up unless the control
  7650. is visible
  7651. - CanFocus: Fixed to match MS documentation
  7652. - Focus: Fixed to return actual focus state and to check if
  7653. setting focus is legal before setting it
  7654. 2006-03-08 Peter Dennis Bartok <[email protected]>
  7655. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  7656. when to draw focus rectangle by looking at parent focus and
  7657. selected state instead. This fixes TabPages on Linux sometimes
  7658. having none or multiple focus rectangles.
  7659. * XplatUIX11.cs (SetFocus):
  7660. - Don't set the focus if the same window already has focus
  7661. - Use SendMessage instead of PostMessage (like it's Win32
  7662. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  7663. to match MS behaviour
  7664. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  7665. are not selectable.
  7666. 2006-03-07 Jackson Harper <[email protected]>
  7667. * PictureBox.cs: Revert line I accidently committed last week.
  7668. 2006-03-07 Peter Dennis Bartok <[email protected]>
  7669. * Control.cs:
  7670. - Added new IsRecreating and ParentIsRecreating properties to
  7671. allow testing if RecreateHandle has been called on ourselves
  7672. or one of our parents
  7673. - WndProc(WM_DESTROY): If our control handle is being recreated
  7674. we immediately need to create the handle when receiving the
  7675. destroy, that way our child windows find a valid parent handle
  7676. when they themselves are being recreated upon WM_DESTROY receipt
  7677. (fix for bug #77654 part 1)
  7678. * XplatUIX11.cs:
  7679. - DestroyWindow: WM_DESTROY must be sent to our own window before
  7680. notifying any child windows. MS documents that child windows
  7681. are still valid when WM_DESTROY is received. (Control now relies on
  7682. this behaviour)
  7683. - Added some fine-grain debug options
  7684. 2006-03-06 Jackson Harper <[email protected]>
  7685. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  7686. box and base calculations off this.
  7687. * MdiChildContext.cs:
  7688. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  7689. anymore.
  7690. 2006-03-06 Peter Dennis Bartok <[email protected]>
  7691. * Splitter.cs: In situations where the affected control is added
  7692. to the parent's control list after the splitter, we would not
  7693. populate affected. Now we try populating it on mousedown, if
  7694. it's not already set, and force it to be re-set whenever our
  7695. parent changes.
  7696. 2006-03-03 Matt Hargett <[email protected]>
  7697. * Control.cs: implement Control.Padding
  7698. * Padding.cs: -Padding.All returns -1 when constructing with the
  7699. implicit default ctor
  7700. -Padding.ToString() matches MS.NET
  7701. * ContainerControl.cs: implement
  7702. ContainerControl.AutoScaleDimensions
  7703. * ListControl.cs: implement ListControl.FormattingEnabled
  7704. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  7705. * ButtonBase.cs:
  7706. * TabPage.cs: Implement UseVisualStyleBackColor.
  7707. * PictureBox.cs: Implement PictureBox.InitialImage.
  7708. 2006-03-03 Mike Kestner <[email protected]>
  7709. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  7710. event declarations to proxy to base event.
  7711. * ListViewItem.cs: update to use ItemControl.
  7712. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  7713. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  7714. column header label rendering for 0 width columns.
  7715. 2006-03-03 Peter Dennis Bartok <[email protected]>
  7716. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  7717. that causes the control to be created. Fixes #77476.
  7718. 2006-03-02 Jackson Harper <[email protected]>
  7719. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  7720. expose_pending.
  7721. 2006-03-02 Peter Dennis Bartok <[email protected]>
  7722. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  7723. passed in for the EventArgs (fixes #77690)
  7724. 2006-03-01 Jackson Harper <[email protected]>
  7725. * ScrollBar.cs: Refresh afterbeing resized.
  7726. 2006-02-28 Mike Kestner <[email protected]>
  7727. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  7728. Clean up a tracker compile warning.
  7729. * MenuItem.cs: add internal PerformPopup method.
  7730. [Fixes #77457]
  7731. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7732. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  7733. implicit expose) when the text is set to null
  7734. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7735. * RichTextBox.cs (FlushText): When newline is true, we always
  7736. need to split the line, even if no text is on it and we may
  7737. never eat newlines. (Fixes #77669)
  7738. 2006-02-28 Mike Kestner <[email protected]>
  7739. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  7740. and set Selected instead.
  7741. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  7742. collections.
  7743. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7744. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  7745. 2006-02-28 Alexander Olk <[email protected]>
  7746. * FontDialog.cs:
  7747. - Got rid of the panel. All controls are now directly added to
  7748. the dialog form
  7749. - It is now possible to set a font with the Font property
  7750. - MinSize and MaxSize property do now what they should
  7751. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  7752. - Searching and selecting a font with the font textbox works now,
  7753. the same applies to the style and size textbox
  7754. - Draw the correct 3D border in the example panel
  7755. - Fixed a little mem leak (unused fonts didn't get disposed)
  7756. - Many other internal updates/rewrites...
  7757. - Fix typo
  7758. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7759. * TextControl.cs:
  7760. - InsertRTFFromStream: Added 'number of characters inserted' argument
  7761. - set_SelectedRTF: Now using the number of characters to calculate
  7762. the new location for the selection and cursor (x/y cannot be used
  7763. due to potentially already wrapped text)
  7764. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7765. * TextControl.cs: Added property and implemented means to allow
  7766. disabling recalculation of a document (can be used to speed up
  7767. multiple inserts and is needed to make RTF inserts predictable, see
  7768. bug #77659)
  7769. * RichTextBox.cs: Using the new NoRecalc property of Document to
  7770. keep x/y insert locations predictable. Also makes it faster inserting
  7771. large chunks of RTF
  7772. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7773. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  7774. it's easier for a child control to handle the other messages without
  7775. having to duplicate the special functionality
  7776. * TextBoxBase.cs
  7777. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  7778. code to handle processing the key ourselves, in order to get
  7779. access to the result of KeyEventArgs.Handled. We now only call
  7780. ProcessKey if they key hasn't been handled already. Fixes #77526.
  7781. - set_Text: If null or empty string is given, just clear the
  7782. document. Fixes part of #77526
  7783. 2006-02-27 Jackson Harper <[email protected]>
  7784. * SizeGrip.cs: Paint the background color before painting the grip
  7785. so things look right.
  7786. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  7787. 2006-02-27 Mike Kestner <[email protected]>
  7788. * ListView.cs:
  7789. - Restructure layout and invalidation model to remove a ton of
  7790. flicker from the control and speed up performance in general.
  7791. - Add manual column resize, flickers like crazy, but I already have
  7792. some ideas on how I'll fix that. (#76822)
  7793. - Merge the three Icon-based views into a single layout method.
  7794. - Move item selection interaction logic from the item since
  7795. interaction with the collections is more appropriate to the view.
  7796. - Deselection on non-item clicks.
  7797. * ListViewItem.cs:
  7798. - Encapsulate most of the layout. Add some internal props to trigger
  7799. layout. Move to a model where Items invalidate themselves instead
  7800. of just invalidating the whole control every time something changes.
  7801. - Invalidate on Text/Caption changes.
  7802. - switch to an offset based layout model to avoid having to absolute
  7803. position every element on item moves.
  7804. - correct checkbox layout to conform to MS layout.
  7805. * ThemeWin32Classic.cs:
  7806. - refactor some column header drawing code.
  7807. - fix string justification for column headers (#76821)
  7808. - make SmallIcon labels top justified for compat with MS impl.
  7809. * ThemeClearlooks.cs:
  7810. - adjust to new ListViewItem internal checkbox bounds api.
  7811. 2006-02-27 Jackson Harper <[email protected]>
  7812. * Control.cs: Change where implicit controls fall in the zorder.
  7813. They are now on top of all children.
  7814. - Synced AddImplicit code with Add
  7815. - Removed unused enumerator.
  7816. * SizeGrip.cs: Remove the TODO as its been TODONE.
  7817. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7818. * TextControl.cs(Insert): Combine the last lines unless the insertion
  7819. string ends with \n\n, otherwise we leave one line too many (Fixes
  7820. something I noticed with the testapp for #77526; the bug itself was
  7821. already fixed in the previous checkin)
  7822. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7823. * RichTextBox.cs:
  7824. - SelectionColor and SelectionFont methods no longer set absolute
  7825. styles. Instead, the keep font or color respectively (This
  7826. resolves a long-standing FIXME in the code)
  7827. - When flushing RTF text, the insert code now considers text trailing
  7828. behind the insertion point (Fixes the bug where when replacing
  7829. the selected text via SelectedRTF the remainder of the line behind
  7830. the selection would stay on the first insertion line)
  7831. * TextBoxBase.cs:
  7832. - AppendText now updates the selection points after inserting text
  7833. - AppendText now ensures that the last tag (sometimes 0-length) of
  7834. the document is used for the style information (Fixes part of
  7835. bug #77220)
  7836. * TextControl.cs:
  7837. - Created new FontDefiniton class to allow describing partial style
  7838. changes
  7839. - StreamLine() now takes a lines argument, to allow it to decide
  7840. whether an encountered zero-length tag is the last in the document
  7841. (which must be kept to not loose the font/color contained in it,
  7842. for later appends)
  7843. - Created Combine() and Split() methods for Marker structs, to
  7844. support marker updates due to reformatted documents (soft line
  7845. wraps)
  7846. - Implemented Document.CaretTag setter
  7847. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  7848. of the last line (Not the cause, but also exposed by bug #77220)
  7849. - Added LineTag argument to InsertString method, to allow callers
  7850. to force a certain tag to be used (required to force use of the
  7851. trailing zero-length tag of a document)
  7852. - Now updating markers in Combine(), to avoid stale tag markers
  7853. - Added some method descriptions to aid maintenance
  7854. - Implemented new FormatText concept, allowing additive/subtractive
  7855. formatting by only specifying the components that are to be
  7856. changed. This was needed for resolving the RTB.SelectedColor/
  7857. RTB.SelectedFont fixmes
  7858. - Added Break() support method to allow breaking up linetags (used
  7859. for partial formatting)
  7860. - Added GenerateTextFormat() method. It is used for partial
  7861. formatting and allows to generate a full font/color from given
  7862. attributes and an existing tag.
  7863. 2006-02-26 Jackson Harper <[email protected]>
  7864. * XplatUIX11.cs: Use the correct caption height.
  7865. - Translate hittest coordinates to screen coords to match MS.
  7866. * XplatUIWin32.cs: When we create MDI windows we need to reset
  7867. some of the style flags, so we get a nice blank window, and can
  7868. draw all the decorations ourselves.
  7869. - Set a clipping rectangle on the non client paint event, the
  7870. window manager drawing code needs one.
  7871. * Form.cs: The window manager needs to know when the window state
  7872. has been updated.
  7873. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  7874. don't need to factor in border and title sizes in these
  7875. methods. TODO: Remove the args and fix the call points.
  7876. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  7877. properly.
  7878. - Let the driver set the cursors.
  7879. - Improve active window handling
  7880. - Correct sizes for title bars and buttons.
  7881. - Match MS drawing better
  7882. * MdiWindowManager.cs: We don't need to handle border style
  7883. updates specially anymore.
  7884. - Check for scrollbars when windows are done moving
  7885. - Handle Active properly.
  7886. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  7887. correctly. I am spewing the exception though, so we don't hide the
  7888. bugs.
  7889. 2006-02-26 Pedro Martinez Julia <[email protected]>
  7890. * DataGridViewRowPostPaintEventArgs.cs,
  7891. DataGridViewCellPaintingEventArgs.cs,
  7892. DataGridViewRowCollection.cs,
  7893. DataGridViewRowPrePaintEventArgs.cs,
  7894. DataGridViewCell.cs: Clear a few warnings and implement a few
  7895. exceptions that should be thrown.
  7896. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7897. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  7898. 'inheriting' our parent's (non-default) cursor. (Part of
  7899. the fix for #77479)
  7900. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7901. * XplatUIX11.cs: Fixed cast to make csc happy
  7902. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7903. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  7904. it's for the client area (part of fix for #77479 and needed
  7905. for MDI window cursor handling)
  7906. * XplatUIX11.cs
  7907. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  7908. the appropriate default cursors and also passing the message
  7909. up the parent chain
  7910. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  7911. for non-client areas
  7912. 2006-02-15 Jackson Harper <[email protected]>
  7913. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  7914. is a real MDI window
  7915. 2006-02-14 Alexander Olk <[email protected]>
  7916. * X11DesktopColors.cs: Instead of checking the desktop session
  7917. string for "KDE" check if it starts with "KDE"
  7918. 2006-02-10 Jackson Harper <[email protected]>
  7919. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  7920. systems).
  7921. 2006-02-10 Alexander Olk <[email protected]>
  7922. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  7923. errors
  7924. * ColorDialog.cs:
  7925. - Got rid of the panel. All controls are now directly added to
  7926. the dialog form
  7927. - Changed to mono coding style
  7928. 2006-02-10 Jackson Harper <[email protected]>
  7929. * InternalWindowManager.cs: We don't need the set visibility to
  7930. false hack anymore now that peter has written beautiful shutdown
  7931. code.
  7932. 2006-02-10 Peter Dennis Bartok <[email protected]>
  7933. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  7934. where already explicitly destroyed
  7935. 2006-02-10 Jackson Harper <[email protected]>
  7936. * MdiClient.cs: Handle the case where windows are too high or to
  7937. the left and we need scrollbars.
  7938. 2006-02-10 Alexander Olk <[email protected]>
  7939. * MimeIcon.cs: Added some icons
  7940. * FileDialog.cs:
  7941. - Fixed bug #77477
  7942. - Got rid of the panel. All controls are now directly added to
  7943. the dialog form
  7944. - Changed to mono coding style
  7945. - On Linux "My Computer" and "My Network" will now show some
  7946. more usefull information. A new class, MasterMount, gathers
  7947. this information from /proc/mount. Updated MWFFileView to make
  7948. use of this information
  7949. - Fixed a bug that caused FileDialog to crash when
  7950. ".recently_used" file had a zero size
  7951. - FilterIndex does now what it should
  7952. - Some Refactoring
  7953. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  7954. FileDialog changes
  7955. 2006-02-09 Jackson Harper <[email protected]>
  7956. * ComboBox.cs: Don't touch if null.
  7957. 2006-02-09 Peter Dennis Bartok <[email protected]>
  7958. * Cursor.cs: 64bit safeness fix
  7959. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  7960. 2006-02-09 Jackson Harper <[email protected]>
  7961. * Form.cs: If a form is made into an MDI form update the styles so
  7962. all the props can get set correctly.
  7963. - Kill the mdi_container when we dont need it anymore.
  7964. * InternalWindowManager.cs: Add missing NOT
  7965. 2006-02-08 Jackson Harper <[email protected]>
  7966. * InternalWindowManager.cs: Respek clipping when drawing MDi
  7967. decorations.
  7968. 2006-02-08 Jackson Harper <[email protected]>
  7969. * Hwnd.cs: Add bits to track non client expose events.
  7970. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  7971. gives us a proper invalid rect and will allow for some nice
  7972. optimizations with NC client drawing
  7973. - MDI windows are children windows, so move their style handling
  7974. into the child window block.
  7975. * InternalWindowManager.cs: Remove a state reset that was
  7976. getting invoked at the wrong time. Fixes managed windows getting
  7977. into a 'stuck' captured state.
  7978. 2006-02-07 Peter Dennis Bartok <[email protected]>
  7979. * TextControl.cs (Document.ctor): Now initializing
  7980. selection_anchor. Fixes #77493
  7981. 2006-02-07 Jackson Harper <[email protected]>
  7982. * TrackBar.cs: The increment/decrements were backwards.
  7983. 2006-02-07 Mike Kestner <[email protected]>
  7984. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  7985. to the instance itself.
  7986. 2006-02-07 Peter Dennis Bartok <[email protected]>
  7987. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  7988. on ulongs and pointers, the size differs between 32bit and 64bit
  7989. systems.
  7990. 2006-02-07 Mike Kestner <[email protected]>
  7991. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  7992. for 64 bit platforms to work around a metacity bug.
  7993. 2006-02-07 Jackson Harper <[email protected]>
  7994. * TrackBar.cs: Process the input keys we need, and hookup to
  7995. KeyDown instead of using WndProc, so we get key messages.
  7996. 2006-02-06 Peter Dennis Bartok <[email protected]>
  7997. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  7998. machine we're on.
  7999. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  8000. we need to translate the XdndVersion atoms array before sending it
  8001. 2006-02-06 Peter Dennis Bartok <[email protected]>
  8002. * XplatUIX11.cs:
  8003. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  8004. number of bits for the property, not the number of bytes. The
  8005. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  8006. but would not crash since it specified 8 bits instead of 4 bits)
  8007. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  8008. defined as XID -> long in the C headers)
  8009. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  8010. references since those are now IntPtr to begin with
  8011. - Switched all Atom.XXX 'int' casts to IntPtr casts
  8012. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  8013. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  8014. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  8015. * X11Structs.cs:
  8016. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  8017. - Changed atom in HoverStruct to be IntPtr
  8018. * X11DnD.cs:
  8019. - Removed local DllImports, switched code to use those from XplatUIX11
  8020. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  8021. 2006-02-06 Mike Kestner <[email protected]>
  8022. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  8023. method signatures in the import region. There may still be some
  8024. lingering struct marshaling issues, as I didn't drill down into those.
  8025. Yet.
  8026. 2006-02-06 Jackson Harper <[email protected]>
  8027. * ComboBox.cs: Dont manually set the top_item, this is computed
  8028. when the scrollbar position is set.
  8029. 2006-02-06 Mike Kestner <[email protected]>
  8030. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  8031. startup crashes on amd64. There's other fixes needed. All pinvoke
  8032. usage of Atom needs to be mapped to IntPtr for example. And there are
  8033. likely other int/long issues to be addressed.
  8034. 2006-02-04 Alexander Olk <[email protected]>
  8035. * FileDialog.cs: One more...
  8036. 2006-02-03 Alexander Olk <[email protected]>
  8037. * FileDialog.cs: Next try
  8038. 2006-02-03 Alexander Olk <[email protected]>
  8039. * FileDialog.cs: First part of fix for #77464
  8040. 2006-02-03 Alexander Olk <[email protected]>
  8041. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  8042. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  8043. AcceptButton border drawing.
  8044. 2006-02-03 Peter Dennis Bartok <[email protected]>
  8045. * Form.cs: Moved positioning of form after auto scaling is applied,
  8046. otherwise it would possibly use wrong form size.
  8047. 2006-02-03 Peter Dennis Bartok <[email protected]>
  8048. * Control.cs (RecreateHandle): No need to re-create any child
  8049. controls, the child windows will get destroyed automatically by
  8050. the windowing system or driver, and re-created when the handle
  8051. is being accessed the first time. Fixes #77456
  8052. * Form.cs: No longer setting the form to closing if the handle is
  8053. being recreated. This seems like the right thing to do, don't
  8054. have a bug or testcase for this, though.
  8055. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8056. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  8057. controls to avoid unwanted side effects
  8058. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8059. * Control.cs:
  8060. - ScaleCore needs to scale the bounds, not the ClientSize of the
  8061. control. Fixes #77416.
  8062. - DefaultSize is 0,0 for control
  8063. * TextBoxBase.cs:
  8064. - DefaultSize is 100, 20
  8065. - SetBoundsCore: Now enforcing the height, no matter if the provided
  8066. height is more or less than the preferred one, as long as AutoSize
  8067. is on
  8068. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  8069. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8070. * Control.cs:
  8071. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  8072. call unless both performLayout is true *and* we have a pending
  8073. layout change
  8074. - ResumeLayout: MS does not completely nest Suspend and Resume,
  8075. they bottom out at 0, fixed our code to match that.
  8076. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  8077. SetBoundsCore, we were updating even when we shouldn't. This fixes
  8078. swf-anchors mis-anchoring when resizing the app fast and lots.
  8079. - UpdateDistances: Now only setting the left and top distance if
  8080. we have a parent and are not suspended, this is based on
  8081. a suggestion by Don Edvaldson in bug #77355.
  8082. - OnVisibleChanged: Fixed logic when to create the control. We may
  8083. not create the control if we have no parent or if it's not visible;
  8084. switched to using Visible property instead of is_visible field
  8085. since the property also considers parent states. This fixes a bug
  8086. when starting Paint.Net
  8087. 2006-02-02 Jackson Harper <[email protected]>
  8088. * Form.cs: If the forms handle hasn't been created yet don't call
  8089. into xplatui to make it top most, just set the topmost flag on the
  8090. form in CreateParams
  8091. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  8092. 2006-02-01 Jackson Harper <[email protected]>
  8093. * ScrollableControl.cs: Refactored the Recalculate method a
  8094. little, this wasn't handling all the variants of bottom and right
  8095. bars needed to be added and added/removed based on their
  8096. counterparts being added/removed (which changes the drawable
  8097. size). Also we special case client widths and heights of 0 and
  8098. don't add the scrollbar for those.
  8099. 2006-02-01 Peter Dennis Bartok <[email protected]>
  8100. * XplatUIX11.cs:
  8101. - Added method to get AbsoluteGeometry(); currently unused, but might
  8102. be used in the future, if we try again to figure out toplevel
  8103. coordinates with some more crappy window managers
  8104. - Added FrameExtents() method to retrieve the WM set decoration size
  8105. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  8106. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  8107. * Hwnd.cs:
  8108. - Added whacky_wm tracking var for metacity
  8109. - Added logic to have default menu height if the actual menu height
  8110. has not yet been calculated (part of fix for #77426)
  8111. * Form.cs: Keep track whether client size has been set and re-set
  8112. it if a menu is added/removed afterwards (Fixes #77426)
  8113. 2006-01-31 Jackson Harper <[email protected]>
  8114. * Control.cs: When a new Site is set on the component attempt to
  8115. pull the AmbientProperties from it.
  8116. 2006-01-31 Peter Dennis Bartok <[email protected]>
  8117. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  8118. in the background of the owning form. Fixes #77332
  8119. 2006-01-31 Alexander Olk <[email protected]>
  8120. * MimeIcon.cs: Fix for #77409
  8121. 2006-01-31 Alexander Olk <[email protected]>
  8122. * XplatUIX11GTK.cs: Initial import
  8123. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  8124. * FixedSizeTextBox: fixes class signature
  8125. 2006-01-30 Jackson Harper <[email protected]>
  8126. * FixedSizeTextBox.cs: New internal class that represents a
  8127. textBox that will not be scaled.
  8128. * TreeView.cs:
  8129. * ComboBox.cs:
  8130. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  8131. standard TextBox.
  8132. 2006-01-30 Peter Dennis Bartok <[email protected]>
  8133. * XplatUIX11.cs: Retrieve default screen number instead of
  8134. assuming 0. Attempted fix for #77318
  8135. 2006-01-30 Peter Dennis Bartok <[email protected]>
  8136. * XplatUIWin32.cs:
  8137. - GetWindowPos: When a window is parented by FosterParent, use
  8138. the desktop instead of FosterParent as the base to get coordinates
  8139. - CreateWindow: Don't make FosterParent the parent window for Popups
  8140. if we don't want a taskbar entry, Popups automatically don't get one
  8141. * Hwnd.cs: Need to call remove to actually remove the key from the
  8142. hash table
  8143. 2006-01-30 Mike Kestner <[email protected]>
  8144. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  8145. 2006-01-30 Jackson Harper <[email protected]>
  8146. * TreeView.cs:
  8147. * TreeNode.cs: Raise events no matter how the treenode is
  8148. checked. Patch by Don Edvalson.
  8149. 2006-01-30 Jackson Harper <[email protected]>
  8150. * TreeNode.cs: Signature fix.
  8151. 2006-01-29 Alexander Olk <[email protected]>
  8152. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  8153. 2006-01-20 Mike Kestner <[email protected]>
  8154. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  8155. event forwarding when menus are active.
  8156. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  8157. Most of the patch is pdb's with a little rework.
  8158. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8159. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  8160. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  8161. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  8162. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  8163. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  8164. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  8165. the PaintWindowDecorations method
  8166. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  8167. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  8168. * MenuAPI.cs: Made tracker window invisible
  8169. * XplatUIWin32.cs:
  8170. - Removed GetMenuDC and ReleaseMenuDC methods
  8171. - Implemented the client=false path for PaintEventStart and
  8172. PaintEventEnd
  8173. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8174. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  8175. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  8176. styles
  8177. * Form.cs:
  8178. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  8179. the style
  8180. - CreateParams: Reworked the styles to match MS look'n'feel,
  8181. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  8182. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  8183. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8184. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  8185. window is not mapped, since otherwise every form that's being
  8186. created is considered minimized, which is wrong.
  8187. * Form.cs: Catching the exception and returning our internal value
  8188. instead
  8189. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8190. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  8191. SetWindowMinMax() to have means to tell the driver about the minimum,
  8192. maximum and maximized state window sizes. (Part of the fix for #76485)
  8193. * Form.cs:
  8194. - Implemented tracking of minimum and maximum window size, now calling
  8195. new SetWindowMinMax() driver method to tell the driver (Part of the
  8196. fix for #76485)
  8197. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  8198. (Completes fix for #76485)
  8199. - Calling new SetWindowMinMax driver method when the handle for a
  8200. form is created, to make sure the driver knows about it even if
  8201. the values have been set before the window was created
  8202. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  8203. to avoid messing up our anchoring calculations (partial fix
  8204. for #77355)
  8205. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  8206. * XplatUIX11.cs:
  8207. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  8208. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  8209. (and presumably other freedesktop.org compliant WMs). Left the
  8210. assumption unmapped=minimized, needed for SetVisible to work.
  8211. - Now setting the window state when creating windows
  8212. - Fixed SetVisible to consider/set the window state when mapping
  8213. a Form. We cannot set the state before it's mapped, and we cannot
  8214. use Form.WindowState once it's mapped (since it would ask the
  8215. driver and get 'normal'. Therefore, we grab the state before
  8216. mapping, map, and then set state.
  8217. - Implmemented SetWindowMinMax method; Metacity does not seem to
  8218. honor the ZoomHints, though.
  8219. * XplatUIWin32.cs:
  8220. - Removed MINMAXINFO (moved to XplatUIStructs)
  8221. - Added SetWindowMinMax stub (on Win32 the only way to set that
  8222. information is in response to the WM_GETMINMAXINFO message, which
  8223. is handled in Form.cs)
  8224. - Added logic to SetVisible to set the proper window state when a
  8225. form is made visible (fixes #75720)
  8226. 2006-01-26 Jackson Harper <[email protected]>
  8227. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  8228. same way we handle them with Invoke.
  8229. 2006-01-25 Peter Dennis Bartok <[email protected]>
  8230. * Form.cs:
  8231. - Added tracking of window state so CreateParams can return
  8232. the appropriate style
  8233. - Moved setting of WS_CAPTION style in CreateParams to allow
  8234. styles without caption
  8235. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  8236. control if the TextBox property is accessed. Fixes #77345
  8237. * Control.cs:
  8238. - get_Created: now uses is_disposed and is_created to determine
  8239. return value (suggested by Jackson)
  8240. - CreateHandle: No longer exits if the handle is being recreated
  8241. - RecreateHandle: If the handle is not yet created call the
  8242. appropriate method to create either control or handle. If the
  8243. control is already created CreateHandle will simply exit instead
  8244. of just creating the handle
  8245. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  8246. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  8247. is called.
  8248. * XplatUIX11.cs:
  8249. - When DestroyWindow is called, instead of waiting for the
  8250. DestroyNotification from X11, we directly post it to the WndProc
  8251. and immediately dispose the hwnd object.
  8252. Same applies to DestroyChildWindows, and this obsoletes the
  8253. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  8254. child windows before our own, to avoid X11 errors.
  8255. - Removed the direct sending of WM_PAINT on UpdateWindow
  8256. * XplatUIWin32.cs:
  8257. - Reworked DoEvents and GetMessage to allow access to internal queue
  8258. even when trying non-blocking access to the queue. Fixes #77335.
  8259. Based on a patch suggestion by Don Edvalson. The new private
  8260. GetMessage can now also be used as a backend for a PeekMessage
  8261. frontend version.
  8262. * XplatUI.cs: Improved debug output for CreateWindow
  8263. 2006-01-25 Jackson Harper <[email protected]>
  8264. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  8265. 2006-01-24 Jackson Harper <[email protected]>
  8266. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  8267. when we have a MaxDropItems lower then the selected index.
  8268. 2006-01-24 Jackson Harper <[email protected]>
  8269. * Control.cs: Don't allow selection of non visible controls, allow
  8270. selection of controls without parents.
  8271. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  8272. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  8273. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  8274. 2006-01-23 Jackson Harper <[email protected]>
  8275. * UpDownBase.cs: Make the textbox handle all the selection and
  8276. tabbing. This fixes tabing to updown controls.
  8277. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  8278. * TextBoxBase.cs: fixes exception thown the object was null
  8279. 2006-01-23 Jackson Harper <[email protected]>
  8280. * ButtonBase.cs: Just use the base CreateParams. They set
  8281. visibility and enabled correctly.
  8282. * ComboBox.cs:
  8283. * TrackBar.cs:
  8284. * MonthCalendar.cs: Lets let the base set as much of the
  8285. createparams as possible so we don't have duplicate code all over
  8286. the place.
  8287. 2006-01-22 Alexander Olk <[email protected]>
  8288. * ThemeGtk.cs: Added TrackBar and some experimental code to
  8289. get double buffering back
  8290. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  8291. * DataGrid.cs: Allows row number set internally higher than the last
  8292. when creating a new row. Restores the editing functionality.
  8293. 2006-01-20 Mike Kestner <[email protected]>
  8294. * MimeIcon.cs: delay Image creation until the icons are accessed
  8295. instead of creating 190 scaled images on GnomeHandler startup.
  8296. 2006-01-19 Peter Dennis Bartok <[email protected]>
  8297. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  8298. first call base before processing the event. Fixes #77279
  8299. 2006-01-19 Peter Dennis Bartok <[email protected]>
  8300. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  8301. that the stride for the GDI bitmap would match the stride of
  8302. a DIB or a Cursor.
  8303. 2006-01-19 Alexander Olk <[email protected]>
  8304. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  8305. 2006-01-19 Jackson Harper <[email protected]>
  8306. * ComboBox.cs: Hookup the text controls keydown event so we get
  8307. those when the text control has the focus.
  8308. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8309. * Label.cs: Now using the base events instead of defining new ones;
  8310. this allows us to just call the base properties without having to
  8311. duplicate all base property logic
  8312. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8313. * Label.cs: A label by default is not a tabstop (Fixes one of our
  8314. failing nunit tests)
  8315. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8316. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  8317. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  8318. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8319. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  8320. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  8321. This fixes #77218
  8322. * XplatUIWin32.cs:
  8323. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  8324. constructor creates images that can't be saved. Part of the fix
  8325. for #76103
  8326. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  8327. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  8328. bug fix for handling window state in forms properly)
  8329. 2006-01-18 Alexander Olk <[email protected]>
  8330. * ThemeGtk.cs: Simplify ScrollBar drawing
  8331. 2006-01-18 Jackson Harper <[email protected]>
  8332. * Splitter.cs: Set the default dock style for the splitter control
  8333. in the constructor.
  8334. 2006-01-18 Alexander Olk <[email protected]>
  8335. * ThemeGtk.cs: Corrected StateType and ShadowType for
  8336. gtk_paint_box
  8337. 2006-01-18 Alexander Olk <[email protected]>
  8338. * Control.cs: Make use of Theme.DoubleBufferingSupported
  8339. * ThemeGtk.cs:
  8340. - Added drawing for flat style buttons
  8341. - Added ScrollBar drawing
  8342. 2006-01-18 Alexander Olk <[email protected]>
  8343. * ThemeClearlooks.cs: Removed some unneeded code.
  8344. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  8345. 2006-01-17 Peter Dennis Bartok <[email protected]>
  8346. * LinkLabel.cs: We need to update the hover drawing when
  8347. leaving the control as well.
  8348. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  8349. * DataGrid.cs: Clicking on non empty areas in the columns
  8350. area was giving an exception
  8351. 2006-01-17 Jackson Harper <[email protected]>
  8352. * ThemeWin32Classic.cs:
  8353. * ListView.cs: Do not draw/clip the headers when the header style
  8354. is None.
  8355. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  8356. * DataGrid.cs: Fixes 77260
  8357. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  8358. * DataGrid.cs: Clicking on a column on a empty grid was giving
  8359. an exception
  8360. 2006-01-17 Peter Dennis Bartok <[email protected]>
  8361. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  8362. or any keypress will crash the grid.
  8363. 2006-01-17 Mike Kestner <[email protected]>
  8364. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  8365. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  8366. invisible/previously-visible items.
  8367. [Fixes #76909]
  8368. 2006-01-17 Alexander Olk <[email protected]>
  8369. * ThemeClearlooks.cs:
  8370. - Added CL_Draw_Button method; now other theme controls that are
  8371. not derived from button or do not have a button can draw buttons
  8372. too
  8373. - Updated ComboBox drawing
  8374. - Beautified RadioButton drawing
  8375. - Corrected drawing of bottom and left tabs
  8376. - Beautified DateTimePicker and MonthCalendar
  8377. - Added CPDrawButton and CPDrawRadioButton
  8378. 2006-01-16 Jackson Harper <[email protected]>
  8379. * ComboBox.cs: Set the initial value of the scrollbar to the
  8380. current index. Reduce the numbers of refreshs and IndexOfs called.
  8381. 2006-01-14 Alexander Olk <[email protected]>
  8382. * FileDialog.cs: When the file listview is focused hitting the
  8383. backspace key moves the fileview to the parent directory
  8384. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8385. * Form.cs:
  8386. - Added RecreateHandle call when changing taskbar visibility to
  8387. trigger reparenting in Win32 driver (Fixes #75719)
  8388. - If a window has minimize or maximize buttons, it cannot have
  8389. a help button
  8390. * XplatUIWin32.cs:
  8391. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  8392. the toplevel form with FosterParent (A toolwindow not on the
  8393. taskbar) (Fixes #75719)
  8394. - Made FosterParent a toolwindow
  8395. 2006-01-13 Alexander Olk <[email protected]>
  8396. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  8397. 2006-01-13 Alexander Olk <[email protected]>
  8398. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  8399. is currently over that control, make sure that tooltip_window.Text
  8400. gets updated
  8401. 2006-01-13 Mike Kestner <[email protected]>
  8402. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  8403. 2006-01-13 Jackson Harper <[email protected]>
  8404. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  8405. value passed. Also redraw the selected node when we recieve
  8406. focus, so tabbing between trees works correctly.
  8407. 2006-01-13 Alexander Olk <[email protected]>
  8408. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  8409. ~/.gconf/%gconf-tree.xml, so use
  8410. .gconf/desktop/gnome/interface/%gconf.xml
  8411. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8412. * TextControl.cs: Draw text in gray if control is disabled
  8413. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8414. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  8415. make sure it's always visible. Fixes #76680.
  8416. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8417. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  8418. 2006-01-13 Jonathan Chambers <[email protected]>
  8419. * PageSetupDialog.cs: Added.
  8420. * PrintDialog.cs: Attributes.
  8421. * PrintPreviewControl.cs: Updates.
  8422. * PrintPreviewDialog.cs: Updates.
  8423. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8424. * Control.cs: Undid my selection check fix, since it's not needed
  8425. * TextBoxBase.cs:
  8426. - Now considering the presence of hscroll/vscroll when sizing
  8427. vscroll/hscroll respectively. Fixed bug #77077
  8428. - Added Left/Up/Down/Right to IsInputKey list to prevent
  8429. ContainerControl from stealing them. This fixes what I broke
  8430. with my last checkin.
  8431. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8432. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  8433. I finally understand how the property can be set without a setter :-)
  8434. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8435. * Application.cs:
  8436. - Switched RunLoop to use static Message.Create to create a
  8437. Message object
  8438. - Added PreProcessMessage call in runloop for keyboard events; this
  8439. is part of the fix for #77219, I overlooked this originally in the
  8440. MSDN doc for PreProcessMessage
  8441. * Control.cs:
  8442. - Removed call to PreProcessMessage from handling of keyboard
  8443. messages; it's supposed to be done in the message pump
  8444. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  8445. per MSDN documentation.
  8446. - IsInputChar: All chars are input chars by default; removed the
  8447. parent calling chain, MS does not document that
  8448. - PreProcessMessage: If IsInputChar is true, we want to return false
  8449. to allow dispatching of the message
  8450. - When selecting the next control, now also check that we're not
  8451. selecting ourselves again and therefore return a false positive.
  8452. * TextBoxBase.cs:
  8453. - Tried to match return values for IsInputKey and ProcessDialogKey
  8454. to what MS returns; moved processing of our special keys outside
  8455. ProcessDialogKey since MS does not seem to return true on those.
  8456. - Moved code that previously was in ProcessDialogKey into new private
  8457. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  8458. - Reworked handling of WM_CHAR to not have to duplicate code from
  8459. Control.cs anymore, instead we simply call down to base.
  8460. 2006-01-12 Jackson Harper <[email protected]>
  8461. * ComboBox.cs: We always need to refresh the text area when
  8462. EndUpdate is called. Fixes the combobox in the file dialog.
  8463. * Control.cs: Don't create the creator_thread until the controls
  8464. handle is created. Also in InvokeRequired we check if the
  8465. creator_thread is null. This gives the effect of InvokeRequired
  8466. returning true if the controls handle is not created yet, and
  8467. matches MS.
  8468. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8469. * XplatUI.cs:
  8470. - Added StartLoop() driver method. This is used to allow drivers to
  8471. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  8472. loop for a particular thread
  8473. - Added EndLoop() driver method. This is called once the message
  8474. pump for the thread is shut down
  8475. - Added SupportsTransparency method to allow the driver to indicate
  8476. opacity support for windows
  8477. * Form.cs:
  8478. - Removed TODO attribute, completed AllowTransparency property
  8479. - Added documented logic to Opacity
  8480. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  8481. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  8482. versions of CompatibleTextRendering
  8483. * X11Structs.cs: Added opacity atom to our atom enumeration
  8484. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  8485. of a form might be set before it's reparented by the WM, and we need
  8486. the opacity value without calling up to Form)
  8487. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  8488. SupportsTransparency() driver methods
  8489. * Application.cs: Now calling StartLoop and EndLoop driver methods
  8490. * XplatUIX11.cs:
  8491. - Added opacity atom registration
  8492. - Added StartLoop()/EndLoop() methods. They're empty right now but
  8493. will need to get implemented when we switch to a per-thread queue
  8494. - Implemented SupportsTransparency() method
  8495. - Implemented SetWindowTransparency() method
  8496. - Added support for setting the opacity value when a window is
  8497. reparented (since the opacity needs to be set on the WM frame)
  8498. * XplatUIOSX.cs, XplatUIWin32.cs:
  8499. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  8500. 2006-01-12 Alexander Olk <[email protected]>
  8501. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  8502. 2006-01-12 Alexander Olk <[email protected]>
  8503. * FileDialog.cs: Added ToolTip for MWFFileView
  8504. * MimeIcon.cs: Rewrote GnomeHandler.
  8505. - Get currently used gnome icon theme from
  8506. ($HOME)/.gconf/%gconf-tree.xml
  8507. - Make use of inherited icon themes
  8508. - Support SVG icon themes like Tango via librsvg
  8509. 2006-01-12 Miguel de Icaza <[email protected]>
  8510. Revert's Jackson's revert which broke 2.0 builds. Fix both
  8511. builds.
  8512. * Application.cs: Move the use_compatible_text_rendering outside
  8513. the NET_2_0 define. If we ever need to use the
  8514. use_compatible_text_rendering on the individual controls they will
  8515. access the variable from the common shared code paths.
  8516. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8517. * XplatUI.cs:
  8518. - Added more granular debug options
  8519. - Added method to print both window text and id
  8520. - Switched debug output to use new Window() debug method
  8521. - Added IsEnabled() driver method
  8522. - Added EnableWindow() driver method
  8523. * Form.cs:
  8524. - Removed end_modal; no longer needed, new loop handles termination
  8525. via 'closing' variable
  8526. - If form is modal, setting DialogResult will now initiate loop
  8527. termination via 'closing' variable
  8528. - Added support for is_enabled/WS_DISABLED to CreateParams
  8529. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  8530. does all the work
  8531. - Removed code that's now in RunLoop from ShowDialog()
  8532. - Added various documented sanity checks to ShowDialog()
  8533. - Added handling of WM_DESTROY message; we set 'closing' on getting
  8534. the message to indicate the message pump to terminate
  8535. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  8536. send by the Application.ExitThread method. (We send the message
  8537. to destroy the window after all other events have been
  8538. processed through the queue, instead of destroying the handle
  8539. directly)
  8540. - Moved code from Close() method to WM_CLOSE handler; added logic
  8541. to only send close-related events if the form is not displayed
  8542. modal
  8543. * Splitter.cs (..ctor): Fixed typo in resource name
  8544. * Control.cs:
  8545. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  8546. brush now
  8547. - set_Cursor: Now only setting calling into XplatUI if the handle for
  8548. the control is already created; this avoids implict handle creation
  8549. or crashes if it's not created
  8550. - set_Enabled: Now setting the enabled state via the new driver method
  8551. instead of just tracking it
  8552. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  8553. - CreateControl: Reordered event firing and method calls to more
  8554. closely fire events in the order MS does. Now setting the
  8555. enabled state in the driver when creating the control.
  8556. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  8557. match MS order
  8558. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  8559. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  8560. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  8561. * Hwnd.cs:
  8562. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  8563. - Added EnabledHwnd property to easily allow a driver to find the
  8564. handle of the first enabled window in the parent chain (this is
  8565. used by drivers to pass up input events of disabled windows)
  8566. * XplatUIDriver.cs: Added IsEnabled() method
  8567. * Application.cs:
  8568. - Removed crude and obsolete exiting tracking variable
  8569. - Removed internal ModalRun(); replaced by RunLoop()
  8570. - Implemented private CloseForms() method to allow closing all
  8571. windows owned by a particular (or all) threads
  8572. - Exit() now properly closes all windows without forcing the message
  8573. pump to quit
  8574. - Removed obsolete InternalExit() method
  8575. - Changed Run() methods to use new RunLoop() message pump
  8576. - Implemented new RunLoop() method for both modal and non-modal forms
  8577. * CommonDialog.cs:
  8578. - get_CreateParams: Added setting of WS_DISABLED
  8579. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  8580. invoked via Form.ShowDialog()
  8581. * NativeWindow.cs: We don't remove the window from the collection when
  8582. the handle is destroyed; there might still be messages for it in the
  8583. queue (mainly the resulting WM_DESTROY); instead it will be removed
  8584. when Control calls InvalidateHandle in the WM_DESTROY handler
  8585. * XplatUIX11.cs:
  8586. - CreateWindow: Added logic to handle the WS_DISABLED window style
  8587. - EnableWindow: Implemented based on Hwnd.Enabled
  8588. - GetMessage: Reset PostQuitState so the method can be called again
  8589. - Implemented support for disabled windows (passing messages to the
  8590. first enabled parent) in handling all input messages
  8591. - Added optimizations for handling Expose events
  8592. - Implemeted new driver method IsEnabled()
  8593. - Now always resetting paint pending tracking vars when we start paint
  8594. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  8595. * XplatUIOSX.cs: Added IsEnabled method stub
  8596. * XplatUIWin32.cs: Implemented new IsEnabled() method
  8597. 2006-01-11 Jackson Harper <[email protected]>
  8598. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8599. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  8600. variables a little.
  8601. * ColorDialog.cs: Clear out the old form before adding the new
  8602. panel.
  8603. 2006-01-11 Jackson Harper <[email protected]>
  8604. * X11Dnd.cs: Make sure to add all the text formats when adding
  8605. strings to the data object.
  8606. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  8607. do some redrawing too. Also change the UpdateNode to an
  8608. UpdateBelow so the newly added node gets painted.
  8609. 2006-01-11 Miguel de Icaza <[email protected]>
  8610. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8611. LinkLabel.cs, PropertyGrid.cs: Implement the
  8612. UseCompatibleTextRendering property for 2.x
  8613. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  8614. 2006-01-11 Jackson Harper <[email protected]>
  8615. * TreeView.cs: Use the property for setting the selected node so
  8616. the correct events get raised.
  8617. * TreeNode.cs: Update the tree when the fore/back colours of a
  8618. node are set.
  8619. 2006-01-10 Jackson Harper <[email protected]>
  8620. * TreeView.cs: Allow setting SelectedNode to null.
  8621. 2006-01-9 Jonathan Chambers <[email protected]>
  8622. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  8623. 2006-01-9 Jonathan Chambers <[email protected]>
  8624. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  8625. 2006-01-9 Jonathan Chambers <[email protected]>
  8626. * PrintDialog.cs: Added attributes and set default property values.
  8627. 2006-01-9 Jonathan Chambers <[email protected]>
  8628. * PrintControllerWithStatusDialog.cs:
  8629. Added PrintControllerWithStatusDialog.
  8630. 2006-01-9 Jonathan Chambers <[email protected]>
  8631. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8632. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  8633. 2006-01-9 Jonathan Chambers <[email protected]>
  8634. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  8635. 2006-01-09 Jonathan Chambers <[email protected]>
  8636. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  8637. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  8638. 2006-01-08 Alexander Olk <[email protected]>
  8639. * MimeIcon.cs: Added internal class SVGUtil.
  8640. 2006-01-08 Alexander Olk <[email protected]>
  8641. * FileDialog.cs: Don't crash if there are two files with the
  8642. same name but different locations.
  8643. 2006-01-08 John BouAntoun <[email protected]>
  8644. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  8645. dates across multiple month grids. Used to not highlight entire
  8646. month, but does now.
  8647. 2006-01-06 Jackson Harper <[email protected]>
  8648. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  8649. message loop. Change timer intervals to numbers that seem more
  8650. natural.
  8651. 2006-01-06 John BouAntoun <[email protected]>
  8652. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  8653. object for location info since screen object is now implemented.
  8654. 2006-01-05 Jackson Harper <[email protected]>
  8655. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  8656. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  8657. AsyncMethodResult, this is because we ALWAYS want the
  8658. ManualResetEvent to get set.
  8659. * Control.cs: When disposing use an async invoke to call shutdown
  8660. code, so that thigns don't block on the finalizer thread. Also
  8661. check if we even have a message loop before trying to send
  8662. messages, if we don't then don't bother sending messages.
  8663. - No more weak references for async methods
  8664. * XplatUIDriver.cs: No more weak references for async methods.
  8665. 2006-01-04 Alexander Olk <[email protected]>
  8666. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  8667. returns two FontFamily with the same name
  8668. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8669. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  8670. drawing disabled text. Instead using the ColorGrayText color
  8671. 2006-01-04 Jackson Harper <[email protected]>
  8672. * TreeNode.cs: redraw the node when its image index is changed.
  8673. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8674. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  8675. time I checked there are no others like it.
  8676. 2006-01-04 Jackson Harper <[email protected]>
  8677. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  8678. this gives the behavoir I was looking for.
  8679. * Control.cs: Special case Invoking EventHandlers, this matches MS
  8680. and fixes part of bug #76326.
  8681. 2006-01-04 Alexander Olk <[email protected]>
  8682. * ThemeClearlooks.cs, FileDialog.cs:
  8683. - Reflect the latest Theme class changes
  8684. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  8685. with DateTime
  8686. 2006-01-04 Alexander Olk <[email protected]>
  8687. * Theme.cs: Cache UI resource images and resize them if needed
  8688. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8689. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  8690. is called. This fixes the crash in Nexxia when setting the font
  8691. attributes in the chat. [However, RTF needs a look-over to make sure
  8692. that all SelectionXXX methods handle the special case that selection
  8693. is empty and therefore the change must be applied to all text starting
  8694. at the cursor/selection start]
  8695. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8696. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8697. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  8698. * X11Keyboard.cs: Switched to new way of calling PostMessage
  8699. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8700. * Theme.cs: Added theme interface for images to allow the theme to
  8701. control what images are used for things like FileDialog, MessageBox
  8702. icons, etc.
  8703. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  8704. 2006-01-03 Alexander Olk <[email protected]>
  8705. * FileDialog.cs:
  8706. - Removed some dead code
  8707. - Opening a recently used file does work now
  8708. - Small UI enhancements
  8709. - Refactoring
  8710. 2006-01-02 Alexander Olk <[email protected]>
  8711. * FileDialog.cs: Forgot too add __MonoCS__
  8712. 2006-01-02 Alexander Olk <[email protected]>
  8713. * FileDialog.cs: We are able to read recently used files now let's
  8714. go on and write them.
  8715. 2006-01-01 Alexander Olk <[email protected]>
  8716. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  8717. button
  8718. * MimeIcon.cs: Do a check for the top level media type also
  8719. 2005-12-31 Alexander Olk <[email protected]>
  8720. * ThemeClearlooks.cs:
  8721. - Added CPDrawStringDisabled
  8722. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  8723. some chars if the text doesn't fit into text_rect
  8724. - DrawListViewItem: If View = View.LargeIcon center the image;
  8725. rewrote the drawing of ListViewItem.Text if View =
  8726. View.LargeIcon
  8727. 2005-12-31 Alexander Olk <[email protected]>
  8728. * MimeIcon.cs: Use default KDE icon theme if there is no
  8729. "48x48" directory for the current icon theme, fixes #77114
  8730. * Mime.cs: Disable not working and actually not used code.
  8731. * ThemeWin32Classic.cs:
  8732. - Replace "new SolidBrush" in GetControlBackBrush and
  8733. GetControlForeBrush with ResPool.GetSolidBrush
  8734. - Changed DrawListViewItem from private to protected virtual
  8735. * FileDialog.cs:
  8736. - Added form.MaximizeBox = true
  8737. - Don't throw an exception if there is a broken symbolic link
  8738. 2005-12-23 Jackson Harper <[email protected]>
  8739. * TabControl.cs: Give the panels focus, keyboard navigation is
  8740. fixed so this works correctly now.
  8741. - We need these key events also.
  8742. * ToolBar.cs: Remove some of the poor mans double buffering.
  8743. 2005-12-24 Alexander Olk <[email protected]>
  8744. * ComboBox.cs: The internal TextBox now returns the focus.
  8745. 2005-12-23 Jackson Harper <[email protected]>
  8746. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  8747. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8748. * Control.cs: Removed debug code
  8749. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  8750. implicit children
  8751. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8752. * Control.cs: When creating the control, update the Z-order after
  8753. all it's children are created, too. (Fixes nexxia not showing
  8754. picturebox bug)
  8755. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8756. * Control.cs: Do not update the anchoring distances if layout is
  8757. suspended, instead do it once layout is resumed
  8758. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8759. * Control.cs:
  8760. - After many hours of debugging, for both Jackson and
  8761. myself, it turns out that it helps to set the parent of a control
  8762. if you want to actually see it onscreen. In the spirit of that
  8763. discovery, we're now setting the parent of the control and
  8764. it's children when the control's handle is created. This fix
  8765. will make Lutz Roeder's Reflector run happily.
  8766. - now just creating the handle instead of the whole control when
  8767. getting a graphics context for the control.
  8768. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8769. * ScrollableControl.cs: When calculating the canvas, don't consider
  8770. the scrollbar widths. Instead, predict if horizontal scrollbar
  8771. will affect canvas when deciding on vertical display and vice versa.
  8772. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8773. * RichTextBox.cs: Set default RTF font for documents that don't
  8774. have a font table (Fixes #77076)
  8775. 2005-12-22 Jackson Harper <[email protected]>
  8776. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  8777. clipboard. This prevents a NullRef in that case.
  8778. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  8779. clipboard. PRIMARY is for the currently selected text only. (We
  8780. should implement PRIMARY at some point.
  8781. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8782. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  8783. a Unicode function with a structure that was defined in Ansi way.
  8784. This fixes #76942.
  8785. 2005-12-21 Jackson Harper <[email protected]>
  8786. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  8787. on. Because thats how it rolls. (and this avoids it using ambient
  8788. colours).
  8789. * ThemeWin32Classic.cs: Use the proper back color for filling.
  8790. * Menu.cs: Use the system menu bar color for drawing menu
  8791. bars. Using the window back color will bring ambient colours into
  8792. the picture.
  8793. 2005-12-21 Alexander Olk <[email protected]>
  8794. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  8795. Bitmaps were created and not disposed.
  8796. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8797. * Control.cs (CreateControl): Don't do anything if the control is
  8798. already created, otherwise we'd fire the OnCreated event more than
  8799. once
  8800. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8801. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  8802. will always match. Instead return -1. Fixes #76464.
  8803. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8804. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  8805. neither the beginning nor the end of the line (Fixes bug #76479)
  8806. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8807. * Control.cs:
  8808. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  8809. where handle is invalid
  8810. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  8811. instead of slower linear search
  8812. * NativeWindow.cs: Don't remove the window from the hashtable until
  8813. after the driver has destroyed it (since the driver might use
  8814. Control.FromHandle to lookup the control object
  8815. * Hwnd.cs: Added DestroyPending property to track if a window is
  8816. already destroyed as far as the driver is concerned and only hasn't
  8817. yet notified the control
  8818. * XplatUIX11.cs:
  8819. - Activate(): Check if the window is still valid before using the
  8820. handle
  8821. - Implemented DestroyChildWindow() method to mark child windows as
  8822. destroyed when a window is destroyed. This prevents situations
  8823. where we might call an X method based on queued events for a
  8824. window that already has been destroyed but we haven't yet pulled
  8825. the destroy method from the queue.
  8826. - Added a call to the new DestroyChildWindow() method to the drivers
  8827. DestroyWindow code. Also now marking the destroyed window itself
  8828. as pending
  8829. 2005-12-20 Jackson Harper <[email protected]>
  8830. * StatusBar.cs:
  8831. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  8832. anymore. Just do them when needed, also track the rects of panels
  8833. so that we can optimize refreshing more in the future.
  8834. 2005-12-20 Alexander Olk <[email protected]>
  8835. * ColorDialog.cs: Fixed focus drawing in small color controls
  8836. 2005-12-19 Jackson Harper <[email protected]>
  8837. * InternalWindowManager.cs:
  8838. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  8839. moving windows works properly.
  8840. 2005-12-19 Peter Dennis Bartok <[email protected]>
  8841. * Control.cs:
  8842. - Removed call to InitLayout() from SetBoundsCore(); doc says
  8843. it's only called when a control is added to a container
  8844. - Split InitLayout logic, moved to separate UpdateDistances() method
  8845. since we need to perform those calculations more often than just
  8846. when adding the control to a container. (Needed to fix #77022)
  8847. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  8848. - Reduced the OnBindingContextChanged events count, don't send them
  8849. unless the control is created, we still aren't totally matching
  8850. MS, but I can't quite figure out some of their rules
  8851. 2005-12-18 Alexander Olk <[email protected]>
  8852. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  8853. stripes
  8854. 2005-12-18 Alexander Olk <[email protected]>
  8855. * ThemeClearlooks.cs:
  8856. - Updated ProgressBar drawing
  8857. - Corrected drawing of ScrollBars and scroll buttons
  8858. - Some temporary fixes for minor pixel artefacts
  8859. 2005-12-18 Peter Dennis Bartok <[email protected]>
  8860. * Control.cs:
  8861. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  8862. cause events to be sent in the same order as MS does.
  8863. - Added ChangeParent() method to trigger various OnXXXChanged events
  8864. that need to be fired when a parent changes (This is a reworking
  8865. of the patch from r54254, with the X11 errors fixed)
  8866. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  8867. since on MS we get OnLayoutChanged events when calling Clear()
  8868. - Changed Enabled property to consider parent state as well, if a
  8869. parent is not enabled, the control will not be either
  8870. - Changed Parent property to simply call Controls.Add() since that
  8871. now does all the work required, this way we avoid code duplication
  8872. - Threw in a few OnBindingsContextChanged calls to try and match
  8873. when MS sends them. We seem to send a few too many, though.
  8874. - Added call to CreateControl when adding the control to a parent.
  8875. We were never calling CreateControl. Still needs some work, in
  8876. some places we treat HandleCreated and ControlCreated as equal,
  8877. which is wrong
  8878. - Removed obsolete commented out code from UpdateZOrder()
  8879. 2005-12-18 Alexander Olk <[email protected]>
  8880. * ThemeClearlooks.cs: Updated TrackBar drawing.
  8881. 2005-12-17 Alexander Olk <[email protected]>
  8882. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  8883. 2005-12-17 Alexander Olk <[email protected]>
  8884. * FileDialog.cs: Add the Help button and the open readonly
  8885. checkbox only if needed
  8886. 2005-12-16 Jackson Harper <[email protected]>
  8887. * Control.cs: Make sure we have an active menu before trying to
  8888. process commands on it. Prevents menu-less forms from crashing
  8889. when Alt is pressed.
  8890. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  8891. Dieter Bremes.
  8892. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  8893. 2.0 build.
  8894. 2005-12-16 Jackson Harper <[email protected]>
  8895. * InternalWindowManager.cs: Don't translate tool windows screen
  8896. coordinates. This fixes windows 'bouncing' around when being moved.
  8897. 2005-12-15 Peter Dennis Bartok <[email protected]>
  8898. * TextBoxBase.cs:
  8899. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  8900. not quite MS compatible, MS uses that number only for single line
  8901. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  8902. the limit at 2GB)
  8903. - Now enforcing the MaxLength limit when entering characters
  8904. - Added argument to internal Paste() method to track if it's called
  8905. from programatically or via keyboard, since keyboard driven pastes
  8906. need to enforce max-length
  8907. - Added logic to Paste to only paste as many chars as MaxLength
  8908. allows
  8909. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  8910. * TextControl.cs:
  8911. - Added Length property to return number of characters in document
  8912. - Added private CharCount property which only tracks actual chars
  8913. in the document (no linefeeds) and fires event when CharCount
  8914. changes
  8915. - Added tracking of character count to all methods that alter it
  8916. - Added LengthChanged event to allow applications to subscribe
  8917. to any changes to the document
  8918. 2005-12-15 Peter Dennis Bartok <[email protected]>
  8919. * TextBox.cs:
  8920. - Removed local password_char field (moved to TextBoxBase)
  8921. - Now setting the document's password var when password is
  8922. set
  8923. * TextBoxBase.cs:
  8924. - Added password_char field (needed here so MultiLine can
  8925. access it)
  8926. - Added logic to MultiLine property setter to set the document's
  8927. variable when password display is allowed
  8928. - Removed debug code and made some debug code conditional
  8929. * TextControl.cs:
  8930. - Added RecalculatePasswordLine() method to handle special password
  8931. char only lines
  8932. - Added PasswordChar property, also added related tracking vars
  8933. - Draw() method now uses local text var for grabbing text to draw,
  8934. this var is set to line.text unless we're doing password display,
  8935. then it is set to the pre-generated all-password-chars line
  8936. - Added calling RecalculatePasswordLine() method for password lines
  8937. 2005-12-14 Peter Dennis Bartok <[email protected]>
  8938. * Hwnd.cs:
  8939. - Added Reparented property to allow tracking of Window Manager
  8940. reparenting actions (which affect X/Y calculations of toplevel
  8941. windows)
  8942. - Made ToString() print window handles in hex
  8943. * XplatUIX11.cs:
  8944. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  8945. determine if X/Y needs offsetting
  8946. - AddConfigureNotify(): Fixed offset calculations
  8947. - Now adds ReparentNotify messages into the queue
  8948. - Now processes ReparentNotify messages and causes a
  8949. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  8950. is reparented (as most likely it's X/Y coordinates are changed
  8951. due to that)
  8952. 2005-12-14 Jackson Harper <[email protected]>
  8953. * XplatUIX11.cs: Tool windows still need to respek focus.
  8954. 2005-12-14 Peter Dennis Bartok <[email protected]>
  8955. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  8956. have a working release
  8957. 2005-12-13 Jackson Harper <[email protected]>
  8958. * Form.cs: Update styles after setting the border style regardless
  8959. of whether or not the window is using a window manager.
  8960. 2005-12-13 Jackson Harper <[email protected]>
  8961. * Form.cs: We now hook into an internal window manager instead of just an
  8962. MDI subsystem, this is so we can have properly behaving tool windows.
  8963. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  8964. * InternalWindowManager.cs: New internal class that acts as a
  8965. window manager for tool windows and as a base for mdi windows.
  8966. * MdiWindowManager.cs: New class that acts as a window manager for
  8967. mdi windows.
  8968. 2005-12-12 Jackson Harper <[email protected]>
  8969. * Control.cs: Updates so we match behavoir for for implicit
  8970. controls. Fixes explosions in MDI.
  8971. 2005-12-12 Jackson Harper <[email protected]>
  8972. * Control.cs: Implement Invalidate (Region).
  8973. 2005-12-12 Peter Dennis Bartok <[email protected]>
  8974. * Control.cs:
  8975. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  8976. the same events as MS does. MS fires events for each property
  8977. except, for unknown reasons, Cursor, when the control is reparented.
  8978. I can't seem to totally match add/remove since MS also fires some
  8979. VisibleChanged events, which makes no sense. Consolidated the
  8980. parenting code into a separate method so it can be called from
  8981. both Add and Remove. set_Parent no longer needs any special logic
  8982. as it calls the parent's add method which implicitly fires
  8983. all events
  8984. - Removed some obsolete code and debug output
  8985. - Enabled state is inherited from parents, if this is enabled
  8986. 2005-12-08 Peter Dennis Bartok <[email protected]>
  8987. * Form.cs: Removed commented out code
  8988. 2005-12-08 Peter Dennis Bartok <[email protected]>
  8989. * Control.cs:
  8990. - Added internal version of Invoke, with additional argument
  8991. indicating if we're calling it from a Dispose() handler. That
  8992. way we can avoid BeginInvoke throwing an exception if we're
  8993. calling for an already destroyed window.
  8994. - Added a dispose argument to BeginInvokeInternal, and made the
  8995. check if a valid window handle chain exists conditional on
  8996. it not being a dispose call
  8997. - Removed code in DestroyHandle to destroy our children. Since we
  8998. now handle the WM_DESTROY message we will catch all our children
  8999. being destroyed.
  9000. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  9001. * Form.cs:
  9002. - Added a field to track the application context of the form.
  9003. - No need to set closing variable as response to WM_CLOSE, instead
  9004. we destroy the window. We also call PostQuitMessage if the form
  9005. has an application context (which makes it the main app form,
  9006. which, when closed terminates the app)
  9007. * XplatUI.cs:
  9008. - Dropped Exit() method, it's naming was confusing
  9009. - Added PostQuitMessage() which causes GetMessage to return false
  9010. once the message queue is empty
  9011. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  9012. PostQuitMessage()
  9013. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  9014. no longer a valid XplatUI method, but left it in since it's used
  9015. internally. Added empty PostQuitMessage() method.
  9016. * MenuAPI.cs: Replaced call to Exit() with call to
  9017. PostQuitMessage, even though this is probably no longer needed.
  9018. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  9019. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  9020. * Application.cs:
  9021. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  9022. - Removed old debug code that would call XplatUI for exception
  9023. display, enabled standard exception handling (Still not enabled
  9024. though, until NativeWindow's ExternalExceptionHandler define
  9025. is removed
  9026. * NativeWindow.cs:
  9027. - Added internal method to allow control to update NativeWindow
  9028. after a window has been destroyed
  9029. - Added handling of already destroyed windows when calling i
  9030. DestroyWindow
  9031. - Added removal of handle from list on ReleaseHandle
  9032. * XplatUIX11.cs:
  9033. - Dropped GetMessageResult var and related code
  9034. - Added PostQuitState to field to track if PostQuitMessage has been
  9035. called
  9036. - Dropped Exit() method
  9037. - Added PostQuitMessage() method
  9038. - GetMessage now will return false if PostQuitState is set and no
  9039. more messages are in the queue.
  9040. - Expose handler will no longer generate WM_PAINT messages if we are
  9041. in PostQuitState since it's very likely any windows have already
  9042. been destroyed, and since Hwnd won't get updated until we have
  9043. processed the DestroyNotify we'd be causing X errors.
  9044. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9045. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  9046. Thanks to Mike for pointing out the err of my ways.
  9047. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9048. * Control.cs(PreProcessMessage): Moved menu handling back, but
  9049. after all other key handling, to match MS (who handles Menu in
  9050. DefWndProc)
  9051. * Menu.cs (WndProc): Removed my brainfart
  9052. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9053. * Control.cs(PreProcessMessage): Removed special menu handling
  9054. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  9055. 2005-12-07 Mike Kestner <[email protected]>
  9056. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  9057. state according in tracker.
  9058. * Menu.cs : promote tracker field to base class and provide a tracker
  9059. lookup capability. Add/Remove shortcuts dynamically if the top menu
  9060. has a tracker. Unparent items that are removed from the collection.
  9061. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  9062. * Theme*.cs: add always_show_hotkeys field to support configurability
  9063. of mnemonic display. win32 doesn't show mnemonics until Alt is
  9064. pressed.
  9065. 2005-12-07 Jackson Harper <[email protected]>
  9066. * MdiChildContext.cs: Use Control.ResetCursor.
  9067. * Control.cs: ResetCursor needs to set the property so that the
  9068. correct XplatUI call gets made.
  9069. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9070. * Control.cs: More fixes to make our key events match MS. We
  9071. were not setting the modifier state on KeyData, and we were
  9072. not generating any events when Alt was pressed with a key
  9073. since handling of WM_SYSxxx was missing for the OnKey methods.
  9074. 2005-12-07 Jackson Harper <[email protected]>
  9075. * MdiChildContext.cs: reenable the sizing code.
  9076. - When the mouse leaves a window reset its cursor.
  9077. 2005-12-07 Alexander Olk <[email protected]>
  9078. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  9079. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9080. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  9081. widths of Fixed3D borders
  9082. 2005-12-07 Jackson Harper <[email protected]>
  9083. * MdiClient.cs: Fix warnings. Earn Mike's love.
  9084. 2005-12-07 Alexander Olk <[email protected]>
  9085. * ThemeClearlooks.cs:
  9086. - Adjusted mouse over button color
  9087. - Added first parts of CheckBox drawing
  9088. - Added correct color for selected text background
  9089. - Fixed ComboBox drawing
  9090. - Added CPDrawBorder3D and CPDrawBorder
  9091. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9092. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  9093. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9094. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9095. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  9096. alert users via sound. We could add an enum arg with different
  9097. types of alerts in the future
  9098. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9099. * Control.cs: Fix behaviour problems pointed out by Mike
  9100. 2005-12-05 Mike Kestner <[email protected]>
  9101. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  9102. prop setters. Calls parent.Refresh for now, but could be maybe be
  9103. optimized with an internal method on StatusBar at some point.
  9104. [Fixes #76513]
  9105. 2005-12-05 Peter Dennis Bartok <[email protected]>
  9106. * RichTextBox.cs: Implemented get_SelectionColor
  9107. 2005-12-05 Alexander Olk <[email protected]>
  9108. * ThemeClearlooks.cs:
  9109. - Removed dead code
  9110. - Draw black button border only if button is Form.AcceptButton
  9111. - Draw correct button color for pressed RadioButton if the mouse
  9112. has entered the button
  9113. - Updated ProgressBar drawing!
  9114. - Updated CPDrawSizeGrip drawing
  9115. - Updated StatusBarPanel drawing
  9116. 2005-12-05 Mike Kestner <[email protected]>
  9117. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  9118. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  9119. 2005-12-04 Alexander Olk <[email protected]>
  9120. * ThemeClearlooks.cs: Initial check-in, activate with
  9121. export MONO_THEME=clearlooks
  9122. * ThemeEngine.cs: Added ThemeClearlooks
  9123. 2005-12-03 Mike Kestner <[email protected]>
  9124. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  9125. [Fixes #76897]
  9126. 2005-12-02 Jackson Harper <[email protected]>
  9127. * Form.cs: If the child form has no menu the default main menu is
  9128. used as the active menu.
  9129. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9130. * ListBox.cs: Check if any items exist before trying to resolve
  9131. coordinates into items
  9132. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9133. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  9134. as the second color for the background hatch
  9135. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9136. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  9137. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  9138. sure that what we pass to FormatText is always 1-based. Fixes #76885
  9139. 2005-11-29 Miguel de Icaza <[email protected]>
  9140. * NumericUpDown.cs (EndInit): When we are done initializing,
  9141. reflect any updates on the UI.
  9142. 2005-12-02 Jackson Harper <[email protected]>
  9143. * ImplicitHScrollBar.cs:
  9144. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  9145. their container controls.
  9146. * TreeView.cs: Use the new implicit scrollbars.
  9147. 2005-12-02 Jackson Harper <[email protected]>
  9148. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  9149. can play with it.
  9150. * TreeNodeCollection.cs: If we remove the topnode we need to
  9151. update topnode to the next node in line.
  9152. - When clearing nodes go through the same process as removing
  9153. them, so they get depareneted and checked if they are top node.
  9154. 2005-12-01 Jackson Harper <[email protected]>
  9155. * TreeView.cs: When imagelists are used the image area is
  9156. selectable as well as the text.
  9157. - If there are no selected nodes select the first one.
  9158. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  9159. so don't do it more then we need to.
  9160. 2005-12-01 Jackson Harper <[email protected]>
  9161. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  9162. that arrows can be scaled.
  9163. 2005-12-01 Jackson Harper <[email protected]>
  9164. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  9165. fail. Patch by Dieter Bremes
  9166. 2005-11-30 Jackson Harper <[email protected]>
  9167. * Form.cs: Property is 2.0 only
  9168. * PrintDialog.cs: Signature fix.
  9169. 2005-11-30 Peter Dennis Bartok <[email protected]>
  9170. * TextControl.cs:
  9171. - No longer artificially moves text 2 pixels down (now that we have
  9172. borders this is no longer needed)
  9173. - Added calcs for left, hanging and right indent
  9174. 2005-11-23 Mike Kestner <[email protected]>
  9175. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  9176. 2005-11-30 Jackson Harper <[email protected]>
  9177. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  9178. get cloned as part of CloneMenu ().
  9179. * Menu.cs: Make sure the parent of the items get set correctly
  9180. when they are added. And the owners are notified of the changes.
  9181. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  9182. we can change the menu being displayed/handled by the form without
  9183. changing the menu assosciated with the form.
  9184. - Don't let Mdi children draw/handle menus.
  9185. 2005-11-30 Jackson Harper <[email protected]>
  9186. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  9187. a MenuChanged event. Just to make the API a little more
  9188. consistent.
  9189. * MainMenu.cs:
  9190. * MenuItem.cs: Use the new OnMenuChanged
  9191. * MdiChildContext.cs: Handle menu merging.
  9192. * Form.cs: Implement MergedMenu.
  9193. 2005-11-30 Jackson Harper <[email protected]>
  9194. * Menu.cs: We were misusing Add. Add goes behind the specified
  9195. index according to the docs, and does not replace the specified
  9196. index. So I added an Insert method.
  9197. 2005-11-30 Peter Dennis Bartok <[email protected]>
  9198. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  9199. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  9200. is for Jackson
  9201. * RichTextBox.cs: Added calls to base for DnD events
  9202. 2005-11-28 Peter Dennis Bartok <[email protected]>
  9203. * TextControl.cs:
  9204. - Fixed drag-selection related crash; style fixes
  9205. - Implemented undo class
  9206. o Implemented method to capture document state for specified
  9207. range in document tree
  9208. o Implemented method to restore captured document state
  9209. o Implemented cursor tracking
  9210. o Implemented basic undo stack
  9211. - Added undo cursor tracking to methods altering cursor location
  9212. - Added undo tracking to selection deletion (still missing
  9213. other text-altering hookups)
  9214. * RichTextBox.cs:
  9215. - Added SelectionLength property
  9216. - Implemented CanPaste()
  9217. - Implemented Paste()
  9218. - Added missing protected methods
  9219. - Fixed RTF->Document conversion; now uses font index 0 and color
  9220. index 0 as the default font for the parsed text
  9221. - Fixed RTF<->Document font size translation
  9222. - Fixed RTF generation, now properly handles cross-tag boundaries
  9223. for single line selection
  9224. - No longer always appends blank line to generated RTF
  9225. - Removed TODOs
  9226. - Added missing attributes
  9227. - Hooked up undo-related methods
  9228. * TextBoxBase.cs:
  9229. - Implemented Copy()
  9230. - Implemented Paste()
  9231. - Implemented Cut()
  9232. - Fixed caret mis-behaviour on backspace across line-boundaries
  9233. 2005-11-29 Jackson Harper <[email protected]>
  9234. * MdiClient.cs: Add a method for activating mdi children. Very
  9235. basic right now. I imagine someday it might need more girth.
  9236. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  9237. children windows names are added to the menu item.
  9238. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  9239. mdilist. This happens regardless of whether or not there are any
  9240. mdi windows to see in the list, and according to my tests happens
  9241. before the items are even added. Also happens if there isn't even
  9242. an mdi client to get windows from.
  9243. 2005-11-29 Alexander Olk <[email protected]>
  9244. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  9245. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  9246. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  9247. * DataGridTableStyle.cs:
  9248. - Create always the styles for the missing columns even if they are
  9249. provided by the user (not default table style)
  9250. * DataGrid.cs:
  9251. - Fixes bug 76770
  9252. - Fixes SetDataBinding (always re-attach source)
  9253. - Fixes SetNewDataSource (only clear styles if they are not for
  9254. this source)
  9255. - Expands OnTableStylesCollectionChanged to handle style refresh
  9256. and remove properly
  9257. 2005-11-29 Jackson Harper <[email protected]>
  9258. * FileDialog.cs: Implement missing bits, remove some dead
  9259. code.
  9260. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  9261. creation of the panel so that the options set on the dialog are
  9262. seen when the panel is created.
  9263. * TreeView.cs: raise a click when items are clicked.
  9264. 2005-11-29 Jackson Harper <[email protected]>
  9265. * MdiClient.cs: Pass some signature methods through to base.
  9266. 2005-11-28 Jackson Harper <[email protected]>
  9267. * ListView.cs: Raise the click event when items are clicked.
  9268. 2005-11-28 Jackson Harper <[email protected]>
  9269. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  9270. a nullref.
  9271. 2005-11-27 Alexander Olk <[email protected]>
  9272. * ThemeNice.cs: - Removed 1 pixel bitmaps
  9273. - Use SmoothingMode.AntiAlias where it makes sense
  9274. (ScrollButton arrow for example)
  9275. - Enhanced Button focus drawing
  9276. - Fixed ComboBox drawing (no artefacts anymore, focus
  9277. rectangle is back again, reduced size of ComboButton, etc.)
  9278. - Fixed RadioButton focus drawing for Appearence.Button
  9279. - Slight ScrollButton redesign
  9280. - Some LinearGradientBrush size fixes
  9281. - GroupBoxes have now rounded edges
  9282. - Fixed StatusBar drawing
  9283. 2005-11-25 Alexander Olk <[email protected]>
  9284. * ThemeNice.cs: - Remove dead code
  9285. - use correct background colors for menus, etc.
  9286. - Fake pixel drawing with 1 pixel bitmaps
  9287. 2005-11-24 Jackson Harper <[email protected]>
  9288. * MdiClient.cs: Size the scrollbars when resizing the window.
  9289. - Resize the maximized windows when the client is resized
  9290. * Form.cs: Make the child context available
  9291. 2005-11-23 Jackson Harper <[email protected]>
  9292. * MdiChildContext.cs: Don't size windows if they are maximized.
  9293. 2005-11-23 Mike Kestner <[email protected]>
  9294. * ContextMenu.cs: use MenuTracker.
  9295. * Control.cs: remove menu handle usage.
  9296. * Form.cs: remove menu handle usage.
  9297. * Hwnd.cs: remove menu handle usage.
  9298. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  9299. motion and clicks to the new Tracker handlers.
  9300. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  9301. and handle usage.
  9302. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  9303. Killed the MENU and MENUITEM data types and associated collections
  9304. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  9305. MenuTracker class that exposes the leftovers from the old MenuAPI
  9306. static methods. Restructured Capture handling so that only one grab is
  9307. done for the entire menu hierarchy instead of handing off grabs to
  9308. submenus. Tracker now has an invisible control to Capture when active.
  9309. * MenuItem.cs: add sizing accessors, kill Create
  9310. and handle usage.
  9311. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  9312. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  9313. MENU(ITEM). remove menu handle usage, use Menu directly.
  9314. * XplatUIDriver.cs: remove menu handle usage.
  9315. * XplatUIOSX.cs: remove menu handle usage.
  9316. * XplatUIWin32.cs: remove menu handle usage.
  9317. * XplatUIX11.cs: remove menu handle usage.
  9318. 2005-11-22 Jackson Harper <[email protected]>
  9319. * Hwnd.cs: Don't compute the menu size for
  9320. DefaultClientRectangle.
  9321. - Reenable menu sizes being computed for GetClienRectangle.
  9322. * Form.cs: Remove comment of trechery
  9323. 2005-11-22 Jackson Harper <[email protected]>
  9324. * Hwnd.cs: The adjustments for the menu bar are made when it is
  9325. attached to the form.
  9326. 2005-11-19 Jackson Harper <[email protected]>
  9327. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  9328. (just like on windows).
  9329. 2005-11-19 Jackson Harper <[email protected]>
  9330. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  9331. use real buttons anymore because they are in non client area. The
  9332. one TODO here is that I need to somehow invalidate a section of
  9333. the non client area.
  9334. 2005-11-18 Jackson Harper <[email protected]>
  9335. * Control.cs: Put the enum check back in now that MDI doesnt have
  9336. to use this to set border styles.
  9337. * Form.cs: Only set mdi child windows borders if the handle has
  9338. been created.
  9339. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  9340. this directly on to the driver.
  9341. - Get the move start position before adjusting for the titlebar
  9342. height, this fixes the windows "skipping" when they are first
  9343. moved.
  9344. 2005-11-18 Jackson Harper <[email protected]>
  9345. * XplatUIX11.cs: Just compute the mdi borders separately as they
  9346. don't totally match up with normal form borders.
  9347. 2005-11-18 Jackson Harper <[email protected]>
  9348. * Control.cs: Set WS_ styles for borders, so that the driver does
  9349. not have to retrieve the control instance to figure out what kind
  9350. of borders it should have.
  9351. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  9352. driver can know its an mdi child easily.
  9353. * XplatUIX11.cs: Get the border styles and whether the window is
  9354. MDI from the Styles and ExStyles params instead of having to get a
  9355. control. This prevents a chicken and egg problem.
  9356. 2005-11-18 Jackson Harper <[email protected]>
  9357. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  9358. 2005-11-18 Jackson Harper <[email protected]>
  9359. * MdiClient.cs: Calculate when to add and remove scrollbars
  9360. correctly.
  9361. * MdiChildContext.cs: Adjust the y position to take the titlebar
  9362. into account.
  9363. - No height for FormBorderStyle.None
  9364. 2005-11-18 Jackson Harper <[email protected]>
  9365. * Control.cs: Allow non enum values to be used for
  9366. InternalBorderStyle. MDI does this to set a special border style.
  9367. - New utility methods for converting points to/from client coords
  9368. - Add the newly created control to the Controls collection before
  9369. updating its style. This way UpdateStyle can walk the control
  9370. heirarchy to find the control if needed.
  9371. so I don't need to create a new Point object all the time.
  9372. * Form.cs: Let MDI windows handle their border styles.
  9373. - Set styles on MDI windows so the correct title style is derived.
  9374. * MdiChildContext.cs: Move all the painting and window handling
  9375. into the non client area.
  9376. - Use correct sizing and put correct buttons on frames based on
  9377. the FormBorderStyle.
  9378. - Notify the mdi client about scrolling
  9379. - Need to handle the buttons ourselves now, because they are all
  9380. in non client areas and we can't add controls there.
  9381. * MdiClient.cs: Halfway to scrolling, this implementation is
  9382. somewhat broken though, we need to check to make sure other
  9383. windows aren't causing scrolling before removing the bars. Also
  9384. the bars need to be drawn on top, maybe I can switch implicit
  9385. controls to be on top.
  9386. * Hwnd.cs: caption_height and tool_caption_height are now
  9387. properties of an hwnd, this way they can be set by the driver
  9388. based on the type of window they are. In X11 the window manager
  9389. handles the decorations so caption_height is zero unless its an
  9390. MDI window.
  9391. - Add 3 pixel borders for MDI windows (0xFFFF).
  9392. - Get rid of some code duplication, have DefaultClientRectanle
  9393. just call GetClientRectangle.
  9394. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  9395. Hwnd now.
  9396. - Set border styles differently for mdi windows.
  9397. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  9398. Hwnd now.
  9399. 2005-11-15 Mike Kestner <[email protected]>
  9400. * Menu.cs: when adding an item to the collection, if item is already
  9401. parented, remove it from the parent.
  9402. 2005-11-13 Alexander Olk <[email protected]>
  9403. * X11DesktopColors.cs: Added KDE support
  9404. 2005-11-11 Peter Dennis Bartok <[email protected]>
  9405. * XplatUIWin32.cs:
  9406. - Clipboard methods now can translate Rtf format
  9407. - No longer removes clipboard contents whenever a new format is added
  9408. to allow placing multiple formats on the clipboard
  9409. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  9410. will place all formats contained in it onto the clipboard. Also
  9411. now cleans the clipboard before placing a new object onto it
  9412. * RichTextBox.cs:
  9413. - Implemented set_Rtf
  9414. - Implemented set_SelectedRtf
  9415. - Created InsertRTFFromStream() method to allow single code base
  9416. for all properties and methods that insert RTF into document
  9417. - Removed debug output
  9418. * TextControl.cs:
  9419. - Fixed Delete(int) to fix up line numbers
  9420. - Fixed ReplaceSelection to combine start and end line
  9421. - Fixed serious DeleteChars bug that would leave the document tree
  9422. broken
  9423. - Improved DumpTree with several logic checks to detect broken
  9424. document trees
  9425. - Removed debug lines
  9426. - Fixed Caret.WordForward/WordBack moving code, now always also
  9427. updates caret.tag (fixes crash when word-selecting across tag
  9428. boundaries via keyboard)
  9429. - Added Insert() method for inserting multiline text into documents
  9430. - Fixed DeleteChars() calculation errors that would cause a broken
  9431. tag chain with multiple tag lines
  9432. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  9433. - Split() no longer moves caret if split is at caret location
  9434. - ReplaceSelection() now updates the cursor and re-displays it
  9435. - ReplaceSelection() now uses new Insert() method to avoid code
  9436. duplication
  9437. - FormatText() can now handle formatting partial lines
  9438. * TextBoxBase.cs:
  9439. - Append now uses new TextControl.Insert() method (this avoids
  9440. duplicate code)
  9441. - Implemented Ctrl-X (Cut) (
  9442. - Implemented Ctrl-C (Copy)
  9443. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  9444. regeneration when pasting text; roundtripping Copy&Paste within
  9445. edit control still fails due to some calculation bugs in GenerateRTF)
  9446. - The Delete key will now remove the current selection if it is visible
  9447. * TextBox.cs: Removed debug lines
  9448. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  9449. driver to be initialized and can't therefore be done via a static ctor)
  9450. 2005-11-10 Peter Dennis Bartok <[email protected]>
  9451. * TextControl.cs: Added backend code for finding char arrays and strings
  9452. * TextBoxBase.cs:
  9453. - Added mouse wheel scroll support
  9454. - Added support for VScroll and HScroll events
  9455. * RichTextBox.cs:
  9456. - Implemented all seven Find() variants
  9457. - Implemented GetCharFromPosition()
  9458. - Implemented GetCharIndexFromPosition()
  9459. - Implemented GetLineFromIndex()
  9460. - Implemented GetPositionFromCharIndex();
  9461. - Implemented SaveFile for PlainText and UnicodeText
  9462. - Fixed set_Font, now setting a new font applies that font to
  9463. the whole document
  9464. - Implemented generic Document to RTF converter
  9465. - Implemented SaveFile for RichText format (still missing unicode
  9466. conversion for non-ansi chars)
  9467. - Implemented get_Rtf
  9468. - Implemented get_SelectedRtf
  9469. 2005-11-09 Peter Dennis Bartok <[email protected]>
  9470. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  9471. to allow any captures to be released before triggering OnClick. This
  9472. way a click handler may capture the mouse without interference.
  9473. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  9474. This way we send them even though X may not allow a grab (if the window
  9475. isn't visible, for example)
  9476. 2005-11-08 Pedro Martinez Julia <[email protected]>
  9477. * DataGridViewRowEventArgs.cs: DataGridView implementation
  9478. * DataGridViewElement.cs: DataGridView implementation
  9479. * DataGridViewComboBoxCell.cs: DataGridView implementation
  9480. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  9481. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  9482. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  9483. * ImageLayout.cs: DataGridView implementation
  9484. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  9485. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  9486. * DataGridViewSelectionMode.cs: DataGridView implementation
  9487. * IDataGridViewEditingControl.cs: DataGridView implementation
  9488. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  9489. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  9490. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  9491. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  9492. * DataGridViewColumnSortMode.cs: DataGridView implementation
  9493. * DataGridView.cs: DataGridView implementation
  9494. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  9495. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  9496. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  9497. * Padding.cs: DataGridView implementation
  9498. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  9499. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  9500. * DataGridViewRowEventHandler.cs: DataGridView implementation
  9501. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  9502. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  9503. * DataGridViewButtonCell.cs: DataGridView implementation
  9504. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  9505. * DataGridViewEditMode.cs: DataGridView implementation
  9506. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  9507. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  9508. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  9509. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  9510. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  9511. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  9512. * DataGridViewCellEventHandler.cs: DataGridView implementation
  9513. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  9514. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  9515. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  9516. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  9517. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  9518. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  9519. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9520. * QuestionEventArgs.cs: DataGridView implementation
  9521. * IDataGridViewEditingCell.cs: DataGridView implementation
  9522. * DataGridViewTriState.cs: DataGridView implementation
  9523. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  9524. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  9525. * DataGridViewColumnCollection.cs: DataGridView implementation
  9526. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  9527. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  9528. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  9529. * DataGridViewColumn.cs: DataGridView implementation
  9530. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  9531. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9532. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  9533. * DataGridViewRow.cs: DataGridView implementation
  9534. * DataGridViewImageCellLayout.cs: DataGridView implementation
  9535. * DataGridViewImageCell.cs: DataGridView implementation
  9536. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  9537. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  9538. * DataGridViewHeaderCell.cs: DataGridView implementation
  9539. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  9540. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  9541. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  9542. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  9543. * QuestionEventHandler.cs: DataGridView implementation
  9544. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  9545. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  9546. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9547. * DataGridViewCell.cs: DataGridView implementation
  9548. * DataGridViewCellEventArgs.cs: DataGridView implementation
  9549. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  9550. * DataGridViewCellStyle.cs: DataGridView implementation
  9551. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  9552. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  9553. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  9554. * TextFormatFlags.cs: DataGridView implementation
  9555. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  9556. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  9557. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  9558. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  9559. * DataGridViewButtonColumn.cs: DataGridView implementation
  9560. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  9561. * HandledMouseEventArgs.cs: DataGridView implementation
  9562. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  9563. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  9564. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  9565. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  9566. * DataGridViewRowCollection.cs: DataGridView implementation
  9567. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  9568. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  9569. * DataGridViewHitTestType.cs: DataGridView implementation
  9570. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  9571. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  9572. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  9573. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  9574. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  9575. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  9576. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  9577. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  9578. * DataGridViewContentAlignment.cs: DataGridView implementation
  9579. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  9580. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  9581. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  9582. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  9583. * DataGridViewPaintParts.cs: DataGridView implementation
  9584. * DataGridViewCellCollection.cs: DataGridView implementation
  9585. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  9586. * DataGridViewImageColumn.cs: DataGridView implementation
  9587. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  9588. * DataGridViewElementStates.cs: DataGridView implementation
  9589. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  9590. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  9591. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  9592. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  9593. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  9594. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  9595. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  9596. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  9597. * DataGridViewTextBoxCell.cs: DataGridView implementation
  9598. * DataGridViewBand.cs: DataGridView implementation
  9599. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  9600. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  9601. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  9602. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  9603. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  9604. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  9605. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  9606. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  9607. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9608. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  9609. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  9610. 2005-11-08 Peter Dennis Bartok <[email protected]>
  9611. * ThemeWin32Classic.cs:
  9612. - Draw the outside focus rectangle around buttons
  9613. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  9614. doesn't use end caps for every dash of a line anymore. This
  9615. workaround ignores the forecolor.
  9616. 2005-11-08 Kornél Pál <[email protected]>
  9617. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  9618. endian safe.
  9619. 2005-11-07 Jackson Harper <[email protected]>
  9620. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  9621. 2005-11-07 Jackson Harper <[email protected]>
  9622. * ScrollableControl.cs: Calculate the maximum and change vars
  9623. (more) correctly so that scrollbars appear as a sensible size.
  9624. 2005-11-04 Jackson Harper <[email protected]>
  9625. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  9626. collection.
  9627. * TreeView.cs: When the tree is sorted null out the top_node so
  9628. that it is recalculated.
  9629. - Use dotted lines instead of dashed lines to match MS better.
  9630. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  9631. * ListView.cs:
  9632. - Implements key search for items. Useful when browsing files with FileDialog
  9633. - When changing view mode or when clear the items reset scrollbar positions
  9634. 2005-11-04 Jackson Harper <[email protected]>
  9635. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  9636. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  9637. as to what the method may do as there is no real way of creating a
  9638. derived CurrencyManager and calling the method.
  9639. 2005-11-03 Jackson Harper <[email protected]>
  9640. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  9641. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  9642. method which seems to just be used internally to refresh the tabs.
  9643. 2005-11-03 Jackson Harper <[email protected]>
  9644. * TabControl.cs: Implement the remove method. Fix some broken
  9645. comments.
  9646. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9647. * DateTimePicker.cs:
  9648. - Added missing DateTimePickerAccessibleObject class
  9649. - Added missing events
  9650. - Added OnFontChanged method
  9651. * Form.cs: Added missing attributes
  9652. * TreeView.cs: Added missing attributes
  9653. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9654. * GridItemCollection.cs: Fix signatures
  9655. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9656. * XplatUI.cs: Updated build rev/date
  9657. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  9658. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  9659. * Application.cs: Trigger context-specific ExitThread events
  9660. 2005-11-03 Jackson Harper <[email protected]>
  9661. * Menu.cs:
  9662. * MainMenu.cs:
  9663. * GridTableStylesCollection.cs:
  9664. * Timer.cs:
  9665. * TabPage.cs:
  9666. * HelpProvider.cs:
  9667. * StatusBar.cs:
  9668. * MonthCalendar.cs: Signature fixes
  9669. 2005-11-03 Jackson Harper <[email protected]>
  9670. * TreeNodeCollection.cs: Remove should not be virtual.
  9671. * TreeView.cs: Implement the last of the missing methods.
  9672. 2005-11-03 Jackson Harper <[email protected]>
  9673. * TreeNodeConverter.cs: Implement to get off my class-status back.
  9674. 2005-11-03 Jackson Harper <[email protected]>
  9675. * TreeView.cs: Hookup the bits for drag and drop.
  9676. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  9677. that nodes can be moved from tree to tree easily this just causes
  9678. all sorts of problems.
  9679. * TreeNodeCollection: Don't need to give treenodes an index and
  9680. treeview anymore when they are added, these are computed on the
  9681. fly. Also make sure to remove a node before its added.
  9682. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9683. * TextControl.cs:
  9684. - Added CaretSelection enum
  9685. - Added comparison methods to Marker struct, makes selection code
  9686. more readable
  9687. - Added SelectionStart and SelectionEnd as 'moveable' location for
  9688. the CaretDirection enum and handler
  9689. - Added selection_prev variable to track optimized invalidation for
  9690. word and line selection
  9691. - Added SelectionVisible property (returns true if there is a valid
  9692. selection)
  9693. - Switched CaretHasFocus to only display the caret if there is no
  9694. visible selection
  9695. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  9696. using the direct character index; should be much faster
  9697. - Added various conditional debug statements
  9698. - Fixed invalidation calculation for selection ranges
  9699. - Added ExpandSelection() method to support word and line selection
  9700. - Switched SetSelectionToCaret to use new Marker compare overloads
  9701. - Added central IsWordSeparator() method to determine word
  9702. separators/whitespace and FindWordSeparator() to streamline common
  9703. usage of IsWordSeparator()
  9704. * TextBoxBase.cs:
  9705. - Removed unneeded grabbed variable, it was just mirroring
  9706. Control.Capture
  9707. - No longer firing OnTextChanged event when Text setter is called,
  9708. since the base will fire the event for us
  9709. - Added handling of Ctrl-Up/Down selection
  9710. - Added handling of Shift-Cursorkey selection
  9711. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  9712. words
  9713. - Added handling of Shift and Ctrl-Shift-Home/End selection
  9714. - Removed some debug output
  9715. - Added handling for single/double/tripple-click to place caret/
  9716. select word/select line respectively (Fixes bug #76031)
  9717. - Added support for drag expansion of word/line selection
  9718. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  9719. current selection
  9720. 2005-11-02 Jackson Harper <[email protected]>
  9721. * X11Dnd.cs: If the drag is going to and from a MWF window just
  9722. copy the data instead of sending it out through the X Selection
  9723. mechanism.
  9724. 2005-11-02 Jackson Harper <[email protected]>
  9725. * X11Dnd.cs:
  9726. * XplatUIX11.cs: When in a drag we don't want motion notify
  9727. messages to get passed on to the other controls. This prevents
  9728. mouse move messages from showing up in the drag source.
  9729. 2005-11-02 Jackson Harper <[email protected]>
  9730. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  9731. the correct button is release to end a drag.
  9732. * XplatUIX11.cs: Make the button state internal so the drag system
  9733. can access it. Dragging needs to know about all button releases,
  9734. not just left button.
  9735. 2005-11-02 Miguel de Icaza <[email protected]>
  9736. * Form.cs (Icon): If the icon is null, reset the icon to the
  9737. default value.
  9738. * Cursor.cs: When writing the AND-mask bitmap do not include the
  9739. number of colors, but hardcode those to two (black and white),
  9740. fixes the loading of color cursors (Paint Dot Net).
  9741. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  9742. turn off autoscaling.
  9743. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  9744. 2005-11-02 Jackson Harper <[email protected]>
  9745. * X11Dnd.cs: Make sure to send a status message if the pointer
  9746. enters a control that can not accept a drop, otherwise the cursor
  9747. isn't updated correctly. Also tried to compress the lines of code
  9748. a bit.
  9749. 2005-11-02 Jackson Harper <[email protected]>
  9750. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  9751. set actions correctly. This isn't perfect as XDND and win32 have
  9752. some differences on how you allow actions. I'll clear this up by
  9753. adding a path for drag from MWF to MWF windows.
  9754. * XplatUIX11.cs: Hook into the dnd system.
  9755. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  9756. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  9757. previously shown but they are no longer need it. Very obvious when
  9758. browsing files with FileDialog.
  9759. 2005-11-01 Peter Dennis Bartok <[email protected]>
  9760. * Control.cs: We always need to call OnPaintBackground. We pretty much
  9761. ignore AllPaintingInWmPaint and always do the painting there, whether
  9762. it's set or not, since we always ignore the WM_ERASEBKGND message
  9763. (which we don't generate on X11). This fixes #76616.
  9764. * Panel.cs: Removed unneeded background painting. This happens properly
  9765. in Control.cs already
  9766. 2005-10-31 Mike Kestner <[email protected]>
  9767. * Menu.cs: Add items to collection before setting their index.
  9768. * MenuItem.cs : add range checking with ArgumentException like MS.
  9769. [Fixes #76510]
  9770. 2005-10-31 Jackson Harper <[email protected]>
  9771. * ListBox.cs: Invalidate if the area is visible at all not just
  9772. contained in the visible rect. Fixes unselection of semi visible
  9773. items.
  9774. 2005-10-31 Jackson Harper <[email protected]>
  9775. * Control.cs: Consistently name the dnd methods. Make them
  9776. internal so we can override them to match some MS behavoir
  9777. internally.
  9778. * Win32DnD.cs: Use the new consistent names.
  9779. 2005-10-31 Jackson Harper <[email protected]>
  9780. * TreeView.cs: Don't draw the selected node when we lose focus.
  9781. 2005-10-31 Jackson Harper <[email protected]>
  9782. * X11Dnd.cs: We still need to reset the state even though a full
  9783. reset isn't being done, otherwise status's still get sent all over
  9784. the place.
  9785. 2005-10-31 Jackson Harper <[email protected]>
  9786. * Control.cs: Make the dnd_aware flag internal so the dnd
  9787. subsystem can check it. Catch exceptions thrown in dnd handlers to
  9788. match MS behavoir.
  9789. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  9790. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  9791. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  9792. flags to reduce the number of dnd enters/status's sent.
  9793. 2005-10-31 Jackson Harper <[email protected]>
  9794. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  9795. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  9796. * PictureBox.cs: Fixes 76512
  9797. 2005-10-28 Jackson Harper <[email protected]>
  9798. * X11Dnd.cs: Early implementation to support winforms being a drag
  9799. source for data on X11. Also restructured the converters so they
  9800. can go both ways now.
  9801. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  9802. 2005-10-27 Peter Dennis Bartok <[email protected]>
  9803. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  9804. clipboard requests
  9805. 2005-10-27 Jackson Harper <[email protected]>
  9806. * TreeNode.cs: Implement serialization so my DnD examples will work.
  9807. 2005-10-24 Kornél Pál <[email protected]>
  9808. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  9809. TreeView.cs: Don't dispose objects that are not owned.
  9810. 2005-10-24 Peter Dennis Bartok <[email protected]>
  9811. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  9812. should retrieve the current cursor and report that, but XplatUI
  9813. doesn't (yet) have an interface for that (and I'm not sure I even
  9814. can, on X11)
  9815. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  9816. until any message loop processing is done (and the WM_SETCURSOR
  9817. replaces the cursor to the proper one)
  9818. * XplatUIX11.cs:
  9819. - Fixed override behaviour, we can't set the cursor globally on X11,
  9820. just for our windows.
  9821. - Invalidating the System.Drawing X11 display handle when we are
  9822. shutting down
  9823. * Control.cs: Fix to make csc happy
  9824. 2005-10-23 Peter Dennis Bartok <[email protected]>
  9825. * TextBoxBase.cs:
  9826. - get_Text: Add last line (without trailing newline) to returned
  9827. value (Fixes 76212)
  9828. - get_TextLength: Count last line in returned length
  9829. - ToString: Call Text property instead of duplicating code
  9830. 2005-10-23 Kornél Pál <[email protected]>
  9831. * ImageList.cs: Dispose ImageAttributes objects.
  9832. 2005-10-22 Kornél Pál <[email protected]>
  9833. * ImageList.cs: Use attribute constructors with less arguments where
  9834. possible.
  9835. 2005-10-22 Kornél Pál <[email protected]>
  9836. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  9837. Use typeof instead of strings when assembly is referenced. Added
  9838. some more comments.
  9839. 2005-10-21 Jackson Harper <[email protected]>
  9840. * ListView.cs: Raise a double click event. Also tried to somewhat
  9841. fix when the selectedindexchanged event is raised. Its still
  9842. broken though.
  9843. 2005-10-21 Jackson Harper <[email protected]>
  9844. * TreeView.cs: New method to invalidate the plus minus area of a
  9845. node without invalidating the whole node (maybe this can be used
  9846. in some more places).
  9847. * TreeNodeCollection.cs: When adding to an empty node we need to
  9848. invalidate its plus minus area so the little block shows up.
  9849. 2005-10-21 Jackson Harper <[email protected]>
  9850. * TreeView.cs: Make sure that when we invalidate a node the bounds
  9851. are big enough to cover the selected box and the focus
  9852. rectangle. Use a different colour for the lines connecting nodes
  9853. so they show up with all themes.
  9854. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9855. * NativeWindow.cs: Don't call anything that could call into the driver,
  9856. we might be on a different thread.
  9857. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9858. * Control.cs(Dispose): Since Dispose might run on a different thread,
  9859. make sure that we call methods that could call into the driver via
  9860. invoke, to avoid thread issues
  9861. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9862. * XplatUI.cs: Removed finalizer
  9863. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  9864. not allowing to be called on the finalizer thread.
  9865. 2005-10-21 Kornél Pál <[email protected]>
  9866. * ImageList.cs:
  9867. - Reverted r51889 and r51891.
  9868. - Added ImageListItem class that stores unmodified image items and image
  9869. properties required to create list images until handle is created.
  9870. - Added AddItem and moved image creation logic to AddItemInternal.
  9871. - Added CreateHandle method that creates images based on unmodified items.
  9872. - Added DestroyHandle that changes state to store unmodified items.
  9873. - Add and AddStrip methods no more create handle.
  9874. - ReduceColorDepth has no return value.
  9875. - Dispose destroys handle.
  9876. - Modified other methods to reflect the above changes.
  9877. - Implemented key support.
  9878. - Added profile 2.0 members and attributes.
  9879. - Added private Reset and ShouldSerialize methods that provide the same
  9880. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  9881. them as they are private.
  9882. - Added some more comments about implementation details.
  9883. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9884. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  9885. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9886. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  9887. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9888. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  9889. * DataGridColumnStyle.cs: Remove debug message
  9890. 2005-10-20 Jackson Harper <[email protected]>
  9891. * TreeView.cs: We can always get input keys regardless of whether
  9892. or not editing is enabled. They are used for navigation.
  9893. 2005-10-20 Jackson Harper <[email protected]>
  9894. * TreeNode.cs: Use the viewport rect for determining if a node
  9895. needs to be moved for visibility. Don't use Begin/End edit. This
  9896. calls a full refresh when its done.
  9897. * TreeView.cs: New SetBottom works correctly. Make the viewport
  9898. rect property internal so the treenodes can see it. When clicking
  9899. on a node we need to ensure that its visible because it might just
  9900. be partly visible when clicked.
  9901. 2005-10-20 Jackson Harper <[email protected]>
  9902. * TreeNodeCollection.cs: Remove debug code.
  9903. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  9904. * Datagrid.cs: Implements column sorting in Datagrid
  9905. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  9906. 2005-10-20 Jackson Harper <[email protected]>
  9907. * TreeNodeCollection.cs: Remove items properly. Update the correct
  9908. area after removing them.
  9909. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  9910. * Datagrid.cs: Should not call base.OnPaintBackground
  9911. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9912. * XplatUIX11.cs (GetMessage):
  9913. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  9914. window instead of client window
  9915. - Now properly calculates NC_xBUTTONUP message coordinates
  9916. - ScreenToMenu now properly calculates it's coordinates of whole
  9917. window, since menus are in the whole window, not in the client
  9918. window
  9919. - Added WholeToScreen coordinate translation method
  9920. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9921. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  9922. want to return a message, loop back to the beginning of the function
  9923. and grab the next real message to process instead.
  9924. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9925. * Splitter.cs: Properly set limits if no filler control is used
  9926. 2005-10-19 Jackson Harper <[email protected]>
  9927. * ColorDialog.cs: Don't show the help button if it is not enabled
  9928. instead of disabling it (this is what MS does). Don't create the
  9929. panel until the dialog is run, otherwise the vars (such as
  9930. ShowHelp) are not set yet.
  9931. 2005-10-19 Jackson Harper <[email protected]>
  9932. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  9933. are reduced when adding nodes.
  9934. * TreeNode.cs:
  9935. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  9936. tree.
  9937. 2005-10-19 Jackson Harper <[email protected]>
  9938. * FolderBrowserDialog.cs: End editing our treeview so the window
  9939. actually gets refreshed.
  9940. 2005-10-18 Peter Dennis Bartok <[email protected]>
  9941. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  9942. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  9943. inside of WM_PAINT
  9944. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9945. * MenuAPI.cs: Returns after Hidding window
  9946. * XplatUIX11.cs: Added TODO found while debugging menu issues
  9947. 2005-10-18 Peter Dennis Bartok <[email protected]>
  9948. * XplatUIX11.cs: Do not re-map the whole window when it's size
  9949. becomes non-zero unless it's supposed to be actually visible
  9950. 2005-10-18 Jackson Harper <[email protected]>
  9951. * TreeView.cs: We don't need to keep a count anymore.
  9952. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  9953. use the Grow method.
  9954. 2005-10-18 Jackson Harper <[email protected]>
  9955. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  9956. implement it manually here.
  9957. 2005-10-18 Jackson Harper <[email protected]>
  9958. * ImageList.cs: Dont kill the list when the colour depth is
  9959. changed, just change the colour depth of all the images.
  9960. - Same goes for setting the image size. Just resize them all
  9961. instead of killing the list softly.
  9962. 2005-10-18 Jackson Harper <[email protected]>
  9963. * Control.cs: Don't invalidate empty rectangles.
  9964. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9965. * ListViewItem.cs:
  9966. - Adds checked item to the Checked/Item lists (where empty before)
  9967. - Do not add items to the Selected lists if they are already present
  9968. * ListView.cs:
  9969. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  9970. - When deleting items make sure that we delete them for the Selected
  9971. and Checked list also.
  9972. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9973. * Label.cs: Dispose objects no longer used
  9974. * ThemeWin32Classic.cs: Dispose objects no longer used
  9975. 2005-10-18 Jackson Harper <[email protected]>
  9976. * TabControl.cs: Don't refresh the whole control when the tabs are
  9977. scrolled, we just need to refresh the tab area.
  9978. 2005-10-17 Jackson Harper <[email protected]>
  9979. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  9980. after handle when we need it.
  9981. 2005-10-17 Peter Dennis Bartok <[email protected]>
  9982. * Control.cs: When the parent size changes, recalculate anchor
  9983. positions. Partial fix for #76462
  9984. 2005-10-17 Peter Dennis Bartok <[email protected]>
  9985. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  9986. drawn. Fixes #76462
  9987. 2005-10-17 Jackson Harper <[email protected]>
  9988. * MonthCalendar.cs: Don't create the numeric up down until our
  9989. handle is created. Otherwise our handle is created in the
  9990. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  9991. yet.
  9992. 2005-10-17 Jackson Harper <[email protected]>
  9993. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  9994. correctly.
  9995. 2005-10-17 Rafael Teixeira <[email protected]>
  9996. * TreeNode.cs : small logical fix (was using local var instead of field)
  9997. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  9998. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  9999. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  10000. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  10001. 2005-10-16 Peter Dennis Bartok <[email protected]>
  10002. * Control.cs:
  10003. - Re-implemented anchoring code. My first version was really broken.
  10004. This fixes bug #76033. Unlike the previous implementation we will
  10005. no longer have round errors since all numbers are calculated from
  10006. scratch every time. Removed various anchor-related obsolete vars.
  10007. - InitLayout no longer causes layout event firing and layout to be
  10008. performed
  10009. 2005-10-16 Jackson Harper <[email protected]>
  10010. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  10011. which was broken).
  10012. 2005-10-16 Jackson Harper <[email protected]>
  10013. * TabControl.cs: Remove debug code.
  10014. 2005-10-16 Jackson Harper <[email protected]>
  10015. * XEventQueue.cs: Increase the default queue size (very simple
  10016. apps needed to grow the queue).
  10017. * Hwnd.cs: No finalizer so we don't need to suppress
  10018. finalization. Compute the invalid area manually so a new rectangle
  10019. does not newto be created.
  10020. * ScrollableControl.cs: Don't set any params (otherwise visibility
  10021. isn't set correctly).
  10022. * MdiChildContext.cs: New constructor takes the mdi parent so it
  10023. doesn't have to be computed and avoids a crash on windows. Draw
  10024. the window icon properly, and allow the text to be seen.
  10025. * Form.cs: Use new MdiChildContext constructor. Make sure the
  10026. child context isn't null in wndproc.
  10027. * TabControl.cs: Don't set focus, this is muddling keyboard
  10028. behavoir. Expand the tab rows when a window size increase will
  10029. allow extra tabs to be seen. Don't allow tabs smaller than the
  10030. width of a window to be scrolled out of view.
  10031. * TreeNode.cs:
  10032. * TreeView.cs: Use measure string to calculate a nodes width, the
  10033. width is cached and only updated when the text or the font is
  10034. changed. Don't check for expand/collapse clicks on the first level
  10035. nodes if root lines are disabled.
  10036. 2005-10-16 Ritvik Mayank <[email protected]>
  10037. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  10038. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  10039. * DataGridBoolColumn.cs: fixes warning
  10040. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  10041. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  10042. to match more to match more precisely the MS Net behavior
  10043. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10044. * Hwnd.cs: Added field to track if window is mapped
  10045. * XplatUIX11.cs:
  10046. - Unmap windows if they become 0-size, re-map when
  10047. they are >0 again; fixes #76035
  10048. - Re-set our error handler after initializing X11Desktop
  10049. to override any error handlers Gtk or whatever was called
  10050. may have set.
  10051. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10052. * CheckedListBox.cs: Removed unused vars
  10053. * ListView.cs: Fixed signatures
  10054. * RichTextBox.cs: Removed unused vars
  10055. * TextBoxBase.cs: Removed unused vars
  10056. * XplatUIWin32.cs: Removed unused vars
  10057. * XplatUIX11.cs: Removed unused vars
  10058. * XplatUI.cs: Updated version and date to latest published
  10059. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10060. * Cursor.cs: Added private .ctor to work around a bug in
  10061. resourceset (Thanks to Geoff Norton for the help on this)
  10062. * SplitterEventArgs.cs: Made fields accessible so we don't
  10063. waste boatloads of objects and can reuse the same one
  10064. in Splitter
  10065. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  10066. any captions and borders when generating screen coordinates
  10067. * Splitter.cs: Reimplemented control, now fully complete, uses
  10068. rubberband drawing, supports and obeys all properties, has
  10069. proper cursors
  10070. 2005-10-13 Miguel de Icaza <[email protected]>
  10071. * Form.cs (Form): Setup default values for autoscale and
  10072. autoscale_base_size; Make these instance variables, not static
  10073. variables.
  10074. (OnLoad): on the first load, adjust the size of the form.
  10075. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10076. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  10077. width argument to DrawReversibleRectangle()
  10078. * XplatUIWin32.cs, XplatUIX11.cs:
  10079. - Implemented width for DrawReversibleRectangle()
  10080. - Added logic to DrawReversibleRectangle that recognizes a zero
  10081. width or height and only draws a line in that situation
  10082. 2005-10-12 Peter Dennis Bartok <[email protected]>
  10083. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  10084. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  10085. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  10086. method (it uses our FosterParent window to get a graphics context)
  10087. 2005-10-12 Peter Dennis Bartok <[email protected]>
  10088. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  10089. and SetWindowBackground methods
  10090. * Control.cs:
  10091. - Setting proper ControlStyles
  10092. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  10093. EraseWindowBackground, instead we draw the window background
  10094. ourselves in PaintControlBackground. This behaviour is
  10095. required to match MS, where, when OnPaintBackground is not
  10096. called, the background is not drawn.
  10097. - Removed unneeded Refresh() in set_Text
  10098. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  10099. * XplatUIX11.cs:
  10100. - Created DeriveStyles method to translate from CreateParams to
  10101. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  10102. matches FormBorderStyle enum values)
  10103. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  10104. style calculations into single DeriveStyles method
  10105. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  10106. from redrawing the whole window on any resize or expose.
  10107. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  10108. all styles were applied to our whole/client window appropriately
  10109. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10110. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  10111. no longer clear/redraw the background through X
  10112. - Removed handling of erase_pending bit, we have no use for it (or
  10113. so it seems)
  10114. * XplatUIOSX.cs:
  10115. - Removed generation and handling of WM_ERASEBKGND message
  10116. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10117. - Removed handling of hwnd.ErasePending flag
  10118. * XplatUIWin32.cs:
  10119. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10120. - We no longer call EraseWindowBackground on PaintEventStart, we
  10121. ignore the fErase flag, erasing is handled in Control in the
  10122. background handler
  10123. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  10124. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  10125. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  10126. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  10127. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  10128. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  10129. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  10130. 2005-10-12 Jonathan Chambers <[email protected]>
  10131. * PropertyGrids.cs: Get sub properties
  10132. * PropertyGridView.cs: Fix drawing code
  10133. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10134. * ListBox.cs: Fixes 76383
  10135. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10136. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  10137. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  10138. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  10139. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10140. * ComboBox.cs: Fixes border drawing
  10141. 2005-10-10 Miguel de Icaza <[email protected]>
  10142. * MimeIcon.cs: Ignore errors if the file can not be read.
  10143. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10144. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  10145. - Fixed border calculations
  10146. - Fixed horizontal scrolling in single column listboxes
  10147. - Fixed drawing issues
  10148. 2005-10-10 Peter Dennis Bartok <[email protected]>
  10149. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  10150. FormBorderStyle enum
  10151. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  10152. code to determine FormBorderStyles from CreateParams
  10153. * Form.cs:
  10154. - Fixed bug where we'd set the wrong window styles if we were
  10155. not creating an MDI window
  10156. - Added call to XplatUI.SetBorderStyle when form borders are set
  10157. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  10158. * Hwnd.cs:
  10159. - Removed obsolete edge style
  10160. - Switched from BorderStyle to FormBorderStyle
  10161. 2005-10-10 Jackson Harper <[email protected]>
  10162. * Form.cs: Use the property to get the window handle instead of
  10163. accessing it directly. Prevents a null reference exception.
  10164. 2005-10-10 Jackson Harper <[email protected]>
  10165. * TreeView.cs: Don't adjust the rect given to DrawString now that
  10166. our libgdiplus draws correctly.
  10167. 2005-10-08 Jackson Harper <[email protected]>
  10168. * TreeView.cs: Don't try to find the clicked on node if there are
  10169. no nodes in the tree.
  10170. 2005-10-08 Alexander Olk <[email protected]>
  10171. * RichTextBox.cs:
  10172. restore
  10173. 2005-10-08 Alexander Olk <[email protected]>
  10174. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  10175. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  10176. ErrorProvider.cs:
  10177. Use ResPool for brushes and dispose System.Drawing objects that
  10178. are not used anymore.
  10179. 2005-10-07 Jackson Harper <[email protected]>
  10180. * MdiChildContext.cs: Use the new borders instead of drawing them
  10181. ourselves.
  10182. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  10183. * Calling UpdateBounds after changing the window's BorderStyle
  10184. since the style can change the ClientSize
  10185. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10186. * Control.cs: Made PaintControlBackground virtual
  10187. * Panel.cs: Overriding PaintControlBackground instead of using paint
  10188. event; paint event method was interfering with 'real' users of the
  10189. event.
  10190. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  10191. * ThemeWin32Classic.cs: remove border drawing since it is handled
  10192. by the base control class now and was causing double border drawing.
  10193. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10194. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  10195. but it does seem to match MS behaviour. This fixes bug #75324
  10196. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10197. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  10198. somewhat hackish looking
  10199. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10200. * TextBoxBase.cs:
  10201. - We now accept Enter even if AcceptEnter is false, if the containing
  10202. form does not have an AcceptButton configured (fixes bug #76355)
  10203. - Calculations are now fixed to no longer use Width/Height, but
  10204. ClientSize.Width/Height, since we now support borders (this was
  10205. a result of fixing borders and therefore bug #76166)
  10206. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  10207. true (fixes bug #76354)
  10208. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10209. * Control.cs:
  10210. - Defaulting BorderStyle and setting it in XplatUI when our window
  10211. is created
  10212. - Added enum check to InternalBorderStyle setter
  10213. * XplatUIX11.cs:
  10214. - Added drawing of window borders
  10215. - Now properly calculates WM decorations offset for toplevel
  10216. windows (fixes bug #74763)
  10217. * XplatUIWin32.cs:
  10218. - Implemented BorderStyles for windows (we're letting win32 draw
  10219. the border for us)
  10220. - Fixed the signature for SetWindowLong
  10221. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  10222. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  10223. setting borders
  10224. * UpDownBase.cs: Remove drawing of borders, this is handled by
  10225. the driver, outside the client area
  10226. * ListView.cs: Removed bogus border calculations. The control should
  10227. be oblivious to borders, since those are not part of the client
  10228. area.
  10229. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  10230. * ThemeWin32Classic.cs: Removed border calculations from ListView
  10231. drawing code
  10232. 2005-10-06 Jackson Harper <[email protected]>
  10233. * MdiChildContext.cs: Clear out the old virtual position remove
  10234. all the unneeded calls to CreateGraphics.
  10235. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10236. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  10237. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10238. * Form.cs:
  10239. - Added loading and setting of our new default icon
  10240. - Only set icon if window is already created
  10241. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10242. * Label.cs:
  10243. - Do not explicitly set the foreground and background colors, to
  10244. allow inheriting from parents (fixes #76302)
  10245. - Use Control's InternalBorderStyle property to deal with borders
  10246. 2005-10-06 Jackson Harper <[email protected]>
  10247. * MdiChildContext.cs: Use the new xplatui function to draw a
  10248. reversible rect.
  10249. 2005-10-06 Jackson Harper <[email protected]>
  10250. * Form.cs: Add the parent before creating the child context cause
  10251. we need the parent when setting up the child.
  10252. 2005-10-06 Jackson Harper <[email protected]>
  10253. * FolderBrowserDialog.cs: redo the tree population code so a
  10254. second thread isn't used. Should be a lot faster and more stable
  10255. now.
  10256. 2005-10-05 Jackson Harper <[email protected]>
  10257. * TreeView.cs: There are no expand/collapse boxes if the node has
  10258. no children.
  10259. 2005-10-05 Jackson Harper <[email protected]>
  10260. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  10261. 2005-10-05 Alexander Olk <[email protected]>
  10262. * FileDialog.cs: Fix InitialDirectory
  10263. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  10264. * ComboBox.cs:
  10265. - Fixes changing between styles
  10266. - Fixes simple mode
  10267. - Fixes last item crashing when navigating with keyboard
  10268. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  10269. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  10270. 2005-10-05 Jackson Harper <[email protected]>
  10271. * TreeView.cs: If updating the root node do a full refresh.
  10272. * TreeNode.cs: The root node should be expanded by default. Also
  10273. added a utility prop to tell if we are the root node.
  10274. * TreeNodeCollection.cs: Only refresh if the node we are being
  10275. added to is expanded. Also added a comment on a potential
  10276. optimization.
  10277. 2005-10-04 Peter Dennis Bartok <[email protected]>
  10278. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  10279. in dispose method. Fixes #76330
  10280. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  10281. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  10282. - Implements vertical and horizontal scrolling using XplatUI
  10283. - Fixes keyboard navagation
  10284. - Fixes EnsureVisible
  10285. - Drawing fixes
  10286. - Handles and draws focus properly
  10287. 2005-10-04 Kornél Pál <[email protected]>
  10288. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  10289. Create handle. NET_2_0: Destroy handle when value is null.
  10290. 2005-10-03 Jackson Harper <[email protected]>
  10291. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  10292. revert and a new patch to prevent the thumb from refreshing so
  10293. much.
  10294. 2005-10-02 Jackson Harper <[email protected]>
  10295. * ScrollBar.cs: Don't update position if it hasn't actually
  10296. changed. This occurs when you hold down the increment/decrement
  10297. buttons and the thumb gets to the max/min.
  10298. 2005-10-01 Jackson Harper <[email protected]>
  10299. * Form.cs:
  10300. * MdiChildContext.cs:
  10301. * MdiClient.cs: Implement ActiveMdiChild in Form.
  10302. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  10303. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  10304. 2005-10-01 Peter Dennis Bartok <[email protected]>
  10305. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  10306. be found
  10307. 2005-09-30 Jackson Harper <[email protected]>
  10308. * ListBox.cs: Don't do a full refresh unless some data has
  10309. actually changed.
  10310. 2005-09-30 Jackson Harper <[email protected]>
  10311. * TreeView.cs: Make sure that the checkboxes size is factored in
  10312. even when not visible.
  10313. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10314. * FileDialog.cs: Fix Jordi's build break
  10315. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  10316. * FileDialog.cs:
  10317. - Use standard the Windows colours for the combobox as espected
  10318. - Dispose objects that use resouces when no longer need them
  10319. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10320. * X11DesktopColors.cs: Initial incomplete implementation
  10321. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  10322. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10323. * Theme.cs:
  10324. - Switched Theme color names to match the names defined in
  10325. System.Drawing.KnownColors. Life's hard enough, no need to make
  10326. it harder.
  10327. - Added setters to all theme color properties so themes can set
  10328. their color schemes. The setters also propagate the color changes
  10329. to System.Drawing.KnownColors via reflection
  10330. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  10331. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  10332. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  10333. use the new, more logical theme color names
  10334. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  10335. post-NT colors
  10336. * ThemeWin32Classic.cs:
  10337. - Removed code to set the old classic Windows colors. Instead it
  10338. now relies on the colors returned by System.Drawing.KnownColors
  10339. which will be either modern static colors (Unix) or colors
  10340. read from the user's configuration (Win32)
  10341. - Updated to use the new, more logical theme color names
  10342. - Switched DataGrid drawing code to use only Theme colors instead of
  10343. a mix of System.Drawing.KnownColors and Theme colors
  10344. - DrawFrameControl(): Removed code that fills the button area, the
  10345. fill would overwrite any previous fill done by a control. This
  10346. fixes bug #75338
  10347. - Added DrawReversibleRectangle() stub
  10348. * ScrollableControl.cs: Set visible state to false when scrollbars
  10349. are removed (pdn fix)
  10350. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  10351. DrawReversibleRectangle() method to allow drawing primitive
  10352. 'rubber bands'
  10353. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  10354. 2005-09-30 Kornél Pál <[email protected]>
  10355. * ImageList.cs: Add(Icon): Create handle.
  10356. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  10357. * ListView.cs:
  10358. * ThemeWin32Classic.cs:
  10359. - Fixes detail mode
  10360. - Sets clippings
  10361. - Issues with drawing
  10362. 2005-09-30 Kornél Pál <[email protected]>
  10363. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  10364. source has to be the ImageList.
  10365. 2005-09-30 Kornél Pál <[email protected]>
  10366. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  10367. 2005-09-30 Kornél Pál <[email protected]>
  10368. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  10369. 2005-09-30 Kornél Pál <[email protected]>
  10370. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  10371. 2005-09-29 Jonathan Chambers <[email protected]>
  10372. * GridItem.cs: Fixed TODOs
  10373. * GridItemCollection.cs: Added ICollection interface
  10374. 2005-09-30 Kornél Pál <[email protected]>
  10375. * ImageList.cs: Resize icons when needed.
  10376. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  10377. * ListViewItem.cs
  10378. - Fixes GetBounds and returns on screen rects
  10379. * ListView.cs:
  10380. - Fixes vertical and horzintal scrolling of items
  10381. * ThemeWin32Classic.cs:
  10382. - Fixes drawing
  10383. 2005-09-29 Raja R Harinath <[email protected]>
  10384. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  10385. 2005-09-29 Kornél Pál <[email protected]>
  10386. * ImageList.cs: Added comments about handle creation. Moved Handle,
  10387. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  10388. Handle is created in Add methods.
  10389. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  10390. * DataGridDrawingLogic.cs:
  10391. - Takes rows into account on Colum calculations
  10392. - Returns the column when clickig
  10393. * DataGrid.cs:
  10394. - Fixes default HitTestInfo values
  10395. - Fixes HitTestInfo.ToString
  10396. - Fixes ResetBackColor
  10397. 2005-09-28 Jackson Harper <[email protected]>
  10398. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  10399. sizing or cursor changes). Also added some temp code to draw the
  10400. titlebars text (Makes dev a little easier).
  10401. 2005-09-28 Kornél Pál <[email protected]>
  10402. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  10403. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  10404. * ListBox.cs: Fixes bug 76253
  10405. 2005-09-28 Kornél Pál <[email protected]>
  10406. * ImageList.cs: Added comments about the current implementation. Added
  10407. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  10408. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  10409. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  10410. with Bitmap.LockBits for better performance. Revised the whole file to
  10411. match MS.NET behaviour and provide better performance. Non-public
  10412. interface members are calling public members even when they throw
  10413. NotSupportedException for better maintainability. Moved ColorDepth,
  10414. ImageSize, ImageStream and TransparentColor implementations to
  10415. ImageCollection for better performance as these properties are not used
  10416. by ImageList.
  10417. * ImageListStreamer.cs: Added a new internal constructor that takes an
  10418. ImageList.ImageCollection and serializes Images based on
  10419. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  10420. match ImageList property name.
  10421. 2005-09-28 Kazuki Oikawa <[email protected]>
  10422. * ListBox.cs: Fixes IndexFromPoint for last item
  10423. 2005-09-27 Jackson Harper <[email protected]>
  10424. * Form.cs: Set the position of new mdi children correctly.
  10425. 2005-09-27 Jackson Harper <[email protected]>
  10426. * MdiClient.cs: New mdi children need to be added to the back of
  10427. the controls collection so the zorder is set correctly. Also add a
  10428. count of all the child windows that have been created.
  10429. 2005-09-27 Jackson Harper <[email protected]>
  10430. * Form.cs (CreateParams): Setup MDI forms correctly.
  10431. 2005-09-27 Jackson Harper <[email protected]>
  10432. * MdiChildContext.cs:
  10433. * MonthCalendar.cs:
  10434. * UpDownBase.cs:
  10435. * ListBox.cs:
  10436. * ListView.cs:
  10437. * TextBoxBase.cs:
  10438. * TreeView.cs:
  10439. * ScrollableControl.cs:
  10440. * ComboBox.cs: Add implicit controls using the new implict control
  10441. functionality in ControlCollection. Also try to block multiple
  10442. control add in a suspend/resume layout to save some cycles.
  10443. 2005-09-27 Jackson Harper <[email protected]>
  10444. * Control.cs: Add functionality to the controls collection to add
  10445. 'implicit controls' these are controls that are created by the
  10446. containing control but should not be exposed to the user. Such as
  10447. scrollbars in the treeview.
  10448. * Form.cs: The list var of the ControlsCollection is no longer
  10449. available because of the potential of implicit controls getting
  10450. ignored by someone accessing the list directly.
  10451. 2005-09-26 Peter Dennis Bartok <[email protected]>
  10452. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  10453. loose it's parent. (Fixed bug introduced in r49103 when we added
  10454. setting the child parent to null on Remove)
  10455. 2005-09-26 Gert Driesen <[email protected]>
  10456. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  10457. * Splitter.cs: Added missing attributes for BorderStyle property.
  10458. * TextBoxBase.cs: Marked Calculate* methods internal.
  10459. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  10460. MS.NET.
  10461. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  10462. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  10463. 2005-09-25 Jackson Harper <[email protected]>
  10464. * TreeView.cs: Update the node bounds correctly regardless of
  10465. whether the node is visible.
  10466. 2005-09-25 Jackson Harper <[email protected]>
  10467. * ImageList.cs: Don't dispose the image after it is added to the
  10468. image list. Only reformat images that need to be resized.
  10469. 2005-09-25 Jackson Harper <[email protected]>
  10470. * ImageList.cs: Don't set the format when changing the image.
  10471. 2005-09-25 Jackson Harper <[email protected]>
  10472. * TreeView.cs: We can't just assume the node has a font. Use the
  10473. treeviews font if no node font is available.
  10474. 2005-09-25 Jackson Harper <[email protected]>
  10475. * TreeView.cs: Allow the scrollbars to be reset with negative
  10476. values.
  10477. - Don't add scrollbars to negative sized windows.
  10478. 2005-09-23 Jackson Harper <[email protected]>
  10479. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  10480. old Mono.Posix. Also remove some stray code that shouldn't have
  10481. been committed.
  10482. 2005-09-23 Jackson Harper <[email protected]>
  10483. * TreeView.cs: Attempt at proper sizing of the horizontal
  10484. scrollbar. Also don't resize the scrollbars unless they are
  10485. visible.
  10486. 2005-09-23 Jackson Harper <[email protected]>
  10487. * TreeView.cs: We don't need to expand the invalid area when the
  10488. selection changes, as this is all drawn in the node's bounding
  10489. box. The area needs to be expanded (previous typo was contracting
  10490. it) when the focus rect moves.
  10491. 2005-09-23 Jackson Harper <[email protected]>
  10492. * TreeView.cs: Display the selection box under the correct
  10493. circumstances. We were rendering white text with no selection box
  10494. before.
  10495. 2005-09-23 Peter Dennis Bartok <[email protected]>
  10496. * TextControl.cs(Split): Now updates selection start/end if it points
  10497. into a line that's being split. Fixes a FIXME and bug #75258
  10498. 2005-09-23 Jackson Harper <[email protected]>
  10499. * Binding.cs:
  10500. * ListControl.cs: Don't use the path when retrieving binding
  10501. managers from the binding context. My bat sense tells me that the
  10502. path is only used on insertion.
  10503. 2005-09-22 Jackson Harper <[email protected]>
  10504. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  10505. 2005-09-22 Jackson Harper <[email protected]>
  10506. * Splitter.cs: There are special cursors used for splitting.
  10507. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  10508. 2005-09-22 Jackson Harper <[email protected]>
  10509. * Splitter.cs: Change the cursor appropriately when the splitter
  10510. is moused over, so the user actually knows there is a splitter
  10511. there.
  10512. 2005-09-22 Hisham Mardam Bey <[email protected]>
  10513. * Label.cs : Fix ToString method to give same output as MS.NET
  10514. 2005-09-22 Jackson Harper <[email protected]>
  10515. * TreeView.cs: Create the scrollbars when the handle is created
  10516. and add them right away, just make them invisble. Also account for
  10517. the window being shrunk vertically to the point that the vert
  10518. scrollbar needs to be added.
  10519. - Remove some 0.5 adjustments to get around anti aliasing issues.
  10520. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  10521. * MainMenu.cs: Fixes default value
  10522. * MenuItem.cs: Fixes default value
  10523. 2005-09-22 Kazuki Oikawa <[email protected]>
  10524. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  10525. 2005-09-21 Jackson Harper <[email protected]>
  10526. * Control.cs: Don't try to set the border style on the window if
  10527. it hasn't been created. When the window is created the border
  10528. style will be used.
  10529. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10530. * Control.cs (Update): Don't call XplatUI if we don't have a
  10531. window handle yet
  10532. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10533. * ContainerControl.cs: Instead of throwing an exception, print
  10534. a one-time warning about Validate not being implemented
  10535. * XplatUIWin32.cs: Removed debug output
  10536. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10537. * Control.cs: Only set XplatUI background if we expect the windowing
  10538. system to handle the background. This stops controls that draw their
  10539. own background from flickering
  10540. * XplatUIX11.cs: Support custom visuals and colormaps for window
  10541. creation. This allows, amongst other things, using MWF X11 windows
  10542. with OpenGL.
  10543. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10544. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  10545. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  10546. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  10547. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  10548. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  10549. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  10550. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  10551. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  10552. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  10553. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  10554. GridColumnStylesCollection.cs,
  10555. IDataGridColumnStyleEditingNotificationService.cs,
  10556. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  10557. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  10558. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  10559. TreeNodeCollection.cs, AmbientProperties.cs,
  10560. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  10561. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  10562. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  10563. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  10564. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  10565. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  10566. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  10567. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  10568. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  10569. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  10570. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  10571. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  10572. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  10573. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  10574. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  10575. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  10576. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  10577. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  10578. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  10579. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  10580. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  10581. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  10582. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  10583. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  10584. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  10585. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  10586. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  10587. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  10588. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  10589. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  10590. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  10591. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  10592. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  10593. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  10594. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  10595. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  10596. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  10597. 2005-09-21 Jackson Harper <[email protected]>
  10598. * TreeNode.cs: Call Before/After Expand not Collapse when
  10599. expanding.
  10600. 2005-09-20 Jackson Harper <[email protected]>
  10601. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  10602. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10603. * ListViewItem.cs:
  10604. - Fixes bug 76120
  10605. - Fixes proper storing of subitems
  10606. - Fixes not updated items
  10607. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10608. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  10609. things if our window handle isn't created yet. Also disabled
  10610. debug for TextBoxBase
  10611. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10612. * MenuAPI.cs: Remove filtering of events to allow menu usage
  10613. 2005-09-20 Miguel de Icaza <[email protected]>
  10614. * Cursor.cs: Allow null to be passed to Cursor.Current.
  10615. 2005-09-20 Alexander Olk <[email protected]>
  10616. * ThemeWin32Classic.cs:
  10617. - Change some private methods/fields to protected virtual so that
  10618. they can be accessed and overriden in derived classes
  10619. - First refactoring of some methods. Derived themes now don't
  10620. need to duplicate the complete code from ThemeWin32Classic
  10621. * ThemeNice.cs:
  10622. - Added nice StatusBar
  10623. - Derive from ThemeWin32Classic and not Theme
  10624. - Removed duplicate ThemeWin32Classic code
  10625. 2005-09-20 Miguel de Icaza <[email protected]>
  10626. * Control.cs (ControlCollection.Add): If the value null is passed
  10627. the control is ignored.
  10628. Optimize this loop.
  10629. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10630. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  10631. PostQuitMessage state.
  10632. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  10633. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10634. * Application.cs: Our constructor will never get called, move
  10635. initialization to fields; fixes bug #75933
  10636. 2005-09-19 Hisham Mardam Bey <[email protected]>
  10637. * FileDialog.cs :
  10638. - Allow files to be selected properly using file name
  10639. combo box.
  10640. - Add ability to change diretory (absolute / relative)
  10641. using file name combo box.
  10642. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10643. * ListBox.cs:
  10644. - Fixes Multicolumn listboxes item wrong calculations
  10645. - Allows to click when only one item is in the listbox
  10646. - Fixes crash when no items using keyboard navigation
  10647. 2005-09-16 Alexander Olk <[email protected]>
  10648. * ComboBox.cs: Reverted almost everything from the latest patch which
  10649. broke ComboBox
  10650. 2005-09-16 Kazuki Oikawa <[email protected]>
  10651. * ToolTip.cs:
  10652. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  10653. * ComboBox.cs:
  10654. - When DropDownStyle is Simple, it does not show scrollbar
  10655. to the last item of the list.
  10656. - When DropDownStyle is Simple, it crashed when the list was
  10657. scrolled down with the down cursor key.
  10658. - Fixed a bug that when DropDownStyle is DropDownList, the
  10659. selected item was not shown.
  10660. - The position of the selected item was not preserved when
  10661. the next dropdown happened.
  10662. * ThemeWin32Classic.cs:
  10663. - Items were wrapped at the right end.
  10664. * CheckedListBox.cs:
  10665. - Fixed Add method
  10666. * ListBox.cs:
  10667. - Items should be fully shown.
  10668. - When resizing and vertical scrollbar disappeared, the item
  10669. of index 0 should be on the top of the list.
  10670. - GetItemRectangle should consider the size of ver. scrollbar
  10671. * StatusBar.cs:
  10672. - SizingGrip area should not be allocated when it is not
  10673. displayed.
  10674. - Now it reflects MinWidth of the containing panel and
  10675. fixed a crash that happens when its width becomes so small.
  10676. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10677. * CheckedListBox.cs: Fixes bug 76028
  10678. * ListBox.cs: Fixes bug 76028
  10679. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10680. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  10681. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  10682. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  10683. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  10684. 2005-09-09 Jonathan Chambers <[email protected]>
  10685. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  10686. 2005-09-09 Jonathan Chambers <[email protected]>
  10687. * IRootGridEntry.cs: Added
  10688. * PropertyGridCommands.cs: Added
  10689. * PropertiesTab.cs: Added missing methods and property
  10690. * PropertyGridView.cs: Made class internal
  10691. * PropertyGridTextBox.cs: Made class internal
  10692. 2005-09-09 Alexander Olk <[email protected]>
  10693. * MimeIcon.cs: Try to check some other environment variables
  10694. if "DESKTOP_SESSION" returns "default"
  10695. 2005-09-09 Alexander Olk <[email protected]>
  10696. * ThemeNice.cs: Corrected background colors (e.g. menus)
  10697. * ColorDialog.cs: Use correct background colors for controls
  10698. 2005-09-09 Alexander Olk <[email protected]>
  10699. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  10700. 2005-09-08 Peter Dennis Bartok <[email protected]>
  10701. * RichTextBox.cs: Added initial implementation
  10702. * lang.cs: Removed. Was accidentally checked in long time ago
  10703. * TODO: Removed. Contents were obsolete
  10704. 2005-09-06 Jonathan Chambers <[email protected]>
  10705. * PropertiesTab.cs : Added
  10706. 2005-09-06 Jonathan Chambers <[email protected]>
  10707. * PropertyGrid.cs : Update
  10708. * PropertyGridView.cs : Update
  10709. * System.Windows.Forms.resx : Added images and strings
  10710. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10711. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  10712. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10713. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  10714. a busy loop right after the Ungrab the X11 display is otherwise
  10715. blocked
  10716. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  10717. * ThemeWin32Classic.cs: Optimise the use of clipping
  10718. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  10719. * DataGrid.cs: fixes recursion bug
  10720. 2005-09-03 Alexander Olk <[email protected]>
  10721. * ThemeNice.cs:
  10722. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  10723. - Cleanup
  10724. 2005-09-02 Alexander Olk <[email protected]>
  10725. * ThemeNice.cs: Draw nice ProgressBars
  10726. 2005-09-01 Miguel de Icaza <[email protected]>
  10727. * VScrollBar.cs: Another buglet found by Aaron's tool.
  10728. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  10729. bug finder.
  10730. 2005-08-30 Alexander Olk <[email protected]>
  10731. * ThemeNice.cs:
  10732. - Added nicer menu drawing
  10733. - Updated DrawTab
  10734. - some refactoring
  10735. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10736. * CreateParams.cs (ToString): Made output match MS
  10737. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  10738. handle is already created (to avoid forcing window creation)
  10739. * XplatUIX11.cs: Set window text to caption after creating window,
  10740. in case Text was set before window was created
  10741. * Form.cs: Use this.Text instead of a static string as caption
  10742. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10743. * NotifyIcon.cs: Don't set the window to visible; this screws
  10744. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  10745. OnPaint without a bitmap)
  10746. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  10747. happen very often anyway; we could add the check to the WM_PAINT
  10748. event generation code
  10749. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10750. * NotifyIcon.cs: Fill the icon area with a background color, to
  10751. avoid 'residue' when transparent icons are drawn
  10752. * XplatUIX11.cs:
  10753. - Handle whole_window == client_window when destroying windows
  10754. - SystrayAdd(): Set client_window to whole_window value to
  10755. get mouse and other events passed to NotifyIcon
  10756. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10757. * Form.cs: Set proper default for Opacity property
  10758. * NotifyIcon.cs:
  10759. - ShowSystray(): Don't bother creating telling the OS
  10760. about the systray item if no icon is provided
  10761. - Now handles WM_NCPAINT message to deal with whole/client window
  10762. split
  10763. - Create window as visible to not get caught by Expose optimization
  10764. * Hwnd.cs: Removed debug message
  10765. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  10766. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  10767. PaintEventStart/End to use new client argument
  10768. * TextBoxBase.cs:
  10769. - Commented out debug messages
  10770. - Switched PaintEventStart/End to use new client argument
  10771. * XplatUI.cs: Added client window bool to PaintEventStart()/
  10772. PaintEventEnd() calls, to support drawing in non-client areas
  10773. * XplatUIDriver.cs:
  10774. - Added client window bool to PaintEventStart()/PaintEventEnd()
  10775. calls, to support drawing in non-client areas
  10776. - Added conditional compile to allow using MWF BeginInvoke
  10777. on MS runtime
  10778. * XplatUIX11.cs:
  10779. - Added some conditional debug output
  10780. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  10781. whole/client window split
  10782. - Implemented handling of client argument to PaintEventStart()/End()
  10783. * Control.cs:
  10784. - Throw exception if BeginInvoke() is called and the window handle
  10785. or one of the window's parent handles is not created
  10786. - Added conditional compile to allow using MWF BeginInvoke on
  10787. MS runtime
  10788. - get_Parent(): Only sets parent if handle is created. This avoids
  10789. forcing window handle creation when parent is set.
  10790. - Now fires Layout and Parent changed events in proper order
  10791. - Switched to use Handle instead of window.Handle for Z-Order setting,
  10792. the get_Parent() patch above causes us to possibly get null for 'window'
  10793. - Implemented handling of client argument to PaintEventStart()/End()
  10794. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  10795. default handling)
  10796. - Now sends a Refresh() to all child windows when Refresh() is called
  10797. 2005-08-29 Peter Dennis Bartok <[email protected]>
  10798. * Form.cs: Added (non-functional) Opacity property
  10799. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  10800. 2005-08-29 Alexander Olk <[email protected]>
  10801. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  10802. use export MONO_THEME=nice to activate it.
  10803. Currently supported controls:
  10804. - Button
  10805. - ComboBox
  10806. - ScrollBar
  10807. - TabControl (TabAlignment.Top only, other will follow)
  10808. * ThemeEngine.cs: Add theme nice
  10809. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  10810. if enabled
  10811. 2005-08-25 Jonathan Chambers <[email protected]>
  10812. * Splitter.cs: Resize docked control and its neighbor.
  10813. 2005-08-24 Rafael Teixeira <[email protected]>
  10814. -- Making Windows with Menus layout correctly --
  10815. * Form.cs : The first leg of the fix
  10816. Menu setter - adjust Client Size as needed to make space for the menu
  10817. SetClientSizeCore - doesn't call base version to be able to pass the
  10818. menu handle to XplatUI.CalculateWindowRect
  10819. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  10820. * XplatUIX11.cs: The critical second leg of the fix
  10821. GetWindowPos needs to use a recalculated client_rect
  10822. so that resizing the window doesn't break layout of child controls.
  10823. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  10824. Lots of \t\n killed
  10825. 2005-08-23 Peter Dennis Bartok <[email protected]>
  10826. * Label.cs: Now properly recalculates width and height on Font and Text
  10827. changes if AutoSize is set
  10828. 2005-08-19 Rafael Teixeira <[email protected]>
  10829. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  10830. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  10831. * ImageList.cs: Makes ToString method compatible with MS
  10832. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  10833. * MenuAPI.cs: fixes bug 75716
  10834. 2005-08-11 Umadevi S <[email protected]>
  10835. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  10836. 2005-08-11 Umadevi S <[email protected]>
  10837. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  10838. 2005-08-10 Umadevi S <[email protected]>
  10839. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  10840. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  10841. * Menu.cs: fixes bug 75700
  10842. * MenuAPI.cs: fixes navigation issues
  10843. 2005-08-09 Umadevi S <[email protected]>
  10844. * CheckedListBox.cs - simple fix for GetItemChecked.
  10845. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  10846. * ComboBox.cs: Serveral fixes
  10847. * ListBox.cs: Serveral fixes
  10848. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  10849. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  10850. * ListBox.cs: Fixes FindString methods
  10851. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  10852. * DataGrid.cs: fixes bugs exposed by new tests
  10853. 2005-08-04 Peter Dennis Bartok <[email protected]>
  10854. * Mime.cs: Compile Mono assembly references only if compiling
  10855. with Mono (Allows to build with VS.Net again)
  10856. 2005-07-28 Marek Safar <[email protected]>
  10857. * Control.cs (PaintControlBackground): Draw background image
  10858. corrrectly.
  10859. (CheckForIllegalCrossThreadCalls): Stubbed.
  10860. * Form.cs (OnCreateControl): Center when should be centered.
  10861. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  10862. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  10863. * Binding.cs: Binding to properties should be case unsensitive
  10864. 2005-07-18 [email protected]
  10865. * DataGrid.cs: fixes setmember order
  10866. 2005-07-07 Alexander Olk <[email protected]>
  10867. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  10868. * FileDialog.cs: FileDialog is now resizable and uses the new
  10869. MimeIconEngine
  10870. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  10871. * DataGridTextBoxColumn.cs: default value
  10872. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  10873. * GridTableStylesCollection.cs: fixes checking MappingName
  10874. * DataGridDrawingLogic.cs: fixes drawing logic issues
  10875. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  10876. * DataGrid.cs: fixes
  10877. 2005-07-06 Alexander Olk <[email protected]>
  10878. * MimeGenerated.cs: Use case sensitive comparer for
  10879. NameValueCollections
  10880. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  10881. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  10882. * ThemeWin32Classic.cs: bug fixes, code refactoring
  10883. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  10884. * DataGrid.cs: bug fixes, code refactoring
  10885. * DataGridTextBox.cs: bug fixes, code refactoring
  10886. * DataGridColumnStyle.cs: bug fixes, code refactoring
  10887. * Theme.cs: bug fixes, code refactoring
  10888. 2005-07-01 Peter Bartok <[email protected]>
  10889. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  10890. and other text box usage
  10891. 2005-07-01 Jackson Harper <[email protected]>
  10892. * TabControl.cs: Make sure the bottom of the tab covers the pages
  10893. border.
  10894. 2005-06-30 Peter Bartok <[email protected]>
  10895. * Form.cs (ShowDialog): Assign owner of the dialog
  10896. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  10897. might have been moved to a tag with different height
  10898. 2005-06-30 Jackson Harper <[email protected]>
  10899. * Form.cs: Don't create an infinite loop when setting focus
  10900. * MenuItem.cs: Don't dirty the parents if we don't have any
  10901. 2005-06-29 Ben Maurer <[email protected]>
  10902. * LibSupport.cs: Rename
  10903. 2005-06-29 Peter Bartok <[email protected]>
  10904. * TextBoxBase.cs: Re-align caret after deleting a character
  10905. * TextControl.cs:
  10906. - DeleteChars(): Ensure that tag covers the provided position
  10907. - StreamLine(): Drop reference for dropped tag
  10908. 2005-06-29 Peter Bartok <[email protected]>
  10909. * TextControl.cs:
  10910. - Selections now work properly, anchoring at the initial location
  10911. and properly extending in either direction (SetSelectionToCaret(),
  10912. SetSelectionStart() and SetSelectionEnd())
  10913. - No longer redraws the whole control on selection change, now
  10914. calculates delta between previous and new selection and only
  10915. invalidates/redraws that area
  10916. - Fixed FindPos() math off-by-one errors
  10917. - Changed DeleteChars() to verify the provided tag covers the
  10918. provided position, selections may have a tag that doesn't cover
  10919. the position if the selection is at a tag border
  10920. - Fixed off-by-one errors in DeleteChars()
  10921. - Added missing streamlining check in DeleteChars() to remove
  10922. zero-length tags
  10923. - Implemented Invalidate() method, now properly calculates exposures
  10924. between two given lines/positions
  10925. - Implemented SetSelection()
  10926. - Obsoleted and removed FixupSelection()
  10927. - Improved RecalculateDocument() logic, removing code duplication
  10928. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  10929. * LibSupport.cs: changes to match different input/output arguments.
  10930. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  10931. * LibSupport.cs: added libsupport.so init routine.
  10932. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  10933. * ControlBindingsCollection.cs
  10934. - Throws an exception on null datasource when adding
  10935. - Checks for duplicated bindings when adding
  10936. 2005-06-28 Jackson Harper <[email protected]>
  10937. * TreeView.cs (OnKeyDown): Support left and right properly
  10938. (navigates as well as expanding and collapsing.
  10939. - Add support for Multiply, this expands all the selected nodes
  10940. children.
  10941. - Fix some tabbing.
  10942. 2005-06-28 Jackson Harper <[email protected]>
  10943. * TreeView.cs: Implement keyboard navigation, currently supports,
  10944. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  10945. support for toggling checkboxes with the space bar.
  10946. 2005-06-28 Jackson Harper <[email protected]>
  10947. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  10948. tree.
  10949. 2005-06-28 Jackson Harper <[email protected]>
  10950. * TreeView.cs: Add missing event.
  10951. 2005-06-27 Peter Bartok <[email protected]>
  10952. * TextControl.cs:
  10953. - Made line ending size configurable (now allows for counting
  10954. lineendings as \n or \r\n)
  10955. - Added margin to viewport to keep caret visible on right side
  10956. - Fixed translation routines for line/pos to documentpos to consider
  10957. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  10958. - Fixed some line-endings to be unix style
  10959. - Fixed Document.FormatText to perform it's calculations 1-based
  10960. - Added descriptions for a few methods that might otherwise get
  10961. used wrong
  10962. - Added NOTE section with some basic conventions to remember at
  10963. the top of the file
  10964. - Major fixup for RichTextBox selection drawing:
  10965. * Fixed crashes when multiple tags on a single line were selected
  10966. * fixed selection box drawing not overlaying text
  10967. * fixed bogus offset calculation for tags not starting at index 1
  10968. * Switched behaviour from using multiple Substrings of a
  10969. StringBuilder.ToString() to using multiple
  10970. StringBuilder.ToString(start, length) statements, hoping this is
  10971. faster (kept original version commented out in the code, in case
  10972. original version was faster)
  10973. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  10974. alignment != Left
  10975. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  10976. call it as well
  10977. 2005-06-27 Jackson Harper <[email protected]>
  10978. * TabControl.cs: Move to the left and right with the arrow
  10979. keys. These keys don't cycle beyond first and last like
  10980. tab. Refresh all the tabs when scrolling them to the left or
  10981. right.
  10982. 2005-06-27 Jackson Harper <[email protected]>
  10983. * TabControl.cs:
  10984. - ToString: Added method
  10985. - CreateParams: Remove TODO and comment
  10986. - OnKeyDown: Cycle through bounds properly.
  10987. - SelectedIndex: Scroll to the right or left if we need to
  10988. display the newly selected tab.
  10989. 2005-06-23 Jackson Harper <[email protected]>
  10990. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  10991. set.
  10992. 2005-06-23 Jackson Harper <[email protected]>
  10993. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  10994. CTRL-SHIFT-TAB, and HOME, END are there any others?
  10995. 2005-06-23 Jackson Harper <[email protected]>
  10996. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  10997. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  10998. * DataGridTextBoxColumn.cs: fixes and enhancements
  10999. * ThemeWin32Classic.cs: fixes and enhancements
  11000. * DataGridBoolColumn.cs: fixes and enhancements
  11001. * DataGridDrawingLogic.cs: fixes and enhancements
  11002. * CurrencyManager.cs: fixes and enhancements
  11003. * DataGrid.cs: fixes and enhancements
  11004. * DataGridColumnStyle.cs: fixes and enhancements
  11005. 2005-06-22 Jackson Harper <[email protected]>
  11006. * TabControl.cs: Add some missing methods that just call into the
  11007. base. Make the TabPageCollection's IList interface behave in the
  11008. same manner as the MS implementation.
  11009. 2005-06-22 Peter Bartok <[email protected]>
  11010. * TextControl.cs: Added sanity check
  11011. * TextBoxBase.cs:
  11012. - Fixed wrapping behaviour, don't set wrap on single line controls
  11013. (this fixes the breakage of colordialog introduced in an earlier
  11014. checkin)
  11015. - Added rudimentary support for autoscrolling right-aligned controls
  11016. (still needs fixing, also, center alignment scroll is missing)
  11017. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  11018. * ScrollBar.cs: Fixes thumbpos on Maximum values
  11019. 2005-06-21 Jonathan Chambers <[email protected]>
  11020. * PropertyGridView.cs: Pass context information to UITypeEditors
  11021. 2005-06-21 Peter Bartok <[email protected]>
  11022. * TextBoxBase.cs:
  11023. - Now calling PositionCaret with absolute space coordinates
  11024. - Enabled vertical scrolling
  11025. - Better tracking of scrollbar changes, tied into WidthChange
  11026. event
  11027. - Improved cursor tracking
  11028. - Removed debug output
  11029. * TextControl.cs:
  11030. - PositionCaret coordinates are now works in absolute space, not
  11031. the canvas
  11032. - Improved tracking of document size
  11033. - Added events for width and height changes
  11034. 2005-06-21 Peter Bartok <[email protected]>
  11035. * Form.cs: Set focus to active control when form is activated
  11036. * TextControl.cs:
  11037. - Added word-wrap functionality to RecalculateLine()
  11038. - Added some short function descriptions for VS.Net to aid in
  11039. writing dependent controls
  11040. - Added Caret property, returning the current coords of the caret
  11041. - Added ViewPortWidth and ViewPortHeight properties
  11042. - Added Wrap property
  11043. - Added CaretMoved event
  11044. - Removed some old debug code
  11045. - Split() can now create soft splits
  11046. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  11047. - Added method to format existing text
  11048. - Fixed size/alignment calculations to use viewport
  11049. - RecalculateDocument now can handle changing line-numbers while
  11050. calculating lines
  11051. * TextBox.cs:
  11052. - Added some wrap logic, we don't wrap if alignment is not left
  11053. - Added casts for scrollbar var, base class switched types to
  11054. also support RichTextBoxA
  11055. - Implemented handling of scrollbar visibility flags
  11056. * TextBoxBase.cs:
  11057. - Switched scrollbars type to RichTextBoxScrollBars to support
  11058. RichTextBox
  11059. - Added tracking of canvas width/height
  11060. - Switched scrollbars to be not selectable (to keep focus on text)
  11061. - Added central CalculateDocument() method to handle all redraw
  11062. requirements
  11063. - Added ReadOnly support
  11064. - Added WordWrap support
  11065. - Fixed handling of Enter key (we now treat it as a DialogKey)
  11066. - Fixed caret positioning when h or v scroll is not zero
  11067. - Fixed placing/generation of vertical scrollbar
  11068. - Added CalculateScrollBars() method to allow updating scrollbar
  11069. limits and visibility
  11070. - Fixed handling of horizontal scroll
  11071. - Added handling of vertical scroll
  11072. - Implemented auto-'jump' when caret moves to close to a left or
  11073. right border and there is text to be scrolled into view (currently
  11074. there's the potential for a stack overflow, until a bug in
  11075. scrollbar is fixed)
  11076. 2005-06-21 Geoff Norton <[email protected]>
  11077. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  11078. 2005-06-19 Alexander Olk <[email protected]>
  11079. * Mime.cs:
  11080. - added inodes.
  11081. - return application/x-zerosize for files with size zero
  11082. (if no extension pattern matches).
  11083. - check matches collection for strings too.
  11084. - return only the first mime type if the name value
  11085. collection has more than one mime type.
  11086. 2005-06-18 Jonathan Chambers <[email protected]>
  11087. * PropertyGrid.cs: Cleaned up some TODOs
  11088. * PropertyGridView.cs: Added support for UITypeEditors
  11089. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  11090. * DataGrid.cs: clears cached value
  11091. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  11092. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  11093. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  11094. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  11095. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  11096. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  11097. * ThemeWin32Classic.cs: fixes colour
  11098. 2005-06-15 Peter Bartok <[email protected]>
  11099. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  11100. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  11101. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  11102. * Control.cs: Added some MWFCategory and MWFDescription attributes
  11103. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  11104. 2005-06-15 Alexander Olk <[email protected]>
  11105. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  11106. usage
  11107. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  11108. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  11109. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  11110. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  11111. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  11112. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  11113. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  11114. 2005-06-13 Jackson Harper <[email protected]>
  11115. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  11116. isn't printed when the user enables dropping. (X11 does accept
  11117. drops).
  11118. 2005-06-13 Jackson Harper <[email protected]>
  11119. * TreeView.cs: Remove some TODOS.
  11120. 2005-06-13 Jackson Harper <[email protected]>
  11121. * Form.cs: Hook into the mdi framework.
  11122. * MdiClient.cs: Use the base control collections add method so
  11123. parents get setup correctly. Set the default back colour and dock
  11124. style.
  11125. * MdiChildContext.cs: New class, this bad actor handles an
  11126. instance of an MDI window. Right now there is only basic
  11127. support. You can drag, close, and resize windows. Minimize and
  11128. Maximize are partially implemented.
  11129. 2005-06-13 Jackson Harper <[email protected]>
  11130. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  11131. freaky when both vals are negative. NOTE: There are probably other
  11132. places in XplatUIX11 that this needs to be done.
  11133. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  11134. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  11135. * DataGridColumnStyle.cs: fixes signature
  11136. 2005-06-12 Jackson Harper <[email protected]>
  11137. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  11138. windows.
  11139. 2005-06-11 Jackson Harper <[email protected]>
  11140. * StatusBarPanel.cs: Signature cleanups. Implement
  11141. BeginInit/EndInit.
  11142. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  11143. * DataGridTextBoxColumn.cs: Honors aligment
  11144. * GridColumnStylesCollection.cs: Contains is case unsensitive
  11145. * GridTableStylesCollection.cs: several fixes
  11146. * DataGridTableStyle.cs: default column creation
  11147. * DataGridDrawingLogic.cs: fixes
  11148. * CurrencyManager.cs: ListName property
  11149. * DataGrid.cs: multiple styles support
  11150. * DataGridColumnStyle.cs: fixes
  11151. 2005-06-10 Peter Bartok <[email protected]>
  11152. * Control.cs(Select): Moved SetFocus call to avoid potential
  11153. loops if controls change the active control when getting focus
  11154. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  11155. the up/down buttons
  11156. 2005-06-10 Matthias Felgner <[email protected]>
  11157. * ImageListConverter.cs: Implemented
  11158. 2005-06-10 John BouAntoun <[email protected]>
  11159. * MonthCalendar.cs: Wired in NumericUpDown control for year
  11160. 2005-06-10 John BouAntoun <[email protected]>
  11161. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  11162. DoubleClick events, since they are not meant to be fired.
  11163. 2005-06-09 Peter Bartok <[email protected]>
  11164. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  11165. Jonathan's standalone controls into MWF, implemented missing
  11166. events, attributes and methods; added xxxAccessible classes
  11167. * AccessibleObject.cs: Made fields internal so other classes
  11168. can change them if needed
  11169. 2005-06-09 Jonathan Gilbert <[email protected]>
  11170. * UpDownBase.cs: Complete implementation
  11171. * NumericUpDown.cs: Complete implementation
  11172. * DomainUpDown.cs: Complete implementation
  11173. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  11174. * DataGridTextBoxColumn.cs: drawing fixes
  11175. * DataGridCell.cs: fixes ToString method to match MSNet
  11176. * DataGridTableStyle.cs: fixes
  11177. * DataGridBoolColumn.cs: fixes, drawing
  11178. * DataGridDrawingLogic.cs: fixes, new methods
  11179. * DataGridTextBox.cs: Keyboard and fixes
  11180. * DataGrid.cs:
  11181. - Keyboard navigation
  11182. - Scrolling fixes
  11183. - Row selection (single, multiple, deletion, etc)
  11184. - Lots of fixes
  11185. 2005-06-07 Jackson Harper <[email protected]>
  11186. * ThemeWin32Classic.cs: Clear the background area when drawing
  11187. buttons.
  11188. 2005-06-06 Peter Bartok <[email protected]>
  11189. * ImageListStreamer.cs: Fixed signature for GetData
  11190. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  11191. * ComboBox.cs:
  11192. - Added missing ChildAccessibleObject class
  11193. - Added missing OnXXXFocus overrides, switched to using those
  11194. instead of the event handler
  11195. * Control.cs:
  11196. - Added Parent property for ControlAccessibleObject
  11197. - Fixed signatures
  11198. - Fixed attributes
  11199. - Added ResetBindings()
  11200. * ListBindingConverter.cs: Implemented some methods
  11201. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  11202. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  11203. * ContainerControl.cs: Fixed signature, now subscribing to the
  11204. ControlRemoved event instead of overriding the handler, LAMESPEC
  11205. * CurrencyManager.cs: Added missing attribute
  11206. * MonthCalendar.cs: Added missing properties
  11207. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  11208. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  11209. 2005-06-06 Gaurav Vaish and Ankit Jain
  11210. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  11211. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  11212. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  11213. * Control.cs: fixes CreateParams Width / Height.
  11214. 2005-06-05 Peter Bartok <[email protected]>
  11215. * Win32DnD.cs: Removed compilation warnings
  11216. 2005-06-05 Peter Bartok <[email protected]>
  11217. * Control.cs (CreateParams): Since we don't know if one of the
  11218. properties we use is overridden, lets make sure if we fail accessing
  11219. we continue with a backup plan
  11220. 2005-06-05 Peter Bartok <[email protected]>
  11221. * Win32DnD.cs:
  11222. - Removed debug output
  11223. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  11224. struct
  11225. - Plugged resource leak
  11226. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  11227. MS size
  11228. 2005-06-05 Peter Bartok <[email protected]>
  11229. * XplatUIWin32.cs: Removed DnD code
  11230. * Win32DnD.cs: Implemented drop source and drop target functionality
  11231. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  11232. * UpDownBase.cs: remove duplicate addition of event, enable some code
  11233. that was commented out.
  11234. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  11235. Validate input when a key is pressed. It works fine now for every
  11236. combination of Hexadecimal. Only missing some drawing love when sharing
  11237. space with other controls.
  11238. 2005-06-04 Peter Bartok <[email protected]>
  11239. * Control.cs:
  11240. - We need to pass a window for DragDrop, so enable callback events
  11241. - Added DnD callback events when being a DragSource
  11242. * XplatUI.cs (StartDrag): Added window handle argument
  11243. * XplatUIDriver.cs (StartDrag): Added window handle argument
  11244. * QueryContinueDragEventArgs: Made fields internally accessible so
  11245. drivers can set them
  11246. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  11247. can set them
  11248. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  11249. * DataGridTextBoxColumn.cs: column text editing
  11250. * DataGridTableStyle.cs: Respect columns styles created by the user
  11251. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  11252. * DataGridBoolColumn.cs: bool column editing
  11253. * DataGrid.cs: fixes to scrolling, properties, etc
  11254. * DataGridTextBox.cs: handle keyboard
  11255. * DataGridColumnStyle.cs: fixes
  11256. 2005-06-02 Jackson Harper <[email protected]>
  11257. * ImageListStreamer.cs: Somewhat broken implementation of
  11258. GetObjectData. The RLE needs some work to match MS properly.
  11259. 2005-06-02 Jackson Harper <[email protected]>
  11260. * X11Dnd.cs: Attempting to keep at least one file in MWF
  11261. monostyled.
  11262. 2005-06-02 Peter Bartok <[email protected]>
  11263. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  11264. that way
  11265. 2005-06-02 Peter Bartok <[email protected]>
  11266. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  11267. * XplatUI.cs: Added DoDragDrop() method
  11268. * XplatUIDriver.cs: Added DoDragDrop() method
  11269. 2005-06-02 Jackson Harper <[email protected]>
  11270. * Splitter.cs: Implement BorderStyle.
  11271. 2005-06-02 Jackson Harper <[email protected]>
  11272. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  11273. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  11274. X11 using XDND.
  11275. 2005-06-02 Peter Bartok <[email protected]>
  11276. * DataObject.cs:
  11277. - Added Data setter
  11278. - Fixed broken insertion code for SetData, now also
  11279. overwrites any existing entry of the same format name
  11280. * Hwnd.cs: Added list of pointers that automatically gets
  11281. freed when the window is disposed
  11282. * XplatUI.cs: Call driver initialization method when loading
  11283. a driver
  11284. * Control.cs:
  11285. - OnDragLeave takes EventArgs, not DragEventArgs
  11286. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  11287. supported
  11288. - Forces style update when drop state changes
  11289. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  11290. not perfect since we cannot (yet) call the IDataObject.GetData()
  11291. method, we keep getting 0x80004005 error, dunno why)
  11292. 2005-06-02 Peter Bartok <[email protected]>
  11293. * DragEventArgs.cs: Make fields internal so we can cache the
  11294. object and re-set the fields from XplatUI
  11295. 2005-06-02 Jackson Harper <[email protected]>
  11296. * Control.cs: Add some internal methods so the DnD subsystem can
  11297. raise DnD events. Also call into the driver when AllowDrop is set.
  11298. * XplatUI.cs:
  11299. * XplatUIDriver.cs: New method for setting whether or not a window
  11300. is allowed to accept drag and drop messages.
  11301. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  11302. * ScrollBar.cs: Make sure that values sent in Scroll events
  11303. are always between Maximum and Minimum.
  11304. 2005-06-01 Marek Safar <[email protected]>
  11305. * Menu.cs: Call MenuChanged when menuitem visibility has been
  11306. changed.
  11307. * MenuItem.cs: Rebuild menu when item is (not) visible.
  11308. * MainMenu.cs: MainMenu has special MenuChanged.
  11309. * Theme.cs: Caption and FrameBorderSize are not fixed.
  11310. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  11311. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  11312. * XplatUIX11.cs,
  11313. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  11314. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  11315. 2005-05-30 Jackson Harper <[email protected]>
  11316. * DataFormat.cs: We can't statically initialize this stuff because
  11317. it calls into the xplatui and could create a loop. So we lazy init
  11318. it.
  11319. 2005-05-28 Jackson Harper <[email protected]>
  11320. * Control.cs: Proper implementation of Product(Name/Version).
  11321. 2005-05-27 Jackson Harper <[email protected]>
  11322. * DataObject.cs: Dont crash if no data is found.
  11323. 2005-05-26 Rafael Teixeira <[email protected]>
  11324. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  11325. as per status page, guessing it should be set to true
  11326. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  11327. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  11328. * DataGridTableStyle.cs: set proper formatting text, def header text
  11329. * ThemeWin32Classic.cs: new themable paramaters
  11330. * DataGridBoolColumn.cs: paint check box, get data, fixes
  11331. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  11332. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  11333. * DataGridColumnStyle.cs: fixes
  11334. * Theme.cs: new themable paramaters
  11335. 2005-05-26 Peter Bartok <[email protected]>
  11336. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  11337. 2005-05-24 Jonathan S. Chambers <[email protected]>
  11338. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  11339. 2005-05-24 Peter Bartok <[email protected]>
  11340. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  11341. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  11342. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  11343. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  11344. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  11345. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  11346. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  11347. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  11348. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  11349. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  11350. missing attributes, etc
  11351. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  11352. 2005-05-24 Peter Bartok <[email protected]>
  11353. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  11354. when user tries to get help
  11355. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  11356. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  11357. to suppress warnings
  11358. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  11359. avoid unreachable code warning
  11360. 2005-05-20 Peter Bartok <[email protected]>
  11361. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  11362. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11363. * DataGridTextBoxColumn.cs: Basic painting methods
  11364. * DataGridTableStyle.cs: Set table style in the column
  11365. * ThemeWin32Classic.cs: Use Theme for colors
  11366. * DataGridDrawingLogic.cs: Implement more drawing
  11367. * DataGrid.cs: drawing, theming, enhacements, fixes
  11368. * DataGridColumnStyle.cs: fixes, drawing
  11369. * Theme.cs: theming for Datagrid
  11370. 2005-05-20 Peter Bartok <[email protected]>
  11371. * Cursor.cs: Implemented GetObjectData() method
  11372. 2005-05-20 Peter Bartok <[email protected]>
  11373. * Cursors.cs: Added setting of cursor name
  11374. * Cursor.cs:
  11375. - Implemented constructors
  11376. - Implemented Draw and DrawStretched
  11377. - Implemented Current property
  11378. - Implemented == and != operators
  11379. - Implemented Dispose()
  11380. - Implemented ToString
  11381. - Added missing attributes
  11382. * XplatUIX11.cs:
  11383. - Added missing reset for OverrideCursor when DoEvents is called
  11384. - Fixed creation of cursor, logic was wrong
  11385. * XplatUIWin32.cs:
  11386. - Added missing reset for OverrideCursor when DoEvents is called
  11387. - Fixed creation of cursor, bit arrays were swapped
  11388. * Clipboard.cs: Removed obsolete MonoTODO attribute
  11389. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11390. * ComboBox.cs: fixes OnSelectedItemChanged
  11391. * ControlBindingsCollection.cs: fixes item range check
  11392. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11393. * UpDownBase.cs:
  11394. - Calc preferred height properly
  11395. - Implement missing properties
  11396. * NumericUpDown.cs: Implement missing events
  11397. 2005-05-19 Jackson Harper <[email protected]>
  11398. * TabControl.cs: New method that resizes the tab pages before
  11399. redrawing them. This as needed as the control is double buffered
  11400. and sizing will not be recalculated unless ResizeTabPages is
  11401. called.
  11402. * TabPage.cs: Set base.Text instead of Text in the constructor so
  11403. that UpdateOwner does not get called. Use the new Redraw method of
  11404. TabControl instead of Refresh so the sizing is recalculated.
  11405. * ThemeWin32Classic.cs: Draw the text for button tabs.
  11406. 2005-05-19 Jackson Harper <[email protected]>
  11407. * Control.cs: Paint control background images. Fix typo where
  11408. PaintControlBackground was not getting called correctly.
  11409. 2005-05-19 Peter Bartok <[email protected]>
  11410. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  11411. I can investigate, apparently I broke FileDialog
  11412. 2005-05-19 Marek Safar <[email protected]>
  11413. * AxHost.cs: Some simple properties.
  11414. * Control.cs: window must be accessible after ctor.
  11415. * Form.cs: Added TransparencyKey property.
  11416. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  11417. * XplatUIWin32.cs: SetBorderStyle implemented.
  11418. 2005-05-18 Peter Bartok <[email protected]>
  11419. * DataObject.cs: Entries are not global but particular to the
  11420. DataObject, now it behaves that way
  11421. * XplatUIWin32.cs: Implemented Clipboard methods
  11422. * Clipboard.cs: Implemented
  11423. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  11424. * XplatUIOSX.cs: Updated to final clipboard prototypes
  11425. * XplatUIX11.cs: Implemented Clipboard methods
  11426. * XplatUIDriver.cs: Updated to final clipboard prototypes
  11427. * XplatUIStructs.cs:
  11428. - Added BITMAPINFOHEADER struct
  11429. - Added ClipboardFormats enum
  11430. * X11Structs.cs:
  11431. - Added ClipboardStruct
  11432. - Added Atom enum items for clipboard types
  11433. - Fixed atom types for Selection event structures
  11434. * DataFormats.cs:
  11435. - Added internal properties and methods for drivers to enumerate
  11436. all known formats
  11437. - Switched initialization method to allow drivers to assign their
  11438. own IDs even for the MS predefined clipboard IDs
  11439. * XplatUI.cs: Updated to final clipboard interface
  11440. 2005-05-18 Jonathan S. Chambers <[email protected]>
  11441. * PropertyGridView.cs: Fixed compiler warnings.
  11442. 2005-05-18 Jonathan S. Chambers <[email protected]>
  11443. * PropertyGrid.cs: Added some event calls
  11444. * PropertyGridView.cs: Change drawing code to use double buffering
  11445. * PropertyGridTextBox.cs: Changed Text property name
  11446. * GridItem.cs: Added Bounds property.
  11447. * GridEntry.cs: Added Bounds property.
  11448. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  11449. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  11450. since GetType() may not return the correct type if the object is
  11451. a remoting proxy.
  11452. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  11453. * TreeNodeCollection.cs: fixes get/set item ranges
  11454. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  11455. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  11456. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  11457. * ComboBox.cs: Fix item range comparation
  11458. * ListView.cs: Fix item range comparation
  11459. 2005-05-03 Alexander Olk <[email protected]>
  11460. * FontDialog.cs:
  11461. - Clear example panel when OnPaint is called
  11462. - Better solution for displaying the example panel text
  11463. - Select default indexes in the ListBoxes
  11464. 2005-05-11 Geoff Norton <[email protected]>
  11465. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  11466. 2005-05-11 Peter Bartok <[email protected]>
  11467. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  11468. * SelectionRangeConverter.cs: Implemented
  11469. * PropertyGrid.cs: Fixed attribute value
  11470. * Control.cs:
  11471. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  11472. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  11473. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  11474. that's common to all drivers. First methods to go there are
  11475. Sebastien Pouliot's CAS Stack Propagation helper methods
  11476. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  11477. Sebastien Pouliot for CAS Stack Propagation
  11478. 2005-05-11 Geoff Norton <[email protected]>
  11479. * OSXStructs.cs:
  11480. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  11481. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  11482. * DataGridTextBoxColumn.cs: fixed some members
  11483. * GridColumnStylesCollection.cs: indexed column is case insensitive
  11484. * DataGridTableStyle.cs: fixes
  11485. * ThemeWin32Classic.cs: add new theme parameter
  11486. * Theme.cs: add new theme parameter
  11487. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  11488. * DataGrid.cs: fixes, new internal properties, etc.
  11489. * DataGridColumnStyle.cs: allows to set grid value
  11490. *
  11491. 2005-05-10 Peter Bartok <[email protected]>
  11492. * AccessibleObject.cs:
  11493. - Removed MonoTODO attribute on help, method is correct
  11494. - Fixed Bounds property
  11495. * AxHost.cs: Moved MonoTODO
  11496. * ButtonBase.cs: Now setting AccessibleObject properties
  11497. * RadioButton.cs: Setting proper AccessibleObject role
  11498. * CheckBox.cs: Setting proper AccessibleObject role
  11499. * ControlBindingsCollection.cs: Added properties, methods and attributes
  11500. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  11501. userdefined DataFormats.Format items as well
  11502. * ListControl.cs: Removed data_member from the public eye
  11503. * OpenFileDialog.cs:
  11504. - Made class sealed
  11505. - Added missing attributes
  11506. * SaveFileDialog.cs: Added missing attributes
  11507. * ImageListStreamer.cs: Fixed code that caused warnings
  11508. * LinkLabel.cs: Removed unreachable code
  11509. * TreeView.cs: Fixed code that caused warnings
  11510. * PropertyGridView.cs: Fixed code that caused warnings
  11511. * GridColumnStylesCollection.cs: Added missing attributes
  11512. * GridTableStylesCollection: Added missing attribute
  11513. * PropertyManager: Added .ctor
  11514. * SecurityIDType: Added
  11515. * DataObject.cs: Implemented class
  11516. * LinkArea.cs: Added missing attribute
  11517. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  11518. * RadioButton.cs: call base method to allow to fire OnClick event
  11519. * UpDownBase.cs: OnMouseUp call base method
  11520. * CheckedListBox.cs: call base method before returning
  11521. * TrackBar.cs: call base method before returning
  11522. 2005-05-10 Peter Bartok <[email protected]>
  11523. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  11524. for messages
  11525. 2005-05-10 Peter Bartok <[email protected]>
  11526. * DataFormats.cs: Implemented
  11527. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  11528. XplatUIX11.cs: Added Clipboard APIs
  11529. * XplatUIWin32.cs: Implemented Clipboard APIs
  11530. * FolderBrowserDialog.cs: Added missing event, attributes
  11531. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  11532. * CheckBox.cs: call base method to allow to fire OnClick event
  11533. 2005-05-09 Sebastien Pouliot <[email protected]>
  11534. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  11535. 2005-05-06 Peter Bartok <[email protected]>
  11536. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  11537. * Screen.cs: Implemented
  11538. * HelpNavigator.cs: Added
  11539. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  11540. property
  11541. * HelpProvider.cs: Implemented all we can do until we have a CHM
  11542. help library (which means that "What's This" does work now)
  11543. 2005-05-06 Jackson Harper <[email protected]>
  11544. * XplatUIX11.cs: Fix waking up the main loop.
  11545. 2005-05-05 Peter Bartok <[email protected]>
  11546. * XplatUI.cs: Updated revision
  11547. * Form.cs: Removed enless loop
  11548. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  11549. * Label.cs (OnPaint): Added call to base.OnPaint()
  11550. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  11551. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  11552. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  11553. * AxHost.cs: Added
  11554. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  11555. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  11556. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  11557. reuse of ToolTipWindow by other controls
  11558. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  11559. * XplatUIX11.cs: Now clipping drawing area (experimental)
  11560. * PictureBox.cs: Moved base.OnPaint() call to end of method
  11561. * Theme.cs: Fixed ToolTip abstracts to match new format
  11562. * ErrorProvider.cs: Implemented
  11563. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  11564. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  11565. * LinkLabel.cs:
  11566. - Adds cursors
  11567. - Handles focus
  11568. - Implements LinkBehavior
  11569. - Fixes many issues
  11570. 2005-05-03 Jackson Harper <[email protected]>
  11571. * ListView.cs: Calculate the scrollbar positioning on resize and
  11572. paint, so they get put in the correct place.
  11573. 2005-05-03 Alexander Olk <[email protected]>
  11574. * ColorDialogs.cs: The small color panels are now handled by
  11575. SmallColorControl. This fixes drawing of the focus rectangle
  11576. and adds a 3D border.
  11577. 2005-05-03 Peter Bartok <[email protected]>
  11578. * Control.cs: Modified version of Jonathan Chamber's fix for
  11579. double-buffering
  11580. 2005-05-03 Jackson Harper <[email protected]>
  11581. * ListView.cs: Remove redraw variable. Control now handles whether
  11582. or not a redraw needs to be done, and will only raise the paint
  11583. event if redrawing is needed.
  11584. 2005-05-03 Jackson Harper <[email protected]>
  11585. * Splitter.cs: No decorations for the splitter form. Cache the
  11586. hatch brush.
  11587. 2005-05-03 Jackson Harper <[email protected]>
  11588. * TreeView.cs: Use dashed lines to connect nodes. Use the
  11589. ControlPaint method for drawing the focus rect instead of doing
  11590. that in treeview.
  11591. 2005-05-02 Peter Bartok <[email protected]>
  11592. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  11593. 2005-04-29 Jackson Harper <[email protected]>
  11594. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  11595. entire image buffer. Just clear the clipping rectangle.
  11596. 2005-04-29 Jackson Harper <[email protected]>
  11597. * ThemeWin32Classic.cs: Don't draw list view items that are
  11598. outside the clipping rectangle.
  11599. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  11600. * ListBox.cs: added horizontal item scroll
  11601. 2005-04-29 Jackson Harper <[email protected]>
  11602. * ThemeWin32Classic.cs: Remove some old debug code that was
  11603. causing flicker with the new double buffering code.
  11604. 2005-04-29 John BouAntoun <[email protected]>
  11605. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  11606. behave like combobox and comboboxlist (still not sure if this is
  11607. correct though).
  11608. 2005-04-28 Jackson Harper <[email protected]>
  11609. * ThemeWin32Classic.cs: Don't fill the middle of progress
  11610. bars. This fills areas outside of the clip bounds that don't need
  11611. to be filled.
  11612. 2005-04-28 Jackson Harper <[email protected]>
  11613. * Control.cs: Don't expose functionality to touch the image buffers.
  11614. * ProgressBar.cs:
  11615. * ListView.cs: We do not need to (and no longer can) manipulate
  11616. the image buffers directly. All of this is handled by Control.
  11617. 2005-04-28 Peter Bartok <[email protected]>
  11618. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  11619. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  11620. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  11621. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11622. * Combobox:
  11623. - Adjust control's height for non-simple comboboxes (bug fix)
  11624. - Remove dead code
  11625. * MenuAPI.cs: remove unused var
  11626. * ScrollBar.cs: remove unsed var
  11627. * ListBox.cs: unselect items when clearing
  11628. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11629. * ListControl.cs: honors OnPositionChanged and default Selected Item
  11630. * ListBox.cs: unselect items when clearing
  11631. 2005-04-27 Jackson Harper <[email protected]>
  11632. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  11633. if a "correct" keyboard is not found. This will make us not crash,
  11634. but might give some users bad keyboard layouts...seems to be the
  11635. same thing rewind does.
  11636. 2005-04-27 Jackson Harper <[email protected]>
  11637. * BindingManagerBase.cs: Attach the current/position changed
  11638. handlers to their respective events.
  11639. 2005-04-27 Jackson Harper <[email protected]>
  11640. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  11641. not just a blit.
  11642. * ThemeWin32Classic.cs: Don't fill the background for picture
  11643. boxes. This could overright user drawing.
  11644. * ComboBox.cs: Just fill the clipping rect not the entire client
  11645. rect when drawing the background. This prevents pieces of the
  11646. image buffer from getting overwritten and is theoretically faster.
  11647. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  11648. * ComboBox.cs: Databinding support fixes, fire missing events
  11649. * ListControl.cs: implement missing methods and properties, fixes
  11650. * ThemeWin32Classic.cs: Databiding support on Drawing
  11651. * CheckedListBox.cs: Databinding support fixes, fire missing events
  11652. * ListBox.cs: Databinding support fixes, fire missing events
  11653. 2005-04-25 Peter Bartok <[email protected]>
  11654. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  11655. 2005-04-25 Jackson Harper <[email protected]>
  11656. * TreeView.cs: Use the horizontal scrollbars height not width when
  11657. determining how much of the client area is available.
  11658. 2005-04-25 Jackson Harper <[email protected]>
  11659. * Control.cs: Double buffering is handled differently now. As per
  11660. the spec, the extra buffer is created in the WM_PAINT message and
  11661. passed down to the control's drawing code.
  11662. * GroupBox.cs:
  11663. * Label.cs:
  11664. * CheckBox.cs:
  11665. * ProgressBar.cs:
  11666. * RadioButton.cs:
  11667. * ColorDialog.cs:
  11668. * ComboBox.cs:
  11669. * PropertyGridView.cs:
  11670. * UpDownBase.cs:
  11671. * MessageBox.cs:
  11672. * MenuAPI.cs:
  11673. * ListView.cs:
  11674. * ButtonBase.cs:
  11675. * SizeGrip.cs:
  11676. * ScrollBar.cs:
  11677. * ListBox.cs:
  11678. * TrackBar.cs:
  11679. * ToolBar.cs:
  11680. * PictureBox.cs:
  11681. * DateTimePicker.cs:
  11682. * StatusBar.cs:
  11683. * TreeView.cs: Update to new double buffering system.
  11684. * MonthCalendar.cs: Uncomment block, as Capture is now
  11685. working. Update to new double buffering
  11686. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  11687. * PaintEventArgs.cs: New internal method allows us to set the
  11688. graphics object. This is used for double buffering.
  11689. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  11690. rectangle. The internal paint_area var has been removed from
  11691. StatusBar. The clipping rect should be used instead.
  11692. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  11693. * TabPage.cs: The RefreshTabs method was removed, so just call the
  11694. tab controls Refresh method now.
  11695. * TabControl.cs: Update to new double buffering. Make sure the
  11696. handle is created before sizing the tab pages, otherwise we will
  11697. get stuck in a loop.
  11698. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  11699. * LinkLabel.cs: Fix typo, bug #74719; patch
  11700. from Borja Sanchez Zamorano
  11701. 2005-04-22 Jackson Harper <[email protected]>
  11702. * TreeNode.cs: Implement Handle stuff.
  11703. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  11704. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  11705. * DataGridTextBoxColumn.cs: call base constructors, fixes
  11706. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  11707. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  11708. * DataGridTableStyle.cs: implements create default column styles
  11709. * DataGridBoolColumn.cs: which types can handle
  11710. * DataGrid.cs: missing methods, fixes, new functionality
  11711. * DataGridColumnStyle.cs: fixes
  11712. 2005-04-20 Alexander Olk <[email protected]>
  11713. * FolderBrowserDialog.cs:
  11714. - Use a thread to fill the TreeView
  11715. - Adjusted some sizes
  11716. 2005-04-19 Peter Bartok <[email protected]>
  11717. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  11718. property. Fixes #74360.
  11719. 2005-04-19 Jackson Harper <[email protected]>
  11720. * XEventQueue.cs: Lock when getting the lockqueue size.
  11721. * PictureBox.cs: Call base OnPaint
  11722. 2005-04-19 Peter Bartok <[email protected]>
  11723. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  11724. messages were no longer being processed (this broke BeginInvoke)
  11725. 2005-04-18 Jackson Harper <[email protected]>
  11726. * TreeView.cs: buglet that caused node images to get drawn
  11727. regardless of whether or not they were in the clipping rectangle.
  11728. 2005-04-18 Jackson Harper <[email protected]>
  11729. * CurrencyManager.cs: There are four rules for GetItemProperties:
  11730. - If the type is an array use the element type of the array
  11731. - If the type is a typed list, use the type
  11732. - If the list contains an Item property that is not an object, use
  11733. that property
  11734. - use the first element of the list if there are any elements in
  11735. the list.
  11736. 2005-04-17 Jackson Harper <[email protected]>
  11737. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  11738. click. This handles offsets for scrolling properly and reduces
  11739. memory. Also fixed GetNode to not offset now that TopNode works
  11740. properly.
  11741. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  11742. 2005-04-17 Jackson Harper <[email protected]>
  11743. * CursorConverter.cs: Initial implementation.
  11744. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11745. * ListControl.cs: work towards complex data binding support on ListControl
  11746. * CurrencyManager.cs: work towards complex data binding support on ListControl
  11747. * ListBox.cs: work towards complex data binding support on ListControl
  11748. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11749. * GridTableStylesCollection.cs: fixes name and constructor
  11750. * DataGridTableStyle.cs: fixes
  11751. * DataGridBoolColumn.cs: fixes names and constructors
  11752. * DataGrid.cs: define methods and properties. Some init implementations
  11753. * DataGridCell.cs: define methods and properties. Some init implementations
  11754. * GridTablesFactory.cs: Define methods and properties
  11755. 2005-04-15 Geoff Norton <[email protected]>
  11756. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  11757. graphics port changes. We still want the coordinates in global screen
  11758. coordinates.
  11759. 2005-04-14 Jackson Harper <[email protected]>
  11760. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  11761. check plus minus or checkbox clicks unless those features are enabled.
  11762. 2005-04-14 Jackson Harper <[email protected]>
  11763. * TreeView.cs: Add methods for setting the top and bottom visible
  11764. nodes. TreeNode::EnsureVisible uses these methods.
  11765. * TreeNode.cs: Implement EnsureVisible
  11766. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  11767. * Form.cs: Pospone menu assignation if the window has not been created yet
  11768. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  11769. size and position
  11770. 2005-04-12 Jackson Harper <[email protected]>
  11771. * TreeView.cs: Set the TopNode properly when scrolling
  11772. occurs. This has the added benifit of reducing the amount of
  11773. walking that needs to be done when drawing. Also removed an old
  11774. misleading TODO.
  11775. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  11776. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  11777. * Timer.cs: fixes interval setting when the timer is already enabled
  11778. 2005-04-10 Alexander Olk <[email protected]>
  11779. * FolderBrowserDialog.cs: First approach
  11780. 2005-04-09 Peter Bartok <[email protected]>
  11781. * FolderBrowserDialog: Added
  11782. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  11783. * LinkLabel.cs: move drawing code into the theme
  11784. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  11785. * Theme.cs: define DrawLinkLabel method
  11786. 2005-04-05 Jackson Harper <[email protected]>
  11787. * BindingContext.cs: Use weak references so these bad actors don't
  11788. stay alive longer then they need to.
  11789. 2005-04-05 Jackson Harper <[email protected]>
  11790. * ListControl.cs: Basic implementation of complex databinding.
  11791. * ComboBox.cs:
  11792. * ListBox.cs: Add calls to ListControl databinding methods.
  11793. 2005-04-05 Alexander Olk <[email protected]>
  11794. * FileDialog.cs:
  11795. - Don't change PopupButtonState to Normal when the
  11796. PopupButton gets pressed several times.
  11797. - Renamed ButtonPanel to PopupButtonPanel
  11798. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  11799. * ColorDialog.cs: Use cached objects instead of creating them
  11800. * LinkLabel.cs: Use cached objects instead of creating them
  11801. * Splitter.cs: Use cached objects instead of creating them
  11802. * FontDialog.cs: Use cached objects instead of creating them
  11803. * PropertyGridView.cs: Use cached objects instead of creating them
  11804. * MessageBox.cs: Use cached objects instead of creating them
  11805. * FileDialog.cs: Use cached objects instead of creating them
  11806. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  11807. * TreeView.cs: Use cached objects instead of creating them
  11808. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  11809. * Control.cs: use Equals to compare the font since no == op
  11810. * ScrollBar.cs: use Equals to compare the font since no == op
  11811. 2005-04-04 Alexander Olk <[email protected]>
  11812. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  11813. 2005-04-01 Jackson Harper <[email protected]>
  11814. * Binding.cs: Implement IsBinding.
  11815. * BindingManagerBase.cs:
  11816. * PropertyManager.cs:
  11817. * CurrencyManager.cs: Add IsSuspended property.
  11818. 2005-04-01 Jackson Harper <[email protected]>
  11819. * Binding.cs: Had some IsAssignableFrom calls backwards.
  11820. 2005-04-01 Jackson Harper <[email protected]>
  11821. * Binding.cs: Handle null data members when pulling data.
  11822. * PropertyManager.cs: Handle the data member being a property that
  11823. does not exist.
  11824. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11825. * DataGridTextBoxColumn.cs: fixes signature
  11826. * DataGrid.cs: calls right constructor
  11827. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11828. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  11829. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  11830. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  11831. * DataGridTableStyle.cs: implements DataGridTableStyle
  11832. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  11833. * DataGridTextBox.cs: implements DataGridTextBox
  11834. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  11835. 2005-03-31 Alexander Olk <[email protected]>
  11836. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  11837. 2005-03-29 Peter Bartok <[email protected]>
  11838. * Application.cs:
  11839. - Properly implemented CompanyName property
  11840. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  11841. returns a path that includes CompanyName, ProductName and
  11842. Version (fixes bug #70330)
  11843. 2005-03-29 Stefan Buehler <[email protected]>
  11844. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  11845. fixes bug #72588.
  11846. 2005-03-28 Alexander Olk <[email protected]>
  11847. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  11848. - Added ReadOnly CheckBox
  11849. - Further refactoring: moved some code from Open-/SaveFileDialog
  11850. to FileDialog
  11851. 2005-03-28 Alexander Olk <[email protected]>
  11852. * OpenFileDialog.cs: Fixed CheckFileExists
  11853. * FileDialog.cs:
  11854. Moved FileView and DirComboBox outside FileDialog class.
  11855. They can now be used outside FileDialog
  11856. 2005-03-27 Alexander Olk <[email protected]>
  11857. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  11858. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  11859. 2005-03-27 Alexander Olk <[email protected]>
  11860. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  11861. - Added missing CreatePrompt property in SaveDialog
  11862. - Overall SaveDialog handling should be better now
  11863. - Added non standard ShowHiddenFiles property
  11864. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  11865. - Added InitialDirectory and RestoreDirectory support
  11866. 2005-03-26 Alexander Olk <[email protected]>
  11867. * FileDialog.cs: Made dirComboBox usable
  11868. 2005-03-24 Alexander Olk <[email protected]>
  11869. * FileDialog.cs: Added Filter support (case sensitiv)
  11870. 2005-03-24 Jackson Harper <[email protected]>
  11871. * TabControl.cs: Need a couple more pixels for the lines.
  11872. 2005-03-23 Jackson Harper <[email protected]>
  11873. * TabControl.cs: Give the tab page focus when it is selected.
  11874. 2005-03-23 Jackson Harper <[email protected]>
  11875. * TabControl.cs: Account for the drawing of tabs borders when
  11876. invalidating. If the slider was clicked dont do click detection on
  11877. the tabs.
  11878. 2005-03-23 Jackson Harper <[email protected]>
  11879. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  11880. 2005-03-22 Jonathan Chambers <[email protected]>
  11881. * CategoryGridEntry.cs: Added
  11882. * GridItem.cs: Added helper properties
  11883. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  11884. * GridEntry.cs: Updated code for collection
  11885. * PropertyGrid.cs: Cleaned up some formatting
  11886. * PropertyGridView.cs: Added drop down functionality for enums.
  11887. * GridItemCollection.cs: Added enumerator logic
  11888. * PropertyGridEntry.cs: Added
  11889. 2005-03-19 Alexander Olk <[email protected]>
  11890. * FileDialog.cs:
  11891. - Removed unnecessary commented code
  11892. - Fixed handling for entering the filename manually in the combobox
  11893. 2005-03-19 Alexander Olk <[email protected]>
  11894. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  11895. 2005-03-18 Peter Bartok <[email protected]>
  11896. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  11897. them being touching the border
  11898. 2005-03-18 Peter Bartok <[email protected]>
  11899. * TextControl.cs: Quick hack to center text better
  11900. 2005-03-18 Peter Bartok <[email protected]>
  11901. * ControlPaint.cs:
  11902. - Don't throw NotImplemented exceptions, just print a notice once
  11903. instead (requested by Miguel). This makes running existing SWF
  11904. apps a bit easier
  11905. * Control.cs:
  11906. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  11907. - Added context menu trigger on right click
  11908. * Panel.cs: Trigger invalidate on resize
  11909. * StatusBar.cs:
  11910. - Removed old double-buffer drawing
  11911. - Added ResizeRedraw style to force proper update of statusbar
  11912. * ListView.cs:
  11913. - Removed debug output
  11914. * ThemeWin32Classic.cs:
  11915. - Fixed drawing of status bar, now draws Text property if there
  11916. are no defined panels
  11917. 2005-03-18 Jackson Harper <[email protected]>
  11918. * ImageList.cs: When the image stream is set pull all the images
  11919. from it.
  11920. * ImageListStreamer.cs: Implement reading image list streams.
  11921. 2005-03-18 Peter Bartok <[email protected]>
  11922. * ThemeWin32Classic.cs (DrawPictureBox):
  11923. - Fixed calculations for centered drawing
  11924. - Fixed drawing for normal mode, not scaling the image on normal
  11925. 2005-03-18 Peter Bartok <[email protected]>
  11926. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  11927. textbox
  11928. * FileDialog.cs:
  11929. - Made Open/Save button the accept button for FileDialog
  11930. - Tied the cancel button to the IButtonControl cancel button
  11931. - Save/Open now properly builds the pathname
  11932. - Now handles user-entered text
  11933. - Preventing crash on right-click if no item is selected
  11934. - Fixed Text property, now uses contents of textbox
  11935. - Fixed SelectedText property, now just returns the text part that
  11936. is selected in the text box
  11937. 2005-03-18 Jackson Harper <[email protected]>
  11938. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  11939. rect, make sure to de-adjust the interior rect after drawing the
  11940. tab text.
  11941. 2005-03-18 Peter Bartok <[email protected]>
  11942. * MenuAPI.cs: Remove menu *before* executing selected action to
  11943. prevent the menu from 'hanging around'
  11944. 2005-03-17 Geoff Norton <[email protected]>
  11945. * XplatUIOSX.cs: Implemented WorkingArea property
  11946. 2005-03-17 Peter Bartok <[email protected]>
  11947. * XplatUIX11.cs: Fixed menu coord calculations
  11948. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  11949. for calculating offsets
  11950. 2005-03-17 Peter Bartok <[email protected]>
  11951. * Hwnd.cs: Do not consider menu presence for default client
  11952. rectangle location/size
  11953. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  11954. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  11955. translation functions
  11956. * FileDialog.cs: Fixed (what I presume is a) typo
  11957. 2005-03-17 Jonathan Gilbert <[email protected]>
  11958. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  11959. X access (avoids X-Async errors)
  11960. 2005-03-16 Jackson Harper <[email protected]>
  11961. * TabControl.cs: Raise the SelectedIndexChanged event.
  11962. 2005-03-16 Alexander Olk <[email protected]>
  11963. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  11964. - Removed vertical ToolBar and replaced it with a custom panel
  11965. (desktop and home button already work)
  11966. - Added Help button (some controls get resized or relocated then)
  11967. - Draw correct text depending on Open or Save.
  11968. - Fixed some typos...
  11969. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  11970. * ScrollBar.cs:
  11971. - Only change Maximum and Minimum when need it (bug fix)
  11972. 2005-03-15 Peter Bartok <[email protected]>
  11973. * Form.cs: Use Handle for icon, to trigger creation if
  11974. the window does not yet exist
  11975. * Control.cs:
  11976. - CanSelect: Slight performance improvement
  11977. - Focus(): Preventing possible recursion
  11978. - Invalidate(): Removed ControlStyle based clear flag setting
  11979. - WM_PAINT: fixed logic for calling OnPaintBackground
  11980. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  11981. EraseWindowBackground if the control doesn't paint background
  11982. * XplatUIWin32.cs:
  11983. - Moved EraseWindowBackground() method to internal methods
  11984. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  11985. is sent via SendMessage on BeginPaint call on Win32
  11986. * XplatUIX11.cs:
  11987. - Added EraseWindowBackground() method
  11988. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  11989. PaintEventStart, which more closely matches Win32 behaviour
  11990. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  11991. - Fixed SetFocus() to properly deal with client and whole windows
  11992. * Hwnd.cs: Added ErasePending property
  11993. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  11994. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  11995. 2005-03-12 Geoff Norton <[email protected]>
  11996. * XplatUIOSX.cs:
  11997. - Fix hard loop when timers exist.
  11998. - Fix bugs with middle and right click for 3 button mice.
  11999. 2005-03-11 Peter Bartok <[email protected]>
  12000. * XplatUIX11.cs:
  12001. - get_WorkingArea: Need to call X directly, GetWindowPos only
  12002. returns cached data now
  12003. - Added sanity check to GetWindowPos hwnd usage
  12004. 2005-03-11 Jackson Harper <[email protected]>
  12005. * BindingManagerBase.cs: This method isn't used anymore as
  12006. PullData now updates the data in the control.
  12007. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  12008. * Form.cs: fixes menu drawing on X11
  12009. * MenuAPI.cs: fixes menu drawing on X11
  12010. 2005-03-11 Peter Bartok <[email protected]>
  12011. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  12012. from Jonathan Gilbert; should fix bug #73606
  12013. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  12014. in Screen coordinates. Thanks, Jordi.
  12015. * Form.cs: Added missing attribute
  12016. 2005-03-11 Peter Bartok <[email protected]>
  12017. * Form.cs:
  12018. - Rudimentary Mdi support
  12019. - Removed outdated FormParent code
  12020. - Implemented lots of missing properties and methods, still missing
  12021. transparency support
  12022. - Added missing attributes
  12023. - Implemented support for MaximumBounds
  12024. - Added firing of various events
  12025. * XplatUI.cs: Added SetIcon() method
  12026. * XplatUIDriver.cs: Added SetIcon() abstract
  12027. * XplatUIOSX.cs: Stubbed out SetIcon() method
  12028. * XplatUIX11.cs:
  12029. - Implemented SetIcon() support
  12030. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  12031. - Switched to unix line endings
  12032. * XplatUIWin32.cs:
  12033. - Made POINT internal so for can access it as part of MINMAX
  12034. - Implemented SetIcon() support
  12035. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  12036. native Mdi support again, might have to go managed)
  12037. * Control.cs: Now fires the StyleChanged event
  12038. * MdiClient.cs: Added; still mostly empty
  12039. 2005-03-10 Peter Bartok <[email protected]>
  12040. * SaveFileDialog.cs: Added emtpy file
  12041. 2005-03-08 Peter Bartok <[email protected]>
  12042. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  12043. in turn triggers OnCreateContro) when creating a handle for the
  12044. first time.
  12045. * TextControl.cs: Fixed endless loop in certain cases when
  12046. replacing the current selection
  12047. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  12048. * ScrollBar.cs:
  12049. - Honors NewValue changes in Scroll events allowing apps to change it
  12050. - Adds First and Last Scroll events
  12051. - Fixes Thumb events
  12052. 2005-03-07 Peter Bartok <[email protected]>
  12053. * Hwnd.cs: Added DefaultClientRectangle property
  12054. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  12055. more detailed debug information
  12056. * XplatUIX11.cs:
  12057. - Fixed size-change feedback loop, where we would pull an old size
  12058. off the queue and mistakenly change our window's size to an
  12059. earlier value
  12060. - Now compressing ConfigureNotify events, to reduce looping and
  12061. redraw issues
  12062. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  12063. is called
  12064. 2005-03-07 Jackson Harper <[email protected]>
  12065. * Binding.cs: Push data pushes from data -> property. Check if the
  12066. property is readonly when attempting to set it.
  12067. 2005-03-07 Jackson Harper <[email protected]>
  12068. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  12069. instead of IsSubclassOf. Pulling data now sets the value on the
  12070. control.
  12071. * PropertyManager.cs:
  12072. * CurrencyManager.cs: Just need to pull data when updating now,
  12073. because PullData will set the value on the control.
  12074. 2005-03-04 Jackson Harper <[email protected]>
  12075. * Binding.cs: Implement data type parsing and converting on pulled
  12076. data. TODO: Are there more ways the data can be converted?
  12077. 2005-03-04 Jackson Harper <[email protected]>
  12078. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  12079. controls Validating method so we can repull the data when the
  12080. control loses focus.
  12081. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  12082. * ColumnHeader.cs:
  12083. - Fixes null string format
  12084. * ListView.cs:
  12085. - Adds enum type checks
  12086. - Fixes redrawing and recalc need after changing some properties
  12087. - Fixes on focus_item set after the event
  12088. - Fixes adding columns after the control has been created
  12089. * ThemeWin32Classic.cs:
  12090. - Fixes CheckBox focus rectangle
  12091. - Fixes ColumnHeader drawing
  12092. 2005-03-03 Jackson Harper <[email protected]>
  12093. * Binding.cs: Bind to <Property>Changed events so we can detect
  12094. when properties are changed and update the data.
  12095. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  12096. * ImageList.cs:
  12097. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  12098. - Fixes ImageList constructor with ImageList container
  12099. - Fixes image scaling (wrong parameters at DrawImage)
  12100. 2005-02-02 Jackson Harper <[email protected]>
  12101. * Binding.cs: Make property searches case-insensitive. Eliminate
  12102. some duplicated code.
  12103. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  12104. * ComboBox.cs:
  12105. - Handle focus event
  12106. - Fix scrollbar events
  12107. - Discard highlighted item if remove it
  12108. - Fixes SelectedItem with strings
  12109. 2005-03-01 Peter Bartok <[email protected]>
  12110. * Control.cs:
  12111. - Fixed Visible property, now follows (once again) parent chain
  12112. to return false if any control in the chain is visible=false
  12113. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  12114. - Fixed several places where is_visible instead of Visible was used
  12115. - Implemented FIXME related to focus selection when setting focused
  12116. control to be invisible
  12117. * XplatUIWin32.cs: Now using proper method to find out if window is
  12118. visible. Thanks to Jordi for pointing it out
  12119. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  12120. * ComboBox.cs: show/hide scrollbar instead of creating it
  12121. 2005-02-27 Jackson Harper <[email protected]>
  12122. * CurrencyManager.cs: Add PositionChanged stuff.
  12123. 2005-02-27 Peter Bartok <[email protected]>
  12124. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  12125. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  12126. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  12127. * XplatUIX11.cs:
  12128. - Implemented GetMenuDC()
  12129. - Implemented GetMenuOrigin()
  12130. - Implemented ReleaseMenuDC()
  12131. - Implemented generation of WM_NCPAINT message
  12132. - Implemented generation and handling of WM_NCCALCSIZE message
  12133. * Form.cs: Added debug helper message for Jordi's menu work
  12134. * Hwnd.cs:
  12135. - Modified ClientRect property; added setter, fixed getter to handle
  12136. setting of ClientRect
  12137. - Added MenuOrigin property
  12138. 2005-02-26 Peter Bartok <[email protected]>
  12139. * XplatUIX11.cs:
  12140. - Destroys the caret if a window that's being destroyed contains it
  12141. - Ignores expose events coming from the X11 queue for windows that
  12142. already are destroyed
  12143. - Now uses the proper variable for handling DestroyNotify, before we
  12144. marked the wrong window as destroyed
  12145. - Improved/added some debug output
  12146. 2005-02-26 Peter Bartok <[email protected]>
  12147. * X11Keyboard.cs: Fixes to work on 64bit systems
  12148. 2005-02-26 Peter Bartok <[email protected]>
  12149. * Control.cs:
  12150. - Now calling OnHandleDestroyed from DestroyHandle()
  12151. instead of Dispose()
  12152. - Removed bogus call to controls.Remove() from DestroyHandle()
  12153. 2005-02-26 Peter Bartok <[email protected]>
  12154. * Control.cs: Properly destroy child windows when our handle is
  12155. destroyed
  12156. 2005-02-25 Peter Bartok <[email protected]>
  12157. * XplatUI.cs:
  12158. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  12159. - Alphabetized Static Methods and Subclasses
  12160. * XplatUIX11.cs:
  12161. - Added XException class to allow custom handling of X11 exceptions
  12162. - Created custom X11 error handler, tied into XException class
  12163. - Added support for MONO_XEXCEPTIONS env var to allow the user
  12164. to either throw an exception on X errors or continue running
  12165. after displaying the error
  12166. - Added handling of DestroyNotify message
  12167. - Added handler for CreateNotify message (still disabled)
  12168. - Improved (tried to at least) Where method to provide file and lineno
  12169. * X11Structs.cs:
  12170. - Added XErrorHandler delegate
  12171. - Added XRequest enumeration (to suppor translation of errors)
  12172. 2005-02-25 Jackson Harper <[email protected]>
  12173. * PropertyManager.cs: Implement editing features
  12174. * CurrencyManager.cs:
  12175. * Binding.cs: First attempt at UpdateIsBinding
  12176. * BindingManagerBase.cs: Call UpdateIsBinding before
  12177. pushing/pulling data.
  12178. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  12179. * MenuAPI.cs: Respect disabled items
  12180. * ThemeWin32Classic.cs
  12181. - Caches ImageAttributes creation for DrawImageDisabled
  12182. - Fixes vertical menu line drawing
  12183. - Draws disabled arrows in disable menu items
  12184. 2005-02-24 Peter Bartok <[email protected]>
  12185. * Hwnd.cs:
  12186. - Added UserData property to allow associating arbitrary objects
  12187. with the handle
  12188. - Fixed leak; now removing Hwnd references from static windows array
  12189. * XplatUIWin32.cs:
  12190. - Fixed Graphics leak in PaintEventEnd
  12191. - Removed usage of HandleData, switched over to Hwnd class
  12192. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  12193. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  12194. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  12195. * ScrollBar.cs: Fixes bug
  12196. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  12197. keyboard navigation enhancements
  12198. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  12199. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  12200. * GroupBox.cs: Add control styles
  12201. * Label.cs: Add control styles
  12202. * UpDownBase.cs: Add control styles
  12203. * ListBox.cs: Add control styles
  12204. * XplatUIWin32.cs: Fixes wrong parameter order
  12205. 2005-02-23 Chris Bacon <[email protected]>
  12206. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  12207. 2005-02-23 Jackson Harper <[email protected]>
  12208. * PropertyManager.cs: Implement property binding. This doesn't
  12209. seem to work yet though as (I think) there are some bugs in
  12210. System.ComponentModel.PropertyDescriptor.
  12211. * BindingContext.cs: Use new PropertyManager constructor.
  12212. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  12213. * ProgressBar.cs: use clip region in ProgressBar
  12214. * ThemeWin32Classic.cs: use clip region in ProgressBar
  12215. 2004-02-22 Jackson Harper <[email protected]>
  12216. * BindingsCollection.cs: Remove some debug code.
  12217. 2005-02-22 Jackson Harper <[email protected]>
  12218. * BindingContext.cs:
  12219. * ControlBindingsCollection.cs:
  12220. * CurrencyManager.cs:
  12221. * Binding.cs:
  12222. * BindingManagerBase.cs: Initial implementation
  12223. * BindingsCollection.cs: Add an internal contains method that the
  12224. BindingManagerBase uses to ensure bindings aren't added twice to
  12225. the collection.
  12226. * PropertyManager.cs: Stubbed out.
  12227. * Control.cs:
  12228. * ContainerControl.cs: Hook up databinding
  12229. 2005-02-22 Geoff Norton <[email protected]>
  12230. * XplatUIOSX.cs:
  12231. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  12232. Fixed Invalidate/Update chain.
  12233. Fixed tons of other minor bugs (this is almost a complete rewrite).
  12234. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  12235. * ComboBox.cs: do subcontrol creation when the control is created
  12236. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12237. * Label.cs: fixes image drawing (image and imagelist)
  12238. * ThemeWin32Classic.cs: cache brushes
  12239. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12240. * Form.cs: Move menu drawing code to Theme class
  12241. * ComboBox.cs: Move ComboBox drawing code to Theme class
  12242. * MenuItem.cs: Move menu drawing code to Theme class
  12243. * MenuAPI.cs: Move menu drawing code to Theme class
  12244. * ThemeWin32Classic.cs: New methods
  12245. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  12246. * ListBox.cs: Move Listbox drawing code to Theme class
  12247. * Theme.cs: New methods
  12248. 2005-02-20 Peter Bartok <[email protected]>
  12249. * Control.cs:
  12250. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  12251. only process mnemonics on those)
  12252. - Fixed event sequence for key handling; first calling
  12253. ProcessKeyEventArgs now
  12254. * TextBoxBase.cs:
  12255. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  12256. for processing non-character keys
  12257. - Fixed WM_CHAR to generate proper event sequence before processing
  12258. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  12259. generation
  12260. 2005-02-19 Peter Bartok <[email protected]>
  12261. * UserControl.cs: Added TextChanged event; added attributes
  12262. * SizeGrip.cs: Implemented resizing and optional display of grip
  12263. * Form.cs: Fixed attribute
  12264. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  12265. Changed meaning of ScrollWindow bool argument; instead of the
  12266. clear attribute (which will be true usually anyway), it gives the
  12267. option of moving child controls as well.
  12268. * XplatUIX11.cs:
  12269. - Changed to match new ScrollWindow argument
  12270. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  12271. now handles the implicit parent window a WM puts around us
  12272. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  12273. to work)
  12274. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  12275. * TreeView.cs: Adjusted to new ScrollWindow arguments
  12276. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12277. * Form.cs: Menu integration with non-client area
  12278. * MenuItem.cs: Menu integration with non-client area
  12279. * MenuAPI.cs: Menu integration with non-client area
  12280. 2005-02-18 Peter Bartok <[email protected]>
  12281. * MethodInvoker.cs: Added
  12282. * MdiLayout.cs: Added
  12283. * SendKeys.cs: Started implementation
  12284. * ErrorIconAlignment.cs: Added
  12285. 2005-02-18 Peter Bartok <[email protected]>
  12286. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  12287. * Form.cs: Added handling for Menu-related Non-client messages
  12288. 2005-02-17 Peter Bartok <[email protected]>
  12289. * UpDownBase.cs: Fixed typo, compilation errors
  12290. * DomainUpDown.cs: Fixed attribute value
  12291. 2005-02-16 Miguel de Icaza <[email protected]>
  12292. * UpDownBase.cs: Attach entry events.
  12293. Propagate events.
  12294. Add ForeColor property, Focused, InterceptArrowKeys (interception
  12295. does not work yet).
  12296. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  12297. * Form.cs:
  12298. - Redraw non client are on Setmenu
  12299. - Calc proper menu starting point
  12300. 2005-02-17 Peter Bartok <[email protected]>
  12301. * Application.cs: Fixed message_filter check
  12302. 2005-02-17 Peter Bartok <[email protected]>
  12303. * Application.cs: Now calls registered message filters
  12304. * DockStyle.cs: Fixed attribute
  12305. * Form.cs: Fixed attribute
  12306. * Menu.cs: Fixed attribute
  12307. * ToolTip.cs: Fixed attribute
  12308. * TreeNode.cs: Added missing attributes and arranged in regions
  12309. * PropertyGrid.cs: Fixed signatures
  12310. * TreeNodeCollection.cs: Added attributes
  12311. * Splitter.cs: Added missing attributes; arranged into regions
  12312. * TabPage.cs: Added missing attributes; arranged into regions
  12313. * TextBoxBase.cs: Added missing attributes
  12314. * TextBox.cs: Added missing attributes
  12315. * ArrangeDirection.cs: Added missing attributes
  12316. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  12317. * ToolBarButton.cs: Fixed attributes
  12318. * AnchorStyles.cs: Fixed attribute
  12319. * TrackBar.cs: Fixed attributes
  12320. * TabControl.cs: Added missing attributes and arranged into regions
  12321. * ToolBar.cs: Fixed attribute
  12322. * StatusBar.cs: Fixed signature, organized into regions and added
  12323. attributes
  12324. * StatusBarPanel.cs: Fixed attributes
  12325. * ContentsResizedEventArgs.cs: Implemented
  12326. * ContentsResizedEventHandler.cs: Implemented
  12327. * DateBoldEventArgs.cs: Implemented
  12328. * DateBoldEventHandler.cs: Implemented
  12329. * UpDownEventArgs.cs: Implemented
  12330. * UpDownEventHandler.cs: Implemented
  12331. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  12332. * Form.cs: first Menu NC refactoring
  12333. * MenuAPI.cs: first Menu NC refactoring
  12334. 2005-02-16 Peter Bartok <[email protected]>
  12335. * ImeMode.cs: Added missing attributes
  12336. * Menu.cs: Fixed attribute
  12337. * GroupBox.cs: Fixed attribute
  12338. * Label.cs: Fixed attribute
  12339. * ColorDialog.cs (RunDialog): Removed TODO attribute
  12340. * ComboBox.cs: Fixed attributes
  12341. * ListControl.cs: Added missing attributes
  12342. * PropertyGrid.cs: Fixed attributes
  12343. * Control.cs: Fixed attributes
  12344. * ListViewItem.cs: Added TypeConverter attribute
  12345. * NotifyIcon.cs: Fixed attributes
  12346. * ListView.cs: Fixed attributes
  12347. * ButtonBase.cs: Fixed attribute
  12348. * ImageList.cs: Added missing attributes
  12349. * ContainerControl.cs: Fixed signature
  12350. * CheckedListBox.cs: Fixed attribute; added missing attributes
  12351. * Panel.cs: Fixed attributes
  12352. * PropertyTabChangedEventArgs.cs: Added missing attribute
  12353. * PropertyValueChangedEventArgs.cs: Added missing attribute
  12354. * Binding.cs: Fixed attribute
  12355. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  12356. * ListBox.cs: Fixed attribute; added missing attributes;
  12357. * ScrollableControl.cs: Added missing attributes
  12358. * PictureBox.cs: Added missing attributes; implemented missing property
  12359. * DateTimePicker.cs: Added missing attributes
  12360. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  12361. * MonthCalendar.cs: Fixed attributes
  12362. * StatusBarPanel.cs: Added missing attributes
  12363. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  12364. 2005-02-16 Peter Bartok <[email protected]>
  12365. * TextBoxBase.cs: The previous method to enforce height yet remember
  12366. the requested high was less than ideal, this is an attempt to do
  12367. it better.
  12368. * Control.cs: Added comment about possible problem
  12369. * Copyright: Updated format
  12370. * GridItemType.cs: Fixed swapped values
  12371. 2005-02-15 Jackson Harper <[email protected]>
  12372. * BaseCollection.cs: Use property so we never access an
  12373. uninitialized list. Also initialize the list in the property.
  12374. 2005-02-15 Peter Bartok <[email protected]>
  12375. * GroupBox.cs (ProcessMnemonic): Implemented
  12376. * Label.cs (ProcessMnemonic): Implemented
  12377. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  12378. hotkeys
  12379. 2005-02-15 Peter Bartok <[email protected]>
  12380. * RadioButton.cs (ProcessMnemonic): Implemented
  12381. * CheckBox.cs (ProcessMnemonic): Implemented
  12382. * Control.cs:
  12383. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  12384. handling
  12385. - Added internal method to allow calling ProcessMnemonic from other
  12386. controls
  12387. * ContainerControl.cs:
  12388. - Started support for handling validation chain handling
  12389. - Implemented ProcessMnemonic support
  12390. - Added Select() call to Active, to make sure the active control
  12391. receives focus
  12392. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  12393. FormParent rewrite)
  12394. * ThemeWin32Classic.cs:
  12395. - DrawCheckBox(): Fixed stringformat to show hotkeys
  12396. - DrawRadioButton(): Fixed stringformat to show hotkeys
  12397. * CommonDialog.cs: Removed WndProc override, not needed
  12398. 2005-02-14 Peter Bartok <[email protected]>
  12399. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  12400. missed those in the rewrite
  12401. 2005-02-14 Miguel de Icaza <[email protected]>
  12402. * NumericUpDown.cs (Increment, ToString): Add.
  12403. (DecimalPlaces): implement.
  12404. Add attributes.
  12405. * UpDownBase.cs: Add the designer attributes.
  12406. 2005-02-13 Peter Bartok <[email protected]>
  12407. * Panel.cs: Removed border_style, now in Control
  12408. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  12409. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  12410. 2005-02-13 Peter Bartok <[email protected]>
  12411. * MouseButtons.cs: Added missing attributes
  12412. * XplatUIStructs.cs: Added enumeration for title styles
  12413. * LeftRightAlignment.cs: Added missing attributes
  12414. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  12415. it compatible with Graphics.FromHwnd()
  12416. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  12417. * Keys.cs: Added missing attributes
  12418. * SelectionRange.cs: Added missing attributes
  12419. * SelectionRangeConverter.cs: Added
  12420. * XplatUI.cs:
  12421. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  12422. ReleaseMenuDC methods
  12423. - Renamed ReleaseWindow to UngrabWindow
  12424. - Added proper startup notice to allow version identification
  12425. * Form.cs:
  12426. - Added missing attributes
  12427. - Removed FormParent concept
  12428. * Label.cs: Removed border_style field, now in Control
  12429. * RadioButton.cs: Now properly selects RadioButton when focus is
  12430. received
  12431. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  12432. * Control.cs:
  12433. - Added missing attributes
  12434. - Added borderstyle handling
  12435. - Removed FormParent concept support
  12436. - Fixed calls to XplatUI to match changed APIs
  12437. - Fixed bug that would case us to use disposed Graphics objects
  12438. - Removed unneeded internal methods
  12439. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  12440. - SelectNextControl(): Fixed to properly check common parents
  12441. * TextBoxBase.cs: Removed border_style field (now in Control)
  12442. * MessageBox.cs:
  12443. - Patch by Robert Thompson ([email protected]): Added icon support,
  12444. fixed calculations for form size
  12445. - Added support for localized strings and icons
  12446. - Improved form size calculations, added border
  12447. * ListView.cs: Removed border_style field (now in Control)
  12448. * X11Structs.cs: Moved several structs from X11 driver here
  12449. * X11Keyboard.cs: Changed debug message
  12450. * Application.cs: Removed FormParent concept support
  12451. * CommonDialog.cs:
  12452. - Resetting end_modal flag
  12453. - Removed FormParent concept support
  12454. * NativeWindow.cs: Removed FormParent concept support
  12455. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  12456. Client area and Non-Client whole window to allow support for WM_NC
  12457. messages
  12458. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  12459. prevent using it until it supports Hwnd as per Geoff Norton's request
  12460. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  12461. * PictureBox.cs: Removed border_style field, now in Control
  12462. * XplatUIWin32.cs: Added new driver methods
  12463. 2005-02-12 Peter Bartok <[email protected]>
  12464. * OpacityConverter.cs: Implemented
  12465. * Hwnd.cs: Internal class to support drivers that need to emulate
  12466. client area/non-client area window behaviour
  12467. 2005-02-11 Peter Bartok <[email protected]>
  12468. * KeysConverter.cs: Implemented
  12469. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  12470. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  12471. * LinkLabel: Added missing attributes
  12472. * MainMenu.cs: fixes ToString
  12473. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  12474. * ListBox.cs: fixes event position
  12475. * TrackBar.cs: adds missing attributes and events
  12476. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  12477. * MenuItem.cs: Use SystemInformation and bug fixes
  12478. * MenuAPI.cs: Use SystemInformation and bug fixes
  12479. 2005-02-09 Jackson Harper <[email protected]>
  12480. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  12481. their keystate otherwise things like VK_MENU get stuck "on".
  12482. 2005-02-09 Kazuki Oikawa <[email protected]>
  12483. * ListBox.cs: Fixes AddRange bug
  12484. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  12485. * ProgressBar.cs
  12486. - Add missing attributes
  12487. - Add missing method
  12488. * CheckedListBox.cs: Added missing attributes
  12489. - Add missing attributes
  12490. - Remove extra method
  12491. * ComboBox.cs: Added missing attributes
  12492. * VScrollBar.cs: Added missing attributes
  12493. * ScrollBar.cs: Added missing attributes
  12494. * ListBox.cs: Fixes signature, add missing consts
  12495. * LinkArea.cs: Added missing attributes
  12496. 2005-02-08 Peter Bartok <[email protected]>
  12497. * Menu.cs: Added missing attributes
  12498. * MainMenu.cs: Added missing attributes
  12499. * GroupBox.cs: Added missing attributes
  12500. * Label.cs: Added missing attributes
  12501. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  12502. * ColorDialog.cs:
  12503. - Added Instance and Options properties
  12504. - Added missing attributes
  12505. * Cursor.cs: Made Serializable
  12506. * NotifyIcon: Added missing attributes
  12507. * MenuItem.cs: Added missing attributes
  12508. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  12509. * Panel.cs: Added Missing attributes
  12510. * MonthCalendar.cs: Fixed CreateParams
  12511. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  12512. * LinkLabel.cs:
  12513. - Fixes signature
  12514. - Fixes issues with links
  12515. - Adds the class attributes
  12516. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  12517. * ComboBox.cs:
  12518. - Fixes button when no items available in dropdown
  12519. - Fixes repainting problems
  12520. - Adds the class attributes
  12521. 2005-02-07 Geoff Norton <[email protected]>
  12522. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  12523. the current theme. Cache these on startup.
  12524. 2005-02-07 Jackson Harper <[email protected]>
  12525. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  12526. the scrollbar buttons when they are depressed.
  12527. 2005-02-07 Geoff Norton <[email protected]>
  12528. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  12529. Get the display size from the main displayid. We currently dont
  12530. support multiple display configurations.
  12531. 2005-02-07 Geoff Norton <[email protected]>
  12532. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  12533. 2005-02-07 Miguel de Icaza <[email protected]>
  12534. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  12535. 2005-02-05 Jonathan Chambers <[email protected]>
  12536. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  12537. 2005-02-04 Jackson Harper <[email protected]>
  12538. * ThemeWin32Classic.cs: Respect the clipping rect when
  12539. drawing. Only fill the intersection of clips and rects so there
  12540. isn't a lot of large fills.
  12541. * ScrollBar.cs: Pass the correct clipping rect to the theme
  12542. engine. Remove some debug code.
  12543. 2005-02-05 John BouAntoun <[email protected]>
  12544. * DateTimePicker.cs:
  12545. - Fixed crash on DateTime.Parse, use Constructor instead
  12546. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12547. * MenuItem.cs:
  12548. * MenuAPI.cs:
  12549. - Owner draw support (MeasureItem and DrawItem)
  12550. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12551. * Menu.cs:
  12552. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  12553. - Fixes MenuItems.Add range
  12554. * MenuItem.cs:
  12555. - MergeMenu and Clone and CloneMenu functions
  12556. 2005-02-03 Jackson Harper <[email protected]>
  12557. * ScrollBar.cs: Make abstract
  12558. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  12559. is abstract.
  12560. 2005-02-03 Jackson Harper <[email protected]>
  12561. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  12562. all the unneeded refreshes and uses invalidates with properly
  12563. computed rects.
  12564. 2005-02-03 Peter Bartok <[email protected]>
  12565. * ComponentModel.cs: Added
  12566. * IDataGridEditingService.cs: Added
  12567. * Timer.cs: Added missing attributes
  12568. * ToolTip.cs: Added missing attributes
  12569. 2005-02-03 Jonathan Chambers <[email protected]>
  12570. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  12571. 2005-02-03 Peter Bartok <[email protected]>
  12572. * ListBox.cs: Added missing attributes
  12573. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  12574. * ListBox.cs:
  12575. - Fixes font height after font change
  12576. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  12577. 2005-02-02 Peter Bartok <[email protected]>
  12578. * HandleData.cs: Introduced static methods to allow class
  12579. to be more self-contained and track it's own HandleData objects
  12580. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  12581. HandleData to use new static methods
  12582. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  12583. * Combobox.cs:
  12584. - Fixes default size and PreferredHeight
  12585. - Missing events
  12586. - ObjectCollection.Insert implementation
  12587. * ListControl.cs
  12588. - Fixes signature
  12589. * ListBox.cs:
  12590. - Several fixes
  12591. - ObjectCollection.Insert implementation
  12592. - No selection after clean
  12593. - Small fixes
  12594. 2005-01-31 John BouAntoun <[email protected]>
  12595. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  12596. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  12597. * Combobox.cs:
  12598. - Caches ItemHeight calculation for OwnerDrawVariable
  12599. - Handles dropdown properly
  12600. - Fixes several minor bugs
  12601. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12602. * ListBox.cs:
  12603. - Fixes 71946 and 71950
  12604. - Fixes changing Multicolumn on the fly
  12605. - Fixes keyboard navigation on Multicolumn listboxes
  12606. 2005-01-31 Geoff Norton <[email protected]>
  12607. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  12608. crash reporter log.
  12609. 2005-01-31 Geoff Norton <[email protected]>
  12610. * XplatUIOSX.cs: Allow applications to actually exit.
  12611. 2005-01-31 Geoff Norton <[email protected]>
  12612. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  12613. their parent at creation time rather than lazily later. Fixes a major
  12614. regression we were experiencing.
  12615. 2005-01-31 John BouAntoun <[email protected]>
  12616. * ThemeWin32Classic.cs: more date time picker painting fixes
  12617. * DateTimePicker.cs: more monthcalendar drop down fixes
  12618. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  12619. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12620. * ScrollBar.cs:
  12621. - When moving the thumb going outside the control should stop the moving
  12622. - Adds the firing of missing events
  12623. - Fixes no button show if Size is not specified
  12624. - End / Home keys for keyboard navigation
  12625. 2005-01-30 Peter Bartok <[email protected]>
  12626. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  12627. sanity check to prevent theoretical loop
  12628. * XplatUIWin32.cs (SetVisible): Removed debug output
  12629. * XplatUIX11.cs (SystrayChange): Added sanity check
  12630. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  12631. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  12632. behaviour, valid until the X11 client window rewrite is done
  12633. * TextBox.cs (ctor): Setting proper default foreground and background
  12634. colors
  12635. 2005-01-30 John BouAntoun <[email protected]>
  12636. * Theme: Added DrawDateTimePicker to interface
  12637. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  12638. * DateTimePicker.cs: Created (still needs keys and painting code)
  12639. * DateTimePickerFormat.cs: added
  12640. * MonthCalendar.cs: fixed CreateParams for popup window mode
  12641. 2005-01-29 Peter Bartok <[email protected]>
  12642. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  12643. this should also the calculations for ligher/darker
  12644. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  12645. 2005-01-29 Peter Bartok <[email protected]>
  12646. * ArrangeDirection.cs: Added
  12647. * ArrangeStartingPositon.cs: Added
  12648. * SystemInformation.cs: Implemented
  12649. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12650. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  12651. used by SystemInformation class
  12652. * X11Strucs.cs: Added XSizeHints structure
  12653. * MenuAPI.cs:
  12654. - Fixed CreateParams to make sure the menu window is always visible
  12655. - TrackPopupMenu: Added check to make sure we don't draw the
  12656. menu offscreen
  12657. 2005-01-29 Peter Bartok <[email protected]>
  12658. * HandleData.cs: Added method for altering invalid area
  12659. * TextBoxBase.cs: Implemented TextLength
  12660. 2005-01-28 Peter Bartok <[email protected]>
  12661. * XplatUIX11.cs: Improvement over last patch, not sending
  12662. the WM_PAINT directly anymore, instead we scroll any pending
  12663. exposed areas and let the system pick out the WM_PAINT later
  12664. 2005-01-28 Peter Bartok <[email protected]>
  12665. * SWF.csproj: Deleted, no longer used. Instead,
  12666. Managed.Windows.Forms/SWF.csproj should be used
  12667. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  12668. directly, to avoid a potential race condition with the next
  12669. scroll
  12670. 2005-01-28 Peter Bartok <[email protected]>
  12671. * XplatUI.cs: Made class internal
  12672. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  12673. * CheckedListBox.cs:
  12674. - Draw focus
  12675. - Fixed Drawing
  12676. - Missing methods and events
  12677. 2005-01-27 Peter Bartok <[email protected]>
  12678. * Application.cs (Run): Don't use form if we don't have one
  12679. 2005-01-27 Peter Bartok <[email protected]>
  12680. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  12681. 2005-01-27 Peter Bartok <[email protected]>
  12682. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  12683. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  12684. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  12685. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  12686. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  12687. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  12688. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12689. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12690. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12691. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12692. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12693. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12694. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12695. * Combobox.cs:
  12696. - Draw focus on Simple Combobox
  12697. - Fixes drawing issues
  12698. - fixes 71834
  12699. 2005-01-27 Peter Bartok <[email protected]>
  12700. * Form.cs:
  12701. - Place window in default location, instead of hardcoded 0/0
  12702. - Send initial LocationChanged event
  12703. * Control.cs:
  12704. - UpdateBounds after creation to find out where the WM placed us
  12705. - Make sure that if the ParentForm changes location the Form
  12706. is notified
  12707. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  12708. to the root, but to whatever the WM placed around us.
  12709. Translate to root coordinates before returning toplevel
  12710. coordinates
  12711. * XplatUIWin32.cs: Removed debug output
  12712. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  12713. flag to GetWindowPos, to allow translation of coordinates on X11
  12714. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12715. * ListBox.cs: connect LostFocus Event
  12716. 2005-01-27 Peter Bartok <[email protected]>
  12717. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12718. XplatUIX11.cs: Extended the Systray API
  12719. * Form.cs: Removed debug output
  12720. * Application.cs: Fixed focus assignment, always need to call
  12721. XplatUI.Activate() since Form.Activate() has rules that may
  12722. prevent activation
  12723. * NotifyIcon.cs: Should be complete now
  12724. * ToolTip.cs: Worked around possible timer bug
  12725. 2005-01-27 Jackson Harper <[email protected]>
  12726. * TabControl.cs:
  12727. - Only invalidate the effected tabs when the
  12728. selected index changes. This reduces drawing and gets rid of some
  12729. flicker.
  12730. - Only refresh if the tabs need to be shifted, otherwise only
  12731. invalidate the slider button.
  12732. - On windows the tabs are not filled to right if the slider is
  12733. visible.
  12734. 2005-01-27 Jackson Harper <[email protected]>
  12735. * TabControl.cs: Only refresh on mouseup if we are showing the
  12736. slider. Also only invalidate the button whose state has changed.
  12737. 2005-01-26 Peter Bartok <[email protected]>
  12738. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  12739. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  12740. and SystrayRemove() methods
  12741. * XplatUIOSX.cs: Stubbed Systray methods
  12742. * XplatUIX11.cs:
  12743. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  12744. methods
  12745. - Fixed broken XChangeProperty calls (marshalling messed up things)
  12746. * X11Structs.cs: Added enums and structs required for Size hinting
  12747. * NotifyIcon.cs: Added & implemented
  12748. 2005-01-26 Jackson Harper <[email protected]>
  12749. * TabControl.cs: Space vertically layed out tabs properly.
  12750. 2005-01-26 Peter Bartok <[email protected]>
  12751. * Form.cs (CreateClientParams): Always set the location to 0,0
  12752. since we're a child window.
  12753. * Control.cs (SetVisibleCore): Always explicitly setting the location
  12754. of a toplevel window, apparently X11 doesn't like to move windows
  12755. while they're not mapped.
  12756. 2005-01-26 Jackson Harper <[email protected]>
  12757. * TabControl.cs: Implement FillToRight size mode with vertically
  12758. rendered tabs.
  12759. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12760. * ControlPaint.cs, ThemeWin32Classic.cs
  12761. - Fixes DrawFocusRectangle
  12762. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12763. * MenuAPI.cs:
  12764. - MenuBar tracking only starts when item is first clicked
  12765. - Fixes menu hidding for multiple subitems
  12766. - Unselect item in MenuBar when item Executed
  12767. - Fixes bug 71495
  12768. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  12769. * ListControl.cs:
  12770. - IsInputKey for ListBox
  12771. * ListBox.cs:
  12772. - Focus item
  12773. - Shift and Control item selection
  12774. - Implement SelectionMode.MultiExtended
  12775. - Fixes RightToLeft
  12776. * ComboBox.cs:
  12777. - IsInputKey implemented
  12778. - Do not generate OnTextChangedEdit on internal txt changes
  12779. 2005-01-23 Peter Bartok <[email protected]>
  12780. * AccessibleObject.cs: Partially implemented Select()
  12781. * MonthCalendar.cs: Added missing attributes and events
  12782. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  12783. form can properly override CreateParams.
  12784. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12785. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  12786. Control performs Invalidate & Update
  12787. * NativeWindow (CreateHandle): Added special handling for Form
  12788. and Form.FormParent classes to allow overriding of From.CreateParams
  12789. * Control.cs:
  12790. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  12791. name 'owner'
  12792. - ControlNativeWindow: Added Owner property
  12793. - Removed usage of Refresh() on property changes, changed into
  12794. Invalidate(), we need to wait until the queue is processed for
  12795. updates, direct calls might cause problems if not all vars for
  12796. Paint are initialized
  12797. - Added call to UpdateStyles() when creating the window, to set any
  12798. styles that CreateWindow might have ignored.
  12799. - Added support for Form CreateParent overrides to UpdateStyles()
  12800. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  12801. CreateParams are now properly overridable
  12802. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  12803. CreateParams are now properly overridable
  12804. 2005-01-23 Miguel de Icaza <[email protected]>
  12805. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  12806. OnTextBoxChanged.
  12807. Capture LostFocus and OnTextBoxChanged. The later introduces a
  12808. recursive invocation that I have not figured out yet.
  12809. Reset the timer when not using (it was accumulating).
  12810. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  12811. user has made changes that require validation.
  12812. Reset changing to avoid loops.
  12813. 2005-01-22 Miguel de Icaza <[email protected]>
  12814. * NumericUpDown.cs: Display value at startup.
  12815. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  12816. ValidateEditText.
  12817. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  12818. filled in. Added some basic parsing of text.
  12819. Still missing the OnXXX method overrides, and figuring out the
  12820. events that must be emitted.
  12821. * UpDownBase.cs: Handle UserEdit on the Text property.
  12822. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  12823. * ComboBox.cs:
  12824. - Fixes IntegralHeight
  12825. - ToString method
  12826. 2005-01-21 Jackson Harper <[email protected]>
  12827. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  12828. is set so that the page visibility is updated and the tabs are
  12829. sized correctly.
  12830. 2005-01-21 Jackson Harper <[email protected]>
  12831. * TabControl.cs: Use cliping rectangle for blitting. Give the
  12832. theme the clipping rect so we can do clipping while
  12833. drawing. Remove some debug code.
  12834. 2005-01-21 Jackson Harper <[email protected]>
  12835. * TabPage.cs: Add a new method so tab pages can force the tab
  12836. control to recalculate the tab page sizes.
  12837. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  12838. sizes.
  12839. 2005-01-20 Jackson Harper <[email protected]>
  12840. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  12841. 2005-01-20 Jackson Harper <[email protected]>
  12842. * TreeView.cs: Set the bounds for nodes properly. They were
  12843. getting screwed up when checkboxes were not enabled, but images
  12844. were.
  12845. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  12846. * ListBox.cs:
  12847. - Owner draw support
  12848. - Fixes
  12849. 2005-01-20 Jackson Harper <[email protected]>
  12850. * XplatUIStructs.cs: More misc keys
  12851. * X11Keyboard.cs: Ignore some control keys.
  12852. 2005-01-20 Jackson Harper <[email protected]>
  12853. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  12854. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  12855. 2005-01-19 Peter Bartok <[email protected]>
  12856. * Control.cs: Un-selecting the control when it is loosing focus
  12857. 2005-01-19 Jackson Harper <[email protected]>
  12858. * TreeView.cs: Hook up to the text controls leave event so we can
  12859. end editing when the users clicks outside the text box.
  12860. 2005-01-19 Jackson Harper <[email protected]>
  12861. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  12862. get set in the conversion array.
  12863. 2005-01-19 Peter Bartok <[email protected]>
  12864. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  12865. focus is properly set
  12866. * Button.cs:
  12867. - Added missing attributes
  12868. - removed styles, those are already set in the base class
  12869. * ButtonBase.cs:
  12870. - Added missing attributes
  12871. - Added clip window styles
  12872. * CheckBox.cs: Added missing attributes
  12873. * CommonDialog.cs:
  12874. - FormParentWindow.CreateParams: Added required clip styles
  12875. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  12876. also filters modifier keys
  12877. * MessageBox.cs:
  12878. - Added assignment of Accept and Cancel button to enable Enter
  12879. and Esc keys in MessageBox dialogs
  12880. - FormParentWindow.CreateParams: Added required clip styles
  12881. * RadioButton.cs: Added missing attributes
  12882. * TextControl.cs: No longer draws selection if control does not
  12883. have focus
  12884. * TextBoxBase.cs:
  12885. - Now draws simple rectangle around test area to make it obvious
  12886. there's a control. This is a hack until we properly support borders
  12887. - A few simple fixes to support selections better, now erases selected
  12888. text when typing, and resets selection when using movement keys
  12889. 2005-01-19 Miguel de Icaza <[email protected]>
  12890. * UpDownBase.cs: Added some new properties.
  12891. * DomainUpDown.cs: Implement a lot to get my test working.
  12892. 2005-01-19 Geoff Norton <[email protected]>
  12893. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  12894. 2005-01-19 Geoff Norton <[email protected]>
  12895. * OSXStructs (WindowAttributes): Fixed csc complaints
  12896. 2005-01-19 Geoff Norton <[email protected]>
  12897. * XplayUIOSX.cs:
  12898. OSXStructs.cs: Initial refactor to move enums and consts into
  12899. OSXStructs and use them in the driver for greater readability.
  12900. 2005-01-19 Geoff Norton <[email protected]>
  12901. * XplatUIOSX.cs: Initial support for Standard Cursors.
  12902. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  12903. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  12904. * ComboBox.cs: ability to change style when the ctrl is already
  12905. created, missing methods and events, bug fixes, signature fixes
  12906. 2005-01-19 Peter Bartok <[email protected]>
  12907. * Cursors.cs (ctor): Added ctor to fix signature
  12908. 2005-01-18 Peter Bartok <[email protected]>
  12909. * Button.cs: Implemented DoubleClick event
  12910. * ButtonBase.cs:
  12911. - Fixed keyboard handling to behave like MS, where the press of
  12912. Spacebar is equivalent to a mousedown, and the key release is
  12913. equivalent to mouseup. Now a spacebar push will give the same
  12914. visual feedback like a mouse click.
  12915. - Added missing attributes
  12916. - Added ImeModeChanged event
  12917. - Added support for generating DoubleClick event for derived classes
  12918. * CheckBox.cs:
  12919. - Implemented DoubleClick event
  12920. - Added missing attributes
  12921. * CommonDialog.cs: Added missing attribute
  12922. * ContextMenu.cs: Added missing attributes
  12923. * RadioButton.cs:
  12924. - AutoChecked buttons do not allow to be unselected when clicked
  12925. (otherwise we might end up with no selected buttons in a group)
  12926. - Added missing attributes
  12927. - Implemented DoubleClickEvent
  12928. * ThreadExceptionDialog.cs: Enabled TextBox code
  12929. 2005-01-18 Peter Bartok <[email protected]>
  12930. * Form.cs: Removed debug output
  12931. * Button.cs: Added support for DoubleClick method
  12932. 2005-01-18 Peter Bartok <[email protected]>
  12933. * Form.cs:
  12934. - Added method to parent window that allows triggering size
  12935. calculations when a menu is added/removed
  12936. - set_Menu: Cleaned up mess from early days of Form and Control,
  12937. now properly triggers a recalc when a menu is added/removed
  12938. - Added case to select form itself as focused form if no child
  12939. controls exist
  12940. - Added PerformLayout call when showing dialog, to ensure properly
  12941. placed controls
  12942. * Control.cs:
  12943. - Select(): Made internal so Form can access it
  12944. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  12945. status
  12946. * Application.cs (Run): Removed hack and calls PerformLayout instead
  12947. to trigger calculation when Form becomes visible
  12948. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  12949. * ComboBox.cs: fixes for ownerdraw
  12950. 2005-01-18 Peter Bartok <[email protected]>
  12951. * TextControl.cs:
  12952. - Sentinel is no longer static, each Document gets it's own, this
  12953. avoids locking or alternatively overwrite problems when more
  12954. than one text control is used simultaneously.
  12955. - Switched to use Hilight and HilightText brushes for text selection
  12956. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  12957. 2005-01-18 Peter Bartok <[email protected]>
  12958. * Control.cs:
  12959. - Hooked up the following events:
  12960. o ControlAdded
  12961. o ControlRemoved
  12962. o HandleDestroyed
  12963. o ImeModeChanged
  12964. o ParentChanged
  12965. o TabStopChanged
  12966. o Invalidated
  12967. o SystemColorsChanged
  12968. o ParentFontChanged
  12969. o Move
  12970. - Removed debug output
  12971. - Added a call to the current theme's ResetDefaults when a color change
  12972. is detected
  12973. * Form.cs: Now setting the proper ImeMode
  12974. * Theme.cs: Defined a method to force recreation of cached resources
  12975. and rereading of system defaults (ResetDefaults())
  12976. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  12977. 2005-01-17 Peter Bartok <[email protected]>
  12978. * Control.cs: Added missing attributes
  12979. 2005-01-17 Jackson Harper <[email protected]>
  12980. * TreeNode.cs: Implement editing. Add missing properties selected
  12981. and visible.
  12982. * TreeView.cs: Implement node editing. Also some fixes to use
  12983. Invalidate (invalid area) instead of Refresh when selecting.
  12984. 2005-01-17 Peter Bartok <[email protected]>
  12985. * Control.cs:
  12986. - Implemented InvokeGotFocus() method
  12987. - Implemented InvokeLostFocus() method
  12988. - Implemented InvokePaint() method
  12989. - Implemented InvokePaintBackground() method
  12990. - Implemented InvokeClick() method
  12991. - Implemented FindForm() method
  12992. - Implemented RectangleToClient() method
  12993. - Implemented ClientToRectangle() method
  12994. - Implemented ResetBackColor() method
  12995. - Implemented ResetCursor() method
  12996. - Implemented ResetFont() method
  12997. - Implemented ResteForeColor() method
  12998. - Implemented ResetImeMode() method
  12999. - Implemented ResetLeftToRight() method
  13000. - Implemented ResetText() method
  13001. - Implemented Scale() methods
  13002. - Implemented ScaleCore() method
  13003. - Implemented Update() method
  13004. - Removed unused variables
  13005. - Stubbed AccessibilityNotifyClients and
  13006. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  13007. with those yet)
  13008. - Now setting proper default for RightToLeft property
  13009. - Fixed bug in SetClientSizeCore that would cause windows to get
  13010. really big
  13011. - Now sending Click/DoubleClick events
  13012. - Now selecting controls when left mouse button is clicked on
  13013. selectable control
  13014. * AccessibleEvents.cs: Added
  13015. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  13016. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  13017. * XplatUIWin32.cs: Implemented UpdateWindow() method
  13018. * XplatUIX11.cs: Implemented UpdateWindow() method
  13019. * Form.cs: Removed stray semicolon causing CS0162 warning
  13020. * ThemeWin32Classic.cs: Fixed unused variable warnings
  13021. * ScrollableControl.cs: Now calls base method for ScaleCore
  13022. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  13023. style to avoid interference with internal click handler (which is
  13024. different than standard Control click handling)
  13025. * RadioButton.cs:
  13026. - Now unchecks all sibling radio buttons when control is
  13027. selected (Fixes #68756)
  13028. - Removed internal tabstop variable, using the one inherited from
  13029. Control
  13030. 2005-01-17 Jackson Harper <[email protected]>
  13031. * NavigateEventArgs.cs: Fix base type.
  13032. * LinkLabel.cs: Sig fix
  13033. 2005-01-17 Jackson Harper <[email protected]>
  13034. * TreeView.cs: Only invalidate the effected nodes bounds when
  13035. selecting nodes.
  13036. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13037. * XplatUIWin32.cs: fixes Win32 marshaling
  13038. * XplatUIX11.cs: fixes method signature
  13039. 2005-01-17 Peter Bartok <[email protected]>
  13040. * XplatUIX11.cs: Clean up resources when we no longer need them
  13041. 2005-01-17 Peter Bartok <[email protected]>
  13042. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  13043. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  13044. and DestroyCursor() methods.
  13045. * Cursor.cs: Partially implemented, now supports standard cursors;
  13046. still contains some debug code
  13047. * Cursors.cs: Implemented class
  13048. * Control.cs:
  13049. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  13050. appropriate cursor
  13051. - Implemented Cursor property
  13052. - Replaced break; with return; more straightforwar and possibly
  13053. faster
  13054. - Now properly setting the result for WM_HELP
  13055. * X11Structs.cs: Added CursorFontShape enum
  13056. * XplatUIStructs.cs:
  13057. - Added StdCursor enum (to support DefineStdCursor() method)
  13058. - Added HitTest enum (to support sending WM_SETCURSOR message)
  13059. * XplatUIX11.cs:
  13060. - Now sends the WM_SETCURSOR message
  13061. - Implemented new cursor methods
  13062. * XplatUIOSX.cs: Stubbed new cursor methods
  13063. * XplatUIWin32.cs:
  13064. - Implemented new cursor methods
  13065. - Added GetSystemMetrics function and associated enumeration
  13066. 2005-01-15 Peter Bartok <[email protected]>
  13067. * Control.cs:
  13068. - WndProc(): Now handles EnableNotifyMessage
  13069. - SelectNextControl(): Fixed bug where if no child or sibling
  13070. controls exist we looped endlessly
  13071. 2005-01-14 Jackson Harper <[email protected]>
  13072. * TreeView.cs: Recalculate the tab pages when a new one is added
  13073. so that the proper bounding rects are created.
  13074. 2005-01-14 Jackson Harper <[email protected]>
  13075. * TreeView.cs: Draw a gray box instead of a grip in the lower
  13076. right hand corner when there are both horizontal and vertical
  13077. scroll bars.
  13078. 2005-01-14 Jackson Harper <[email protected]>
  13079. * Control.cs: When erasing backgrounds use FromHwnd instead of
  13080. FromHdc when there is a NULL wparam. This occurs on the X driver.
  13081. * XplatUIX11.cs: Set the wparam to NULL.
  13082. 2005-01-13 Jackson Harper <[email protected]>
  13083. * PictureBox.cs: Implement missing methods (except ToString, need
  13084. to test that on windows) and events. When visibility is changed we
  13085. need to redraw the image because the buffers are killed. When size
  13086. is changed refresh if the sizemode needs it.
  13087. 2005-01-13 Peter Bartok <[email protected]>
  13088. * Control.cs (SelectNextControl): Was using wrong method to select
  13089. a control
  13090. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13091. * ComboBox.cs: fixes dropstyle
  13092. 2005-01-13 Peter Bartok <[email protected]>
  13093. * Form.cs:
  13094. - Implemented Select() override
  13095. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  13096. - Now sets keyboard focus on startup
  13097. * Control.cs (SelectNextControl): Now properly handles directed=true
  13098. * TextBoxBase.cs:
  13099. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  13100. - Added (really bad) focus rectangle (mostly for testing)
  13101. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  13102. to enforce redraw on focus changes
  13103. * ContainerControl.cs:
  13104. - Fixed detection of Shift-Tab key presses
  13105. - Fixed traversal with arrow keys
  13106. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  13107. gonna keep this or if it's complete yet
  13108. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13109. * ComboBox.cs: missing properties, fixes
  13110. 2005-01-13 Peter Bartok <[email protected]>
  13111. * Panel.cs (ctor): Setting Selectable window style to off
  13112. * Splitter.cs (ctor): Setting Selectable window style to off
  13113. * GroupBox.cs (ctor): Setting Selectable window style to off
  13114. * Label.cs (ctor): Setting Selectable window style to off
  13115. 2005-01-12 Miguel de Icaza <[email protected]>
  13116. * UpDownBase.cs (InitTimer): If the timer has been already
  13117. created, enable it.
  13118. Use a TextBox instead of a Label.
  13119. 2005-01-12 Jackson Harper <[email protected]>
  13120. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  13121. draw the connecting node lines (when ShowLines is true).
  13122. * TreeNode.cs: The nodes index can now be updated. This is used
  13123. when a node collection is sorted.
  13124. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  13125. insert or an existing unsorted node collection can be sorted.
  13126. 2005-01-12 Peter Bartok <[email protected]>
  13127. * ContainerControl.cs: Implemented ProcessDialogKeys()
  13128. 2005-01-12 Peter Bartok <[email protected]>
  13129. * Control.cs:
  13130. - Implemented SelectNextControl() method
  13131. - Several focus related bug fixes
  13132. - Fixed Docking calculations to match MS documentation and
  13133. behaviour
  13134. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  13135. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  13136. bug fixes
  13137. 2005-01-12 Peter Bartok <[email protected]>
  13138. * Control.cs:
  13139. - Fixed broken Contains() method
  13140. - Implemented GetNextControl() method. Finally. This is the pre-
  13141. requisite for focus handling.
  13142. 2005-01-12 Peter Bartok <[email protected]>
  13143. * OSXStrucs.cs: Added
  13144. 2005-01-12 Peter Bartok <[email protected]>
  13145. * XplatUIWin32.cs:
  13146. - Removed PeekMessageFlags
  13147. - Implemented SetWindowStyle() method
  13148. * XplatUIStructs.cs: Added PeekMessageFlags
  13149. * X11Structs: Added missing border_width field to XWindowChanges struct
  13150. * XplatUIX11.cs:
  13151. - PeekMessage: Now throws exception if flags which are not yet
  13152. supported are passed
  13153. - Implemented SetWindowStyle() method
  13154. - Fixed SetZOrder to handle AfterHwnd properly
  13155. * XplatUI.cs: Added SetWindowStyle() method
  13156. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  13157. * Control.cs:
  13158. - Implemented UpdateStyles() method
  13159. - Implemented UpdateZOrder() method
  13160. * XplatUIOSX.cs: Added SetWindowStyle() stub
  13161. 2005-01-12 Geoff Norton <[email protected]>
  13162. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  13163. button mouse).
  13164. 2005-01-11 Jackson Harper <[email protected]>
  13165. * TreeView.cs: Still need to draw lines to siblings even if out of
  13166. the current node is out of the clip.
  13167. 2005-01-11 Jackson Harper <[email protected]>
  13168. * TreeView.cs: When setting the hbar/vbar/grip position use
  13169. SetBounds so that perform layout is only called once. Also suspend
  13170. and resume layout so layout is only done once for all controls.
  13171. - Removed some debug fluff
  13172. * SizeGrip.cs: Call base implmentation in overriding methods.
  13173. - When visibility is changed the drawing buffers are killed so we
  13174. need to redraw.
  13175. 2005-01-11 Jackson Harper <[email protected]>
  13176. * TreeView.cs: Calculate the open node count while drawing. This
  13177. saves us an entire tree traversal for every paint operation. Use
  13178. a member var for the open node count so less vars are passed around.
  13179. 2005-01-11 John BouAntoun <[email protected]>
  13180. * MonthCalendar.cs:
  13181. - fixed selection to use mousemove, not mouse polling on timer
  13182. * ThemeWin32Classic.cs
  13183. - removed redundant unused variable "no_more_content"
  13184. 2005-01-11 Peter Bartok <[email protected]>
  13185. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  13186. are pending, so it now calls PeekMessage instead of GetMessage;
  13187. implemented a incomplete version of PeekMessage
  13188. 2005-01-11 Peter Bartok <[email protected]>
  13189. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  13190. I18n issues
  13191. * TextBoxBase.cs: Added sending of TextChanged event
  13192. 2005-01-10 Jackson Harper <[email protected]>
  13193. * TreeView.cs: Try not to draw outside the clipping rectangle on
  13194. each node element.
  13195. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  13196. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  13197. 2005-01-10 Jackson Harper <[email protected]>
  13198. * TreeView.cs:
  13199. - Implement fast scrolling. Now only the newly
  13200. exposed nodes are drawn and the old image is moved using the
  13201. XplatUI::ScrollWindow method.
  13202. - Factor in height of nodes when calculating whether or not the
  13203. node is in the clipping rect.
  13204. 2005-01-10 Jackson Harper <[email protected]>
  13205. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  13206. 2005-01-10 Peter Bartok <[email protected]>
  13207. * Application.cs: Added temporary hack to resolve all our resize
  13208. required issues on startup. This will get fixed properly at
  13209. some point in the future
  13210. 2005-01-10 Jackson Harper <[email protected]>
  13211. * SizeGrip.cs: New internal class that is used as a sizing
  13212. grip control...hence the name.
  13213. 2005-01-10 Peter Bartok <[email protected]>
  13214. * Control.cs: Implemented proper TabIndex handling, now assigning
  13215. a tabindex when a control is added to a container
  13216. * GroupBox.cs (ctor): Now sets the Container style bit, required
  13217. for Control.GetNextControl()
  13218. 2005-01-09 Jackson Harper <[email protected]>
  13219. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  13220. 2005-01-09 Peter Bartok <[email protected]>
  13221. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  13222. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  13223. an overload for ScrollWindow to allow only scrolling a rectangle
  13224. 2005-01-09 Peter Bartok <[email protected]>
  13225. * Form.cs:
  13226. - Implemented SetDesktopBounds method
  13227. - Implemented SetDesktopLocation method
  13228. 2005-01-08 Jackson Harper <[email protected]>
  13229. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  13230. the node count has changed, this removes to VScroll::Refresh calls
  13231. when drawing.
  13232. 2005-01-08 Geoff Norton <[email protected]>
  13233. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  13234. 2005-01-07 Jackson Harper <[email protected]>
  13235. * TreeNode.cs: Just update the single node when it is
  13236. checked. Don't refresh after toggling, the Expand/Collapse already
  13237. handles this.
  13238. * TreeView.cs: Respect clipping a little more when drawing. Try
  13239. not to redraw things that don't need to be redrawn. Just hide the
  13240. scrollbars when they are no longer needed instead of removing
  13241. them, so they don't have to be created again and again.
  13242. 2005-01-07 Geoff Norton <[email protected]>
  13243. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  13244. coordinates to window space to place the caret properly, FIXED.
  13245. Implement GetWindowState & SetWindowState
  13246. 2005-01-06 Peter Bartok <[email protected]>
  13247. * Form.cs:
  13248. - Implemented ClientSize property
  13249. - Implemented DesktopBounds property
  13250. - Implemented DesktopLocation property
  13251. - Implemented IsRestrictedWindow property
  13252. - Implemented Size property
  13253. - Implemented TopLevel property
  13254. - Implemented FormWindowState property
  13255. * Control.cs:
  13256. - Implemented GetTopLevel() method
  13257. - Implemented SetTopLevel() method
  13258. * X11Structs.cs (Atom):
  13259. - Added AnyPropertyType definition
  13260. - Added MapState definiton and updated XWindowAttribute struct
  13261. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  13262. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  13263. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  13264. * XplatUIWin32.cs:
  13265. - Implemented GetWindowState() and SetWindowState() methods
  13266. - Fixed Win32GetWindowLong return type
  13267. * XplatUIX11.cs:
  13268. - Introduced central function for sending NET_WM messages
  13269. - Implemented GetWindowState() and SetWindowState() methods
  13270. * TextBoxBase.cs (set_Lines):
  13271. - Now uses Foreground color for text added via Text property (Duh!)
  13272. - Added code to remember programmatically requested size (fixes
  13273. behaviour when Multiline is set after Size)
  13274. - Added AutoSize logic
  13275. 2005-01-06 Jackson Harper <[email protected]>
  13276. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  13277. 2005-01-06 Jackson Harper <[email protected]>
  13278. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  13279. set to less then 0.
  13280. 2005-01-06 Jackson Harper <[email protected]>
  13281. * ScrollableControl.cs: Lazy init the scrollbars.
  13282. 2005-01-06 Jackson Harper <[email protected]>
  13283. * Theme.cs: Speed up getting pens and solid brushes, by using
  13284. their ARGB as a hash instead of tostring and not calling Contains.
  13285. 2005-01-06 Peter Bartok <[email protected]>
  13286. * Form.cs:
  13287. - Implemented OnActivated and OnDeactivate event trigger
  13288. - Implemented Activate() method
  13289. - Fixed ShowDialog() to activate the form that was active before
  13290. the dialog was shown
  13291. * XplatUIX11.cs:
  13292. - Added global active_window var that tracks the currently active
  13293. X11 window
  13294. - Now always grabs Property changes from the root window to always
  13295. catch changes on the active window property
  13296. - Added code to PropertyNotify handler to send Active/Inactive
  13297. messages when state changes. This puts X11 and Win32 en par on
  13298. WM_ACTIVATE notifications (except for double notifications when
  13299. the user clicks away from our modal window to another one of our
  13300. windows)
  13301. 2005-01-05 Jackson Harper <[email protected]>
  13302. * ImageList.cs: Implment ctor
  13303. 2005-01-05 Geoff Norton <[email protected]>
  13304. * XplatUIOSX.cs: Implement Activate/SetTopmost
  13305. 2005-01-05 Geoff Norton <[email protected]>
  13306. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  13307. 2005-01-05 Geoff Norton <[email protected]>
  13308. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  13309. 2005-01-05 Peter Bartok <[email protected]>
  13310. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  13311. XplatUIOSX.cs: Added GetActive method to return the currently
  13312. active window for the application (or null, if none is active)
  13313. * Form.cs:
  13314. - Implemented ActiveForm
  13315. - Commented out owner assignment for modal dialogs (causes problems
  13316. on Win32, since the owner will be disabled)
  13317. - Reworked some Active/Focus handling (still incomplete)
  13318. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  13319. (causes problems on Win32, since the owner will be disabled)
  13320. * IWin32Window: Added ComVisible attribute
  13321. 2005-01-05 Peter Bartok <[email protected]>
  13322. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  13323. required XplatUI functions.
  13324. 2005-01-05 Peter Bartok <[email protected]>
  13325. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  13326. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  13327. to implement focus and activation handling; still incomplete and
  13328. with debug output
  13329. 2005-01-04 Peter Bartok <[email protected]>
  13330. * TextBoxBase.cs: Changed access level for Document property to
  13331. match switch to internal for TextControl
  13332. 2005-01-04 Peter Bartok <[email protected]>
  13333. * AccessibleObject: Added ComVisible attribute
  13334. 2005-01-04 Jackson Harper <[email protected]>
  13335. * X11Keyboard.cs: Remove unneeded var.
  13336. 2005-01-04 Jackson Harper <[email protected]>
  13337. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  13338. but PAINT.
  13339. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  13340. ClientMessage. This makes apps exit cleanly (more often).
  13341. 2005-01-04 Jackson Harper <[email protected]>
  13342. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  13343. handling focus, return correct colors and fonts,
  13344. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  13345. handle selection, horizontal scrolling, and mouse interaction.
  13346. 2005-01-04 Peter Bartok <[email protected]>
  13347. * ICommandExecutor.cs: Added
  13348. * IDataGridColumnStyleEditingNotificationService.cs: Added
  13349. * IFeatureSupport.cs: Added
  13350. * IFileReaderService.cs: Added
  13351. * IDataObject.cs: Added ComVisible attribute
  13352. * AmbientProperties.cs: Added
  13353. * BaseCollection.cs: Added missing attributes
  13354. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  13355. * BaseCollection.cs: Added missing attributes
  13356. * Binding.cs: Added TypeConverter attribute
  13357. * BindingContext.cs: Added DefaultEvent attribute
  13358. * BindingsCollection.cs: Added DefaultEvent attribute
  13359. * Button.cs: Added DefaultValue attribute
  13360. * DragEventArgs.cs: Added ComVisible attribute
  13361. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  13362. * KeyEventArgs.cs: Added ComVisible attribute
  13363. * KeyPressEventArgs.cs: Added ComVisible attribute
  13364. * MouseEventArgs.cs: Added ComVisible attribute
  13365. * NavigateEventArgs.cs: Added
  13366. * NavigateEventHandler.cs: Added
  13367. * FeatureSupport.cs: Added
  13368. * OSFeature.cs: Added
  13369. * Theme.cs: Added abstract Version property to support OSFeature
  13370. * ThemeWin32Classic.cs: Added Version property to
  13371. support OSFeature.Themes
  13372. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  13373. the proper styles to avoid background drawing are set, also doesn't
  13374. match MS signature
  13375. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  13376. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  13377. * ScrollEventArgs.cs: Added ComVisible attribute
  13378. * SplitterEventArgs.cs: Added ComVisible attribute
  13379. * AccessibleSelection.cs: Added Flags attribute
  13380. * Appearance.cs: Added ComVisible attribute
  13381. * Border3DSide.cs: Added ComVisible attribute
  13382. * Border3DStyle.cs: Added ComVisible attribute
  13383. * BorderStyle.cs: Added ComVisible attribute
  13384. * DragAction.cs: Added ComVisible attribute
  13385. * ErrorBlinkStyle.cs: Added
  13386. * ScrollEventType.cs: Added ComVisible attribute
  13387. * AnchorStyles.cs: Added Editor attribute
  13388. * DockStyle.cs: Added Editor attribute
  13389. * HorizontalAlignment.cs: Added ComVisible attribute
  13390. * HelpEventArgs.cs: Added ComVisible attribute
  13391. * PaintEventArgs.cs: Added IDisposable
  13392. 2005-01-04 Peter Bartok <[email protected]>
  13393. * TextControl.cs: Switched Line, LineTag and Document classes to
  13394. internal
  13395. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  13396. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  13397. Simple mode, fixes, IntegralHeight, etc.
  13398. 2005-01-04 Peter Bartok <[email protected]>
  13399. * TextBoxBase.cs: Using proper font variable now
  13400. 2005-01-04 Peter Bartok <[email protected]>
  13401. * Form.cs (ShowDialog): Set parent to owner, if provided
  13402. * GroupBox.cs: Removed unused vars
  13403. * TextControl.cs:
  13404. - Added GetHashCode() for Document and LineTag classes
  13405. - Removed unused variables
  13406. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  13407. to allow translation between continuous char position and line/pos
  13408. * CheckBox.cs: Removed vars that are provided by base class
  13409. * RadioButton.cs: Removed vars that are provided by base class, added
  13410. new keyword where required
  13411. * LinkLabel.cs: Added new keyword where required
  13412. * Control.cs (WndProc): Removed unused variable
  13413. * TextBoxBase.cs:
  13414. - Finished SelectionLength property
  13415. - Implemented SelectionStart property
  13416. - Implemented Text property
  13417. - Removed unused vars
  13418. * MessageBox.cs: Added new keyword where required
  13419. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  13420. WndProc signature
  13421. * MenuAPI.cs: Added new keyword where required
  13422. * ButtonBase.cs: Removed vars that are provided by base class, added
  13423. new keyword where required
  13424. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  13425. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  13426. into this)
  13427. * Application.cs (Run): Now triggers the ThreadExit event
  13428. * CommonDialog.cs: Added new keyword where required; now properly sets
  13429. parent (owner) for dialog
  13430. * XplatUIX11.cs: Commented out unused vars
  13431. * StatusBar.cs: Fixed signature for Text property
  13432. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  13433. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  13434. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  13435. TrackBar.cs, MonthCalendar.cs: remove unused vars
  13436. 2005-01-03 Jackson Harper <[email protected]>
  13437. * ThemeWin32Classic.cs:
  13438. * X11Keyboard.cs: Remove unused vars.
  13439. 2005-01-03 Peter Bartok <[email protected]>
  13440. * TextBox.cs:
  13441. - set_Text: Tied into TextControl
  13442. - set_TextAlignment: Tied into TextControl
  13443. * TextControl.cs:
  13444. - Added alignment properties and implemented alignment handling
  13445. and drawing (still has a bug, not generating proper expose events)
  13446. - Added new Line() constructor to allow passing the line alignment
  13447. - Fixed selection setting, properly handling end<start now
  13448. - Added aligment considerations to RecalculateDocument()
  13449. * TextBoxBase.cs:
  13450. - Now properly enforces control height for single line controls
  13451. - Added support for CharacterCasing
  13452. - Added IsInputKey override
  13453. - Fixed Keys.Enter logic
  13454. - Added SetBoundsCore override
  13455. - Fixed mouse selection handling
  13456. 2005-01-03 Jackson Harper <[email protected]>
  13457. * TreeView.cs:
  13458. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  13459. - Checkboxes are always aligned to the bottom of the node,
  13460. regardless of item height.
  13461. - Use the node bounds to draw the text so we can center it when
  13462. the item height is greater then the font height.
  13463. - Node::Bounds are only the text part of the node.
  13464. * TreeNode.cs: New method to combine collapsing and unchecking all
  13465. nodes recursively.
  13466. 2005-01-02 Jackson Harper <[email protected]>
  13467. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  13468. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  13469. tree when a check is changed. TODO: Only refresh the checked node.
  13470. 2004-12-30 Jackson Harper <[email protected]>
  13471. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  13472. * TreeNode.cs: When collapsing make sure to never collapse the
  13473. root node.
  13474. 2004-12-29 Jackson Harper <[email protected]>
  13475. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  13476. 2004-12-28 Zoltan Varga <[email protected]>
  13477. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  13478. 2004-12-28 Peter Bartok <[email protected]>
  13479. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  13480. not yet assigned
  13481. 2004-12-28 Peter Bartok <[email protected]>
  13482. * Control.cs (WndProc): Added WM_HELP handler, now generates
  13483. HelpRequested event
  13484. * Form.cs: Added HelpButton property and required support code
  13485. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  13486. 2004-12-28 Peter Bartok <[email protected]>
  13487. * CommonDialog.cs:
  13488. - Made DialogForm.owner variable internal
  13489. - Added check to ensure owner form is set before setting
  13490. owner properties in CreateParams
  13491. 2004-12-28 Geoff Norton <[email protected]>
  13492. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  13493. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  13494. GetCursorPos. Fix major visibility issues. Rework the windowing
  13495. system to support borderless/titleless windows (implements menus).
  13496. Fix GetWindowPos. Implement initial background color support for
  13497. views.
  13498. 2004-12-28 Peter Bartok <[email protected]>
  13499. * Form.cs (get_CreateParams): Make sure we have an owner before using
  13500. the owner variable. Implement proper default if no owner exists
  13501. 2004-12-28 Peter Bartok <[email protected]>
  13502. * In preparation for making Managed.Windows.Forms the default build target
  13503. for System.Windows.Forms, the following stubbed files were added.
  13504. Dialogs are currently being implemented by contributors and are only
  13505. short-term place holders.
  13506. * ColorDialog.cs: Initial check-in (minmal stub)
  13507. * DataGrid.cs: Initial check-in (minimal stub)
  13508. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  13509. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  13510. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  13511. * FontDialog.cs: Initial check-in (minimal stub)
  13512. * FileDialog.cs: Initial check-in (minimal stub)
  13513. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  13514. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  13515. * OpenFileDialog: Initial check-in (minimal stub)
  13516. * IComponentEditorPageSite.cs: Initial check-in
  13517. * Splitter.cs: Initial check-in (for Jackson)
  13518. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  13519. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  13520. * TextBox.cs: Initial check-in; still needs some wiring to
  13521. TextControl backend
  13522. * Form.cs: Implemented ControlBox property
  13523. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  13524. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  13525. * TextControl.cs: Added selection functionality; added todo header
  13526. * TextBoxBase.cs:
  13527. - Implemented Lines property
  13528. - Implemented TextHeight property
  13529. - Implemented SelectedText property
  13530. - Implemented SelectionLength property
  13531. - Implemented SelectAll method
  13532. - Implemented ToString method
  13533. - Removed and cleaned up some debug code
  13534. - Implemented (still buggy) mouse text selection
  13535. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  13536. * ComboBox.cs: Complete DropDownList implementation, fixes.
  13537. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  13538. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  13539. * ComboBoxStyle.cs: ComboBoxStyle enum
  13540. * ComboBox.cs: Initial work on ComboBox control
  13541. 2004-12-21 Peter Bartok <[email protected]>
  13542. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  13543. forward so that anything that creates a window gets the default,
  13544. also no longer uses Visible property in CreateParams to avoid
  13545. walking up the parent chain and possibly get the wrong visible
  13546. status. Fixed IsVisible to no longer walk up to the parent.
  13547. 2004-12-21 Peter Bartok <[email protected]>
  13548. * Form.cs (ShowDialog): Unset modality for the proper window
  13549. 2004-12-20 Peter Bartok <[email protected]>
  13550. * CommonDialog.cs: Initial check-in
  13551. 2004-12-20 Peter Bartok <[email protected]>
  13552. * Control.cs (Visible): Now uses the parent window instead of the
  13553. client area window for the property
  13554. * Form.cs
  13555. - ShowDialog(): Now uses the proper window for modality
  13556. - The default visibility state for the form parent is now false. This
  13557. will prevent the user from seeing all the changes to the form and
  13558. its controls before the application hits Application.Run()
  13559. - Removed some stale commented out code
  13560. * NativeWindow.cs:
  13561. - Added FindWindow() method to have a method to check for existence
  13562. of a window handle
  13563. - Added ability to override default exception handling (for example
  13564. when debugging with VS.Net; to do this the ExternalExceptionHandler
  13565. define must be set
  13566. - Removed some useless debug output
  13567. * XplatUIX11.cs:
  13568. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  13569. not working as expected
  13570. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  13571. property to allow switching back to the modal window if focus is
  13572. given to another one of our windows (Application Modal)
  13573. - Now only sets override_redirect if we create a window
  13574. without WS_CAPTION
  13575. - Moved EventMask selection before mapping of newly created window
  13576. so we can catch the map event as well
  13577. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  13578. - Added various Atom related DllImports
  13579. - Implemented Exit() method
  13580. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  13581. in the CreateParams
  13582. * MessageBox.cs: Now properly deals with the FormParent window by
  13583. providing an override the FormParent CreateParams property to
  13584. set as POPUP instead of OVERLAPPED window.
  13585. 2004-12-19 Geoff Norton <[email protected]>
  13586. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  13587. Minor code cleanup.
  13588. 2004-12-19 Geoff Norton <[email protected]>
  13589. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  13590. 2004-12-18 Peter Bartok <[email protected]>
  13591. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  13592. implementing SetModal() method
  13593. 2004-12-18 Peter Bartok <[email protected]>
  13594. * X11Structs.cs (XGCValues): Fixed type of function element
  13595. * XplatUI.cs: Added ScrollWindow() method
  13596. * XplatUIDriver.cs: Added ScrollWindow() abstract
  13597. * XplatUIWin32.cs: Implemented ScrollWindow() method
  13598. * XplatUIX11.cs: Implemented ScrollWindow() method
  13599. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  13600. 2004-12-17 Geoff Norton <[email protected]>
  13601. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  13602. Some more keyboard support (INCOMPLETE)
  13603. 2004-12-17 Peter Bartok <[email protected]>
  13604. * TextControl.cs:
  13605. - Added color attribute to line tags.
  13606. - Added color argument to all functions dealing with tags
  13607. - Added color argument support to various functions
  13608. - Fixed miss-calculation of baseline/shift in certain circumstances
  13609. * TextBoxBase.cs: Added new color option to test code
  13610. 2004-12-17 Jackson Harper <[email protected]>
  13611. * TreeNode.cs:
  13612. * MonthCalendar.cs: Signature fixes
  13613. 2004-12-17 Geoff Norton <[email protected]>
  13614. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  13615. keyboard event moved it. Create a new graphics context for each paint resolves this
  13616. 2004-12-17 Geoff Norton <[email protected]>
  13617. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  13618. Make caret exist and go blink blink. Initial keyboard support.
  13619. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  13620. works.
  13621. 2004-12-17 Jackson Harper <[email protected]>
  13622. * XplatUIStructs.cs: Updated set of virtual keycodes.
  13623. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  13624. 2004-12-17 Jackson Harper <[email protected]>
  13625. * XplatUIX11.cs: Prune old keyboard code.
  13626. 2004-12-17 Jackson Harper <[email protected]>
  13627. * XplatUIX11.cs: When generating mouse wparams get the modifier
  13628. keys from the ModifierKeys property.
  13629. 2004-12-17 Jackson Harper <[email protected]>
  13630. * X11Keyboard.cs: Send up/down input when generating
  13631. messages. Remove some unused vars.
  13632. 2004-12-17 Jackson Harper <[email protected]>
  13633. * TabControl.cs:
  13634. * TreeView.cs: get rid of warnings.
  13635. 2004-12-17 Jackson Harper <[email protected]>
  13636. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  13637. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  13638. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  13639. CheckedListBox.cs: Implementation
  13640. 2004-12-17 Peter Bartok <[email protected]>
  13641. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  13642. 2004-12-16 Peter Bartok <[email protected]>
  13643. * TextControl.cs:
  13644. - InsertCharAtCaret(): Fixed start pos fixup
  13645. - CaretLine_get: No longer derives the line from the tag, the tag
  13646. could be stale if lines in the document have been added or deleted
  13647. - RebalanceAfterDelete(): Fixed bug in balancing code
  13648. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  13649. - Line.Streamline(): Now can also elminate leading empty tags
  13650. - DumpTree(): Added a few more tests and prevented exception on
  13651. uninitialized data
  13652. - Added Debug section for Combining lines
  13653. - Delete(): Now copies all remaining properties of a line
  13654. * TextBoxBase.cs:
  13655. - Left mousebutton now sets the caret (and middle button still acts
  13656. as formatting tester, which must go away soon)
  13657. - Added Debug section for Deleting/Combining lines
  13658. - Fixed calculations for UpdateView after Combining lines
  13659. 2004-12-16 Peter Bartok <[email protected]>
  13660. * TextControl.cs: Now properly aligns text on a baseline, using the
  13661. new XplatUI.GetFontMetrics() method. Simplified several calculations
  13662. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  13663. defined
  13664. 2004-12-16 Peter Bartok <[email protected]>
  13665. * XplatUI.cs: Added GetFontMetrics() method
  13666. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  13667. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  13668. into libgdiplus, our private GetFontMetrics function
  13669. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  13670. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  13671. 2004-12-16 Jackson Harper <[email protected]>
  13672. * XplatUIStruct.cs: Add enum for dead keys
  13673. * X11Keyboard.cs: Map and unmap dead keys.
  13674. 2004-12-16 Jackson Harper <[email protected]>
  13675. * X11Keyboard.cs: Detect and use the num lock mask.
  13676. 2004-12-16 Peter Bartok <[email protected]>
  13677. * Control.cs (CreateGraphics): Added check to make sure the
  13678. handle of the window exists before calling Graphics.FromHwnd()
  13679. 2004-12-16 Peter Bartok <[email protected]>
  13680. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  13681. contains a lot of code that's not supposed to be there for the
  13682. real thing, but required for developing/testing the textbox
  13683. backend.
  13684. 2004-12-16 Peter Bartok <[email protected]>
  13685. * TextControl.cs:
  13686. - Fixed Streamline method
  13687. - Added FindTag method to Line
  13688. - Added DumpTree method for debugging
  13689. - Added DecrementLines() method for deleting lines
  13690. - Fixed UpdateView to update the cursor to end-of-line on single-line
  13691. updates
  13692. - Added PositionCaret() method
  13693. - Fixed MoveCaret(LineDown) to move into the last line, too
  13694. - Added InsertChar overload
  13695. - Fixed InsertChar tag offset calculations
  13696. - Added DeleteChar() method
  13697. - Added Combine() method for folding lines
  13698. - Fixed Delete() method, no longer allocates wasted Line object and
  13699. now copies all properties when swapping nodes
  13700. - Delete() method now updates document line counter
  13701. 2004-12-15 Jackson Harper <[email protected]>
  13702. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  13703. * X11Keyboard.cs: Expose the currently selected modifier keys
  13704. through a property.
  13705. 2004-12-15 Peter Bartok <[email protected]>
  13706. * TextControl.cs: Initial check-in. Still incomplete
  13707. 2004-12-15 Jackson Harper <[email protected]>
  13708. * TreeNode.cs:
  13709. * TreeView.cs: Fix build on csc (second time today ;-))
  13710. 2004-12-15 Jackson Harper <[email protected]>
  13711. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  13712. is calculated and use this for click testing.
  13713. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  13714. 2004-12-15 Jackson Harper <[email protected]>
  13715. * TreeView.cs: Pass the nodes image index to the image list when
  13716. drawing that image.
  13717. 2004-12-15 Jackson Harper <[email protected]>
  13718. * X11Keyboard.cs: Set messages hwnd.
  13719. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  13720. post_message calls.
  13721. 2004-12-15 Jackson Harper <[email protected]>
  13722. * X11Keyboard.cs: Fix to compile with csc.
  13723. 2004-12-15 Jackson Harper <[email protected]>
  13724. * X11Structs.cs: Add key mask values
  13725. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  13726. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  13727. down/up foo into WM_CHAR foo
  13728. * KeyboardLayouts.cs: Common keyboard layouts
  13729. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  13730. post messages into the main queue.
  13731. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  13732. * Button.cs: implement ProcessMnemonic
  13733. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  13734. brushes everytime
  13735. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  13736. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  13737. 2004-12-12 John BouAntoun <[email protected]>
  13738. * MonthCalendar.cs: Implemented click-hold for next/previous month
  13739. and date selection
  13740. 2004-12-11 Peter Bartok <[email protected]>
  13741. * X11Structs.cs:
  13742. - Added XKeyboardState (moved from XplatUIX11.cs)
  13743. - Added XCreateGC related enums and structures
  13744. - Added GXFunction for XSetFunction
  13745. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  13746. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  13747. CaretVisible() calls
  13748. * ToolTip.cs: Added code to prevent stealing focus from app windows
  13749. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  13750. DestroyCaret, SetCaretPos and CaretVisible)
  13751. * XplatUIX11.cs:
  13752. - Added implementation for caret functions
  13753. - Moved hover variables into a struct, to make it a bit easier
  13754. on the eyes and to debug
  13755. - Removed XKeyboardState (moved to XplatUIX11.cs)
  13756. - Moved Keyboard properties into the properties region
  13757. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  13758. call to get a graphics context for our control
  13759. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  13760. * TreeView.cs: Fixed bug. No matter what color was set it would always
  13761. return SystemColors.Window
  13762. * XplatUIWin32.cs: Implemented caret overrides
  13763. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  13764. * ListBox.cs: fire events, implement missing methods and properties,
  13765. sorting.
  13766. 2004-12-10 John BouAntoun <[email protected]>
  13767. * MonthCalendar.cs: invalidation bug fixing
  13768. * ThemeWin32Classic.cs: paint fixing
  13769. 2004-12-09 Geoff Norton <[email protected]>
  13770. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  13771. prepare the CGContextRef there now.
  13772. 2004-12-09 John BouAntoun <[email protected]>
  13773. * MonthCalendar.cs:
  13774. - optimisationL only invalidate areas that have changed
  13775. * ThemeWin32Classic.cs:
  13776. - only paint parts that intersect with clip_area
  13777. 2004-12-09 Peter Bartok <[email protected]>
  13778. * Application.cs: Undid changes from r37004 which cause problems
  13779. on X11
  13780. 2004-12-09 Ravindra <[email protected]>
  13781. * ToolBar.cs: Added support for displaying ContextMenu
  13782. attached to a button on ToolBar.
  13783. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  13784. property.
  13785. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13786. * Label.cs: autosize works in text change and removes unnecessary
  13787. invalidate
  13788. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13789. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  13790. remove warnings
  13791. 2004-12-08 Geoff Norton <[email protected]>
  13792. * XplatUIOSX.cs: Added mouse move/click/grab support
  13793. Remove some debugging WriteLines not needed anymore.
  13794. Add window resizing/positioning.
  13795. Fix visibility on reparenting.
  13796. 2004-12-08 Peter Bartok <[email protected]>
  13797. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  13798. 2004-12-07 Geoff Norton <[email protected]>
  13799. * XplatUIOSX.cs: Initial checkin
  13800. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  13801. 2004-12-03 Ravindra <[email protected]>
  13802. * ListView.cs: Added some keybindings and fixed scrolling.
  13803. ScrollBars listen to ValueChanged event instead of Scroll
  13804. Event. This would let us take care of all changes being
  13805. done in the scrollbars' values programmatically or manually.
  13806. * ListView.cs (CanMultiselect): Added a check for shift key.
  13807. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  13808. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  13809. of ListViewSubItemCollection as well.
  13810. 2004-12-06 Peter Bartok <[email protected]>
  13811. * Control.cs (Parent): Added check and exception to prevent
  13812. circular parenting
  13813. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  13814. * ListBox.cs: implemented clipping, selection single and multiple,
  13815. bug fixing
  13816. 2004-12-03 Ravindra <[email protected]>
  13817. * ListView.cs (ListView_KeyDown):
  13818. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  13819. when CTRL key is pressed.
  13820. * ListViewItem.cs (Selected): Fixed setting the property.
  13821. 2004-12-03 Marek Safar <[email protected]>
  13822. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  13823. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  13824. MinimizeBox, ShowInTaskbar, TopMost properties.
  13825. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  13826. will be implemented).
  13827. 2004-12-03 Marek Safar <[email protected]>
  13828. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  13829. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  13830. tests.
  13831. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  13832. * TreeView.cs: BackColor is Colors.Window.
  13833. 2004-12-01 Jackson Harper <[email protected]>
  13834. * TreeView.cs: When resizing the tree if the user is making it
  13835. smaller we don't get expose events, so we need to handle adding
  13836. the horizontal scrollbar in the size changed handler as well as
  13837. the expose handler.
  13838. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  13839. * DrawItemState.cs: fixes wrong enum values
  13840. 2004-12-01 Jackson Harper <[email protected]>
  13841. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  13842. 2004-12-01 Jackson Harper <[email protected]>
  13843. * NodeLabelEditEventArgs.cs:
  13844. * NodeLabelEditEventHandler.cs:
  13845. * OpenTreeNodeEnumerator.cs:
  13846. * TreeNode.cs:
  13847. * TreeNodeCollection.cs:
  13848. * TreeView.cs:
  13849. * TreeViewAction.cs:
  13850. * TreeViewCancelEventArgs.cs:
  13851. * TreeViewCancelEventHandler.cs:
  13852. * TreeViewEventArgs.cs:
  13853. * TreeViewEventHandler.cs: Initial implementation.
  13854. 2004-12-01 Ravindra <[email protected]>
  13855. * ListView.cs (CalculateListView): Fixed scrolling related
  13856. calculations. Also, removed some debug statements from other
  13857. places.
  13858. * ListViewItem.cs: Changed access to 'selected' instance variable
  13859. from private to internal.
  13860. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  13861. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  13862. * ThemeWin32Classic.cs: remove cache of brush and pens for
  13863. specific controls and use the global system, fixes scrollbutton
  13864. bugs (for small sizes, disabled, etc)
  13865. * ScrollBar.cs: does not show the thumb for very small controls
  13866. (as MS) and allow smaller buttons that the regular size
  13867. 2004-12-01 Miguel de Icaza <[email protected]>
  13868. * UpDownBase.cs: Add abstract methods for the interface.
  13869. Add new virtual methods (need to be hooked up to TextEntry when it
  13870. exists).
  13871. Add override methods for most features.
  13872. Computes the size, forces the height of the text entry.
  13873. * NumericUpDown.cs: Put here the current testing code.
  13874. * Set eol-style property on all files that do not have mixed line
  13875. endings, to minimize the future problems. There are still a few
  13876. files with mixed endings, and someone should choose whether they
  13877. want to move it or not.
  13878. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  13879. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  13880. System.Colors
  13881. 2004-11-30 Ravindra <[email protected]>
  13882. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  13883. drawing and replaced use of SystemColors by theme colors.
  13884. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  13885. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  13886. same ListViewItem is being added more than once.
  13887. 2004-11-30 John BouAntoun <[email protected]>
  13888. * MonthCalendar.cs:
  13889. - ControlStyles love to make the control not flicker
  13890. 2004-11-30 Peter Bartok <[email protected]>
  13891. * CharacterCasing.cs: Added
  13892. 2004-11-29 Peter Bartok <[email protected]>
  13893. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  13894. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  13895. I am removing these files as they conflict with already completed
  13896. work. While it is fantastic to get contributions to MWF, I
  13897. respectfully ask that everyone please coordinate their contributions
  13898. through mono-winforms-list or #mono-winforms at this time. We're
  13899. explicitly avoiding stubbing and don't want controls that don't have
  13900. their basic functionality implemented in svn. Please also see
  13901. http://www.mono-project.com/contributing/winforms.html
  13902. 2004-11-29 Marek Safar <[email protected]>
  13903. * Application.cs (ModalRun): Don't hang after exit.
  13904. * Theme.cs: New TreeViewDefaultSize property.
  13905. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  13906. with less hardcoded SystemColors constant.
  13907. Implemented TreeViewDefaultSize.
  13908. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  13909. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  13910. 2004-11-29 John BouAntoun <[email protected]>
  13911. * MonthCalendar.cs:
  13912. - Fix NextMonthDate and PrevMonthDate click moving calendar
  13913. 2004-11-26 John BouAntoun <[email protected]>
  13914. * MonthCalendar.cs:
  13915. - Fix usage of ScrollChange Property when scrolling months
  13916. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  13917. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  13918. - Fixes menu destroying
  13919. - Support adding and removing items on already created menus
  13920. 2004-11-26 John BouAntoun <[email protected]>
  13921. * MonthCalendar.cs:
  13922. - Re-worked all bolded dates handling to match win32
  13923. * ThemeWin32Classic.cs:
  13924. - Fixed rendering with bolded dates
  13925. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  13926. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  13927. - Horizontal scroolbar
  13928. - Multicolumn
  13929. - Fixes
  13930. 2004-11-25 John BouAntoun <[email protected]>
  13931. * MonthCalendar.cs:
  13932. - Fix Usage of MaxSelectionCount from SelectionRange
  13933. - Fixed Shift + Cursor Selection
  13934. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  13935. - Fixed normal cursor selection to be compat with win32
  13936. - Fixed Shift + Mouse Click selection
  13937. 2004-11-24 Peter Bartok <[email protected]>
  13938. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  13939. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  13940. * XplatUIX11.cs:
  13941. - CreatedKeyBoardMsg now updates keystate with Alt key
  13942. - Added workaround for timer crash to CheckTimers, Jackson will
  13943. develop a proper fix and check in later
  13944. - Implemented DispatchMessage
  13945. - Removed calling the native window proc from GetMessage (call
  13946. now moved to DispatchMessage)
  13947. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  13948. the keydata (Fixes bug #69831)
  13949. * XplatUIWin32.cs:
  13950. - (DispatchMessage): Switched to return IntPtr
  13951. - Added DllImport for SetFocus
  13952. 2004-11-24 Ravindra <[email protected]>
  13953. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  13954. background drawing.
  13955. * ListViewItem.cs: Fixed various properties, calculations
  13956. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  13957. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  13958. and some internal properties. Fixed MouseDown handler and Paint
  13959. method.
  13960. 2004-11-24 John BouAntoun <[email protected]>
  13961. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  13962. 2004-11-24 John BouAntoun <[email protected]>
  13963. * ContainerControl.cs: correct accidental check in of local changes
  13964. 2004-11-24 John BouAntoun <[email protected]>
  13965. * ThemeWin32Classic.cs:
  13966. - Fixed Drawing Last month in grid (sometimes not showing)
  13967. * MonthCalendar.cs:
  13968. - Fixed title width calculation bug (makeing title small)
  13969. 2004-11-23 Peter Bartok <[email protected]>
  13970. * XplatUIX11.cs:
  13971. - Added generation of WM_MOUSEHOVER event
  13972. - Added missing assignment of async_method atom
  13973. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  13974. 2004-11-23 John BouAntoun <[email protected]>
  13975. * ThemeWin32Classic.cs:
  13976. - Fixed Drawing of today circle when showtodaycircle not set
  13977. - fixed drawing of first and last month in the grid (gay dates)
  13978. * MonthCalendar.cs:
  13979. - Fixed Drawing of today circle
  13980. - Fixed drawing of grady dates
  13981. - Fixed HitTest for today link when ShowToday set to false
  13982. - Fixed DefaultSize to obey ShowToday
  13983. 2004-11-23 John BouAntoun <[email protected]>
  13984. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  13985. * System.Windows.Forms/Theme.cs
  13986. * MonthCalendar.cs: added for MonthCalendar
  13987. * SelectionRange.cs: added for MonthCalendar
  13988. * Day.cs: added for MonthCalendar: added for MonthCalendar
  13989. * DateRangeEventArgs.cs: added for MonthCalendar
  13990. * DateRangeEventHandler.cs: added for MonthCalendar
  13991. 2004-11-22 Ravindra <[email protected]>
  13992. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  13993. property.
  13994. 2004-11-22 Miguel de Icaza <[email protected]>
  13995. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  13996. event handler.
  13997. * NumericUpDown.cs: Added new implementation.
  13998. * UpDownBase.cs: Added new implementation.
  13999. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  14000. implementations.
  14001. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  14002. implementations.
  14003. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  14004. methods.
  14005. 2004-11-21 Miguel de Icaza <[email protected]>
  14006. * Timer.cs (Dispose): Should call the base dispose when
  14007. overriding.
  14008. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  14009. * ScrollBar.cs: updates thumb position when max, min or increment
  14010. is changed
  14011. 2004-11-21 Ravindra <[email protected]>
  14012. * ListView.cs: Implemented item selection, activation and
  14013. column header style. Fixed properties to do a redraw, if
  14014. required. Added support for MouseHover, DoubleClick, KeyDown
  14015. and KeyUp event handling and some minor fixes.
  14016. * ListViewItem.cs: Fixed constructor.
  14017. * ThemeWin32Classic.cs: Improved drawing for ListView.
  14018. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  14019. * ThemeWin32Classic.cs: initial listbox drawing code
  14020. * DrawMode.cs: new enumerator
  14021. * ListControl.cs: stubbed class
  14022. * ListBox.cs: initial implementation
  14023. * Theme.cs: new methods definitions
  14024. * SelectionMode.cs: new enumerator
  14025. 2004-11-17 Peter Bartok <[email protected]>
  14026. * XplatUIWin32.cs: Added double-click events to the class style
  14027. * Control.cs (WndProc):
  14028. - Added handling of click-count to MouseDown/ MouseUp events.
  14029. - Added handling of middle and right mouse buttons
  14030. - Removed old debug code
  14031. 2004-11-17 Jackson Harper <[email protected]>
  14032. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  14033. 2004-11-17 Ravindra <[email protected]>
  14034. * ListView.cs: Added event handling for MouseMove/Up/Down.
  14035. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  14036. * ThemeWin32Classic.cs: We need to clear the graphics context and
  14037. draw column header in a proper state.
  14038. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  14039. * Menu.cs: fixes signature
  14040. 2004-11-16 Peter Bartok <[email protected]>
  14041. * XplatUIX11.cs (GetMessage): Implemented generation of
  14042. double click mouse messages
  14043. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  14044. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  14045. not by menu
  14046. 2004-11-11 Peter Bartok <[email protected]>
  14047. * HandleData.cs: Added Visible property
  14048. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  14049. HandleData
  14050. * XplatUIX11.cs: Removed old debug leftovers
  14051. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  14052. * Control.cs (WndProc): Removed old debug leftovers,
  14053. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  14054. needed WM_SIZE handling
  14055. 2004-11-11 Jackson Harper <[email protected]>
  14056. * OwnerDrawPropertyBag.cs:
  14057. * TreeViewImageIndexConverter.cs: Initial implementation
  14058. 2004-11-10 Jackson Harper <[email protected]>
  14059. * ThemeWin32Classic.cs:
  14060. * TabControl.cs: instead of moving tabs by the slider pos just
  14061. start drawing at the tab that is offset by the slider. This way
  14062. scrolling always moves by exactly one tab.
  14063. 2004-11-10 Jackson Harper <[email protected]>
  14064. * TabControl.cs: You can only scroll left when the slider has
  14065. already ben moved right.
  14066. 2004-11-10 Jackson Harper <[email protected]>
  14067. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  14068. the clip area.
  14069. 2004-11-10 Jackson Harper <[email protected]>
  14070. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  14071. clip area.
  14072. 2004-11-09 Jackson Harper <[email protected]>
  14073. * TabControl.cs (CalcXPos): New helper method so we can determine
  14074. the proper place to start drawing vertical tabs.
  14075. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  14076. 2004-11-09 Jackson Harper <[email protected]>
  14077. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  14078. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  14079. and Bottom, left and right are illegal values for this and
  14080. multiline is enabled when the alignment is set to left or right.
  14081. (DrawTab): Each alignment block should draw the text itself now
  14082. because Left requires special love. Also add rendering for Left
  14083. aligned tabs.
  14084. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  14085. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  14086. does not destroy the windows, removes debugging messages
  14087. 2004-11-09 jba <[email protected]>
  14088. * ThemeWin32Classic.cs
  14089. (DrawButtonBase): Fix verticle text rect clipping in windows
  14090. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  14091. rendering and incorrect text rect clipping
  14092. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  14093. rendering and incorrect text rect clipping
  14094. 2004-11-08 Jackson Harper <[email protected]>
  14095. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  14096. bottom when they are bottom aligned so the bottoms of the tabs get
  14097. displayed.
  14098. * TabControl.cs (DropRow): Move rows up instead of down when the
  14099. tab control is bottom aligned.
  14100. 2004-11-08 13:59 pbartok
  14101. * XplatUIX11.cs:
  14102. - Added handling for various window styles
  14103. - Added handling for popup windows
  14104. - Added SetTopmost handling
  14105. 2004-11-08 13:55 pbartok
  14106. * XplatUIWin32.cs:
  14107. - Added argument to SetTopmost method
  14108. - Fixed broken ClientToScreen function
  14109. 2004-11-08 13:53 pbartok
  14110. * XplatUIStructs.cs:
  14111. - Added missing WS_EX styles
  14112. 2004-11-08 13:53 pbartok
  14113. * XplatUI.cs, XplatUIDriver.cs:
  14114. - Added argument to SetTopmost
  14115. 2004-11-08 13:52 pbartok
  14116. * X11Structs.cs:
  14117. - Added XSetWindowAttributes structure
  14118. - Improved XWindowAttributes structure
  14119. - Added SetWindowValuemask enum
  14120. - Added window creation arguments enum
  14121. - Added gravity enum
  14122. - Added Motif hints structure
  14123. - Added various Motif flags and enums
  14124. - Added PropertyMode enum for property functions
  14125. 2004-11-08 13:50 pbartok
  14126. * Form.cs:
  14127. - Fixed arguments for updated SetTopmost method
  14128. 2004-11-08 13:49 pbartok
  14129. * ToolTip.cs:
  14130. - Fixed arguments for updated SetTopmost function
  14131. - Fixed usage of PointToClient
  14132. 2004-11-08 13:44 pbartok
  14133. * MenuAPI.cs:
  14134. - Added Clipping of children and siblings
  14135. 2004-11-08 13:41 pbartok
  14136. * MainMenu.cs:
  14137. - Removed SetMenuBarWindow call. We do this in Form.cs
  14138. 2004-11-08 13:40 jackson
  14139. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  14140. scrolling jimmi in the correct location with bottom aligned tabs
  14141. 2004-11-08 13:36 pbartok
  14142. * ContainerControl.cs:
  14143. - Implemented BindingContext
  14144. - Implemented ParentForm
  14145. 2004-11-08 12:46 jackson
  14146. * TabControl.cs: Put bottom rendered tabs in the right location
  14147. 2004-11-08 07:15 jordi
  14148. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  14149. removes dead code
  14150. 2004-11-05 17:30 jackson
  14151. * TabControl.cs: When selected tabs are expanded make sure they
  14152. don't go beyond the edges of the tab control
  14153. 2004-11-05 14:57 jackson
  14154. * TabControl.cs: Reset show_slider so if the control is resized to
  14155. a size where it is no longer needed it's not displayed anymore
  14156. 2004-11-05 13:16 jackson
  14157. * TabControl.cs: Make tab pages non visible when added to the
  14158. control
  14159. 2004-11-05 12:42 jackson
  14160. * TabControl.cs: Implement SizeMode.FillToRight
  14161. 2004-11-05 12:16 jackson
  14162. * Control.cs: Do not call CreateHandle if the handle is already
  14163. created
  14164. 2004-11-05 11:46 jackson
  14165. * TabControl.cs: Remove superflous call to CalcTabRows
  14166. 2004-11-05 09:07 jackson
  14167. * XplatUIX11.cs: Update for Mono.Posix changes
  14168. 2004-11-05 07:00 ravindra
  14169. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  14170. scrolling.
  14171. 2004-11-04 22:47 jba
  14172. * ThemeWin32Classic.cs:
  14173. - Fix Button rendering for FlatStyle = Flat or Popup
  14174. - Fix RadioButton and CheckBox rendering when Appearance = Button
  14175. (normal and flatstyle).
  14176. - Correct outer rectangle color when drawing focus rectangle
  14177. - Adjust button bounds to be 1 px smaller when focused
  14178. - Make button not draw sunken 3d border when pushed (windows compat)
  14179. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  14180. - Offset the text in RadioButton and Checkbox when being rendered as
  14181. a button.
  14182. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  14183. radiobuttons
  14184. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  14185. - Fixed disabled text rendering for normally rendered radiobuttons
  14186. 2004-11-04 10:26 jackson
  14187. * TabControl.cs: Recalculate tab rows when resizing
  14188. 2004-11-04 07:47 jordi
  14189. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  14190. collection completion, drawing issues, missing features
  14191. 2004-11-04 05:03 ravindra
  14192. * ScrollBar.cs:
  14193. - We need to recalculate the Thumb area when
  14194. LargeChange/maximum/minimum values are changed.
  14195. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  14196. than minimum. This is required to handle the case if large_change is
  14197. more than max, and use LargeChange property instead of large_change
  14198. variable.
  14199. - We return max+1 when large_change is more than max, like MS does.
  14200. 2004-11-04 04:29 ravindra
  14201. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  14202. - Changed default value signatures (prefixed all with ListView).
  14203. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  14204. ListView.
  14205. - Fixed calculations for ListViewItem and implemented Clone()
  14206. method.
  14207. 2004-11-04 04:26 ravindra
  14208. * Theme.cs, ThemeWin32Classic.cs:
  14209. - Changed default ListView values signatures (prefixed all with
  14210. ListView).
  14211. - Fixed default size values for VScrollBar and HScrollBar.
  14212. - Fixed DrawListViewItem method.
  14213. 2004-11-04 04:05 ravindra
  14214. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  14215. 2004-11-04 04:04 ravindra
  14216. * ImageList.cs: Implemented the missing overload for Draw method.
  14217. 2004-11-03 19:29 jackson
  14218. * TabControl.cs: Handle dropping rows on selection properly
  14219. 2004-11-03 11:59 jackson
  14220. * TabControl.cs: remove debug code
  14221. 2004-11-03 11:52 jackson
  14222. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  14223. the scrolly widgerywoo
  14224. 2004-11-02 13:52 jackson
  14225. * TabControl.cs: Resize the tab pages and tabs when the tab control
  14226. is resized
  14227. 2004-11-02 13:40 jackson
  14228. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  14229. selected tab to the bottom
  14230. 2004-11-02 13:39 jackson
  14231. * TabPage.cs: Store the tab pages row
  14232. 2004-11-02 12:33 jordi
  14233. * MenuItem.cs: fixes handle creation
  14234. 2004-11-02 11:42 jackson
  14235. * TabControl.cs: signature fix
  14236. 2004-11-02 08:56 jackson
  14237. * TabControl.cs: Calculate whether the tab is on an edge properly.
  14238. Remove top secret debugging code
  14239. 2004-11-01 19:57 jackson
  14240. * TabControl.cs: Add click handling, and proper sizing
  14241. 2004-11-01 19:47 jackson
  14242. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  14243. tab controls
  14244. 2004-11-01 19:39 jackson
  14245. * TabPage.cs: add internal property to store the bounds of a tab
  14246. page
  14247. 2004-10-30 04:23 ravindra
  14248. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  14249. values.
  14250. 2004-10-30 04:21 ravindra
  14251. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  14252. fixed calculations.
  14253. 2004-10-30 03:06 pbartok
  14254. * XplatUIX11.cs:
  14255. - Removed extension of DllImported libs
  14256. 2004-10-29 09:55 jordi
  14257. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  14258. navigation, itemcollection completion, menu fixes
  14259. 2004-10-27 22:58 pbartok
  14260. * XplatUIX11.cs:
  14261. - Now throws a nice error message when no X display could be opened
  14262. 2004-10-26 13:51 jordi
  14263. * ListView.cs: removes warning
  14264. 2004-10-26 03:55 ravindra
  14265. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  14266. ThemeWin32Classic.cs: Some formatting for my last checkins.
  14267. 2004-10-26 03:36 ravindra
  14268. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  14269. control and default values.
  14270. 2004-10-26 03:35 ravindra
  14271. * Theme.cs: Added some default values for ListView control.
  14272. 2004-10-26 03:33 ravindra
  14273. * ToolBar.cs: ToolBar should use the user specified button size, if
  14274. there is any. Added a size_specified flag for the same.
  14275. 2004-10-26 03:33 ravindra
  14276. * ColumnHeader.cs: Added some internal members and calculations for
  14277. ColumnHeader.
  14278. 2004-10-26 03:32 ravindra
  14279. * ListViewItem.cs: Calculations for ListViewItem.
  14280. 2004-10-26 03:31 ravindra
  14281. * ListView.cs: Added some internal members and calculations for
  14282. ListView.
  14283. 2004-10-22 13:31 jordi
  14284. * MenuAPI.cs: speedup menus drawing
  14285. 2004-10-22 13:16 jackson
  14286. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  14287. expose event
  14288. 2004-10-22 11:49 jackson
  14289. * Control.cs: oops
  14290. 2004-10-22 11:41 jackson
  14291. * Control.cs: Check to see if the window should have its background
  14292. repainted by X when drawing.
  14293. 2004-10-22 11:31 jackson
  14294. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  14295. clear is true, this way we do not get flicker from X repainting the
  14296. background
  14297. 2004-10-22 11:28 jackson
  14298. * XEventQueue.cs: Queue properly
  14299. 2004-10-21 09:38 jackson
  14300. * XEventQueue.cs: Fix access modifier
  14301. 2004-10-21 09:36 jackson
  14302. * XEventQueue.cs: Don't loose messages
  14303. 2004-10-21 09:22 jackson
  14304. * XEventQueue.cs: Don't loose messages
  14305. 2004-10-20 04:15 jordi
  14306. * BootMode.cs: enum need it by SystemInfo
  14307. 2004-10-19 21:58 pbartok
  14308. * XplatUIWin32.cs:
  14309. - Small sanity check
  14310. 2004-10-19 21:56 pbartok
  14311. * Form.cs:
  14312. - Added private FormParentWindow class which acts as the container
  14313. for our form and as the non-client area where menus are drawn
  14314. - Added/Moved required tie-ins to Jordi's menus
  14315. - Fixed/Implemented the FormStartPosition functionality
  14316. 2004-10-19 21:52 pbartok
  14317. * Control.cs:
  14318. - Removed unneeded locals
  14319. - Added code to all size and location properties to understand and
  14320. deal with the parent container of Form
  14321. 2004-10-19 21:33 pbartok
  14322. * Application.cs:
  14323. - Fixed to deal with new Form subclasses for menus
  14324. 2004-10-19 17:48 jackson
  14325. * XEventQueue.cs: commit correct version of file
  14326. 2004-10-19 16:50 jackson
  14327. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  14328. 2004-10-19 16:15 jordi
  14329. * MenuAPI.cs: MenuBarCalcSize returns the height
  14330. 2004-10-19 08:31 pbartok
  14331. * Control.cs:
  14332. - Added missing call to PreProcessMessage before calling OnXXXKey
  14333. methods
  14334. 2004-10-19 00:04 ravindra
  14335. * ToolTip.cs: Fixed constructor.
  14336. 2004-10-18 09:31 jordi
  14337. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  14338. 2004-10-18 09:26 jordi
  14339. * MenuItem.cs: fixes MenuItem class signature
  14340. 2004-10-18 08:56 jordi
  14341. * MenuAPI.cs: prevents windows from showing in the taskbar
  14342. 2004-10-18 00:28 ravindra
  14343. * ToolTip.cs: Suppressed a warning message.
  14344. 2004-10-18 00:27 ravindra
  14345. * Control.cs: Default value of visible property must be true.
  14346. 2004-10-17 23:19 pbartok
  14347. * ToolTip.cs:
  14348. - Complete implementation
  14349. 2004-10-17 23:19 pbartok
  14350. * XplatUIX11.cs:
  14351. - Added EnableWindow method
  14352. - Added SetModal stub
  14353. - Added generation of WM_ACTIVATE message (still needs testing)
  14354. - Added SetTopMost stub
  14355. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  14356. 2004-10-17 23:17 pbartok
  14357. * XplatUIWin32.cs:
  14358. - Removed VirtualKeys to XplatUIStructs
  14359. - Implemented SetTopMost method
  14360. - Implemented EnableWindow method
  14361. - Bugfix in ScreenToClient()
  14362. - Bugfixes in ClientToScreen()
  14363. 2004-10-17 22:51 pbartok
  14364. * XplatUIStructs.cs:
  14365. - Added WS_EX styles to WindowStyles enumeration
  14366. 2004-10-17 22:50 pbartok
  14367. * XplatUI.cs, XplatUIDriver.cs:
  14368. - Added method for enabling/disabling windows
  14369. - Added method for setting window modality
  14370. - Added method for setting topmost window
  14371. 2004-10-17 22:49 pbartok
  14372. * ThemeWin32Classic.cs:
  14373. - Added ToolTip drawing code
  14374. 2004-10-17 22:49 pbartok
  14375. * Theme.cs:
  14376. - Added ToolTip abstracts
  14377. 2004-10-17 22:47 pbartok
  14378. * Form.cs:
  14379. - Fixed Form.ControlCollection to handle owner relations
  14380. - Added Owner/OwnedForms handling
  14381. - Implemented Z-Ordering for owned forms
  14382. - Removed unneeded private overload of ShowDialog
  14383. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  14384. so I hope)
  14385. - Fixed Close(), had wrong default
  14386. - Added firing of OnLoad event
  14387. - Added some commented out debug code for Ownership handling
  14388. 2004-10-17 22:16 pbartok
  14389. * Control.cs:
  14390. - Fixed/implemented flat list of controls
  14391. 2004-10-17 22:14 pbartok
  14392. * Application.cs:
  14393. - Added code to simulate modal dialogs on Win32
  14394. 2004-10-17 16:11 jordi
  14395. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  14396. mouse event
  14397. 2004-10-17 13:39 jordi
  14398. * MenuAPI.cs: menu drawing fixes
  14399. 2004-10-15 09:10 ravindra
  14400. * StructFormat.cs: General Enum.
  14401. 2004-10-15 09:09 ravindra
  14402. * SizeGripStyle.cs: Enum for Form.
  14403. 2004-10-15 09:08 ravindra
  14404. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  14405. in Theme for ListView.
  14406. 2004-10-15 09:06 ravindra
  14407. * ColumnHeader.cs: Flushing some formatting changes.
  14408. 2004-10-15 09:05 ravindra
  14409. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  14410. style.
  14411. 2004-10-15 09:03 ravindra
  14412. * ListView.cs: Implemented Paint method and fixed coding style.
  14413. 2004-10-15 07:34 jordi
  14414. * MenuAPI.cs: fix for X11
  14415. 2004-10-15 07:32 ravindra
  14416. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  14417. - Renamed Paint() method to Draw() for clarity. Also, moved
  14418. DrawImage() to OnPaint().
  14419. 2004-10-15 07:25 ravindra
  14420. * CheckBox.cs, RadioButton.cs:
  14421. - Removed Redraw (), we get it from ButtonBase.
  14422. - Implemented Paint (), to do class specific painting.
  14423. 2004-10-15 07:16 ravindra
  14424. * ButtonBase.cs:
  14425. - Redraw () is not virtual now.
  14426. - Added an internal virtual method Paint (), so that
  14427. derived classes can do their painting on their own.
  14428. - Modified OnPaint () to call Paint ().
  14429. 2004-10-15 06:43 jordi
  14430. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  14431. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  14432. 2004-10-15 00:30 ravindra
  14433. * MessageBox.cs:
  14434. - MessageBox on windows does not have min/max buttons.
  14435. This change in CreateParams fixes this on Windows. We
  14436. still need to implement this windowstyle behavior in
  14437. our X11 driver.
  14438. 2004-10-14 05:14 ravindra
  14439. * ToolBar.cs:
  14440. - Changed Redraw () to do a Refresh () always.
  14441. - Fixed the MouseMove event handling when mouse is pressed,
  14442. ie drag event handling.
  14443. - Replaced the usage of ToolBarButton.Pressed property to
  14444. ToolBarButton.pressed internal variable.
  14445. 2004-10-14 05:10 ravindra
  14446. * ToolBarButton.cs:
  14447. - Added an internal member 'inside' to handle mouse move
  14448. with mouse pressed ie mouse drag event.
  14449. - Changed 'Pressed' property to return true only when
  14450. 'inside' and 'pressed' are both true.
  14451. - Some coding style love.
  14452. 2004-10-14 00:17 ravindra
  14453. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  14454. public method.
  14455. 2004-10-14 00:15 ravindra
  14456. * ButtonBase.cs: Redraw () related improvements.
  14457. 2004-10-14 00:14 ravindra
  14458. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  14459. removed unnecessary calls to Button.Show () method.
  14460. 2004-10-13 17:50 pbartok
  14461. * XplatUIX11.cs:
  14462. - Formatting fix
  14463. - Removed destroying of window until we solve the problem of X
  14464. destroying the window before us on shutdown
  14465. 2004-10-13 16:32 pbartok
  14466. * ButtonBase.cs:
  14467. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  14468. 2004-10-13 14:18 pbartok
  14469. * XplatUIX11.cs:
  14470. - Added code to destroy the X window
  14471. 2004-10-13 14:18 pbartok
  14472. * XplatUIWin32.cs:
  14473. - Added code to destroy a window
  14474. 2004-10-13 14:12 pbartok
  14475. * ButtonBase.cs:
  14476. - Added the Redraw on Resize that got dropped in the last rev
  14477. 2004-10-13 09:06 pbartok
  14478. * ThemeWin32Classic.cs:
  14479. - Path from John BouAntoun:
  14480. * Fix check rendering (centre correctly for normal style, offset
  14481. correctly for FlatStyle).
  14482. * Fix border color usage (use backcolor) for FlatStyle.Popup
  14483. * Use checkbox.Capture instead of checkbox.is_pressed when
  14484. rendering flatstyle states.
  14485. 2004-10-12 21:48 pbartok
  14486. * ThemeWin32Classic.cs:
  14487. - Removed all occurences of SystemColors and replaced them with the
  14488. matching theme color
  14489. 2004-10-12 21:41 pbartok
  14490. * ThemeWin32Classic.cs:
  14491. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  14492. him using the function for flatstyle drawing
  14493. - Changed functions to use the new version of CPDrawBorder3D
  14494. 2004-10-12 21:15 pbartok
  14495. * ControlPaint.cs:
  14496. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  14497. match MS documentation. They need to return defined colors if the
  14498. passed color matches the configured control color. Thanks to John
  14499. BouAntoun for pointing this out.
  14500. 2004-10-12 20:57 pbartok
  14501. * Control.cs:
  14502. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  14503. color is changed
  14504. 2004-10-12 20:46 pbartok
  14505. * CheckBox.cs:
  14506. - Fix from John BouAntoun: Now properly sets the Appearance property
  14507. 2004-10-12 20:45 pbartok
  14508. * ThemeWin32Classic.cs:
  14509. - Fixes from John BouAntoun: now handles forecolors and backcolors
  14510. for flatstyle rendered controls much better; It also fixes normal
  14511. checkbox rendering when pushed or disabled.
  14512. 2004-10-08 02:50 jordi
  14513. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  14514. work
  14515. 2004-10-07 08:56 jordi
  14516. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  14517. 2004-10-06 03:59 jordi
  14518. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14519. XplatUIWin32.cs: removes warnings from compilation
  14520. 2004-10-05 12:23 jackson
  14521. * RadioButton.cs: Fix ctor
  14522. 2004-10-05 11:10 pbartok
  14523. * MessageBox.cs:
  14524. - Partial implementation by Benjamin Dasnois
  14525. 2004-10-05 10:15 jackson
  14526. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  14527. by John BouAntoun
  14528. 2004-10-05 03:07 ravindra
  14529. * ToolBar.cs:
  14530. - Removed a private method, Draw ().
  14531. - Fixed the ButtonDropDown event handling.
  14532. - Fixed MouseMove event handling.
  14533. 2004-10-05 03:04 ravindra
  14534. * ThemeWin32Classic.cs:
  14535. - Added DrawListView method and ListViewDefaultSize property.
  14536. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  14537. - Changed DOS style CRLF to Unix format (dos2unix).
  14538. 2004-10-05 03:03 ravindra
  14539. * Theme.cs:
  14540. - Added DrawListView method and ListViewDefaultSize property.
  14541. 2004-10-05 02:42 ravindra
  14542. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  14543. clicks on DropDown arrow.
  14544. 2004-10-04 22:56 jackson
  14545. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  14546. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  14547. Control handle the buffers, derived classes should not have to
  14548. CreateBuffers themselves.
  14549. 2004-10-04 21:20 jackson
  14550. * StatusBar.cs: The control handles resizing the buffers now.
  14551. 2004-10-04 21:18 jackson
  14552. * Control.cs: When resizing the buffers should be invalidated. This
  14553. should be handled in Control not in derived classes.
  14554. 2004-10-04 14:45 jackson
  14555. * TabPage.cs: oops
  14556. 2004-10-04 02:14 pbartok
  14557. * LeftRightAlignment.cs:
  14558. - Initial check-in
  14559. 2004-10-04 01:09 jordi
  14560. * ThemeWin32Classic.cs: fixes right button position causing right
  14561. button not showing on horizontal scrollbars
  14562. 2004-10-02 13:12 pbartok
  14563. * XplatUIX11.cs:
  14564. - Simplified the Invalidate method by using an X call instead of
  14565. generating the expose ourselves
  14566. - Added an expose when the window background is changed
  14567. - Implemented ClientToScreen method
  14568. 2004-10-02 13:08 pbartok
  14569. * XplatUIWin32.cs:
  14570. - Added Win32EnableWindow method (test for implementing modal
  14571. dialogs)
  14572. - Added ClientToScreen method and imports
  14573. 2004-10-02 13:07 pbartok
  14574. * XplatUI.cs, XplatUIDriver.cs:
  14575. - Added ClientToScreen coordinate translation method
  14576. 2004-10-02 13:06 pbartok
  14577. * KeyPressEventArgs.cs:
  14578. - Fixed access level for constructor
  14579. 2004-10-02 13:06 pbartok
  14580. * NativeWindow.cs:
  14581. - Changed access level for the window_collection hash table
  14582. 2004-10-02 13:05 pbartok
  14583. * Form.cs:
  14584. - Added KeyPreview property
  14585. - Added Menu property (still incomplete, pending Jordi's menu work)
  14586. - Implemented ProcessCmdKey
  14587. - Implemented ProcessDialogKey
  14588. - Implemented ProcessKeyPreview
  14589. 2004-10-02 13:02 pbartok
  14590. * Control.cs:
  14591. - Added private method to get the Control object from the window
  14592. handle
  14593. - Implemented ContextMenu property
  14594. - Implemented PointToScreen
  14595. - Implemented PreProcessMessage
  14596. - Implemented IsInputChar
  14597. - Implemented IsInputKey
  14598. - Implemented ProcessCmdKey
  14599. - Completed ProcessKeyEventArgs
  14600. - Fixed message loop to call the proper chain of functions on key
  14601. events
  14602. - Implemented ProcessDialogChar
  14603. - Implemented ProcessDialogKey
  14604. - Implemented ProcessKeyMessage
  14605. - Implemented ProcessKeyPreview
  14606. - Added RaiseDragEvent stub (MS internal method)
  14607. - Added RaiseKeyEvent stub (MS internal method)
  14608. - Added RaiseMouseEvent stub (MS Internal method)
  14609. - Added RaisePaintEvent stub (MS Internal method)
  14610. - Added ResetMouseEventArgs stub (MS Internal method)
  14611. - Implemented RtlTranslateAlignment
  14612. - Implemented RtlTranslateContent
  14613. - Implemented RtlTranslateHorizontal
  14614. - Implemented RtlTranslateLeftRight
  14615. - Added generation of KeyPress event
  14616. 2004-10-02 05:57 ravindra
  14617. * ListViewItem.cs: Added attributes.
  14618. 2004-10-02 05:32 ravindra
  14619. * ListView.cs: Added attributes.
  14620. 2004-10-01 11:53 jackson
  14621. * Form.cs: Implement the Close method so work on MessageBox can
  14622. continue.
  14623. 2004-09-30 14:06 pbartok
  14624. * XplatUIX11.cs:
  14625. - Bug fixes
  14626. 2004-09-30 11:34 jackson
  14627. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  14628. 2004-09-30 07:26 ravindra
  14629. * ListViewItemConverter.cs: Converter for ListViewItem.
  14630. 2004-09-30 07:26 ravindra
  14631. * SortOrder.cs: Enum for ListView control.
  14632. 2004-09-30 07:25 ravindra
  14633. * ColumnHeader.cs: Supporting class for ListView control.
  14634. 2004-09-30 07:24 ravindra
  14635. * ListView.cs, ListViewItem.cs: Initial implementation.
  14636. 2004-09-30 07:20 ravindra
  14637. * ItemActivation.cs: Enum for ListView Control.
  14638. 2004-09-29 20:29 pbartok
  14639. * XplatUIX11.cs:
  14640. - Added lookup of pixel value for background color; tries to get a
  14641. color 'close' to the requested color, it avoids having to create a
  14642. colormap. Depending on the display this could mean the used color
  14643. is slightly off the desired color. Might have to change it to a more
  14644. resource intensive colormap approach, but it will work as a
  14645. workaround to avoid red screens.
  14646. 2004-09-29 14:27 jackson
  14647. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  14648. 2004-09-28 12:44 pbartok
  14649. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  14650. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  14651. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  14652. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14653. TrackBar.cs, VScrollBar.cs:
  14654. - Streamlined Theme interfaces:
  14655. * Each DrawXXX method for a control now is passed the object for
  14656. the control to be drawn in order to allow accessing any state the
  14657. theme might require
  14658. * ControlPaint methods for the theme now have a CP prefix to avoid
  14659. name clashes with the Draw methods for controls
  14660. * Every control now retrieves it's DefaultSize from the current
  14661. theme
  14662. 2004-09-28 12:17 jackson
  14663. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  14664. drawing
  14665. 2004-09-24 14:57 jackson
  14666. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  14667. Gives us a nice little performance boost.
  14668. 2004-09-24 12:02 jackson
  14669. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  14670. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  14671. Control and supporting classes. Initial checkin
  14672. 2004-09-23 13:08 jackson
  14673. * Form.cs: Temp build fixage
  14674. 2004-09-23 01:39 ravindra
  14675. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  14676. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  14677. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  14678. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  14679. EventHandlers needed by ListView Control.
  14680. 2004-09-22 14:12 pbartok
  14681. * ScrollableControl.cs:
  14682. - Implemented DockPadding property
  14683. - Implemented AutoScroll property
  14684. - Implemented AutoScrollMargin property
  14685. - Implemented AutoScrollMinSize property
  14686. - Implemented AutoScrollPosition property
  14687. - Implemented DisplayRectangle property (still incomplete)
  14688. - Implemented CreateParams property
  14689. - Implemented HScroll property
  14690. - Implemented VScroll property
  14691. - Implemented OnVisibleChanged property
  14692. 2004-09-22 14:09 pbartok
  14693. * Form.cs:
  14694. - Added Form.ControllCollection class
  14695. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  14696. RemoveOwnedForm (still incomplete, missing on-top and common
  14697. minimize/maximize behaviour)
  14698. - Added StartPosition property (still incomplete, does not use when
  14699. creating the form)
  14700. - Added ShowDialog() methods (still incomplete, missing forcing the
  14701. dialog modal)
  14702. 2004-09-22 14:05 pbartok
  14703. * Application.cs:
  14704. - Added message loop for modal dialogs
  14705. 2004-09-22 14:02 pbartok
  14706. * GroupBox.cs:
  14707. - Fixed wrong types for events
  14708. 2004-09-22 14:00 pbartok
  14709. * Shortcut.cs, FormWindowState.cs:
  14710. - Fixed wrong values
  14711. 2004-09-22 12:01 jackson
  14712. * Control.cs: Text is never null
  14713. 2004-09-20 22:14 pbartok
  14714. * XplatUIWin32.cs:
  14715. - Fixed accessibility level for Idle handler
  14716. 2004-09-20 18:54 jackson
  14717. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14718. XplatUIX11.cs: New message loop that uses poll so we don't get a
  14719. busy loop
  14720. 2004-09-17 10:43 pbartok
  14721. * ScrollBar.cs:
  14722. - Fixed behaviour of arrow buttons. Now properly behaves like
  14723. Buttons (and like Microsoft's scrollbar arrow buttons)
  14724. 2004-09-17 10:14 pbartok
  14725. * ScrollBar.cs:
  14726. - Added missing release of keyboard/mouse capture
  14727. 2004-09-17 06:18 jordi
  14728. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  14729. Theme.cs: Very early menu support
  14730. 2004-09-16 17:45 pbartok
  14731. * XplatUIWin32.cs:
  14732. - Fixed sending a window to the front
  14733. - Added overload for SetWindowPos to avoid casting
  14734. 2004-09-16 17:44 pbartok
  14735. * Control.cs:
  14736. - Added SendToBack and BringToFront methods
  14737. 2004-09-16 07:00 ravindra
  14738. * Copyright: Added Novell URL.
  14739. 2004-09-16 07:00 ravindra
  14740. * ToolBar.cs: Invalidate should be done before redrawing.
  14741. 2004-09-15 21:19 ravindra
  14742. * ColumnHeaderStyle.cs: Enum for ListView Control.
  14743. 2004-09-15 21:18 ravindra
  14744. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  14745. ListView Control.
  14746. 2004-09-13 18:26 jackson
  14747. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  14748. properly
  14749. 2004-09-13 18:13 jackson
  14750. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  14751. a second thread and post messages into the main threads message
  14752. queue. This makes timing much more consistent. Both win2K and XP
  14753. have a minimum timer value of 15 milliseconds, so we now do this
  14754. too.
  14755. 2004-09-13 15:18 pbartok
  14756. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14757. XplatUIX11.cs:
  14758. - Added Z-Ordering methods
  14759. 2004-09-13 10:56 pbartok
  14760. * Form.cs:
  14761. - Fixed #region names
  14762. - Moved properties and methods into their proper #regions
  14763. 2004-09-13 10:51 pbartok
  14764. * Form.cs:
  14765. - Added Accept and CancelButton properties
  14766. - Added ProcessDialogKey() method
  14767. 2004-09-13 08:18 pbartok
  14768. * IWindowTarget.cs:
  14769. - Initial check-in
  14770. 2004-09-10 21:50 pbartok
  14771. * Control.cs:
  14772. - Added DoDragDrop() [incomplete]
  14773. - Properly implemented 'Visible' handling
  14774. - Added SetVisibleCore()
  14775. - Implemented FindChildAtPoint()
  14776. - Implemented GetContainerControl()
  14777. - Implemented Hide()
  14778. 2004-09-10 19:28 pbartok
  14779. * Control.cs:
  14780. - Moved methods into their appropriate #regions
  14781. - Reordered methods within regions alphabetically
  14782. 2004-09-10 18:57 pbartok
  14783. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14784. - Added method to retrieve text from window
  14785. 2004-09-10 18:56 pbartok
  14786. * Control.cs:
  14787. - Moved some internal functions into the internal region
  14788. - Implemented FontHeight
  14789. - Implemented RenderRightToLeft
  14790. - Implemented ResizeRedraw
  14791. - Implemented ShowFocusCues
  14792. - Implemented ShowKeyboardCues
  14793. - Implemented FromChildHandle
  14794. - Implemented FromHandle
  14795. - Implemented IsMnemonic
  14796. - Implemented ReflectMessage
  14797. - All public and protected Static Methods are now complete
  14798. 2004-09-10 16:54 pbartok
  14799. * Control.cs:
  14800. - Implemented remaining missing public instance properties
  14801. - Alphabetized some out of order properties
  14802. 2004-09-10 05:51 ravindra
  14803. * PictureBox.cs: Added a check for null image.
  14804. 2004-09-10 00:59 jordi
  14805. * GroupBox.cs: remove cvs tag
  14806. 2004-09-09 05:25 ravindra
  14807. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  14808. 2004-09-09 05:23 ravindra
  14809. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  14810. parent redraw.
  14811. 2004-09-09 02:28 pbartok
  14812. * ThemeWin32Classic.cs:
  14813. - Improve disabled string look
  14814. 2004-09-09 01:15 jordi
  14815. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  14816. args and handler
  14817. 2004-09-08 23:56 ravindra
  14818. * ItemBoundsPortion.cs: It's enum, not a class!
  14819. 2004-09-08 23:47 ravindra
  14820. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  14821. Enums for Form.
  14822. 2004-09-08 21:13 ravindra
  14823. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  14824. ListView control.
  14825. 2004-09-08 21:03 ravindra
  14826. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  14827. avoid crash.
  14828. 2004-09-08 21:01 ravindra
  14829. * ScrollableControl.cs: Removed unreachable code.
  14830. 2004-09-08 06:45 jordi
  14831. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  14832. 2004-09-08 01:00 jackson
  14833. * XplatUIX11.cs: Only run the timers when updating the message
  14834. queue. This effectively gives X messages a higher priority then
  14835. timer messages. Timers still need love though
  14836. 2004-09-07 14:01 jackson
  14837. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  14838. this for us and the handle is no longer valid.
  14839. 2004-09-07 13:59 jackson
  14840. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  14841. loop that manages to not crash. TODO: Add poll and cleanup timers
  14842. 2004-09-07 11:12 jordi
  14843. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  14844. 2004-09-07 03:40 jordi
  14845. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  14846. fixes, methods, multiple links
  14847. 2004-09-06 06:55 jordi
  14848. * Control.cs: Caches ClientRectangle rectangle value
  14849. 2004-09-05 02:03 jordi
  14850. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  14851. certain situations
  14852. 2004-09-04 11:10 jordi
  14853. * Label.cs: Refresh when font changed
  14854. 2004-09-02 16:24 pbartok
  14855. * Control.cs:
  14856. - Added sanity check to creation of double buffer bitmap
  14857. 2004-09-02 16:24 pbartok
  14858. * ButtonBase.cs:
  14859. - Fixed selection of text color
  14860. - Fixed handling of resize event; now properly recreates double
  14861. buffering bitmap
  14862. - Added missing assignment of TextAlignment
  14863. - Added proper default for TextAlignment
  14864. 2004-09-02 14:26 pbartok
  14865. * RadioButton.cs:
  14866. - Added missing RadioButton.RadioButtonAccessibleObject class
  14867. 2004-09-02 14:26 pbartok
  14868. * Control.cs:
  14869. - Added missing Control.ControlAccessibleObject class
  14870. - Started to implement Select()ion mechanisms, still very incomplete
  14871. 2004-09-02 14:25 pbartok
  14872. * AccessibleObject.cs:
  14873. - Added missing methods
  14874. 2004-09-02 14:23 pbartok
  14875. * AccessibleNavigation.cs, AccessibleSelection.cs:
  14876. - Initial check-in
  14877. 2004-09-02 10:32 jordi
  14878. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  14879. pool for pens, brushes, and hatchbruses
  14880. 2004-09-01 15:30 jackson
  14881. * StatusBar.cs: Fix typo
  14882. 2004-09-01 14:44 pbartok
  14883. * RadioButton.cs:
  14884. - Fixed state
  14885. 2004-09-01 14:39 pbartok
  14886. * Button.cs, RadioButton.cs:
  14887. - Functional initial check-in
  14888. 2004-09-01 14:01 pbartok
  14889. * CheckBox.cs:
  14890. - Added missing default
  14891. - Added missing region mark
  14892. 2004-09-01 09:10 jordi
  14893. * Label.cs: fixes method signatures, new methods, events, fixes
  14894. autosize
  14895. 2004-09-01 07:19 jordi
  14896. * Control.cs: Init string variables with an empty object
  14897. 2004-09-01 04:20 jordi
  14898. * Control.cs: fires OnFontChanged event
  14899. 2004-08-31 20:07 pbartok
  14900. * ButtonBase.cs:
  14901. - Enabled display of strings
  14902. 2004-08-31 20:05 pbartok
  14903. * Form.cs:
  14904. - Added (partial) implementation of DialogResult; rest needs to be
  14905. implemented when the modal loop code is done
  14906. 2004-08-31 19:55 pbartok
  14907. * CheckBox.cs:
  14908. - Fixed to match the removal of the needs_redraw concept
  14909. 2004-08-31 19:55 pbartok
  14910. * ButtonBase.cs:
  14911. - Removed the rather odd split between 'needs redraw' and redrawing
  14912. - Now handles the events that require regeneration (ambient
  14913. properties and size)
  14914. 2004-08-31 19:41 pbartok
  14915. * Control.cs:
  14916. - Added firing of BackColorChanged event
  14917. - Added TopLevelControl property
  14918. - Fixed handling of WM_ERASEBKGRND message
  14919. 2004-08-31 12:49 pbartok
  14920. * ButtonBase.cs:
  14921. - Removed debug
  14922. - Minor fixes
  14923. 2004-08-31 12:48 pbartok
  14924. * CheckBox.cs:
  14925. - Finished (famous last words)
  14926. 2004-08-31 04:35 jordi
  14927. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  14928. scrolling bugs, adds new methods
  14929. 2004-08-30 14:42 pbartok
  14930. * CheckBox.cs:
  14931. - Implemented CheckBox drawing code
  14932. 2004-08-30 14:42 pbartok
  14933. * ButtonBase.cs:
  14934. - Made Redraw() and CheckRedraw() virtual
  14935. - Improved mouse up/down/move logic to properly track buttons
  14936. 2004-08-30 09:44 pbartok
  14937. * CheckBox.cs:
  14938. - Updated to fix broken build. Not complete yet.
  14939. 2004-08-30 09:28 pbartok
  14940. * CheckState.cs:
  14941. - Initial checkin
  14942. 2004-08-30 09:17 pbartok
  14943. * Appearance.cs:
  14944. - Initial check-in
  14945. 2004-08-27 16:12 ravindra
  14946. * ToolBarButton.cs: Added TypeConverter attribute.
  14947. 2004-08-27 16:07 ravindra
  14948. * ImageIndexConverter.cs: Implemented.
  14949. 2004-08-27 14:17 pbartok
  14950. * Control.cs:
  14951. - Removed unneeded stack vars
  14952. - First attempt to fix sizing issues when layout is suspended
  14953. 2004-08-25 15:35 jordi
  14954. * ScrollBar.cs: more fixes to scrollbar
  14955. 2004-08-25 14:04 ravindra
  14956. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  14957. Added the missing divider code and grip for ToolBar Control.
  14958. 2004-08-25 13:20 pbartok
  14959. * Control.cs:
  14960. - Control now properly passes the ambient background color to child
  14961. controls
  14962. 2004-08-25 13:20 jordi
  14963. * ScrollBar.cs: small bug fix regarding bar position
  14964. 2004-08-25 12:33 pbartok
  14965. * Timer.cs:
  14966. - Now only calls SetTimer or KillTimer if the enabled state has
  14967. changed
  14968. 2004-08-25 12:33 pbartok
  14969. * XplatUIWin32.cs:
  14970. - Fixed timer handling, now seems to work
  14971. - Improved error message for window creation
  14972. 2004-08-25 12:32 pbartok
  14973. * Control.cs:
  14974. - Fixed generation of MouseUp message
  14975. 2004-08-25 12:29 jordi
  14976. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  14977. and fixes for progressbar
  14978. 2004-08-24 18:43 ravindra
  14979. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  14980. in ToolBar control.
  14981. 2004-08-24 17:15 pbartok
  14982. * Panel.cs:
  14983. - Added #region
  14984. - Added missing events
  14985. - Alphabetized
  14986. 2004-08-24 17:14 pbartok
  14987. * StatusBar.cs, PictureBox.cs:
  14988. - Now uses Control's CreateParams
  14989. 2004-08-24 16:36 pbartok
  14990. * XplatUIX11.cs:
  14991. - Fixed background color handling
  14992. - Fixed sending of enter/leave events on a grab
  14993. 2004-08-24 16:35 pbartok
  14994. * X11Structs.cs:
  14995. - Refined definitions for CrossingEvent
  14996. 2004-08-24 12:37 jordi
  14997. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  14998. formmating, methods signature, and adds missing events
  14999. 2004-08-24 12:24 jordi
  15000. * Control.cs: fire OnEnabledChanged event
  15001. 2004-08-24 11:17 pbartok
  15002. * XplatUIWin32.cs:
  15003. - Implemented SetTimer() and KillTimer()
  15004. 2004-08-24 11:16 pbartok
  15005. * XplatUIX11.cs:
  15006. - Now uses Remove instead of Add to kill the timer
  15007. 2004-08-24 10:16 jackson
  15008. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  15009. picture boxes in the theme now. Draw picture box borders and obey
  15010. sizing modes
  15011. 2004-08-24 05:49 jackson
  15012. * Timer.cs: Remove top secret debugging code
  15013. 2004-08-24 05:34 jackson
  15014. * PictureBox.cs: Temp hack to make picture boxes draw their full
  15015. image
  15016. 2004-08-24 05:29 jackson
  15017. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15018. XplatUIX11.cs: Move timers to the driver level. On X they are
  15019. queued by the driver and checked on idle.
  15020. 2004-08-24 01:07 jackson
  15021. * XplatUIX11.cs: Use a queue for async messages instead of passing
  15022. them as ClientMessages since that was totally broken. Also simply
  15023. check for events and return an idle message if none are found. This
  15024. gives us an idle handler, and prevents deadlocking when no messages
  15025. are in the queue.
  15026. 2004-08-23 18:19 ravindra
  15027. * XplatUIWin32.cs: Removed the unwanted destructor.
  15028. 2004-08-23 17:27 pbartok
  15029. * ButtonBase.cs:
  15030. - Finishing touches. Works now, just needs some optimizations.
  15031. 2004-08-23 16:53 jordi
  15032. * ScrollBar.cs: small fix
  15033. 2004-08-23 16:45 pbartok
  15034. * Application.cs:
  15035. - Removed debug output
  15036. - Simplifications
  15037. 2004-08-23 16:43 jordi
  15038. * ScrollBar.cs: [no log message]
  15039. 2004-08-23 16:10 pbartok
  15040. * Form.cs:
  15041. - Fixed handling of WM_CLOSE message
  15042. - Removed debug output
  15043. 2004-08-23 16:09 pbartok
  15044. * Application.cs:
  15045. - Added handling of Idle event
  15046. - Added handling of form closing
  15047. - Fixed reporting of MessageLoop property
  15048. - Removed some unneeded code, should provide a bit of a speedup
  15049. 2004-08-23 15:22 pbartok
  15050. * Control.cs:
  15051. - Added InitLayout() method
  15052. - Added code to properly perform layout when Anchor or Dock property
  15053. is changed
  15054. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  15055. LAMESPEC, tried to do it in a way that makes sense
  15056. 2004-08-23 14:10 jordi
  15057. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  15058. properties and methods
  15059. 2004-08-23 13:55 pbartok
  15060. * Control.cs:
  15061. - Properly fixed Jordi's last fix
  15062. - Now uses Cursor's Position property instead of calling XplatUI
  15063. directly
  15064. 2004-08-23 13:44 jordi
  15065. * PaintEventHandler.cs: Adding missing attribute
  15066. 2004-08-23 13:39 pbartok
  15067. * Cursor.cs:
  15068. - Implemented Position property
  15069. 2004-08-23 13:39 pbartok
  15070. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  15071. - Added method to move mouse cursor
  15072. 2004-08-23 13:39 pbartok
  15073. * XplatUIX11.cs:
  15074. - Fixed setting of background color
  15075. - Added method to move mouse cursor
  15076. 2004-08-23 13:16 jordi
  15077. * Control.cs: avoids null exception
  15078. 2004-08-22 17:46 jackson
  15079. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  15080. PictureBox
  15081. 2004-08-22 17:40 jackson
  15082. * XplatUIX11.cs: Add some missing locks
  15083. 2004-08-22 15:10 pbartok
  15084. * Control.cs, Form.cs:
  15085. - Removed OverlappedWindow style from Control, instead it's default
  15086. now is child
  15087. - Made form windows OverlappedWindow by default
  15088. 2004-08-22 13:34 jackson
  15089. * ScrollBar.cs: Update the position through the Value property so
  15090. the OnValueChanged event is raised.
  15091. 2004-08-22 12:04 pbartok
  15092. * SWF.csproj:
  15093. - Added Cursor.cs and UserControl.cs
  15094. 2004-08-22 12:03 pbartok
  15095. * Cursor.cs:
  15096. - Started implementation, not usable yet
  15097. 2004-08-22 12:00 pbartok
  15098. * UserControl.cs:
  15099. - Implemented UserControl (complete)
  15100. 2004-08-21 19:20 ravindra
  15101. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  15102. 2004-08-21 18:49 ravindra
  15103. * ToolBar.cs: Probably this completes the missing attributes in
  15104. toolbar control.
  15105. 2004-08-21 18:03 ravindra
  15106. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  15107. Fixed toolbar control signatures.
  15108. 2004-08-21 16:32 pbartok
  15109. * LinkLabel.cs:
  15110. - Signature Fixes
  15111. 2004-08-21 16:30 pbartok
  15112. * Label.cs:
  15113. - Signature fixes
  15114. 2004-08-21 16:19 pbartok
  15115. * Control.cs, Label.cs:
  15116. - Signature fixes
  15117. 2004-08-21 15:57 pbartok
  15118. * ButtonBase.cs:
  15119. - Added loads of debug output for development
  15120. - Fixed typo in method name
  15121. 2004-08-21 15:52 pbartok
  15122. * ToolBarButtonClickEventArgs.cs:
  15123. - Added missing base class
  15124. 2004-08-21 14:53 pbartok
  15125. * Control.cs:
  15126. - Updated to match new GrabWindow signature
  15127. 2004-08-21 14:51 pbartok
  15128. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15129. - Added method to get default display size
  15130. 2004-08-21 14:23 pbartok
  15131. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15132. - Added method to query current grab state
  15133. - Added argument to allow confining a grab to a window
  15134. 2004-08-21 14:22 pbartok
  15135. * Keys.cs:
  15136. - Added [Flags] attribute so that modifiers can be used in bitwise
  15137. ops
  15138. 2004-08-21 14:21 pbartok
  15139. * TrackBar.cs, ScrollBar.cs:
  15140. - Replaced direct XplatUI calls with their Control counterpart
  15141. 2004-08-21 13:32 pbartok
  15142. * Control.cs:
  15143. - Implemented Created property
  15144. 2004-08-21 13:28 pbartok
  15145. * Control.cs:
  15146. - Implemented ContainsFocus
  15147. 2004-08-21 13:26 pbartok
  15148. * Control.cs:
  15149. - Implemented CausesValidation
  15150. 2004-08-21 13:21 pbartok
  15151. * Control.cs:
  15152. - Implemented CanFocus
  15153. - Implemented CanSelect
  15154. - Implemented Capture
  15155. 2004-08-21 12:35 pbartok
  15156. * XplatUIWin32.cs:
  15157. - Fixed bug with Async message handling
  15158. - Implemented getting the ModifierKeys
  15159. 2004-08-21 12:32 jackson
  15160. * AsyncMethodResult.cs: Make sure we have the mutex before we
  15161. release it. Fixes BeginInvoke on windows
  15162. 2004-08-21 11:31 pbartok
  15163. * XplatUIWin32.cs, XplatUIX11.cs:
  15164. - Drivers now return proper mouse state
  15165. 2004-08-21 10:54 jackson
  15166. * Control.cs: Implement EndInvoke
  15167. 2004-08-21 10:48 jackson
  15168. * Timer.cs: Remove unneeded finalizer
  15169. 2004-08-20 19:52 ravindra
  15170. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  15171. in mouse event handling in the ToolBar control.
  15172. 2004-08-20 19:50 ravindra
  15173. * ImageList.cs: Changed draw method to use the arguments passed in
  15174. to draw the image.
  15175. 2004-08-20 18:58 pbartok
  15176. * XplatUIStructs.cs:
  15177. - Added private message for async communication
  15178. 2004-08-20 17:38 ravindra
  15179. * Control.cs: Made RightToLeft property virtual and removed a
  15180. Console.WriteLine.
  15181. 2004-08-20 14:39 jordi
  15182. * ThemeGtk.cs: use style_attach
  15183. 2004-08-20 14:39 pbartok
  15184. * XplatUIWin32.cs:
  15185. - Added jackson's Async code from X11 to Win32
  15186. 2004-08-20 14:09 pbartok
  15187. * SWF.csproj:
  15188. - Added all new files
  15189. 2004-08-20 14:09 pbartok
  15190. * Control.cs:
  15191. - Added call to set window background color
  15192. 2004-08-20 14:03 pbartok
  15193. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  15194. - Added method for setting the window background
  15195. 2004-08-20 14:02 pbartok
  15196. * XplatUIWin32.cs:
  15197. - Added method for setting the background color
  15198. - Added handling for erasing the window background
  15199. 2004-08-20 13:45 jordi
  15200. * TrackBar.cs: fixes timer, new properties and methods
  15201. 2004-08-20 13:34 jackson
  15202. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  15203. correct thread
  15204. 2004-08-20 13:22 jackson
  15205. * Timer.cs: Timer Tick events are now handed through Controls Async
  15206. mechanism so the callbacks are executed in the same thread as X
  15207. 2004-08-20 13:19 jackson
  15208. * XplatUIDriver.cs: Expose functionality to send async messages
  15209. through the driver
  15210. 2004-08-20 13:18 jackson
  15211. * Control.cs: Implement Begininvoke
  15212. 2004-08-20 13:14 jackson
  15213. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  15214. messages through the driver
  15215. 2004-08-20 13:12 jackson
  15216. * XplatUIX11.cs: Lock before all X operations. Also added Async
  15217. method functionality through XSendEvent
  15218. 2004-08-20 13:11 jackson
  15219. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  15220. This will screw up on 64 bit systems)
  15221. 2004-08-20 13:10 jackson
  15222. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  15223. Async messages through X/Win32
  15224. 2004-08-19 19:39 pbartok
  15225. * XplatUIX11.cs:
  15226. - Updated code to match new HandleData.DeviceContext type
  15227. 2004-08-19 19:38 pbartok
  15228. * HandleData.cs:
  15229. - Made DeviceContext a generic object to allow usage from various
  15230. drivers
  15231. - Added support for queueing Windows messages
  15232. 2004-08-19 19:37 pbartok
  15233. * XplatUIWin32.cs:
  15234. - Added generation of MouseEnter, MouseLeave and MouseHover events
  15235. - Added cleanup on EndPaint
  15236. 2004-08-19 19:17 pbartok
  15237. * Control.cs:
  15238. - Added handling of WM_MOUSEHOVER
  15239. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  15240. code
  15241. 2004-08-19 18:55 jordi
  15242. * ThemeGtk.cs: fixes button order
  15243. 2004-08-19 18:12 jordi
  15244. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  15245. 2004-08-19 17:09 pbartok
  15246. * Control.cs:
  15247. - Added Right property
  15248. - Added RightToLeft property
  15249. 2004-08-19 16:27 jordi
  15250. * ThemeGtk.cs: experimental GTK theme support
  15251. 2004-08-19 16:26 jordi
  15252. * ITheme.cs, Theme.cs: move themes from an interface to a class
  15253. 2004-08-19 16:25 jordi
  15254. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  15255. theme enhancaments
  15256. 2004-08-19 16:04 pbartok
  15257. * XplatUIX11.cs:
  15258. - Added colormap basics
  15259. - Added a way to re-initialize with a different display handle
  15260. - Fixed setting of the window background color
  15261. - Added various X11 imports related to colors and colormaps
  15262. 2004-08-19 15:51 pbartok
  15263. * X11Structs.cs:
  15264. - Removed packing hints (Paolo suggested this a while back)
  15265. - fixed colormap type
  15266. - Added default Atom types
  15267. - Added Screen and color structs and enums
  15268. 2004-08-19 15:39 pbartok
  15269. * ImageList.cs:
  15270. - Added missing Draw() method
  15271. - Added missing RecreateHandle event
  15272. 2004-08-19 15:30 pbartok
  15273. * Form.cs:
  15274. - Added handling of WM_CLOSE
  15275. 2004-08-18 13:16 jordi
  15276. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  15277. a table
  15278. 2004-08-18 09:56 jordi
  15279. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  15280. 2004-08-17 15:31 ravindra
  15281. * SWF.csproj: Updated project.
  15282. 2004-08-17 15:25 pbartok
  15283. * Control.cs:
  15284. - Drawing improvement; don't call UpdateBounds if we are not visible
  15285. (or have been minimized)
  15286. 2004-08-17 15:24 pbartok
  15287. * XplatUIWin32.cs:
  15288. - Finished IsVisible
  15289. - Added Win32GetWindowPlacement
  15290. 2004-08-17 15:08 jackson
  15291. * Panel.cs: Initial checkin of the Panel
  15292. 2004-08-17 14:25 pbartok
  15293. * Control.cs:
  15294. - Fixed broken handling of default window sizes
  15295. 2004-08-17 13:29 jackson
  15296. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  15297. has a large startup time.
  15298. 2004-08-17 10:25 jackson
  15299. * HandleData.cs: union areas properly
  15300. 2004-08-17 10:12 jackson
  15301. * HandleData.cs: union areas properly
  15302. 2004-08-16 20:00 ravindra
  15303. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  15304. 2004-08-16 18:48 ravindra
  15305. * ToolBar.cs: Added attributes.
  15306. 2004-08-16 17:17 ravindra
  15307. * SWF.csproj: Updated project.
  15308. 2004-08-16 17:16 jackson
  15309. * XplatUIX11.cs: Check for more expose events before sending a
  15310. WM_PAINT so they can all be grouped together. This makes dragging a
  15311. window across another window redraw in a sane way.
  15312. 2004-08-16 15:47 pbartok
  15313. * Control.cs:
  15314. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  15315. support OnMouseEnter/Leave()
  15316. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  15317. exposure handling
  15318. 2004-08-16 15:46 pbartok
  15319. * XplatUIStructs.cs, XplatUIX11.cs:
  15320. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  15321. OnMouseEnter/Leave()
  15322. 2004-08-16 15:34 jackson
  15323. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  15324. sure messages get the message field set to WM_NULL if they are not
  15325. handled.
  15326. 2004-08-16 15:24 jackson
  15327. * HandleData.cs: HandleData is used for storing message information
  15328. for window handles
  15329. 2004-08-15 17:23 ravindra
  15330. * ColorDepth.cs: Added attribute.
  15331. 2004-08-15 17:23 ravindra
  15332. * SWF.csproj: Updated project for ToolBar Control.
  15333. 2004-08-15 17:20 ravindra
  15334. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  15335. control and also dos2unix format.
  15336. 2004-08-15 17:13 ravindra
  15337. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  15338. ToolBarButtonClickEventArgs.cs,
  15339. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  15340. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  15341. 2004-08-15 15:31 pbartok
  15342. * ButtonBase.cs:
  15343. - First (mostly) working version
  15344. 2004-08-13 16:15 pbartok
  15345. * Control.cs:
  15346. - Fixed Anchor default
  15347. 2004-08-13 15:43 pbartok
  15348. * Control.cs:
  15349. - Changed GetCursorPos signature
  15350. 2004-08-13 15:42 pbartok
  15351. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  15352. - Changed signature for GetCursorPos
  15353. 2004-08-13 15:25 pbartok
  15354. * XplatUIX11.cs:
  15355. - Cleanup
  15356. - Fixed resizing/exposure handling
  15357. 2004-08-13 15:22 jordi
  15358. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  15359. with tickposition
  15360. 2004-08-13 14:55 jordi
  15361. * TrackBar.cs: change from wndproc to events
  15362. 2004-08-13 13:00 jordi
  15363. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15364. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  15365. 2004-08-13 12:53 pbartok
  15366. * XplatUIWin32.cs:
  15367. - Changed GetWindowPos to also provide client area size
  15368. - Fixed broken prototypes for several win32 functions
  15369. 2004-08-13 12:53 pbartok
  15370. * XplatUI.cs, XplatUIDriver.cs:
  15371. - Changed GetWindowPos to also provide client area size
  15372. 2004-08-13 12:52 pbartok
  15373. * XplatUIX11.cs:
  15374. - Added generation of WM_POSCHANGED
  15375. - Changed GetWindowPos to also provide client area size
  15376. 2004-08-13 12:52 pbartok
  15377. * Control.cs:
  15378. - Added Dispose() and destructor
  15379. - Fixed resizing and bounds calculation
  15380. - Fixed Layout
  15381. - Added memory savings for invisible windows
  15382. 2004-08-13 12:46 jordi
  15383. * TrackBar.cs: adds timer and grap window
  15384. 2004-08-13 10:25 jackson
  15385. * Timer.cs: SWF Timer
  15386. 2004-08-12 16:59 pbartok
  15387. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15388. - Implemented method to get current mouse position
  15389. 2004-08-12 14:29 jordi
  15390. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  15391. enhancement, fix mouse problems, highli thumb, etc
  15392. 2004-08-12 13:31 pbartok
  15393. * Control.cs:
  15394. - Fixed Anchoring bugs
  15395. 2004-08-12 13:01 jackson
  15396. * StatusBar.cs: Don't forget things
  15397. 2004-08-12 12:54 jackson
  15398. * ThemeWin32Classic.cs: Handle owner draw status bars
  15399. 2004-08-12 12:54 jackson
  15400. * StatusBar.cs: Implement missing properties, events, and methods.
  15401. Handle mouse clicking
  15402. 2004-08-12 10:19 jackson
  15403. * StatusBarPanelClickEventArgs.cs,
  15404. StatusBarPanelClickEventHandler.cs: Classes for handling status
  15405. bar panel click events
  15406. 2004-08-12 10:10 jackson
  15407. * Control.cs: Add missing properties
  15408. 2004-08-12 09:46 pbartok
  15409. * BindingsManagerBase.cs:
  15410. - Name changed to BindingManagerBase.cs
  15411. 2004-08-12 09:25 jordi
  15412. * ScrollableControl.cs: calls ctrlbase instead of exeception
  15413. 2004-08-11 16:28 pbartok
  15414. * InputLanguageChangingEventArgs.cs:
  15415. - Never check in before compiling. Fixes the last check-in
  15416. 2004-08-11 16:26 pbartok
  15417. * InputLanguageChangingEventArgs.cs:
  15418. - More signature fixes
  15419. 2004-08-11 16:20 pbartok
  15420. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  15421. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  15422. ImageListStreamer.cs, InputLanguage.cs,
  15423. InputLanguageChangedEventArgs.cs,
  15424. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  15425. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  15426. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  15427. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15428. - Signature fixes
  15429. 2004-08-11 16:16 pbartok
  15430. * Application.cs:
  15431. - Fixed Signature
  15432. - Added .Net 1.1 method
  15433. 2004-08-11 15:25 pbartok
  15434. * SWF.csproj:
  15435. - Fixed BindingManagerBase.cs filename
  15436. 2004-08-11 15:22 pbartok
  15437. * BindingManagerBase.cs:
  15438. - Was checked in with wrong filename
  15439. 2004-08-11 14:50 pbartok
  15440. * SWF.csproj:
  15441. - Updated
  15442. 2004-08-11 13:41 jordi
  15443. * XplatUIWin32.cs: Fixes ClientRect
  15444. 2004-08-11 13:19 pbartok
  15445. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15446. XplatUIX11.cs:
  15447. - We had SetWindowPos and MoveWindow to set window positions and
  15448. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  15449. keep SetWindowPos as matching counterpart
  15450. - Added some X11 sanity checking
  15451. 2004-08-11 12:59 pbartok
  15452. * Control.cs:
  15453. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  15454. (It seems that SetBounds is just a front for SetBoundsCore and
  15455. SetBoundsCore updates the underlying window system and
  15456. UpdateBounds is responsible for updating the variables associated
  15457. with the Control and sending the events)
  15458. - Major cleanup of Size handling; we now have two sizes, client_size
  15459. and bounds. Bounds defines the window with decorations, client_size
  15460. without them.
  15461. 2004-08-11 12:55 pbartok
  15462. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15463. - Added method to calculate difference between decorated window and
  15464. raw client area
  15465. 2004-08-11 12:54 pbartok
  15466. * Label.cs:
  15467. - Forcing redraw on resize
  15468. 2004-08-11 11:43 pbartok
  15469. * ImageList.cs:
  15470. - Removed disposing of the actual images when the list is disposed
  15471. 2004-08-11 09:13 pbartok
  15472. * Control.cs:
  15473. - Now properly reparents windows
  15474. 2004-08-11 08:37 pbartok
  15475. * Control.cs:
  15476. - Duh!
  15477. 2004-08-11 07:47 pbartok
  15478. * Control.cs:
  15479. - Rewrote the collection stuff. Might not be as fast now, not
  15480. keeping the number of children around and accessible directly, but
  15481. it's more straightforward
  15482. 2004-08-11 07:44 pbartok
  15483. * AccessibleObject.cs:
  15484. - Fixed to match ControlCollection rewrite
  15485. 2004-08-11 07:43 pbartok
  15486. * ImageList.cs:
  15487. - Added missing creation of the collection list
  15488. 2004-08-10 20:08 jackson
  15489. * StatusBar.cs: Get the paint message from WndProc
  15490. 2004-08-10 19:31 jackson
  15491. * ThemeWin32Classic.cs: Create Brushes as little as possible
  15492. 2004-08-10 19:20 jackson
  15493. * UICues.cs: Add Flags attribute
  15494. 2004-08-10 19:19 jackson
  15495. * StatusBarPanel.cs: Signature cleanup
  15496. 2004-08-10 19:10 jackson
  15497. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  15498. Initial implementation of status bar item drawing
  15499. 2004-08-10 17:27 jordi
  15500. * TrackBar.cs: add missing methods, properties, and restructure to
  15501. hide extra ones
  15502. 2004-08-10 16:24 jackson
  15503. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  15504. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  15505. attribute
  15506. 2004-08-10 13:21 jordi
  15507. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  15508. enhancements and standarize on win colors defaults
  15509. 2004-08-10 12:52 jackson
  15510. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  15511. ThemeWin32Classic.cs: Implement DrawItem functionality
  15512. 2004-08-10 12:47 jordi
  15513. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  15514. 2004-08-10 12:32 jordi
  15515. * Control.cs: throw ontextchange event
  15516. 2004-08-10 11:43 pbartok
  15517. * Control.cs:
  15518. - Added more to the still unfinished Dock/Anchor layout code
  15519. 2004-08-10 11:39 pbartok
  15520. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  15521. - Added GetWindowPos method
  15522. 2004-08-10 11:36 pbartok
  15523. * XplatUIWin32.cs:
  15524. - Implemented several methods
  15525. 2004-08-10 09:47 jackson
  15526. * TrackBar.cs: Allow control to handle buffering
  15527. 2004-08-10 09:41 jackson
  15528. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  15529. 2004-08-10 09:24 jackson
  15530. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  15531. 2004-08-10 09:09 jackson
  15532. * StatusBar.cs: Let Control handle all the buffering.
  15533. 2004-08-10 09:08 jackson
  15534. * Control.cs: Control will now handle the buffering code, so each
  15535. control does not have to implement this.
  15536. 2004-08-10 08:34 jackson
  15537. * XplatUIDriver.cs: Use default colors from the theme
  15538. 2004-08-09 17:12 pbartok
  15539. * ImageList.cs:
  15540. - Fixed several bugs Ravindra pointed out
  15541. 2004-08-09 16:11 pbartok
  15542. * Control.cs:
  15543. - Added incomplete dock layout code
  15544. - Added support for mouse wheel
  15545. 2004-08-09 16:09 pbartok
  15546. * XplatUIX11.cs:
  15547. - Added handling for middle and right mousebutton
  15548. - Added handling for mouse wheel
  15549. - Added handling for key state and mouse state and position
  15550. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  15551. messages
  15552. 2004-08-09 15:40 jackson
  15553. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  15554. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  15555. checkin
  15556. 2004-08-09 15:37 jackson
  15557. * StatusBar.cs: Initial implementation of StatusBar
  15558. 2004-08-09 15:36 jackson
  15559. * ITheme.cs: Add support for drawing status bar and getting status
  15560. bar item sizes
  15561. 2004-08-09 15:35 pbartok
  15562. * MouseButtons.cs:
  15563. - Fixed values
  15564. 2004-08-09 15:34 jackson
  15565. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  15566. status bar item sizes
  15567. 2004-08-09 15:21 jackson
  15568. * ThemeWin32Classic.cs: Use known colors for default control
  15569. colours
  15570. 2004-08-09 15:12 jackson
  15571. * ThemeWin32Classic.cs: Make the default font static, it is static
  15572. in control so this doesn't change functionality and creating fonts
  15573. is sloooooow.
  15574. 2004-08-09 14:56 pbartok
  15575. * X11Structs.cs:
  15576. - Added GrabMode enum
  15577. 2004-08-09 14:55 pbartok
  15578. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15579. - Removed Run method, was only required for initial development
  15580. 2004-08-09 14:51 pbartok
  15581. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15582. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  15583. capture
  15584. 2004-08-09 13:48 pbartok
  15585. * XplatUIX11.cs:
  15586. - Fixed default sizing for child windows
  15587. 2004-08-09 12:56 pbartok
  15588. * XplatUIX11.cs:
  15589. - Added generation of WM_DESTROY message
  15590. - Added handling of window manager induced shutdown
  15591. 2004-08-09 11:31 jackson
  15592. * ThemeWin32Classic.cs: New names for control properties
  15593. 2004-08-09 11:25 jackson
  15594. * Control.cs: Use new color names
  15595. 2004-08-09 11:02 jackson
  15596. * XplatUI.cs: Get default window properties from the theme
  15597. 2004-08-09 11:01 jackson
  15598. * ITheme.cs: The theme engine now controls default window
  15599. properties
  15600. 2004-08-09 11:00 jackson
  15601. * ThemeWin32Classic.cs: Add default window color properties
  15602. 2004-08-09 10:17 jackson
  15603. * ThemeWin32Classic.cs: Use correct default back color
  15604. 2004-08-09 10:05 jackson
  15605. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  15606. the theme now.
  15607. 2004-08-09 09:56 jackson
  15608. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  15609. 2004-08-09 09:54 jackson
  15610. * Control.cs: Get default properties from the theme.
  15611. 2004-08-09 09:53 jackson
  15612. * ITheme.cs: Themes now handle default control properties
  15613. 2004-08-09 09:53 jackson
  15614. * ThemeWin32Classic.cs: Themes now handle default control
  15615. properties so coloring will be consistent
  15616. 2004-08-08 16:54 jordi
  15617. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  15618. 2004-08-08 15:08 jordi
  15619. * XplatUIX11.cs: fixes keyboard crash
  15620. 2004-08-08 13:47 jordi
  15621. * Label.cs: add cvs header info
  15622. 2004-08-08 12:09 jackson
  15623. * ThemeWin32Classic.cs: Add pen_buttonface
  15624. 2004-08-08 11:52 jordi
  15625. * Label.cs, LinkLabel.cs: [no log message]
  15626. 2004-08-08 11:34 jordi
  15627. * ThemeWin32Classic.cs: Use Windows Standard Colours
  15628. 2004-08-07 17:32 jordi
  15629. * TrackBar.cs: throw exceptions of invalid enums values
  15630. 2004-08-07 17:31 jordi
  15631. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  15632. draw method name
  15633. 2004-08-07 16:56 jackson
  15634. * HorizontalAlignment.cs: Initial checkin
  15635. 2004-08-07 13:16 jordi
  15636. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  15637. methods
  15638. 2004-08-07 13:05 jordi
  15639. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  15640. GetSysColor defines
  15641. 2004-08-06 18:01 pbartok
  15642. * ThemeWin32Classic.cs:
  15643. - Fixed some rounding issues with float/int
  15644. 2004-08-06 18:00 jackson
  15645. * DockStyle.cs, AnchorStyles.cs:
  15646. Add flags and serializable attributes.
  15647. 2004-08-06 17:46 pbartok
  15648. * XplatUIX11.cs:
  15649. - Implemented GetParent
  15650. 2004-08-06 17:18 pbartok
  15651. * TrackBar.cs:
  15652. - Fixed some rounding issues with float/int
  15653. 2004-08-06 17:17 pbartok
  15654. * X11Structs.cs, XplatUIX11.cs:
  15655. - Fixed Refresh and Invalidate
  15656. 2004-08-06 15:30 pbartok
  15657. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  15658. - Fixed recursive loop when resizing
  15659. - Improved/fixed redrawing on expose messages
  15660. 2004-08-06 09:53 jordi
  15661. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  15662. keyboard navigation
  15663. 2004-08-06 08:02 pbartok
  15664. * X11Structs.cs, XplatUIX11.cs:
  15665. - Fixed reparenting
  15666. - Fixed window border creation
  15667. 2004-08-05 15:38 pbartok
  15668. * XplatUIX11.cs:
  15669. - Attempted fix for reparenting problems
  15670. 2004-08-04 15:14 pbartok
  15671. * Control.cs:
  15672. - Fixed Invalidation bug (calculated wrong client area)
  15673. - Added ClientSize setter
  15674. 2004-08-04 15:13 pbartok
  15675. * Form.cs:
  15676. - Added AutoScale properties
  15677. 2004-08-04 15:13 pbartok
  15678. * SWF.csproj:
  15679. - Added latest files
  15680. 2004-08-04 14:11 pbartok
  15681. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15682. XplatUIX11.cs:
  15683. - Added Invalidate handling
  15684. 2004-08-03 17:09 jordi
  15685. * XplatUIDriver.cs: fixes spelling mistake
  15686. 2004-07-27 09:53 jordi
  15687. * TrackBar.cs: fixes trackbar events, def classname, methods
  15688. signature
  15689. 2004-07-27 09:29 jordi
  15690. * ScrollBar.cs: fixes scrollbar events
  15691. 2004-07-27 04:38 jordi
  15692. * Control.cs: changes to be able to run winforms samples
  15693. 2004-07-26 11:42 jordi
  15694. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  15695. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  15696. 2004-07-26 05:41 jordi
  15697. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  15698. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  15699. implementation
  15700. 2004-07-22 09:22 jordi
  15701. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  15702. check link overlapping, implement events, and fixes
  15703. 2004-07-21 10:28 jordi
  15704. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  15705. 2004-07-21 10:19 jordi
  15706. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  15707. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  15708. LinkLabelLinkClickedEventArgs.cs,
  15709. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  15710. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  15711. implementation
  15712. 2004-07-19 13:09 jordi
  15713. * Control.cs, Label.cs: label control re-written: added missing
  15714. functionlity, events, and properties
  15715. 2004-07-19 10:49 jordi
  15716. * Control.cs: fixes SetBounds logic
  15717. 2004-07-19 01:29 jordi
  15718. * Control.cs: Call RefreshWindow only if the window has created
  15719. 2004-07-15 14:05 pbartok
  15720. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  15721. - Implemented ImageList and ImageList.ImageCollection classes
  15722. - Added ColorDepth enumeration
  15723. - Updated SWF VS.Net project
  15724. 2004-07-15 11:06 jordi
  15725. * XplatUIStructs.cs: added MsgButons enum
  15726. 2004-07-15 11:03 jordi
  15727. * Control.cs: added basic mouse handeling events
  15728. 2004-07-15 03:38 jordi
  15729. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  15730. Vertical TrackBar control implementation
  15731. 2004-07-13 09:33 jordi
  15732. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  15733. 2004-07-13 09:31 jordi
  15734. * Control.cs, Form.cs: commit: new properties and fixes form size
  15735. problems
  15736. 2004-07-09 14:13 miguel
  15737. * ProgressBar.cs: Spelling
  15738. 2004-07-09 11:25 pbartok
  15739. * ProgressBar.cs:
  15740. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  15741. faster
  15742. 2004-07-09 11:17 miguel
  15743. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  15744. * ProgressBar.cs: Fixed spelling for `block'
  15745. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  15746. style guidelines.
  15747. Avoid using the += on rect.X, that exposed a bug in the compiler.
  15748. 2004-07-08 23:21 pbartok
  15749. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  15750. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  15751. BaseCollection.cs, Binding.cs, BindingContext.cs,
  15752. BindingMemberInfo.cs, BindingsCollection.cs,
  15753. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  15754. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  15755. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  15756. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  15757. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  15758. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  15759. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  15760. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  15761. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  15762. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  15763. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  15764. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  15765. InputLanguageChangedEventArgs.cs,
  15766. InputLanguageChangedEventHandler.cs,
  15767. InputLanguageChangingEventArgs.cs,
  15768. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  15769. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  15770. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  15771. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  15772. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  15773. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  15774. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  15775. QueryAccessibilityHelpEventArgs.cs,
  15776. QueryAccessibilityHelpEventHandler.cs,
  15777. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  15778. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  15779. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  15780. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  15781. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  15782. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  15783. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  15784. XplatUIX11.cs, lang.cs:
  15785. - Initial check-in