ChangeLog 647 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412
  1. 2006-11-06 Jackson Harper <[email protected]>
  2. * TextControl.cs: These are 1 based.
  3. * TextBoxBase.cs: When setting the selected text, don't change the
  4. selected text tags, this is done by ReplaceText, just position the
  5. cursor at the end of the new text.
  6. 2006-11-06 Alexander Olk <[email protected]>
  7. * ListView.cs: Allow label edit only when, when LabelEdit is
  8. set to true.
  9. 2006-11-06 Jackson Harper <[email protected]>
  10. * TextControl.cs: If a suitable wrapping position isn't found,
  11. just wrap right in the middle of a word.
  12. 2006-11-06 Alexander Olk <[email protected]>
  13. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  14. bug #79820.
  15. 2006-11-06 Jackson Harper <[email protected]>
  16. * TreeView.cs: Can't use the VisibleCount property when setting
  17. scrollbar heights, because this doesn't take into account whether
  18. or not the horz scrollbar just came visible.
  19. 2006-11-05 Everaldo Canuto <[email protected]>
  20. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  21. activated. Fixes #79369, #79832.
  22. 2006-11-05 Alexander Olk <[email protected]>
  23. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  24. had to remove support for links that point to a directory. FileInfo
  25. returns no usefull information (means, the directory they point to)
  26. for such links. Replaced some empty string ("") with String.Empty.
  27. 2006-11-04 Gert Driesen <[email protected]>
  28. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  29. NullReferenceException when attempting to remove node that is not in
  30. collection. Throw NullReferenceException when null is passed to
  31. Remove. Allow first element of the collection to be removed. Fixes
  32. bug #79831. In GetEnumerator ().Current return null if positioned
  33. before the first element of the collection. In GetEnumerator ().Reset,
  34. position before first element of the collection.
  35. 2006-11-04 Gert Driesen <[email protected]>
  36. * PropertyGrid.cs: To match MS, remove default title and description
  37. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  38. buttons.
  39. 2006-11-04 Chris Toshok <[email protected]>
  40. * Theme.cs: add a Clamp method, just for kicks.
  41. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  42. 2006-11-04 Chris Toshok <[email protected]>
  43. * Form.cs: if the form isn't visible, Close() does nothing.
  44. 2006-11-03 Chris Toshok <[email protected]>
  45. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  46. Hide it.
  47. (WndProc): don't Dispose after handling the WM_CLOSE message.
  48. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  49. them as such, instead of using casts from Control to Form. Also,
  50. don't Dispose of the modal dialog when we fall out of the loop -
  51. Close() it instead.
  52. fixes bug #79813.
  53. 2006-11-03 Chris Toshok <[email protected]>
  54. * Control.cs (Dispose): only go through the dispose thing if we're
  55. @disposing, and we haven't already been disposed. Fixes bug
  56. #79814.
  57. * Form.cs: no reason to call "base.Dispose()" here instead of
  58. "Dispose()".
  59. 2006-11-03 Mike Kestner <[email protected]>
  60. * ComboBox.cs : use ToString instead of casts in AddItem for
  61. sorting functionality. Fixes #79812.
  62. 2006-11-03 Chris Toshok <[email protected]>
  63. * Application.cs: pave the way for actually using the thread
  64. exception dialog. it's ifdefed out at the moment.
  65. 2006-11-03 Chris Toshok <[email protected]>
  66. * ThreadExceptionDialog.cs: until we get a better layout, actually
  67. hide the details textbox and label when we shouldn't see them.
  68. 2006-11-03 Jackson Harper <[email protected]>
  69. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  70. multiline textboxes anymore. This method also determines the
  71. width/height of a textboxes canvas area.
  72. - Sorta a revert of the last patch. For multiline just position
  73. the controls, then bail. This way the scrollbar width won't be
  74. altered.
  75. 2006-11-03 Everaldo Canuto <[email protected]>
  76. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  77. it dont need. Fixes #79537.
  78. 2006-11-02 Jackson Harper <[email protected]>
  79. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  80. send the status after firing the DndOver event.
  81. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  82. * TrackBar.cs: Now orientation only switches height / width if
  83. the control's handle is created (Win32 does it like this). Also
  84. fixed a typo in ToString() for a test to pass, changed the
  85. exception thrown in set_LargeChange and set_SmallChange to
  86. match Win32 behaviour, and added TrackBar tests to the unit
  87. tests.
  88. 2006-11-02 Chris Toshok <[email protected]>
  89. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  90. not _NET_WM_STATE_NO_TASKBAR.
  91. 2006-11-02 Jackson Harper <[email protected]>
  92. * TextControl.cs: Increment count by one, since in the update view
  93. count - 1 is used.
  94. 2006-11-02 Jackson Harper <[email protected]>
  95. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  96. the mouse is in the client rectangle (duh).
  97. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  98. * TrackBar.cs: Fixed trackbar jumping around when clicking
  99. on it - the trackbar was not detecting correctly at which
  100. side of the thumb the click was done. (fixes #79718)
  101. 2006-11-02 Everaldo Canuto <[email protected]>
  102. * ListBox.cs: scroll visible area when change SelectedIndex to
  103. a non visible area. Fixes #79481.
  104. 2006-11-01 Jackson Harper <[email protected]>
  105. * TextControl.cs: When replacing the selection move the selection
  106. start/end/anchor to the end of the new text.
  107. 2006-11-01 Jackson Harper <[email protected]>
  108. * XplatUIWin32.cs: When setting the parent change the controls
  109. visibility to it's visibility flag, not to it's old parents
  110. visibility (.Visible walks the parent chain).
  111. 2006-11-01 Chris Toshok <[email protected]>
  112. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  113. XSetTransientForHint fix breaks paint .net's tool windows. more
  114. work needed for that one.
  115. 2006-11-01 Chris Toshok <[email protected]>
  116. * ScrollBar.cs: throw ArgumentException instead of Exception in
  117. LargeChange/SmallChange setters. fixes unit tests.
  118. 2006-10-31 Andreia Gaita <[email protected]>
  119. * ContainerControl.cs: reverted rev.67183 (which was itself
  120. a reversion of rev.66853... eh).
  121. * Control.cs: Fixes Reflector hang by changing Focus() call
  122. to what it was before rev.66643 (calling Select() here sets
  123. ActiveControl, which in some situations calls back Focus and
  124. eventually does a stack overflow). Temp fix.
  125. Changes to GetNextControl() to not look for children to select when
  126. parent cannot be selectable (so it looks for siblings instead)
  127. 2006-10-31 Mike Kestner <[email protected]>
  128. * CheckedListBox.cs : off by one error in returned index from
  129. ObjectCollection.Add. Fixes #79758.
  130. 2006-10-31 Chris Toshok <[email protected]>
  131. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  132. calls for the textbox/spinner, to keep from recursing to the point
  133. where we crash. Fixes #79760.
  134. 2006-10-31 Chris Toshok <[email protected]>
  135. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  136. null/"" value, just return. matches ms's behavior and fixes some
  137. failing tests.
  138. 2006-10-31 Chris Toshok <[email protected]>
  139. * Control.cs (set_Capture): make a logic a little easier to
  140. follow.
  141. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  142. if it's being destroyed. A necessary fix surely, but a bandaid
  143. also, to fix the stuck capture problem in bug #78413.
  144. 2006-10-31 Chris Toshok <[email protected]>
  145. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  146. convention of clearing hwnd.ClientRect when we set the
  147. width/height (so it'll be recalculated by Hwnd).
  148. 2006-10-31 Andreia Gaita <[email protected]>
  149. * ContainerControl.cs: reversed Contains check from
  150. ActiveControl due to hanging problems. This fix
  151. partly regresses #79667 (button does not have
  152. initial focus), so this might be a symptom for
  153. a larger parenting problem (set_ActiveControl
  154. is being called but the child control does
  155. not have the parent set yet?)
  156. 2006-10-31 Mike Kestner <[email protected]>
  157. * MenuAPI.cs : fix keynav when menu is click activated.
  158. 2006-10-31 Jonathan Pobst <[email protected]>
  159. * ToolStrip*: Version 0.2.
  160. * MenuStrip.cs: Version 0.1.
  161. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  162. 2006-10-30 Chris Toshok <[email protected]>
  163. [ fixes the oversized notify icon issue in bug #79745 ]
  164. * NotifyIcon.cs: scale the icon down to the size we're given by
  165. the XplatUI layer (this would be faster if we did it once instead
  166. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  167. since it's never invoked.
  168. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  169. pixels high by default, so let's hardcode our systray icon to that
  170. size. The SYSTEM_TRAY protocol should really have a way for
  171. client apps to query for the correct icon size.. but oh well. A
  172. couple of patches to deal with the screwy client_window ==
  173. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  174. instance, and also make sure we don't XSelectInput twice).
  175. 2006-10-30 Chris Toshok <[email protected]>
  176. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  177. recreating forms. Control recreation is the bane of my existence.
  178. Fix it in a way that keeps everyone happy.
  179. 2006-10-30 Chris Toshok <[email protected]>
  180. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  181. just non-CHILD ones. otherwise sometimes scrollbars end up with
  182. client_windows not being resized to the proper size (ReportBuilder
  183. shows this extremely well).
  184. 2006-10-30 Chris Toshok <[email protected]>
  185. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  186. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  187. showing up in the gnome taskbar. Fixes bug #79790.
  188. 2006-10-30 Chris Toshok <[email protected]>
  189. * ApplicationContext.cs: guard against a NRE.
  190. * Application.cs: null out the old MainForm for the context, so we
  191. don't try to use it again once it's disposed. Fixes bug #79783.
  192. 2006-10-30 Chris Toshok <[email protected]>
  193. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  194. BindingContext, set the data source directly, otherwise do the
  195. lazy approach - the actual ListManager will be created when we get
  196. a BindingContext. Fixes bug #79700.
  197. 2006-10-30 Jonathan Pobst <[email protected]>
  198. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  199. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  200. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  201. 2006-10-30 Jonathan Pobst <[email protected]>
  202. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  203. of SetVisible that allows a window to be shown, but not activated.
  204. This is needed on Windows for MenuStrip, and can probably be used
  205. with MainMenu and ComboBox to fix the focus stealing issues on
  206. Windows.
  207. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  208. 2006-10-30 Alexander Olk <[email protected]>
  209. * PictureBox.cs: Fix the output of the ToString method.
  210. 2006-10-29 Chris Toshok <[email protected]>
  211. * Control.cs (get_TopLevelControl): fix bug #79781.
  212. 2006-10-29 Chris Toshok <[email protected]>
  213. * ListControl.cs (set_DataSource): throw Exception here, not
  214. ArgumentException, to match MS behavior.
  215. 2006-10-29 Chris Toshok <[email protected]>
  216. * Form.cs: remove the try-catch's around calls to GetWindowState.
  217. We can just check the return value.
  218. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  219. Instead return -1.
  220. * XplatUI.cs: Add note about additional return value for
  221. GetWindowState.
  222. 2006-10-29 Chris Toshok <[email protected]>
  223. * Control.cs (CreateHandle): when we create our handle, we also
  224. create the handles of our child controls. Fixes one of the
  225. Control unit tests (CH11).
  226. 2006-10-28 Alexander Olk <[email protected]>
  227. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  228. 2006-10-28 Alexander Olk <[email protected]>
  229. * ThemeClearlooks.cs: A little speedup.
  230. 2006-10-27 Chris Toshok <[email protected]>
  231. * Control.cs: implement Control.FromChildHandle in a way that
  232. matches the docs (and fixes the failed test.)
  233. 2006-10-27 Chris Toshok <[email protected]>
  234. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  235. comments).
  236. * DataGrid.cs: implement ResetForeColor such that the tests
  237. succeed.
  238. 2006-10-27 Chris Toshok <[email protected]>
  239. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  240. being set to "". Fixes bug #79759.
  241. 2006-10-27 Jackson Harper <[email protected]>
  242. * TextControl.cs: We need to clear the entire selection area when
  243. setting the start, otherwise multiline selections are still
  244. visible.
  245. 2006-10-26 Chris Toshok <[email protected]>
  246. * PropertyGridView.cs:
  247. - ifdef all the code specific to the double
  248. buffer case, and provide some alternatives in the non-doublebuffer
  249. code, which makes heavy use of XplatUI.ScrollWindow to move things
  250. around without having to invalidate (and cause flicker). There
  251. are still some drawing problems in the non-doublebuffered case, so
  252. DOUBLEBUFFER is defined by default.
  253. - Fix the way dropdowns are handled. now we explicitly watch for
  254. the events which might cause the dropdown to close, and break out
  255. of the nested event loop there. This gets rid of all Capture
  256. code, at the expense of the Msg special casing. Seems to work,
  257. though, and fixes bug #79743.
  258. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  259. * Control.cs: SetIsRecreating now recreates implicitly added
  260. child controls as well. Finally fixes #79629. The flag passed to
  261. SetIsRecreating has also been removed since it wasn't used.
  262. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  263. * PageSetupDialog.cs: Clean some code, fix some bits,
  264. add some checks, and add a printer sub-dialog.
  265. 2006-10-26 Chris Toshok <[email protected]>
  266. * PropertyGrid.cs: make set_SelectedObject call
  267. set_SelectedObjects, and move the duplicate logic to the
  268. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  269. * PropertyGridView.cs: hide the textbox when we get a
  270. SelectedObjectsChanged event.
  271. Fixes bug #79748.
  272. 2006-10-26 Chris Toshok <[email protected]>
  273. * PropertyGridView.cs: deal with the type converter not supporting
  274. GetStandardValues() or GetStandardValues() returning null, which
  275. is does in the default case. Fixes #79742.
  276. 2006-10-25 Andreia Gaita <[email protected]>
  277. * CheckedListBox.cs: nunit no longer crashes when selecting
  278. Project/Edit menu option
  279. 2006-10-25 Andreia Gaita <[email protected]>
  280. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  281. is no menu selected. fixes #79739
  282. 2006-10-25 Chris Toshok <[email protected]>
  283. * PropertyGridView.cs: factor out the splitter invalidation code
  284. into the SplitterPercent setter, and for kicks implement the
  285. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  286. amount in either direction.
  287. 2006-10-25 Chris Toshok <[email protected]>
  288. * PropertyGridView.cs: do some cleanup of the brush used to draw
  289. text - read only fields should be grayed out. not sure how to do
  290. this with the textbox, though. but the textbox's should also be
  291. readonly now at least. Also, hide/show the textbox when resizing
  292. the control.
  293. * CursorConverter.cs: use System.Reflection when getting the
  294. properties of Cursors, as TypeDescriptor.GetProperties isn't
  295. returning static properties.
  296. 2006-10-25 Chris Toshok <[email protected]>
  297. * PropertyGridView.cs: factor out the up/down handling, and reuse
  298. it for page up/down. also add End/Home support.
  299. 2006-10-25 Chris Toshok <[email protected]>
  300. * PropertyGridView.cs:
  301. - ensure the selected grid item is visible in the scrolled area,
  302. fixes bug #79572.
  303. - fix Keys.Down handling when you're on the last item in the
  304. propertygrid.
  305. 2006-10-25 Mike Kestner <[email protected]>
  306. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  307. clicks too. Fixes #79725.
  308. 2006-10-24 Chris Toshok <[email protected]>
  309. * PropertyGrid.cs: use property.Converter instead of
  310. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  311. TypeConverters declared on the property as well as on the
  312. PropertyType. Fixes bug #79678.
  313. 2006-10-24 Alexander Olk <[email protected]>
  314. * MimeIcon.cs, Mime.cs:
  315. Fallback to the default platform handler if no shared mime info
  316. stuff exists (fixes #79693).
  317. 2006-10-20 Andreia Gaita <[email protected]>
  318. * ContainerControl.cs: Incorrect contains check in ActiveControl
  319. from previous fix (duh).
  320. 2006-10-20 Chris Toshok <[email protected]>
  321. * PropertyGridView.cs: the dropdown should be MIN(number of items
  322. in list, 15). Fixes #79551.
  323. 2006-10-20 Andreia Gaita <[email protected]>
  324. Fixes #79384, #79394, #79652, #79667
  325. * Application.cs:
  326. - Modal windows are now destroyed in the proper order for windows
  327. * ContainerControl.cs:
  328. - ActiveControl setter has more conditions on when to return:
  329. - if we're reselecting the active control, but it actually
  330. didn't have focus (window hidden or some such), it runs
  331. - if the active control being selected doesn't actually
  332. exist in the container, it returns
  333. * Form.cs
  334. - The ShowDialog now gets the current form as the owner when
  335. invoking without parameters, and correctly activates the owner
  336. when returning
  337. * MessageBox.cs
  338. - MessageBox now catches the Escape key to exit
  339. 2006-10-20 Chris Toshok <[email protected]>
  340. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  341. most of bug #79676):
  342. - you can navigate around the property grid with the arrow keys.
  343. - the dropdown is sized properly when the pg has a vertical
  344. scrollbar.
  345. - fix the indentation for subentries, and properly select the
  346. entire label rect.
  347. - fix the gray bar's drawing (only draw it to the last element,
  348. not for the height of the control. Also make sure we draw that
  349. last horizontal grid line.
  350. - use the same mechanism the datagrid uses wrt the editing textbox
  351. when scrolling/resizing/etc. Namely, we hide it first, do the
  352. operation, then show it again (if it's still visible).
  353. - aggressively remove a lot of unnecessary refreshes (and also
  354. calls to Invalidate(). call more limited variants, and only redraw
  355. what we need.)
  356. * PropertyGrid.cs:
  357. - when we're populating the merged collection, fill in the UI
  358. parent with either the passed in item, or the category item we
  359. create.
  360. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  361. * GridItem.cs: drop some fully qualified names.
  362. * GridEntry.cs: add a "UIParent", which is basically the parent
  363. treenode.
  364. * GridItemCollection.cs: add an IndexOf method.
  365. 2006-10-20 Mike Kestner <[email protected]>
  366. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  367. a working win32 NC invalidation mechanism, we can't invalidate
  368. menus. [Fixes #79705]
  369. 2006-10-20 Mike Kestner <[email protected]>
  370. * ListBox.cs : don't update the VScrollbar if the list is empty,
  371. just hide it. [Fixes #79692]
  372. 2006-10-20 Jackson Harper <[email protected]>
  373. * RichTextBox.cs: Handle some special chars better, and don't skip
  374. the entire group when we encounter a special char that we don't
  375. handle correctly.
  376. 2006-10-18 Chris Toshok <[email protected]>
  377. * PropertyGridView.cs: address a number of issues from bug #79676,
  378. mostly of the cosmetic variety.
  379. - The highlight rectangle for indented items not extends all the
  380. way to the left.
  381. - Indented items aren't indented so much.
  382. - the dropdown is properly sized width-wise if the pg has a
  383. vertical scrollbar.
  384. 2006-10-18 Chris Toshok <[email protected]>
  385. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  386. systray stuff is rather convoluted to begin with.
  387. systray icons are a single window for some reason (that I haven't
  388. figured out yet), and for them, client_window == whole_window.
  389. Given the way the tests are structured elsewhere to determine
  390. which paints are pending (client vs. nc), that situation will
  391. always yield PAINT, not NCPAINT. So, if we have a pending
  392. nc_expose and no pending expose, remove the hwnd from the paint
  393. queue, and also set nc_expose_pending to false, to keep us from
  394. blocking further expose's adding the hwnd to the paint queue.
  395. phew. like i said, a rather convoluted change. Fixes the
  396. notifyicon repaint issues in bug #79645.
  397. 2006-10-18 Chris Toshok <[email protected]>
  398. * Form.cs: when getting the backcolor of the form, don't get
  399. base.BackColor, as this allows parents to influence the background
  400. color. This breaks mdi forms. Instead, if the background_color
  401. is empty, return the default.
  402. 2006-10-18 Chris Toshok <[email protected]>
  403. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  404. to being private instead of internal static.
  405. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  406. crap, it wasn't working for more deeply nested controls anyway,
  407. and we already have the is_recreating flag - use that instead.
  408. Before calling DestroyHandle in RecreateHandle, recurse through
  409. the control tree setting it to true. this returns the recreate
  410. code to much of its original simplicity, while now guaranteeing we
  411. actually recreate everything we're supposed to. This change gets
  412. fyireporting actually showing mdi children.
  413. 2006-10-17 Chris Toshok <[email protected]>
  414. * Form.cs: remove some debug spew, and collapse some duplicate
  415. code at the end of SetClientSizeCore.
  416. * XplatUIX11.cs:
  417. - add some more debug spew here too wrt Destroy handling.
  418. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  419. in Control's handling of WM_DESTROY.
  420. - Remove the handling of zombie window DestroyNotifies from the
  421. event loop - we don't need it. Now the only DestroyNotifies we
  422. actually handle are ones generated by X.
  423. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  424. match gtk's (functioning) handling of this. This keep metacity
  425. from leaving droppings in the form of wm borders with no window
  426. contents all over the place.
  427. * Control.cs:
  428. - add a bunch of debug spew wrt control recreation.
  429. - fix a bug where we weren't tracking Visible properly on
  430. recreated hwnds.
  431. - fixed the WM_PAINT double buffer handling to support re-entrant
  432. calls (yes, i know it's gross, but it's happening to us).
  433. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  434. * ThemeWin32Classic.cs: changed drawing of selected days
  435. to make them look better.
  436. 2006-10-16 Chris Toshok <[email protected]>
  437. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  438. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  439. * XplatUIX11.cs: move away from using hwnd.client_dc and
  440. hwnd.non_client_dc and on to a stack of dc's (and in window's
  441. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  442. without puking or not disposing of Graphics objects.
  443. * XplatUIOSX.cs: same.
  444. * XplatUIWin32.cs: same.
  445. 2006-10-03 Alexander Olk <[email protected]>
  446. * FileDialog.cs: Don't call on_directory_changed inside
  447. OnSelectedIndexChanged (it changes the SelectedIndex too).
  448. Instead move it to OnSelectionChangeCommitted.
  449. 2006-10-13 Chris Toshok <[email protected]>
  450. * XplatUIX11.cs: more Destroy work. the current code does the
  451. following things, in order:
  452. 1. Enumerates all handles of all controls at or below the one
  453. being destroyed, in pre-order. As it is doing this, it marks the
  454. handles as zombie and clears all references to them.
  455. 2. calls XDestroyWindow on the window passed in.
  456. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  457. list.
  458. 2006-10-13 Chris Toshok <[email protected]>
  459. * XplatUIX11.cs: set hwnd.zombie to true before calling
  460. SendMessage (WM_DESTROY). this keeps us from marking the new
  461. window a zombie, and also keeps us from calling sendmessage at
  462. all.
  463. 2006-10-13 Jackson Harper <[email protected]>
  464. * TextControl.cs: Do not show the caret and selection at the same
  465. time. Reduces ugliness by 35%.
  466. 2006-10-13 Chris Toshok <[email protected]>
  467. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  468. zombie after we do the recursive call, so we actually do call
  469. SendMessage on the children controls.
  470. (GetMessage): if we find a pending paint event for a zombie hwnd,
  471. remove the hwnd from the paint queue, or else it will always be
  472. there (and we'll effectively loop infinitely)
  473. 2006-10-13 Mike Kestner <[email protected]>
  474. * MenuItem.cs : add Selected format under keynav too.
  475. Fixes #79528.
  476. 2006-10-13 Gert Driesen <[email protected]>
  477. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  478. implementation and that of MS.
  479. 2006-10-13 Chris Toshok <[email protected]>
  480. * Control.cs (OnInvalidated) only futz with the invalid_region if
  481. the control is double buffered. this fixes the apparent hang in
  482. the ListView unit tests. Someone needs to make the
  483. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  484. 2006-10-13 Chris Toshok <[email protected]>
  485. * PropertyGridView.cs:
  486. - do a little refactoring so that only one place calls
  487. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  488. else call that. Also make it Refresh, since there are redraw bugs
  489. otherwise (we should take a look at that...)
  490. - do a little more refactoring work to share the body of code
  491. involved with the drop down. it was duplicated in the code
  492. dealing with the listbox handling and in the code dealing with the
  493. UITypeEditors.
  494. - add a Capture to the dropdown form's control once it's
  495. displayed, and add a MouseDown handler that checks to make sure
  496. the position is inside the control. If it's not, close the
  497. dropdown. This fixes #78190.
  498. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  499. if the value is different than the initial value.
  500. 2006-10-13 Andreia Gaita <[email protected]>
  501. * Control.cs: see #78650
  502. - Fixed GetNextControl for several cases:
  503. - Changed FindFlatForward to return
  504. correct sibling control when more than one
  505. control has same TabIndex as the currently
  506. focused one.
  507. - Changed FindFlatBackward to loop children
  508. from last to first and apply same logic as in
  509. FindFlatForward
  510. - Changed FindControlForward to search for
  511. children when control is not a container
  512. but has children, or search for siblings if
  513. control is a container...
  514. - Changed FindControlBackward to continue
  515. searching for child controls when hitting
  516. Panel-like parents
  517. - Fixed Focus method to update ActiveControl
  518. (FocusTest.FocusSetsActive failure)
  519. * TabControl.cs:
  520. - Focus rectangle now refreshes when gaining
  521. or losing focus
  522. - Removed grab for Tab key on IsInputKey that
  523. was keeping tab navigation from working (#78650)
  524. 2006-10-13 Chris Toshok <[email protected]>
  525. * PropertyGridView.cs:
  526. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  527. SelectedObjects.
  528. - Deal with GridItem.Value == null a few places.
  529. * PropertyGrid.cs:
  530. - replace the PopulateGridItemCollection with a pair of methods
  531. which compute the intersection of all the properties in the
  532. SelectedObjects array. Fixes #79615.
  533. - Throw ArgumentException from set_SelectedObjects if there's a
  534. null in the array.
  535. - Add GetTarget method which can be used to traverse up the
  536. GridItem.Parent chain. It depends on the assumption that
  537. selected_objects for different GridEntries are always in the same
  538. order (a safe assumption). Use this method and loop over all the
  539. selected objects in the entry when calling RemoveValueChanged and
  540. AddValueChanged.
  541. * GridEntry.cs: Make this handle multiple selected objects.
  542. .Value returns null if not all the selected objects share the same
  543. value.
  544. 2006-10-12 Jonathan Pobst <[email protected]>
  545. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  546. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  547. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  548. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  549. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  550. add additional functionality.
  551. 2006-10-12 Mike Kestner <[email protected]>
  552. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  553. * HelpProvider.cs : new ToolTipWindow ctor sig.
  554. * ToolTip.cs : remove ToolTip param from Window sig since it is
  555. not used.
  556. * ToolBar.cs : add tooltip support. Fixes #79565.
  557. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  558. * ComboBox.cs: move the events in set_SelectedIndex to
  559. after the call to HighlightIndex in order to avoid
  560. possible recursion and subsequent problems with the call
  561. to HighlightIndex and include a range check in
  562. set_HighlightIndex. Fixes #79588
  563. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  564. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  565. to ui thread's settings instead of sunday.
  566. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  567. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  568. * DateTimePicker.cs
  569. * MonthCalendar.cs
  570. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  571. and implement missing functionality (selecting different parts
  572. of the date and edit them individually with the keyboard).
  573. 2006-10-11 Chris Toshok <[email protected]>
  574. * Control.cs (OnInvalidated): fix NRE relating to last change.
  575. 2006-10-11 Chris Toshok <[email protected]>
  576. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  577. atoms in _NET_WM_STATE here if the window is maximized. We need
  578. to do this because we're *replacing* the existing _NET_WM_STATE
  579. property, so those atoms will be lost otherwise, and any further
  580. call to GetWindowState will return Normal for a window which is
  581. actually maximized. Fixes #79338.
  582. 2006-10-11 Jackson Harper <[email protected]>
  583. * TextControl.cs: Special case for setting selection end to
  584. selection start, we basically kill the anchor.
  585. - some todo comments.
  586. 2006-10-11 Chris Toshok <[email protected]>
  587. * Control.cs: switch to using an "invalid_region" to track which
  588. parts of the image buffer need updating. This is more code than
  589. the simple fix from r66532. That version just attempted to always
  590. fill the entire buffer on redraw, which turns out to be
  591. inefficient when invalidating small rectangles. This version
  592. simply adds the invalid rectangle to the invalid region. When we
  593. get any WM_PAINT message we see if it can be filled using the
  594. image buffer, and if it can't (if the paint event's clip rectangle
  595. is visible in the invalid region) we first fill the image buffer.
  596. So, the image buffer is still a cache, we just fill it lazily.
  597. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  598. need it any longer.
  599. 2006-10-11 Chris Toshok <[email protected]>
  600. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  601. well as size after calling XMoveResizeWindow. This keeps us from
  602. ignoring future SetWindowPos calls. Fixes the disappearing
  603. DateTimePicker in the ToolBarDockExample from bug #72499.
  604. 2006-10-11 Chris Toshok <[email protected]>
  605. * TextBoxBase.cs: reorder things a bit when it comes to
  606. resizing-causing-recalculation. we were recalculating the
  607. document when our position was changed, which shouldn't happen.
  608. We only care about size changes. Clear up some more redundant
  609. recalculation calls while I'm at it. This makes the toolbar dock
  610. example snappy when you're just dragging toolbars around (since it
  611. causes a relayout whenever you move one.)
  612. 2006-10-11 Chris Toshok <[email protected]>
  613. * ToolBarButton.cs (get_Rectangle): this only returns
  614. Rectangle.Empty if Visible == false, or Parent == null.
  615. Parent.Visible doesn't matter.
  616. 2006-10-10 Chris Toshok <[email protected]>
  617. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  618. by .net 1.1, so switch to an internal method instead.
  619. 2006-10-10 Chris Toshok <[email protected]>
  620. * Control.cs (WM_PAINT): when a control is double buffered we draw
  621. initially to the ImageBuffer and then copy from there. But when a
  622. parent control which has child controls is double buffered, the
  623. initial drawing doesn't encompass the entire ClientRectangle of
  624. the parent control, so we end up with uninitialized bits (this is
  625. easily seen by dragging the top toolbar in
  626. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  627. manually set the ClipRectangle of the paint_event (only the one we
  628. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  629. of the nastiness in bug #72499.
  630. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  631. which we use in Control.cs's WM_PAINT handling.
  632. 2006-10-10 Jackson Harper <[email protected]>
  633. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  634. 2006-10-10 Chris Toshok <[email protected]>
  635. * Cursor.cs: Apply a slightly different patch to the one suggested
  636. in #79609.
  637. 2006-10-10 Jackson Harper <[email protected]>
  638. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  639. not the parent form.
  640. * TextControl.cs: use difference in old line count vs new count to
  641. calculate how many lines were added, this takes into account soft
  642. line breaks properly.
  643. 2006-10-10 Chris Toshok <[email protected]>
  644. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  645. rectangle located at 0,0 and the size of the text. Use
  646. ClientRectangle instead. This fixes rendering of non-left aligned
  647. link labels.
  648. 2006-10-10 Jackson Harper <[email protected]>
  649. * TextBoxBase.cs: When we set the selection start position the
  650. caret.
  651. * TextControl.cs: Need to update the caret when we decrement it to
  652. zero.
  653. - Make sure that the selection_visible flag gets reset to false if
  654. the selection isn't visible. Before this you could get it set to
  655. visible by changing the selection start, then changing the end to
  656. equal the start.
  657. 2006-10-09 Jackson Harper <[email protected]>
  658. * TreeView.cs: Don't update scrollbars when we aren't visible.
  659. * TreeNodeCollection.cs: Only need to update scrollbars if being
  660. added to an expanded visible node or the root node.
  661. 2006-10-09 Chris Toshok <[email protected]>
  662. * XplatUIX11.cs (SendMessage): fix NRE.
  663. 2006-10-09 Jackson Harper <[email protected]>
  664. * TextBoxBase.cs: Implement horizontal autoscrolling.
  665. * TextControl.cs: Add a movement types that allows moving forward
  666. and backwards without wrapping.
  667. 2006-10-09 Mike Kestner <[email protected]>
  668. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  669. with focus "expansion" of labels. Fixes #79532 and then some.
  670. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  671. when wrapping.
  672. 2006-10-09 Jackson Harper <[email protected]>
  673. * TextBoxBase.cs: Set the default max values to MaxValue since
  674. we use the scrollbar for autoscrolling and the default value is
  675. 100. If we don't do this the caret won't keep up with typing
  676. after about 18 characters.
  677. * TextControl.cs: Make sure the selection is offset by the
  678. viewport x. This fixes selection when using auto scrolling.
  679. 2006-10-07 Andreia Gaita <[email protected]>
  680. * Form.cs: The active control should be selected after the
  681. OnLoad so that any child control initialization that affects
  682. the selection is done. Fixes #79406
  683. 2006-10-06 Chris Toshok <[email protected]>
  684. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  685. to have no evil effects.
  686. - Stop selecting StructureNotifyMask on non-toplevel windows.
  687. The only way children should be resized is by using the SWF api,
  688. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  689. Toplevel windows can be interacted with via the window manager,
  690. and so we keep the input mask there.
  691. The other event StructureNotifyMask gives us (that we care
  692. about) is DestroyNotify. The code is already structured such
  693. that it assumes we won't be getting a DestroyNotify event for
  694. the window we pass to XDestroyWindow (which is what
  695. StructureNotifyMask is supposed to guarantee.) So, that code
  696. shouldn't be affected by this either.
  697. - Stop selecting VisibilityChangeMask altogether.
  698. We weren't doing anything with the resulting events anyway.
  699. This vastly reduces the number of X requests and events we see
  700. when resizing/laying out a large ui.
  701. 2006-10-06 Chris Toshok <[email protected]>
  702. * ScrollableControl.cs (DisplayRectangle): we need to take into
  703. account the DockPadding regardless of whether or not auto_scroll
  704. == true. rework this slightly to this effect, and fix bug #79606,
  705. and part of #72499 (you can now see the drag handles and drag
  706. toolbars around).
  707. 2006-10-06 Gert Driesen <[email protected]>
  708. * ListViewItem.cs: Collections of selected and checked items are now
  709. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  710. we mark the collection "dirty".
  711. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  712. to only clear SelectedItems when a new item is selected and MultiSelect
  713. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  714. event of ListViewItemCollection, and mark its list dirty whenever
  715. that event is fire. This allows us to return selected/checked items
  716. in the same order as they are in the Items collection. This matches
  717. the MS behavior.
  718. 2006-10-06 Chris Toshok <[email protected]>
  719. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  720. right mouse clicks. Fixes bug #79593.
  721. 2006-10-06 Chris Toshok <[email protected]>
  722. * Splitter.cs: doh, fix splitters that don't want to cancel the
  723. movement when you drag them. Also, impose the limits on the
  724. values we send to the SplitterMovingEvent. Fixes #79598.
  725. 2006-10-06 Jackson Harper <[email protected]>
  726. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  727. since we use this for auto scrolling also.
  728. 2006-10-05 Chris Toshok <[email protected]>
  729. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  730. beginning to think that most datagrid column types don't need this
  731. method. Fixes bug #79392.
  732. 2006-10-05 Chris Toshok <[email protected]>
  733. * DataGrid.cs: move back to a more lazy scheme for creating the
  734. CurrencyManager, so we aren't updating it every time you set
  735. either DataSource or DataMember. Also, don't call
  736. RecreateDataGridRows if the currency manager hasn't changed.
  737. 2006-10-05 Chris Toshok <[email protected]>
  738. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  739. emitted, SelectedIndex should already be updated. Fixes bug
  740. #78929.
  741. 2006-10-05 Jonathan Pobst <[email protected]>
  742. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  743. ToolStripTextBox.cs: Initial commit.
  744. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  745. 2006-10-05 Jackson Harper <[email protected]>
  746. * TabControl.cs: We need to invalidate the tab control area when
  747. new ones are added (duh).
  748. 2006-10-03 Chris Toshok <[email protected]>
  749. * Form.cs (ProcessDialogKey): if the focused control is in this
  750. form and is a button, call its PerformClick method here. Fixes
  751. #79534.
  752. 2006-10-04 Jackson Harper <[email protected]>
  753. * TabPage.cs: Ignore setting of Visible, and add an internal
  754. method for setting the controls visibility. TabPage's Visible
  755. property is a little strange on MS, this seems to make us
  756. compatible, and fixes cases where people set all the tab pages to
  757. visible.
  758. * TabControl.cs: Use the new internal setting on tab pages
  759. visibility.
  760. 2006-10-03 Mike Kestner <[email protected]>
  761. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  762. 2006-10-03 Mike Kestner <[email protected]>
  763. * ListView.cs : use is_visible instead of Visible to check if
  764. scrollbars should be placed/sized. Also some max_wrap_width
  765. love for LargeIcon view. [Fixes #79533]
  766. 2006-10-03 Atsushi Enomoto <[email protected]>
  767. * TextControl.cs :
  768. Make set_TextAlign() do actually update the align. Fixed #78403.
  769. 2006-10-03 Chris Toshok <[email protected]>
  770. * DataGrid.cs: fix a crash when switching datasources if the
  771. vertical scrollbar is at someplace other than Value = 0. Also,
  772. reduce the number of recalculation passes we do in SetDataSource
  773. from 2 to 1.
  774. 2006-10-03 Jackson Harper <[email protected]>
  775. * TextBoxBase.cs: Move the if value the same bail check up, we
  776. don't want to empty the document if it is already empty, this
  777. seems to severly mess up the caret. TODO: I should probably fix
  778. the empty statement to update teh caret somehow.
  779. 2006-10-03 Chris Toshok <[email protected]>
  780. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  781. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  782. reflection, an internal row type, properties on said type, etc.)
  783. will work with our datagrid. Fixes #79531.
  784. 2006-10-03 Alexander Olk <[email protected]>
  785. * FileDialog.cs: Don't crash if a path is not accessible
  786. (System.UnauthorizedAccessException). Fixes #79569.
  787. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  788. a ':' too. Return unknown icon for those paths/files.
  789. 2006-10-03 Sebastien Pouliot <[email protected]>
  790. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  791. GetContainerControl returns null.
  792. 2006-10-02 Chris Toshok <[email protected]>
  793. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  794. call to XGetWindowAttributes instead of "handle". fixes an X
  795. error using notifyicon after the NotifyIconWindow to Form base
  796. class switch.
  797. 2006-10-02 Chris Toshok <[email protected]>
  798. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  799. server grab and looping we need to do to get down to the most
  800. deeply nested child window.
  801. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  802. QueryPointer again after the WarpPointer so we can generate a
  803. proper (fake) MotionNotify event to be enqueued in the destination
  804. window's queue.
  805. (GetCursorPos): call QueryPointer.
  806. Fixes #79556.
  807. 2006-10-02 Jackson Harper <[email protected]>
  808. * NotifyIcon.cs: Derive the notify icon from a form, so things
  809. like FindForm work on it.
  810. - Swallow the WM_CONTEXTMENU message, since that is generated on
  811. mouse down, and context menu is a mouse up kinda guy. I believe
  812. the correct fix here is probably to make the notify icon entirely
  813. NC area, but this seems to work fine for anyone not manipulating
  814. WndProc.
  815. 2006-10-02 Jonathan Pobst <[email protected]>
  816. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  817. ToolStripItemCollection.cs, ToolStripLabel.cs,
  818. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  819. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  820. Initial implementation.
  821. * TextRenderer.cs: Provide padding to MeasureText.
  822. 2006-10-02 Sebastien Pouliot <[email protected]>
  823. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  824. of ButtonBaseAccessibleObject. Fix bug #79552.
  825. 2006-10-02 Jackson Harper <[email protected]>
  826. * MdiWindowManager.cs: When maximizing use the containers client
  827. rect, not it's bounds, so nc area is accounted correctly.
  828. - Use the parent form's size for the menu position, since the
  829. client isn't always the full form size.
  830. 2006-10-01 Chris Toshok <[email protected]>
  831. * ScrollableControl.cs: make sure neither right_edge or
  832. bottom_edge are < 0, since they're used as LargeChange for the
  833. horiz/vert scrollbars respectively. Fixes #79539.
  834. 2006-10-01 Chris Toshok <[email protected]>
  835. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  836. the xplatuix11 code can cause us to destroy/recreate our handle.
  837. * XplatUIX11.cs
  838. (SystrayAdd):
  839. - this code can be invoked many times for the same Hwnd. Make
  840. sure we only destroy the client window once (the first time this
  841. method is called). This fixes bug #79544.
  842. - Remove the call to the improperly bound XSync. why we had two
  843. bindings to this, I will never know, but this call resulted in
  844. events being discarded from the queue(!).
  845. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  846. not our current state but the state we wish to be in. So, 0 if
  847. we don't want to be mapped. Change it to 1.
  848. (SystrayRemove): The XEMBED spec makes mention of the fact that
  849. gtk doesn't support the reparent of client windows away from the
  850. embedder. Looking at gtksocket-x11.c seems to agree with this.
  851. The only avenue we have for removing systray icons is to destroy
  852. them. We don't want the handle to go away for good, though, so
  853. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  854. #79545.
  855. 2006-10-01 Chris Toshok <[email protected]>
  856. * Form.cs (WndProc): inline the native_enabled variable usage into
  857. the cases in which it's used. Fixes #79536.
  858. 2006-09-29 Mike Kestner <[email protected]>
  859. * ListView.cs : toggle the selection state for ctrl clicks in
  860. multiselect mode. [Fixes #79417]
  861. 2006-09-29 Mike Kestner <[email protected]>
  862. * ListView.cs : kill CanMultiSelect and refactor the selection
  863. code to support multiselection in the absence of mod keys. Steal
  864. arrow/home/end keys by overriding InternalPreProcessMessage to
  865. restore regressed keynav behavior.
  866. [Fixes #79416]
  867. 2006-09-29 Jackson Harper <[email protected]>
  868. * MdiClient.cs: Repaint the titlebars when the active window is
  869. changed.
  870. 2006-09-29 Chris Toshok <[email protected]>
  871. * Application.cs: when entering a runloop with a modal, make sure
  872. the hwnd is enabled. Fixes #79480.
  873. 2006-09-29 Chris Toshok <[email protected]>
  874. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  875. when ListManager.CanAddRows == false, bump us back one.
  876. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  877. listmanager.CanAddRows check. This makes ArrayLists uneditable
  878. using a datagrid, which is not right.
  879. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  880. is an IEditable, but call property_descriptor.SetValue regardless.
  881. fixes #79435.
  882. 2006-09-29 Chris Toshok <[email protected]>
  883. * DataGridBoolColumn.cs: we need to test equality in the face of
  884. possible null values (as is the case with the default NullValue).
  885. This patch keeps us from crashing in that case.
  886. 2006-09-29 Jackson Harper <[email protected]>
  887. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  888. here, since it will get called for every node collection in the
  889. tree. This is now done in the treeview once the sorting is
  890. finished.
  891. * TreeView.cs: Recalculate the visible order, and update the
  892. scrollbars after sorting, set the top nope to the root so that the
  893. recalc actually works.
  894. 2006-09-29 Chris Toshok <[email protected]>
  895. * LinkLabel.cs: more handling of the default link collection in
  896. the face of LinkArea manipulation. The default link collection
  897. contains 1 element (start=0,length=-1). If the user sets LinkArea
  898. to anything and the links collection is the default, clear it.
  899. Then only add the link if its nonempty. Fixes #79518.
  900. 2006-09-29 Chris Toshok <[email protected]>
  901. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  902. piece correctly when we hit a '\n'. Fixes #79517.
  903. 2006-09-29 Chris Toshok <[email protected]>
  904. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  905. change the binding of gdk_init_check to take two IntPtr's, and
  906. pass IntPtr.Zero for both of them. Fixes #79520.
  907. 2006-09-29 Mike Kestner <[email protected]>
  908. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  909. [Fixes #78779]
  910. 2006-09-28 Jackson Harper <[email protected]>
  911. * XplatUIX11.cs: When translating NC messages make sure we go from
  912. whole window to screen, not client window to screen.
  913. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  914. method doesn't exist
  915. - Skip over controls that aren't forms when arranging.
  916. 2006-09-28 Jackson Harper <[email protected]>
  917. * XplatUIWin32.cs: Clip the rect to the parent window.
  918. * XplatUIStructs.cs: Add clipping modes struct.
  919. * InternalWindowManager.cs: New private method that factors title
  920. bar heights in when calculating the pos of an NC mouse message.
  921. - Use SendMessage to force a paint when the form's size is changed
  922. instead of painting the decorations immediately.
  923. - Don't let the NC button click messages get to DefWndProc,
  924. because they will attempt to handle windowing themself, and this
  925. messes up z-order (it will put them in front of the scrollbars).
  926. * XplatUIX11.cs: Make sure that we don't reset window managers if
  927. we already have one (ie the window is an MDI window).
  928. 2006-09-28 Chris Toshok <[email protected]>
  929. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  930. menu code really needs going over.
  931. 2006-09-27 Chris Toshok <[email protected]>
  932. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  933. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  934. window is maximizable. So, we need to make sure that even if we
  935. clear the border/wm frame of those functions, they're still
  936. available (basically, we remove the decoration without removing
  937. the function). Half the fix for #79338.
  938. 2006-09-27 Chris Toshok <[email protected]>
  939. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  940. Fixes bug #79515.
  941. 2006-09-27 Chris Toshok <[email protected]>
  942. * Splitter.cs: reorder things a bit so that we don't actually
  943. draw/move the splitter until after calling OnSplitterMoving. This
  944. lets users cancel/disallow the movement by explicitly setting
  945. event.SplitX/SplitY. Fixes #79372.
  946. 2006-09-27 Jackson Harper <[email protected]>
  947. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  948. because it is most likely on a window being destroyed, and that
  949. will give us an X11 error.
  950. 2006-09-27 Chris Toshok <[email protected]>
  951. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  952. the dropdown button now toggles between showing and hiding the
  953. dropdown. Also, get rid of dropdown_form_showing and just use
  954. dropdown_form.Visible. We still don't do a grab, but I'll leave
  955. that part to someone who has handled Capture-fu before.
  956. 2006-09-27 Chris Toshok <[email protected]>
  957. * DataGrid.cs: return false if alt isn't pressed when '0' is
  958. pressed. this keeps the '0' key from being swallowed, and fixes
  959. bug #79350.
  960. 2006-09-27 Chris Toshok <[email protected]>
  961. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  962. Calling Refresh (in response to a scrollbar event) screws up the
  963. scrollbar painting. Fixes bug #78923.
  964. 2006-09-27 Chris Toshok <[email protected]>
  965. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  966. then insert into hashtable" blocks threadsafe.
  967. 2006-09-27 Chris Toshok <[email protected]>
  968. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  969. baseclass's, since otherwise the
  970. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  971. effect. This gets the close button back in messageboxes.
  972. 2006-09-27 Chris Toshok <[email protected]>
  973. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  974. flag, not just != 0. this makes flags that are actually multiple
  975. bits (like WS_CAPTION) work. fixes bug #79508.
  976. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  977. * PageSetupDialog.cs: add support for getting and settings the
  978. paper size, source and orientation.
  979. 2006-09-26 Chris Toshok <[email protected]>
  980. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  981. and caption == "", we need to remove the resize handles as well as
  982. the title bar.
  983. * Control.cs (set_Text): turns out that setting Text on a form
  984. should change the WM styles on the window, since if ControlBox ==
  985. false, the only way to get a window border is to have a non-""
  986. Text property. check winforms/forms/text.cs for an example. so,
  987. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  988. update both window styles and title. This fixes a lot of dialogs
  989. (including the preferences dialog in MonoCalendar.)
  990. 2006-09-26 Chris Toshok <[email protected]>
  991. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  992. control isn't a Form), call Win32ShowWindow to hide the window,
  993. but don't update the control Visible property. When we reparent
  994. back to a parent control, call SetVisible in order for the
  995. window's visibility to be reinstated.
  996. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  997. the FosterParent.
  998. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  999. call for good, since it breaks MonoCalendar (and other things I'm
  1000. sure.) Also, set all_controls to null *after* the owner calls,
  1001. which end up regenerating it.
  1002. (ChangeParent): allow new_parent to be == null, passing
  1003. IntPtr.Zero down to XplatUI.
  1004. this fixes #79294 the right way.
  1005. 2006-09-26 Mike Kestner <[email protected]>
  1006. * GridEntry.cs : internal SetParent method.
  1007. * PropertyGrid.cs : attach to property changed on the proper
  1008. target if we have a hierarchical grid with subobjects. Setup
  1009. GridItem.Parent for hierarchical items.
  1010. * PropertyGridView.cs : Set value on the correct target for
  1011. hierarchical grids. [Fixes #78903]
  1012. 2006-09-26 Chris Toshok <[email protected]>
  1013. * Control.cs (ChildNeedsRecreating): this should return true if
  1014. either we're being recreated and the child is in our list, or our
  1015. parent is waiting for our recreation.
  1016. 2006-09-26 Chris Toshok <[email protected]>
  1017. * Control.cs (ControlCollection.Remove): reinstate the
  1018. value.Hide() call as suggested in bug #79294.
  1019. 2006-09-26 Sebastien Pouliot <[email protected]>
  1020. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  1021. coordinates (versus a relative move).
  1022. 2006-09-26 Chris Toshok <[email protected]>
  1023. * Control.cs: rework child recreation a little bit. It turns out
  1024. that we race between the DestroyNotify the WM_DESTROY message. If
  1025. the parent gets its DestroyNotify before the child gets the
  1026. WM_DESTROY message, the child ends up not recreating (since the
  1027. parent finishes its recreation on DestroyNotify, and the child
  1028. checks ParentIsRecreating.)
  1029. So, instead we store off a list of all the child controls which
  1030. need to be recreated when the parent control starts to recreate
  1031. itself. Then, when child controls get their WM_DESTROY message we
  1032. check to see if they're in the parent's pending recreation list,
  1033. and if so, we recreate. This removes all dependency on ordering
  1034. from the code and fixes the initial MonoCalendar upgrade dialog.
  1035. 2006-09-26 Jackson Harper <[email protected]>
  1036. * TextControl.cs: Use the Line to get the length of the line,
  1037. since soft line breaks can change the end line.
  1038. 2006-09-26 Chris Toshok <[email protected]>
  1039. * Control.cs (ControlCollection.AddImplicit): don't add the
  1040. control again if it's already in one of our lists. This keeps us
  1041. from adding controls over and over again for comboboxes when their
  1042. handle gets recreated (as the combobox adds implicit controls in
  1043. OnHandleCreated). Fixes the X11 errors in bug #79480.
  1044. 2006-09-26 Jackson Harper <[email protected]>
  1045. * TextControl.cs: When deleting characters make sure that any
  1046. orphaned zero lengthed tags get deleted.
  1047. - Fix ToString for zero lengthed tags.
  1048. 2006-09-25 Jackson Harper <[email protected]>
  1049. * TextControl.cs: When getting a tag at the location there can be
  1050. multiple tags at the same spot, these are 0-lengthed tags that
  1051. appear when extra formatting has been stuck in a location. We
  1052. need to pull out the last of these 0 lengthed tags.
  1053. 2006-09-25 Jackson Harper <[email protected]>
  1054. * TextControl.cs: Fix print out in debug method.
  1055. * TextBoxBase.cs: When text is set bail if we are setting to the
  1056. previous value.
  1057. 2006-09-24 Alexander Olk <[email protected]>
  1058. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  1059. It is now possible to change the selected index in a FontXXXListBox
  1060. with the up and down arrow keys from the FontXXXTextBoxes.
  1061. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  1062. FontXXXListBoxes to match ms.
  1063. 2006-09-22 Sebastien Pouliot <[email protected]>
  1064. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  1065. anyone can dispose it, anytime. All other properties returns enums,
  1066. structs or basic types so they don't need such tricks.
  1067. 2006-09-22 Jackson Harper <[email protected]>
  1068. * XplatUI.cs:
  1069. * XplatUIWin32.cs:
  1070. * Clipboard.cs:
  1071. * DataFormats.cs:
  1072. * XplatUIOSX.cs:
  1073. * XplatUIDriver.cs: Update interface to add a primary selection
  1074. flag, so the driver can use the primary selection buffer if
  1075. needed.
  1076. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  1077. * RichTextBox.cs: We need to supply the data object to paste now
  1078. (so we can choose to supply CLIPBOARD or PRIMARY).
  1079. * TextBoxBase.cs: Supply data object to paste (see above).
  1080. - Middle click uses the primary selection data object.
  1081. 2006-09-21 Chris Toshok <[email protected]>
  1082. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  1083. of SetWMStyles. It's still a rat's nest and is largely
  1084. order-dependent which I dislike immensely. This also fixes the X
  1085. button disappearing from toplevel forms.
  1086. 2006-09-21 Mike Kestner <[email protected]>
  1087. * ListBox.cs: move Jordi's click/dblclick raising code to the
  1088. mouse up handler.
  1089. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1090. * ListBox.cs: Fixes 79450
  1091. 2006-09-21 Mike Kestner <[email protected]>
  1092. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1093. to deal with people updating the TreeNodeCollection after the tree
  1094. is disposed. "Fixes" 79330.
  1095. 2006-09-20 Jackson Harper <[email protected]>
  1096. * TextControl.cs: Push the cursor record onto the undo stack
  1097. before the delete action. This fixes 78651.
  1098. 2006-09-20 Jonathan Chambers <[email protected]>
  1099. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1100. CreateParams. Fixes 79329.
  1101. 2006-09-19 Chris Toshok <[email protected]>
  1102. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1103. things up a bit. First, get rid of the NetAtoms array (and the NA
  1104. enum), and just embed the atoms as static fields. Also, add a
  1105. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1106. bitmask testing of styles.
  1107. * X11Structs.cs: remove the NA enum, not needed anymore.
  1108. 2006-09-19 Chris Toshok <[email protected]>
  1109. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1110. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1111. added cleanup to get MessageBox titles appearing again, which were
  1112. broken by my earlier fix for caption-less/ControlBox-less windows.
  1113. 2006-09-18 Jonathan Pobst <[email protected]>
  1114. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1115. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1116. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1117. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1118. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1119. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1120. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1121. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1122. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1123. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1124. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1125. Inital import.
  1126. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1127. ToolStripButton.cs: Stubs needed for above.
  1128. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1129. 2006-09-15 Chris Toshok <[email protected]>
  1130. * XplatUIX11.cs:
  1131. - make the MessageQueues hashtable Synchronized.
  1132. - SendMessage: if the Hwnd is owned by a different thread, use the
  1133. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1134. thread. Fixes bug #79201.
  1135. 2006-09-15 Chris Toshok <[email protected]>
  1136. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1137. ControlBox == false, we disallow maximize/minimize/close. If the
  1138. form Caption is "" we also disallow move (and get rid of the Title
  1139. decoration). Unfortunately, regardless of how things are set,
  1140. we're stuck with the Title and WM menu.
  1141. 2006-09-15 Chris Toshok <[email protected]>
  1142. * Application.cs: add locking around the static message_filters
  1143. ArrayList, part of #79196.
  1144. 2006-09-15 Chris Toshok <[email protected]>
  1145. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1146. Form.ControlBox == false, the window has no titlebar nor resize
  1147. handles. fixes bug #79368.
  1148. 2006-09-15 Chris Toshok <[email protected]>
  1149. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1150. >= 0. Fixes bug #79370.
  1151. 2006-09-15 Jonathan Pobst <[email protected]>
  1152. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1153. * Control.cs:
  1154. Add properties: LayoutEngine, Margin, DefaultMargin.
  1155. Add method: GetPreferredSize.
  1156. Move layout logic from PerformLayout to layout engines.
  1157. 2006-09-13 Chris Toshok <[email protected]>
  1158. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1159. fix for #79326 broke #78718, so this change addresses that.
  1160. - in SendWMDestroyMessages remove the call to
  1161. CleanupCachedWindows, since we might be recreating the control and
  1162. need to maintain the references to right Hwnd handles. Also, set
  1163. the zombie flag to true for each of the children in the hierarchy
  1164. instead of calling hwnd.Dispose. This will cause GetMessage to
  1165. ignore all events for the window except for DestroyNotify.
  1166. - In GetMessage, ignore messages except for DestroyNotify for
  1167. zombie hwnds.
  1168. * Control.cs: revert the is_recreating fix from the last
  1169. ChangeLog. It's definitely "right", but it breaks switching from
  1170. an MDI form to a non-MDI form. Will need to revisit that.
  1171. * Hwnd.cs: add a zombie flag, which means "the
  1172. client_window/whole_window handles are invalid, but we're waiting
  1173. for the DestroyNotify event to come in for them". Set the flag to
  1174. false explicitly if setting WholeWindow/ClientWindow, and also
  1175. when Disposing.
  1176. 2006-09-13 Chris Toshok <[email protected]>
  1177. * XplatUIX11.cs: rework window destruction slightly.
  1178. - when destroying the windows associated with a control, we don't
  1179. need 2 separate XDestroyWindow calls. Just the one for the
  1180. whole_window (or for client_window if whole_window is somehow
  1181. IntPtr.Zero -- can this happen?) is enough.
  1182. - reworked SendWMDestroyMessages slightly, so we always dispose
  1183. the child control hwnd's after sending the messages.
  1184. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1185. the two places it was used (one was even using hwnd.Handle and the
  1186. other hwnd.client_window. ugh), adding another call in
  1187. SendWMDestroyMessages. We need this new call because now the
  1188. DestroyNotify events in the queue will be ignored for the child
  1189. controls (as their hwnd's were disposed, and the window id's
  1190. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1191. - this fixes bug #79326.
  1192. 2006-09-13 Chris Toshok <[email protected]>
  1193. * Control.cs: don't always set is_recreating to false at the end
  1194. of RecreateHandle, since sometimes we're not done (and won't be
  1195. until WndProc handles the WM_DESTROY message). Also, set
  1196. is_recreating to false in the WM_DESTROY handling code. Part of
  1197. the fix for bug #79326.
  1198. 2006-09-13 Miguel de Icaza <[email protected]>
  1199. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1200. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1201. 2006-09-13 Jonathan Pobst <[email protected]>
  1202. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1203. 2006-09-12 Chris Toshok <[email protected]>
  1204. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1205. to create it using SetDataSource. Fixes bug #79151.
  1206. 2006-09-11 Chris Toshok <[email protected]>
  1207. * XEventQueue.cs: add a DispatchIdle property.
  1208. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1209. either the queue is null, or the queue has DispatchIdle set to
  1210. true.
  1211. (DoEvents): set queue.DispatchIdle to false around the
  1212. peek/translate/dispatch message loop in this method. This keeps
  1213. Application.Doevents from emitting idle events. Part of the fix
  1214. for #78823.
  1215. 2006-09-11 Chris Toshok <[email protected]>
  1216. * DataGrid.cs (set_DataSource): make this work for both the
  1217. winforms/datagrid test and ReportBuilder. It seems as though when
  1218. we've created a ListManager (or maybe it's if we have a
  1219. BindingContext?), when we set the DataSource it clears the
  1220. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1221. #79333.
  1222. 2006-09-11 Chris Toshok <[email protected]>
  1223. * XplatUIX11.cs: deal with queue being null, which happens in all
  1224. the Clipboard functions. Fixes one of the two problems mentioned
  1225. in #78612.
  1226. 2006-09-11 Chris Toshok <[email protected]>
  1227. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1228. button on various spots (including outside the menu) works closer
  1229. to MS, and doesn't crash. Fixes #79343.
  1230. 2006-09-11 Gert Driesen <[email protected]>
  1231. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1232. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1233. and the internal comparer is set. When a new ListViewItemSorter is set,
  1234. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1235. was specified. No further processing is necessary if SortOrder is set
  1236. to it's current value. If Sorting is modified to None, and View is
  1237. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1238. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1239. only set item_sorter to null if its our internal IComparer. If Sorting
  1240. is modified to Ascending or Descending, then use our internal IComparer
  1241. if none is set, and if the current IComparer is our internal one then:
  1242. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1243. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1244. Enum.IsDefined to verify whether a valid View value is specified in
  1245. its setter. Automatically sort listview items when listview is
  1246. created. In Sort, do nothing if ListView is not yet created, or if
  1247. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1248. to None or ListViewItemSorter was set to null). Added Sort overload
  1249. taking a bool to indicate whether the ListView should be redrawn when
  1250. items are sorted (we use this in ListViewItemCollection to avoid double
  1251. redraws). Modified our internal IComparer to take the sort order into
  1252. account. In Add and AddRange methods of ListViewItemCollection, also
  1253. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1254. view), but use overload with noredraw option to avoid double redraw.
  1255. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1256. true when View is Tile, and do the same when attempting to set View to
  1257. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1258. for selected/checked indices, as it involves overhead when sorting is
  1259. done while these collections are not used all that often. Instead
  1260. we'll build the indices on demand. Modified IList implementation of
  1261. CheckedIndexCollection to use public methods if object is int.
  1262. Modified CheckedListViewItemCollection to hide checked items if
  1263. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1264. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1265. IList implementation in SelectedIndexCollection to use public methods
  1266. if object is int. Modified SelectedListViewItemCollection to hide
  1267. selected items if listview is not yet created.
  1268. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1269. maintained separately (see ListView changes). Also clone font, fixes
  1270. test failure.
  1271. 2006-09-11 Mike Kestner <[email protected]>
  1272. * ComboBox.cs: if we are updating the contents of the currently
  1273. selected index, refresh the control or the textbox selection.
  1274. [Fixes #79066]
  1275. 2006-09-11 Mike Kestner <[email protected]>
  1276. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1277. the 'specified' logic has been moved there. This seems like a bug
  1278. in Control.cs, since our current SetBoundsCore completely ignores
  1279. the specified parameter. Peter's commit seems to indicate that is
  1280. the way the MS control implementation works. [Fixes #79325]
  1281. 2006-09-10 Jonathan Chambers <[email protected]>
  1282. * XplatUI.cs: Set default_class_name to be composed
  1283. of current domain id. This allows MWF to be loaded in multiple
  1284. domains on Win32.
  1285. 2006-09-09 Miguel de Icaza <[email protected]>
  1286. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1287. not call CreateXic to create the input context. Should fix
  1288. #78944/79276.
  1289. 2006-09-08 Alexander Olk <[email protected]>
  1290. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1291. Simplified gnome support by adding more pinvokes to get the
  1292. icon for a file or mime type.
  1293. 2006-09-08 Jackson Harper <[email protected]>
  1294. * MenuAPI.cs: Deslect popup context menu items before closing the
  1295. window, so that you don't see the previously selected item
  1296. selected when you reopen the menu.
  1297. * TextControl.cs: Update the cursor position even if we don't have
  1298. focus. This fixes typing in things like the ComboBox. I'm not
  1299. totally sure we should always set the visibility if we don't have
  1300. focus, but couldn't find any corner cases where the cursor showed
  1301. up when it shouldn't.
  1302. 2006-09-08 Chris Toshok <[email protected]>
  1303. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1304. our arrays are length 256. & 0xff before indexing. Fixes the
  1305. crash in bug #78077.
  1306. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1307. * ThemeWin32Classic.cs:
  1308. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1309. is true. Handle that check box too.
  1310. 2006-09-07 Chris Toshok <[email protected]>
  1311. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1312. 79244.
  1313. 2006-09-07 Chris Toshok <[email protected]>
  1314. * Control.cs: in set_BackColor only do the work if
  1315. background_color != value.
  1316. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1317. and nc) to the same block of code where we set (nc_)expose_pending
  1318. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1319. so things that cause invalidates from within OnPaint will trigger
  1320. another call to OnPaint. Fixes bug #79262.
  1321. 2006-09-07 Alexander Olk <[email protected]>
  1322. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1323. * FileDialog.cs: Fix typo
  1324. 2006-09-07 Jackson Harper <[email protected]>
  1325. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1326. for tab pages if they have any.
  1327. 2006-09-06 Mike Kestner <[email protected]>
  1328. * Splitter.cs: use the "current" rect when finishing drag handle
  1329. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1330. 2006-09-06 Mike Kestner <[email protected]>
  1331. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1332. support offset splitters. [Fixes #79298]
  1333. 2006-09-06 Alexander Olk <[email protected]>
  1334. * Mime.cs: Fixed a bug that could override the global mime type
  1335. result.
  1336. 2006-09-05 Jackson Harper <[email protected]>
  1337. * TabControl.cs: Better calculation method for setting the slider
  1338. pos. Prevents crashes on really wide tabs.
  1339. - Draw Image on tab pages if an image list is used.
  1340. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1341. * MonthCalendar.cs: When Font changes, the Size should be
  1342. updated to fit the new font's space requirements.
  1343. 2006-09-02 Alexander Olk <[email protected]>
  1344. * ListBox.cs: If the items are cleared with Items.Clear set
  1345. top_index to 0.
  1346. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1347. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1348. fire DateChanged event instead of DateSelected event when
  1349. the date was changed by keyboard interaction.
  1350. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1351. * DateTimePicker.cs: Handle DateChanged for the associated
  1352. month_calendar control, and set month_calendar.Font from
  1353. OnFontChanged method, as well as resize the height of the
  1354. control when needed. Make PreferredHeight proportional.
  1355. 2006-09-01 Chris Toshok <[email protected]>
  1356. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1357. properties.
  1358. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1359. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1360. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1361. for decorations (Fixes #79219)
  1362. 2006-09-01 Mike Kestner <[email protected]>
  1363. * ComboBox.cs: first stab at sorting plus some selection handling
  1364. fixes to bring us more in line with MS behavior. Also switches back
  1365. to index based selection. Alternative patches for index-based
  1366. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1367. and [email protected] on bug 78848. I assume they were similar to this
  1368. code I've had simmering in my tree forever.
  1369. [Fixes #78848]
  1370. 2006-09-01 Chris Toshok <[email protected]>
  1371. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1372. when setting list position guard against ending up with a -1 index
  1373. (the other part of the fix for #78812). Should probably make sure
  1374. we don't need the analogous fix in the ItemDeleted case.
  1375. * DataGrid.cs:
  1376. - in SetDataSource, work around the fact that the way
  1377. OnBindingContextChanged is invoked will cause us to re-enter this
  1378. method. I'll remove the hack once I investigate
  1379. OnBindingContextChanged.
  1380. - fix the logic in set_DataSource and set_DataMember (basically
  1381. what to do if the other of the two is null.)
  1382. - in OnListManagerItemChanged, we need to take into account the
  1383. edit row when deciding whether or not to call RecreateDataGridRows
  1384. (part of the fix for #78812).
  1385. 2006-09-01 Jackson Harper <[email protected]>
  1386. * Splitter.cs: Don't do anything if there is no control to affect
  1387. (prevents us from crashing in weird tet cases).
  1388. * TreeView.cs: Bounding box for the mouse movement reverting
  1389. focus/selection back to previously selected node. This matches
  1390. MS, and makes the tree a lot more useable.
  1391. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1392. use clipping so they are not drawn. This fixes when the control
  1393. is set to have a transparent background, or if it was over an
  1394. image.
  1395. 2006-09-01 Alexander Olk <[email protected]>
  1396. * MimeIcon.cs: Improved handling for reading default icons when
  1397. using gnome (2.16 made it necessary). Check and read svg icons
  1398. first, then 48x48 and then 32x32 icons.
  1399. 2006-08-31 Chris Toshok <[email protected]>
  1400. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1401. visible.
  1402. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1403. ProcessKeyPreview. Fixes part of #77806.
  1404. * DataGrid.cs: big patch.
  1405. - revert the queueing up of DataSource/DataMember if inside
  1406. BeginInit/EndInit calls. That's not the way the datagrid achieves
  1407. its delayed databinding. Instead, call SetDataSource in
  1408. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  1409. #78811.
  1410. - Also, it wasn't mentioned in #78811, but the test case exhibits
  1411. behavior that was lacking in our datagrid implementation - Columns
  1412. that have mapping names that don't exist in the datasource's
  1413. properties aren't shown. Yuck. To fix this I added the bound
  1414. field to the column style, and basically any calculation to figure
  1415. out anything about columns uses a loop to find the bound columns.
  1416. still need to investigate if I can cache an array of the bound
  1417. columns or if the indices must be the same.
  1418. - When setting CurrentCell, we no longer abort if the cell being
  1419. edited was in the add row. This fixes the other part of #77806.
  1420. - The new code also fixes #78807.
  1421. * ThemeWin32Classic.cs: perpetrate the same disgusting
  1422. column.bound field hack, and only render bound fields.
  1423. 2006-08-31 Chris Toshok <[email protected]>
  1424. * DataGridColumnStyle.cs: add bound field. this field is true if
  1425. the datasource has a property corresponding to the mapping name.
  1426. * DataGridTableStyle.cs: set the bound field on the column styles
  1427. depending on whether or not we have a column for that property.
  1428. 2006-08-31 Peter Dennis Bartok <[email protected]>
  1429. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  1430. splitter control (fixes #79228)
  1431. 2006-08-31 Chris Toshok <[email protected]>
  1432. * DataGridColumnStyle.cs: we need to delay the assignment of
  1433. property descriptor until the last possible moment due to the lazy
  1434. databinding stuff in the datagrid. Also, fix the exceptions
  1435. thrown by CheckValidDataSource to match MS.
  1436. 2006-08-31 Jackson Harper <[email protected]>
  1437. * Form.cs: When activated select the active control, if there is
  1438. no active control, we select the first control.
  1439. * XplatUIX11.cs: If there is no focus control when we get a
  1440. FocusIn event, find the toplevel form and activate it. This
  1441. occurs when you popup a window, it becomes the focus window, then
  1442. you close that window, giving focus back to the main window.
  1443. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1444. * MonthCalendar.cs:
  1445. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  1446. as StringFormat with Center alignments in MonthCalendar,
  1447. instead of creating new ones when drawing the control.
  1448. Also, draw the month name in bold style.
  1449. 2006-08-30 Peter Dennis Bartok <[email protected]>
  1450. * Control.cs:
  1451. - PerformLayout(): It would seem MS performs the fill even if the
  1452. control is not visible (part of #79218 fix)
  1453. - ResetBackColor(): Use the setter to reset the color, to allow
  1454. overriders to catch the change.
  1455. * Form.cs:
  1456. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  1457. - CreateHandle(): dito (part of $79218 fix)
  1458. - Don't set an icon if we have a dialog
  1459. * ScrollableControl.cs:
  1460. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  1461. - ScrollIntoView(): No need to scroll if control is already visible
  1462. (resolves fixme and fixes #79218)
  1463. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  1464. * MonthCalendar.cs: Change proportions in SingleMonthSize
  1465. to match the aspect of the original control.
  1466. 2006-08-29 Alexander Olk <[email protected]>
  1467. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  1468. get updated when they get maximized.
  1469. 2006-08-29 Peter Dennis Bartok <[email protected]>
  1470. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  1471. 2006-08-29 Chris Toshok <[email protected]>
  1472. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  1473. 2006-08-29 Jackson Harper <[email protected]>
  1474. * TreeView.cs: Need to track selected node and highlighted node,
  1475. they aren't always the same thing, when the mouse is down on a
  1476. node it is hilighted, but not selected yet.
  1477. - Do the HideSelection stuff right
  1478. - Need to focus on rbutton mouse down. And redraw selection when
  1479. right click is mouse upped.
  1480. 2006-08-29 Mike Kestner <[email protected]>
  1481. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  1482. when SubItems.Count < Columns.Count. [Fixes #79167]
  1483. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1484. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  1485. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1486. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  1487. from X. Only send based on ConfigureNotify if we don't have the
  1488. correct location in hwnd (if the window manager moved us)
  1489. 2006-08-28 Mike Kestner <[email protected]>
  1490. * ListView.cs: remove a TODO.
  1491. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  1492. [Fixes ListView part of #79166]
  1493. 2006-08-28 Mike Kestner <[email protected]>
  1494. * ListView.cs: move wheel handler to parent since it is focused
  1495. instead of the item_control now. [Fixes #79177]
  1496. 2006-08-28 Mike Kestner <[email protected]>
  1497. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  1498. when the control is focused. [Fixes #79171]
  1499. 2006-08-28 Mike Kestner <[email protected]>
  1500. * ListView.cs: size the item and header controls for empty and
  1501. unscrollable views.
  1502. * ThemeWin32Classic.cs: draw disabled backgrounds.
  1503. [Fixes #79187]
  1504. 2006-08-28 Chris Toshok <[email protected]>
  1505. * Form.cs: remove unused "active_form" static field.
  1506. * Hwnd.cs: lock around accesses to static windows collection.
  1507. * Application.cs: lock threads in Exit ().
  1508. 2006-08-28 Chris Toshok <[email protected]>
  1509. * NativeWindow.cs: lock around accesses to window_collection.
  1510. 2006-08-28 Chris Toshok <[email protected]>
  1511. * Control.cs: err, fix this the right way, by locking on controls
  1512. when using it. not by making it synchronized.
  1513. 2006-08-28 Chris Toshok <[email protected]>
  1514. * Control.cs: make the static "controls" field synchronized, as it
  1515. gets updated from multiple threads.
  1516. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1517. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  1518. Prevent other threads from exiting when calling thread sets quit state.
  1519. * XEventQueue.cs: Added PostQuitState property
  1520. 2006-08-27 Chris Toshok <[email protected]>
  1521. * AsyncMethodData.cs: add a slot for the window handle.
  1522. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  1523. window (the destination control's window, not the foster window).
  1524. * Control.cs (BeginInvokeInternal): store the window's handle in
  1525. the AsyncMethodData.
  1526. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1527. * XplatUIX11.cs:
  1528. - PostQuitMessage: Removed resetting S.D display handle, we might have
  1529. another loop started after calling PostQuitMessage (Fixes #79119)
  1530. - Created destructor to reset S.D handle
  1531. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1532. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  1533. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1534. * TextControl.cs (Insert): Update the caret position even if we don't
  1535. have a handle yet, just don't call the driver in that case.
  1536. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  1537. to the end of the new selection text (Fixes #79184)
  1538. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1539. * Form.cs (Activate): Only activate if the handle is created)
  1540. * Control.c:
  1541. - Mark window as invisible when it's disposed
  1542. - Check if window handle is created when setting window visible,
  1543. instead of relying just on the is_created variable
  1544. - Check if object is disposed when creating the control (Fixes #79155)
  1545. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1546. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  1547. when allowing layout again. Otherwise we re-generate the anchoring
  1548. distance to the border again and actually alter what the user wanted
  1549. This is ugly, it'd be better if we used DisplayRectangle instead of
  1550. ClientRectangle for Control.UpdateDistances, but that causes us to
  1551. have other problems (initial anchoring positons would be wrong)
  1552. (Fixes #78835)
  1553. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1554. * Control.cs:
  1555. - The size and location setters shouldn't go directly to
  1556. SetBoundsCore, but to SetBounds, which triggers layout on the
  1557. parent, then calls SetBoundsCore. (Related to fix for #78835)
  1558. - SetBounds: Moved actual location update code into this function
  1559. from SetBoundsCore, to match MS. Added call to PerformLayout if
  1560. we have a parent (to trigger resizing of anchored parents if the
  1561. child size has changed (see testcase for #78835)
  1562. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  1563. new control code
  1564. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  1565. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1566. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  1567. System.Drawing when a toplevel window gets closed; there might
  1568. be other toplevel windows belonging to the same app (Fixes #78052)
  1569. 2006-08-26 Alexander Olk <[email protected]>
  1570. * FileDialog.cs: After reading FileDialog settings from mwf_config
  1571. use Desktop prefix only if a real folder doesn't exist anymore.
  1572. * FontDialog.cs: Added char sets.
  1573. It is now possible to select the font, size or style with the
  1574. textboxes.
  1575. 2006-08-25 Kornél Pál <[email protected]>
  1576. * PrintPreviewDialog.cs: Use assembly name constants.
  1577. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1578. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  1579. scrollbar from whacking it's buttons)
  1580. 2006-08-24 Chris Toshok <[email protected]>
  1581. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  1582. in this patch (aggregating setting Left/Top/Width/Height to
  1583. setting Bounds on the scrollbars), but the crux of the fix is in
  1584. Recalculate, where we scroll by the remaining scroll_position if
  1585. we're hiding a scrollbar. The 2*$5 reward in the comment is
  1586. serious.
  1587. 2006-08-24 Jackson Harper <[email protected]>
  1588. * MdiClient.cs:
  1589. * MdiWindowManager.cs: If the form is made a non-mdi window we
  1590. need to remove the form closed event so that closing forms works
  1591. correctly.
  1592. 2006-08-24 Jackson Harper <[email protected]>
  1593. * Control.cs: Make IsRecreating internal so that the driver can
  1594. check it
  1595. - Temporarily remove the Hide when controls are removed, its
  1596. making a whole bunch of things not work because visibility isn't
  1597. getting reset elsewhere correctly
  1598. * Form.cs: Need to do a full handle recreation when the mdi parent
  1599. is set.
  1600. * XplatUIX11.cs: If we are recreating handles don't dispose the
  1601. HWNDs. What was happening is the handles were being recreated in
  1602. SendWMDestroyMessages, but then flow continued on in that method
  1603. and destroyed the new handles.
  1604. 2006-08-23 Jackson Harper <[email protected]>
  1605. * Form.cs: MdiClient is always at the back of the bus
  1606. * Control.cs: When the order of items in the collection is changed
  1607. we need to reset the all_controls array
  1608. - do the same sorta setup thats done when adding a control when a
  1609. control is set on the collection.
  1610. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1611. * TextBoxBase.cs (get_Text): Return an empty array if our document
  1612. is empty (fixes #79052)
  1613. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1614. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  1615. on WM_SYSCHAR messages (fixes #79053)
  1616. 2006-08-23 Chris Toshok <[email protected]>
  1617. * DataGrid.cs: fix flickering when scrolling vertically.
  1618. 2006-08-23 Chris Toshok <[email protected]>
  1619. * DataGrid.cs (EndEdit): only invalidate the row header when we
  1620. need to.
  1621. 2006-08-23 Chris Toshok <[email protected]>
  1622. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  1623. methods. fixes the flicker when scrolling around.
  1624. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1625. * FileDialog.cs: Making sure the control is created before we get a
  1626. chance to use it with BeginInvoke (Fixes #79096)
  1627. 2006-08-23 Chris Toshok <[email protected]>
  1628. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  1629. width to use when painting the rows.
  1630. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1631. * TextBoxBase.cs:
  1632. - Throw ArgumentException if a negative value is passed to SelectionLength
  1633. - Update the selection end if start is moved. end needs to be always
  1634. after start. (Fixes #79095)
  1635. - Track selection length; MS keeps the selection length even if start
  1636. is changed; reset on all other operations affection selection
  1637. 2006-08-22 Jackson Harper <[email protected]>
  1638. * TreeView.cs: Make sure both scrollbars get displayed and sized
  1639. correctly when the other bar is visible.
  1640. - Use the original clip rectangle for checking if the area between
  1641. the two scrollbars is visible, not the viewport adjusted clipping
  1642. rectangle.
  1643. 2006-08-22 Jackson Harper <[email protected]>
  1644. * Binding.cs: We don't use IsBinding because it requires the
  1645. control to be created, which really shouldn't be necessary just to
  1646. set a property on the control.
  1647. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1648. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  1649. ArgumentNullReferenceException when the argument is null.
  1650. 2006-08-21 Jackson Harper <[email protected]>
  1651. * Timer.cs: Track the thread that the timer is started in (NOT
  1652. CREATED), this way messages for it will only be triggered on its
  1653. queue.
  1654. * XEventQueue.cs: Track the timers here, this makes timers per
  1655. thread, like MS.
  1656. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  1657. 2006-08-19 Chris Toshok <[email protected]>
  1658. * XplatUIX11.cs: after further communication with pdb, we get the
  1659. best of both worlds. SetZOrder working for un-Mapped windows, and
  1660. no X errors for un-mapped windows.
  1661. 2006-08-19 Chris Toshok <[email protected]>
  1662. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  1663. as it was causing pdn toolbars to not have the correct stacking.
  1664. 2006-08-18 Mike Kestner <[email protected]>
  1665. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  1666. calculation. Not sure why control should ever be setting a negative
  1667. width though. Fixes #78931.
  1668. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  1669. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  1670. null items in ObjectCollection class.
  1671. * ListBox.cs.: Likewise.
  1672. 2006-08-18 Atsushi Enomoto <[email protected]>
  1673. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  1674. as the base method in ThemeWin32Classic should work fine.
  1675. Fixed bug #78607.
  1676. 2006-08-18 Jackson Harper <[email protected]>
  1677. * Binding.cs: When validating if the value entered doesn't convert
  1678. properly reset to the old value.
  1679. * RadioButton.cs: Don't fire click when we get focus.
  1680. 2006-08-18 Jackson Harper <[email protected]>
  1681. * FileDialog.cs: Paint the selection on the directory combobox the
  1682. same way as on MS.
  1683. 2006-08-17 Jackson Harper <[email protected]>
  1684. * ErrorProvider.cs: Don't allow the error control to be selected.
  1685. * Control.cs: Don't send the SetFocus messages, the control
  1686. activation will do this, and if we do it blindly here validation
  1687. does not work.
  1688. 2006-08-17 Jackson Harper <[email protected]>
  1689. * Control.cs:
  1690. * ContainerControl.cs: Make validation events fire in the correct
  1691. order. TODO: For some reason the first validation event is not
  1692. getting fired.
  1693. 2006-08-17 Mike Kestner <[email protected]>
  1694. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  1695. 2006-08-17 Mike Kestner <[email protected]>
  1696. * ComboBox.cs : implement scroll wheel support for popped-down
  1697. state. Fixes #78945.
  1698. 2006-08-17 Jackson Harper <[email protected]>
  1699. * TreeView.cs: Specify treeview actions (old patch that didn't get
  1700. committed for some reason).
  1701. - Don't let the mouse wheel scroll us too far. Just want to make
  1702. the bottom node visible, not scroll it all the ways to the top.
  1703. 2006-08-17 Jackson Harper <[email protected]>
  1704. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  1705. 2006-08-17 Mike Kestner <[email protected]>
  1706. * ComboBox.cs : don't do mouseover selection in simple mode.
  1707. 2006-08-16 Jackson Harper <[email protected]>
  1708. * Form.cs: Fire the closing events for all the mdi child windows
  1709. when a window is closed. If the cancel args are set to true, the
  1710. main window still gets the event fired, but it doesn't not close.
  1711. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  1712. handler, instead of when the button is clicked, so cancelling the
  1713. close works correctly.
  1714. * ComboBox.cs: Send the mouse down to the scrollbar.
  1715. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  1716. * ListBox.cs: When passing 'null' to SelectedItem,
  1717. set SelectedIndex to -1, to unselect items. This is the
  1718. observed behaviour in .Net.
  1719. 2006-08-16 Peter Dennis Bartok <[email protected]>
  1720. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  1721. MS flags saying there won't be any. (fixes #78800)
  1722. * Control.cs (HandleClick): Made virtual
  1723. 2006-08-16 Atsushi Enomoto <[email protected]>
  1724. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  1725. cultures. Fixed bug #78399.
  1726. 2006-08-16 Jackson Harper <[email protected]>
  1727. * Form.cs: Use the MdiClients MdiChildren property to access
  1728. MdiChildren instead of creating the array from the child controls.
  1729. * MdiClient.cs: Maintain a separate array of the mdi children, so
  1730. that insertion order is maintained when the Z-order is changed.
  1731. 2006-08-16 Mike Kestner <[email protected]>
  1732. * ListView.cs : add an ItemComparer and default to it for sorting.
  1733. Fixes #79076, but sorting needs a complete overhaul to be compat with
  1734. MS.
  1735. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1736. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  1737. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1738. * Hwnd.cs (Mapped): Properly traverse the tree
  1739. 2006-08-15 Chris Toshok <[email protected]>
  1740. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  1741. pass manager.Current.GetType() to ParseData. It has to be the
  1742. property type. So, hold off doing the ParseData until we're in
  1743. SetPropertyValue where we know the type. This fixes the crash in
  1744. #78821 but the textbox is still empty.
  1745. 2006-08-15 Chris Toshok <[email protected]>
  1746. * DataGrid.cs:
  1747. - when we're scrolling, only call Edit() again if the
  1748. current cell is still unobscured. Fixes bug #78927.
  1749. - when handling mousedown on a cell, ensure the cell is visible
  1750. before calling Edit.
  1751. - remove the properties from DataGridRow, and remove the
  1752. DataGridParentRow class altogether.
  1753. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1754. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  1755. fire OnTextChanged by ourselves. There's no point calling base,
  1756. we don't set the base value anywhere else. Fixes #78773.
  1757. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1758. * ListBox.cs: Call CollectionChanged when modifying
  1759. an item from Items indexer, to update the actual items
  1760. in the list box.
  1761. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1762. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  1763. to match .Net behaviour.
  1764. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1765. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  1766. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1767. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  1768. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1769. * MessageBox.cs: Prevent potential NRE exception.
  1770. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  1771. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1772. * MessageBox.cs: Calculate the owner of a messagebox, also make
  1773. it topmost. Fixes #78753
  1774. 2006-08-14 Chris Toshok <[email protected]>
  1775. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  1776. programmatically move windows. first, set the PPosition hint as
  1777. well as the USPosition hint. Second include some code from pdb
  1778. that sets the window type to NORMAL when we set the transient for
  1779. hint. This is because, in the absence of a window type, metacity
  1780. thinks any window with TransientFor set is a dialog, and refuses
  1781. to let us move it programmatically. fascists.
  1782. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1783. * XplatUIX11.cs: When setting normal hints, take into consideration
  1784. an different hints previously set so we don't delete them (fixes #78866)
  1785. 2006-08-12 Chris Toshok <[email protected]>
  1786. * ToolBarButton.cs: make Layout return a boolean, if something to
  1787. do with the button's layout changed.
  1788. * ToolBar.cs:
  1789. - add another parameter to Redraw, @force, which all existing
  1790. calls set to true.
  1791. - make the Layout function return a boolean which is true if the
  1792. layout has actually changed. Redraw now uses this (and @force)
  1793. to determine when to invalidate. At present the only place
  1794. where @force can be false is the call from OnResize, when
  1795. background_image == null. So, resizing a toolbar when the
  1796. layout doesn't change results in no drawing.
  1797. 2006-08-12 Chris Toshok <[email protected]>
  1798. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  1799. the VScrollBar and HScrollbar reversed. oops.
  1800. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  1801. scrollbars. we were assigning them twice (once in
  1802. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  1803. therefore causing two scrollbar resizes (and redraws?) to happen
  1804. per grid resize.
  1805. 2006-08-12 Chris Toshok <[email protected]>
  1806. * ToolBarButton.cs: redraw the entire button if the theme tells us
  1807. to.
  1808. * Theme.cs: add ToolBarInvalidateEntireButton.
  1809. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  1810. buttons, just the border.
  1811. * ThemeNice.cs: redraw the entire toolbar button since we need to
  1812. draw the highlight image.
  1813. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  1814. we need to redraw the entire button (not just the border).
  1815. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1816. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  1817. for vertical bars. Fixes the mismatches shown by #78513
  1818. 2006-08-11 Alexander Olk <[email protected]>
  1819. * FileDialog.cs: If a saved/remembered path doesn't exist
  1820. anymore, fall back to "Desktop".
  1821. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1822. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  1823. parent. It's apparently legal to not have one
  1824. * XplatUIX11.cs:
  1825. - SetZOrder: Don't try to set Z-Order on an unmapped window
  1826. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  1827. it unless the coordinates are negative
  1828. 2006-08-10 Mike Kestner <[email protected]>
  1829. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  1830. when setting to null per msdn docs. Fixes #78854.
  1831. 2006-08-10 Chris Toshok <[email protected]>
  1832. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  1833. flickering by setting a clip rectangle on the Graphics when we
  1834. need to redraw just a particular menuitem. Also, rename "OnClick"
  1835. to "OnMouseDown" to reflect what it actually is.
  1836. * Form.cs: track the OnMouseDown change.
  1837. 2006-08-10 Peter Dennis Bartok <[email protected]>
  1838. * CommonDialog.cs: Properly inherit the CreateParams from the form
  1839. and only change what we need. Fixes #78865
  1840. 2006-08-10 Chris Toshok <[email protected]>
  1841. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  1842. flickering in flat mode (and most of the flickering in general) by
  1843. only invalidating the button border (and not the entire rectangle)
  1844. when the state changes. A couple of cases still flicker:
  1845. ToggleButtons, and the dropdown arrow case when the user mouse
  1846. ups.
  1847. 2006-08-10 Alexander Olk <[email protected]>
  1848. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  1849. for german keyboards. Numlock state shouldn't affect the behaviour
  1850. of the Del key. Fixes bug #78291.
  1851. 2006-08-10 Chris Toshok <[email protected]>
  1852. * ListControl.cs: remove the items.Clear line from BindDataItems,
  1853. as this is the first thing done by both subclasses in their
  1854. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  1855. passed -1, refresh the list. This gets databinding working when
  1856. the datasource is set on the list before the datasource is
  1857. populated (as in wf-apps/ReportBuilder.)
  1858. * ComboBox.cs: remove the argument to BindDataItems. This call
  1859. should really go away, and be initiated by the ListControl code.
  1860. * ListBox.cs: same.
  1861. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1862. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  1863. if no data is in the document when the control is displayed
  1864. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1865. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  1866. yes (fixes #78806)
  1867. * TextControl.cs:
  1868. - PositionCaret: Allow positioning of caret but don't call methods
  1869. requiring a handle if the window isn't created yet
  1870. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  1871. - owner_HandleCreated: Don't position the caret, just update it's
  1872. location. User might have already set a different position
  1873. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1874. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  1875. windows. Screws up the returned coordinates for child windows.
  1876. Fixes #78825. I'm hoping this doesn't break something, since the
  1877. code was explicitly put in 8 months ago, but no bug was attached.
  1878. Menus still seem to work properly.
  1879. 2006-08-08 Chris Toshok <[email protected]>
  1880. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  1881. supposed to do - delay data binding until the EndInit call. Also,
  1882. make the table style collection's CollectionChangeAction.Refresh
  1883. work properly.
  1884. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  1885. (with action = Refresh) when a consituent table's MappingName is
  1886. changed.
  1887. 2006-08-08 Chris Toshok <[email protected]>
  1888. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  1889. Invalidate, since changing the text can change the size of the all
  1890. toolbar buttons.
  1891. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1892. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  1893. we don't have it yet
  1894. 2006-08-08 Chris Toshok <[email protected]>
  1895. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  1896. dialog, as this causes X errors later on, since we actually
  1897. destroy the window. Instead, .Hide() it.
  1898. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1899. * ComboBox.cs: Added focus reflection for popup window
  1900. * XplatUIX11.cs:
  1901. - Removed transient setting for non-app windows for now, not sure it
  1902. was needed
  1903. - Fixed logic checking if we have captions when deciding
  1904. override_redirect, WS_CAPTION is two bits and a 0 check was not
  1905. sufficient
  1906. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  1907. complicated
  1908. * Form.cs:
  1909. - AddOwnedForm: Don't just add the form to the list, call the property
  1910. to ensure the driver is informed about the ownership as well
  1911. - CreateHandle: Set the TopMost status in the driver if we have an owner
  1912. * XplatUI.cs: Fixed debug statement
  1913. 2006-08-08 Jonathan Pobst <[email protected]>
  1914. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1915. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  1916. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  1917. TrackBarRenderer.cs: Make constructor private.
  1918. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  1919. * ProfessionalColorTable.cs: Make properties virtual.
  1920. 2006-08-06 Duncan Mak <[email protected]>
  1921. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  1922. is not changing.
  1923. 2006-08-04 Jonathan Pobst <[email protected]>
  1924. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1925. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  1926. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  1927. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  1928. Initial import of new 2.0 classes.
  1929. 2006-08-04 Jonathan Pobst <[email protected]>
  1930. * Application.cs: Add 2.0 VisualStyles properties.
  1931. 2006-08-04 Jonathan Pobst <[email protected]>
  1932. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  1933. XplatUIX11.cs: Create property to allow access to existing private
  1934. variable "themes_enabled"
  1935. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  1936. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  1937. file size, as otherwise our class libraries fail using windows. Fixes
  1938. bug #78759.
  1939. 2006-08-04 Jackson Harper <[email protected]>
  1940. * Form.cs:
  1941. * XplatUIX11.cs: Move the toolwindow window manager creation into
  1942. the X11 driver, this way on win32 we can let windows create/handle
  1943. the toolwindows.
  1944. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  1945. * PrintDialog.cs: Remove some redundant checks, add some others,
  1946. clean some code, and move the focus to the text boxes when the
  1947. values are incorrect.
  1948. 2006-08-04 Alexander Olk <[email protected]>
  1949. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  1950. 2006-08-03 Alexander Olk <[email protected]>
  1951. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  1952. handled correctly. Fixes bug #79001.
  1953. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  1954. * PrintDialog.cs: The "Copies" numeric up down must have
  1955. set the Minimum property to 1; only if the value is bigger
  1956. than 1, activate "Collate" check box. This is the behaviour of .Net.
  1957. Also modify the Document elements only if it is not null.
  1958. 2006-08-03 Jackson Harper <[email protected]>
  1959. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  1960. length. (We have a larger array then actual node count).
  1961. 2006-08-03 Jackson Harper <[email protected]>
  1962. * ComboBox.cs: Don't show selection by default.
  1963. - The SelectAll isn't needed here, since the focus code should do
  1964. that
  1965. - DDL style lists to manual selection drawing, so when they
  1966. get/lose focus they have to invalidate.
  1967. 2006-08-03 Peter Dennis Bartok <[email protected]>
  1968. * TextBoxBase.cs: Don't always show all selections by default.
  1969. 2006-08-03 Jonathan Pobst <[email protected]>
  1970. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  1971. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  1972. Fixed various typos.
  1973. 2006-08-03 Alexander Olk <[email protected]>
  1974. * Control.cs: Removing the controls in a ControlCollection with
  1975. Clear now hides the controls as expected. Fixes bug #78804.
  1976. 2006-08-03 Jackson Harper <[email protected]>
  1977. * Control.cs: Revert previous focus patch, it breaks reflector.
  1978. 2006-08-03 Jackson Harper <[email protected]>
  1979. * ComboBox.cs: Cleanup selection and focus with the combobox.
  1980. This also eliminates some duplicated keyboard code, since now
  1981. everything is handled by the main class.
  1982. - Make list selection work on mouse up instead of down, to match
  1983. MS.
  1984. 2006-08-02 Jackson Harper <[email protected]>
  1985. * Control.cs: Setting focus needs to go through the whole
  1986. selection mechanism.
  1987. 2006-08-02 Chris Toshok <[email protected]>
  1988. * PrintPreviewDialog.cs: change MinimumSize to use
  1989. base.MinimumSize so it works.
  1990. 2006-08-02 Peter Dennis Bartok <[email protected]>
  1991. * TextControl.cs:
  1992. - UpdateCaret: Added sanity check in case caret isn't defined yet
  1993. - Line.Delete: Now updating selection and caret markers if we're
  1994. transfering a node (Properly fixes #78323)
  1995. - SetSelectionEnd: Added sanity check
  1996. * TextBoxBase.cs: Removed broken attempt to fix #78323
  1997. 2006-08-01 Chris Toshok <[email protected]>
  1998. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  1999. Close() call is handled in Form, not here.
  2000. 2006-08-01 Chris Toshok <[email protected]>
  2001. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  2002. layout/rendering.
  2003. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  2004. for sizes < 100% zoom. The code now aggressively attempts to keep
  2005. from calling document.Print (), and tries not to use the scaling
  2006. g.DrawImage whenever possible (it still does if you scale to >
  2007. 100%, since usually that involves huge images).
  2008. * PrintPreviewControl.cs: hook up the close button.
  2009. 2006-08-01 Jonathan Pobst <[email protected]>
  2010. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  2011. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  2012. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  2013. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  2014. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  2015. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  2016. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  2017. Removed [Serializable] for 2.0 Event Handlers.
  2018. 2006-07-31 Jackson Harper <[email protected]>
  2019. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  2020. * TextControl.cs: Uncomment out the body of this method.
  2021. 2006-07-31 Alexander Olk <[email protected]>
  2022. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  2023. standard cursors.
  2024. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2025. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  2026. that embed TextBox and need selections visible even if textbox is not
  2027. focused to enforce that behaviour.
  2028. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  2029. selection drawing
  2030. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2031. * TextControl.cs:
  2032. - Added new SetSelectionStart/SetSelectionEnd overloads
  2033. - Fixed viewport width assignment to be accurate
  2034. - Adjusted alignment line shift calculations to allow cursor on right
  2035. aligned lines to be always visible at the right border (like MS)
  2036. * TextBoxBase.cs:
  2037. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  2038. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  2039. - CalculateScrollBars: Use ViewPort size instead of window size, to
  2040. properly consider space occupied by the border and scrollbars
  2041. (Fixes #78661)
  2042. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  2043. calculations; no longer leaves artifacts
  2044. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  2045. calculation bugs (Still missing right/center align calculations)
  2046. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2047. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  2048. use of both scroll rect and clip rect, as they do the same.
  2049. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2050. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  2051. in the event handler (fixes #78912)
  2052. 2006-07-31 Chris Toshok <[email protected]>
  2053. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  2054. grid.ListManager.Count, since grid.ListManager might be null.
  2055. This of course begs the question "why are we drawing rows for a
  2056. grid with no list manager (and therefor no rows)?" Fixes the
  2057. crash in bug #78929.
  2058. 2006-07-31 Chris Toshok <[email protected]>
  2059. * RelatedPropertyManager.cs: Don't always chain up to the parent
  2060. ctor. instead, call SetDataSource if the parent's position is !=
  2061. -1. Fixes the crash in #78822.
  2062. 2006-07-31 Chris Toshok <[email protected]>
  2063. * DataGrid.cs (get_ListManager): use field instead of property
  2064. accessors for datasource and datamember.
  2065. (RowsCount): make internal again.
  2066. (OnMouseDown): end edits before resizing columns/rows.
  2067. (OnMouseUp): restart edits after resizing columns/rows.
  2068. 2006-07-30 Peter Dennis Bartok <[email protected]>
  2069. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  2070. This fixes the situation where the last set cursor is displayed
  2071. whenever the mouse is over scrollbars.
  2072. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  2073. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  2074. Document properties, as well as initial values.
  2075. 2006-07-29 Peter Dennis Bartok <[email protected]>
  2076. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  2077. and ClientEdge results in a 3-pixel border, which is
  2078. wrong.
  2079. 2006-07-28 Jackson Harper <[email protected]>
  2080. * TreeNodeCollection.cs: Fix the clear method.
  2081. - Fix the Shrink also
  2082. 2006-07-27 Jackson Harper <[email protected]>
  2083. * TreeView.cs: Make sure the visible order is computed when we
  2084. attempt to size the scrollbars (for trees that mess with the
  2085. scrolling when they shouldn't.
  2086. - Make sure to give the scrollbars valid values.
  2087. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2088. * XplatUIX11.cs: Move motion compression code to where it
  2089. has less performance impact
  2090. 2006-07-26 Jackson Harper <[email protected]>
  2091. * UpDownBase.cs: When the control is selected make the child
  2092. controls non selectable, so that a click on them won't do a
  2093. focus/unfocus cycle.
  2094. - Don't give focus to the text box when the spinner is selected.
  2095. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2096. 2006-07-26 Chris Toshok <[email protected]>
  2097. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2098. satisfied with this solution. If the bitmaps are small, we should
  2099. just cache them in the PrintPreviewDialog and draw them here.
  2100. Also, the layout is broken for the 2-up and 3-up cases.
  2101. * Theme.cs: add PrintPReviewControlPaint.
  2102. * PrintPreviewDialog.cs: first pass implementation.
  2103. * PrintPreviewControl.cs: first pass implementation. No
  2104. scrollbars yet.
  2105. * PrintDialog.cs: only validate fields if that particular portion
  2106. of the UI is enabled. Also, set the document's controller to a
  2107. PrintControllerWithStatusDialog wrapping the document's print
  2108. controller.
  2109. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2110. bring up a SaveFileDialog (i hope we don't want to match the
  2111. behavior of the crappy windows file entry) and set the
  2112. PrinterSettings.PrintFileName accordingly.
  2113. 2006-07-26 Jackson Harper <[email protected]>
  2114. * ContainerControl.cs: Add a field that disables auto selecting
  2115. the next control in a container when the container is activated.
  2116. * UpDownBase.cs: Don't select the text box when the up down is
  2117. selected.
  2118. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2119. * XEventQueue.cs: Added methods for peeking (used for compression
  2120. of successive events)
  2121. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2122. mouse move events (fixes #78732)
  2123. 2006-07-25 Jackson Harper <[email protected]>
  2124. * UpDownBase.cs: Use an internal class for the textbox so that we
  2125. can control focus. the updown control should always have focus,
  2126. if either the text area or the buttons are clicked.
  2127. - Send the key messages to the textbox, since it never actually
  2128. has focus
  2129. - Activate and decativate the textbox caret.
  2130. 2006-07-24 Jackson Harper <[email protected]>
  2131. * Control.cs: Use the directed select when selecting a control,
  2132. this way the container controls override will get called and the
  2133. whole ActiveControl chain will get triggered. TODO: probably need
  2134. to make sure this gets done everywhere instead of the old
  2135. Select(Control).
  2136. * ContainerControl.cs: Implement the directed Select method to
  2137. find and activate the correct child control.
  2138. 2006-07-22 Mike Kestner <[email protected]>
  2139. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2140. menu handling code so that clicks without a grab work too.
  2141. [Fixes #78914]
  2142. 2006-07-22 Alexander Olk <[email protected]>
  2143. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2144. Added some small optimizations.
  2145. 2006-07-21 Matt Hargett <[email protected]>
  2146. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2147. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2148. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2149. tests pass and match MS in some strange border cases.
  2150. 2006-07-21 Chris Toshok <[email protected]>
  2151. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2152. parent row buttons.
  2153. * Theme.cs: change args to DataGridPaintParentRow.
  2154. * DataGrid.cs: Don't use controls for the relation links and
  2155. parent buttons, so we have to handle all their interactions in
  2156. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2157. when we're navigating through child tables, so we can reinstate
  2158. selection, expanded state, current cell, etc.
  2159. 2006-07-20 Chris Toshok <[email protected]>
  2160. * ToolBar.cs: When we redraw a button, for whatever reason,
  2161. there's no reason to redraw the entire toolbar. Also, don't call
  2162. Control.Refresh from within Redraw, as it's much heavier than
  2163. Invalidate (which is really what we want).
  2164. 2006-07-20 Chris Toshok <[email protected]>
  2165. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2166. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2167. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2168. traces from within a debug IBindingList datasource
  2169. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2170. to work in a similar fashion.
  2171. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2172. * ListBox.cs: Don't call Sort () when setting
  2173. the Sorted property to false (avoid an unnecessary sort).
  2174. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2175. * ListControl.cs: DataSource should throw an ArgumentException
  2176. instead of a normal exception when the argument is not of the
  2177. correct type.
  2178. 2006-07-20 Mike Kestner <[email protected]>
  2179. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2180. key events before MWF gets its paws on them. Adapted from a
  2181. suggestion by eno.
  2182. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2183. up/down/left/right navigation. Override the new internal control
  2184. method to steal the events since they never make it to WndProc.
  2185. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2186. since the drawing code prefers pushed to hilight. Invalidate on
  2187. Hilight changes. Fixes #78547 and #78525.
  2188. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2189. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2190. the canvas size. Fixes #78868
  2191. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2192. * Splitter.cs: Track requested split position until first layout
  2193. is performed. Fixes #78871
  2194. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2195. * Application.cs: Removed code that forces 1.x for the version
  2196. number if the version started with 0. Not sure why that code was
  2197. there and I couldn't find any bugs that indicated we needed it.
  2198. Fixes #78869
  2199. 2006-07-20 Alexander Olk <[email protected]>
  2200. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2201. ResetDefaults(), just write some output to the console until it's
  2202. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2203. 2006-07-19 Jonathan Chambers <[email protected]>
  2204. * PropertyGridView.cs: set StartPosition of drop down forms
  2205. so they appear in correct initial spot. Fixes #78190.
  2206. 2006-07-19 Mike Kestner <[email protected]>
  2207. * ThemeWin32Classic.cs: use parent background color when drawing
  2208. flat toolbars. Restructure the conditionals to make sure non-flat
  2209. non-Divider toolbars are filled too. Fixes #78837.
  2210. 2006-07-19 Mike Kestner <[email protected]>
  2211. * ListBox.cs: Sort on collection changes even if the handle
  2212. isn't created yet. Fixes #78813.
  2213. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2214. * ListControl.cs: DisplayMember should never be null,
  2215. and now we assign String.Empty when null is passed to it (this
  2216. is the .Net way).
  2217. 2006-07-17 Mike Kestner <[email protected]>
  2218. * ListViewItem.cs: restructure Font and subitem Font handling
  2219. to hold a specific font and refer back to owner on null.
  2220. Fixes #78761.
  2221. 2006-07-17 Mike Kestner <[email protected]>
  2222. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2223. discarding explicit heights for non-AutoSize toolbars. Need to
  2224. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2225. 2006-07-15 Jackson Harper <[email protected]>
  2226. * LabelEditTextBox.cs:
  2227. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2228. class automatically 'closes' itself when it gets the enter key or
  2229. loses focus.
  2230. - Use the client rectangle when setting the trees scrollbars, so
  2231. border style is taken into account.
  2232. 2006-07-14 Jackson Harper <[email protected]>
  2233. * TreeNode.cs:
  2234. * TreeView.cs: Make the editing work similar to MSs, firing the
  2235. events correctly and ending edits correctly.
  2236. 2006-07-14 Mike Kestner <[email protected]>
  2237. * ToolBarButton.cs:
  2238. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2239. formatting changes gracefully, like setting TextAlign, ImageList,
  2240. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2241. of the MS controls. Things like flat toolbars ignoring button size
  2242. but becoming constant sized at the largest button's size. Normal
  2243. toolbars with an image set cannot be shrunk smaller than the image,
  2244. but text can be clipped/ignored.
  2245. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2246. is zero. Seems like DrawString should be smart enough to not put
  2247. anything on screen though. Also trim labels and ellipsize at the char
  2248. boundary, not word.
  2249. Fixes #78711 and #78483.
  2250. 2006-07-14 Alexander Olk <[email protected]>
  2251. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2252. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2253. is selected.
  2254. 2006-07-14 Alexander Olk <[email protected]>
  2255. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2256. * FolderBrowserDialog.cs:
  2257. - Use MWFConfig to store and read size and position settings
  2258. - Added code to create a new folder (button or context menu).
  2259. Use TreeView labeledit to change the name of the new folder.
  2260. 2006-07-14 Jackson Harper <[email protected]>
  2261. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2262. when the tree is scrolled we end editing.
  2263. 2006-07-14 Alexander Olk <[email protected]>
  2264. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2265. Down arrows
  2266. 2006-07-14 Jonathan Pobst <[email protected]>
  2267. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2268. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2269. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2270. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2271. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2272. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2273. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2274. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2275. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2276. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2277. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2278. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2279. ListViewItemSelectionChangedEventHandler.cs,
  2280. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2281. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2282. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2283. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2284. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2285. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2286. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2287. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2288. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2289. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2290. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2291. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2292. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2293. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2294. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2295. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2296. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2297. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2298. WebBrowserNavigatingEventHandler.cs,
  2299. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2300. 2006-07-14 Jonathan Pobst <[email protected]>
  2301. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2302. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2303. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2304. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2305. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2306. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2307. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2308. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2309. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2310. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2311. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2312. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2313. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2314. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2315. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2316. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2317. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2318. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2319. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2320. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2321. ListViewItemStates.cs, MaskFormat.cs: Added
  2322. 2006-07-13 Jonathan Chambers <[email protected]>
  2323. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2324. Patch from eno for bug 78558.
  2325. 2006-07-13 Jackson Harper <[email protected]>
  2326. * TreeView.cs: When an edit is finished make sure that the
  2327. selected node is visible.
  2328. - When setting the top/bottom use the scrollbars is_visible, so
  2329. everything will be set correctly even if the tree isn't visible
  2330. yet.
  2331. 2006-07-13 Jackson Harper <[email protected]>
  2332. * ComboBox.cs: Revert the item->index part of my previous patch.
  2333. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2334. the edit box has lost focus (duh).
  2335. - Just make the edit box not visible when we get return, that will
  2336. take the focus, which will call EndEdit
  2337. * TreeNode.cs When we start editing, notify the treeview.
  2338. 2006-07-12 Jackson Harper <[email protected]>
  2339. * ComboBox.cs: Clear out old items before setting the item list.
  2340. This prevents databound controls from having their items added
  2341. twice.
  2342. - Switch the combobox to use indices whereever possible instead of
  2343. using Item's. This allows usto navigate through lists that have
  2344. more then one item with the same string value (ie a, b, b, a).
  2345. - Scroll the listboxes scrollbar when a non visible item is
  2346. highlighted
  2347. - Allow keypress to cycle through all the possible values. For
  2348. example if you have b1, b2, b3 and hold down the B key all the
  2349. values will be cycled through.
  2350. 2006-07-12 Jackson Harper <[email protected]>
  2351. * TextBoxBase.cs:
  2352. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2353. this using the internal methods.
  2354. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2355. controls to "override" OnGotFocus and change focus behavior if
  2356. needed.
  2357. - Same thing for LostFocus
  2358. * ComboBox.cs: Pass off focus to the text control properly.
  2359. 2006-07-12 Alexander Olk <[email protected]>
  2360. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2361. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2362. - Better support for Environment.Specialfolders
  2363. - Added support for MWFVFS
  2364. - Made setting SelectedPath work
  2365. 2006-07-12 Jackson Harper <[email protected]>
  2366. * Control.cs: Optimze getting all the controls.
  2367. 2006-07-11 Jackson Harper <[email protected]>
  2368. * ContainerControl.cs: Override SETFOCUS in the container control,
  2369. so that it is not selected on mouse click.
  2370. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2371. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2372. Hopefully we will have a better way once all of focus is complete.
  2373. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2374. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2375. a compile error with csc.
  2376. 2006-07-11 Jackson Harper <[email protected]>
  2377. * Control.cs: When hiding a control only select the next control
  2378. if the current control was focused.
  2379. - Don't handle enter/leave when setting/killing focus, this is
  2380. done by the container control.
  2381. - Remove is_selected, it's not needed anymore.
  2382. - Add utility methods for selecting a child control, and for
  2383. firing the Enter/Leave events.
  2384. * ContainerControl.cs: When a control is activated fire the
  2385. enter/leave events.
  2386. - Don't wrap when processing the tab key, so that focus can be
  2387. moved outside of the container.
  2388. - Use the correct active control
  2389. 2006-07-11 Jackson Harper <[email protected]>
  2390. * ComboBox.cs: Remove some debug code that was blinding me.
  2391. * UpDownBase.cs: These controls actually aren't implicit, they are
  2392. visible to the user.
  2393. 2006-07-10 Chris Toshok <[email protected]>
  2394. * DataGrid.cs: move back to the is_adding boolean field. god i
  2395. hate this is_editing/is_adding/is_changing stuff.
  2396. 2006-07-10 Chris Toshok <[email protected]>
  2397. * DataGridTableStyle.cs: just check if the property type is bool.
  2398. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2399. Don't use CanRenderType.
  2400. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2401. if our text == NullText. Remove CanRenderType.
  2402. * DataGridBoolColumn.cs: nuke CanRenderType.
  2403. * DataGrid.cs: reenable some code to end the current edit inside
  2404. of set_CurrentCell. This fixes the other 1.1.16 regression.
  2405. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  2406. Also, remove the visible_row_count arg from CalcRowHeaders, since
  2407. we don't need to worry about the actual height of the area.
  2408. 2006-07-10 Chris Toshok <[email protected]>
  2409. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  2410. mode, just return.
  2411. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  2412. the real sense of the IsInEditOrNavigateMode property (true =
  2413. navigate, false = edit). Also, update OnKeyPress to reflect this.
  2414. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  2415. column style exists, we still need to set its property descriptor
  2416. to match up with our list manager.
  2417. 2006-07-10 Chris Toshok <[email protected]>
  2418. * ThemeWin32Classic.cs: implement the new row/header painting
  2419. approach. The parent row painting will likely go away and
  2420. replaced with label controls, but the rest seems to work ok (and
  2421. efficiently).
  2422. * Theme.cs: change the way we draw datagrid rows. we don't draw
  2423. the row headers as a block now. Instead we draw them in the
  2424. normal draw-row loop. Add some calls for drawing parent rows and
  2425. relation rows.
  2426. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  2427. a default table style. Set the defaults from ThemeEngine.Current,
  2428. not SystemColors. Fix lots of misc issues with property setters.
  2429. * DataGrid.cs: move loads of style information out of this class
  2430. as it's being duplicated with DataGridTableStyle. keep track of a
  2431. special DataGridTableStyle for the properties we used to mirror
  2432. here. Switch all the style properties to access this table style
  2433. instead of instance fields of this class. Also add a internal
  2434. class to represent parent rows (more needs to be stored here, like
  2435. the selection state from the parent table, as well as the
  2436. expansion state.) Also, for datasources with relations, do the
  2437. right thing for collapse/expand, and add support for the
  2438. navigation/parent row buttons.
  2439. Lastly, fix the crash in the 1.1.16 build.
  2440. * GridTableStylesCollection.cs: make the explicit interface
  2441. implementations call the class's methods as opposed to duplicating
  2442. them.
  2443. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  2444. 0 so the text doesn't jump around when we move the cursor.
  2445. 2006-07-10 Jackson Harper <[email protected]>
  2446. * TextBoxBase.cs:
  2447. * ListBox.cs: Match MS's ToString (this makes debugging focus
  2448. stuff infinitely easier).
  2449. 2006-07-10 Jackson Harper <[email protected]>
  2450. * Control.cs (SelectNextControl): When checking the control's
  2451. parent use this instead of ctrl.parent so that null can be passed
  2452. to SelectNextControl. (I have unit tests for this).
  2453. - Remove unused var.
  2454. 2006-07-10 Chris Toshok <[email protected]>
  2455. * CurrencyManager.cs: correct one regression, the removal of the
  2456. finalType field. Also, add a MonoTODO on CanAddRows, implement
  2457. Refresh() correctly, and fix some event emission in
  2458. ListChangedHandler.
  2459. 2006-07-07 Alexander Olk <[email protected]>
  2460. * FileDialog.cs: Don't use brackets for new folders if they exist
  2461. under *nix. Instead use -(number of existing folders +1).
  2462. 2006-07-07 Alexander Olk <[email protected]>
  2463. * FileDialog.cs:
  2464. - Fixed really nasty bug #78771
  2465. - Don't block the whole GUI when reading directories with a lot of
  2466. entries. Use an other thread instead and call BeginInvoke to
  2467. update the ListView in MWFFileView
  2468. 2006-07-07 Chris Toshok <[email protected]>
  2469. * Control.cs (Dispose): release any Capture when disposing.
  2470. 2006-07-07 Chris Toshok <[email protected]>
  2471. * LinkLabel.cs (Select): if we chain up to the parent, set
  2472. focused_index to -1 so we'll search for the first available link
  2473. the next time the user tabs into us. Also, if the direction is
  2474. backward and focused_index == -1, start the search from the last
  2475. element.
  2476. 2006-07-07 Chris Toshok <[email protected]>
  2477. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  2478. is beyond the end of the text, don't do anything.
  2479. (CreateLinkPieces): set our ControlStyles.Selectable based on
  2480. whether or not we have any links.
  2481. (Link.Invalidate): use a loop instead of foreach.
  2482. (Link.set_Start): null out owner.sorted_links so it'll be
  2483. recreated by CreateLinkPieces.
  2484. 2006-07-06 Chris Toshok <[email protected]>
  2485. * LinkLabel.cs: revert the SetStyle change.
  2486. 2006-07-06 Chris Toshok <[email protected]>
  2487. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  2488. (OnEnableChanged): s/Refresh/Invalidate
  2489. (OnGotFocus): if we have a focused index already, refocus it (so
  2490. if we mouse out/in to the window it'll focus the right link).
  2491. (OnKeyDown): move the tab handling out of here.
  2492. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  2493. when we lose focus.
  2494. (OnMouseDown): don't Capture here - Control handles it. Also,
  2495. focus the active link.
  2496. (OnMouseUp): don't deal with Capture.
  2497. (OnPaintBackgroundInternal): remove.
  2498. (OnTextAlignChanged): CreateLinkPieces before calling the
  2499. superclass's method.
  2500. (OnTextChanged): call CreateLinkPieces before calling superclass's
  2501. method.
  2502. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  2503. move around.
  2504. (Select): implement this, moving the selection between different
  2505. links, and call parent.SelectNextControl if we don't have another
  2506. link to focus in the given direction.
  2507. (CreateLinkPieces): call Invalidate instead of Refresh.
  2508. 2006-07-06 Chris Toshok <[email protected]>
  2509. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  2510. new LinkLabel internals.
  2511. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  2512. over pieces looking for active/focused/etc links. also, deal with
  2513. runs of text (and links) with embedded \n's in them, and use
  2514. MeasureCharacterRanges instead of MeasureString to figure out the
  2515. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  2516. two-step.
  2517. 2006-07-04 Jackson Harper <[email protected]>
  2518. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  2519. XKB or key auto repeat, do it manually. Without key auto repeat,
  2520. when a key is held down we get key press, key release, key press,
  2521. key release, ... with auto repeat we get key press, key press, key
  2522. press ..., and then a release when the key is actually released.
  2523. 2006-07-03 Jackson Harper <[email protected]>
  2524. * TabControl.cs:
  2525. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  2526. rules, they are always control color regardless of the background
  2527. color.
  2528. 2006-07-02 Alexander Olk <[email protected]>
  2529. * FileDialog.cs: Added internal class MWFConfig.
  2530. Removed Registry support and replaced it with support for the new
  2531. MWFConfig class. See MWFConfig comments for more information.
  2532. 2006-06-30 Alexander Olk <[email protected]>
  2533. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  2534. rectangle. Added some patches from eno from bug #78490 and fixed
  2535. the arrow position for small up and down CPDrawScrollButtons.
  2536. 2006-06-30 Jackson Harper <[email protected]>
  2537. * InternalWindowManager.cs: Remove some debug code.
  2538. * Form.cs: When an MdiParent is set to null, the window is
  2539. "detatched" and becomes a normal window.
  2540. * MdiClient.cs: Don't bring the new child form to the front until
  2541. it is activated (setting it as active does this), this makes the
  2542. previously active forms titlebar get redrawn as inactive.
  2543. 2006-06-29 Peter Dennis Bartok <[email protected]>
  2544. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  2545. with later controls
  2546. 2006-06-29 Mike Kestner <[email protected]>
  2547. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  2548. arrow in keynav state. Fixes #78682.
  2549. 2006-06-28 Atsushi Enomoto <[email protected]>
  2550. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  2551. order (fixes #78393)
  2552. 2006-06-28 Jonathan Pobst <[email protected]>
  2553. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  2554. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  2555. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  2556. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  2557. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  2558. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  2559. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  2560. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  2561. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  2562. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  2563. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  2564. values)
  2565. 2006-06-28 Mike Kestner <[email protected]>
  2566. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  2567. 2006-06-28 Atsushi Enomoto <[email protected]>
  2568. * PropertyGrid.cs,
  2569. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  2570. item lines from other area (It also makes BackColor consistent and
  2571. compatible with .NET). Fixed bug #78564.
  2572. 2006-06-28 Jonathan Chambers <[email protected]>
  2573. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  2574. Patch from Eno for #78555.
  2575. 2006-06-27 Chris Toshok <[email protected]>
  2576. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  2577. * DataGridColumnStyle.cs: same.
  2578. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  2579. * DataGridDrawingLogic.cs: nuke.
  2580. 2006-06-27 Chris Toshok <[email protected]>
  2581. * DataGridTableStyle.cs: clean up the constructors, and build the
  2582. list of child relations for this table. I have no idea if this is
  2583. where we should be doing it (it probably isn't), but since we're
  2584. already iterating over the properties..
  2585. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  2586. struct and array for keeping track of row information, similar to
  2587. what's shown in a hack on
  2588. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  2589. * Theme.cs: be consistent about the naming of DataGrid methods,
  2590. prefering ColumnWidths and RowHeights over columnsWidths and
  2591. RowsHeights.
  2592. * ThemeWin32Classic.cs: same, and also add support for variable
  2593. sized rows (and the +/- expansion icons for related rows).
  2594. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2595. * TextBoxBase.cs: Applied Eno's patch from #78660
  2596. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2597. * Form.cs (ScaleCore): We don't want to scale our form if it's
  2598. state is minimized or maximized, but we still need to scale our
  2599. child windows. Also, added try/finally block to ensure layout
  2600. gets reset (Fixes #78697)
  2601. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2602. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  2603. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2604. * Form.cs: Fixed c+p error and added check to resize form if minimum
  2605. size is bigger than current size (Fixes #78709)
  2606. 2006-06-26 Peter Dennis Bartok <[email protected]>
  2607. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  2608. 2006-06-26 Mike Kestner <[email protected]>
  2609. * ComboBox.cs: only do Keypress handling in the combo when there
  2610. are items in the collection. Fixes #78710.
  2611. 2006-06-26 Chris Toshok <[email protected]>
  2612. * Binding.cs: make this work bi-directionally. also, clear up
  2613. other mixups between Push/Pull Data (e.g. we're supposed to pull
  2614. data when validating).
  2615. * BindingManagerBase.cs: trim some fully qualified collection
  2616. types.
  2617. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  2618. 2006-06-23 Chris Toshok <[email protected]>
  2619. * PropertyManager.cs: It appears (according to the unit tests)
  2620. that PropertyManager doesn't use
  2621. PropertyDescriptor.AddValueChanged to track propery value changes
  2622. in its datasource, but uses the same scheme as Binding, where it
  2623. looks for a <Property>Changed event and binds to it.
  2624. Also, according to the docs, IsSuspended always returns false for
  2625. a property manager with a non-null datasource.
  2626. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2627. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  2628. need to update the actual DialogResult. (Fixes #78613)
  2629. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2630. * Form.cs (ShowDialog): Release any captures before running the
  2631. new message pump (fixes #78680)
  2632. 2006-06-22 Mike Kestner <[email protected]>
  2633. * ListView.cs: Layout column widths properly in details mode even
  2634. if HeaderStyle.None is set. Fixes #78691.
  2635. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2636. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  2637. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2638. * Control.cs (ContainsFocus): Using new driver method to get focused
  2639. window, instead of trying to use internal tracking var, which can
  2640. recursion issues (Fixes #78685)
  2641. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  2642. XplatUIWin32.cs: Added GetFocus method to return focused window
  2643. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  2644. * ColorDialog.cs: when the mouse button is pressed inside the color
  2645. matrix, don't let the cursor move out of it until the button is
  2646. released, which is the behavior on windows. Changed 'colours' by
  2647. 'colors' to use the same word consistently.
  2648. 2006-06-21 Chris Toshok <[email protected]>
  2649. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  2650. child relation and back, using a stack). Also, remove
  2651. GetDataSource and the code that calls it - it's not needed. Also,
  2652. track CurrencyManager.ListName's removal.
  2653. 2006-06-21 Chris Toshok <[email protected]>
  2654. * CurrencyManager.cs: push some of the original type checking from
  2655. BindingContext.CreateBindingManager to here, and remove some of
  2656. the finalType stuff. Need more tests to make sure I've got the
  2657. ListName part right, and we might need more in SetDataSource.
  2658. * PropertyManager.cs: add a ctor that takes just the datasource,
  2659. and no property name. Make SetDataSource work with a null
  2660. property_name, and make Current return the data_source if the
  2661. property descriptor is null. this makes 'string foo = "hi";
  2662. BindingContext[foo].Current' return "hi" as it should.
  2663. * RelatedCurrencyManager.cs: make this code more generic - there's
  2664. no reason the parent manager has to be CurrencyManager, and
  2665. there's no reason to pass the DataRelation. It suffices to use a
  2666. BindingManagerBase and PropetyDescriptor.
  2667. * RelatedPropertyManager.cs: make a similar change here.
  2668. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  2669. flower I knew it could be.
  2670. 2006-06-20 Chris Toshok <[email protected]>
  2671. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  2672. data in the source has changed and we need to update the control,
  2673. so s/PullData/PushData.
  2674. * CurrencyManager.cs: Refresh is meant to update the control from
  2675. data in the datasource. So, s/PullData/PushData.
  2676. * BindingContext.cs: add more ugliness (we weren't handling the
  2677. case where data_source = DataTable and data_member = column_name).
  2678. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  2679. from the perspective of the datasource. PullData pulls from the
  2680. control, PushData pushes to the control.
  2681. 2006-06-20 Chris Toshok <[email protected]>
  2682. * BindingContext.cs: rewrite the CreateBindingManager code to
  2683. handle navigation paths more or less properly. This could
  2684. definitely stand some more work, in particular to push the
  2685. recursion up to the toplevel. But that relies on fixes in other
  2686. places (System.Data comes to mind).
  2687. Also, move to a flat hashtable (and encode the twolevel nature of
  2688. the dictionary into the hash key). This lets us implement the
  2689. IEnumerable.GetEnumerator method.
  2690. * RelatedCurrencyManager.cs: new class. Update our view based on
  2691. our relation and our parent CurrencyManager's position.
  2692. * CurrencyManager.cs: split out some logic from the ctor into
  2693. SetView, so it can be called from the new RelatedCurrencyManager
  2694. subclass.
  2695. * RelatedPropertyManager.cs: new class. Update our datasource
  2696. based on the position of our parent CurrencyManager.
  2697. * PropertyManager.cs: split out some logic from the ctor into
  2698. SetDataSource, so it can be called from the new RelatedDataSource
  2699. subclass. Also, make the Current getter return the value
  2700. of the PropertyDescriptor, not the data_source.
  2701. * Binding.cs: no need to duplicate the string splitting code here.
  2702. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2703. * Control.cs:
  2704. - set_Enabled: OnEnabledChanged is not called if the inherited state
  2705. of the control is not altered, even though we might be changing the
  2706. internal state of the control (#78458)
  2707. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  2708. OnEnabledChanged, to allow easy altering of any child window state
  2709. - OnEnabledChanged: Added code to enable/disable driver window state
  2710. - OnParentEnabledChanged: Instead of firing the event, call
  2711. OnEnabledChanged, which will fire the event and also a) set driver
  2712. window state and pass the enabled state to any grandchildren (#78458)
  2713. 2006-06-19 Jackson Harper <[email protected]>
  2714. * InternalWindowManager.cs: We don't set the cursor explicitly
  2715. thats done via the response to NCHITTESTs.
  2716. - Don't need to adjust for titlebar heights anymore, the
  2717. coordinates are coming in the correct coordinates now (see peters
  2718. last patch).
  2719. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2720. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  2721. being translated relative to whole window, instead of client window.
  2722. That caused broken offsets on mouseclick (and caused gas for our
  2723. InternalWindowManager)
  2724. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2725. * TextControl.cs:
  2726. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  2727. - Undo(): Added replay of cursor move on DeleteChars action; added
  2728. calling Undo() again if a recorded cursor move is invalid (to
  2729. ensure that some action is performed on Undo)
  2730. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  2731. 2006-06-16 Jackson Harper <[email protected]>
  2732. * MdiClient.cs: Instead of just sizing maximized windows when
  2733. there is a resize we also have to adjust the Y of minimized
  2734. windows, so they stay pinned to the bottom of the mdi container.
  2735. - Eliminate separate tracking of the active control, we can just
  2736. get this from the controls collection.
  2737. - Paint the decorations for the newly activated titlebar so we get
  2738. a pretty blue bar.
  2739. * InternalWindowManager.cs:
  2740. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  2741. even if they are a tool window.
  2742. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2743. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  2744. undo buffer, these can happen when text was deleted and the cursor
  2745. was recorded first. Since we will also have a recorded cursor
  2746. after the delete this is not an issue. (Fixes #78651)
  2747. 2006-06-14 Peter Dennis Bartok <[email protected]>
  2748. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  2749. instead properly track control states internally (allows us to
  2750. remove is_selected from Control)
  2751. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  2752. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  2753. whose width is not a multiple of 8.
  2754. 2006-06-13 Jackson Harper <[email protected]>
  2755. * MdiClient.cs: Only maximize the next child if the current one
  2756. is maximized.
  2757. 2006-06-13 Chris Toshok <[email protected]>
  2758. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  2759. modified. Also, guard against grid or grid_drawing being null in
  2760. Invalidate.
  2761. * DataGrid.cs: Reformat tons of getters/setters. In the
  2762. DataMember setter, just call SetNewDataSource instead of
  2763. duplicating some of its functionality. In SetNewDataSource, don't
  2764. check ListManager for null, since the property getter creates the
  2765. object if needed.
  2766. * DataGridTableStyle.cs: don't set TableStyle or call
  2767. SetDataGridInternal on the column here, it's done in
  2768. GridColumnStylesCollection.Add.
  2769. * GridColumnStylesCollection.cs: fix all the explicit interface
  2770. implementations to just call our methods. Nuke AddInternal() and
  2771. move the body of it to Add(). Also, add a call to
  2772. column.SetDataGridInternal to Add().
  2773. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  2774. base()+duplicate code. Also, use the Format property instead of
  2775. format to generate an Invalidate ala MS. Lastly, create the
  2776. textbox here, unconditionally.
  2777. (set_Format): call Invalidate.
  2778. (get_TextBox): no need to call EnsureTextBox.
  2779. (Commit): remove the message box.
  2780. (Edit) remove the call to EnsureTextBox.
  2781. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  2782. (EnterNullValue): no need to check textbox for null.
  2783. (HideEditBox): no need to check textbox for null.
  2784. (SetDataGridInColumn): add the textbox to the grid's controls.
  2785. (EnsureTextBox): nuke.
  2786. 2006-06-13 Jackson Harper <[email protected]>
  2787. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  2788. and redraw the buttons when needed. Unhook when the window is
  2789. unmaximized.
  2790. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  2791. needs this so that it can redraw its buttons when the menu is
  2792. repainted.
  2793. * InternalWindowManager.cs:
  2794. * Form.cs: The method order has changed for DrawMaximizedButtons,
  2795. so that it can be a PaintEventHandler.
  2796. 2006-06-13 Jackson Harper <[email protected]>
  2797. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  2798. window is activated and maximized, even if it wasn't before.
  2799. - When a new window is activated repaint the decorations of the
  2800. old one, so that it no longer has the Active "look" (the blue
  2801. titlebar).
  2802. * InternalWindowManager.cs: Open up CreateButtons to base classes
  2803. so they can recreate the buttons on state changes.
  2804. - If a window is maximized give it all three buttons
  2805. * MdiWindowManager.cs: Create the titlebar buttons when the state
  2806. is changed, this is needed because a toolwindow will not have all
  2807. three buttons until it is maximized.
  2808. 2006-06-13 Atsushi Enomoto <[email protected]>
  2809. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  2810. Fixed bug #78609.
  2811. 2006-06-12 Jackson Harper <[email protected]>
  2812. * KeysConverter.cs: Make sure we handle the Ctrl special case
  2813. if its the only key.
  2814. 2006-06-12 Jackson Harper <[email protected]>
  2815. * Theme.cs: Add a method to get the size of a managed window
  2816. toolbar button.
  2817. * InternalWindowManager.cs: Remove the ButtonSize property, this
  2818. should be retrieved from the theme.
  2819. * MdiWindowManager.cs: Get the button size from the theme
  2820. * ThemeWin32Classic.cs: Make the method to get the managed window
  2821. titlebar button size public.
  2822. - Handle the different button sizes of maximized toolwindows
  2823. (should match any maximized window).
  2824. - Get the titlebar height from the theme, not the WM (which gets
  2825. it from the theme).
  2826. 2006-06-12 Jackson Harper <[email protected]>
  2827. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  2828. event down to the mdi window manager.
  2829. - Expose some extra stuff to base classes
  2830. - Make sure to end the Capture on an NC Mouse up, so that we can
  2831. get double clicks properly, and the sizing doens't stick.
  2832. - When doing PointToClient contain it in the workable desktop
  2833. area, this prevents windows from changing size when the cursor is
  2834. pulled outside of the working area while sizing.
  2835. * MdiWindowManager.cs: When we get a double click maximize the
  2836. window.
  2837. - Reset the cursor after handling mode changes.
  2838. 2006-06-12 Peter Dennis Bartok <[email protected]>
  2839. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  2840. current desktop, instead of just assuming a 0, 0 origin. This
  2841. is needed for our internal window manager, to know the top
  2842. margin of the desktop
  2843. 2006-06-12 Chris Toshok <[email protected]>
  2844. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  2845. we need this to get rid of the selected background in the bool
  2846. column.
  2847. (CancelEditing): move the ConcedeFocus call to above the Abort
  2848. call. Also, set is_changing to false and invalidate the row
  2849. header if we were changing before.
  2850. (ProcessKeyPreviewInternal): remove, since noone outside this
  2851. class calls it anymore. Roll the code into ProcessKeyPreview.
  2852. (EndEdit): remove the internal version.
  2853. (InvalidateCurrentRowHeader): make private.
  2854. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  2855. Keys.Escape handling (and with it the last call to
  2856. DataGrid.EndEdit from outside the class.)
  2857. 2006-06-12 Chris Toshok <[email protected]>
  2858. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  2859. (OnKeyPress): set isedit to true.
  2860. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  2861. already handled by the grid.
  2862. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  2863. right. ugh.
  2864. (set_DataSource): SetDataSource always returns true, so stop
  2865. putting it in an if statement.
  2866. (EndEdit): get rid of some {}'s
  2867. (ProcessGridKey): return true in case Keys.Escape.
  2868. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  2869. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  2870. PositionChanged, stopped connecting to CurrentChanged.
  2871. (GetDataSource): simplify this a bunch.
  2872. (SetDataSource): change return type from bool to void.
  2873. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  2874. to this, and make sure we don't set ListManager.Position inside
  2875. set_CurrentCell.
  2876. (OnListManagerItemChanged): if we're passed an actual index,
  2877. redraw that row.
  2878. * CurrencyManager.cs (set_Position): don't call PullData here.
  2879. 2006-06-09 Jackson Harper <[email protected]>
  2880. * TreeNode.cs: Recalculate the visible order before doing the
  2881. Expand/Collapse Below calls, because those calls generate an
  2882. expose.
  2883. - Reduce calls to the TreeView property, which is mildly expensive
  2884. by using a local var.
  2885. * Form.cs: Layout the MDI child windows when creating the parent
  2886. form.
  2887. - Don't use the internal constructor anymore
  2888. * MdiClient.cs: use the parent form width/height (if available)
  2889. when laying out the child windows, we do this because the
  2890. mdiclient isn't docked yet when the initial layout is done.
  2891. - Don't need an internal constructor anymore.
  2892. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2893. * FileDialog.cs: handle access errors when trying to create a folder
  2894. or changing to a directory. No need to initialize out parameters.
  2895. 2006-06-08 Alexander Olk <[email protected]>
  2896. * FileDialog.cs: Append a number when creating a new folder if the
  2897. folder already exists (use parenthesis instead of square brackets)
  2898. 2006-06-08 Alexander Olk <[email protected]>
  2899. * FileDialog.cs:
  2900. - Disabled registry support for windows and added better registry
  2901. error checking for other systems (need to investigate why it
  2902. works perfectly on my system)
  2903. - If a folder already exist show an error MessageBox instead of
  2904. trying to create an indexed name.
  2905. - Fixed a non intentional typo.
  2906. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2907. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  2908. 2006-06-08 Alexander Olk <[email protected]>
  2909. * FileDialog.cs: When creating a new folder don't crash if the
  2910. folder already exists.
  2911. 2006-06-08 Alexander Olk <[email protected]>
  2912. * FileDialog.cs: Allmost a complete rewrite.
  2913. - added a "virtual" file system that handles the differences
  2914. between unix and windows file systems (especially the directory
  2915. structure). Moved most of the directory and file handling code
  2916. into the vfs.
  2917. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  2918. UnixFileSystem and FSEntry.
  2919. - Recently used folder/directory, size, location and used file names
  2920. (file name ComboBox) are now stored in the registry and get read
  2921. before the dialog shows up (fixes part 6 of bug #78446).
  2922. - Creation of new folders/directories is now possible (context menu
  2923. or ToolBar). Added TextEntryDialog for this that fills in the gap
  2924. until ListView.LabelEdit works.
  2925. - Fixed cursor handling (bug #78527) and focus handling for
  2926. PopupButtonPanel
  2927. - Various "Search in" ComboBox enhancements. The content of the
  2928. dropdown listbox now almost matches ms.
  2929. - Changed the behaviour when the user switches to SpecialFolder
  2930. Recent to show the ListView in View.Details.
  2931. - Beside using the ToolBar to change the View property of the
  2932. file ListView it is now possible to use the context menu too.
  2933. 2006-06-08 Alexander Olk <[email protected]>
  2934. * ComboBox.cs: Don't create a new ObjectCollection when an item
  2935. gets inserted. Just insert the item in the existing object_items
  2936. ArrayList.
  2937. 2006-06-08 Jackson Harper <[email protected]>
  2938. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  2939. that the treeview and root node checks are done also, this fixes a
  2940. regression i caused in the unit tests.
  2941. 2006-06-07 Wade Berrier <[email protected]>
  2942. * RichTextBox.cs: More ISO8859-1 -> unicode
  2943. 2006-06-07 Mike Kestner <[email protected]>
  2944. * ComboBox.cs : use items to hold highlight/selection so that
  2945. collection insertions don't require synchronization.
  2946. 2006-06-07 Jackson Harper <[email protected]>
  2947. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  2948. routine. We now always keep the sized edge at the cursor instead
  2949. of computing movement and adjusting rects. There is one buglet
  2950. with this method though when the cursor is moved over area that
  2951. the window can not expand too (such as the toolbars on the desktop).
  2952. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2953. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  2954. here. Fixes crash on startup in AlbumSurfer.
  2955. 2006-06-07 Peter Dennis Bartok <[email protected]>
  2956. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  2957. values
  2958. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2959. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  2960. statement to avoid calling XNextEvent which will block if another thread
  2961. took the event that we were expecting. Fixes bug #78605.
  2962. 2006-06-07 Mike Kestner <[email protected]>
  2963. * ListView.cs : isolated checkbox clicking from the selection logic.
  2964. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  2965. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  2966. * Form.cs: Check that the value passed to Form.DialogResult
  2967. is a valid enum value.
  2968. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2969. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  2970. Computer'. Clicking it in the network view goes to 'My Computer'.
  2971. Added CIFS filesystem type. Display the mount point of filesystems.
  2972. Avoid duplicate mount points (happens for me with CIFS);
  2973. 2006-06-06 Jackson Harper <[email protected]>
  2974. * InternalWindowManager.cs: Draw the maximized windows buttons
  2975. when resizing.
  2976. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2977. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  2978. all other dialogs. Fixes bug #78585.
  2979. 2006-06-06 Mike Kestner <[email protected]>
  2980. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  2981. Only invalidate checkbox on checkstate changes to avoid flicker.
  2982. * ListBox.cs : avoid unselect/select when clicking selected item.
  2983. avoid reselection flicker for already multiselected items.
  2984. Fixes #78382.
  2985. 2006-06-06 Jackson Harper <[email protected]>
  2986. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  2987. the parent form so that the menu is removed if needed.
  2988. 2006-06-06 Mike Kestner <[email protected]>
  2989. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  2990. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  2991. 2006-06-06 Mike Kestner <[email protected]>
  2992. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  2993. 2006-06-06 Jackson Harper <[email protected]>
  2994. * Control.cs: Use the property (instead of the field) to get the
  2995. default cursor so it is instantiated correctly.
  2996. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  2997. resizes so we need to manually repaint the window decorations here.
  2998. - Set the titlebar button locations as soon as they are created,
  2999. otherwise they are not set correctly on win32.
  3000. 2006-06-06 Chris Toshok <[email protected]>
  3001. * CurrencyManager.cs (set_Position): call PullData before
  3002. OnCurrentChanged.
  3003. (AddNew): after calling IBindingList.AddNew, update our
  3004. listposition, and call OnCurrentChanged/OnPositionChanged (without
  3005. calling PullData).
  3006. (OnCurrentChanged): remove the call to PullData from here.
  3007. (OnItemChanged): remove the call to PushData from here.
  3008. (OnPositionChanged): change the test from == null to != null to
  3009. match the other methods.
  3010. (ListChangedHandler): the grossest part of the patch. Implement
  3011. this such that it passes the unit tests in CurrencyManagerTest and
  3012. the output more or less matches that of MS's implementation.
  3013. 2006-06-06 Mike Kestner <[email protected]>
  3014. * ListView.cs : only update check state on single click.
  3015. * ThemeWin32Classic.cs : fix focus drawing for details view without
  3016. fullrowselect. Fixes #78454.
  3017. * XplatUIX11.cs : fix for double click emission.
  3018. 2006-06-05 Jonathan Chambers <[email protected]>
  3019. * PropertyGridView.cs : Applied Atsushi's patch to fix
  3020. font dialog bug (#78197).
  3021. 2006-06-05 Jackson Harper <[email protected]>
  3022. * TreeNode.cs: Compute the next node for expanding/collapsing
  3023. correctly. We now factor in nodes without a NextNode
  3024. correctly. (Fixes somes cases in nunit-gui).
  3025. * InternalWindowManager.cs: Set the bounds when updating the
  3026. virtual position of a tool window.
  3027. 2006-06-05 Chris Toshok <[email protected]>
  3028. * DataGrid.cs: rename cached_currencymgr to list_manager.
  3029. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  3030. some.
  3031. (CurrentRow, CurrentColumn): single accessors so we can make the
  3032. cursor movement code a lot easier to understand.
  3033. (CurrentRowIndex): implement this in terms of CurrentRow.
  3034. (BeginEdit): clean this up a bit.
  3035. (CancelEditing): sort out the is_editing/is_changing/is_adding
  3036. stuff a little.
  3037. (EndEdit): minor changes.
  3038. (OnKeyDown): add a comment about a (most likely) unnecessary
  3039. check.
  3040. (OnMouseDown): cancel editing when we click on a row header. And
  3041. use the CurrentRow setter, not CurrentCell.
  3042. (ProcessDialogKey): directly call ProcessGridKey.
  3043. (UpdateSelectionAfterCursorMove): factor out this common block of
  3044. code (it's used everywhere that we move the cursor by updating row
  3045. or column).
  3046. (ProcessGridKey): pretty substantial overhaul. Use the
  3047. CurrentRow/CurrentColumn properties to make the code a lot more
  3048. readable. Only use the CurrentCell property when we have to
  3049. modify both row and column at once. Tab behavior is still broken,
  3050. and Delete is untested.
  3051. (Select): if we have no selected rows, set selection_start to
  3052. @row.
  3053. (EditCurrentCell): rename EditCell this. It was only ever invoked
  3054. with CurrentCell as the arg, so drop the arg and rename it.
  3055. * DataGridColumnStyle.cs: clean up the constructors a little, and
  3056. drop CommonConstructor().
  3057. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  3058. actually get notified when the user hits it.
  3059. (ProcessKeyMessage): *substantially* simplify this method.
  3060. There's no reason (that I can see) for the textbox to be making
  3061. calls into the datagrid at all. Remove all of them but the ones
  3062. for Enter handling. those will take some more work.
  3063. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  3064. calling HideEditBox.
  3065. (HideEditBox): if we have an active textbox, render it invisible
  3066. without causing a re-layout of the datagrid.
  3067. 2006-06-05 Mike Kestner <[email protected]>
  3068. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  3069. collection changes by resetting it to Items[0]. Fixes #78587.
  3070. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  3071. * MessageBox.cs: if the height of the text is larger than the icon_size,
  3072. use that. Fixes bug #78575.
  3073. 2006-06-05 Jackson Harper <[email protected]>
  3074. * TreeView.cs: Fix line drawing when scrolling. To do this each
  3075. node is basically responsible for drawing its entire horizontal
  3076. area. When drawing a node it draws its parent node lines if
  3077. needed.
  3078. - Adjust the clip area to the viewport rectangle
  3079. - Fix Left/Right key handling to match MS. (It expand/collapses
  3080. and moves to parents/first child but does not move selection to
  3081. sibling nodes).
  3082. - Fix SetTop to work with new bound calculation code
  3083. - When scrollbars are no longer needed we need to reset scrolling
  3084. vars and recalculate the visible order so the redraw is correct
  3085. * TreeNode.cs: We can't expand/collapse nodes with no children.
  3086. 2006-06-03 John Luke <[email protected]>
  3087. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  3088. so the colors work without dev packages
  3089. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3090. * Control.cs
  3091. - Select: Implemented to just use activate. Seems to match MS
  3092. behaviour closest. Documented to only do actual control walking
  3093. based on it's parameters if in a container control so I moved
  3094. the code there.
  3095. - Removed selection check logic from our internal Select() method
  3096. * ContainerControl.cs:
  3097. - Select: Moved selection logic from Control here, since MS documents
  3098. that containers obey the bool arguments. No longer calling base
  3099. 2006-06-02 Jackson Harper <[email protected]>
  3100. * TreeView.cs: If the selected node isn't changed when we get
  3101. focus update the previously selected node so that we see the
  3102. selection box.
  3103. 2006-06-02 Mike Kestner <[email protected]>
  3104. * ComboBox.cs: restructure grab and general mouse event handling.
  3105. Make the composite control raise mouse events like it was a single
  3106. control for leaves/enters/motion/up/down events. fix dropdown list
  3107. coordinate mangling and refactor it into the scrollbar subclass to
  3108. reduce code duplication. Fixes #78282 #78361 and #78457.
  3109. 2006-06-02 Mike Kestner <[email protected]>
  3110. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3111. automatically in the Control.WndProc.
  3112. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3113. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3114. FilterIndex to 2 with only one Filter.
  3115. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3116. * ToolBar.cs: add SizeSpecified property.
  3117. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3118. try to figure out our real size, otherwise fallback to what the
  3119. container says.
  3120. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3121. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3122. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3123. up the event
  3124. 2006-06-01 Mike Kestner <[email protected]>
  3125. * ListView.cs: revamp the focus management in ListView. It still
  3126. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3127. better than not handling focus at all. Will revisit when pdb feels
  3128. the general focus handling is solid. Fixes #78526.
  3129. 2006-06-01 Jackson Harper <[email protected]>
  3130. * TreeView.cs: Set the default border style in the constructor.
  3131. - Move painting to use OnPaintInternal instead of capturing
  3132. WM_PAINT, this is the correct way of doing things
  3133. - UpdateBelow shouldn't invalidate the scrollbar area
  3134. - Cap the top on update below in case the node was above the top
  3135. of the viewport rectangle.
  3136. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3137. * TreeNode.cs: Make is_expanded internal so the treenode
  3138. collection can change it without firing the whole event chain.
  3139. * TreeNodeCollection.cs: When clearing all the child nodes make
  3140. sure to recalc the visible order.
  3141. - Improve algo for remove the top node
  3142. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3143. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3144. SendMessage directly calling window procedures, which in turn might
  3145. call SetFocus()
  3146. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3147. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3148. has focus (works around X11 sending a FocusIn after our SetFocus)
  3149. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3150. 2006-06-01 Alexander Olk <[email protected]>
  3151. * Mime.cs: Fix for the NET_2_0 build.
  3152. NameValueCollection needs StringComparer now.
  3153. 2006-05-31 Chris Toshok <[email protected]>
  3154. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3155. return (via an out parameter) the starting X of the column.
  3156. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3157. (HitTest): add a ColumnResize case here.
  3158. (DrawResizeLine): new function, probably poorly named.
  3159. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3160. only need to keep one reference.
  3161. (set_ListManager): same.
  3162. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3163. Also, add support for HitTestType.ColumnResize.
  3164. (OnMouseMove): add column resize behavior here, and change the
  3165. cursor to the correct one as we move around the datagrid.
  3166. (OnMouseUp): terminate the column resize if we're resizing.
  3167. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3168. for the current cell.
  3169. (ConnectListManagerEvents): use cached_currencymgr.
  3170. (DisconnectListManagerEvents): fill this in, using
  3171. cached_currencymgr.
  3172. (SetCurrentCell): remove cached_currencymgr_events handling.
  3173. (SetDataMember): only call DisconnectListManagerEvents if
  3174. cached_currencymgr is != null.
  3175. (SetDataSource): same.
  3176. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3177. cached_currencymgr.
  3178. 2006-05-31 Jackson Harper <[email protected]>
  3179. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3180. SVN.
  3181. * TreeNode.cs: We get the indent level dynamically right now, so
  3182. don't track it as a member.
  3183. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3184. have parents, treeviews/topnodes setup properly.
  3185. - Don't attempt to track indent level.
  3186. 2006-05-30 Jackson Harper <[email protected]>
  3187. * BindingContext.cs: Create the currency manager tables here.
  3188. This allows us to more easily create null tables (when bad data
  3189. members are used), and more easily create related currency
  3190. managers.
  3191. * CurrencyManager.cs: All the table creation stuff is done by the
  3192. binding context now.
  3193. - Current should throw an exception if listposition is -1.
  3194. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3195. been bound yet.
  3196. 2006-05-30 Mike Kestner <[email protected]>
  3197. * ListView.cs: allow reexpansion of zero-width column headers.
  3198. Fixes #78528.
  3199. 2006-05-28 Chris Toshok <[email protected]>
  3200. * CurrencyManager.cs (get_Current): after the late binding
  3201. listposition = -1 fix, we need to guard against it here and return
  3202. null, otherwise we raise an exception (which is swallowed
  3203. elsewhere, and breaks datagrid databinding.)
  3204. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3205. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3206. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3207. 2006-05-26 Jackson Harper <[email protected]>
  3208. * ControlPaint.cs:
  3209. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3210. values, it's faster and it's all we care about (we don't care if
  3211. the names aren't equal).
  3212. * KeyboardLayouts.cs: Eliminate some dead code.
  3213. - Lazy init things
  3214. * X11Keyboard.cs: Lazy init keyboard detection.
  3215. - Cleanup access modifiers a little.
  3216. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3217. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3218. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3219. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3220. the sizes of each link section, that will result in sizes that
  3221. match DrawString's layout (Fixes #78391)
  3222. 2006-05-27 Alexander Olk <[email protected]>
  3223. * FileDialog.cs: If AddExtension property is true autocomplete the
  3224. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3225. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3226. fix part 8 of bug #78446 for now.
  3227. 2006-05-26 Chris Toshok <[email protected]>
  3228. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3229. invalidate the current row header if we need to, but presumably
  3230. we'll invalidate the row corrsponding to the bounds or
  3231. editingControl.
  3232. (GridHScrolled): switch back to this method, as it's part of the
  3233. public api. *sigh*.
  3234. (GridVScrolled): same.
  3235. (OnMouseWheel): hack up something that more or less works. Call
  3236. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3237. of their code here.
  3238. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3239. can't just set the scrollbar Value and expect to do all the work
  3240. in the ValueChanged handler. Also, Call Update() after scrolling
  3241. in one direction so the other XplatX11.ScrollWindow call has the
  3242. proper stuff in the proper places.
  3243. (EditCell): set is_editing to true before calling .Edit.
  3244. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3245. don't bother comparing first.
  3246. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3247. base.OnKeyPress. this will set is_changing and invalidate the row
  3248. header if necessary.
  3249. (ProcessKeyMessage): for WM_CHAR messages, call
  3250. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3251. and WM_KEYDOWN.
  3252. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3253. it's done in the DataGrid.
  3254. (NextState): call grid.ColumnStartedEditing, which takes care of
  3255. invalidating the row header (and setting is_changing).
  3256. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3257. here. it's done in the DataGrid.
  3258. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3259. * Control.cs: allow changing the cursor when the mouse position is
  3260. out of bounds but Capture is set.
  3261. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3262. linklabel but released somewhere else.
  3263. 2006-05-25 Jackson Harper <[email protected]>
  3264. * TreeView.cs: When we get focus if there is no selected node make
  3265. it the top node
  3266. - Remove some uneeded setup code from Draw.
  3267. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3268. a new node is inserted make the new node the top.
  3269. * XplatUIX11.cs:
  3270. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3271. be used (should be faster).
  3272. 2006-05-25 Chris Toshok <[email protected]>
  3273. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3274. problem with the last commit.
  3275. 2006-05-25 Chris Toshok <[email protected]>
  3276. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3277. need the invalidate call here, while scrolling right-to-left via
  3278. the left arrow key (i.e. moving the editing cell while scrolling).
  3279. * DataGrid.cs (.ctor): remove the initialization of
  3280. ctrl_pressed/shift_pressed. We no longer track them using key
  3281. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3282. to using ValueChanged handlers on the scrollbars instead of
  3283. Scrolled event handlers. This simplifies a bunch of the scrolling
  3284. code.
  3285. (GridHValueChanged): rename from GridHScrolled, and change it to
  3286. work with the new event args.
  3287. (GridVValueChanged): same.
  3288. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3289. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3290. selected cell.
  3291. (ProcessGridKey): correct all the keyboard navigation stuff I
  3292. could find. Ctrl up/down/left/right/home/end work now.
  3293. (EnsureCellVisibility): correct method name spelling. Also,
  3294. simplify this a touch by not explicitly calling the
  3295. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3296. scrollbar value.
  3297. (OnKeyUpDG): no need for this method now.
  3298. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3299. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3300. Fixes bug #78392.
  3301. 2006-05-25 Chris Toshok <[email protected]>
  3302. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3303. r61019.
  3304. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3305. * Application.cs: Moved setting of is_modal and closing to before
  3306. we create the control, to allow the event handlers called as a
  3307. result of creation affect closing. Also removed Gonzalo's previous
  3308. change to setting DialogResult, the behaviour has been moved to
  3309. Form.ShowDialog()
  3310. * Form.cs:
  3311. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3312. handle it instead
  3313. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3314. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3315. the close is cancelled
  3316. 2006-05-25 Jackson Harper <[email protected]>
  3317. * StatusBar.cs: We only need to update the sizes of the other
  3318. panels when we have auto size contents. Also we are only updating
  3319. the contents of the panel, not the borders, so compensate for the
  3320. border width (TODO: get this width from the theme somehow).
  3321. * TreeView.cs: Scrollable is true by default
  3322. - Use invalidate instead of refresh where needed
  3323. - Factor the scrollable value into scrollbar updating
  3324. - Update the scrollbars if the Scrollable property is altered
  3325. - Update the selected node if its ImageIndex is changed
  3326. - Handle null nodes in UpdateNode (mainly so we don't have to
  3327. check if selected is null when updating it
  3328. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3329. are factored into the visible count
  3330. - Use VisibleCount for clarity in the code
  3331. - When the font is changed we need to recurse through all the
  3332. nodes and invalidate their sizes
  3333. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3334. * Application.cs: set the DialogResult to fixed when the main form is
  3335. hidden or destroyed while being modal.
  3336. 2006-05-25 Miguel de Icaza <[email protected]>
  3337. * Theme.cs: Use Tangoified messagebox icons.
  3338. (GetSizedResourceImage): Also cope with width = 0 and do not
  3339. trigger a warning in that case (0 means "give me your icon from
  3340. the resouce, no special size needed).
  3341. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3342. * Application.cs: Leave runloop if the the main modal form is
  3343. hidden (fixes #78484)
  3344. 2006-05-25 Atsushi Enomoto <[email protected]>
  3345. * BindingContext.cs : reject null datasource in Contains() and
  3346. Item[].
  3347. * CurrencyManager.cs : check data_member validity when data_source
  3348. is dataset. When it is late binding, the initial position is -1.
  3349. 2006-05-24 Jackson Harper <[email protected]>
  3350. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3351. inserted nodes that aren't visible. This changes the
  3352. max_visible_order which confuses scrollbar settings.
  3353. - Use the enumerator to get the prev node instead of duplicating
  3354. code.
  3355. * TreeView.cs: Use new method for setting scrollbar values
  3356. - Don't set the bounds every time the scrollbar is updated
  3357. - When updating below the root node use an invalidate instead of a
  3358. refresh to prevent the child controls (scrollbars) from being
  3359. refreshed. (UpdateBelow still needs to be reworked anyways).
  3360. - Reenable SetBottom now that visible orders are set correctly,
  3361. added some debug code incase we ever get bad values there again.
  3362. - Set the scrollbar max to 2 less then the max value, this
  3363. compensates for the max value being one above the node count, and
  3364. for scrollbars adding one extra "notch".
  3365. - When drawing image nodes if there is an imagelist we draw the
  3366. first image in the list if the supplied image index is out of the
  3367. image list's bounds.
  3368. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3369. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3370. we receive a size change from the WM (Fixes #78503)
  3371. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3372. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3373. rectangle (Fixes #78501)
  3374. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3375. * ButtonBase.cs:
  3376. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3377. as a bitfield.
  3378. - Fixed MouseMove to no longer switch pressed state unless the left
  3379. mouse button is pressed. Atsushi provided the original patch (#78485)
  3380. 2006-05-24 Jackson Harper <[email protected]>
  3381. * ScrollBar.cs: New internal methods that allow us to change a
  3382. couple values on the scrollbar (the most common case is maximum
  3383. and large change) without getting multiple invalidates.
  3384. 2006-05-24 Chris Toshok <[email protected]>
  3385. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3386. (Edit): save off the original state in oldState, and set
  3387. grid.is_editing to true.
  3388. (OnKeyDown): abort editing if escape is pressed. also, call
  3389. NextState if space is pressed.
  3390. (OnMouseDown): call NextState.
  3391. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3392. here. Also, only invalidate the row header once (on the initial
  3393. is_changing switch) to save on redraws.
  3394. 2006-05-24 Chris Toshok <[email protected]>
  3395. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3396. if the value in the cell is different than it was before. This
  3397. keeps us from triggering a layout when we move around a datarid
  3398. with a highlighted cell.
  3399. (Edit): suspend layout when creating/positining the text box, and
  3400. resume passing false so we don't ever actually re-layout.
  3401. (ReleaseHostedControl): same.
  3402. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3403. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3404. control-key sequences should go to the datagrid - remove that
  3405. lock. Also, modify the conditions under which we move between
  3406. cells when moving the cursor within a cell, and remove the "this"
  3407. and "base" from field accesses. We weren't even consistent, given
  3408. they all were in the base class.
  3409. 2006-05-24 Atsushi Enomoto <[email protected]>
  3410. * Binding.cs : (.ctor)
  3411. An obvious NRE fix for BindingTest.CtorNullTest().
  3412. 2006-05-23 Chris Toshok <[email protected]>
  3413. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  3414. them between lines. This fixes some quirks editing cells in the
  3415. datagrid.
  3416. 2006-05-23 Jackson Harper <[email protected]>
  3417. * TreeView.cs: Use begin/end update when doing expand/collapse all
  3418. so that we don't get flicker on the scrollbar.
  3419. 2006-05-23 Jackson Harper <[email protected]>
  3420. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  3421. treenode calculations to be independant of the painting code. To
  3422. do this nodes track a visible order which is calculated by the
  3423. treeview.
  3424. - Call new methods for expanding/collapsing nodes. These methods
  3425. use scrollwindow so we don't have to update everything below the
  3426. node.
  3427. * TreeView.cs: Refactored drawing and scrolling code. We don't
  3428. need to update nodes when drawing anymore or calculate scrollbar
  3429. stuff.
  3430. - Added new methods for expanding/collapsing nodes. These methods
  3431. use ScrollWindow so as to not have to redraw all the nodes below.
  3432. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  3433. we add/remove nodes or sort.
  3434. - Handle removing the selected and the top node properly.
  3435. 2006-05-23 Chris Toshok <[email protected]>
  3436. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  3437. maybe this should actually happen in the datagrid code?
  3438. (EndEdit): no need to invalidate anything, given that
  3439. ReleaseHostedControl causes the datagrid to relayout, which
  3440. invalidates everything anyway.
  3441. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  3442. in SetCurrentCell).
  3443. (set_SelectionBackColor): call InvalidateSelection instead of
  3444. Refresh.
  3445. (set_SelectionForeColor): same.
  3446. (BeginEdit): Flesh this out a bit.
  3447. (CancelEditing): only do any of this if we're editing/adding.
  3448. (EndEdit): same.
  3449. (OnMouseDown): there's no need to cancel editing here, it's done
  3450. in SetCurrentCell.
  3451. (SetCurrentCell): only invalidate the current row header if it's a
  3452. different row than the new one.
  3453. (ShiftSelection): fix this to work like MS does.
  3454. (ResetSelection): factor out the invalidation of selected_rows to
  3455. InvalidateSelection.
  3456. (SetDataSource): cancel any editing that's going on.
  3457. * DataGridColumnStyle.cs
  3458. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  3459. call the non-interface version.
  3460. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  3461. header rectangle with the clip rectangle so we don't redraw the
  3462. entire header for just a small area. Gets rid of the last flicker
  3463. when horizontally scrolling.
  3464. (DataGridPaintRow): same.
  3465. 2006-05-23 Mike Kestner <[email protected]>
  3466. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  3467. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  3468. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  3469. Critical bug report.
  3470. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3471. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  3472. and this fixes #78493
  3473. 2006-05-23 Miguel de Icaza <[email protected]>
  3474. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  3475. size is not found.
  3476. * FileDialog.cs: Do not change the background for the side bar as
  3477. it wont work nicely with the theme, and also reduces the artifacts
  3478. in rendering the icons (which I want to fix too).
  3479. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  3480. resources, not resgen resources.
  3481. (PlatformDefaultHandler): Pull images using the new API.
  3482. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3483. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  3484. a reference to the hwnd and will not remove it unless there are
  3485. no pending exposures (fixes #78341)
  3486. * XplatUI.cs: Improved debug
  3487. 2006-05-23 Atsushi Enomoto <[email protected]>
  3488. * MenuAPI.cs : don't handle OnClick event when it was not the left
  3489. button. Fixed bug #78487.
  3490. 2006-05-23 Mike Kestner <[email protected]>
  3491. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  3492. prefer submenus to the top menu for item lookup, to avoid popping down
  3493. top-row items.
  3494. 2006-05-23 Alexander Olk <[email protected]>
  3495. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  3496. Graphics.FillRectangle as the visual results are really bad (even
  3497. on win). We now draw perfect arrows (and perfect shadows when the
  3498. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  3499. Pen.DashPattern to draw the dots of each line.
  3500. 2006-05-22 Alexander Olk <[email protected]>
  3501. * FileDialog.cs: Update the filename combobox when navigating through
  3502. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  3503. 2006-05-22 Mike Kestner <[email protected]>
  3504. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  3505. Fixes #78463.
  3506. 2006-05-22 Mike Kestner <[email protected]>
  3507. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  3508. requests. Fix a misspelled parameter and a copy paste exception error
  3509. in Select.
  3510. 2006-05-22 Peter Dennis Bartok <[email protected]>
  3511. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  3512. to get the same width/height (5/13) on X11 as the default font has on
  3513. win32. This means that our DefaultFont emSize is smaller than the
  3514. the MS SWF equivalent (even thought the width/height stays the same)
  3515. 2006-05-20 Jackson Harper <[email protected]>
  3516. * MdiClient.cs:
  3517. * MdiWindowManager.cs:
  3518. * InternalWindowManager.cs: Make sure to use the border width from
  3519. the theme.
  3520. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  3521. * PrintDialog.cs: Implements printer details
  3522. 2006-05-19 Alexander Olk <[email protected]>
  3523. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  3524. Fixes part 1 and 2 of bug #78446
  3525. 2006-05-19 Peter Dennis Bartok <[email protected]>
  3526. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  3527. instead of sticking to the first ever calculated value
  3528. 2006-05-19 Mike Kestner <[email protected]>
  3529. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  3530. PointToClient, since Capture is set. Fixes #78344.
  3531. 2006-05-19 Mike Kestner <[email protected]>
  3532. * ListView.cs: match MS behavior in Details view where items are not
  3533. drawn if Columns.Count == 0.
  3534. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  3535. Use a separate pen to draw the check, since changing the width affects
  3536. the box as well. Fixes #78454.
  3537. 2006-05-18 Miguel de Icaza <[email protected]>
  3538. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  3539. exception should throw the name of the invalid argument.
  3540. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  3541. there are no files listed.
  3542. 2006-05-18 Jackson Harper <[email protected]>
  3543. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  3544. up.
  3545. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3546. * Control.cs: Brought back our old UpdateZOrder method as a private
  3547. function and switched our calls from UpdateZOrder to the new one.
  3548. This fixes the Paint.Net canvas disappearing bug.
  3549. 2006-05-18 Jackson Harper <[email protected]>
  3550. * Theme.cs:
  3551. * ThemeWin32Classic.cs:
  3552. * InternalWindowManager.cs: Move the drawing into the theme,
  3553. expose everything the theme should need from the window manager.
  3554. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3555. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  3556. from the call to NativeWindow to avoid walking up the parent chain
  3557. further than needed (speeds up setting cursors and avoids setting
  3558. the wrong cursor if a parent has another cursor defined)
  3559. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  3560. the icon as hotspot, not what's contained as hotspot in the icon
  3561. file. This fixes the perceived drawing offset seen with Paint.Net
  3562. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3563. * XplatUIX11.cs:
  3564. - Store the calculated rectangle in Hwnd object and use it when
  3565. setting the client size
  3566. - Force Toolwindows to always be type Dock, to ensure they're on top
  3567. 2006-05-18 Mike Kestner <[email protected]>
  3568. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  3569. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  3570. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  3571. Substantial refactoring to remove confusing nested classes. Coding
  3572. standard and Get+Set->property refactorings. Shift to index based
  3573. highlighting in ComboListBox instead of constantly using IndexOf and
  3574. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  3575. in FileDialog growth. Draw borders manually since Simple mode needs
  3576. to look like two independent controls. Make listbox border
  3577. conditional to DropDownStyle. Improved OwnerDraw support.
  3578. 2006-05-18 Sebastien Pouliot <[email protected]>
  3579. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  3580. Don't set the disposed graphics to null, so we can throw the "right"
  3581. exception if the graphics is reused later (added a flag to avoid
  3582. double disposing). Some behaviours are different under 2.0 and are
  3583. filled under bug #78448.
  3584. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3585. * Control.cs: When double-buffering is enabled, we need to reset
  3586. our graphics context between paint calls. Otherwise, any
  3587. transformations and other alterations on the context will
  3588. become cumulative (#77734)
  3589. 2006-05-18 Mike Kestner <[email protected]>
  3590. * ListView.cs: do focused item selection like MS on clicks.
  3591. Rework focus handling for ItemControl so LostFocus invalidates as
  3592. well.
  3593. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  3594. the ListView ItemControl has focus.
  3595. 2006-05-17 Peter Dennis Bartok <[email protected]>
  3596. * XplatUIX11.cs: If client_window ends up being width or height zero
  3597. due to border settings, move it off window inside whole_window (#78433)
  3598. 2006-05-17 Alexander Olk <[email protected]>
  3599. * Mime.cs: Shrink the mime file cache correctly.
  3600. 2006-05-17 Alexander Olk <[email protected]>
  3601. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  3602. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3603. * XplatUIX11.cs (AddExpose): More sanity checks
  3604. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3605. * XplatUIX11.cs:
  3606. - AddExpose: Don't add expose ranges outside the size of our
  3607. window
  3608. - Cast opacity values to Int32 to avoid crashes with certain
  3609. values
  3610. - Added disabled code paths that protect against illegal cross-
  3611. thread painting (Developers.exe)
  3612. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3613. * ProgressBar.cs: Invalidate the control when it's resized
  3614. since block size is based on control size. (#78388)
  3615. 2006-05-16 Miguel de Icaza <[email protected]>
  3616. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  3617. of setting the incoming argument to the "reset" value, we set the
  3618. this.datamember to string.empty (before we were invalidating the
  3619. incoming data).
  3620. Fixes 78420
  3621. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3622. * Form.cs: Only apply transparency settings after the form
  3623. is created. (Fixes #77800)
  3624. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3625. * ApplicationContext.cs: Grab the HandleDestroyed event so
  3626. we know when to fire OnMainFormClosed
  3627. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3628. * Application.cs: Introduced sub-class to allow tracking of
  3629. threads and centralized triggering of the event mess for
  3630. ThreadExit, AppExit, etc.. (#76156)
  3631. 2006-05-16 Alexander Olk <[email protected]>
  3632. * MimeIcon.cs:
  3633. - Do not return a null icon index value for a mime subclass.
  3634. Instead try the main mime type class too.
  3635. - Seems that some newer distributions don't have a link to some
  3636. gnome default icons anymore. So check the default gnome dir too.
  3637. 2006-05-16 Jackson Harper <[email protected]>
  3638. * MdiClient.cs: Don't paint the parent background image if we have
  3639. our own background image.
  3640. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3641. * Control.cs:
  3642. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  3643. controls, all filled controls are supposed to overlap (#78080)
  3644. - UpdateZOrder is supposed to update the control's z-order in the
  3645. parent's z-order chain. Fixed to behave like that
  3646. - BringToFront: Removed obsolete code
  3647. - SendToBack: Simplyfied
  3648. - SetChildIndex: Trigger layout calculations when Z-order changes
  3649. since layout is done by z-order
  3650. 2006-05-16 Chris Toshok <[email protected]>
  3651. [ fixes bug #78410 ]
  3652. * DataGrid.cs (set_AlternatingBackColor): use
  3653. grid_drawing.InvalidateCells instead of Refresh().
  3654. (set_BackColor): call grid_drawing.InvalidateCells.
  3655. (set_BackgroundColor): use Invalidate instead of Refresh.
  3656. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  3657. invalidate the cell area.
  3658. 2006-05-15 Chris Toshok <[email protected]>
  3659. [ fixes bug #78011 ]
  3660. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  3661. on to DataGridPaintRow.
  3662. (DataGridPaintRow): take a clip argument, and only draw the cells
  3663. which intersect it. same with the not_usedarea.
  3664. * Theme.cs (DataGridPaintRow) add @clip parameter.
  3665. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  3666. XplatUI.ScrollWindow.
  3667. (ScrollToRow): same.
  3668. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  3669. with last column which was causing a gray swath to appear with the
  3670. XplatUI.ScrollWindow code.
  3671. 2006-05-15 Chris Toshok <[email protected]>
  3672. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  3673. use XplatUI.ScrollWindow.
  3674. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  3675. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3676. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  3677. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3678. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  3679. file since there are no equivalent X11 cursors
  3680. 2006-05-15 Atsushi Enomoto <[email protected]>
  3681. * MonthCalendar.cs : DateTimePicker should reflect selected date
  3682. on mouse*up*, not mouse*down*. Fixed originally reported part of
  3683. bug #76474.
  3684. 2006-05-15 Atsushi Enomoto <[email protected]>
  3685. * TabControl.cs : When argument index is equal or more than tab
  3686. count, just ignore. Fixed bug #78395.
  3687. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3688. * Control.cs: Dispose all child controls when control is diposed (#78394)
  3689. 2006-05-14 Alexander Olk <[email protected]>
  3690. * ColorDialog.cs: Finally it is possible to select the color with
  3691. the text boxes
  3692. 2006-05-14 Alexander Olk <[email protected]>
  3693. * PrintDialog.cs: Fix typo
  3694. 2006-05-14 Alexander Olk <[email protected]>
  3695. * PrintDialog.cs: PrintDialog is not resizable
  3696. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  3697. color. Made some ToolBar drawing methods protected virtual.
  3698. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  3699. * PrintDialog.cs: Implementation of the PrintDialog
  3700. 2006-05-12 Chris Toshok <[email protected]>
  3701. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  3702. thumb, instead use MoveThumb. This has the side effect of making
  3703. most of the other thumb moving machinery use MoveThumb as well.
  3704. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  3705. need to actually invalidate the rectangle where the new thumb will
  3706. go.
  3707. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  3708. We force an Update() after, so it's not as fast as it could be,
  3709. but at least there's zero flicker and no droppings.
  3710. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  3711. (UpdateThumbPos): add another argument (dirty), which says whether
  3712. or not to calculate/add dirty regions which we later invalidate.
  3713. For cases where we know we're going to use MoveThumb, we pass
  3714. false for this. Otherwise, pass true.
  3715. 2006-05-12 Jackson Harper <[email protected]>
  3716. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  3717. the status bar.
  3718. 2006-05-12 Peter Dennis Bartok <[email protected]>
  3719. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  3720. and GetClipRegion methods and UserClipWontExposeParent property.
  3721. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  3722. overriding UserClipWontExposeParent property, setting to false, since
  3723. Win32 handles the required expose messages to draw our clipped parent
  3724. areas internally
  3725. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  3726. PaintEventStart to set the user clip region if set.
  3727. * Control.cs:
  3728. - Now internally tracking the Region for the control since we need to
  3729. store it if the handle is not yet created and only set it when it
  3730. becomes created. Before setting the region forced handle creation
  3731. - Added code to draw the parents underneath a user-clipped region
  3732. * Hwnd.cs: Added UserClip property
  3733. 2006-05-12 Chris Toshok <[email protected]>
  3734. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  3735. (set_Maximum): same.
  3736. (set_Minimum): same.
  3737. (set_SmallChange): same.
  3738. (OnMouseUpSB): remove the call to refresh when releasing the
  3739. thumb. We shouldn't need it.
  3740. 2006-05-12 Miguel de Icaza <[email protected]>
  3741. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  3742. AutoSize set to None, we do not need to relayout everything, we
  3743. just need to invalidate the current region.
  3744. (Draw): Do not draw the entire ClientArea, just redraw the
  3745. clip area being passed.
  3746. * MdiClient.cs: Make MdiClient constructor with the Form argument
  3747. internal.
  3748. 2006-05-12 Jackson Harper <[email protected]>
  3749. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  3750. parents background image, but strangely not their own.
  3751. - (DrawStatusBarPanel): Take into account horizontal alignment
  3752. when drawing the strings and icons.
  3753. 2006-05-12 Mike Kestner <[email protected]>
  3754. * ListBox.cs: avoid invalidations for focus when the collection is
  3755. empty.
  3756. 2006-05-12 Chris Toshok <[email protected]>
  3757. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  3758. invalidate the entire thumb area. Call InvalidateDirty which
  3759. limits the redraw to the thumb itself and surrounding pixels.
  3760. * XplatUIX11.cs (ScrollWindow): optimize copying.
  3761. 2006-05-12 Chris Toshok <[email protected]>
  3762. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  3763. Figure out the positioning/layout in a single pass instead of
  3764. multiple recursive invocations. Speeds up the initial display of
  3765. the data grid. Also, make many things private that were
  3766. originally public but unused outside this class.
  3767. 2006-05-11 Jackson Harper <[email protected]>
  3768. * MdiClient.cs: Improved layout code.
  3769. 2006-05-11 Jonathan Chambers <[email protected]>
  3770. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  3771. not SelectedObject.
  3772. 2006-05-11 Chris Toshok <[email protected]>
  3773. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  3774. union of that will always be {0,0,width,height}.
  3775. 2006-05-11 Jackson Harper <[email protected]>
  3776. * Form.cs: Match MS's DefaultSize for forms (they must have
  3777. changed the size in sp2).
  3778. 2006-05-11 Atsushi Enomoto <[email protected]>
  3779. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  3780. 2006-05-11 Atsushi Enomoto <[email protected]>
  3781. * TextControl.cs : Fixed bug #78109. This incorrect position
  3782. comparison caused crash on automatic line split.
  3783. * TextBoxBase.cs : reduce duplicate code.
  3784. 2006-05-10 Jackson Harper <[email protected]>
  3785. * MdiClient.cs: Active form is only sent to the back when using
  3786. the Next form functionality, when a form is clicked the current
  3787. active shouldn't be sent to the back.
  3788. - Layout the mdi windows when the container is first made visible.
  3789. * Form.cs: Give the MdiClient a ref to the containing form when we
  3790. create it.
  3791. 2006-05-10 Atsushi Enomoto <[email protected]>
  3792. * LinkLabel.cs : link_font could be uninitialized, so populate one
  3793. before actual use. Fixed bug #78340.
  3794. 2006-05-10 Atsushi Enomoto <[email protected]>
  3795. * XplatUIX11.cs : clipboard format native value is IntPtr.
  3796. Fixed bug #78283.
  3797. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3798. * Control.cs:
  3799. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  3800. which is passed up the parent chain by DefWndProc
  3801. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  3802. to DefWndProc (#77956)
  3803. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  3804. 2006-05-10 Jackson Harper <[email protected]>
  3805. * MdiClient.cs: We need to remove the controls from the mdi
  3806. collection, when we close the window.
  3807. * MdiWindowManager.cs: Special handling of closing mdi windows.
  3808. * InternalWindowManager.cs: Make the close method virtual so the
  3809. mdi window manager can handle it specially.
  3810. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  3811. * DataGrid.cs:
  3812. - Recalculate grid when the data source has changed
  3813. - Matches styles provided by user from all data sources types
  3814. * DataGridTableStyle.cs: For columns that provided by the user set the
  3815. with the preferred value is there was unassigned.
  3816. * CurrencyManager.cs: throw OnItemChanged event
  3817. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3818. * PictureBox.cs: Don't animate until handle is created. Start animation
  3819. when handle is created.
  3820. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3821. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  3822. current codebase.
  3823. * XEventQueue.cs: We don't need to provide the extra info
  3824. 2006-05-10 Jackson Harper <[email protected]>
  3825. * MdiClient.cs: If the mdi clients parent form has a background
  3826. image set, we draw that background image for the mdi area's
  3827. background.
  3828. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3829. * TextBoxBase.cs: Set IBeam cursor (#78347)
  3830. 2006-05-10 Mike Kestner <[email protected]>
  3831. * ToolBar.cs: fix some text padding issues with ButtonSize
  3832. calculation. Update the default size to match MS documentation.
  3833. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  3834. button size. Fixes #78296.
  3835. 2006-05-10 Mike Kestner <[email protected]>
  3836. * ListBox.cs: use is_visible for scrollbar positioning in case the
  3837. control isn't on screen yet. Fix off by one with Right vs Width
  3838. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  3839. 2006-05-10 Jackson Harper <[email protected]>
  3840. * X11Dnd.cs: Drop to a control with another control on top of it.
  3841. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  3842. be modified in click handlers. TODO: Look for similar problems in
  3843. other controls.
  3844. 2006-05-09 Jackson Harper <[email protected]>
  3845. * Form.cs: Window managers need the old window state when setting
  3846. window state now.
  3847. * InternalWindowManager.cs: Allow the base mdi window manager to
  3848. handle more of the MDI only stuff (like maximize buttons).
  3849. * MdiWindowManager.cs: Fix some snafus in changing the window
  3850. state. Add all the menu functionality, for both popup and
  3851. maximized menus.
  3852. * MdiClient.cs: When a new form is selected the currently
  3853. activated form is sent to the back, this matches MS.
  3854. - Implement a new method to activate the next mdi child window.
  3855. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3856. * Control.cs:
  3857. - Added new InternalCapture method to allow controls to prevent
  3858. the capture behaviour on the click handlers
  3859. - Switched to use InternalCapture
  3860. * ComboBox.cs:
  3861. - Using InternalCapture to prevent mouse captures from being released
  3862. on mouse button release (Fixes #78100)
  3863. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  3864. returns Form borders if a caption is present. (Fixes #78310)
  3865. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3866. * TreeNode.cs: Changed serialization .ctor to not require every field
  3867. to be present. (#78265)
  3868. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  3869. 2006-05-05 Alexander Olk <[email protected]>
  3870. * MimeIcon.cs: for is faster than foreach for strings.
  3871. 2006-05-05 Mike Kestner <[email protected]>
  3872. * CheckedListBox.cs: update check handling code to not use selected.
  3873. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  3874. behavior for visual feedback, motion response, shift/ctrl handling,
  3875. and properly deal with all 4 selection modes. Updates to bounds
  3876. handling logic. Add scroll wheel support. [Fixes #77842]
  3877. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3878. * ListView.cs:
  3879. - Moved adding of Implicit controls into .ctor. That way, subsequent
  3880. creation of the controls will not cause them to think they are
  3881. toplevel windows (fixes #78200 header problem)
  3882. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  3883. - Switched visibility setting of header control to use internal field
  3884. to avoid triggering handle creation
  3885. - Now checking if handle is created before causing a refresh when items
  3886. are added (This makes us now match handle creation time with MS)
  3887. * Splitter.cs: Removed loading of private splitter cursor, switched to
  3888. Cursors version now that that is loading the right ones
  3889. * Cursors.cs: Load proper splitter cursors from resources
  3890. * Cursor.cs: Added second method of loading resource cursors for the
  3891. VS.Net users amongst us
  3892. 2006-05-05 Mike Kestner <[email protected]>
  3893. * ListView.cs: give header_control a minimum size based on the
  3894. ListView size.
  3895. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3896. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  3897. window seems to do that with metacity, so set that type. (#78120)
  3898. 2006-05-05 Mike Kestner <[email protected]>
  3899. * ListViewItem.cs: fix Details mode checkbox layout bug.
  3900. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  3901. at the end of the header, if it exists. [Fixes for #78200]
  3902. 2006-05-04 Jackson Harper <[email protected]>
  3903. * MdiClient.cs: Add a helper property to get the container form.
  3904. * MdiWindowManager.cs: We have to make sure to use the menu origin
  3905. when drawing the icons and buttons, this fixes maximized window
  3906. icons/buttons on win32.
  3907. * InternalWindowManager.cs: Reset the restore captions when a
  3908. window goes from Maximized to Minimized and vice versa. Move the
  3909. DrawMaximizedButtons into the MdiWindowManager source, tool
  3910. windows can't be maximized. NOTE: This could use a little
  3911. refactoring if time ever permits.
  3912. 2006-05-03 Jonathan Chambers <[email protected]>
  3913. * TextBox.cs: Add MWFCategoryAttributes
  3914. * TextBoxBase.cs: Add MWFCategoryAttributes
  3915. * Form.cs: Add MWFCategoryAttributes
  3916. 2006-05-03 Jonathan Chambers <[email protected]>
  3917. * Control.cs: Add MWFCategoryAttributes
  3918. * ScrollableControl.cs: Add MWFCategoryAttributes
  3919. 2006-05-03 Alexander Olk <[email protected]>
  3920. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  3921. Divider is true. Fix a little glitch in PropertyToolBar
  3922. drawing code
  3923. 2006-05-02 Peter Dennis Bartok <[email protected]>
  3924. * Control.cs:
  3925. - Dispose: Call base.Dispose, this causes the disposed event
  3926. to be fired (and probably other, more important stuff)
  3927. - SetVisibleCore: Set is_visible to true after creating the
  3928. window so that the window still gets created invisible (if
  3929. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  3930. to generate a WM_ACTIVE message
  3931. * Form.cs: Call Dispose when we want to destroy the window, instead of
  3932. just destroying the handle (Dispose will do that for us)
  3933. * XplatUIX11.cs:
  3934. - RootWindow also needs a queue, so we can properly process the
  3935. property change events from RootWindow (like Activate)
  3936. - Generatic synthetic WM_ACTIVE message when the active window is
  3937. being destroyed
  3938. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3939. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  3940. bounds are changed
  3941. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3942. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  3943. for determining width and height (image might not be assigned if
  3944. we're drawing an imagelist)
  3945. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3946. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  3947. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  3948. height from system
  3949. * Theme.cs: No longer returns hardcoded menu height, instead calls
  3950. new driver method
  3951. * Form.cs (OnLoad): Scaling happens before triggering Load events
  3952. on MS (# 78257)
  3953. 2006-05-01 Mike Kestner <[email protected]>
  3954. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  3955. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3956. * TextBoxBase.cs: Removed Fixme
  3957. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  3958. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3959. * XplatUIX11.cs:
  3960. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  3961. the rectangle relative to the parent, considering borders. We
  3962. don't really want that.
  3963. - ScrollWindow: Fixed warning to be more understandable
  3964. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  3965. scrollbars and scroll only the visible area
  3966. * RichTextBox.cs: Removed debug output
  3967. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3968. * NumericUpDown.cs (Text): Just use base
  3969. * UpDownBase.cs: Ensure txtView is created before using it
  3970. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3971. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  3972. casting to IntPtr to avoid 64bit overflow errors
  3973. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3974. * Control.cs:
  3975. - AllowDrop: Don't force handle creation.
  3976. - CreateHandle: Added call to tell driver if we're allowed to drop
  3977. 2006-04-27 Alexander Olk <[email protected]>
  3978. * FileDialog.cs: Remember the last directory not only for the
  3979. current instance but also for new FileDialog instances.
  3980. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3981. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  3982. broke sending async messages
  3983. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3984. * XplatUIX11.cs:
  3985. - ScrollWindow: Fixed method. We finally generate expose events again
  3986. for scrolled areas. This was causing 'garbage' when scrolling
  3987. textbox and other controls that used ScrollWindow
  3988. - Switched from using the regular queue for paint events to the MS
  3989. model of 'generating' paint events when the queue is empty.
  3990. We use the new XQueueEvent.Paint subclass to store which windows
  3991. need painting.
  3992. - AddExpose now takes the x/y/width/height of the exposed area
  3993. and inserts the window into the paint queue if not already there
  3994. - InvalidateWholeWindow: Switched to use new AddExpose method
  3995. - UpdateMessageQueue: Added which queue to monitor for paint events
  3996. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  3997. the unlikely case nothing above handles it. We reset the expose
  3998. pending states to get them off the queue.
  3999. - GetMessage: Now pulls a paint event if no other events are in the
  4000. queue
  4001. - Invalidate: Switched to new AddExpose method
  4002. - PeekMessage: Updated to understand pending paint events
  4003. - UpdateWindow: Fixed logic bug. We were only updating if the window
  4004. didn't need updating. Also switched to sending WM_PAINT directly,
  4005. like MS does.
  4006. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  4007. and random access Remove(). The random access is needed to handle
  4008. UpdateWindow() where a WM_PAINT is sent directly without accessing
  4009. the queue.
  4010. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  4011. allow for better feedback when scrolling. Scrollbars are small and
  4012. the immediate update should make it 'feel' more responsive without
  4013. slowing things down. ScrollBar still needs it's invaliate logic
  4014. updated to not always invalidate the whole bar on certain changes.
  4015. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  4016. * Control.cs:
  4017. (BackColor): if the control does not support a transparent background,
  4018. return the default backcolor when the parent backcolor is transparent.
  4019. 2006-04-28 Peter Dennis Bartok <[email protected]>
  4020. * Application.cs: Updated to new StartLoop/GetMessage API
  4021. * RichTextBox.cs: Provide some output on RTF parsing errors
  4022. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  4023. new queue_id argument to GetMessage and PeekMessage to allow faster
  4024. handling of per-thread queues in drivers.
  4025. * Hwnd.cs: Added Queue tracking and property
  4026. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  4027. * XEventQueue.cs: Added thread trackingA
  4028. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  4029. * XplatUIX11.cs:
  4030. - Implemented new per-thread queue
  4031. - GetMessage: Fixed return/break behaviour on several cases. We were
  4032. returning stale messages in some cases, instead of just processing
  4033. the next message
  4034. 2006-04-27 Jonathan Chambers <[email protected]>
  4035. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  4036. 2006-04-27 Peter Dennis Bartok <[email protected]>
  4037. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  4038. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  4039. 2006-04-27 Jonathan Chambers <[email protected]>
  4040. * PropertyGridView.cs: Fix drop down width.
  4041. 2006-04-27 Alexander Olk <[email protected]>
  4042. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  4043. a mess in DrawToolBar, so I removed one of them.
  4044. 2006-04-27 Alexander Olk <[email protected]>
  4045. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  4046. needed (clip). Otherwise we get artifacts.
  4047. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4048. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  4049. dimension is fixed
  4050. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  4051. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  4052. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  4053. if it matches the scale base font (avoids unneeded scaling)
  4054. 2006-04-26 Alexander Olk <[email protected]>
  4055. * X11DesktopColors.cs: One gtk_init_check should be enough
  4056. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4057. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  4058. match MS behaviour
  4059. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4060. * TextBoxBase.cs:
  4061. - Generate OnTextChanged for Backspace even if we're only deleting
  4062. the current selection
  4063. - When setting the Text property, only select all text if the
  4064. control does not have focus when it is being set. Otherwise
  4065. just place the cursor at the beginning of the control
  4066. 2006-04-26 Alexander Olk <[email protected]>
  4067. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  4068. Added a little helper to draw PropertyGrid ToolBar with a different
  4069. border and a different BackColor.
  4070. * PropertyGrid.cs: Some background parts didn't get painted with the
  4071. correct background color. Added a class that helps us to draw the
  4072. correct border for PropertyGridView and a class that helps us to
  4073. draw ToolBars with a different backcolor
  4074. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  4075. 2006-04-25 Jonathan Chambers <[email protected]>
  4076. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  4077. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  4078. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4079. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  4080. into the palette entries. Also, since we're working on a copy
  4081. we needed to copy the palette back onto the bitmap.
  4082. * Cursor.cs: Same fix as XplatUIWin32.cs.
  4083. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4084. * ImageListStreamer.cs: Need to read the var (or we're off)
  4085. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4086. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  4087. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  4088. TextBoxBase.cs: Unused var fixes
  4089. * AxHost.cs: Small 2.0 fix
  4090. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4091. as it seems that is what at least Metacity expects. This will make
  4092. icons show up on 64bit platforms. We still have some 64bit size
  4093. issues, though, since the startup app window size still won't match.
  4094. 2006-04-25 Mike Kestner <[email protected]>
  4095. * *.cs: cleanup newly reported exception var unused warnings.
  4096. 2006-04-25 Alexander Olk <[email protected]>
  4097. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4098. ms
  4099. 2006-04-25 Alexander Olk <[email protected]>
  4100. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4101. image. The image position is always the same, no matter if the
  4102. button is pressed or not.
  4103. 2006-04-25 Alexander Olk <[email protected]>
  4104. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4105. selection and set the correct filename for SaveFileDialog.
  4106. Patch by Emery Conrad.
  4107. 2006-04-24 Mike Kestner <[email protected]>
  4108. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4109. check for item.X outside the ClientRect instead of item.Y. Fixes
  4110. #78151.
  4111. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4112. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4113. trust that value blindly and do some sanity check. Fixes bug #77814.
  4114. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4115. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4116. 2006-04-21 Mike Kestner <[email protected]>
  4117. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4118. pass Checked and Indeterminate to the Theme Engine. Improve
  4119. encapsulation with ListBox.
  4120. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4121. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4122. nested types. Move all CheckState functionality to CheckedListBox.
  4123. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4124. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4125. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4126. single base list. Fix scrollbar sizing and placement to mirror MS.
  4127. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4128. used.
  4129. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4130. for CheckedListBox by using new DrawItemState info. Center the
  4131. checkboxes on the items. Use new StringFormat property.
  4132. 2006-04-18 Jackson Harper <[email protected]>
  4133. * Form.cs: MdiChildren don't do default locations the same way as
  4134. regular forms. This prevents a crash when trying to position the
  4135. mdi windows.
  4136. 2006-04-17 Jonathan Chambers <[email protected]>
  4137. * PropertyGridTextBox.cs: Formatting, copyright
  4138. * PropertiesTab.cs: Formatting
  4139. * PropertyGrid.cs: Formatting
  4140. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4141. click toggling of values
  4142. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4143. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4144. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4145. every time a control is created
  4146. * Application.cs: Removed obsolete EnableRTLMirroring method
  4147. 2006-04-18 Gert Driesen <[email protected]>
  4148. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4149. SelectedIndex to -1. Fixes bug #78121.
  4150. 2006-04-17 Jackson Harper <[email protected]>
  4151. * Binding.cs: Handle null values for Current and BindingContext.
  4152. This occurs when binding is a little delayed.
  4153. * CurrencyManager.cs: return null for Current when there are no
  4154. items in the list.
  4155. - Hookup to the listchanged event on the DataView and update
  4156. bindings when the list is changed. This fixes late binding of
  4157. controls.
  4158. 2006-04-17 Jackson Harper <[email protected]>
  4159. * X11Dnd.cs:
  4160. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4161. Ringenbach.
  4162. 2006-04-15 Alexander Olk <[email protected]>
  4163. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4164. place
  4165. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4166. with the correct ButtonState
  4167. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4168. * XplatUIX11.cs: Improved distinguishing between window types to
  4169. tell the WM a type closer to what the app wants (Fixes #78107)
  4170. 2006-04-14 Alexander Olk <[email protected]>
  4171. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4172. GrabHandle
  4173. 2006-04-14 Alexander Olk <[email protected]>
  4174. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4175. drawing code to reflect the size grip changes
  4176. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4177. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4178. bitmap when deserializing and serialize it properly. The generated mask
  4179. should better be a 1bpp image, but I'll do that later.
  4180. 2006-04-13 Alexander Olk <[email protected]>
  4181. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4182. path doesn't fit into some of our Current.Places
  4183. 2006-04-13 Jackson Harper <[email protected]>
  4184. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4185. try to obey correct rules for heights.
  4186. * Theme.cs:
  4187. * ThemeNice.cs:
  4188. * ThemeClearLooks.cs:
  4189. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4190. this is now handled by borders.
  4191. - Remove unused DrawListBoxDecorationSize method.
  4192. 2006-04-13 Mike Kestner <[email protected]>
  4193. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4194. reported by Alex.
  4195. 2006-04-13 Alexander Olk <[email protected]>
  4196. * ThemeWin32Classic.cs:
  4197. - Fixed CPDrawStringDisabled
  4198. - Corrected drawing of disabled menu items
  4199. - Fixed drawing of disabled radio buttons (bug #78095)
  4200. - Draw check in a disabled CheckBox with color ControlDark
  4201. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4202. * Form.cs: Use the provided width when calculating the menu size;
  4203. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4204. and ClientSize.Width won't be updated yet
  4205. * Application.cs: Use Visible instead of Show() to make form visible,
  4206. this way we create the handle later and menusize is considered
  4207. 2006-04-12 Mike Kestner <[email protected]>
  4208. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4209. reporting.
  4210. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4211. * TextBox.cs: Implemented context menu
  4212. 2006-04-12 Mike Kestner <[email protected]>
  4213. * ListView.cs: implement box selection. fixes #77838.
  4214. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4215. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4216. * XplatUIX11.cs: Added setting of window type when transient window
  4217. is created (metacity would move it otherwise)
  4218. * X11Structs.cs: Added WINDOW_TYPE atoms
  4219. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4220. background (the control is Opaque but still wants transparent
  4221. backgrounds)
  4222. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4223. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4224. that set Opaque but don't mean it (like all ButtonBase-derived
  4225. controls) to still draw their background
  4226. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4227. the background
  4228. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4229. * Control.cs (PaintControlBackground): Set the graphics object
  4230. on our PaintEvent to null to prevent it from being disposed
  4231. when the PaintEvent gets disposed
  4232. 2006-04-12 Alexander Olk <[email protected]>
  4233. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4234. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4235. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4236. * Control.cs:
  4237. - Added transparency check to BackColor property. Transparent
  4238. backgrounds are only allowed if the control styles permit it
  4239. - Added recursive painting of parent control background and
  4240. foreground if a control with a transparent backcolor is drawn
  4241. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4242. for this patch) Fixes #77985 and #78026.
  4243. - Added Opaque style check before calling OnPaintBackground, no
  4244. need to draw the background if the control is opaque
  4245. - Removed ControlAccessibleObject owner variable (inherited from
  4246. base, no need to define again)
  4247. - Added some documentation links explaining the drawing events
  4248. and styles
  4249. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4250. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4251. that the affected control is the located at the left border of our
  4252. parent (Fixes #77936)
  4253. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4254. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4255. draw the background with 'Control' instead of 'Window' color as
  4256. long as the user hasn't specifically set a color
  4257. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4258. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4259. since that won't be updated if the user types text (only if it's
  4260. programatically set)
  4261. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4262. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4263. layout changes do to app-triggered resizes will have the proper
  4264. display rectangle for layout
  4265. 2006-04-11 Alexander Olk <[email protected]>
  4266. * ThemeWin32Classic.cs:
  4267. - Make use of the SystemBrushes and SystemPens wherever possible
  4268. - Corrected some highlight colors
  4269. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4270. drawing
  4271. * Theme.cs: Added Empty field to CPColor struct
  4272. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4273. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4274. is displayed when calculating the display rectangle. Thanks to Mike
  4275. for teaching me the err of my ways.
  4276. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4277. * ScrollableControl.cs:
  4278. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4279. (instead of 0,0) and we now return the real width/height instead of
  4280. just the clientrectangle, adjusted for padding. The rectangle is
  4281. now cached and created by the new CalculateDisplayRectangle method.
  4282. - Created new CalculateDisplayRectange method, which basically does
  4283. what get_DisplayRectangle() did originally, but now using the
  4284. right edge instead of DisplayRectangle to determine the size of
  4285. our scrollbars
  4286. - get_Canvas(): Fixed it to properly calculate canvas for
  4287. right/bottom controls which seem to be placed to the right/bottom
  4288. of any controls that have a fixed location
  4289. - Removed TODO that's taken care of
  4290. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4291. and SetDisplayRectLocation according to new MSDN2 docs
  4292. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4293. event when that is called, this is added for compatibility
  4294. - ScrollControlIntoView(): Implemented.
  4295. - Switched scrollbars to be implicit, they shouldn't be selectable
  4296. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4297. call it when the active control is set/changed
  4298. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4299. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4300. implicit_control variable (used for native Win32 message generation)
  4301. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4302. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4303. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4304. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4305. 2006-04-10 Jackson Harper <[email protected]>
  4306. * ButtonBase.cs:
  4307. * CheckedListBox.cs:
  4308. * ComboBox.cs:
  4309. * DataGrid.cs:
  4310. * DataGridView.cs:
  4311. * Form.cs:
  4312. * GroupBox.cs:
  4313. * ListBox.cs:
  4314. * PrintPreviewControl.cs:
  4315. * ProgressBar.cs:
  4316. * PropertyGrid.cs:
  4317. * Splitter.cs:
  4318. * StatusBar.cs:
  4319. * TrackBar.cs:
  4320. * UpDownBase.cs: Fixup base event overrides.
  4321. 2006-04-06 Mike Kestner <[email protected]>
  4322. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4323. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4324. (set_Value): check for vert/horiz when calculating new thumb position.
  4325. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4326. like MS does.
  4327. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4328. invalidation logic to reduce flicker.
  4329. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4330. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4331. (UpdateThumbPosition): small code readability cleanup
  4332. 2006-04-10 Alexander Olk <[email protected]>
  4333. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4334. different
  4335. 2006-04-08 Alexander Olk <[email protected]>
  4336. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4337. 2006-04-08 Alexander Olk <[email protected]>
  4338. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4339. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4340. This dramatically reduces the number of Pen.Dispose calls.
  4341. Where possible call ResPool methods only once instead of calling it
  4342. over and over again (for example for the same color).
  4343. 2006-04-06 Mike Kestner <[email protected]>
  4344. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4345. Also remove an unused private field on the collection. Fixes #77972.
  4346. 2006-04-06 Alexander Olk <[email protected]>
  4347. * ThemeNice.cs: Added ToolBar drawing code
  4348. 2006-04-06 Mike Kestner <[email protected]>
  4349. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4350. I'm assuming that means we need to look up the toplevel for the
  4351. provided control. Fixes the crash trace in #77911 but exposes another
  4352. crash in some strange reflection usage in NDocGui.
  4353. 2006-04-06 Alexander Olk <[email protected]>
  4354. * ThemeNice.cs: Gave it a little silver touch and added Images
  4355. method
  4356. * FontDialog.cs: FontDialog is not resizable
  4357. * FileDialg.cs: Added SizeGripStyle.Show
  4358. 2006-04-05 Jackson Harper <[email protected]>
  4359. * KeyboardLayouts.cs: Remove warning.
  4360. 2006-04-05 Jackson Harper <[email protected]>
  4361. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4362. all of our controls instead of Paint +=.
  4363. * ListBox.cs:
  4364. * ListView.cs:
  4365. * MenuAPI.cs:
  4366. * MessageBox.cs:
  4367. * NotifyIcon.cs:
  4368. * ProgressBar.cs:
  4369. * ScrollBar.cs:
  4370. * Splitter.cs:
  4371. * StatusBar.cs:
  4372. * TabControl.cs:
  4373. * TextBoxBase.cs:
  4374. * ToolBar.cs:
  4375. * TrackBar.cs:
  4376. * UpDownBase.cs:
  4377. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4378. use OnPaintInternal. Remove Width/Height and Visible checks in
  4379. paint handler, this is done at a higher level now.
  4380. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4381. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4382. want anymore painting after OnPaintInternal can make sure OnPaint
  4383. isn't called.
  4384. 2006-04-05 Mike Kestner <[email protected]>
  4385. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4386. state of the form, so that we don't process events when Modal dialogs
  4387. are up. Fixes #77922.
  4388. 2006-04-05 Alexander Olk <[email protected]>
  4389. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4390. checking is done.
  4391. 2006-04-05 Mike Kestner <[email protected]>
  4392. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4393. 2006-04-05 Mike Kestner <[email protected]>
  4394. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4395. when setting up the drag_to_index. Fixes #78015.
  4396. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4397. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4398. in the taskbar. Transient windows seem to accomplish that.
  4399. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4400. * Form.cs:
  4401. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4402. - Added code for manual placement when creating the Control
  4403. - Incomplete patch to treat MDI forms differently when
  4404. setting the ClientSizeCore. (Still need to figure out handling
  4405. x/y coords there)
  4406. * XplatUIX11.cs:
  4407. - When we're explicitly setting the X/Y position of a non-Child
  4408. window, let the WM know. Metacity really wants this.
  4409. 2006-04-04 Alexander Olk <[email protected]>
  4410. * ThemeNice.cs: Added CPDrawButton
  4411. 2006-04-04 Alexander Olk <[email protected]>
  4412. * ThemeNice.cs: Changed the color for focused buttons and activated
  4413. the arrows for small scroll buttons.
  4414. 2006-04-04 Alexander Olk <[email protected]>
  4415. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  4416. anymore. Changed some method modifiers to protected (virtual)
  4417. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  4418. changes
  4419. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  4420. Updated drawing of menus, buttons and progressbars; added
  4421. CPDrawBorder3D
  4422. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  4423. * ImageListStreamer.cs: implemented serialization/deserialization
  4424. of the images.
  4425. 2006-04-03 Alexander Olk <[email protected]>
  4426. * ThemeWin32Classic.cs:
  4427. - Removed all the DrawFrameControl stuff; CPDrawButton,
  4428. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  4429. inside the methods
  4430. - Updated and corrected the drawing code of CPDrawButton,
  4431. CPDrawCheckBox and CPDrawRadioButton to better match ms
  4432. - Updated theme checkbox and radiobutton code to use the CP*
  4433. methods
  4434. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4435. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  4436. bug is fixed
  4437. 2006-03-31 Jackson Harper <[email protected]>
  4438. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  4439. sometimes.
  4440. * UpDownBase.cs: Don't CreateGraphics manually, use a
  4441. Refresh. Ideally we would invalidate the correct areas here.
  4442. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4443. * XplatUIX11.cs:
  4444. - We now track the mapping state of windows. If a window (or
  4445. one of it's parents) is not mapped we no longer permit
  4446. WM_PAINT messages to be generated since we'd otherwise get
  4447. lots of BadMatch X errors. Jackson did all the work figuring
  4448. out the problem.
  4449. - Destroying the caret if the window it's contained in is
  4450. destroyed. Can't use regular DestroyCaret method since it
  4451. might fall into a drawing function (trying to remove the
  4452. caret) and with that generate new BadMatch errors. Again,
  4453. Jackson tracked this down.
  4454. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  4455. make sure we send the messages to all windows. (The old code
  4456. would send the WM_DESTROY to the window, and then all child
  4457. windows would be 'gone' because the WM_DESTROY handle lookup
  4458. would no longer find the destroyed window)
  4459. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  4460. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  4461. 2006-03-31 Jackson Harper <[email protected]>
  4462. * ScrollableControl.cs: Dont recalc if we are not visible.
  4463. 2006-03-31 Mike Kestner <[email protected]>
  4464. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  4465. the visibility branch.
  4466. 2006-03-31 Jackson Harper <[email protected]>
  4467. * ScrollBar.cs: Cap values when incrementing/decrementing.
  4468. 2006-03-31 Mike Kestner <[email protected]>
  4469. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  4470. * ToolTip.cs: guard against timer expirations with no active control.
  4471. Not sure why it happened.
  4472. 2006-03-31 Mike Kestner <[email protected]>
  4473. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  4474. text.
  4475. * ToolTip.cs: Position the tooltip based on where the cursor is at
  4476. popup time, not at MouseEnter time. Add a Down state so that we don't
  4477. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  4478. positioning offset. Lookup DisplaySize at positioning time, since it
  4479. can theoretically change during invocation.
  4480. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  4481. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  4482. 2006-03-31 Alexander Olk <[email protected]>
  4483. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  4484. Fixes behaviour when the Text property of the box is String.Empty
  4485. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4486. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  4487. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  4488. a window)
  4489. 2006-03-31 Alexander Olk <[email protected]>
  4490. * FileDialog.cs: Visual enhancement for the popup buttons in
  4491. PopupButtonPanel
  4492. 2006-03-31 Alexander Olk <[email protected]>
  4493. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  4494. code
  4495. 2006-03-30 Alexander Olk <[email protected]>
  4496. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  4497. highlighted menu items to match ms
  4498. 2006-03-30 Peter Dennis Bartok <[email protected]>
  4499. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  4500. 2006-03-30 Mike Kestner <[email protected]>
  4501. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  4502. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  4503. go active to account for HotLight to Selected transition.
  4504. * MenuItem.cs: add internal Selected prop. Fill out the Status
  4505. property by calculating it from item info. Add HotLight,
  4506. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  4507. 2006-03-30 Mike Kestner <[email protected]>
  4508. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  4509. 2006-03-29 Jackson Harper <[email protected]>
  4510. * Form.cs: Implement TODO.
  4511. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4512. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  4513. missing proper dialog setup in the constructor
  4514. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4515. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  4516. * Control.cs:
  4517. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  4518. - Fixed ResetBindings and removed TODO
  4519. - Added check for cross-thread calls to get_Handle()
  4520. - Added Marshaller attribute for set_Font to satisfy class status
  4521. * FontDialog.cs: Removed TODOs that seemed implemented
  4522. * UpDownBase.cs: Removed unneeded TODO and Fixme
  4523. * MessageBox.cs: Implemented support for Default button and removed TODO
  4524. * FileDialog.cs: Removed obsolete TODO
  4525. * DomainUpDown.cs: Removed obsolete TODO
  4526. * ButtonBase.cs: Removed obsolete TODO
  4527. * XplatUIWin32.cs: Removed obsolete TODO
  4528. * Form.cs:
  4529. - Removed obsolete TODO
  4530. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  4531. internal status updates
  4532. - Making sure the active control is selected when the control is created
  4533. * CurrencyManager.cs: Removed obsolete TODO
  4534. 2006-03-29 Mike Kestner <[email protected]>
  4535. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  4536. of PrintPreviewDialog and RichTextBox.
  4537. 2006-03-29 Alexander Olk <[email protected]>
  4538. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  4539. DarkDark, Light and LightLight colors for a specific color
  4540. * ThemeWin32Classic.cs:
  4541. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  4542. Appearance = Button
  4543. - Make use of the new ResPool helper CPColor
  4544. - Draw ProgressBar and StatusBar with correct 3D borders
  4545. 2006-03-29 Alexander Olk <[email protected]>
  4546. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  4547. 2006-03-28 Mike Kestner <[email protected]>
  4548. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  4549. calculating col/row counts.
  4550. 2006-03-28 Mike Kestner <[email protected]>
  4551. * ColumnHeader.cs:
  4552. * ListView.cs:
  4553. * ListViewItem.cs:
  4554. * Menu.cs:
  4555. switch to explicit interface method implementation for some methods
  4556. corcompare identifies as inconsistent with MS.
  4557. 2006-03-28 Mike Kestner <[email protected]>
  4558. * MainMenu.cs:
  4559. * Menu.cs:
  4560. add a few missing methods from the class status output.
  4561. 2006-03-28 Alexander Olk <[email protected]>
  4562. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  4563. correct.
  4564. 2006-03-28 Mike Kestner <[email protected]>
  4565. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  4566. 2006-03-27 Mike Kestner <[email protected]>
  4567. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  4568. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  4569. 2006-03-27 Alexander Olk <[email protected]>
  4570. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  4571. 2006-03-25 Alexander Olk <[email protected]>
  4572. * ThemeWin32Classic.cs:
  4573. - GroupBox: Inserted a little gap between the text and the lines
  4574. on the right side
  4575. - Made the code in CPDrawBorder3D more readable
  4576. - Corrected the drawing location of the up and down arrows in
  4577. CPDrawScrollButton
  4578. 2006-03-25 Alexander Olk <[email protected]>
  4579. * ControlPaint.cs: Corrected line widths in DrawBorder for
  4580. ButtonBorderStyle Inset and Outset
  4581. 2006-03-25 Alexander Olk <[email protected]>
  4582. * ThemeWin32Classic.cs:
  4583. - Rewrote the totally broken CPDrawBorder3D method. That was
  4584. one of the main problems for the terrific ThemeWin32Classic
  4585. look
  4586. - Updated and corrected Button drawing
  4587. - Correct the dimensions of the SizeGrip to match ms ones
  4588. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  4589. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  4590. Border3DStyle.Sunken to match ms.
  4591. 2006-03-25 Alexander Olk <[email protected]>
  4592. * ThemeWin32Classic.cs: First small part of the "de-uglify
  4593. ThemeWin32Classic" effort, SizeGrip
  4594. 2006-03-24 Jackson Harper <[email protected]>
  4595. * XplatUIX11.cs: Give a max idle time of one second, this matches
  4596. MS and forces an Idle event every second when there are no other
  4597. events in the queue.
  4598. 2006-03-24 Mike Kestner <[email protected]>
  4599. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  4600. * ListView.Item.cs: fix layout issues with null image lists and images
  4601. smaller than checkbox size.
  4602. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  4603. mode like MS does. It's weird, but consistent. ;-)
  4604. Fixes #77890.
  4605. 2006-03-24 Mike Kestner <[email protected]>
  4606. * ListView.cs: Scroll wheel support for the item control. Fixes
  4607. #77839.
  4608. 2006-03-23 Jackson Harper <[email protected]>
  4609. * ScrollableControl.cs: Special case negative sized areas, not
  4610. zero.
  4611. * MonthCalendar.cs: Save the rect of the clicked date so we can
  4612. use it for invalidation.
  4613. - Try to cut down on the number of invalidates
  4614. - Invalidate the rect the mouse is over and was over when moving
  4615. the mouse, so we get the focus box following the cursor.
  4616. 2006-03-23 Mike Kestner <[email protected]>
  4617. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  4618. focus rectangle drawing. Fixes #77835.
  4619. 2006-03-23 Mike Kestner <[email protected]>
  4620. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  4621. the if and else if and reverting back to the original == check on the
  4622. None conditional.
  4623. 2006-03-23 Alexander Olk <[email protected]>
  4624. * FontDialog.cs: Update the example panel if the selected index of
  4625. the fontListBox changes.
  4626. 2006-03-23 Alexander Olk <[email protected]>
  4627. * FileDialog.cs: Make FileDialog remember which directory it was in
  4628. last in the same execution.
  4629. 2006-03-22 Mike Kestner <[email protected]>
  4630. * FileDialog.cs: make the DropDownMenu on the toolbar display
  4631. RadioChecks since they are mutually exclusive and that's what MS does.
  4632. 2006-03-22 Mike Kestner <[email protected]>
  4633. * Theme.cs: add Color param to CPDrawMenuGlyph.
  4634. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  4635. checks and radio marks and arrows are visible on highlighted items.
  4636. * ControlPaint.cs: update to use new Theme signature.
  4637. 2006-03-22 Mike Kestner <[email protected]>
  4638. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  4639. is active. Fixes #77870.
  4640. 2006-03-22 Alexander Olk <[email protected]>
  4641. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  4642. to be focused/selected after startup
  4643. 2006-03-22 Alexander Olk <[email protected]>
  4644. * ColorDialog.cs:
  4645. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  4646. CustomColors and ShowHelp properties
  4647. - Some internal rewrites to get better results when using the
  4648. ColorMatrix
  4649. 2006-03-22 Mike Kestner <[email protected]>
  4650. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  4651. HoverSelection. Fixes #77836.
  4652. 2006-03-22 Mike Kestner <[email protected]>
  4653. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  4654. ToggleButtons. (De)Sensitize the Back button around a stack count of
  4655. 1, not 0. Update ButtonSize based on a pixel count of the win32
  4656. control. Adjust the toolbar size/location for new button size.
  4657. 2006-03-22 Jackson Harper <[email protected]>
  4658. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  4659. true.
  4660. * ScrollBar.cs: When doing increments and decrements we need to
  4661. set the Value property so that ValueChanged gets raised. A
  4662. possible optimization here would be to make an internal SetValue
  4663. that doesn't invalidate immediately.
  4664. * ToolTip.cs: Tooltips get added to their container (when
  4665. supplied) so they get disposed when the container is disposed.
  4666. - Don't create tooltips for String.Empty. This prevents all these
  4667. little 2-3 pixel windows from showing up when running nunit-gui
  4668. and driving me mad.
  4669. * Form.cs: Don't set topmost when setting the owner if the handles
  4670. haven't been created yet. The topmost set will happen when the
  4671. handles are created.
  4672. 2006-03-22 Peter Dennis Bartok <[email protected]>
  4673. * XplatUIX11.cs:
  4674. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  4675. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  4676. visible (to allow them to recalculate their sizes)
  4677. 2006-03-21 Mike Kestner <[email protected]>
  4678. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  4679. methods. Removed a ton of redundant code. Still not really happy with
  4680. the border rendering, but I think that's mainly because of the
  4681. ControlDarkDark being black instead of a dark grey. Depending on how
  4682. close we want to be, we might want to revisit those color choices.
  4683. Among the new features added during the refactor were DropDownArrow
  4684. pressed rendering, Disabled image rendering. Proper flat appearance
  4685. boundary rendering. Removed the Divider and Wrapping dividers since I
  4686. can't figure out any combination of themes and conditions to make the
  4687. MS control draw a horizontal line on a toolbar despite what the
  4688. Divider property docs indicate.
  4689. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  4690. conditions and incorrect layout. Updated to coding standard.
  4691. * ToolBarButton.cs: refactored layout and positioning code from
  4692. ToolBar to here. Invalidate wherever possible instead of forcing
  4693. redraws of the whole toolbar.
  4694. (Known remaining issues: explicit ButtonSize smaller than provided
  4695. images.)
  4696. 2006-03-21 Mike Kestner <[email protected]>
  4697. * ContextMenu.cs (Show): use the position parameter instead of just
  4698. showing at the MousePosition.
  4699. 2006-03-21 Jackson Harper <[email protected]>
  4700. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  4701. control handle this.
  4702. * TreeNodeCollection.cs: If we are clearing the root node we need
  4703. to reset top_node so calcs can still happen.
  4704. * ThemeWin32Classic.cs: This is a Flags so we need to check
  4705. properly.
  4706. 2006-03-21 Jackson Harper <[email protected]>
  4707. * DataGrid.cs: Create columns when the binding context has been
  4708. changed.
  4709. * X11Structs.cs: Keysyms are uints.
  4710. - Add size to fix build.
  4711. 2006-03-21 Peter Dennis Bartok <[email protected]>
  4712. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4713. XplatUIOSX.cs:
  4714. - Added ResetMouseHover method to allow controls to retrigger
  4715. hovering if they need it more than once
  4716. - Implemented MouseHoverTime and MouseHoverSize properties
  4717. * Timer.cs: Start() must reset the interval
  4718. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  4719. properties
  4720. 2006-03-21 Jackson Harper <[email protected]>
  4721. * X11Keyboard.cs: improved layout detection. Move the nonchar
  4722. tables into this file.
  4723. * KeyboardLayouts.cs: Move the tables into resource files.
  4724. 2006-03-21 Mike Kestner <[email protected]>
  4725. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  4726. 2006-03-21 Alexander Olk <[email protected]>
  4727. * Mime.cs: Various speed optimizations. Looking up mime types
  4728. is now 2 times faster than before
  4729. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4730. * CreateParams.cs: Added internal menu field
  4731. * Control.cs:
  4732. - Switched call order for UpdateBounds; now we always call
  4733. the one that also takes ClientSize, and we're calculating the
  4734. client size via driver method in the others. The previous
  4735. method of tracking client size by difference wasn't working
  4736. for forms where even the starting client size wouldn't match
  4737. the overall form size (due to borders) (Part of fix for #77729)
  4738. - CreateParams(): Do not use parent.Handle unless the handle is
  4739. already created. Causes havoc with Nexxia and throws off our
  4740. creation of controls
  4741. * XplatUIX11.cs:
  4742. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  4743. - Switched handling of ConfigureNotify over to new PerformNCCalc
  4744. method (consolidates code)
  4745. - Changed RequestNCRecalc to use new PerformNCCalc method
  4746. - Added calls to RequestNCRecalc when menus and borders are changed
  4747. to allow app to set NC size. (Part of fix for #77729) This matches
  4748. when MS send a WM_NCRECALC on Win32 windows.
  4749. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  4750. (Part of fix for #77729). This matches what MS does, they also
  4751. send that message when the form is made visible.
  4752. - XException.GetMessage: Improved usability of X errors by including
  4753. a translation of the window into Hwnd and Control class
  4754. - Improved debug info for window creation, reparenting and destruction
  4755. - Created helper method WindowIsMapped() [Currently not used]
  4756. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  4757. * Form.cs:
  4758. - CreateParams: Now setting our menu on the new internal menu field
  4759. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  4760. avoid calculating the same property twice
  4761. * Hwnd.cs:
  4762. - Improved usability of ToString() for debugging purposes
  4763. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  4764. determine the height of the menu, instead of just the font. This
  4765. required to also create a graphics context and to keep a bmp
  4766. around (for performance reasons)
  4767. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4768. * MenuAPI.cs: Added OnMouseUp method
  4769. * Form.cs:
  4770. - Now remembering the requested client size, avoids size errors
  4771. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  4772. instead of base if the menu is active. This is required due to
  4773. control now capturing and releasing on down/up and it would
  4774. prematurely release our menu capture
  4775. 2006-03-17 Jackson Harper <[email protected]>
  4776. * KeyboardLayouts.cs: Add the czech layouts.
  4777. 2006-03-16 Jackson Harper <[email protected]>
  4778. * Control.cs: Use the viewport space when sizing not the controls
  4779. client size, so things like ScrollableControl that effect the
  4780. viewport size (when scrollbars are added) are computed correctly.
  4781. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  4782. of ManagerEntrys.
  4783. - Handle creating BindingManagers for null data sources.
  4784. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  4785. source, otherwise when rows are added they are added to the 'fake'
  4786. datasource and we will crash when trying to set the position in
  4787. those rows.
  4788. - Use Implicit scrollbars on the datagrid so they arent
  4789. selectable.
  4790. 2006-03-16 Jackson Harper <[email protected]>
  4791. * Binding.cs:
  4792. * InternalWindowManager.cs:
  4793. * MdiWindowManager.cs:
  4794. * X11Keyboard.cs: I really want Mike to love me again (fix
  4795. compiler warnings).
  4796. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4797. * DataGrid.cs:
  4798. - OnMouseDown: Switch to editing mode when clicking on the cell
  4799. even if we're clicking on the cell that's currently
  4800. selected
  4801. - ProcessGridKey: Left/Right now wrap like MS.Net does
  4802. - ProcessGridKey: Tab now knows to add a new row when tab is
  4803. pressed in the cell of the last column of the
  4804. last row
  4805. - ProcessGridKey: Enter now adds another row if pressed in the last
  4806. row and selectes the new row, same column cell
  4807. - ProcessGridKey: Home/End navigate columns, not rows, like
  4808. originally implemented
  4809. - Broke ProcessKeyPreview code out into an extra Internal method
  4810. so it can be called from the edit code
  4811. * DataGridTextBox.cs (ProcessKeyMessage):
  4812. - Switched to accept Tab keypresses
  4813. - Added F2 handling to allow jumping to the end of the edited cell
  4814. - Added logic to allow moving caret left/right inside edited cell
  4815. and making the edited cell jump when the caret hits cell borders
  4816. - Tab and Enter are now passed to the datagrid after being handled
  4817. * TextBoxBase.cs:
  4818. - Removed capture code now that Control handles it
  4819. - set_SelectionStart now ensures caret is visible
  4820. 2006-03-16 Jackson Harper <[email protected]>
  4821. * TrackBar.cs: Debackwards the increment/decrement for handling
  4822. mouse clicks on the bar with vertical trackbars.
  4823. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  4824. bottom to match MS.
  4825. 2006-03-16 Mike Kestner <[email protected]>
  4826. * ListView.cs: make shift/ctrl keyboard and mouse selection
  4827. consistent with the MS control. Fix a bug in
  4828. SelectedListViewItemCollection.Clear that was pissing me off for the
  4829. better part of a day because the collection was being altered
  4830. underneath us as we walked the list.
  4831. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4832. * Control.cs: Not sure how we could miss this so long, but it seems
  4833. that MS.Net has Capture set all the way from before calling
  4834. OnMouseDown through sending the mouse events until after
  4835. OnMouseUp. This will fix DataGrid's selection being set to end
  4836. at the location of the MouseUp.
  4837. 2006-03-15 Jackson Harper <[email protected]>
  4838. * BindingContext.cs: Check the binding after its added so that it
  4839. can initialize the binding managers and hookup to events.
  4840. * Binding.cs: Data members seem to sometimes include rows/cols in
  4841. the format Row.Column we now take this into account.
  4842. - Hookup to the position changed event so we can update the
  4843. control when the position has changed in the data set.
  4844. * CurrencyManager.cs: Take into account the row/col naming
  4845. convention when creating dataset tables.
  4846. * BindingContext.cs: Using a newer better way of storing
  4847. datasource/datamember pairs. Hopefully this better matches MS for
  4848. looking up binding managers.
  4849. 2006-03-15 Jackson Harper <[email protected]>
  4850. * BindingContext.cs: The currency manager needs the data member
  4851. name, if the member is a data set we use the name to find the
  4852. correct table.
  4853. * CurrencyManager.cs: When creating the list prefer an IList over
  4854. an IListSource.
  4855. - Attempt to create a DataTable from a DataSet (TODO: might need
  4856. some better error checking here, although MS doesn't seem to have much)
  4857. - If we have a DataTable create a view and use it as our list.
  4858. 2006-03-15 Mike Kestner <[email protected]>
  4859. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  4860. keyboard navigation. Support Up/Down/Left/Right selection correctly
  4861. for all 4 View modes.
  4862. * ListViewItem.cs: add internal row/col fields for icon layouts.
  4863. 2006-03-15 Jackson Harper <[email protected]>
  4864. * TabControl.cs: Redraw the tabs when we resize so their newly
  4865. calculated sizes are drawn on screen.
  4866. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  4867. composite characters.
  4868. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  4869. - filter events so that composite characters can be created
  4870. patches by peter
  4871. * X11Structs.cs: Add XIMProperties enum.
  4872. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4873. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  4874. unless it's created
  4875. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4876. * Control.cs (PerformLayout): We don't need to consider visiblity
  4877. for anchoring, only for docking. This fixes 'whacky' alignment
  4878. in listbox and other controls that use implicit scrollbars after
  4879. the previous PerformLayout patch
  4880. * ListBox.cs: Switched to use implicit scrollbars
  4881. 2006-03-14 Mike Kestner <[email protected]>
  4882. * ToolBar.cs:
  4883. * VScrollBar.cs:
  4884. - chain up the "new event" overrides to base and use
  4885. OnEvent to raise them. Part of fix for bug #76509.
  4886. 2006-03-14 Alexander Olk <[email protected]>
  4887. * FileDialog.cs: Do not select an item in the parent directory
  4888. on backspace
  4889. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4890. * Control.cs (PerformLayout): It would seem that we considered
  4891. invisible windows for our layout. Not quite the right thing
  4892. to do. Now we don't any longer, thereby fixing bug #76889.
  4893. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4894. * Control.cs (CanFocus): I goofed. A control can have focus
  4895. even though it's not selectable. Made it match MS docs.
  4896. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4897. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  4898. center by default (fixes #76895)
  4899. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  4900. all uses of Border3DSides.All with the explicit ORd together
  4901. Left|Right|Top|Bottom because I assume that nobody was aware
  4902. that All also implies a center fill. Most places I checked had
  4903. a fill right above.
  4904. * ProgressBarStyle.cs: Added
  4905. 2006-03-13 Mike Kestner <[email protected]>
  4906. * ListView.cs: fix breakage in drag shadow header positioning
  4907. from Peter's csc compilation fix.
  4908. 2006-03-13 Mike Kestner <[email protected]>
  4909. * ListView.cs: fix NRE produced by backspacing twice in a focused
  4910. FileDialog.
  4911. 2006-03-13 Mike Kestner <[email protected]>
  4912. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  4913. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4914. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  4915. be changed
  4916. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  4917. the allowed size before making programmatic size changes
  4918. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4919. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  4920. set, metacity is broken and will still use the emty sizes in
  4921. the struct. (Fix for #77089)
  4922. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4923. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  4924. WindowExStyles and marked both enums as Flags
  4925. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  4926. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  4927. to match WindowStyles split
  4928. * XplatUIX11.cs:
  4929. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  4930. - Updated to match WindowStyles split
  4931. * XplatUIWin32.cs:
  4932. - Fixed FosterParent creation, was using ExStyle on the Style field
  4933. (This should help with Popup focus issues)
  4934. - Updated to match WindowStyles split
  4935. 2006-03-13 Jackson Harper <[email protected]>
  4936. * MdiWindowManager.cs: Use the system menu height. Fixes some
  4937. strange sizing issues.
  4938. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4939. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  4940. * TextBoxBase.cs:
  4941. - Scroll to caret after inserting text (#77672)
  4942. - Make scroll range one pixel higher, fixes off-by-one error (and
  4943. makes underlines visible on the last line)
  4944. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4945. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  4946. the keyboard state from being stuck with keys in 'pressed' state when
  4947. focus is switched away via keyboard
  4948. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  4949. reset the keyboard if no X11 KeyUp events are expected to come
  4950. * X11Structs.cs: Switched type of Visible to bool to match driver
  4951. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4952. * TextControl.cs:
  4953. - Switched caret to be just 1 pixel wide, matches MS and looks less
  4954. clunky
  4955. - Moved caret display 1 pixel down from the top of the control
  4956. to improve view
  4957. - InsertCharAtCharet: Update the selection start if moving the caret
  4958. (fixes bug #77696; based on patch suggested by [email protected])
  4959. - No longer always creating the caret when the caret methods are
  4960. called. Only the actual ShowCaret/HideCaret will do that now
  4961. - Only setting caret visible if the owner control has focus
  4962. - UpdateView: Added invalidation-shortcut logic for center and right
  4963. aligned text. Previously we'd update all according to the left
  4964. logic which caused drawing errors. Also fixed height of invalidated
  4965. areas, now properly invalidating the whole area (was off-by-one)
  4966. - owner_HandleCreated: Always generate the document when the
  4967. handle is created; this ensures that
  4968. * TextBoxBase.cs:
  4969. - Fixed situation where caret would disappear under the right
  4970. window border, also improved scrolling behaviour on left-
  4971. aligned textboxes
  4972. - Fixed right-aligned textboxes to have a border to the
  4973. right instead of the caret being under the right border
  4974. * XplatUIX11.cs:
  4975. - Switched from 'nested' to simple visible/not visible tracking
  4976. for caret (part of fix for #77671)
  4977. - No longer passing through translated FocusIn/FocusOut messages
  4978. since we were notifying too often and the wrong windows. Instead
  4979. we just notify our focussed window of receiving or loosing focus
  4980. * XplatUIWin32.cs: Switched from 'nested' show/hide
  4981. counting for caret to simple visible yes/no behaviour (part of
  4982. fix for #77671)
  4983. 2006-03-11 Alexander Olk <[email protected]>
  4984. * Mime.cs: Remove debug code...
  4985. 2006-03-11 Alexander Olk <[email protected]>
  4986. * MimeGenerated.cs: Removed
  4987. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  4988. and subclasses) from /usr/(local/)share/mime and
  4989. $HOME/.local/share/mime.
  4990. 2006-03-10 Jackson Harper <[email protected]>
  4991. * MdiWindowManager.cs: Recalc the NC area when a window is
  4992. maximized/restored so that the menu area is drawn on forms that
  4993. don't have a menu.
  4994. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4995. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4996. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  4997. us to force a WM_NCCALCRESIZE message being sent. This is needed
  4998. for MDI maximizing.
  4999. 2006-03-10 Jackson Harper <[email protected]>
  5000. * Form.cs: We need to use the ActiveMenu when calculating menu
  5001. height.
  5002. - Fix nullref when the window manager hasn't been created yet.
  5003. * Control.cs: Fix nullref when we try to bring a control to the
  5004. front that has no parent.
  5005. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  5006. height.
  5007. - Add a dummy item to the maximized menu so it always has the
  5008. correct height. Otherwise when there are no menus we don't get our
  5009. icon and buttons.
  5010. 2006-03-10 Jackson Harper <[email protected]>
  5011. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  5012. stuff.
  5013. * Form.cs: Make the window_state internal so the window managers
  5014. can track it.
  5015. - When an MDI child is maximized let its window manager create the
  5016. main menu (so it can add its icon).
  5017. - Notify the window managers of state changes
  5018. - Let the window manager paint its buttons and handle button
  5019. clicks on the menu when it is maximized.
  5020. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  5021. window manager, since tool windows don't use it, only mdi windows.
  5022. - Tell the main form that we don't want it to handle NCPAINT
  5023. itself to avoid extra painting.
  5024. - Handle clicks on a maximized windows menu.
  5025. - Handle window state changes
  5026. - Handle minimize/maximize clicks correctly by setting the window state.
  5027. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  5028. when clicking on the forms icon).
  5029. - New method to create a forms maximized menu. This is its normal
  5030. menu + an icon.
  5031. - Handle window state changes.
  5032. - Handle sizing of maximized windows. Maximized windows are just
  5033. drawn bigger then the parent visible area. All controls are still
  5034. there, they are just outside the visible area (this matches windows).
  5035. * MdiClient.cs: No scrollbars when a child window is maximized.
  5036. - Let the children windows figure out how big they should be when
  5037. sizing maximized windows.
  5038. - Implement a version of ArrangeIconicWindows somewhat similar to
  5039. Windows version. There are some little differences, but I don't
  5040. think any app will rely on the layout of minimized mdi windows.
  5041. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5042. * Padding.cs: Several fixes to allow compiling with csc 2.0
  5043. 2006-03-09 Jackson Harper <[email protected]>
  5044. * Menu.cs:
  5045. * MenuItem.cs: Cheap hack so we can add items to the list without
  5046. the events being raised. This allows adding mdi items during
  5047. drawing. TODO: Should probably find a better time to add the items.
  5048. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5049. * ThemeWin32Classic.cs:
  5050. - CheckBox_DrawText: Added logic to not wrap if not enough space
  5051. is available (Fix for bug #77727)
  5052. - RadioButton_DrawText: Added logic not to wrap if not enough
  5053. space is available (Fix for bug #77727). Also removed some
  5054. duplicate code, DrawString always drawing the regular text
  5055. before hitting the if statement.
  5056. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5057. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  5058. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5059. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  5060. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  5061. methods. Moved the new 2.0 properties into alphabetical order with
  5062. other properties and added MonoTODO tags
  5063. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5064. * AutoScaleMode.cs: Added. Fix build.
  5065. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5066. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5067. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  5068. and was requiring premature handle creation for calls from above
  5069. * Form.cs, Control.cs: Removed handle arguments from calls to
  5070. CalculateClientRect()
  5071. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5072. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  5073. drag_column.column_rect is MarshalByRef and can't be used that way
  5074. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5075. * AxHost.cs: Added deserialization constructor for
  5076. AxHost+State (fixes 77743)
  5077. 2006-03-09 Mike Kestner <[email protected]>
  5078. * ListView.cs:
  5079. - Added column drag reordering for details view.
  5080. - fixed behavior when mouse is dragged off column and
  5081. AllowColumnReorder is false.
  5082. * ColumnHeader.cs: clone the format too in Clone.
  5083. * Theme.cs: add DrawListViewHeaderDragDetails method.
  5084. * ThemeWin32Classic.cs:
  5085. - impl new method for drawing drag column shadows and targets.
  5086. - support column offset for details mode in DrawListViewItem.
  5087. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5088. * TextControl.cs: Reset the char_count when the document is cleared
  5089. (Fixes bug reported on mono-winforms mailing list)
  5090. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5091. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5092. of calling base we simply process the key ourselves, since both
  5093. DefWindowProc and the handled method would set m.Result.
  5094. (Fixes #77732)
  5095. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5096. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5097. method also moves the window; instead implemented a copy of
  5098. Control.ScaleCore (Part of fix for #77456)
  5099. * TextBoxBase.cs:
  5100. - Created new CreateGraphicsInternal method to allow providing
  5101. a graphics context when no handle is created without triggering
  5102. handle creation. (Part of fix for #77456)
  5103. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5104. * TextControl.cs:
  5105. - Switched Constructor to require TextBoxBase instead of Control (to
  5106. allow uncast access to CreateGraphicsInternal)
  5107. - Safeguarded use of owner.Handle property. No longer accessing it
  5108. unless the handle is already created.
  5109. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5110. - Now triggering a recalc when owning control becomes visible
  5111. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5112. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5113. premature handle creation (Part of fix for #77456)
  5114. * Control.cs:
  5115. - We now only destroy our double-buffering buffers when the
  5116. control is resized or disposed, but not when visibility
  5117. changes. (The code even re-created them twice every time)
  5118. - Now requiring a redraw of the buffer on visibility changes
  5119. (fixes bug 77654 part 2)
  5120. - Not passing OnParentVisibleChanged up unless the control
  5121. is visible
  5122. - CanFocus: Fixed to match MS documentation
  5123. - Focus: Fixed to return actual focus state and to check if
  5124. setting focus is legal before setting it
  5125. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5126. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5127. when to draw focus rectangle by looking at parent focus and
  5128. selected state instead. This fixes TabPages on Linux sometimes
  5129. having none or multiple focus rectangles.
  5130. * XplatUIX11.cs (SetFocus):
  5131. - Don't set the focus if the same window already has focus
  5132. - Use SendMessage instead of PostMessage (like it's Win32
  5133. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5134. to match MS behaviour
  5135. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5136. are not selectable.
  5137. 2006-03-07 Jackson Harper <[email protected]>
  5138. * PictureBox.cs: Revert line I accidently committed last week.
  5139. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5140. * Control.cs:
  5141. - Added new IsRecreating and ParentIsRecreating properties to
  5142. allow testing if RecreateHandle has been called on ourselves
  5143. or one of our parents
  5144. - WndProc(WM_DESTROY): If our control handle is being recreated
  5145. we immediately need to create the handle when receiving the
  5146. destroy, that way our child windows find a valid parent handle
  5147. when they themselves are being recreated upon WM_DESTROY receipt
  5148. (fix for bug #77654 part 1)
  5149. * XplatUIX11.cs:
  5150. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5151. notifying any child windows. MS documents that child windows
  5152. are still valid when WM_DESTROY is received. (Control now relies on
  5153. this behaviour)
  5154. - Added some fine-grain debug options
  5155. 2006-03-06 Jackson Harper <[email protected]>
  5156. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5157. box and base calculations off this.
  5158. * MdiChildContext.cs:
  5159. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5160. anymore.
  5161. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5162. * Splitter.cs: In situations where the affected control is added
  5163. to the parent's control list after the splitter, we would not
  5164. populate affected. Now we try populating it on mousedown, if
  5165. it's not already set, and force it to be re-set whenever our
  5166. parent changes.
  5167. 2006-03-03 Matt Hargett <[email protected]>
  5168. * Control.cs: implement Control.Padding
  5169. * Padding.cs: -Padding.All returns -1 when constructing with the
  5170. implicit default ctor
  5171. -Padding.ToString() matches MS.NET
  5172. * ContainerControl.cs: implement
  5173. ContainerControl.AutoScaleDimensions
  5174. * ListControl.cs: implement ListControl.FormattingEnabled
  5175. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5176. * ButtonBase.cs:
  5177. * TabPage.cs: Implement UseVisualStyleBackColor.
  5178. * PictureBox.cs: Implement PictureBox.InitialImage.
  5179. 2006-03-03 Mike Kestner <[email protected]>
  5180. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5181. event declarations to proxy to base event.
  5182. * ListViewItem.cs: update to use ItemControl.
  5183. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5184. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5185. column header label rendering for 0 width columns.
  5186. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5187. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5188. that causes the control to be created. Fixes #77476.
  5189. 2006-03-02 Jackson Harper <[email protected]>
  5190. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5191. expose_pending.
  5192. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5193. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5194. passed in for the EventArgs (fixes #77690)
  5195. 2006-03-01 Jackson Harper <[email protected]>
  5196. * ScrollBar.cs: Refresh afterbeing resized.
  5197. 2006-02-28 Mike Kestner <[email protected]>
  5198. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5199. Clean up a tracker compile warning.
  5200. * MenuItem.cs: add internal PerformPopup method.
  5201. [Fixes #77457]
  5202. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5203. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5204. implicit expose) when the text is set to null
  5205. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5206. * RichTextBox.cs (FlushText): When newline is true, we always
  5207. need to split the line, even if no text is on it and we may
  5208. never eat newlines. (Fixes #77669)
  5209. 2006-02-28 Mike Kestner <[email protected]>
  5210. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5211. and set Selected instead.
  5212. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5213. collections.
  5214. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5215. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5216. 2006-02-28 Alexander Olk <[email protected]>
  5217. * FontDialog.cs:
  5218. - Got rid of the panel. All controls are now directly added to
  5219. the dialog form
  5220. - It is now possible to set a font with the Font property
  5221. - MinSize and MaxSize property do now what they should
  5222. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5223. - Searching and selecting a font with the font textbox works now,
  5224. the same applies to the style and size textbox
  5225. - Draw the correct 3D border in the example panel
  5226. - Fixed a little mem leak (unused fonts didn't get disposed)
  5227. - Many other internal updates/rewrites...
  5228. - Fix typo
  5229. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5230. * TextControl.cs:
  5231. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5232. - set_SelectedRTF: Now using the number of characters to calculate
  5233. the new location for the selection and cursor (x/y cannot be used
  5234. due to potentially already wrapped text)
  5235. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5236. * TextControl.cs: Added property and implemented means to allow
  5237. disabling recalculation of a document (can be used to speed up
  5238. multiple inserts and is needed to make RTF inserts predictable, see
  5239. bug #77659)
  5240. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5241. keep x/y insert locations predictable. Also makes it faster inserting
  5242. large chunks of RTF
  5243. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5244. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5245. it's easier for a child control to handle the other messages without
  5246. having to duplicate the special functionality
  5247. * TextBoxBase.cs
  5248. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5249. code to handle processing the key ourselves, in order to get
  5250. access to the result of KeyEventArgs.Handled. We now only call
  5251. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5252. - set_Text: If null or empty string is given, just clear the
  5253. document. Fixes part of #77526
  5254. 2006-02-27 Jackson Harper <[email protected]>
  5255. * SizeGrip.cs: Paint the background color before painting the grip
  5256. so things look right.
  5257. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5258. 2006-02-27 Mike Kestner <[email protected]>
  5259. * ListView.cs:
  5260. - Restructure layout and invalidation model to remove a ton of
  5261. flicker from the control and speed up performance in general.
  5262. - Add manual column resize, flickers like crazy, but I already have
  5263. some ideas on how I'll fix that. (#76822)
  5264. - Merge the three Icon-based views into a single layout method.
  5265. - Move item selection interaction logic from the item since
  5266. interaction with the collections is more appropriate to the view.
  5267. - Deselection on non-item clicks.
  5268. * ListViewItem.cs:
  5269. - Encapsulate most of the layout. Add some internal props to trigger
  5270. layout. Move to a model where Items invalidate themselves instead
  5271. of just invalidating the whole control every time something changes.
  5272. - Invalidate on Text/Caption changes.
  5273. - switch to an offset based layout model to avoid having to absolute
  5274. position every element on item moves.
  5275. - correct checkbox layout to conform to MS layout.
  5276. * ThemeWin32Classic.cs:
  5277. - refactor some column header drawing code.
  5278. - fix string justification for column headers (#76821)
  5279. - make SmallIcon labels top justified for compat with MS impl.
  5280. * ThemeClearlooks.cs:
  5281. - adjust to new ListViewItem internal checkbox bounds api.
  5282. 2006-02-27 Jackson Harper <[email protected]>
  5283. * Control.cs: Change where implicit controls fall in the zorder.
  5284. They are now on top of all children.
  5285. - Synced AddImplicit code with Add
  5286. - Removed unused enumerator.
  5287. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5288. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5289. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5290. string ends with \n\n, otherwise we leave one line too many (Fixes
  5291. something I noticed with the testapp for #77526; the bug itself was
  5292. already fixed in the previous checkin)
  5293. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5294. * RichTextBox.cs:
  5295. - SelectionColor and SelectionFont methods no longer set absolute
  5296. styles. Instead, the keep font or color respectively (This
  5297. resolves a long-standing FIXME in the code)
  5298. - When flushing RTF text, the insert code now considers text trailing
  5299. behind the insertion point (Fixes the bug where when replacing
  5300. the selected text via SelectedRTF the remainder of the line behind
  5301. the selection would stay on the first insertion line)
  5302. * TextBoxBase.cs:
  5303. - AppendText now updates the selection points after inserting text
  5304. - AppendText now ensures that the last tag (sometimes 0-length) of
  5305. the document is used for the style information (Fixes part of
  5306. bug #77220)
  5307. * TextControl.cs:
  5308. - Created new FontDefiniton class to allow describing partial style
  5309. changes
  5310. - StreamLine() now takes a lines argument, to allow it to decide
  5311. whether an encountered zero-length tag is the last in the document
  5312. (which must be kept to not loose the font/color contained in it,
  5313. for later appends)
  5314. - Created Combine() and Split() methods for Marker structs, to
  5315. support marker updates due to reformatted documents (soft line
  5316. wraps)
  5317. - Implemented Document.CaretTag setter
  5318. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5319. of the last line (Not the cause, but also exposed by bug #77220)
  5320. - Added LineTag argument to InsertString method, to allow callers
  5321. to force a certain tag to be used (required to force use of the
  5322. trailing zero-length tag of a document)
  5323. - Now updating markers in Combine(), to avoid stale tag markers
  5324. - Added some method descriptions to aid maintenance
  5325. - Implemented new FormatText concept, allowing additive/subtractive
  5326. formatting by only specifying the components that are to be
  5327. changed. This was needed for resolving the RTB.SelectedColor/
  5328. RTB.SelectedFont fixmes
  5329. - Added Break() support method to allow breaking up linetags (used
  5330. for partial formatting)
  5331. - Added GenerateTextFormat() method. It is used for partial
  5332. formatting and allows to generate a full font/color from given
  5333. attributes and an existing tag.
  5334. 2006-02-26 Jackson Harper <[email protected]>
  5335. * XplatUIX11.cs: Use the correct caption height.
  5336. - Translate hittest coordinates to screen coords to match MS.
  5337. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5338. some of the style flags, so we get a nice blank window, and can
  5339. draw all the decorations ourselves.
  5340. - Set a clipping rectangle on the non client paint event, the
  5341. window manager drawing code needs one.
  5342. * Form.cs: The window manager needs to know when the window state
  5343. has been updated.
  5344. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5345. don't need to factor in border and title sizes in these
  5346. methods. TODO: Remove the args and fix the call points.
  5347. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5348. properly.
  5349. - Let the driver set the cursors.
  5350. - Improve active window handling
  5351. - Correct sizes for title bars and buttons.
  5352. - Match MS drawing better
  5353. * MdiWindowManager.cs: We don't need to handle border style
  5354. updates specially anymore.
  5355. - Check for scrollbars when windows are done moving
  5356. - Handle Active properly.
  5357. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5358. correctly. I am spewing the exception though, so we don't hide the
  5359. bugs.
  5360. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5361. * DataGridViewRowPostPaintEventArgs.cs,
  5362. DataGridViewCellPaintingEventArgs.cs,
  5363. DataGridViewRowCollection.cs,
  5364. DataGridViewRowPrePaintEventArgs.cs,
  5365. DataGridViewCell.cs: Clear a few warnings and implement a few
  5366. exceptions that should be thrown.
  5367. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5368. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5369. 'inheriting' our parent's (non-default) cursor. (Part of
  5370. the fix for #77479)
  5371. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5372. * XplatUIX11.cs: Fixed cast to make csc happy
  5373. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5374. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5375. it's for the client area (part of fix for #77479 and needed
  5376. for MDI window cursor handling)
  5377. * XplatUIX11.cs
  5378. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5379. the appropriate default cursors and also passing the message
  5380. up the parent chain
  5381. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5382. for non-client areas
  5383. 2006-02-15 Jackson Harper <[email protected]>
  5384. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5385. is a real MDI window
  5386. 2006-02-14 Alexander Olk <[email protected]>
  5387. * X11DesktopColors.cs: Instead of checking the desktop session
  5388. string for "KDE" check if it starts with "KDE"
  5389. 2006-02-10 Jackson Harper <[email protected]>
  5390. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5391. systems).
  5392. 2006-02-10 Alexander Olk <[email protected]>
  5393. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5394. errors
  5395. * ColorDialog.cs:
  5396. - Got rid of the panel. All controls are now directly added to
  5397. the dialog form
  5398. - Changed to mono coding style
  5399. 2006-02-10 Jackson Harper <[email protected]>
  5400. * InternalWindowManager.cs: We don't need the set visibility to
  5401. false hack anymore now that peter has written beautiful shutdown
  5402. code.
  5403. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5404. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  5405. where already explicitly destroyed
  5406. 2006-02-10 Jackson Harper <[email protected]>
  5407. * MdiClient.cs: Handle the case where windows are too high or to
  5408. the left and we need scrollbars.
  5409. 2006-02-10 Alexander Olk <[email protected]>
  5410. * MimeIcon.cs: Added some icons
  5411. * FileDialog.cs:
  5412. - Fixed bug #77477
  5413. - Got rid of the panel. All controls are now directly added to
  5414. the dialog form
  5415. - Changed to mono coding style
  5416. - On Linux "My Computer" and "My Network" will now show some
  5417. more usefull information. A new class, MasterMount, gathers
  5418. this information from /proc/mount. Updated MWFFileView to make
  5419. use of this information
  5420. - Fixed a bug that caused FileDialog to crash when
  5421. ".recently_used" file had a zero size
  5422. - FilterIndex does now what it should
  5423. - Some Refactoring
  5424. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  5425. FileDialog changes
  5426. 2006-02-09 Jackson Harper <[email protected]>
  5427. * ComboBox.cs: Don't touch if null.
  5428. 2006-02-09 Peter Dennis Bartok <[email protected]>
  5429. * Cursor.cs: 64bit safeness fix
  5430. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  5431. 2006-02-09 Jackson Harper <[email protected]>
  5432. * Form.cs: If a form is made into an MDI form update the styles so
  5433. all the props can get set correctly.
  5434. - Kill the mdi_container when we dont need it anymore.
  5435. * InternalWindowManager.cs: Add missing NOT
  5436. 2006-02-08 Jackson Harper <[email protected]>
  5437. * InternalWindowManager.cs: Respek clipping when drawing MDi
  5438. decorations.
  5439. 2006-02-08 Jackson Harper <[email protected]>
  5440. * Hwnd.cs: Add bits to track non client expose events.
  5441. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  5442. gives us a proper invalid rect and will allow for some nice
  5443. optimizations with NC client drawing
  5444. - MDI windows are children windows, so move their style handling
  5445. into the child window block.
  5446. * InternalWindowManager.cs: Remove a state reset that was
  5447. getting invoked at the wrong time. Fixes managed windows getting
  5448. into a 'stuck' captured state.
  5449. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5450. * TextControl.cs (Document.ctor): Now initializing
  5451. selection_anchor. Fixes #77493
  5452. 2006-02-07 Jackson Harper <[email protected]>
  5453. * TrackBar.cs: The increment/decrements were backwards.
  5454. 2006-02-07 Mike Kestner <[email protected]>
  5455. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  5456. to the instance itself.
  5457. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5458. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  5459. on ulongs and pointers, the size differs between 32bit and 64bit
  5460. systems.
  5461. 2006-02-07 Mike Kestner <[email protected]>
  5462. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  5463. for 64 bit platforms to work around a metacity bug.
  5464. 2006-02-07 Jackson Harper <[email protected]>
  5465. * TrackBar.cs: Process the input keys we need, and hookup to
  5466. KeyDown instead of using WndProc, so we get key messages.
  5467. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5468. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  5469. machine we're on.
  5470. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  5471. we need to translate the XdndVersion atoms array before sending it
  5472. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5473. * XplatUIX11.cs:
  5474. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  5475. number of bits for the property, not the number of bytes. The
  5476. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  5477. but would not crash since it specified 8 bits instead of 4 bits)
  5478. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  5479. defined as XID -> long in the C headers)
  5480. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  5481. references since those are now IntPtr to begin with
  5482. - Switched all Atom.XXX 'int' casts to IntPtr casts
  5483. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  5484. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  5485. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  5486. * X11Structs.cs:
  5487. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  5488. - Changed atom in HoverStruct to be IntPtr
  5489. * X11DnD.cs:
  5490. - Removed local DllImports, switched code to use those from XplatUIX11
  5491. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  5492. 2006-02-06 Mike Kestner <[email protected]>
  5493. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  5494. method signatures in the import region. There may still be some
  5495. lingering struct marshaling issues, as I didn't drill down into those.
  5496. Yet.
  5497. 2006-02-06 Jackson Harper <[email protected]>
  5498. * ComboBox.cs: Dont manually set the top_item, this is computed
  5499. when the scrollbar position is set.
  5500. 2006-02-06 Mike Kestner <[email protected]>
  5501. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  5502. startup crashes on amd64. There's other fixes needed. All pinvoke
  5503. usage of Atom needs to be mapped to IntPtr for example. And there are
  5504. likely other int/long issues to be addressed.
  5505. 2006-02-04 Alexander Olk <[email protected]>
  5506. * FileDialog.cs: One more...
  5507. 2006-02-03 Alexander Olk <[email protected]>
  5508. * FileDialog.cs: Next try
  5509. 2006-02-03 Alexander Olk <[email protected]>
  5510. * FileDialog.cs: First part of fix for #77464
  5511. 2006-02-03 Alexander Olk <[email protected]>
  5512. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  5513. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  5514. AcceptButton border drawing.
  5515. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5516. * Form.cs: Moved positioning of form after auto scaling is applied,
  5517. otherwise it would possibly use wrong form size.
  5518. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5519. * Control.cs (RecreateHandle): No need to re-create any child
  5520. controls, the child windows will get destroyed automatically by
  5521. the windowing system or driver, and re-created when the handle
  5522. is being accessed the first time. Fixes #77456
  5523. * Form.cs: No longer setting the form to closing if the handle is
  5524. being recreated. This seems like the right thing to do, don't
  5525. have a bug or testcase for this, though.
  5526. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5527. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  5528. controls to avoid unwanted side effects
  5529. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5530. * Control.cs:
  5531. - ScaleCore needs to scale the bounds, not the ClientSize of the
  5532. control. Fixes #77416.
  5533. - DefaultSize is 0,0 for control
  5534. * TextBoxBase.cs:
  5535. - DefaultSize is 100, 20
  5536. - SetBoundsCore: Now enforcing the height, no matter if the provided
  5537. height is more or less than the preferred one, as long as AutoSize
  5538. is on
  5539. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  5540. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5541. * Control.cs:
  5542. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  5543. call unless both performLayout is true *and* we have a pending
  5544. layout change
  5545. - ResumeLayout: MS does not completely nest Suspend and Resume,
  5546. they bottom out at 0, fixed our code to match that.
  5547. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  5548. SetBoundsCore, we were updating even when we shouldn't. This fixes
  5549. swf-anchors mis-anchoring when resizing the app fast and lots.
  5550. - UpdateDistances: Now only setting the left and top distance if
  5551. we have a parent and are not suspended, this is based on
  5552. a suggestion by Don Edvaldson in bug #77355.
  5553. - OnVisibleChanged: Fixed logic when to create the control. We may
  5554. not create the control if we have no parent or if it's not visible;
  5555. switched to using Visible property instead of is_visible field
  5556. since the property also considers parent states. This fixes a bug
  5557. when starting Paint.Net
  5558. 2006-02-02 Jackson Harper <[email protected]>
  5559. * Form.cs: If the forms handle hasn't been created yet don't call
  5560. into xplatui to make it top most, just set the topmost flag on the
  5561. form in CreateParams
  5562. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  5563. 2006-02-01 Jackson Harper <[email protected]>
  5564. * ScrollableControl.cs: Refactored the Recalculate method a
  5565. little, this wasn't handling all the variants of bottom and right
  5566. bars needed to be added and added/removed based on their
  5567. counterparts being added/removed (which changes the drawable
  5568. size). Also we special case client widths and heights of 0 and
  5569. don't add the scrollbar for those.
  5570. 2006-02-01 Peter Dennis Bartok <[email protected]>
  5571. * XplatUIX11.cs:
  5572. - Added method to get AbsoluteGeometry(); currently unused, but might
  5573. be used in the future, if we try again to figure out toplevel
  5574. coordinates with some more crappy window managers
  5575. - Added FrameExtents() method to retrieve the WM set decoration size
  5576. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  5577. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  5578. * Hwnd.cs:
  5579. - Added whacky_wm tracking var for metacity
  5580. - Added logic to have default menu height if the actual menu height
  5581. has not yet been calculated (part of fix for #77426)
  5582. * Form.cs: Keep track whether client size has been set and re-set
  5583. it if a menu is added/removed afterwards (Fixes #77426)
  5584. 2006-01-31 Jackson Harper <[email protected]>
  5585. * Control.cs: When a new Site is set on the component attempt to
  5586. pull the AmbientProperties from it.
  5587. 2006-01-31 Peter Dennis Bartok <[email protected]>
  5588. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  5589. in the background of the owning form. Fixes #77332
  5590. 2006-01-31 Alexander Olk <[email protected]>
  5591. * MimeIcon.cs: Fix for #77409
  5592. 2006-01-31 Alexander Olk <[email protected]>
  5593. * XplatUIX11GTK.cs: Initial import
  5594. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  5595. * FixedSizeTextBox: fixes class signature
  5596. 2006-01-30 Jackson Harper <[email protected]>
  5597. * FixedSizeTextBox.cs: New internal class that represents a
  5598. textBox that will not be scaled.
  5599. * TreeView.cs:
  5600. * ComboBox.cs:
  5601. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  5602. standard TextBox.
  5603. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5604. * XplatUIX11.cs: Retrieve default screen number instead of
  5605. assuming 0. Attempted fix for #77318
  5606. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5607. * XplatUIWin32.cs:
  5608. - GetWindowPos: When a window is parented by FosterParent, use
  5609. the desktop instead of FosterParent as the base to get coordinates
  5610. - CreateWindow: Don't make FosterParent the parent window for Popups
  5611. if we don't want a taskbar entry, Popups automatically don't get one
  5612. * Hwnd.cs: Need to call remove to actually remove the key from the
  5613. hash table
  5614. 2006-01-30 Mike Kestner <[email protected]>
  5615. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  5616. 2006-01-30 Jackson Harper <[email protected]>
  5617. * TreeView.cs:
  5618. * TreeNode.cs: Raise events no matter how the treenode is
  5619. checked. Patch by Don Edvalson.
  5620. 2006-01-30 Jackson Harper <[email protected]>
  5621. * TreeNode.cs: Signature fix.
  5622. 2006-01-29 Alexander Olk <[email protected]>
  5623. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  5624. 2006-01-20 Mike Kestner <[email protected]>
  5625. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  5626. event forwarding when menus are active.
  5627. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  5628. Most of the patch is pdb's with a little rework.
  5629. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5630. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  5631. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  5632. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  5633. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  5634. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  5635. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  5636. the PaintWindowDecorations method
  5637. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  5638. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  5639. * MenuAPI.cs: Made tracker window invisible
  5640. * XplatUIWin32.cs:
  5641. - Removed GetMenuDC and ReleaseMenuDC methods
  5642. - Implemented the client=false path for PaintEventStart and
  5643. PaintEventEnd
  5644. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5645. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  5646. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  5647. styles
  5648. * Form.cs:
  5649. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  5650. the style
  5651. - CreateParams: Reworked the styles to match MS look'n'feel,
  5652. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  5653. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  5654. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5655. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  5656. window is not mapped, since otherwise every form that's being
  5657. created is considered minimized, which is wrong.
  5658. * Form.cs: Catching the exception and returning our internal value
  5659. instead
  5660. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5661. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  5662. SetWindowMinMax() to have means to tell the driver about the minimum,
  5663. maximum and maximized state window sizes. (Part of the fix for #76485)
  5664. * Form.cs:
  5665. - Implemented tracking of minimum and maximum window size, now calling
  5666. new SetWindowMinMax() driver method to tell the driver (Part of the
  5667. fix for #76485)
  5668. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  5669. (Completes fix for #76485)
  5670. - Calling new SetWindowMinMax driver method when the handle for a
  5671. form is created, to make sure the driver knows about it even if
  5672. the values have been set before the window was created
  5673. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  5674. to avoid messing up our anchoring calculations (partial fix
  5675. for #77355)
  5676. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  5677. * XplatUIX11.cs:
  5678. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  5679. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  5680. (and presumably other freedesktop.org compliant WMs). Left the
  5681. assumption unmapped=minimized, needed for SetVisible to work.
  5682. - Now setting the window state when creating windows
  5683. - Fixed SetVisible to consider/set the window state when mapping
  5684. a Form. We cannot set the state before it's mapped, and we cannot
  5685. use Form.WindowState once it's mapped (since it would ask the
  5686. driver and get 'normal'. Therefore, we grab the state before
  5687. mapping, map, and then set state.
  5688. - Implmemented SetWindowMinMax method; Metacity does not seem to
  5689. honor the ZoomHints, though.
  5690. * XplatUIWin32.cs:
  5691. - Removed MINMAXINFO (moved to XplatUIStructs)
  5692. - Added SetWindowMinMax stub (on Win32 the only way to set that
  5693. information is in response to the WM_GETMINMAXINFO message, which
  5694. is handled in Form.cs)
  5695. - Added logic to SetVisible to set the proper window state when a
  5696. form is made visible (fixes #75720)
  5697. 2006-01-26 Jackson Harper <[email protected]>
  5698. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  5699. same way we handle them with Invoke.
  5700. 2006-01-25 Peter Dennis Bartok <[email protected]>
  5701. * Form.cs:
  5702. - Added tracking of window state so CreateParams can return
  5703. the appropriate style
  5704. - Moved setting of WS_CAPTION style in CreateParams to allow
  5705. styles without caption
  5706. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  5707. control if the TextBox property is accessed. Fixes #77345
  5708. * Control.cs:
  5709. - get_Created: now uses is_disposed and is_created to determine
  5710. return value (suggested by Jackson)
  5711. - CreateHandle: No longer exits if the handle is being recreated
  5712. - RecreateHandle: If the handle is not yet created call the
  5713. appropriate method to create either control or handle. If the
  5714. control is already created CreateHandle will simply exit instead
  5715. of just creating the handle
  5716. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  5717. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  5718. is called.
  5719. * XplatUIX11.cs:
  5720. - When DestroyWindow is called, instead of waiting for the
  5721. DestroyNotification from X11, we directly post it to the WndProc
  5722. and immediately dispose the hwnd object.
  5723. Same applies to DestroyChildWindows, and this obsoletes the
  5724. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  5725. child windows before our own, to avoid X11 errors.
  5726. - Removed the direct sending of WM_PAINT on UpdateWindow
  5727. * XplatUIWin32.cs:
  5728. - Reworked DoEvents and GetMessage to allow access to internal queue
  5729. even when trying non-blocking access to the queue. Fixes #77335.
  5730. Based on a patch suggestion by Don Edvalson. The new private
  5731. GetMessage can now also be used as a backend for a PeekMessage
  5732. frontend version.
  5733. * XplatUI.cs: Improved debug output for CreateWindow
  5734. 2006-01-25 Jackson Harper <[email protected]>
  5735. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  5736. 2006-01-24 Jackson Harper <[email protected]>
  5737. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  5738. when we have a MaxDropItems lower then the selected index.
  5739. 2006-01-24 Jackson Harper <[email protected]>
  5740. * Control.cs: Don't allow selection of non visible controls, allow
  5741. selection of controls without parents.
  5742. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5743. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  5744. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  5745. 2006-01-23 Jackson Harper <[email protected]>
  5746. * UpDownBase.cs: Make the textbox handle all the selection and
  5747. tabbing. This fixes tabing to updown controls.
  5748. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5749. * TextBoxBase.cs: fixes exception thown the object was null
  5750. 2006-01-23 Jackson Harper <[email protected]>
  5751. * ButtonBase.cs: Just use the base CreateParams. They set
  5752. visibility and enabled correctly.
  5753. * ComboBox.cs:
  5754. * TrackBar.cs:
  5755. * MonthCalendar.cs: Lets let the base set as much of the
  5756. createparams as possible so we don't have duplicate code all over
  5757. the place.
  5758. 2006-01-22 Alexander Olk <[email protected]>
  5759. * ThemeGtk.cs: Added TrackBar and some experimental code to
  5760. get double buffering back
  5761. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  5762. * DataGrid.cs: Allows row number set internally higher than the last
  5763. when creating a new row. Restores the editing functionality.
  5764. 2006-01-20 Mike Kestner <[email protected]>
  5765. * MimeIcon.cs: delay Image creation until the icons are accessed
  5766. instead of creating 190 scaled images on GnomeHandler startup.
  5767. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5768. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  5769. first call base before processing the event. Fixes #77279
  5770. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5771. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  5772. that the stride for the GDI bitmap would match the stride of
  5773. a DIB or a Cursor.
  5774. 2006-01-19 Alexander Olk <[email protected]>
  5775. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  5776. 2006-01-19 Jackson Harper <[email protected]>
  5777. * ComboBox.cs: Hookup the text controls keydown event so we get
  5778. those when the text control has the focus.
  5779. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5780. * Label.cs: Now using the base events instead of defining new ones;
  5781. this allows us to just call the base properties without having to
  5782. duplicate all base property logic
  5783. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5784. * Label.cs: A label by default is not a tabstop (Fixes one of our
  5785. failing nunit tests)
  5786. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5787. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  5788. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  5789. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5790. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  5791. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  5792. This fixes #77218
  5793. * XplatUIWin32.cs:
  5794. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  5795. constructor creates images that can't be saved. Part of the fix
  5796. for #76103
  5797. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  5798. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  5799. bug fix for handling window state in forms properly)
  5800. 2006-01-18 Alexander Olk <[email protected]>
  5801. * ThemeGtk.cs: Simplify ScrollBar drawing
  5802. 2006-01-18 Jackson Harper <[email protected]>
  5803. * Splitter.cs: Set the default dock style for the splitter control
  5804. in the constructor.
  5805. 2006-01-18 Alexander Olk <[email protected]>
  5806. * ThemeGtk.cs: Corrected StateType and ShadowType for
  5807. gtk_paint_box
  5808. 2006-01-18 Alexander Olk <[email protected]>
  5809. * Control.cs: Make use of Theme.DoubleBufferingSupported
  5810. * ThemeGtk.cs:
  5811. - Added drawing for flat style buttons
  5812. - Added ScrollBar drawing
  5813. 2006-01-18 Alexander Olk <[email protected]>
  5814. * ThemeClearlooks.cs: Removed some unneeded code.
  5815. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  5816. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5817. * LinkLabel.cs: We need to update the hover drawing when
  5818. leaving the control as well.
  5819. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  5820. * DataGrid.cs: Clicking on non empty areas in the columns
  5821. area was giving an exception
  5822. 2006-01-17 Jackson Harper <[email protected]>
  5823. * ThemeWin32Classic.cs:
  5824. * ListView.cs: Do not draw/clip the headers when the header style
  5825. is None.
  5826. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5827. * DataGrid.cs: Fixes 77260
  5828. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5829. * DataGrid.cs: Clicking on a column on a empty grid was giving
  5830. an exception
  5831. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5832. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  5833. or any keypress will crash the grid.
  5834. 2006-01-17 Mike Kestner <[email protected]>
  5835. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  5836. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  5837. invisible/previously-visible items.
  5838. [Fixes #76909]
  5839. 2006-01-17 Alexander Olk <[email protected]>
  5840. * ThemeClearlooks.cs:
  5841. - Added CL_Draw_Button method; now other theme controls that are
  5842. not derived from button or do not have a button can draw buttons
  5843. too
  5844. - Updated ComboBox drawing
  5845. - Beautified RadioButton drawing
  5846. - Corrected drawing of bottom and left tabs
  5847. - Beautified DateTimePicker and MonthCalendar
  5848. - Added CPDrawButton and CPDrawRadioButton
  5849. 2006-01-16 Jackson Harper <[email protected]>
  5850. * ComboBox.cs: Set the initial value of the scrollbar to the
  5851. current index. Reduce the numbers of refreshs and IndexOfs called.
  5852. 2006-01-14 Alexander Olk <[email protected]>
  5853. * FileDialog.cs: When the file listview is focused hitting the
  5854. backspace key moves the fileview to the parent directory
  5855. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5856. * Form.cs:
  5857. - Added RecreateHandle call when changing taskbar visibility to
  5858. trigger reparenting in Win32 driver (Fixes #75719)
  5859. - If a window has minimize or maximize buttons, it cannot have
  5860. a help button
  5861. * XplatUIWin32.cs:
  5862. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  5863. the toplevel form with FosterParent (A toolwindow not on the
  5864. taskbar) (Fixes #75719)
  5865. - Made FosterParent a toolwindow
  5866. 2006-01-13 Alexander Olk <[email protected]>
  5867. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  5868. 2006-01-13 Alexander Olk <[email protected]>
  5869. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  5870. is currently over that control, make sure that tooltip_window.Text
  5871. gets updated
  5872. 2006-01-13 Mike Kestner <[email protected]>
  5873. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  5874. 2006-01-13 Jackson Harper <[email protected]>
  5875. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  5876. value passed. Also redraw the selected node when we recieve
  5877. focus, so tabbing between trees works correctly.
  5878. 2006-01-13 Alexander Olk <[email protected]>
  5879. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  5880. ~/.gconf/%gconf-tree.xml, so use
  5881. .gconf/desktop/gnome/interface/%gconf.xml
  5882. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5883. * TextControl.cs: Draw text in gray if control is disabled
  5884. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5885. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  5886. make sure it's always visible. Fixes #76680.
  5887. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5888. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  5889. 2006-01-13 Jonathan Chambers <[email protected]>
  5890. * PageSetupDialog.cs: Added.
  5891. * PrintDialog.cs: Attributes.
  5892. * PrintPreviewControl.cs: Updates.
  5893. * PrintPreviewDialog.cs: Updates.
  5894. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5895. * Control.cs: Undid my selection check fix, since it's not needed
  5896. * TextBoxBase.cs:
  5897. - Now considering the presence of hscroll/vscroll when sizing
  5898. vscroll/hscroll respectively. Fixed bug #77077
  5899. - Added Left/Up/Down/Right to IsInputKey list to prevent
  5900. ContainerControl from stealing them. This fixes what I broke
  5901. with my last checkin.
  5902. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5903. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  5904. I finally understand how the property can be set without a setter :-)
  5905. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5906. * Application.cs:
  5907. - Switched RunLoop to use static Message.Create to create a
  5908. Message object
  5909. - Added PreProcessMessage call in runloop for keyboard events; this
  5910. is part of the fix for #77219, I overlooked this originally in the
  5911. MSDN doc for PreProcessMessage
  5912. * Control.cs:
  5913. - Removed call to PreProcessMessage from handling of keyboard
  5914. messages; it's supposed to be done in the message pump
  5915. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  5916. per MSDN documentation.
  5917. - IsInputChar: All chars are input chars by default; removed the
  5918. parent calling chain, MS does not document that
  5919. - PreProcessMessage: If IsInputChar is true, we want to return false
  5920. to allow dispatching of the message
  5921. - When selecting the next control, now also check that we're not
  5922. selecting ourselves again and therefore return a false positive.
  5923. * TextBoxBase.cs:
  5924. - Tried to match return values for IsInputKey and ProcessDialogKey
  5925. to what MS returns; moved processing of our special keys outside
  5926. ProcessDialogKey since MS does not seem to return true on those.
  5927. - Moved code that previously was in ProcessDialogKey into new private
  5928. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  5929. - Reworked handling of WM_CHAR to not have to duplicate code from
  5930. Control.cs anymore, instead we simply call down to base.
  5931. 2006-01-12 Jackson Harper <[email protected]>
  5932. * ComboBox.cs: We always need to refresh the text area when
  5933. EndUpdate is called. Fixes the combobox in the file dialog.
  5934. * Control.cs: Don't create the creator_thread until the controls
  5935. handle is created. Also in InvokeRequired we check if the
  5936. creator_thread is null. This gives the effect of InvokeRequired
  5937. returning true if the controls handle is not created yet, and
  5938. matches MS.
  5939. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5940. * XplatUI.cs:
  5941. - Added StartLoop() driver method. This is used to allow drivers to
  5942. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  5943. loop for a particular thread
  5944. - Added EndLoop() driver method. This is called once the message
  5945. pump for the thread is shut down
  5946. - Added SupportsTransparency method to allow the driver to indicate
  5947. opacity support for windows
  5948. * Form.cs:
  5949. - Removed TODO attribute, completed AllowTransparency property
  5950. - Added documented logic to Opacity
  5951. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  5952. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  5953. versions of CompatibleTextRendering
  5954. * X11Structs.cs: Added opacity atom to our atom enumeration
  5955. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  5956. of a form might be set before it's reparented by the WM, and we need
  5957. the opacity value without calling up to Form)
  5958. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  5959. SupportsTransparency() driver methods
  5960. * Application.cs: Now calling StartLoop and EndLoop driver methods
  5961. * XplatUIX11.cs:
  5962. - Added opacity atom registration
  5963. - Added StartLoop()/EndLoop() methods. They're empty right now but
  5964. will need to get implemented when we switch to a per-thread queue
  5965. - Implemented SupportsTransparency() method
  5966. - Implemented SetWindowTransparency() method
  5967. - Added support for setting the opacity value when a window is
  5968. reparented (since the opacity needs to be set on the WM frame)
  5969. * XplatUIOSX.cs, XplatUIWin32.cs:
  5970. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  5971. 2006-01-12 Alexander Olk <[email protected]>
  5972. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  5973. 2006-01-12 Alexander Olk <[email protected]>
  5974. * FileDialog.cs: Added ToolTip for MWFFileView
  5975. * MimeIcon.cs: Rewrote GnomeHandler.
  5976. - Get currently used gnome icon theme from
  5977. ($HOME)/.gconf/%gconf-tree.xml
  5978. - Make use of inherited icon themes
  5979. - Support SVG icon themes like Tango via librsvg
  5980. 2006-01-12 Miguel de Icaza <[email protected]>
  5981. Revert's Jackson's revert which broke 2.0 builds. Fix both
  5982. builds.
  5983. * Application.cs: Move the use_compatible_text_rendering outside
  5984. the NET_2_0 define. If we ever need to use the
  5985. use_compatible_text_rendering on the individual controls they will
  5986. access the variable from the common shared code paths.
  5987. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5988. * XplatUI.cs:
  5989. - Added more granular debug options
  5990. - Added method to print both window text and id
  5991. - Switched debug output to use new Window() debug method
  5992. - Added IsEnabled() driver method
  5993. - Added EnableWindow() driver method
  5994. * Form.cs:
  5995. - Removed end_modal; no longer needed, new loop handles termination
  5996. via 'closing' variable
  5997. - If form is modal, setting DialogResult will now initiate loop
  5998. termination via 'closing' variable
  5999. - Added support for is_enabled/WS_DISABLED to CreateParams
  6000. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  6001. does all the work
  6002. - Removed code that's now in RunLoop from ShowDialog()
  6003. - Added various documented sanity checks to ShowDialog()
  6004. - Added handling of WM_DESTROY message; we set 'closing' on getting
  6005. the message to indicate the message pump to terminate
  6006. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  6007. send by the Application.ExitThread method. (We send the message
  6008. to destroy the window after all other events have been
  6009. processed through the queue, instead of destroying the handle
  6010. directly)
  6011. - Moved code from Close() method to WM_CLOSE handler; added logic
  6012. to only send close-related events if the form is not displayed
  6013. modal
  6014. * Splitter.cs (..ctor): Fixed typo in resource name
  6015. * Control.cs:
  6016. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  6017. brush now
  6018. - set_Cursor: Now only setting calling into XplatUI if the handle for
  6019. the control is already created; this avoids implict handle creation
  6020. or crashes if it's not created
  6021. - set_Enabled: Now setting the enabled state via the new driver method
  6022. instead of just tracking it
  6023. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  6024. - CreateControl: Reordered event firing and method calls to more
  6025. closely fire events in the order MS does. Now setting the
  6026. enabled state in the driver when creating the control.
  6027. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  6028. match MS order
  6029. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  6030. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  6031. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  6032. * Hwnd.cs:
  6033. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  6034. - Added EnabledHwnd property to easily allow a driver to find the
  6035. handle of the first enabled window in the parent chain (this is
  6036. used by drivers to pass up input events of disabled windows)
  6037. * XplatUIDriver.cs: Added IsEnabled() method
  6038. * Application.cs:
  6039. - Removed crude and obsolete exiting tracking variable
  6040. - Removed internal ModalRun(); replaced by RunLoop()
  6041. - Implemented private CloseForms() method to allow closing all
  6042. windows owned by a particular (or all) threads
  6043. - Exit() now properly closes all windows without forcing the message
  6044. pump to quit
  6045. - Removed obsolete InternalExit() method
  6046. - Changed Run() methods to use new RunLoop() message pump
  6047. - Implemented new RunLoop() method for both modal and non-modal forms
  6048. * CommonDialog.cs:
  6049. - get_CreateParams: Added setting of WS_DISABLED
  6050. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  6051. invoked via Form.ShowDialog()
  6052. * NativeWindow.cs: We don't remove the window from the collection when
  6053. the handle is destroyed; there might still be messages for it in the
  6054. queue (mainly the resulting WM_DESTROY); instead it will be removed
  6055. when Control calls InvalidateHandle in the WM_DESTROY handler
  6056. * XplatUIX11.cs:
  6057. - CreateWindow: Added logic to handle the WS_DISABLED window style
  6058. - EnableWindow: Implemented based on Hwnd.Enabled
  6059. - GetMessage: Reset PostQuitState so the method can be called again
  6060. - Implemented support for disabled windows (passing messages to the
  6061. first enabled parent) in handling all input messages
  6062. - Added optimizations for handling Expose events
  6063. - Implemeted new driver method IsEnabled()
  6064. - Now always resetting paint pending tracking vars when we start paint
  6065. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  6066. * XplatUIOSX.cs: Added IsEnabled method stub
  6067. * XplatUIWin32.cs: Implemented new IsEnabled() method
  6068. 2006-01-11 Jackson Harper <[email protected]>
  6069. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6070. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  6071. variables a little.
  6072. * ColorDialog.cs: Clear out the old form before adding the new
  6073. panel.
  6074. 2006-01-11 Jackson Harper <[email protected]>
  6075. * X11Dnd.cs: Make sure to add all the text formats when adding
  6076. strings to the data object.
  6077. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  6078. do some redrawing too. Also change the UpdateNode to an
  6079. UpdateBelow so the newly added node gets painted.
  6080. 2006-01-11 Miguel de Icaza <[email protected]>
  6081. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6082. LinkLabel.cs, PropertyGrid.cs: Implement the
  6083. UseCompatibleTextRendering property for 2.x
  6084. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  6085. 2006-01-11 Jackson Harper <[email protected]>
  6086. * TreeView.cs: Use the property for setting the selected node so
  6087. the correct events get raised.
  6088. * TreeNode.cs: Update the tree when the fore/back colours of a
  6089. node are set.
  6090. 2006-01-10 Jackson Harper <[email protected]>
  6091. * TreeView.cs: Allow setting SelectedNode to null.
  6092. 2006-01-9 Jonathan Chambers <[email protected]>
  6093. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6094. 2006-01-9 Jonathan Chambers <[email protected]>
  6095. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6096. 2006-01-9 Jonathan Chambers <[email protected]>
  6097. * PrintDialog.cs: Added attributes and set default property values.
  6098. 2006-01-9 Jonathan Chambers <[email protected]>
  6099. * PrintControllerWithStatusDialog.cs:
  6100. Added PrintControllerWithStatusDialog.
  6101. 2006-01-9 Jonathan Chambers <[email protected]>
  6102. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6103. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6104. 2006-01-9 Jonathan Chambers <[email protected]>
  6105. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6106. 2006-01-09 Jonathan Chambers <[email protected]>
  6107. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6108. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6109. 2006-01-08 Alexander Olk <[email protected]>
  6110. * MimeIcon.cs: Added internal class SVGUtil.
  6111. 2006-01-08 Alexander Olk <[email protected]>
  6112. * FileDialog.cs: Don't crash if there are two files with the
  6113. same name but different locations.
  6114. 2006-01-08 John BouAntoun <[email protected]>
  6115. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6116. dates across multiple month grids. Used to not highlight entire
  6117. month, but does now.
  6118. 2006-01-06 Jackson Harper <[email protected]>
  6119. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6120. message loop. Change timer intervals to numbers that seem more
  6121. natural.
  6122. 2006-01-06 John BouAntoun <[email protected]>
  6123. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6124. object for location info since screen object is now implemented.
  6125. 2006-01-05 Jackson Harper <[email protected]>
  6126. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6127. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6128. AsyncMethodResult, this is because we ALWAYS want the
  6129. ManualResetEvent to get set.
  6130. * Control.cs: When disposing use an async invoke to call shutdown
  6131. code, so that thigns don't block on the finalizer thread. Also
  6132. check if we even have a message loop before trying to send
  6133. messages, if we don't then don't bother sending messages.
  6134. - No more weak references for async methods
  6135. * XplatUIDriver.cs: No more weak references for async methods.
  6136. 2006-01-04 Alexander Olk <[email protected]>
  6137. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6138. returns two FontFamily with the same name
  6139. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6140. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6141. drawing disabled text. Instead using the ColorGrayText color
  6142. 2006-01-04 Jackson Harper <[email protected]>
  6143. * TreeNode.cs: redraw the node when its image index is changed.
  6144. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6145. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6146. time I checked there are no others like it.
  6147. 2006-01-04 Jackson Harper <[email protected]>
  6148. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6149. this gives the behavoir I was looking for.
  6150. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6151. and fixes part of bug #76326.
  6152. 2006-01-04 Alexander Olk <[email protected]>
  6153. * ThemeClearlooks.cs, FileDialog.cs:
  6154. - Reflect the latest Theme class changes
  6155. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6156. with DateTime
  6157. 2006-01-04 Alexander Olk <[email protected]>
  6158. * Theme.cs: Cache UI resource images and resize them if needed
  6159. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6160. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6161. is called. This fixes the crash in Nexxia when setting the font
  6162. attributes in the chat. [However, RTF needs a look-over to make sure
  6163. that all SelectionXXX methods handle the special case that selection
  6164. is empty and therefore the change must be applied to all text starting
  6165. at the cursor/selection start]
  6166. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6167. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6168. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6169. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6170. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6171. * Theme.cs: Added theme interface for images to allow the theme to
  6172. control what images are used for things like FileDialog, MessageBox
  6173. icons, etc.
  6174. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6175. 2006-01-03 Alexander Olk <[email protected]>
  6176. * FileDialog.cs:
  6177. - Removed some dead code
  6178. - Opening a recently used file does work now
  6179. - Small UI enhancements
  6180. - Refactoring
  6181. 2006-01-02 Alexander Olk <[email protected]>
  6182. * FileDialog.cs: Forgot too add __MonoCS__
  6183. 2006-01-02 Alexander Olk <[email protected]>
  6184. * FileDialog.cs: We are able to read recently used files now let's
  6185. go on and write them.
  6186. 2006-01-01 Alexander Olk <[email protected]>
  6187. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6188. button
  6189. * MimeIcon.cs: Do a check for the top level media type also
  6190. 2005-12-31 Alexander Olk <[email protected]>
  6191. * ThemeClearlooks.cs:
  6192. - Added CPDrawStringDisabled
  6193. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6194. some chars if the text doesn't fit into text_rect
  6195. - DrawListViewItem: If View = View.LargeIcon center the image;
  6196. rewrote the drawing of ListViewItem.Text if View =
  6197. View.LargeIcon
  6198. 2005-12-31 Alexander Olk <[email protected]>
  6199. * MimeIcon.cs: Use default KDE icon theme if there is no
  6200. "48x48" directory for the current icon theme, fixes #77114
  6201. * Mime.cs: Disable not working and actually not used code.
  6202. * ThemeWin32Classic.cs:
  6203. - Replace "new SolidBrush" in GetControlBackBrush and
  6204. GetControlForeBrush with ResPool.GetSolidBrush
  6205. - Changed DrawListViewItem from private to protected virtual
  6206. * FileDialog.cs:
  6207. - Added form.MaximizeBox = true
  6208. - Don't throw an exception if there is a broken symbolic link
  6209. 2005-12-23 Jackson Harper <[email protected]>
  6210. * TabControl.cs: Give the panels focus, keyboard navigation is
  6211. fixed so this works correctly now.
  6212. - We need these key events also.
  6213. * ToolBar.cs: Remove some of the poor mans double buffering.
  6214. 2005-12-24 Alexander Olk <[email protected]>
  6215. * ComboBox.cs: The internal TextBox now returns the focus.
  6216. 2005-12-23 Jackson Harper <[email protected]>
  6217. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6218. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6219. * Control.cs: Removed debug code
  6220. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6221. implicit children
  6222. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6223. * Control.cs: When creating the control, update the Z-order after
  6224. all it's children are created, too. (Fixes nexxia not showing
  6225. picturebox bug)
  6226. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6227. * Control.cs: Do not update the anchoring distances if layout is
  6228. suspended, instead do it once layout is resumed
  6229. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6230. * Control.cs:
  6231. - After many hours of debugging, for both Jackson and
  6232. myself, it turns out that it helps to set the parent of a control
  6233. if you want to actually see it onscreen. In the spirit of that
  6234. discovery, we're now setting the parent of the control and
  6235. it's children when the control's handle is created. This fix
  6236. will make Lutz Roeder's Reflector run happily.
  6237. - now just creating the handle instead of the whole control when
  6238. getting a graphics context for the control.
  6239. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6240. * ScrollableControl.cs: When calculating the canvas, don't consider
  6241. the scrollbar widths. Instead, predict if horizontal scrollbar
  6242. will affect canvas when deciding on vertical display and vice versa.
  6243. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6244. * RichTextBox.cs: Set default RTF font for documents that don't
  6245. have a font table (Fixes #77076)
  6246. 2005-12-22 Jackson Harper <[email protected]>
  6247. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6248. clipboard. This prevents a NullRef in that case.
  6249. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6250. clipboard. PRIMARY is for the currently selected text only. (We
  6251. should implement PRIMARY at some point.
  6252. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6253. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6254. a Unicode function with a structure that was defined in Ansi way.
  6255. This fixes #76942.
  6256. 2005-12-21 Jackson Harper <[email protected]>
  6257. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6258. on. Because thats how it rolls. (and this avoids it using ambient
  6259. colours).
  6260. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6261. * Menu.cs: Use the system menu bar color for drawing menu
  6262. bars. Using the window back color will bring ambient colours into
  6263. the picture.
  6264. 2005-12-21 Alexander Olk <[email protected]>
  6265. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6266. Bitmaps were created and not disposed.
  6267. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6268. * Control.cs (CreateControl): Don't do anything if the control is
  6269. already created, otherwise we'd fire the OnCreated event more than
  6270. once
  6271. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6272. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6273. will always match. Instead return -1. Fixes #76464.
  6274. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6275. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6276. neither the beginning nor the end of the line (Fixes bug #76479)
  6277. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6278. * Control.cs:
  6279. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6280. where handle is invalid
  6281. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6282. instead of slower linear search
  6283. * NativeWindow.cs: Don't remove the window from the hashtable until
  6284. after the driver has destroyed it (since the driver might use
  6285. Control.FromHandle to lookup the control object
  6286. * Hwnd.cs: Added DestroyPending property to track if a window is
  6287. already destroyed as far as the driver is concerned and only hasn't
  6288. yet notified the control
  6289. * XplatUIX11.cs:
  6290. - Activate(): Check if the window is still valid before using the
  6291. handle
  6292. - Implemented DestroyChildWindow() method to mark child windows as
  6293. destroyed when a window is destroyed. This prevents situations
  6294. where we might call an X method based on queued events for a
  6295. window that already has been destroyed but we haven't yet pulled
  6296. the destroy method from the queue.
  6297. - Added a call to the new DestroyChildWindow() method to the drivers
  6298. DestroyWindow code. Also now marking the destroyed window itself
  6299. as pending
  6300. 2005-12-20 Jackson Harper <[email protected]>
  6301. * StatusBar.cs:
  6302. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6303. anymore. Just do them when needed, also track the rects of panels
  6304. so that we can optimize refreshing more in the future.
  6305. 2005-12-20 Alexander Olk <[email protected]>
  6306. * ColorDialog.cs: Fixed focus drawing in small color controls
  6307. 2005-12-19 Jackson Harper <[email protected]>
  6308. * InternalWindowManager.cs:
  6309. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6310. moving windows works properly.
  6311. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6312. * Control.cs:
  6313. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6314. it's only called when a control is added to a container
  6315. - Split InitLayout logic, moved to separate UpdateDistances() method
  6316. since we need to perform those calculations more often than just
  6317. when adding the control to a container. (Needed to fix #77022)
  6318. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6319. - Reduced the OnBindingContextChanged events count, don't send them
  6320. unless the control is created, we still aren't totally matching
  6321. MS, but I can't quite figure out some of their rules
  6322. 2005-12-18 Alexander Olk <[email protected]>
  6323. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6324. stripes
  6325. 2005-12-18 Alexander Olk <[email protected]>
  6326. * ThemeClearlooks.cs:
  6327. - Updated ProgressBar drawing
  6328. - Corrected drawing of ScrollBars and scroll buttons
  6329. - Some temporary fixes for minor pixel artefacts
  6330. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6331. * Control.cs:
  6332. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6333. cause events to be sent in the same order as MS does.
  6334. - Added ChangeParent() method to trigger various OnXXXChanged events
  6335. that need to be fired when a parent changes (This is a reworking
  6336. of the patch from r54254, with the X11 errors fixed)
  6337. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6338. since on MS we get OnLayoutChanged events when calling Clear()
  6339. - Changed Enabled property to consider parent state as well, if a
  6340. parent is not enabled, the control will not be either
  6341. - Changed Parent property to simply call Controls.Add() since that
  6342. now does all the work required, this way we avoid code duplication
  6343. - Threw in a few OnBindingsContextChanged calls to try and match
  6344. when MS sends them. We seem to send a few too many, though.
  6345. - Added call to CreateControl when adding the control to a parent.
  6346. We were never calling CreateControl. Still needs some work, in
  6347. some places we treat HandleCreated and ControlCreated as equal,
  6348. which is wrong
  6349. - Removed obsolete commented out code from UpdateZOrder()
  6350. 2005-12-18 Alexander Olk <[email protected]>
  6351. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6352. 2005-12-17 Alexander Olk <[email protected]>
  6353. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6354. 2005-12-17 Alexander Olk <[email protected]>
  6355. * FileDialog.cs: Add the Help button and the open readonly
  6356. checkbox only if needed
  6357. 2005-12-16 Jackson Harper <[email protected]>
  6358. * Control.cs: Make sure we have an active menu before trying to
  6359. process commands on it. Prevents menu-less forms from crashing
  6360. when Alt is pressed.
  6361. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6362. Dieter Bremes.
  6363. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6364. 2.0 build.
  6365. 2005-12-16 Jackson Harper <[email protected]>
  6366. * InternalWindowManager.cs: Don't translate tool windows screen
  6367. coordinates. This fixes windows 'bouncing' around when being moved.
  6368. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6369. * TextBoxBase.cs:
  6370. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6371. not quite MS compatible, MS uses that number only for single line
  6372. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6373. the limit at 2GB)
  6374. - Now enforcing the MaxLength limit when entering characters
  6375. - Added argument to internal Paste() method to track if it's called
  6376. from programatically or via keyboard, since keyboard driven pastes
  6377. need to enforce max-length
  6378. - Added logic to Paste to only paste as many chars as MaxLength
  6379. allows
  6380. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6381. * TextControl.cs:
  6382. - Added Length property to return number of characters in document
  6383. - Added private CharCount property which only tracks actual chars
  6384. in the document (no linefeeds) and fires event when CharCount
  6385. changes
  6386. - Added tracking of character count to all methods that alter it
  6387. - Added LengthChanged event to allow applications to subscribe
  6388. to any changes to the document
  6389. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6390. * TextBox.cs:
  6391. - Removed local password_char field (moved to TextBoxBase)
  6392. - Now setting the document's password var when password is
  6393. set
  6394. * TextBoxBase.cs:
  6395. - Added password_char field (needed here so MultiLine can
  6396. access it)
  6397. - Added logic to MultiLine property setter to set the document's
  6398. variable when password display is allowed
  6399. - Removed debug code and made some debug code conditional
  6400. * TextControl.cs:
  6401. - Added RecalculatePasswordLine() method to handle special password
  6402. char only lines
  6403. - Added PasswordChar property, also added related tracking vars
  6404. - Draw() method now uses local text var for grabbing text to draw,
  6405. this var is set to line.text unless we're doing password display,
  6406. then it is set to the pre-generated all-password-chars line
  6407. - Added calling RecalculatePasswordLine() method for password lines
  6408. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6409. * Hwnd.cs:
  6410. - Added Reparented property to allow tracking of Window Manager
  6411. reparenting actions (which affect X/Y calculations of toplevel
  6412. windows)
  6413. - Made ToString() print window handles in hex
  6414. * XplatUIX11.cs:
  6415. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  6416. determine if X/Y needs offsetting
  6417. - AddConfigureNotify(): Fixed offset calculations
  6418. - Now adds ReparentNotify messages into the queue
  6419. - Now processes ReparentNotify messages and causes a
  6420. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  6421. is reparented (as most likely it's X/Y coordinates are changed
  6422. due to that)
  6423. 2005-12-14 Jackson Harper <[email protected]>
  6424. * XplatUIX11.cs: Tool windows still need to respek focus.
  6425. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6426. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  6427. have a working release
  6428. 2005-12-13 Jackson Harper <[email protected]>
  6429. * Form.cs: Update styles after setting the border style regardless
  6430. of whether or not the window is using a window manager.
  6431. 2005-12-13 Jackson Harper <[email protected]>
  6432. * Form.cs: We now hook into an internal window manager instead of just an
  6433. MDI subsystem, this is so we can have properly behaving tool windows.
  6434. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  6435. * InternalWindowManager.cs: New internal class that acts as a
  6436. window manager for tool windows and as a base for mdi windows.
  6437. * MdiWindowManager.cs: New class that acts as a window manager for
  6438. mdi windows.
  6439. 2005-12-12 Jackson Harper <[email protected]>
  6440. * Control.cs: Updates so we match behavoir for for implicit
  6441. controls. Fixes explosions in MDI.
  6442. 2005-12-12 Jackson Harper <[email protected]>
  6443. * Control.cs: Implement Invalidate (Region).
  6444. 2005-12-12 Peter Dennis Bartok <[email protected]>
  6445. * Control.cs:
  6446. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  6447. the same events as MS does. MS fires events for each property
  6448. except, for unknown reasons, Cursor, when the control is reparented.
  6449. I can't seem to totally match add/remove since MS also fires some
  6450. VisibleChanged events, which makes no sense. Consolidated the
  6451. parenting code into a separate method so it can be called from
  6452. both Add and Remove. set_Parent no longer needs any special logic
  6453. as it calls the parent's add method which implicitly fires
  6454. all events
  6455. - Removed some obsolete code and debug output
  6456. - Enabled state is inherited from parents, if this is enabled
  6457. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6458. * Form.cs: Removed commented out code
  6459. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6460. * Control.cs:
  6461. - Added internal version of Invoke, with additional argument
  6462. indicating if we're calling it from a Dispose() handler. That
  6463. way we can avoid BeginInvoke throwing an exception if we're
  6464. calling for an already destroyed window.
  6465. - Added a dispose argument to BeginInvokeInternal, and made the
  6466. check if a valid window handle chain exists conditional on
  6467. it not being a dispose call
  6468. - Removed code in DestroyHandle to destroy our children. Since we
  6469. now handle the WM_DESTROY message we will catch all our children
  6470. being destroyed.
  6471. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  6472. * Form.cs:
  6473. - Added a field to track the application context of the form.
  6474. - No need to set closing variable as response to WM_CLOSE, instead
  6475. we destroy the window. We also call PostQuitMessage if the form
  6476. has an application context (which makes it the main app form,
  6477. which, when closed terminates the app)
  6478. * XplatUI.cs:
  6479. - Dropped Exit() method, it's naming was confusing
  6480. - Added PostQuitMessage() which causes GetMessage to return false
  6481. once the message queue is empty
  6482. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  6483. PostQuitMessage()
  6484. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  6485. no longer a valid XplatUI method, but left it in since it's used
  6486. internally. Added empty PostQuitMessage() method.
  6487. * MenuAPI.cs: Replaced call to Exit() with call to
  6488. PostQuitMessage, even though this is probably no longer needed.
  6489. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  6490. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  6491. * Application.cs:
  6492. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  6493. - Removed old debug code that would call XplatUI for exception
  6494. display, enabled standard exception handling (Still not enabled
  6495. though, until NativeWindow's ExternalExceptionHandler define
  6496. is removed
  6497. * NativeWindow.cs:
  6498. - Added internal method to allow control to update NativeWindow
  6499. after a window has been destroyed
  6500. - Added handling of already destroyed windows when calling i
  6501. DestroyWindow
  6502. - Added removal of handle from list on ReleaseHandle
  6503. * XplatUIX11.cs:
  6504. - Dropped GetMessageResult var and related code
  6505. - Added PostQuitState to field to track if PostQuitMessage has been
  6506. called
  6507. - Dropped Exit() method
  6508. - Added PostQuitMessage() method
  6509. - GetMessage now will return false if PostQuitState is set and no
  6510. more messages are in the queue.
  6511. - Expose handler will no longer generate WM_PAINT messages if we are
  6512. in PostQuitState since it's very likely any windows have already
  6513. been destroyed, and since Hwnd won't get updated until we have
  6514. processed the DestroyNotify we'd be causing X errors.
  6515. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6516. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  6517. Thanks to Mike for pointing out the err of my ways.
  6518. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6519. * Control.cs(PreProcessMessage): Moved menu handling back, but
  6520. after all other key handling, to match MS (who handles Menu in
  6521. DefWndProc)
  6522. * Menu.cs (WndProc): Removed my brainfart
  6523. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6524. * Control.cs(PreProcessMessage): Removed special menu handling
  6525. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  6526. 2005-12-07 Mike Kestner <[email protected]>
  6527. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  6528. state according in tracker.
  6529. * Menu.cs : promote tracker field to base class and provide a tracker
  6530. lookup capability. Add/Remove shortcuts dynamically if the top menu
  6531. has a tracker. Unparent items that are removed from the collection.
  6532. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  6533. * Theme*.cs: add always_show_hotkeys field to support configurability
  6534. of mnemonic display. win32 doesn't show mnemonics until Alt is
  6535. pressed.
  6536. 2005-12-07 Jackson Harper <[email protected]>
  6537. * MdiChildContext.cs: Use Control.ResetCursor.
  6538. * Control.cs: ResetCursor needs to set the property so that the
  6539. correct XplatUI call gets made.
  6540. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6541. * Control.cs: More fixes to make our key events match MS. We
  6542. were not setting the modifier state on KeyData, and we were
  6543. not generating any events when Alt was pressed with a key
  6544. since handling of WM_SYSxxx was missing for the OnKey methods.
  6545. 2005-12-07 Jackson Harper <[email protected]>
  6546. * MdiChildContext.cs: reenable the sizing code.
  6547. - When the mouse leaves a window reset its cursor.
  6548. 2005-12-07 Alexander Olk <[email protected]>
  6549. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  6550. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6551. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  6552. widths of Fixed3D borders
  6553. 2005-12-07 Jackson Harper <[email protected]>
  6554. * MdiClient.cs: Fix warnings. Earn Mike's love.
  6555. 2005-12-07 Alexander Olk <[email protected]>
  6556. * ThemeClearlooks.cs:
  6557. - Adjusted mouse over button color
  6558. - Added first parts of CheckBox drawing
  6559. - Added correct color for selected text background
  6560. - Fixed ComboBox drawing
  6561. - Added CPDrawBorder3D and CPDrawBorder
  6562. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6563. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  6564. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6565. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6566. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  6567. alert users via sound. We could add an enum arg with different
  6568. types of alerts in the future
  6569. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6570. * Control.cs: Fix behaviour problems pointed out by Mike
  6571. 2005-12-05 Mike Kestner <[email protected]>
  6572. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  6573. prop setters. Calls parent.Refresh for now, but could be maybe be
  6574. optimized with an internal method on StatusBar at some point.
  6575. [Fixes #76513]
  6576. 2005-12-05 Peter Dennis Bartok <[email protected]>
  6577. * RichTextBox.cs: Implemented get_SelectionColor
  6578. 2005-12-05 Alexander Olk <[email protected]>
  6579. * ThemeClearlooks.cs:
  6580. - Removed dead code
  6581. - Draw black button border only if button is Form.AcceptButton
  6582. - Draw correct button color for pressed RadioButton if the mouse
  6583. has entered the button
  6584. - Updated ProgressBar drawing!
  6585. - Updated CPDrawSizeGrip drawing
  6586. - Updated StatusBarPanel drawing
  6587. 2005-12-05 Mike Kestner <[email protected]>
  6588. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  6589. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  6590. 2005-12-04 Alexander Olk <[email protected]>
  6591. * ThemeClearlooks.cs: Initial check-in, activate with
  6592. export MONO_THEME=clearlooks
  6593. * ThemeEngine.cs: Added ThemeClearlooks
  6594. 2005-12-03 Mike Kestner <[email protected]>
  6595. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  6596. [Fixes #76897]
  6597. 2005-12-02 Jackson Harper <[email protected]>
  6598. * Form.cs: If the child form has no menu the default main menu is
  6599. used as the active menu.
  6600. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6601. * ListBox.cs: Check if any items exist before trying to resolve
  6602. coordinates into items
  6603. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6604. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  6605. as the second color for the background hatch
  6606. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6607. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  6608. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  6609. sure that what we pass to FormatText is always 1-based. Fixes #76885
  6610. 2005-11-29 Miguel de Icaza <[email protected]>
  6611. * NumericUpDown.cs (EndInit): When we are done initializing,
  6612. reflect any updates on the UI.
  6613. 2005-12-02 Jackson Harper <[email protected]>
  6614. * ImplicitHScrollBar.cs:
  6615. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  6616. their container controls.
  6617. * TreeView.cs: Use the new implicit scrollbars.
  6618. 2005-12-02 Jackson Harper <[email protected]>
  6619. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  6620. can play with it.
  6621. * TreeNodeCollection.cs: If we remove the topnode we need to
  6622. update topnode to the next node in line.
  6623. - When clearing nodes go through the same process as removing
  6624. them, so they get depareneted and checked if they are top node.
  6625. 2005-12-01 Jackson Harper <[email protected]>
  6626. * TreeView.cs: When imagelists are used the image area is
  6627. selectable as well as the text.
  6628. - If there are no selected nodes select the first one.
  6629. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  6630. so don't do it more then we need to.
  6631. 2005-12-01 Jackson Harper <[email protected]>
  6632. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  6633. that arrows can be scaled.
  6634. 2005-12-01 Jackson Harper <[email protected]>
  6635. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  6636. fail. Patch by Dieter Bremes
  6637. 2005-11-30 Jackson Harper <[email protected]>
  6638. * Form.cs: Property is 2.0 only
  6639. * PrintDialog.cs: Signature fix.
  6640. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6641. * TextControl.cs:
  6642. - No longer artificially moves text 2 pixels down (now that we have
  6643. borders this is no longer needed)
  6644. - Added calcs for left, hanging and right indent
  6645. 2005-11-23 Mike Kestner <[email protected]>
  6646. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  6647. 2005-11-30 Jackson Harper <[email protected]>
  6648. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  6649. get cloned as part of CloneMenu ().
  6650. * Menu.cs: Make sure the parent of the items get set correctly
  6651. when they are added. And the owners are notified of the changes.
  6652. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  6653. we can change the menu being displayed/handled by the form without
  6654. changing the menu assosciated with the form.
  6655. - Don't let Mdi children draw/handle menus.
  6656. 2005-11-30 Jackson Harper <[email protected]>
  6657. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  6658. a MenuChanged event. Just to make the API a little more
  6659. consistent.
  6660. * MainMenu.cs:
  6661. * MenuItem.cs: Use the new OnMenuChanged
  6662. * MdiChildContext.cs: Handle menu merging.
  6663. * Form.cs: Implement MergedMenu.
  6664. 2005-11-30 Jackson Harper <[email protected]>
  6665. * Menu.cs: We were misusing Add. Add goes behind the specified
  6666. index according to the docs, and does not replace the specified
  6667. index. So I added an Insert method.
  6668. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6669. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  6670. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  6671. is for Jackson
  6672. * RichTextBox.cs: Added calls to base for DnD events
  6673. 2005-11-28 Peter Dennis Bartok <[email protected]>
  6674. * TextControl.cs:
  6675. - Fixed drag-selection related crash; style fixes
  6676. - Implemented undo class
  6677. o Implemented method to capture document state for specified
  6678. range in document tree
  6679. o Implemented method to restore captured document state
  6680. o Implemented cursor tracking
  6681. o Implemented basic undo stack
  6682. - Added undo cursor tracking to methods altering cursor location
  6683. - Added undo tracking to selection deletion (still missing
  6684. other text-altering hookups)
  6685. * RichTextBox.cs:
  6686. - Added SelectionLength property
  6687. - Implemented CanPaste()
  6688. - Implemented Paste()
  6689. - Added missing protected methods
  6690. - Fixed RTF->Document conversion; now uses font index 0 and color
  6691. index 0 as the default font for the parsed text
  6692. - Fixed RTF<->Document font size translation
  6693. - Fixed RTF generation, now properly handles cross-tag boundaries
  6694. for single line selection
  6695. - No longer always appends blank line to generated RTF
  6696. - Removed TODOs
  6697. - Added missing attributes
  6698. - Hooked up undo-related methods
  6699. * TextBoxBase.cs:
  6700. - Implemented Copy()
  6701. - Implemented Paste()
  6702. - Implemented Cut()
  6703. - Fixed caret mis-behaviour on backspace across line-boundaries
  6704. 2005-11-29 Jackson Harper <[email protected]>
  6705. * MdiClient.cs: Add a method for activating mdi children. Very
  6706. basic right now. I imagine someday it might need more girth.
  6707. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  6708. children windows names are added to the menu item.
  6709. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  6710. mdilist. This happens regardless of whether or not there are any
  6711. mdi windows to see in the list, and according to my tests happens
  6712. before the items are even added. Also happens if there isn't even
  6713. an mdi client to get windows from.
  6714. 2005-11-29 Alexander Olk <[email protected]>
  6715. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  6716. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  6717. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  6718. * DataGridTableStyle.cs:
  6719. - Create always the styles for the missing columns even if they are
  6720. provided by the user (not default table style)
  6721. * DataGrid.cs:
  6722. - Fixes bug 76770
  6723. - Fixes SetDataBinding (always re-attach source)
  6724. - Fixes SetNewDataSource (only clear styles if they are not for
  6725. this source)
  6726. - Expands OnTableStylesCollectionChanged to handle style refresh
  6727. and remove properly
  6728. 2005-11-29 Jackson Harper <[email protected]>
  6729. * FileDialog.cs: Implement missing bits, remove some dead
  6730. code.
  6731. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  6732. creation of the panel so that the options set on the dialog are
  6733. seen when the panel is created.
  6734. * TreeView.cs: raise a click when items are clicked.
  6735. 2005-11-29 Jackson Harper <[email protected]>
  6736. * MdiClient.cs: Pass some signature methods through to base.
  6737. 2005-11-28 Jackson Harper <[email protected]>
  6738. * ListView.cs: Raise the click event when items are clicked.
  6739. 2005-11-28 Jackson Harper <[email protected]>
  6740. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  6741. a nullref.
  6742. 2005-11-27 Alexander Olk <[email protected]>
  6743. * ThemeNice.cs: - Removed 1 pixel bitmaps
  6744. - Use SmoothingMode.AntiAlias where it makes sense
  6745. (ScrollButton arrow for example)
  6746. - Enhanced Button focus drawing
  6747. - Fixed ComboBox drawing (no artefacts anymore, focus
  6748. rectangle is back again, reduced size of ComboButton, etc.)
  6749. - Fixed RadioButton focus drawing for Appearence.Button
  6750. - Slight ScrollButton redesign
  6751. - Some LinearGradientBrush size fixes
  6752. - GroupBoxes have now rounded edges
  6753. - Fixed StatusBar drawing
  6754. 2005-11-25 Alexander Olk <[email protected]>
  6755. * ThemeNice.cs: - Remove dead code
  6756. - use correct background colors for menus, etc.
  6757. - Fake pixel drawing with 1 pixel bitmaps
  6758. 2005-11-24 Jackson Harper <[email protected]>
  6759. * MdiClient.cs: Size the scrollbars when resizing the window.
  6760. - Resize the maximized windows when the client is resized
  6761. * Form.cs: Make the child context available
  6762. 2005-11-23 Jackson Harper <[email protected]>
  6763. * MdiChildContext.cs: Don't size windows if they are maximized.
  6764. 2005-11-23 Mike Kestner <[email protected]>
  6765. * ContextMenu.cs: use MenuTracker.
  6766. * Control.cs: remove menu handle usage.
  6767. * Form.cs: remove menu handle usage.
  6768. * Hwnd.cs: remove menu handle usage.
  6769. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  6770. motion and clicks to the new Tracker handlers.
  6771. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  6772. and handle usage.
  6773. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  6774. Killed the MENU and MENUITEM data types and associated collections
  6775. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  6776. MenuTracker class that exposes the leftovers from the old MenuAPI
  6777. static methods. Restructured Capture handling so that only one grab is
  6778. done for the entire menu hierarchy instead of handing off grabs to
  6779. submenus. Tracker now has an invisible control to Capture when active.
  6780. * MenuItem.cs: add sizing accessors, kill Create
  6781. and handle usage.
  6782. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  6783. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  6784. MENU(ITEM). remove menu handle usage, use Menu directly.
  6785. * XplatUIDriver.cs: remove menu handle usage.
  6786. * XplatUIOSX.cs: remove menu handle usage.
  6787. * XplatUIWin32.cs: remove menu handle usage.
  6788. * XplatUIX11.cs: remove menu handle usage.
  6789. 2005-11-22 Jackson Harper <[email protected]>
  6790. * Hwnd.cs: Don't compute the menu size for
  6791. DefaultClientRectangle.
  6792. - Reenable menu sizes being computed for GetClienRectangle.
  6793. * Form.cs: Remove comment of trechery
  6794. 2005-11-22 Jackson Harper <[email protected]>
  6795. * Hwnd.cs: The adjustments for the menu bar are made when it is
  6796. attached to the form.
  6797. 2005-11-19 Jackson Harper <[email protected]>
  6798. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  6799. (just like on windows).
  6800. 2005-11-19 Jackson Harper <[email protected]>
  6801. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  6802. use real buttons anymore because they are in non client area. The
  6803. one TODO here is that I need to somehow invalidate a section of
  6804. the non client area.
  6805. 2005-11-18 Jackson Harper <[email protected]>
  6806. * Control.cs: Put the enum check back in now that MDI doesnt have
  6807. to use this to set border styles.
  6808. * Form.cs: Only set mdi child windows borders if the handle has
  6809. been created.
  6810. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  6811. this directly on to the driver.
  6812. - Get the move start position before adjusting for the titlebar
  6813. height, this fixes the windows "skipping" when they are first
  6814. moved.
  6815. 2005-11-18 Jackson Harper <[email protected]>
  6816. * XplatUIX11.cs: Just compute the mdi borders separately as they
  6817. don't totally match up with normal form borders.
  6818. 2005-11-18 Jackson Harper <[email protected]>
  6819. * Control.cs: Set WS_ styles for borders, so that the driver does
  6820. not have to retrieve the control instance to figure out what kind
  6821. of borders it should have.
  6822. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  6823. driver can know its an mdi child easily.
  6824. * XplatUIX11.cs: Get the border styles and whether the window is
  6825. MDI from the Styles and ExStyles params instead of having to get a
  6826. control. This prevents a chicken and egg problem.
  6827. 2005-11-18 Jackson Harper <[email protected]>
  6828. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  6829. 2005-11-18 Jackson Harper <[email protected]>
  6830. * MdiClient.cs: Calculate when to add and remove scrollbars
  6831. correctly.
  6832. * MdiChildContext.cs: Adjust the y position to take the titlebar
  6833. into account.
  6834. - No height for FormBorderStyle.None
  6835. 2005-11-18 Jackson Harper <[email protected]>
  6836. * Control.cs: Allow non enum values to be used for
  6837. InternalBorderStyle. MDI does this to set a special border style.
  6838. - New utility methods for converting points to/from client coords
  6839. - Add the newly created control to the Controls collection before
  6840. updating its style. This way UpdateStyle can walk the control
  6841. heirarchy to find the control if needed.
  6842. so I don't need to create a new Point object all the time.
  6843. * Form.cs: Let MDI windows handle their border styles.
  6844. - Set styles on MDI windows so the correct title style is derived.
  6845. * MdiChildContext.cs: Move all the painting and window handling
  6846. into the non client area.
  6847. - Use correct sizing and put correct buttons on frames based on
  6848. the FormBorderStyle.
  6849. - Notify the mdi client about scrolling
  6850. - Need to handle the buttons ourselves now, because they are all
  6851. in non client areas and we can't add controls there.
  6852. * MdiClient.cs: Halfway to scrolling, this implementation is
  6853. somewhat broken though, we need to check to make sure other
  6854. windows aren't causing scrolling before removing the bars. Also
  6855. the bars need to be drawn on top, maybe I can switch implicit
  6856. controls to be on top.
  6857. * Hwnd.cs: caption_height and tool_caption_height are now
  6858. properties of an hwnd, this way they can be set by the driver
  6859. based on the type of window they are. In X11 the window manager
  6860. handles the decorations so caption_height is zero unless its an
  6861. MDI window.
  6862. - Add 3 pixel borders for MDI windows (0xFFFF).
  6863. - Get rid of some code duplication, have DefaultClientRectanle
  6864. just call GetClientRectangle.
  6865. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  6866. Hwnd now.
  6867. - Set border styles differently for mdi windows.
  6868. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  6869. Hwnd now.
  6870. 2005-11-15 Mike Kestner <[email protected]>
  6871. * Menu.cs: when adding an item to the collection, if item is already
  6872. parented, remove it from the parent.
  6873. 2005-11-13 Alexander Olk <[email protected]>
  6874. * X11DesktopColors.cs: Added KDE support
  6875. 2005-11-11 Peter Dennis Bartok <[email protected]>
  6876. * XplatUIWin32.cs:
  6877. - Clipboard methods now can translate Rtf format
  6878. - No longer removes clipboard contents whenever a new format is added
  6879. to allow placing multiple formats on the clipboard
  6880. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  6881. will place all formats contained in it onto the clipboard. Also
  6882. now cleans the clipboard before placing a new object onto it
  6883. * RichTextBox.cs:
  6884. - Implemented set_Rtf
  6885. - Implemented set_SelectedRtf
  6886. - Created InsertRTFFromStream() method to allow single code base
  6887. for all properties and methods that insert RTF into document
  6888. - Removed debug output
  6889. * TextControl.cs:
  6890. - Fixed Delete(int) to fix up line numbers
  6891. - Fixed ReplaceSelection to combine start and end line
  6892. - Fixed serious DeleteChars bug that would leave the document tree
  6893. broken
  6894. - Improved DumpTree with several logic checks to detect broken
  6895. document trees
  6896. - Removed debug lines
  6897. - Fixed Caret.WordForward/WordBack moving code, now always also
  6898. updates caret.tag (fixes crash when word-selecting across tag
  6899. boundaries via keyboard)
  6900. - Added Insert() method for inserting multiline text into documents
  6901. - Fixed DeleteChars() calculation errors that would cause a broken
  6902. tag chain with multiple tag lines
  6903. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  6904. - Split() no longer moves caret if split is at caret location
  6905. - ReplaceSelection() now updates the cursor and re-displays it
  6906. - ReplaceSelection() now uses new Insert() method to avoid code
  6907. duplication
  6908. - FormatText() can now handle formatting partial lines
  6909. * TextBoxBase.cs:
  6910. - Append now uses new TextControl.Insert() method (this avoids
  6911. duplicate code)
  6912. - Implemented Ctrl-X (Cut) (
  6913. - Implemented Ctrl-C (Copy)
  6914. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  6915. regeneration when pasting text; roundtripping Copy&Paste within
  6916. edit control still fails due to some calculation bugs in GenerateRTF)
  6917. - The Delete key will now remove the current selection if it is visible
  6918. * TextBox.cs: Removed debug lines
  6919. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  6920. driver to be initialized and can't therefore be done via a static ctor)
  6921. 2005-11-10 Peter Dennis Bartok <[email protected]>
  6922. * TextControl.cs: Added backend code for finding char arrays and strings
  6923. * TextBoxBase.cs:
  6924. - Added mouse wheel scroll support
  6925. - Added support for VScroll and HScroll events
  6926. * RichTextBox.cs:
  6927. - Implemented all seven Find() variants
  6928. - Implemented GetCharFromPosition()
  6929. - Implemented GetCharIndexFromPosition()
  6930. - Implemented GetLineFromIndex()
  6931. - Implemented GetPositionFromCharIndex();
  6932. - Implemented SaveFile for PlainText and UnicodeText
  6933. - Fixed set_Font, now setting a new font applies that font to
  6934. the whole document
  6935. - Implemented generic Document to RTF converter
  6936. - Implemented SaveFile for RichText format (still missing unicode
  6937. conversion for non-ansi chars)
  6938. - Implemented get_Rtf
  6939. - Implemented get_SelectedRtf
  6940. 2005-11-09 Peter Dennis Bartok <[email protected]>
  6941. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  6942. to allow any captures to be released before triggering OnClick. This
  6943. way a click handler may capture the mouse without interference.
  6944. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  6945. This way we send them even though X may not allow a grab (if the window
  6946. isn't visible, for example)
  6947. 2005-11-08 Pedro Martinez Julia <[email protected]>
  6948. * DataGridViewRowEventArgs.cs: DataGridView implementation
  6949. * DataGridViewElement.cs: DataGridView implementation
  6950. * DataGridViewComboBoxCell.cs: DataGridView implementation
  6951. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  6952. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  6953. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  6954. * ImageLayout.cs: DataGridView implementation
  6955. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  6956. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  6957. * DataGridViewSelectionMode.cs: DataGridView implementation
  6958. * IDataGridViewEditingControl.cs: DataGridView implementation
  6959. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  6960. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  6961. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  6962. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  6963. * DataGridViewColumnSortMode.cs: DataGridView implementation
  6964. * DataGridView.cs: DataGridView implementation
  6965. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  6966. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  6967. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  6968. * Padding.cs: DataGridView implementation
  6969. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  6970. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  6971. * DataGridViewRowEventHandler.cs: DataGridView implementation
  6972. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  6973. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  6974. * DataGridViewButtonCell.cs: DataGridView implementation
  6975. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  6976. * DataGridViewEditMode.cs: DataGridView implementation
  6977. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  6978. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  6979. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  6980. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  6981. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  6982. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  6983. * DataGridViewCellEventHandler.cs: DataGridView implementation
  6984. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  6985. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  6986. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  6987. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  6988. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  6989. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  6990. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  6991. * QuestionEventArgs.cs: DataGridView implementation
  6992. * IDataGridViewEditingCell.cs: DataGridView implementation
  6993. * DataGridViewTriState.cs: DataGridView implementation
  6994. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  6995. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  6996. * DataGridViewColumnCollection.cs: DataGridView implementation
  6997. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  6998. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  6999. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  7000. * DataGridViewColumn.cs: DataGridView implementation
  7001. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  7002. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7003. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  7004. * DataGridViewRow.cs: DataGridView implementation
  7005. * DataGridViewImageCellLayout.cs: DataGridView implementation
  7006. * DataGridViewImageCell.cs: DataGridView implementation
  7007. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  7008. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  7009. * DataGridViewHeaderCell.cs: DataGridView implementation
  7010. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  7011. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  7012. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  7013. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  7014. * QuestionEventHandler.cs: DataGridView implementation
  7015. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  7016. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  7017. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7018. * DataGridViewCell.cs: DataGridView implementation
  7019. * DataGridViewCellEventArgs.cs: DataGridView implementation
  7020. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  7021. * DataGridViewCellStyle.cs: DataGridView implementation
  7022. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  7023. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  7024. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  7025. * TextFormatFlags.cs: DataGridView implementation
  7026. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  7027. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  7028. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  7029. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  7030. * DataGridViewButtonColumn.cs: DataGridView implementation
  7031. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  7032. * HandledMouseEventArgs.cs: DataGridView implementation
  7033. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  7034. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  7035. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  7036. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  7037. * DataGridViewRowCollection.cs: DataGridView implementation
  7038. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  7039. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  7040. * DataGridViewHitTestType.cs: DataGridView implementation
  7041. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  7042. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  7043. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  7044. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  7045. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  7046. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  7047. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  7048. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  7049. * DataGridViewContentAlignment.cs: DataGridView implementation
  7050. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  7051. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  7052. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  7053. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  7054. * DataGridViewPaintParts.cs: DataGridView implementation
  7055. * DataGridViewCellCollection.cs: DataGridView implementation
  7056. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  7057. * DataGridViewImageColumn.cs: DataGridView implementation
  7058. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  7059. * DataGridViewElementStates.cs: DataGridView implementation
  7060. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  7061. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  7062. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  7063. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  7064. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  7065. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  7066. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  7067. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  7068. * DataGridViewTextBoxCell.cs: DataGridView implementation
  7069. * DataGridViewBand.cs: DataGridView implementation
  7070. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  7071. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  7072. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  7073. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  7074. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  7075. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  7076. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  7077. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  7078. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7079. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  7080. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  7081. 2005-11-08 Peter Dennis Bartok <[email protected]>
  7082. * ThemeWin32Classic.cs:
  7083. - Draw the outside focus rectangle around buttons
  7084. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  7085. doesn't use end caps for every dash of a line anymore. This
  7086. workaround ignores the forecolor.
  7087. 2005-11-08 Kornél Pál <[email protected]>
  7088. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  7089. endian safe.
  7090. 2005-11-07 Jackson Harper <[email protected]>
  7091. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7092. 2005-11-07 Jackson Harper <[email protected]>
  7093. * ScrollableControl.cs: Calculate the maximum and change vars
  7094. (more) correctly so that scrollbars appear as a sensible size.
  7095. 2005-11-04 Jackson Harper <[email protected]>
  7096. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7097. collection.
  7098. * TreeView.cs: When the tree is sorted null out the top_node so
  7099. that it is recalculated.
  7100. - Use dotted lines instead of dashed lines to match MS better.
  7101. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7102. * ListView.cs:
  7103. - Implements key search for items. Useful when browsing files with FileDialog
  7104. - When changing view mode or when clear the items reset scrollbar positions
  7105. 2005-11-04 Jackson Harper <[email protected]>
  7106. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7107. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7108. as to what the method may do as there is no real way of creating a
  7109. derived CurrencyManager and calling the method.
  7110. 2005-11-03 Jackson Harper <[email protected]>
  7111. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7112. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7113. method which seems to just be used internally to refresh the tabs.
  7114. 2005-11-03 Jackson Harper <[email protected]>
  7115. * TabControl.cs: Implement the remove method. Fix some broken
  7116. comments.
  7117. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7118. * DateTimePicker.cs:
  7119. - Added missing DateTimePickerAccessibleObject class
  7120. - Added missing events
  7121. - Added OnFontChanged method
  7122. * Form.cs: Added missing attributes
  7123. * TreeView.cs: Added missing attributes
  7124. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7125. * GridItemCollection.cs: Fix signatures
  7126. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7127. * XplatUI.cs: Updated build rev/date
  7128. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7129. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7130. * Application.cs: Trigger context-specific ExitThread events
  7131. 2005-11-03 Jackson Harper <[email protected]>
  7132. * Menu.cs:
  7133. * MainMenu.cs:
  7134. * GridTableStylesCollection.cs:
  7135. * Timer.cs:
  7136. * TabPage.cs:
  7137. * HelpProvider.cs:
  7138. * StatusBar.cs:
  7139. * MonthCalendar.cs: Signature fixes
  7140. 2005-11-03 Jackson Harper <[email protected]>
  7141. * TreeNodeCollection.cs: Remove should not be virtual.
  7142. * TreeView.cs: Implement the last of the missing methods.
  7143. 2005-11-03 Jackson Harper <[email protected]>
  7144. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7145. 2005-11-03 Jackson Harper <[email protected]>
  7146. * TreeView.cs: Hookup the bits for drag and drop.
  7147. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7148. that nodes can be moved from tree to tree easily this just causes
  7149. all sorts of problems.
  7150. * TreeNodeCollection: Don't need to give treenodes an index and
  7151. treeview anymore when they are added, these are computed on the
  7152. fly. Also make sure to remove a node before its added.
  7153. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7154. * TextControl.cs:
  7155. - Added CaretSelection enum
  7156. - Added comparison methods to Marker struct, makes selection code
  7157. more readable
  7158. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7159. the CaretDirection enum and handler
  7160. - Added selection_prev variable to track optimized invalidation for
  7161. word and line selection
  7162. - Added SelectionVisible property (returns true if there is a valid
  7163. selection)
  7164. - Switched CaretHasFocus to only display the caret if there is no
  7165. visible selection
  7166. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7167. using the direct character index; should be much faster
  7168. - Added various conditional debug statements
  7169. - Fixed invalidation calculation for selection ranges
  7170. - Added ExpandSelection() method to support word and line selection
  7171. - Switched SetSelectionToCaret to use new Marker compare overloads
  7172. - Added central IsWordSeparator() method to determine word
  7173. separators/whitespace and FindWordSeparator() to streamline common
  7174. usage of IsWordSeparator()
  7175. * TextBoxBase.cs:
  7176. - Removed unneeded grabbed variable, it was just mirroring
  7177. Control.Capture
  7178. - No longer firing OnTextChanged event when Text setter is called,
  7179. since the base will fire the event for us
  7180. - Added handling of Ctrl-Up/Down selection
  7181. - Added handling of Shift-Cursorkey selection
  7182. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7183. words
  7184. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7185. - Removed some debug output
  7186. - Added handling for single/double/tripple-click to place caret/
  7187. select word/select line respectively (Fixes bug #76031)
  7188. - Added support for drag expansion of word/line selection
  7189. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7190. current selection
  7191. 2005-11-02 Jackson Harper <[email protected]>
  7192. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7193. copy the data instead of sending it out through the X Selection
  7194. mechanism.
  7195. 2005-11-02 Jackson Harper <[email protected]>
  7196. * X11Dnd.cs:
  7197. * XplatUIX11.cs: When in a drag we don't want motion notify
  7198. messages to get passed on to the other controls. This prevents
  7199. mouse move messages from showing up in the drag source.
  7200. 2005-11-02 Jackson Harper <[email protected]>
  7201. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7202. the correct button is release to end a drag.
  7203. * XplatUIX11.cs: Make the button state internal so the drag system
  7204. can access it. Dragging needs to know about all button releases,
  7205. not just left button.
  7206. 2005-11-02 Miguel de Icaza <[email protected]>
  7207. * Form.cs (Icon): If the icon is null, reset the icon to the
  7208. default value.
  7209. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7210. number of colors, but hardcode those to two (black and white),
  7211. fixes the loading of color cursors (Paint Dot Net).
  7212. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7213. turn off autoscaling.
  7214. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7215. 2005-11-02 Jackson Harper <[email protected]>
  7216. * X11Dnd.cs: Make sure to send a status message if the pointer
  7217. enters a control that can not accept a drop, otherwise the cursor
  7218. isn't updated correctly. Also tried to compress the lines of code
  7219. a bit.
  7220. 2005-11-02 Jackson Harper <[email protected]>
  7221. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7222. set actions correctly. This isn't perfect as XDND and win32 have
  7223. some differences on how you allow actions. I'll clear this up by
  7224. adding a path for drag from MWF to MWF windows.
  7225. * XplatUIX11.cs: Hook into the dnd system.
  7226. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7227. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7228. previously shown but they are no longer need it. Very obvious when
  7229. browsing files with FileDialog.
  7230. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7231. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7232. ignore AllPaintingInWmPaint and always do the painting there, whether
  7233. it's set or not, since we always ignore the WM_ERASEBKGND message
  7234. (which we don't generate on X11). This fixes #76616.
  7235. * Panel.cs: Removed unneeded background painting. This happens properly
  7236. in Control.cs already
  7237. 2005-10-31 Mike Kestner <[email protected]>
  7238. * Menu.cs: Add items to collection before setting their index.
  7239. * MenuItem.cs : add range checking with ArgumentException like MS.
  7240. [Fixes #76510]
  7241. 2005-10-31 Jackson Harper <[email protected]>
  7242. * ListBox.cs: Invalidate if the area is visible at all not just
  7243. contained in the visible rect. Fixes unselection of semi visible
  7244. items.
  7245. 2005-10-31 Jackson Harper <[email protected]>
  7246. * Control.cs: Consistently name the dnd methods. Make them
  7247. internal so we can override them to match some MS behavoir
  7248. internally.
  7249. * Win32DnD.cs: Use the new consistent names.
  7250. 2005-10-31 Jackson Harper <[email protected]>
  7251. * TreeView.cs: Don't draw the selected node when we lose focus.
  7252. 2005-10-31 Jackson Harper <[email protected]>
  7253. * X11Dnd.cs: We still need to reset the state even though a full
  7254. reset isn't being done, otherwise status's still get sent all over
  7255. the place.
  7256. 2005-10-31 Jackson Harper <[email protected]>
  7257. * Control.cs: Make the dnd_aware flag internal so the dnd
  7258. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7259. match MS behavoir.
  7260. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7261. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7262. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7263. flags to reduce the number of dnd enters/status's sent.
  7264. 2005-10-31 Jackson Harper <[email protected]>
  7265. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7266. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7267. * PictureBox.cs: Fixes 76512
  7268. 2005-10-28 Jackson Harper <[email protected]>
  7269. * X11Dnd.cs: Early implementation to support winforms being a drag
  7270. source for data on X11. Also restructured the converters so they
  7271. can go both ways now.
  7272. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7273. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7274. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7275. clipboard requests
  7276. 2005-10-27 Jackson Harper <[email protected]>
  7277. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7278. 2005-10-24 Kornél Pál <[email protected]>
  7279. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7280. TreeView.cs: Don't dispose objects that are not owned.
  7281. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7282. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7283. should retrieve the current cursor and report that, but XplatUI
  7284. doesn't (yet) have an interface for that (and I'm not sure I even
  7285. can, on X11)
  7286. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7287. until any message loop processing is done (and the WM_SETCURSOR
  7288. replaces the cursor to the proper one)
  7289. * XplatUIX11.cs:
  7290. - Fixed override behaviour, we can't set the cursor globally on X11,
  7291. just for our windows.
  7292. - Invalidating the System.Drawing X11 display handle when we are
  7293. shutting down
  7294. * Control.cs: Fix to make csc happy
  7295. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7296. * TextBoxBase.cs:
  7297. - get_Text: Add last line (without trailing newline) to returned
  7298. value (Fixes 76212)
  7299. - get_TextLength: Count last line in returned length
  7300. - ToString: Call Text property instead of duplicating code
  7301. 2005-10-23 Kornél Pál <[email protected]>
  7302. * ImageList.cs: Dispose ImageAttributes objects.
  7303. 2005-10-22 Kornél Pál <[email protected]>
  7304. * ImageList.cs: Use attribute constructors with less arguments where
  7305. possible.
  7306. 2005-10-22 Kornél Pál <[email protected]>
  7307. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7308. Use typeof instead of strings when assembly is referenced. Added
  7309. some more comments.
  7310. 2005-10-21 Jackson Harper <[email protected]>
  7311. * ListView.cs: Raise a double click event. Also tried to somewhat
  7312. fix when the selectedindexchanged event is raised. Its still
  7313. broken though.
  7314. 2005-10-21 Jackson Harper <[email protected]>
  7315. * TreeView.cs: New method to invalidate the plus minus area of a
  7316. node without invalidating the whole node (maybe this can be used
  7317. in some more places).
  7318. * TreeNodeCollection.cs: When adding to an empty node we need to
  7319. invalidate its plus minus area so the little block shows up.
  7320. 2005-10-21 Jackson Harper <[email protected]>
  7321. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7322. are big enough to cover the selected box and the focus
  7323. rectangle. Use a different colour for the lines connecting nodes
  7324. so they show up with all themes.
  7325. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7326. * NativeWindow.cs: Don't call anything that could call into the driver,
  7327. we might be on a different thread.
  7328. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7329. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7330. make sure that we call methods that could call into the driver via
  7331. invoke, to avoid thread issues
  7332. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7333. * XplatUI.cs: Removed finalizer
  7334. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7335. not allowing to be called on the finalizer thread.
  7336. 2005-10-21 Kornél Pál <[email protected]>
  7337. * ImageList.cs:
  7338. - Reverted r51889 and r51891.
  7339. - Added ImageListItem class that stores unmodified image items and image
  7340. properties required to create list images until handle is created.
  7341. - Added AddItem and moved image creation logic to AddItemInternal.
  7342. - Added CreateHandle method that creates images based on unmodified items.
  7343. - Added DestroyHandle that changes state to store unmodified items.
  7344. - Add and AddStrip methods no more create handle.
  7345. - ReduceColorDepth has no return value.
  7346. - Dispose destroys handle.
  7347. - Modified other methods to reflect the above changes.
  7348. - Implemented key support.
  7349. - Added profile 2.0 members and attributes.
  7350. - Added private Reset and ShouldSerialize methods that provide the same
  7351. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7352. them as they are private.
  7353. - Added some more comments about implementation details.
  7354. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7355. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7356. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7357. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7358. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7359. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7360. * DataGridColumnStyle.cs: Remove debug message
  7361. 2005-10-20 Jackson Harper <[email protected]>
  7362. * TreeView.cs: We can always get input keys regardless of whether
  7363. or not editing is enabled. They are used for navigation.
  7364. 2005-10-20 Jackson Harper <[email protected]>
  7365. * TreeNode.cs: Use the viewport rect for determining if a node
  7366. needs to be moved for visibility. Don't use Begin/End edit. This
  7367. calls a full refresh when its done.
  7368. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7369. rect property internal so the treenodes can see it. When clicking
  7370. on a node we need to ensure that its visible because it might just
  7371. be partly visible when clicked.
  7372. 2005-10-20 Jackson Harper <[email protected]>
  7373. * TreeNodeCollection.cs: Remove debug code.
  7374. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7375. * Datagrid.cs: Implements column sorting in Datagrid
  7376. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7377. 2005-10-20 Jackson Harper <[email protected]>
  7378. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7379. area after removing them.
  7380. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7381. * Datagrid.cs: Should not call base.OnPaintBackground
  7382. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7383. * XplatUIX11.cs (GetMessage):
  7384. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7385. window instead of client window
  7386. - Now properly calculates NC_xBUTTONUP message coordinates
  7387. - ScreenToMenu now properly calculates it's coordinates of whole
  7388. window, since menus are in the whole window, not in the client
  7389. window
  7390. - Added WholeToScreen coordinate translation method
  7391. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7392. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7393. want to return a message, loop back to the beginning of the function
  7394. and grab the next real message to process instead.
  7395. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7396. * Splitter.cs: Properly set limits if no filler control is used
  7397. 2005-10-19 Jackson Harper <[email protected]>
  7398. * ColorDialog.cs: Don't show the help button if it is not enabled
  7399. instead of disabling it (this is what MS does). Don't create the
  7400. panel until the dialog is run, otherwise the vars (such as
  7401. ShowHelp) are not set yet.
  7402. 2005-10-19 Jackson Harper <[email protected]>
  7403. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7404. are reduced when adding nodes.
  7405. * TreeNode.cs:
  7406. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  7407. tree.
  7408. 2005-10-19 Jackson Harper <[email protected]>
  7409. * FolderBrowserDialog.cs: End editing our treeview so the window
  7410. actually gets refreshed.
  7411. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7412. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  7413. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  7414. inside of WM_PAINT
  7415. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7416. * MenuAPI.cs: Returns after Hidding window
  7417. * XplatUIX11.cs: Added TODO found while debugging menu issues
  7418. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7419. * XplatUIX11.cs: Do not re-map the whole window when it's size
  7420. becomes non-zero unless it's supposed to be actually visible
  7421. 2005-10-18 Jackson Harper <[email protected]>
  7422. * TreeView.cs: We don't need to keep a count anymore.
  7423. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  7424. use the Grow method.
  7425. 2005-10-18 Jackson Harper <[email protected]>
  7426. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  7427. implement it manually here.
  7428. 2005-10-18 Jackson Harper <[email protected]>
  7429. * ImageList.cs: Dont kill the list when the colour depth is
  7430. changed, just change the colour depth of all the images.
  7431. - Same goes for setting the image size. Just resize them all
  7432. instead of killing the list softly.
  7433. 2005-10-18 Jackson Harper <[email protected]>
  7434. * Control.cs: Don't invalidate empty rectangles.
  7435. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7436. * ListViewItem.cs:
  7437. - Adds checked item to the Checked/Item lists (where empty before)
  7438. - Do not add items to the Selected lists if they are already present
  7439. * ListView.cs:
  7440. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  7441. - When deleting items make sure that we delete them for the Selected
  7442. and Checked list also.
  7443. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7444. * Label.cs: Dispose objects no longer used
  7445. * ThemeWin32Classic.cs: Dispose objects no longer used
  7446. 2005-10-18 Jackson Harper <[email protected]>
  7447. * TabControl.cs: Don't refresh the whole control when the tabs are
  7448. scrolled, we just need to refresh the tab area.
  7449. 2005-10-17 Jackson Harper <[email protected]>
  7450. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  7451. after handle when we need it.
  7452. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7453. * Control.cs: When the parent size changes, recalculate anchor
  7454. positions. Partial fix for #76462
  7455. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7456. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  7457. drawn. Fixes #76462
  7458. 2005-10-17 Jackson Harper <[email protected]>
  7459. * MonthCalendar.cs: Don't create the numeric up down until our
  7460. handle is created. Otherwise our handle is created in the
  7461. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  7462. yet.
  7463. 2005-10-17 Jackson Harper <[email protected]>
  7464. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  7465. correctly.
  7466. 2005-10-17 Rafael Teixeira <[email protected]>
  7467. * TreeNode.cs : small logical fix (was using local var instead of field)
  7468. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7469. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  7470. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7471. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  7472. 2005-10-16 Peter Dennis Bartok <[email protected]>
  7473. * Control.cs:
  7474. - Re-implemented anchoring code. My first version was really broken.
  7475. This fixes bug #76033. Unlike the previous implementation we will
  7476. no longer have round errors since all numbers are calculated from
  7477. scratch every time. Removed various anchor-related obsolete vars.
  7478. - InitLayout no longer causes layout event firing and layout to be
  7479. performed
  7480. 2005-10-16 Jackson Harper <[email protected]>
  7481. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  7482. which was broken).
  7483. 2005-10-16 Jackson Harper <[email protected]>
  7484. * TabControl.cs: Remove debug code.
  7485. 2005-10-16 Jackson Harper <[email protected]>
  7486. * XEventQueue.cs: Increase the default queue size (very simple
  7487. apps needed to grow the queue).
  7488. * Hwnd.cs: No finalizer so we don't need to suppress
  7489. finalization. Compute the invalid area manually so a new rectangle
  7490. does not newto be created.
  7491. * ScrollableControl.cs: Don't set any params (otherwise visibility
  7492. isn't set correctly).
  7493. * MdiChildContext.cs: New constructor takes the mdi parent so it
  7494. doesn't have to be computed and avoids a crash on windows. Draw
  7495. the window icon properly, and allow the text to be seen.
  7496. * Form.cs: Use new MdiChildContext constructor. Make sure the
  7497. child context isn't null in wndproc.
  7498. * TabControl.cs: Don't set focus, this is muddling keyboard
  7499. behavoir. Expand the tab rows when a window size increase will
  7500. allow extra tabs to be seen. Don't allow tabs smaller than the
  7501. width of a window to be scrolled out of view.
  7502. * TreeNode.cs:
  7503. * TreeView.cs: Use measure string to calculate a nodes width, the
  7504. width is cached and only updated when the text or the font is
  7505. changed. Don't check for expand/collapse clicks on the first level
  7506. nodes if root lines are disabled.
  7507. 2005-10-16 Ritvik Mayank <[email protected]>
  7508. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  7509. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7510. * DataGridBoolColumn.cs: fixes warning
  7511. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7512. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  7513. to match more to match more precisely the MS Net behavior
  7514. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7515. * Hwnd.cs: Added field to track if window is mapped
  7516. * XplatUIX11.cs:
  7517. - Unmap windows if they become 0-size, re-map when
  7518. they are >0 again; fixes #76035
  7519. - Re-set our error handler after initializing X11Desktop
  7520. to override any error handlers Gtk or whatever was called
  7521. may have set.
  7522. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7523. * CheckedListBox.cs: Removed unused vars
  7524. * ListView.cs: Fixed signatures
  7525. * RichTextBox.cs: Removed unused vars
  7526. * TextBoxBase.cs: Removed unused vars
  7527. * XplatUIWin32.cs: Removed unused vars
  7528. * XplatUIX11.cs: Removed unused vars
  7529. * XplatUI.cs: Updated version and date to latest published
  7530. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7531. * Cursor.cs: Added private .ctor to work around a bug in
  7532. resourceset (Thanks to Geoff Norton for the help on this)
  7533. * SplitterEventArgs.cs: Made fields accessible so we don't
  7534. waste boatloads of objects and can reuse the same one
  7535. in Splitter
  7536. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  7537. any captions and borders when generating screen coordinates
  7538. * Splitter.cs: Reimplemented control, now fully complete, uses
  7539. rubberband drawing, supports and obeys all properties, has
  7540. proper cursors
  7541. 2005-10-13 Miguel de Icaza <[email protected]>
  7542. * Form.cs (Form): Setup default values for autoscale and
  7543. autoscale_base_size; Make these instance variables, not static
  7544. variables.
  7545. (OnLoad): on the first load, adjust the size of the form.
  7546. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7547. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  7548. width argument to DrawReversibleRectangle()
  7549. * XplatUIWin32.cs, XplatUIX11.cs:
  7550. - Implemented width for DrawReversibleRectangle()
  7551. - Added logic to DrawReversibleRectangle that recognizes a zero
  7552. width or height and only draws a line in that situation
  7553. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7554. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  7555. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  7556. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  7557. method (it uses our FosterParent window to get a graphics context)
  7558. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7559. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  7560. and SetWindowBackground methods
  7561. * Control.cs:
  7562. - Setting proper ControlStyles
  7563. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  7564. EraseWindowBackground, instead we draw the window background
  7565. ourselves in PaintControlBackground. This behaviour is
  7566. required to match MS, where, when OnPaintBackground is not
  7567. called, the background is not drawn.
  7568. - Removed unneeded Refresh() in set_Text
  7569. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  7570. * XplatUIX11.cs:
  7571. - Created DeriveStyles method to translate from CreateParams to
  7572. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  7573. matches FormBorderStyle enum values)
  7574. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  7575. style calculations into single DeriveStyles method
  7576. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  7577. from redrawing the whole window on any resize or expose.
  7578. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  7579. all styles were applied to our whole/client window appropriately
  7580. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7581. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  7582. no longer clear/redraw the background through X
  7583. - Removed handling of erase_pending bit, we have no use for it (or
  7584. so it seems)
  7585. * XplatUIOSX.cs:
  7586. - Removed generation and handling of WM_ERASEBKGND message
  7587. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7588. - Removed handling of hwnd.ErasePending flag
  7589. * XplatUIWin32.cs:
  7590. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7591. - We no longer call EraseWindowBackground on PaintEventStart, we
  7592. ignore the fErase flag, erasing is handled in Control in the
  7593. background handler
  7594. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  7595. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  7596. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  7597. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  7598. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  7599. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  7600. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  7601. 2005-10-12 Jonathan Chambers <[email protected]>
  7602. * PropertyGrids.cs: Get sub properties
  7603. * PropertyGridView.cs: Fix drawing code
  7604. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7605. * ListBox.cs: Fixes 76383
  7606. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7607. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  7608. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  7609. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  7610. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7611. * ComboBox.cs: Fixes border drawing
  7612. 2005-10-10 Miguel de Icaza <[email protected]>
  7613. * MimeIcon.cs: Ignore errors if the file can not be read.
  7614. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7615. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  7616. - Fixed border calculations
  7617. - Fixed horizontal scrolling in single column listboxes
  7618. - Fixed drawing issues
  7619. 2005-10-10 Peter Dennis Bartok <[email protected]>
  7620. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  7621. FormBorderStyle enum
  7622. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  7623. code to determine FormBorderStyles from CreateParams
  7624. * Form.cs:
  7625. - Fixed bug where we'd set the wrong window styles if we were
  7626. not creating an MDI window
  7627. - Added call to XplatUI.SetBorderStyle when form borders are set
  7628. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  7629. * Hwnd.cs:
  7630. - Removed obsolete edge style
  7631. - Switched from BorderStyle to FormBorderStyle
  7632. 2005-10-10 Jackson Harper <[email protected]>
  7633. * Form.cs: Use the property to get the window handle instead of
  7634. accessing it directly. Prevents a null reference exception.
  7635. 2005-10-10 Jackson Harper <[email protected]>
  7636. * TreeView.cs: Don't adjust the rect given to DrawString now that
  7637. our libgdiplus draws correctly.
  7638. 2005-10-08 Jackson Harper <[email protected]>
  7639. * TreeView.cs: Don't try to find the clicked on node if there are
  7640. no nodes in the tree.
  7641. 2005-10-08 Alexander Olk <[email protected]>
  7642. * RichTextBox.cs:
  7643. restore
  7644. 2005-10-08 Alexander Olk <[email protected]>
  7645. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  7646. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  7647. ErrorProvider.cs:
  7648. Use ResPool for brushes and dispose System.Drawing objects that
  7649. are not used anymore.
  7650. 2005-10-07 Jackson Harper <[email protected]>
  7651. * MdiChildContext.cs: Use the new borders instead of drawing them
  7652. ourselves.
  7653. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7654. * Calling UpdateBounds after changing the window's BorderStyle
  7655. since the style can change the ClientSize
  7656. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7657. * Control.cs: Made PaintControlBackground virtual
  7658. * Panel.cs: Overriding PaintControlBackground instead of using paint
  7659. event; paint event method was interfering with 'real' users of the
  7660. event.
  7661. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7662. * ThemeWin32Classic.cs: remove border drawing since it is handled
  7663. by the base control class now and was causing double border drawing.
  7664. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7665. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  7666. but it does seem to match MS behaviour. This fixes bug #75324
  7667. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7668. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  7669. somewhat hackish looking
  7670. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7671. * TextBoxBase.cs:
  7672. - We now accept Enter even if AcceptEnter is false, if the containing
  7673. form does not have an AcceptButton configured (fixes bug #76355)
  7674. - Calculations are now fixed to no longer use Width/Height, but
  7675. ClientSize.Width/Height, since we now support borders (this was
  7676. a result of fixing borders and therefore bug #76166)
  7677. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  7678. true (fixes bug #76354)
  7679. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7680. * Control.cs:
  7681. - Defaulting BorderStyle and setting it in XplatUI when our window
  7682. is created
  7683. - Added enum check to InternalBorderStyle setter
  7684. * XplatUIX11.cs:
  7685. - Added drawing of window borders
  7686. - Now properly calculates WM decorations offset for toplevel
  7687. windows (fixes bug #74763)
  7688. * XplatUIWin32.cs:
  7689. - Implemented BorderStyles for windows (we're letting win32 draw
  7690. the border for us)
  7691. - Fixed the signature for SetWindowLong
  7692. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  7693. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  7694. setting borders
  7695. * UpDownBase.cs: Remove drawing of borders, this is handled by
  7696. the driver, outside the client area
  7697. * ListView.cs: Removed bogus border calculations. The control should
  7698. be oblivious to borders, since those are not part of the client
  7699. area.
  7700. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  7701. * ThemeWin32Classic.cs: Removed border calculations from ListView
  7702. drawing code
  7703. 2005-10-06 Jackson Harper <[email protected]>
  7704. * MdiChildContext.cs: Clear out the old virtual position remove
  7705. all the unneeded calls to CreateGraphics.
  7706. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7707. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  7708. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7709. * Form.cs:
  7710. - Added loading and setting of our new default icon
  7711. - Only set icon if window is already created
  7712. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7713. * Label.cs:
  7714. - Do not explicitly set the foreground and background colors, to
  7715. allow inheriting from parents (fixes #76302)
  7716. - Use Control's InternalBorderStyle property to deal with borders
  7717. 2005-10-06 Jackson Harper <[email protected]>
  7718. * MdiChildContext.cs: Use the new xplatui function to draw a
  7719. reversible rect.
  7720. 2005-10-06 Jackson Harper <[email protected]>
  7721. * Form.cs: Add the parent before creating the child context cause
  7722. we need the parent when setting up the child.
  7723. 2005-10-06 Jackson Harper <[email protected]>
  7724. * FolderBrowserDialog.cs: redo the tree population code so a
  7725. second thread isn't used. Should be a lot faster and more stable
  7726. now.
  7727. 2005-10-05 Jackson Harper <[email protected]>
  7728. * TreeView.cs: There are no expand/collapse boxes if the node has
  7729. no children.
  7730. 2005-10-05 Jackson Harper <[email protected]>
  7731. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  7732. 2005-10-05 Alexander Olk <[email protected]>
  7733. * FileDialog.cs: Fix InitialDirectory
  7734. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7735. * ComboBox.cs:
  7736. - Fixes changing between styles
  7737. - Fixes simple mode
  7738. - Fixes last item crashing when navigating with keyboard
  7739. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7740. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  7741. 2005-10-05 Jackson Harper <[email protected]>
  7742. * TreeView.cs: If updating the root node do a full refresh.
  7743. * TreeNode.cs: The root node should be expanded by default. Also
  7744. added a utility prop to tell if we are the root node.
  7745. * TreeNodeCollection.cs: Only refresh if the node we are being
  7746. added to is expanded. Also added a comment on a potential
  7747. optimization.
  7748. 2005-10-04 Peter Dennis Bartok <[email protected]>
  7749. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  7750. in dispose method. Fixes #76330
  7751. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  7752. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  7753. - Implements vertical and horizontal scrolling using XplatUI
  7754. - Fixes keyboard navagation
  7755. - Fixes EnsureVisible
  7756. - Drawing fixes
  7757. - Handles and draws focus properly
  7758. 2005-10-04 Kornél Pál <[email protected]>
  7759. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  7760. Create handle. NET_2_0: Destroy handle when value is null.
  7761. 2005-10-03 Jackson Harper <[email protected]>
  7762. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  7763. revert and a new patch to prevent the thumb from refreshing so
  7764. much.
  7765. 2005-10-02 Jackson Harper <[email protected]>
  7766. * ScrollBar.cs: Don't update position if it hasn't actually
  7767. changed. This occurs when you hold down the increment/decrement
  7768. buttons and the thumb gets to the max/min.
  7769. 2005-10-01 Jackson Harper <[email protected]>
  7770. * Form.cs:
  7771. * MdiChildContext.cs:
  7772. * MdiClient.cs: Implement ActiveMdiChild in Form.
  7773. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  7774. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  7775. 2005-10-01 Peter Dennis Bartok <[email protected]>
  7776. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  7777. be found
  7778. 2005-09-30 Jackson Harper <[email protected]>
  7779. * ListBox.cs: Don't do a full refresh unless some data has
  7780. actually changed.
  7781. 2005-09-30 Jackson Harper <[email protected]>
  7782. * TreeView.cs: Make sure that the checkboxes size is factored in
  7783. even when not visible.
  7784. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7785. * FileDialog.cs: Fix Jordi's build break
  7786. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7787. * FileDialog.cs:
  7788. - Use standard the Windows colours for the combobox as espected
  7789. - Dispose objects that use resouces when no longer need them
  7790. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7791. * X11DesktopColors.cs: Initial incomplete implementation
  7792. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  7793. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7794. * Theme.cs:
  7795. - Switched Theme color names to match the names defined in
  7796. System.Drawing.KnownColors. Life's hard enough, no need to make
  7797. it harder.
  7798. - Added setters to all theme color properties so themes can set
  7799. their color schemes. The setters also propagate the color changes
  7800. to System.Drawing.KnownColors via reflection
  7801. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  7802. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  7803. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  7804. use the new, more logical theme color names
  7805. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  7806. post-NT colors
  7807. * ThemeWin32Classic.cs:
  7808. - Removed code to set the old classic Windows colors. Instead it
  7809. now relies on the colors returned by System.Drawing.KnownColors
  7810. which will be either modern static colors (Unix) or colors
  7811. read from the user's configuration (Win32)
  7812. - Updated to use the new, more logical theme color names
  7813. - Switched DataGrid drawing code to use only Theme colors instead of
  7814. a mix of System.Drawing.KnownColors and Theme colors
  7815. - DrawFrameControl(): Removed code that fills the button area, the
  7816. fill would overwrite any previous fill done by a control. This
  7817. fixes bug #75338
  7818. - Added DrawReversibleRectangle() stub
  7819. * ScrollableControl.cs: Set visible state to false when scrollbars
  7820. are removed (pdn fix)
  7821. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  7822. DrawReversibleRectangle() method to allow drawing primitive
  7823. 'rubber bands'
  7824. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  7825. 2005-09-30 Kornél Pál <[email protected]>
  7826. * ImageList.cs: Add(Icon): Create handle.
  7827. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7828. * ListView.cs:
  7829. * ThemeWin32Classic.cs:
  7830. - Fixes detail mode
  7831. - Sets clippings
  7832. - Issues with drawing
  7833. 2005-09-30 Kornél Pál <[email protected]>
  7834. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  7835. source has to be the ImageList.
  7836. 2005-09-30 Kornél Pál <[email protected]>
  7837. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  7838. 2005-09-30 Kornél Pál <[email protected]>
  7839. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  7840. 2005-09-30 Kornél Pál <[email protected]>
  7841. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  7842. 2005-09-29 Jonathan Chambers <[email protected]>
  7843. * GridItem.cs: Fixed TODOs
  7844. * GridItemCollection.cs: Added ICollection interface
  7845. 2005-09-30 Kornél Pál <[email protected]>
  7846. * ImageList.cs: Resize icons when needed.
  7847. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  7848. * ListViewItem.cs
  7849. - Fixes GetBounds and returns on screen rects
  7850. * ListView.cs:
  7851. - Fixes vertical and horzintal scrolling of items
  7852. * ThemeWin32Classic.cs:
  7853. - Fixes drawing
  7854. 2005-09-29 Raja R Harinath <[email protected]>
  7855. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  7856. 2005-09-29 Kornél Pál <[email protected]>
  7857. * ImageList.cs: Added comments about handle creation. Moved Handle,
  7858. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  7859. Handle is created in Add methods.
  7860. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7861. * DataGridDrawingLogic.cs:
  7862. - Takes rows into account on Colum calculations
  7863. - Returns the column when clickig
  7864. * DataGrid.cs:
  7865. - Fixes default HitTestInfo values
  7866. - Fixes HitTestInfo.ToString
  7867. - Fixes ResetBackColor
  7868. 2005-09-28 Jackson Harper <[email protected]>
  7869. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  7870. sizing or cursor changes). Also added some temp code to draw the
  7871. titlebars text (Makes dev a little easier).
  7872. 2005-09-28 Kornél Pál <[email protected]>
  7873. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  7874. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7875. * ListBox.cs: Fixes bug 76253
  7876. 2005-09-28 Kornél Pál <[email protected]>
  7877. * ImageList.cs: Added comments about the current implementation. Added
  7878. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  7879. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  7880. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  7881. with Bitmap.LockBits for better performance. Revised the whole file to
  7882. match MS.NET behaviour and provide better performance. Non-public
  7883. interface members are calling public members even when they throw
  7884. NotSupportedException for better maintainability. Moved ColorDepth,
  7885. ImageSize, ImageStream and TransparentColor implementations to
  7886. ImageCollection for better performance as these properties are not used
  7887. by ImageList.
  7888. * ImageListStreamer.cs: Added a new internal constructor that takes an
  7889. ImageList.ImageCollection and serializes Images based on
  7890. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  7891. match ImageList property name.
  7892. 2005-09-28 Kazuki Oikawa <[email protected]>
  7893. * ListBox.cs: Fixes IndexFromPoint for last item
  7894. 2005-09-27 Jackson Harper <[email protected]>
  7895. * Form.cs: Set the position of new mdi children correctly.
  7896. 2005-09-27 Jackson Harper <[email protected]>
  7897. * MdiClient.cs: New mdi children need to be added to the back of
  7898. the controls collection so the zorder is set correctly. Also add a
  7899. count of all the child windows that have been created.
  7900. 2005-09-27 Jackson Harper <[email protected]>
  7901. * Form.cs (CreateParams): Setup MDI forms correctly.
  7902. 2005-09-27 Jackson Harper <[email protected]>
  7903. * MdiChildContext.cs:
  7904. * MonthCalendar.cs:
  7905. * UpDownBase.cs:
  7906. * ListBox.cs:
  7907. * ListView.cs:
  7908. * TextBoxBase.cs:
  7909. * TreeView.cs:
  7910. * ScrollableControl.cs:
  7911. * ComboBox.cs: Add implicit controls using the new implict control
  7912. functionality in ControlCollection. Also try to block multiple
  7913. control add in a suspend/resume layout to save some cycles.
  7914. 2005-09-27 Jackson Harper <[email protected]>
  7915. * Control.cs: Add functionality to the controls collection to add
  7916. 'implicit controls' these are controls that are created by the
  7917. containing control but should not be exposed to the user. Such as
  7918. scrollbars in the treeview.
  7919. * Form.cs: The list var of the ControlsCollection is no longer
  7920. available because of the potential of implicit controls getting
  7921. ignored by someone accessing the list directly.
  7922. 2005-09-26 Peter Dennis Bartok <[email protected]>
  7923. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  7924. loose it's parent. (Fixed bug introduced in r49103 when we added
  7925. setting the child parent to null on Remove)
  7926. 2005-09-26 Gert Driesen <[email protected]>
  7927. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  7928. * Splitter.cs: Added missing attributes for BorderStyle property.
  7929. * TextBoxBase.cs: Marked Calculate* methods internal.
  7930. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  7931. MS.NET.
  7932. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  7933. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  7934. 2005-09-25 Jackson Harper <[email protected]>
  7935. * TreeView.cs: Update the node bounds correctly regardless of
  7936. whether the node is visible.
  7937. 2005-09-25 Jackson Harper <[email protected]>
  7938. * ImageList.cs: Don't dispose the image after it is added to the
  7939. image list. Only reformat images that need to be resized.
  7940. 2005-09-25 Jackson Harper <[email protected]>
  7941. * ImageList.cs: Don't set the format when changing the image.
  7942. 2005-09-25 Jackson Harper <[email protected]>
  7943. * TreeView.cs: We can't just assume the node has a font. Use the
  7944. treeviews font if no node font is available.
  7945. 2005-09-25 Jackson Harper <[email protected]>
  7946. * TreeView.cs: Allow the scrollbars to be reset with negative
  7947. values.
  7948. - Don't add scrollbars to negative sized windows.
  7949. 2005-09-23 Jackson Harper <[email protected]>
  7950. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  7951. old Mono.Posix. Also remove some stray code that shouldn't have
  7952. been committed.
  7953. 2005-09-23 Jackson Harper <[email protected]>
  7954. * TreeView.cs: Attempt at proper sizing of the horizontal
  7955. scrollbar. Also don't resize the scrollbars unless they are
  7956. visible.
  7957. 2005-09-23 Jackson Harper <[email protected]>
  7958. * TreeView.cs: We don't need to expand the invalid area when the
  7959. selection changes, as this is all drawn in the node's bounding
  7960. box. The area needs to be expanded (previous typo was contracting
  7961. it) when the focus rect moves.
  7962. 2005-09-23 Jackson Harper <[email protected]>
  7963. * TreeView.cs: Display the selection box under the correct
  7964. circumstances. We were rendering white text with no selection box
  7965. before.
  7966. 2005-09-23 Peter Dennis Bartok <[email protected]>
  7967. * TextControl.cs(Split): Now updates selection start/end if it points
  7968. into a line that's being split. Fixes a FIXME and bug #75258
  7969. 2005-09-23 Jackson Harper <[email protected]>
  7970. * Binding.cs:
  7971. * ListControl.cs: Don't use the path when retrieving binding
  7972. managers from the binding context. My bat sense tells me that the
  7973. path is only used on insertion.
  7974. 2005-09-22 Jackson Harper <[email protected]>
  7975. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  7976. 2005-09-22 Jackson Harper <[email protected]>
  7977. * Splitter.cs: There are special cursors used for splitting.
  7978. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  7979. 2005-09-22 Jackson Harper <[email protected]>
  7980. * Splitter.cs: Change the cursor appropriately when the splitter
  7981. is moused over, so the user actually knows there is a splitter
  7982. there.
  7983. 2005-09-22 Hisham Mardam Bey <[email protected]>
  7984. * Label.cs : Fix ToString method to give same output as MS.NET
  7985. 2005-09-22 Jackson Harper <[email protected]>
  7986. * TreeView.cs: Create the scrollbars when the handle is created
  7987. and add them right away, just make them invisble. Also account for
  7988. the window being shrunk vertically to the point that the vert
  7989. scrollbar needs to be added.
  7990. - Remove some 0.5 adjustments to get around anti aliasing issues.
  7991. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  7992. * MainMenu.cs: Fixes default value
  7993. * MenuItem.cs: Fixes default value
  7994. 2005-09-22 Kazuki Oikawa <[email protected]>
  7995. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  7996. 2005-09-21 Jackson Harper <[email protected]>
  7997. * Control.cs: Don't try to set the border style on the window if
  7998. it hasn't been created. When the window is created the border
  7999. style will be used.
  8000. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8001. * Control.cs (Update): Don't call XplatUI if we don't have a
  8002. window handle yet
  8003. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8004. * ContainerControl.cs: Instead of throwing an exception, print
  8005. a one-time warning about Validate not being implemented
  8006. * XplatUIWin32.cs: Removed debug output
  8007. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8008. * Control.cs: Only set XplatUI background if we expect the windowing
  8009. system to handle the background. This stops controls that draw their
  8010. own background from flickering
  8011. * XplatUIX11.cs: Support custom visuals and colormaps for window
  8012. creation. This allows, amongst other things, using MWF X11 windows
  8013. with OpenGL.
  8014. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8015. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  8016. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  8017. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  8018. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  8019. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  8020. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  8021. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  8022. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  8023. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  8024. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  8025. GridColumnStylesCollection.cs,
  8026. IDataGridColumnStyleEditingNotificationService.cs,
  8027. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  8028. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  8029. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  8030. TreeNodeCollection.cs, AmbientProperties.cs,
  8031. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8032. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  8033. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  8034. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  8035. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  8036. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  8037. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  8038. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  8039. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  8040. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  8041. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  8042. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  8043. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  8044. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  8045. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  8046. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  8047. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  8048. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  8049. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  8050. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  8051. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  8052. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  8053. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  8054. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  8055. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  8056. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  8057. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  8058. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  8059. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  8060. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  8061. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  8062. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  8063. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  8064. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  8065. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  8066. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  8067. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  8068. 2005-09-21 Jackson Harper <[email protected]>
  8069. * TreeNode.cs: Call Before/After Expand not Collapse when
  8070. expanding.
  8071. 2005-09-20 Jackson Harper <[email protected]>
  8072. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  8073. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8074. * ListViewItem.cs:
  8075. - Fixes bug 76120
  8076. - Fixes proper storing of subitems
  8077. - Fixes not updated items
  8078. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8079. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  8080. things if our window handle isn't created yet. Also disabled
  8081. debug for TextBoxBase
  8082. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8083. * MenuAPI.cs: Remove filtering of events to allow menu usage
  8084. 2005-09-20 Miguel de Icaza <[email protected]>
  8085. * Cursor.cs: Allow null to be passed to Cursor.Current.
  8086. 2005-09-20 Alexander Olk <[email protected]>
  8087. * ThemeWin32Classic.cs:
  8088. - Change some private methods/fields to protected virtual so that
  8089. they can be accessed and overriden in derived classes
  8090. - First refactoring of some methods. Derived themes now don't
  8091. need to duplicate the complete code from ThemeWin32Classic
  8092. * ThemeNice.cs:
  8093. - Added nice StatusBar
  8094. - Derive from ThemeWin32Classic and not Theme
  8095. - Removed duplicate ThemeWin32Classic code
  8096. 2005-09-20 Miguel de Icaza <[email protected]>
  8097. * Control.cs (ControlCollection.Add): If the value null is passed
  8098. the control is ignored.
  8099. Optimize this loop.
  8100. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8101. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8102. PostQuitMessage state.
  8103. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8104. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8105. * Application.cs: Our constructor will never get called, move
  8106. initialization to fields; fixes bug #75933
  8107. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8108. * FileDialog.cs :
  8109. - Allow files to be selected properly using file name
  8110. combo box.
  8111. - Add ability to change diretory (absolute / relative)
  8112. using file name combo box.
  8113. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8114. * ListBox.cs:
  8115. - Fixes Multicolumn listboxes item wrong calculations
  8116. - Allows to click when only one item is in the listbox
  8117. - Fixes crash when no items using keyboard navigation
  8118. 2005-09-16 Alexander Olk <[email protected]>
  8119. * ComboBox.cs: Reverted almost everything from the latest patch which
  8120. broke ComboBox
  8121. 2005-09-16 Kazuki Oikawa <[email protected]>
  8122. * ToolTip.cs:
  8123. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8124. * ComboBox.cs:
  8125. - When DropDownStyle is Simple, it does not show scrollbar
  8126. to the last item of the list.
  8127. - When DropDownStyle is Simple, it crashed when the list was
  8128. scrolled down with the down cursor key.
  8129. - Fixed a bug that when DropDownStyle is DropDownList, the
  8130. selected item was not shown.
  8131. - The position of the selected item was not preserved when
  8132. the next dropdown happened.
  8133. * ThemeWin32Classic.cs:
  8134. - Items were wrapped at the right end.
  8135. * CheckedListBox.cs:
  8136. - Fixed Add method
  8137. * ListBox.cs:
  8138. - Items should be fully shown.
  8139. - When resizing and vertical scrollbar disappeared, the item
  8140. of index 0 should be on the top of the list.
  8141. - GetItemRectangle should consider the size of ver. scrollbar
  8142. * StatusBar.cs:
  8143. - SizingGrip area should not be allocated when it is not
  8144. displayed.
  8145. - Now it reflects MinWidth of the containing panel and
  8146. fixed a crash that happens when its width becomes so small.
  8147. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8148. * CheckedListBox.cs: Fixes bug 76028
  8149. * ListBox.cs: Fixes bug 76028
  8150. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8151. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8152. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8153. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8154. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8155. 2005-09-09 Jonathan Chambers <[email protected]>
  8156. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8157. 2005-09-09 Jonathan Chambers <[email protected]>
  8158. * IRootGridEntry.cs: Added
  8159. * PropertyGridCommands.cs: Added
  8160. * PropertiesTab.cs: Added missing methods and property
  8161. * PropertyGridView.cs: Made class internal
  8162. * PropertyGridTextBox.cs: Made class internal
  8163. 2005-09-09 Alexander Olk <[email protected]>
  8164. * MimeIcon.cs: Try to check some other environment variables
  8165. if "DESKTOP_SESSION" returns "default"
  8166. 2005-09-09 Alexander Olk <[email protected]>
  8167. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8168. * ColorDialog.cs: Use correct background colors for controls
  8169. 2005-09-09 Alexander Olk <[email protected]>
  8170. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8171. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8172. * RichTextBox.cs: Added initial implementation
  8173. * lang.cs: Removed. Was accidentally checked in long time ago
  8174. * TODO: Removed. Contents were obsolete
  8175. 2005-09-06 Jonathan Chambers <[email protected]>
  8176. * PropertiesTab.cs : Added
  8177. 2005-09-06 Jonathan Chambers <[email protected]>
  8178. * PropertyGrid.cs : Update
  8179. * PropertyGridView.cs : Update
  8180. * System.Windows.Forms.resx : Added images and strings
  8181. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8182. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8183. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8184. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8185. a busy loop right after the Ungrab the X11 display is otherwise
  8186. blocked
  8187. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8188. * ThemeWin32Classic.cs: Optimise the use of clipping
  8189. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8190. * DataGrid.cs: fixes recursion bug
  8191. 2005-09-03 Alexander Olk <[email protected]>
  8192. * ThemeNice.cs:
  8193. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8194. - Cleanup
  8195. 2005-09-02 Alexander Olk <[email protected]>
  8196. * ThemeNice.cs: Draw nice ProgressBars
  8197. 2005-09-01 Miguel de Icaza <[email protected]>
  8198. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8199. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8200. bug finder.
  8201. 2005-08-30 Alexander Olk <[email protected]>
  8202. * ThemeNice.cs:
  8203. - Added nicer menu drawing
  8204. - Updated DrawTab
  8205. - some refactoring
  8206. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8207. * CreateParams.cs (ToString): Made output match MS
  8208. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8209. handle is already created (to avoid forcing window creation)
  8210. * XplatUIX11.cs: Set window text to caption after creating window,
  8211. in case Text was set before window was created
  8212. * Form.cs: Use this.Text instead of a static string as caption
  8213. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8214. * NotifyIcon.cs: Don't set the window to visible; this screws
  8215. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8216. OnPaint without a bitmap)
  8217. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8218. happen very often anyway; we could add the check to the WM_PAINT
  8219. event generation code
  8220. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8221. * NotifyIcon.cs: Fill the icon area with a background color, to
  8222. avoid 'residue' when transparent icons are drawn
  8223. * XplatUIX11.cs:
  8224. - Handle whole_window == client_window when destroying windows
  8225. - SystrayAdd(): Set client_window to whole_window value to
  8226. get mouse and other events passed to NotifyIcon
  8227. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8228. * Form.cs: Set proper default for Opacity property
  8229. * NotifyIcon.cs:
  8230. - ShowSystray(): Don't bother creating telling the OS
  8231. about the systray item if no icon is provided
  8232. - Now handles WM_NCPAINT message to deal with whole/client window
  8233. split
  8234. - Create window as visible to not get caught by Expose optimization
  8235. * Hwnd.cs: Removed debug message
  8236. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8237. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8238. PaintEventStart/End to use new client argument
  8239. * TextBoxBase.cs:
  8240. - Commented out debug messages
  8241. - Switched PaintEventStart/End to use new client argument
  8242. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8243. PaintEventEnd() calls, to support drawing in non-client areas
  8244. * XplatUIDriver.cs:
  8245. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8246. calls, to support drawing in non-client areas
  8247. - Added conditional compile to allow using MWF BeginInvoke
  8248. on MS runtime
  8249. * XplatUIX11.cs:
  8250. - Added some conditional debug output
  8251. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8252. whole/client window split
  8253. - Implemented handling of client argument to PaintEventStart()/End()
  8254. * Control.cs:
  8255. - Throw exception if BeginInvoke() is called and the window handle
  8256. or one of the window's parent handles is not created
  8257. - Added conditional compile to allow using MWF BeginInvoke on
  8258. MS runtime
  8259. - get_Parent(): Only sets parent if handle is created. This avoids
  8260. forcing window handle creation when parent is set.
  8261. - Now fires Layout and Parent changed events in proper order
  8262. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8263. the get_Parent() patch above causes us to possibly get null for 'window'
  8264. - Implemented handling of client argument to PaintEventStart()/End()
  8265. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8266. default handling)
  8267. - Now sends a Refresh() to all child windows when Refresh() is called
  8268. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8269. * Form.cs: Added (non-functional) Opacity property
  8270. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8271. 2005-08-29 Alexander Olk <[email protected]>
  8272. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8273. use export MONO_THEME=nice to activate it.
  8274. Currently supported controls:
  8275. - Button
  8276. - ComboBox
  8277. - ScrollBar
  8278. - TabControl (TabAlignment.Top only, other will follow)
  8279. * ThemeEngine.cs: Add theme nice
  8280. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8281. if enabled
  8282. 2005-08-25 Jonathan Chambers <[email protected]>
  8283. * Splitter.cs: Resize docked control and its neighbor.
  8284. 2005-08-24 Rafael Teixeira <[email protected]>
  8285. -- Making Windows with Menus layout correctly --
  8286. * Form.cs : The first leg of the fix
  8287. Menu setter - adjust Client Size as needed to make space for the menu
  8288. SetClientSizeCore - doesn't call base version to be able to pass the
  8289. menu handle to XplatUI.CalculateWindowRect
  8290. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8291. * XplatUIX11.cs: The critical second leg of the fix
  8292. GetWindowPos needs to use a recalculated client_rect
  8293. so that resizing the window doesn't break layout of child controls.
  8294. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8295. Lots of \t\n killed
  8296. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8297. * Label.cs: Now properly recalculates width and height on Font and Text
  8298. changes if AutoSize is set
  8299. 2005-08-19 Rafael Teixeira <[email protected]>
  8300. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8301. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8302. * ImageList.cs: Makes ToString method compatible with MS
  8303. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8304. * MenuAPI.cs: fixes bug 75716
  8305. 2005-08-11 Umadevi S <[email protected]>
  8306. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8307. 2005-08-11 Umadevi S <[email protected]>
  8308. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8309. 2005-08-10 Umadevi S <[email protected]>
  8310. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8311. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8312. * Menu.cs: fixes bug 75700
  8313. * MenuAPI.cs: fixes navigation issues
  8314. 2005-08-09 Umadevi S <[email protected]>
  8315. * CheckedListBox.cs - simple fix for GetItemChecked.
  8316. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8317. * ComboBox.cs: Serveral fixes
  8318. * ListBox.cs: Serveral fixes
  8319. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8320. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8321. * ListBox.cs: Fixes FindString methods
  8322. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8323. * DataGrid.cs: fixes bugs exposed by new tests
  8324. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8325. * Mime.cs: Compile Mono assembly references only if compiling
  8326. with Mono (Allows to build with VS.Net again)
  8327. 2005-07-28 Marek Safar <[email protected]>
  8328. * Control.cs (PaintControlBackground): Draw background image
  8329. corrrectly.
  8330. (CheckForIllegalCrossThreadCalls): Stubbed.
  8331. * Form.cs (OnCreateControl): Center when should be centered.
  8332. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8333. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8334. * Binding.cs: Binding to properties should be case unsensitive
  8335. 2005-07-18 [email protected]
  8336. * DataGrid.cs: fixes setmember order
  8337. 2005-07-07 Alexander Olk <[email protected]>
  8338. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8339. * FileDialog.cs: FileDialog is now resizable and uses the new
  8340. MimeIconEngine
  8341. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8342. * DataGridTextBoxColumn.cs: default value
  8343. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8344. * GridTableStylesCollection.cs: fixes checking MappingName
  8345. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8346. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8347. * DataGrid.cs: fixes
  8348. 2005-07-06 Alexander Olk <[email protected]>
  8349. * MimeGenerated.cs: Use case sensitive comparer for
  8350. NameValueCollections
  8351. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8352. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8353. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8354. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8355. * DataGrid.cs: bug fixes, code refactoring
  8356. * DataGridTextBox.cs: bug fixes, code refactoring
  8357. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8358. * Theme.cs: bug fixes, code refactoring
  8359. 2005-07-01 Peter Bartok <[email protected]>
  8360. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8361. and other text box usage
  8362. 2005-07-01 Jackson Harper <[email protected]>
  8363. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8364. border.
  8365. 2005-06-30 Peter Bartok <[email protected]>
  8366. * Form.cs (ShowDialog): Assign owner of the dialog
  8367. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8368. might have been moved to a tag with different height
  8369. 2005-06-30 Jackson Harper <[email protected]>
  8370. * Form.cs: Don't create an infinite loop when setting focus
  8371. * MenuItem.cs: Don't dirty the parents if we don't have any
  8372. 2005-06-29 Ben Maurer <[email protected]>
  8373. * LibSupport.cs: Rename
  8374. 2005-06-29 Peter Bartok <[email protected]>
  8375. * TextBoxBase.cs: Re-align caret after deleting a character
  8376. * TextControl.cs:
  8377. - DeleteChars(): Ensure that tag covers the provided position
  8378. - StreamLine(): Drop reference for dropped tag
  8379. 2005-06-29 Peter Bartok <[email protected]>
  8380. * TextControl.cs:
  8381. - Selections now work properly, anchoring at the initial location
  8382. and properly extending in either direction (SetSelectionToCaret(),
  8383. SetSelectionStart() and SetSelectionEnd())
  8384. - No longer redraws the whole control on selection change, now
  8385. calculates delta between previous and new selection and only
  8386. invalidates/redraws that area
  8387. - Fixed FindPos() math off-by-one errors
  8388. - Changed DeleteChars() to verify the provided tag covers the
  8389. provided position, selections may have a tag that doesn't cover
  8390. the position if the selection is at a tag border
  8391. - Fixed off-by-one errors in DeleteChars()
  8392. - Added missing streamlining check in DeleteChars() to remove
  8393. zero-length tags
  8394. - Implemented Invalidate() method, now properly calculates exposures
  8395. between two given lines/positions
  8396. - Implemented SetSelection()
  8397. - Obsoleted and removed FixupSelection()
  8398. - Improved RecalculateDocument() logic, removing code duplication
  8399. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8400. * LibSupport.cs: changes to match different input/output arguments.
  8401. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8402. * LibSupport.cs: added libsupport.so init routine.
  8403. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8404. * ControlBindingsCollection.cs
  8405. - Throws an exception on null datasource when adding
  8406. - Checks for duplicated bindings when adding
  8407. 2005-06-28 Jackson Harper <[email protected]>
  8408. * TreeView.cs (OnKeyDown): Support left and right properly
  8409. (navigates as well as expanding and collapsing.
  8410. - Add support for Multiply, this expands all the selected nodes
  8411. children.
  8412. - Fix some tabbing.
  8413. 2005-06-28 Jackson Harper <[email protected]>
  8414. * TreeView.cs: Implement keyboard navigation, currently supports,
  8415. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  8416. support for toggling checkboxes with the space bar.
  8417. 2005-06-28 Jackson Harper <[email protected]>
  8418. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  8419. tree.
  8420. 2005-06-28 Jackson Harper <[email protected]>
  8421. * TreeView.cs: Add missing event.
  8422. 2005-06-27 Peter Bartok <[email protected]>
  8423. * TextControl.cs:
  8424. - Made line ending size configurable (now allows for counting
  8425. lineendings as \n or \r\n)
  8426. - Added margin to viewport to keep caret visible on right side
  8427. - Fixed translation routines for line/pos to documentpos to consider
  8428. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  8429. - Fixed some line-endings to be unix style
  8430. - Fixed Document.FormatText to perform it's calculations 1-based
  8431. - Added descriptions for a few methods that might otherwise get
  8432. used wrong
  8433. - Added NOTE section with some basic conventions to remember at
  8434. the top of the file
  8435. - Major fixup for RichTextBox selection drawing:
  8436. * Fixed crashes when multiple tags on a single line were selected
  8437. * fixed selection box drawing not overlaying text
  8438. * fixed bogus offset calculation for tags not starting at index 1
  8439. * Switched behaviour from using multiple Substrings of a
  8440. StringBuilder.ToString() to using multiple
  8441. StringBuilder.ToString(start, length) statements, hoping this is
  8442. faster (kept original version commented out in the code, in case
  8443. original version was faster)
  8444. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  8445. alignment != Left
  8446. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  8447. call it as well
  8448. 2005-06-27 Jackson Harper <[email protected]>
  8449. * TabControl.cs: Move to the left and right with the arrow
  8450. keys. These keys don't cycle beyond first and last like
  8451. tab. Refresh all the tabs when scrolling them to the left or
  8452. right.
  8453. 2005-06-27 Jackson Harper <[email protected]>
  8454. * TabControl.cs:
  8455. - ToString: Added method
  8456. - CreateParams: Remove TODO and comment
  8457. - OnKeyDown: Cycle through bounds properly.
  8458. - SelectedIndex: Scroll to the right or left if we need to
  8459. display the newly selected tab.
  8460. 2005-06-23 Jackson Harper <[email protected]>
  8461. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  8462. set.
  8463. 2005-06-23 Jackson Harper <[email protected]>
  8464. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  8465. CTRL-SHIFT-TAB, and HOME, END are there any others?
  8466. 2005-06-23 Jackson Harper <[email protected]>
  8467. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  8468. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8469. * DataGridTextBoxColumn.cs: fixes and enhancements
  8470. * ThemeWin32Classic.cs: fixes and enhancements
  8471. * DataGridBoolColumn.cs: fixes and enhancements
  8472. * DataGridDrawingLogic.cs: fixes and enhancements
  8473. * CurrencyManager.cs: fixes and enhancements
  8474. * DataGrid.cs: fixes and enhancements
  8475. * DataGridColumnStyle.cs: fixes and enhancements
  8476. 2005-06-22 Jackson Harper <[email protected]>
  8477. * TabControl.cs: Add some missing methods that just call into the
  8478. base. Make the TabPageCollection's IList interface behave in the
  8479. same manner as the MS implementation.
  8480. 2005-06-22 Peter Bartok <[email protected]>
  8481. * TextControl.cs: Added sanity check
  8482. * TextBoxBase.cs:
  8483. - Fixed wrapping behaviour, don't set wrap on single line controls
  8484. (this fixes the breakage of colordialog introduced in an earlier
  8485. checkin)
  8486. - Added rudimentary support for autoscrolling right-aligned controls
  8487. (still needs fixing, also, center alignment scroll is missing)
  8488. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8489. * ScrollBar.cs: Fixes thumbpos on Maximum values
  8490. 2005-06-21 Jonathan Chambers <[email protected]>
  8491. * PropertyGridView.cs: Pass context information to UITypeEditors
  8492. 2005-06-21 Peter Bartok <[email protected]>
  8493. * TextBoxBase.cs:
  8494. - Now calling PositionCaret with absolute space coordinates
  8495. - Enabled vertical scrolling
  8496. - Better tracking of scrollbar changes, tied into WidthChange
  8497. event
  8498. - Improved cursor tracking
  8499. - Removed debug output
  8500. * TextControl.cs:
  8501. - PositionCaret coordinates are now works in absolute space, not
  8502. the canvas
  8503. - Improved tracking of document size
  8504. - Added events for width and height changes
  8505. 2005-06-21 Peter Bartok <[email protected]>
  8506. * Form.cs: Set focus to active control when form is activated
  8507. * TextControl.cs:
  8508. - Added word-wrap functionality to RecalculateLine()
  8509. - Added some short function descriptions for VS.Net to aid in
  8510. writing dependent controls
  8511. - Added Caret property, returning the current coords of the caret
  8512. - Added ViewPortWidth and ViewPortHeight properties
  8513. - Added Wrap property
  8514. - Added CaretMoved event
  8515. - Removed some old debug code
  8516. - Split() can now create soft splits
  8517. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  8518. - Added method to format existing text
  8519. - Fixed size/alignment calculations to use viewport
  8520. - RecalculateDocument now can handle changing line-numbers while
  8521. calculating lines
  8522. * TextBox.cs:
  8523. - Added some wrap logic, we don't wrap if alignment is not left
  8524. - Added casts for scrollbar var, base class switched types to
  8525. also support RichTextBoxA
  8526. - Implemented handling of scrollbar visibility flags
  8527. * TextBoxBase.cs:
  8528. - Switched scrollbars type to RichTextBoxScrollBars to support
  8529. RichTextBox
  8530. - Added tracking of canvas width/height
  8531. - Switched scrollbars to be not selectable (to keep focus on text)
  8532. - Added central CalculateDocument() method to handle all redraw
  8533. requirements
  8534. - Added ReadOnly support
  8535. - Added WordWrap support
  8536. - Fixed handling of Enter key (we now treat it as a DialogKey)
  8537. - Fixed caret positioning when h or v scroll is not zero
  8538. - Fixed placing/generation of vertical scrollbar
  8539. - Added CalculateScrollBars() method to allow updating scrollbar
  8540. limits and visibility
  8541. - Fixed handling of horizontal scroll
  8542. - Added handling of vertical scroll
  8543. - Implemented auto-'jump' when caret moves to close to a left or
  8544. right border and there is text to be scrolled into view (currently
  8545. there's the potential for a stack overflow, until a bug in
  8546. scrollbar is fixed)
  8547. 2005-06-21 Geoff Norton <[email protected]>
  8548. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  8549. 2005-06-19 Alexander Olk <[email protected]>
  8550. * Mime.cs:
  8551. - added inodes.
  8552. - return application/x-zerosize for files with size zero
  8553. (if no extension pattern matches).
  8554. - check matches collection for strings too.
  8555. - return only the first mime type if the name value
  8556. collection has more than one mime type.
  8557. 2005-06-18 Jonathan Chambers <[email protected]>
  8558. * PropertyGrid.cs: Cleaned up some TODOs
  8559. * PropertyGridView.cs: Added support for UITypeEditors
  8560. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8561. * DataGrid.cs: clears cached value
  8562. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8563. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  8564. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  8565. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  8566. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  8567. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  8568. * ThemeWin32Classic.cs: fixes colour
  8569. 2005-06-15 Peter Bartok <[email protected]>
  8570. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  8571. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  8572. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  8573. * Control.cs: Added some MWFCategory and MWFDescription attributes
  8574. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  8575. 2005-06-15 Alexander Olk <[email protected]>
  8576. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  8577. usage
  8578. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  8579. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  8580. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  8581. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  8582. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  8583. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  8584. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  8585. 2005-06-13 Jackson Harper <[email protected]>
  8586. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  8587. isn't printed when the user enables dropping. (X11 does accept
  8588. drops).
  8589. 2005-06-13 Jackson Harper <[email protected]>
  8590. * TreeView.cs: Remove some TODOS.
  8591. 2005-06-13 Jackson Harper <[email protected]>
  8592. * Form.cs: Hook into the mdi framework.
  8593. * MdiClient.cs: Use the base control collections add method so
  8594. parents get setup correctly. Set the default back colour and dock
  8595. style.
  8596. * MdiChildContext.cs: New class, this bad actor handles an
  8597. instance of an MDI window. Right now there is only basic
  8598. support. You can drag, close, and resize windows. Minimize and
  8599. Maximize are partially implemented.
  8600. 2005-06-13 Jackson Harper <[email protected]>
  8601. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  8602. freaky when both vals are negative. NOTE: There are probably other
  8603. places in XplatUIX11 that this needs to be done.
  8604. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  8605. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  8606. * DataGridColumnStyle.cs: fixes signature
  8607. 2005-06-12 Jackson Harper <[email protected]>
  8608. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  8609. windows.
  8610. 2005-06-11 Jackson Harper <[email protected]>
  8611. * StatusBarPanel.cs: Signature cleanups. Implement
  8612. BeginInit/EndInit.
  8613. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  8614. * DataGridTextBoxColumn.cs: Honors aligment
  8615. * GridColumnStylesCollection.cs: Contains is case unsensitive
  8616. * GridTableStylesCollection.cs: several fixes
  8617. * DataGridTableStyle.cs: default column creation
  8618. * DataGridDrawingLogic.cs: fixes
  8619. * CurrencyManager.cs: ListName property
  8620. * DataGrid.cs: multiple styles support
  8621. * DataGridColumnStyle.cs: fixes
  8622. 2005-06-10 Peter Bartok <[email protected]>
  8623. * Control.cs(Select): Moved SetFocus call to avoid potential
  8624. loops if controls change the active control when getting focus
  8625. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  8626. the up/down buttons
  8627. 2005-06-10 Matthias Felgner <[email protected]>
  8628. * ImageListConverter.cs: Implemented
  8629. 2005-06-10 John BouAntoun <[email protected]>
  8630. * MonthCalendar.cs: Wired in NumericUpDown control for year
  8631. 2005-06-10 John BouAntoun <[email protected]>
  8632. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  8633. DoubleClick events, since they are not meant to be fired.
  8634. 2005-06-09 Peter Bartok <[email protected]>
  8635. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  8636. Jonathan's standalone controls into MWF, implemented missing
  8637. events, attributes and methods; added xxxAccessible classes
  8638. * AccessibleObject.cs: Made fields internal so other classes
  8639. can change them if needed
  8640. 2005-06-09 Jonathan Gilbert <[email protected]>
  8641. * UpDownBase.cs: Complete implementation
  8642. * NumericUpDown.cs: Complete implementation
  8643. * DomainUpDown.cs: Complete implementation
  8644. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  8645. * DataGridTextBoxColumn.cs: drawing fixes
  8646. * DataGridCell.cs: fixes ToString method to match MSNet
  8647. * DataGridTableStyle.cs: fixes
  8648. * DataGridBoolColumn.cs: fixes, drawing
  8649. * DataGridDrawingLogic.cs: fixes, new methods
  8650. * DataGridTextBox.cs: Keyboard and fixes
  8651. * DataGrid.cs:
  8652. - Keyboard navigation
  8653. - Scrolling fixes
  8654. - Row selection (single, multiple, deletion, etc)
  8655. - Lots of fixes
  8656. 2005-06-07 Jackson Harper <[email protected]>
  8657. * ThemeWin32Classic.cs: Clear the background area when drawing
  8658. buttons.
  8659. 2005-06-06 Peter Bartok <[email protected]>
  8660. * ImageListStreamer.cs: Fixed signature for GetData
  8661. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  8662. * ComboBox.cs:
  8663. - Added missing ChildAccessibleObject class
  8664. - Added missing OnXXXFocus overrides, switched to using those
  8665. instead of the event handler
  8666. * Control.cs:
  8667. - Added Parent property for ControlAccessibleObject
  8668. - Fixed signatures
  8669. - Fixed attributes
  8670. - Added ResetBindings()
  8671. * ListBindingConverter.cs: Implemented some methods
  8672. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  8673. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  8674. * ContainerControl.cs: Fixed signature, now subscribing to the
  8675. ControlRemoved event instead of overriding the handler, LAMESPEC
  8676. * CurrencyManager.cs: Added missing attribute
  8677. * MonthCalendar.cs: Added missing properties
  8678. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8679. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  8680. 2005-06-06 Gaurav Vaish and Ankit Jain
  8681. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8682. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8683. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8684. * Control.cs: fixes CreateParams Width / Height.
  8685. 2005-06-05 Peter Bartok <[email protected]>
  8686. * Win32DnD.cs: Removed compilation warnings
  8687. 2005-06-05 Peter Bartok <[email protected]>
  8688. * Control.cs (CreateParams): Since we don't know if one of the
  8689. properties we use is overridden, lets make sure if we fail accessing
  8690. we continue with a backup plan
  8691. 2005-06-05 Peter Bartok <[email protected]>
  8692. * Win32DnD.cs:
  8693. - Removed debug output
  8694. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  8695. struct
  8696. - Plugged resource leak
  8697. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  8698. MS size
  8699. 2005-06-05 Peter Bartok <[email protected]>
  8700. * XplatUIWin32.cs: Removed DnD code
  8701. * Win32DnD.cs: Implemented drop source and drop target functionality
  8702. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  8703. * UpDownBase.cs: remove duplicate addition of event, enable some code
  8704. that was commented out.
  8705. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  8706. Validate input when a key is pressed. It works fine now for every
  8707. combination of Hexadecimal. Only missing some drawing love when sharing
  8708. space with other controls.
  8709. 2005-06-04 Peter Bartok <[email protected]>
  8710. * Control.cs:
  8711. - We need to pass a window for DragDrop, so enable callback events
  8712. - Added DnD callback events when being a DragSource
  8713. * XplatUI.cs (StartDrag): Added window handle argument
  8714. * XplatUIDriver.cs (StartDrag): Added window handle argument
  8715. * QueryContinueDragEventArgs: Made fields internally accessible so
  8716. drivers can set them
  8717. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  8718. can set them
  8719. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  8720. * DataGridTextBoxColumn.cs: column text editing
  8721. * DataGridTableStyle.cs: Respect columns styles created by the user
  8722. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  8723. * DataGridBoolColumn.cs: bool column editing
  8724. * DataGrid.cs: fixes to scrolling, properties, etc
  8725. * DataGridTextBox.cs: handle keyboard
  8726. * DataGridColumnStyle.cs: fixes
  8727. 2005-06-02 Jackson Harper <[email protected]>
  8728. * ImageListStreamer.cs: Somewhat broken implementation of
  8729. GetObjectData. The RLE needs some work to match MS properly.
  8730. 2005-06-02 Jackson Harper <[email protected]>
  8731. * X11Dnd.cs: Attempting to keep at least one file in MWF
  8732. monostyled.
  8733. 2005-06-02 Peter Bartok <[email protected]>
  8734. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  8735. that way
  8736. 2005-06-02 Peter Bartok <[email protected]>
  8737. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  8738. * XplatUI.cs: Added DoDragDrop() method
  8739. * XplatUIDriver.cs: Added DoDragDrop() method
  8740. 2005-06-02 Jackson Harper <[email protected]>
  8741. * Splitter.cs: Implement BorderStyle.
  8742. 2005-06-02 Jackson Harper <[email protected]>
  8743. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  8744. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  8745. X11 using XDND.
  8746. 2005-06-02 Peter Bartok <[email protected]>
  8747. * DataObject.cs:
  8748. - Added Data setter
  8749. - Fixed broken insertion code for SetData, now also
  8750. overwrites any existing entry of the same format name
  8751. * Hwnd.cs: Added list of pointers that automatically gets
  8752. freed when the window is disposed
  8753. * XplatUI.cs: Call driver initialization method when loading
  8754. a driver
  8755. * Control.cs:
  8756. - OnDragLeave takes EventArgs, not DragEventArgs
  8757. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  8758. supported
  8759. - Forces style update when drop state changes
  8760. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  8761. not perfect since we cannot (yet) call the IDataObject.GetData()
  8762. method, we keep getting 0x80004005 error, dunno why)
  8763. 2005-06-02 Peter Bartok <[email protected]>
  8764. * DragEventArgs.cs: Make fields internal so we can cache the
  8765. object and re-set the fields from XplatUI
  8766. 2005-06-02 Jackson Harper <[email protected]>
  8767. * Control.cs: Add some internal methods so the DnD subsystem can
  8768. raise DnD events. Also call into the driver when AllowDrop is set.
  8769. * XplatUI.cs:
  8770. * XplatUIDriver.cs: New method for setting whether or not a window
  8771. is allowed to accept drag and drop messages.
  8772. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  8773. * ScrollBar.cs: Make sure that values sent in Scroll events
  8774. are always between Maximum and Minimum.
  8775. 2005-06-01 Marek Safar <[email protected]>
  8776. * Menu.cs: Call MenuChanged when menuitem visibility has been
  8777. changed.
  8778. * MenuItem.cs: Rebuild menu when item is (not) visible.
  8779. * MainMenu.cs: MainMenu has special MenuChanged.
  8780. * Theme.cs: Caption and FrameBorderSize are not fixed.
  8781. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  8782. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  8783. * XplatUIX11.cs,
  8784. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  8785. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  8786. 2005-05-30 Jackson Harper <[email protected]>
  8787. * DataFormat.cs: We can't statically initialize this stuff because
  8788. it calls into the xplatui and could create a loop. So we lazy init
  8789. it.
  8790. 2005-05-28 Jackson Harper <[email protected]>
  8791. * Control.cs: Proper implementation of Product(Name/Version).
  8792. 2005-05-27 Jackson Harper <[email protected]>
  8793. * DataObject.cs: Dont crash if no data is found.
  8794. 2005-05-26 Rafael Teixeira <[email protected]>
  8795. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  8796. as per status page, guessing it should be set to true
  8797. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  8798. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  8799. * DataGridTableStyle.cs: set proper formatting text, def header text
  8800. * ThemeWin32Classic.cs: new themable paramaters
  8801. * DataGridBoolColumn.cs: paint check box, get data, fixes
  8802. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  8803. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  8804. * DataGridColumnStyle.cs: fixes
  8805. * Theme.cs: new themable paramaters
  8806. 2005-05-26 Peter Bartok <[email protected]>
  8807. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  8808. 2005-05-24 Jonathan S. Chambers <[email protected]>
  8809. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  8810. 2005-05-24 Peter Bartok <[email protected]>
  8811. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  8812. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  8813. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  8814. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  8815. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  8816. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  8817. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  8818. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  8819. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  8820. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  8821. missing attributes, etc
  8822. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  8823. 2005-05-24 Peter Bartok <[email protected]>
  8824. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  8825. when user tries to get help
  8826. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  8827. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  8828. to suppress warnings
  8829. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  8830. avoid unreachable code warning
  8831. 2005-05-20 Peter Bartok <[email protected]>
  8832. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  8833. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8834. * DataGridTextBoxColumn.cs: Basic painting methods
  8835. * DataGridTableStyle.cs: Set table style in the column
  8836. * ThemeWin32Classic.cs: Use Theme for colors
  8837. * DataGridDrawingLogic.cs: Implement more drawing
  8838. * DataGrid.cs: drawing, theming, enhacements, fixes
  8839. * DataGridColumnStyle.cs: fixes, drawing
  8840. * Theme.cs: theming for Datagrid
  8841. 2005-05-20 Peter Bartok <[email protected]>
  8842. * Cursor.cs: Implemented GetObjectData() method
  8843. 2005-05-20 Peter Bartok <[email protected]>
  8844. * Cursors.cs: Added setting of cursor name
  8845. * Cursor.cs:
  8846. - Implemented constructors
  8847. - Implemented Draw and DrawStretched
  8848. - Implemented Current property
  8849. - Implemented == and != operators
  8850. - Implemented Dispose()
  8851. - Implemented ToString
  8852. - Added missing attributes
  8853. * XplatUIX11.cs:
  8854. - Added missing reset for OverrideCursor when DoEvents is called
  8855. - Fixed creation of cursor, logic was wrong
  8856. * XplatUIWin32.cs:
  8857. - Added missing reset for OverrideCursor when DoEvents is called
  8858. - Fixed creation of cursor, bit arrays were swapped
  8859. * Clipboard.cs: Removed obsolete MonoTODO attribute
  8860. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8861. * ComboBox.cs: fixes OnSelectedItemChanged
  8862. * ControlBindingsCollection.cs: fixes item range check
  8863. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8864. * UpDownBase.cs:
  8865. - Calc preferred height properly
  8866. - Implement missing properties
  8867. * NumericUpDown.cs: Implement missing events
  8868. 2005-05-19 Jackson Harper <[email protected]>
  8869. * TabControl.cs: New method that resizes the tab pages before
  8870. redrawing them. This as needed as the control is double buffered
  8871. and sizing will not be recalculated unless ResizeTabPages is
  8872. called.
  8873. * TabPage.cs: Set base.Text instead of Text in the constructor so
  8874. that UpdateOwner does not get called. Use the new Redraw method of
  8875. TabControl instead of Refresh so the sizing is recalculated.
  8876. * ThemeWin32Classic.cs: Draw the text for button tabs.
  8877. 2005-05-19 Jackson Harper <[email protected]>
  8878. * Control.cs: Paint control background images. Fix typo where
  8879. PaintControlBackground was not getting called correctly.
  8880. 2005-05-19 Peter Bartok <[email protected]>
  8881. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  8882. I can investigate, apparently I broke FileDialog
  8883. 2005-05-19 Marek Safar <[email protected]>
  8884. * AxHost.cs: Some simple properties.
  8885. * Control.cs: window must be accessible after ctor.
  8886. * Form.cs: Added TransparencyKey property.
  8887. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  8888. * XplatUIWin32.cs: SetBorderStyle implemented.
  8889. 2005-05-18 Peter Bartok <[email protected]>
  8890. * DataObject.cs: Entries are not global but particular to the
  8891. DataObject, now it behaves that way
  8892. * XplatUIWin32.cs: Implemented Clipboard methods
  8893. * Clipboard.cs: Implemented
  8894. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  8895. * XplatUIOSX.cs: Updated to final clipboard prototypes
  8896. * XplatUIX11.cs: Implemented Clipboard methods
  8897. * XplatUIDriver.cs: Updated to final clipboard prototypes
  8898. * XplatUIStructs.cs:
  8899. - Added BITMAPINFOHEADER struct
  8900. - Added ClipboardFormats enum
  8901. * X11Structs.cs:
  8902. - Added ClipboardStruct
  8903. - Added Atom enum items for clipboard types
  8904. - Fixed atom types for Selection event structures
  8905. * DataFormats.cs:
  8906. - Added internal properties and methods for drivers to enumerate
  8907. all known formats
  8908. - Switched initialization method to allow drivers to assign their
  8909. own IDs even for the MS predefined clipboard IDs
  8910. * XplatUI.cs: Updated to final clipboard interface
  8911. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8912. * PropertyGridView.cs: Fixed compiler warnings.
  8913. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8914. * PropertyGrid.cs: Added some event calls
  8915. * PropertyGridView.cs: Change drawing code to use double buffering
  8916. * PropertyGridTextBox.cs: Changed Text property name
  8917. * GridItem.cs: Added Bounds property.
  8918. * GridEntry.cs: Added Bounds property.
  8919. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  8920. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  8921. since GetType() may not return the correct type if the object is
  8922. a remoting proxy.
  8923. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  8924. * TreeNodeCollection.cs: fixes get/set item ranges
  8925. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8926. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  8927. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8928. * ComboBox.cs: Fix item range comparation
  8929. * ListView.cs: Fix item range comparation
  8930. 2005-05-03 Alexander Olk <[email protected]>
  8931. * FontDialog.cs:
  8932. - Clear example panel when OnPaint is called
  8933. - Better solution for displaying the example panel text
  8934. - Select default indexes in the ListBoxes
  8935. 2005-05-11 Geoff Norton <[email protected]>
  8936. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  8937. 2005-05-11 Peter Bartok <[email protected]>
  8938. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  8939. * SelectionRangeConverter.cs: Implemented
  8940. * PropertyGrid.cs: Fixed attribute value
  8941. * Control.cs:
  8942. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  8943. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  8944. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  8945. that's common to all drivers. First methods to go there are
  8946. Sebastien Pouliot's CAS Stack Propagation helper methods
  8947. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  8948. Sebastien Pouliot for CAS Stack Propagation
  8949. 2005-05-11 Geoff Norton <[email protected]>
  8950. * OSXStructs.cs:
  8951. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  8952. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  8953. * DataGridTextBoxColumn.cs: fixed some members
  8954. * GridColumnStylesCollection.cs: indexed column is case insensitive
  8955. * DataGridTableStyle.cs: fixes
  8956. * ThemeWin32Classic.cs: add new theme parameter
  8957. * Theme.cs: add new theme parameter
  8958. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  8959. * DataGrid.cs: fixes, new internal properties, etc.
  8960. * DataGridColumnStyle.cs: allows to set grid value
  8961. *
  8962. 2005-05-10 Peter Bartok <[email protected]>
  8963. * AccessibleObject.cs:
  8964. - Removed MonoTODO attribute on help, method is correct
  8965. - Fixed Bounds property
  8966. * AxHost.cs: Moved MonoTODO
  8967. * ButtonBase.cs: Now setting AccessibleObject properties
  8968. * RadioButton.cs: Setting proper AccessibleObject role
  8969. * CheckBox.cs: Setting proper AccessibleObject role
  8970. * ControlBindingsCollection.cs: Added properties, methods and attributes
  8971. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  8972. userdefined DataFormats.Format items as well
  8973. * ListControl.cs: Removed data_member from the public eye
  8974. * OpenFileDialog.cs:
  8975. - Made class sealed
  8976. - Added missing attributes
  8977. * SaveFileDialog.cs: Added missing attributes
  8978. * ImageListStreamer.cs: Fixed code that caused warnings
  8979. * LinkLabel.cs: Removed unreachable code
  8980. * TreeView.cs: Fixed code that caused warnings
  8981. * PropertyGridView.cs: Fixed code that caused warnings
  8982. * GridColumnStylesCollection.cs: Added missing attributes
  8983. * GridTableStylesCollection: Added missing attribute
  8984. * PropertyManager: Added .ctor
  8985. * SecurityIDType: Added
  8986. * DataObject.cs: Implemented class
  8987. * LinkArea.cs: Added missing attribute
  8988. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  8989. * RadioButton.cs: call base method to allow to fire OnClick event
  8990. * UpDownBase.cs: OnMouseUp call base method
  8991. * CheckedListBox.cs: call base method before returning
  8992. * TrackBar.cs: call base method before returning
  8993. 2005-05-10 Peter Bartok <[email protected]>
  8994. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  8995. for messages
  8996. 2005-05-10 Peter Bartok <[email protected]>
  8997. * DataFormats.cs: Implemented
  8998. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  8999. XplatUIX11.cs: Added Clipboard APIs
  9000. * XplatUIWin32.cs: Implemented Clipboard APIs
  9001. * FolderBrowserDialog.cs: Added missing event, attributes
  9002. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  9003. * CheckBox.cs: call base method to allow to fire OnClick event
  9004. 2005-05-09 Sebastien Pouliot <[email protected]>
  9005. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  9006. 2005-05-06 Peter Bartok <[email protected]>
  9007. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  9008. * Screen.cs: Implemented
  9009. * HelpNavigator.cs: Added
  9010. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  9011. property
  9012. * HelpProvider.cs: Implemented all we can do until we have a CHM
  9013. help library (which means that "What's This" does work now)
  9014. 2005-05-06 Jackson Harper <[email protected]>
  9015. * XplatUIX11.cs: Fix waking up the main loop.
  9016. 2005-05-05 Peter Bartok <[email protected]>
  9017. * XplatUI.cs: Updated revision
  9018. * Form.cs: Removed enless loop
  9019. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  9020. * Label.cs (OnPaint): Added call to base.OnPaint()
  9021. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  9022. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  9023. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  9024. * AxHost.cs: Added
  9025. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  9026. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  9027. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  9028. reuse of ToolTipWindow by other controls
  9029. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  9030. * XplatUIX11.cs: Now clipping drawing area (experimental)
  9031. * PictureBox.cs: Moved base.OnPaint() call to end of method
  9032. * Theme.cs: Fixed ToolTip abstracts to match new format
  9033. * ErrorProvider.cs: Implemented
  9034. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  9035. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  9036. * LinkLabel.cs:
  9037. - Adds cursors
  9038. - Handles focus
  9039. - Implements LinkBehavior
  9040. - Fixes many issues
  9041. 2005-05-03 Jackson Harper <[email protected]>
  9042. * ListView.cs: Calculate the scrollbar positioning on resize and
  9043. paint, so they get put in the correct place.
  9044. 2005-05-03 Alexander Olk <[email protected]>
  9045. * ColorDialogs.cs: The small color panels are now handled by
  9046. SmallColorControl. This fixes drawing of the focus rectangle
  9047. and adds a 3D border.
  9048. 2005-05-03 Peter Bartok <[email protected]>
  9049. * Control.cs: Modified version of Jonathan Chamber's fix for
  9050. double-buffering
  9051. 2005-05-03 Jackson Harper <[email protected]>
  9052. * ListView.cs: Remove redraw variable. Control now handles whether
  9053. or not a redraw needs to be done, and will only raise the paint
  9054. event if redrawing is needed.
  9055. 2005-05-03 Jackson Harper <[email protected]>
  9056. * Splitter.cs: No decorations for the splitter form. Cache the
  9057. hatch brush.
  9058. 2005-05-03 Jackson Harper <[email protected]>
  9059. * TreeView.cs: Use dashed lines to connect nodes. Use the
  9060. ControlPaint method for drawing the focus rect instead of doing
  9061. that in treeview.
  9062. 2005-05-02 Peter Bartok <[email protected]>
  9063. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  9064. 2005-04-29 Jackson Harper <[email protected]>
  9065. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  9066. entire image buffer. Just clear the clipping rectangle.
  9067. 2005-04-29 Jackson Harper <[email protected]>
  9068. * ThemeWin32Classic.cs: Don't draw list view items that are
  9069. outside the clipping rectangle.
  9070. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  9071. * ListBox.cs: added horizontal item scroll
  9072. 2005-04-29 Jackson Harper <[email protected]>
  9073. * ThemeWin32Classic.cs: Remove some old debug code that was
  9074. causing flicker with the new double buffering code.
  9075. 2005-04-29 John BouAntoun <[email protected]>
  9076. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  9077. behave like combobox and comboboxlist (still not sure if this is
  9078. correct though).
  9079. 2005-04-28 Jackson Harper <[email protected]>
  9080. * ThemeWin32Classic.cs: Don't fill the middle of progress
  9081. bars. This fills areas outside of the clip bounds that don't need
  9082. to be filled.
  9083. 2005-04-28 Jackson Harper <[email protected]>
  9084. * Control.cs: Don't expose functionality to touch the image buffers.
  9085. * ProgressBar.cs:
  9086. * ListView.cs: We do not need to (and no longer can) manipulate
  9087. the image buffers directly. All of this is handled by Control.
  9088. 2005-04-28 Peter Bartok <[email protected]>
  9089. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9090. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9091. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9092. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9093. * Combobox:
  9094. - Adjust control's height for non-simple comboboxes (bug fix)
  9095. - Remove dead code
  9096. * MenuAPI.cs: remove unused var
  9097. * ScrollBar.cs: remove unsed var
  9098. * ListBox.cs: unselect items when clearing
  9099. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9100. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9101. * ListBox.cs: unselect items when clearing
  9102. 2005-04-27 Jackson Harper <[email protected]>
  9103. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9104. if a "correct" keyboard is not found. This will make us not crash,
  9105. but might give some users bad keyboard layouts...seems to be the
  9106. same thing rewind does.
  9107. 2005-04-27 Jackson Harper <[email protected]>
  9108. * BindingManagerBase.cs: Attach the current/position changed
  9109. handlers to their respective events.
  9110. 2005-04-27 Jackson Harper <[email protected]>
  9111. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9112. not just a blit.
  9113. * ThemeWin32Classic.cs: Don't fill the background for picture
  9114. boxes. This could overright user drawing.
  9115. * ComboBox.cs: Just fill the clipping rect not the entire client
  9116. rect when drawing the background. This prevents pieces of the
  9117. image buffer from getting overwritten and is theoretically faster.
  9118. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9119. * ComboBox.cs: Databinding support fixes, fire missing events
  9120. * ListControl.cs: implement missing methods and properties, fixes
  9121. * ThemeWin32Classic.cs: Databiding support on Drawing
  9122. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9123. * ListBox.cs: Databinding support fixes, fire missing events
  9124. 2005-04-25 Peter Bartok <[email protected]>
  9125. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9126. 2005-04-25 Jackson Harper <[email protected]>
  9127. * TreeView.cs: Use the horizontal scrollbars height not width when
  9128. determining how much of the client area is available.
  9129. 2005-04-25 Jackson Harper <[email protected]>
  9130. * Control.cs: Double buffering is handled differently now. As per
  9131. the spec, the extra buffer is created in the WM_PAINT message and
  9132. passed down to the control's drawing code.
  9133. * GroupBox.cs:
  9134. * Label.cs:
  9135. * CheckBox.cs:
  9136. * ProgressBar.cs:
  9137. * RadioButton.cs:
  9138. * ColorDialog.cs:
  9139. * ComboBox.cs:
  9140. * PropertyGridView.cs:
  9141. * UpDownBase.cs:
  9142. * MessageBox.cs:
  9143. * MenuAPI.cs:
  9144. * ListView.cs:
  9145. * ButtonBase.cs:
  9146. * SizeGrip.cs:
  9147. * ScrollBar.cs:
  9148. * ListBox.cs:
  9149. * TrackBar.cs:
  9150. * ToolBar.cs:
  9151. * PictureBox.cs:
  9152. * DateTimePicker.cs:
  9153. * StatusBar.cs:
  9154. * TreeView.cs: Update to new double buffering system.
  9155. * MonthCalendar.cs: Uncomment block, as Capture is now
  9156. working. Update to new double buffering
  9157. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9158. * PaintEventArgs.cs: New internal method allows us to set the
  9159. graphics object. This is used for double buffering.
  9160. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9161. rectangle. The internal paint_area var has been removed from
  9162. StatusBar. The clipping rect should be used instead.
  9163. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9164. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9165. tab controls Refresh method now.
  9166. * TabControl.cs: Update to new double buffering. Make sure the
  9167. handle is created before sizing the tab pages, otherwise we will
  9168. get stuck in a loop.
  9169. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9170. * LinkLabel.cs: Fix typo, bug #74719; patch
  9171. from Borja Sanchez Zamorano
  9172. 2005-04-22 Jackson Harper <[email protected]>
  9173. * TreeNode.cs: Implement Handle stuff.
  9174. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9175. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9176. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9177. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9178. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9179. * DataGridTableStyle.cs: implements create default column styles
  9180. * DataGridBoolColumn.cs: which types can handle
  9181. * DataGrid.cs: missing methods, fixes, new functionality
  9182. * DataGridColumnStyle.cs: fixes
  9183. 2005-04-20 Alexander Olk <[email protected]>
  9184. * FolderBrowserDialog.cs:
  9185. - Use a thread to fill the TreeView
  9186. - Adjusted some sizes
  9187. 2005-04-19 Peter Bartok <[email protected]>
  9188. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9189. property. Fixes #74360.
  9190. 2005-04-19 Jackson Harper <[email protected]>
  9191. * XEventQueue.cs: Lock when getting the lockqueue size.
  9192. * PictureBox.cs: Call base OnPaint
  9193. 2005-04-19 Peter Bartok <[email protected]>
  9194. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9195. messages were no longer being processed (this broke BeginInvoke)
  9196. 2005-04-18 Jackson Harper <[email protected]>
  9197. * TreeView.cs: buglet that caused node images to get drawn
  9198. regardless of whether or not they were in the clipping rectangle.
  9199. 2005-04-18 Jackson Harper <[email protected]>
  9200. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9201. - If the type is an array use the element type of the array
  9202. - If the type is a typed list, use the type
  9203. - If the list contains an Item property that is not an object, use
  9204. that property
  9205. - use the first element of the list if there are any elements in
  9206. the list.
  9207. 2005-04-17 Jackson Harper <[email protected]>
  9208. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9209. click. This handles offsets for scrolling properly and reduces
  9210. memory. Also fixed GetNode to not offset now that TopNode works
  9211. properly.
  9212. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9213. 2005-04-17 Jackson Harper <[email protected]>
  9214. * CursorConverter.cs: Initial implementation.
  9215. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9216. * ListControl.cs: work towards complex data binding support on ListControl
  9217. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9218. * ListBox.cs: work towards complex data binding support on ListControl
  9219. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9220. * GridTableStylesCollection.cs: fixes name and constructor
  9221. * DataGridTableStyle.cs: fixes
  9222. * DataGridBoolColumn.cs: fixes names and constructors
  9223. * DataGrid.cs: define methods and properties. Some init implementations
  9224. * DataGridCell.cs: define methods and properties. Some init implementations
  9225. * GridTablesFactory.cs: Define methods and properties
  9226. 2005-04-15 Geoff Norton <[email protected]>
  9227. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9228. graphics port changes. We still want the coordinates in global screen
  9229. coordinates.
  9230. 2005-04-14 Jackson Harper <[email protected]>
  9231. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9232. check plus minus or checkbox clicks unless those features are enabled.
  9233. 2005-04-14 Jackson Harper <[email protected]>
  9234. * TreeView.cs: Add methods for setting the top and bottom visible
  9235. nodes. TreeNode::EnsureVisible uses these methods.
  9236. * TreeNode.cs: Implement EnsureVisible
  9237. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9238. * Form.cs: Pospone menu assignation if the window has not been created yet
  9239. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9240. size and position
  9241. 2005-04-12 Jackson Harper <[email protected]>
  9242. * TreeView.cs: Set the TopNode properly when scrolling
  9243. occurs. This has the added benifit of reducing the amount of
  9244. walking that needs to be done when drawing. Also removed an old
  9245. misleading TODO.
  9246. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9247. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9248. * Timer.cs: fixes interval setting when the timer is already enabled
  9249. 2005-04-10 Alexander Olk <[email protected]>
  9250. * FolderBrowserDialog.cs: First approach
  9251. 2005-04-09 Peter Bartok <[email protected]>
  9252. * FolderBrowserDialog: Added
  9253. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9254. * LinkLabel.cs: move drawing code into the theme
  9255. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9256. * Theme.cs: define DrawLinkLabel method
  9257. 2005-04-05 Jackson Harper <[email protected]>
  9258. * BindingContext.cs: Use weak references so these bad actors don't
  9259. stay alive longer then they need to.
  9260. 2005-04-05 Jackson Harper <[email protected]>
  9261. * ListControl.cs: Basic implementation of complex databinding.
  9262. * ComboBox.cs:
  9263. * ListBox.cs: Add calls to ListControl databinding methods.
  9264. 2005-04-05 Alexander Olk <[email protected]>
  9265. * FileDialog.cs:
  9266. - Don't change PopupButtonState to Normal when the
  9267. PopupButton gets pressed several times.
  9268. - Renamed ButtonPanel to PopupButtonPanel
  9269. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9270. * ColorDialog.cs: Use cached objects instead of creating them
  9271. * LinkLabel.cs: Use cached objects instead of creating them
  9272. * Splitter.cs: Use cached objects instead of creating them
  9273. * FontDialog.cs: Use cached objects instead of creating them
  9274. * PropertyGridView.cs: Use cached objects instead of creating them
  9275. * MessageBox.cs: Use cached objects instead of creating them
  9276. * FileDialog.cs: Use cached objects instead of creating them
  9277. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9278. * TreeView.cs: Use cached objects instead of creating them
  9279. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9280. * Control.cs: use Equals to compare the font since no == op
  9281. * ScrollBar.cs: use Equals to compare the font since no == op
  9282. 2005-04-04 Alexander Olk <[email protected]>
  9283. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9284. 2005-04-01 Jackson Harper <[email protected]>
  9285. * Binding.cs: Implement IsBinding.
  9286. * BindingManagerBase.cs:
  9287. * PropertyManager.cs:
  9288. * CurrencyManager.cs: Add IsSuspended property.
  9289. 2005-04-01 Jackson Harper <[email protected]>
  9290. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9291. 2005-04-01 Jackson Harper <[email protected]>
  9292. * Binding.cs: Handle null data members when pulling data.
  9293. * PropertyManager.cs: Handle the data member being a property that
  9294. does not exist.
  9295. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9296. * DataGridTextBoxColumn.cs: fixes signature
  9297. * DataGrid.cs: calls right constructor
  9298. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9299. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9300. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9301. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9302. * DataGridTableStyle.cs: implements DataGridTableStyle
  9303. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9304. * DataGridTextBox.cs: implements DataGridTextBox
  9305. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9306. 2005-03-31 Alexander Olk <[email protected]>
  9307. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9308. 2005-03-29 Peter Bartok <[email protected]>
  9309. * Application.cs:
  9310. - Properly implemented CompanyName property
  9311. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9312. returns a path that includes CompanyName, ProductName and
  9313. Version (fixes bug #70330)
  9314. 2005-03-29 Stefan Buehler <[email protected]>
  9315. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9316. fixes bug #72588.
  9317. 2005-03-28 Alexander Olk <[email protected]>
  9318. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9319. - Added ReadOnly CheckBox
  9320. - Further refactoring: moved some code from Open-/SaveFileDialog
  9321. to FileDialog
  9322. 2005-03-28 Alexander Olk <[email protected]>
  9323. * OpenFileDialog.cs: Fixed CheckFileExists
  9324. * FileDialog.cs:
  9325. Moved FileView and DirComboBox outside FileDialog class.
  9326. They can now be used outside FileDialog
  9327. 2005-03-27 Alexander Olk <[email protected]>
  9328. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9329. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9330. 2005-03-27 Alexander Olk <[email protected]>
  9331. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9332. - Added missing CreatePrompt property in SaveDialog
  9333. - Overall SaveDialog handling should be better now
  9334. - Added non standard ShowHiddenFiles property
  9335. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9336. - Added InitialDirectory and RestoreDirectory support
  9337. 2005-03-26 Alexander Olk <[email protected]>
  9338. * FileDialog.cs: Made dirComboBox usable
  9339. 2005-03-24 Alexander Olk <[email protected]>
  9340. * FileDialog.cs: Added Filter support (case sensitiv)
  9341. 2005-03-24 Jackson Harper <[email protected]>
  9342. * TabControl.cs: Need a couple more pixels for the lines.
  9343. 2005-03-23 Jackson Harper <[email protected]>
  9344. * TabControl.cs: Give the tab page focus when it is selected.
  9345. 2005-03-23 Jackson Harper <[email protected]>
  9346. * TabControl.cs: Account for the drawing of tabs borders when
  9347. invalidating. If the slider was clicked dont do click detection on
  9348. the tabs.
  9349. 2005-03-23 Jackson Harper <[email protected]>
  9350. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9351. 2005-03-22 Jonathan Chambers <[email protected]>
  9352. * CategoryGridEntry.cs: Added
  9353. * GridItem.cs: Added helper properties
  9354. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9355. * GridEntry.cs: Updated code for collection
  9356. * PropertyGrid.cs: Cleaned up some formatting
  9357. * PropertyGridView.cs: Added drop down functionality for enums.
  9358. * GridItemCollection.cs: Added enumerator logic
  9359. * PropertyGridEntry.cs: Added
  9360. 2005-03-19 Alexander Olk <[email protected]>
  9361. * FileDialog.cs:
  9362. - Removed unnecessary commented code
  9363. - Fixed handling for entering the filename manually in the combobox
  9364. 2005-03-19 Alexander Olk <[email protected]>
  9365. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9366. 2005-03-18 Peter Bartok <[email protected]>
  9367. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9368. them being touching the border
  9369. 2005-03-18 Peter Bartok <[email protected]>
  9370. * TextControl.cs: Quick hack to center text better
  9371. 2005-03-18 Peter Bartok <[email protected]>
  9372. * ControlPaint.cs:
  9373. - Don't throw NotImplemented exceptions, just print a notice once
  9374. instead (requested by Miguel). This makes running existing SWF
  9375. apps a bit easier
  9376. * Control.cs:
  9377. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9378. - Added context menu trigger on right click
  9379. * Panel.cs: Trigger invalidate on resize
  9380. * StatusBar.cs:
  9381. - Removed old double-buffer drawing
  9382. - Added ResizeRedraw style to force proper update of statusbar
  9383. * ListView.cs:
  9384. - Removed debug output
  9385. * ThemeWin32Classic.cs:
  9386. - Fixed drawing of status bar, now draws Text property if there
  9387. are no defined panels
  9388. 2005-03-18 Jackson Harper <[email protected]>
  9389. * ImageList.cs: When the image stream is set pull all the images
  9390. from it.
  9391. * ImageListStreamer.cs: Implement reading image list streams.
  9392. 2005-03-18 Peter Bartok <[email protected]>
  9393. * ThemeWin32Classic.cs (DrawPictureBox):
  9394. - Fixed calculations for centered drawing
  9395. - Fixed drawing for normal mode, not scaling the image on normal
  9396. 2005-03-18 Peter Bartok <[email protected]>
  9397. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9398. textbox
  9399. * FileDialog.cs:
  9400. - Made Open/Save button the accept button for FileDialog
  9401. - Tied the cancel button to the IButtonControl cancel button
  9402. - Save/Open now properly builds the pathname
  9403. - Now handles user-entered text
  9404. - Preventing crash on right-click if no item is selected
  9405. - Fixed Text property, now uses contents of textbox
  9406. - Fixed SelectedText property, now just returns the text part that
  9407. is selected in the text box
  9408. 2005-03-18 Jackson Harper <[email protected]>
  9409. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  9410. rect, make sure to de-adjust the interior rect after drawing the
  9411. tab text.
  9412. 2005-03-18 Peter Bartok <[email protected]>
  9413. * MenuAPI.cs: Remove menu *before* executing selected action to
  9414. prevent the menu from 'hanging around'
  9415. 2005-03-17 Geoff Norton <[email protected]>
  9416. * XplatUIOSX.cs: Implemented WorkingArea property
  9417. 2005-03-17 Peter Bartok <[email protected]>
  9418. * XplatUIX11.cs: Fixed menu coord calculations
  9419. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  9420. for calculating offsets
  9421. 2005-03-17 Peter Bartok <[email protected]>
  9422. * Hwnd.cs: Do not consider menu presence for default client
  9423. rectangle location/size
  9424. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9425. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  9426. translation functions
  9427. * FileDialog.cs: Fixed (what I presume is a) typo
  9428. 2005-03-17 Jonathan Gilbert <[email protected]>
  9429. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  9430. X access (avoids X-Async errors)
  9431. 2005-03-16 Jackson Harper <[email protected]>
  9432. * TabControl.cs: Raise the SelectedIndexChanged event.
  9433. 2005-03-16 Alexander Olk <[email protected]>
  9434. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9435. - Removed vertical ToolBar and replaced it with a custom panel
  9436. (desktop and home button already work)
  9437. - Added Help button (some controls get resized or relocated then)
  9438. - Draw correct text depending on Open or Save.
  9439. - Fixed some typos...
  9440. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  9441. * ScrollBar.cs:
  9442. - Only change Maximum and Minimum when need it (bug fix)
  9443. 2005-03-15 Peter Bartok <[email protected]>
  9444. * Form.cs: Use Handle for icon, to trigger creation if
  9445. the window does not yet exist
  9446. * Control.cs:
  9447. - CanSelect: Slight performance improvement
  9448. - Focus(): Preventing possible recursion
  9449. - Invalidate(): Removed ControlStyle based clear flag setting
  9450. - WM_PAINT: fixed logic for calling OnPaintBackground
  9451. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  9452. EraseWindowBackground if the control doesn't paint background
  9453. * XplatUIWin32.cs:
  9454. - Moved EraseWindowBackground() method to internal methods
  9455. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  9456. is sent via SendMessage on BeginPaint call on Win32
  9457. * XplatUIX11.cs:
  9458. - Added EraseWindowBackground() method
  9459. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  9460. PaintEventStart, which more closely matches Win32 behaviour
  9461. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  9462. - Fixed SetFocus() to properly deal with client and whole windows
  9463. * Hwnd.cs: Added ErasePending property
  9464. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  9465. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  9466. 2005-03-12 Geoff Norton <[email protected]>
  9467. * XplatUIOSX.cs:
  9468. - Fix hard loop when timers exist.
  9469. - Fix bugs with middle and right click for 3 button mice.
  9470. 2005-03-11 Peter Bartok <[email protected]>
  9471. * XplatUIX11.cs:
  9472. - get_WorkingArea: Need to call X directly, GetWindowPos only
  9473. returns cached data now
  9474. - Added sanity check to GetWindowPos hwnd usage
  9475. 2005-03-11 Jackson Harper <[email protected]>
  9476. * BindingManagerBase.cs: This method isn't used anymore as
  9477. PullData now updates the data in the control.
  9478. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  9479. * Form.cs: fixes menu drawing on X11
  9480. * MenuAPI.cs: fixes menu drawing on X11
  9481. 2005-03-11 Peter Bartok <[email protected]>
  9482. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  9483. from Jonathan Gilbert; should fix bug #73606
  9484. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  9485. in Screen coordinates. Thanks, Jordi.
  9486. * Form.cs: Added missing attribute
  9487. 2005-03-11 Peter Bartok <[email protected]>
  9488. * Form.cs:
  9489. - Rudimentary Mdi support
  9490. - Removed outdated FormParent code
  9491. - Implemented lots of missing properties and methods, still missing
  9492. transparency support
  9493. - Added missing attributes
  9494. - Implemented support for MaximumBounds
  9495. - Added firing of various events
  9496. * XplatUI.cs: Added SetIcon() method
  9497. * XplatUIDriver.cs: Added SetIcon() abstract
  9498. * XplatUIOSX.cs: Stubbed out SetIcon() method
  9499. * XplatUIX11.cs:
  9500. - Implemented SetIcon() support
  9501. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  9502. - Switched to unix line endings
  9503. * XplatUIWin32.cs:
  9504. - Made POINT internal so for can access it as part of MINMAX
  9505. - Implemented SetIcon() support
  9506. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  9507. native Mdi support again, might have to go managed)
  9508. * Control.cs: Now fires the StyleChanged event
  9509. * MdiClient.cs: Added; still mostly empty
  9510. 2005-03-10 Peter Bartok <[email protected]>
  9511. * SaveFileDialog.cs: Added emtpy file
  9512. 2005-03-08 Peter Bartok <[email protected]>
  9513. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  9514. in turn triggers OnCreateContro) when creating a handle for the
  9515. first time.
  9516. * TextControl.cs: Fixed endless loop in certain cases when
  9517. replacing the current selection
  9518. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  9519. * ScrollBar.cs:
  9520. - Honors NewValue changes in Scroll events allowing apps to change it
  9521. - Adds First and Last Scroll events
  9522. - Fixes Thumb events
  9523. 2005-03-07 Peter Bartok <[email protected]>
  9524. * Hwnd.cs: Added DefaultClientRectangle property
  9525. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  9526. more detailed debug information
  9527. * XplatUIX11.cs:
  9528. - Fixed size-change feedback loop, where we would pull an old size
  9529. off the queue and mistakenly change our window's size to an
  9530. earlier value
  9531. - Now compressing ConfigureNotify events, to reduce looping and
  9532. redraw issues
  9533. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  9534. is called
  9535. 2005-03-07 Jackson Harper <[email protected]>
  9536. * Binding.cs: Push data pushes from data -> property. Check if the
  9537. property is readonly when attempting to set it.
  9538. 2005-03-07 Jackson Harper <[email protected]>
  9539. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  9540. instead of IsSubclassOf. Pulling data now sets the value on the
  9541. control.
  9542. * PropertyManager.cs:
  9543. * CurrencyManager.cs: Just need to pull data when updating now,
  9544. because PullData will set the value on the control.
  9545. 2005-03-04 Jackson Harper <[email protected]>
  9546. * Binding.cs: Implement data type parsing and converting on pulled
  9547. data. TODO: Are there more ways the data can be converted?
  9548. 2005-03-04 Jackson Harper <[email protected]>
  9549. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  9550. controls Validating method so we can repull the data when the
  9551. control loses focus.
  9552. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  9553. * ColumnHeader.cs:
  9554. - Fixes null string format
  9555. * ListView.cs:
  9556. - Adds enum type checks
  9557. - Fixes redrawing and recalc need after changing some properties
  9558. - Fixes on focus_item set after the event
  9559. - Fixes adding columns after the control has been created
  9560. * ThemeWin32Classic.cs:
  9561. - Fixes CheckBox focus rectangle
  9562. - Fixes ColumnHeader drawing
  9563. 2005-03-03 Jackson Harper <[email protected]>
  9564. * Binding.cs: Bind to <Property>Changed events so we can detect
  9565. when properties are changed and update the data.
  9566. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  9567. * ImageList.cs:
  9568. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  9569. - Fixes ImageList constructor with ImageList container
  9570. - Fixes image scaling (wrong parameters at DrawImage)
  9571. 2005-02-02 Jackson Harper <[email protected]>
  9572. * Binding.cs: Make property searches case-insensitive. Eliminate
  9573. some duplicated code.
  9574. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  9575. * ComboBox.cs:
  9576. - Handle focus event
  9577. - Fix scrollbar events
  9578. - Discard highlighted item if remove it
  9579. - Fixes SelectedItem with strings
  9580. 2005-03-01 Peter Bartok <[email protected]>
  9581. * Control.cs:
  9582. - Fixed Visible property, now follows (once again) parent chain
  9583. to return false if any control in the chain is visible=false
  9584. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  9585. - Fixed several places where is_visible instead of Visible was used
  9586. - Implemented FIXME related to focus selection when setting focused
  9587. control to be invisible
  9588. * XplatUIWin32.cs: Now using proper method to find out if window is
  9589. visible. Thanks to Jordi for pointing it out
  9590. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  9591. * ComboBox.cs: show/hide scrollbar instead of creating it
  9592. 2005-02-27 Jackson Harper <[email protected]>
  9593. * CurrencyManager.cs: Add PositionChanged stuff.
  9594. 2005-02-27 Peter Bartok <[email protected]>
  9595. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  9596. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  9597. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  9598. * XplatUIX11.cs:
  9599. - Implemented GetMenuDC()
  9600. - Implemented GetMenuOrigin()
  9601. - Implemented ReleaseMenuDC()
  9602. - Implemented generation of WM_NCPAINT message
  9603. - Implemented generation and handling of WM_NCCALCSIZE message
  9604. * Form.cs: Added debug helper message for Jordi's menu work
  9605. * Hwnd.cs:
  9606. - Modified ClientRect property; added setter, fixed getter to handle
  9607. setting of ClientRect
  9608. - Added MenuOrigin property
  9609. 2005-02-26 Peter Bartok <[email protected]>
  9610. * XplatUIX11.cs:
  9611. - Destroys the caret if a window that's being destroyed contains it
  9612. - Ignores expose events coming from the X11 queue for windows that
  9613. already are destroyed
  9614. - Now uses the proper variable for handling DestroyNotify, before we
  9615. marked the wrong window as destroyed
  9616. - Improved/added some debug output
  9617. 2005-02-26 Peter Bartok <[email protected]>
  9618. * X11Keyboard.cs: Fixes to work on 64bit systems
  9619. 2005-02-26 Peter Bartok <[email protected]>
  9620. * Control.cs:
  9621. - Now calling OnHandleDestroyed from DestroyHandle()
  9622. instead of Dispose()
  9623. - Removed bogus call to controls.Remove() from DestroyHandle()
  9624. 2005-02-26 Peter Bartok <[email protected]>
  9625. * Control.cs: Properly destroy child windows when our handle is
  9626. destroyed
  9627. 2005-02-25 Peter Bartok <[email protected]>
  9628. * XplatUI.cs:
  9629. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  9630. - Alphabetized Static Methods and Subclasses
  9631. * XplatUIX11.cs:
  9632. - Added XException class to allow custom handling of X11 exceptions
  9633. - Created custom X11 error handler, tied into XException class
  9634. - Added support for MONO_XEXCEPTIONS env var to allow the user
  9635. to either throw an exception on X errors or continue running
  9636. after displaying the error
  9637. - Added handling of DestroyNotify message
  9638. - Added handler for CreateNotify message (still disabled)
  9639. - Improved (tried to at least) Where method to provide file and lineno
  9640. * X11Structs.cs:
  9641. - Added XErrorHandler delegate
  9642. - Added XRequest enumeration (to suppor translation of errors)
  9643. 2005-02-25 Jackson Harper <[email protected]>
  9644. * PropertyManager.cs: Implement editing features
  9645. * CurrencyManager.cs:
  9646. * Binding.cs: First attempt at UpdateIsBinding
  9647. * BindingManagerBase.cs: Call UpdateIsBinding before
  9648. pushing/pulling data.
  9649. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  9650. * MenuAPI.cs: Respect disabled items
  9651. * ThemeWin32Classic.cs
  9652. - Caches ImageAttributes creation for DrawImageDisabled
  9653. - Fixes vertical menu line drawing
  9654. - Draws disabled arrows in disable menu items
  9655. 2005-02-24 Peter Bartok <[email protected]>
  9656. * Hwnd.cs:
  9657. - Added UserData property to allow associating arbitrary objects
  9658. with the handle
  9659. - Fixed leak; now removing Hwnd references from static windows array
  9660. * XplatUIWin32.cs:
  9661. - Fixed Graphics leak in PaintEventEnd
  9662. - Removed usage of HandleData, switched over to Hwnd class
  9663. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  9664. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9665. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  9666. * ScrollBar.cs: Fixes bug
  9667. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  9668. keyboard navigation enhancements
  9669. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9670. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  9671. * GroupBox.cs: Add control styles
  9672. * Label.cs: Add control styles
  9673. * UpDownBase.cs: Add control styles
  9674. * ListBox.cs: Add control styles
  9675. * XplatUIWin32.cs: Fixes wrong parameter order
  9676. 2005-02-23 Chris Bacon <[email protected]>
  9677. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  9678. 2005-02-23 Jackson Harper <[email protected]>
  9679. * PropertyManager.cs: Implement property binding. This doesn't
  9680. seem to work yet though as (I think) there are some bugs in
  9681. System.ComponentModel.PropertyDescriptor.
  9682. * BindingContext.cs: Use new PropertyManager constructor.
  9683. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  9684. * ProgressBar.cs: use clip region in ProgressBar
  9685. * ThemeWin32Classic.cs: use clip region in ProgressBar
  9686. 2004-02-22 Jackson Harper <[email protected]>
  9687. * BindingsCollection.cs: Remove some debug code.
  9688. 2005-02-22 Jackson Harper <[email protected]>
  9689. * BindingContext.cs:
  9690. * ControlBindingsCollection.cs:
  9691. * CurrencyManager.cs:
  9692. * Binding.cs:
  9693. * BindingManagerBase.cs: Initial implementation
  9694. * BindingsCollection.cs: Add an internal contains method that the
  9695. BindingManagerBase uses to ensure bindings aren't added twice to
  9696. the collection.
  9697. * PropertyManager.cs: Stubbed out.
  9698. * Control.cs:
  9699. * ContainerControl.cs: Hook up databinding
  9700. 2005-02-22 Geoff Norton <[email protected]>
  9701. * XplatUIOSX.cs:
  9702. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  9703. Fixed Invalidate/Update chain.
  9704. Fixed tons of other minor bugs (this is almost a complete rewrite).
  9705. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  9706. * ComboBox.cs: do subcontrol creation when the control is created
  9707. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9708. * Label.cs: fixes image drawing (image and imagelist)
  9709. * ThemeWin32Classic.cs: cache brushes
  9710. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9711. * Form.cs: Move menu drawing code to Theme class
  9712. * ComboBox.cs: Move ComboBox drawing code to Theme class
  9713. * MenuItem.cs: Move menu drawing code to Theme class
  9714. * MenuAPI.cs: Move menu drawing code to Theme class
  9715. * ThemeWin32Classic.cs: New methods
  9716. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  9717. * ListBox.cs: Move Listbox drawing code to Theme class
  9718. * Theme.cs: New methods
  9719. 2005-02-20 Peter Bartok <[email protected]>
  9720. * Control.cs:
  9721. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  9722. only process mnemonics on those)
  9723. - Fixed event sequence for key handling; first calling
  9724. ProcessKeyEventArgs now
  9725. * TextBoxBase.cs:
  9726. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  9727. for processing non-character keys
  9728. - Fixed WM_CHAR to generate proper event sequence before processing
  9729. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  9730. generation
  9731. 2005-02-19 Peter Bartok <[email protected]>
  9732. * UserControl.cs: Added TextChanged event; added attributes
  9733. * SizeGrip.cs: Implemented resizing and optional display of grip
  9734. * Form.cs: Fixed attribute
  9735. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9736. Changed meaning of ScrollWindow bool argument; instead of the
  9737. clear attribute (which will be true usually anyway), it gives the
  9738. option of moving child controls as well.
  9739. * XplatUIX11.cs:
  9740. - Changed to match new ScrollWindow argument
  9741. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  9742. now handles the implicit parent window a WM puts around us
  9743. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  9744. to work)
  9745. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  9746. * TreeView.cs: Adjusted to new ScrollWindow arguments
  9747. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9748. * Form.cs: Menu integration with non-client area
  9749. * MenuItem.cs: Menu integration with non-client area
  9750. * MenuAPI.cs: Menu integration with non-client area
  9751. 2005-02-18 Peter Bartok <[email protected]>
  9752. * MethodInvoker.cs: Added
  9753. * MdiLayout.cs: Added
  9754. * SendKeys.cs: Started implementation
  9755. * ErrorIconAlignment.cs: Added
  9756. 2005-02-18 Peter Bartok <[email protected]>
  9757. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  9758. * Form.cs: Added handling for Menu-related Non-client messages
  9759. 2005-02-17 Peter Bartok <[email protected]>
  9760. * UpDownBase.cs: Fixed typo, compilation errors
  9761. * DomainUpDown.cs: Fixed attribute value
  9762. 2005-02-16 Miguel de Icaza <[email protected]>
  9763. * UpDownBase.cs: Attach entry events.
  9764. Propagate events.
  9765. Add ForeColor property, Focused, InterceptArrowKeys (interception
  9766. does not work yet).
  9767. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  9768. * Form.cs:
  9769. - Redraw non client are on Setmenu
  9770. - Calc proper menu starting point
  9771. 2005-02-17 Peter Bartok <[email protected]>
  9772. * Application.cs: Fixed message_filter check
  9773. 2005-02-17 Peter Bartok <[email protected]>
  9774. * Application.cs: Now calls registered message filters
  9775. * DockStyle.cs: Fixed attribute
  9776. * Form.cs: Fixed attribute
  9777. * Menu.cs: Fixed attribute
  9778. * ToolTip.cs: Fixed attribute
  9779. * TreeNode.cs: Added missing attributes and arranged in regions
  9780. * PropertyGrid.cs: Fixed signatures
  9781. * TreeNodeCollection.cs: Added attributes
  9782. * Splitter.cs: Added missing attributes; arranged into regions
  9783. * TabPage.cs: Added missing attributes; arranged into regions
  9784. * TextBoxBase.cs: Added missing attributes
  9785. * TextBox.cs: Added missing attributes
  9786. * ArrangeDirection.cs: Added missing attributes
  9787. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  9788. * ToolBarButton.cs: Fixed attributes
  9789. * AnchorStyles.cs: Fixed attribute
  9790. * TrackBar.cs: Fixed attributes
  9791. * TabControl.cs: Added missing attributes and arranged into regions
  9792. * ToolBar.cs: Fixed attribute
  9793. * StatusBar.cs: Fixed signature, organized into regions and added
  9794. attributes
  9795. * StatusBarPanel.cs: Fixed attributes
  9796. * ContentsResizedEventArgs.cs: Implemented
  9797. * ContentsResizedEventHandler.cs: Implemented
  9798. * DateBoldEventArgs.cs: Implemented
  9799. * DateBoldEventHandler.cs: Implemented
  9800. * UpDownEventArgs.cs: Implemented
  9801. * UpDownEventHandler.cs: Implemented
  9802. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  9803. * Form.cs: first Menu NC refactoring
  9804. * MenuAPI.cs: first Menu NC refactoring
  9805. 2005-02-16 Peter Bartok <[email protected]>
  9806. * ImeMode.cs: Added missing attributes
  9807. * Menu.cs: Fixed attribute
  9808. * GroupBox.cs: Fixed attribute
  9809. * Label.cs: Fixed attribute
  9810. * ColorDialog.cs (RunDialog): Removed TODO attribute
  9811. * ComboBox.cs: Fixed attributes
  9812. * ListControl.cs: Added missing attributes
  9813. * PropertyGrid.cs: Fixed attributes
  9814. * Control.cs: Fixed attributes
  9815. * ListViewItem.cs: Added TypeConverter attribute
  9816. * NotifyIcon.cs: Fixed attributes
  9817. * ListView.cs: Fixed attributes
  9818. * ButtonBase.cs: Fixed attribute
  9819. * ImageList.cs: Added missing attributes
  9820. * ContainerControl.cs: Fixed signature
  9821. * CheckedListBox.cs: Fixed attribute; added missing attributes
  9822. * Panel.cs: Fixed attributes
  9823. * PropertyTabChangedEventArgs.cs: Added missing attribute
  9824. * PropertyValueChangedEventArgs.cs: Added missing attribute
  9825. * Binding.cs: Fixed attribute
  9826. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  9827. * ListBox.cs: Fixed attribute; added missing attributes;
  9828. * ScrollableControl.cs: Added missing attributes
  9829. * PictureBox.cs: Added missing attributes; implemented missing property
  9830. * DateTimePicker.cs: Added missing attributes
  9831. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  9832. * MonthCalendar.cs: Fixed attributes
  9833. * StatusBarPanel.cs: Added missing attributes
  9834. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  9835. 2005-02-16 Peter Bartok <[email protected]>
  9836. * TextBoxBase.cs: The previous method to enforce height yet remember
  9837. the requested high was less than ideal, this is an attempt to do
  9838. it better.
  9839. * Control.cs: Added comment about possible problem
  9840. * Copyright: Updated format
  9841. * GridItemType.cs: Fixed swapped values
  9842. 2005-02-15 Jackson Harper <[email protected]>
  9843. * BaseCollection.cs: Use property so we never access an
  9844. uninitialized list. Also initialize the list in the property.
  9845. 2005-02-15 Peter Bartok <[email protected]>
  9846. * GroupBox.cs (ProcessMnemonic): Implemented
  9847. * Label.cs (ProcessMnemonic): Implemented
  9848. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  9849. hotkeys
  9850. 2005-02-15 Peter Bartok <[email protected]>
  9851. * RadioButton.cs (ProcessMnemonic): Implemented
  9852. * CheckBox.cs (ProcessMnemonic): Implemented
  9853. * Control.cs:
  9854. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  9855. handling
  9856. - Added internal method to allow calling ProcessMnemonic from other
  9857. controls
  9858. * ContainerControl.cs:
  9859. - Started support for handling validation chain handling
  9860. - Implemented ProcessMnemonic support
  9861. - Added Select() call to Active, to make sure the active control
  9862. receives focus
  9863. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  9864. FormParent rewrite)
  9865. * ThemeWin32Classic.cs:
  9866. - DrawCheckBox(): Fixed stringformat to show hotkeys
  9867. - DrawRadioButton(): Fixed stringformat to show hotkeys
  9868. * CommonDialog.cs: Removed WndProc override, not needed
  9869. 2005-02-14 Peter Bartok <[email protected]>
  9870. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  9871. missed those in the rewrite
  9872. 2005-02-14 Miguel de Icaza <[email protected]>
  9873. * NumericUpDown.cs (Increment, ToString): Add.
  9874. (DecimalPlaces): implement.
  9875. Add attributes.
  9876. * UpDownBase.cs: Add the designer attributes.
  9877. 2005-02-13 Peter Bartok <[email protected]>
  9878. * Panel.cs: Removed border_style, now in Control
  9879. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  9880. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  9881. 2005-02-13 Peter Bartok <[email protected]>
  9882. * MouseButtons.cs: Added missing attributes
  9883. * XplatUIStructs.cs: Added enumeration for title styles
  9884. * LeftRightAlignment.cs: Added missing attributes
  9885. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  9886. it compatible with Graphics.FromHwnd()
  9887. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  9888. * Keys.cs: Added missing attributes
  9889. * SelectionRange.cs: Added missing attributes
  9890. * SelectionRangeConverter.cs: Added
  9891. * XplatUI.cs:
  9892. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  9893. ReleaseMenuDC methods
  9894. - Renamed ReleaseWindow to UngrabWindow
  9895. - Added proper startup notice to allow version identification
  9896. * Form.cs:
  9897. - Added missing attributes
  9898. - Removed FormParent concept
  9899. * Label.cs: Removed border_style field, now in Control
  9900. * RadioButton.cs: Now properly selects RadioButton when focus is
  9901. received
  9902. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  9903. * Control.cs:
  9904. - Added missing attributes
  9905. - Added borderstyle handling
  9906. - Removed FormParent concept support
  9907. - Fixed calls to XplatUI to match changed APIs
  9908. - Fixed bug that would case us to use disposed Graphics objects
  9909. - Removed unneeded internal methods
  9910. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  9911. - SelectNextControl(): Fixed to properly check common parents
  9912. * TextBoxBase.cs: Removed border_style field (now in Control)
  9913. * MessageBox.cs:
  9914. - Patch by Robert Thompson ([email protected]): Added icon support,
  9915. fixed calculations for form size
  9916. - Added support for localized strings and icons
  9917. - Improved form size calculations, added border
  9918. * ListView.cs: Removed border_style field (now in Control)
  9919. * X11Structs.cs: Moved several structs from X11 driver here
  9920. * X11Keyboard.cs: Changed debug message
  9921. * Application.cs: Removed FormParent concept support
  9922. * CommonDialog.cs:
  9923. - Resetting end_modal flag
  9924. - Removed FormParent concept support
  9925. * NativeWindow.cs: Removed FormParent concept support
  9926. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  9927. Client area and Non-Client whole window to allow support for WM_NC
  9928. messages
  9929. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  9930. prevent using it until it supports Hwnd as per Geoff Norton's request
  9931. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  9932. * PictureBox.cs: Removed border_style field, now in Control
  9933. * XplatUIWin32.cs: Added new driver methods
  9934. 2005-02-12 Peter Bartok <[email protected]>
  9935. * OpacityConverter.cs: Implemented
  9936. * Hwnd.cs: Internal class to support drivers that need to emulate
  9937. client area/non-client area window behaviour
  9938. 2005-02-11 Peter Bartok <[email protected]>
  9939. * KeysConverter.cs: Implemented
  9940. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  9941. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  9942. * LinkLabel: Added missing attributes
  9943. * MainMenu.cs: fixes ToString
  9944. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  9945. * ListBox.cs: fixes event position
  9946. * TrackBar.cs: adds missing attributes and events
  9947. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  9948. * MenuItem.cs: Use SystemInformation and bug fixes
  9949. * MenuAPI.cs: Use SystemInformation and bug fixes
  9950. 2005-02-09 Jackson Harper <[email protected]>
  9951. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  9952. their keystate otherwise things like VK_MENU get stuck "on".
  9953. 2005-02-09 Kazuki Oikawa <[email protected]>
  9954. * ListBox.cs: Fixes AddRange bug
  9955. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  9956. * ProgressBar.cs
  9957. - Add missing attributes
  9958. - Add missing method
  9959. * CheckedListBox.cs: Added missing attributes
  9960. - Add missing attributes
  9961. - Remove extra method
  9962. * ComboBox.cs: Added missing attributes
  9963. * VScrollBar.cs: Added missing attributes
  9964. * ScrollBar.cs: Added missing attributes
  9965. * ListBox.cs: Fixes signature, add missing consts
  9966. * LinkArea.cs: Added missing attributes
  9967. 2005-02-08 Peter Bartok <[email protected]>
  9968. * Menu.cs: Added missing attributes
  9969. * MainMenu.cs: Added missing attributes
  9970. * GroupBox.cs: Added missing attributes
  9971. * Label.cs: Added missing attributes
  9972. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  9973. * ColorDialog.cs:
  9974. - Added Instance and Options properties
  9975. - Added missing attributes
  9976. * Cursor.cs: Made Serializable
  9977. * NotifyIcon: Added missing attributes
  9978. * MenuItem.cs: Added missing attributes
  9979. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  9980. * Panel.cs: Added Missing attributes
  9981. * MonthCalendar.cs: Fixed CreateParams
  9982. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9983. * LinkLabel.cs:
  9984. - Fixes signature
  9985. - Fixes issues with links
  9986. - Adds the class attributes
  9987. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9988. * ComboBox.cs:
  9989. - Fixes button when no items available in dropdown
  9990. - Fixes repainting problems
  9991. - Adds the class attributes
  9992. 2005-02-07 Geoff Norton <[email protected]>
  9993. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  9994. the current theme. Cache these on startup.
  9995. 2005-02-07 Jackson Harper <[email protected]>
  9996. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  9997. the scrollbar buttons when they are depressed.
  9998. 2005-02-07 Geoff Norton <[email protected]>
  9999. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  10000. Get the display size from the main displayid. We currently dont
  10001. support multiple display configurations.
  10002. 2005-02-07 Geoff Norton <[email protected]>
  10003. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  10004. 2005-02-07 Miguel de Icaza <[email protected]>
  10005. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  10006. 2005-02-05 Jonathan Chambers <[email protected]>
  10007. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  10008. 2005-02-04 Jackson Harper <[email protected]>
  10009. * ThemeWin32Classic.cs: Respect the clipping rect when
  10010. drawing. Only fill the intersection of clips and rects so there
  10011. isn't a lot of large fills.
  10012. * ScrollBar.cs: Pass the correct clipping rect to the theme
  10013. engine. Remove some debug code.
  10014. 2005-02-05 John BouAntoun <[email protected]>
  10015. * DateTimePicker.cs:
  10016. - Fixed crash on DateTime.Parse, use Constructor instead
  10017. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10018. * MenuItem.cs:
  10019. * MenuAPI.cs:
  10020. - Owner draw support (MeasureItem and DrawItem)
  10021. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10022. * Menu.cs:
  10023. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  10024. - Fixes MenuItems.Add range
  10025. * MenuItem.cs:
  10026. - MergeMenu and Clone and CloneMenu functions
  10027. 2005-02-03 Jackson Harper <[email protected]>
  10028. * ScrollBar.cs: Make abstract
  10029. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  10030. is abstract.
  10031. 2005-02-03 Jackson Harper <[email protected]>
  10032. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  10033. all the unneeded refreshes and uses invalidates with properly
  10034. computed rects.
  10035. 2005-02-03 Peter Bartok <[email protected]>
  10036. * ComponentModel.cs: Added
  10037. * IDataGridEditingService.cs: Added
  10038. * Timer.cs: Added missing attributes
  10039. * ToolTip.cs: Added missing attributes
  10040. 2005-02-03 Jonathan Chambers <[email protected]>
  10041. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  10042. 2005-02-03 Peter Bartok <[email protected]>
  10043. * ListBox.cs: Added missing attributes
  10044. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  10045. * ListBox.cs:
  10046. - Fixes font height after font change
  10047. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  10048. 2005-02-02 Peter Bartok <[email protected]>
  10049. * HandleData.cs: Introduced static methods to allow class
  10050. to be more self-contained and track it's own HandleData objects
  10051. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  10052. HandleData to use new static methods
  10053. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  10054. * Combobox.cs:
  10055. - Fixes default size and PreferredHeight
  10056. - Missing events
  10057. - ObjectCollection.Insert implementation
  10058. * ListControl.cs
  10059. - Fixes signature
  10060. * ListBox.cs:
  10061. - Several fixes
  10062. - ObjectCollection.Insert implementation
  10063. - No selection after clean
  10064. - Small fixes
  10065. 2005-01-31 John BouAntoun <[email protected]>
  10066. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  10067. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  10068. * Combobox.cs:
  10069. - Caches ItemHeight calculation for OwnerDrawVariable
  10070. - Handles dropdown properly
  10071. - Fixes several minor bugs
  10072. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10073. * ListBox.cs:
  10074. - Fixes 71946 and 71950
  10075. - Fixes changing Multicolumn on the fly
  10076. - Fixes keyboard navigation on Multicolumn listboxes
  10077. 2005-01-31 Geoff Norton <[email protected]>
  10078. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  10079. crash reporter log.
  10080. 2005-01-31 Geoff Norton <[email protected]>
  10081. * XplatUIOSX.cs: Allow applications to actually exit.
  10082. 2005-01-31 Geoff Norton <[email protected]>
  10083. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  10084. their parent at creation time rather than lazily later. Fixes a major
  10085. regression we were experiencing.
  10086. 2005-01-31 John BouAntoun <[email protected]>
  10087. * ThemeWin32Classic.cs: more date time picker painting fixes
  10088. * DateTimePicker.cs: more monthcalendar drop down fixes
  10089. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10090. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10091. * ScrollBar.cs:
  10092. - When moving the thumb going outside the control should stop the moving
  10093. - Adds the firing of missing events
  10094. - Fixes no button show if Size is not specified
  10095. - End / Home keys for keyboard navigation
  10096. 2005-01-30 Peter Bartok <[email protected]>
  10097. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10098. sanity check to prevent theoretical loop
  10099. * XplatUIWin32.cs (SetVisible): Removed debug output
  10100. * XplatUIX11.cs (SystrayChange): Added sanity check
  10101. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10102. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10103. behaviour, valid until the X11 client window rewrite is done
  10104. * TextBox.cs (ctor): Setting proper default foreground and background
  10105. colors
  10106. 2005-01-30 John BouAntoun <[email protected]>
  10107. * Theme: Added DrawDateTimePicker to interface
  10108. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10109. * DateTimePicker.cs: Created (still needs keys and painting code)
  10110. * DateTimePickerFormat.cs: added
  10111. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10112. 2005-01-29 Peter Bartok <[email protected]>
  10113. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10114. this should also the calculations for ligher/darker
  10115. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10116. 2005-01-29 Peter Bartok <[email protected]>
  10117. * ArrangeDirection.cs: Added
  10118. * ArrangeStartingPositon.cs: Added
  10119. * SystemInformation.cs: Implemented
  10120. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10121. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10122. used by SystemInformation class
  10123. * X11Strucs.cs: Added XSizeHints structure
  10124. * MenuAPI.cs:
  10125. - Fixed CreateParams to make sure the menu window is always visible
  10126. - TrackPopupMenu: Added check to make sure we don't draw the
  10127. menu offscreen
  10128. 2005-01-29 Peter Bartok <[email protected]>
  10129. * HandleData.cs: Added method for altering invalid area
  10130. * TextBoxBase.cs: Implemented TextLength
  10131. 2005-01-28 Peter Bartok <[email protected]>
  10132. * XplatUIX11.cs: Improvement over last patch, not sending
  10133. the WM_PAINT directly anymore, instead we scroll any pending
  10134. exposed areas and let the system pick out the WM_PAINT later
  10135. 2005-01-28 Peter Bartok <[email protected]>
  10136. * SWF.csproj: Deleted, no longer used. Instead,
  10137. Managed.Windows.Forms/SWF.csproj should be used
  10138. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10139. directly, to avoid a potential race condition with the next
  10140. scroll
  10141. 2005-01-28 Peter Bartok <[email protected]>
  10142. * XplatUI.cs: Made class internal
  10143. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10144. * CheckedListBox.cs:
  10145. - Draw focus
  10146. - Fixed Drawing
  10147. - Missing methods and events
  10148. 2005-01-27 Peter Bartok <[email protected]>
  10149. * Application.cs (Run): Don't use form if we don't have one
  10150. 2005-01-27 Peter Bartok <[email protected]>
  10151. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10152. 2005-01-27 Peter Bartok <[email protected]>
  10153. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10154. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10155. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10156. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10157. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10158. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10159. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10160. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10161. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10162. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10163. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10164. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10165. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10166. * Combobox.cs:
  10167. - Draw focus on Simple Combobox
  10168. - Fixes drawing issues
  10169. - fixes 71834
  10170. 2005-01-27 Peter Bartok <[email protected]>
  10171. * Form.cs:
  10172. - Place window in default location, instead of hardcoded 0/0
  10173. - Send initial LocationChanged event
  10174. * Control.cs:
  10175. - UpdateBounds after creation to find out where the WM placed us
  10176. - Make sure that if the ParentForm changes location the Form
  10177. is notified
  10178. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10179. to the root, but to whatever the WM placed around us.
  10180. Translate to root coordinates before returning toplevel
  10181. coordinates
  10182. * XplatUIWin32.cs: Removed debug output
  10183. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10184. flag to GetWindowPos, to allow translation of coordinates on X11
  10185. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10186. * ListBox.cs: connect LostFocus Event
  10187. 2005-01-27 Peter Bartok <[email protected]>
  10188. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10189. XplatUIX11.cs: Extended the Systray API
  10190. * Form.cs: Removed debug output
  10191. * Application.cs: Fixed focus assignment, always need to call
  10192. XplatUI.Activate() since Form.Activate() has rules that may
  10193. prevent activation
  10194. * NotifyIcon.cs: Should be complete now
  10195. * ToolTip.cs: Worked around possible timer bug
  10196. 2005-01-27 Jackson Harper <[email protected]>
  10197. * TabControl.cs:
  10198. - Only invalidate the effected tabs when the
  10199. selected index changes. This reduces drawing and gets rid of some
  10200. flicker.
  10201. - Only refresh if the tabs need to be shifted, otherwise only
  10202. invalidate the slider button.
  10203. - On windows the tabs are not filled to right if the slider is
  10204. visible.
  10205. 2005-01-27 Jackson Harper <[email protected]>
  10206. * TabControl.cs: Only refresh on mouseup if we are showing the
  10207. slider. Also only invalidate the button whose state has changed.
  10208. 2005-01-26 Peter Bartok <[email protected]>
  10209. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10210. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10211. and SystrayRemove() methods
  10212. * XplatUIOSX.cs: Stubbed Systray methods
  10213. * XplatUIX11.cs:
  10214. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10215. methods
  10216. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10217. * X11Structs.cs: Added enums and structs required for Size hinting
  10218. * NotifyIcon.cs: Added & implemented
  10219. 2005-01-26 Jackson Harper <[email protected]>
  10220. * TabControl.cs: Space vertically layed out tabs properly.
  10221. 2005-01-26 Peter Bartok <[email protected]>
  10222. * Form.cs (CreateClientParams): Always set the location to 0,0
  10223. since we're a child window.
  10224. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10225. of a toplevel window, apparently X11 doesn't like to move windows
  10226. while they're not mapped.
  10227. 2005-01-26 Jackson Harper <[email protected]>
  10228. * TabControl.cs: Implement FillToRight size mode with vertically
  10229. rendered tabs.
  10230. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10231. * ControlPaint.cs, ThemeWin32Classic.cs
  10232. - Fixes DrawFocusRectangle
  10233. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10234. * MenuAPI.cs:
  10235. - MenuBar tracking only starts when item is first clicked
  10236. - Fixes menu hidding for multiple subitems
  10237. - Unselect item in MenuBar when item Executed
  10238. - Fixes bug 71495
  10239. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10240. * ListControl.cs:
  10241. - IsInputKey for ListBox
  10242. * ListBox.cs:
  10243. - Focus item
  10244. - Shift and Control item selection
  10245. - Implement SelectionMode.MultiExtended
  10246. - Fixes RightToLeft
  10247. * ComboBox.cs:
  10248. - IsInputKey implemented
  10249. - Do not generate OnTextChangedEdit on internal txt changes
  10250. 2005-01-23 Peter Bartok <[email protected]>
  10251. * AccessibleObject.cs: Partially implemented Select()
  10252. * MonthCalendar.cs: Added missing attributes and events
  10253. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10254. form can properly override CreateParams.
  10255. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10256. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10257. Control performs Invalidate & Update
  10258. * NativeWindow (CreateHandle): Added special handling for Form
  10259. and Form.FormParent classes to allow overriding of From.CreateParams
  10260. * Control.cs:
  10261. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10262. name 'owner'
  10263. - ControlNativeWindow: Added Owner property
  10264. - Removed usage of Refresh() on property changes, changed into
  10265. Invalidate(), we need to wait until the queue is processed for
  10266. updates, direct calls might cause problems if not all vars for
  10267. Paint are initialized
  10268. - Added call to UpdateStyles() when creating the window, to set any
  10269. styles that CreateWindow might have ignored.
  10270. - Added support for Form CreateParent overrides to UpdateStyles()
  10271. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10272. CreateParams are now properly overridable
  10273. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10274. CreateParams are now properly overridable
  10275. 2005-01-23 Miguel de Icaza <[email protected]>
  10276. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10277. OnTextBoxChanged.
  10278. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10279. recursive invocation that I have not figured out yet.
  10280. Reset the timer when not using (it was accumulating).
  10281. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10282. user has made changes that require validation.
  10283. Reset changing to avoid loops.
  10284. 2005-01-22 Miguel de Icaza <[email protected]>
  10285. * NumericUpDown.cs: Display value at startup.
  10286. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10287. ValidateEditText.
  10288. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10289. filled in. Added some basic parsing of text.
  10290. Still missing the OnXXX method overrides, and figuring out the
  10291. events that must be emitted.
  10292. * UpDownBase.cs: Handle UserEdit on the Text property.
  10293. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10294. * ComboBox.cs:
  10295. - Fixes IntegralHeight
  10296. - ToString method
  10297. 2005-01-21 Jackson Harper <[email protected]>
  10298. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10299. is set so that the page visibility is updated and the tabs are
  10300. sized correctly.
  10301. 2005-01-21 Jackson Harper <[email protected]>
  10302. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10303. theme the clipping rect so we can do clipping while
  10304. drawing. Remove some debug code.
  10305. 2005-01-21 Jackson Harper <[email protected]>
  10306. * TabPage.cs: Add a new method so tab pages can force the tab
  10307. control to recalculate the tab page sizes.
  10308. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10309. sizes.
  10310. 2005-01-20 Jackson Harper <[email protected]>
  10311. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10312. 2005-01-20 Jackson Harper <[email protected]>
  10313. * TreeView.cs: Set the bounds for nodes properly. They were
  10314. getting screwed up when checkboxes were not enabled, but images
  10315. were.
  10316. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10317. * ListBox.cs:
  10318. - Owner draw support
  10319. - Fixes
  10320. 2005-01-20 Jackson Harper <[email protected]>
  10321. * XplatUIStructs.cs: More misc keys
  10322. * X11Keyboard.cs: Ignore some control keys.
  10323. 2005-01-20 Jackson Harper <[email protected]>
  10324. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10325. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10326. 2005-01-19 Peter Bartok <[email protected]>
  10327. * Control.cs: Un-selecting the control when it is loosing focus
  10328. 2005-01-19 Jackson Harper <[email protected]>
  10329. * TreeView.cs: Hook up to the text controls leave event so we can
  10330. end editing when the users clicks outside the text box.
  10331. 2005-01-19 Jackson Harper <[email protected]>
  10332. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10333. get set in the conversion array.
  10334. 2005-01-19 Peter Bartok <[email protected]>
  10335. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10336. focus is properly set
  10337. * Button.cs:
  10338. - Added missing attributes
  10339. - removed styles, those are already set in the base class
  10340. * ButtonBase.cs:
  10341. - Added missing attributes
  10342. - Added clip window styles
  10343. * CheckBox.cs: Added missing attributes
  10344. * CommonDialog.cs:
  10345. - FormParentWindow.CreateParams: Added required clip styles
  10346. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10347. also filters modifier keys
  10348. * MessageBox.cs:
  10349. - Added assignment of Accept and Cancel button to enable Enter
  10350. and Esc keys in MessageBox dialogs
  10351. - FormParentWindow.CreateParams: Added required clip styles
  10352. * RadioButton.cs: Added missing attributes
  10353. * TextControl.cs: No longer draws selection if control does not
  10354. have focus
  10355. * TextBoxBase.cs:
  10356. - Now draws simple rectangle around test area to make it obvious
  10357. there's a control. This is a hack until we properly support borders
  10358. - A few simple fixes to support selections better, now erases selected
  10359. text when typing, and resets selection when using movement keys
  10360. 2005-01-19 Miguel de Icaza <[email protected]>
  10361. * UpDownBase.cs: Added some new properties.
  10362. * DomainUpDown.cs: Implement a lot to get my test working.
  10363. 2005-01-19 Geoff Norton <[email protected]>
  10364. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10365. 2005-01-19 Geoff Norton <[email protected]>
  10366. * OSXStructs (WindowAttributes): Fixed csc complaints
  10367. 2005-01-19 Geoff Norton <[email protected]>
  10368. * XplayUIOSX.cs:
  10369. OSXStructs.cs: Initial refactor to move enums and consts into
  10370. OSXStructs and use them in the driver for greater readability.
  10371. 2005-01-19 Geoff Norton <[email protected]>
  10372. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10373. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10374. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10375. * ComboBox.cs: ability to change style when the ctrl is already
  10376. created, missing methods and events, bug fixes, signature fixes
  10377. 2005-01-19 Peter Bartok <[email protected]>
  10378. * Cursors.cs (ctor): Added ctor to fix signature
  10379. 2005-01-18 Peter Bartok <[email protected]>
  10380. * Button.cs: Implemented DoubleClick event
  10381. * ButtonBase.cs:
  10382. - Fixed keyboard handling to behave like MS, where the press of
  10383. Spacebar is equivalent to a mousedown, and the key release is
  10384. equivalent to mouseup. Now a spacebar push will give the same
  10385. visual feedback like a mouse click.
  10386. - Added missing attributes
  10387. - Added ImeModeChanged event
  10388. - Added support for generating DoubleClick event for derived classes
  10389. * CheckBox.cs:
  10390. - Implemented DoubleClick event
  10391. - Added missing attributes
  10392. * CommonDialog.cs: Added missing attribute
  10393. * ContextMenu.cs: Added missing attributes
  10394. * RadioButton.cs:
  10395. - AutoChecked buttons do not allow to be unselected when clicked
  10396. (otherwise we might end up with no selected buttons in a group)
  10397. - Added missing attributes
  10398. - Implemented DoubleClickEvent
  10399. * ThreadExceptionDialog.cs: Enabled TextBox code
  10400. 2005-01-18 Peter Bartok <[email protected]>
  10401. * Form.cs: Removed debug output
  10402. * Button.cs: Added support for DoubleClick method
  10403. 2005-01-18 Peter Bartok <[email protected]>
  10404. * Form.cs:
  10405. - Added method to parent window that allows triggering size
  10406. calculations when a menu is added/removed
  10407. - set_Menu: Cleaned up mess from early days of Form and Control,
  10408. now properly triggers a recalc when a menu is added/removed
  10409. - Added case to select form itself as focused form if no child
  10410. controls exist
  10411. - Added PerformLayout call when showing dialog, to ensure properly
  10412. placed controls
  10413. * Control.cs:
  10414. - Select(): Made internal so Form can access it
  10415. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  10416. status
  10417. * Application.cs (Run): Removed hack and calls PerformLayout instead
  10418. to trigger calculation when Form becomes visible
  10419. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  10420. * ComboBox.cs: fixes for ownerdraw
  10421. 2005-01-18 Peter Bartok <[email protected]>
  10422. * TextControl.cs:
  10423. - Sentinel is no longer static, each Document gets it's own, this
  10424. avoids locking or alternatively overwrite problems when more
  10425. than one text control is used simultaneously.
  10426. - Switched to use Hilight and HilightText brushes for text selection
  10427. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  10428. 2005-01-18 Peter Bartok <[email protected]>
  10429. * Control.cs:
  10430. - Hooked up the following events:
  10431. o ControlAdded
  10432. o ControlRemoved
  10433. o HandleDestroyed
  10434. o ImeModeChanged
  10435. o ParentChanged
  10436. o TabStopChanged
  10437. o Invalidated
  10438. o SystemColorsChanged
  10439. o ParentFontChanged
  10440. o Move
  10441. - Removed debug output
  10442. - Added a call to the current theme's ResetDefaults when a color change
  10443. is detected
  10444. * Form.cs: Now setting the proper ImeMode
  10445. * Theme.cs: Defined a method to force recreation of cached resources
  10446. and rereading of system defaults (ResetDefaults())
  10447. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  10448. 2005-01-17 Peter Bartok <[email protected]>
  10449. * Control.cs: Added missing attributes
  10450. 2005-01-17 Jackson Harper <[email protected]>
  10451. * TreeNode.cs: Implement editing. Add missing properties selected
  10452. and visible.
  10453. * TreeView.cs: Implement node editing. Also some fixes to use
  10454. Invalidate (invalid area) instead of Refresh when selecting.
  10455. 2005-01-17 Peter Bartok <[email protected]>
  10456. * Control.cs:
  10457. - Implemented InvokeGotFocus() method
  10458. - Implemented InvokeLostFocus() method
  10459. - Implemented InvokePaint() method
  10460. - Implemented InvokePaintBackground() method
  10461. - Implemented InvokeClick() method
  10462. - Implemented FindForm() method
  10463. - Implemented RectangleToClient() method
  10464. - Implemented ClientToRectangle() method
  10465. - Implemented ResetBackColor() method
  10466. - Implemented ResetCursor() method
  10467. - Implemented ResetFont() method
  10468. - Implemented ResteForeColor() method
  10469. - Implemented ResetImeMode() method
  10470. - Implemented ResetLeftToRight() method
  10471. - Implemented ResetText() method
  10472. - Implemented Scale() methods
  10473. - Implemented ScaleCore() method
  10474. - Implemented Update() method
  10475. - Removed unused variables
  10476. - Stubbed AccessibilityNotifyClients and
  10477. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  10478. with those yet)
  10479. - Now setting proper default for RightToLeft property
  10480. - Fixed bug in SetClientSizeCore that would cause windows to get
  10481. really big
  10482. - Now sending Click/DoubleClick events
  10483. - Now selecting controls when left mouse button is clicked on
  10484. selectable control
  10485. * AccessibleEvents.cs: Added
  10486. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  10487. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  10488. * XplatUIWin32.cs: Implemented UpdateWindow() method
  10489. * XplatUIX11.cs: Implemented UpdateWindow() method
  10490. * Form.cs: Removed stray semicolon causing CS0162 warning
  10491. * ThemeWin32Classic.cs: Fixed unused variable warnings
  10492. * ScrollableControl.cs: Now calls base method for ScaleCore
  10493. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  10494. style to avoid interference with internal click handler (which is
  10495. different than standard Control click handling)
  10496. * RadioButton.cs:
  10497. - Now unchecks all sibling radio buttons when control is
  10498. selected (Fixes #68756)
  10499. - Removed internal tabstop variable, using the one inherited from
  10500. Control
  10501. 2005-01-17 Jackson Harper <[email protected]>
  10502. * NavigateEventArgs.cs: Fix base type.
  10503. * LinkLabel.cs: Sig fix
  10504. 2005-01-17 Jackson Harper <[email protected]>
  10505. * TreeView.cs: Only invalidate the effected nodes bounds when
  10506. selecting nodes.
  10507. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10508. * XplatUIWin32.cs: fixes Win32 marshaling
  10509. * XplatUIX11.cs: fixes method signature
  10510. 2005-01-17 Peter Bartok <[email protected]>
  10511. * XplatUIX11.cs: Clean up resources when we no longer need them
  10512. 2005-01-17 Peter Bartok <[email protected]>
  10513. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  10514. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  10515. and DestroyCursor() methods.
  10516. * Cursor.cs: Partially implemented, now supports standard cursors;
  10517. still contains some debug code
  10518. * Cursors.cs: Implemented class
  10519. * Control.cs:
  10520. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  10521. appropriate cursor
  10522. - Implemented Cursor property
  10523. - Replaced break; with return; more straightforwar and possibly
  10524. faster
  10525. - Now properly setting the result for WM_HELP
  10526. * X11Structs.cs: Added CursorFontShape enum
  10527. * XplatUIStructs.cs:
  10528. - Added StdCursor enum (to support DefineStdCursor() method)
  10529. - Added HitTest enum (to support sending WM_SETCURSOR message)
  10530. * XplatUIX11.cs:
  10531. - Now sends the WM_SETCURSOR message
  10532. - Implemented new cursor methods
  10533. * XplatUIOSX.cs: Stubbed new cursor methods
  10534. * XplatUIWin32.cs:
  10535. - Implemented new cursor methods
  10536. - Added GetSystemMetrics function and associated enumeration
  10537. 2005-01-15 Peter Bartok <[email protected]>
  10538. * Control.cs:
  10539. - WndProc(): Now handles EnableNotifyMessage
  10540. - SelectNextControl(): Fixed bug where if no child or sibling
  10541. controls exist we looped endlessly
  10542. 2005-01-14 Jackson Harper <[email protected]>
  10543. * TreeView.cs: Recalculate the tab pages when a new one is added
  10544. so that the proper bounding rects are created.
  10545. 2005-01-14 Jackson Harper <[email protected]>
  10546. * TreeView.cs: Draw a gray box instead of a grip in the lower
  10547. right hand corner when there are both horizontal and vertical
  10548. scroll bars.
  10549. 2005-01-14 Jackson Harper <[email protected]>
  10550. * Control.cs: When erasing backgrounds use FromHwnd instead of
  10551. FromHdc when there is a NULL wparam. This occurs on the X driver.
  10552. * XplatUIX11.cs: Set the wparam to NULL.
  10553. 2005-01-13 Jackson Harper <[email protected]>
  10554. * PictureBox.cs: Implement missing methods (except ToString, need
  10555. to test that on windows) and events. When visibility is changed we
  10556. need to redraw the image because the buffers are killed. When size
  10557. is changed refresh if the sizemode needs it.
  10558. 2005-01-13 Peter Bartok <[email protected]>
  10559. * Control.cs (SelectNextControl): Was using wrong method to select
  10560. a control
  10561. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10562. * ComboBox.cs: fixes dropstyle
  10563. 2005-01-13 Peter Bartok <[email protected]>
  10564. * Form.cs:
  10565. - Implemented Select() override
  10566. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  10567. - Now sets keyboard focus on startup
  10568. * Control.cs (SelectNextControl): Now properly handles directed=true
  10569. * TextBoxBase.cs:
  10570. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  10571. - Added (really bad) focus rectangle (mostly for testing)
  10572. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  10573. to enforce redraw on focus changes
  10574. * ContainerControl.cs:
  10575. - Fixed detection of Shift-Tab key presses
  10576. - Fixed traversal with arrow keys
  10577. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  10578. gonna keep this or if it's complete yet
  10579. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10580. * ComboBox.cs: missing properties, fixes
  10581. 2005-01-13 Peter Bartok <[email protected]>
  10582. * Panel.cs (ctor): Setting Selectable window style to off
  10583. * Splitter.cs (ctor): Setting Selectable window style to off
  10584. * GroupBox.cs (ctor): Setting Selectable window style to off
  10585. * Label.cs (ctor): Setting Selectable window style to off
  10586. 2005-01-12 Miguel de Icaza <[email protected]>
  10587. * UpDownBase.cs (InitTimer): If the timer has been already
  10588. created, enable it.
  10589. Use a TextBox instead of a Label.
  10590. 2005-01-12 Jackson Harper <[email protected]>
  10591. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  10592. draw the connecting node lines (when ShowLines is true).
  10593. * TreeNode.cs: The nodes index can now be updated. This is used
  10594. when a node collection is sorted.
  10595. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  10596. insert or an existing unsorted node collection can be sorted.
  10597. 2005-01-12 Peter Bartok <[email protected]>
  10598. * ContainerControl.cs: Implemented ProcessDialogKeys()
  10599. 2005-01-12 Peter Bartok <[email protected]>
  10600. * Control.cs:
  10601. - Implemented SelectNextControl() method
  10602. - Several focus related bug fixes
  10603. - Fixed Docking calculations to match MS documentation and
  10604. behaviour
  10605. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  10606. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  10607. bug fixes
  10608. 2005-01-12 Peter Bartok <[email protected]>
  10609. * Control.cs:
  10610. - Fixed broken Contains() method
  10611. - Implemented GetNextControl() method. Finally. This is the pre-
  10612. requisite for focus handling.
  10613. 2005-01-12 Peter Bartok <[email protected]>
  10614. * OSXStrucs.cs: Added
  10615. 2005-01-12 Peter Bartok <[email protected]>
  10616. * XplatUIWin32.cs:
  10617. - Removed PeekMessageFlags
  10618. - Implemented SetWindowStyle() method
  10619. * XplatUIStructs.cs: Added PeekMessageFlags
  10620. * X11Structs: Added missing border_width field to XWindowChanges struct
  10621. * XplatUIX11.cs:
  10622. - PeekMessage: Now throws exception if flags which are not yet
  10623. supported are passed
  10624. - Implemented SetWindowStyle() method
  10625. - Fixed SetZOrder to handle AfterHwnd properly
  10626. * XplatUI.cs: Added SetWindowStyle() method
  10627. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  10628. * Control.cs:
  10629. - Implemented UpdateStyles() method
  10630. - Implemented UpdateZOrder() method
  10631. * XplatUIOSX.cs: Added SetWindowStyle() stub
  10632. 2005-01-12 Geoff Norton <[email protected]>
  10633. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  10634. button mouse).
  10635. 2005-01-11 Jackson Harper <[email protected]>
  10636. * TreeView.cs: Still need to draw lines to siblings even if out of
  10637. the current node is out of the clip.
  10638. 2005-01-11 Jackson Harper <[email protected]>
  10639. * TreeView.cs: When setting the hbar/vbar/grip position use
  10640. SetBounds so that perform layout is only called once. Also suspend
  10641. and resume layout so layout is only done once for all controls.
  10642. - Removed some debug fluff
  10643. * SizeGrip.cs: Call base implmentation in overriding methods.
  10644. - When visibility is changed the drawing buffers are killed so we
  10645. need to redraw.
  10646. 2005-01-11 Jackson Harper <[email protected]>
  10647. * TreeView.cs: Calculate the open node count while drawing. This
  10648. saves us an entire tree traversal for every paint operation. Use
  10649. a member var for the open node count so less vars are passed around.
  10650. 2005-01-11 John BouAntoun <[email protected]>
  10651. * MonthCalendar.cs:
  10652. - fixed selection to use mousemove, not mouse polling on timer
  10653. * ThemeWin32Classic.cs
  10654. - removed redundant unused variable "no_more_content"
  10655. 2005-01-11 Peter Bartok <[email protected]>
  10656. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  10657. are pending, so it now calls PeekMessage instead of GetMessage;
  10658. implemented a incomplete version of PeekMessage
  10659. 2005-01-11 Peter Bartok <[email protected]>
  10660. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  10661. I18n issues
  10662. * TextBoxBase.cs: Added sending of TextChanged event
  10663. 2005-01-10 Jackson Harper <[email protected]>
  10664. * TreeView.cs: Try not to draw outside the clipping rectangle on
  10665. each node element.
  10666. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  10667. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  10668. 2005-01-10 Jackson Harper <[email protected]>
  10669. * TreeView.cs:
  10670. - Implement fast scrolling. Now only the newly
  10671. exposed nodes are drawn and the old image is moved using the
  10672. XplatUI::ScrollWindow method.
  10673. - Factor in height of nodes when calculating whether or not the
  10674. node is in the clipping rect.
  10675. 2005-01-10 Jackson Harper <[email protected]>
  10676. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  10677. 2005-01-10 Peter Bartok <[email protected]>
  10678. * Application.cs: Added temporary hack to resolve all our resize
  10679. required issues on startup. This will get fixed properly at
  10680. some point in the future
  10681. 2005-01-10 Jackson Harper <[email protected]>
  10682. * SizeGrip.cs: New internal class that is used as a sizing
  10683. grip control...hence the name.
  10684. 2005-01-10 Peter Bartok <[email protected]>
  10685. * Control.cs: Implemented proper TabIndex handling, now assigning
  10686. a tabindex when a control is added to a container
  10687. * GroupBox.cs (ctor): Now sets the Container style bit, required
  10688. for Control.GetNextControl()
  10689. 2005-01-09 Jackson Harper <[email protected]>
  10690. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  10691. 2005-01-09 Peter Bartok <[email protected]>
  10692. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10693. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  10694. an overload for ScrollWindow to allow only scrolling a rectangle
  10695. 2005-01-09 Peter Bartok <[email protected]>
  10696. * Form.cs:
  10697. - Implemented SetDesktopBounds method
  10698. - Implemented SetDesktopLocation method
  10699. 2005-01-08 Jackson Harper <[email protected]>
  10700. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  10701. the node count has changed, this removes to VScroll::Refresh calls
  10702. when drawing.
  10703. 2005-01-08 Geoff Norton <[email protected]>
  10704. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  10705. 2005-01-07 Jackson Harper <[email protected]>
  10706. * TreeNode.cs: Just update the single node when it is
  10707. checked. Don't refresh after toggling, the Expand/Collapse already
  10708. handles this.
  10709. * TreeView.cs: Respect clipping a little more when drawing. Try
  10710. not to redraw things that don't need to be redrawn. Just hide the
  10711. scrollbars when they are no longer needed instead of removing
  10712. them, so they don't have to be created again and again.
  10713. 2005-01-07 Geoff Norton <[email protected]>
  10714. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  10715. coordinates to window space to place the caret properly, FIXED.
  10716. Implement GetWindowState & SetWindowState
  10717. 2005-01-06 Peter Bartok <[email protected]>
  10718. * Form.cs:
  10719. - Implemented ClientSize property
  10720. - Implemented DesktopBounds property
  10721. - Implemented DesktopLocation property
  10722. - Implemented IsRestrictedWindow property
  10723. - Implemented Size property
  10724. - Implemented TopLevel property
  10725. - Implemented FormWindowState property
  10726. * Control.cs:
  10727. - Implemented GetTopLevel() method
  10728. - Implemented SetTopLevel() method
  10729. * X11Structs.cs (Atom):
  10730. - Added AnyPropertyType definition
  10731. - Added MapState definiton and updated XWindowAttribute struct
  10732. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  10733. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  10734. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  10735. * XplatUIWin32.cs:
  10736. - Implemented GetWindowState() and SetWindowState() methods
  10737. - Fixed Win32GetWindowLong return type
  10738. * XplatUIX11.cs:
  10739. - Introduced central function for sending NET_WM messages
  10740. - Implemented GetWindowState() and SetWindowState() methods
  10741. * TextBoxBase.cs (set_Lines):
  10742. - Now uses Foreground color for text added via Text property (Duh!)
  10743. - Added code to remember programmatically requested size (fixes
  10744. behaviour when Multiline is set after Size)
  10745. - Added AutoSize logic
  10746. 2005-01-06 Jackson Harper <[email protected]>
  10747. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  10748. 2005-01-06 Jackson Harper <[email protected]>
  10749. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  10750. set to less then 0.
  10751. 2005-01-06 Jackson Harper <[email protected]>
  10752. * ScrollableControl.cs: Lazy init the scrollbars.
  10753. 2005-01-06 Jackson Harper <[email protected]>
  10754. * Theme.cs: Speed up getting pens and solid brushes, by using
  10755. their ARGB as a hash instead of tostring and not calling Contains.
  10756. 2005-01-06 Peter Bartok <[email protected]>
  10757. * Form.cs:
  10758. - Implemented OnActivated and OnDeactivate event trigger
  10759. - Implemented Activate() method
  10760. - Fixed ShowDialog() to activate the form that was active before
  10761. the dialog was shown
  10762. * XplatUIX11.cs:
  10763. - Added global active_window var that tracks the currently active
  10764. X11 window
  10765. - Now always grabs Property changes from the root window to always
  10766. catch changes on the active window property
  10767. - Added code to PropertyNotify handler to send Active/Inactive
  10768. messages when state changes. This puts X11 and Win32 en par on
  10769. WM_ACTIVATE notifications (except for double notifications when
  10770. the user clicks away from our modal window to another one of our
  10771. windows)
  10772. 2005-01-05 Jackson Harper <[email protected]>
  10773. * ImageList.cs: Implment ctor
  10774. 2005-01-05 Geoff Norton <[email protected]>
  10775. * XplatUIOSX.cs: Implement Activate/SetTopmost
  10776. 2005-01-05 Geoff Norton <[email protected]>
  10777. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  10778. 2005-01-05 Geoff Norton <[email protected]>
  10779. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  10780. 2005-01-05 Peter Bartok <[email protected]>
  10781. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  10782. XplatUIOSX.cs: Added GetActive method to return the currently
  10783. active window for the application (or null, if none is active)
  10784. * Form.cs:
  10785. - Implemented ActiveForm
  10786. - Commented out owner assignment for modal dialogs (causes problems
  10787. on Win32, since the owner will be disabled)
  10788. - Reworked some Active/Focus handling (still incomplete)
  10789. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  10790. (causes problems on Win32, since the owner will be disabled)
  10791. * IWin32Window: Added ComVisible attribute
  10792. 2005-01-05 Peter Bartok <[email protected]>
  10793. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  10794. required XplatUI functions.
  10795. 2005-01-05 Peter Bartok <[email protected]>
  10796. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  10797. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  10798. to implement focus and activation handling; still incomplete and
  10799. with debug output
  10800. 2005-01-04 Peter Bartok <[email protected]>
  10801. * TextBoxBase.cs: Changed access level for Document property to
  10802. match switch to internal for TextControl
  10803. 2005-01-04 Peter Bartok <[email protected]>
  10804. * AccessibleObject: Added ComVisible attribute
  10805. 2005-01-04 Jackson Harper <[email protected]>
  10806. * X11Keyboard.cs: Remove unneeded var.
  10807. 2005-01-04 Jackson Harper <[email protected]>
  10808. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  10809. but PAINT.
  10810. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  10811. ClientMessage. This makes apps exit cleanly (more often).
  10812. 2005-01-04 Jackson Harper <[email protected]>
  10813. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  10814. handling focus, return correct colors and fonts,
  10815. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  10816. handle selection, horizontal scrolling, and mouse interaction.
  10817. 2005-01-04 Peter Bartok <[email protected]>
  10818. * ICommandExecutor.cs: Added
  10819. * IDataGridColumnStyleEditingNotificationService.cs: Added
  10820. * IFeatureSupport.cs: Added
  10821. * IFileReaderService.cs: Added
  10822. * IDataObject.cs: Added ComVisible attribute
  10823. * AmbientProperties.cs: Added
  10824. * BaseCollection.cs: Added missing attributes
  10825. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  10826. * BaseCollection.cs: Added missing attributes
  10827. * Binding.cs: Added TypeConverter attribute
  10828. * BindingContext.cs: Added DefaultEvent attribute
  10829. * BindingsCollection.cs: Added DefaultEvent attribute
  10830. * Button.cs: Added DefaultValue attribute
  10831. * DragEventArgs.cs: Added ComVisible attribute
  10832. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  10833. * KeyEventArgs.cs: Added ComVisible attribute
  10834. * KeyPressEventArgs.cs: Added ComVisible attribute
  10835. * MouseEventArgs.cs: Added ComVisible attribute
  10836. * NavigateEventArgs.cs: Added
  10837. * NavigateEventHandler.cs: Added
  10838. * FeatureSupport.cs: Added
  10839. * OSFeature.cs: Added
  10840. * Theme.cs: Added abstract Version property to support OSFeature
  10841. * ThemeWin32Classic.cs: Added Version property to
  10842. support OSFeature.Themes
  10843. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  10844. the proper styles to avoid background drawing are set, also doesn't
  10845. match MS signature
  10846. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  10847. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  10848. * ScrollEventArgs.cs: Added ComVisible attribute
  10849. * SplitterEventArgs.cs: Added ComVisible attribute
  10850. * AccessibleSelection.cs: Added Flags attribute
  10851. * Appearance.cs: Added ComVisible attribute
  10852. * Border3DSide.cs: Added ComVisible attribute
  10853. * Border3DStyle.cs: Added ComVisible attribute
  10854. * BorderStyle.cs: Added ComVisible attribute
  10855. * DragAction.cs: Added ComVisible attribute
  10856. * ErrorBlinkStyle.cs: Added
  10857. * ScrollEventType.cs: Added ComVisible attribute
  10858. * AnchorStyles.cs: Added Editor attribute
  10859. * DockStyle.cs: Added Editor attribute
  10860. * HorizontalAlignment.cs: Added ComVisible attribute
  10861. * HelpEventArgs.cs: Added ComVisible attribute
  10862. * PaintEventArgs.cs: Added IDisposable
  10863. 2005-01-04 Peter Bartok <[email protected]>
  10864. * TextControl.cs: Switched Line, LineTag and Document classes to
  10865. internal
  10866. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10867. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  10868. Simple mode, fixes, IntegralHeight, etc.
  10869. 2005-01-04 Peter Bartok <[email protected]>
  10870. * TextBoxBase.cs: Using proper font variable now
  10871. 2005-01-04 Peter Bartok <[email protected]>
  10872. * Form.cs (ShowDialog): Set parent to owner, if provided
  10873. * GroupBox.cs: Removed unused vars
  10874. * TextControl.cs:
  10875. - Added GetHashCode() for Document and LineTag classes
  10876. - Removed unused variables
  10877. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  10878. to allow translation between continuous char position and line/pos
  10879. * CheckBox.cs: Removed vars that are provided by base class
  10880. * RadioButton.cs: Removed vars that are provided by base class, added
  10881. new keyword where required
  10882. * LinkLabel.cs: Added new keyword where required
  10883. * Control.cs (WndProc): Removed unused variable
  10884. * TextBoxBase.cs:
  10885. - Finished SelectionLength property
  10886. - Implemented SelectionStart property
  10887. - Implemented Text property
  10888. - Removed unused vars
  10889. * MessageBox.cs: Added new keyword where required
  10890. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  10891. WndProc signature
  10892. * MenuAPI.cs: Added new keyword where required
  10893. * ButtonBase.cs: Removed vars that are provided by base class, added
  10894. new keyword where required
  10895. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  10896. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  10897. into this)
  10898. * Application.cs (Run): Now triggers the ThreadExit event
  10899. * CommonDialog.cs: Added new keyword where required; now properly sets
  10900. parent (owner) for dialog
  10901. * XplatUIX11.cs: Commented out unused vars
  10902. * StatusBar.cs: Fixed signature for Text property
  10903. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  10904. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10905. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  10906. TrackBar.cs, MonthCalendar.cs: remove unused vars
  10907. 2005-01-03 Jackson Harper <[email protected]>
  10908. * ThemeWin32Classic.cs:
  10909. * X11Keyboard.cs: Remove unused vars.
  10910. 2005-01-03 Peter Bartok <[email protected]>
  10911. * TextBox.cs:
  10912. - set_Text: Tied into TextControl
  10913. - set_TextAlignment: Tied into TextControl
  10914. * TextControl.cs:
  10915. - Added alignment properties and implemented alignment handling
  10916. and drawing (still has a bug, not generating proper expose events)
  10917. - Added new Line() constructor to allow passing the line alignment
  10918. - Fixed selection setting, properly handling end<start now
  10919. - Added aligment considerations to RecalculateDocument()
  10920. * TextBoxBase.cs:
  10921. - Now properly enforces control height for single line controls
  10922. - Added support for CharacterCasing
  10923. - Added IsInputKey override
  10924. - Fixed Keys.Enter logic
  10925. - Added SetBoundsCore override
  10926. - Fixed mouse selection handling
  10927. 2005-01-03 Jackson Harper <[email protected]>
  10928. * TreeView.cs:
  10929. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  10930. - Checkboxes are always aligned to the bottom of the node,
  10931. regardless of item height.
  10932. - Use the node bounds to draw the text so we can center it when
  10933. the item height is greater then the font height.
  10934. - Node::Bounds are only the text part of the node.
  10935. * TreeNode.cs: New method to combine collapsing and unchecking all
  10936. nodes recursively.
  10937. 2005-01-02 Jackson Harper <[email protected]>
  10938. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  10939. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  10940. tree when a check is changed. TODO: Only refresh the checked node.
  10941. 2004-12-30 Jackson Harper <[email protected]>
  10942. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  10943. * TreeNode.cs: When collapsing make sure to never collapse the
  10944. root node.
  10945. 2004-12-29 Jackson Harper <[email protected]>
  10946. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  10947. 2004-12-28 Zoltan Varga <[email protected]>
  10948. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  10949. 2004-12-28 Peter Bartok <[email protected]>
  10950. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  10951. not yet assigned
  10952. 2004-12-28 Peter Bartok <[email protected]>
  10953. * Control.cs (WndProc): Added WM_HELP handler, now generates
  10954. HelpRequested event
  10955. * Form.cs: Added HelpButton property and required support code
  10956. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  10957. 2004-12-28 Peter Bartok <[email protected]>
  10958. * CommonDialog.cs:
  10959. - Made DialogForm.owner variable internal
  10960. - Added check to ensure owner form is set before setting
  10961. owner properties in CreateParams
  10962. 2004-12-28 Geoff Norton <[email protected]>
  10963. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  10964. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  10965. GetCursorPos. Fix major visibility issues. Rework the windowing
  10966. system to support borderless/titleless windows (implements menus).
  10967. Fix GetWindowPos. Implement initial background color support for
  10968. views.
  10969. 2004-12-28 Peter Bartok <[email protected]>
  10970. * Form.cs (get_CreateParams): Make sure we have an owner before using
  10971. the owner variable. Implement proper default if no owner exists
  10972. 2004-12-28 Peter Bartok <[email protected]>
  10973. * In preparation for making Managed.Windows.Forms the default build target
  10974. for System.Windows.Forms, the following stubbed files were added.
  10975. Dialogs are currently being implemented by contributors and are only
  10976. short-term place holders.
  10977. * ColorDialog.cs: Initial check-in (minmal stub)
  10978. * DataGrid.cs: Initial check-in (minimal stub)
  10979. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  10980. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  10981. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  10982. * FontDialog.cs: Initial check-in (minimal stub)
  10983. * FileDialog.cs: Initial check-in (minimal stub)
  10984. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  10985. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  10986. * OpenFileDialog: Initial check-in (minimal stub)
  10987. * IComponentEditorPageSite.cs: Initial check-in
  10988. * Splitter.cs: Initial check-in (for Jackson)
  10989. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  10990. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  10991. * TextBox.cs: Initial check-in; still needs some wiring to
  10992. TextControl backend
  10993. * Form.cs: Implemented ControlBox property
  10994. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  10995. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  10996. * TextControl.cs: Added selection functionality; added todo header
  10997. * TextBoxBase.cs:
  10998. - Implemented Lines property
  10999. - Implemented TextHeight property
  11000. - Implemented SelectedText property
  11001. - Implemented SelectionLength property
  11002. - Implemented SelectAll method
  11003. - Implemented ToString method
  11004. - Removed and cleaned up some debug code
  11005. - Implemented (still buggy) mouse text selection
  11006. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  11007. * ComboBox.cs: Complete DropDownList implementation, fixes.
  11008. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  11009. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  11010. * ComboBoxStyle.cs: ComboBoxStyle enum
  11011. * ComboBox.cs: Initial work on ComboBox control
  11012. 2004-12-21 Peter Bartok <[email protected]>
  11013. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  11014. forward so that anything that creates a window gets the default,
  11015. also no longer uses Visible property in CreateParams to avoid
  11016. walking up the parent chain and possibly get the wrong visible
  11017. status. Fixed IsVisible to no longer walk up to the parent.
  11018. 2004-12-21 Peter Bartok <[email protected]>
  11019. * Form.cs (ShowDialog): Unset modality for the proper window
  11020. 2004-12-20 Peter Bartok <[email protected]>
  11021. * CommonDialog.cs: Initial check-in
  11022. 2004-12-20 Peter Bartok <[email protected]>
  11023. * Control.cs (Visible): Now uses the parent window instead of the
  11024. client area window for the property
  11025. * Form.cs
  11026. - ShowDialog(): Now uses the proper window for modality
  11027. - The default visibility state for the form parent is now false. This
  11028. will prevent the user from seeing all the changes to the form and
  11029. its controls before the application hits Application.Run()
  11030. - Removed some stale commented out code
  11031. * NativeWindow.cs:
  11032. - Added FindWindow() method to have a method to check for existence
  11033. of a window handle
  11034. - Added ability to override default exception handling (for example
  11035. when debugging with VS.Net; to do this the ExternalExceptionHandler
  11036. define must be set
  11037. - Removed some useless debug output
  11038. * XplatUIX11.cs:
  11039. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  11040. not working as expected
  11041. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  11042. property to allow switching back to the modal window if focus is
  11043. given to another one of our windows (Application Modal)
  11044. - Now only sets override_redirect if we create a window
  11045. without WS_CAPTION
  11046. - Moved EventMask selection before mapping of newly created window
  11047. so we can catch the map event as well
  11048. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  11049. - Added various Atom related DllImports
  11050. - Implemented Exit() method
  11051. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  11052. in the CreateParams
  11053. * MessageBox.cs: Now properly deals with the FormParent window by
  11054. providing an override the FormParent CreateParams property to
  11055. set as POPUP instead of OVERLAPPED window.
  11056. 2004-12-19 Geoff Norton <[email protected]>
  11057. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  11058. Minor code cleanup.
  11059. 2004-12-19 Geoff Norton <[email protected]>
  11060. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  11061. 2004-12-18 Peter Bartok <[email protected]>
  11062. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  11063. implementing SetModal() method
  11064. 2004-12-18 Peter Bartok <[email protected]>
  11065. * X11Structs.cs (XGCValues): Fixed type of function element
  11066. * XplatUI.cs: Added ScrollWindow() method
  11067. * XplatUIDriver.cs: Added ScrollWindow() abstract
  11068. * XplatUIWin32.cs: Implemented ScrollWindow() method
  11069. * XplatUIX11.cs: Implemented ScrollWindow() method
  11070. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  11071. 2004-12-17 Geoff Norton <[email protected]>
  11072. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  11073. Some more keyboard support (INCOMPLETE)
  11074. 2004-12-17 Peter Bartok <[email protected]>
  11075. * TextControl.cs:
  11076. - Added color attribute to line tags.
  11077. - Added color argument to all functions dealing with tags
  11078. - Added color argument support to various functions
  11079. - Fixed miss-calculation of baseline/shift in certain circumstances
  11080. * TextBoxBase.cs: Added new color option to test code
  11081. 2004-12-17 Jackson Harper <[email protected]>
  11082. * TreeNode.cs:
  11083. * MonthCalendar.cs: Signature fixes
  11084. 2004-12-17 Geoff Norton <[email protected]>
  11085. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  11086. keyboard event moved it. Create a new graphics context for each paint resolves this
  11087. 2004-12-17 Geoff Norton <[email protected]>
  11088. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  11089. Make caret exist and go blink blink. Initial keyboard support.
  11090. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11091. works.
  11092. 2004-12-17 Jackson Harper <[email protected]>
  11093. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11094. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11095. 2004-12-17 Jackson Harper <[email protected]>
  11096. * XplatUIX11.cs: Prune old keyboard code.
  11097. 2004-12-17 Jackson Harper <[email protected]>
  11098. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11099. keys from the ModifierKeys property.
  11100. 2004-12-17 Jackson Harper <[email protected]>
  11101. * X11Keyboard.cs: Send up/down input when generating
  11102. messages. Remove some unused vars.
  11103. 2004-12-17 Jackson Harper <[email protected]>
  11104. * TabControl.cs:
  11105. * TreeView.cs: get rid of warnings.
  11106. 2004-12-17 Jackson Harper <[email protected]>
  11107. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11108. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11109. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11110. CheckedListBox.cs: Implementation
  11111. 2004-12-17 Peter Bartok <[email protected]>
  11112. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11113. 2004-12-16 Peter Bartok <[email protected]>
  11114. * TextControl.cs:
  11115. - InsertCharAtCaret(): Fixed start pos fixup
  11116. - CaretLine_get: No longer derives the line from the tag, the tag
  11117. could be stale if lines in the document have been added or deleted
  11118. - RebalanceAfterDelete(): Fixed bug in balancing code
  11119. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11120. - Line.Streamline(): Now can also elminate leading empty tags
  11121. - DumpTree(): Added a few more tests and prevented exception on
  11122. uninitialized data
  11123. - Added Debug section for Combining lines
  11124. - Delete(): Now copies all remaining properties of a line
  11125. * TextBoxBase.cs:
  11126. - Left mousebutton now sets the caret (and middle button still acts
  11127. as formatting tester, which must go away soon)
  11128. - Added Debug section for Deleting/Combining lines
  11129. - Fixed calculations for UpdateView after Combining lines
  11130. 2004-12-16 Peter Bartok <[email protected]>
  11131. * TextControl.cs: Now properly aligns text on a baseline, using the
  11132. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11133. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11134. defined
  11135. 2004-12-16 Peter Bartok <[email protected]>
  11136. * XplatUI.cs: Added GetFontMetrics() method
  11137. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11138. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11139. into libgdiplus, our private GetFontMetrics function
  11140. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11141. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11142. 2004-12-16 Jackson Harper <[email protected]>
  11143. * XplatUIStruct.cs: Add enum for dead keys
  11144. * X11Keyboard.cs: Map and unmap dead keys.
  11145. 2004-12-16 Jackson Harper <[email protected]>
  11146. * X11Keyboard.cs: Detect and use the num lock mask.
  11147. 2004-12-16 Peter Bartok <[email protected]>
  11148. * Control.cs (CreateGraphics): Added check to make sure the
  11149. handle of the window exists before calling Graphics.FromHwnd()
  11150. 2004-12-16 Peter Bartok <[email protected]>
  11151. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11152. contains a lot of code that's not supposed to be there for the
  11153. real thing, but required for developing/testing the textbox
  11154. backend.
  11155. 2004-12-16 Peter Bartok <[email protected]>
  11156. * TextControl.cs:
  11157. - Fixed Streamline method
  11158. - Added FindTag method to Line
  11159. - Added DumpTree method for debugging
  11160. - Added DecrementLines() method for deleting lines
  11161. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11162. updates
  11163. - Added PositionCaret() method
  11164. - Fixed MoveCaret(LineDown) to move into the last line, too
  11165. - Added InsertChar overload
  11166. - Fixed InsertChar tag offset calculations
  11167. - Added DeleteChar() method
  11168. - Added Combine() method for folding lines
  11169. - Fixed Delete() method, no longer allocates wasted Line object and
  11170. now copies all properties when swapping nodes
  11171. - Delete() method now updates document line counter
  11172. 2004-12-15 Jackson Harper <[email protected]>
  11173. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11174. * X11Keyboard.cs: Expose the currently selected modifier keys
  11175. through a property.
  11176. 2004-12-15 Peter Bartok <[email protected]>
  11177. * TextControl.cs: Initial check-in. Still incomplete
  11178. 2004-12-15 Jackson Harper <[email protected]>
  11179. * TreeNode.cs:
  11180. * TreeView.cs: Fix build on csc (second time today ;-))
  11181. 2004-12-15 Jackson Harper <[email protected]>
  11182. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11183. is calculated and use this for click testing.
  11184. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11185. 2004-12-15 Jackson Harper <[email protected]>
  11186. * TreeView.cs: Pass the nodes image index to the image list when
  11187. drawing that image.
  11188. 2004-12-15 Jackson Harper <[email protected]>
  11189. * X11Keyboard.cs: Set messages hwnd.
  11190. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11191. post_message calls.
  11192. 2004-12-15 Jackson Harper <[email protected]>
  11193. * X11Keyboard.cs: Fix to compile with csc.
  11194. 2004-12-15 Jackson Harper <[email protected]>
  11195. * X11Structs.cs: Add key mask values
  11196. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11197. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11198. down/up foo into WM_CHAR foo
  11199. * KeyboardLayouts.cs: Common keyboard layouts
  11200. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11201. post messages into the main queue.
  11202. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11203. * Button.cs: implement ProcessMnemonic
  11204. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11205. brushes everytime
  11206. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11207. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11208. 2004-12-12 John BouAntoun <[email protected]>
  11209. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11210. and date selection
  11211. 2004-12-11 Peter Bartok <[email protected]>
  11212. * X11Structs.cs:
  11213. - Added XKeyboardState (moved from XplatUIX11.cs)
  11214. - Added XCreateGC related enums and structures
  11215. - Added GXFunction for XSetFunction
  11216. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11217. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11218. CaretVisible() calls
  11219. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11220. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11221. DestroyCaret, SetCaretPos and CaretVisible)
  11222. * XplatUIX11.cs:
  11223. - Added implementation for caret functions
  11224. - Moved hover variables into a struct, to make it a bit easier
  11225. on the eyes and to debug
  11226. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11227. - Moved Keyboard properties into the properties region
  11228. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11229. call to get a graphics context for our control
  11230. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11231. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11232. return SystemColors.Window
  11233. * XplatUIWin32.cs: Implemented caret overrides
  11234. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11235. * ListBox.cs: fire events, implement missing methods and properties,
  11236. sorting.
  11237. 2004-12-10 John BouAntoun <[email protected]>
  11238. * MonthCalendar.cs: invalidation bug fixing
  11239. * ThemeWin32Classic.cs: paint fixing
  11240. 2004-12-09 Geoff Norton <[email protected]>
  11241. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11242. prepare the CGContextRef there now.
  11243. 2004-12-09 John BouAntoun <[email protected]>
  11244. * MonthCalendar.cs:
  11245. - optimisationL only invalidate areas that have changed
  11246. * ThemeWin32Classic.cs:
  11247. - only paint parts that intersect with clip_area
  11248. 2004-12-09 Peter Bartok <[email protected]>
  11249. * Application.cs: Undid changes from r37004 which cause problems
  11250. on X11
  11251. 2004-12-09 Ravindra <[email protected]>
  11252. * ToolBar.cs: Added support for displaying ContextMenu
  11253. attached to a button on ToolBar.
  11254. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11255. property.
  11256. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11257. * Label.cs: autosize works in text change and removes unnecessary
  11258. invalidate
  11259. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11260. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11261. remove warnings
  11262. 2004-12-08 Geoff Norton <[email protected]>
  11263. * XplatUIOSX.cs: Added mouse move/click/grab support
  11264. Remove some debugging WriteLines not needed anymore.
  11265. Add window resizing/positioning.
  11266. Fix visibility on reparenting.
  11267. 2004-12-08 Peter Bartok <[email protected]>
  11268. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11269. 2004-12-07 Geoff Norton <[email protected]>
  11270. * XplatUIOSX.cs: Initial checkin
  11271. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11272. 2004-12-03 Ravindra <[email protected]>
  11273. * ListView.cs: Added some keybindings and fixed scrolling.
  11274. ScrollBars listen to ValueChanged event instead of Scroll
  11275. Event. This would let us take care of all changes being
  11276. done in the scrollbars' values programmatically or manually.
  11277. * ListView.cs (CanMultiselect): Added a check for shift key.
  11278. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11279. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11280. of ListViewSubItemCollection as well.
  11281. 2004-12-06 Peter Bartok <[email protected]>
  11282. * Control.cs (Parent): Added check and exception to prevent
  11283. circular parenting
  11284. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11285. * ListBox.cs: implemented clipping, selection single and multiple,
  11286. bug fixing
  11287. 2004-12-03 Ravindra <[email protected]>
  11288. * ListView.cs (ListView_KeyDown):
  11289. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11290. when CTRL key is pressed.
  11291. * ListViewItem.cs (Selected): Fixed setting the property.
  11292. 2004-12-03 Marek Safar <[email protected]>
  11293. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11294. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11295. MinimizeBox, ShowInTaskbar, TopMost properties.
  11296. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11297. will be implemented).
  11298. 2004-12-03 Marek Safar <[email protected]>
  11299. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11300. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11301. tests.
  11302. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11303. * TreeView.cs: BackColor is Colors.Window.
  11304. 2004-12-01 Jackson Harper <[email protected]>
  11305. * TreeView.cs: When resizing the tree if the user is making it
  11306. smaller we don't get expose events, so we need to handle adding
  11307. the horizontal scrollbar in the size changed handler as well as
  11308. the expose handler.
  11309. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11310. * DrawItemState.cs: fixes wrong enum values
  11311. 2004-12-01 Jackson Harper <[email protected]>
  11312. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11313. 2004-12-01 Jackson Harper <[email protected]>
  11314. * NodeLabelEditEventArgs.cs:
  11315. * NodeLabelEditEventHandler.cs:
  11316. * OpenTreeNodeEnumerator.cs:
  11317. * TreeNode.cs:
  11318. * TreeNodeCollection.cs:
  11319. * TreeView.cs:
  11320. * TreeViewAction.cs:
  11321. * TreeViewCancelEventArgs.cs:
  11322. * TreeViewCancelEventHandler.cs:
  11323. * TreeViewEventArgs.cs:
  11324. * TreeViewEventHandler.cs: Initial implementation.
  11325. 2004-12-01 Ravindra <[email protected]>
  11326. * ListView.cs (CalculateListView): Fixed scrolling related
  11327. calculations. Also, removed some debug statements from other
  11328. places.
  11329. * ListViewItem.cs: Changed access to 'selected' instance variable
  11330. from private to internal.
  11331. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11332. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11333. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11334. specific controls and use the global system, fixes scrollbutton
  11335. bugs (for small sizes, disabled, etc)
  11336. * ScrollBar.cs: does not show the thumb for very small controls
  11337. (as MS) and allow smaller buttons that the regular size
  11338. 2004-12-01 Miguel de Icaza <[email protected]>
  11339. * UpDownBase.cs: Add abstract methods for the interface.
  11340. Add new virtual methods (need to be hooked up to TextEntry when it
  11341. exists).
  11342. Add override methods for most features.
  11343. Computes the size, forces the height of the text entry.
  11344. * NumericUpDown.cs: Put here the current testing code.
  11345. * Set eol-style property on all files that do not have mixed line
  11346. endings, to minimize the future problems. There are still a few
  11347. files with mixed endings, and someone should choose whether they
  11348. want to move it or not.
  11349. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11350. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11351. System.Colors
  11352. 2004-11-30 Ravindra <[email protected]>
  11353. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11354. drawing and replaced use of SystemColors by theme colors.
  11355. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11356. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11357. same ListViewItem is being added more than once.
  11358. 2004-11-30 John BouAntoun <[email protected]>
  11359. * MonthCalendar.cs:
  11360. - ControlStyles love to make the control not flicker
  11361. 2004-11-30 Peter Bartok <[email protected]>
  11362. * CharacterCasing.cs: Added
  11363. 2004-11-29 Peter Bartok <[email protected]>
  11364. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11365. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11366. I am removing these files as they conflict with already completed
  11367. work. While it is fantastic to get contributions to MWF, I
  11368. respectfully ask that everyone please coordinate their contributions
  11369. through mono-winforms-list or #mono-winforms at this time. We're
  11370. explicitly avoiding stubbing and don't want controls that don't have
  11371. their basic functionality implemented in svn. Please also see
  11372. http://www.mono-project.com/contributing/winforms.html
  11373. 2004-11-29 Marek Safar <[email protected]>
  11374. * Application.cs (ModalRun): Don't hang after exit.
  11375. * Theme.cs: New TreeViewDefaultSize property.
  11376. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11377. with less hardcoded SystemColors constant.
  11378. Implemented TreeViewDefaultSize.
  11379. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11380. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11381. 2004-11-29 John BouAntoun <[email protected]>
  11382. * MonthCalendar.cs:
  11383. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11384. 2004-11-26 John BouAntoun <[email protected]>
  11385. * MonthCalendar.cs:
  11386. - Fix usage of ScrollChange Property when scrolling months
  11387. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11388. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11389. - Fixes menu destroying
  11390. - Support adding and removing items on already created menus
  11391. 2004-11-26 John BouAntoun <[email protected]>
  11392. * MonthCalendar.cs:
  11393. - Re-worked all bolded dates handling to match win32
  11394. * ThemeWin32Classic.cs:
  11395. - Fixed rendering with bolded dates
  11396. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11397. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11398. - Horizontal scroolbar
  11399. - Multicolumn
  11400. - Fixes
  11401. 2004-11-25 John BouAntoun <[email protected]>
  11402. * MonthCalendar.cs:
  11403. - Fix Usage of MaxSelectionCount from SelectionRange
  11404. - Fixed Shift + Cursor Selection
  11405. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  11406. - Fixed normal cursor selection to be compat with win32
  11407. - Fixed Shift + Mouse Click selection
  11408. 2004-11-24 Peter Bartok <[email protected]>
  11409. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  11410. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  11411. * XplatUIX11.cs:
  11412. - CreatedKeyBoardMsg now updates keystate with Alt key
  11413. - Added workaround for timer crash to CheckTimers, Jackson will
  11414. develop a proper fix and check in later
  11415. - Implemented DispatchMessage
  11416. - Removed calling the native window proc from GetMessage (call
  11417. now moved to DispatchMessage)
  11418. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  11419. the keydata (Fixes bug #69831)
  11420. * XplatUIWin32.cs:
  11421. - (DispatchMessage): Switched to return IntPtr
  11422. - Added DllImport for SetFocus
  11423. 2004-11-24 Ravindra <[email protected]>
  11424. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  11425. background drawing.
  11426. * ListViewItem.cs: Fixed various properties, calculations
  11427. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  11428. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  11429. and some internal properties. Fixed MouseDown handler and Paint
  11430. method.
  11431. 2004-11-24 John BouAntoun <[email protected]>
  11432. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  11433. 2004-11-24 John BouAntoun <[email protected]>
  11434. * ContainerControl.cs: correct accidental check in of local changes
  11435. 2004-11-24 John BouAntoun <[email protected]>
  11436. * ThemeWin32Classic.cs:
  11437. - Fixed Drawing Last month in grid (sometimes not showing)
  11438. * MonthCalendar.cs:
  11439. - Fixed title width calculation bug (makeing title small)
  11440. 2004-11-23 Peter Bartok <[email protected]>
  11441. * XplatUIX11.cs:
  11442. - Added generation of WM_MOUSEHOVER event
  11443. - Added missing assignment of async_method atom
  11444. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  11445. 2004-11-23 John BouAntoun <[email protected]>
  11446. * ThemeWin32Classic.cs:
  11447. - Fixed Drawing of today circle when showtodaycircle not set
  11448. - fixed drawing of first and last month in the grid (gay dates)
  11449. * MonthCalendar.cs:
  11450. - Fixed Drawing of today circle
  11451. - Fixed drawing of grady dates
  11452. - Fixed HitTest for today link when ShowToday set to false
  11453. - Fixed DefaultSize to obey ShowToday
  11454. 2004-11-23 John BouAntoun <[email protected]>
  11455. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  11456. * System.Windows.Forms/Theme.cs
  11457. * MonthCalendar.cs: added for MonthCalendar
  11458. * SelectionRange.cs: added for MonthCalendar
  11459. * Day.cs: added for MonthCalendar: added for MonthCalendar
  11460. * DateRangeEventArgs.cs: added for MonthCalendar
  11461. * DateRangeEventHandler.cs: added for MonthCalendar
  11462. 2004-11-22 Ravindra <[email protected]>
  11463. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  11464. property.
  11465. 2004-11-22 Miguel de Icaza <[email protected]>
  11466. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  11467. event handler.
  11468. * NumericUpDown.cs: Added new implementation.
  11469. * UpDownBase.cs: Added new implementation.
  11470. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  11471. implementations.
  11472. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  11473. implementations.
  11474. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  11475. methods.
  11476. 2004-11-21 Miguel de Icaza <[email protected]>
  11477. * Timer.cs (Dispose): Should call the base dispose when
  11478. overriding.
  11479. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11480. * ScrollBar.cs: updates thumb position when max, min or increment
  11481. is changed
  11482. 2004-11-21 Ravindra <[email protected]>
  11483. * ListView.cs: Implemented item selection, activation and
  11484. column header style. Fixed properties to do a redraw, if
  11485. required. Added support for MouseHover, DoubleClick, KeyDown
  11486. and KeyUp event handling and some minor fixes.
  11487. * ListViewItem.cs: Fixed constructor.
  11488. * ThemeWin32Classic.cs: Improved drawing for ListView.
  11489. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11490. * ThemeWin32Classic.cs: initial listbox drawing code
  11491. * DrawMode.cs: new enumerator
  11492. * ListControl.cs: stubbed class
  11493. * ListBox.cs: initial implementation
  11494. * Theme.cs: new methods definitions
  11495. * SelectionMode.cs: new enumerator
  11496. 2004-11-17 Peter Bartok <[email protected]>
  11497. * XplatUIWin32.cs: Added double-click events to the class style
  11498. * Control.cs (WndProc):
  11499. - Added handling of click-count to MouseDown/ MouseUp events.
  11500. - Added handling of middle and right mouse buttons
  11501. - Removed old debug code
  11502. 2004-11-17 Jackson Harper <[email protected]>
  11503. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  11504. 2004-11-17 Ravindra <[email protected]>
  11505. * ListView.cs: Added event handling for MouseMove/Up/Down.
  11506. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  11507. * ThemeWin32Classic.cs: We need to clear the graphics context and
  11508. draw column header in a proper state.
  11509. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  11510. * Menu.cs: fixes signature
  11511. 2004-11-16 Peter Bartok <[email protected]>
  11512. * XplatUIX11.cs (GetMessage): Implemented generation of
  11513. double click mouse messages
  11514. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  11515. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  11516. not by menu
  11517. 2004-11-11 Peter Bartok <[email protected]>
  11518. * HandleData.cs: Added Visible property
  11519. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  11520. HandleData
  11521. * XplatUIX11.cs: Removed old debug leftovers
  11522. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  11523. * Control.cs (WndProc): Removed old debug leftovers,
  11524. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  11525. needed WM_SIZE handling
  11526. 2004-11-11 Jackson Harper <[email protected]>
  11527. * OwnerDrawPropertyBag.cs:
  11528. * TreeViewImageIndexConverter.cs: Initial implementation
  11529. 2004-11-10 Jackson Harper <[email protected]>
  11530. * ThemeWin32Classic.cs:
  11531. * TabControl.cs: instead of moving tabs by the slider pos just
  11532. start drawing at the tab that is offset by the slider. This way
  11533. scrolling always moves by exactly one tab.
  11534. 2004-11-10 Jackson Harper <[email protected]>
  11535. * TabControl.cs: You can only scroll left when the slider has
  11536. already ben moved right.
  11537. 2004-11-10 Jackson Harper <[email protected]>
  11538. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  11539. the clip area.
  11540. 2004-11-10 Jackson Harper <[email protected]>
  11541. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  11542. clip area.
  11543. 2004-11-09 Jackson Harper <[email protected]>
  11544. * TabControl.cs (CalcXPos): New helper method so we can determine
  11545. the proper place to start drawing vertical tabs.
  11546. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  11547. 2004-11-09 Jackson Harper <[email protected]>
  11548. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  11549. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  11550. and Bottom, left and right are illegal values for this and
  11551. multiline is enabled when the alignment is set to left or right.
  11552. (DrawTab): Each alignment block should draw the text itself now
  11553. because Left requires special love. Also add rendering for Left
  11554. aligned tabs.
  11555. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  11556. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  11557. does not destroy the windows, removes debugging messages
  11558. 2004-11-09 jba <[email protected]>
  11559. * ThemeWin32Classic.cs
  11560. (DrawButtonBase): Fix verticle text rect clipping in windows
  11561. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11562. rendering and incorrect text rect clipping
  11563. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11564. rendering and incorrect text rect clipping
  11565. 2004-11-08 Jackson Harper <[email protected]>
  11566. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  11567. bottom when they are bottom aligned so the bottoms of the tabs get
  11568. displayed.
  11569. * TabControl.cs (DropRow): Move rows up instead of down when the
  11570. tab control is bottom aligned.
  11571. 2004-11-08 13:59 pbartok
  11572. * XplatUIX11.cs:
  11573. - Added handling for various window styles
  11574. - Added handling for popup windows
  11575. - Added SetTopmost handling
  11576. 2004-11-08 13:55 pbartok
  11577. * XplatUIWin32.cs:
  11578. - Added argument to SetTopmost method
  11579. - Fixed broken ClientToScreen function
  11580. 2004-11-08 13:53 pbartok
  11581. * XplatUIStructs.cs:
  11582. - Added missing WS_EX styles
  11583. 2004-11-08 13:53 pbartok
  11584. * XplatUI.cs, XplatUIDriver.cs:
  11585. - Added argument to SetTopmost
  11586. 2004-11-08 13:52 pbartok
  11587. * X11Structs.cs:
  11588. - Added XSetWindowAttributes structure
  11589. - Improved XWindowAttributes structure
  11590. - Added SetWindowValuemask enum
  11591. - Added window creation arguments enum
  11592. - Added gravity enum
  11593. - Added Motif hints structure
  11594. - Added various Motif flags and enums
  11595. - Added PropertyMode enum for property functions
  11596. 2004-11-08 13:50 pbartok
  11597. * Form.cs:
  11598. - Fixed arguments for updated SetTopmost method
  11599. 2004-11-08 13:49 pbartok
  11600. * ToolTip.cs:
  11601. - Fixed arguments for updated SetTopmost function
  11602. - Fixed usage of PointToClient
  11603. 2004-11-08 13:44 pbartok
  11604. * MenuAPI.cs:
  11605. - Added Clipping of children and siblings
  11606. 2004-11-08 13:41 pbartok
  11607. * MainMenu.cs:
  11608. - Removed SetMenuBarWindow call. We do this in Form.cs
  11609. 2004-11-08 13:40 jackson
  11610. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  11611. scrolling jimmi in the correct location with bottom aligned tabs
  11612. 2004-11-08 13:36 pbartok
  11613. * ContainerControl.cs:
  11614. - Implemented BindingContext
  11615. - Implemented ParentForm
  11616. 2004-11-08 12:46 jackson
  11617. * TabControl.cs: Put bottom rendered tabs in the right location
  11618. 2004-11-08 07:15 jordi
  11619. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  11620. removes dead code
  11621. 2004-11-05 17:30 jackson
  11622. * TabControl.cs: When selected tabs are expanded make sure they
  11623. don't go beyond the edges of the tab control
  11624. 2004-11-05 14:57 jackson
  11625. * TabControl.cs: Reset show_slider so if the control is resized to
  11626. a size where it is no longer needed it's not displayed anymore
  11627. 2004-11-05 13:16 jackson
  11628. * TabControl.cs: Make tab pages non visible when added to the
  11629. control
  11630. 2004-11-05 12:42 jackson
  11631. * TabControl.cs: Implement SizeMode.FillToRight
  11632. 2004-11-05 12:16 jackson
  11633. * Control.cs: Do not call CreateHandle if the handle is already
  11634. created
  11635. 2004-11-05 11:46 jackson
  11636. * TabControl.cs: Remove superflous call to CalcTabRows
  11637. 2004-11-05 09:07 jackson
  11638. * XplatUIX11.cs: Update for Mono.Posix changes
  11639. 2004-11-05 07:00 ravindra
  11640. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  11641. scrolling.
  11642. 2004-11-04 22:47 jba
  11643. * ThemeWin32Classic.cs:
  11644. - Fix Button rendering for FlatStyle = Flat or Popup
  11645. - Fix RadioButton and CheckBox rendering when Appearance = Button
  11646. (normal and flatstyle).
  11647. - Correct outer rectangle color when drawing focus rectangle
  11648. - Adjust button bounds to be 1 px smaller when focused
  11649. - Make button not draw sunken 3d border when pushed (windows compat)
  11650. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  11651. - Offset the text in RadioButton and Checkbox when being rendered as
  11652. a button.
  11653. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  11654. radiobuttons
  11655. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  11656. - Fixed disabled text rendering for normally rendered radiobuttons
  11657. 2004-11-04 10:26 jackson
  11658. * TabControl.cs: Recalculate tab rows when resizing
  11659. 2004-11-04 07:47 jordi
  11660. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  11661. collection completion, drawing issues, missing features
  11662. 2004-11-04 05:03 ravindra
  11663. * ScrollBar.cs:
  11664. - We need to recalculate the Thumb area when
  11665. LargeChange/maximum/minimum values are changed.
  11666. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  11667. than minimum. This is required to handle the case if large_change is
  11668. more than max, and use LargeChange property instead of large_change
  11669. variable.
  11670. - We return max+1 when large_change is more than max, like MS does.
  11671. 2004-11-04 04:29 ravindra
  11672. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  11673. - Changed default value signatures (prefixed all with ListView).
  11674. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  11675. ListView.
  11676. - Fixed calculations for ListViewItem and implemented Clone()
  11677. method.
  11678. 2004-11-04 04:26 ravindra
  11679. * Theme.cs, ThemeWin32Classic.cs:
  11680. - Changed default ListView values signatures (prefixed all with
  11681. ListView).
  11682. - Fixed default size values for VScrollBar and HScrollBar.
  11683. - Fixed DrawListViewItem method.
  11684. 2004-11-04 04:05 ravindra
  11685. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  11686. 2004-11-04 04:04 ravindra
  11687. * ImageList.cs: Implemented the missing overload for Draw method.
  11688. 2004-11-03 19:29 jackson
  11689. * TabControl.cs: Handle dropping rows on selection properly
  11690. 2004-11-03 11:59 jackson
  11691. * TabControl.cs: remove debug code
  11692. 2004-11-03 11:52 jackson
  11693. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  11694. the scrolly widgerywoo
  11695. 2004-11-02 13:52 jackson
  11696. * TabControl.cs: Resize the tab pages and tabs when the tab control
  11697. is resized
  11698. 2004-11-02 13:40 jackson
  11699. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  11700. selected tab to the bottom
  11701. 2004-11-02 13:39 jackson
  11702. * TabPage.cs: Store the tab pages row
  11703. 2004-11-02 12:33 jordi
  11704. * MenuItem.cs: fixes handle creation
  11705. 2004-11-02 11:42 jackson
  11706. * TabControl.cs: signature fix
  11707. 2004-11-02 08:56 jackson
  11708. * TabControl.cs: Calculate whether the tab is on an edge properly.
  11709. Remove top secret debugging code
  11710. 2004-11-01 19:57 jackson
  11711. * TabControl.cs: Add click handling, and proper sizing
  11712. 2004-11-01 19:47 jackson
  11713. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  11714. tab controls
  11715. 2004-11-01 19:39 jackson
  11716. * TabPage.cs: add internal property to store the bounds of a tab
  11717. page
  11718. 2004-10-30 04:23 ravindra
  11719. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  11720. values.
  11721. 2004-10-30 04:21 ravindra
  11722. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  11723. fixed calculations.
  11724. 2004-10-30 03:06 pbartok
  11725. * XplatUIX11.cs:
  11726. - Removed extension of DllImported libs
  11727. 2004-10-29 09:55 jordi
  11728. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  11729. navigation, itemcollection completion, menu fixes
  11730. 2004-10-27 22:58 pbartok
  11731. * XplatUIX11.cs:
  11732. - Now throws a nice error message when no X display could be opened
  11733. 2004-10-26 13:51 jordi
  11734. * ListView.cs: removes warning
  11735. 2004-10-26 03:55 ravindra
  11736. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  11737. ThemeWin32Classic.cs: Some formatting for my last checkins.
  11738. 2004-10-26 03:36 ravindra
  11739. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  11740. control and default values.
  11741. 2004-10-26 03:35 ravindra
  11742. * Theme.cs: Added some default values for ListView control.
  11743. 2004-10-26 03:33 ravindra
  11744. * ToolBar.cs: ToolBar should use the user specified button size, if
  11745. there is any. Added a size_specified flag for the same.
  11746. 2004-10-26 03:33 ravindra
  11747. * ColumnHeader.cs: Added some internal members and calculations for
  11748. ColumnHeader.
  11749. 2004-10-26 03:32 ravindra
  11750. * ListViewItem.cs: Calculations for ListViewItem.
  11751. 2004-10-26 03:31 ravindra
  11752. * ListView.cs: Added some internal members and calculations for
  11753. ListView.
  11754. 2004-10-22 13:31 jordi
  11755. * MenuAPI.cs: speedup menus drawing
  11756. 2004-10-22 13:16 jackson
  11757. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  11758. expose event
  11759. 2004-10-22 11:49 jackson
  11760. * Control.cs: oops
  11761. 2004-10-22 11:41 jackson
  11762. * Control.cs: Check to see if the window should have its background
  11763. repainted by X when drawing.
  11764. 2004-10-22 11:31 jackson
  11765. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  11766. clear is true, this way we do not get flicker from X repainting the
  11767. background
  11768. 2004-10-22 11:28 jackson
  11769. * XEventQueue.cs: Queue properly
  11770. 2004-10-21 09:38 jackson
  11771. * XEventQueue.cs: Fix access modifier
  11772. 2004-10-21 09:36 jackson
  11773. * XEventQueue.cs: Don't loose messages
  11774. 2004-10-21 09:22 jackson
  11775. * XEventQueue.cs: Don't loose messages
  11776. 2004-10-20 04:15 jordi
  11777. * BootMode.cs: enum need it by SystemInfo
  11778. 2004-10-19 21:58 pbartok
  11779. * XplatUIWin32.cs:
  11780. - Small sanity check
  11781. 2004-10-19 21:56 pbartok
  11782. * Form.cs:
  11783. - Added private FormParentWindow class which acts as the container
  11784. for our form and as the non-client area where menus are drawn
  11785. - Added/Moved required tie-ins to Jordi's menus
  11786. - Fixed/Implemented the FormStartPosition functionality
  11787. 2004-10-19 21:52 pbartok
  11788. * Control.cs:
  11789. - Removed unneeded locals
  11790. - Added code to all size and location properties to understand and
  11791. deal with the parent container of Form
  11792. 2004-10-19 21:33 pbartok
  11793. * Application.cs:
  11794. - Fixed to deal with new Form subclasses for menus
  11795. 2004-10-19 17:48 jackson
  11796. * XEventQueue.cs: commit correct version of file
  11797. 2004-10-19 16:50 jackson
  11798. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  11799. 2004-10-19 16:15 jordi
  11800. * MenuAPI.cs: MenuBarCalcSize returns the height
  11801. 2004-10-19 08:31 pbartok
  11802. * Control.cs:
  11803. - Added missing call to PreProcessMessage before calling OnXXXKey
  11804. methods
  11805. 2004-10-19 00:04 ravindra
  11806. * ToolTip.cs: Fixed constructor.
  11807. 2004-10-18 09:31 jordi
  11808. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  11809. 2004-10-18 09:26 jordi
  11810. * MenuItem.cs: fixes MenuItem class signature
  11811. 2004-10-18 08:56 jordi
  11812. * MenuAPI.cs: prevents windows from showing in the taskbar
  11813. 2004-10-18 00:28 ravindra
  11814. * ToolTip.cs: Suppressed a warning message.
  11815. 2004-10-18 00:27 ravindra
  11816. * Control.cs: Default value of visible property must be true.
  11817. 2004-10-17 23:19 pbartok
  11818. * ToolTip.cs:
  11819. - Complete implementation
  11820. 2004-10-17 23:19 pbartok
  11821. * XplatUIX11.cs:
  11822. - Added EnableWindow method
  11823. - Added SetModal stub
  11824. - Added generation of WM_ACTIVATE message (still needs testing)
  11825. - Added SetTopMost stub
  11826. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  11827. 2004-10-17 23:17 pbartok
  11828. * XplatUIWin32.cs:
  11829. - Removed VirtualKeys to XplatUIStructs
  11830. - Implemented SetTopMost method
  11831. - Implemented EnableWindow method
  11832. - Bugfix in ScreenToClient()
  11833. - Bugfixes in ClientToScreen()
  11834. 2004-10-17 22:51 pbartok
  11835. * XplatUIStructs.cs:
  11836. - Added WS_EX styles to WindowStyles enumeration
  11837. 2004-10-17 22:50 pbartok
  11838. * XplatUI.cs, XplatUIDriver.cs:
  11839. - Added method for enabling/disabling windows
  11840. - Added method for setting window modality
  11841. - Added method for setting topmost window
  11842. 2004-10-17 22:49 pbartok
  11843. * ThemeWin32Classic.cs:
  11844. - Added ToolTip drawing code
  11845. 2004-10-17 22:49 pbartok
  11846. * Theme.cs:
  11847. - Added ToolTip abstracts
  11848. 2004-10-17 22:47 pbartok
  11849. * Form.cs:
  11850. - Fixed Form.ControlCollection to handle owner relations
  11851. - Added Owner/OwnedForms handling
  11852. - Implemented Z-Ordering for owned forms
  11853. - Removed unneeded private overload of ShowDialog
  11854. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  11855. so I hope)
  11856. - Fixed Close(), had wrong default
  11857. - Added firing of OnLoad event
  11858. - Added some commented out debug code for Ownership handling
  11859. 2004-10-17 22:16 pbartok
  11860. * Control.cs:
  11861. - Fixed/implemented flat list of controls
  11862. 2004-10-17 22:14 pbartok
  11863. * Application.cs:
  11864. - Added code to simulate modal dialogs on Win32
  11865. 2004-10-17 16:11 jordi
  11866. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  11867. mouse event
  11868. 2004-10-17 13:39 jordi
  11869. * MenuAPI.cs: menu drawing fixes
  11870. 2004-10-15 09:10 ravindra
  11871. * StructFormat.cs: General Enum.
  11872. 2004-10-15 09:09 ravindra
  11873. * SizeGripStyle.cs: Enum for Form.
  11874. 2004-10-15 09:08 ravindra
  11875. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  11876. in Theme for ListView.
  11877. 2004-10-15 09:06 ravindra
  11878. * ColumnHeader.cs: Flushing some formatting changes.
  11879. 2004-10-15 09:05 ravindra
  11880. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  11881. style.
  11882. 2004-10-15 09:03 ravindra
  11883. * ListView.cs: Implemented Paint method and fixed coding style.
  11884. 2004-10-15 07:34 jordi
  11885. * MenuAPI.cs: fix for X11
  11886. 2004-10-15 07:32 ravindra
  11887. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  11888. - Renamed Paint() method to Draw() for clarity. Also, moved
  11889. DrawImage() to OnPaint().
  11890. 2004-10-15 07:25 ravindra
  11891. * CheckBox.cs, RadioButton.cs:
  11892. - Removed Redraw (), we get it from ButtonBase.
  11893. - Implemented Paint (), to do class specific painting.
  11894. 2004-10-15 07:16 ravindra
  11895. * ButtonBase.cs:
  11896. - Redraw () is not virtual now.
  11897. - Added an internal virtual method Paint (), so that
  11898. derived classes can do their painting on their own.
  11899. - Modified OnPaint () to call Paint ().
  11900. 2004-10-15 06:43 jordi
  11901. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  11902. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  11903. 2004-10-15 00:30 ravindra
  11904. * MessageBox.cs:
  11905. - MessageBox on windows does not have min/max buttons.
  11906. This change in CreateParams fixes this on Windows. We
  11907. still need to implement this windowstyle behavior in
  11908. our X11 driver.
  11909. 2004-10-14 05:14 ravindra
  11910. * ToolBar.cs:
  11911. - Changed Redraw () to do a Refresh () always.
  11912. - Fixed the MouseMove event handling when mouse is pressed,
  11913. ie drag event handling.
  11914. - Replaced the usage of ToolBarButton.Pressed property to
  11915. ToolBarButton.pressed internal variable.
  11916. 2004-10-14 05:10 ravindra
  11917. * ToolBarButton.cs:
  11918. - Added an internal member 'inside' to handle mouse move
  11919. with mouse pressed ie mouse drag event.
  11920. - Changed 'Pressed' property to return true only when
  11921. 'inside' and 'pressed' are both true.
  11922. - Some coding style love.
  11923. 2004-10-14 00:17 ravindra
  11924. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  11925. public method.
  11926. 2004-10-14 00:15 ravindra
  11927. * ButtonBase.cs: Redraw () related improvements.
  11928. 2004-10-14 00:14 ravindra
  11929. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  11930. removed unnecessary calls to Button.Show () method.
  11931. 2004-10-13 17:50 pbartok
  11932. * XplatUIX11.cs:
  11933. - Formatting fix
  11934. - Removed destroying of window until we solve the problem of X
  11935. destroying the window before us on shutdown
  11936. 2004-10-13 16:32 pbartok
  11937. * ButtonBase.cs:
  11938. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  11939. 2004-10-13 14:18 pbartok
  11940. * XplatUIX11.cs:
  11941. - Added code to destroy the X window
  11942. 2004-10-13 14:18 pbartok
  11943. * XplatUIWin32.cs:
  11944. - Added code to destroy a window
  11945. 2004-10-13 14:12 pbartok
  11946. * ButtonBase.cs:
  11947. - Added the Redraw on Resize that got dropped in the last rev
  11948. 2004-10-13 09:06 pbartok
  11949. * ThemeWin32Classic.cs:
  11950. - Path from John BouAntoun:
  11951. * Fix check rendering (centre correctly for normal style, offset
  11952. correctly for FlatStyle).
  11953. * Fix border color usage (use backcolor) for FlatStyle.Popup
  11954. * Use checkbox.Capture instead of checkbox.is_pressed when
  11955. rendering flatstyle states.
  11956. 2004-10-12 21:48 pbartok
  11957. * ThemeWin32Classic.cs:
  11958. - Removed all occurences of SystemColors and replaced them with the
  11959. matching theme color
  11960. 2004-10-12 21:41 pbartok
  11961. * ThemeWin32Classic.cs:
  11962. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  11963. him using the function for flatstyle drawing
  11964. - Changed functions to use the new version of CPDrawBorder3D
  11965. 2004-10-12 21:15 pbartok
  11966. * ControlPaint.cs:
  11967. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  11968. match MS documentation. They need to return defined colors if the
  11969. passed color matches the configured control color. Thanks to John
  11970. BouAntoun for pointing this out.
  11971. 2004-10-12 20:57 pbartok
  11972. * Control.cs:
  11973. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  11974. color is changed
  11975. 2004-10-12 20:46 pbartok
  11976. * CheckBox.cs:
  11977. - Fix from John BouAntoun: Now properly sets the Appearance property
  11978. 2004-10-12 20:45 pbartok
  11979. * ThemeWin32Classic.cs:
  11980. - Fixes from John BouAntoun: now handles forecolors and backcolors
  11981. for flatstyle rendered controls much better; It also fixes normal
  11982. checkbox rendering when pushed or disabled.
  11983. 2004-10-08 02:50 jordi
  11984. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  11985. work
  11986. 2004-10-07 08:56 jordi
  11987. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  11988. 2004-10-06 03:59 jordi
  11989. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  11990. XplatUIWin32.cs: removes warnings from compilation
  11991. 2004-10-05 12:23 jackson
  11992. * RadioButton.cs: Fix ctor
  11993. 2004-10-05 11:10 pbartok
  11994. * MessageBox.cs:
  11995. - Partial implementation by Benjamin Dasnois
  11996. 2004-10-05 10:15 jackson
  11997. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  11998. by John BouAntoun
  11999. 2004-10-05 03:07 ravindra
  12000. * ToolBar.cs:
  12001. - Removed a private method, Draw ().
  12002. - Fixed the ButtonDropDown event handling.
  12003. - Fixed MouseMove event handling.
  12004. 2004-10-05 03:04 ravindra
  12005. * ThemeWin32Classic.cs:
  12006. - Added DrawListView method and ListViewDefaultSize property.
  12007. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  12008. - Changed DOS style CRLF to Unix format (dos2unix).
  12009. 2004-10-05 03:03 ravindra
  12010. * Theme.cs:
  12011. - Added DrawListView method and ListViewDefaultSize property.
  12012. 2004-10-05 02:42 ravindra
  12013. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  12014. clicks on DropDown arrow.
  12015. 2004-10-04 22:56 jackson
  12016. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  12017. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  12018. Control handle the buffers, derived classes should not have to
  12019. CreateBuffers themselves.
  12020. 2004-10-04 21:20 jackson
  12021. * StatusBar.cs: The control handles resizing the buffers now.
  12022. 2004-10-04 21:18 jackson
  12023. * Control.cs: When resizing the buffers should be invalidated. This
  12024. should be handled in Control not in derived classes.
  12025. 2004-10-04 14:45 jackson
  12026. * TabPage.cs: oops
  12027. 2004-10-04 02:14 pbartok
  12028. * LeftRightAlignment.cs:
  12029. - Initial check-in
  12030. 2004-10-04 01:09 jordi
  12031. * ThemeWin32Classic.cs: fixes right button position causing right
  12032. button not showing on horizontal scrollbars
  12033. 2004-10-02 13:12 pbartok
  12034. * XplatUIX11.cs:
  12035. - Simplified the Invalidate method by using an X call instead of
  12036. generating the expose ourselves
  12037. - Added an expose when the window background is changed
  12038. - Implemented ClientToScreen method
  12039. 2004-10-02 13:08 pbartok
  12040. * XplatUIWin32.cs:
  12041. - Added Win32EnableWindow method (test for implementing modal
  12042. dialogs)
  12043. - Added ClientToScreen method and imports
  12044. 2004-10-02 13:07 pbartok
  12045. * XplatUI.cs, XplatUIDriver.cs:
  12046. - Added ClientToScreen coordinate translation method
  12047. 2004-10-02 13:06 pbartok
  12048. * KeyPressEventArgs.cs:
  12049. - Fixed access level for constructor
  12050. 2004-10-02 13:06 pbartok
  12051. * NativeWindow.cs:
  12052. - Changed access level for the window_collection hash table
  12053. 2004-10-02 13:05 pbartok
  12054. * Form.cs:
  12055. - Added KeyPreview property
  12056. - Added Menu property (still incomplete, pending Jordi's menu work)
  12057. - Implemented ProcessCmdKey
  12058. - Implemented ProcessDialogKey
  12059. - Implemented ProcessKeyPreview
  12060. 2004-10-02 13:02 pbartok
  12061. * Control.cs:
  12062. - Added private method to get the Control object from the window
  12063. handle
  12064. - Implemented ContextMenu property
  12065. - Implemented PointToScreen
  12066. - Implemented PreProcessMessage
  12067. - Implemented IsInputChar
  12068. - Implemented IsInputKey
  12069. - Implemented ProcessCmdKey
  12070. - Completed ProcessKeyEventArgs
  12071. - Fixed message loop to call the proper chain of functions on key
  12072. events
  12073. - Implemented ProcessDialogChar
  12074. - Implemented ProcessDialogKey
  12075. - Implemented ProcessKeyMessage
  12076. - Implemented ProcessKeyPreview
  12077. - Added RaiseDragEvent stub (MS internal method)
  12078. - Added RaiseKeyEvent stub (MS internal method)
  12079. - Added RaiseMouseEvent stub (MS Internal method)
  12080. - Added RaisePaintEvent stub (MS Internal method)
  12081. - Added ResetMouseEventArgs stub (MS Internal method)
  12082. - Implemented RtlTranslateAlignment
  12083. - Implemented RtlTranslateContent
  12084. - Implemented RtlTranslateHorizontal
  12085. - Implemented RtlTranslateLeftRight
  12086. - Added generation of KeyPress event
  12087. 2004-10-02 05:57 ravindra
  12088. * ListViewItem.cs: Added attributes.
  12089. 2004-10-02 05:32 ravindra
  12090. * ListView.cs: Added attributes.
  12091. 2004-10-01 11:53 jackson
  12092. * Form.cs: Implement the Close method so work on MessageBox can
  12093. continue.
  12094. 2004-09-30 14:06 pbartok
  12095. * XplatUIX11.cs:
  12096. - Bug fixes
  12097. 2004-09-30 11:34 jackson
  12098. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12099. 2004-09-30 07:26 ravindra
  12100. * ListViewItemConverter.cs: Converter for ListViewItem.
  12101. 2004-09-30 07:26 ravindra
  12102. * SortOrder.cs: Enum for ListView control.
  12103. 2004-09-30 07:25 ravindra
  12104. * ColumnHeader.cs: Supporting class for ListView control.
  12105. 2004-09-30 07:24 ravindra
  12106. * ListView.cs, ListViewItem.cs: Initial implementation.
  12107. 2004-09-30 07:20 ravindra
  12108. * ItemActivation.cs: Enum for ListView Control.
  12109. 2004-09-29 20:29 pbartok
  12110. * XplatUIX11.cs:
  12111. - Added lookup of pixel value for background color; tries to get a
  12112. color 'close' to the requested color, it avoids having to create a
  12113. colormap. Depending on the display this could mean the used color
  12114. is slightly off the desired color. Might have to change it to a more
  12115. resource intensive colormap approach, but it will work as a
  12116. workaround to avoid red screens.
  12117. 2004-09-29 14:27 jackson
  12118. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12119. 2004-09-28 12:44 pbartok
  12120. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12121. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12122. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12123. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12124. TrackBar.cs, VScrollBar.cs:
  12125. - Streamlined Theme interfaces:
  12126. * Each DrawXXX method for a control now is passed the object for
  12127. the control to be drawn in order to allow accessing any state the
  12128. theme might require
  12129. * ControlPaint methods for the theme now have a CP prefix to avoid
  12130. name clashes with the Draw methods for controls
  12131. * Every control now retrieves it's DefaultSize from the current
  12132. theme
  12133. 2004-09-28 12:17 jackson
  12134. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12135. drawing
  12136. 2004-09-24 14:57 jackson
  12137. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12138. Gives us a nice little performance boost.
  12139. 2004-09-24 12:02 jackson
  12140. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12141. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12142. Control and supporting classes. Initial checkin
  12143. 2004-09-23 13:08 jackson
  12144. * Form.cs: Temp build fixage
  12145. 2004-09-23 01:39 ravindra
  12146. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12147. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12148. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12149. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12150. EventHandlers needed by ListView Control.
  12151. 2004-09-22 14:12 pbartok
  12152. * ScrollableControl.cs:
  12153. - Implemented DockPadding property
  12154. - Implemented AutoScroll property
  12155. - Implemented AutoScrollMargin property
  12156. - Implemented AutoScrollMinSize property
  12157. - Implemented AutoScrollPosition property
  12158. - Implemented DisplayRectangle property (still incomplete)
  12159. - Implemented CreateParams property
  12160. - Implemented HScroll property
  12161. - Implemented VScroll property
  12162. - Implemented OnVisibleChanged property
  12163. 2004-09-22 14:09 pbartok
  12164. * Form.cs:
  12165. - Added Form.ControllCollection class
  12166. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12167. RemoveOwnedForm (still incomplete, missing on-top and common
  12168. minimize/maximize behaviour)
  12169. - Added StartPosition property (still incomplete, does not use when
  12170. creating the form)
  12171. - Added ShowDialog() methods (still incomplete, missing forcing the
  12172. dialog modal)
  12173. 2004-09-22 14:05 pbartok
  12174. * Application.cs:
  12175. - Added message loop for modal dialogs
  12176. 2004-09-22 14:02 pbartok
  12177. * GroupBox.cs:
  12178. - Fixed wrong types for events
  12179. 2004-09-22 14:00 pbartok
  12180. * Shortcut.cs, FormWindowState.cs:
  12181. - Fixed wrong values
  12182. 2004-09-22 12:01 jackson
  12183. * Control.cs: Text is never null
  12184. 2004-09-20 22:14 pbartok
  12185. * XplatUIWin32.cs:
  12186. - Fixed accessibility level for Idle handler
  12187. 2004-09-20 18:54 jackson
  12188. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12189. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12190. busy loop
  12191. 2004-09-17 10:43 pbartok
  12192. * ScrollBar.cs:
  12193. - Fixed behaviour of arrow buttons. Now properly behaves like
  12194. Buttons (and like Microsoft's scrollbar arrow buttons)
  12195. 2004-09-17 10:14 pbartok
  12196. * ScrollBar.cs:
  12197. - Added missing release of keyboard/mouse capture
  12198. 2004-09-17 06:18 jordi
  12199. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12200. Theme.cs: Very early menu support
  12201. 2004-09-16 17:45 pbartok
  12202. * XplatUIWin32.cs:
  12203. - Fixed sending a window to the front
  12204. - Added overload for SetWindowPos to avoid casting
  12205. 2004-09-16 17:44 pbartok
  12206. * Control.cs:
  12207. - Added SendToBack and BringToFront methods
  12208. 2004-09-16 07:00 ravindra
  12209. * Copyright: Added Novell URL.
  12210. 2004-09-16 07:00 ravindra
  12211. * ToolBar.cs: Invalidate should be done before redrawing.
  12212. 2004-09-15 21:19 ravindra
  12213. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12214. 2004-09-15 21:18 ravindra
  12215. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12216. ListView Control.
  12217. 2004-09-13 18:26 jackson
  12218. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12219. properly
  12220. 2004-09-13 18:13 jackson
  12221. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12222. a second thread and post messages into the main threads message
  12223. queue. This makes timing much more consistent. Both win2K and XP
  12224. have a minimum timer value of 15 milliseconds, so we now do this
  12225. too.
  12226. 2004-09-13 15:18 pbartok
  12227. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12228. XplatUIX11.cs:
  12229. - Added Z-Ordering methods
  12230. 2004-09-13 10:56 pbartok
  12231. * Form.cs:
  12232. - Fixed #region names
  12233. - Moved properties and methods into their proper #regions
  12234. 2004-09-13 10:51 pbartok
  12235. * Form.cs:
  12236. - Added Accept and CancelButton properties
  12237. - Added ProcessDialogKey() method
  12238. 2004-09-13 08:18 pbartok
  12239. * IWindowTarget.cs:
  12240. - Initial check-in
  12241. 2004-09-10 21:50 pbartok
  12242. * Control.cs:
  12243. - Added DoDragDrop() [incomplete]
  12244. - Properly implemented 'Visible' handling
  12245. - Added SetVisibleCore()
  12246. - Implemented FindChildAtPoint()
  12247. - Implemented GetContainerControl()
  12248. - Implemented Hide()
  12249. 2004-09-10 19:28 pbartok
  12250. * Control.cs:
  12251. - Moved methods into their appropriate #regions
  12252. - Reordered methods within regions alphabetically
  12253. 2004-09-10 18:57 pbartok
  12254. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12255. - Added method to retrieve text from window
  12256. 2004-09-10 18:56 pbartok
  12257. * Control.cs:
  12258. - Moved some internal functions into the internal region
  12259. - Implemented FontHeight
  12260. - Implemented RenderRightToLeft
  12261. - Implemented ResizeRedraw
  12262. - Implemented ShowFocusCues
  12263. - Implemented ShowKeyboardCues
  12264. - Implemented FromChildHandle
  12265. - Implemented FromHandle
  12266. - Implemented IsMnemonic
  12267. - Implemented ReflectMessage
  12268. - All public and protected Static Methods are now complete
  12269. 2004-09-10 16:54 pbartok
  12270. * Control.cs:
  12271. - Implemented remaining missing public instance properties
  12272. - Alphabetized some out of order properties
  12273. 2004-09-10 05:51 ravindra
  12274. * PictureBox.cs: Added a check for null image.
  12275. 2004-09-10 00:59 jordi
  12276. * GroupBox.cs: remove cvs tag
  12277. 2004-09-09 05:25 ravindra
  12278. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12279. 2004-09-09 05:23 ravindra
  12280. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12281. parent redraw.
  12282. 2004-09-09 02:28 pbartok
  12283. * ThemeWin32Classic.cs:
  12284. - Improve disabled string look
  12285. 2004-09-09 01:15 jordi
  12286. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12287. args and handler
  12288. 2004-09-08 23:56 ravindra
  12289. * ItemBoundsPortion.cs: It's enum, not a class!
  12290. 2004-09-08 23:47 ravindra
  12291. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12292. Enums for Form.
  12293. 2004-09-08 21:13 ravindra
  12294. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12295. ListView control.
  12296. 2004-09-08 21:03 ravindra
  12297. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12298. avoid crash.
  12299. 2004-09-08 21:01 ravindra
  12300. * ScrollableControl.cs: Removed unreachable code.
  12301. 2004-09-08 06:45 jordi
  12302. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12303. 2004-09-08 01:00 jackson
  12304. * XplatUIX11.cs: Only run the timers when updating the message
  12305. queue. This effectively gives X messages a higher priority then
  12306. timer messages. Timers still need love though
  12307. 2004-09-07 14:01 jackson
  12308. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12309. this for us and the handle is no longer valid.
  12310. 2004-09-07 13:59 jackson
  12311. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12312. loop that manages to not crash. TODO: Add poll and cleanup timers
  12313. 2004-09-07 11:12 jordi
  12314. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12315. 2004-09-07 03:40 jordi
  12316. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12317. fixes, methods, multiple links
  12318. 2004-09-06 06:55 jordi
  12319. * Control.cs: Caches ClientRectangle rectangle value
  12320. 2004-09-05 02:03 jordi
  12321. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12322. certain situations
  12323. 2004-09-04 11:10 jordi
  12324. * Label.cs: Refresh when font changed
  12325. 2004-09-02 16:24 pbartok
  12326. * Control.cs:
  12327. - Added sanity check to creation of double buffer bitmap
  12328. 2004-09-02 16:24 pbartok
  12329. * ButtonBase.cs:
  12330. - Fixed selection of text color
  12331. - Fixed handling of resize event; now properly recreates double
  12332. buffering bitmap
  12333. - Added missing assignment of TextAlignment
  12334. - Added proper default for TextAlignment
  12335. 2004-09-02 14:26 pbartok
  12336. * RadioButton.cs:
  12337. - Added missing RadioButton.RadioButtonAccessibleObject class
  12338. 2004-09-02 14:26 pbartok
  12339. * Control.cs:
  12340. - Added missing Control.ControlAccessibleObject class
  12341. - Started to implement Select()ion mechanisms, still very incomplete
  12342. 2004-09-02 14:25 pbartok
  12343. * AccessibleObject.cs:
  12344. - Added missing methods
  12345. 2004-09-02 14:23 pbartok
  12346. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12347. - Initial check-in
  12348. 2004-09-02 10:32 jordi
  12349. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12350. pool for pens, brushes, and hatchbruses
  12351. 2004-09-01 15:30 jackson
  12352. * StatusBar.cs: Fix typo
  12353. 2004-09-01 14:44 pbartok
  12354. * RadioButton.cs:
  12355. - Fixed state
  12356. 2004-09-01 14:39 pbartok
  12357. * Button.cs, RadioButton.cs:
  12358. - Functional initial check-in
  12359. 2004-09-01 14:01 pbartok
  12360. * CheckBox.cs:
  12361. - Added missing default
  12362. - Added missing region mark
  12363. 2004-09-01 09:10 jordi
  12364. * Label.cs: fixes method signatures, new methods, events, fixes
  12365. autosize
  12366. 2004-09-01 07:19 jordi
  12367. * Control.cs: Init string variables with an empty object
  12368. 2004-09-01 04:20 jordi
  12369. * Control.cs: fires OnFontChanged event
  12370. 2004-08-31 20:07 pbartok
  12371. * ButtonBase.cs:
  12372. - Enabled display of strings
  12373. 2004-08-31 20:05 pbartok
  12374. * Form.cs:
  12375. - Added (partial) implementation of DialogResult; rest needs to be
  12376. implemented when the modal loop code is done
  12377. 2004-08-31 19:55 pbartok
  12378. * CheckBox.cs:
  12379. - Fixed to match the removal of the needs_redraw concept
  12380. 2004-08-31 19:55 pbartok
  12381. * ButtonBase.cs:
  12382. - Removed the rather odd split between 'needs redraw' and redrawing
  12383. - Now handles the events that require regeneration (ambient
  12384. properties and size)
  12385. 2004-08-31 19:41 pbartok
  12386. * Control.cs:
  12387. - Added firing of BackColorChanged event
  12388. - Added TopLevelControl property
  12389. - Fixed handling of WM_ERASEBKGRND message
  12390. 2004-08-31 12:49 pbartok
  12391. * ButtonBase.cs:
  12392. - Removed debug
  12393. - Minor fixes
  12394. 2004-08-31 12:48 pbartok
  12395. * CheckBox.cs:
  12396. - Finished (famous last words)
  12397. 2004-08-31 04:35 jordi
  12398. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12399. scrolling bugs, adds new methods
  12400. 2004-08-30 14:42 pbartok
  12401. * CheckBox.cs:
  12402. - Implemented CheckBox drawing code
  12403. 2004-08-30 14:42 pbartok
  12404. * ButtonBase.cs:
  12405. - Made Redraw() and CheckRedraw() virtual
  12406. - Improved mouse up/down/move logic to properly track buttons
  12407. 2004-08-30 09:44 pbartok
  12408. * CheckBox.cs:
  12409. - Updated to fix broken build. Not complete yet.
  12410. 2004-08-30 09:28 pbartok
  12411. * CheckState.cs:
  12412. - Initial checkin
  12413. 2004-08-30 09:17 pbartok
  12414. * Appearance.cs:
  12415. - Initial check-in
  12416. 2004-08-27 16:12 ravindra
  12417. * ToolBarButton.cs: Added TypeConverter attribute.
  12418. 2004-08-27 16:07 ravindra
  12419. * ImageIndexConverter.cs: Implemented.
  12420. 2004-08-27 14:17 pbartok
  12421. * Control.cs:
  12422. - Removed unneeded stack vars
  12423. - First attempt to fix sizing issues when layout is suspended
  12424. 2004-08-25 15:35 jordi
  12425. * ScrollBar.cs: more fixes to scrollbar
  12426. 2004-08-25 14:04 ravindra
  12427. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  12428. Added the missing divider code and grip for ToolBar Control.
  12429. 2004-08-25 13:20 pbartok
  12430. * Control.cs:
  12431. - Control now properly passes the ambient background color to child
  12432. controls
  12433. 2004-08-25 13:20 jordi
  12434. * ScrollBar.cs: small bug fix regarding bar position
  12435. 2004-08-25 12:33 pbartok
  12436. * Timer.cs:
  12437. - Now only calls SetTimer or KillTimer if the enabled state has
  12438. changed
  12439. 2004-08-25 12:33 pbartok
  12440. * XplatUIWin32.cs:
  12441. - Fixed timer handling, now seems to work
  12442. - Improved error message for window creation
  12443. 2004-08-25 12:32 pbartok
  12444. * Control.cs:
  12445. - Fixed generation of MouseUp message
  12446. 2004-08-25 12:29 jordi
  12447. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  12448. and fixes for progressbar
  12449. 2004-08-24 18:43 ravindra
  12450. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  12451. in ToolBar control.
  12452. 2004-08-24 17:15 pbartok
  12453. * Panel.cs:
  12454. - Added #region
  12455. - Added missing events
  12456. - Alphabetized
  12457. 2004-08-24 17:14 pbartok
  12458. * StatusBar.cs, PictureBox.cs:
  12459. - Now uses Control's CreateParams
  12460. 2004-08-24 16:36 pbartok
  12461. * XplatUIX11.cs:
  12462. - Fixed background color handling
  12463. - Fixed sending of enter/leave events on a grab
  12464. 2004-08-24 16:35 pbartok
  12465. * X11Structs.cs:
  12466. - Refined definitions for CrossingEvent
  12467. 2004-08-24 12:37 jordi
  12468. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  12469. formmating, methods signature, and adds missing events
  12470. 2004-08-24 12:24 jordi
  12471. * Control.cs: fire OnEnabledChanged event
  12472. 2004-08-24 11:17 pbartok
  12473. * XplatUIWin32.cs:
  12474. - Implemented SetTimer() and KillTimer()
  12475. 2004-08-24 11:16 pbartok
  12476. * XplatUIX11.cs:
  12477. - Now uses Remove instead of Add to kill the timer
  12478. 2004-08-24 10:16 jackson
  12479. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  12480. picture boxes in the theme now. Draw picture box borders and obey
  12481. sizing modes
  12482. 2004-08-24 05:49 jackson
  12483. * Timer.cs: Remove top secret debugging code
  12484. 2004-08-24 05:34 jackson
  12485. * PictureBox.cs: Temp hack to make picture boxes draw their full
  12486. image
  12487. 2004-08-24 05:29 jackson
  12488. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12489. XplatUIX11.cs: Move timers to the driver level. On X they are
  12490. queued by the driver and checked on idle.
  12491. 2004-08-24 01:07 jackson
  12492. * XplatUIX11.cs: Use a queue for async messages instead of passing
  12493. them as ClientMessages since that was totally broken. Also simply
  12494. check for events and return an idle message if none are found. This
  12495. gives us an idle handler, and prevents deadlocking when no messages
  12496. are in the queue.
  12497. 2004-08-23 18:19 ravindra
  12498. * XplatUIWin32.cs: Removed the unwanted destructor.
  12499. 2004-08-23 17:27 pbartok
  12500. * ButtonBase.cs:
  12501. - Finishing touches. Works now, just needs some optimizations.
  12502. 2004-08-23 16:53 jordi
  12503. * ScrollBar.cs: small fix
  12504. 2004-08-23 16:45 pbartok
  12505. * Application.cs:
  12506. - Removed debug output
  12507. - Simplifications
  12508. 2004-08-23 16:43 jordi
  12509. * ScrollBar.cs: [no log message]
  12510. 2004-08-23 16:10 pbartok
  12511. * Form.cs:
  12512. - Fixed handling of WM_CLOSE message
  12513. - Removed debug output
  12514. 2004-08-23 16:09 pbartok
  12515. * Application.cs:
  12516. - Added handling of Idle event
  12517. - Added handling of form closing
  12518. - Fixed reporting of MessageLoop property
  12519. - Removed some unneeded code, should provide a bit of a speedup
  12520. 2004-08-23 15:22 pbartok
  12521. * Control.cs:
  12522. - Added InitLayout() method
  12523. - Added code to properly perform layout when Anchor or Dock property
  12524. is changed
  12525. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  12526. LAMESPEC, tried to do it in a way that makes sense
  12527. 2004-08-23 14:10 jordi
  12528. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  12529. properties and methods
  12530. 2004-08-23 13:55 pbartok
  12531. * Control.cs:
  12532. - Properly fixed Jordi's last fix
  12533. - Now uses Cursor's Position property instead of calling XplatUI
  12534. directly
  12535. 2004-08-23 13:44 jordi
  12536. * PaintEventHandler.cs: Adding missing attribute
  12537. 2004-08-23 13:39 pbartok
  12538. * Cursor.cs:
  12539. - Implemented Position property
  12540. 2004-08-23 13:39 pbartok
  12541. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12542. - Added method to move mouse cursor
  12543. 2004-08-23 13:39 pbartok
  12544. * XplatUIX11.cs:
  12545. - Fixed setting of background color
  12546. - Added method to move mouse cursor
  12547. 2004-08-23 13:16 jordi
  12548. * Control.cs: avoids null exception
  12549. 2004-08-22 17:46 jackson
  12550. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  12551. PictureBox
  12552. 2004-08-22 17:40 jackson
  12553. * XplatUIX11.cs: Add some missing locks
  12554. 2004-08-22 15:10 pbartok
  12555. * Control.cs, Form.cs:
  12556. - Removed OverlappedWindow style from Control, instead it's default
  12557. now is child
  12558. - Made form windows OverlappedWindow by default
  12559. 2004-08-22 13:34 jackson
  12560. * ScrollBar.cs: Update the position through the Value property so
  12561. the OnValueChanged event is raised.
  12562. 2004-08-22 12:04 pbartok
  12563. * SWF.csproj:
  12564. - Added Cursor.cs and UserControl.cs
  12565. 2004-08-22 12:03 pbartok
  12566. * Cursor.cs:
  12567. - Started implementation, not usable yet
  12568. 2004-08-22 12:00 pbartok
  12569. * UserControl.cs:
  12570. - Implemented UserControl (complete)
  12571. 2004-08-21 19:20 ravindra
  12572. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  12573. 2004-08-21 18:49 ravindra
  12574. * ToolBar.cs: Probably this completes the missing attributes in
  12575. toolbar control.
  12576. 2004-08-21 18:03 ravindra
  12577. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  12578. Fixed toolbar control signatures.
  12579. 2004-08-21 16:32 pbartok
  12580. * LinkLabel.cs:
  12581. - Signature Fixes
  12582. 2004-08-21 16:30 pbartok
  12583. * Label.cs:
  12584. - Signature fixes
  12585. 2004-08-21 16:19 pbartok
  12586. * Control.cs, Label.cs:
  12587. - Signature fixes
  12588. 2004-08-21 15:57 pbartok
  12589. * ButtonBase.cs:
  12590. - Added loads of debug output for development
  12591. - Fixed typo in method name
  12592. 2004-08-21 15:52 pbartok
  12593. * ToolBarButtonClickEventArgs.cs:
  12594. - Added missing base class
  12595. 2004-08-21 14:53 pbartok
  12596. * Control.cs:
  12597. - Updated to match new GrabWindow signature
  12598. 2004-08-21 14:51 pbartok
  12599. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12600. - Added method to get default display size
  12601. 2004-08-21 14:23 pbartok
  12602. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12603. - Added method to query current grab state
  12604. - Added argument to allow confining a grab to a window
  12605. 2004-08-21 14:22 pbartok
  12606. * Keys.cs:
  12607. - Added [Flags] attribute so that modifiers can be used in bitwise
  12608. ops
  12609. 2004-08-21 14:21 pbartok
  12610. * TrackBar.cs, ScrollBar.cs:
  12611. - Replaced direct XplatUI calls with their Control counterpart
  12612. 2004-08-21 13:32 pbartok
  12613. * Control.cs:
  12614. - Implemented Created property
  12615. 2004-08-21 13:28 pbartok
  12616. * Control.cs:
  12617. - Implemented ContainsFocus
  12618. 2004-08-21 13:26 pbartok
  12619. * Control.cs:
  12620. - Implemented CausesValidation
  12621. 2004-08-21 13:21 pbartok
  12622. * Control.cs:
  12623. - Implemented CanFocus
  12624. - Implemented CanSelect
  12625. - Implemented Capture
  12626. 2004-08-21 12:35 pbartok
  12627. * XplatUIWin32.cs:
  12628. - Fixed bug with Async message handling
  12629. - Implemented getting the ModifierKeys
  12630. 2004-08-21 12:32 jackson
  12631. * AsyncMethodResult.cs: Make sure we have the mutex before we
  12632. release it. Fixes BeginInvoke on windows
  12633. 2004-08-21 11:31 pbartok
  12634. * XplatUIWin32.cs, XplatUIX11.cs:
  12635. - Drivers now return proper mouse state
  12636. 2004-08-21 10:54 jackson
  12637. * Control.cs: Implement EndInvoke
  12638. 2004-08-21 10:48 jackson
  12639. * Timer.cs: Remove unneeded finalizer
  12640. 2004-08-20 19:52 ravindra
  12641. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  12642. in mouse event handling in the ToolBar control.
  12643. 2004-08-20 19:50 ravindra
  12644. * ImageList.cs: Changed draw method to use the arguments passed in
  12645. to draw the image.
  12646. 2004-08-20 18:58 pbartok
  12647. * XplatUIStructs.cs:
  12648. - Added private message for async communication
  12649. 2004-08-20 17:38 ravindra
  12650. * Control.cs: Made RightToLeft property virtual and removed a
  12651. Console.WriteLine.
  12652. 2004-08-20 14:39 jordi
  12653. * ThemeGtk.cs: use style_attach
  12654. 2004-08-20 14:39 pbartok
  12655. * XplatUIWin32.cs:
  12656. - Added jackson's Async code from X11 to Win32
  12657. 2004-08-20 14:09 pbartok
  12658. * SWF.csproj:
  12659. - Added all new files
  12660. 2004-08-20 14:09 pbartok
  12661. * Control.cs:
  12662. - Added call to set window background color
  12663. 2004-08-20 14:03 pbartok
  12664. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12665. - Added method for setting the window background
  12666. 2004-08-20 14:02 pbartok
  12667. * XplatUIWin32.cs:
  12668. - Added method for setting the background color
  12669. - Added handling for erasing the window background
  12670. 2004-08-20 13:45 jordi
  12671. * TrackBar.cs: fixes timer, new properties and methods
  12672. 2004-08-20 13:34 jackson
  12673. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  12674. correct thread
  12675. 2004-08-20 13:22 jackson
  12676. * Timer.cs: Timer Tick events are now handed through Controls Async
  12677. mechanism so the callbacks are executed in the same thread as X
  12678. 2004-08-20 13:19 jackson
  12679. * XplatUIDriver.cs: Expose functionality to send async messages
  12680. through the driver
  12681. 2004-08-20 13:18 jackson
  12682. * Control.cs: Implement Begininvoke
  12683. 2004-08-20 13:14 jackson
  12684. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  12685. messages through the driver
  12686. 2004-08-20 13:12 jackson
  12687. * XplatUIX11.cs: Lock before all X operations. Also added Async
  12688. method functionality through XSendEvent
  12689. 2004-08-20 13:11 jackson
  12690. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  12691. This will screw up on 64 bit systems)
  12692. 2004-08-20 13:10 jackson
  12693. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  12694. Async messages through X/Win32
  12695. 2004-08-19 19:39 pbartok
  12696. * XplatUIX11.cs:
  12697. - Updated code to match new HandleData.DeviceContext type
  12698. 2004-08-19 19:38 pbartok
  12699. * HandleData.cs:
  12700. - Made DeviceContext a generic object to allow usage from various
  12701. drivers
  12702. - Added support for queueing Windows messages
  12703. 2004-08-19 19:37 pbartok
  12704. * XplatUIWin32.cs:
  12705. - Added generation of MouseEnter, MouseLeave and MouseHover events
  12706. - Added cleanup on EndPaint
  12707. 2004-08-19 19:17 pbartok
  12708. * Control.cs:
  12709. - Added handling of WM_MOUSEHOVER
  12710. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  12711. code
  12712. 2004-08-19 18:55 jordi
  12713. * ThemeGtk.cs: fixes button order
  12714. 2004-08-19 18:12 jordi
  12715. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  12716. 2004-08-19 17:09 pbartok
  12717. * Control.cs:
  12718. - Added Right property
  12719. - Added RightToLeft property
  12720. 2004-08-19 16:27 jordi
  12721. * ThemeGtk.cs: experimental GTK theme support
  12722. 2004-08-19 16:26 jordi
  12723. * ITheme.cs, Theme.cs: move themes from an interface to a class
  12724. 2004-08-19 16:25 jordi
  12725. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  12726. theme enhancaments
  12727. 2004-08-19 16:04 pbartok
  12728. * XplatUIX11.cs:
  12729. - Added colormap basics
  12730. - Added a way to re-initialize with a different display handle
  12731. - Fixed setting of the window background color
  12732. - Added various X11 imports related to colors and colormaps
  12733. 2004-08-19 15:51 pbartok
  12734. * X11Structs.cs:
  12735. - Removed packing hints (Paolo suggested this a while back)
  12736. - fixed colormap type
  12737. - Added default Atom types
  12738. - Added Screen and color structs and enums
  12739. 2004-08-19 15:39 pbartok
  12740. * ImageList.cs:
  12741. - Added missing Draw() method
  12742. - Added missing RecreateHandle event
  12743. 2004-08-19 15:30 pbartok
  12744. * Form.cs:
  12745. - Added handling of WM_CLOSE
  12746. 2004-08-18 13:16 jordi
  12747. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  12748. a table
  12749. 2004-08-18 09:56 jordi
  12750. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  12751. 2004-08-17 15:31 ravindra
  12752. * SWF.csproj: Updated project.
  12753. 2004-08-17 15:25 pbartok
  12754. * Control.cs:
  12755. - Drawing improvement; don't call UpdateBounds if we are not visible
  12756. (or have been minimized)
  12757. 2004-08-17 15:24 pbartok
  12758. * XplatUIWin32.cs:
  12759. - Finished IsVisible
  12760. - Added Win32GetWindowPlacement
  12761. 2004-08-17 15:08 jackson
  12762. * Panel.cs: Initial checkin of the Panel
  12763. 2004-08-17 14:25 pbartok
  12764. * Control.cs:
  12765. - Fixed broken handling of default window sizes
  12766. 2004-08-17 13:29 jackson
  12767. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  12768. has a large startup time.
  12769. 2004-08-17 10:25 jackson
  12770. * HandleData.cs: union areas properly
  12771. 2004-08-17 10:12 jackson
  12772. * HandleData.cs: union areas properly
  12773. 2004-08-16 20:00 ravindra
  12774. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  12775. 2004-08-16 18:48 ravindra
  12776. * ToolBar.cs: Added attributes.
  12777. 2004-08-16 17:17 ravindra
  12778. * SWF.csproj: Updated project.
  12779. 2004-08-16 17:16 jackson
  12780. * XplatUIX11.cs: Check for more expose events before sending a
  12781. WM_PAINT so they can all be grouped together. This makes dragging a
  12782. window across another window redraw in a sane way.
  12783. 2004-08-16 15:47 pbartok
  12784. * Control.cs:
  12785. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  12786. support OnMouseEnter/Leave()
  12787. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  12788. exposure handling
  12789. 2004-08-16 15:46 pbartok
  12790. * XplatUIStructs.cs, XplatUIX11.cs:
  12791. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  12792. OnMouseEnter/Leave()
  12793. 2004-08-16 15:34 jackson
  12794. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  12795. sure messages get the message field set to WM_NULL if they are not
  12796. handled.
  12797. 2004-08-16 15:24 jackson
  12798. * HandleData.cs: HandleData is used for storing message information
  12799. for window handles
  12800. 2004-08-15 17:23 ravindra
  12801. * ColorDepth.cs: Added attribute.
  12802. 2004-08-15 17:23 ravindra
  12803. * SWF.csproj: Updated project for ToolBar Control.
  12804. 2004-08-15 17:20 ravindra
  12805. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  12806. control and also dos2unix format.
  12807. 2004-08-15 17:13 ravindra
  12808. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  12809. ToolBarButtonClickEventArgs.cs,
  12810. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  12811. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  12812. 2004-08-15 15:31 pbartok
  12813. * ButtonBase.cs:
  12814. - First (mostly) working version
  12815. 2004-08-13 16:15 pbartok
  12816. * Control.cs:
  12817. - Fixed Anchor default
  12818. 2004-08-13 15:43 pbartok
  12819. * Control.cs:
  12820. - Changed GetCursorPos signature
  12821. 2004-08-13 15:42 pbartok
  12822. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12823. - Changed signature for GetCursorPos
  12824. 2004-08-13 15:25 pbartok
  12825. * XplatUIX11.cs:
  12826. - Cleanup
  12827. - Fixed resizing/exposure handling
  12828. 2004-08-13 15:22 jordi
  12829. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  12830. with tickposition
  12831. 2004-08-13 14:55 jordi
  12832. * TrackBar.cs: change from wndproc to events
  12833. 2004-08-13 13:00 jordi
  12834. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12835. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  12836. 2004-08-13 12:53 pbartok
  12837. * XplatUIWin32.cs:
  12838. - Changed GetWindowPos to also provide client area size
  12839. - Fixed broken prototypes for several win32 functions
  12840. 2004-08-13 12:53 pbartok
  12841. * XplatUI.cs, XplatUIDriver.cs:
  12842. - Changed GetWindowPos to also provide client area size
  12843. 2004-08-13 12:52 pbartok
  12844. * XplatUIX11.cs:
  12845. - Added generation of WM_POSCHANGED
  12846. - Changed GetWindowPos to also provide client area size
  12847. 2004-08-13 12:52 pbartok
  12848. * Control.cs:
  12849. - Added Dispose() and destructor
  12850. - Fixed resizing and bounds calculation
  12851. - Fixed Layout
  12852. - Added memory savings for invisible windows
  12853. 2004-08-13 12:46 jordi
  12854. * TrackBar.cs: adds timer and grap window
  12855. 2004-08-13 10:25 jackson
  12856. * Timer.cs: SWF Timer
  12857. 2004-08-12 16:59 pbartok
  12858. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12859. - Implemented method to get current mouse position
  12860. 2004-08-12 14:29 jordi
  12861. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  12862. enhancement, fix mouse problems, highli thumb, etc
  12863. 2004-08-12 13:31 pbartok
  12864. * Control.cs:
  12865. - Fixed Anchoring bugs
  12866. 2004-08-12 13:01 jackson
  12867. * StatusBar.cs: Don't forget things
  12868. 2004-08-12 12:54 jackson
  12869. * ThemeWin32Classic.cs: Handle owner draw status bars
  12870. 2004-08-12 12:54 jackson
  12871. * StatusBar.cs: Implement missing properties, events, and methods.
  12872. Handle mouse clicking
  12873. 2004-08-12 10:19 jackson
  12874. * StatusBarPanelClickEventArgs.cs,
  12875. StatusBarPanelClickEventHandler.cs: Classes for handling status
  12876. bar panel click events
  12877. 2004-08-12 10:10 jackson
  12878. * Control.cs: Add missing properties
  12879. 2004-08-12 09:46 pbartok
  12880. * BindingsManagerBase.cs:
  12881. - Name changed to BindingManagerBase.cs
  12882. 2004-08-12 09:25 jordi
  12883. * ScrollableControl.cs: calls ctrlbase instead of exeception
  12884. 2004-08-11 16:28 pbartok
  12885. * InputLanguageChangingEventArgs.cs:
  12886. - Never check in before compiling. Fixes the last check-in
  12887. 2004-08-11 16:26 pbartok
  12888. * InputLanguageChangingEventArgs.cs:
  12889. - More signature fixes
  12890. 2004-08-11 16:20 pbartok
  12891. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  12892. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  12893. ImageListStreamer.cs, InputLanguage.cs,
  12894. InputLanguageChangedEventArgs.cs,
  12895. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  12896. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  12897. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  12898. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12899. - Signature fixes
  12900. 2004-08-11 16:16 pbartok
  12901. * Application.cs:
  12902. - Fixed Signature
  12903. - Added .Net 1.1 method
  12904. 2004-08-11 15:25 pbartok
  12905. * SWF.csproj:
  12906. - Fixed BindingManagerBase.cs filename
  12907. 2004-08-11 15:22 pbartok
  12908. * BindingManagerBase.cs:
  12909. - Was checked in with wrong filename
  12910. 2004-08-11 14:50 pbartok
  12911. * SWF.csproj:
  12912. - Updated
  12913. 2004-08-11 13:41 jordi
  12914. * XplatUIWin32.cs: Fixes ClientRect
  12915. 2004-08-11 13:19 pbartok
  12916. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12917. XplatUIX11.cs:
  12918. - We had SetWindowPos and MoveWindow to set window positions and
  12919. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  12920. keep SetWindowPos as matching counterpart
  12921. - Added some X11 sanity checking
  12922. 2004-08-11 12:59 pbartok
  12923. * Control.cs:
  12924. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  12925. (It seems that SetBounds is just a front for SetBoundsCore and
  12926. SetBoundsCore updates the underlying window system and
  12927. UpdateBounds is responsible for updating the variables associated
  12928. with the Control and sending the events)
  12929. - Major cleanup of Size handling; we now have two sizes, client_size
  12930. and bounds. Bounds defines the window with decorations, client_size
  12931. without them.
  12932. 2004-08-11 12:55 pbartok
  12933. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12934. - Added method to calculate difference between decorated window and
  12935. raw client area
  12936. 2004-08-11 12:54 pbartok
  12937. * Label.cs:
  12938. - Forcing redraw on resize
  12939. 2004-08-11 11:43 pbartok
  12940. * ImageList.cs:
  12941. - Removed disposing of the actual images when the list is disposed
  12942. 2004-08-11 09:13 pbartok
  12943. * Control.cs:
  12944. - Now properly reparents windows
  12945. 2004-08-11 08:37 pbartok
  12946. * Control.cs:
  12947. - Duh!
  12948. 2004-08-11 07:47 pbartok
  12949. * Control.cs:
  12950. - Rewrote the collection stuff. Might not be as fast now, not
  12951. keeping the number of children around and accessible directly, but
  12952. it's more straightforward
  12953. 2004-08-11 07:44 pbartok
  12954. * AccessibleObject.cs:
  12955. - Fixed to match ControlCollection rewrite
  12956. 2004-08-11 07:43 pbartok
  12957. * ImageList.cs:
  12958. - Added missing creation of the collection list
  12959. 2004-08-10 20:08 jackson
  12960. * StatusBar.cs: Get the paint message from WndProc
  12961. 2004-08-10 19:31 jackson
  12962. * ThemeWin32Classic.cs: Create Brushes as little as possible
  12963. 2004-08-10 19:20 jackson
  12964. * UICues.cs: Add Flags attribute
  12965. 2004-08-10 19:19 jackson
  12966. * StatusBarPanel.cs: Signature cleanup
  12967. 2004-08-10 19:10 jackson
  12968. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  12969. Initial implementation of status bar item drawing
  12970. 2004-08-10 17:27 jordi
  12971. * TrackBar.cs: add missing methods, properties, and restructure to
  12972. hide extra ones
  12973. 2004-08-10 16:24 jackson
  12974. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  12975. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  12976. attribute
  12977. 2004-08-10 13:21 jordi
  12978. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  12979. enhancements and standarize on win colors defaults
  12980. 2004-08-10 12:52 jackson
  12981. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  12982. ThemeWin32Classic.cs: Implement DrawItem functionality
  12983. 2004-08-10 12:47 jordi
  12984. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  12985. 2004-08-10 12:32 jordi
  12986. * Control.cs: throw ontextchange event
  12987. 2004-08-10 11:43 pbartok
  12988. * Control.cs:
  12989. - Added more to the still unfinished Dock/Anchor layout code
  12990. 2004-08-10 11:39 pbartok
  12991. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12992. - Added GetWindowPos method
  12993. 2004-08-10 11:36 pbartok
  12994. * XplatUIWin32.cs:
  12995. - Implemented several methods
  12996. 2004-08-10 09:47 jackson
  12997. * TrackBar.cs: Allow control to handle buffering
  12998. 2004-08-10 09:41 jackson
  12999. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  13000. 2004-08-10 09:24 jackson
  13001. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  13002. 2004-08-10 09:09 jackson
  13003. * StatusBar.cs: Let Control handle all the buffering.
  13004. 2004-08-10 09:08 jackson
  13005. * Control.cs: Control will now handle the buffering code, so each
  13006. control does not have to implement this.
  13007. 2004-08-10 08:34 jackson
  13008. * XplatUIDriver.cs: Use default colors from the theme
  13009. 2004-08-09 17:12 pbartok
  13010. * ImageList.cs:
  13011. - Fixed several bugs Ravindra pointed out
  13012. 2004-08-09 16:11 pbartok
  13013. * Control.cs:
  13014. - Added incomplete dock layout code
  13015. - Added support for mouse wheel
  13016. 2004-08-09 16:09 pbartok
  13017. * XplatUIX11.cs:
  13018. - Added handling for middle and right mousebutton
  13019. - Added handling for mouse wheel
  13020. - Added handling for key state and mouse state and position
  13021. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  13022. messages
  13023. 2004-08-09 15:40 jackson
  13024. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  13025. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  13026. checkin
  13027. 2004-08-09 15:37 jackson
  13028. * StatusBar.cs: Initial implementation of StatusBar
  13029. 2004-08-09 15:36 jackson
  13030. * ITheme.cs: Add support for drawing status bar and getting status
  13031. bar item sizes
  13032. 2004-08-09 15:35 pbartok
  13033. * MouseButtons.cs:
  13034. - Fixed values
  13035. 2004-08-09 15:34 jackson
  13036. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  13037. status bar item sizes
  13038. 2004-08-09 15:21 jackson
  13039. * ThemeWin32Classic.cs: Use known colors for default control
  13040. colours
  13041. 2004-08-09 15:12 jackson
  13042. * ThemeWin32Classic.cs: Make the default font static, it is static
  13043. in control so this doesn't change functionality and creating fonts
  13044. is sloooooow.
  13045. 2004-08-09 14:56 pbartok
  13046. * X11Structs.cs:
  13047. - Added GrabMode enum
  13048. 2004-08-09 14:55 pbartok
  13049. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13050. - Removed Run method, was only required for initial development
  13051. 2004-08-09 14:51 pbartok
  13052. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13053. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  13054. capture
  13055. 2004-08-09 13:48 pbartok
  13056. * XplatUIX11.cs:
  13057. - Fixed default sizing for child windows
  13058. 2004-08-09 12:56 pbartok
  13059. * XplatUIX11.cs:
  13060. - Added generation of WM_DESTROY message
  13061. - Added handling of window manager induced shutdown
  13062. 2004-08-09 11:31 jackson
  13063. * ThemeWin32Classic.cs: New names for control properties
  13064. 2004-08-09 11:25 jackson
  13065. * Control.cs: Use new color names
  13066. 2004-08-09 11:02 jackson
  13067. * XplatUI.cs: Get default window properties from the theme
  13068. 2004-08-09 11:01 jackson
  13069. * ITheme.cs: The theme engine now controls default window
  13070. properties
  13071. 2004-08-09 11:00 jackson
  13072. * ThemeWin32Classic.cs: Add default window color properties
  13073. 2004-08-09 10:17 jackson
  13074. * ThemeWin32Classic.cs: Use correct default back color
  13075. 2004-08-09 10:05 jackson
  13076. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  13077. the theme now.
  13078. 2004-08-09 09:56 jackson
  13079. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  13080. 2004-08-09 09:54 jackson
  13081. * Control.cs: Get default properties from the theme.
  13082. 2004-08-09 09:53 jackson
  13083. * ITheme.cs: Themes now handle default control properties
  13084. 2004-08-09 09:53 jackson
  13085. * ThemeWin32Classic.cs: Themes now handle default control
  13086. properties so coloring will be consistent
  13087. 2004-08-08 16:54 jordi
  13088. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  13089. 2004-08-08 15:08 jordi
  13090. * XplatUIX11.cs: fixes keyboard crash
  13091. 2004-08-08 13:47 jordi
  13092. * Label.cs: add cvs header info
  13093. 2004-08-08 12:09 jackson
  13094. * ThemeWin32Classic.cs: Add pen_buttonface
  13095. 2004-08-08 11:52 jordi
  13096. * Label.cs, LinkLabel.cs: [no log message]
  13097. 2004-08-08 11:34 jordi
  13098. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13099. 2004-08-07 17:32 jordi
  13100. * TrackBar.cs: throw exceptions of invalid enums values
  13101. 2004-08-07 17:31 jordi
  13102. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13103. draw method name
  13104. 2004-08-07 16:56 jackson
  13105. * HorizontalAlignment.cs: Initial checkin
  13106. 2004-08-07 13:16 jordi
  13107. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13108. methods
  13109. 2004-08-07 13:05 jordi
  13110. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13111. GetSysColor defines
  13112. 2004-08-06 18:01 pbartok
  13113. * ThemeWin32Classic.cs:
  13114. - Fixed some rounding issues with float/int
  13115. 2004-08-06 18:00 jackson
  13116. * DockStyle.cs, AnchorStyles.cs:
  13117. Add flags and serializable attributes.
  13118. 2004-08-06 17:46 pbartok
  13119. * XplatUIX11.cs:
  13120. - Implemented GetParent
  13121. 2004-08-06 17:18 pbartok
  13122. * TrackBar.cs:
  13123. - Fixed some rounding issues with float/int
  13124. 2004-08-06 17:17 pbartok
  13125. * X11Structs.cs, XplatUIX11.cs:
  13126. - Fixed Refresh and Invalidate
  13127. 2004-08-06 15:30 pbartok
  13128. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13129. - Fixed recursive loop when resizing
  13130. - Improved/fixed redrawing on expose messages
  13131. 2004-08-06 09:53 jordi
  13132. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13133. keyboard navigation
  13134. 2004-08-06 08:02 pbartok
  13135. * X11Structs.cs, XplatUIX11.cs:
  13136. - Fixed reparenting
  13137. - Fixed window border creation
  13138. 2004-08-05 15:38 pbartok
  13139. * XplatUIX11.cs:
  13140. - Attempted fix for reparenting problems
  13141. 2004-08-04 15:14 pbartok
  13142. * Control.cs:
  13143. - Fixed Invalidation bug (calculated wrong client area)
  13144. - Added ClientSize setter
  13145. 2004-08-04 15:13 pbartok
  13146. * Form.cs:
  13147. - Added AutoScale properties
  13148. 2004-08-04 15:13 pbartok
  13149. * SWF.csproj:
  13150. - Added latest files
  13151. 2004-08-04 14:11 pbartok
  13152. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13153. XplatUIX11.cs:
  13154. - Added Invalidate handling
  13155. 2004-08-03 17:09 jordi
  13156. * XplatUIDriver.cs: fixes spelling mistake
  13157. 2004-07-27 09:53 jordi
  13158. * TrackBar.cs: fixes trackbar events, def classname, methods
  13159. signature
  13160. 2004-07-27 09:29 jordi
  13161. * ScrollBar.cs: fixes scrollbar events
  13162. 2004-07-27 04:38 jordi
  13163. * Control.cs: changes to be able to run winforms samples
  13164. 2004-07-26 11:42 jordi
  13165. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13166. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13167. 2004-07-26 05:41 jordi
  13168. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13169. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13170. implementation
  13171. 2004-07-22 09:22 jordi
  13172. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13173. check link overlapping, implement events, and fixes
  13174. 2004-07-21 10:28 jordi
  13175. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13176. 2004-07-21 10:19 jordi
  13177. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13178. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13179. LinkLabelLinkClickedEventArgs.cs,
  13180. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13181. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13182. implementation
  13183. 2004-07-19 13:09 jordi
  13184. * Control.cs, Label.cs: label control re-written: added missing
  13185. functionlity, events, and properties
  13186. 2004-07-19 10:49 jordi
  13187. * Control.cs: fixes SetBounds logic
  13188. 2004-07-19 01:29 jordi
  13189. * Control.cs: Call RefreshWindow only if the window has created
  13190. 2004-07-15 14:05 pbartok
  13191. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13192. - Implemented ImageList and ImageList.ImageCollection classes
  13193. - Added ColorDepth enumeration
  13194. - Updated SWF VS.Net project
  13195. 2004-07-15 11:06 jordi
  13196. * XplatUIStructs.cs: added MsgButons enum
  13197. 2004-07-15 11:03 jordi
  13198. * Control.cs: added basic mouse handeling events
  13199. 2004-07-15 03:38 jordi
  13200. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13201. Vertical TrackBar control implementation
  13202. 2004-07-13 09:33 jordi
  13203. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13204. 2004-07-13 09:31 jordi
  13205. * Control.cs, Form.cs: commit: new properties and fixes form size
  13206. problems
  13207. 2004-07-09 14:13 miguel
  13208. * ProgressBar.cs: Spelling
  13209. 2004-07-09 11:25 pbartok
  13210. * ProgressBar.cs:
  13211. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13212. faster
  13213. 2004-07-09 11:17 miguel
  13214. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13215. * ProgressBar.cs: Fixed spelling for `block'
  13216. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13217. style guidelines.
  13218. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13219. 2004-07-08 23:21 pbartok
  13220. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13221. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13222. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13223. BindingMemberInfo.cs, BindingsCollection.cs,
  13224. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13225. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13226. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13227. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13228. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13229. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13230. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13231. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13232. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13233. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13234. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13235. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13236. InputLanguageChangedEventArgs.cs,
  13237. InputLanguageChangedEventHandler.cs,
  13238. InputLanguageChangingEventArgs.cs,
  13239. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13240. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13241. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13242. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13243. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13244. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13245. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13246. QueryAccessibilityHelpEventArgs.cs,
  13247. QueryAccessibilityHelpEventHandler.cs,
  13248. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13249. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13250. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13251. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13252. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13253. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13254. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13255. XplatUIX11.cs, lang.cs:
  13256. - Initial check-in