ChangeLog 642 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276
  1. 2006-11-02 Jackson Harper <[email protected]>
  2. * TextControl.cs: Increment count by one, since in the update view
  3. count - 1 is used.
  4. 2006-11-02 Jackson Harper <[email protected]>
  5. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  6. the mouse is in the client rectangle (duh).
  7. 2006-11-02 Rolf Bjarne KVinge <[email protected]>
  8. * TrackBar.cs: Fixed trackbar jumping around when clicking
  9. on it - the trackbar was not detecting correctly at which
  10. side of the thumb the click was done. (fixes #79718)
  11. 2006-11-02 Everaldo Canuto <[email protected]>
  12. * ListBox.cs: scroll visible area when change SelectedIndex to
  13. a non visible area. Fixes #79481.
  14. 2006-11-01 Jackson Harper <[email protected]>
  15. * TextControl.cs: When replacing the selection move the selection
  16. start/end/anchor to the end of the new text.
  17. 2006-11-01 Jackson Harper <[email protected]>
  18. * XplatUIWin32.cs: When setting the parent change the controls
  19. visibility to it's visibility flag, not to it's old parents
  20. visibility (.Visible walks the parent chain).
  21. 2006-11-01 Chris Toshok <[email protected]>
  22. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  23. XSetTransientForHint fix breaks paint .net's tool windows. more
  24. work needed for that one.
  25. 2006-11-01 Chris Toshok <[email protected]>
  26. * ScrollBar.cs: throw ArgumentException instead of Exception in
  27. LargeChange/SmallChange setters. fixes unit tests.
  28. 2006-10-31 Andreia Gaita <[email protected]>
  29. * ContainerControl.cs: reverted rev.67183 (which was itself
  30. a reversion of rev.66853... eh).
  31. * Control.cs: Fixes Reflector hang by changing Focus() call
  32. to what it was before rev.66643 (calling Select() here sets
  33. ActiveControl, which in some situations calls back Focus and
  34. eventually does a stack overflow). Temp fix.
  35. Changes to GetNextControl() to not look for children to select when
  36. parent cannot be selectable (so it looks for siblings instead)
  37. 2006-10-31 Mike Kestner <[email protected]>
  38. * CheckedListBox.cs : off by one error in returned index from
  39. ObjectCollection.Add. Fixes #79758.
  40. 2006-10-31 Chris Toshok <[email protected]>
  41. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  42. calls for the textbox/spinner, to keep from recursing to the point
  43. where we crash. Fixes #79760.
  44. 2006-10-31 Chris Toshok <[email protected]>
  45. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  46. null/"" value, just return. matches ms's behavior and fixes some
  47. failing tests.
  48. 2006-10-31 Chris Toshok <[email protected]>
  49. * Control.cs (set_Capture): make a logic a little easier to
  50. follow.
  51. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  52. if it's being destroyed. A necessary fix surely, but a bandaid
  53. also, to fix the stuck capture problem in bug #78413.
  54. 2006-10-31 Chris Toshok <[email protected]>
  55. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  56. convention of clearing hwnd.ClientRect when we set the
  57. width/height (so it'll be recalculated by Hwnd).
  58. 2006-10-31 Andreia Gaita <[email protected]>
  59. * ContainerControl.cs: reversed Contains check from
  60. ActiveControl due to hanging problems. This fix
  61. partly regresses #79667 (button does not have
  62. initial focus), so this might be a symptom for
  63. a larger parenting problem (set_ActiveControl
  64. is being called but the child control does
  65. not have the parent set yet?)
  66. 2006-10-31 Mike Kestner <[email protected]>
  67. * MenuAPI.cs : fix keynav when menu is click activated.
  68. 2006-10-31 Jonathan Pobst <[email protected]>
  69. * ToolStrip*: Version 0.2.
  70. * MenuStrip.cs: Version 0.1.
  71. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  72. 2006-10-30 Chris Toshok <[email protected]>
  73. [ fixes the oversized notify icon issue in bug #79745 ]
  74. * NotifyIcon.cs: scale the icon down to the size we're given by
  75. the XplatUI layer (this would be faster if we did it once instead
  76. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  77. since it's never invoked.
  78. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  79. pixels high by default, so let's hardcode our systray icon to that
  80. size. The SYSTEM_TRAY protocol should really have a way for
  81. client apps to query for the correct icon size.. but oh well. A
  82. couple of patches to deal with the screwy client_window ==
  83. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  84. instance, and also make sure we don't XSelectInput twice).
  85. 2006-10-30 Chris Toshok <[email protected]>
  86. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  87. recreating forms. Control recreation is the bane of my existence.
  88. Fix it in a way that keeps everyone happy.
  89. 2006-10-30 Chris Toshok <[email protected]>
  90. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  91. just non-CHILD ones. otherwise sometimes scrollbars end up with
  92. client_windows not being resized to the proper size (ReportBuilder
  93. shows this extremely well).
  94. 2006-10-30 Chris Toshok <[email protected]>
  95. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  96. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  97. showing up in the gnome taskbar. Fixes bug #79790.
  98. 2006-10-30 Chris Toshok <[email protected]>
  99. * ApplicationContext.cs: guard against a NRE.
  100. * Application.cs: null out the old MainForm for the context, so we
  101. don't try to use it again once it's disposed. Fixes bug #79783.
  102. 2006-10-30 Chris Toshok <[email protected]>
  103. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  104. BindingContext, set the data source directly, otherwise do the
  105. lazy approach - the actual ListManager will be created when we get
  106. a BindingContext. Fixes bug #79700.
  107. 2006-10-30 Jonathan Pobst <[email protected]>
  108. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  109. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  110. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  111. 2006-10-30 Jonathan Pobst <[email protected]>
  112. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  113. of SetVisible that allows a window to be shown, but not activated.
  114. This is needed on Windows for MenuStrip, and can probably be used
  115. with MainMenu and ComboBox to fix the focus stealing issues on
  116. Windows.
  117. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  118. 2006-10-30 Alexander Olk <[email protected]>
  119. * PictureBox.cs: Fix the output of the ToString method.
  120. 2006-10-29 Chris Toshok <[email protected]>
  121. * Control.cs (get_TopLevelControl): fix bug #79781.
  122. 2006-10-29 Chris Toshok <[email protected]>
  123. * ListControl.cs (set_DataSource): throw Exception here, not
  124. ArgumentException, to match MS behavior.
  125. 2006-10-29 Chris Toshok <[email protected]>
  126. * Form.cs: remove the try-catch's around calls to GetWindowState.
  127. We can just check the return value.
  128. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  129. Instead return -1.
  130. * XplatUI.cs: Add note about additional return value for
  131. GetWindowState.
  132. 2006-10-29 Chris Toshok <[email protected]>
  133. * Control.cs (CreateHandle): when we create our handle, we also
  134. create the handles of our child controls. Fixes one of the
  135. Control unit tests (CH11).
  136. 2006-10-28 Alexander Olk <[email protected]>
  137. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  138. 2006-10-28 Alexander Olk <[email protected]>
  139. * ThemeClearlooks.cs: A little speedup.
  140. 2006-10-27 Chris Toshok <[email protected]>
  141. * Control.cs: implement Control.FromChildHandle in a way that
  142. matches the docs (and fixes the failed test.)
  143. 2006-10-27 Chris Toshok <[email protected]>
  144. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  145. comments).
  146. * DataGrid.cs: implement ResetForeColor such that the tests
  147. succeed.
  148. 2006-10-27 Chris Toshok <[email protected]>
  149. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  150. being set to "". Fixes bug #79759.
  151. 2006-10-27 Jackson Harper <[email protected]>
  152. * TextControl.cs: We need to clear the entire selection area when
  153. setting the start, otherwise multiline selections are still
  154. visible.
  155. 2006-10-26 Chris Toshok <[email protected]>
  156. * PropertyGridView.cs:
  157. - ifdef all the code specific to the double
  158. buffer case, and provide some alternatives in the non-doublebuffer
  159. code, which makes heavy use of XplatUI.ScrollWindow to move things
  160. around without having to invalidate (and cause flicker). There
  161. are still some drawing problems in the non-doublebuffered case, so
  162. DOUBLEBUFFER is defined by default.
  163. - Fix the way dropdowns are handled. now we explicitly watch for
  164. the events which might cause the dropdown to close, and break out
  165. of the nested event loop there. This gets rid of all Capture
  166. code, at the expense of the Msg special casing. Seems to work,
  167. though, and fixes bug #79743.
  168. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  169. * Control.cs: SetIsRecreating now recreates implicitly added
  170. child controls as well. Finally fixes #79629. The flag passed to
  171. SetIsRecreating has also been removed since it wasn't used.
  172. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  173. * PageSetupDialog.cs: Clean some code, fix some bits,
  174. add some checks, and add a printer sub-dialog.
  175. 2006-10-26 Chris Toshok <[email protected]>
  176. * PropertyGrid.cs: make set_SelectedObject call
  177. set_SelectedObjects, and move the duplicate logic to the
  178. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  179. * PropertyGridView.cs: hide the textbox when we get a
  180. SelectedObjectsChanged event.
  181. Fixes bug #79748.
  182. 2006-10-26 Chris Toshok <[email protected]>
  183. * PropertyGridView.cs: deal with the type converter not supporting
  184. GetStandardValues() or GetStandardValues() returning null, which
  185. is does in the default case. Fixes #79742.
  186. 2006-10-25 Andreia Gaita <[email protected]>
  187. * CheckedListBox.cs: nunit no longer crashes when selecting
  188. Project/Edit menu option
  189. 2006-10-25 Andreia Gaita <[email protected]>
  190. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  191. is no menu selected. fixes #79739
  192. 2006-10-25 Chris Toshok <[email protected]>
  193. * PropertyGridView.cs: factor out the splitter invalidation code
  194. into the SplitterPercent setter, and for kicks implement the
  195. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  196. amount in either direction.
  197. 2006-10-25 Chris Toshok <[email protected]>
  198. * PropertyGridView.cs: do some cleanup of the brush used to draw
  199. text - read only fields should be grayed out. not sure how to do
  200. this with the textbox, though. but the textbox's should also be
  201. readonly now at least. Also, hide/show the textbox when resizing
  202. the control.
  203. * CursorConverter.cs: use System.Reflection when getting the
  204. properties of Cursors, as TypeDescriptor.GetProperties isn't
  205. returning static properties.
  206. 2006-10-25 Chris Toshok <[email protected]>
  207. * PropertyGridView.cs: factor out the up/down handling, and reuse
  208. it for page up/down. also add End/Home support.
  209. 2006-10-25 Chris Toshok <[email protected]>
  210. * PropertyGridView.cs:
  211. - ensure the selected grid item is visible in the scrolled area,
  212. fixes bug #79572.
  213. - fix Keys.Down handling when you're on the last item in the
  214. propertygrid.
  215. 2006-10-25 Mike Kestner <[email protected]>
  216. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  217. clicks too. Fixes #79725.
  218. 2006-10-24 Chris Toshok <[email protected]>
  219. * PropertyGrid.cs: use property.Converter instead of
  220. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  221. TypeConverters declared on the property as well as on the
  222. PropertyType. Fixes bug #79678.
  223. 2006-10-24 Alexander Olk <[email protected]>
  224. * MimeIcon.cs, Mime.cs:
  225. Fallback to the default platform handler if no shared mime info
  226. stuff exists (fixes #79693).
  227. 2006-10-20 Andreia Gaita <[email protected]>
  228. * ContainerControl.cs: Incorrect contains check in ActiveControl
  229. from previous fix (duh).
  230. 2006-10-20 Chris Toshok <[email protected]>
  231. * PropertyGridView.cs: the dropdown should be MIN(number of items
  232. in list, 15). Fixes #79551.
  233. 2006-10-20 Andreia Gaita <[email protected]>
  234. Fixes #79384, #79394, #79652, #79667
  235. * Application.cs:
  236. - Modal windows are now destroyed in the proper order for windows
  237. * ContainerControl.cs:
  238. - ActiveControl setter has more conditions on when to return:
  239. - if we're reselecting the active control, but it actually
  240. didn't have focus (window hidden or some such), it runs
  241. - if the active control being selected doesn't actually
  242. exist in the container, it returns
  243. * Form.cs
  244. - The ShowDialog now gets the current form as the owner when
  245. invoking without parameters, and correctly activates the owner
  246. when returning
  247. * MessageBox.cs
  248. - MessageBox now catches the Escape key to exit
  249. 2006-10-20 Chris Toshok <[email protected]>
  250. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  251. most of bug #79676):
  252. - you can navigate around the property grid with the arrow keys.
  253. - the dropdown is sized properly when the pg has a vertical
  254. scrollbar.
  255. - fix the indentation for subentries, and properly select the
  256. entire label rect.
  257. - fix the gray bar's drawing (only draw it to the last element,
  258. not for the height of the control. Also make sure we draw that
  259. last horizontal grid line.
  260. - use the same mechanism the datagrid uses wrt the editing textbox
  261. when scrolling/resizing/etc. Namely, we hide it first, do the
  262. operation, then show it again (if it's still visible).
  263. - aggressively remove a lot of unnecessary refreshes (and also
  264. calls to Invalidate(). call more limited variants, and only redraw
  265. what we need.)
  266. * PropertyGrid.cs:
  267. - when we're populating the merged collection, fill in the UI
  268. parent with either the passed in item, or the category item we
  269. create.
  270. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  271. * GridItem.cs: drop some fully qualified names.
  272. * GridEntry.cs: add a "UIParent", which is basically the parent
  273. treenode.
  274. * GridItemCollection.cs: add an IndexOf method.
  275. 2006-10-20 Mike Kestner <[email protected]>
  276. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  277. a working win32 NC invalidation mechanism, we can't invalidate
  278. menus. [Fixes #79705]
  279. 2006-10-20 Mike Kestner <[email protected]>
  280. * ListBox.cs : don't update the VScrollbar if the list is empty,
  281. just hide it. [Fixes #79692]
  282. 2006-10-20 Jackson Harper <[email protected]>
  283. * RichTextBox.cs: Handle some special chars better, and don't skip
  284. the entire group when we encounter a special char that we don't
  285. handle correctly.
  286. 2006-10-18 Chris Toshok <[email protected]>
  287. * PropertyGridView.cs: address a number of issues from bug #79676,
  288. mostly of the cosmetic variety.
  289. - The highlight rectangle for indented items not extends all the
  290. way to the left.
  291. - Indented items aren't indented so much.
  292. - the dropdown is properly sized width-wise if the pg has a
  293. vertical scrollbar.
  294. 2006-10-18 Chris Toshok <[email protected]>
  295. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  296. systray stuff is rather convoluted to begin with.
  297. systray icons are a single window for some reason (that I haven't
  298. figured out yet), and for them, client_window == whole_window.
  299. Given the way the tests are structured elsewhere to determine
  300. which paints are pending (client vs. nc), that situation will
  301. always yield PAINT, not NCPAINT. So, if we have a pending
  302. nc_expose and no pending expose, remove the hwnd from the paint
  303. queue, and also set nc_expose_pending to false, to keep us from
  304. blocking further expose's adding the hwnd to the paint queue.
  305. phew. like i said, a rather convoluted change. Fixes the
  306. notifyicon repaint issues in bug #79645.
  307. 2006-10-18 Chris Toshok <[email protected]>
  308. * Form.cs: when getting the backcolor of the form, don't get
  309. base.BackColor, as this allows parents to influence the background
  310. color. This breaks mdi forms. Instead, if the background_color
  311. is empty, return the default.
  312. 2006-10-18 Chris Toshok <[email protected]>
  313. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  314. to being private instead of internal static.
  315. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  316. crap, it wasn't working for more deeply nested controls anyway,
  317. and we already have the is_recreating flag - use that instead.
  318. Before calling DestroyHandle in RecreateHandle, recurse through
  319. the control tree setting it to true. this returns the recreate
  320. code to much of its original simplicity, while now guaranteeing we
  321. actually recreate everything we're supposed to. This change gets
  322. fyireporting actually showing mdi children.
  323. 2006-10-17 Chris Toshok <[email protected]>
  324. * Form.cs: remove some debug spew, and collapse some duplicate
  325. code at the end of SetClientSizeCore.
  326. * XplatUIX11.cs:
  327. - add some more debug spew here too wrt Destroy handling.
  328. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  329. in Control's handling of WM_DESTROY.
  330. - Remove the handling of zombie window DestroyNotifies from the
  331. event loop - we don't need it. Now the only DestroyNotifies we
  332. actually handle are ones generated by X.
  333. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  334. match gtk's (functioning) handling of this. This keep metacity
  335. from leaving droppings in the form of wm borders with no window
  336. contents all over the place.
  337. * Control.cs:
  338. - add a bunch of debug spew wrt control recreation.
  339. - fix a bug where we weren't tracking Visible properly on
  340. recreated hwnds.
  341. - fixed the WM_PAINT double buffer handling to support re-entrant
  342. calls (yes, i know it's gross, but it's happening to us).
  343. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  344. * ThemeWin32Classic.cs: changed drawing of selected days
  345. to make them look better.
  346. 2006-10-16 Chris Toshok <[email protected]>
  347. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  348. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  349. * XplatUIX11.cs: move away from using hwnd.client_dc and
  350. hwnd.non_client_dc and on to a stack of dc's (and in window's
  351. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  352. without puking or not disposing of Graphics objects.
  353. * XplatUIOSX.cs: same.
  354. * XplatUIWin32.cs: same.
  355. 2006-10-03 Alexander Olk <[email protected]>
  356. * FileDialog.cs: Don't call on_directory_changed inside
  357. OnSelectedIndexChanged (it changes the SelectedIndex too).
  358. Instead move it to OnSelectionChangeCommitted.
  359. 2006-10-13 Chris Toshok <[email protected]>
  360. * XplatUIX11.cs: more Destroy work. the current code does the
  361. following things, in order:
  362. 1. Enumerates all handles of all controls at or below the one
  363. being destroyed, in pre-order. As it is doing this, it marks the
  364. handles as zombie and clears all references to them.
  365. 2. calls XDestroyWindow on the window passed in.
  366. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  367. list.
  368. 2006-10-13 Chris Toshok <[email protected]>
  369. * XplatUIX11.cs: set hwnd.zombie to true before calling
  370. SendMessage (WM_DESTROY). this keeps us from marking the new
  371. window a zombie, and also keeps us from calling sendmessage at
  372. all.
  373. 2006-10-13 Jackson Harper <[email protected]>
  374. * TextControl.cs: Do not show the caret and selection at the same
  375. time. Reduces ugliness by 35%.
  376. 2006-10-13 Chris Toshok <[email protected]>
  377. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  378. zombie after we do the recursive call, so we actually do call
  379. SendMessage on the children controls.
  380. (GetMessage): if we find a pending paint event for a zombie hwnd,
  381. remove the hwnd from the paint queue, or else it will always be
  382. there (and we'll effectively loop infinitely)
  383. 2006-10-13 Mike Kestner <[email protected]>
  384. * MenuItem.cs : add Selected format under keynav too.
  385. Fixes #79528.
  386. 2006-10-13 Gert Driesen <[email protected]>
  387. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  388. implementation and that of MS.
  389. 2006-10-13 Chris Toshok <[email protected]>
  390. * Control.cs (OnInvalidated) only futz with the invalid_region if
  391. the control is double buffered. this fixes the apparent hang in
  392. the ListView unit tests. Someone needs to make the
  393. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  394. 2006-10-13 Chris Toshok <[email protected]>
  395. * PropertyGridView.cs:
  396. - do a little refactoring so that only one place calls
  397. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  398. else call that. Also make it Refresh, since there are redraw bugs
  399. otherwise (we should take a look at that...)
  400. - do a little more refactoring work to share the body of code
  401. involved with the drop down. it was duplicated in the code
  402. dealing with the listbox handling and in the code dealing with the
  403. UITypeEditors.
  404. - add a Capture to the dropdown form's control once it's
  405. displayed, and add a MouseDown handler that checks to make sure
  406. the position is inside the control. If it's not, close the
  407. dropdown. This fixes #78190.
  408. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  409. if the value is different than the initial value.
  410. 2006-10-13 Andreia Gaita <[email protected]>
  411. * Control.cs: see #78650
  412. - Fixed GetNextControl for several cases:
  413. - Changed FindFlatForward to return
  414. correct sibling control when more than one
  415. control has same TabIndex as the currently
  416. focused one.
  417. - Changed FindFlatBackward to loop children
  418. from last to first and apply same logic as in
  419. FindFlatForward
  420. - Changed FindControlForward to search for
  421. children when control is not a container
  422. but has children, or search for siblings if
  423. control is a container...
  424. - Changed FindControlBackward to continue
  425. searching for child controls when hitting
  426. Panel-like parents
  427. - Fixed Focus method to update ActiveControl
  428. (FocusTest.FocusSetsActive failure)
  429. * TabControl.cs:
  430. - Focus rectangle now refreshes when gaining
  431. or losing focus
  432. - Removed grab for Tab key on IsInputKey that
  433. was keeping tab navigation from working (#78650)
  434. 2006-10-13 Chris Toshok <[email protected]>
  435. * PropertyGridView.cs:
  436. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  437. SelectedObjects.
  438. - Deal with GridItem.Value == null a few places.
  439. * PropertyGrid.cs:
  440. - replace the PopulateGridItemCollection with a pair of methods
  441. which compute the intersection of all the properties in the
  442. SelectedObjects array. Fixes #79615.
  443. - Throw ArgumentException from set_SelectedObjects if there's a
  444. null in the array.
  445. - Add GetTarget method which can be used to traverse up the
  446. GridItem.Parent chain. It depends on the assumption that
  447. selected_objects for different GridEntries are always in the same
  448. order (a safe assumption). Use this method and loop over all the
  449. selected objects in the entry when calling RemoveValueChanged and
  450. AddValueChanged.
  451. * GridEntry.cs: Make this handle multiple selected objects.
  452. .Value returns null if not all the selected objects share the same
  453. value.
  454. 2006-10-12 Jonathan Pobst <[email protected]>
  455. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  456. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  457. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  458. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  459. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  460. add additional functionality.
  461. 2006-10-12 Mike Kestner <[email protected]>
  462. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  463. * HelpProvider.cs : new ToolTipWindow ctor sig.
  464. * ToolTip.cs : remove ToolTip param from Window sig since it is
  465. not used.
  466. * ToolBar.cs : add tooltip support. Fixes #79565.
  467. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  468. * ComboBox.cs: move the events in set_SelectedIndex to
  469. after the call to HighlightIndex in order to avoid
  470. possible recursion and subsequent problems with the call
  471. to HighlightIndex and include a range check in
  472. set_HighlightIndex. Fixes #79588
  473. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  474. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  475. to ui thread's settings instead of sunday.
  476. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  477. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  478. * DateTimePicker.cs
  479. * MonthCalendar.cs
  480. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  481. and implement missing functionality (selecting different parts
  482. of the date and edit them individually with the keyboard).
  483. 2006-10-11 Chris Toshok <[email protected]>
  484. * Control.cs (OnInvalidated): fix NRE relating to last change.
  485. 2006-10-11 Chris Toshok <[email protected]>
  486. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  487. atoms in _NET_WM_STATE here if the window is maximized. We need
  488. to do this because we're *replacing* the existing _NET_WM_STATE
  489. property, so those atoms will be lost otherwise, and any further
  490. call to GetWindowState will return Normal for a window which is
  491. actually maximized. Fixes #79338.
  492. 2006-10-11 Jackson Harper <[email protected]>
  493. * TextControl.cs: Special case for setting selection end to
  494. selection start, we basically kill the anchor.
  495. - some todo comments.
  496. 2006-10-11 Chris Toshok <[email protected]>
  497. * Control.cs: switch to using an "invalid_region" to track which
  498. parts of the image buffer need updating. This is more code than
  499. the simple fix from r66532. That version just attempted to always
  500. fill the entire buffer on redraw, which turns out to be
  501. inefficient when invalidating small rectangles. This version
  502. simply adds the invalid rectangle to the invalid region. When we
  503. get any WM_PAINT message we see if it can be filled using the
  504. image buffer, and if it can't (if the paint event's clip rectangle
  505. is visible in the invalid region) we first fill the image buffer.
  506. So, the image buffer is still a cache, we just fill it lazily.
  507. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  508. need it any longer.
  509. 2006-10-11 Chris Toshok <[email protected]>
  510. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  511. well as size after calling XMoveResizeWindow. This keeps us from
  512. ignoring future SetWindowPos calls. Fixes the disappearing
  513. DateTimePicker in the ToolBarDockExample from bug #72499.
  514. 2006-10-11 Chris Toshok <[email protected]>
  515. * TextBoxBase.cs: reorder things a bit when it comes to
  516. resizing-causing-recalculation. we were recalculating the
  517. document when our position was changed, which shouldn't happen.
  518. We only care about size changes. Clear up some more redundant
  519. recalculation calls while I'm at it. This makes the toolbar dock
  520. example snappy when you're just dragging toolbars around (since it
  521. causes a relayout whenever you move one.)
  522. 2006-10-11 Chris Toshok <[email protected]>
  523. * ToolBarButton.cs (get_Rectangle): this only returns
  524. Rectangle.Empty if Visible == false, or Parent == null.
  525. Parent.Visible doesn't matter.
  526. 2006-10-10 Chris Toshok <[email protected]>
  527. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  528. by .net 1.1, so switch to an internal method instead.
  529. 2006-10-10 Chris Toshok <[email protected]>
  530. * Control.cs (WM_PAINT): when a control is double buffered we draw
  531. initially to the ImageBuffer and then copy from there. But when a
  532. parent control which has child controls is double buffered, the
  533. initial drawing doesn't encompass the entire ClientRectangle of
  534. the parent control, so we end up with uninitialized bits (this is
  535. easily seen by dragging the top toolbar in
  536. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  537. manually set the ClipRectangle of the paint_event (only the one we
  538. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  539. of the nastiness in bug #72499.
  540. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  541. which we use in Control.cs's WM_PAINT handling.
  542. 2006-10-10 Jackson Harper <[email protected]>
  543. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  544. 2006-10-10 Chris Toshok <[email protected]>
  545. * Cursor.cs: Apply a slightly different patch to the one suggested
  546. in #79609.
  547. 2006-10-10 Jackson Harper <[email protected]>
  548. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  549. not the parent form.
  550. * TextControl.cs: use difference in old line count vs new count to
  551. calculate how many lines were added, this takes into account soft
  552. line breaks properly.
  553. 2006-10-10 Chris Toshok <[email protected]>
  554. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  555. rectangle located at 0,0 and the size of the text. Use
  556. ClientRectangle instead. This fixes rendering of non-left aligned
  557. link labels.
  558. 2006-10-10 Jackson Harper <[email protected]>
  559. * TextBoxBase.cs: When we set the selection start position the
  560. caret.
  561. * TextControl.cs: Need to update the caret when we decrement it to
  562. zero.
  563. - Make sure that the selection_visible flag gets reset to false if
  564. the selection isn't visible. Before this you could get it set to
  565. visible by changing the selection start, then changing the end to
  566. equal the start.
  567. 2006-10-09 Jackson Harper <[email protected]>
  568. * TreeView.cs: Don't update scrollbars when we aren't visible.
  569. * TreeNodeCollection.cs: Only need to update scrollbars if being
  570. added to an expanded visible node or the root node.
  571. 2006-10-09 Chris Toshok <[email protected]>
  572. * XplatUIX11.cs (SendMessage): fix NRE.
  573. 2006-10-09 Jackson Harper <[email protected]>
  574. * TextBoxBase.cs: Implement horizontal autoscrolling.
  575. * TextControl.cs: Add a movement types that allows moving forward
  576. and backwards without wrapping.
  577. 2006-10-09 Mike Kestner <[email protected]>
  578. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  579. with focus "expansion" of labels. Fixes #79532 and then some.
  580. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  581. when wrapping.
  582. 2006-10-09 Jackson Harper <[email protected]>
  583. * TextBoxBase.cs: Set the default max values to MaxValue since
  584. we use the scrollbar for autoscrolling and the default value is
  585. 100. If we don't do this the caret won't keep up with typing
  586. after about 18 characters.
  587. * TextControl.cs: Make sure the selection is offset by the
  588. viewport x. This fixes selection when using auto scrolling.
  589. 2006-10-07 Andreia Gaita <[email protected]>
  590. * Form.cs: The active control should be selected after the
  591. OnLoad so that any child control initialization that affects
  592. the selection is done. Fixes #79406
  593. 2006-10-06 Chris Toshok <[email protected]>
  594. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  595. to have no evil effects.
  596. - Stop selecting StructureNotifyMask on non-toplevel windows.
  597. The only way children should be resized is by using the SWF api,
  598. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  599. Toplevel windows can be interacted with via the window manager,
  600. and so we keep the input mask there.
  601. The other event StructureNotifyMask gives us (that we care
  602. about) is DestroyNotify. The code is already structured such
  603. that it assumes we won't be getting a DestroyNotify event for
  604. the window we pass to XDestroyWindow (which is what
  605. StructureNotifyMask is supposed to guarantee.) So, that code
  606. shouldn't be affected by this either.
  607. - Stop selecting VisibilityChangeMask altogether.
  608. We weren't doing anything with the resulting events anyway.
  609. This vastly reduces the number of X requests and events we see
  610. when resizing/laying out a large ui.
  611. 2006-10-06 Chris Toshok <[email protected]>
  612. * ScrollableControl.cs (DisplayRectangle): we need to take into
  613. account the DockPadding regardless of whether or not auto_scroll
  614. == true. rework this slightly to this effect, and fix bug #79606,
  615. and part of #72499 (you can now see the drag handles and drag
  616. toolbars around).
  617. 2006-10-06 Gert Driesen <[email protected]>
  618. * ListViewItem.cs: Collections of selected and checked items are now
  619. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  620. we mark the collection "dirty".
  621. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  622. to only clear SelectedItems when a new item is selected and MultiSelect
  623. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  624. event of ListViewItemCollection, and mark its list dirty whenever
  625. that event is fire. This allows us to return selected/checked items
  626. in the same order as they are in the Items collection. This matches
  627. the MS behavior.
  628. 2006-10-06 Chris Toshok <[email protected]>
  629. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  630. right mouse clicks. Fixes bug #79593.
  631. 2006-10-06 Chris Toshok <[email protected]>
  632. * Splitter.cs: doh, fix splitters that don't want to cancel the
  633. movement when you drag them. Also, impose the limits on the
  634. values we send to the SplitterMovingEvent. Fixes #79598.
  635. 2006-10-06 Jackson Harper <[email protected]>
  636. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  637. since we use this for auto scrolling also.
  638. 2006-10-05 Chris Toshok <[email protected]>
  639. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  640. beginning to think that most datagrid column types don't need this
  641. method. Fixes bug #79392.
  642. 2006-10-05 Chris Toshok <[email protected]>
  643. * DataGrid.cs: move back to a more lazy scheme for creating the
  644. CurrencyManager, so we aren't updating it every time you set
  645. either DataSource or DataMember. Also, don't call
  646. RecreateDataGridRows if the currency manager hasn't changed.
  647. 2006-10-05 Chris Toshok <[email protected]>
  648. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  649. emitted, SelectedIndex should already be updated. Fixes bug
  650. #78929.
  651. 2006-10-05 Jonathan Pobst <[email protected]>
  652. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  653. ToolStripTextBox.cs: Initial commit.
  654. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  655. 2006-10-05 Jackson Harper <[email protected]>
  656. * TabControl.cs: We need to invalidate the tab control area when
  657. new ones are added (duh).
  658. 2006-10-03 Chris Toshok <[email protected]>
  659. * Form.cs (ProcessDialogKey): if the focused control is in this
  660. form and is a button, call its PerformClick method here. Fixes
  661. #79534.
  662. 2006-10-04 Jackson Harper <[email protected]>
  663. * TabPage.cs: Ignore setting of Visible, and add an internal
  664. method for setting the controls visibility. TabPage's Visible
  665. property is a little strange on MS, this seems to make us
  666. compatible, and fixes cases where people set all the tab pages to
  667. visible.
  668. * TabControl.cs: Use the new internal setting on tab pages
  669. visibility.
  670. 2006-10-03 Mike Kestner <[email protected]>
  671. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  672. 2006-10-03 Mike Kestner <[email protected]>
  673. * ListView.cs : use is_visible instead of Visible to check if
  674. scrollbars should be placed/sized. Also some max_wrap_width
  675. love for LargeIcon view. [Fixes #79533]
  676. 2006-10-03 Atsushi Enomoto <[email protected]>
  677. * TextControl.cs :
  678. Make set_TextAlign() do actually update the align. Fixed #78403.
  679. 2006-10-03 Chris Toshok <[email protected]>
  680. * DataGrid.cs: fix a crash when switching datasources if the
  681. vertical scrollbar is at someplace other than Value = 0. Also,
  682. reduce the number of recalculation passes we do in SetDataSource
  683. from 2 to 1.
  684. 2006-10-03 Jackson Harper <[email protected]>
  685. * TextBoxBase.cs: Move the if value the same bail check up, we
  686. don't want to empty the document if it is already empty, this
  687. seems to severly mess up the caret. TODO: I should probably fix
  688. the empty statement to update teh caret somehow.
  689. 2006-10-03 Chris Toshok <[email protected]>
  690. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  691. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  692. reflection, an internal row type, properties on said type, etc.)
  693. will work with our datagrid. Fixes #79531.
  694. 2006-10-03 Alexander Olk <[email protected]>
  695. * FileDialog.cs: Don't crash if a path is not accessible
  696. (System.UnauthorizedAccessException). Fixes #79569.
  697. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  698. a ':' too. Return unknown icon for those paths/files.
  699. 2006-10-03 Sebastien Pouliot <[email protected]>
  700. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  701. GetContainerControl returns null.
  702. 2006-10-02 Chris Toshok <[email protected]>
  703. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  704. call to XGetWindowAttributes instead of "handle". fixes an X
  705. error using notifyicon after the NotifyIconWindow to Form base
  706. class switch.
  707. 2006-10-02 Chris Toshok <[email protected]>
  708. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  709. server grab and looping we need to do to get down to the most
  710. deeply nested child window.
  711. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  712. QueryPointer again after the WarpPointer so we can generate a
  713. proper (fake) MotionNotify event to be enqueued in the destination
  714. window's queue.
  715. (GetCursorPos): call QueryPointer.
  716. Fixes #79556.
  717. 2006-10-02 Jackson Harper <[email protected]>
  718. * NotifyIcon.cs: Derive the notify icon from a form, so things
  719. like FindForm work on it.
  720. - Swallow the WM_CONTEXTMENU message, since that is generated on
  721. mouse down, and context menu is a mouse up kinda guy. I believe
  722. the correct fix here is probably to make the notify icon entirely
  723. NC area, but this seems to work fine for anyone not manipulating
  724. WndProc.
  725. 2006-10-02 Jonathan Pobst <[email protected]>
  726. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  727. ToolStripItemCollection.cs, ToolStripLabel.cs,
  728. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  729. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  730. Initial implementation.
  731. * TextRenderer.cs: Provide padding to MeasureText.
  732. 2006-10-02 Sebastien Pouliot <[email protected]>
  733. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  734. of ButtonBaseAccessibleObject. Fix bug #79552.
  735. 2006-10-02 Jackson Harper <[email protected]>
  736. * MdiWindowManager.cs: When maximizing use the containers client
  737. rect, not it's bounds, so nc area is accounted correctly.
  738. - Use the parent form's size for the menu position, since the
  739. client isn't always the full form size.
  740. 2006-10-01 Chris Toshok <[email protected]>
  741. * ScrollableControl.cs: make sure neither right_edge or
  742. bottom_edge are < 0, since they're used as LargeChange for the
  743. horiz/vert scrollbars respectively. Fixes #79539.
  744. 2006-10-01 Chris Toshok <[email protected]>
  745. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  746. the xplatuix11 code can cause us to destroy/recreate our handle.
  747. * XplatUIX11.cs
  748. (SystrayAdd):
  749. - this code can be invoked many times for the same Hwnd. Make
  750. sure we only destroy the client window once (the first time this
  751. method is called). This fixes bug #79544.
  752. - Remove the call to the improperly bound XSync. why we had two
  753. bindings to this, I will never know, but this call resulted in
  754. events being discarded from the queue(!).
  755. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  756. not our current state but the state we wish to be in. So, 0 if
  757. we don't want to be mapped. Change it to 1.
  758. (SystrayRemove): The XEMBED spec makes mention of the fact that
  759. gtk doesn't support the reparent of client windows away from the
  760. embedder. Looking at gtksocket-x11.c seems to agree with this.
  761. The only avenue we have for removing systray icons is to destroy
  762. them. We don't want the handle to go away for good, though, so
  763. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  764. #79545.
  765. 2006-10-01 Chris Toshok <[email protected]>
  766. * Form.cs (WndProc): inline the native_enabled variable usage into
  767. the cases in which it's used. Fixes #79536.
  768. 2006-09-29 Mike Kestner <[email protected]>
  769. * ListView.cs : toggle the selection state for ctrl clicks in
  770. multiselect mode. [Fixes #79417]
  771. 2006-09-29 Mike Kestner <[email protected]>
  772. * ListView.cs : kill CanMultiSelect and refactor the selection
  773. code to support multiselection in the absence of mod keys. Steal
  774. arrow/home/end keys by overriding InternalPreProcessMessage to
  775. restore regressed keynav behavior.
  776. [Fixes #79416]
  777. 2006-09-29 Jackson Harper <[email protected]>
  778. * MdiClient.cs: Repaint the titlebars when the active window is
  779. changed.
  780. 2006-09-29 Chris Toshok <[email protected]>
  781. * Application.cs: when entering a runloop with a modal, make sure
  782. the hwnd is enabled. Fixes #79480.
  783. 2006-09-29 Chris Toshok <[email protected]>
  784. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  785. when ListManager.CanAddRows == false, bump us back one.
  786. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  787. listmanager.CanAddRows check. This makes ArrayLists uneditable
  788. using a datagrid, which is not right.
  789. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  790. is an IEditable, but call property_descriptor.SetValue regardless.
  791. fixes #79435.
  792. 2006-09-29 Chris Toshok <[email protected]>
  793. * DataGridBoolColumn.cs: we need to test equality in the face of
  794. possible null values (as is the case with the default NullValue).
  795. This patch keeps us from crashing in that case.
  796. 2006-09-29 Jackson Harper <[email protected]>
  797. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  798. here, since it will get called for every node collection in the
  799. tree. This is now done in the treeview once the sorting is
  800. finished.
  801. * TreeView.cs: Recalculate the visible order, and update the
  802. scrollbars after sorting, set the top nope to the root so that the
  803. recalc actually works.
  804. 2006-09-29 Chris Toshok <[email protected]>
  805. * LinkLabel.cs: more handling of the default link collection in
  806. the face of LinkArea manipulation. The default link collection
  807. contains 1 element (start=0,length=-1). If the user sets LinkArea
  808. to anything and the links collection is the default, clear it.
  809. Then only add the link if its nonempty. Fixes #79518.
  810. 2006-09-29 Chris Toshok <[email protected]>
  811. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  812. piece correctly when we hit a '\n'. Fixes #79517.
  813. 2006-09-29 Chris Toshok <[email protected]>
  814. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  815. change the binding of gdk_init_check to take two IntPtr's, and
  816. pass IntPtr.Zero for both of them. Fixes #79520.
  817. 2006-09-29 Mike Kestner <[email protected]>
  818. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  819. [Fixes #78779]
  820. 2006-09-28 Jackson Harper <[email protected]>
  821. * XplatUIX11.cs: When translating NC messages make sure we go from
  822. whole window to screen, not client window to screen.
  823. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  824. method doesn't exist
  825. - Skip over controls that aren't forms when arranging.
  826. 2006-09-28 Jackson Harper <[email protected]>
  827. * XplatUIWin32.cs: Clip the rect to the parent window.
  828. * XplatUIStructs.cs: Add clipping modes struct.
  829. * InternalWindowManager.cs: New private method that factors title
  830. bar heights in when calculating the pos of an NC mouse message.
  831. - Use SendMessage to force a paint when the form's size is changed
  832. instead of painting the decorations immediately.
  833. - Don't let the NC button click messages get to DefWndProc,
  834. because they will attempt to handle windowing themself, and this
  835. messes up z-order (it will put them in front of the scrollbars).
  836. * XplatUIX11.cs: Make sure that we don't reset window managers if
  837. we already have one (ie the window is an MDI window).
  838. 2006-09-28 Chris Toshok <[email protected]>
  839. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  840. menu code really needs going over.
  841. 2006-09-27 Chris Toshok <[email protected]>
  842. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  843. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  844. window is maximizable. So, we need to make sure that even if we
  845. clear the border/wm frame of those functions, they're still
  846. available (basically, we remove the decoration without removing
  847. the function). Half the fix for #79338.
  848. 2006-09-27 Chris Toshok <[email protected]>
  849. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  850. Fixes bug #79515.
  851. 2006-09-27 Chris Toshok <[email protected]>
  852. * Splitter.cs: reorder things a bit so that we don't actually
  853. draw/move the splitter until after calling OnSplitterMoving. This
  854. lets users cancel/disallow the movement by explicitly setting
  855. event.SplitX/SplitY. Fixes #79372.
  856. 2006-09-27 Jackson Harper <[email protected]>
  857. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  858. because it is most likely on a window being destroyed, and that
  859. will give us an X11 error.
  860. 2006-09-27 Chris Toshok <[email protected]>
  861. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  862. the dropdown button now toggles between showing and hiding the
  863. dropdown. Also, get rid of dropdown_form_showing and just use
  864. dropdown_form.Visible. We still don't do a grab, but I'll leave
  865. that part to someone who has handled Capture-fu before.
  866. 2006-09-27 Chris Toshok <[email protected]>
  867. * DataGrid.cs: return false if alt isn't pressed when '0' is
  868. pressed. this keeps the '0' key from being swallowed, and fixes
  869. bug #79350.
  870. 2006-09-27 Chris Toshok <[email protected]>
  871. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  872. Calling Refresh (in response to a scrollbar event) screws up the
  873. scrollbar painting. Fixes bug #78923.
  874. 2006-09-27 Chris Toshok <[email protected]>
  875. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  876. then insert into hashtable" blocks threadsafe.
  877. 2006-09-27 Chris Toshok <[email protected]>
  878. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  879. baseclass's, since otherwise the
  880. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  881. effect. This gets the close button back in messageboxes.
  882. 2006-09-27 Chris Toshok <[email protected]>
  883. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  884. flag, not just != 0. this makes flags that are actually multiple
  885. bits (like WS_CAPTION) work. fixes bug #79508.
  886. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  887. * PageSetupDialog.cs: add support for getting and settings the
  888. paper size, source and orientation.
  889. 2006-09-26 Chris Toshok <[email protected]>
  890. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  891. and caption == "", we need to remove the resize handles as well as
  892. the title bar.
  893. * Control.cs (set_Text): turns out that setting Text on a form
  894. should change the WM styles on the window, since if ControlBox ==
  895. false, the only way to get a window border is to have a non-""
  896. Text property. check winforms/forms/text.cs for an example. so,
  897. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  898. update both window styles and title. This fixes a lot of dialogs
  899. (including the preferences dialog in MonoCalendar.)
  900. 2006-09-26 Chris Toshok <[email protected]>
  901. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  902. control isn't a Form), call Win32ShowWindow to hide the window,
  903. but don't update the control Visible property. When we reparent
  904. back to a parent control, call SetVisible in order for the
  905. window's visibility to be reinstated.
  906. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  907. the FosterParent.
  908. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  909. call for good, since it breaks MonoCalendar (and other things I'm
  910. sure.) Also, set all_controls to null *after* the owner calls,
  911. which end up regenerating it.
  912. (ChangeParent): allow new_parent to be == null, passing
  913. IntPtr.Zero down to XplatUI.
  914. this fixes #79294 the right way.
  915. 2006-09-26 Mike Kestner <[email protected]>
  916. * GridEntry.cs : internal SetParent method.
  917. * PropertyGrid.cs : attach to property changed on the proper
  918. target if we have a hierarchical grid with subobjects. Setup
  919. GridItem.Parent for hierarchical items.
  920. * PropertyGridView.cs : Set value on the correct target for
  921. hierarchical grids. [Fixes #78903]
  922. 2006-09-26 Chris Toshok <[email protected]>
  923. * Control.cs (ChildNeedsRecreating): this should return true if
  924. either we're being recreated and the child is in our list, or our
  925. parent is waiting for our recreation.
  926. 2006-09-26 Chris Toshok <[email protected]>
  927. * Control.cs (ControlCollection.Remove): reinstate the
  928. value.Hide() call as suggested in bug #79294.
  929. 2006-09-26 Sebastien Pouliot <[email protected]>
  930. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  931. coordinates (versus a relative move).
  932. 2006-09-26 Chris Toshok <[email protected]>
  933. * Control.cs: rework child recreation a little bit. It turns out
  934. that we race between the DestroyNotify the WM_DESTROY message. If
  935. the parent gets its DestroyNotify before the child gets the
  936. WM_DESTROY message, the child ends up not recreating (since the
  937. parent finishes its recreation on DestroyNotify, and the child
  938. checks ParentIsRecreating.)
  939. So, instead we store off a list of all the child controls which
  940. need to be recreated when the parent control starts to recreate
  941. itself. Then, when child controls get their WM_DESTROY message we
  942. check to see if they're in the parent's pending recreation list,
  943. and if so, we recreate. This removes all dependency on ordering
  944. from the code and fixes the initial MonoCalendar upgrade dialog.
  945. 2006-09-26 Jackson Harper <[email protected]>
  946. * TextControl.cs: Use the Line to get the length of the line,
  947. since soft line breaks can change the end line.
  948. 2006-09-26 Chris Toshok <[email protected]>
  949. * Control.cs (ControlCollection.AddImplicit): don't add the
  950. control again if it's already in one of our lists. This keeps us
  951. from adding controls over and over again for comboboxes when their
  952. handle gets recreated (as the combobox adds implicit controls in
  953. OnHandleCreated). Fixes the X11 errors in bug #79480.
  954. 2006-09-26 Jackson Harper <[email protected]>
  955. * TextControl.cs: When deleting characters make sure that any
  956. orphaned zero lengthed tags get deleted.
  957. - Fix ToString for zero lengthed tags.
  958. 2006-09-25 Jackson Harper <[email protected]>
  959. * TextControl.cs: When getting a tag at the location there can be
  960. multiple tags at the same spot, these are 0-lengthed tags that
  961. appear when extra formatting has been stuck in a location. We
  962. need to pull out the last of these 0 lengthed tags.
  963. 2006-09-25 Jackson Harper <[email protected]>
  964. * TextControl.cs: Fix print out in debug method.
  965. * TextBoxBase.cs: When text is set bail if we are setting to the
  966. previous value.
  967. 2006-09-24 Alexander Olk <[email protected]>
  968. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  969. It is now possible to change the selected index in a FontXXXListBox
  970. with the up and down arrow keys from the FontXXXTextBoxes.
  971. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  972. FontXXXListBoxes to match ms.
  973. 2006-09-22 Sebastien Pouliot <[email protected]>
  974. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  975. anyone can dispose it, anytime. All other properties returns enums,
  976. structs or basic types so they don't need such tricks.
  977. 2006-09-22 Jackson Harper <[email protected]>
  978. * XplatUI.cs:
  979. * XplatUIWin32.cs:
  980. * Clipboard.cs:
  981. * DataFormats.cs:
  982. * XplatUIOSX.cs:
  983. * XplatUIDriver.cs: Update interface to add a primary selection
  984. flag, so the driver can use the primary selection buffer if
  985. needed.
  986. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  987. * RichTextBox.cs: We need to supply the data object to paste now
  988. (so we can choose to supply CLIPBOARD or PRIMARY).
  989. * TextBoxBase.cs: Supply data object to paste (see above).
  990. - Middle click uses the primary selection data object.
  991. 2006-09-21 Chris Toshok <[email protected]>
  992. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  993. of SetWMStyles. It's still a rat's nest and is largely
  994. order-dependent which I dislike immensely. This also fixes the X
  995. button disappearing from toplevel forms.
  996. 2006-09-21 Mike Kestner <[email protected]>
  997. * ListBox.cs: move Jordi's click/dblclick raising code to the
  998. mouse up handler.
  999. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1000. * ListBox.cs: Fixes 79450
  1001. 2006-09-21 Mike Kestner <[email protected]>
  1002. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1003. to deal with people updating the TreeNodeCollection after the tree
  1004. is disposed. "Fixes" 79330.
  1005. 2006-09-20 Jackson Harper <[email protected]>
  1006. * TextControl.cs: Push the cursor record onto the undo stack
  1007. before the delete action. This fixes 78651.
  1008. 2006-09-20 Jonathan Chambers <[email protected]>
  1009. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1010. CreateParams. Fixes 79329.
  1011. 2006-09-19 Chris Toshok <[email protected]>
  1012. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1013. things up a bit. First, get rid of the NetAtoms array (and the NA
  1014. enum), and just embed the atoms as static fields. Also, add a
  1015. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1016. bitmask testing of styles.
  1017. * X11Structs.cs: remove the NA enum, not needed anymore.
  1018. 2006-09-19 Chris Toshok <[email protected]>
  1019. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1020. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1021. added cleanup to get MessageBox titles appearing again, which were
  1022. broken by my earlier fix for caption-less/ControlBox-less windows.
  1023. 2006-09-18 Jonathan Pobst <[email protected]>
  1024. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1025. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1026. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1027. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1028. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1029. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1030. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1031. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1032. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1033. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1034. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1035. Inital import.
  1036. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1037. ToolStripButton.cs: Stubs needed for above.
  1038. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1039. 2006-09-15 Chris Toshok <[email protected]>
  1040. * XplatUIX11.cs:
  1041. - make the MessageQueues hashtable Synchronized.
  1042. - SendMessage: if the Hwnd is owned by a different thread, use the
  1043. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1044. thread. Fixes bug #79201.
  1045. 2006-09-15 Chris Toshok <[email protected]>
  1046. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1047. ControlBox == false, we disallow maximize/minimize/close. If the
  1048. form Caption is "" we also disallow move (and get rid of the Title
  1049. decoration). Unfortunately, regardless of how things are set,
  1050. we're stuck with the Title and WM menu.
  1051. 2006-09-15 Chris Toshok <[email protected]>
  1052. * Application.cs: add locking around the static message_filters
  1053. ArrayList, part of #79196.
  1054. 2006-09-15 Chris Toshok <[email protected]>
  1055. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1056. Form.ControlBox == false, the window has no titlebar nor resize
  1057. handles. fixes bug #79368.
  1058. 2006-09-15 Chris Toshok <[email protected]>
  1059. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1060. >= 0. Fixes bug #79370.
  1061. 2006-09-15 Jonathan Pobst <[email protected]>
  1062. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1063. * Control.cs:
  1064. Add properties: LayoutEngine, Margin, DefaultMargin.
  1065. Add method: GetPreferredSize.
  1066. Move layout logic from PerformLayout to layout engines.
  1067. 2006-09-13 Chris Toshok <[email protected]>
  1068. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1069. fix for #79326 broke #78718, so this change addresses that.
  1070. - in SendWMDestroyMessages remove the call to
  1071. CleanupCachedWindows, since we might be recreating the control and
  1072. need to maintain the references to right Hwnd handles. Also, set
  1073. the zombie flag to true for each of the children in the hierarchy
  1074. instead of calling hwnd.Dispose. This will cause GetMessage to
  1075. ignore all events for the window except for DestroyNotify.
  1076. - In GetMessage, ignore messages except for DestroyNotify for
  1077. zombie hwnds.
  1078. * Control.cs: revert the is_recreating fix from the last
  1079. ChangeLog. It's definitely "right", but it breaks switching from
  1080. an MDI form to a non-MDI form. Will need to revisit that.
  1081. * Hwnd.cs: add a zombie flag, which means "the
  1082. client_window/whole_window handles are invalid, but we're waiting
  1083. for the DestroyNotify event to come in for them". Set the flag to
  1084. false explicitly if setting WholeWindow/ClientWindow, and also
  1085. when Disposing.
  1086. 2006-09-13 Chris Toshok <[email protected]>
  1087. * XplatUIX11.cs: rework window destruction slightly.
  1088. - when destroying the windows associated with a control, we don't
  1089. need 2 separate XDestroyWindow calls. Just the one for the
  1090. whole_window (or for client_window if whole_window is somehow
  1091. IntPtr.Zero -- can this happen?) is enough.
  1092. - reworked SendWMDestroyMessages slightly, so we always dispose
  1093. the child control hwnd's after sending the messages.
  1094. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1095. the two places it was used (one was even using hwnd.Handle and the
  1096. other hwnd.client_window. ugh), adding another call in
  1097. SendWMDestroyMessages. We need this new call because now the
  1098. DestroyNotify events in the queue will be ignored for the child
  1099. controls (as their hwnd's were disposed, and the window id's
  1100. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1101. - this fixes bug #79326.
  1102. 2006-09-13 Chris Toshok <[email protected]>
  1103. * Control.cs: don't always set is_recreating to false at the end
  1104. of RecreateHandle, since sometimes we're not done (and won't be
  1105. until WndProc handles the WM_DESTROY message). Also, set
  1106. is_recreating to false in the WM_DESTROY handling code. Part of
  1107. the fix for bug #79326.
  1108. 2006-09-13 Miguel de Icaza <[email protected]>
  1109. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1110. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1111. 2006-09-13 Jonathan Pobst <[email protected]>
  1112. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1113. 2006-09-12 Chris Toshok <[email protected]>
  1114. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1115. to create it using SetDataSource. Fixes bug #79151.
  1116. 2006-09-11 Chris Toshok <[email protected]>
  1117. * XEventQueue.cs: add a DispatchIdle property.
  1118. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1119. either the queue is null, or the queue has DispatchIdle set to
  1120. true.
  1121. (DoEvents): set queue.DispatchIdle to false around the
  1122. peek/translate/dispatch message loop in this method. This keeps
  1123. Application.Doevents from emitting idle events. Part of the fix
  1124. for #78823.
  1125. 2006-09-11 Chris Toshok <[email protected]>
  1126. * DataGrid.cs (set_DataSource): make this work for both the
  1127. winforms/datagrid test and ReportBuilder. It seems as though when
  1128. we've created a ListManager (or maybe it's if we have a
  1129. BindingContext?), when we set the DataSource it clears the
  1130. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1131. #79333.
  1132. 2006-09-11 Chris Toshok <[email protected]>
  1133. * XplatUIX11.cs: deal with queue being null, which happens in all
  1134. the Clipboard functions. Fixes one of the two problems mentioned
  1135. in #78612.
  1136. 2006-09-11 Chris Toshok <[email protected]>
  1137. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1138. button on various spots (including outside the menu) works closer
  1139. to MS, and doesn't crash. Fixes #79343.
  1140. 2006-09-11 Gert Driesen <[email protected]>
  1141. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1142. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1143. and the internal comparer is set. When a new ListViewItemSorter is set,
  1144. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1145. was specified. No further processing is necessary if SortOrder is set
  1146. to it's current value. If Sorting is modified to None, and View is
  1147. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1148. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1149. only set item_sorter to null if its our internal IComparer. If Sorting
  1150. is modified to Ascending or Descending, then use our internal IComparer
  1151. if none is set, and if the current IComparer is our internal one then:
  1152. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1153. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1154. Enum.IsDefined to verify whether a valid View value is specified in
  1155. its setter. Automatically sort listview items when listview is
  1156. created. In Sort, do nothing if ListView is not yet created, or if
  1157. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1158. to None or ListViewItemSorter was set to null). Added Sort overload
  1159. taking a bool to indicate whether the ListView should be redrawn when
  1160. items are sorted (we use this in ListViewItemCollection to avoid double
  1161. redraws). Modified our internal IComparer to take the sort order into
  1162. account. In Add and AddRange methods of ListViewItemCollection, also
  1163. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1164. view), but use overload with noredraw option to avoid double redraw.
  1165. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1166. true when View is Tile, and do the same when attempting to set View to
  1167. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1168. for selected/checked indices, as it involves overhead when sorting is
  1169. done while these collections are not used all that often. Instead
  1170. we'll build the indices on demand. Modified IList implementation of
  1171. CheckedIndexCollection to use public methods if object is int.
  1172. Modified CheckedListViewItemCollection to hide checked items if
  1173. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1174. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1175. IList implementation in SelectedIndexCollection to use public methods
  1176. if object is int. Modified SelectedListViewItemCollection to hide
  1177. selected items if listview is not yet created.
  1178. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1179. maintained separately (see ListView changes). Also clone font, fixes
  1180. test failure.
  1181. 2006-09-11 Mike Kestner <[email protected]>
  1182. * ComboBox.cs: if we are updating the contents of the currently
  1183. selected index, refresh the control or the textbox selection.
  1184. [Fixes #79066]
  1185. 2006-09-11 Mike Kestner <[email protected]>
  1186. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1187. the 'specified' logic has been moved there. This seems like a bug
  1188. in Control.cs, since our current SetBoundsCore completely ignores
  1189. the specified parameter. Peter's commit seems to indicate that is
  1190. the way the MS control implementation works. [Fixes #79325]
  1191. 2006-09-10 Jonathan Chambers <[email protected]>
  1192. * XplatUI.cs: Set default_class_name to be composed
  1193. of current domain id. This allows MWF to be loaded in multiple
  1194. domains on Win32.
  1195. 2006-09-09 Miguel de Icaza <[email protected]>
  1196. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1197. not call CreateXic to create the input context. Should fix
  1198. #78944/79276.
  1199. 2006-09-08 Alexander Olk <[email protected]>
  1200. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1201. Simplified gnome support by adding more pinvokes to get the
  1202. icon for a file or mime type.
  1203. 2006-09-08 Jackson Harper <[email protected]>
  1204. * MenuAPI.cs: Deslect popup context menu items before closing the
  1205. window, so that you don't see the previously selected item
  1206. selected when you reopen the menu.
  1207. * TextControl.cs: Update the cursor position even if we don't have
  1208. focus. This fixes typing in things like the ComboBox. I'm not
  1209. totally sure we should always set the visibility if we don't have
  1210. focus, but couldn't find any corner cases where the cursor showed
  1211. up when it shouldn't.
  1212. 2006-09-08 Chris Toshok <[email protected]>
  1213. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1214. our arrays are length 256. & 0xff before indexing. Fixes the
  1215. crash in bug #78077.
  1216. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1217. * ThemeWin32Classic.cs:
  1218. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1219. is true. Handle that check box too.
  1220. 2006-09-07 Chris Toshok <[email protected]>
  1221. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1222. 79244.
  1223. 2006-09-07 Chris Toshok <[email protected]>
  1224. * Control.cs: in set_BackColor only do the work if
  1225. background_color != value.
  1226. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1227. and nc) to the same block of code where we set (nc_)expose_pending
  1228. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1229. so things that cause invalidates from within OnPaint will trigger
  1230. another call to OnPaint. Fixes bug #79262.
  1231. 2006-09-07 Alexander Olk <[email protected]>
  1232. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1233. * FileDialog.cs: Fix typo
  1234. 2006-09-07 Jackson Harper <[email protected]>
  1235. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1236. for tab pages if they have any.
  1237. 2006-09-06 Mike Kestner <[email protected]>
  1238. * Splitter.cs: use the "current" rect when finishing drag handle
  1239. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1240. 2006-09-06 Mike Kestner <[email protected]>
  1241. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1242. support offset splitters. [Fixes #79298]
  1243. 2006-09-06 Alexander Olk <[email protected]>
  1244. * Mime.cs: Fixed a bug that could override the global mime type
  1245. result.
  1246. 2006-09-05 Jackson Harper <[email protected]>
  1247. * TabControl.cs: Better calculation method for setting the slider
  1248. pos. Prevents crashes on really wide tabs.
  1249. - Draw Image on tab pages if an image list is used.
  1250. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1251. * MonthCalendar.cs: When Font changes, the Size should be
  1252. updated to fit the new font's space requirements.
  1253. 2006-09-02 Alexander Olk <[email protected]>
  1254. * ListBox.cs: If the items are cleared with Items.Clear set
  1255. top_index to 0.
  1256. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1257. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1258. fire DateChanged event instead of DateSelected event when
  1259. the date was changed by keyboard interaction.
  1260. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1261. * DateTimePicker.cs: Handle DateChanged for the associated
  1262. month_calendar control, and set month_calendar.Font from
  1263. OnFontChanged method, as well as resize the height of the
  1264. control when needed. Make PreferredHeight proportional.
  1265. 2006-09-01 Chris Toshok <[email protected]>
  1266. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1267. properties.
  1268. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1269. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1270. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1271. for decorations (Fixes #79219)
  1272. 2006-09-01 Mike Kestner <[email protected]>
  1273. * ComboBox.cs: first stab at sorting plus some selection handling
  1274. fixes to bring us more in line with MS behavior. Also switches back
  1275. to index based selection. Alternative patches for index-based
  1276. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1277. and [email protected] on bug 78848. I assume they were similar to this
  1278. code I've had simmering in my tree forever.
  1279. [Fixes #78848]
  1280. 2006-09-01 Chris Toshok <[email protected]>
  1281. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1282. when setting list position guard against ending up with a -1 index
  1283. (the other part of the fix for #78812). Should probably make sure
  1284. we don't need the analogous fix in the ItemDeleted case.
  1285. * DataGrid.cs:
  1286. - in SetDataSource, work around the fact that the way
  1287. OnBindingContextChanged is invoked will cause us to re-enter this
  1288. method. I'll remove the hack once I investigate
  1289. OnBindingContextChanged.
  1290. - fix the logic in set_DataSource and set_DataMember (basically
  1291. what to do if the other of the two is null.)
  1292. - in OnListManagerItemChanged, we need to take into account the
  1293. edit row when deciding whether or not to call RecreateDataGridRows
  1294. (part of the fix for #78812).
  1295. 2006-09-01 Jackson Harper <[email protected]>
  1296. * Splitter.cs: Don't do anything if there is no control to affect
  1297. (prevents us from crashing in weird tet cases).
  1298. * TreeView.cs: Bounding box for the mouse movement reverting
  1299. focus/selection back to previously selected node. This matches
  1300. MS, and makes the tree a lot more useable.
  1301. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1302. use clipping so they are not drawn. This fixes when the control
  1303. is set to have a transparent background, or if it was over an
  1304. image.
  1305. 2006-09-01 Alexander Olk <[email protected]>
  1306. * MimeIcon.cs: Improved handling for reading default icons when
  1307. using gnome (2.16 made it necessary). Check and read svg icons
  1308. first, then 48x48 and then 32x32 icons.
  1309. 2006-08-31 Chris Toshok <[email protected]>
  1310. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1311. visible.
  1312. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1313. ProcessKeyPreview. Fixes part of #77806.
  1314. * DataGrid.cs: big patch.
  1315. - revert the queueing up of DataSource/DataMember if inside
  1316. BeginInit/EndInit calls. That's not the way the datagrid achieves
  1317. its delayed databinding. Instead, call SetDataSource in
  1318. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  1319. #78811.
  1320. - Also, it wasn't mentioned in #78811, but the test case exhibits
  1321. behavior that was lacking in our datagrid implementation - Columns
  1322. that have mapping names that don't exist in the datasource's
  1323. properties aren't shown. Yuck. To fix this I added the bound
  1324. field to the column style, and basically any calculation to figure
  1325. out anything about columns uses a loop to find the bound columns.
  1326. still need to investigate if I can cache an array of the bound
  1327. columns or if the indices must be the same.
  1328. - When setting CurrentCell, we no longer abort if the cell being
  1329. edited was in the add row. This fixes the other part of #77806.
  1330. - The new code also fixes #78807.
  1331. * ThemeWin32Classic.cs: perpetrate the same disgusting
  1332. column.bound field hack, and only render bound fields.
  1333. 2006-08-31 Chris Toshok <[email protected]>
  1334. * DataGridColumnStyle.cs: add bound field. this field is true if
  1335. the datasource has a property corresponding to the mapping name.
  1336. * DataGridTableStyle.cs: set the bound field on the column styles
  1337. depending on whether or not we have a column for that property.
  1338. 2006-08-31 Peter Dennis Bartok <[email protected]>
  1339. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  1340. splitter control (fixes #79228)
  1341. 2006-08-31 Chris Toshok <[email protected]>
  1342. * DataGridColumnStyle.cs: we need to delay the assignment of
  1343. property descriptor until the last possible moment due to the lazy
  1344. databinding stuff in the datagrid. Also, fix the exceptions
  1345. thrown by CheckValidDataSource to match MS.
  1346. 2006-08-31 Jackson Harper <[email protected]>
  1347. * Form.cs: When activated select the active control, if there is
  1348. no active control, we select the first control.
  1349. * XplatUIX11.cs: If there is no focus control when we get a
  1350. FocusIn event, find the toplevel form and activate it. This
  1351. occurs when you popup a window, it becomes the focus window, then
  1352. you close that window, giving focus back to the main window.
  1353. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1354. * MonthCalendar.cs:
  1355. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  1356. as StringFormat with Center alignments in MonthCalendar,
  1357. instead of creating new ones when drawing the control.
  1358. Also, draw the month name in bold style.
  1359. 2006-08-30 Peter Dennis Bartok <[email protected]>
  1360. * Control.cs:
  1361. - PerformLayout(): It would seem MS performs the fill even if the
  1362. control is not visible (part of #79218 fix)
  1363. - ResetBackColor(): Use the setter to reset the color, to allow
  1364. overriders to catch the change.
  1365. * Form.cs:
  1366. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  1367. - CreateHandle(): dito (part of $79218 fix)
  1368. - Don't set an icon if we have a dialog
  1369. * ScrollableControl.cs:
  1370. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  1371. - ScrollIntoView(): No need to scroll if control is already visible
  1372. (resolves fixme and fixes #79218)
  1373. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  1374. * MonthCalendar.cs: Change proportions in SingleMonthSize
  1375. to match the aspect of the original control.
  1376. 2006-08-29 Alexander Olk <[email protected]>
  1377. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  1378. get updated when they get maximized.
  1379. 2006-08-29 Peter Dennis Bartok <[email protected]>
  1380. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  1381. 2006-08-29 Chris Toshok <[email protected]>
  1382. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  1383. 2006-08-29 Jackson Harper <[email protected]>
  1384. * TreeView.cs: Need to track selected node and highlighted node,
  1385. they aren't always the same thing, when the mouse is down on a
  1386. node it is hilighted, but not selected yet.
  1387. - Do the HideSelection stuff right
  1388. - Need to focus on rbutton mouse down. And redraw selection when
  1389. right click is mouse upped.
  1390. 2006-08-29 Mike Kestner <[email protected]>
  1391. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  1392. when SubItems.Count < Columns.Count. [Fixes #79167]
  1393. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1394. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  1395. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1396. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  1397. from X. Only send based on ConfigureNotify if we don't have the
  1398. correct location in hwnd (if the window manager moved us)
  1399. 2006-08-28 Mike Kestner <[email protected]>
  1400. * ListView.cs: remove a TODO.
  1401. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  1402. [Fixes ListView part of #79166]
  1403. 2006-08-28 Mike Kestner <[email protected]>
  1404. * ListView.cs: move wheel handler to parent since it is focused
  1405. instead of the item_control now. [Fixes #79177]
  1406. 2006-08-28 Mike Kestner <[email protected]>
  1407. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  1408. when the control is focused. [Fixes #79171]
  1409. 2006-08-28 Mike Kestner <[email protected]>
  1410. * ListView.cs: size the item and header controls for empty and
  1411. unscrollable views.
  1412. * ThemeWin32Classic.cs: draw disabled backgrounds.
  1413. [Fixes #79187]
  1414. 2006-08-28 Chris Toshok <[email protected]>
  1415. * Form.cs: remove unused "active_form" static field.
  1416. * Hwnd.cs: lock around accesses to static windows collection.
  1417. * Application.cs: lock threads in Exit ().
  1418. 2006-08-28 Chris Toshok <[email protected]>
  1419. * NativeWindow.cs: lock around accesses to window_collection.
  1420. 2006-08-28 Chris Toshok <[email protected]>
  1421. * Control.cs: err, fix this the right way, by locking on controls
  1422. when using it. not by making it synchronized.
  1423. 2006-08-28 Chris Toshok <[email protected]>
  1424. * Control.cs: make the static "controls" field synchronized, as it
  1425. gets updated from multiple threads.
  1426. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1427. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  1428. Prevent other threads from exiting when calling thread sets quit state.
  1429. * XEventQueue.cs: Added PostQuitState property
  1430. 2006-08-27 Chris Toshok <[email protected]>
  1431. * AsyncMethodData.cs: add a slot for the window handle.
  1432. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  1433. window (the destination control's window, not the foster window).
  1434. * Control.cs (BeginInvokeInternal): store the window's handle in
  1435. the AsyncMethodData.
  1436. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1437. * XplatUIX11.cs:
  1438. - PostQuitMessage: Removed resetting S.D display handle, we might have
  1439. another loop started after calling PostQuitMessage (Fixes #79119)
  1440. - Created destructor to reset S.D handle
  1441. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1442. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  1443. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1444. * TextControl.cs (Insert): Update the caret position even if we don't
  1445. have a handle yet, just don't call the driver in that case.
  1446. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  1447. to the end of the new selection text (Fixes #79184)
  1448. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1449. * Form.cs (Activate): Only activate if the handle is created)
  1450. * Control.c:
  1451. - Mark window as invisible when it's disposed
  1452. - Check if window handle is created when setting window visible,
  1453. instead of relying just on the is_created variable
  1454. - Check if object is disposed when creating the control (Fixes #79155)
  1455. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1456. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  1457. when allowing layout again. Otherwise we re-generate the anchoring
  1458. distance to the border again and actually alter what the user wanted
  1459. This is ugly, it'd be better if we used DisplayRectangle instead of
  1460. ClientRectangle for Control.UpdateDistances, but that causes us to
  1461. have other problems (initial anchoring positons would be wrong)
  1462. (Fixes #78835)
  1463. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1464. * Control.cs:
  1465. - The size and location setters shouldn't go directly to
  1466. SetBoundsCore, but to SetBounds, which triggers layout on the
  1467. parent, then calls SetBoundsCore. (Related to fix for #78835)
  1468. - SetBounds: Moved actual location update code into this function
  1469. from SetBoundsCore, to match MS. Added call to PerformLayout if
  1470. we have a parent (to trigger resizing of anchored parents if the
  1471. child size has changed (see testcase for #78835)
  1472. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  1473. new control code
  1474. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  1475. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1476. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  1477. System.Drawing when a toplevel window gets closed; there might
  1478. be other toplevel windows belonging to the same app (Fixes #78052)
  1479. 2006-08-26 Alexander Olk <[email protected]>
  1480. * FileDialog.cs: After reading FileDialog settings from mwf_config
  1481. use Desktop prefix only if a real folder doesn't exist anymore.
  1482. * FontDialog.cs: Added char sets.
  1483. It is now possible to select the font, size or style with the
  1484. textboxes.
  1485. 2006-08-25 Kornél Pál <[email protected]>
  1486. * PrintPreviewDialog.cs: Use assembly name constants.
  1487. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1488. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  1489. scrollbar from whacking it's buttons)
  1490. 2006-08-24 Chris Toshok <[email protected]>
  1491. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  1492. in this patch (aggregating setting Left/Top/Width/Height to
  1493. setting Bounds on the scrollbars), but the crux of the fix is in
  1494. Recalculate, where we scroll by the remaining scroll_position if
  1495. we're hiding a scrollbar. The 2*$5 reward in the comment is
  1496. serious.
  1497. 2006-08-24 Jackson Harper <[email protected]>
  1498. * MdiClient.cs:
  1499. * MdiWindowManager.cs: If the form is made a non-mdi window we
  1500. need to remove the form closed event so that closing forms works
  1501. correctly.
  1502. 2006-08-24 Jackson Harper <[email protected]>
  1503. * Control.cs: Make IsRecreating internal so that the driver can
  1504. check it
  1505. - Temporarily remove the Hide when controls are removed, its
  1506. making a whole bunch of things not work because visibility isn't
  1507. getting reset elsewhere correctly
  1508. * Form.cs: Need to do a full handle recreation when the mdi parent
  1509. is set.
  1510. * XplatUIX11.cs: If we are recreating handles don't dispose the
  1511. HWNDs. What was happening is the handles were being recreated in
  1512. SendWMDestroyMessages, but then flow continued on in that method
  1513. and destroyed the new handles.
  1514. 2006-08-23 Jackson Harper <[email protected]>
  1515. * Form.cs: MdiClient is always at the back of the bus
  1516. * Control.cs: When the order of items in the collection is changed
  1517. we need to reset the all_controls array
  1518. - do the same sorta setup thats done when adding a control when a
  1519. control is set on the collection.
  1520. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1521. * TextBoxBase.cs (get_Text): Return an empty array if our document
  1522. is empty (fixes #79052)
  1523. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1524. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  1525. on WM_SYSCHAR messages (fixes #79053)
  1526. 2006-08-23 Chris Toshok <[email protected]>
  1527. * DataGrid.cs: fix flickering when scrolling vertically.
  1528. 2006-08-23 Chris Toshok <[email protected]>
  1529. * DataGrid.cs (EndEdit): only invalidate the row header when we
  1530. need to.
  1531. 2006-08-23 Chris Toshok <[email protected]>
  1532. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  1533. methods. fixes the flicker when scrolling around.
  1534. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1535. * FileDialog.cs: Making sure the control is created before we get a
  1536. chance to use it with BeginInvoke (Fixes #79096)
  1537. 2006-08-23 Chris Toshok <[email protected]>
  1538. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  1539. width to use when painting the rows.
  1540. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1541. * TextBoxBase.cs:
  1542. - Throw ArgumentException if a negative value is passed to SelectionLength
  1543. - Update the selection end if start is moved. end needs to be always
  1544. after start. (Fixes #79095)
  1545. - Track selection length; MS keeps the selection length even if start
  1546. is changed; reset on all other operations affection selection
  1547. 2006-08-22 Jackson Harper <[email protected]>
  1548. * TreeView.cs: Make sure both scrollbars get displayed and sized
  1549. correctly when the other bar is visible.
  1550. - Use the original clip rectangle for checking if the area between
  1551. the two scrollbars is visible, not the viewport adjusted clipping
  1552. rectangle.
  1553. 2006-08-22 Jackson Harper <[email protected]>
  1554. * Binding.cs: We don't use IsBinding because it requires the
  1555. control to be created, which really shouldn't be necessary just to
  1556. set a property on the control.
  1557. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1558. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  1559. ArgumentNullReferenceException when the argument is null.
  1560. 2006-08-21 Jackson Harper <[email protected]>
  1561. * Timer.cs: Track the thread that the timer is started in (NOT
  1562. CREATED), this way messages for it will only be triggered on its
  1563. queue.
  1564. * XEventQueue.cs: Track the timers here, this makes timers per
  1565. thread, like MS.
  1566. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  1567. 2006-08-19 Chris Toshok <[email protected]>
  1568. * XplatUIX11.cs: after further communication with pdb, we get the
  1569. best of both worlds. SetZOrder working for un-Mapped windows, and
  1570. no X errors for un-mapped windows.
  1571. 2006-08-19 Chris Toshok <[email protected]>
  1572. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  1573. as it was causing pdn toolbars to not have the correct stacking.
  1574. 2006-08-18 Mike Kestner <[email protected]>
  1575. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  1576. calculation. Not sure why control should ever be setting a negative
  1577. width though. Fixes #78931.
  1578. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  1579. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  1580. null items in ObjectCollection class.
  1581. * ListBox.cs.: Likewise.
  1582. 2006-08-18 Atsushi Enomoto <[email protected]>
  1583. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  1584. as the base method in ThemeWin32Classic should work fine.
  1585. Fixed bug #78607.
  1586. 2006-08-18 Jackson Harper <[email protected]>
  1587. * Binding.cs: When validating if the value entered doesn't convert
  1588. properly reset to the old value.
  1589. * RadioButton.cs: Don't fire click when we get focus.
  1590. 2006-08-18 Jackson Harper <[email protected]>
  1591. * FileDialog.cs: Paint the selection on the directory combobox the
  1592. same way as on MS.
  1593. 2006-08-17 Jackson Harper <[email protected]>
  1594. * ErrorProvider.cs: Don't allow the error control to be selected.
  1595. * Control.cs: Don't send the SetFocus messages, the control
  1596. activation will do this, and if we do it blindly here validation
  1597. does not work.
  1598. 2006-08-17 Jackson Harper <[email protected]>
  1599. * Control.cs:
  1600. * ContainerControl.cs: Make validation events fire in the correct
  1601. order. TODO: For some reason the first validation event is not
  1602. getting fired.
  1603. 2006-08-17 Mike Kestner <[email protected]>
  1604. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  1605. 2006-08-17 Mike Kestner <[email protected]>
  1606. * ComboBox.cs : implement scroll wheel support for popped-down
  1607. state. Fixes #78945.
  1608. 2006-08-17 Jackson Harper <[email protected]>
  1609. * TreeView.cs: Specify treeview actions (old patch that didn't get
  1610. committed for some reason).
  1611. - Don't let the mouse wheel scroll us too far. Just want to make
  1612. the bottom node visible, not scroll it all the ways to the top.
  1613. 2006-08-17 Jackson Harper <[email protected]>
  1614. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  1615. 2006-08-17 Mike Kestner <[email protected]>
  1616. * ComboBox.cs : don't do mouseover selection in simple mode.
  1617. 2006-08-16 Jackson Harper <[email protected]>
  1618. * Form.cs: Fire the closing events for all the mdi child windows
  1619. when a window is closed. If the cancel args are set to true, the
  1620. main window still gets the event fired, but it doesn't not close.
  1621. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  1622. handler, instead of when the button is clicked, so cancelling the
  1623. close works correctly.
  1624. * ComboBox.cs: Send the mouse down to the scrollbar.
  1625. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  1626. * ListBox.cs: When passing 'null' to SelectedItem,
  1627. set SelectedIndex to -1, to unselect items. This is the
  1628. observed behaviour in .Net.
  1629. 2006-08-16 Peter Dennis Bartok <[email protected]>
  1630. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  1631. MS flags saying there won't be any. (fixes #78800)
  1632. * Control.cs (HandleClick): Made virtual
  1633. 2006-08-16 Atsushi Enomoto <[email protected]>
  1634. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  1635. cultures. Fixed bug #78399.
  1636. 2006-08-16 Jackson Harper <[email protected]>
  1637. * Form.cs: Use the MdiClients MdiChildren property to access
  1638. MdiChildren instead of creating the array from the child controls.
  1639. * MdiClient.cs: Maintain a separate array of the mdi children, so
  1640. that insertion order is maintained when the Z-order is changed.
  1641. 2006-08-16 Mike Kestner <[email protected]>
  1642. * ListView.cs : add an ItemComparer and default to it for sorting.
  1643. Fixes #79076, but sorting needs a complete overhaul to be compat with
  1644. MS.
  1645. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1646. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  1647. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1648. * Hwnd.cs (Mapped): Properly traverse the tree
  1649. 2006-08-15 Chris Toshok <[email protected]>
  1650. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  1651. pass manager.Current.GetType() to ParseData. It has to be the
  1652. property type. So, hold off doing the ParseData until we're in
  1653. SetPropertyValue where we know the type. This fixes the crash in
  1654. #78821 but the textbox is still empty.
  1655. 2006-08-15 Chris Toshok <[email protected]>
  1656. * DataGrid.cs:
  1657. - when we're scrolling, only call Edit() again if the
  1658. current cell is still unobscured. Fixes bug #78927.
  1659. - when handling mousedown on a cell, ensure the cell is visible
  1660. before calling Edit.
  1661. - remove the properties from DataGridRow, and remove the
  1662. DataGridParentRow class altogether.
  1663. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1664. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  1665. fire OnTextChanged by ourselves. There's no point calling base,
  1666. we don't set the base value anywhere else. Fixes #78773.
  1667. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1668. * ListBox.cs: Call CollectionChanged when modifying
  1669. an item from Items indexer, to update the actual items
  1670. in the list box.
  1671. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1672. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  1673. to match .Net behaviour.
  1674. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1675. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  1676. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1677. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  1678. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1679. * MessageBox.cs: Prevent potential NRE exception.
  1680. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  1681. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1682. * MessageBox.cs: Calculate the owner of a messagebox, also make
  1683. it topmost. Fixes #78753
  1684. 2006-08-14 Chris Toshok <[email protected]>
  1685. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  1686. programmatically move windows. first, set the PPosition hint as
  1687. well as the USPosition hint. Second include some code from pdb
  1688. that sets the window type to NORMAL when we set the transient for
  1689. hint. This is because, in the absence of a window type, metacity
  1690. thinks any window with TransientFor set is a dialog, and refuses
  1691. to let us move it programmatically. fascists.
  1692. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1693. * XplatUIX11.cs: When setting normal hints, take into consideration
  1694. an different hints previously set so we don't delete them (fixes #78866)
  1695. 2006-08-12 Chris Toshok <[email protected]>
  1696. * ToolBarButton.cs: make Layout return a boolean, if something to
  1697. do with the button's layout changed.
  1698. * ToolBar.cs:
  1699. - add another parameter to Redraw, @force, which all existing
  1700. calls set to true.
  1701. - make the Layout function return a boolean which is true if the
  1702. layout has actually changed. Redraw now uses this (and @force)
  1703. to determine when to invalidate. At present the only place
  1704. where @force can be false is the call from OnResize, when
  1705. background_image == null. So, resizing a toolbar when the
  1706. layout doesn't change results in no drawing.
  1707. 2006-08-12 Chris Toshok <[email protected]>
  1708. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  1709. the VScrollBar and HScrollbar reversed. oops.
  1710. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  1711. scrollbars. we were assigning them twice (once in
  1712. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  1713. therefore causing two scrollbar resizes (and redraws?) to happen
  1714. per grid resize.
  1715. 2006-08-12 Chris Toshok <[email protected]>
  1716. * ToolBarButton.cs: redraw the entire button if the theme tells us
  1717. to.
  1718. * Theme.cs: add ToolBarInvalidateEntireButton.
  1719. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  1720. buttons, just the border.
  1721. * ThemeNice.cs: redraw the entire toolbar button since we need to
  1722. draw the highlight image.
  1723. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  1724. we need to redraw the entire button (not just the border).
  1725. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1726. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  1727. for vertical bars. Fixes the mismatches shown by #78513
  1728. 2006-08-11 Alexander Olk <[email protected]>
  1729. * FileDialog.cs: If a saved/remembered path doesn't exist
  1730. anymore, fall back to "Desktop".
  1731. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1732. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  1733. parent. It's apparently legal to not have one
  1734. * XplatUIX11.cs:
  1735. - SetZOrder: Don't try to set Z-Order on an unmapped window
  1736. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  1737. it unless the coordinates are negative
  1738. 2006-08-10 Mike Kestner <[email protected]>
  1739. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  1740. when setting to null per msdn docs. Fixes #78854.
  1741. 2006-08-10 Chris Toshok <[email protected]>
  1742. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  1743. flickering by setting a clip rectangle on the Graphics when we
  1744. need to redraw just a particular menuitem. Also, rename "OnClick"
  1745. to "OnMouseDown" to reflect what it actually is.
  1746. * Form.cs: track the OnMouseDown change.
  1747. 2006-08-10 Peter Dennis Bartok <[email protected]>
  1748. * CommonDialog.cs: Properly inherit the CreateParams from the form
  1749. and only change what we need. Fixes #78865
  1750. 2006-08-10 Chris Toshok <[email protected]>
  1751. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  1752. flickering in flat mode (and most of the flickering in general) by
  1753. only invalidating the button border (and not the entire rectangle)
  1754. when the state changes. A couple of cases still flicker:
  1755. ToggleButtons, and the dropdown arrow case when the user mouse
  1756. ups.
  1757. 2006-08-10 Alexander Olk <[email protected]>
  1758. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  1759. for german keyboards. Numlock state shouldn't affect the behaviour
  1760. of the Del key. Fixes bug #78291.
  1761. 2006-08-10 Chris Toshok <[email protected]>
  1762. * ListControl.cs: remove the items.Clear line from BindDataItems,
  1763. as this is the first thing done by both subclasses in their
  1764. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  1765. passed -1, refresh the list. This gets databinding working when
  1766. the datasource is set on the list before the datasource is
  1767. populated (as in wf-apps/ReportBuilder.)
  1768. * ComboBox.cs: remove the argument to BindDataItems. This call
  1769. should really go away, and be initiated by the ListControl code.
  1770. * ListBox.cs: same.
  1771. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1772. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  1773. if no data is in the document when the control is displayed
  1774. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1775. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  1776. yes (fixes #78806)
  1777. * TextControl.cs:
  1778. - PositionCaret: Allow positioning of caret but don't call methods
  1779. requiring a handle if the window isn't created yet
  1780. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  1781. - owner_HandleCreated: Don't position the caret, just update it's
  1782. location. User might have already set a different position
  1783. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1784. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  1785. windows. Screws up the returned coordinates for child windows.
  1786. Fixes #78825. I'm hoping this doesn't break something, since the
  1787. code was explicitly put in 8 months ago, but no bug was attached.
  1788. Menus still seem to work properly.
  1789. 2006-08-08 Chris Toshok <[email protected]>
  1790. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  1791. supposed to do - delay data binding until the EndInit call. Also,
  1792. make the table style collection's CollectionChangeAction.Refresh
  1793. work properly.
  1794. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  1795. (with action = Refresh) when a consituent table's MappingName is
  1796. changed.
  1797. 2006-08-08 Chris Toshok <[email protected]>
  1798. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  1799. Invalidate, since changing the text can change the size of the all
  1800. toolbar buttons.
  1801. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1802. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  1803. we don't have it yet
  1804. 2006-08-08 Chris Toshok <[email protected]>
  1805. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  1806. dialog, as this causes X errors later on, since we actually
  1807. destroy the window. Instead, .Hide() it.
  1808. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1809. * ComboBox.cs: Added focus reflection for popup window
  1810. * XplatUIX11.cs:
  1811. - Removed transient setting for non-app windows for now, not sure it
  1812. was needed
  1813. - Fixed logic checking if we have captions when deciding
  1814. override_redirect, WS_CAPTION is two bits and a 0 check was not
  1815. sufficient
  1816. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  1817. complicated
  1818. * Form.cs:
  1819. - AddOwnedForm: Don't just add the form to the list, call the property
  1820. to ensure the driver is informed about the ownership as well
  1821. - CreateHandle: Set the TopMost status in the driver if we have an owner
  1822. * XplatUI.cs: Fixed debug statement
  1823. 2006-08-08 Jonathan Pobst <[email protected]>
  1824. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1825. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  1826. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  1827. TrackBarRenderer.cs: Make constructor private.
  1828. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  1829. * ProfessionalColorTable.cs: Make properties virtual.
  1830. 2006-08-06 Duncan Mak <[email protected]>
  1831. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  1832. is not changing.
  1833. 2006-08-04 Jonathan Pobst <[email protected]>
  1834. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1835. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  1836. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  1837. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  1838. Initial import of new 2.0 classes.
  1839. 2006-08-04 Jonathan Pobst <[email protected]>
  1840. * Application.cs: Add 2.0 VisualStyles properties.
  1841. 2006-08-04 Jonathan Pobst <[email protected]>
  1842. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  1843. XplatUIX11.cs: Create property to allow access to existing private
  1844. variable "themes_enabled"
  1845. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  1846. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  1847. file size, as otherwise our class libraries fail using windows. Fixes
  1848. bug #78759.
  1849. 2006-08-04 Jackson Harper <[email protected]>
  1850. * Form.cs:
  1851. * XplatUIX11.cs: Move the toolwindow window manager creation into
  1852. the X11 driver, this way on win32 we can let windows create/handle
  1853. the toolwindows.
  1854. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  1855. * PrintDialog.cs: Remove some redundant checks, add some others,
  1856. clean some code, and move the focus to the text boxes when the
  1857. values are incorrect.
  1858. 2006-08-04 Alexander Olk <[email protected]>
  1859. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  1860. 2006-08-03 Alexander Olk <[email protected]>
  1861. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  1862. handled correctly. Fixes bug #79001.
  1863. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  1864. * PrintDialog.cs: The "Copies" numeric up down must have
  1865. set the Minimum property to 1; only if the value is bigger
  1866. than 1, activate "Collate" check box. This is the behaviour of .Net.
  1867. Also modify the Document elements only if it is not null.
  1868. 2006-08-03 Jackson Harper <[email protected]>
  1869. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  1870. length. (We have a larger array then actual node count).
  1871. 2006-08-03 Jackson Harper <[email protected]>
  1872. * ComboBox.cs: Don't show selection by default.
  1873. - The SelectAll isn't needed here, since the focus code should do
  1874. that
  1875. - DDL style lists to manual selection drawing, so when they
  1876. get/lose focus they have to invalidate.
  1877. 2006-08-03 Peter Dennis Bartok <[email protected]>
  1878. * TextBoxBase.cs: Don't always show all selections by default.
  1879. 2006-08-03 Jonathan Pobst <[email protected]>
  1880. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  1881. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  1882. Fixed various typos.
  1883. 2006-08-03 Alexander Olk <[email protected]>
  1884. * Control.cs: Removing the controls in a ControlCollection with
  1885. Clear now hides the controls as expected. Fixes bug #78804.
  1886. 2006-08-03 Jackson Harper <[email protected]>
  1887. * Control.cs: Revert previous focus patch, it breaks reflector.
  1888. 2006-08-03 Jackson Harper <[email protected]>
  1889. * ComboBox.cs: Cleanup selection and focus with the combobox.
  1890. This also eliminates some duplicated keyboard code, since now
  1891. everything is handled by the main class.
  1892. - Make list selection work on mouse up instead of down, to match
  1893. MS.
  1894. 2006-08-02 Jackson Harper <[email protected]>
  1895. * Control.cs: Setting focus needs to go through the whole
  1896. selection mechanism.
  1897. 2006-08-02 Chris Toshok <[email protected]>
  1898. * PrintPreviewDialog.cs: change MinimumSize to use
  1899. base.MinimumSize so it works.
  1900. 2006-08-02 Peter Dennis Bartok <[email protected]>
  1901. * TextControl.cs:
  1902. - UpdateCaret: Added sanity check in case caret isn't defined yet
  1903. - Line.Delete: Now updating selection and caret markers if we're
  1904. transfering a node (Properly fixes #78323)
  1905. - SetSelectionEnd: Added sanity check
  1906. * TextBoxBase.cs: Removed broken attempt to fix #78323
  1907. 2006-08-01 Chris Toshok <[email protected]>
  1908. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  1909. Close() call is handled in Form, not here.
  1910. 2006-08-01 Chris Toshok <[email protected]>
  1911. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  1912. layout/rendering.
  1913. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  1914. for sizes < 100% zoom. The code now aggressively attempts to keep
  1915. from calling document.Print (), and tries not to use the scaling
  1916. g.DrawImage whenever possible (it still does if you scale to >
  1917. 100%, since usually that involves huge images).
  1918. * PrintPreviewControl.cs: hook up the close button.
  1919. 2006-08-01 Jonathan Pobst <[email protected]>
  1920. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  1921. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  1922. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  1923. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  1924. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  1925. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  1926. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  1927. Removed [Serializable] for 2.0 Event Handlers.
  1928. 2006-07-31 Jackson Harper <[email protected]>
  1929. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  1930. * TextControl.cs: Uncomment out the body of this method.
  1931. 2006-07-31 Alexander Olk <[email protected]>
  1932. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  1933. standard cursors.
  1934. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1935. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  1936. that embed TextBox and need selections visible even if textbox is not
  1937. focused to enforce that behaviour.
  1938. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  1939. selection drawing
  1940. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1941. * TextControl.cs:
  1942. - Added new SetSelectionStart/SetSelectionEnd overloads
  1943. - Fixed viewport width assignment to be accurate
  1944. - Adjusted alignment line shift calculations to allow cursor on right
  1945. aligned lines to be always visible at the right border (like MS)
  1946. * TextBoxBase.cs:
  1947. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  1948. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  1949. - CalculateScrollBars: Use ViewPort size instead of window size, to
  1950. properly consider space occupied by the border and scrollbars
  1951. (Fixes #78661)
  1952. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  1953. calculations; no longer leaves artifacts
  1954. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  1955. calculation bugs (Still missing right/center align calculations)
  1956. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1957. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  1958. use of both scroll rect and clip rect, as they do the same.
  1959. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1960. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  1961. in the event handler (fixes #78912)
  1962. 2006-07-31 Chris Toshok <[email protected]>
  1963. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  1964. grid.ListManager.Count, since grid.ListManager might be null.
  1965. This of course begs the question "why are we drawing rows for a
  1966. grid with no list manager (and therefor no rows)?" Fixes the
  1967. crash in bug #78929.
  1968. 2006-07-31 Chris Toshok <[email protected]>
  1969. * RelatedPropertyManager.cs: Don't always chain up to the parent
  1970. ctor. instead, call SetDataSource if the parent's position is !=
  1971. -1. Fixes the crash in #78822.
  1972. 2006-07-31 Chris Toshok <[email protected]>
  1973. * DataGrid.cs (get_ListManager): use field instead of property
  1974. accessors for datasource and datamember.
  1975. (RowsCount): make internal again.
  1976. (OnMouseDown): end edits before resizing columns/rows.
  1977. (OnMouseUp): restart edits after resizing columns/rows.
  1978. 2006-07-30 Peter Dennis Bartok <[email protected]>
  1979. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  1980. This fixes the situation where the last set cursor is displayed
  1981. whenever the mouse is over scrollbars.
  1982. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  1983. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  1984. Document properties, as well as initial values.
  1985. 2006-07-29 Peter Dennis Bartok <[email protected]>
  1986. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  1987. and ClientEdge results in a 3-pixel border, which is
  1988. wrong.
  1989. 2006-07-28 Jackson Harper <[email protected]>
  1990. * TreeNodeCollection.cs: Fix the clear method.
  1991. - Fix the Shrink also
  1992. 2006-07-27 Jackson Harper <[email protected]>
  1993. * TreeView.cs: Make sure the visible order is computed when we
  1994. attempt to size the scrollbars (for trees that mess with the
  1995. scrolling when they shouldn't.
  1996. - Make sure to give the scrollbars valid values.
  1997. 2006-07-26 Peter Dennis Bartok <[email protected]>
  1998. * XplatUIX11.cs: Move motion compression code to where it
  1999. has less performance impact
  2000. 2006-07-26 Jackson Harper <[email protected]>
  2001. * UpDownBase.cs: When the control is selected make the child
  2002. controls non selectable, so that a click on them won't do a
  2003. focus/unfocus cycle.
  2004. - Don't give focus to the text box when the spinner is selected.
  2005. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2006. 2006-07-26 Chris Toshok <[email protected]>
  2007. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2008. satisfied with this solution. If the bitmaps are small, we should
  2009. just cache them in the PrintPreviewDialog and draw them here.
  2010. Also, the layout is broken for the 2-up and 3-up cases.
  2011. * Theme.cs: add PrintPReviewControlPaint.
  2012. * PrintPreviewDialog.cs: first pass implementation.
  2013. * PrintPreviewControl.cs: first pass implementation. No
  2014. scrollbars yet.
  2015. * PrintDialog.cs: only validate fields if that particular portion
  2016. of the UI is enabled. Also, set the document's controller to a
  2017. PrintControllerWithStatusDialog wrapping the document's print
  2018. controller.
  2019. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2020. bring up a SaveFileDialog (i hope we don't want to match the
  2021. behavior of the crappy windows file entry) and set the
  2022. PrinterSettings.PrintFileName accordingly.
  2023. 2006-07-26 Jackson Harper <[email protected]>
  2024. * ContainerControl.cs: Add a field that disables auto selecting
  2025. the next control in a container when the container is activated.
  2026. * UpDownBase.cs: Don't select the text box when the up down is
  2027. selected.
  2028. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2029. * XEventQueue.cs: Added methods for peeking (used for compression
  2030. of successive events)
  2031. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2032. mouse move events (fixes #78732)
  2033. 2006-07-25 Jackson Harper <[email protected]>
  2034. * UpDownBase.cs: Use an internal class for the textbox so that we
  2035. can control focus. the updown control should always have focus,
  2036. if either the text area or the buttons are clicked.
  2037. - Send the key messages to the textbox, since it never actually
  2038. has focus
  2039. - Activate and decativate the textbox caret.
  2040. 2006-07-24 Jackson Harper <[email protected]>
  2041. * Control.cs: Use the directed select when selecting a control,
  2042. this way the container controls override will get called and the
  2043. whole ActiveControl chain will get triggered. TODO: probably need
  2044. to make sure this gets done everywhere instead of the old
  2045. Select(Control).
  2046. * ContainerControl.cs: Implement the directed Select method to
  2047. find and activate the correct child control.
  2048. 2006-07-22 Mike Kestner <[email protected]>
  2049. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2050. menu handling code so that clicks without a grab work too.
  2051. [Fixes #78914]
  2052. 2006-07-22 Alexander Olk <[email protected]>
  2053. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2054. Added some small optimizations.
  2055. 2006-07-21 Matt Hargett <[email protected]>
  2056. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2057. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2058. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2059. tests pass and match MS in some strange border cases.
  2060. 2006-07-21 Chris Toshok <[email protected]>
  2061. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2062. parent row buttons.
  2063. * Theme.cs: change args to DataGridPaintParentRow.
  2064. * DataGrid.cs: Don't use controls for the relation links and
  2065. parent buttons, so we have to handle all their interactions in
  2066. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2067. when we're navigating through child tables, so we can reinstate
  2068. selection, expanded state, current cell, etc.
  2069. 2006-07-20 Chris Toshok <[email protected]>
  2070. * ToolBar.cs: When we redraw a button, for whatever reason,
  2071. there's no reason to redraw the entire toolbar. Also, don't call
  2072. Control.Refresh from within Redraw, as it's much heavier than
  2073. Invalidate (which is really what we want).
  2074. 2006-07-20 Chris Toshok <[email protected]>
  2075. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2076. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2077. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2078. traces from within a debug IBindingList datasource
  2079. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2080. to work in a similar fashion.
  2081. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2082. * ListBox.cs: Don't call Sort () when setting
  2083. the Sorted property to false (avoid an unnecessary sort).
  2084. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2085. * ListControl.cs: DataSource should throw an ArgumentException
  2086. instead of a normal exception when the argument is not of the
  2087. correct type.
  2088. 2006-07-20 Mike Kestner <[email protected]>
  2089. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2090. key events before MWF gets its paws on them. Adapted from a
  2091. suggestion by eno.
  2092. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2093. up/down/left/right navigation. Override the new internal control
  2094. method to steal the events since they never make it to WndProc.
  2095. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2096. since the drawing code prefers pushed to hilight. Invalidate on
  2097. Hilight changes. Fixes #78547 and #78525.
  2098. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2099. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2100. the canvas size. Fixes #78868
  2101. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2102. * Splitter.cs: Track requested split position until first layout
  2103. is performed. Fixes #78871
  2104. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2105. * Application.cs: Removed code that forces 1.x for the version
  2106. number if the version started with 0. Not sure why that code was
  2107. there and I couldn't find any bugs that indicated we needed it.
  2108. Fixes #78869
  2109. 2006-07-20 Alexander Olk <[email protected]>
  2110. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2111. ResetDefaults(), just write some output to the console until it's
  2112. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2113. 2006-07-19 Jonathan Chambers <[email protected]>
  2114. * PropertyGridView.cs: set StartPosition of drop down forms
  2115. so they appear in correct initial spot. Fixes #78190.
  2116. 2006-07-19 Mike Kestner <[email protected]>
  2117. * ThemeWin32Classic.cs: use parent background color when drawing
  2118. flat toolbars. Restructure the conditionals to make sure non-flat
  2119. non-Divider toolbars are filled too. Fixes #78837.
  2120. 2006-07-19 Mike Kestner <[email protected]>
  2121. * ListBox.cs: Sort on collection changes even if the handle
  2122. isn't created yet. Fixes #78813.
  2123. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2124. * ListControl.cs: DisplayMember should never be null,
  2125. and now we assign String.Empty when null is passed to it (this
  2126. is the .Net way).
  2127. 2006-07-17 Mike Kestner <[email protected]>
  2128. * ListViewItem.cs: restructure Font and subitem Font handling
  2129. to hold a specific font and refer back to owner on null.
  2130. Fixes #78761.
  2131. 2006-07-17 Mike Kestner <[email protected]>
  2132. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2133. discarding explicit heights for non-AutoSize toolbars. Need to
  2134. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2135. 2006-07-15 Jackson Harper <[email protected]>
  2136. * LabelEditTextBox.cs:
  2137. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2138. class automatically 'closes' itself when it gets the enter key or
  2139. loses focus.
  2140. - Use the client rectangle when setting the trees scrollbars, so
  2141. border style is taken into account.
  2142. 2006-07-14 Jackson Harper <[email protected]>
  2143. * TreeNode.cs:
  2144. * TreeView.cs: Make the editing work similar to MSs, firing the
  2145. events correctly and ending edits correctly.
  2146. 2006-07-14 Mike Kestner <[email protected]>
  2147. * ToolBarButton.cs:
  2148. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2149. formatting changes gracefully, like setting TextAlign, ImageList,
  2150. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2151. of the MS controls. Things like flat toolbars ignoring button size
  2152. but becoming constant sized at the largest button's size. Normal
  2153. toolbars with an image set cannot be shrunk smaller than the image,
  2154. but text can be clipped/ignored.
  2155. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2156. is zero. Seems like DrawString should be smart enough to not put
  2157. anything on screen though. Also trim labels and ellipsize at the char
  2158. boundary, not word.
  2159. Fixes #78711 and #78483.
  2160. 2006-07-14 Alexander Olk <[email protected]>
  2161. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2162. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2163. is selected.
  2164. 2006-07-14 Alexander Olk <[email protected]>
  2165. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2166. * FolderBrowserDialog.cs:
  2167. - Use MWFConfig to store and read size and position settings
  2168. - Added code to create a new folder (button or context menu).
  2169. Use TreeView labeledit to change the name of the new folder.
  2170. 2006-07-14 Jackson Harper <[email protected]>
  2171. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2172. when the tree is scrolled we end editing.
  2173. 2006-07-14 Alexander Olk <[email protected]>
  2174. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2175. Down arrows
  2176. 2006-07-14 Jonathan Pobst <[email protected]>
  2177. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2178. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2179. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2180. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2181. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2182. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2183. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2184. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2185. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2186. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2187. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2188. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2189. ListViewItemSelectionChangedEventHandler.cs,
  2190. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2191. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2192. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2193. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2194. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2195. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2196. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2197. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2198. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2199. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2200. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2201. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2202. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2203. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2204. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2205. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2206. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2207. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2208. WebBrowserNavigatingEventHandler.cs,
  2209. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2210. 2006-07-14 Jonathan Pobst <[email protected]>
  2211. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2212. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2213. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2214. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2215. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2216. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2217. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2218. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2219. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2220. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2221. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2222. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2223. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2224. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2225. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2226. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2227. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2228. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2229. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2230. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2231. ListViewItemStates.cs, MaskFormat.cs: Added
  2232. 2006-07-13 Jonathan Chambers <[email protected]>
  2233. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2234. Patch from eno for bug 78558.
  2235. 2006-07-13 Jackson Harper <[email protected]>
  2236. * TreeView.cs: When an edit is finished make sure that the
  2237. selected node is visible.
  2238. - When setting the top/bottom use the scrollbars is_visible, so
  2239. everything will be set correctly even if the tree isn't visible
  2240. yet.
  2241. 2006-07-13 Jackson Harper <[email protected]>
  2242. * ComboBox.cs: Revert the item->index part of my previous patch.
  2243. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2244. the edit box has lost focus (duh).
  2245. - Just make the edit box not visible when we get return, that will
  2246. take the focus, which will call EndEdit
  2247. * TreeNode.cs When we start editing, notify the treeview.
  2248. 2006-07-12 Jackson Harper <[email protected]>
  2249. * ComboBox.cs: Clear out old items before setting the item list.
  2250. This prevents databound controls from having their items added
  2251. twice.
  2252. - Switch the combobox to use indices whereever possible instead of
  2253. using Item's. This allows usto navigate through lists that have
  2254. more then one item with the same string value (ie a, b, b, a).
  2255. - Scroll the listboxes scrollbar when a non visible item is
  2256. highlighted
  2257. - Allow keypress to cycle through all the possible values. For
  2258. example if you have b1, b2, b3 and hold down the B key all the
  2259. values will be cycled through.
  2260. 2006-07-12 Jackson Harper <[email protected]>
  2261. * TextBoxBase.cs:
  2262. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2263. this using the internal methods.
  2264. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2265. controls to "override" OnGotFocus and change focus behavior if
  2266. needed.
  2267. - Same thing for LostFocus
  2268. * ComboBox.cs: Pass off focus to the text control properly.
  2269. 2006-07-12 Alexander Olk <[email protected]>
  2270. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2271. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2272. - Better support for Environment.Specialfolders
  2273. - Added support for MWFVFS
  2274. - Made setting SelectedPath work
  2275. 2006-07-12 Jackson Harper <[email protected]>
  2276. * Control.cs: Optimze getting all the controls.
  2277. 2006-07-11 Jackson Harper <[email protected]>
  2278. * ContainerControl.cs: Override SETFOCUS in the container control,
  2279. so that it is not selected on mouse click.
  2280. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2281. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2282. Hopefully we will have a better way once all of focus is complete.
  2283. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2284. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2285. a compile error with csc.
  2286. 2006-07-11 Jackson Harper <[email protected]>
  2287. * Control.cs: When hiding a control only select the next control
  2288. if the current control was focused.
  2289. - Don't handle enter/leave when setting/killing focus, this is
  2290. done by the container control.
  2291. - Remove is_selected, it's not needed anymore.
  2292. - Add utility methods for selecting a child control, and for
  2293. firing the Enter/Leave events.
  2294. * ContainerControl.cs: When a control is activated fire the
  2295. enter/leave events.
  2296. - Don't wrap when processing the tab key, so that focus can be
  2297. moved outside of the container.
  2298. - Use the correct active control
  2299. 2006-07-11 Jackson Harper <[email protected]>
  2300. * ComboBox.cs: Remove some debug code that was blinding me.
  2301. * UpDownBase.cs: These controls actually aren't implicit, they are
  2302. visible to the user.
  2303. 2006-07-10 Chris Toshok <[email protected]>
  2304. * DataGrid.cs: move back to the is_adding boolean field. god i
  2305. hate this is_editing/is_adding/is_changing stuff.
  2306. 2006-07-10 Chris Toshok <[email protected]>
  2307. * DataGridTableStyle.cs: just check if the property type is bool.
  2308. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2309. Don't use CanRenderType.
  2310. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2311. if our text == NullText. Remove CanRenderType.
  2312. * DataGridBoolColumn.cs: nuke CanRenderType.
  2313. * DataGrid.cs: reenable some code to end the current edit inside
  2314. of set_CurrentCell. This fixes the other 1.1.16 regression.
  2315. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  2316. Also, remove the visible_row_count arg from CalcRowHeaders, since
  2317. we don't need to worry about the actual height of the area.
  2318. 2006-07-10 Chris Toshok <[email protected]>
  2319. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  2320. mode, just return.
  2321. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  2322. the real sense of the IsInEditOrNavigateMode property (true =
  2323. navigate, false = edit). Also, update OnKeyPress to reflect this.
  2324. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  2325. column style exists, we still need to set its property descriptor
  2326. to match up with our list manager.
  2327. 2006-07-10 Chris Toshok <[email protected]>
  2328. * ThemeWin32Classic.cs: implement the new row/header painting
  2329. approach. The parent row painting will likely go away and
  2330. replaced with label controls, but the rest seems to work ok (and
  2331. efficiently).
  2332. * Theme.cs: change the way we draw datagrid rows. we don't draw
  2333. the row headers as a block now. Instead we draw them in the
  2334. normal draw-row loop. Add some calls for drawing parent rows and
  2335. relation rows.
  2336. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  2337. a default table style. Set the defaults from ThemeEngine.Current,
  2338. not SystemColors. Fix lots of misc issues with property setters.
  2339. * DataGrid.cs: move loads of style information out of this class
  2340. as it's being duplicated with DataGridTableStyle. keep track of a
  2341. special DataGridTableStyle for the properties we used to mirror
  2342. here. Switch all the style properties to access this table style
  2343. instead of instance fields of this class. Also add a internal
  2344. class to represent parent rows (more needs to be stored here, like
  2345. the selection state from the parent table, as well as the
  2346. expansion state.) Also, for datasources with relations, do the
  2347. right thing for collapse/expand, and add support for the
  2348. navigation/parent row buttons.
  2349. Lastly, fix the crash in the 1.1.16 build.
  2350. * GridTableStylesCollection.cs: make the explicit interface
  2351. implementations call the class's methods as opposed to duplicating
  2352. them.
  2353. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  2354. 0 so the text doesn't jump around when we move the cursor.
  2355. 2006-07-10 Jackson Harper <[email protected]>
  2356. * TextBoxBase.cs:
  2357. * ListBox.cs: Match MS's ToString (this makes debugging focus
  2358. stuff infinitely easier).
  2359. 2006-07-10 Jackson Harper <[email protected]>
  2360. * Control.cs (SelectNextControl): When checking the control's
  2361. parent use this instead of ctrl.parent so that null can be passed
  2362. to SelectNextControl. (I have unit tests for this).
  2363. - Remove unused var.
  2364. 2006-07-10 Chris Toshok <[email protected]>
  2365. * CurrencyManager.cs: correct one regression, the removal of the
  2366. finalType field. Also, add a MonoTODO on CanAddRows, implement
  2367. Refresh() correctly, and fix some event emission in
  2368. ListChangedHandler.
  2369. 2006-07-07 Alexander Olk <[email protected]>
  2370. * FileDialog.cs: Don't use brackets for new folders if they exist
  2371. under *nix. Instead use -(number of existing folders +1).
  2372. 2006-07-07 Alexander Olk <[email protected]>
  2373. * FileDialog.cs:
  2374. - Fixed really nasty bug #78771
  2375. - Don't block the whole GUI when reading directories with a lot of
  2376. entries. Use an other thread instead and call BeginInvoke to
  2377. update the ListView in MWFFileView
  2378. 2006-07-07 Chris Toshok <[email protected]>
  2379. * Control.cs (Dispose): release any Capture when disposing.
  2380. 2006-07-07 Chris Toshok <[email protected]>
  2381. * LinkLabel.cs (Select): if we chain up to the parent, set
  2382. focused_index to -1 so we'll search for the first available link
  2383. the next time the user tabs into us. Also, if the direction is
  2384. backward and focused_index == -1, start the search from the last
  2385. element.
  2386. 2006-07-07 Chris Toshok <[email protected]>
  2387. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  2388. is beyond the end of the text, don't do anything.
  2389. (CreateLinkPieces): set our ControlStyles.Selectable based on
  2390. whether or not we have any links.
  2391. (Link.Invalidate): use a loop instead of foreach.
  2392. (Link.set_Start): null out owner.sorted_links so it'll be
  2393. recreated by CreateLinkPieces.
  2394. 2006-07-06 Chris Toshok <[email protected]>
  2395. * LinkLabel.cs: revert the SetStyle change.
  2396. 2006-07-06 Chris Toshok <[email protected]>
  2397. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  2398. (OnEnableChanged): s/Refresh/Invalidate
  2399. (OnGotFocus): if we have a focused index already, refocus it (so
  2400. if we mouse out/in to the window it'll focus the right link).
  2401. (OnKeyDown): move the tab handling out of here.
  2402. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  2403. when we lose focus.
  2404. (OnMouseDown): don't Capture here - Control handles it. Also,
  2405. focus the active link.
  2406. (OnMouseUp): don't deal with Capture.
  2407. (OnPaintBackgroundInternal): remove.
  2408. (OnTextAlignChanged): CreateLinkPieces before calling the
  2409. superclass's method.
  2410. (OnTextChanged): call CreateLinkPieces before calling superclass's
  2411. method.
  2412. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  2413. move around.
  2414. (Select): implement this, moving the selection between different
  2415. links, and call parent.SelectNextControl if we don't have another
  2416. link to focus in the given direction.
  2417. (CreateLinkPieces): call Invalidate instead of Refresh.
  2418. 2006-07-06 Chris Toshok <[email protected]>
  2419. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  2420. new LinkLabel internals.
  2421. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  2422. over pieces looking for active/focused/etc links. also, deal with
  2423. runs of text (and links) with embedded \n's in them, and use
  2424. MeasureCharacterRanges instead of MeasureString to figure out the
  2425. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  2426. two-step.
  2427. 2006-07-04 Jackson Harper <[email protected]>
  2428. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  2429. XKB or key auto repeat, do it manually. Without key auto repeat,
  2430. when a key is held down we get key press, key release, key press,
  2431. key release, ... with auto repeat we get key press, key press, key
  2432. press ..., and then a release when the key is actually released.
  2433. 2006-07-03 Jackson Harper <[email protected]>
  2434. * TabControl.cs:
  2435. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  2436. rules, they are always control color regardless of the background
  2437. color.
  2438. 2006-07-02 Alexander Olk <[email protected]>
  2439. * FileDialog.cs: Added internal class MWFConfig.
  2440. Removed Registry support and replaced it with support for the new
  2441. MWFConfig class. See MWFConfig comments for more information.
  2442. 2006-06-30 Alexander Olk <[email protected]>
  2443. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  2444. rectangle. Added some patches from eno from bug #78490 and fixed
  2445. the arrow position for small up and down CPDrawScrollButtons.
  2446. 2006-06-30 Jackson Harper <[email protected]>
  2447. * InternalWindowManager.cs: Remove some debug code.
  2448. * Form.cs: When an MdiParent is set to null, the window is
  2449. "detatched" and becomes a normal window.
  2450. * MdiClient.cs: Don't bring the new child form to the front until
  2451. it is activated (setting it as active does this), this makes the
  2452. previously active forms titlebar get redrawn as inactive.
  2453. 2006-06-29 Peter Dennis Bartok <[email protected]>
  2454. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  2455. with later controls
  2456. 2006-06-29 Mike Kestner <[email protected]>
  2457. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  2458. arrow in keynav state. Fixes #78682.
  2459. 2006-06-28 Atsushi Enomoto <[email protected]>
  2460. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  2461. order (fixes #78393)
  2462. 2006-06-28 Jonathan Pobst <[email protected]>
  2463. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  2464. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  2465. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  2466. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  2467. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  2468. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  2469. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  2470. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  2471. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  2472. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  2473. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  2474. values)
  2475. 2006-06-28 Mike Kestner <[email protected]>
  2476. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  2477. 2006-06-28 Atsushi Enomoto <[email protected]>
  2478. * PropertyGrid.cs,
  2479. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  2480. item lines from other area (It also makes BackColor consistent and
  2481. compatible with .NET). Fixed bug #78564.
  2482. 2006-06-28 Jonathan Chambers <[email protected]>
  2483. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  2484. Patch from Eno for #78555.
  2485. 2006-06-27 Chris Toshok <[email protected]>
  2486. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  2487. * DataGridColumnStyle.cs: same.
  2488. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  2489. * DataGridDrawingLogic.cs: nuke.
  2490. 2006-06-27 Chris Toshok <[email protected]>
  2491. * DataGridTableStyle.cs: clean up the constructors, and build the
  2492. list of child relations for this table. I have no idea if this is
  2493. where we should be doing it (it probably isn't), but since we're
  2494. already iterating over the properties..
  2495. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  2496. struct and array for keeping track of row information, similar to
  2497. what's shown in a hack on
  2498. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  2499. * Theme.cs: be consistent about the naming of DataGrid methods,
  2500. prefering ColumnWidths and RowHeights over columnsWidths and
  2501. RowsHeights.
  2502. * ThemeWin32Classic.cs: same, and also add support for variable
  2503. sized rows (and the +/- expansion icons for related rows).
  2504. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2505. * TextBoxBase.cs: Applied Eno's patch from #78660
  2506. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2507. * Form.cs (ScaleCore): We don't want to scale our form if it's
  2508. state is minimized or maximized, but we still need to scale our
  2509. child windows. Also, added try/finally block to ensure layout
  2510. gets reset (Fixes #78697)
  2511. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2512. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  2513. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2514. * Form.cs: Fixed c+p error and added check to resize form if minimum
  2515. size is bigger than current size (Fixes #78709)
  2516. 2006-06-26 Peter Dennis Bartok <[email protected]>
  2517. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  2518. 2006-06-26 Mike Kestner <[email protected]>
  2519. * ComboBox.cs: only do Keypress handling in the combo when there
  2520. are items in the collection. Fixes #78710.
  2521. 2006-06-26 Chris Toshok <[email protected]>
  2522. * Binding.cs: make this work bi-directionally. also, clear up
  2523. other mixups between Push/Pull Data (e.g. we're supposed to pull
  2524. data when validating).
  2525. * BindingManagerBase.cs: trim some fully qualified collection
  2526. types.
  2527. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  2528. 2006-06-23 Chris Toshok <[email protected]>
  2529. * PropertyManager.cs: It appears (according to the unit tests)
  2530. that PropertyManager doesn't use
  2531. PropertyDescriptor.AddValueChanged to track propery value changes
  2532. in its datasource, but uses the same scheme as Binding, where it
  2533. looks for a <Property>Changed event and binds to it.
  2534. Also, according to the docs, IsSuspended always returns false for
  2535. a property manager with a non-null datasource.
  2536. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2537. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  2538. need to update the actual DialogResult. (Fixes #78613)
  2539. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2540. * Form.cs (ShowDialog): Release any captures before running the
  2541. new message pump (fixes #78680)
  2542. 2006-06-22 Mike Kestner <[email protected]>
  2543. * ListView.cs: Layout column widths properly in details mode even
  2544. if HeaderStyle.None is set. Fixes #78691.
  2545. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2546. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  2547. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2548. * Control.cs (ContainsFocus): Using new driver method to get focused
  2549. window, instead of trying to use internal tracking var, which can
  2550. recursion issues (Fixes #78685)
  2551. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  2552. XplatUIWin32.cs: Added GetFocus method to return focused window
  2553. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  2554. * ColorDialog.cs: when the mouse button is pressed inside the color
  2555. matrix, don't let the cursor move out of it until the button is
  2556. released, which is the behavior on windows. Changed 'colours' by
  2557. 'colors' to use the same word consistently.
  2558. 2006-06-21 Chris Toshok <[email protected]>
  2559. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  2560. child relation and back, using a stack). Also, remove
  2561. GetDataSource and the code that calls it - it's not needed. Also,
  2562. track CurrencyManager.ListName's removal.
  2563. 2006-06-21 Chris Toshok <[email protected]>
  2564. * CurrencyManager.cs: push some of the original type checking from
  2565. BindingContext.CreateBindingManager to here, and remove some of
  2566. the finalType stuff. Need more tests to make sure I've got the
  2567. ListName part right, and we might need more in SetDataSource.
  2568. * PropertyManager.cs: add a ctor that takes just the datasource,
  2569. and no property name. Make SetDataSource work with a null
  2570. property_name, and make Current return the data_source if the
  2571. property descriptor is null. this makes 'string foo = "hi";
  2572. BindingContext[foo].Current' return "hi" as it should.
  2573. * RelatedCurrencyManager.cs: make this code more generic - there's
  2574. no reason the parent manager has to be CurrencyManager, and
  2575. there's no reason to pass the DataRelation. It suffices to use a
  2576. BindingManagerBase and PropetyDescriptor.
  2577. * RelatedPropertyManager.cs: make a similar change here.
  2578. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  2579. flower I knew it could be.
  2580. 2006-06-20 Chris Toshok <[email protected]>
  2581. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  2582. data in the source has changed and we need to update the control,
  2583. so s/PullData/PushData.
  2584. * CurrencyManager.cs: Refresh is meant to update the control from
  2585. data in the datasource. So, s/PullData/PushData.
  2586. * BindingContext.cs: add more ugliness (we weren't handling the
  2587. case where data_source = DataTable and data_member = column_name).
  2588. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  2589. from the perspective of the datasource. PullData pulls from the
  2590. control, PushData pushes to the control.
  2591. 2006-06-20 Chris Toshok <[email protected]>
  2592. * BindingContext.cs: rewrite the CreateBindingManager code to
  2593. handle navigation paths more or less properly. This could
  2594. definitely stand some more work, in particular to push the
  2595. recursion up to the toplevel. But that relies on fixes in other
  2596. places (System.Data comes to mind).
  2597. Also, move to a flat hashtable (and encode the twolevel nature of
  2598. the dictionary into the hash key). This lets us implement the
  2599. IEnumerable.GetEnumerator method.
  2600. * RelatedCurrencyManager.cs: new class. Update our view based on
  2601. our relation and our parent CurrencyManager's position.
  2602. * CurrencyManager.cs: split out some logic from the ctor into
  2603. SetView, so it can be called from the new RelatedCurrencyManager
  2604. subclass.
  2605. * RelatedPropertyManager.cs: new class. Update our datasource
  2606. based on the position of our parent CurrencyManager.
  2607. * PropertyManager.cs: split out some logic from the ctor into
  2608. SetDataSource, so it can be called from the new RelatedDataSource
  2609. subclass. Also, make the Current getter return the value
  2610. of the PropertyDescriptor, not the data_source.
  2611. * Binding.cs: no need to duplicate the string splitting code here.
  2612. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2613. * Control.cs:
  2614. - set_Enabled: OnEnabledChanged is not called if the inherited state
  2615. of the control is not altered, even though we might be changing the
  2616. internal state of the control (#78458)
  2617. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  2618. OnEnabledChanged, to allow easy altering of any child window state
  2619. - OnEnabledChanged: Added code to enable/disable driver window state
  2620. - OnParentEnabledChanged: Instead of firing the event, call
  2621. OnEnabledChanged, which will fire the event and also a) set driver
  2622. window state and pass the enabled state to any grandchildren (#78458)
  2623. 2006-06-19 Jackson Harper <[email protected]>
  2624. * InternalWindowManager.cs: We don't set the cursor explicitly
  2625. thats done via the response to NCHITTESTs.
  2626. - Don't need to adjust for titlebar heights anymore, the
  2627. coordinates are coming in the correct coordinates now (see peters
  2628. last patch).
  2629. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2630. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  2631. being translated relative to whole window, instead of client window.
  2632. That caused broken offsets on mouseclick (and caused gas for our
  2633. InternalWindowManager)
  2634. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2635. * TextControl.cs:
  2636. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  2637. - Undo(): Added replay of cursor move on DeleteChars action; added
  2638. calling Undo() again if a recorded cursor move is invalid (to
  2639. ensure that some action is performed on Undo)
  2640. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  2641. 2006-06-16 Jackson Harper <[email protected]>
  2642. * MdiClient.cs: Instead of just sizing maximized windows when
  2643. there is a resize we also have to adjust the Y of minimized
  2644. windows, so they stay pinned to the bottom of the mdi container.
  2645. - Eliminate separate tracking of the active control, we can just
  2646. get this from the controls collection.
  2647. - Paint the decorations for the newly activated titlebar so we get
  2648. a pretty blue bar.
  2649. * InternalWindowManager.cs:
  2650. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  2651. even if they are a tool window.
  2652. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2653. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  2654. undo buffer, these can happen when text was deleted and the cursor
  2655. was recorded first. Since we will also have a recorded cursor
  2656. after the delete this is not an issue. (Fixes #78651)
  2657. 2006-06-14 Peter Dennis Bartok <[email protected]>
  2658. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  2659. instead properly track control states internally (allows us to
  2660. remove is_selected from Control)
  2661. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  2662. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  2663. whose width is not a multiple of 8.
  2664. 2006-06-13 Jackson Harper <[email protected]>
  2665. * MdiClient.cs: Only maximize the next child if the current one
  2666. is maximized.
  2667. 2006-06-13 Chris Toshok <[email protected]>
  2668. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  2669. modified. Also, guard against grid or grid_drawing being null in
  2670. Invalidate.
  2671. * DataGrid.cs: Reformat tons of getters/setters. In the
  2672. DataMember setter, just call SetNewDataSource instead of
  2673. duplicating some of its functionality. In SetNewDataSource, don't
  2674. check ListManager for null, since the property getter creates the
  2675. object if needed.
  2676. * DataGridTableStyle.cs: don't set TableStyle or call
  2677. SetDataGridInternal on the column here, it's done in
  2678. GridColumnStylesCollection.Add.
  2679. * GridColumnStylesCollection.cs: fix all the explicit interface
  2680. implementations to just call our methods. Nuke AddInternal() and
  2681. move the body of it to Add(). Also, add a call to
  2682. column.SetDataGridInternal to Add().
  2683. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  2684. base()+duplicate code. Also, use the Format property instead of
  2685. format to generate an Invalidate ala MS. Lastly, create the
  2686. textbox here, unconditionally.
  2687. (set_Format): call Invalidate.
  2688. (get_TextBox): no need to call EnsureTextBox.
  2689. (Commit): remove the message box.
  2690. (Edit) remove the call to EnsureTextBox.
  2691. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  2692. (EnterNullValue): no need to check textbox for null.
  2693. (HideEditBox): no need to check textbox for null.
  2694. (SetDataGridInColumn): add the textbox to the grid's controls.
  2695. (EnsureTextBox): nuke.
  2696. 2006-06-13 Jackson Harper <[email protected]>
  2697. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  2698. and redraw the buttons when needed. Unhook when the window is
  2699. unmaximized.
  2700. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  2701. needs this so that it can redraw its buttons when the menu is
  2702. repainted.
  2703. * InternalWindowManager.cs:
  2704. * Form.cs: The method order has changed for DrawMaximizedButtons,
  2705. so that it can be a PaintEventHandler.
  2706. 2006-06-13 Jackson Harper <[email protected]>
  2707. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  2708. window is activated and maximized, even if it wasn't before.
  2709. - When a new window is activated repaint the decorations of the
  2710. old one, so that it no longer has the Active "look" (the blue
  2711. titlebar).
  2712. * InternalWindowManager.cs: Open up CreateButtons to base classes
  2713. so they can recreate the buttons on state changes.
  2714. - If a window is maximized give it all three buttons
  2715. * MdiWindowManager.cs: Create the titlebar buttons when the state
  2716. is changed, this is needed because a toolwindow will not have all
  2717. three buttons until it is maximized.
  2718. 2006-06-13 Atsushi Enomoto <[email protected]>
  2719. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  2720. Fixed bug #78609.
  2721. 2006-06-12 Jackson Harper <[email protected]>
  2722. * KeysConverter.cs: Make sure we handle the Ctrl special case
  2723. if its the only key.
  2724. 2006-06-12 Jackson Harper <[email protected]>
  2725. * Theme.cs: Add a method to get the size of a managed window
  2726. toolbar button.
  2727. * InternalWindowManager.cs: Remove the ButtonSize property, this
  2728. should be retrieved from the theme.
  2729. * MdiWindowManager.cs: Get the button size from the theme
  2730. * ThemeWin32Classic.cs: Make the method to get the managed window
  2731. titlebar button size public.
  2732. - Handle the different button sizes of maximized toolwindows
  2733. (should match any maximized window).
  2734. - Get the titlebar height from the theme, not the WM (which gets
  2735. it from the theme).
  2736. 2006-06-12 Jackson Harper <[email protected]>
  2737. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  2738. event down to the mdi window manager.
  2739. - Expose some extra stuff to base classes
  2740. - Make sure to end the Capture on an NC Mouse up, so that we can
  2741. get double clicks properly, and the sizing doens't stick.
  2742. - When doing PointToClient contain it in the workable desktop
  2743. area, this prevents windows from changing size when the cursor is
  2744. pulled outside of the working area while sizing.
  2745. * MdiWindowManager.cs: When we get a double click maximize the
  2746. window.
  2747. - Reset the cursor after handling mode changes.
  2748. 2006-06-12 Peter Dennis Bartok <[email protected]>
  2749. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  2750. current desktop, instead of just assuming a 0, 0 origin. This
  2751. is needed for our internal window manager, to know the top
  2752. margin of the desktop
  2753. 2006-06-12 Chris Toshok <[email protected]>
  2754. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  2755. we need this to get rid of the selected background in the bool
  2756. column.
  2757. (CancelEditing): move the ConcedeFocus call to above the Abort
  2758. call. Also, set is_changing to false and invalidate the row
  2759. header if we were changing before.
  2760. (ProcessKeyPreviewInternal): remove, since noone outside this
  2761. class calls it anymore. Roll the code into ProcessKeyPreview.
  2762. (EndEdit): remove the internal version.
  2763. (InvalidateCurrentRowHeader): make private.
  2764. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  2765. Keys.Escape handling (and with it the last call to
  2766. DataGrid.EndEdit from outside the class.)
  2767. 2006-06-12 Chris Toshok <[email protected]>
  2768. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  2769. (OnKeyPress): set isedit to true.
  2770. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  2771. already handled by the grid.
  2772. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  2773. right. ugh.
  2774. (set_DataSource): SetDataSource always returns true, so stop
  2775. putting it in an if statement.
  2776. (EndEdit): get rid of some {}'s
  2777. (ProcessGridKey): return true in case Keys.Escape.
  2778. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  2779. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  2780. PositionChanged, stopped connecting to CurrentChanged.
  2781. (GetDataSource): simplify this a bunch.
  2782. (SetDataSource): change return type from bool to void.
  2783. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  2784. to this, and make sure we don't set ListManager.Position inside
  2785. set_CurrentCell.
  2786. (OnListManagerItemChanged): if we're passed an actual index,
  2787. redraw that row.
  2788. * CurrencyManager.cs (set_Position): don't call PullData here.
  2789. 2006-06-09 Jackson Harper <[email protected]>
  2790. * TreeNode.cs: Recalculate the visible order before doing the
  2791. Expand/Collapse Below calls, because those calls generate an
  2792. expose.
  2793. - Reduce calls to the TreeView property, which is mildly expensive
  2794. by using a local var.
  2795. * Form.cs: Layout the MDI child windows when creating the parent
  2796. form.
  2797. - Don't use the internal constructor anymore
  2798. * MdiClient.cs: use the parent form width/height (if available)
  2799. when laying out the child windows, we do this because the
  2800. mdiclient isn't docked yet when the initial layout is done.
  2801. - Don't need an internal constructor anymore.
  2802. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2803. * FileDialog.cs: handle access errors when trying to create a folder
  2804. or changing to a directory. No need to initialize out parameters.
  2805. 2006-06-08 Alexander Olk <[email protected]>
  2806. * FileDialog.cs: Append a number when creating a new folder if the
  2807. folder already exists (use parenthesis instead of square brackets)
  2808. 2006-06-08 Alexander Olk <[email protected]>
  2809. * FileDialog.cs:
  2810. - Disabled registry support for windows and added better registry
  2811. error checking for other systems (need to investigate why it
  2812. works perfectly on my system)
  2813. - If a folder already exist show an error MessageBox instead of
  2814. trying to create an indexed name.
  2815. - Fixed a non intentional typo.
  2816. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2817. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  2818. 2006-06-08 Alexander Olk <[email protected]>
  2819. * FileDialog.cs: When creating a new folder don't crash if the
  2820. folder already exists.
  2821. 2006-06-08 Alexander Olk <[email protected]>
  2822. * FileDialog.cs: Allmost a complete rewrite.
  2823. - added a "virtual" file system that handles the differences
  2824. between unix and windows file systems (especially the directory
  2825. structure). Moved most of the directory and file handling code
  2826. into the vfs.
  2827. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  2828. UnixFileSystem and FSEntry.
  2829. - Recently used folder/directory, size, location and used file names
  2830. (file name ComboBox) are now stored in the registry and get read
  2831. before the dialog shows up (fixes part 6 of bug #78446).
  2832. - Creation of new folders/directories is now possible (context menu
  2833. or ToolBar). Added TextEntryDialog for this that fills in the gap
  2834. until ListView.LabelEdit works.
  2835. - Fixed cursor handling (bug #78527) and focus handling for
  2836. PopupButtonPanel
  2837. - Various "Search in" ComboBox enhancements. The content of the
  2838. dropdown listbox now almost matches ms.
  2839. - Changed the behaviour when the user switches to SpecialFolder
  2840. Recent to show the ListView in View.Details.
  2841. - Beside using the ToolBar to change the View property of the
  2842. file ListView it is now possible to use the context menu too.
  2843. 2006-06-08 Alexander Olk <[email protected]>
  2844. * ComboBox.cs: Don't create a new ObjectCollection when an item
  2845. gets inserted. Just insert the item in the existing object_items
  2846. ArrayList.
  2847. 2006-06-08 Jackson Harper <[email protected]>
  2848. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  2849. that the treeview and root node checks are done also, this fixes a
  2850. regression i caused in the unit tests.
  2851. 2006-06-07 Wade Berrier <[email protected]>
  2852. * RichTextBox.cs: More ISO8859-1 -> unicode
  2853. 2006-06-07 Mike Kestner <[email protected]>
  2854. * ComboBox.cs : use items to hold highlight/selection so that
  2855. collection insertions don't require synchronization.
  2856. 2006-06-07 Jackson Harper <[email protected]>
  2857. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  2858. routine. We now always keep the sized edge at the cursor instead
  2859. of computing movement and adjusting rects. There is one buglet
  2860. with this method though when the cursor is moved over area that
  2861. the window can not expand too (such as the toolbars on the desktop).
  2862. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2863. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  2864. here. Fixes crash on startup in AlbumSurfer.
  2865. 2006-06-07 Peter Dennis Bartok <[email protected]>
  2866. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  2867. values
  2868. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2869. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  2870. statement to avoid calling XNextEvent which will block if another thread
  2871. took the event that we were expecting. Fixes bug #78605.
  2872. 2006-06-07 Mike Kestner <[email protected]>
  2873. * ListView.cs : isolated checkbox clicking from the selection logic.
  2874. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  2875. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  2876. * Form.cs: Check that the value passed to Form.DialogResult
  2877. is a valid enum value.
  2878. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2879. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  2880. Computer'. Clicking it in the network view goes to 'My Computer'.
  2881. Added CIFS filesystem type. Display the mount point of filesystems.
  2882. Avoid duplicate mount points (happens for me with CIFS);
  2883. 2006-06-06 Jackson Harper <[email protected]>
  2884. * InternalWindowManager.cs: Draw the maximized windows buttons
  2885. when resizing.
  2886. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2887. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  2888. all other dialogs. Fixes bug #78585.
  2889. 2006-06-06 Mike Kestner <[email protected]>
  2890. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  2891. Only invalidate checkbox on checkstate changes to avoid flicker.
  2892. * ListBox.cs : avoid unselect/select when clicking selected item.
  2893. avoid reselection flicker for already multiselected items.
  2894. Fixes #78382.
  2895. 2006-06-06 Jackson Harper <[email protected]>
  2896. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  2897. the parent form so that the menu is removed if needed.
  2898. 2006-06-06 Mike Kestner <[email protected]>
  2899. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  2900. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  2901. 2006-06-06 Mike Kestner <[email protected]>
  2902. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  2903. 2006-06-06 Jackson Harper <[email protected]>
  2904. * Control.cs: Use the property (instead of the field) to get the
  2905. default cursor so it is instantiated correctly.
  2906. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  2907. resizes so we need to manually repaint the window decorations here.
  2908. - Set the titlebar button locations as soon as they are created,
  2909. otherwise they are not set correctly on win32.
  2910. 2006-06-06 Chris Toshok <[email protected]>
  2911. * CurrencyManager.cs (set_Position): call PullData before
  2912. OnCurrentChanged.
  2913. (AddNew): after calling IBindingList.AddNew, update our
  2914. listposition, and call OnCurrentChanged/OnPositionChanged (without
  2915. calling PullData).
  2916. (OnCurrentChanged): remove the call to PullData from here.
  2917. (OnItemChanged): remove the call to PushData from here.
  2918. (OnPositionChanged): change the test from == null to != null to
  2919. match the other methods.
  2920. (ListChangedHandler): the grossest part of the patch. Implement
  2921. this such that it passes the unit tests in CurrencyManagerTest and
  2922. the output more or less matches that of MS's implementation.
  2923. 2006-06-06 Mike Kestner <[email protected]>
  2924. * ListView.cs : only update check state on single click.
  2925. * ThemeWin32Classic.cs : fix focus drawing for details view without
  2926. fullrowselect. Fixes #78454.
  2927. * XplatUIX11.cs : fix for double click emission.
  2928. 2006-06-05 Jonathan Chambers <[email protected]>
  2929. * PropertyGridView.cs : Applied Atsushi's patch to fix
  2930. font dialog bug (#78197).
  2931. 2006-06-05 Jackson Harper <[email protected]>
  2932. * TreeNode.cs: Compute the next node for expanding/collapsing
  2933. correctly. We now factor in nodes without a NextNode
  2934. correctly. (Fixes somes cases in nunit-gui).
  2935. * InternalWindowManager.cs: Set the bounds when updating the
  2936. virtual position of a tool window.
  2937. 2006-06-05 Chris Toshok <[email protected]>
  2938. * DataGrid.cs: rename cached_currencymgr to list_manager.
  2939. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  2940. some.
  2941. (CurrentRow, CurrentColumn): single accessors so we can make the
  2942. cursor movement code a lot easier to understand.
  2943. (CurrentRowIndex): implement this in terms of CurrentRow.
  2944. (BeginEdit): clean this up a bit.
  2945. (CancelEditing): sort out the is_editing/is_changing/is_adding
  2946. stuff a little.
  2947. (EndEdit): minor changes.
  2948. (OnKeyDown): add a comment about a (most likely) unnecessary
  2949. check.
  2950. (OnMouseDown): cancel editing when we click on a row header. And
  2951. use the CurrentRow setter, not CurrentCell.
  2952. (ProcessDialogKey): directly call ProcessGridKey.
  2953. (UpdateSelectionAfterCursorMove): factor out this common block of
  2954. code (it's used everywhere that we move the cursor by updating row
  2955. or column).
  2956. (ProcessGridKey): pretty substantial overhaul. Use the
  2957. CurrentRow/CurrentColumn properties to make the code a lot more
  2958. readable. Only use the CurrentCell property when we have to
  2959. modify both row and column at once. Tab behavior is still broken,
  2960. and Delete is untested.
  2961. (Select): if we have no selected rows, set selection_start to
  2962. @row.
  2963. (EditCurrentCell): rename EditCell this. It was only ever invoked
  2964. with CurrentCell as the arg, so drop the arg and rename it.
  2965. * DataGridColumnStyle.cs: clean up the constructors a little, and
  2966. drop CommonConstructor().
  2967. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  2968. actually get notified when the user hits it.
  2969. (ProcessKeyMessage): *substantially* simplify this method.
  2970. There's no reason (that I can see) for the textbox to be making
  2971. calls into the datagrid at all. Remove all of them but the ones
  2972. for Enter handling. those will take some more work.
  2973. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  2974. calling HideEditBox.
  2975. (HideEditBox): if we have an active textbox, render it invisible
  2976. without causing a re-layout of the datagrid.
  2977. 2006-06-05 Mike Kestner <[email protected]>
  2978. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  2979. collection changes by resetting it to Items[0]. Fixes #78587.
  2980. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  2981. * MessageBox.cs: if the height of the text is larger than the icon_size,
  2982. use that. Fixes bug #78575.
  2983. 2006-06-05 Jackson Harper <[email protected]>
  2984. * TreeView.cs: Fix line drawing when scrolling. To do this each
  2985. node is basically responsible for drawing its entire horizontal
  2986. area. When drawing a node it draws its parent node lines if
  2987. needed.
  2988. - Adjust the clip area to the viewport rectangle
  2989. - Fix Left/Right key handling to match MS. (It expand/collapses
  2990. and moves to parents/first child but does not move selection to
  2991. sibling nodes).
  2992. - Fix SetTop to work with new bound calculation code
  2993. - When scrollbars are no longer needed we need to reset scrolling
  2994. vars and recalculate the visible order so the redraw is correct
  2995. * TreeNode.cs: We can't expand/collapse nodes with no children.
  2996. 2006-06-03 John Luke <[email protected]>
  2997. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  2998. so the colors work without dev packages
  2999. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3000. * Control.cs
  3001. - Select: Implemented to just use activate. Seems to match MS
  3002. behaviour closest. Documented to only do actual control walking
  3003. based on it's parameters if in a container control so I moved
  3004. the code there.
  3005. - Removed selection check logic from our internal Select() method
  3006. * ContainerControl.cs:
  3007. - Select: Moved selection logic from Control here, since MS documents
  3008. that containers obey the bool arguments. No longer calling base
  3009. 2006-06-02 Jackson Harper <[email protected]>
  3010. * TreeView.cs: If the selected node isn't changed when we get
  3011. focus update the previously selected node so that we see the
  3012. selection box.
  3013. 2006-06-02 Mike Kestner <[email protected]>
  3014. * ComboBox.cs: restructure grab and general mouse event handling.
  3015. Make the composite control raise mouse events like it was a single
  3016. control for leaves/enters/motion/up/down events. fix dropdown list
  3017. coordinate mangling and refactor it into the scrollbar subclass to
  3018. reduce code duplication. Fixes #78282 #78361 and #78457.
  3019. 2006-06-02 Mike Kestner <[email protected]>
  3020. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3021. automatically in the Control.WndProc.
  3022. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3023. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3024. FilterIndex to 2 with only one Filter.
  3025. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3026. * ToolBar.cs: add SizeSpecified property.
  3027. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3028. try to figure out our real size, otherwise fallback to what the
  3029. container says.
  3030. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3031. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3032. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3033. up the event
  3034. 2006-06-01 Mike Kestner <[email protected]>
  3035. * ListView.cs: revamp the focus management in ListView. It still
  3036. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3037. better than not handling focus at all. Will revisit when pdb feels
  3038. the general focus handling is solid. Fixes #78526.
  3039. 2006-06-01 Jackson Harper <[email protected]>
  3040. * TreeView.cs: Set the default border style in the constructor.
  3041. - Move painting to use OnPaintInternal instead of capturing
  3042. WM_PAINT, this is the correct way of doing things
  3043. - UpdateBelow shouldn't invalidate the scrollbar area
  3044. - Cap the top on update below in case the node was above the top
  3045. of the viewport rectangle.
  3046. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3047. * TreeNode.cs: Make is_expanded internal so the treenode
  3048. collection can change it without firing the whole event chain.
  3049. * TreeNodeCollection.cs: When clearing all the child nodes make
  3050. sure to recalc the visible order.
  3051. - Improve algo for remove the top node
  3052. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3053. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3054. SendMessage directly calling window procedures, which in turn might
  3055. call SetFocus()
  3056. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3057. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3058. has focus (works around X11 sending a FocusIn after our SetFocus)
  3059. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3060. 2006-06-01 Alexander Olk <[email protected]>
  3061. * Mime.cs: Fix for the NET_2_0 build.
  3062. NameValueCollection needs StringComparer now.
  3063. 2006-05-31 Chris Toshok <[email protected]>
  3064. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3065. return (via an out parameter) the starting X of the column.
  3066. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3067. (HitTest): add a ColumnResize case here.
  3068. (DrawResizeLine): new function, probably poorly named.
  3069. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3070. only need to keep one reference.
  3071. (set_ListManager): same.
  3072. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3073. Also, add support for HitTestType.ColumnResize.
  3074. (OnMouseMove): add column resize behavior here, and change the
  3075. cursor to the correct one as we move around the datagrid.
  3076. (OnMouseUp): terminate the column resize if we're resizing.
  3077. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3078. for the current cell.
  3079. (ConnectListManagerEvents): use cached_currencymgr.
  3080. (DisconnectListManagerEvents): fill this in, using
  3081. cached_currencymgr.
  3082. (SetCurrentCell): remove cached_currencymgr_events handling.
  3083. (SetDataMember): only call DisconnectListManagerEvents if
  3084. cached_currencymgr is != null.
  3085. (SetDataSource): same.
  3086. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3087. cached_currencymgr.
  3088. 2006-05-31 Jackson Harper <[email protected]>
  3089. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3090. SVN.
  3091. * TreeNode.cs: We get the indent level dynamically right now, so
  3092. don't track it as a member.
  3093. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3094. have parents, treeviews/topnodes setup properly.
  3095. - Don't attempt to track indent level.
  3096. 2006-05-30 Jackson Harper <[email protected]>
  3097. * BindingContext.cs: Create the currency manager tables here.
  3098. This allows us to more easily create null tables (when bad data
  3099. members are used), and more easily create related currency
  3100. managers.
  3101. * CurrencyManager.cs: All the table creation stuff is done by the
  3102. binding context now.
  3103. - Current should throw an exception if listposition is -1.
  3104. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3105. been bound yet.
  3106. 2006-05-30 Mike Kestner <[email protected]>
  3107. * ListView.cs: allow reexpansion of zero-width column headers.
  3108. Fixes #78528.
  3109. 2006-05-28 Chris Toshok <[email protected]>
  3110. * CurrencyManager.cs (get_Current): after the late binding
  3111. listposition = -1 fix, we need to guard against it here and return
  3112. null, otherwise we raise an exception (which is swallowed
  3113. elsewhere, and breaks datagrid databinding.)
  3114. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3115. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3116. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3117. 2006-05-26 Jackson Harper <[email protected]>
  3118. * ControlPaint.cs:
  3119. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3120. values, it's faster and it's all we care about (we don't care if
  3121. the names aren't equal).
  3122. * KeyboardLayouts.cs: Eliminate some dead code.
  3123. - Lazy init things
  3124. * X11Keyboard.cs: Lazy init keyboard detection.
  3125. - Cleanup access modifiers a little.
  3126. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3127. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3128. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3129. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3130. the sizes of each link section, that will result in sizes that
  3131. match DrawString's layout (Fixes #78391)
  3132. 2006-05-27 Alexander Olk <[email protected]>
  3133. * FileDialog.cs: If AddExtension property is true autocomplete the
  3134. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3135. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3136. fix part 8 of bug #78446 for now.
  3137. 2006-05-26 Chris Toshok <[email protected]>
  3138. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3139. invalidate the current row header if we need to, but presumably
  3140. we'll invalidate the row corrsponding to the bounds or
  3141. editingControl.
  3142. (GridHScrolled): switch back to this method, as it's part of the
  3143. public api. *sigh*.
  3144. (GridVScrolled): same.
  3145. (OnMouseWheel): hack up something that more or less works. Call
  3146. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3147. of their code here.
  3148. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3149. can't just set the scrollbar Value and expect to do all the work
  3150. in the ValueChanged handler. Also, Call Update() after scrolling
  3151. in one direction so the other XplatX11.ScrollWindow call has the
  3152. proper stuff in the proper places.
  3153. (EditCell): set is_editing to true before calling .Edit.
  3154. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3155. don't bother comparing first.
  3156. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3157. base.OnKeyPress. this will set is_changing and invalidate the row
  3158. header if necessary.
  3159. (ProcessKeyMessage): for WM_CHAR messages, call
  3160. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3161. and WM_KEYDOWN.
  3162. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3163. it's done in the DataGrid.
  3164. (NextState): call grid.ColumnStartedEditing, which takes care of
  3165. invalidating the row header (and setting is_changing).
  3166. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3167. here. it's done in the DataGrid.
  3168. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3169. * Control.cs: allow changing the cursor when the mouse position is
  3170. out of bounds but Capture is set.
  3171. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3172. linklabel but released somewhere else.
  3173. 2006-05-25 Jackson Harper <[email protected]>
  3174. * TreeView.cs: When we get focus if there is no selected node make
  3175. it the top node
  3176. - Remove some uneeded setup code from Draw.
  3177. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3178. a new node is inserted make the new node the top.
  3179. * XplatUIX11.cs:
  3180. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3181. be used (should be faster).
  3182. 2006-05-25 Chris Toshok <[email protected]>
  3183. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3184. problem with the last commit.
  3185. 2006-05-25 Chris Toshok <[email protected]>
  3186. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3187. need the invalidate call here, while scrolling right-to-left via
  3188. the left arrow key (i.e. moving the editing cell while scrolling).
  3189. * DataGrid.cs (.ctor): remove the initialization of
  3190. ctrl_pressed/shift_pressed. We no longer track them using key
  3191. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3192. to using ValueChanged handlers on the scrollbars instead of
  3193. Scrolled event handlers. This simplifies a bunch of the scrolling
  3194. code.
  3195. (GridHValueChanged): rename from GridHScrolled, and change it to
  3196. work with the new event args.
  3197. (GridVValueChanged): same.
  3198. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3199. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3200. selected cell.
  3201. (ProcessGridKey): correct all the keyboard navigation stuff I
  3202. could find. Ctrl up/down/left/right/home/end work now.
  3203. (EnsureCellVisibility): correct method name spelling. Also,
  3204. simplify this a touch by not explicitly calling the
  3205. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3206. scrollbar value.
  3207. (OnKeyUpDG): no need for this method now.
  3208. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3209. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3210. Fixes bug #78392.
  3211. 2006-05-25 Chris Toshok <[email protected]>
  3212. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3213. r61019.
  3214. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3215. * Application.cs: Moved setting of is_modal and closing to before
  3216. we create the control, to allow the event handlers called as a
  3217. result of creation affect closing. Also removed Gonzalo's previous
  3218. change to setting DialogResult, the behaviour has been moved to
  3219. Form.ShowDialog()
  3220. * Form.cs:
  3221. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3222. handle it instead
  3223. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3224. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3225. the close is cancelled
  3226. 2006-05-25 Jackson Harper <[email protected]>
  3227. * StatusBar.cs: We only need to update the sizes of the other
  3228. panels when we have auto size contents. Also we are only updating
  3229. the contents of the panel, not the borders, so compensate for the
  3230. border width (TODO: get this width from the theme somehow).
  3231. * TreeView.cs: Scrollable is true by default
  3232. - Use invalidate instead of refresh where needed
  3233. - Factor the scrollable value into scrollbar updating
  3234. - Update the scrollbars if the Scrollable property is altered
  3235. - Update the selected node if its ImageIndex is changed
  3236. - Handle null nodes in UpdateNode (mainly so we don't have to
  3237. check if selected is null when updating it
  3238. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3239. are factored into the visible count
  3240. - Use VisibleCount for clarity in the code
  3241. - When the font is changed we need to recurse through all the
  3242. nodes and invalidate their sizes
  3243. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3244. * Application.cs: set the DialogResult to fixed when the main form is
  3245. hidden or destroyed while being modal.
  3246. 2006-05-25 Miguel de Icaza <[email protected]>
  3247. * Theme.cs: Use Tangoified messagebox icons.
  3248. (GetSizedResourceImage): Also cope with width = 0 and do not
  3249. trigger a warning in that case (0 means "give me your icon from
  3250. the resouce, no special size needed).
  3251. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3252. * Application.cs: Leave runloop if the the main modal form is
  3253. hidden (fixes #78484)
  3254. 2006-05-25 Atsushi Enomoto <[email protected]>
  3255. * BindingContext.cs : reject null datasource in Contains() and
  3256. Item[].
  3257. * CurrencyManager.cs : check data_member validity when data_source
  3258. is dataset. When it is late binding, the initial position is -1.
  3259. 2006-05-24 Jackson Harper <[email protected]>
  3260. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3261. inserted nodes that aren't visible. This changes the
  3262. max_visible_order which confuses scrollbar settings.
  3263. - Use the enumerator to get the prev node instead of duplicating
  3264. code.
  3265. * TreeView.cs: Use new method for setting scrollbar values
  3266. - Don't set the bounds every time the scrollbar is updated
  3267. - When updating below the root node use an invalidate instead of a
  3268. refresh to prevent the child controls (scrollbars) from being
  3269. refreshed. (UpdateBelow still needs to be reworked anyways).
  3270. - Reenable SetBottom now that visible orders are set correctly,
  3271. added some debug code incase we ever get bad values there again.
  3272. - Set the scrollbar max to 2 less then the max value, this
  3273. compensates for the max value being one above the node count, and
  3274. for scrollbars adding one extra "notch".
  3275. - When drawing image nodes if there is an imagelist we draw the
  3276. first image in the list if the supplied image index is out of the
  3277. image list's bounds.
  3278. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3279. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3280. we receive a size change from the WM (Fixes #78503)
  3281. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3282. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3283. rectangle (Fixes #78501)
  3284. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3285. * ButtonBase.cs:
  3286. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3287. as a bitfield.
  3288. - Fixed MouseMove to no longer switch pressed state unless the left
  3289. mouse button is pressed. Atsushi provided the original patch (#78485)
  3290. 2006-05-24 Jackson Harper <[email protected]>
  3291. * ScrollBar.cs: New internal methods that allow us to change a
  3292. couple values on the scrollbar (the most common case is maximum
  3293. and large change) without getting multiple invalidates.
  3294. 2006-05-24 Chris Toshok <[email protected]>
  3295. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3296. (Edit): save off the original state in oldState, and set
  3297. grid.is_editing to true.
  3298. (OnKeyDown): abort editing if escape is pressed. also, call
  3299. NextState if space is pressed.
  3300. (OnMouseDown): call NextState.
  3301. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3302. here. Also, only invalidate the row header once (on the initial
  3303. is_changing switch) to save on redraws.
  3304. 2006-05-24 Chris Toshok <[email protected]>
  3305. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3306. if the value in the cell is different than it was before. This
  3307. keeps us from triggering a layout when we move around a datarid
  3308. with a highlighted cell.
  3309. (Edit): suspend layout when creating/positining the text box, and
  3310. resume passing false so we don't ever actually re-layout.
  3311. (ReleaseHostedControl): same.
  3312. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3313. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3314. control-key sequences should go to the datagrid - remove that
  3315. lock. Also, modify the conditions under which we move between
  3316. cells when moving the cursor within a cell, and remove the "this"
  3317. and "base" from field accesses. We weren't even consistent, given
  3318. they all were in the base class.
  3319. 2006-05-24 Atsushi Enomoto <[email protected]>
  3320. * Binding.cs : (.ctor)
  3321. An obvious NRE fix for BindingTest.CtorNullTest().
  3322. 2006-05-23 Chris Toshok <[email protected]>
  3323. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  3324. them between lines. This fixes some quirks editing cells in the
  3325. datagrid.
  3326. 2006-05-23 Jackson Harper <[email protected]>
  3327. * TreeView.cs: Use begin/end update when doing expand/collapse all
  3328. so that we don't get flicker on the scrollbar.
  3329. 2006-05-23 Jackson Harper <[email protected]>
  3330. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  3331. treenode calculations to be independant of the painting code. To
  3332. do this nodes track a visible order which is calculated by the
  3333. treeview.
  3334. - Call new methods for expanding/collapsing nodes. These methods
  3335. use scrollwindow so we don't have to update everything below the
  3336. node.
  3337. * TreeView.cs: Refactored drawing and scrolling code. We don't
  3338. need to update nodes when drawing anymore or calculate scrollbar
  3339. stuff.
  3340. - Added new methods for expanding/collapsing nodes. These methods
  3341. use ScrollWindow so as to not have to redraw all the nodes below.
  3342. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  3343. we add/remove nodes or sort.
  3344. - Handle removing the selected and the top node properly.
  3345. 2006-05-23 Chris Toshok <[email protected]>
  3346. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  3347. maybe this should actually happen in the datagrid code?
  3348. (EndEdit): no need to invalidate anything, given that
  3349. ReleaseHostedControl causes the datagrid to relayout, which
  3350. invalidates everything anyway.
  3351. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  3352. in SetCurrentCell).
  3353. (set_SelectionBackColor): call InvalidateSelection instead of
  3354. Refresh.
  3355. (set_SelectionForeColor): same.
  3356. (BeginEdit): Flesh this out a bit.
  3357. (CancelEditing): only do any of this if we're editing/adding.
  3358. (EndEdit): same.
  3359. (OnMouseDown): there's no need to cancel editing here, it's done
  3360. in SetCurrentCell.
  3361. (SetCurrentCell): only invalidate the current row header if it's a
  3362. different row than the new one.
  3363. (ShiftSelection): fix this to work like MS does.
  3364. (ResetSelection): factor out the invalidation of selected_rows to
  3365. InvalidateSelection.
  3366. (SetDataSource): cancel any editing that's going on.
  3367. * DataGridColumnStyle.cs
  3368. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  3369. call the non-interface version.
  3370. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  3371. header rectangle with the clip rectangle so we don't redraw the
  3372. entire header for just a small area. Gets rid of the last flicker
  3373. when horizontally scrolling.
  3374. (DataGridPaintRow): same.
  3375. 2006-05-23 Mike Kestner <[email protected]>
  3376. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  3377. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  3378. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  3379. Critical bug report.
  3380. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3381. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  3382. and this fixes #78493
  3383. 2006-05-23 Miguel de Icaza <[email protected]>
  3384. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  3385. size is not found.
  3386. * FileDialog.cs: Do not change the background for the side bar as
  3387. it wont work nicely with the theme, and also reduces the artifacts
  3388. in rendering the icons (which I want to fix too).
  3389. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  3390. resources, not resgen resources.
  3391. (PlatformDefaultHandler): Pull images using the new API.
  3392. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3393. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  3394. a reference to the hwnd and will not remove it unless there are
  3395. no pending exposures (fixes #78341)
  3396. * XplatUI.cs: Improved debug
  3397. 2006-05-23 Atsushi Enomoto <[email protected]>
  3398. * MenuAPI.cs : don't handle OnClick event when it was not the left
  3399. button. Fixed bug #78487.
  3400. 2006-05-23 Mike Kestner <[email protected]>
  3401. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  3402. prefer submenus to the top menu for item lookup, to avoid popping down
  3403. top-row items.
  3404. 2006-05-23 Alexander Olk <[email protected]>
  3405. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  3406. Graphics.FillRectangle as the visual results are really bad (even
  3407. on win). We now draw perfect arrows (and perfect shadows when the
  3408. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  3409. Pen.DashPattern to draw the dots of each line.
  3410. 2006-05-22 Alexander Olk <[email protected]>
  3411. * FileDialog.cs: Update the filename combobox when navigating through
  3412. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  3413. 2006-05-22 Mike Kestner <[email protected]>
  3414. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  3415. Fixes #78463.
  3416. 2006-05-22 Mike Kestner <[email protected]>
  3417. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  3418. requests. Fix a misspelled parameter and a copy paste exception error
  3419. in Select.
  3420. 2006-05-22 Peter Dennis Bartok <[email protected]>
  3421. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  3422. to get the same width/height (5/13) on X11 as the default font has on
  3423. win32. This means that our DefaultFont emSize is smaller than the
  3424. the MS SWF equivalent (even thought the width/height stays the same)
  3425. 2006-05-20 Jackson Harper <[email protected]>
  3426. * MdiClient.cs:
  3427. * MdiWindowManager.cs:
  3428. * InternalWindowManager.cs: Make sure to use the border width from
  3429. the theme.
  3430. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  3431. * PrintDialog.cs: Implements printer details
  3432. 2006-05-19 Alexander Olk <[email protected]>
  3433. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  3434. Fixes part 1 and 2 of bug #78446
  3435. 2006-05-19 Peter Dennis Bartok <[email protected]>
  3436. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  3437. instead of sticking to the first ever calculated value
  3438. 2006-05-19 Mike Kestner <[email protected]>
  3439. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  3440. PointToClient, since Capture is set. Fixes #78344.
  3441. 2006-05-19 Mike Kestner <[email protected]>
  3442. * ListView.cs: match MS behavior in Details view where items are not
  3443. drawn if Columns.Count == 0.
  3444. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  3445. Use a separate pen to draw the check, since changing the width affects
  3446. the box as well. Fixes #78454.
  3447. 2006-05-18 Miguel de Icaza <[email protected]>
  3448. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  3449. exception should throw the name of the invalid argument.
  3450. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  3451. there are no files listed.
  3452. 2006-05-18 Jackson Harper <[email protected]>
  3453. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  3454. up.
  3455. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3456. * Control.cs: Brought back our old UpdateZOrder method as a private
  3457. function and switched our calls from UpdateZOrder to the new one.
  3458. This fixes the Paint.Net canvas disappearing bug.
  3459. 2006-05-18 Jackson Harper <[email protected]>
  3460. * Theme.cs:
  3461. * ThemeWin32Classic.cs:
  3462. * InternalWindowManager.cs: Move the drawing into the theme,
  3463. expose everything the theme should need from the window manager.
  3464. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3465. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  3466. from the call to NativeWindow to avoid walking up the parent chain
  3467. further than needed (speeds up setting cursors and avoids setting
  3468. the wrong cursor if a parent has another cursor defined)
  3469. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  3470. the icon as hotspot, not what's contained as hotspot in the icon
  3471. file. This fixes the perceived drawing offset seen with Paint.Net
  3472. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3473. * XplatUIX11.cs:
  3474. - Store the calculated rectangle in Hwnd object and use it when
  3475. setting the client size
  3476. - Force Toolwindows to always be type Dock, to ensure they're on top
  3477. 2006-05-18 Mike Kestner <[email protected]>
  3478. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  3479. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  3480. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  3481. Substantial refactoring to remove confusing nested classes. Coding
  3482. standard and Get+Set->property refactorings. Shift to index based
  3483. highlighting in ComboListBox instead of constantly using IndexOf and
  3484. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  3485. in FileDialog growth. Draw borders manually since Simple mode needs
  3486. to look like two independent controls. Make listbox border
  3487. conditional to DropDownStyle. Improved OwnerDraw support.
  3488. 2006-05-18 Sebastien Pouliot <[email protected]>
  3489. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  3490. Don't set the disposed graphics to null, so we can throw the "right"
  3491. exception if the graphics is reused later (added a flag to avoid
  3492. double disposing). Some behaviours are different under 2.0 and are
  3493. filled under bug #78448.
  3494. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3495. * Control.cs: When double-buffering is enabled, we need to reset
  3496. our graphics context between paint calls. Otherwise, any
  3497. transformations and other alterations on the context will
  3498. become cumulative (#77734)
  3499. 2006-05-18 Mike Kestner <[email protected]>
  3500. * ListView.cs: do focused item selection like MS on clicks.
  3501. Rework focus handling for ItemControl so LostFocus invalidates as
  3502. well.
  3503. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  3504. the ListView ItemControl has focus.
  3505. 2006-05-17 Peter Dennis Bartok <[email protected]>
  3506. * XplatUIX11.cs: If client_window ends up being width or height zero
  3507. due to border settings, move it off window inside whole_window (#78433)
  3508. 2006-05-17 Alexander Olk <[email protected]>
  3509. * Mime.cs: Shrink the mime file cache correctly.
  3510. 2006-05-17 Alexander Olk <[email protected]>
  3511. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  3512. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3513. * XplatUIX11.cs (AddExpose): More sanity checks
  3514. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3515. * XplatUIX11.cs:
  3516. - AddExpose: Don't add expose ranges outside the size of our
  3517. window
  3518. - Cast opacity values to Int32 to avoid crashes with certain
  3519. values
  3520. - Added disabled code paths that protect against illegal cross-
  3521. thread painting (Developers.exe)
  3522. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3523. * ProgressBar.cs: Invalidate the control when it's resized
  3524. since block size is based on control size. (#78388)
  3525. 2006-05-16 Miguel de Icaza <[email protected]>
  3526. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  3527. of setting the incoming argument to the "reset" value, we set the
  3528. this.datamember to string.empty (before we were invalidating the
  3529. incoming data).
  3530. Fixes 78420
  3531. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3532. * Form.cs: Only apply transparency settings after the form
  3533. is created. (Fixes #77800)
  3534. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3535. * ApplicationContext.cs: Grab the HandleDestroyed event so
  3536. we know when to fire OnMainFormClosed
  3537. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3538. * Application.cs: Introduced sub-class to allow tracking of
  3539. threads and centralized triggering of the event mess for
  3540. ThreadExit, AppExit, etc.. (#76156)
  3541. 2006-05-16 Alexander Olk <[email protected]>
  3542. * MimeIcon.cs:
  3543. - Do not return a null icon index value for a mime subclass.
  3544. Instead try the main mime type class too.
  3545. - Seems that some newer distributions don't have a link to some
  3546. gnome default icons anymore. So check the default gnome dir too.
  3547. 2006-05-16 Jackson Harper <[email protected]>
  3548. * MdiClient.cs: Don't paint the parent background image if we have
  3549. our own background image.
  3550. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3551. * Control.cs:
  3552. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  3553. controls, all filled controls are supposed to overlap (#78080)
  3554. - UpdateZOrder is supposed to update the control's z-order in the
  3555. parent's z-order chain. Fixed to behave like that
  3556. - BringToFront: Removed obsolete code
  3557. - SendToBack: Simplyfied
  3558. - SetChildIndex: Trigger layout calculations when Z-order changes
  3559. since layout is done by z-order
  3560. 2006-05-16 Chris Toshok <[email protected]>
  3561. [ fixes bug #78410 ]
  3562. * DataGrid.cs (set_AlternatingBackColor): use
  3563. grid_drawing.InvalidateCells instead of Refresh().
  3564. (set_BackColor): call grid_drawing.InvalidateCells.
  3565. (set_BackgroundColor): use Invalidate instead of Refresh.
  3566. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  3567. invalidate the cell area.
  3568. 2006-05-15 Chris Toshok <[email protected]>
  3569. [ fixes bug #78011 ]
  3570. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  3571. on to DataGridPaintRow.
  3572. (DataGridPaintRow): take a clip argument, and only draw the cells
  3573. which intersect it. same with the not_usedarea.
  3574. * Theme.cs (DataGridPaintRow) add @clip parameter.
  3575. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  3576. XplatUI.ScrollWindow.
  3577. (ScrollToRow): same.
  3578. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  3579. with last column which was causing a gray swath to appear with the
  3580. XplatUI.ScrollWindow code.
  3581. 2006-05-15 Chris Toshok <[email protected]>
  3582. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  3583. use XplatUI.ScrollWindow.
  3584. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  3585. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3586. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  3587. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3588. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  3589. file since there are no equivalent X11 cursors
  3590. 2006-05-15 Atsushi Enomoto <[email protected]>
  3591. * MonthCalendar.cs : DateTimePicker should reflect selected date
  3592. on mouse*up*, not mouse*down*. Fixed originally reported part of
  3593. bug #76474.
  3594. 2006-05-15 Atsushi Enomoto <[email protected]>
  3595. * TabControl.cs : When argument index is equal or more than tab
  3596. count, just ignore. Fixed bug #78395.
  3597. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3598. * Control.cs: Dispose all child controls when control is diposed (#78394)
  3599. 2006-05-14 Alexander Olk <[email protected]>
  3600. * ColorDialog.cs: Finally it is possible to select the color with
  3601. the text boxes
  3602. 2006-05-14 Alexander Olk <[email protected]>
  3603. * PrintDialog.cs: Fix typo
  3604. 2006-05-14 Alexander Olk <[email protected]>
  3605. * PrintDialog.cs: PrintDialog is not resizable
  3606. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  3607. color. Made some ToolBar drawing methods protected virtual.
  3608. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  3609. * PrintDialog.cs: Implementation of the PrintDialog
  3610. 2006-05-12 Chris Toshok <[email protected]>
  3611. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  3612. thumb, instead use MoveThumb. This has the side effect of making
  3613. most of the other thumb moving machinery use MoveThumb as well.
  3614. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  3615. need to actually invalidate the rectangle where the new thumb will
  3616. go.
  3617. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  3618. We force an Update() after, so it's not as fast as it could be,
  3619. but at least there's zero flicker and no droppings.
  3620. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  3621. (UpdateThumbPos): add another argument (dirty), which says whether
  3622. or not to calculate/add dirty regions which we later invalidate.
  3623. For cases where we know we're going to use MoveThumb, we pass
  3624. false for this. Otherwise, pass true.
  3625. 2006-05-12 Jackson Harper <[email protected]>
  3626. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  3627. the status bar.
  3628. 2006-05-12 Peter Dennis Bartok <[email protected]>
  3629. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  3630. and GetClipRegion methods and UserClipWontExposeParent property.
  3631. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  3632. overriding UserClipWontExposeParent property, setting to false, since
  3633. Win32 handles the required expose messages to draw our clipped parent
  3634. areas internally
  3635. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  3636. PaintEventStart to set the user clip region if set.
  3637. * Control.cs:
  3638. - Now internally tracking the Region for the control since we need to
  3639. store it if the handle is not yet created and only set it when it
  3640. becomes created. Before setting the region forced handle creation
  3641. - Added code to draw the parents underneath a user-clipped region
  3642. * Hwnd.cs: Added UserClip property
  3643. 2006-05-12 Chris Toshok <[email protected]>
  3644. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  3645. (set_Maximum): same.
  3646. (set_Minimum): same.
  3647. (set_SmallChange): same.
  3648. (OnMouseUpSB): remove the call to refresh when releasing the
  3649. thumb. We shouldn't need it.
  3650. 2006-05-12 Miguel de Icaza <[email protected]>
  3651. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  3652. AutoSize set to None, we do not need to relayout everything, we
  3653. just need to invalidate the current region.
  3654. (Draw): Do not draw the entire ClientArea, just redraw the
  3655. clip area being passed.
  3656. * MdiClient.cs: Make MdiClient constructor with the Form argument
  3657. internal.
  3658. 2006-05-12 Jackson Harper <[email protected]>
  3659. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  3660. parents background image, but strangely not their own.
  3661. - (DrawStatusBarPanel): Take into account horizontal alignment
  3662. when drawing the strings and icons.
  3663. 2006-05-12 Mike Kestner <[email protected]>
  3664. * ListBox.cs: avoid invalidations for focus when the collection is
  3665. empty.
  3666. 2006-05-12 Chris Toshok <[email protected]>
  3667. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  3668. invalidate the entire thumb area. Call InvalidateDirty which
  3669. limits the redraw to the thumb itself and surrounding pixels.
  3670. * XplatUIX11.cs (ScrollWindow): optimize copying.
  3671. 2006-05-12 Chris Toshok <[email protected]>
  3672. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  3673. Figure out the positioning/layout in a single pass instead of
  3674. multiple recursive invocations. Speeds up the initial display of
  3675. the data grid. Also, make many things private that were
  3676. originally public but unused outside this class.
  3677. 2006-05-11 Jackson Harper <[email protected]>
  3678. * MdiClient.cs: Improved layout code.
  3679. 2006-05-11 Jonathan Chambers <[email protected]>
  3680. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  3681. not SelectedObject.
  3682. 2006-05-11 Chris Toshok <[email protected]>
  3683. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  3684. union of that will always be {0,0,width,height}.
  3685. 2006-05-11 Jackson Harper <[email protected]>
  3686. * Form.cs: Match MS's DefaultSize for forms (they must have
  3687. changed the size in sp2).
  3688. 2006-05-11 Atsushi Enomoto <[email protected]>
  3689. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  3690. 2006-05-11 Atsushi Enomoto <[email protected]>
  3691. * TextControl.cs : Fixed bug #78109. This incorrect position
  3692. comparison caused crash on automatic line split.
  3693. * TextBoxBase.cs : reduce duplicate code.
  3694. 2006-05-10 Jackson Harper <[email protected]>
  3695. * MdiClient.cs: Active form is only sent to the back when using
  3696. the Next form functionality, when a form is clicked the current
  3697. active shouldn't be sent to the back.
  3698. - Layout the mdi windows when the container is first made visible.
  3699. * Form.cs: Give the MdiClient a ref to the containing form when we
  3700. create it.
  3701. 2006-05-10 Atsushi Enomoto <[email protected]>
  3702. * LinkLabel.cs : link_font could be uninitialized, so populate one
  3703. before actual use. Fixed bug #78340.
  3704. 2006-05-10 Atsushi Enomoto <[email protected]>
  3705. * XplatUIX11.cs : clipboard format native value is IntPtr.
  3706. Fixed bug #78283.
  3707. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3708. * Control.cs:
  3709. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  3710. which is passed up the parent chain by DefWndProc
  3711. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  3712. to DefWndProc (#77956)
  3713. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  3714. 2006-05-10 Jackson Harper <[email protected]>
  3715. * MdiClient.cs: We need to remove the controls from the mdi
  3716. collection, when we close the window.
  3717. * MdiWindowManager.cs: Special handling of closing mdi windows.
  3718. * InternalWindowManager.cs: Make the close method virtual so the
  3719. mdi window manager can handle it specially.
  3720. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  3721. * DataGrid.cs:
  3722. - Recalculate grid when the data source has changed
  3723. - Matches styles provided by user from all data sources types
  3724. * DataGridTableStyle.cs: For columns that provided by the user set the
  3725. with the preferred value is there was unassigned.
  3726. * CurrencyManager.cs: throw OnItemChanged event
  3727. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3728. * PictureBox.cs: Don't animate until handle is created. Start animation
  3729. when handle is created.
  3730. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3731. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  3732. current codebase.
  3733. * XEventQueue.cs: We don't need to provide the extra info
  3734. 2006-05-10 Jackson Harper <[email protected]>
  3735. * MdiClient.cs: If the mdi clients parent form has a background
  3736. image set, we draw that background image for the mdi area's
  3737. background.
  3738. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3739. * TextBoxBase.cs: Set IBeam cursor (#78347)
  3740. 2006-05-10 Mike Kestner <[email protected]>
  3741. * ToolBar.cs: fix some text padding issues with ButtonSize
  3742. calculation. Update the default size to match MS documentation.
  3743. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  3744. button size. Fixes #78296.
  3745. 2006-05-10 Mike Kestner <[email protected]>
  3746. * ListBox.cs: use is_visible for scrollbar positioning in case the
  3747. control isn't on screen yet. Fix off by one with Right vs Width
  3748. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  3749. 2006-05-10 Jackson Harper <[email protected]>
  3750. * X11Dnd.cs: Drop to a control with another control on top of it.
  3751. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  3752. be modified in click handlers. TODO: Look for similar problems in
  3753. other controls.
  3754. 2006-05-09 Jackson Harper <[email protected]>
  3755. * Form.cs: Window managers need the old window state when setting
  3756. window state now.
  3757. * InternalWindowManager.cs: Allow the base mdi window manager to
  3758. handle more of the MDI only stuff (like maximize buttons).
  3759. * MdiWindowManager.cs: Fix some snafus in changing the window
  3760. state. Add all the menu functionality, for both popup and
  3761. maximized menus.
  3762. * MdiClient.cs: When a new form is selected the currently
  3763. activated form is sent to the back, this matches MS.
  3764. - Implement a new method to activate the next mdi child window.
  3765. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3766. * Control.cs:
  3767. - Added new InternalCapture method to allow controls to prevent
  3768. the capture behaviour on the click handlers
  3769. - Switched to use InternalCapture
  3770. * ComboBox.cs:
  3771. - Using InternalCapture to prevent mouse captures from being released
  3772. on mouse button release (Fixes #78100)
  3773. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  3774. returns Form borders if a caption is present. (Fixes #78310)
  3775. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3776. * TreeNode.cs: Changed serialization .ctor to not require every field
  3777. to be present. (#78265)
  3778. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  3779. 2006-05-05 Alexander Olk <[email protected]>
  3780. * MimeIcon.cs: for is faster than foreach for strings.
  3781. 2006-05-05 Mike Kestner <[email protected]>
  3782. * CheckedListBox.cs: update check handling code to not use selected.
  3783. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  3784. behavior for visual feedback, motion response, shift/ctrl handling,
  3785. and properly deal with all 4 selection modes. Updates to bounds
  3786. handling logic. Add scroll wheel support. [Fixes #77842]
  3787. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3788. * ListView.cs:
  3789. - Moved adding of Implicit controls into .ctor. That way, subsequent
  3790. creation of the controls will not cause them to think they are
  3791. toplevel windows (fixes #78200 header problem)
  3792. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  3793. - Switched visibility setting of header control to use internal field
  3794. to avoid triggering handle creation
  3795. - Now checking if handle is created before causing a refresh when items
  3796. are added (This makes us now match handle creation time with MS)
  3797. * Splitter.cs: Removed loading of private splitter cursor, switched to
  3798. Cursors version now that that is loading the right ones
  3799. * Cursors.cs: Load proper splitter cursors from resources
  3800. * Cursor.cs: Added second method of loading resource cursors for the
  3801. VS.Net users amongst us
  3802. 2006-05-05 Mike Kestner <[email protected]>
  3803. * ListView.cs: give header_control a minimum size based on the
  3804. ListView size.
  3805. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3806. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  3807. window seems to do that with metacity, so set that type. (#78120)
  3808. 2006-05-05 Mike Kestner <[email protected]>
  3809. * ListViewItem.cs: fix Details mode checkbox layout bug.
  3810. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  3811. at the end of the header, if it exists. [Fixes for #78200]
  3812. 2006-05-04 Jackson Harper <[email protected]>
  3813. * MdiClient.cs: Add a helper property to get the container form.
  3814. * MdiWindowManager.cs: We have to make sure to use the menu origin
  3815. when drawing the icons and buttons, this fixes maximized window
  3816. icons/buttons on win32.
  3817. * InternalWindowManager.cs: Reset the restore captions when a
  3818. window goes from Maximized to Minimized and vice versa. Move the
  3819. DrawMaximizedButtons into the MdiWindowManager source, tool
  3820. windows can't be maximized. NOTE: This could use a little
  3821. refactoring if time ever permits.
  3822. 2006-05-03 Jonathan Chambers <[email protected]>
  3823. * TextBox.cs: Add MWFCategoryAttributes
  3824. * TextBoxBase.cs: Add MWFCategoryAttributes
  3825. * Form.cs: Add MWFCategoryAttributes
  3826. 2006-05-03 Jonathan Chambers <[email protected]>
  3827. * Control.cs: Add MWFCategoryAttributes
  3828. * ScrollableControl.cs: Add MWFCategoryAttributes
  3829. 2006-05-03 Alexander Olk <[email protected]>
  3830. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  3831. Divider is true. Fix a little glitch in PropertyToolBar
  3832. drawing code
  3833. 2006-05-02 Peter Dennis Bartok <[email protected]>
  3834. * Control.cs:
  3835. - Dispose: Call base.Dispose, this causes the disposed event
  3836. to be fired (and probably other, more important stuff)
  3837. - SetVisibleCore: Set is_visible to true after creating the
  3838. window so that the window still gets created invisible (if
  3839. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  3840. to generate a WM_ACTIVE message
  3841. * Form.cs: Call Dispose when we want to destroy the window, instead of
  3842. just destroying the handle (Dispose will do that for us)
  3843. * XplatUIX11.cs:
  3844. - RootWindow also needs a queue, so we can properly process the
  3845. property change events from RootWindow (like Activate)
  3846. - Generatic synthetic WM_ACTIVE message when the active window is
  3847. being destroyed
  3848. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3849. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  3850. bounds are changed
  3851. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3852. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  3853. for determining width and height (image might not be assigned if
  3854. we're drawing an imagelist)
  3855. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3856. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  3857. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  3858. height from system
  3859. * Theme.cs: No longer returns hardcoded menu height, instead calls
  3860. new driver method
  3861. * Form.cs (OnLoad): Scaling happens before triggering Load events
  3862. on MS (# 78257)
  3863. 2006-05-01 Mike Kestner <[email protected]>
  3864. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  3865. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3866. * TextBoxBase.cs: Removed Fixme
  3867. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  3868. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3869. * XplatUIX11.cs:
  3870. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  3871. the rectangle relative to the parent, considering borders. We
  3872. don't really want that.
  3873. - ScrollWindow: Fixed warning to be more understandable
  3874. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  3875. scrollbars and scroll only the visible area
  3876. * RichTextBox.cs: Removed debug output
  3877. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3878. * NumericUpDown.cs (Text): Just use base
  3879. * UpDownBase.cs: Ensure txtView is created before using it
  3880. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3881. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  3882. casting to IntPtr to avoid 64bit overflow errors
  3883. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3884. * Control.cs:
  3885. - AllowDrop: Don't force handle creation.
  3886. - CreateHandle: Added call to tell driver if we're allowed to drop
  3887. 2006-04-27 Alexander Olk <[email protected]>
  3888. * FileDialog.cs: Remember the last directory not only for the
  3889. current instance but also for new FileDialog instances.
  3890. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3891. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  3892. broke sending async messages
  3893. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3894. * XplatUIX11.cs:
  3895. - ScrollWindow: Fixed method. We finally generate expose events again
  3896. for scrolled areas. This was causing 'garbage' when scrolling
  3897. textbox and other controls that used ScrollWindow
  3898. - Switched from using the regular queue for paint events to the MS
  3899. model of 'generating' paint events when the queue is empty.
  3900. We use the new XQueueEvent.Paint subclass to store which windows
  3901. need painting.
  3902. - AddExpose now takes the x/y/width/height of the exposed area
  3903. and inserts the window into the paint queue if not already there
  3904. - InvalidateWholeWindow: Switched to use new AddExpose method
  3905. - UpdateMessageQueue: Added which queue to monitor for paint events
  3906. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  3907. the unlikely case nothing above handles it. We reset the expose
  3908. pending states to get them off the queue.
  3909. - GetMessage: Now pulls a paint event if no other events are in the
  3910. queue
  3911. - Invalidate: Switched to new AddExpose method
  3912. - PeekMessage: Updated to understand pending paint events
  3913. - UpdateWindow: Fixed logic bug. We were only updating if the window
  3914. didn't need updating. Also switched to sending WM_PAINT directly,
  3915. like MS does.
  3916. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  3917. and random access Remove(). The random access is needed to handle
  3918. UpdateWindow() where a WM_PAINT is sent directly without accessing
  3919. the queue.
  3920. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  3921. allow for better feedback when scrolling. Scrollbars are small and
  3922. the immediate update should make it 'feel' more responsive without
  3923. slowing things down. ScrollBar still needs it's invaliate logic
  3924. updated to not always invalidate the whole bar on certain changes.
  3925. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  3926. * Control.cs:
  3927. (BackColor): if the control does not support a transparent background,
  3928. return the default backcolor when the parent backcolor is transparent.
  3929. 2006-04-28 Peter Dennis Bartok <[email protected]>
  3930. * Application.cs: Updated to new StartLoop/GetMessage API
  3931. * RichTextBox.cs: Provide some output on RTF parsing errors
  3932. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  3933. new queue_id argument to GetMessage and PeekMessage to allow faster
  3934. handling of per-thread queues in drivers.
  3935. * Hwnd.cs: Added Queue tracking and property
  3936. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  3937. * XEventQueue.cs: Added thread trackingA
  3938. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  3939. * XplatUIX11.cs:
  3940. - Implemented new per-thread queue
  3941. - GetMessage: Fixed return/break behaviour on several cases. We were
  3942. returning stale messages in some cases, instead of just processing
  3943. the next message
  3944. 2006-04-27 Jonathan Chambers <[email protected]>
  3945. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  3946. 2006-04-27 Peter Dennis Bartok <[email protected]>
  3947. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  3948. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  3949. 2006-04-27 Jonathan Chambers <[email protected]>
  3950. * PropertyGridView.cs: Fix drop down width.
  3951. 2006-04-27 Alexander Olk <[email protected]>
  3952. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  3953. a mess in DrawToolBar, so I removed one of them.
  3954. 2006-04-27 Alexander Olk <[email protected]>
  3955. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  3956. needed (clip). Otherwise we get artifacts.
  3957. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3958. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  3959. dimension is fixed
  3960. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  3961. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  3962. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  3963. if it matches the scale base font (avoids unneeded scaling)
  3964. 2006-04-26 Alexander Olk <[email protected]>
  3965. * X11DesktopColors.cs: One gtk_init_check should be enough
  3966. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3967. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  3968. match MS behaviour
  3969. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3970. * TextBoxBase.cs:
  3971. - Generate OnTextChanged for Backspace even if we're only deleting
  3972. the current selection
  3973. - When setting the Text property, only select all text if the
  3974. control does not have focus when it is being set. Otherwise
  3975. just place the cursor at the beginning of the control
  3976. 2006-04-26 Alexander Olk <[email protected]>
  3977. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  3978. Added a little helper to draw PropertyGrid ToolBar with a different
  3979. border and a different BackColor.
  3980. * PropertyGrid.cs: Some background parts didn't get painted with the
  3981. correct background color. Added a class that helps us to draw the
  3982. correct border for PropertyGridView and a class that helps us to
  3983. draw ToolBars with a different backcolor
  3984. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  3985. 2006-04-25 Jonathan Chambers <[email protected]>
  3986. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  3987. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  3988. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3989. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  3990. into the palette entries. Also, since we're working on a copy
  3991. we needed to copy the palette back onto the bitmap.
  3992. * Cursor.cs: Same fix as XplatUIWin32.cs.
  3993. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3994. * ImageListStreamer.cs: Need to read the var (or we're off)
  3995. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3996. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  3997. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  3998. TextBoxBase.cs: Unused var fixes
  3999. * AxHost.cs: Small 2.0 fix
  4000. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4001. as it seems that is what at least Metacity expects. This will make
  4002. icons show up on 64bit platforms. We still have some 64bit size
  4003. issues, though, since the startup app window size still won't match.
  4004. 2006-04-25 Mike Kestner <[email protected]>
  4005. * *.cs: cleanup newly reported exception var unused warnings.
  4006. 2006-04-25 Alexander Olk <[email protected]>
  4007. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4008. ms
  4009. 2006-04-25 Alexander Olk <[email protected]>
  4010. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4011. image. The image position is always the same, no matter if the
  4012. button is pressed or not.
  4013. 2006-04-25 Alexander Olk <[email protected]>
  4014. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4015. selection and set the correct filename for SaveFileDialog.
  4016. Patch by Emery Conrad.
  4017. 2006-04-24 Mike Kestner <[email protected]>
  4018. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4019. check for item.X outside the ClientRect instead of item.Y. Fixes
  4020. #78151.
  4021. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4022. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4023. trust that value blindly and do some sanity check. Fixes bug #77814.
  4024. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4025. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4026. 2006-04-21 Mike Kestner <[email protected]>
  4027. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4028. pass Checked and Indeterminate to the Theme Engine. Improve
  4029. encapsulation with ListBox.
  4030. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4031. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4032. nested types. Move all CheckState functionality to CheckedListBox.
  4033. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4034. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4035. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4036. single base list. Fix scrollbar sizing and placement to mirror MS.
  4037. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4038. used.
  4039. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4040. for CheckedListBox by using new DrawItemState info. Center the
  4041. checkboxes on the items. Use new StringFormat property.
  4042. 2006-04-18 Jackson Harper <[email protected]>
  4043. * Form.cs: MdiChildren don't do default locations the same way as
  4044. regular forms. This prevents a crash when trying to position the
  4045. mdi windows.
  4046. 2006-04-17 Jonathan Chambers <[email protected]>
  4047. * PropertyGridTextBox.cs: Formatting, copyright
  4048. * PropertiesTab.cs: Formatting
  4049. * PropertyGrid.cs: Formatting
  4050. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4051. click toggling of values
  4052. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4053. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4054. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4055. every time a control is created
  4056. * Application.cs: Removed obsolete EnableRTLMirroring method
  4057. 2006-04-18 Gert Driesen <[email protected]>
  4058. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4059. SelectedIndex to -1. Fixes bug #78121.
  4060. 2006-04-17 Jackson Harper <[email protected]>
  4061. * Binding.cs: Handle null values for Current and BindingContext.
  4062. This occurs when binding is a little delayed.
  4063. * CurrencyManager.cs: return null for Current when there are no
  4064. items in the list.
  4065. - Hookup to the listchanged event on the DataView and update
  4066. bindings when the list is changed. This fixes late binding of
  4067. controls.
  4068. 2006-04-17 Jackson Harper <[email protected]>
  4069. * X11Dnd.cs:
  4070. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4071. Ringenbach.
  4072. 2006-04-15 Alexander Olk <[email protected]>
  4073. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4074. place
  4075. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4076. with the correct ButtonState
  4077. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4078. * XplatUIX11.cs: Improved distinguishing between window types to
  4079. tell the WM a type closer to what the app wants (Fixes #78107)
  4080. 2006-04-14 Alexander Olk <[email protected]>
  4081. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4082. GrabHandle
  4083. 2006-04-14 Alexander Olk <[email protected]>
  4084. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4085. drawing code to reflect the size grip changes
  4086. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4087. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4088. bitmap when deserializing and serialize it properly. The generated mask
  4089. should better be a 1bpp image, but I'll do that later.
  4090. 2006-04-13 Alexander Olk <[email protected]>
  4091. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4092. path doesn't fit into some of our Current.Places
  4093. 2006-04-13 Jackson Harper <[email protected]>
  4094. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4095. try to obey correct rules for heights.
  4096. * Theme.cs:
  4097. * ThemeNice.cs:
  4098. * ThemeClearLooks.cs:
  4099. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4100. this is now handled by borders.
  4101. - Remove unused DrawListBoxDecorationSize method.
  4102. 2006-04-13 Mike Kestner <[email protected]>
  4103. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4104. reported by Alex.
  4105. 2006-04-13 Alexander Olk <[email protected]>
  4106. * ThemeWin32Classic.cs:
  4107. - Fixed CPDrawStringDisabled
  4108. - Corrected drawing of disabled menu items
  4109. - Fixed drawing of disabled radio buttons (bug #78095)
  4110. - Draw check in a disabled CheckBox with color ControlDark
  4111. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4112. * Form.cs: Use the provided width when calculating the menu size;
  4113. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4114. and ClientSize.Width won't be updated yet
  4115. * Application.cs: Use Visible instead of Show() to make form visible,
  4116. this way we create the handle later and menusize is considered
  4117. 2006-04-12 Mike Kestner <[email protected]>
  4118. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4119. reporting.
  4120. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4121. * TextBox.cs: Implemented context menu
  4122. 2006-04-12 Mike Kestner <[email protected]>
  4123. * ListView.cs: implement box selection. fixes #77838.
  4124. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4125. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4126. * XplatUIX11.cs: Added setting of window type when transient window
  4127. is created (metacity would move it otherwise)
  4128. * X11Structs.cs: Added WINDOW_TYPE atoms
  4129. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4130. background (the control is Opaque but still wants transparent
  4131. backgrounds)
  4132. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4133. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4134. that set Opaque but don't mean it (like all ButtonBase-derived
  4135. controls) to still draw their background
  4136. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4137. the background
  4138. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4139. * Control.cs (PaintControlBackground): Set the graphics object
  4140. on our PaintEvent to null to prevent it from being disposed
  4141. when the PaintEvent gets disposed
  4142. 2006-04-12 Alexander Olk <[email protected]>
  4143. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4144. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4145. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4146. * Control.cs:
  4147. - Added transparency check to BackColor property. Transparent
  4148. backgrounds are only allowed if the control styles permit it
  4149. - Added recursive painting of parent control background and
  4150. foreground if a control with a transparent backcolor is drawn
  4151. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4152. for this patch) Fixes #77985 and #78026.
  4153. - Added Opaque style check before calling OnPaintBackground, no
  4154. need to draw the background if the control is opaque
  4155. - Removed ControlAccessibleObject owner variable (inherited from
  4156. base, no need to define again)
  4157. - Added some documentation links explaining the drawing events
  4158. and styles
  4159. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4160. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4161. that the affected control is the located at the left border of our
  4162. parent (Fixes #77936)
  4163. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4164. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4165. draw the background with 'Control' instead of 'Window' color as
  4166. long as the user hasn't specifically set a color
  4167. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4168. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4169. since that won't be updated if the user types text (only if it's
  4170. programatically set)
  4171. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4172. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4173. layout changes do to app-triggered resizes will have the proper
  4174. display rectangle for layout
  4175. 2006-04-11 Alexander Olk <[email protected]>
  4176. * ThemeWin32Classic.cs:
  4177. - Make use of the SystemBrushes and SystemPens wherever possible
  4178. - Corrected some highlight colors
  4179. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4180. drawing
  4181. * Theme.cs: Added Empty field to CPColor struct
  4182. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4183. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4184. is displayed when calculating the display rectangle. Thanks to Mike
  4185. for teaching me the err of my ways.
  4186. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4187. * ScrollableControl.cs:
  4188. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4189. (instead of 0,0) and we now return the real width/height instead of
  4190. just the clientrectangle, adjusted for padding. The rectangle is
  4191. now cached and created by the new CalculateDisplayRectangle method.
  4192. - Created new CalculateDisplayRectange method, which basically does
  4193. what get_DisplayRectangle() did originally, but now using the
  4194. right edge instead of DisplayRectangle to determine the size of
  4195. our scrollbars
  4196. - get_Canvas(): Fixed it to properly calculate canvas for
  4197. right/bottom controls which seem to be placed to the right/bottom
  4198. of any controls that have a fixed location
  4199. - Removed TODO that's taken care of
  4200. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4201. and SetDisplayRectLocation according to new MSDN2 docs
  4202. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4203. event when that is called, this is added for compatibility
  4204. - ScrollControlIntoView(): Implemented.
  4205. - Switched scrollbars to be implicit, they shouldn't be selectable
  4206. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4207. call it when the active control is set/changed
  4208. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4209. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4210. implicit_control variable (used for native Win32 message generation)
  4211. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4212. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4213. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4214. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4215. 2006-04-10 Jackson Harper <[email protected]>
  4216. * ButtonBase.cs:
  4217. * CheckedListBox.cs:
  4218. * ComboBox.cs:
  4219. * DataGrid.cs:
  4220. * DataGridView.cs:
  4221. * Form.cs:
  4222. * GroupBox.cs:
  4223. * ListBox.cs:
  4224. * PrintPreviewControl.cs:
  4225. * ProgressBar.cs:
  4226. * PropertyGrid.cs:
  4227. * Splitter.cs:
  4228. * StatusBar.cs:
  4229. * TrackBar.cs:
  4230. * UpDownBase.cs: Fixup base event overrides.
  4231. 2006-04-06 Mike Kestner <[email protected]>
  4232. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4233. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4234. (set_Value): check for vert/horiz when calculating new thumb position.
  4235. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4236. like MS does.
  4237. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4238. invalidation logic to reduce flicker.
  4239. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4240. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4241. (UpdateThumbPosition): small code readability cleanup
  4242. 2006-04-10 Alexander Olk <[email protected]>
  4243. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4244. different
  4245. 2006-04-08 Alexander Olk <[email protected]>
  4246. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4247. 2006-04-08 Alexander Olk <[email protected]>
  4248. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4249. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4250. This dramatically reduces the number of Pen.Dispose calls.
  4251. Where possible call ResPool methods only once instead of calling it
  4252. over and over again (for example for the same color).
  4253. 2006-04-06 Mike Kestner <[email protected]>
  4254. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4255. Also remove an unused private field on the collection. Fixes #77972.
  4256. 2006-04-06 Alexander Olk <[email protected]>
  4257. * ThemeNice.cs: Added ToolBar drawing code
  4258. 2006-04-06 Mike Kestner <[email protected]>
  4259. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4260. I'm assuming that means we need to look up the toplevel for the
  4261. provided control. Fixes the crash trace in #77911 but exposes another
  4262. crash in some strange reflection usage in NDocGui.
  4263. 2006-04-06 Alexander Olk <[email protected]>
  4264. * ThemeNice.cs: Gave it a little silver touch and added Images
  4265. method
  4266. * FontDialog.cs: FontDialog is not resizable
  4267. * FileDialg.cs: Added SizeGripStyle.Show
  4268. 2006-04-05 Jackson Harper <[email protected]>
  4269. * KeyboardLayouts.cs: Remove warning.
  4270. 2006-04-05 Jackson Harper <[email protected]>
  4271. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4272. all of our controls instead of Paint +=.
  4273. * ListBox.cs:
  4274. * ListView.cs:
  4275. * MenuAPI.cs:
  4276. * MessageBox.cs:
  4277. * NotifyIcon.cs:
  4278. * ProgressBar.cs:
  4279. * ScrollBar.cs:
  4280. * Splitter.cs:
  4281. * StatusBar.cs:
  4282. * TabControl.cs:
  4283. * TextBoxBase.cs:
  4284. * ToolBar.cs:
  4285. * TrackBar.cs:
  4286. * UpDownBase.cs:
  4287. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4288. use OnPaintInternal. Remove Width/Height and Visible checks in
  4289. paint handler, this is done at a higher level now.
  4290. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4291. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4292. want anymore painting after OnPaintInternal can make sure OnPaint
  4293. isn't called.
  4294. 2006-04-05 Mike Kestner <[email protected]>
  4295. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4296. state of the form, so that we don't process events when Modal dialogs
  4297. are up. Fixes #77922.
  4298. 2006-04-05 Alexander Olk <[email protected]>
  4299. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4300. checking is done.
  4301. 2006-04-05 Mike Kestner <[email protected]>
  4302. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4303. 2006-04-05 Mike Kestner <[email protected]>
  4304. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4305. when setting up the drag_to_index. Fixes #78015.
  4306. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4307. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4308. in the taskbar. Transient windows seem to accomplish that.
  4309. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4310. * Form.cs:
  4311. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4312. - Added code for manual placement when creating the Control
  4313. - Incomplete patch to treat MDI forms differently when
  4314. setting the ClientSizeCore. (Still need to figure out handling
  4315. x/y coords there)
  4316. * XplatUIX11.cs:
  4317. - When we're explicitly setting the X/Y position of a non-Child
  4318. window, let the WM know. Metacity really wants this.
  4319. 2006-04-04 Alexander Olk <[email protected]>
  4320. * ThemeNice.cs: Added CPDrawButton
  4321. 2006-04-04 Alexander Olk <[email protected]>
  4322. * ThemeNice.cs: Changed the color for focused buttons and activated
  4323. the arrows for small scroll buttons.
  4324. 2006-04-04 Alexander Olk <[email protected]>
  4325. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  4326. anymore. Changed some method modifiers to protected (virtual)
  4327. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  4328. changes
  4329. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  4330. Updated drawing of menus, buttons and progressbars; added
  4331. CPDrawBorder3D
  4332. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  4333. * ImageListStreamer.cs: implemented serialization/deserialization
  4334. of the images.
  4335. 2006-04-03 Alexander Olk <[email protected]>
  4336. * ThemeWin32Classic.cs:
  4337. - Removed all the DrawFrameControl stuff; CPDrawButton,
  4338. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  4339. inside the methods
  4340. - Updated and corrected the drawing code of CPDrawButton,
  4341. CPDrawCheckBox and CPDrawRadioButton to better match ms
  4342. - Updated theme checkbox and radiobutton code to use the CP*
  4343. methods
  4344. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4345. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  4346. bug is fixed
  4347. 2006-03-31 Jackson Harper <[email protected]>
  4348. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  4349. sometimes.
  4350. * UpDownBase.cs: Don't CreateGraphics manually, use a
  4351. Refresh. Ideally we would invalidate the correct areas here.
  4352. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4353. * XplatUIX11.cs:
  4354. - We now track the mapping state of windows. If a window (or
  4355. one of it's parents) is not mapped we no longer permit
  4356. WM_PAINT messages to be generated since we'd otherwise get
  4357. lots of BadMatch X errors. Jackson did all the work figuring
  4358. out the problem.
  4359. - Destroying the caret if the window it's contained in is
  4360. destroyed. Can't use regular DestroyCaret method since it
  4361. might fall into a drawing function (trying to remove the
  4362. caret) and with that generate new BadMatch errors. Again,
  4363. Jackson tracked this down.
  4364. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  4365. make sure we send the messages to all windows. (The old code
  4366. would send the WM_DESTROY to the window, and then all child
  4367. windows would be 'gone' because the WM_DESTROY handle lookup
  4368. would no longer find the destroyed window)
  4369. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  4370. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  4371. 2006-03-31 Jackson Harper <[email protected]>
  4372. * ScrollableControl.cs: Dont recalc if we are not visible.
  4373. 2006-03-31 Mike Kestner <[email protected]>
  4374. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  4375. the visibility branch.
  4376. 2006-03-31 Jackson Harper <[email protected]>
  4377. * ScrollBar.cs: Cap values when incrementing/decrementing.
  4378. 2006-03-31 Mike Kestner <[email protected]>
  4379. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  4380. * ToolTip.cs: guard against timer expirations with no active control.
  4381. Not sure why it happened.
  4382. 2006-03-31 Mike Kestner <[email protected]>
  4383. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  4384. text.
  4385. * ToolTip.cs: Position the tooltip based on where the cursor is at
  4386. popup time, not at MouseEnter time. Add a Down state so that we don't
  4387. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  4388. positioning offset. Lookup DisplaySize at positioning time, since it
  4389. can theoretically change during invocation.
  4390. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  4391. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  4392. 2006-03-31 Alexander Olk <[email protected]>
  4393. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  4394. Fixes behaviour when the Text property of the box is String.Empty
  4395. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4396. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  4397. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  4398. a window)
  4399. 2006-03-31 Alexander Olk <[email protected]>
  4400. * FileDialog.cs: Visual enhancement for the popup buttons in
  4401. PopupButtonPanel
  4402. 2006-03-31 Alexander Olk <[email protected]>
  4403. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  4404. code
  4405. 2006-03-30 Alexander Olk <[email protected]>
  4406. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  4407. highlighted menu items to match ms
  4408. 2006-03-30 Peter Dennis Bartok <[email protected]>
  4409. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  4410. 2006-03-30 Mike Kestner <[email protected]>
  4411. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  4412. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  4413. go active to account for HotLight to Selected transition.
  4414. * MenuItem.cs: add internal Selected prop. Fill out the Status
  4415. property by calculating it from item info. Add HotLight,
  4416. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  4417. 2006-03-30 Mike Kestner <[email protected]>
  4418. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  4419. 2006-03-29 Jackson Harper <[email protected]>
  4420. * Form.cs: Implement TODO.
  4421. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4422. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  4423. missing proper dialog setup in the constructor
  4424. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4425. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  4426. * Control.cs:
  4427. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  4428. - Fixed ResetBindings and removed TODO
  4429. - Added check for cross-thread calls to get_Handle()
  4430. - Added Marshaller attribute for set_Font to satisfy class status
  4431. * FontDialog.cs: Removed TODOs that seemed implemented
  4432. * UpDownBase.cs: Removed unneeded TODO and Fixme
  4433. * MessageBox.cs: Implemented support for Default button and removed TODO
  4434. * FileDialog.cs: Removed obsolete TODO
  4435. * DomainUpDown.cs: Removed obsolete TODO
  4436. * ButtonBase.cs: Removed obsolete TODO
  4437. * XplatUIWin32.cs: Removed obsolete TODO
  4438. * Form.cs:
  4439. - Removed obsolete TODO
  4440. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  4441. internal status updates
  4442. - Making sure the active control is selected when the control is created
  4443. * CurrencyManager.cs: Removed obsolete TODO
  4444. 2006-03-29 Mike Kestner <[email protected]>
  4445. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  4446. of PrintPreviewDialog and RichTextBox.
  4447. 2006-03-29 Alexander Olk <[email protected]>
  4448. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  4449. DarkDark, Light and LightLight colors for a specific color
  4450. * ThemeWin32Classic.cs:
  4451. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  4452. Appearance = Button
  4453. - Make use of the new ResPool helper CPColor
  4454. - Draw ProgressBar and StatusBar with correct 3D borders
  4455. 2006-03-29 Alexander Olk <[email protected]>
  4456. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  4457. 2006-03-28 Mike Kestner <[email protected]>
  4458. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  4459. calculating col/row counts.
  4460. 2006-03-28 Mike Kestner <[email protected]>
  4461. * ColumnHeader.cs:
  4462. * ListView.cs:
  4463. * ListViewItem.cs:
  4464. * Menu.cs:
  4465. switch to explicit interface method implementation for some methods
  4466. corcompare identifies as inconsistent with MS.
  4467. 2006-03-28 Mike Kestner <[email protected]>
  4468. * MainMenu.cs:
  4469. * Menu.cs:
  4470. add a few missing methods from the class status output.
  4471. 2006-03-28 Alexander Olk <[email protected]>
  4472. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  4473. correct.
  4474. 2006-03-28 Mike Kestner <[email protected]>
  4475. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  4476. 2006-03-27 Mike Kestner <[email protected]>
  4477. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  4478. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  4479. 2006-03-27 Alexander Olk <[email protected]>
  4480. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  4481. 2006-03-25 Alexander Olk <[email protected]>
  4482. * ThemeWin32Classic.cs:
  4483. - GroupBox: Inserted a little gap between the text and the lines
  4484. on the right side
  4485. - Made the code in CPDrawBorder3D more readable
  4486. - Corrected the drawing location of the up and down arrows in
  4487. CPDrawScrollButton
  4488. 2006-03-25 Alexander Olk <[email protected]>
  4489. * ControlPaint.cs: Corrected line widths in DrawBorder for
  4490. ButtonBorderStyle Inset and Outset
  4491. 2006-03-25 Alexander Olk <[email protected]>
  4492. * ThemeWin32Classic.cs:
  4493. - Rewrote the totally broken CPDrawBorder3D method. That was
  4494. one of the main problems for the terrific ThemeWin32Classic
  4495. look
  4496. - Updated and corrected Button drawing
  4497. - Correct the dimensions of the SizeGrip to match ms ones
  4498. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  4499. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  4500. Border3DStyle.Sunken to match ms.
  4501. 2006-03-25 Alexander Olk <[email protected]>
  4502. * ThemeWin32Classic.cs: First small part of the "de-uglify
  4503. ThemeWin32Classic" effort, SizeGrip
  4504. 2006-03-24 Jackson Harper <[email protected]>
  4505. * XplatUIX11.cs: Give a max idle time of one second, this matches
  4506. MS and forces an Idle event every second when there are no other
  4507. events in the queue.
  4508. 2006-03-24 Mike Kestner <[email protected]>
  4509. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  4510. * ListView.Item.cs: fix layout issues with null image lists and images
  4511. smaller than checkbox size.
  4512. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  4513. mode like MS does. It's weird, but consistent. ;-)
  4514. Fixes #77890.
  4515. 2006-03-24 Mike Kestner <[email protected]>
  4516. * ListView.cs: Scroll wheel support for the item control. Fixes
  4517. #77839.
  4518. 2006-03-23 Jackson Harper <[email protected]>
  4519. * ScrollableControl.cs: Special case negative sized areas, not
  4520. zero.
  4521. * MonthCalendar.cs: Save the rect of the clicked date so we can
  4522. use it for invalidation.
  4523. - Try to cut down on the number of invalidates
  4524. - Invalidate the rect the mouse is over and was over when moving
  4525. the mouse, so we get the focus box following the cursor.
  4526. 2006-03-23 Mike Kestner <[email protected]>
  4527. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  4528. focus rectangle drawing. Fixes #77835.
  4529. 2006-03-23 Mike Kestner <[email protected]>
  4530. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  4531. the if and else if and reverting back to the original == check on the
  4532. None conditional.
  4533. 2006-03-23 Alexander Olk <[email protected]>
  4534. * FontDialog.cs: Update the example panel if the selected index of
  4535. the fontListBox changes.
  4536. 2006-03-23 Alexander Olk <[email protected]>
  4537. * FileDialog.cs: Make FileDialog remember which directory it was in
  4538. last in the same execution.
  4539. 2006-03-22 Mike Kestner <[email protected]>
  4540. * FileDialog.cs: make the DropDownMenu on the toolbar display
  4541. RadioChecks since they are mutually exclusive and that's what MS does.
  4542. 2006-03-22 Mike Kestner <[email protected]>
  4543. * Theme.cs: add Color param to CPDrawMenuGlyph.
  4544. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  4545. checks and radio marks and arrows are visible on highlighted items.
  4546. * ControlPaint.cs: update to use new Theme signature.
  4547. 2006-03-22 Mike Kestner <[email protected]>
  4548. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  4549. is active. Fixes #77870.
  4550. 2006-03-22 Alexander Olk <[email protected]>
  4551. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  4552. to be focused/selected after startup
  4553. 2006-03-22 Alexander Olk <[email protected]>
  4554. * ColorDialog.cs:
  4555. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  4556. CustomColors and ShowHelp properties
  4557. - Some internal rewrites to get better results when using the
  4558. ColorMatrix
  4559. 2006-03-22 Mike Kestner <[email protected]>
  4560. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  4561. HoverSelection. Fixes #77836.
  4562. 2006-03-22 Mike Kestner <[email protected]>
  4563. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  4564. ToggleButtons. (De)Sensitize the Back button around a stack count of
  4565. 1, not 0. Update ButtonSize based on a pixel count of the win32
  4566. control. Adjust the toolbar size/location for new button size.
  4567. 2006-03-22 Jackson Harper <[email protected]>
  4568. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  4569. true.
  4570. * ScrollBar.cs: When doing increments and decrements we need to
  4571. set the Value property so that ValueChanged gets raised. A
  4572. possible optimization here would be to make an internal SetValue
  4573. that doesn't invalidate immediately.
  4574. * ToolTip.cs: Tooltips get added to their container (when
  4575. supplied) so they get disposed when the container is disposed.
  4576. - Don't create tooltips for String.Empty. This prevents all these
  4577. little 2-3 pixel windows from showing up when running nunit-gui
  4578. and driving me mad.
  4579. * Form.cs: Don't set topmost when setting the owner if the handles
  4580. haven't been created yet. The topmost set will happen when the
  4581. handles are created.
  4582. 2006-03-22 Peter Dennis Bartok <[email protected]>
  4583. * XplatUIX11.cs:
  4584. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  4585. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  4586. visible (to allow them to recalculate their sizes)
  4587. 2006-03-21 Mike Kestner <[email protected]>
  4588. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  4589. methods. Removed a ton of redundant code. Still not really happy with
  4590. the border rendering, but I think that's mainly because of the
  4591. ControlDarkDark being black instead of a dark grey. Depending on how
  4592. close we want to be, we might want to revisit those color choices.
  4593. Among the new features added during the refactor were DropDownArrow
  4594. pressed rendering, Disabled image rendering. Proper flat appearance
  4595. boundary rendering. Removed the Divider and Wrapping dividers since I
  4596. can't figure out any combination of themes and conditions to make the
  4597. MS control draw a horizontal line on a toolbar despite what the
  4598. Divider property docs indicate.
  4599. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  4600. conditions and incorrect layout. Updated to coding standard.
  4601. * ToolBarButton.cs: refactored layout and positioning code from
  4602. ToolBar to here. Invalidate wherever possible instead of forcing
  4603. redraws of the whole toolbar.
  4604. (Known remaining issues: explicit ButtonSize smaller than provided
  4605. images.)
  4606. 2006-03-21 Mike Kestner <[email protected]>
  4607. * ContextMenu.cs (Show): use the position parameter instead of just
  4608. showing at the MousePosition.
  4609. 2006-03-21 Jackson Harper <[email protected]>
  4610. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  4611. control handle this.
  4612. * TreeNodeCollection.cs: If we are clearing the root node we need
  4613. to reset top_node so calcs can still happen.
  4614. * ThemeWin32Classic.cs: This is a Flags so we need to check
  4615. properly.
  4616. 2006-03-21 Jackson Harper <[email protected]>
  4617. * DataGrid.cs: Create columns when the binding context has been
  4618. changed.
  4619. * X11Structs.cs: Keysyms are uints.
  4620. - Add size to fix build.
  4621. 2006-03-21 Peter Dennis Bartok <[email protected]>
  4622. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4623. XplatUIOSX.cs:
  4624. - Added ResetMouseHover method to allow controls to retrigger
  4625. hovering if they need it more than once
  4626. - Implemented MouseHoverTime and MouseHoverSize properties
  4627. * Timer.cs: Start() must reset the interval
  4628. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  4629. properties
  4630. 2006-03-21 Jackson Harper <[email protected]>
  4631. * X11Keyboard.cs: improved layout detection. Move the nonchar
  4632. tables into this file.
  4633. * KeyboardLayouts.cs: Move the tables into resource files.
  4634. 2006-03-21 Mike Kestner <[email protected]>
  4635. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  4636. 2006-03-21 Alexander Olk <[email protected]>
  4637. * Mime.cs: Various speed optimizations. Looking up mime types
  4638. is now 2 times faster than before
  4639. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4640. * CreateParams.cs: Added internal menu field
  4641. * Control.cs:
  4642. - Switched call order for UpdateBounds; now we always call
  4643. the one that also takes ClientSize, and we're calculating the
  4644. client size via driver method in the others. The previous
  4645. method of tracking client size by difference wasn't working
  4646. for forms where even the starting client size wouldn't match
  4647. the overall form size (due to borders) (Part of fix for #77729)
  4648. - CreateParams(): Do not use parent.Handle unless the handle is
  4649. already created. Causes havoc with Nexxia and throws off our
  4650. creation of controls
  4651. * XplatUIX11.cs:
  4652. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  4653. - Switched handling of ConfigureNotify over to new PerformNCCalc
  4654. method (consolidates code)
  4655. - Changed RequestNCRecalc to use new PerformNCCalc method
  4656. - Added calls to RequestNCRecalc when menus and borders are changed
  4657. to allow app to set NC size. (Part of fix for #77729) This matches
  4658. when MS send a WM_NCRECALC on Win32 windows.
  4659. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  4660. (Part of fix for #77729). This matches what MS does, they also
  4661. send that message when the form is made visible.
  4662. - XException.GetMessage: Improved usability of X errors by including
  4663. a translation of the window into Hwnd and Control class
  4664. - Improved debug info for window creation, reparenting and destruction
  4665. - Created helper method WindowIsMapped() [Currently not used]
  4666. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  4667. * Form.cs:
  4668. - CreateParams: Now setting our menu on the new internal menu field
  4669. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  4670. avoid calculating the same property twice
  4671. * Hwnd.cs:
  4672. - Improved usability of ToString() for debugging purposes
  4673. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  4674. determine the height of the menu, instead of just the font. This
  4675. required to also create a graphics context and to keep a bmp
  4676. around (for performance reasons)
  4677. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4678. * MenuAPI.cs: Added OnMouseUp method
  4679. * Form.cs:
  4680. - Now remembering the requested client size, avoids size errors
  4681. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  4682. instead of base if the menu is active. This is required due to
  4683. control now capturing and releasing on down/up and it would
  4684. prematurely release our menu capture
  4685. 2006-03-17 Jackson Harper <[email protected]>
  4686. * KeyboardLayouts.cs: Add the czech layouts.
  4687. 2006-03-16 Jackson Harper <[email protected]>
  4688. * Control.cs: Use the viewport space when sizing not the controls
  4689. client size, so things like ScrollableControl that effect the
  4690. viewport size (when scrollbars are added) are computed correctly.
  4691. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  4692. of ManagerEntrys.
  4693. - Handle creating BindingManagers for null data sources.
  4694. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  4695. source, otherwise when rows are added they are added to the 'fake'
  4696. datasource and we will crash when trying to set the position in
  4697. those rows.
  4698. - Use Implicit scrollbars on the datagrid so they arent
  4699. selectable.
  4700. 2006-03-16 Jackson Harper <[email protected]>
  4701. * Binding.cs:
  4702. * InternalWindowManager.cs:
  4703. * MdiWindowManager.cs:
  4704. * X11Keyboard.cs: I really want Mike to love me again (fix
  4705. compiler warnings).
  4706. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4707. * DataGrid.cs:
  4708. - OnMouseDown: Switch to editing mode when clicking on the cell
  4709. even if we're clicking on the cell that's currently
  4710. selected
  4711. - ProcessGridKey: Left/Right now wrap like MS.Net does
  4712. - ProcessGridKey: Tab now knows to add a new row when tab is
  4713. pressed in the cell of the last column of the
  4714. last row
  4715. - ProcessGridKey: Enter now adds another row if pressed in the last
  4716. row and selectes the new row, same column cell
  4717. - ProcessGridKey: Home/End navigate columns, not rows, like
  4718. originally implemented
  4719. - Broke ProcessKeyPreview code out into an extra Internal method
  4720. so it can be called from the edit code
  4721. * DataGridTextBox.cs (ProcessKeyMessage):
  4722. - Switched to accept Tab keypresses
  4723. - Added F2 handling to allow jumping to the end of the edited cell
  4724. - Added logic to allow moving caret left/right inside edited cell
  4725. and making the edited cell jump when the caret hits cell borders
  4726. - Tab and Enter are now passed to the datagrid after being handled
  4727. * TextBoxBase.cs:
  4728. - Removed capture code now that Control handles it
  4729. - set_SelectionStart now ensures caret is visible
  4730. 2006-03-16 Jackson Harper <[email protected]>
  4731. * TrackBar.cs: Debackwards the increment/decrement for handling
  4732. mouse clicks on the bar with vertical trackbars.
  4733. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  4734. bottom to match MS.
  4735. 2006-03-16 Mike Kestner <[email protected]>
  4736. * ListView.cs: make shift/ctrl keyboard and mouse selection
  4737. consistent with the MS control. Fix a bug in
  4738. SelectedListViewItemCollection.Clear that was pissing me off for the
  4739. better part of a day because the collection was being altered
  4740. underneath us as we walked the list.
  4741. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4742. * Control.cs: Not sure how we could miss this so long, but it seems
  4743. that MS.Net has Capture set all the way from before calling
  4744. OnMouseDown through sending the mouse events until after
  4745. OnMouseUp. This will fix DataGrid's selection being set to end
  4746. at the location of the MouseUp.
  4747. 2006-03-15 Jackson Harper <[email protected]>
  4748. * BindingContext.cs: Check the binding after its added so that it
  4749. can initialize the binding managers and hookup to events.
  4750. * Binding.cs: Data members seem to sometimes include rows/cols in
  4751. the format Row.Column we now take this into account.
  4752. - Hookup to the position changed event so we can update the
  4753. control when the position has changed in the data set.
  4754. * CurrencyManager.cs: Take into account the row/col naming
  4755. convention when creating dataset tables.
  4756. * BindingContext.cs: Using a newer better way of storing
  4757. datasource/datamember pairs. Hopefully this better matches MS for
  4758. looking up binding managers.
  4759. 2006-03-15 Jackson Harper <[email protected]>
  4760. * BindingContext.cs: The currency manager needs the data member
  4761. name, if the member is a data set we use the name to find the
  4762. correct table.
  4763. * CurrencyManager.cs: When creating the list prefer an IList over
  4764. an IListSource.
  4765. - Attempt to create a DataTable from a DataSet (TODO: might need
  4766. some better error checking here, although MS doesn't seem to have much)
  4767. - If we have a DataTable create a view and use it as our list.
  4768. 2006-03-15 Mike Kestner <[email protected]>
  4769. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  4770. keyboard navigation. Support Up/Down/Left/Right selection correctly
  4771. for all 4 View modes.
  4772. * ListViewItem.cs: add internal row/col fields for icon layouts.
  4773. 2006-03-15 Jackson Harper <[email protected]>
  4774. * TabControl.cs: Redraw the tabs when we resize so their newly
  4775. calculated sizes are drawn on screen.
  4776. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  4777. composite characters.
  4778. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  4779. - filter events so that composite characters can be created
  4780. patches by peter
  4781. * X11Structs.cs: Add XIMProperties enum.
  4782. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4783. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  4784. unless it's created
  4785. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4786. * Control.cs (PerformLayout): We don't need to consider visiblity
  4787. for anchoring, only for docking. This fixes 'whacky' alignment
  4788. in listbox and other controls that use implicit scrollbars after
  4789. the previous PerformLayout patch
  4790. * ListBox.cs: Switched to use implicit scrollbars
  4791. 2006-03-14 Mike Kestner <[email protected]>
  4792. * ToolBar.cs:
  4793. * VScrollBar.cs:
  4794. - chain up the "new event" overrides to base and use
  4795. OnEvent to raise them. Part of fix for bug #76509.
  4796. 2006-03-14 Alexander Olk <[email protected]>
  4797. * FileDialog.cs: Do not select an item in the parent directory
  4798. on backspace
  4799. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4800. * Control.cs (PerformLayout): It would seem that we considered
  4801. invisible windows for our layout. Not quite the right thing
  4802. to do. Now we don't any longer, thereby fixing bug #76889.
  4803. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4804. * Control.cs (CanFocus): I goofed. A control can have focus
  4805. even though it's not selectable. Made it match MS docs.
  4806. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4807. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  4808. center by default (fixes #76895)
  4809. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  4810. all uses of Border3DSides.All with the explicit ORd together
  4811. Left|Right|Top|Bottom because I assume that nobody was aware
  4812. that All also implies a center fill. Most places I checked had
  4813. a fill right above.
  4814. * ProgressBarStyle.cs: Added
  4815. 2006-03-13 Mike Kestner <[email protected]>
  4816. * ListView.cs: fix breakage in drag shadow header positioning
  4817. from Peter's csc compilation fix.
  4818. 2006-03-13 Mike Kestner <[email protected]>
  4819. * ListView.cs: fix NRE produced by backspacing twice in a focused
  4820. FileDialog.
  4821. 2006-03-13 Mike Kestner <[email protected]>
  4822. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  4823. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4824. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  4825. be changed
  4826. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  4827. the allowed size before making programmatic size changes
  4828. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4829. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  4830. set, metacity is broken and will still use the emty sizes in
  4831. the struct. (Fix for #77089)
  4832. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4833. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  4834. WindowExStyles and marked both enums as Flags
  4835. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  4836. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  4837. to match WindowStyles split
  4838. * XplatUIX11.cs:
  4839. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  4840. - Updated to match WindowStyles split
  4841. * XplatUIWin32.cs:
  4842. - Fixed FosterParent creation, was using ExStyle on the Style field
  4843. (This should help with Popup focus issues)
  4844. - Updated to match WindowStyles split
  4845. 2006-03-13 Jackson Harper <[email protected]>
  4846. * MdiWindowManager.cs: Use the system menu height. Fixes some
  4847. strange sizing issues.
  4848. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4849. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  4850. * TextBoxBase.cs:
  4851. - Scroll to caret after inserting text (#77672)
  4852. - Make scroll range one pixel higher, fixes off-by-one error (and
  4853. makes underlines visible on the last line)
  4854. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4855. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  4856. the keyboard state from being stuck with keys in 'pressed' state when
  4857. focus is switched away via keyboard
  4858. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  4859. reset the keyboard if no X11 KeyUp events are expected to come
  4860. * X11Structs.cs: Switched type of Visible to bool to match driver
  4861. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4862. * TextControl.cs:
  4863. - Switched caret to be just 1 pixel wide, matches MS and looks less
  4864. clunky
  4865. - Moved caret display 1 pixel down from the top of the control
  4866. to improve view
  4867. - InsertCharAtCharet: Update the selection start if moving the caret
  4868. (fixes bug #77696; based on patch suggested by [email protected])
  4869. - No longer always creating the caret when the caret methods are
  4870. called. Only the actual ShowCaret/HideCaret will do that now
  4871. - Only setting caret visible if the owner control has focus
  4872. - UpdateView: Added invalidation-shortcut logic for center and right
  4873. aligned text. Previously we'd update all according to the left
  4874. logic which caused drawing errors. Also fixed height of invalidated
  4875. areas, now properly invalidating the whole area (was off-by-one)
  4876. - owner_HandleCreated: Always generate the document when the
  4877. handle is created; this ensures that
  4878. * TextBoxBase.cs:
  4879. - Fixed situation where caret would disappear under the right
  4880. window border, also improved scrolling behaviour on left-
  4881. aligned textboxes
  4882. - Fixed right-aligned textboxes to have a border to the
  4883. right instead of the caret being under the right border
  4884. * XplatUIX11.cs:
  4885. - Switched from 'nested' to simple visible/not visible tracking
  4886. for caret (part of fix for #77671)
  4887. - No longer passing through translated FocusIn/FocusOut messages
  4888. since we were notifying too often and the wrong windows. Instead
  4889. we just notify our focussed window of receiving or loosing focus
  4890. * XplatUIWin32.cs: Switched from 'nested' show/hide
  4891. counting for caret to simple visible yes/no behaviour (part of
  4892. fix for #77671)
  4893. 2006-03-11 Alexander Olk <[email protected]>
  4894. * Mime.cs: Remove debug code...
  4895. 2006-03-11 Alexander Olk <[email protected]>
  4896. * MimeGenerated.cs: Removed
  4897. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  4898. and subclasses) from /usr/(local/)share/mime and
  4899. $HOME/.local/share/mime.
  4900. 2006-03-10 Jackson Harper <[email protected]>
  4901. * MdiWindowManager.cs: Recalc the NC area when a window is
  4902. maximized/restored so that the menu area is drawn on forms that
  4903. don't have a menu.
  4904. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4905. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4906. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  4907. us to force a WM_NCCALCRESIZE message being sent. This is needed
  4908. for MDI maximizing.
  4909. 2006-03-10 Jackson Harper <[email protected]>
  4910. * Form.cs: We need to use the ActiveMenu when calculating menu
  4911. height.
  4912. - Fix nullref when the window manager hasn't been created yet.
  4913. * Control.cs: Fix nullref when we try to bring a control to the
  4914. front that has no parent.
  4915. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  4916. height.
  4917. - Add a dummy item to the maximized menu so it always has the
  4918. correct height. Otherwise when there are no menus we don't get our
  4919. icon and buttons.
  4920. 2006-03-10 Jackson Harper <[email protected]>
  4921. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  4922. stuff.
  4923. * Form.cs: Make the window_state internal so the window managers
  4924. can track it.
  4925. - When an MDI child is maximized let its window manager create the
  4926. main menu (so it can add its icon).
  4927. - Notify the window managers of state changes
  4928. - Let the window manager paint its buttons and handle button
  4929. clicks on the menu when it is maximized.
  4930. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  4931. window manager, since tool windows don't use it, only mdi windows.
  4932. - Tell the main form that we don't want it to handle NCPAINT
  4933. itself to avoid extra painting.
  4934. - Handle clicks on a maximized windows menu.
  4935. - Handle window state changes
  4936. - Handle minimize/maximize clicks correctly by setting the window state.
  4937. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  4938. when clicking on the forms icon).
  4939. - New method to create a forms maximized menu. This is its normal
  4940. menu + an icon.
  4941. - Handle window state changes.
  4942. - Handle sizing of maximized windows. Maximized windows are just
  4943. drawn bigger then the parent visible area. All controls are still
  4944. there, they are just outside the visible area (this matches windows).
  4945. * MdiClient.cs: No scrollbars when a child window is maximized.
  4946. - Let the children windows figure out how big they should be when
  4947. sizing maximized windows.
  4948. - Implement a version of ArrangeIconicWindows somewhat similar to
  4949. Windows version. There are some little differences, but I don't
  4950. think any app will rely on the layout of minimized mdi windows.
  4951. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4952. * Padding.cs: Several fixes to allow compiling with csc 2.0
  4953. 2006-03-09 Jackson Harper <[email protected]>
  4954. * Menu.cs:
  4955. * MenuItem.cs: Cheap hack so we can add items to the list without
  4956. the events being raised. This allows adding mdi items during
  4957. drawing. TODO: Should probably find a better time to add the items.
  4958. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4959. * ThemeWin32Classic.cs:
  4960. - CheckBox_DrawText: Added logic to not wrap if not enough space
  4961. is available (Fix for bug #77727)
  4962. - RadioButton_DrawText: Added logic not to wrap if not enough
  4963. space is available (Fix for bug #77727). Also removed some
  4964. duplicate code, DrawString always drawing the regular text
  4965. before hitting the if statement.
  4966. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4967. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  4968. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4969. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  4970. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  4971. methods. Moved the new 2.0 properties into alphabetical order with
  4972. other properties and added MonoTODO tags
  4973. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4974. * AutoScaleMode.cs: Added. Fix build.
  4975. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4976. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4977. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  4978. and was requiring premature handle creation for calls from above
  4979. * Form.cs, Control.cs: Removed handle arguments from calls to
  4980. CalculateClientRect()
  4981. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4982. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  4983. drag_column.column_rect is MarshalByRef and can't be used that way
  4984. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4985. * AxHost.cs: Added deserialization constructor for
  4986. AxHost+State (fixes 77743)
  4987. 2006-03-09 Mike Kestner <[email protected]>
  4988. * ListView.cs:
  4989. - Added column drag reordering for details view.
  4990. - fixed behavior when mouse is dragged off column and
  4991. AllowColumnReorder is false.
  4992. * ColumnHeader.cs: clone the format too in Clone.
  4993. * Theme.cs: add DrawListViewHeaderDragDetails method.
  4994. * ThemeWin32Classic.cs:
  4995. - impl new method for drawing drag column shadows and targets.
  4996. - support column offset for details mode in DrawListViewItem.
  4997. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4998. * TextControl.cs: Reset the char_count when the document is cleared
  4999. (Fixes bug reported on mono-winforms mailing list)
  5000. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5001. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5002. of calling base we simply process the key ourselves, since both
  5003. DefWindowProc and the handled method would set m.Result.
  5004. (Fixes #77732)
  5005. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5006. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5007. method also moves the window; instead implemented a copy of
  5008. Control.ScaleCore (Part of fix for #77456)
  5009. * TextBoxBase.cs:
  5010. - Created new CreateGraphicsInternal method to allow providing
  5011. a graphics context when no handle is created without triggering
  5012. handle creation. (Part of fix for #77456)
  5013. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5014. * TextControl.cs:
  5015. - Switched Constructor to require TextBoxBase instead of Control (to
  5016. allow uncast access to CreateGraphicsInternal)
  5017. - Safeguarded use of owner.Handle property. No longer accessing it
  5018. unless the handle is already created.
  5019. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5020. - Now triggering a recalc when owning control becomes visible
  5021. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5022. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5023. premature handle creation (Part of fix for #77456)
  5024. * Control.cs:
  5025. - We now only destroy our double-buffering buffers when the
  5026. control is resized or disposed, but not when visibility
  5027. changes. (The code even re-created them twice every time)
  5028. - Now requiring a redraw of the buffer on visibility changes
  5029. (fixes bug 77654 part 2)
  5030. - Not passing OnParentVisibleChanged up unless the control
  5031. is visible
  5032. - CanFocus: Fixed to match MS documentation
  5033. - Focus: Fixed to return actual focus state and to check if
  5034. setting focus is legal before setting it
  5035. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5036. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5037. when to draw focus rectangle by looking at parent focus and
  5038. selected state instead. This fixes TabPages on Linux sometimes
  5039. having none or multiple focus rectangles.
  5040. * XplatUIX11.cs (SetFocus):
  5041. - Don't set the focus if the same window already has focus
  5042. - Use SendMessage instead of PostMessage (like it's Win32
  5043. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5044. to match MS behaviour
  5045. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5046. are not selectable.
  5047. 2006-03-07 Jackson Harper <[email protected]>
  5048. * PictureBox.cs: Revert line I accidently committed last week.
  5049. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5050. * Control.cs:
  5051. - Added new IsRecreating and ParentIsRecreating properties to
  5052. allow testing if RecreateHandle has been called on ourselves
  5053. or one of our parents
  5054. - WndProc(WM_DESTROY): If our control handle is being recreated
  5055. we immediately need to create the handle when receiving the
  5056. destroy, that way our child windows find a valid parent handle
  5057. when they themselves are being recreated upon WM_DESTROY receipt
  5058. (fix for bug #77654 part 1)
  5059. * XplatUIX11.cs:
  5060. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5061. notifying any child windows. MS documents that child windows
  5062. are still valid when WM_DESTROY is received. (Control now relies on
  5063. this behaviour)
  5064. - Added some fine-grain debug options
  5065. 2006-03-06 Jackson Harper <[email protected]>
  5066. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5067. box and base calculations off this.
  5068. * MdiChildContext.cs:
  5069. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5070. anymore.
  5071. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5072. * Splitter.cs: In situations where the affected control is added
  5073. to the parent's control list after the splitter, we would not
  5074. populate affected. Now we try populating it on mousedown, if
  5075. it's not already set, and force it to be re-set whenever our
  5076. parent changes.
  5077. 2006-03-03 Matt Hargett <[email protected]>
  5078. * Control.cs: implement Control.Padding
  5079. * Padding.cs: -Padding.All returns -1 when constructing with the
  5080. implicit default ctor
  5081. -Padding.ToString() matches MS.NET
  5082. * ContainerControl.cs: implement
  5083. ContainerControl.AutoScaleDimensions
  5084. * ListControl.cs: implement ListControl.FormattingEnabled
  5085. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5086. * ButtonBase.cs:
  5087. * TabPage.cs: Implement UseVisualStyleBackColor.
  5088. * PictureBox.cs: Implement PictureBox.InitialImage.
  5089. 2006-03-03 Mike Kestner <[email protected]>
  5090. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5091. event declarations to proxy to base event.
  5092. * ListViewItem.cs: update to use ItemControl.
  5093. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5094. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5095. column header label rendering for 0 width columns.
  5096. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5097. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5098. that causes the control to be created. Fixes #77476.
  5099. 2006-03-02 Jackson Harper <[email protected]>
  5100. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5101. expose_pending.
  5102. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5103. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5104. passed in for the EventArgs (fixes #77690)
  5105. 2006-03-01 Jackson Harper <[email protected]>
  5106. * ScrollBar.cs: Refresh afterbeing resized.
  5107. 2006-02-28 Mike Kestner <[email protected]>
  5108. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5109. Clean up a tracker compile warning.
  5110. * MenuItem.cs: add internal PerformPopup method.
  5111. [Fixes #77457]
  5112. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5113. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5114. implicit expose) when the text is set to null
  5115. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5116. * RichTextBox.cs (FlushText): When newline is true, we always
  5117. need to split the line, even if no text is on it and we may
  5118. never eat newlines. (Fixes #77669)
  5119. 2006-02-28 Mike Kestner <[email protected]>
  5120. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5121. and set Selected instead.
  5122. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5123. collections.
  5124. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5125. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5126. 2006-02-28 Alexander Olk <[email protected]>
  5127. * FontDialog.cs:
  5128. - Got rid of the panel. All controls are now directly added to
  5129. the dialog form
  5130. - It is now possible to set a font with the Font property
  5131. - MinSize and MaxSize property do now what they should
  5132. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5133. - Searching and selecting a font with the font textbox works now,
  5134. the same applies to the style and size textbox
  5135. - Draw the correct 3D border in the example panel
  5136. - Fixed a little mem leak (unused fonts didn't get disposed)
  5137. - Many other internal updates/rewrites...
  5138. - Fix typo
  5139. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5140. * TextControl.cs:
  5141. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5142. - set_SelectedRTF: Now using the number of characters to calculate
  5143. the new location for the selection and cursor (x/y cannot be used
  5144. due to potentially already wrapped text)
  5145. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5146. * TextControl.cs: Added property and implemented means to allow
  5147. disabling recalculation of a document (can be used to speed up
  5148. multiple inserts and is needed to make RTF inserts predictable, see
  5149. bug #77659)
  5150. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5151. keep x/y insert locations predictable. Also makes it faster inserting
  5152. large chunks of RTF
  5153. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5154. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5155. it's easier for a child control to handle the other messages without
  5156. having to duplicate the special functionality
  5157. * TextBoxBase.cs
  5158. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5159. code to handle processing the key ourselves, in order to get
  5160. access to the result of KeyEventArgs.Handled. We now only call
  5161. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5162. - set_Text: If null or empty string is given, just clear the
  5163. document. Fixes part of #77526
  5164. 2006-02-27 Jackson Harper <[email protected]>
  5165. * SizeGrip.cs: Paint the background color before painting the grip
  5166. so things look right.
  5167. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5168. 2006-02-27 Mike Kestner <[email protected]>
  5169. * ListView.cs:
  5170. - Restructure layout and invalidation model to remove a ton of
  5171. flicker from the control and speed up performance in general.
  5172. - Add manual column resize, flickers like crazy, but I already have
  5173. some ideas on how I'll fix that. (#76822)
  5174. - Merge the three Icon-based views into a single layout method.
  5175. - Move item selection interaction logic from the item since
  5176. interaction with the collections is more appropriate to the view.
  5177. - Deselection on non-item clicks.
  5178. * ListViewItem.cs:
  5179. - Encapsulate most of the layout. Add some internal props to trigger
  5180. layout. Move to a model where Items invalidate themselves instead
  5181. of just invalidating the whole control every time something changes.
  5182. - Invalidate on Text/Caption changes.
  5183. - switch to an offset based layout model to avoid having to absolute
  5184. position every element on item moves.
  5185. - correct checkbox layout to conform to MS layout.
  5186. * ThemeWin32Classic.cs:
  5187. - refactor some column header drawing code.
  5188. - fix string justification for column headers (#76821)
  5189. - make SmallIcon labels top justified for compat with MS impl.
  5190. * ThemeClearlooks.cs:
  5191. - adjust to new ListViewItem internal checkbox bounds api.
  5192. 2006-02-27 Jackson Harper <[email protected]>
  5193. * Control.cs: Change where implicit controls fall in the zorder.
  5194. They are now on top of all children.
  5195. - Synced AddImplicit code with Add
  5196. - Removed unused enumerator.
  5197. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5198. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5199. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5200. string ends with \n\n, otherwise we leave one line too many (Fixes
  5201. something I noticed with the testapp for #77526; the bug itself was
  5202. already fixed in the previous checkin)
  5203. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5204. * RichTextBox.cs:
  5205. - SelectionColor and SelectionFont methods no longer set absolute
  5206. styles. Instead, the keep font or color respectively (This
  5207. resolves a long-standing FIXME in the code)
  5208. - When flushing RTF text, the insert code now considers text trailing
  5209. behind the insertion point (Fixes the bug where when replacing
  5210. the selected text via SelectedRTF the remainder of the line behind
  5211. the selection would stay on the first insertion line)
  5212. * TextBoxBase.cs:
  5213. - AppendText now updates the selection points after inserting text
  5214. - AppendText now ensures that the last tag (sometimes 0-length) of
  5215. the document is used for the style information (Fixes part of
  5216. bug #77220)
  5217. * TextControl.cs:
  5218. - Created new FontDefiniton class to allow describing partial style
  5219. changes
  5220. - StreamLine() now takes a lines argument, to allow it to decide
  5221. whether an encountered zero-length tag is the last in the document
  5222. (which must be kept to not loose the font/color contained in it,
  5223. for later appends)
  5224. - Created Combine() and Split() methods for Marker structs, to
  5225. support marker updates due to reformatted documents (soft line
  5226. wraps)
  5227. - Implemented Document.CaretTag setter
  5228. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5229. of the last line (Not the cause, but also exposed by bug #77220)
  5230. - Added LineTag argument to InsertString method, to allow callers
  5231. to force a certain tag to be used (required to force use of the
  5232. trailing zero-length tag of a document)
  5233. - Now updating markers in Combine(), to avoid stale tag markers
  5234. - Added some method descriptions to aid maintenance
  5235. - Implemented new FormatText concept, allowing additive/subtractive
  5236. formatting by only specifying the components that are to be
  5237. changed. This was needed for resolving the RTB.SelectedColor/
  5238. RTB.SelectedFont fixmes
  5239. - Added Break() support method to allow breaking up linetags (used
  5240. for partial formatting)
  5241. - Added GenerateTextFormat() method. It is used for partial
  5242. formatting and allows to generate a full font/color from given
  5243. attributes and an existing tag.
  5244. 2006-02-26 Jackson Harper <[email protected]>
  5245. * XplatUIX11.cs: Use the correct caption height.
  5246. - Translate hittest coordinates to screen coords to match MS.
  5247. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5248. some of the style flags, so we get a nice blank window, and can
  5249. draw all the decorations ourselves.
  5250. - Set a clipping rectangle on the non client paint event, the
  5251. window manager drawing code needs one.
  5252. * Form.cs: The window manager needs to know when the window state
  5253. has been updated.
  5254. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5255. don't need to factor in border and title sizes in these
  5256. methods. TODO: Remove the args and fix the call points.
  5257. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5258. properly.
  5259. - Let the driver set the cursors.
  5260. - Improve active window handling
  5261. - Correct sizes for title bars and buttons.
  5262. - Match MS drawing better
  5263. * MdiWindowManager.cs: We don't need to handle border style
  5264. updates specially anymore.
  5265. - Check for scrollbars when windows are done moving
  5266. - Handle Active properly.
  5267. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5268. correctly. I am spewing the exception though, so we don't hide the
  5269. bugs.
  5270. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5271. * DataGridViewRowPostPaintEventArgs.cs,
  5272. DataGridViewCellPaintingEventArgs.cs,
  5273. DataGridViewRowCollection.cs,
  5274. DataGridViewRowPrePaintEventArgs.cs,
  5275. DataGridViewCell.cs: Clear a few warnings and implement a few
  5276. exceptions that should be thrown.
  5277. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5278. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5279. 'inheriting' our parent's (non-default) cursor. (Part of
  5280. the fix for #77479)
  5281. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5282. * XplatUIX11.cs: Fixed cast to make csc happy
  5283. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5284. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5285. it's for the client area (part of fix for #77479 and needed
  5286. for MDI window cursor handling)
  5287. * XplatUIX11.cs
  5288. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5289. the appropriate default cursors and also passing the message
  5290. up the parent chain
  5291. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5292. for non-client areas
  5293. 2006-02-15 Jackson Harper <[email protected]>
  5294. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5295. is a real MDI window
  5296. 2006-02-14 Alexander Olk <[email protected]>
  5297. * X11DesktopColors.cs: Instead of checking the desktop session
  5298. string for "KDE" check if it starts with "KDE"
  5299. 2006-02-10 Jackson Harper <[email protected]>
  5300. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5301. systems).
  5302. 2006-02-10 Alexander Olk <[email protected]>
  5303. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5304. errors
  5305. * ColorDialog.cs:
  5306. - Got rid of the panel. All controls are now directly added to
  5307. the dialog form
  5308. - Changed to mono coding style
  5309. 2006-02-10 Jackson Harper <[email protected]>
  5310. * InternalWindowManager.cs: We don't need the set visibility to
  5311. false hack anymore now that peter has written beautiful shutdown
  5312. code.
  5313. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5314. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  5315. where already explicitly destroyed
  5316. 2006-02-10 Jackson Harper <[email protected]>
  5317. * MdiClient.cs: Handle the case where windows are too high or to
  5318. the left and we need scrollbars.
  5319. 2006-02-10 Alexander Olk <[email protected]>
  5320. * MimeIcon.cs: Added some icons
  5321. * FileDialog.cs:
  5322. - Fixed bug #77477
  5323. - Got rid of the panel. All controls are now directly added to
  5324. the dialog form
  5325. - Changed to mono coding style
  5326. - On Linux "My Computer" and "My Network" will now show some
  5327. more usefull information. A new class, MasterMount, gathers
  5328. this information from /proc/mount. Updated MWFFileView to make
  5329. use of this information
  5330. - Fixed a bug that caused FileDialog to crash when
  5331. ".recently_used" file had a zero size
  5332. - FilterIndex does now what it should
  5333. - Some Refactoring
  5334. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  5335. FileDialog changes
  5336. 2006-02-09 Jackson Harper <[email protected]>
  5337. * ComboBox.cs: Don't touch if null.
  5338. 2006-02-09 Peter Dennis Bartok <[email protected]>
  5339. * Cursor.cs: 64bit safeness fix
  5340. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  5341. 2006-02-09 Jackson Harper <[email protected]>
  5342. * Form.cs: If a form is made into an MDI form update the styles so
  5343. all the props can get set correctly.
  5344. - Kill the mdi_container when we dont need it anymore.
  5345. * InternalWindowManager.cs: Add missing NOT
  5346. 2006-02-08 Jackson Harper <[email protected]>
  5347. * InternalWindowManager.cs: Respek clipping when drawing MDi
  5348. decorations.
  5349. 2006-02-08 Jackson Harper <[email protected]>
  5350. * Hwnd.cs: Add bits to track non client expose events.
  5351. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  5352. gives us a proper invalid rect and will allow for some nice
  5353. optimizations with NC client drawing
  5354. - MDI windows are children windows, so move their style handling
  5355. into the child window block.
  5356. * InternalWindowManager.cs: Remove a state reset that was
  5357. getting invoked at the wrong time. Fixes managed windows getting
  5358. into a 'stuck' captured state.
  5359. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5360. * TextControl.cs (Document.ctor): Now initializing
  5361. selection_anchor. Fixes #77493
  5362. 2006-02-07 Jackson Harper <[email protected]>
  5363. * TrackBar.cs: The increment/decrements were backwards.
  5364. 2006-02-07 Mike Kestner <[email protected]>
  5365. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  5366. to the instance itself.
  5367. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5368. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  5369. on ulongs and pointers, the size differs between 32bit and 64bit
  5370. systems.
  5371. 2006-02-07 Mike Kestner <[email protected]>
  5372. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  5373. for 64 bit platforms to work around a metacity bug.
  5374. 2006-02-07 Jackson Harper <[email protected]>
  5375. * TrackBar.cs: Process the input keys we need, and hookup to
  5376. KeyDown instead of using WndProc, so we get key messages.
  5377. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5378. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  5379. machine we're on.
  5380. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  5381. we need to translate the XdndVersion atoms array before sending it
  5382. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5383. * XplatUIX11.cs:
  5384. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  5385. number of bits for the property, not the number of bytes. The
  5386. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  5387. but would not crash since it specified 8 bits instead of 4 bits)
  5388. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  5389. defined as XID -> long in the C headers)
  5390. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  5391. references since those are now IntPtr to begin with
  5392. - Switched all Atom.XXX 'int' casts to IntPtr casts
  5393. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  5394. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  5395. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  5396. * X11Structs.cs:
  5397. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  5398. - Changed atom in HoverStruct to be IntPtr
  5399. * X11DnD.cs:
  5400. - Removed local DllImports, switched code to use those from XplatUIX11
  5401. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  5402. 2006-02-06 Mike Kestner <[email protected]>
  5403. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  5404. method signatures in the import region. There may still be some
  5405. lingering struct marshaling issues, as I didn't drill down into those.
  5406. Yet.
  5407. 2006-02-06 Jackson Harper <[email protected]>
  5408. * ComboBox.cs: Dont manually set the top_item, this is computed
  5409. when the scrollbar position is set.
  5410. 2006-02-06 Mike Kestner <[email protected]>
  5411. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  5412. startup crashes on amd64. There's other fixes needed. All pinvoke
  5413. usage of Atom needs to be mapped to IntPtr for example. And there are
  5414. likely other int/long issues to be addressed.
  5415. 2006-02-04 Alexander Olk <[email protected]>
  5416. * FileDialog.cs: One more...
  5417. 2006-02-03 Alexander Olk <[email protected]>
  5418. * FileDialog.cs: Next try
  5419. 2006-02-03 Alexander Olk <[email protected]>
  5420. * FileDialog.cs: First part of fix for #77464
  5421. 2006-02-03 Alexander Olk <[email protected]>
  5422. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  5423. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  5424. AcceptButton border drawing.
  5425. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5426. * Form.cs: Moved positioning of form after auto scaling is applied,
  5427. otherwise it would possibly use wrong form size.
  5428. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5429. * Control.cs (RecreateHandle): No need to re-create any child
  5430. controls, the child windows will get destroyed automatically by
  5431. the windowing system or driver, and re-created when the handle
  5432. is being accessed the first time. Fixes #77456
  5433. * Form.cs: No longer setting the form to closing if the handle is
  5434. being recreated. This seems like the right thing to do, don't
  5435. have a bug or testcase for this, though.
  5436. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5437. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  5438. controls to avoid unwanted side effects
  5439. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5440. * Control.cs:
  5441. - ScaleCore needs to scale the bounds, not the ClientSize of the
  5442. control. Fixes #77416.
  5443. - DefaultSize is 0,0 for control
  5444. * TextBoxBase.cs:
  5445. - DefaultSize is 100, 20
  5446. - SetBoundsCore: Now enforcing the height, no matter if the provided
  5447. height is more or less than the preferred one, as long as AutoSize
  5448. is on
  5449. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  5450. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5451. * Control.cs:
  5452. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  5453. call unless both performLayout is true *and* we have a pending
  5454. layout change
  5455. - ResumeLayout: MS does not completely nest Suspend and Resume,
  5456. they bottom out at 0, fixed our code to match that.
  5457. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  5458. SetBoundsCore, we were updating even when we shouldn't. This fixes
  5459. swf-anchors mis-anchoring when resizing the app fast and lots.
  5460. - UpdateDistances: Now only setting the left and top distance if
  5461. we have a parent and are not suspended, this is based on
  5462. a suggestion by Don Edvaldson in bug #77355.
  5463. - OnVisibleChanged: Fixed logic when to create the control. We may
  5464. not create the control if we have no parent or if it's not visible;
  5465. switched to using Visible property instead of is_visible field
  5466. since the property also considers parent states. This fixes a bug
  5467. when starting Paint.Net
  5468. 2006-02-02 Jackson Harper <[email protected]>
  5469. * Form.cs: If the forms handle hasn't been created yet don't call
  5470. into xplatui to make it top most, just set the topmost flag on the
  5471. form in CreateParams
  5472. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  5473. 2006-02-01 Jackson Harper <[email protected]>
  5474. * ScrollableControl.cs: Refactored the Recalculate method a
  5475. little, this wasn't handling all the variants of bottom and right
  5476. bars needed to be added and added/removed based on their
  5477. counterparts being added/removed (which changes the drawable
  5478. size). Also we special case client widths and heights of 0 and
  5479. don't add the scrollbar for those.
  5480. 2006-02-01 Peter Dennis Bartok <[email protected]>
  5481. * XplatUIX11.cs:
  5482. - Added method to get AbsoluteGeometry(); currently unused, but might
  5483. be used in the future, if we try again to figure out toplevel
  5484. coordinates with some more crappy window managers
  5485. - Added FrameExtents() method to retrieve the WM set decoration size
  5486. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  5487. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  5488. * Hwnd.cs:
  5489. - Added whacky_wm tracking var for metacity
  5490. - Added logic to have default menu height if the actual menu height
  5491. has not yet been calculated (part of fix for #77426)
  5492. * Form.cs: Keep track whether client size has been set and re-set
  5493. it if a menu is added/removed afterwards (Fixes #77426)
  5494. 2006-01-31 Jackson Harper <[email protected]>
  5495. * Control.cs: When a new Site is set on the component attempt to
  5496. pull the AmbientProperties from it.
  5497. 2006-01-31 Peter Dennis Bartok <[email protected]>
  5498. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  5499. in the background of the owning form. Fixes #77332
  5500. 2006-01-31 Alexander Olk <[email protected]>
  5501. * MimeIcon.cs: Fix for #77409
  5502. 2006-01-31 Alexander Olk <[email protected]>
  5503. * XplatUIX11GTK.cs: Initial import
  5504. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  5505. * FixedSizeTextBox: fixes class signature
  5506. 2006-01-30 Jackson Harper <[email protected]>
  5507. * FixedSizeTextBox.cs: New internal class that represents a
  5508. textBox that will not be scaled.
  5509. * TreeView.cs:
  5510. * ComboBox.cs:
  5511. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  5512. standard TextBox.
  5513. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5514. * XplatUIX11.cs: Retrieve default screen number instead of
  5515. assuming 0. Attempted fix for #77318
  5516. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5517. * XplatUIWin32.cs:
  5518. - GetWindowPos: When a window is parented by FosterParent, use
  5519. the desktop instead of FosterParent as the base to get coordinates
  5520. - CreateWindow: Don't make FosterParent the parent window for Popups
  5521. if we don't want a taskbar entry, Popups automatically don't get one
  5522. * Hwnd.cs: Need to call remove to actually remove the key from the
  5523. hash table
  5524. 2006-01-30 Mike Kestner <[email protected]>
  5525. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  5526. 2006-01-30 Jackson Harper <[email protected]>
  5527. * TreeView.cs:
  5528. * TreeNode.cs: Raise events no matter how the treenode is
  5529. checked. Patch by Don Edvalson.
  5530. 2006-01-30 Jackson Harper <[email protected]>
  5531. * TreeNode.cs: Signature fix.
  5532. 2006-01-29 Alexander Olk <[email protected]>
  5533. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  5534. 2006-01-20 Mike Kestner <[email protected]>
  5535. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  5536. event forwarding when menus are active.
  5537. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  5538. Most of the patch is pdb's with a little rework.
  5539. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5540. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  5541. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  5542. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  5543. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  5544. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  5545. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  5546. the PaintWindowDecorations method
  5547. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  5548. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  5549. * MenuAPI.cs: Made tracker window invisible
  5550. * XplatUIWin32.cs:
  5551. - Removed GetMenuDC and ReleaseMenuDC methods
  5552. - Implemented the client=false path for PaintEventStart and
  5553. PaintEventEnd
  5554. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5555. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  5556. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  5557. styles
  5558. * Form.cs:
  5559. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  5560. the style
  5561. - CreateParams: Reworked the styles to match MS look'n'feel,
  5562. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  5563. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  5564. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5565. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  5566. window is not mapped, since otherwise every form that's being
  5567. created is considered minimized, which is wrong.
  5568. * Form.cs: Catching the exception and returning our internal value
  5569. instead
  5570. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5571. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  5572. SetWindowMinMax() to have means to tell the driver about the minimum,
  5573. maximum and maximized state window sizes. (Part of the fix for #76485)
  5574. * Form.cs:
  5575. - Implemented tracking of minimum and maximum window size, now calling
  5576. new SetWindowMinMax() driver method to tell the driver (Part of the
  5577. fix for #76485)
  5578. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  5579. (Completes fix for #76485)
  5580. - Calling new SetWindowMinMax driver method when the handle for a
  5581. form is created, to make sure the driver knows about it even if
  5582. the values have been set before the window was created
  5583. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  5584. to avoid messing up our anchoring calculations (partial fix
  5585. for #77355)
  5586. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  5587. * XplatUIX11.cs:
  5588. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  5589. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  5590. (and presumably other freedesktop.org compliant WMs). Left the
  5591. assumption unmapped=minimized, needed for SetVisible to work.
  5592. - Now setting the window state when creating windows
  5593. - Fixed SetVisible to consider/set the window state when mapping
  5594. a Form. We cannot set the state before it's mapped, and we cannot
  5595. use Form.WindowState once it's mapped (since it would ask the
  5596. driver and get 'normal'. Therefore, we grab the state before
  5597. mapping, map, and then set state.
  5598. - Implmemented SetWindowMinMax method; Metacity does not seem to
  5599. honor the ZoomHints, though.
  5600. * XplatUIWin32.cs:
  5601. - Removed MINMAXINFO (moved to XplatUIStructs)
  5602. - Added SetWindowMinMax stub (on Win32 the only way to set that
  5603. information is in response to the WM_GETMINMAXINFO message, which
  5604. is handled in Form.cs)
  5605. - Added logic to SetVisible to set the proper window state when a
  5606. form is made visible (fixes #75720)
  5607. 2006-01-26 Jackson Harper <[email protected]>
  5608. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  5609. same way we handle them with Invoke.
  5610. 2006-01-25 Peter Dennis Bartok <[email protected]>
  5611. * Form.cs:
  5612. - Added tracking of window state so CreateParams can return
  5613. the appropriate style
  5614. - Moved setting of WS_CAPTION style in CreateParams to allow
  5615. styles without caption
  5616. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  5617. control if the TextBox property is accessed. Fixes #77345
  5618. * Control.cs:
  5619. - get_Created: now uses is_disposed and is_created to determine
  5620. return value (suggested by Jackson)
  5621. - CreateHandle: No longer exits if the handle is being recreated
  5622. - RecreateHandle: If the handle is not yet created call the
  5623. appropriate method to create either control or handle. If the
  5624. control is already created CreateHandle will simply exit instead
  5625. of just creating the handle
  5626. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  5627. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  5628. is called.
  5629. * XplatUIX11.cs:
  5630. - When DestroyWindow is called, instead of waiting for the
  5631. DestroyNotification from X11, we directly post it to the WndProc
  5632. and immediately dispose the hwnd object.
  5633. Same applies to DestroyChildWindows, and this obsoletes the
  5634. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  5635. child windows before our own, to avoid X11 errors.
  5636. - Removed the direct sending of WM_PAINT on UpdateWindow
  5637. * XplatUIWin32.cs:
  5638. - Reworked DoEvents and GetMessage to allow access to internal queue
  5639. even when trying non-blocking access to the queue. Fixes #77335.
  5640. Based on a patch suggestion by Don Edvalson. The new private
  5641. GetMessage can now also be used as a backend for a PeekMessage
  5642. frontend version.
  5643. * XplatUI.cs: Improved debug output for CreateWindow
  5644. 2006-01-25 Jackson Harper <[email protected]>
  5645. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  5646. 2006-01-24 Jackson Harper <[email protected]>
  5647. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  5648. when we have a MaxDropItems lower then the selected index.
  5649. 2006-01-24 Jackson Harper <[email protected]>
  5650. * Control.cs: Don't allow selection of non visible controls, allow
  5651. selection of controls without parents.
  5652. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5653. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  5654. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  5655. 2006-01-23 Jackson Harper <[email protected]>
  5656. * UpDownBase.cs: Make the textbox handle all the selection and
  5657. tabbing. This fixes tabing to updown controls.
  5658. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5659. * TextBoxBase.cs: fixes exception thown the object was null
  5660. 2006-01-23 Jackson Harper <[email protected]>
  5661. * ButtonBase.cs: Just use the base CreateParams. They set
  5662. visibility and enabled correctly.
  5663. * ComboBox.cs:
  5664. * TrackBar.cs:
  5665. * MonthCalendar.cs: Lets let the base set as much of the
  5666. createparams as possible so we don't have duplicate code all over
  5667. the place.
  5668. 2006-01-22 Alexander Olk <[email protected]>
  5669. * ThemeGtk.cs: Added TrackBar and some experimental code to
  5670. get double buffering back
  5671. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  5672. * DataGrid.cs: Allows row number set internally higher than the last
  5673. when creating a new row. Restores the editing functionality.
  5674. 2006-01-20 Mike Kestner <[email protected]>
  5675. * MimeIcon.cs: delay Image creation until the icons are accessed
  5676. instead of creating 190 scaled images on GnomeHandler startup.
  5677. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5678. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  5679. first call base before processing the event. Fixes #77279
  5680. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5681. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  5682. that the stride for the GDI bitmap would match the stride of
  5683. a DIB or a Cursor.
  5684. 2006-01-19 Alexander Olk <[email protected]>
  5685. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  5686. 2006-01-19 Jackson Harper <[email protected]>
  5687. * ComboBox.cs: Hookup the text controls keydown event so we get
  5688. those when the text control has the focus.
  5689. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5690. * Label.cs: Now using the base events instead of defining new ones;
  5691. this allows us to just call the base properties without having to
  5692. duplicate all base property logic
  5693. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5694. * Label.cs: A label by default is not a tabstop (Fixes one of our
  5695. failing nunit tests)
  5696. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5697. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  5698. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  5699. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5700. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  5701. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  5702. This fixes #77218
  5703. * XplatUIWin32.cs:
  5704. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  5705. constructor creates images that can't be saved. Part of the fix
  5706. for #76103
  5707. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  5708. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  5709. bug fix for handling window state in forms properly)
  5710. 2006-01-18 Alexander Olk <[email protected]>
  5711. * ThemeGtk.cs: Simplify ScrollBar drawing
  5712. 2006-01-18 Jackson Harper <[email protected]>
  5713. * Splitter.cs: Set the default dock style for the splitter control
  5714. in the constructor.
  5715. 2006-01-18 Alexander Olk <[email protected]>
  5716. * ThemeGtk.cs: Corrected StateType and ShadowType for
  5717. gtk_paint_box
  5718. 2006-01-18 Alexander Olk <[email protected]>
  5719. * Control.cs: Make use of Theme.DoubleBufferingSupported
  5720. * ThemeGtk.cs:
  5721. - Added drawing for flat style buttons
  5722. - Added ScrollBar drawing
  5723. 2006-01-18 Alexander Olk <[email protected]>
  5724. * ThemeClearlooks.cs: Removed some unneeded code.
  5725. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  5726. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5727. * LinkLabel.cs: We need to update the hover drawing when
  5728. leaving the control as well.
  5729. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  5730. * DataGrid.cs: Clicking on non empty areas in the columns
  5731. area was giving an exception
  5732. 2006-01-17 Jackson Harper <[email protected]>
  5733. * ThemeWin32Classic.cs:
  5734. * ListView.cs: Do not draw/clip the headers when the header style
  5735. is None.
  5736. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5737. * DataGrid.cs: Fixes 77260
  5738. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5739. * DataGrid.cs: Clicking on a column on a empty grid was giving
  5740. an exception
  5741. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5742. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  5743. or any keypress will crash the grid.
  5744. 2006-01-17 Mike Kestner <[email protected]>
  5745. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  5746. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  5747. invisible/previously-visible items.
  5748. [Fixes #76909]
  5749. 2006-01-17 Alexander Olk <[email protected]>
  5750. * ThemeClearlooks.cs:
  5751. - Added CL_Draw_Button method; now other theme controls that are
  5752. not derived from button or do not have a button can draw buttons
  5753. too
  5754. - Updated ComboBox drawing
  5755. - Beautified RadioButton drawing
  5756. - Corrected drawing of bottom and left tabs
  5757. - Beautified DateTimePicker and MonthCalendar
  5758. - Added CPDrawButton and CPDrawRadioButton
  5759. 2006-01-16 Jackson Harper <[email protected]>
  5760. * ComboBox.cs: Set the initial value of the scrollbar to the
  5761. current index. Reduce the numbers of refreshs and IndexOfs called.
  5762. 2006-01-14 Alexander Olk <[email protected]>
  5763. * FileDialog.cs: When the file listview is focused hitting the
  5764. backspace key moves the fileview to the parent directory
  5765. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5766. * Form.cs:
  5767. - Added RecreateHandle call when changing taskbar visibility to
  5768. trigger reparenting in Win32 driver (Fixes #75719)
  5769. - If a window has minimize or maximize buttons, it cannot have
  5770. a help button
  5771. * XplatUIWin32.cs:
  5772. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  5773. the toplevel form with FosterParent (A toolwindow not on the
  5774. taskbar) (Fixes #75719)
  5775. - Made FosterParent a toolwindow
  5776. 2006-01-13 Alexander Olk <[email protected]>
  5777. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  5778. 2006-01-13 Alexander Olk <[email protected]>
  5779. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  5780. is currently over that control, make sure that tooltip_window.Text
  5781. gets updated
  5782. 2006-01-13 Mike Kestner <[email protected]>
  5783. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  5784. 2006-01-13 Jackson Harper <[email protected]>
  5785. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  5786. value passed. Also redraw the selected node when we recieve
  5787. focus, so tabbing between trees works correctly.
  5788. 2006-01-13 Alexander Olk <[email protected]>
  5789. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  5790. ~/.gconf/%gconf-tree.xml, so use
  5791. .gconf/desktop/gnome/interface/%gconf.xml
  5792. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5793. * TextControl.cs: Draw text in gray if control is disabled
  5794. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5795. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  5796. make sure it's always visible. Fixes #76680.
  5797. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5798. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  5799. 2006-01-13 Jonathan Chambers <[email protected]>
  5800. * PageSetupDialog.cs: Added.
  5801. * PrintDialog.cs: Attributes.
  5802. * PrintPreviewControl.cs: Updates.
  5803. * PrintPreviewDialog.cs: Updates.
  5804. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5805. * Control.cs: Undid my selection check fix, since it's not needed
  5806. * TextBoxBase.cs:
  5807. - Now considering the presence of hscroll/vscroll when sizing
  5808. vscroll/hscroll respectively. Fixed bug #77077
  5809. - Added Left/Up/Down/Right to IsInputKey list to prevent
  5810. ContainerControl from stealing them. This fixes what I broke
  5811. with my last checkin.
  5812. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5813. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  5814. I finally understand how the property can be set without a setter :-)
  5815. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5816. * Application.cs:
  5817. - Switched RunLoop to use static Message.Create to create a
  5818. Message object
  5819. - Added PreProcessMessage call in runloop for keyboard events; this
  5820. is part of the fix for #77219, I overlooked this originally in the
  5821. MSDN doc for PreProcessMessage
  5822. * Control.cs:
  5823. - Removed call to PreProcessMessage from handling of keyboard
  5824. messages; it's supposed to be done in the message pump
  5825. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  5826. per MSDN documentation.
  5827. - IsInputChar: All chars are input chars by default; removed the
  5828. parent calling chain, MS does not document that
  5829. - PreProcessMessage: If IsInputChar is true, we want to return false
  5830. to allow dispatching of the message
  5831. - When selecting the next control, now also check that we're not
  5832. selecting ourselves again and therefore return a false positive.
  5833. * TextBoxBase.cs:
  5834. - Tried to match return values for IsInputKey and ProcessDialogKey
  5835. to what MS returns; moved processing of our special keys outside
  5836. ProcessDialogKey since MS does not seem to return true on those.
  5837. - Moved code that previously was in ProcessDialogKey into new private
  5838. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  5839. - Reworked handling of WM_CHAR to not have to duplicate code from
  5840. Control.cs anymore, instead we simply call down to base.
  5841. 2006-01-12 Jackson Harper <[email protected]>
  5842. * ComboBox.cs: We always need to refresh the text area when
  5843. EndUpdate is called. Fixes the combobox in the file dialog.
  5844. * Control.cs: Don't create the creator_thread until the controls
  5845. handle is created. Also in InvokeRequired we check if the
  5846. creator_thread is null. This gives the effect of InvokeRequired
  5847. returning true if the controls handle is not created yet, and
  5848. matches MS.
  5849. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5850. * XplatUI.cs:
  5851. - Added StartLoop() driver method. This is used to allow drivers to
  5852. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  5853. loop for a particular thread
  5854. - Added EndLoop() driver method. This is called once the message
  5855. pump for the thread is shut down
  5856. - Added SupportsTransparency method to allow the driver to indicate
  5857. opacity support for windows
  5858. * Form.cs:
  5859. - Removed TODO attribute, completed AllowTransparency property
  5860. - Added documented logic to Opacity
  5861. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  5862. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  5863. versions of CompatibleTextRendering
  5864. * X11Structs.cs: Added opacity atom to our atom enumeration
  5865. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  5866. of a form might be set before it's reparented by the WM, and we need
  5867. the opacity value without calling up to Form)
  5868. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  5869. SupportsTransparency() driver methods
  5870. * Application.cs: Now calling StartLoop and EndLoop driver methods
  5871. * XplatUIX11.cs:
  5872. - Added opacity atom registration
  5873. - Added StartLoop()/EndLoop() methods. They're empty right now but
  5874. will need to get implemented when we switch to a per-thread queue
  5875. - Implemented SupportsTransparency() method
  5876. - Implemented SetWindowTransparency() method
  5877. - Added support for setting the opacity value when a window is
  5878. reparented (since the opacity needs to be set on the WM frame)
  5879. * XplatUIOSX.cs, XplatUIWin32.cs:
  5880. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  5881. 2006-01-12 Alexander Olk <[email protected]>
  5882. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  5883. 2006-01-12 Alexander Olk <[email protected]>
  5884. * FileDialog.cs: Added ToolTip for MWFFileView
  5885. * MimeIcon.cs: Rewrote GnomeHandler.
  5886. - Get currently used gnome icon theme from
  5887. ($HOME)/.gconf/%gconf-tree.xml
  5888. - Make use of inherited icon themes
  5889. - Support SVG icon themes like Tango via librsvg
  5890. 2006-01-12 Miguel de Icaza <[email protected]>
  5891. Revert's Jackson's revert which broke 2.0 builds. Fix both
  5892. builds.
  5893. * Application.cs: Move the use_compatible_text_rendering outside
  5894. the NET_2_0 define. If we ever need to use the
  5895. use_compatible_text_rendering on the individual controls they will
  5896. access the variable from the common shared code paths.
  5897. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5898. * XplatUI.cs:
  5899. - Added more granular debug options
  5900. - Added method to print both window text and id
  5901. - Switched debug output to use new Window() debug method
  5902. - Added IsEnabled() driver method
  5903. - Added EnableWindow() driver method
  5904. * Form.cs:
  5905. - Removed end_modal; no longer needed, new loop handles termination
  5906. via 'closing' variable
  5907. - If form is modal, setting DialogResult will now initiate loop
  5908. termination via 'closing' variable
  5909. - Added support for is_enabled/WS_DISABLED to CreateParams
  5910. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  5911. does all the work
  5912. - Removed code that's now in RunLoop from ShowDialog()
  5913. - Added various documented sanity checks to ShowDialog()
  5914. - Added handling of WM_DESTROY message; we set 'closing' on getting
  5915. the message to indicate the message pump to terminate
  5916. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  5917. send by the Application.ExitThread method. (We send the message
  5918. to destroy the window after all other events have been
  5919. processed through the queue, instead of destroying the handle
  5920. directly)
  5921. - Moved code from Close() method to WM_CLOSE handler; added logic
  5922. to only send close-related events if the form is not displayed
  5923. modal
  5924. * Splitter.cs (..ctor): Fixed typo in resource name
  5925. * Control.cs:
  5926. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  5927. brush now
  5928. - set_Cursor: Now only setting calling into XplatUI if the handle for
  5929. the control is already created; this avoids implict handle creation
  5930. or crashes if it's not created
  5931. - set_Enabled: Now setting the enabled state via the new driver method
  5932. instead of just tracking it
  5933. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  5934. - CreateControl: Reordered event firing and method calls to more
  5935. closely fire events in the order MS does. Now setting the
  5936. enabled state in the driver when creating the control.
  5937. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  5938. match MS order
  5939. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  5940. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  5941. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  5942. * Hwnd.cs:
  5943. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  5944. - Added EnabledHwnd property to easily allow a driver to find the
  5945. handle of the first enabled window in the parent chain (this is
  5946. used by drivers to pass up input events of disabled windows)
  5947. * XplatUIDriver.cs: Added IsEnabled() method
  5948. * Application.cs:
  5949. - Removed crude and obsolete exiting tracking variable
  5950. - Removed internal ModalRun(); replaced by RunLoop()
  5951. - Implemented private CloseForms() method to allow closing all
  5952. windows owned by a particular (or all) threads
  5953. - Exit() now properly closes all windows without forcing the message
  5954. pump to quit
  5955. - Removed obsolete InternalExit() method
  5956. - Changed Run() methods to use new RunLoop() message pump
  5957. - Implemented new RunLoop() method for both modal and non-modal forms
  5958. * CommonDialog.cs:
  5959. - get_CreateParams: Added setting of WS_DISABLED
  5960. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  5961. invoked via Form.ShowDialog()
  5962. * NativeWindow.cs: We don't remove the window from the collection when
  5963. the handle is destroyed; there might still be messages for it in the
  5964. queue (mainly the resulting WM_DESTROY); instead it will be removed
  5965. when Control calls InvalidateHandle in the WM_DESTROY handler
  5966. * XplatUIX11.cs:
  5967. - CreateWindow: Added logic to handle the WS_DISABLED window style
  5968. - EnableWindow: Implemented based on Hwnd.Enabled
  5969. - GetMessage: Reset PostQuitState so the method can be called again
  5970. - Implemented support for disabled windows (passing messages to the
  5971. first enabled parent) in handling all input messages
  5972. - Added optimizations for handling Expose events
  5973. - Implemeted new driver method IsEnabled()
  5974. - Now always resetting paint pending tracking vars when we start paint
  5975. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  5976. * XplatUIOSX.cs: Added IsEnabled method stub
  5977. * XplatUIWin32.cs: Implemented new IsEnabled() method
  5978. 2006-01-11 Jackson Harper <[email protected]>
  5979. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  5980. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  5981. variables a little.
  5982. * ColorDialog.cs: Clear out the old form before adding the new
  5983. panel.
  5984. 2006-01-11 Jackson Harper <[email protected]>
  5985. * X11Dnd.cs: Make sure to add all the text formats when adding
  5986. strings to the data object.
  5987. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  5988. do some redrawing too. Also change the UpdateNode to an
  5989. UpdateBelow so the newly added node gets painted.
  5990. 2006-01-11 Miguel de Icaza <[email protected]>
  5991. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  5992. LinkLabel.cs, PropertyGrid.cs: Implement the
  5993. UseCompatibleTextRendering property for 2.x
  5994. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  5995. 2006-01-11 Jackson Harper <[email protected]>
  5996. * TreeView.cs: Use the property for setting the selected node so
  5997. the correct events get raised.
  5998. * TreeNode.cs: Update the tree when the fore/back colours of a
  5999. node are set.
  6000. 2006-01-10 Jackson Harper <[email protected]>
  6001. * TreeView.cs: Allow setting SelectedNode to null.
  6002. 2006-01-9 Jonathan Chambers <[email protected]>
  6003. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6004. 2006-01-9 Jonathan Chambers <[email protected]>
  6005. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6006. 2006-01-9 Jonathan Chambers <[email protected]>
  6007. * PrintDialog.cs: Added attributes and set default property values.
  6008. 2006-01-9 Jonathan Chambers <[email protected]>
  6009. * PrintControllerWithStatusDialog.cs:
  6010. Added PrintControllerWithStatusDialog.
  6011. 2006-01-9 Jonathan Chambers <[email protected]>
  6012. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6013. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6014. 2006-01-9 Jonathan Chambers <[email protected]>
  6015. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6016. 2006-01-09 Jonathan Chambers <[email protected]>
  6017. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6018. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6019. 2006-01-08 Alexander Olk <[email protected]>
  6020. * MimeIcon.cs: Added internal class SVGUtil.
  6021. 2006-01-08 Alexander Olk <[email protected]>
  6022. * FileDialog.cs: Don't crash if there are two files with the
  6023. same name but different locations.
  6024. 2006-01-08 John BouAntoun <[email protected]>
  6025. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6026. dates across multiple month grids. Used to not highlight entire
  6027. month, but does now.
  6028. 2006-01-06 Jackson Harper <[email protected]>
  6029. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6030. message loop. Change timer intervals to numbers that seem more
  6031. natural.
  6032. 2006-01-06 John BouAntoun <[email protected]>
  6033. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6034. object for location info since screen object is now implemented.
  6035. 2006-01-05 Jackson Harper <[email protected]>
  6036. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6037. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6038. AsyncMethodResult, this is because we ALWAYS want the
  6039. ManualResetEvent to get set.
  6040. * Control.cs: When disposing use an async invoke to call shutdown
  6041. code, so that thigns don't block on the finalizer thread. Also
  6042. check if we even have a message loop before trying to send
  6043. messages, if we don't then don't bother sending messages.
  6044. - No more weak references for async methods
  6045. * XplatUIDriver.cs: No more weak references for async methods.
  6046. 2006-01-04 Alexander Olk <[email protected]>
  6047. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6048. returns two FontFamily with the same name
  6049. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6050. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6051. drawing disabled text. Instead using the ColorGrayText color
  6052. 2006-01-04 Jackson Harper <[email protected]>
  6053. * TreeNode.cs: redraw the node when its image index is changed.
  6054. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6055. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6056. time I checked there are no others like it.
  6057. 2006-01-04 Jackson Harper <[email protected]>
  6058. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6059. this gives the behavoir I was looking for.
  6060. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6061. and fixes part of bug #76326.
  6062. 2006-01-04 Alexander Olk <[email protected]>
  6063. * ThemeClearlooks.cs, FileDialog.cs:
  6064. - Reflect the latest Theme class changes
  6065. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6066. with DateTime
  6067. 2006-01-04 Alexander Olk <[email protected]>
  6068. * Theme.cs: Cache UI resource images and resize them if needed
  6069. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6070. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6071. is called. This fixes the crash in Nexxia when setting the font
  6072. attributes in the chat. [However, RTF needs a look-over to make sure
  6073. that all SelectionXXX methods handle the special case that selection
  6074. is empty and therefore the change must be applied to all text starting
  6075. at the cursor/selection start]
  6076. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6077. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6078. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6079. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6080. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6081. * Theme.cs: Added theme interface for images to allow the theme to
  6082. control what images are used for things like FileDialog, MessageBox
  6083. icons, etc.
  6084. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6085. 2006-01-03 Alexander Olk <[email protected]>
  6086. * FileDialog.cs:
  6087. - Removed some dead code
  6088. - Opening a recently used file does work now
  6089. - Small UI enhancements
  6090. - Refactoring
  6091. 2006-01-02 Alexander Olk <[email protected]>
  6092. * FileDialog.cs: Forgot too add __MonoCS__
  6093. 2006-01-02 Alexander Olk <[email protected]>
  6094. * FileDialog.cs: We are able to read recently used files now let's
  6095. go on and write them.
  6096. 2006-01-01 Alexander Olk <[email protected]>
  6097. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6098. button
  6099. * MimeIcon.cs: Do a check for the top level media type also
  6100. 2005-12-31 Alexander Olk <[email protected]>
  6101. * ThemeClearlooks.cs:
  6102. - Added CPDrawStringDisabled
  6103. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6104. some chars if the text doesn't fit into text_rect
  6105. - DrawListViewItem: If View = View.LargeIcon center the image;
  6106. rewrote the drawing of ListViewItem.Text if View =
  6107. View.LargeIcon
  6108. 2005-12-31 Alexander Olk <[email protected]>
  6109. * MimeIcon.cs: Use default KDE icon theme if there is no
  6110. "48x48" directory for the current icon theme, fixes #77114
  6111. * Mime.cs: Disable not working and actually not used code.
  6112. * ThemeWin32Classic.cs:
  6113. - Replace "new SolidBrush" in GetControlBackBrush and
  6114. GetControlForeBrush with ResPool.GetSolidBrush
  6115. - Changed DrawListViewItem from private to protected virtual
  6116. * FileDialog.cs:
  6117. - Added form.MaximizeBox = true
  6118. - Don't throw an exception if there is a broken symbolic link
  6119. 2005-12-23 Jackson Harper <[email protected]>
  6120. * TabControl.cs: Give the panels focus, keyboard navigation is
  6121. fixed so this works correctly now.
  6122. - We need these key events also.
  6123. * ToolBar.cs: Remove some of the poor mans double buffering.
  6124. 2005-12-24 Alexander Olk <[email protected]>
  6125. * ComboBox.cs: The internal TextBox now returns the focus.
  6126. 2005-12-23 Jackson Harper <[email protected]>
  6127. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6128. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6129. * Control.cs: Removed debug code
  6130. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6131. implicit children
  6132. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6133. * Control.cs: When creating the control, update the Z-order after
  6134. all it's children are created, too. (Fixes nexxia not showing
  6135. picturebox bug)
  6136. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6137. * Control.cs: Do not update the anchoring distances if layout is
  6138. suspended, instead do it once layout is resumed
  6139. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6140. * Control.cs:
  6141. - After many hours of debugging, for both Jackson and
  6142. myself, it turns out that it helps to set the parent of a control
  6143. if you want to actually see it onscreen. In the spirit of that
  6144. discovery, we're now setting the parent of the control and
  6145. it's children when the control's handle is created. This fix
  6146. will make Lutz Roeder's Reflector run happily.
  6147. - now just creating the handle instead of the whole control when
  6148. getting a graphics context for the control.
  6149. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6150. * ScrollableControl.cs: When calculating the canvas, don't consider
  6151. the scrollbar widths. Instead, predict if horizontal scrollbar
  6152. will affect canvas when deciding on vertical display and vice versa.
  6153. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6154. * RichTextBox.cs: Set default RTF font for documents that don't
  6155. have a font table (Fixes #77076)
  6156. 2005-12-22 Jackson Harper <[email protected]>
  6157. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6158. clipboard. This prevents a NullRef in that case.
  6159. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6160. clipboard. PRIMARY is for the currently selected text only. (We
  6161. should implement PRIMARY at some point.
  6162. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6163. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6164. a Unicode function with a structure that was defined in Ansi way.
  6165. This fixes #76942.
  6166. 2005-12-21 Jackson Harper <[email protected]>
  6167. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6168. on. Because thats how it rolls. (and this avoids it using ambient
  6169. colours).
  6170. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6171. * Menu.cs: Use the system menu bar color for drawing menu
  6172. bars. Using the window back color will bring ambient colours into
  6173. the picture.
  6174. 2005-12-21 Alexander Olk <[email protected]>
  6175. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6176. Bitmaps were created and not disposed.
  6177. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6178. * Control.cs (CreateControl): Don't do anything if the control is
  6179. already created, otherwise we'd fire the OnCreated event more than
  6180. once
  6181. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6182. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6183. will always match. Instead return -1. Fixes #76464.
  6184. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6185. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6186. neither the beginning nor the end of the line (Fixes bug #76479)
  6187. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6188. * Control.cs:
  6189. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6190. where handle is invalid
  6191. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6192. instead of slower linear search
  6193. * NativeWindow.cs: Don't remove the window from the hashtable until
  6194. after the driver has destroyed it (since the driver might use
  6195. Control.FromHandle to lookup the control object
  6196. * Hwnd.cs: Added DestroyPending property to track if a window is
  6197. already destroyed as far as the driver is concerned and only hasn't
  6198. yet notified the control
  6199. * XplatUIX11.cs:
  6200. - Activate(): Check if the window is still valid before using the
  6201. handle
  6202. - Implemented DestroyChildWindow() method to mark child windows as
  6203. destroyed when a window is destroyed. This prevents situations
  6204. where we might call an X method based on queued events for a
  6205. window that already has been destroyed but we haven't yet pulled
  6206. the destroy method from the queue.
  6207. - Added a call to the new DestroyChildWindow() method to the drivers
  6208. DestroyWindow code. Also now marking the destroyed window itself
  6209. as pending
  6210. 2005-12-20 Jackson Harper <[email protected]>
  6211. * StatusBar.cs:
  6212. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6213. anymore. Just do them when needed, also track the rects of panels
  6214. so that we can optimize refreshing more in the future.
  6215. 2005-12-20 Alexander Olk <[email protected]>
  6216. * ColorDialog.cs: Fixed focus drawing in small color controls
  6217. 2005-12-19 Jackson Harper <[email protected]>
  6218. * InternalWindowManager.cs:
  6219. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6220. moving windows works properly.
  6221. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6222. * Control.cs:
  6223. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6224. it's only called when a control is added to a container
  6225. - Split InitLayout logic, moved to separate UpdateDistances() method
  6226. since we need to perform those calculations more often than just
  6227. when adding the control to a container. (Needed to fix #77022)
  6228. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6229. - Reduced the OnBindingContextChanged events count, don't send them
  6230. unless the control is created, we still aren't totally matching
  6231. MS, but I can't quite figure out some of their rules
  6232. 2005-12-18 Alexander Olk <[email protected]>
  6233. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6234. stripes
  6235. 2005-12-18 Alexander Olk <[email protected]>
  6236. * ThemeClearlooks.cs:
  6237. - Updated ProgressBar drawing
  6238. - Corrected drawing of ScrollBars and scroll buttons
  6239. - Some temporary fixes for minor pixel artefacts
  6240. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6241. * Control.cs:
  6242. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6243. cause events to be sent in the same order as MS does.
  6244. - Added ChangeParent() method to trigger various OnXXXChanged events
  6245. that need to be fired when a parent changes (This is a reworking
  6246. of the patch from r54254, with the X11 errors fixed)
  6247. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6248. since on MS we get OnLayoutChanged events when calling Clear()
  6249. - Changed Enabled property to consider parent state as well, if a
  6250. parent is not enabled, the control will not be either
  6251. - Changed Parent property to simply call Controls.Add() since that
  6252. now does all the work required, this way we avoid code duplication
  6253. - Threw in a few OnBindingsContextChanged calls to try and match
  6254. when MS sends them. We seem to send a few too many, though.
  6255. - Added call to CreateControl when adding the control to a parent.
  6256. We were never calling CreateControl. Still needs some work, in
  6257. some places we treat HandleCreated and ControlCreated as equal,
  6258. which is wrong
  6259. - Removed obsolete commented out code from UpdateZOrder()
  6260. 2005-12-18 Alexander Olk <[email protected]>
  6261. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6262. 2005-12-17 Alexander Olk <[email protected]>
  6263. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6264. 2005-12-17 Alexander Olk <[email protected]>
  6265. * FileDialog.cs: Add the Help button and the open readonly
  6266. checkbox only if needed
  6267. 2005-12-16 Jackson Harper <[email protected]>
  6268. * Control.cs: Make sure we have an active menu before trying to
  6269. process commands on it. Prevents menu-less forms from crashing
  6270. when Alt is pressed.
  6271. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6272. Dieter Bremes.
  6273. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6274. 2.0 build.
  6275. 2005-12-16 Jackson Harper <[email protected]>
  6276. * InternalWindowManager.cs: Don't translate tool windows screen
  6277. coordinates. This fixes windows 'bouncing' around when being moved.
  6278. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6279. * TextBoxBase.cs:
  6280. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6281. not quite MS compatible, MS uses that number only for single line
  6282. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6283. the limit at 2GB)
  6284. - Now enforcing the MaxLength limit when entering characters
  6285. - Added argument to internal Paste() method to track if it's called
  6286. from programatically or via keyboard, since keyboard driven pastes
  6287. need to enforce max-length
  6288. - Added logic to Paste to only paste as many chars as MaxLength
  6289. allows
  6290. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6291. * TextControl.cs:
  6292. - Added Length property to return number of characters in document
  6293. - Added private CharCount property which only tracks actual chars
  6294. in the document (no linefeeds) and fires event when CharCount
  6295. changes
  6296. - Added tracking of character count to all methods that alter it
  6297. - Added LengthChanged event to allow applications to subscribe
  6298. to any changes to the document
  6299. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6300. * TextBox.cs:
  6301. - Removed local password_char field (moved to TextBoxBase)
  6302. - Now setting the document's password var when password is
  6303. set
  6304. * TextBoxBase.cs:
  6305. - Added password_char field (needed here so MultiLine can
  6306. access it)
  6307. - Added logic to MultiLine property setter to set the document's
  6308. variable when password display is allowed
  6309. - Removed debug code and made some debug code conditional
  6310. * TextControl.cs:
  6311. - Added RecalculatePasswordLine() method to handle special password
  6312. char only lines
  6313. - Added PasswordChar property, also added related tracking vars
  6314. - Draw() method now uses local text var for grabbing text to draw,
  6315. this var is set to line.text unless we're doing password display,
  6316. then it is set to the pre-generated all-password-chars line
  6317. - Added calling RecalculatePasswordLine() method for password lines
  6318. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6319. * Hwnd.cs:
  6320. - Added Reparented property to allow tracking of Window Manager
  6321. reparenting actions (which affect X/Y calculations of toplevel
  6322. windows)
  6323. - Made ToString() print window handles in hex
  6324. * XplatUIX11.cs:
  6325. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  6326. determine if X/Y needs offsetting
  6327. - AddConfigureNotify(): Fixed offset calculations
  6328. - Now adds ReparentNotify messages into the queue
  6329. - Now processes ReparentNotify messages and causes a
  6330. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  6331. is reparented (as most likely it's X/Y coordinates are changed
  6332. due to that)
  6333. 2005-12-14 Jackson Harper <[email protected]>
  6334. * XplatUIX11.cs: Tool windows still need to respek focus.
  6335. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6336. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  6337. have a working release
  6338. 2005-12-13 Jackson Harper <[email protected]>
  6339. * Form.cs: Update styles after setting the border style regardless
  6340. of whether or not the window is using a window manager.
  6341. 2005-12-13 Jackson Harper <[email protected]>
  6342. * Form.cs: We now hook into an internal window manager instead of just an
  6343. MDI subsystem, this is so we can have properly behaving tool windows.
  6344. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  6345. * InternalWindowManager.cs: New internal class that acts as a
  6346. window manager for tool windows and as a base for mdi windows.
  6347. * MdiWindowManager.cs: New class that acts as a window manager for
  6348. mdi windows.
  6349. 2005-12-12 Jackson Harper <[email protected]>
  6350. * Control.cs: Updates so we match behavoir for for implicit
  6351. controls. Fixes explosions in MDI.
  6352. 2005-12-12 Jackson Harper <[email protected]>
  6353. * Control.cs: Implement Invalidate (Region).
  6354. 2005-12-12 Peter Dennis Bartok <[email protected]>
  6355. * Control.cs:
  6356. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  6357. the same events as MS does. MS fires events for each property
  6358. except, for unknown reasons, Cursor, when the control is reparented.
  6359. I can't seem to totally match add/remove since MS also fires some
  6360. VisibleChanged events, which makes no sense. Consolidated the
  6361. parenting code into a separate method so it can be called from
  6362. both Add and Remove. set_Parent no longer needs any special logic
  6363. as it calls the parent's add method which implicitly fires
  6364. all events
  6365. - Removed some obsolete code and debug output
  6366. - Enabled state is inherited from parents, if this is enabled
  6367. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6368. * Form.cs: Removed commented out code
  6369. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6370. * Control.cs:
  6371. - Added internal version of Invoke, with additional argument
  6372. indicating if we're calling it from a Dispose() handler. That
  6373. way we can avoid BeginInvoke throwing an exception if we're
  6374. calling for an already destroyed window.
  6375. - Added a dispose argument to BeginInvokeInternal, and made the
  6376. check if a valid window handle chain exists conditional on
  6377. it not being a dispose call
  6378. - Removed code in DestroyHandle to destroy our children. Since we
  6379. now handle the WM_DESTROY message we will catch all our children
  6380. being destroyed.
  6381. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  6382. * Form.cs:
  6383. - Added a field to track the application context of the form.
  6384. - No need to set closing variable as response to WM_CLOSE, instead
  6385. we destroy the window. We also call PostQuitMessage if the form
  6386. has an application context (which makes it the main app form,
  6387. which, when closed terminates the app)
  6388. * XplatUI.cs:
  6389. - Dropped Exit() method, it's naming was confusing
  6390. - Added PostQuitMessage() which causes GetMessage to return false
  6391. once the message queue is empty
  6392. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  6393. PostQuitMessage()
  6394. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  6395. no longer a valid XplatUI method, but left it in since it's used
  6396. internally. Added empty PostQuitMessage() method.
  6397. * MenuAPI.cs: Replaced call to Exit() with call to
  6398. PostQuitMessage, even though this is probably no longer needed.
  6399. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  6400. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  6401. * Application.cs:
  6402. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  6403. - Removed old debug code that would call XplatUI for exception
  6404. display, enabled standard exception handling (Still not enabled
  6405. though, until NativeWindow's ExternalExceptionHandler define
  6406. is removed
  6407. * NativeWindow.cs:
  6408. - Added internal method to allow control to update NativeWindow
  6409. after a window has been destroyed
  6410. - Added handling of already destroyed windows when calling i
  6411. DestroyWindow
  6412. - Added removal of handle from list on ReleaseHandle
  6413. * XplatUIX11.cs:
  6414. - Dropped GetMessageResult var and related code
  6415. - Added PostQuitState to field to track if PostQuitMessage has been
  6416. called
  6417. - Dropped Exit() method
  6418. - Added PostQuitMessage() method
  6419. - GetMessage now will return false if PostQuitState is set and no
  6420. more messages are in the queue.
  6421. - Expose handler will no longer generate WM_PAINT messages if we are
  6422. in PostQuitState since it's very likely any windows have already
  6423. been destroyed, and since Hwnd won't get updated until we have
  6424. processed the DestroyNotify we'd be causing X errors.
  6425. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6426. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  6427. Thanks to Mike for pointing out the err of my ways.
  6428. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6429. * Control.cs(PreProcessMessage): Moved menu handling back, but
  6430. after all other key handling, to match MS (who handles Menu in
  6431. DefWndProc)
  6432. * Menu.cs (WndProc): Removed my brainfart
  6433. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6434. * Control.cs(PreProcessMessage): Removed special menu handling
  6435. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  6436. 2005-12-07 Mike Kestner <[email protected]>
  6437. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  6438. state according in tracker.
  6439. * Menu.cs : promote tracker field to base class and provide a tracker
  6440. lookup capability. Add/Remove shortcuts dynamically if the top menu
  6441. has a tracker. Unparent items that are removed from the collection.
  6442. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  6443. * Theme*.cs: add always_show_hotkeys field to support configurability
  6444. of mnemonic display. win32 doesn't show mnemonics until Alt is
  6445. pressed.
  6446. 2005-12-07 Jackson Harper <[email protected]>
  6447. * MdiChildContext.cs: Use Control.ResetCursor.
  6448. * Control.cs: ResetCursor needs to set the property so that the
  6449. correct XplatUI call gets made.
  6450. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6451. * Control.cs: More fixes to make our key events match MS. We
  6452. were not setting the modifier state on KeyData, and we were
  6453. not generating any events when Alt was pressed with a key
  6454. since handling of WM_SYSxxx was missing for the OnKey methods.
  6455. 2005-12-07 Jackson Harper <[email protected]>
  6456. * MdiChildContext.cs: reenable the sizing code.
  6457. - When the mouse leaves a window reset its cursor.
  6458. 2005-12-07 Alexander Olk <[email protected]>
  6459. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  6460. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6461. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  6462. widths of Fixed3D borders
  6463. 2005-12-07 Jackson Harper <[email protected]>
  6464. * MdiClient.cs: Fix warnings. Earn Mike's love.
  6465. 2005-12-07 Alexander Olk <[email protected]>
  6466. * ThemeClearlooks.cs:
  6467. - Adjusted mouse over button color
  6468. - Added first parts of CheckBox drawing
  6469. - Added correct color for selected text background
  6470. - Fixed ComboBox drawing
  6471. - Added CPDrawBorder3D and CPDrawBorder
  6472. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6473. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  6474. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6475. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6476. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  6477. alert users via sound. We could add an enum arg with different
  6478. types of alerts in the future
  6479. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6480. * Control.cs: Fix behaviour problems pointed out by Mike
  6481. 2005-12-05 Mike Kestner <[email protected]>
  6482. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  6483. prop setters. Calls parent.Refresh for now, but could be maybe be
  6484. optimized with an internal method on StatusBar at some point.
  6485. [Fixes #76513]
  6486. 2005-12-05 Peter Dennis Bartok <[email protected]>
  6487. * RichTextBox.cs: Implemented get_SelectionColor
  6488. 2005-12-05 Alexander Olk <[email protected]>
  6489. * ThemeClearlooks.cs:
  6490. - Removed dead code
  6491. - Draw black button border only if button is Form.AcceptButton
  6492. - Draw correct button color for pressed RadioButton if the mouse
  6493. has entered the button
  6494. - Updated ProgressBar drawing!
  6495. - Updated CPDrawSizeGrip drawing
  6496. - Updated StatusBarPanel drawing
  6497. 2005-12-05 Mike Kestner <[email protected]>
  6498. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  6499. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  6500. 2005-12-04 Alexander Olk <[email protected]>
  6501. * ThemeClearlooks.cs: Initial check-in, activate with
  6502. export MONO_THEME=clearlooks
  6503. * ThemeEngine.cs: Added ThemeClearlooks
  6504. 2005-12-03 Mike Kestner <[email protected]>
  6505. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  6506. [Fixes #76897]
  6507. 2005-12-02 Jackson Harper <[email protected]>
  6508. * Form.cs: If the child form has no menu the default main menu is
  6509. used as the active menu.
  6510. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6511. * ListBox.cs: Check if any items exist before trying to resolve
  6512. coordinates into items
  6513. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6514. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  6515. as the second color for the background hatch
  6516. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6517. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  6518. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  6519. sure that what we pass to FormatText is always 1-based. Fixes #76885
  6520. 2005-11-29 Miguel de Icaza <[email protected]>
  6521. * NumericUpDown.cs (EndInit): When we are done initializing,
  6522. reflect any updates on the UI.
  6523. 2005-12-02 Jackson Harper <[email protected]>
  6524. * ImplicitHScrollBar.cs:
  6525. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  6526. their container controls.
  6527. * TreeView.cs: Use the new implicit scrollbars.
  6528. 2005-12-02 Jackson Harper <[email protected]>
  6529. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  6530. can play with it.
  6531. * TreeNodeCollection.cs: If we remove the topnode we need to
  6532. update topnode to the next node in line.
  6533. - When clearing nodes go through the same process as removing
  6534. them, so they get depareneted and checked if they are top node.
  6535. 2005-12-01 Jackson Harper <[email protected]>
  6536. * TreeView.cs: When imagelists are used the image area is
  6537. selectable as well as the text.
  6538. - If there are no selected nodes select the first one.
  6539. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  6540. so don't do it more then we need to.
  6541. 2005-12-01 Jackson Harper <[email protected]>
  6542. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  6543. that arrows can be scaled.
  6544. 2005-12-01 Jackson Harper <[email protected]>
  6545. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  6546. fail. Patch by Dieter Bremes
  6547. 2005-11-30 Jackson Harper <[email protected]>
  6548. * Form.cs: Property is 2.0 only
  6549. * PrintDialog.cs: Signature fix.
  6550. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6551. * TextControl.cs:
  6552. - No longer artificially moves text 2 pixels down (now that we have
  6553. borders this is no longer needed)
  6554. - Added calcs for left, hanging and right indent
  6555. 2005-11-23 Mike Kestner <[email protected]>
  6556. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  6557. 2005-11-30 Jackson Harper <[email protected]>
  6558. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  6559. get cloned as part of CloneMenu ().
  6560. * Menu.cs: Make sure the parent of the items get set correctly
  6561. when they are added. And the owners are notified of the changes.
  6562. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  6563. we can change the menu being displayed/handled by the form without
  6564. changing the menu assosciated with the form.
  6565. - Don't let Mdi children draw/handle menus.
  6566. 2005-11-30 Jackson Harper <[email protected]>
  6567. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  6568. a MenuChanged event. Just to make the API a little more
  6569. consistent.
  6570. * MainMenu.cs:
  6571. * MenuItem.cs: Use the new OnMenuChanged
  6572. * MdiChildContext.cs: Handle menu merging.
  6573. * Form.cs: Implement MergedMenu.
  6574. 2005-11-30 Jackson Harper <[email protected]>
  6575. * Menu.cs: We were misusing Add. Add goes behind the specified
  6576. index according to the docs, and does not replace the specified
  6577. index. So I added an Insert method.
  6578. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6579. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  6580. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  6581. is for Jackson
  6582. * RichTextBox.cs: Added calls to base for DnD events
  6583. 2005-11-28 Peter Dennis Bartok <[email protected]>
  6584. * TextControl.cs:
  6585. - Fixed drag-selection related crash; style fixes
  6586. - Implemented undo class
  6587. o Implemented method to capture document state for specified
  6588. range in document tree
  6589. o Implemented method to restore captured document state
  6590. o Implemented cursor tracking
  6591. o Implemented basic undo stack
  6592. - Added undo cursor tracking to methods altering cursor location
  6593. - Added undo tracking to selection deletion (still missing
  6594. other text-altering hookups)
  6595. * RichTextBox.cs:
  6596. - Added SelectionLength property
  6597. - Implemented CanPaste()
  6598. - Implemented Paste()
  6599. - Added missing protected methods
  6600. - Fixed RTF->Document conversion; now uses font index 0 and color
  6601. index 0 as the default font for the parsed text
  6602. - Fixed RTF<->Document font size translation
  6603. - Fixed RTF generation, now properly handles cross-tag boundaries
  6604. for single line selection
  6605. - No longer always appends blank line to generated RTF
  6606. - Removed TODOs
  6607. - Added missing attributes
  6608. - Hooked up undo-related methods
  6609. * TextBoxBase.cs:
  6610. - Implemented Copy()
  6611. - Implemented Paste()
  6612. - Implemented Cut()
  6613. - Fixed caret mis-behaviour on backspace across line-boundaries
  6614. 2005-11-29 Jackson Harper <[email protected]>
  6615. * MdiClient.cs: Add a method for activating mdi children. Very
  6616. basic right now. I imagine someday it might need more girth.
  6617. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  6618. children windows names are added to the menu item.
  6619. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  6620. mdilist. This happens regardless of whether or not there are any
  6621. mdi windows to see in the list, and according to my tests happens
  6622. before the items are even added. Also happens if there isn't even
  6623. an mdi client to get windows from.
  6624. 2005-11-29 Alexander Olk <[email protected]>
  6625. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  6626. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  6627. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  6628. * DataGridTableStyle.cs:
  6629. - Create always the styles for the missing columns even if they are
  6630. provided by the user (not default table style)
  6631. * DataGrid.cs:
  6632. - Fixes bug 76770
  6633. - Fixes SetDataBinding (always re-attach source)
  6634. - Fixes SetNewDataSource (only clear styles if they are not for
  6635. this source)
  6636. - Expands OnTableStylesCollectionChanged to handle style refresh
  6637. and remove properly
  6638. 2005-11-29 Jackson Harper <[email protected]>
  6639. * FileDialog.cs: Implement missing bits, remove some dead
  6640. code.
  6641. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  6642. creation of the panel so that the options set on the dialog are
  6643. seen when the panel is created.
  6644. * TreeView.cs: raise a click when items are clicked.
  6645. 2005-11-29 Jackson Harper <[email protected]>
  6646. * MdiClient.cs: Pass some signature methods through to base.
  6647. 2005-11-28 Jackson Harper <[email protected]>
  6648. * ListView.cs: Raise the click event when items are clicked.
  6649. 2005-11-28 Jackson Harper <[email protected]>
  6650. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  6651. a nullref.
  6652. 2005-11-27 Alexander Olk <[email protected]>
  6653. * ThemeNice.cs: - Removed 1 pixel bitmaps
  6654. - Use SmoothingMode.AntiAlias where it makes sense
  6655. (ScrollButton arrow for example)
  6656. - Enhanced Button focus drawing
  6657. - Fixed ComboBox drawing (no artefacts anymore, focus
  6658. rectangle is back again, reduced size of ComboButton, etc.)
  6659. - Fixed RadioButton focus drawing for Appearence.Button
  6660. - Slight ScrollButton redesign
  6661. - Some LinearGradientBrush size fixes
  6662. - GroupBoxes have now rounded edges
  6663. - Fixed StatusBar drawing
  6664. 2005-11-25 Alexander Olk <[email protected]>
  6665. * ThemeNice.cs: - Remove dead code
  6666. - use correct background colors for menus, etc.
  6667. - Fake pixel drawing with 1 pixel bitmaps
  6668. 2005-11-24 Jackson Harper <[email protected]>
  6669. * MdiClient.cs: Size the scrollbars when resizing the window.
  6670. - Resize the maximized windows when the client is resized
  6671. * Form.cs: Make the child context available
  6672. 2005-11-23 Jackson Harper <[email protected]>
  6673. * MdiChildContext.cs: Don't size windows if they are maximized.
  6674. 2005-11-23 Mike Kestner <[email protected]>
  6675. * ContextMenu.cs: use MenuTracker.
  6676. * Control.cs: remove menu handle usage.
  6677. * Form.cs: remove menu handle usage.
  6678. * Hwnd.cs: remove menu handle usage.
  6679. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  6680. motion and clicks to the new Tracker handlers.
  6681. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  6682. and handle usage.
  6683. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  6684. Killed the MENU and MENUITEM data types and associated collections
  6685. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  6686. MenuTracker class that exposes the leftovers from the old MenuAPI
  6687. static methods. Restructured Capture handling so that only one grab is
  6688. done for the entire menu hierarchy instead of handing off grabs to
  6689. submenus. Tracker now has an invisible control to Capture when active.
  6690. * MenuItem.cs: add sizing accessors, kill Create
  6691. and handle usage.
  6692. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  6693. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  6694. MENU(ITEM). remove menu handle usage, use Menu directly.
  6695. * XplatUIDriver.cs: remove menu handle usage.
  6696. * XplatUIOSX.cs: remove menu handle usage.
  6697. * XplatUIWin32.cs: remove menu handle usage.
  6698. * XplatUIX11.cs: remove menu handle usage.
  6699. 2005-11-22 Jackson Harper <[email protected]>
  6700. * Hwnd.cs: Don't compute the menu size for
  6701. DefaultClientRectangle.
  6702. - Reenable menu sizes being computed for GetClienRectangle.
  6703. * Form.cs: Remove comment of trechery
  6704. 2005-11-22 Jackson Harper <[email protected]>
  6705. * Hwnd.cs: The adjustments for the menu bar are made when it is
  6706. attached to the form.
  6707. 2005-11-19 Jackson Harper <[email protected]>
  6708. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  6709. (just like on windows).
  6710. 2005-11-19 Jackson Harper <[email protected]>
  6711. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  6712. use real buttons anymore because they are in non client area. The
  6713. one TODO here is that I need to somehow invalidate a section of
  6714. the non client area.
  6715. 2005-11-18 Jackson Harper <[email protected]>
  6716. * Control.cs: Put the enum check back in now that MDI doesnt have
  6717. to use this to set border styles.
  6718. * Form.cs: Only set mdi child windows borders if the handle has
  6719. been created.
  6720. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  6721. this directly on to the driver.
  6722. - Get the move start position before adjusting for the titlebar
  6723. height, this fixes the windows "skipping" when they are first
  6724. moved.
  6725. 2005-11-18 Jackson Harper <[email protected]>
  6726. * XplatUIX11.cs: Just compute the mdi borders separately as they
  6727. don't totally match up with normal form borders.
  6728. 2005-11-18 Jackson Harper <[email protected]>
  6729. * Control.cs: Set WS_ styles for borders, so that the driver does
  6730. not have to retrieve the control instance to figure out what kind
  6731. of borders it should have.
  6732. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  6733. driver can know its an mdi child easily.
  6734. * XplatUIX11.cs: Get the border styles and whether the window is
  6735. MDI from the Styles and ExStyles params instead of having to get a
  6736. control. This prevents a chicken and egg problem.
  6737. 2005-11-18 Jackson Harper <[email protected]>
  6738. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  6739. 2005-11-18 Jackson Harper <[email protected]>
  6740. * MdiClient.cs: Calculate when to add and remove scrollbars
  6741. correctly.
  6742. * MdiChildContext.cs: Adjust the y position to take the titlebar
  6743. into account.
  6744. - No height for FormBorderStyle.None
  6745. 2005-11-18 Jackson Harper <[email protected]>
  6746. * Control.cs: Allow non enum values to be used for
  6747. InternalBorderStyle. MDI does this to set a special border style.
  6748. - New utility methods for converting points to/from client coords
  6749. - Add the newly created control to the Controls collection before
  6750. updating its style. This way UpdateStyle can walk the control
  6751. heirarchy to find the control if needed.
  6752. so I don't need to create a new Point object all the time.
  6753. * Form.cs: Let MDI windows handle their border styles.
  6754. - Set styles on MDI windows so the correct title style is derived.
  6755. * MdiChildContext.cs: Move all the painting and window handling
  6756. into the non client area.
  6757. - Use correct sizing and put correct buttons on frames based on
  6758. the FormBorderStyle.
  6759. - Notify the mdi client about scrolling
  6760. - Need to handle the buttons ourselves now, because they are all
  6761. in non client areas and we can't add controls there.
  6762. * MdiClient.cs: Halfway to scrolling, this implementation is
  6763. somewhat broken though, we need to check to make sure other
  6764. windows aren't causing scrolling before removing the bars. Also
  6765. the bars need to be drawn on top, maybe I can switch implicit
  6766. controls to be on top.
  6767. * Hwnd.cs: caption_height and tool_caption_height are now
  6768. properties of an hwnd, this way they can be set by the driver
  6769. based on the type of window they are. In X11 the window manager
  6770. handles the decorations so caption_height is zero unless its an
  6771. MDI window.
  6772. - Add 3 pixel borders for MDI windows (0xFFFF).
  6773. - Get rid of some code duplication, have DefaultClientRectanle
  6774. just call GetClientRectangle.
  6775. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  6776. Hwnd now.
  6777. - Set border styles differently for mdi windows.
  6778. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  6779. Hwnd now.
  6780. 2005-11-15 Mike Kestner <[email protected]>
  6781. * Menu.cs: when adding an item to the collection, if item is already
  6782. parented, remove it from the parent.
  6783. 2005-11-13 Alexander Olk <[email protected]>
  6784. * X11DesktopColors.cs: Added KDE support
  6785. 2005-11-11 Peter Dennis Bartok <[email protected]>
  6786. * XplatUIWin32.cs:
  6787. - Clipboard methods now can translate Rtf format
  6788. - No longer removes clipboard contents whenever a new format is added
  6789. to allow placing multiple formats on the clipboard
  6790. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  6791. will place all formats contained in it onto the clipboard. Also
  6792. now cleans the clipboard before placing a new object onto it
  6793. * RichTextBox.cs:
  6794. - Implemented set_Rtf
  6795. - Implemented set_SelectedRtf
  6796. - Created InsertRTFFromStream() method to allow single code base
  6797. for all properties and methods that insert RTF into document
  6798. - Removed debug output
  6799. * TextControl.cs:
  6800. - Fixed Delete(int) to fix up line numbers
  6801. - Fixed ReplaceSelection to combine start and end line
  6802. - Fixed serious DeleteChars bug that would leave the document tree
  6803. broken
  6804. - Improved DumpTree with several logic checks to detect broken
  6805. document trees
  6806. - Removed debug lines
  6807. - Fixed Caret.WordForward/WordBack moving code, now always also
  6808. updates caret.tag (fixes crash when word-selecting across tag
  6809. boundaries via keyboard)
  6810. - Added Insert() method for inserting multiline text into documents
  6811. - Fixed DeleteChars() calculation errors that would cause a broken
  6812. tag chain with multiple tag lines
  6813. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  6814. - Split() no longer moves caret if split is at caret location
  6815. - ReplaceSelection() now updates the cursor and re-displays it
  6816. - ReplaceSelection() now uses new Insert() method to avoid code
  6817. duplication
  6818. - FormatText() can now handle formatting partial lines
  6819. * TextBoxBase.cs:
  6820. - Append now uses new TextControl.Insert() method (this avoids
  6821. duplicate code)
  6822. - Implemented Ctrl-X (Cut) (
  6823. - Implemented Ctrl-C (Copy)
  6824. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  6825. regeneration when pasting text; roundtripping Copy&Paste within
  6826. edit control still fails due to some calculation bugs in GenerateRTF)
  6827. - The Delete key will now remove the current selection if it is visible
  6828. * TextBox.cs: Removed debug lines
  6829. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  6830. driver to be initialized and can't therefore be done via a static ctor)
  6831. 2005-11-10 Peter Dennis Bartok <[email protected]>
  6832. * TextControl.cs: Added backend code for finding char arrays and strings
  6833. * TextBoxBase.cs:
  6834. - Added mouse wheel scroll support
  6835. - Added support for VScroll and HScroll events
  6836. * RichTextBox.cs:
  6837. - Implemented all seven Find() variants
  6838. - Implemented GetCharFromPosition()
  6839. - Implemented GetCharIndexFromPosition()
  6840. - Implemented GetLineFromIndex()
  6841. - Implemented GetPositionFromCharIndex();
  6842. - Implemented SaveFile for PlainText and UnicodeText
  6843. - Fixed set_Font, now setting a new font applies that font to
  6844. the whole document
  6845. - Implemented generic Document to RTF converter
  6846. - Implemented SaveFile for RichText format (still missing unicode
  6847. conversion for non-ansi chars)
  6848. - Implemented get_Rtf
  6849. - Implemented get_SelectedRtf
  6850. 2005-11-09 Peter Dennis Bartok <[email protected]>
  6851. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  6852. to allow any captures to be released before triggering OnClick. This
  6853. way a click handler may capture the mouse without interference.
  6854. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  6855. This way we send them even though X may not allow a grab (if the window
  6856. isn't visible, for example)
  6857. 2005-11-08 Pedro Martinez Julia <[email protected]>
  6858. * DataGridViewRowEventArgs.cs: DataGridView implementation
  6859. * DataGridViewElement.cs: DataGridView implementation
  6860. * DataGridViewComboBoxCell.cs: DataGridView implementation
  6861. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  6862. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  6863. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  6864. * ImageLayout.cs: DataGridView implementation
  6865. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  6866. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  6867. * DataGridViewSelectionMode.cs: DataGridView implementation
  6868. * IDataGridViewEditingControl.cs: DataGridView implementation
  6869. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  6870. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  6871. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  6872. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  6873. * DataGridViewColumnSortMode.cs: DataGridView implementation
  6874. * DataGridView.cs: DataGridView implementation
  6875. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  6876. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  6877. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  6878. * Padding.cs: DataGridView implementation
  6879. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  6880. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  6881. * DataGridViewRowEventHandler.cs: DataGridView implementation
  6882. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  6883. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  6884. * DataGridViewButtonCell.cs: DataGridView implementation
  6885. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  6886. * DataGridViewEditMode.cs: DataGridView implementation
  6887. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  6888. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  6889. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  6890. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  6891. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  6892. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  6893. * DataGridViewCellEventHandler.cs: DataGridView implementation
  6894. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  6895. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  6896. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  6897. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  6898. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  6899. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  6900. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  6901. * QuestionEventArgs.cs: DataGridView implementation
  6902. * IDataGridViewEditingCell.cs: DataGridView implementation
  6903. * DataGridViewTriState.cs: DataGridView implementation
  6904. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  6905. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  6906. * DataGridViewColumnCollection.cs: DataGridView implementation
  6907. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  6908. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  6909. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  6910. * DataGridViewColumn.cs: DataGridView implementation
  6911. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  6912. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  6913. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  6914. * DataGridViewRow.cs: DataGridView implementation
  6915. * DataGridViewImageCellLayout.cs: DataGridView implementation
  6916. * DataGridViewImageCell.cs: DataGridView implementation
  6917. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  6918. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  6919. * DataGridViewHeaderCell.cs: DataGridView implementation
  6920. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  6921. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  6922. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  6923. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  6924. * QuestionEventHandler.cs: DataGridView implementation
  6925. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  6926. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  6927. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  6928. * DataGridViewCell.cs: DataGridView implementation
  6929. * DataGridViewCellEventArgs.cs: DataGridView implementation
  6930. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  6931. * DataGridViewCellStyle.cs: DataGridView implementation
  6932. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  6933. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  6934. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  6935. * TextFormatFlags.cs: DataGridView implementation
  6936. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  6937. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  6938. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  6939. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  6940. * DataGridViewButtonColumn.cs: DataGridView implementation
  6941. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  6942. * HandledMouseEventArgs.cs: DataGridView implementation
  6943. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  6944. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  6945. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  6946. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  6947. * DataGridViewRowCollection.cs: DataGridView implementation
  6948. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  6949. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  6950. * DataGridViewHitTestType.cs: DataGridView implementation
  6951. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  6952. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  6953. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  6954. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  6955. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  6956. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  6957. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  6958. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  6959. * DataGridViewContentAlignment.cs: DataGridView implementation
  6960. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  6961. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  6962. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  6963. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  6964. * DataGridViewPaintParts.cs: DataGridView implementation
  6965. * DataGridViewCellCollection.cs: DataGridView implementation
  6966. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  6967. * DataGridViewImageColumn.cs: DataGridView implementation
  6968. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  6969. * DataGridViewElementStates.cs: DataGridView implementation
  6970. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  6971. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  6972. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  6973. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  6974. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  6975. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  6976. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  6977. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  6978. * DataGridViewTextBoxCell.cs: DataGridView implementation
  6979. * DataGridViewBand.cs: DataGridView implementation
  6980. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  6981. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  6982. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  6983. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  6984. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  6985. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  6986. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  6987. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  6988. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  6989. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  6990. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  6991. 2005-11-08 Peter Dennis Bartok <[email protected]>
  6992. * ThemeWin32Classic.cs:
  6993. - Draw the outside focus rectangle around buttons
  6994. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  6995. doesn't use end caps for every dash of a line anymore. This
  6996. workaround ignores the forecolor.
  6997. 2005-11-08 Kornél Pál <[email protected]>
  6998. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  6999. endian safe.
  7000. 2005-11-07 Jackson Harper <[email protected]>
  7001. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7002. 2005-11-07 Jackson Harper <[email protected]>
  7003. * ScrollableControl.cs: Calculate the maximum and change vars
  7004. (more) correctly so that scrollbars appear as a sensible size.
  7005. 2005-11-04 Jackson Harper <[email protected]>
  7006. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7007. collection.
  7008. * TreeView.cs: When the tree is sorted null out the top_node so
  7009. that it is recalculated.
  7010. - Use dotted lines instead of dashed lines to match MS better.
  7011. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7012. * ListView.cs:
  7013. - Implements key search for items. Useful when browsing files with FileDialog
  7014. - When changing view mode or when clear the items reset scrollbar positions
  7015. 2005-11-04 Jackson Harper <[email protected]>
  7016. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7017. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7018. as to what the method may do as there is no real way of creating a
  7019. derived CurrencyManager and calling the method.
  7020. 2005-11-03 Jackson Harper <[email protected]>
  7021. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7022. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7023. method which seems to just be used internally to refresh the tabs.
  7024. 2005-11-03 Jackson Harper <[email protected]>
  7025. * TabControl.cs: Implement the remove method. Fix some broken
  7026. comments.
  7027. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7028. * DateTimePicker.cs:
  7029. - Added missing DateTimePickerAccessibleObject class
  7030. - Added missing events
  7031. - Added OnFontChanged method
  7032. * Form.cs: Added missing attributes
  7033. * TreeView.cs: Added missing attributes
  7034. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7035. * GridItemCollection.cs: Fix signatures
  7036. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7037. * XplatUI.cs: Updated build rev/date
  7038. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7039. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7040. * Application.cs: Trigger context-specific ExitThread events
  7041. 2005-11-03 Jackson Harper <[email protected]>
  7042. * Menu.cs:
  7043. * MainMenu.cs:
  7044. * GridTableStylesCollection.cs:
  7045. * Timer.cs:
  7046. * TabPage.cs:
  7047. * HelpProvider.cs:
  7048. * StatusBar.cs:
  7049. * MonthCalendar.cs: Signature fixes
  7050. 2005-11-03 Jackson Harper <[email protected]>
  7051. * TreeNodeCollection.cs: Remove should not be virtual.
  7052. * TreeView.cs: Implement the last of the missing methods.
  7053. 2005-11-03 Jackson Harper <[email protected]>
  7054. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7055. 2005-11-03 Jackson Harper <[email protected]>
  7056. * TreeView.cs: Hookup the bits for drag and drop.
  7057. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7058. that nodes can be moved from tree to tree easily this just causes
  7059. all sorts of problems.
  7060. * TreeNodeCollection: Don't need to give treenodes an index and
  7061. treeview anymore when they are added, these are computed on the
  7062. fly. Also make sure to remove a node before its added.
  7063. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7064. * TextControl.cs:
  7065. - Added CaretSelection enum
  7066. - Added comparison methods to Marker struct, makes selection code
  7067. more readable
  7068. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7069. the CaretDirection enum and handler
  7070. - Added selection_prev variable to track optimized invalidation for
  7071. word and line selection
  7072. - Added SelectionVisible property (returns true if there is a valid
  7073. selection)
  7074. - Switched CaretHasFocus to only display the caret if there is no
  7075. visible selection
  7076. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7077. using the direct character index; should be much faster
  7078. - Added various conditional debug statements
  7079. - Fixed invalidation calculation for selection ranges
  7080. - Added ExpandSelection() method to support word and line selection
  7081. - Switched SetSelectionToCaret to use new Marker compare overloads
  7082. - Added central IsWordSeparator() method to determine word
  7083. separators/whitespace and FindWordSeparator() to streamline common
  7084. usage of IsWordSeparator()
  7085. * TextBoxBase.cs:
  7086. - Removed unneeded grabbed variable, it was just mirroring
  7087. Control.Capture
  7088. - No longer firing OnTextChanged event when Text setter is called,
  7089. since the base will fire the event for us
  7090. - Added handling of Ctrl-Up/Down selection
  7091. - Added handling of Shift-Cursorkey selection
  7092. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7093. words
  7094. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7095. - Removed some debug output
  7096. - Added handling for single/double/tripple-click to place caret/
  7097. select word/select line respectively (Fixes bug #76031)
  7098. - Added support for drag expansion of word/line selection
  7099. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7100. current selection
  7101. 2005-11-02 Jackson Harper <[email protected]>
  7102. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7103. copy the data instead of sending it out through the X Selection
  7104. mechanism.
  7105. 2005-11-02 Jackson Harper <[email protected]>
  7106. * X11Dnd.cs:
  7107. * XplatUIX11.cs: When in a drag we don't want motion notify
  7108. messages to get passed on to the other controls. This prevents
  7109. mouse move messages from showing up in the drag source.
  7110. 2005-11-02 Jackson Harper <[email protected]>
  7111. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7112. the correct button is release to end a drag.
  7113. * XplatUIX11.cs: Make the button state internal so the drag system
  7114. can access it. Dragging needs to know about all button releases,
  7115. not just left button.
  7116. 2005-11-02 Miguel de Icaza <[email protected]>
  7117. * Form.cs (Icon): If the icon is null, reset the icon to the
  7118. default value.
  7119. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7120. number of colors, but hardcode those to two (black and white),
  7121. fixes the loading of color cursors (Paint Dot Net).
  7122. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7123. turn off autoscaling.
  7124. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7125. 2005-11-02 Jackson Harper <[email protected]>
  7126. * X11Dnd.cs: Make sure to send a status message if the pointer
  7127. enters a control that can not accept a drop, otherwise the cursor
  7128. isn't updated correctly. Also tried to compress the lines of code
  7129. a bit.
  7130. 2005-11-02 Jackson Harper <[email protected]>
  7131. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7132. set actions correctly. This isn't perfect as XDND and win32 have
  7133. some differences on how you allow actions. I'll clear this up by
  7134. adding a path for drag from MWF to MWF windows.
  7135. * XplatUIX11.cs: Hook into the dnd system.
  7136. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7137. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7138. previously shown but they are no longer need it. Very obvious when
  7139. browsing files with FileDialog.
  7140. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7141. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7142. ignore AllPaintingInWmPaint and always do the painting there, whether
  7143. it's set or not, since we always ignore the WM_ERASEBKGND message
  7144. (which we don't generate on X11). This fixes #76616.
  7145. * Panel.cs: Removed unneeded background painting. This happens properly
  7146. in Control.cs already
  7147. 2005-10-31 Mike Kestner <[email protected]>
  7148. * Menu.cs: Add items to collection before setting their index.
  7149. * MenuItem.cs : add range checking with ArgumentException like MS.
  7150. [Fixes #76510]
  7151. 2005-10-31 Jackson Harper <[email protected]>
  7152. * ListBox.cs: Invalidate if the area is visible at all not just
  7153. contained in the visible rect. Fixes unselection of semi visible
  7154. items.
  7155. 2005-10-31 Jackson Harper <[email protected]>
  7156. * Control.cs: Consistently name the dnd methods. Make them
  7157. internal so we can override them to match some MS behavoir
  7158. internally.
  7159. * Win32DnD.cs: Use the new consistent names.
  7160. 2005-10-31 Jackson Harper <[email protected]>
  7161. * TreeView.cs: Don't draw the selected node when we lose focus.
  7162. 2005-10-31 Jackson Harper <[email protected]>
  7163. * X11Dnd.cs: We still need to reset the state even though a full
  7164. reset isn't being done, otherwise status's still get sent all over
  7165. the place.
  7166. 2005-10-31 Jackson Harper <[email protected]>
  7167. * Control.cs: Make the dnd_aware flag internal so the dnd
  7168. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7169. match MS behavoir.
  7170. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7171. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7172. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7173. flags to reduce the number of dnd enters/status's sent.
  7174. 2005-10-31 Jackson Harper <[email protected]>
  7175. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7176. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7177. * PictureBox.cs: Fixes 76512
  7178. 2005-10-28 Jackson Harper <[email protected]>
  7179. * X11Dnd.cs: Early implementation to support winforms being a drag
  7180. source for data on X11. Also restructured the converters so they
  7181. can go both ways now.
  7182. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7183. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7184. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7185. clipboard requests
  7186. 2005-10-27 Jackson Harper <[email protected]>
  7187. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7188. 2005-10-24 Kornél Pál <[email protected]>
  7189. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7190. TreeView.cs: Don't dispose objects that are not owned.
  7191. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7192. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7193. should retrieve the current cursor and report that, but XplatUI
  7194. doesn't (yet) have an interface for that (and I'm not sure I even
  7195. can, on X11)
  7196. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7197. until any message loop processing is done (and the WM_SETCURSOR
  7198. replaces the cursor to the proper one)
  7199. * XplatUIX11.cs:
  7200. - Fixed override behaviour, we can't set the cursor globally on X11,
  7201. just for our windows.
  7202. - Invalidating the System.Drawing X11 display handle when we are
  7203. shutting down
  7204. * Control.cs: Fix to make csc happy
  7205. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7206. * TextBoxBase.cs:
  7207. - get_Text: Add last line (without trailing newline) to returned
  7208. value (Fixes 76212)
  7209. - get_TextLength: Count last line in returned length
  7210. - ToString: Call Text property instead of duplicating code
  7211. 2005-10-23 Kornél Pál <[email protected]>
  7212. * ImageList.cs: Dispose ImageAttributes objects.
  7213. 2005-10-22 Kornél Pál <[email protected]>
  7214. * ImageList.cs: Use attribute constructors with less arguments where
  7215. possible.
  7216. 2005-10-22 Kornél Pál <[email protected]>
  7217. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7218. Use typeof instead of strings when assembly is referenced. Added
  7219. some more comments.
  7220. 2005-10-21 Jackson Harper <[email protected]>
  7221. * ListView.cs: Raise a double click event. Also tried to somewhat
  7222. fix when the selectedindexchanged event is raised. Its still
  7223. broken though.
  7224. 2005-10-21 Jackson Harper <[email protected]>
  7225. * TreeView.cs: New method to invalidate the plus minus area of a
  7226. node without invalidating the whole node (maybe this can be used
  7227. in some more places).
  7228. * TreeNodeCollection.cs: When adding to an empty node we need to
  7229. invalidate its plus minus area so the little block shows up.
  7230. 2005-10-21 Jackson Harper <[email protected]>
  7231. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7232. are big enough to cover the selected box and the focus
  7233. rectangle. Use a different colour for the lines connecting nodes
  7234. so they show up with all themes.
  7235. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7236. * NativeWindow.cs: Don't call anything that could call into the driver,
  7237. we might be on a different thread.
  7238. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7239. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7240. make sure that we call methods that could call into the driver via
  7241. invoke, to avoid thread issues
  7242. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7243. * XplatUI.cs: Removed finalizer
  7244. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7245. not allowing to be called on the finalizer thread.
  7246. 2005-10-21 Kornél Pál <[email protected]>
  7247. * ImageList.cs:
  7248. - Reverted r51889 and r51891.
  7249. - Added ImageListItem class that stores unmodified image items and image
  7250. properties required to create list images until handle is created.
  7251. - Added AddItem and moved image creation logic to AddItemInternal.
  7252. - Added CreateHandle method that creates images based on unmodified items.
  7253. - Added DestroyHandle that changes state to store unmodified items.
  7254. - Add and AddStrip methods no more create handle.
  7255. - ReduceColorDepth has no return value.
  7256. - Dispose destroys handle.
  7257. - Modified other methods to reflect the above changes.
  7258. - Implemented key support.
  7259. - Added profile 2.0 members and attributes.
  7260. - Added private Reset and ShouldSerialize methods that provide the same
  7261. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7262. them as they are private.
  7263. - Added some more comments about implementation details.
  7264. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7265. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7266. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7267. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7268. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7269. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7270. * DataGridColumnStyle.cs: Remove debug message
  7271. 2005-10-20 Jackson Harper <[email protected]>
  7272. * TreeView.cs: We can always get input keys regardless of whether
  7273. or not editing is enabled. They are used for navigation.
  7274. 2005-10-20 Jackson Harper <[email protected]>
  7275. * TreeNode.cs: Use the viewport rect for determining if a node
  7276. needs to be moved for visibility. Don't use Begin/End edit. This
  7277. calls a full refresh when its done.
  7278. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7279. rect property internal so the treenodes can see it. When clicking
  7280. on a node we need to ensure that its visible because it might just
  7281. be partly visible when clicked.
  7282. 2005-10-20 Jackson Harper <[email protected]>
  7283. * TreeNodeCollection.cs: Remove debug code.
  7284. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7285. * Datagrid.cs: Implements column sorting in Datagrid
  7286. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7287. 2005-10-20 Jackson Harper <[email protected]>
  7288. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7289. area after removing them.
  7290. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7291. * Datagrid.cs: Should not call base.OnPaintBackground
  7292. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7293. * XplatUIX11.cs (GetMessage):
  7294. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7295. window instead of client window
  7296. - Now properly calculates NC_xBUTTONUP message coordinates
  7297. - ScreenToMenu now properly calculates it's coordinates of whole
  7298. window, since menus are in the whole window, not in the client
  7299. window
  7300. - Added WholeToScreen coordinate translation method
  7301. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7302. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7303. want to return a message, loop back to the beginning of the function
  7304. and grab the next real message to process instead.
  7305. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7306. * Splitter.cs: Properly set limits if no filler control is used
  7307. 2005-10-19 Jackson Harper <[email protected]>
  7308. * ColorDialog.cs: Don't show the help button if it is not enabled
  7309. instead of disabling it (this is what MS does). Don't create the
  7310. panel until the dialog is run, otherwise the vars (such as
  7311. ShowHelp) are not set yet.
  7312. 2005-10-19 Jackson Harper <[email protected]>
  7313. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7314. are reduced when adding nodes.
  7315. * TreeNode.cs:
  7316. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  7317. tree.
  7318. 2005-10-19 Jackson Harper <[email protected]>
  7319. * FolderBrowserDialog.cs: End editing our treeview so the window
  7320. actually gets refreshed.
  7321. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7322. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  7323. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  7324. inside of WM_PAINT
  7325. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7326. * MenuAPI.cs: Returns after Hidding window
  7327. * XplatUIX11.cs: Added TODO found while debugging menu issues
  7328. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7329. * XplatUIX11.cs: Do not re-map the whole window when it's size
  7330. becomes non-zero unless it's supposed to be actually visible
  7331. 2005-10-18 Jackson Harper <[email protected]>
  7332. * TreeView.cs: We don't need to keep a count anymore.
  7333. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  7334. use the Grow method.
  7335. 2005-10-18 Jackson Harper <[email protected]>
  7336. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  7337. implement it manually here.
  7338. 2005-10-18 Jackson Harper <[email protected]>
  7339. * ImageList.cs: Dont kill the list when the colour depth is
  7340. changed, just change the colour depth of all the images.
  7341. - Same goes for setting the image size. Just resize them all
  7342. instead of killing the list softly.
  7343. 2005-10-18 Jackson Harper <[email protected]>
  7344. * Control.cs: Don't invalidate empty rectangles.
  7345. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7346. * ListViewItem.cs:
  7347. - Adds checked item to the Checked/Item lists (where empty before)
  7348. - Do not add items to the Selected lists if they are already present
  7349. * ListView.cs:
  7350. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  7351. - When deleting items make sure that we delete them for the Selected
  7352. and Checked list also.
  7353. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7354. * Label.cs: Dispose objects no longer used
  7355. * ThemeWin32Classic.cs: Dispose objects no longer used
  7356. 2005-10-18 Jackson Harper <[email protected]>
  7357. * TabControl.cs: Don't refresh the whole control when the tabs are
  7358. scrolled, we just need to refresh the tab area.
  7359. 2005-10-17 Jackson Harper <[email protected]>
  7360. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  7361. after handle when we need it.
  7362. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7363. * Control.cs: When the parent size changes, recalculate anchor
  7364. positions. Partial fix for #76462
  7365. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7366. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  7367. drawn. Fixes #76462
  7368. 2005-10-17 Jackson Harper <[email protected]>
  7369. * MonthCalendar.cs: Don't create the numeric up down until our
  7370. handle is created. Otherwise our handle is created in the
  7371. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  7372. yet.
  7373. 2005-10-17 Jackson Harper <[email protected]>
  7374. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  7375. correctly.
  7376. 2005-10-17 Rafael Teixeira <[email protected]>
  7377. * TreeNode.cs : small logical fix (was using local var instead of field)
  7378. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7379. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  7380. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7381. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  7382. 2005-10-16 Peter Dennis Bartok <[email protected]>
  7383. * Control.cs:
  7384. - Re-implemented anchoring code. My first version was really broken.
  7385. This fixes bug #76033. Unlike the previous implementation we will
  7386. no longer have round errors since all numbers are calculated from
  7387. scratch every time. Removed various anchor-related obsolete vars.
  7388. - InitLayout no longer causes layout event firing and layout to be
  7389. performed
  7390. 2005-10-16 Jackson Harper <[email protected]>
  7391. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  7392. which was broken).
  7393. 2005-10-16 Jackson Harper <[email protected]>
  7394. * TabControl.cs: Remove debug code.
  7395. 2005-10-16 Jackson Harper <[email protected]>
  7396. * XEventQueue.cs: Increase the default queue size (very simple
  7397. apps needed to grow the queue).
  7398. * Hwnd.cs: No finalizer so we don't need to suppress
  7399. finalization. Compute the invalid area manually so a new rectangle
  7400. does not newto be created.
  7401. * ScrollableControl.cs: Don't set any params (otherwise visibility
  7402. isn't set correctly).
  7403. * MdiChildContext.cs: New constructor takes the mdi parent so it
  7404. doesn't have to be computed and avoids a crash on windows. Draw
  7405. the window icon properly, and allow the text to be seen.
  7406. * Form.cs: Use new MdiChildContext constructor. Make sure the
  7407. child context isn't null in wndproc.
  7408. * TabControl.cs: Don't set focus, this is muddling keyboard
  7409. behavoir. Expand the tab rows when a window size increase will
  7410. allow extra tabs to be seen. Don't allow tabs smaller than the
  7411. width of a window to be scrolled out of view.
  7412. * TreeNode.cs:
  7413. * TreeView.cs: Use measure string to calculate a nodes width, the
  7414. width is cached and only updated when the text or the font is
  7415. changed. Don't check for expand/collapse clicks on the first level
  7416. nodes if root lines are disabled.
  7417. 2005-10-16 Ritvik Mayank <[email protected]>
  7418. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  7419. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7420. * DataGridBoolColumn.cs: fixes warning
  7421. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7422. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  7423. to match more to match more precisely the MS Net behavior
  7424. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7425. * Hwnd.cs: Added field to track if window is mapped
  7426. * XplatUIX11.cs:
  7427. - Unmap windows if they become 0-size, re-map when
  7428. they are >0 again; fixes #76035
  7429. - Re-set our error handler after initializing X11Desktop
  7430. to override any error handlers Gtk or whatever was called
  7431. may have set.
  7432. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7433. * CheckedListBox.cs: Removed unused vars
  7434. * ListView.cs: Fixed signatures
  7435. * RichTextBox.cs: Removed unused vars
  7436. * TextBoxBase.cs: Removed unused vars
  7437. * XplatUIWin32.cs: Removed unused vars
  7438. * XplatUIX11.cs: Removed unused vars
  7439. * XplatUI.cs: Updated version and date to latest published
  7440. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7441. * Cursor.cs: Added private .ctor to work around a bug in
  7442. resourceset (Thanks to Geoff Norton for the help on this)
  7443. * SplitterEventArgs.cs: Made fields accessible so we don't
  7444. waste boatloads of objects and can reuse the same one
  7445. in Splitter
  7446. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  7447. any captions and borders when generating screen coordinates
  7448. * Splitter.cs: Reimplemented control, now fully complete, uses
  7449. rubberband drawing, supports and obeys all properties, has
  7450. proper cursors
  7451. 2005-10-13 Miguel de Icaza <[email protected]>
  7452. * Form.cs (Form): Setup default values for autoscale and
  7453. autoscale_base_size; Make these instance variables, not static
  7454. variables.
  7455. (OnLoad): on the first load, adjust the size of the form.
  7456. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7457. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  7458. width argument to DrawReversibleRectangle()
  7459. * XplatUIWin32.cs, XplatUIX11.cs:
  7460. - Implemented width for DrawReversibleRectangle()
  7461. - Added logic to DrawReversibleRectangle that recognizes a zero
  7462. width or height and only draws a line in that situation
  7463. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7464. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  7465. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  7466. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  7467. method (it uses our FosterParent window to get a graphics context)
  7468. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7469. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  7470. and SetWindowBackground methods
  7471. * Control.cs:
  7472. - Setting proper ControlStyles
  7473. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  7474. EraseWindowBackground, instead we draw the window background
  7475. ourselves in PaintControlBackground. This behaviour is
  7476. required to match MS, where, when OnPaintBackground is not
  7477. called, the background is not drawn.
  7478. - Removed unneeded Refresh() in set_Text
  7479. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  7480. * XplatUIX11.cs:
  7481. - Created DeriveStyles method to translate from CreateParams to
  7482. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  7483. matches FormBorderStyle enum values)
  7484. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  7485. style calculations into single DeriveStyles method
  7486. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  7487. from redrawing the whole window on any resize or expose.
  7488. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  7489. all styles were applied to our whole/client window appropriately
  7490. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7491. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  7492. no longer clear/redraw the background through X
  7493. - Removed handling of erase_pending bit, we have no use for it (or
  7494. so it seems)
  7495. * XplatUIOSX.cs:
  7496. - Removed generation and handling of WM_ERASEBKGND message
  7497. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7498. - Removed handling of hwnd.ErasePending flag
  7499. * XplatUIWin32.cs:
  7500. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7501. - We no longer call EraseWindowBackground on PaintEventStart, we
  7502. ignore the fErase flag, erasing is handled in Control in the
  7503. background handler
  7504. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  7505. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  7506. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  7507. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  7508. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  7509. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  7510. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  7511. 2005-10-12 Jonathan Chambers <[email protected]>
  7512. * PropertyGrids.cs: Get sub properties
  7513. * PropertyGridView.cs: Fix drawing code
  7514. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7515. * ListBox.cs: Fixes 76383
  7516. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7517. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  7518. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  7519. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  7520. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7521. * ComboBox.cs: Fixes border drawing
  7522. 2005-10-10 Miguel de Icaza <[email protected]>
  7523. * MimeIcon.cs: Ignore errors if the file can not be read.
  7524. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7525. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  7526. - Fixed border calculations
  7527. - Fixed horizontal scrolling in single column listboxes
  7528. - Fixed drawing issues
  7529. 2005-10-10 Peter Dennis Bartok <[email protected]>
  7530. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  7531. FormBorderStyle enum
  7532. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  7533. code to determine FormBorderStyles from CreateParams
  7534. * Form.cs:
  7535. - Fixed bug where we'd set the wrong window styles if we were
  7536. not creating an MDI window
  7537. - Added call to XplatUI.SetBorderStyle when form borders are set
  7538. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  7539. * Hwnd.cs:
  7540. - Removed obsolete edge style
  7541. - Switched from BorderStyle to FormBorderStyle
  7542. 2005-10-10 Jackson Harper <[email protected]>
  7543. * Form.cs: Use the property to get the window handle instead of
  7544. accessing it directly. Prevents a null reference exception.
  7545. 2005-10-10 Jackson Harper <[email protected]>
  7546. * TreeView.cs: Don't adjust the rect given to DrawString now that
  7547. our libgdiplus draws correctly.
  7548. 2005-10-08 Jackson Harper <[email protected]>
  7549. * TreeView.cs: Don't try to find the clicked on node if there are
  7550. no nodes in the tree.
  7551. 2005-10-08 Alexander Olk <[email protected]>
  7552. * RichTextBox.cs:
  7553. restore
  7554. 2005-10-08 Alexander Olk <[email protected]>
  7555. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  7556. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  7557. ErrorProvider.cs:
  7558. Use ResPool for brushes and dispose System.Drawing objects that
  7559. are not used anymore.
  7560. 2005-10-07 Jackson Harper <[email protected]>
  7561. * MdiChildContext.cs: Use the new borders instead of drawing them
  7562. ourselves.
  7563. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7564. * Calling UpdateBounds after changing the window's BorderStyle
  7565. since the style can change the ClientSize
  7566. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7567. * Control.cs: Made PaintControlBackground virtual
  7568. * Panel.cs: Overriding PaintControlBackground instead of using paint
  7569. event; paint event method was interfering with 'real' users of the
  7570. event.
  7571. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7572. * ThemeWin32Classic.cs: remove border drawing since it is handled
  7573. by the base control class now and was causing double border drawing.
  7574. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7575. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  7576. but it does seem to match MS behaviour. This fixes bug #75324
  7577. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7578. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  7579. somewhat hackish looking
  7580. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7581. * TextBoxBase.cs:
  7582. - We now accept Enter even if AcceptEnter is false, if the containing
  7583. form does not have an AcceptButton configured (fixes bug #76355)
  7584. - Calculations are now fixed to no longer use Width/Height, but
  7585. ClientSize.Width/Height, since we now support borders (this was
  7586. a result of fixing borders and therefore bug #76166)
  7587. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  7588. true (fixes bug #76354)
  7589. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7590. * Control.cs:
  7591. - Defaulting BorderStyle and setting it in XplatUI when our window
  7592. is created
  7593. - Added enum check to InternalBorderStyle setter
  7594. * XplatUIX11.cs:
  7595. - Added drawing of window borders
  7596. - Now properly calculates WM decorations offset for toplevel
  7597. windows (fixes bug #74763)
  7598. * XplatUIWin32.cs:
  7599. - Implemented BorderStyles for windows (we're letting win32 draw
  7600. the border for us)
  7601. - Fixed the signature for SetWindowLong
  7602. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  7603. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  7604. setting borders
  7605. * UpDownBase.cs: Remove drawing of borders, this is handled by
  7606. the driver, outside the client area
  7607. * ListView.cs: Removed bogus border calculations. The control should
  7608. be oblivious to borders, since those are not part of the client
  7609. area.
  7610. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  7611. * ThemeWin32Classic.cs: Removed border calculations from ListView
  7612. drawing code
  7613. 2005-10-06 Jackson Harper <[email protected]>
  7614. * MdiChildContext.cs: Clear out the old virtual position remove
  7615. all the unneeded calls to CreateGraphics.
  7616. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7617. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  7618. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7619. * Form.cs:
  7620. - Added loading and setting of our new default icon
  7621. - Only set icon if window is already created
  7622. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7623. * Label.cs:
  7624. - Do not explicitly set the foreground and background colors, to
  7625. allow inheriting from parents (fixes #76302)
  7626. - Use Control's InternalBorderStyle property to deal with borders
  7627. 2005-10-06 Jackson Harper <[email protected]>
  7628. * MdiChildContext.cs: Use the new xplatui function to draw a
  7629. reversible rect.
  7630. 2005-10-06 Jackson Harper <[email protected]>
  7631. * Form.cs: Add the parent before creating the child context cause
  7632. we need the parent when setting up the child.
  7633. 2005-10-06 Jackson Harper <[email protected]>
  7634. * FolderBrowserDialog.cs: redo the tree population code so a
  7635. second thread isn't used. Should be a lot faster and more stable
  7636. now.
  7637. 2005-10-05 Jackson Harper <[email protected]>
  7638. * TreeView.cs: There are no expand/collapse boxes if the node has
  7639. no children.
  7640. 2005-10-05 Jackson Harper <[email protected]>
  7641. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  7642. 2005-10-05 Alexander Olk <[email protected]>
  7643. * FileDialog.cs: Fix InitialDirectory
  7644. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7645. * ComboBox.cs:
  7646. - Fixes changing between styles
  7647. - Fixes simple mode
  7648. - Fixes last item crashing when navigating with keyboard
  7649. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7650. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  7651. 2005-10-05 Jackson Harper <[email protected]>
  7652. * TreeView.cs: If updating the root node do a full refresh.
  7653. * TreeNode.cs: The root node should be expanded by default. Also
  7654. added a utility prop to tell if we are the root node.
  7655. * TreeNodeCollection.cs: Only refresh if the node we are being
  7656. added to is expanded. Also added a comment on a potential
  7657. optimization.
  7658. 2005-10-04 Peter Dennis Bartok <[email protected]>
  7659. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  7660. in dispose method. Fixes #76330
  7661. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  7662. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  7663. - Implements vertical and horizontal scrolling using XplatUI
  7664. - Fixes keyboard navagation
  7665. - Fixes EnsureVisible
  7666. - Drawing fixes
  7667. - Handles and draws focus properly
  7668. 2005-10-04 Kornél Pál <[email protected]>
  7669. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  7670. Create handle. NET_2_0: Destroy handle when value is null.
  7671. 2005-10-03 Jackson Harper <[email protected]>
  7672. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  7673. revert and a new patch to prevent the thumb from refreshing so
  7674. much.
  7675. 2005-10-02 Jackson Harper <[email protected]>
  7676. * ScrollBar.cs: Don't update position if it hasn't actually
  7677. changed. This occurs when you hold down the increment/decrement
  7678. buttons and the thumb gets to the max/min.
  7679. 2005-10-01 Jackson Harper <[email protected]>
  7680. * Form.cs:
  7681. * MdiChildContext.cs:
  7682. * MdiClient.cs: Implement ActiveMdiChild in Form.
  7683. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  7684. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  7685. 2005-10-01 Peter Dennis Bartok <[email protected]>
  7686. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  7687. be found
  7688. 2005-09-30 Jackson Harper <[email protected]>
  7689. * ListBox.cs: Don't do a full refresh unless some data has
  7690. actually changed.
  7691. 2005-09-30 Jackson Harper <[email protected]>
  7692. * TreeView.cs: Make sure that the checkboxes size is factored in
  7693. even when not visible.
  7694. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7695. * FileDialog.cs: Fix Jordi's build break
  7696. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7697. * FileDialog.cs:
  7698. - Use standard the Windows colours for the combobox as espected
  7699. - Dispose objects that use resouces when no longer need them
  7700. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7701. * X11DesktopColors.cs: Initial incomplete implementation
  7702. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  7703. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7704. * Theme.cs:
  7705. - Switched Theme color names to match the names defined in
  7706. System.Drawing.KnownColors. Life's hard enough, no need to make
  7707. it harder.
  7708. - Added setters to all theme color properties so themes can set
  7709. their color schemes. The setters also propagate the color changes
  7710. to System.Drawing.KnownColors via reflection
  7711. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  7712. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  7713. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  7714. use the new, more logical theme color names
  7715. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  7716. post-NT colors
  7717. * ThemeWin32Classic.cs:
  7718. - Removed code to set the old classic Windows colors. Instead it
  7719. now relies on the colors returned by System.Drawing.KnownColors
  7720. which will be either modern static colors (Unix) or colors
  7721. read from the user's configuration (Win32)
  7722. - Updated to use the new, more logical theme color names
  7723. - Switched DataGrid drawing code to use only Theme colors instead of
  7724. a mix of System.Drawing.KnownColors and Theme colors
  7725. - DrawFrameControl(): Removed code that fills the button area, the
  7726. fill would overwrite any previous fill done by a control. This
  7727. fixes bug #75338
  7728. - Added DrawReversibleRectangle() stub
  7729. * ScrollableControl.cs: Set visible state to false when scrollbars
  7730. are removed (pdn fix)
  7731. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  7732. DrawReversibleRectangle() method to allow drawing primitive
  7733. 'rubber bands'
  7734. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  7735. 2005-09-30 Kornél Pál <[email protected]>
  7736. * ImageList.cs: Add(Icon): Create handle.
  7737. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7738. * ListView.cs:
  7739. * ThemeWin32Classic.cs:
  7740. - Fixes detail mode
  7741. - Sets clippings
  7742. - Issues with drawing
  7743. 2005-09-30 Kornél Pál <[email protected]>
  7744. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  7745. source has to be the ImageList.
  7746. 2005-09-30 Kornél Pál <[email protected]>
  7747. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  7748. 2005-09-30 Kornél Pál <[email protected]>
  7749. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  7750. 2005-09-30 Kornél Pál <[email protected]>
  7751. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  7752. 2005-09-29 Jonathan Chambers <[email protected]>
  7753. * GridItem.cs: Fixed TODOs
  7754. * GridItemCollection.cs: Added ICollection interface
  7755. 2005-09-30 Kornél Pál <[email protected]>
  7756. * ImageList.cs: Resize icons when needed.
  7757. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  7758. * ListViewItem.cs
  7759. - Fixes GetBounds and returns on screen rects
  7760. * ListView.cs:
  7761. - Fixes vertical and horzintal scrolling of items
  7762. * ThemeWin32Classic.cs:
  7763. - Fixes drawing
  7764. 2005-09-29 Raja R Harinath <[email protected]>
  7765. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  7766. 2005-09-29 Kornél Pál <[email protected]>
  7767. * ImageList.cs: Added comments about handle creation. Moved Handle,
  7768. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  7769. Handle is created in Add methods.
  7770. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7771. * DataGridDrawingLogic.cs:
  7772. - Takes rows into account on Colum calculations
  7773. - Returns the column when clickig
  7774. * DataGrid.cs:
  7775. - Fixes default HitTestInfo values
  7776. - Fixes HitTestInfo.ToString
  7777. - Fixes ResetBackColor
  7778. 2005-09-28 Jackson Harper <[email protected]>
  7779. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  7780. sizing or cursor changes). Also added some temp code to draw the
  7781. titlebars text (Makes dev a little easier).
  7782. 2005-09-28 Kornél Pál <[email protected]>
  7783. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  7784. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7785. * ListBox.cs: Fixes bug 76253
  7786. 2005-09-28 Kornél Pál <[email protected]>
  7787. * ImageList.cs: Added comments about the current implementation. Added
  7788. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  7789. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  7790. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  7791. with Bitmap.LockBits for better performance. Revised the whole file to
  7792. match MS.NET behaviour and provide better performance. Non-public
  7793. interface members are calling public members even when they throw
  7794. NotSupportedException for better maintainability. Moved ColorDepth,
  7795. ImageSize, ImageStream and TransparentColor implementations to
  7796. ImageCollection for better performance as these properties are not used
  7797. by ImageList.
  7798. * ImageListStreamer.cs: Added a new internal constructor that takes an
  7799. ImageList.ImageCollection and serializes Images based on
  7800. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  7801. match ImageList property name.
  7802. 2005-09-28 Kazuki Oikawa <[email protected]>
  7803. * ListBox.cs: Fixes IndexFromPoint for last item
  7804. 2005-09-27 Jackson Harper <[email protected]>
  7805. * Form.cs: Set the position of new mdi children correctly.
  7806. 2005-09-27 Jackson Harper <[email protected]>
  7807. * MdiClient.cs: New mdi children need to be added to the back of
  7808. the controls collection so the zorder is set correctly. Also add a
  7809. count of all the child windows that have been created.
  7810. 2005-09-27 Jackson Harper <[email protected]>
  7811. * Form.cs (CreateParams): Setup MDI forms correctly.
  7812. 2005-09-27 Jackson Harper <[email protected]>
  7813. * MdiChildContext.cs:
  7814. * MonthCalendar.cs:
  7815. * UpDownBase.cs:
  7816. * ListBox.cs:
  7817. * ListView.cs:
  7818. * TextBoxBase.cs:
  7819. * TreeView.cs:
  7820. * ScrollableControl.cs:
  7821. * ComboBox.cs: Add implicit controls using the new implict control
  7822. functionality in ControlCollection. Also try to block multiple
  7823. control add in a suspend/resume layout to save some cycles.
  7824. 2005-09-27 Jackson Harper <[email protected]>
  7825. * Control.cs: Add functionality to the controls collection to add
  7826. 'implicit controls' these are controls that are created by the
  7827. containing control but should not be exposed to the user. Such as
  7828. scrollbars in the treeview.
  7829. * Form.cs: The list var of the ControlsCollection is no longer
  7830. available because of the potential of implicit controls getting
  7831. ignored by someone accessing the list directly.
  7832. 2005-09-26 Peter Dennis Bartok <[email protected]>
  7833. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  7834. loose it's parent. (Fixed bug introduced in r49103 when we added
  7835. setting the child parent to null on Remove)
  7836. 2005-09-26 Gert Driesen <[email protected]>
  7837. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  7838. * Splitter.cs: Added missing attributes for BorderStyle property.
  7839. * TextBoxBase.cs: Marked Calculate* methods internal.
  7840. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  7841. MS.NET.
  7842. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  7843. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  7844. 2005-09-25 Jackson Harper <[email protected]>
  7845. * TreeView.cs: Update the node bounds correctly regardless of
  7846. whether the node is visible.
  7847. 2005-09-25 Jackson Harper <[email protected]>
  7848. * ImageList.cs: Don't dispose the image after it is added to the
  7849. image list. Only reformat images that need to be resized.
  7850. 2005-09-25 Jackson Harper <[email protected]>
  7851. * ImageList.cs: Don't set the format when changing the image.
  7852. 2005-09-25 Jackson Harper <[email protected]>
  7853. * TreeView.cs: We can't just assume the node has a font. Use the
  7854. treeviews font if no node font is available.
  7855. 2005-09-25 Jackson Harper <[email protected]>
  7856. * TreeView.cs: Allow the scrollbars to be reset with negative
  7857. values.
  7858. - Don't add scrollbars to negative sized windows.
  7859. 2005-09-23 Jackson Harper <[email protected]>
  7860. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  7861. old Mono.Posix. Also remove some stray code that shouldn't have
  7862. been committed.
  7863. 2005-09-23 Jackson Harper <[email protected]>
  7864. * TreeView.cs: Attempt at proper sizing of the horizontal
  7865. scrollbar. Also don't resize the scrollbars unless they are
  7866. visible.
  7867. 2005-09-23 Jackson Harper <[email protected]>
  7868. * TreeView.cs: We don't need to expand the invalid area when the
  7869. selection changes, as this is all drawn in the node's bounding
  7870. box. The area needs to be expanded (previous typo was contracting
  7871. it) when the focus rect moves.
  7872. 2005-09-23 Jackson Harper <[email protected]>
  7873. * TreeView.cs: Display the selection box under the correct
  7874. circumstances. We were rendering white text with no selection box
  7875. before.
  7876. 2005-09-23 Peter Dennis Bartok <[email protected]>
  7877. * TextControl.cs(Split): Now updates selection start/end if it points
  7878. into a line that's being split. Fixes a FIXME and bug #75258
  7879. 2005-09-23 Jackson Harper <[email protected]>
  7880. * Binding.cs:
  7881. * ListControl.cs: Don't use the path when retrieving binding
  7882. managers from the binding context. My bat sense tells me that the
  7883. path is only used on insertion.
  7884. 2005-09-22 Jackson Harper <[email protected]>
  7885. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  7886. 2005-09-22 Jackson Harper <[email protected]>
  7887. * Splitter.cs: There are special cursors used for splitting.
  7888. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  7889. 2005-09-22 Jackson Harper <[email protected]>
  7890. * Splitter.cs: Change the cursor appropriately when the splitter
  7891. is moused over, so the user actually knows there is a splitter
  7892. there.
  7893. 2005-09-22 Hisham Mardam Bey <[email protected]>
  7894. * Label.cs : Fix ToString method to give same output as MS.NET
  7895. 2005-09-22 Jackson Harper <[email protected]>
  7896. * TreeView.cs: Create the scrollbars when the handle is created
  7897. and add them right away, just make them invisble. Also account for
  7898. the window being shrunk vertically to the point that the vert
  7899. scrollbar needs to be added.
  7900. - Remove some 0.5 adjustments to get around anti aliasing issues.
  7901. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  7902. * MainMenu.cs: Fixes default value
  7903. * MenuItem.cs: Fixes default value
  7904. 2005-09-22 Kazuki Oikawa <[email protected]>
  7905. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  7906. 2005-09-21 Jackson Harper <[email protected]>
  7907. * Control.cs: Don't try to set the border style on the window if
  7908. it hasn't been created. When the window is created the border
  7909. style will be used.
  7910. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7911. * Control.cs (Update): Don't call XplatUI if we don't have a
  7912. window handle yet
  7913. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7914. * ContainerControl.cs: Instead of throwing an exception, print
  7915. a one-time warning about Validate not being implemented
  7916. * XplatUIWin32.cs: Removed debug output
  7917. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7918. * Control.cs: Only set XplatUI background if we expect the windowing
  7919. system to handle the background. This stops controls that draw their
  7920. own background from flickering
  7921. * XplatUIX11.cs: Support custom visuals and colormaps for window
  7922. creation. This allows, amongst other things, using MWF X11 windows
  7923. with OpenGL.
  7924. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7925. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  7926. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  7927. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  7928. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  7929. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  7930. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  7931. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  7932. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  7933. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  7934. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  7935. GridColumnStylesCollection.cs,
  7936. IDataGridColumnStyleEditingNotificationService.cs,
  7937. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  7938. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  7939. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  7940. TreeNodeCollection.cs, AmbientProperties.cs,
  7941. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7942. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  7943. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  7944. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  7945. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  7946. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  7947. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  7948. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  7949. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  7950. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  7951. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  7952. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  7953. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  7954. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  7955. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  7956. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  7957. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  7958. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  7959. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  7960. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  7961. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  7962. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  7963. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  7964. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  7965. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  7966. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  7967. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  7968. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  7969. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  7970. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  7971. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  7972. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  7973. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  7974. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  7975. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  7976. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  7977. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  7978. 2005-09-21 Jackson Harper <[email protected]>
  7979. * TreeNode.cs: Call Before/After Expand not Collapse when
  7980. expanding.
  7981. 2005-09-20 Jackson Harper <[email protected]>
  7982. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  7983. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  7984. * ListViewItem.cs:
  7985. - Fixes bug 76120
  7986. - Fixes proper storing of subitems
  7987. - Fixes not updated items
  7988. 2005-09-20 Peter Dennis Bartok <[email protected]>
  7989. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  7990. things if our window handle isn't created yet. Also disabled
  7991. debug for TextBoxBase
  7992. 2005-09-20 Peter Dennis Bartok <[email protected]>
  7993. * MenuAPI.cs: Remove filtering of events to allow menu usage
  7994. 2005-09-20 Miguel de Icaza <[email protected]>
  7995. * Cursor.cs: Allow null to be passed to Cursor.Current.
  7996. 2005-09-20 Alexander Olk <[email protected]>
  7997. * ThemeWin32Classic.cs:
  7998. - Change some private methods/fields to protected virtual so that
  7999. they can be accessed and overriden in derived classes
  8000. - First refactoring of some methods. Derived themes now don't
  8001. need to duplicate the complete code from ThemeWin32Classic
  8002. * ThemeNice.cs:
  8003. - Added nice StatusBar
  8004. - Derive from ThemeWin32Classic and not Theme
  8005. - Removed duplicate ThemeWin32Classic code
  8006. 2005-09-20 Miguel de Icaza <[email protected]>
  8007. * Control.cs (ControlCollection.Add): If the value null is passed
  8008. the control is ignored.
  8009. Optimize this loop.
  8010. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8011. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8012. PostQuitMessage state.
  8013. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8014. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8015. * Application.cs: Our constructor will never get called, move
  8016. initialization to fields; fixes bug #75933
  8017. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8018. * FileDialog.cs :
  8019. - Allow files to be selected properly using file name
  8020. combo box.
  8021. - Add ability to change diretory (absolute / relative)
  8022. using file name combo box.
  8023. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8024. * ListBox.cs:
  8025. - Fixes Multicolumn listboxes item wrong calculations
  8026. - Allows to click when only one item is in the listbox
  8027. - Fixes crash when no items using keyboard navigation
  8028. 2005-09-16 Alexander Olk <[email protected]>
  8029. * ComboBox.cs: Reverted almost everything from the latest patch which
  8030. broke ComboBox
  8031. 2005-09-16 Kazuki Oikawa <[email protected]>
  8032. * ToolTip.cs:
  8033. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8034. * ComboBox.cs:
  8035. - When DropDownStyle is Simple, it does not show scrollbar
  8036. to the last item of the list.
  8037. - When DropDownStyle is Simple, it crashed when the list was
  8038. scrolled down with the down cursor key.
  8039. - Fixed a bug that when DropDownStyle is DropDownList, the
  8040. selected item was not shown.
  8041. - The position of the selected item was not preserved when
  8042. the next dropdown happened.
  8043. * ThemeWin32Classic.cs:
  8044. - Items were wrapped at the right end.
  8045. * CheckedListBox.cs:
  8046. - Fixed Add method
  8047. * ListBox.cs:
  8048. - Items should be fully shown.
  8049. - When resizing and vertical scrollbar disappeared, the item
  8050. of index 0 should be on the top of the list.
  8051. - GetItemRectangle should consider the size of ver. scrollbar
  8052. * StatusBar.cs:
  8053. - SizingGrip area should not be allocated when it is not
  8054. displayed.
  8055. - Now it reflects MinWidth of the containing panel and
  8056. fixed a crash that happens when its width becomes so small.
  8057. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8058. * CheckedListBox.cs: Fixes bug 76028
  8059. * ListBox.cs: Fixes bug 76028
  8060. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8061. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8062. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8063. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8064. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8065. 2005-09-09 Jonathan Chambers <[email protected]>
  8066. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8067. 2005-09-09 Jonathan Chambers <[email protected]>
  8068. * IRootGridEntry.cs: Added
  8069. * PropertyGridCommands.cs: Added
  8070. * PropertiesTab.cs: Added missing methods and property
  8071. * PropertyGridView.cs: Made class internal
  8072. * PropertyGridTextBox.cs: Made class internal
  8073. 2005-09-09 Alexander Olk <[email protected]>
  8074. * MimeIcon.cs: Try to check some other environment variables
  8075. if "DESKTOP_SESSION" returns "default"
  8076. 2005-09-09 Alexander Olk <[email protected]>
  8077. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8078. * ColorDialog.cs: Use correct background colors for controls
  8079. 2005-09-09 Alexander Olk <[email protected]>
  8080. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8081. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8082. * RichTextBox.cs: Added initial implementation
  8083. * lang.cs: Removed. Was accidentally checked in long time ago
  8084. * TODO: Removed. Contents were obsolete
  8085. 2005-09-06 Jonathan Chambers <[email protected]>
  8086. * PropertiesTab.cs : Added
  8087. 2005-09-06 Jonathan Chambers <[email protected]>
  8088. * PropertyGrid.cs : Update
  8089. * PropertyGridView.cs : Update
  8090. * System.Windows.Forms.resx : Added images and strings
  8091. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8092. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8093. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8094. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8095. a busy loop right after the Ungrab the X11 display is otherwise
  8096. blocked
  8097. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8098. * ThemeWin32Classic.cs: Optimise the use of clipping
  8099. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8100. * DataGrid.cs: fixes recursion bug
  8101. 2005-09-03 Alexander Olk <[email protected]>
  8102. * ThemeNice.cs:
  8103. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8104. - Cleanup
  8105. 2005-09-02 Alexander Olk <[email protected]>
  8106. * ThemeNice.cs: Draw nice ProgressBars
  8107. 2005-09-01 Miguel de Icaza <[email protected]>
  8108. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8109. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8110. bug finder.
  8111. 2005-08-30 Alexander Olk <[email protected]>
  8112. * ThemeNice.cs:
  8113. - Added nicer menu drawing
  8114. - Updated DrawTab
  8115. - some refactoring
  8116. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8117. * CreateParams.cs (ToString): Made output match MS
  8118. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8119. handle is already created (to avoid forcing window creation)
  8120. * XplatUIX11.cs: Set window text to caption after creating window,
  8121. in case Text was set before window was created
  8122. * Form.cs: Use this.Text instead of a static string as caption
  8123. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8124. * NotifyIcon.cs: Don't set the window to visible; this screws
  8125. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8126. OnPaint without a bitmap)
  8127. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8128. happen very often anyway; we could add the check to the WM_PAINT
  8129. event generation code
  8130. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8131. * NotifyIcon.cs: Fill the icon area with a background color, to
  8132. avoid 'residue' when transparent icons are drawn
  8133. * XplatUIX11.cs:
  8134. - Handle whole_window == client_window when destroying windows
  8135. - SystrayAdd(): Set client_window to whole_window value to
  8136. get mouse and other events passed to NotifyIcon
  8137. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8138. * Form.cs: Set proper default for Opacity property
  8139. * NotifyIcon.cs:
  8140. - ShowSystray(): Don't bother creating telling the OS
  8141. about the systray item if no icon is provided
  8142. - Now handles WM_NCPAINT message to deal with whole/client window
  8143. split
  8144. - Create window as visible to not get caught by Expose optimization
  8145. * Hwnd.cs: Removed debug message
  8146. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8147. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8148. PaintEventStart/End to use new client argument
  8149. * TextBoxBase.cs:
  8150. - Commented out debug messages
  8151. - Switched PaintEventStart/End to use new client argument
  8152. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8153. PaintEventEnd() calls, to support drawing in non-client areas
  8154. * XplatUIDriver.cs:
  8155. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8156. calls, to support drawing in non-client areas
  8157. - Added conditional compile to allow using MWF BeginInvoke
  8158. on MS runtime
  8159. * XplatUIX11.cs:
  8160. - Added some conditional debug output
  8161. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8162. whole/client window split
  8163. - Implemented handling of client argument to PaintEventStart()/End()
  8164. * Control.cs:
  8165. - Throw exception if BeginInvoke() is called and the window handle
  8166. or one of the window's parent handles is not created
  8167. - Added conditional compile to allow using MWF BeginInvoke on
  8168. MS runtime
  8169. - get_Parent(): Only sets parent if handle is created. This avoids
  8170. forcing window handle creation when parent is set.
  8171. - Now fires Layout and Parent changed events in proper order
  8172. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8173. the get_Parent() patch above causes us to possibly get null for 'window'
  8174. - Implemented handling of client argument to PaintEventStart()/End()
  8175. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8176. default handling)
  8177. - Now sends a Refresh() to all child windows when Refresh() is called
  8178. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8179. * Form.cs: Added (non-functional) Opacity property
  8180. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8181. 2005-08-29 Alexander Olk <[email protected]>
  8182. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8183. use export MONO_THEME=nice to activate it.
  8184. Currently supported controls:
  8185. - Button
  8186. - ComboBox
  8187. - ScrollBar
  8188. - TabControl (TabAlignment.Top only, other will follow)
  8189. * ThemeEngine.cs: Add theme nice
  8190. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8191. if enabled
  8192. 2005-08-25 Jonathan Chambers <[email protected]>
  8193. * Splitter.cs: Resize docked control and its neighbor.
  8194. 2005-08-24 Rafael Teixeira <[email protected]>
  8195. -- Making Windows with Menus layout correctly --
  8196. * Form.cs : The first leg of the fix
  8197. Menu setter - adjust Client Size as needed to make space for the menu
  8198. SetClientSizeCore - doesn't call base version to be able to pass the
  8199. menu handle to XplatUI.CalculateWindowRect
  8200. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8201. * XplatUIX11.cs: The critical second leg of the fix
  8202. GetWindowPos needs to use a recalculated client_rect
  8203. so that resizing the window doesn't break layout of child controls.
  8204. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8205. Lots of \t\n killed
  8206. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8207. * Label.cs: Now properly recalculates width and height on Font and Text
  8208. changes if AutoSize is set
  8209. 2005-08-19 Rafael Teixeira <[email protected]>
  8210. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8211. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8212. * ImageList.cs: Makes ToString method compatible with MS
  8213. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8214. * MenuAPI.cs: fixes bug 75716
  8215. 2005-08-11 Umadevi S <[email protected]>
  8216. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8217. 2005-08-11 Umadevi S <[email protected]>
  8218. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8219. 2005-08-10 Umadevi S <[email protected]>
  8220. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8221. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8222. * Menu.cs: fixes bug 75700
  8223. * MenuAPI.cs: fixes navigation issues
  8224. 2005-08-09 Umadevi S <[email protected]>
  8225. * CheckedListBox.cs - simple fix for GetItemChecked.
  8226. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8227. * ComboBox.cs: Serveral fixes
  8228. * ListBox.cs: Serveral fixes
  8229. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8230. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8231. * ListBox.cs: Fixes FindString methods
  8232. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8233. * DataGrid.cs: fixes bugs exposed by new tests
  8234. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8235. * Mime.cs: Compile Mono assembly references only if compiling
  8236. with Mono (Allows to build with VS.Net again)
  8237. 2005-07-28 Marek Safar <[email protected]>
  8238. * Control.cs (PaintControlBackground): Draw background image
  8239. corrrectly.
  8240. (CheckForIllegalCrossThreadCalls): Stubbed.
  8241. * Form.cs (OnCreateControl): Center when should be centered.
  8242. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8243. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8244. * Binding.cs: Binding to properties should be case unsensitive
  8245. 2005-07-18 [email protected]
  8246. * DataGrid.cs: fixes setmember order
  8247. 2005-07-07 Alexander Olk <[email protected]>
  8248. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8249. * FileDialog.cs: FileDialog is now resizable and uses the new
  8250. MimeIconEngine
  8251. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8252. * DataGridTextBoxColumn.cs: default value
  8253. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8254. * GridTableStylesCollection.cs: fixes checking MappingName
  8255. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8256. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8257. * DataGrid.cs: fixes
  8258. 2005-07-06 Alexander Olk <[email protected]>
  8259. * MimeGenerated.cs: Use case sensitive comparer for
  8260. NameValueCollections
  8261. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8262. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8263. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8264. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8265. * DataGrid.cs: bug fixes, code refactoring
  8266. * DataGridTextBox.cs: bug fixes, code refactoring
  8267. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8268. * Theme.cs: bug fixes, code refactoring
  8269. 2005-07-01 Peter Bartok <[email protected]>
  8270. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8271. and other text box usage
  8272. 2005-07-01 Jackson Harper <[email protected]>
  8273. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8274. border.
  8275. 2005-06-30 Peter Bartok <[email protected]>
  8276. * Form.cs (ShowDialog): Assign owner of the dialog
  8277. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8278. might have been moved to a tag with different height
  8279. 2005-06-30 Jackson Harper <[email protected]>
  8280. * Form.cs: Don't create an infinite loop when setting focus
  8281. * MenuItem.cs: Don't dirty the parents if we don't have any
  8282. 2005-06-29 Ben Maurer <[email protected]>
  8283. * LibSupport.cs: Rename
  8284. 2005-06-29 Peter Bartok <[email protected]>
  8285. * TextBoxBase.cs: Re-align caret after deleting a character
  8286. * TextControl.cs:
  8287. - DeleteChars(): Ensure that tag covers the provided position
  8288. - StreamLine(): Drop reference for dropped tag
  8289. 2005-06-29 Peter Bartok <[email protected]>
  8290. * TextControl.cs:
  8291. - Selections now work properly, anchoring at the initial location
  8292. and properly extending in either direction (SetSelectionToCaret(),
  8293. SetSelectionStart() and SetSelectionEnd())
  8294. - No longer redraws the whole control on selection change, now
  8295. calculates delta between previous and new selection and only
  8296. invalidates/redraws that area
  8297. - Fixed FindPos() math off-by-one errors
  8298. - Changed DeleteChars() to verify the provided tag covers the
  8299. provided position, selections may have a tag that doesn't cover
  8300. the position if the selection is at a tag border
  8301. - Fixed off-by-one errors in DeleteChars()
  8302. - Added missing streamlining check in DeleteChars() to remove
  8303. zero-length tags
  8304. - Implemented Invalidate() method, now properly calculates exposures
  8305. between two given lines/positions
  8306. - Implemented SetSelection()
  8307. - Obsoleted and removed FixupSelection()
  8308. - Improved RecalculateDocument() logic, removing code duplication
  8309. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8310. * LibSupport.cs: changes to match different input/output arguments.
  8311. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8312. * LibSupport.cs: added libsupport.so init routine.
  8313. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8314. * ControlBindingsCollection.cs
  8315. - Throws an exception on null datasource when adding
  8316. - Checks for duplicated bindings when adding
  8317. 2005-06-28 Jackson Harper <[email protected]>
  8318. * TreeView.cs (OnKeyDown): Support left and right properly
  8319. (navigates as well as expanding and collapsing.
  8320. - Add support for Multiply, this expands all the selected nodes
  8321. children.
  8322. - Fix some tabbing.
  8323. 2005-06-28 Jackson Harper <[email protected]>
  8324. * TreeView.cs: Implement keyboard navigation, currently supports,
  8325. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  8326. support for toggling checkboxes with the space bar.
  8327. 2005-06-28 Jackson Harper <[email protected]>
  8328. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  8329. tree.
  8330. 2005-06-28 Jackson Harper <[email protected]>
  8331. * TreeView.cs: Add missing event.
  8332. 2005-06-27 Peter Bartok <[email protected]>
  8333. * TextControl.cs:
  8334. - Made line ending size configurable (now allows for counting
  8335. lineendings as \n or \r\n)
  8336. - Added margin to viewport to keep caret visible on right side
  8337. - Fixed translation routines for line/pos to documentpos to consider
  8338. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  8339. - Fixed some line-endings to be unix style
  8340. - Fixed Document.FormatText to perform it's calculations 1-based
  8341. - Added descriptions for a few methods that might otherwise get
  8342. used wrong
  8343. - Added NOTE section with some basic conventions to remember at
  8344. the top of the file
  8345. - Major fixup for RichTextBox selection drawing:
  8346. * Fixed crashes when multiple tags on a single line were selected
  8347. * fixed selection box drawing not overlaying text
  8348. * fixed bogus offset calculation for tags not starting at index 1
  8349. * Switched behaviour from using multiple Substrings of a
  8350. StringBuilder.ToString() to using multiple
  8351. StringBuilder.ToString(start, length) statements, hoping this is
  8352. faster (kept original version commented out in the code, in case
  8353. original version was faster)
  8354. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  8355. alignment != Left
  8356. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  8357. call it as well
  8358. 2005-06-27 Jackson Harper <[email protected]>
  8359. * TabControl.cs: Move to the left and right with the arrow
  8360. keys. These keys don't cycle beyond first and last like
  8361. tab. Refresh all the tabs when scrolling them to the left or
  8362. right.
  8363. 2005-06-27 Jackson Harper <[email protected]>
  8364. * TabControl.cs:
  8365. - ToString: Added method
  8366. - CreateParams: Remove TODO and comment
  8367. - OnKeyDown: Cycle through bounds properly.
  8368. - SelectedIndex: Scroll to the right or left if we need to
  8369. display the newly selected tab.
  8370. 2005-06-23 Jackson Harper <[email protected]>
  8371. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  8372. set.
  8373. 2005-06-23 Jackson Harper <[email protected]>
  8374. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  8375. CTRL-SHIFT-TAB, and HOME, END are there any others?
  8376. 2005-06-23 Jackson Harper <[email protected]>
  8377. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  8378. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8379. * DataGridTextBoxColumn.cs: fixes and enhancements
  8380. * ThemeWin32Classic.cs: fixes and enhancements
  8381. * DataGridBoolColumn.cs: fixes and enhancements
  8382. * DataGridDrawingLogic.cs: fixes and enhancements
  8383. * CurrencyManager.cs: fixes and enhancements
  8384. * DataGrid.cs: fixes and enhancements
  8385. * DataGridColumnStyle.cs: fixes and enhancements
  8386. 2005-06-22 Jackson Harper <[email protected]>
  8387. * TabControl.cs: Add some missing methods that just call into the
  8388. base. Make the TabPageCollection's IList interface behave in the
  8389. same manner as the MS implementation.
  8390. 2005-06-22 Peter Bartok <[email protected]>
  8391. * TextControl.cs: Added sanity check
  8392. * TextBoxBase.cs:
  8393. - Fixed wrapping behaviour, don't set wrap on single line controls
  8394. (this fixes the breakage of colordialog introduced in an earlier
  8395. checkin)
  8396. - Added rudimentary support for autoscrolling right-aligned controls
  8397. (still needs fixing, also, center alignment scroll is missing)
  8398. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8399. * ScrollBar.cs: Fixes thumbpos on Maximum values
  8400. 2005-06-21 Jonathan Chambers <[email protected]>
  8401. * PropertyGridView.cs: Pass context information to UITypeEditors
  8402. 2005-06-21 Peter Bartok <[email protected]>
  8403. * TextBoxBase.cs:
  8404. - Now calling PositionCaret with absolute space coordinates
  8405. - Enabled vertical scrolling
  8406. - Better tracking of scrollbar changes, tied into WidthChange
  8407. event
  8408. - Improved cursor tracking
  8409. - Removed debug output
  8410. * TextControl.cs:
  8411. - PositionCaret coordinates are now works in absolute space, not
  8412. the canvas
  8413. - Improved tracking of document size
  8414. - Added events for width and height changes
  8415. 2005-06-21 Peter Bartok <[email protected]>
  8416. * Form.cs: Set focus to active control when form is activated
  8417. * TextControl.cs:
  8418. - Added word-wrap functionality to RecalculateLine()
  8419. - Added some short function descriptions for VS.Net to aid in
  8420. writing dependent controls
  8421. - Added Caret property, returning the current coords of the caret
  8422. - Added ViewPortWidth and ViewPortHeight properties
  8423. - Added Wrap property
  8424. - Added CaretMoved event
  8425. - Removed some old debug code
  8426. - Split() can now create soft splits
  8427. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  8428. - Added method to format existing text
  8429. - Fixed size/alignment calculations to use viewport
  8430. - RecalculateDocument now can handle changing line-numbers while
  8431. calculating lines
  8432. * TextBox.cs:
  8433. - Added some wrap logic, we don't wrap if alignment is not left
  8434. - Added casts for scrollbar var, base class switched types to
  8435. also support RichTextBoxA
  8436. - Implemented handling of scrollbar visibility flags
  8437. * TextBoxBase.cs:
  8438. - Switched scrollbars type to RichTextBoxScrollBars to support
  8439. RichTextBox
  8440. - Added tracking of canvas width/height
  8441. - Switched scrollbars to be not selectable (to keep focus on text)
  8442. - Added central CalculateDocument() method to handle all redraw
  8443. requirements
  8444. - Added ReadOnly support
  8445. - Added WordWrap support
  8446. - Fixed handling of Enter key (we now treat it as a DialogKey)
  8447. - Fixed caret positioning when h or v scroll is not zero
  8448. - Fixed placing/generation of vertical scrollbar
  8449. - Added CalculateScrollBars() method to allow updating scrollbar
  8450. limits and visibility
  8451. - Fixed handling of horizontal scroll
  8452. - Added handling of vertical scroll
  8453. - Implemented auto-'jump' when caret moves to close to a left or
  8454. right border and there is text to be scrolled into view (currently
  8455. there's the potential for a stack overflow, until a bug in
  8456. scrollbar is fixed)
  8457. 2005-06-21 Geoff Norton <[email protected]>
  8458. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  8459. 2005-06-19 Alexander Olk <[email protected]>
  8460. * Mime.cs:
  8461. - added inodes.
  8462. - return application/x-zerosize for files with size zero
  8463. (if no extension pattern matches).
  8464. - check matches collection for strings too.
  8465. - return only the first mime type if the name value
  8466. collection has more than one mime type.
  8467. 2005-06-18 Jonathan Chambers <[email protected]>
  8468. * PropertyGrid.cs: Cleaned up some TODOs
  8469. * PropertyGridView.cs: Added support for UITypeEditors
  8470. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8471. * DataGrid.cs: clears cached value
  8472. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8473. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  8474. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  8475. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  8476. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  8477. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  8478. * ThemeWin32Classic.cs: fixes colour
  8479. 2005-06-15 Peter Bartok <[email protected]>
  8480. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  8481. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  8482. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  8483. * Control.cs: Added some MWFCategory and MWFDescription attributes
  8484. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  8485. 2005-06-15 Alexander Olk <[email protected]>
  8486. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  8487. usage
  8488. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  8489. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  8490. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  8491. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  8492. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  8493. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  8494. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  8495. 2005-06-13 Jackson Harper <[email protected]>
  8496. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  8497. isn't printed when the user enables dropping. (X11 does accept
  8498. drops).
  8499. 2005-06-13 Jackson Harper <[email protected]>
  8500. * TreeView.cs: Remove some TODOS.
  8501. 2005-06-13 Jackson Harper <[email protected]>
  8502. * Form.cs: Hook into the mdi framework.
  8503. * MdiClient.cs: Use the base control collections add method so
  8504. parents get setup correctly. Set the default back colour and dock
  8505. style.
  8506. * MdiChildContext.cs: New class, this bad actor handles an
  8507. instance of an MDI window. Right now there is only basic
  8508. support. You can drag, close, and resize windows. Minimize and
  8509. Maximize are partially implemented.
  8510. 2005-06-13 Jackson Harper <[email protected]>
  8511. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  8512. freaky when both vals are negative. NOTE: There are probably other
  8513. places in XplatUIX11 that this needs to be done.
  8514. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  8515. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  8516. * DataGridColumnStyle.cs: fixes signature
  8517. 2005-06-12 Jackson Harper <[email protected]>
  8518. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  8519. windows.
  8520. 2005-06-11 Jackson Harper <[email protected]>
  8521. * StatusBarPanel.cs: Signature cleanups. Implement
  8522. BeginInit/EndInit.
  8523. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  8524. * DataGridTextBoxColumn.cs: Honors aligment
  8525. * GridColumnStylesCollection.cs: Contains is case unsensitive
  8526. * GridTableStylesCollection.cs: several fixes
  8527. * DataGridTableStyle.cs: default column creation
  8528. * DataGridDrawingLogic.cs: fixes
  8529. * CurrencyManager.cs: ListName property
  8530. * DataGrid.cs: multiple styles support
  8531. * DataGridColumnStyle.cs: fixes
  8532. 2005-06-10 Peter Bartok <[email protected]>
  8533. * Control.cs(Select): Moved SetFocus call to avoid potential
  8534. loops if controls change the active control when getting focus
  8535. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  8536. the up/down buttons
  8537. 2005-06-10 Matthias Felgner <[email protected]>
  8538. * ImageListConverter.cs: Implemented
  8539. 2005-06-10 John BouAntoun <[email protected]>
  8540. * MonthCalendar.cs: Wired in NumericUpDown control for year
  8541. 2005-06-10 John BouAntoun <[email protected]>
  8542. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  8543. DoubleClick events, since they are not meant to be fired.
  8544. 2005-06-09 Peter Bartok <[email protected]>
  8545. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  8546. Jonathan's standalone controls into MWF, implemented missing
  8547. events, attributes and methods; added xxxAccessible classes
  8548. * AccessibleObject.cs: Made fields internal so other classes
  8549. can change them if needed
  8550. 2005-06-09 Jonathan Gilbert <[email protected]>
  8551. * UpDownBase.cs: Complete implementation
  8552. * NumericUpDown.cs: Complete implementation
  8553. * DomainUpDown.cs: Complete implementation
  8554. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  8555. * DataGridTextBoxColumn.cs: drawing fixes
  8556. * DataGridCell.cs: fixes ToString method to match MSNet
  8557. * DataGridTableStyle.cs: fixes
  8558. * DataGridBoolColumn.cs: fixes, drawing
  8559. * DataGridDrawingLogic.cs: fixes, new methods
  8560. * DataGridTextBox.cs: Keyboard and fixes
  8561. * DataGrid.cs:
  8562. - Keyboard navigation
  8563. - Scrolling fixes
  8564. - Row selection (single, multiple, deletion, etc)
  8565. - Lots of fixes
  8566. 2005-06-07 Jackson Harper <[email protected]>
  8567. * ThemeWin32Classic.cs: Clear the background area when drawing
  8568. buttons.
  8569. 2005-06-06 Peter Bartok <[email protected]>
  8570. * ImageListStreamer.cs: Fixed signature for GetData
  8571. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  8572. * ComboBox.cs:
  8573. - Added missing ChildAccessibleObject class
  8574. - Added missing OnXXXFocus overrides, switched to using those
  8575. instead of the event handler
  8576. * Control.cs:
  8577. - Added Parent property for ControlAccessibleObject
  8578. - Fixed signatures
  8579. - Fixed attributes
  8580. - Added ResetBindings()
  8581. * ListBindingConverter.cs: Implemented some methods
  8582. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  8583. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  8584. * ContainerControl.cs: Fixed signature, now subscribing to the
  8585. ControlRemoved event instead of overriding the handler, LAMESPEC
  8586. * CurrencyManager.cs: Added missing attribute
  8587. * MonthCalendar.cs: Added missing properties
  8588. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8589. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  8590. 2005-06-06 Gaurav Vaish and Ankit Jain
  8591. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8592. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8593. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8594. * Control.cs: fixes CreateParams Width / Height.
  8595. 2005-06-05 Peter Bartok <[email protected]>
  8596. * Win32DnD.cs: Removed compilation warnings
  8597. 2005-06-05 Peter Bartok <[email protected]>
  8598. * Control.cs (CreateParams): Since we don't know if one of the
  8599. properties we use is overridden, lets make sure if we fail accessing
  8600. we continue with a backup plan
  8601. 2005-06-05 Peter Bartok <[email protected]>
  8602. * Win32DnD.cs:
  8603. - Removed debug output
  8604. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  8605. struct
  8606. - Plugged resource leak
  8607. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  8608. MS size
  8609. 2005-06-05 Peter Bartok <[email protected]>
  8610. * XplatUIWin32.cs: Removed DnD code
  8611. * Win32DnD.cs: Implemented drop source and drop target functionality
  8612. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  8613. * UpDownBase.cs: remove duplicate addition of event, enable some code
  8614. that was commented out.
  8615. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  8616. Validate input when a key is pressed. It works fine now for every
  8617. combination of Hexadecimal. Only missing some drawing love when sharing
  8618. space with other controls.
  8619. 2005-06-04 Peter Bartok <[email protected]>
  8620. * Control.cs:
  8621. - We need to pass a window for DragDrop, so enable callback events
  8622. - Added DnD callback events when being a DragSource
  8623. * XplatUI.cs (StartDrag): Added window handle argument
  8624. * XplatUIDriver.cs (StartDrag): Added window handle argument
  8625. * QueryContinueDragEventArgs: Made fields internally accessible so
  8626. drivers can set them
  8627. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  8628. can set them
  8629. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  8630. * DataGridTextBoxColumn.cs: column text editing
  8631. * DataGridTableStyle.cs: Respect columns styles created by the user
  8632. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  8633. * DataGridBoolColumn.cs: bool column editing
  8634. * DataGrid.cs: fixes to scrolling, properties, etc
  8635. * DataGridTextBox.cs: handle keyboard
  8636. * DataGridColumnStyle.cs: fixes
  8637. 2005-06-02 Jackson Harper <[email protected]>
  8638. * ImageListStreamer.cs: Somewhat broken implementation of
  8639. GetObjectData. The RLE needs some work to match MS properly.
  8640. 2005-06-02 Jackson Harper <[email protected]>
  8641. * X11Dnd.cs: Attempting to keep at least one file in MWF
  8642. monostyled.
  8643. 2005-06-02 Peter Bartok <[email protected]>
  8644. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  8645. that way
  8646. 2005-06-02 Peter Bartok <[email protected]>
  8647. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  8648. * XplatUI.cs: Added DoDragDrop() method
  8649. * XplatUIDriver.cs: Added DoDragDrop() method
  8650. 2005-06-02 Jackson Harper <[email protected]>
  8651. * Splitter.cs: Implement BorderStyle.
  8652. 2005-06-02 Jackson Harper <[email protected]>
  8653. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  8654. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  8655. X11 using XDND.
  8656. 2005-06-02 Peter Bartok <[email protected]>
  8657. * DataObject.cs:
  8658. - Added Data setter
  8659. - Fixed broken insertion code for SetData, now also
  8660. overwrites any existing entry of the same format name
  8661. * Hwnd.cs: Added list of pointers that automatically gets
  8662. freed when the window is disposed
  8663. * XplatUI.cs: Call driver initialization method when loading
  8664. a driver
  8665. * Control.cs:
  8666. - OnDragLeave takes EventArgs, not DragEventArgs
  8667. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  8668. supported
  8669. - Forces style update when drop state changes
  8670. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  8671. not perfect since we cannot (yet) call the IDataObject.GetData()
  8672. method, we keep getting 0x80004005 error, dunno why)
  8673. 2005-06-02 Peter Bartok <[email protected]>
  8674. * DragEventArgs.cs: Make fields internal so we can cache the
  8675. object and re-set the fields from XplatUI
  8676. 2005-06-02 Jackson Harper <[email protected]>
  8677. * Control.cs: Add some internal methods so the DnD subsystem can
  8678. raise DnD events. Also call into the driver when AllowDrop is set.
  8679. * XplatUI.cs:
  8680. * XplatUIDriver.cs: New method for setting whether or not a window
  8681. is allowed to accept drag and drop messages.
  8682. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  8683. * ScrollBar.cs: Make sure that values sent in Scroll events
  8684. are always between Maximum and Minimum.
  8685. 2005-06-01 Marek Safar <[email protected]>
  8686. * Menu.cs: Call MenuChanged when menuitem visibility has been
  8687. changed.
  8688. * MenuItem.cs: Rebuild menu when item is (not) visible.
  8689. * MainMenu.cs: MainMenu has special MenuChanged.
  8690. * Theme.cs: Caption and FrameBorderSize are not fixed.
  8691. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  8692. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  8693. * XplatUIX11.cs,
  8694. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  8695. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  8696. 2005-05-30 Jackson Harper <[email protected]>
  8697. * DataFormat.cs: We can't statically initialize this stuff because
  8698. it calls into the xplatui and could create a loop. So we lazy init
  8699. it.
  8700. 2005-05-28 Jackson Harper <[email protected]>
  8701. * Control.cs: Proper implementation of Product(Name/Version).
  8702. 2005-05-27 Jackson Harper <[email protected]>
  8703. * DataObject.cs: Dont crash if no data is found.
  8704. 2005-05-26 Rafael Teixeira <[email protected]>
  8705. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  8706. as per status page, guessing it should be set to true
  8707. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  8708. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  8709. * DataGridTableStyle.cs: set proper formatting text, def header text
  8710. * ThemeWin32Classic.cs: new themable paramaters
  8711. * DataGridBoolColumn.cs: paint check box, get data, fixes
  8712. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  8713. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  8714. * DataGridColumnStyle.cs: fixes
  8715. * Theme.cs: new themable paramaters
  8716. 2005-05-26 Peter Bartok <[email protected]>
  8717. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  8718. 2005-05-24 Jonathan S. Chambers <[email protected]>
  8719. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  8720. 2005-05-24 Peter Bartok <[email protected]>
  8721. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  8722. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  8723. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  8724. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  8725. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  8726. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  8727. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  8728. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  8729. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  8730. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  8731. missing attributes, etc
  8732. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  8733. 2005-05-24 Peter Bartok <[email protected]>
  8734. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  8735. when user tries to get help
  8736. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  8737. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  8738. to suppress warnings
  8739. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  8740. avoid unreachable code warning
  8741. 2005-05-20 Peter Bartok <[email protected]>
  8742. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  8743. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8744. * DataGridTextBoxColumn.cs: Basic painting methods
  8745. * DataGridTableStyle.cs: Set table style in the column
  8746. * ThemeWin32Classic.cs: Use Theme for colors
  8747. * DataGridDrawingLogic.cs: Implement more drawing
  8748. * DataGrid.cs: drawing, theming, enhacements, fixes
  8749. * DataGridColumnStyle.cs: fixes, drawing
  8750. * Theme.cs: theming for Datagrid
  8751. 2005-05-20 Peter Bartok <[email protected]>
  8752. * Cursor.cs: Implemented GetObjectData() method
  8753. 2005-05-20 Peter Bartok <[email protected]>
  8754. * Cursors.cs: Added setting of cursor name
  8755. * Cursor.cs:
  8756. - Implemented constructors
  8757. - Implemented Draw and DrawStretched
  8758. - Implemented Current property
  8759. - Implemented == and != operators
  8760. - Implemented Dispose()
  8761. - Implemented ToString
  8762. - Added missing attributes
  8763. * XplatUIX11.cs:
  8764. - Added missing reset for OverrideCursor when DoEvents is called
  8765. - Fixed creation of cursor, logic was wrong
  8766. * XplatUIWin32.cs:
  8767. - Added missing reset for OverrideCursor when DoEvents is called
  8768. - Fixed creation of cursor, bit arrays were swapped
  8769. * Clipboard.cs: Removed obsolete MonoTODO attribute
  8770. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8771. * ComboBox.cs: fixes OnSelectedItemChanged
  8772. * ControlBindingsCollection.cs: fixes item range check
  8773. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8774. * UpDownBase.cs:
  8775. - Calc preferred height properly
  8776. - Implement missing properties
  8777. * NumericUpDown.cs: Implement missing events
  8778. 2005-05-19 Jackson Harper <[email protected]>
  8779. * TabControl.cs: New method that resizes the tab pages before
  8780. redrawing them. This as needed as the control is double buffered
  8781. and sizing will not be recalculated unless ResizeTabPages is
  8782. called.
  8783. * TabPage.cs: Set base.Text instead of Text in the constructor so
  8784. that UpdateOwner does not get called. Use the new Redraw method of
  8785. TabControl instead of Refresh so the sizing is recalculated.
  8786. * ThemeWin32Classic.cs: Draw the text for button tabs.
  8787. 2005-05-19 Jackson Harper <[email protected]>
  8788. * Control.cs: Paint control background images. Fix typo where
  8789. PaintControlBackground was not getting called correctly.
  8790. 2005-05-19 Peter Bartok <[email protected]>
  8791. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  8792. I can investigate, apparently I broke FileDialog
  8793. 2005-05-19 Marek Safar <[email protected]>
  8794. * AxHost.cs: Some simple properties.
  8795. * Control.cs: window must be accessible after ctor.
  8796. * Form.cs: Added TransparencyKey property.
  8797. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  8798. * XplatUIWin32.cs: SetBorderStyle implemented.
  8799. 2005-05-18 Peter Bartok <[email protected]>
  8800. * DataObject.cs: Entries are not global but particular to the
  8801. DataObject, now it behaves that way
  8802. * XplatUIWin32.cs: Implemented Clipboard methods
  8803. * Clipboard.cs: Implemented
  8804. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  8805. * XplatUIOSX.cs: Updated to final clipboard prototypes
  8806. * XplatUIX11.cs: Implemented Clipboard methods
  8807. * XplatUIDriver.cs: Updated to final clipboard prototypes
  8808. * XplatUIStructs.cs:
  8809. - Added BITMAPINFOHEADER struct
  8810. - Added ClipboardFormats enum
  8811. * X11Structs.cs:
  8812. - Added ClipboardStruct
  8813. - Added Atom enum items for clipboard types
  8814. - Fixed atom types for Selection event structures
  8815. * DataFormats.cs:
  8816. - Added internal properties and methods for drivers to enumerate
  8817. all known formats
  8818. - Switched initialization method to allow drivers to assign their
  8819. own IDs even for the MS predefined clipboard IDs
  8820. * XplatUI.cs: Updated to final clipboard interface
  8821. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8822. * PropertyGridView.cs: Fixed compiler warnings.
  8823. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8824. * PropertyGrid.cs: Added some event calls
  8825. * PropertyGridView.cs: Change drawing code to use double buffering
  8826. * PropertyGridTextBox.cs: Changed Text property name
  8827. * GridItem.cs: Added Bounds property.
  8828. * GridEntry.cs: Added Bounds property.
  8829. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  8830. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  8831. since GetType() may not return the correct type if the object is
  8832. a remoting proxy.
  8833. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  8834. * TreeNodeCollection.cs: fixes get/set item ranges
  8835. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8836. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  8837. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8838. * ComboBox.cs: Fix item range comparation
  8839. * ListView.cs: Fix item range comparation
  8840. 2005-05-03 Alexander Olk <[email protected]>
  8841. * FontDialog.cs:
  8842. - Clear example panel when OnPaint is called
  8843. - Better solution for displaying the example panel text
  8844. - Select default indexes in the ListBoxes
  8845. 2005-05-11 Geoff Norton <[email protected]>
  8846. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  8847. 2005-05-11 Peter Bartok <[email protected]>
  8848. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  8849. * SelectionRangeConverter.cs: Implemented
  8850. * PropertyGrid.cs: Fixed attribute value
  8851. * Control.cs:
  8852. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  8853. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  8854. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  8855. that's common to all drivers. First methods to go there are
  8856. Sebastien Pouliot's CAS Stack Propagation helper methods
  8857. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  8858. Sebastien Pouliot for CAS Stack Propagation
  8859. 2005-05-11 Geoff Norton <[email protected]>
  8860. * OSXStructs.cs:
  8861. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  8862. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  8863. * DataGridTextBoxColumn.cs: fixed some members
  8864. * GridColumnStylesCollection.cs: indexed column is case insensitive
  8865. * DataGridTableStyle.cs: fixes
  8866. * ThemeWin32Classic.cs: add new theme parameter
  8867. * Theme.cs: add new theme parameter
  8868. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  8869. * DataGrid.cs: fixes, new internal properties, etc.
  8870. * DataGridColumnStyle.cs: allows to set grid value
  8871. *
  8872. 2005-05-10 Peter Bartok <[email protected]>
  8873. * AccessibleObject.cs:
  8874. - Removed MonoTODO attribute on help, method is correct
  8875. - Fixed Bounds property
  8876. * AxHost.cs: Moved MonoTODO
  8877. * ButtonBase.cs: Now setting AccessibleObject properties
  8878. * RadioButton.cs: Setting proper AccessibleObject role
  8879. * CheckBox.cs: Setting proper AccessibleObject role
  8880. * ControlBindingsCollection.cs: Added properties, methods and attributes
  8881. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  8882. userdefined DataFormats.Format items as well
  8883. * ListControl.cs: Removed data_member from the public eye
  8884. * OpenFileDialog.cs:
  8885. - Made class sealed
  8886. - Added missing attributes
  8887. * SaveFileDialog.cs: Added missing attributes
  8888. * ImageListStreamer.cs: Fixed code that caused warnings
  8889. * LinkLabel.cs: Removed unreachable code
  8890. * TreeView.cs: Fixed code that caused warnings
  8891. * PropertyGridView.cs: Fixed code that caused warnings
  8892. * GridColumnStylesCollection.cs: Added missing attributes
  8893. * GridTableStylesCollection: Added missing attribute
  8894. * PropertyManager: Added .ctor
  8895. * SecurityIDType: Added
  8896. * DataObject.cs: Implemented class
  8897. * LinkArea.cs: Added missing attribute
  8898. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  8899. * RadioButton.cs: call base method to allow to fire OnClick event
  8900. * UpDownBase.cs: OnMouseUp call base method
  8901. * CheckedListBox.cs: call base method before returning
  8902. * TrackBar.cs: call base method before returning
  8903. 2005-05-10 Peter Bartok <[email protected]>
  8904. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  8905. for messages
  8906. 2005-05-10 Peter Bartok <[email protected]>
  8907. * DataFormats.cs: Implemented
  8908. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  8909. XplatUIX11.cs: Added Clipboard APIs
  8910. * XplatUIWin32.cs: Implemented Clipboard APIs
  8911. * FolderBrowserDialog.cs: Added missing event, attributes
  8912. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  8913. * CheckBox.cs: call base method to allow to fire OnClick event
  8914. 2005-05-09 Sebastien Pouliot <[email protected]>
  8915. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  8916. 2005-05-06 Peter Bartok <[email protected]>
  8917. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  8918. * Screen.cs: Implemented
  8919. * HelpNavigator.cs: Added
  8920. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  8921. property
  8922. * HelpProvider.cs: Implemented all we can do until we have a CHM
  8923. help library (which means that "What's This" does work now)
  8924. 2005-05-06 Jackson Harper <[email protected]>
  8925. * XplatUIX11.cs: Fix waking up the main loop.
  8926. 2005-05-05 Peter Bartok <[email protected]>
  8927. * XplatUI.cs: Updated revision
  8928. * Form.cs: Removed enless loop
  8929. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  8930. * Label.cs (OnPaint): Added call to base.OnPaint()
  8931. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  8932. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  8933. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  8934. * AxHost.cs: Added
  8935. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  8936. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  8937. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  8938. reuse of ToolTipWindow by other controls
  8939. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  8940. * XplatUIX11.cs: Now clipping drawing area (experimental)
  8941. * PictureBox.cs: Moved base.OnPaint() call to end of method
  8942. * Theme.cs: Fixed ToolTip abstracts to match new format
  8943. * ErrorProvider.cs: Implemented
  8944. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  8945. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  8946. * LinkLabel.cs:
  8947. - Adds cursors
  8948. - Handles focus
  8949. - Implements LinkBehavior
  8950. - Fixes many issues
  8951. 2005-05-03 Jackson Harper <[email protected]>
  8952. * ListView.cs: Calculate the scrollbar positioning on resize and
  8953. paint, so they get put in the correct place.
  8954. 2005-05-03 Alexander Olk <[email protected]>
  8955. * ColorDialogs.cs: The small color panels are now handled by
  8956. SmallColorControl. This fixes drawing of the focus rectangle
  8957. and adds a 3D border.
  8958. 2005-05-03 Peter Bartok <[email protected]>
  8959. * Control.cs: Modified version of Jonathan Chamber's fix for
  8960. double-buffering
  8961. 2005-05-03 Jackson Harper <[email protected]>
  8962. * ListView.cs: Remove redraw variable. Control now handles whether
  8963. or not a redraw needs to be done, and will only raise the paint
  8964. event if redrawing is needed.
  8965. 2005-05-03 Jackson Harper <[email protected]>
  8966. * Splitter.cs: No decorations for the splitter form. Cache the
  8967. hatch brush.
  8968. 2005-05-03 Jackson Harper <[email protected]>
  8969. * TreeView.cs: Use dashed lines to connect nodes. Use the
  8970. ControlPaint method for drawing the focus rect instead of doing
  8971. that in treeview.
  8972. 2005-05-02 Peter Bartok <[email protected]>
  8973. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  8974. 2005-04-29 Jackson Harper <[email protected]>
  8975. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  8976. entire image buffer. Just clear the clipping rectangle.
  8977. 2005-04-29 Jackson Harper <[email protected]>
  8978. * ThemeWin32Classic.cs: Don't draw list view items that are
  8979. outside the clipping rectangle.
  8980. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  8981. * ListBox.cs: added horizontal item scroll
  8982. 2005-04-29 Jackson Harper <[email protected]>
  8983. * ThemeWin32Classic.cs: Remove some old debug code that was
  8984. causing flicker with the new double buffering code.
  8985. 2005-04-29 John BouAntoun <[email protected]>
  8986. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  8987. behave like combobox and comboboxlist (still not sure if this is
  8988. correct though).
  8989. 2005-04-28 Jackson Harper <[email protected]>
  8990. * ThemeWin32Classic.cs: Don't fill the middle of progress
  8991. bars. This fills areas outside of the clip bounds that don't need
  8992. to be filled.
  8993. 2005-04-28 Jackson Harper <[email protected]>
  8994. * Control.cs: Don't expose functionality to touch the image buffers.
  8995. * ProgressBar.cs:
  8996. * ListView.cs: We do not need to (and no longer can) manipulate
  8997. the image buffers directly. All of this is handled by Control.
  8998. 2005-04-28 Peter Bartok <[email protected]>
  8999. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9000. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9001. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9002. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9003. * Combobox:
  9004. - Adjust control's height for non-simple comboboxes (bug fix)
  9005. - Remove dead code
  9006. * MenuAPI.cs: remove unused var
  9007. * ScrollBar.cs: remove unsed var
  9008. * ListBox.cs: unselect items when clearing
  9009. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9010. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9011. * ListBox.cs: unselect items when clearing
  9012. 2005-04-27 Jackson Harper <[email protected]>
  9013. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9014. if a "correct" keyboard is not found. This will make us not crash,
  9015. but might give some users bad keyboard layouts...seems to be the
  9016. same thing rewind does.
  9017. 2005-04-27 Jackson Harper <[email protected]>
  9018. * BindingManagerBase.cs: Attach the current/position changed
  9019. handlers to their respective events.
  9020. 2005-04-27 Jackson Harper <[email protected]>
  9021. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9022. not just a blit.
  9023. * ThemeWin32Classic.cs: Don't fill the background for picture
  9024. boxes. This could overright user drawing.
  9025. * ComboBox.cs: Just fill the clipping rect not the entire client
  9026. rect when drawing the background. This prevents pieces of the
  9027. image buffer from getting overwritten and is theoretically faster.
  9028. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9029. * ComboBox.cs: Databinding support fixes, fire missing events
  9030. * ListControl.cs: implement missing methods and properties, fixes
  9031. * ThemeWin32Classic.cs: Databiding support on Drawing
  9032. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9033. * ListBox.cs: Databinding support fixes, fire missing events
  9034. 2005-04-25 Peter Bartok <[email protected]>
  9035. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9036. 2005-04-25 Jackson Harper <[email protected]>
  9037. * TreeView.cs: Use the horizontal scrollbars height not width when
  9038. determining how much of the client area is available.
  9039. 2005-04-25 Jackson Harper <[email protected]>
  9040. * Control.cs: Double buffering is handled differently now. As per
  9041. the spec, the extra buffer is created in the WM_PAINT message and
  9042. passed down to the control's drawing code.
  9043. * GroupBox.cs:
  9044. * Label.cs:
  9045. * CheckBox.cs:
  9046. * ProgressBar.cs:
  9047. * RadioButton.cs:
  9048. * ColorDialog.cs:
  9049. * ComboBox.cs:
  9050. * PropertyGridView.cs:
  9051. * UpDownBase.cs:
  9052. * MessageBox.cs:
  9053. * MenuAPI.cs:
  9054. * ListView.cs:
  9055. * ButtonBase.cs:
  9056. * SizeGrip.cs:
  9057. * ScrollBar.cs:
  9058. * ListBox.cs:
  9059. * TrackBar.cs:
  9060. * ToolBar.cs:
  9061. * PictureBox.cs:
  9062. * DateTimePicker.cs:
  9063. * StatusBar.cs:
  9064. * TreeView.cs: Update to new double buffering system.
  9065. * MonthCalendar.cs: Uncomment block, as Capture is now
  9066. working. Update to new double buffering
  9067. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9068. * PaintEventArgs.cs: New internal method allows us to set the
  9069. graphics object. This is used for double buffering.
  9070. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9071. rectangle. The internal paint_area var has been removed from
  9072. StatusBar. The clipping rect should be used instead.
  9073. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9074. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9075. tab controls Refresh method now.
  9076. * TabControl.cs: Update to new double buffering. Make sure the
  9077. handle is created before sizing the tab pages, otherwise we will
  9078. get stuck in a loop.
  9079. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9080. * LinkLabel.cs: Fix typo, bug #74719; patch
  9081. from Borja Sanchez Zamorano
  9082. 2005-04-22 Jackson Harper <[email protected]>
  9083. * TreeNode.cs: Implement Handle stuff.
  9084. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9085. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9086. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9087. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9088. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9089. * DataGridTableStyle.cs: implements create default column styles
  9090. * DataGridBoolColumn.cs: which types can handle
  9091. * DataGrid.cs: missing methods, fixes, new functionality
  9092. * DataGridColumnStyle.cs: fixes
  9093. 2005-04-20 Alexander Olk <[email protected]>
  9094. * FolderBrowserDialog.cs:
  9095. - Use a thread to fill the TreeView
  9096. - Adjusted some sizes
  9097. 2005-04-19 Peter Bartok <[email protected]>
  9098. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9099. property. Fixes #74360.
  9100. 2005-04-19 Jackson Harper <[email protected]>
  9101. * XEventQueue.cs: Lock when getting the lockqueue size.
  9102. * PictureBox.cs: Call base OnPaint
  9103. 2005-04-19 Peter Bartok <[email protected]>
  9104. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9105. messages were no longer being processed (this broke BeginInvoke)
  9106. 2005-04-18 Jackson Harper <[email protected]>
  9107. * TreeView.cs: buglet that caused node images to get drawn
  9108. regardless of whether or not they were in the clipping rectangle.
  9109. 2005-04-18 Jackson Harper <[email protected]>
  9110. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9111. - If the type is an array use the element type of the array
  9112. - If the type is a typed list, use the type
  9113. - If the list contains an Item property that is not an object, use
  9114. that property
  9115. - use the first element of the list if there are any elements in
  9116. the list.
  9117. 2005-04-17 Jackson Harper <[email protected]>
  9118. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9119. click. This handles offsets for scrolling properly and reduces
  9120. memory. Also fixed GetNode to not offset now that TopNode works
  9121. properly.
  9122. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9123. 2005-04-17 Jackson Harper <[email protected]>
  9124. * CursorConverter.cs: Initial implementation.
  9125. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9126. * ListControl.cs: work towards complex data binding support on ListControl
  9127. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9128. * ListBox.cs: work towards complex data binding support on ListControl
  9129. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9130. * GridTableStylesCollection.cs: fixes name and constructor
  9131. * DataGridTableStyle.cs: fixes
  9132. * DataGridBoolColumn.cs: fixes names and constructors
  9133. * DataGrid.cs: define methods and properties. Some init implementations
  9134. * DataGridCell.cs: define methods and properties. Some init implementations
  9135. * GridTablesFactory.cs: Define methods and properties
  9136. 2005-04-15 Geoff Norton <[email protected]>
  9137. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9138. graphics port changes. We still want the coordinates in global screen
  9139. coordinates.
  9140. 2005-04-14 Jackson Harper <[email protected]>
  9141. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9142. check plus minus or checkbox clicks unless those features are enabled.
  9143. 2005-04-14 Jackson Harper <[email protected]>
  9144. * TreeView.cs: Add methods for setting the top and bottom visible
  9145. nodes. TreeNode::EnsureVisible uses these methods.
  9146. * TreeNode.cs: Implement EnsureVisible
  9147. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9148. * Form.cs: Pospone menu assignation if the window has not been created yet
  9149. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9150. size and position
  9151. 2005-04-12 Jackson Harper <[email protected]>
  9152. * TreeView.cs: Set the TopNode properly when scrolling
  9153. occurs. This has the added benifit of reducing the amount of
  9154. walking that needs to be done when drawing. Also removed an old
  9155. misleading TODO.
  9156. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9157. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9158. * Timer.cs: fixes interval setting when the timer is already enabled
  9159. 2005-04-10 Alexander Olk <[email protected]>
  9160. * FolderBrowserDialog.cs: First approach
  9161. 2005-04-09 Peter Bartok <[email protected]>
  9162. * FolderBrowserDialog: Added
  9163. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9164. * LinkLabel.cs: move drawing code into the theme
  9165. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9166. * Theme.cs: define DrawLinkLabel method
  9167. 2005-04-05 Jackson Harper <[email protected]>
  9168. * BindingContext.cs: Use weak references so these bad actors don't
  9169. stay alive longer then they need to.
  9170. 2005-04-05 Jackson Harper <[email protected]>
  9171. * ListControl.cs: Basic implementation of complex databinding.
  9172. * ComboBox.cs:
  9173. * ListBox.cs: Add calls to ListControl databinding methods.
  9174. 2005-04-05 Alexander Olk <[email protected]>
  9175. * FileDialog.cs:
  9176. - Don't change PopupButtonState to Normal when the
  9177. PopupButton gets pressed several times.
  9178. - Renamed ButtonPanel to PopupButtonPanel
  9179. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9180. * ColorDialog.cs: Use cached objects instead of creating them
  9181. * LinkLabel.cs: Use cached objects instead of creating them
  9182. * Splitter.cs: Use cached objects instead of creating them
  9183. * FontDialog.cs: Use cached objects instead of creating them
  9184. * PropertyGridView.cs: Use cached objects instead of creating them
  9185. * MessageBox.cs: Use cached objects instead of creating them
  9186. * FileDialog.cs: Use cached objects instead of creating them
  9187. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9188. * TreeView.cs: Use cached objects instead of creating them
  9189. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9190. * Control.cs: use Equals to compare the font since no == op
  9191. * ScrollBar.cs: use Equals to compare the font since no == op
  9192. 2005-04-04 Alexander Olk <[email protected]>
  9193. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9194. 2005-04-01 Jackson Harper <[email protected]>
  9195. * Binding.cs: Implement IsBinding.
  9196. * BindingManagerBase.cs:
  9197. * PropertyManager.cs:
  9198. * CurrencyManager.cs: Add IsSuspended property.
  9199. 2005-04-01 Jackson Harper <[email protected]>
  9200. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9201. 2005-04-01 Jackson Harper <[email protected]>
  9202. * Binding.cs: Handle null data members when pulling data.
  9203. * PropertyManager.cs: Handle the data member being a property that
  9204. does not exist.
  9205. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9206. * DataGridTextBoxColumn.cs: fixes signature
  9207. * DataGrid.cs: calls right constructor
  9208. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9209. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9210. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9211. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9212. * DataGridTableStyle.cs: implements DataGridTableStyle
  9213. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9214. * DataGridTextBox.cs: implements DataGridTextBox
  9215. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9216. 2005-03-31 Alexander Olk <[email protected]>
  9217. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9218. 2005-03-29 Peter Bartok <[email protected]>
  9219. * Application.cs:
  9220. - Properly implemented CompanyName property
  9221. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9222. returns a path that includes CompanyName, ProductName and
  9223. Version (fixes bug #70330)
  9224. 2005-03-29 Stefan Buehler <[email protected]>
  9225. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9226. fixes bug #72588.
  9227. 2005-03-28 Alexander Olk <[email protected]>
  9228. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9229. - Added ReadOnly CheckBox
  9230. - Further refactoring: moved some code from Open-/SaveFileDialog
  9231. to FileDialog
  9232. 2005-03-28 Alexander Olk <[email protected]>
  9233. * OpenFileDialog.cs: Fixed CheckFileExists
  9234. * FileDialog.cs:
  9235. Moved FileView and DirComboBox outside FileDialog class.
  9236. They can now be used outside FileDialog
  9237. 2005-03-27 Alexander Olk <[email protected]>
  9238. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9239. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9240. 2005-03-27 Alexander Olk <[email protected]>
  9241. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9242. - Added missing CreatePrompt property in SaveDialog
  9243. - Overall SaveDialog handling should be better now
  9244. - Added non standard ShowHiddenFiles property
  9245. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9246. - Added InitialDirectory and RestoreDirectory support
  9247. 2005-03-26 Alexander Olk <[email protected]>
  9248. * FileDialog.cs: Made dirComboBox usable
  9249. 2005-03-24 Alexander Olk <[email protected]>
  9250. * FileDialog.cs: Added Filter support (case sensitiv)
  9251. 2005-03-24 Jackson Harper <[email protected]>
  9252. * TabControl.cs: Need a couple more pixels for the lines.
  9253. 2005-03-23 Jackson Harper <[email protected]>
  9254. * TabControl.cs: Give the tab page focus when it is selected.
  9255. 2005-03-23 Jackson Harper <[email protected]>
  9256. * TabControl.cs: Account for the drawing of tabs borders when
  9257. invalidating. If the slider was clicked dont do click detection on
  9258. the tabs.
  9259. 2005-03-23 Jackson Harper <[email protected]>
  9260. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9261. 2005-03-22 Jonathan Chambers <[email protected]>
  9262. * CategoryGridEntry.cs: Added
  9263. * GridItem.cs: Added helper properties
  9264. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9265. * GridEntry.cs: Updated code for collection
  9266. * PropertyGrid.cs: Cleaned up some formatting
  9267. * PropertyGridView.cs: Added drop down functionality for enums.
  9268. * GridItemCollection.cs: Added enumerator logic
  9269. * PropertyGridEntry.cs: Added
  9270. 2005-03-19 Alexander Olk <[email protected]>
  9271. * FileDialog.cs:
  9272. - Removed unnecessary commented code
  9273. - Fixed handling for entering the filename manually in the combobox
  9274. 2005-03-19 Alexander Olk <[email protected]>
  9275. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9276. 2005-03-18 Peter Bartok <[email protected]>
  9277. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9278. them being touching the border
  9279. 2005-03-18 Peter Bartok <[email protected]>
  9280. * TextControl.cs: Quick hack to center text better
  9281. 2005-03-18 Peter Bartok <[email protected]>
  9282. * ControlPaint.cs:
  9283. - Don't throw NotImplemented exceptions, just print a notice once
  9284. instead (requested by Miguel). This makes running existing SWF
  9285. apps a bit easier
  9286. * Control.cs:
  9287. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9288. - Added context menu trigger on right click
  9289. * Panel.cs: Trigger invalidate on resize
  9290. * StatusBar.cs:
  9291. - Removed old double-buffer drawing
  9292. - Added ResizeRedraw style to force proper update of statusbar
  9293. * ListView.cs:
  9294. - Removed debug output
  9295. * ThemeWin32Classic.cs:
  9296. - Fixed drawing of status bar, now draws Text property if there
  9297. are no defined panels
  9298. 2005-03-18 Jackson Harper <[email protected]>
  9299. * ImageList.cs: When the image stream is set pull all the images
  9300. from it.
  9301. * ImageListStreamer.cs: Implement reading image list streams.
  9302. 2005-03-18 Peter Bartok <[email protected]>
  9303. * ThemeWin32Classic.cs (DrawPictureBox):
  9304. - Fixed calculations for centered drawing
  9305. - Fixed drawing for normal mode, not scaling the image on normal
  9306. 2005-03-18 Peter Bartok <[email protected]>
  9307. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9308. textbox
  9309. * FileDialog.cs:
  9310. - Made Open/Save button the accept button for FileDialog
  9311. - Tied the cancel button to the IButtonControl cancel button
  9312. - Save/Open now properly builds the pathname
  9313. - Now handles user-entered text
  9314. - Preventing crash on right-click if no item is selected
  9315. - Fixed Text property, now uses contents of textbox
  9316. - Fixed SelectedText property, now just returns the text part that
  9317. is selected in the text box
  9318. 2005-03-18 Jackson Harper <[email protected]>
  9319. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  9320. rect, make sure to de-adjust the interior rect after drawing the
  9321. tab text.
  9322. 2005-03-18 Peter Bartok <[email protected]>
  9323. * MenuAPI.cs: Remove menu *before* executing selected action to
  9324. prevent the menu from 'hanging around'
  9325. 2005-03-17 Geoff Norton <[email protected]>
  9326. * XplatUIOSX.cs: Implemented WorkingArea property
  9327. 2005-03-17 Peter Bartok <[email protected]>
  9328. * XplatUIX11.cs: Fixed menu coord calculations
  9329. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  9330. for calculating offsets
  9331. 2005-03-17 Peter Bartok <[email protected]>
  9332. * Hwnd.cs: Do not consider menu presence for default client
  9333. rectangle location/size
  9334. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9335. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  9336. translation functions
  9337. * FileDialog.cs: Fixed (what I presume is a) typo
  9338. 2005-03-17 Jonathan Gilbert <[email protected]>
  9339. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  9340. X access (avoids X-Async errors)
  9341. 2005-03-16 Jackson Harper <[email protected]>
  9342. * TabControl.cs: Raise the SelectedIndexChanged event.
  9343. 2005-03-16 Alexander Olk <[email protected]>
  9344. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9345. - Removed vertical ToolBar and replaced it with a custom panel
  9346. (desktop and home button already work)
  9347. - Added Help button (some controls get resized or relocated then)
  9348. - Draw correct text depending on Open or Save.
  9349. - Fixed some typos...
  9350. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  9351. * ScrollBar.cs:
  9352. - Only change Maximum and Minimum when need it (bug fix)
  9353. 2005-03-15 Peter Bartok <[email protected]>
  9354. * Form.cs: Use Handle for icon, to trigger creation if
  9355. the window does not yet exist
  9356. * Control.cs:
  9357. - CanSelect: Slight performance improvement
  9358. - Focus(): Preventing possible recursion
  9359. - Invalidate(): Removed ControlStyle based clear flag setting
  9360. - WM_PAINT: fixed logic for calling OnPaintBackground
  9361. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  9362. EraseWindowBackground if the control doesn't paint background
  9363. * XplatUIWin32.cs:
  9364. - Moved EraseWindowBackground() method to internal methods
  9365. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  9366. is sent via SendMessage on BeginPaint call on Win32
  9367. * XplatUIX11.cs:
  9368. - Added EraseWindowBackground() method
  9369. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  9370. PaintEventStart, which more closely matches Win32 behaviour
  9371. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  9372. - Fixed SetFocus() to properly deal with client and whole windows
  9373. * Hwnd.cs: Added ErasePending property
  9374. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  9375. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  9376. 2005-03-12 Geoff Norton <[email protected]>
  9377. * XplatUIOSX.cs:
  9378. - Fix hard loop when timers exist.
  9379. - Fix bugs with middle and right click for 3 button mice.
  9380. 2005-03-11 Peter Bartok <[email protected]>
  9381. * XplatUIX11.cs:
  9382. - get_WorkingArea: Need to call X directly, GetWindowPos only
  9383. returns cached data now
  9384. - Added sanity check to GetWindowPos hwnd usage
  9385. 2005-03-11 Jackson Harper <[email protected]>
  9386. * BindingManagerBase.cs: This method isn't used anymore as
  9387. PullData now updates the data in the control.
  9388. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  9389. * Form.cs: fixes menu drawing on X11
  9390. * MenuAPI.cs: fixes menu drawing on X11
  9391. 2005-03-11 Peter Bartok <[email protected]>
  9392. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  9393. from Jonathan Gilbert; should fix bug #73606
  9394. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  9395. in Screen coordinates. Thanks, Jordi.
  9396. * Form.cs: Added missing attribute
  9397. 2005-03-11 Peter Bartok <[email protected]>
  9398. * Form.cs:
  9399. - Rudimentary Mdi support
  9400. - Removed outdated FormParent code
  9401. - Implemented lots of missing properties and methods, still missing
  9402. transparency support
  9403. - Added missing attributes
  9404. - Implemented support for MaximumBounds
  9405. - Added firing of various events
  9406. * XplatUI.cs: Added SetIcon() method
  9407. * XplatUIDriver.cs: Added SetIcon() abstract
  9408. * XplatUIOSX.cs: Stubbed out SetIcon() method
  9409. * XplatUIX11.cs:
  9410. - Implemented SetIcon() support
  9411. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  9412. - Switched to unix line endings
  9413. * XplatUIWin32.cs:
  9414. - Made POINT internal so for can access it as part of MINMAX
  9415. - Implemented SetIcon() support
  9416. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  9417. native Mdi support again, might have to go managed)
  9418. * Control.cs: Now fires the StyleChanged event
  9419. * MdiClient.cs: Added; still mostly empty
  9420. 2005-03-10 Peter Bartok <[email protected]>
  9421. * SaveFileDialog.cs: Added emtpy file
  9422. 2005-03-08 Peter Bartok <[email protected]>
  9423. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  9424. in turn triggers OnCreateContro) when creating a handle for the
  9425. first time.
  9426. * TextControl.cs: Fixed endless loop in certain cases when
  9427. replacing the current selection
  9428. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  9429. * ScrollBar.cs:
  9430. - Honors NewValue changes in Scroll events allowing apps to change it
  9431. - Adds First and Last Scroll events
  9432. - Fixes Thumb events
  9433. 2005-03-07 Peter Bartok <[email protected]>
  9434. * Hwnd.cs: Added DefaultClientRectangle property
  9435. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  9436. more detailed debug information
  9437. * XplatUIX11.cs:
  9438. - Fixed size-change feedback loop, where we would pull an old size
  9439. off the queue and mistakenly change our window's size to an
  9440. earlier value
  9441. - Now compressing ConfigureNotify events, to reduce looping and
  9442. redraw issues
  9443. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  9444. is called
  9445. 2005-03-07 Jackson Harper <[email protected]>
  9446. * Binding.cs: Push data pushes from data -> property. Check if the
  9447. property is readonly when attempting to set it.
  9448. 2005-03-07 Jackson Harper <[email protected]>
  9449. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  9450. instead of IsSubclassOf. Pulling data now sets the value on the
  9451. control.
  9452. * PropertyManager.cs:
  9453. * CurrencyManager.cs: Just need to pull data when updating now,
  9454. because PullData will set the value on the control.
  9455. 2005-03-04 Jackson Harper <[email protected]>
  9456. * Binding.cs: Implement data type parsing and converting on pulled
  9457. data. TODO: Are there more ways the data can be converted?
  9458. 2005-03-04 Jackson Harper <[email protected]>
  9459. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  9460. controls Validating method so we can repull the data when the
  9461. control loses focus.
  9462. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  9463. * ColumnHeader.cs:
  9464. - Fixes null string format
  9465. * ListView.cs:
  9466. - Adds enum type checks
  9467. - Fixes redrawing and recalc need after changing some properties
  9468. - Fixes on focus_item set after the event
  9469. - Fixes adding columns after the control has been created
  9470. * ThemeWin32Classic.cs:
  9471. - Fixes CheckBox focus rectangle
  9472. - Fixes ColumnHeader drawing
  9473. 2005-03-03 Jackson Harper <[email protected]>
  9474. * Binding.cs: Bind to <Property>Changed events so we can detect
  9475. when properties are changed and update the data.
  9476. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  9477. * ImageList.cs:
  9478. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  9479. - Fixes ImageList constructor with ImageList container
  9480. - Fixes image scaling (wrong parameters at DrawImage)
  9481. 2005-02-02 Jackson Harper <[email protected]>
  9482. * Binding.cs: Make property searches case-insensitive. Eliminate
  9483. some duplicated code.
  9484. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  9485. * ComboBox.cs:
  9486. - Handle focus event
  9487. - Fix scrollbar events
  9488. - Discard highlighted item if remove it
  9489. - Fixes SelectedItem with strings
  9490. 2005-03-01 Peter Bartok <[email protected]>
  9491. * Control.cs:
  9492. - Fixed Visible property, now follows (once again) parent chain
  9493. to return false if any control in the chain is visible=false
  9494. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  9495. - Fixed several places where is_visible instead of Visible was used
  9496. - Implemented FIXME related to focus selection when setting focused
  9497. control to be invisible
  9498. * XplatUIWin32.cs: Now using proper method to find out if window is
  9499. visible. Thanks to Jordi for pointing it out
  9500. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  9501. * ComboBox.cs: show/hide scrollbar instead of creating it
  9502. 2005-02-27 Jackson Harper <[email protected]>
  9503. * CurrencyManager.cs: Add PositionChanged stuff.
  9504. 2005-02-27 Peter Bartok <[email protected]>
  9505. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  9506. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  9507. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  9508. * XplatUIX11.cs:
  9509. - Implemented GetMenuDC()
  9510. - Implemented GetMenuOrigin()
  9511. - Implemented ReleaseMenuDC()
  9512. - Implemented generation of WM_NCPAINT message
  9513. - Implemented generation and handling of WM_NCCALCSIZE message
  9514. * Form.cs: Added debug helper message for Jordi's menu work
  9515. * Hwnd.cs:
  9516. - Modified ClientRect property; added setter, fixed getter to handle
  9517. setting of ClientRect
  9518. - Added MenuOrigin property
  9519. 2005-02-26 Peter Bartok <[email protected]>
  9520. * XplatUIX11.cs:
  9521. - Destroys the caret if a window that's being destroyed contains it
  9522. - Ignores expose events coming from the X11 queue for windows that
  9523. already are destroyed
  9524. - Now uses the proper variable for handling DestroyNotify, before we
  9525. marked the wrong window as destroyed
  9526. - Improved/added some debug output
  9527. 2005-02-26 Peter Bartok <[email protected]>
  9528. * X11Keyboard.cs: Fixes to work on 64bit systems
  9529. 2005-02-26 Peter Bartok <[email protected]>
  9530. * Control.cs:
  9531. - Now calling OnHandleDestroyed from DestroyHandle()
  9532. instead of Dispose()
  9533. - Removed bogus call to controls.Remove() from DestroyHandle()
  9534. 2005-02-26 Peter Bartok <[email protected]>
  9535. * Control.cs: Properly destroy child windows when our handle is
  9536. destroyed
  9537. 2005-02-25 Peter Bartok <[email protected]>
  9538. * XplatUI.cs:
  9539. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  9540. - Alphabetized Static Methods and Subclasses
  9541. * XplatUIX11.cs:
  9542. - Added XException class to allow custom handling of X11 exceptions
  9543. - Created custom X11 error handler, tied into XException class
  9544. - Added support for MONO_XEXCEPTIONS env var to allow the user
  9545. to either throw an exception on X errors or continue running
  9546. after displaying the error
  9547. - Added handling of DestroyNotify message
  9548. - Added handler for CreateNotify message (still disabled)
  9549. - Improved (tried to at least) Where method to provide file and lineno
  9550. * X11Structs.cs:
  9551. - Added XErrorHandler delegate
  9552. - Added XRequest enumeration (to suppor translation of errors)
  9553. 2005-02-25 Jackson Harper <[email protected]>
  9554. * PropertyManager.cs: Implement editing features
  9555. * CurrencyManager.cs:
  9556. * Binding.cs: First attempt at UpdateIsBinding
  9557. * BindingManagerBase.cs: Call UpdateIsBinding before
  9558. pushing/pulling data.
  9559. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  9560. * MenuAPI.cs: Respect disabled items
  9561. * ThemeWin32Classic.cs
  9562. - Caches ImageAttributes creation for DrawImageDisabled
  9563. - Fixes vertical menu line drawing
  9564. - Draws disabled arrows in disable menu items
  9565. 2005-02-24 Peter Bartok <[email protected]>
  9566. * Hwnd.cs:
  9567. - Added UserData property to allow associating arbitrary objects
  9568. with the handle
  9569. - Fixed leak; now removing Hwnd references from static windows array
  9570. * XplatUIWin32.cs:
  9571. - Fixed Graphics leak in PaintEventEnd
  9572. - Removed usage of HandleData, switched over to Hwnd class
  9573. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  9574. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9575. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  9576. * ScrollBar.cs: Fixes bug
  9577. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  9578. keyboard navigation enhancements
  9579. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9580. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  9581. * GroupBox.cs: Add control styles
  9582. * Label.cs: Add control styles
  9583. * UpDownBase.cs: Add control styles
  9584. * ListBox.cs: Add control styles
  9585. * XplatUIWin32.cs: Fixes wrong parameter order
  9586. 2005-02-23 Chris Bacon <[email protected]>
  9587. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  9588. 2005-02-23 Jackson Harper <[email protected]>
  9589. * PropertyManager.cs: Implement property binding. This doesn't
  9590. seem to work yet though as (I think) there are some bugs in
  9591. System.ComponentModel.PropertyDescriptor.
  9592. * BindingContext.cs: Use new PropertyManager constructor.
  9593. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  9594. * ProgressBar.cs: use clip region in ProgressBar
  9595. * ThemeWin32Classic.cs: use clip region in ProgressBar
  9596. 2004-02-22 Jackson Harper <[email protected]>
  9597. * BindingsCollection.cs: Remove some debug code.
  9598. 2005-02-22 Jackson Harper <[email protected]>
  9599. * BindingContext.cs:
  9600. * ControlBindingsCollection.cs:
  9601. * CurrencyManager.cs:
  9602. * Binding.cs:
  9603. * BindingManagerBase.cs: Initial implementation
  9604. * BindingsCollection.cs: Add an internal contains method that the
  9605. BindingManagerBase uses to ensure bindings aren't added twice to
  9606. the collection.
  9607. * PropertyManager.cs: Stubbed out.
  9608. * Control.cs:
  9609. * ContainerControl.cs: Hook up databinding
  9610. 2005-02-22 Geoff Norton <[email protected]>
  9611. * XplatUIOSX.cs:
  9612. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  9613. Fixed Invalidate/Update chain.
  9614. Fixed tons of other minor bugs (this is almost a complete rewrite).
  9615. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  9616. * ComboBox.cs: do subcontrol creation when the control is created
  9617. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9618. * Label.cs: fixes image drawing (image and imagelist)
  9619. * ThemeWin32Classic.cs: cache brushes
  9620. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9621. * Form.cs: Move menu drawing code to Theme class
  9622. * ComboBox.cs: Move ComboBox drawing code to Theme class
  9623. * MenuItem.cs: Move menu drawing code to Theme class
  9624. * MenuAPI.cs: Move menu drawing code to Theme class
  9625. * ThemeWin32Classic.cs: New methods
  9626. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  9627. * ListBox.cs: Move Listbox drawing code to Theme class
  9628. * Theme.cs: New methods
  9629. 2005-02-20 Peter Bartok <[email protected]>
  9630. * Control.cs:
  9631. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  9632. only process mnemonics on those)
  9633. - Fixed event sequence for key handling; first calling
  9634. ProcessKeyEventArgs now
  9635. * TextBoxBase.cs:
  9636. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  9637. for processing non-character keys
  9638. - Fixed WM_CHAR to generate proper event sequence before processing
  9639. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  9640. generation
  9641. 2005-02-19 Peter Bartok <[email protected]>
  9642. * UserControl.cs: Added TextChanged event; added attributes
  9643. * SizeGrip.cs: Implemented resizing and optional display of grip
  9644. * Form.cs: Fixed attribute
  9645. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9646. Changed meaning of ScrollWindow bool argument; instead of the
  9647. clear attribute (which will be true usually anyway), it gives the
  9648. option of moving child controls as well.
  9649. * XplatUIX11.cs:
  9650. - Changed to match new ScrollWindow argument
  9651. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  9652. now handles the implicit parent window a WM puts around us
  9653. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  9654. to work)
  9655. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  9656. * TreeView.cs: Adjusted to new ScrollWindow arguments
  9657. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9658. * Form.cs: Menu integration with non-client area
  9659. * MenuItem.cs: Menu integration with non-client area
  9660. * MenuAPI.cs: Menu integration with non-client area
  9661. 2005-02-18 Peter Bartok <[email protected]>
  9662. * MethodInvoker.cs: Added
  9663. * MdiLayout.cs: Added
  9664. * SendKeys.cs: Started implementation
  9665. * ErrorIconAlignment.cs: Added
  9666. 2005-02-18 Peter Bartok <[email protected]>
  9667. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  9668. * Form.cs: Added handling for Menu-related Non-client messages
  9669. 2005-02-17 Peter Bartok <[email protected]>
  9670. * UpDownBase.cs: Fixed typo, compilation errors
  9671. * DomainUpDown.cs: Fixed attribute value
  9672. 2005-02-16 Miguel de Icaza <[email protected]>
  9673. * UpDownBase.cs: Attach entry events.
  9674. Propagate events.
  9675. Add ForeColor property, Focused, InterceptArrowKeys (interception
  9676. does not work yet).
  9677. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  9678. * Form.cs:
  9679. - Redraw non client are on Setmenu
  9680. - Calc proper menu starting point
  9681. 2005-02-17 Peter Bartok <[email protected]>
  9682. * Application.cs: Fixed message_filter check
  9683. 2005-02-17 Peter Bartok <[email protected]>
  9684. * Application.cs: Now calls registered message filters
  9685. * DockStyle.cs: Fixed attribute
  9686. * Form.cs: Fixed attribute
  9687. * Menu.cs: Fixed attribute
  9688. * ToolTip.cs: Fixed attribute
  9689. * TreeNode.cs: Added missing attributes and arranged in regions
  9690. * PropertyGrid.cs: Fixed signatures
  9691. * TreeNodeCollection.cs: Added attributes
  9692. * Splitter.cs: Added missing attributes; arranged into regions
  9693. * TabPage.cs: Added missing attributes; arranged into regions
  9694. * TextBoxBase.cs: Added missing attributes
  9695. * TextBox.cs: Added missing attributes
  9696. * ArrangeDirection.cs: Added missing attributes
  9697. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  9698. * ToolBarButton.cs: Fixed attributes
  9699. * AnchorStyles.cs: Fixed attribute
  9700. * TrackBar.cs: Fixed attributes
  9701. * TabControl.cs: Added missing attributes and arranged into regions
  9702. * ToolBar.cs: Fixed attribute
  9703. * StatusBar.cs: Fixed signature, organized into regions and added
  9704. attributes
  9705. * StatusBarPanel.cs: Fixed attributes
  9706. * ContentsResizedEventArgs.cs: Implemented
  9707. * ContentsResizedEventHandler.cs: Implemented
  9708. * DateBoldEventArgs.cs: Implemented
  9709. * DateBoldEventHandler.cs: Implemented
  9710. * UpDownEventArgs.cs: Implemented
  9711. * UpDownEventHandler.cs: Implemented
  9712. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  9713. * Form.cs: first Menu NC refactoring
  9714. * MenuAPI.cs: first Menu NC refactoring
  9715. 2005-02-16 Peter Bartok <[email protected]>
  9716. * ImeMode.cs: Added missing attributes
  9717. * Menu.cs: Fixed attribute
  9718. * GroupBox.cs: Fixed attribute
  9719. * Label.cs: Fixed attribute
  9720. * ColorDialog.cs (RunDialog): Removed TODO attribute
  9721. * ComboBox.cs: Fixed attributes
  9722. * ListControl.cs: Added missing attributes
  9723. * PropertyGrid.cs: Fixed attributes
  9724. * Control.cs: Fixed attributes
  9725. * ListViewItem.cs: Added TypeConverter attribute
  9726. * NotifyIcon.cs: Fixed attributes
  9727. * ListView.cs: Fixed attributes
  9728. * ButtonBase.cs: Fixed attribute
  9729. * ImageList.cs: Added missing attributes
  9730. * ContainerControl.cs: Fixed signature
  9731. * CheckedListBox.cs: Fixed attribute; added missing attributes
  9732. * Panel.cs: Fixed attributes
  9733. * PropertyTabChangedEventArgs.cs: Added missing attribute
  9734. * PropertyValueChangedEventArgs.cs: Added missing attribute
  9735. * Binding.cs: Fixed attribute
  9736. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  9737. * ListBox.cs: Fixed attribute; added missing attributes;
  9738. * ScrollableControl.cs: Added missing attributes
  9739. * PictureBox.cs: Added missing attributes; implemented missing property
  9740. * DateTimePicker.cs: Added missing attributes
  9741. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  9742. * MonthCalendar.cs: Fixed attributes
  9743. * StatusBarPanel.cs: Added missing attributes
  9744. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  9745. 2005-02-16 Peter Bartok <[email protected]>
  9746. * TextBoxBase.cs: The previous method to enforce height yet remember
  9747. the requested high was less than ideal, this is an attempt to do
  9748. it better.
  9749. * Control.cs: Added comment about possible problem
  9750. * Copyright: Updated format
  9751. * GridItemType.cs: Fixed swapped values
  9752. 2005-02-15 Jackson Harper <[email protected]>
  9753. * BaseCollection.cs: Use property so we never access an
  9754. uninitialized list. Also initialize the list in the property.
  9755. 2005-02-15 Peter Bartok <[email protected]>
  9756. * GroupBox.cs (ProcessMnemonic): Implemented
  9757. * Label.cs (ProcessMnemonic): Implemented
  9758. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  9759. hotkeys
  9760. 2005-02-15 Peter Bartok <[email protected]>
  9761. * RadioButton.cs (ProcessMnemonic): Implemented
  9762. * CheckBox.cs (ProcessMnemonic): Implemented
  9763. * Control.cs:
  9764. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  9765. handling
  9766. - Added internal method to allow calling ProcessMnemonic from other
  9767. controls
  9768. * ContainerControl.cs:
  9769. - Started support for handling validation chain handling
  9770. - Implemented ProcessMnemonic support
  9771. - Added Select() call to Active, to make sure the active control
  9772. receives focus
  9773. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  9774. FormParent rewrite)
  9775. * ThemeWin32Classic.cs:
  9776. - DrawCheckBox(): Fixed stringformat to show hotkeys
  9777. - DrawRadioButton(): Fixed stringformat to show hotkeys
  9778. * CommonDialog.cs: Removed WndProc override, not needed
  9779. 2005-02-14 Peter Bartok <[email protected]>
  9780. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  9781. missed those in the rewrite
  9782. 2005-02-14 Miguel de Icaza <[email protected]>
  9783. * NumericUpDown.cs (Increment, ToString): Add.
  9784. (DecimalPlaces): implement.
  9785. Add attributes.
  9786. * UpDownBase.cs: Add the designer attributes.
  9787. 2005-02-13 Peter Bartok <[email protected]>
  9788. * Panel.cs: Removed border_style, now in Control
  9789. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  9790. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  9791. 2005-02-13 Peter Bartok <[email protected]>
  9792. * MouseButtons.cs: Added missing attributes
  9793. * XplatUIStructs.cs: Added enumeration for title styles
  9794. * LeftRightAlignment.cs: Added missing attributes
  9795. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  9796. it compatible with Graphics.FromHwnd()
  9797. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  9798. * Keys.cs: Added missing attributes
  9799. * SelectionRange.cs: Added missing attributes
  9800. * SelectionRangeConverter.cs: Added
  9801. * XplatUI.cs:
  9802. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  9803. ReleaseMenuDC methods
  9804. - Renamed ReleaseWindow to UngrabWindow
  9805. - Added proper startup notice to allow version identification
  9806. * Form.cs:
  9807. - Added missing attributes
  9808. - Removed FormParent concept
  9809. * Label.cs: Removed border_style field, now in Control
  9810. * RadioButton.cs: Now properly selects RadioButton when focus is
  9811. received
  9812. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  9813. * Control.cs:
  9814. - Added missing attributes
  9815. - Added borderstyle handling
  9816. - Removed FormParent concept support
  9817. - Fixed calls to XplatUI to match changed APIs
  9818. - Fixed bug that would case us to use disposed Graphics objects
  9819. - Removed unneeded internal methods
  9820. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  9821. - SelectNextControl(): Fixed to properly check common parents
  9822. * TextBoxBase.cs: Removed border_style field (now in Control)
  9823. * MessageBox.cs:
  9824. - Patch by Robert Thompson ([email protected]): Added icon support,
  9825. fixed calculations for form size
  9826. - Added support for localized strings and icons
  9827. - Improved form size calculations, added border
  9828. * ListView.cs: Removed border_style field (now in Control)
  9829. * X11Structs.cs: Moved several structs from X11 driver here
  9830. * X11Keyboard.cs: Changed debug message
  9831. * Application.cs: Removed FormParent concept support
  9832. * CommonDialog.cs:
  9833. - Resetting end_modal flag
  9834. - Removed FormParent concept support
  9835. * NativeWindow.cs: Removed FormParent concept support
  9836. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  9837. Client area and Non-Client whole window to allow support for WM_NC
  9838. messages
  9839. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  9840. prevent using it until it supports Hwnd as per Geoff Norton's request
  9841. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  9842. * PictureBox.cs: Removed border_style field, now in Control
  9843. * XplatUIWin32.cs: Added new driver methods
  9844. 2005-02-12 Peter Bartok <[email protected]>
  9845. * OpacityConverter.cs: Implemented
  9846. * Hwnd.cs: Internal class to support drivers that need to emulate
  9847. client area/non-client area window behaviour
  9848. 2005-02-11 Peter Bartok <[email protected]>
  9849. * KeysConverter.cs: Implemented
  9850. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  9851. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  9852. * LinkLabel: Added missing attributes
  9853. * MainMenu.cs: fixes ToString
  9854. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  9855. * ListBox.cs: fixes event position
  9856. * TrackBar.cs: adds missing attributes and events
  9857. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  9858. * MenuItem.cs: Use SystemInformation and bug fixes
  9859. * MenuAPI.cs: Use SystemInformation and bug fixes
  9860. 2005-02-09 Jackson Harper <[email protected]>
  9861. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  9862. their keystate otherwise things like VK_MENU get stuck "on".
  9863. 2005-02-09 Kazuki Oikawa <[email protected]>
  9864. * ListBox.cs: Fixes AddRange bug
  9865. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  9866. * ProgressBar.cs
  9867. - Add missing attributes
  9868. - Add missing method
  9869. * CheckedListBox.cs: Added missing attributes
  9870. - Add missing attributes
  9871. - Remove extra method
  9872. * ComboBox.cs: Added missing attributes
  9873. * VScrollBar.cs: Added missing attributes
  9874. * ScrollBar.cs: Added missing attributes
  9875. * ListBox.cs: Fixes signature, add missing consts
  9876. * LinkArea.cs: Added missing attributes
  9877. 2005-02-08 Peter Bartok <[email protected]>
  9878. * Menu.cs: Added missing attributes
  9879. * MainMenu.cs: Added missing attributes
  9880. * GroupBox.cs: Added missing attributes
  9881. * Label.cs: Added missing attributes
  9882. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  9883. * ColorDialog.cs:
  9884. - Added Instance and Options properties
  9885. - Added missing attributes
  9886. * Cursor.cs: Made Serializable
  9887. * NotifyIcon: Added missing attributes
  9888. * MenuItem.cs: Added missing attributes
  9889. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  9890. * Panel.cs: Added Missing attributes
  9891. * MonthCalendar.cs: Fixed CreateParams
  9892. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9893. * LinkLabel.cs:
  9894. - Fixes signature
  9895. - Fixes issues with links
  9896. - Adds the class attributes
  9897. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9898. * ComboBox.cs:
  9899. - Fixes button when no items available in dropdown
  9900. - Fixes repainting problems
  9901. - Adds the class attributes
  9902. 2005-02-07 Geoff Norton <[email protected]>
  9903. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  9904. the current theme. Cache these on startup.
  9905. 2005-02-07 Jackson Harper <[email protected]>
  9906. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  9907. the scrollbar buttons when they are depressed.
  9908. 2005-02-07 Geoff Norton <[email protected]>
  9909. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  9910. Get the display size from the main displayid. We currently dont
  9911. support multiple display configurations.
  9912. 2005-02-07 Geoff Norton <[email protected]>
  9913. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  9914. 2005-02-07 Miguel de Icaza <[email protected]>
  9915. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  9916. 2005-02-05 Jonathan Chambers <[email protected]>
  9917. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  9918. 2005-02-04 Jackson Harper <[email protected]>
  9919. * ThemeWin32Classic.cs: Respect the clipping rect when
  9920. drawing. Only fill the intersection of clips and rects so there
  9921. isn't a lot of large fills.
  9922. * ScrollBar.cs: Pass the correct clipping rect to the theme
  9923. engine. Remove some debug code.
  9924. 2005-02-05 John BouAntoun <[email protected]>
  9925. * DateTimePicker.cs:
  9926. - Fixed crash on DateTime.Parse, use Constructor instead
  9927. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  9928. * MenuItem.cs:
  9929. * MenuAPI.cs:
  9930. - Owner draw support (MeasureItem and DrawItem)
  9931. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  9932. * Menu.cs:
  9933. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  9934. - Fixes MenuItems.Add range
  9935. * MenuItem.cs:
  9936. - MergeMenu and Clone and CloneMenu functions
  9937. 2005-02-03 Jackson Harper <[email protected]>
  9938. * ScrollBar.cs: Make abstract
  9939. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  9940. is abstract.
  9941. 2005-02-03 Jackson Harper <[email protected]>
  9942. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  9943. all the unneeded refreshes and uses invalidates with properly
  9944. computed rects.
  9945. 2005-02-03 Peter Bartok <[email protected]>
  9946. * ComponentModel.cs: Added
  9947. * IDataGridEditingService.cs: Added
  9948. * Timer.cs: Added missing attributes
  9949. * ToolTip.cs: Added missing attributes
  9950. 2005-02-03 Jonathan Chambers <[email protected]>
  9951. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  9952. 2005-02-03 Peter Bartok <[email protected]>
  9953. * ListBox.cs: Added missing attributes
  9954. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  9955. * ListBox.cs:
  9956. - Fixes font height after font change
  9957. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  9958. 2005-02-02 Peter Bartok <[email protected]>
  9959. * HandleData.cs: Introduced static methods to allow class
  9960. to be more self-contained and track it's own HandleData objects
  9961. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  9962. HandleData to use new static methods
  9963. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  9964. * Combobox.cs:
  9965. - Fixes default size and PreferredHeight
  9966. - Missing events
  9967. - ObjectCollection.Insert implementation
  9968. * ListControl.cs
  9969. - Fixes signature
  9970. * ListBox.cs:
  9971. - Several fixes
  9972. - ObjectCollection.Insert implementation
  9973. - No selection after clean
  9974. - Small fixes
  9975. 2005-01-31 John BouAntoun <[email protected]>
  9976. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  9977. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  9978. * Combobox.cs:
  9979. - Caches ItemHeight calculation for OwnerDrawVariable
  9980. - Handles dropdown properly
  9981. - Fixes several minor bugs
  9982. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  9983. * ListBox.cs:
  9984. - Fixes 71946 and 71950
  9985. - Fixes changing Multicolumn on the fly
  9986. - Fixes keyboard navigation on Multicolumn listboxes
  9987. 2005-01-31 Geoff Norton <[email protected]>
  9988. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  9989. crash reporter log.
  9990. 2005-01-31 Geoff Norton <[email protected]>
  9991. * XplatUIOSX.cs: Allow applications to actually exit.
  9992. 2005-01-31 Geoff Norton <[email protected]>
  9993. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  9994. their parent at creation time rather than lazily later. Fixes a major
  9995. regression we were experiencing.
  9996. 2005-01-31 John BouAntoun <[email protected]>
  9997. * ThemeWin32Classic.cs: more date time picker painting fixes
  9998. * DateTimePicker.cs: more monthcalendar drop down fixes
  9999. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10000. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10001. * ScrollBar.cs:
  10002. - When moving the thumb going outside the control should stop the moving
  10003. - Adds the firing of missing events
  10004. - Fixes no button show if Size is not specified
  10005. - End / Home keys for keyboard navigation
  10006. 2005-01-30 Peter Bartok <[email protected]>
  10007. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10008. sanity check to prevent theoretical loop
  10009. * XplatUIWin32.cs (SetVisible): Removed debug output
  10010. * XplatUIX11.cs (SystrayChange): Added sanity check
  10011. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10012. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10013. behaviour, valid until the X11 client window rewrite is done
  10014. * TextBox.cs (ctor): Setting proper default foreground and background
  10015. colors
  10016. 2005-01-30 John BouAntoun <[email protected]>
  10017. * Theme: Added DrawDateTimePicker to interface
  10018. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10019. * DateTimePicker.cs: Created (still needs keys and painting code)
  10020. * DateTimePickerFormat.cs: added
  10021. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10022. 2005-01-29 Peter Bartok <[email protected]>
  10023. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10024. this should also the calculations for ligher/darker
  10025. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10026. 2005-01-29 Peter Bartok <[email protected]>
  10027. * ArrangeDirection.cs: Added
  10028. * ArrangeStartingPositon.cs: Added
  10029. * SystemInformation.cs: Implemented
  10030. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10031. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10032. used by SystemInformation class
  10033. * X11Strucs.cs: Added XSizeHints structure
  10034. * MenuAPI.cs:
  10035. - Fixed CreateParams to make sure the menu window is always visible
  10036. - TrackPopupMenu: Added check to make sure we don't draw the
  10037. menu offscreen
  10038. 2005-01-29 Peter Bartok <[email protected]>
  10039. * HandleData.cs: Added method for altering invalid area
  10040. * TextBoxBase.cs: Implemented TextLength
  10041. 2005-01-28 Peter Bartok <[email protected]>
  10042. * XplatUIX11.cs: Improvement over last patch, not sending
  10043. the WM_PAINT directly anymore, instead we scroll any pending
  10044. exposed areas and let the system pick out the WM_PAINT later
  10045. 2005-01-28 Peter Bartok <[email protected]>
  10046. * SWF.csproj: Deleted, no longer used. Instead,
  10047. Managed.Windows.Forms/SWF.csproj should be used
  10048. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10049. directly, to avoid a potential race condition with the next
  10050. scroll
  10051. 2005-01-28 Peter Bartok <[email protected]>
  10052. * XplatUI.cs: Made class internal
  10053. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10054. * CheckedListBox.cs:
  10055. - Draw focus
  10056. - Fixed Drawing
  10057. - Missing methods and events
  10058. 2005-01-27 Peter Bartok <[email protected]>
  10059. * Application.cs (Run): Don't use form if we don't have one
  10060. 2005-01-27 Peter Bartok <[email protected]>
  10061. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10062. 2005-01-27 Peter Bartok <[email protected]>
  10063. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10064. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10065. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10066. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10067. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10068. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10069. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10070. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10071. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10072. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10073. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10074. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10075. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10076. * Combobox.cs:
  10077. - Draw focus on Simple Combobox
  10078. - Fixes drawing issues
  10079. - fixes 71834
  10080. 2005-01-27 Peter Bartok <[email protected]>
  10081. * Form.cs:
  10082. - Place window in default location, instead of hardcoded 0/0
  10083. - Send initial LocationChanged event
  10084. * Control.cs:
  10085. - UpdateBounds after creation to find out where the WM placed us
  10086. - Make sure that if the ParentForm changes location the Form
  10087. is notified
  10088. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10089. to the root, but to whatever the WM placed around us.
  10090. Translate to root coordinates before returning toplevel
  10091. coordinates
  10092. * XplatUIWin32.cs: Removed debug output
  10093. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10094. flag to GetWindowPos, to allow translation of coordinates on X11
  10095. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10096. * ListBox.cs: connect LostFocus Event
  10097. 2005-01-27 Peter Bartok <[email protected]>
  10098. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10099. XplatUIX11.cs: Extended the Systray API
  10100. * Form.cs: Removed debug output
  10101. * Application.cs: Fixed focus assignment, always need to call
  10102. XplatUI.Activate() since Form.Activate() has rules that may
  10103. prevent activation
  10104. * NotifyIcon.cs: Should be complete now
  10105. * ToolTip.cs: Worked around possible timer bug
  10106. 2005-01-27 Jackson Harper <[email protected]>
  10107. * TabControl.cs:
  10108. - Only invalidate the effected tabs when the
  10109. selected index changes. This reduces drawing and gets rid of some
  10110. flicker.
  10111. - Only refresh if the tabs need to be shifted, otherwise only
  10112. invalidate the slider button.
  10113. - On windows the tabs are not filled to right if the slider is
  10114. visible.
  10115. 2005-01-27 Jackson Harper <[email protected]>
  10116. * TabControl.cs: Only refresh on mouseup if we are showing the
  10117. slider. Also only invalidate the button whose state has changed.
  10118. 2005-01-26 Peter Bartok <[email protected]>
  10119. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10120. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10121. and SystrayRemove() methods
  10122. * XplatUIOSX.cs: Stubbed Systray methods
  10123. * XplatUIX11.cs:
  10124. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10125. methods
  10126. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10127. * X11Structs.cs: Added enums and structs required for Size hinting
  10128. * NotifyIcon.cs: Added & implemented
  10129. 2005-01-26 Jackson Harper <[email protected]>
  10130. * TabControl.cs: Space vertically layed out tabs properly.
  10131. 2005-01-26 Peter Bartok <[email protected]>
  10132. * Form.cs (CreateClientParams): Always set the location to 0,0
  10133. since we're a child window.
  10134. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10135. of a toplevel window, apparently X11 doesn't like to move windows
  10136. while they're not mapped.
  10137. 2005-01-26 Jackson Harper <[email protected]>
  10138. * TabControl.cs: Implement FillToRight size mode with vertically
  10139. rendered tabs.
  10140. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10141. * ControlPaint.cs, ThemeWin32Classic.cs
  10142. - Fixes DrawFocusRectangle
  10143. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10144. * MenuAPI.cs:
  10145. - MenuBar tracking only starts when item is first clicked
  10146. - Fixes menu hidding for multiple subitems
  10147. - Unselect item in MenuBar when item Executed
  10148. - Fixes bug 71495
  10149. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10150. * ListControl.cs:
  10151. - IsInputKey for ListBox
  10152. * ListBox.cs:
  10153. - Focus item
  10154. - Shift and Control item selection
  10155. - Implement SelectionMode.MultiExtended
  10156. - Fixes RightToLeft
  10157. * ComboBox.cs:
  10158. - IsInputKey implemented
  10159. - Do not generate OnTextChangedEdit on internal txt changes
  10160. 2005-01-23 Peter Bartok <[email protected]>
  10161. * AccessibleObject.cs: Partially implemented Select()
  10162. * MonthCalendar.cs: Added missing attributes and events
  10163. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10164. form can properly override CreateParams.
  10165. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10166. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10167. Control performs Invalidate & Update
  10168. * NativeWindow (CreateHandle): Added special handling for Form
  10169. and Form.FormParent classes to allow overriding of From.CreateParams
  10170. * Control.cs:
  10171. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10172. name 'owner'
  10173. - ControlNativeWindow: Added Owner property
  10174. - Removed usage of Refresh() on property changes, changed into
  10175. Invalidate(), we need to wait until the queue is processed for
  10176. updates, direct calls might cause problems if not all vars for
  10177. Paint are initialized
  10178. - Added call to UpdateStyles() when creating the window, to set any
  10179. styles that CreateWindow might have ignored.
  10180. - Added support for Form CreateParent overrides to UpdateStyles()
  10181. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10182. CreateParams are now properly overridable
  10183. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10184. CreateParams are now properly overridable
  10185. 2005-01-23 Miguel de Icaza <[email protected]>
  10186. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10187. OnTextBoxChanged.
  10188. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10189. recursive invocation that I have not figured out yet.
  10190. Reset the timer when not using (it was accumulating).
  10191. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10192. user has made changes that require validation.
  10193. Reset changing to avoid loops.
  10194. 2005-01-22 Miguel de Icaza <[email protected]>
  10195. * NumericUpDown.cs: Display value at startup.
  10196. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10197. ValidateEditText.
  10198. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10199. filled in. Added some basic parsing of text.
  10200. Still missing the OnXXX method overrides, and figuring out the
  10201. events that must be emitted.
  10202. * UpDownBase.cs: Handle UserEdit on the Text property.
  10203. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10204. * ComboBox.cs:
  10205. - Fixes IntegralHeight
  10206. - ToString method
  10207. 2005-01-21 Jackson Harper <[email protected]>
  10208. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10209. is set so that the page visibility is updated and the tabs are
  10210. sized correctly.
  10211. 2005-01-21 Jackson Harper <[email protected]>
  10212. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10213. theme the clipping rect so we can do clipping while
  10214. drawing. Remove some debug code.
  10215. 2005-01-21 Jackson Harper <[email protected]>
  10216. * TabPage.cs: Add a new method so tab pages can force the tab
  10217. control to recalculate the tab page sizes.
  10218. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10219. sizes.
  10220. 2005-01-20 Jackson Harper <[email protected]>
  10221. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10222. 2005-01-20 Jackson Harper <[email protected]>
  10223. * TreeView.cs: Set the bounds for nodes properly. They were
  10224. getting screwed up when checkboxes were not enabled, but images
  10225. were.
  10226. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10227. * ListBox.cs:
  10228. - Owner draw support
  10229. - Fixes
  10230. 2005-01-20 Jackson Harper <[email protected]>
  10231. * XplatUIStructs.cs: More misc keys
  10232. * X11Keyboard.cs: Ignore some control keys.
  10233. 2005-01-20 Jackson Harper <[email protected]>
  10234. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10235. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10236. 2005-01-19 Peter Bartok <[email protected]>
  10237. * Control.cs: Un-selecting the control when it is loosing focus
  10238. 2005-01-19 Jackson Harper <[email protected]>
  10239. * TreeView.cs: Hook up to the text controls leave event so we can
  10240. end editing when the users clicks outside the text box.
  10241. 2005-01-19 Jackson Harper <[email protected]>
  10242. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10243. get set in the conversion array.
  10244. 2005-01-19 Peter Bartok <[email protected]>
  10245. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10246. focus is properly set
  10247. * Button.cs:
  10248. - Added missing attributes
  10249. - removed styles, those are already set in the base class
  10250. * ButtonBase.cs:
  10251. - Added missing attributes
  10252. - Added clip window styles
  10253. * CheckBox.cs: Added missing attributes
  10254. * CommonDialog.cs:
  10255. - FormParentWindow.CreateParams: Added required clip styles
  10256. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10257. also filters modifier keys
  10258. * MessageBox.cs:
  10259. - Added assignment of Accept and Cancel button to enable Enter
  10260. and Esc keys in MessageBox dialogs
  10261. - FormParentWindow.CreateParams: Added required clip styles
  10262. * RadioButton.cs: Added missing attributes
  10263. * TextControl.cs: No longer draws selection if control does not
  10264. have focus
  10265. * TextBoxBase.cs:
  10266. - Now draws simple rectangle around test area to make it obvious
  10267. there's a control. This is a hack until we properly support borders
  10268. - A few simple fixes to support selections better, now erases selected
  10269. text when typing, and resets selection when using movement keys
  10270. 2005-01-19 Miguel de Icaza <[email protected]>
  10271. * UpDownBase.cs: Added some new properties.
  10272. * DomainUpDown.cs: Implement a lot to get my test working.
  10273. 2005-01-19 Geoff Norton <[email protected]>
  10274. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10275. 2005-01-19 Geoff Norton <[email protected]>
  10276. * OSXStructs (WindowAttributes): Fixed csc complaints
  10277. 2005-01-19 Geoff Norton <[email protected]>
  10278. * XplayUIOSX.cs:
  10279. OSXStructs.cs: Initial refactor to move enums and consts into
  10280. OSXStructs and use them in the driver for greater readability.
  10281. 2005-01-19 Geoff Norton <[email protected]>
  10282. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10283. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10284. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10285. * ComboBox.cs: ability to change style when the ctrl is already
  10286. created, missing methods and events, bug fixes, signature fixes
  10287. 2005-01-19 Peter Bartok <[email protected]>
  10288. * Cursors.cs (ctor): Added ctor to fix signature
  10289. 2005-01-18 Peter Bartok <[email protected]>
  10290. * Button.cs: Implemented DoubleClick event
  10291. * ButtonBase.cs:
  10292. - Fixed keyboard handling to behave like MS, where the press of
  10293. Spacebar is equivalent to a mousedown, and the key release is
  10294. equivalent to mouseup. Now a spacebar push will give the same
  10295. visual feedback like a mouse click.
  10296. - Added missing attributes
  10297. - Added ImeModeChanged event
  10298. - Added support for generating DoubleClick event for derived classes
  10299. * CheckBox.cs:
  10300. - Implemented DoubleClick event
  10301. - Added missing attributes
  10302. * CommonDialog.cs: Added missing attribute
  10303. * ContextMenu.cs: Added missing attributes
  10304. * RadioButton.cs:
  10305. - AutoChecked buttons do not allow to be unselected when clicked
  10306. (otherwise we might end up with no selected buttons in a group)
  10307. - Added missing attributes
  10308. - Implemented DoubleClickEvent
  10309. * ThreadExceptionDialog.cs: Enabled TextBox code
  10310. 2005-01-18 Peter Bartok <[email protected]>
  10311. * Form.cs: Removed debug output
  10312. * Button.cs: Added support for DoubleClick method
  10313. 2005-01-18 Peter Bartok <[email protected]>
  10314. * Form.cs:
  10315. - Added method to parent window that allows triggering size
  10316. calculations when a menu is added/removed
  10317. - set_Menu: Cleaned up mess from early days of Form and Control,
  10318. now properly triggers a recalc when a menu is added/removed
  10319. - Added case to select form itself as focused form if no child
  10320. controls exist
  10321. - Added PerformLayout call when showing dialog, to ensure properly
  10322. placed controls
  10323. * Control.cs:
  10324. - Select(): Made internal so Form can access it
  10325. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  10326. status
  10327. * Application.cs (Run): Removed hack and calls PerformLayout instead
  10328. to trigger calculation when Form becomes visible
  10329. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  10330. * ComboBox.cs: fixes for ownerdraw
  10331. 2005-01-18 Peter Bartok <[email protected]>
  10332. * TextControl.cs:
  10333. - Sentinel is no longer static, each Document gets it's own, this
  10334. avoids locking or alternatively overwrite problems when more
  10335. than one text control is used simultaneously.
  10336. - Switched to use Hilight and HilightText brushes for text selection
  10337. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  10338. 2005-01-18 Peter Bartok <[email protected]>
  10339. * Control.cs:
  10340. - Hooked up the following events:
  10341. o ControlAdded
  10342. o ControlRemoved
  10343. o HandleDestroyed
  10344. o ImeModeChanged
  10345. o ParentChanged
  10346. o TabStopChanged
  10347. o Invalidated
  10348. o SystemColorsChanged
  10349. o ParentFontChanged
  10350. o Move
  10351. - Removed debug output
  10352. - Added a call to the current theme's ResetDefaults when a color change
  10353. is detected
  10354. * Form.cs: Now setting the proper ImeMode
  10355. * Theme.cs: Defined a method to force recreation of cached resources
  10356. and rereading of system defaults (ResetDefaults())
  10357. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  10358. 2005-01-17 Peter Bartok <[email protected]>
  10359. * Control.cs: Added missing attributes
  10360. 2005-01-17 Jackson Harper <[email protected]>
  10361. * TreeNode.cs: Implement editing. Add missing properties selected
  10362. and visible.
  10363. * TreeView.cs: Implement node editing. Also some fixes to use
  10364. Invalidate (invalid area) instead of Refresh when selecting.
  10365. 2005-01-17 Peter Bartok <[email protected]>
  10366. * Control.cs:
  10367. - Implemented InvokeGotFocus() method
  10368. - Implemented InvokeLostFocus() method
  10369. - Implemented InvokePaint() method
  10370. - Implemented InvokePaintBackground() method
  10371. - Implemented InvokeClick() method
  10372. - Implemented FindForm() method
  10373. - Implemented RectangleToClient() method
  10374. - Implemented ClientToRectangle() method
  10375. - Implemented ResetBackColor() method
  10376. - Implemented ResetCursor() method
  10377. - Implemented ResetFont() method
  10378. - Implemented ResteForeColor() method
  10379. - Implemented ResetImeMode() method
  10380. - Implemented ResetLeftToRight() method
  10381. - Implemented ResetText() method
  10382. - Implemented Scale() methods
  10383. - Implemented ScaleCore() method
  10384. - Implemented Update() method
  10385. - Removed unused variables
  10386. - Stubbed AccessibilityNotifyClients and
  10387. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  10388. with those yet)
  10389. - Now setting proper default for RightToLeft property
  10390. - Fixed bug in SetClientSizeCore that would cause windows to get
  10391. really big
  10392. - Now sending Click/DoubleClick events
  10393. - Now selecting controls when left mouse button is clicked on
  10394. selectable control
  10395. * AccessibleEvents.cs: Added
  10396. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  10397. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  10398. * XplatUIWin32.cs: Implemented UpdateWindow() method
  10399. * XplatUIX11.cs: Implemented UpdateWindow() method
  10400. * Form.cs: Removed stray semicolon causing CS0162 warning
  10401. * ThemeWin32Classic.cs: Fixed unused variable warnings
  10402. * ScrollableControl.cs: Now calls base method for ScaleCore
  10403. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  10404. style to avoid interference with internal click handler (which is
  10405. different than standard Control click handling)
  10406. * RadioButton.cs:
  10407. - Now unchecks all sibling radio buttons when control is
  10408. selected (Fixes #68756)
  10409. - Removed internal tabstop variable, using the one inherited from
  10410. Control
  10411. 2005-01-17 Jackson Harper <[email protected]>
  10412. * NavigateEventArgs.cs: Fix base type.
  10413. * LinkLabel.cs: Sig fix
  10414. 2005-01-17 Jackson Harper <[email protected]>
  10415. * TreeView.cs: Only invalidate the effected nodes bounds when
  10416. selecting nodes.
  10417. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10418. * XplatUIWin32.cs: fixes Win32 marshaling
  10419. * XplatUIX11.cs: fixes method signature
  10420. 2005-01-17 Peter Bartok <[email protected]>
  10421. * XplatUIX11.cs: Clean up resources when we no longer need them
  10422. 2005-01-17 Peter Bartok <[email protected]>
  10423. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  10424. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  10425. and DestroyCursor() methods.
  10426. * Cursor.cs: Partially implemented, now supports standard cursors;
  10427. still contains some debug code
  10428. * Cursors.cs: Implemented class
  10429. * Control.cs:
  10430. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  10431. appropriate cursor
  10432. - Implemented Cursor property
  10433. - Replaced break; with return; more straightforwar and possibly
  10434. faster
  10435. - Now properly setting the result for WM_HELP
  10436. * X11Structs.cs: Added CursorFontShape enum
  10437. * XplatUIStructs.cs:
  10438. - Added StdCursor enum (to support DefineStdCursor() method)
  10439. - Added HitTest enum (to support sending WM_SETCURSOR message)
  10440. * XplatUIX11.cs:
  10441. - Now sends the WM_SETCURSOR message
  10442. - Implemented new cursor methods
  10443. * XplatUIOSX.cs: Stubbed new cursor methods
  10444. * XplatUIWin32.cs:
  10445. - Implemented new cursor methods
  10446. - Added GetSystemMetrics function and associated enumeration
  10447. 2005-01-15 Peter Bartok <[email protected]>
  10448. * Control.cs:
  10449. - WndProc(): Now handles EnableNotifyMessage
  10450. - SelectNextControl(): Fixed bug where if no child or sibling
  10451. controls exist we looped endlessly
  10452. 2005-01-14 Jackson Harper <[email protected]>
  10453. * TreeView.cs: Recalculate the tab pages when a new one is added
  10454. so that the proper bounding rects are created.
  10455. 2005-01-14 Jackson Harper <[email protected]>
  10456. * TreeView.cs: Draw a gray box instead of a grip in the lower
  10457. right hand corner when there are both horizontal and vertical
  10458. scroll bars.
  10459. 2005-01-14 Jackson Harper <[email protected]>
  10460. * Control.cs: When erasing backgrounds use FromHwnd instead of
  10461. FromHdc when there is a NULL wparam. This occurs on the X driver.
  10462. * XplatUIX11.cs: Set the wparam to NULL.
  10463. 2005-01-13 Jackson Harper <[email protected]>
  10464. * PictureBox.cs: Implement missing methods (except ToString, need
  10465. to test that on windows) and events. When visibility is changed we
  10466. need to redraw the image because the buffers are killed. When size
  10467. is changed refresh if the sizemode needs it.
  10468. 2005-01-13 Peter Bartok <[email protected]>
  10469. * Control.cs (SelectNextControl): Was using wrong method to select
  10470. a control
  10471. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10472. * ComboBox.cs: fixes dropstyle
  10473. 2005-01-13 Peter Bartok <[email protected]>
  10474. * Form.cs:
  10475. - Implemented Select() override
  10476. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  10477. - Now sets keyboard focus on startup
  10478. * Control.cs (SelectNextControl): Now properly handles directed=true
  10479. * TextBoxBase.cs:
  10480. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  10481. - Added (really bad) focus rectangle (mostly for testing)
  10482. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  10483. to enforce redraw on focus changes
  10484. * ContainerControl.cs:
  10485. - Fixed detection of Shift-Tab key presses
  10486. - Fixed traversal with arrow keys
  10487. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  10488. gonna keep this or if it's complete yet
  10489. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10490. * ComboBox.cs: missing properties, fixes
  10491. 2005-01-13 Peter Bartok <[email protected]>
  10492. * Panel.cs (ctor): Setting Selectable window style to off
  10493. * Splitter.cs (ctor): Setting Selectable window style to off
  10494. * GroupBox.cs (ctor): Setting Selectable window style to off
  10495. * Label.cs (ctor): Setting Selectable window style to off
  10496. 2005-01-12 Miguel de Icaza <[email protected]>
  10497. * UpDownBase.cs (InitTimer): If the timer has been already
  10498. created, enable it.
  10499. Use a TextBox instead of a Label.
  10500. 2005-01-12 Jackson Harper <[email protected]>
  10501. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  10502. draw the connecting node lines (when ShowLines is true).
  10503. * TreeNode.cs: The nodes index can now be updated. This is used
  10504. when a node collection is sorted.
  10505. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  10506. insert or an existing unsorted node collection can be sorted.
  10507. 2005-01-12 Peter Bartok <[email protected]>
  10508. * ContainerControl.cs: Implemented ProcessDialogKeys()
  10509. 2005-01-12 Peter Bartok <[email protected]>
  10510. * Control.cs:
  10511. - Implemented SelectNextControl() method
  10512. - Several focus related bug fixes
  10513. - Fixed Docking calculations to match MS documentation and
  10514. behaviour
  10515. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  10516. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  10517. bug fixes
  10518. 2005-01-12 Peter Bartok <[email protected]>
  10519. * Control.cs:
  10520. - Fixed broken Contains() method
  10521. - Implemented GetNextControl() method. Finally. This is the pre-
  10522. requisite for focus handling.
  10523. 2005-01-12 Peter Bartok <[email protected]>
  10524. * OSXStrucs.cs: Added
  10525. 2005-01-12 Peter Bartok <[email protected]>
  10526. * XplatUIWin32.cs:
  10527. - Removed PeekMessageFlags
  10528. - Implemented SetWindowStyle() method
  10529. * XplatUIStructs.cs: Added PeekMessageFlags
  10530. * X11Structs: Added missing border_width field to XWindowChanges struct
  10531. * XplatUIX11.cs:
  10532. - PeekMessage: Now throws exception if flags which are not yet
  10533. supported are passed
  10534. - Implemented SetWindowStyle() method
  10535. - Fixed SetZOrder to handle AfterHwnd properly
  10536. * XplatUI.cs: Added SetWindowStyle() method
  10537. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  10538. * Control.cs:
  10539. - Implemented UpdateStyles() method
  10540. - Implemented UpdateZOrder() method
  10541. * XplatUIOSX.cs: Added SetWindowStyle() stub
  10542. 2005-01-12 Geoff Norton <[email protected]>
  10543. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  10544. button mouse).
  10545. 2005-01-11 Jackson Harper <[email protected]>
  10546. * TreeView.cs: Still need to draw lines to siblings even if out of
  10547. the current node is out of the clip.
  10548. 2005-01-11 Jackson Harper <[email protected]>
  10549. * TreeView.cs: When setting the hbar/vbar/grip position use
  10550. SetBounds so that perform layout is only called once. Also suspend
  10551. and resume layout so layout is only done once for all controls.
  10552. - Removed some debug fluff
  10553. * SizeGrip.cs: Call base implmentation in overriding methods.
  10554. - When visibility is changed the drawing buffers are killed so we
  10555. need to redraw.
  10556. 2005-01-11 Jackson Harper <[email protected]>
  10557. * TreeView.cs: Calculate the open node count while drawing. This
  10558. saves us an entire tree traversal for every paint operation. Use
  10559. a member var for the open node count so less vars are passed around.
  10560. 2005-01-11 John BouAntoun <[email protected]>
  10561. * MonthCalendar.cs:
  10562. - fixed selection to use mousemove, not mouse polling on timer
  10563. * ThemeWin32Classic.cs
  10564. - removed redundant unused variable "no_more_content"
  10565. 2005-01-11 Peter Bartok <[email protected]>
  10566. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  10567. are pending, so it now calls PeekMessage instead of GetMessage;
  10568. implemented a incomplete version of PeekMessage
  10569. 2005-01-11 Peter Bartok <[email protected]>
  10570. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  10571. I18n issues
  10572. * TextBoxBase.cs: Added sending of TextChanged event
  10573. 2005-01-10 Jackson Harper <[email protected]>
  10574. * TreeView.cs: Try not to draw outside the clipping rectangle on
  10575. each node element.
  10576. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  10577. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  10578. 2005-01-10 Jackson Harper <[email protected]>
  10579. * TreeView.cs:
  10580. - Implement fast scrolling. Now only the newly
  10581. exposed nodes are drawn and the old image is moved using the
  10582. XplatUI::ScrollWindow method.
  10583. - Factor in height of nodes when calculating whether or not the
  10584. node is in the clipping rect.
  10585. 2005-01-10 Jackson Harper <[email protected]>
  10586. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  10587. 2005-01-10 Peter Bartok <[email protected]>
  10588. * Application.cs: Added temporary hack to resolve all our resize
  10589. required issues on startup. This will get fixed properly at
  10590. some point in the future
  10591. 2005-01-10 Jackson Harper <[email protected]>
  10592. * SizeGrip.cs: New internal class that is used as a sizing
  10593. grip control...hence the name.
  10594. 2005-01-10 Peter Bartok <[email protected]>
  10595. * Control.cs: Implemented proper TabIndex handling, now assigning
  10596. a tabindex when a control is added to a container
  10597. * GroupBox.cs (ctor): Now sets the Container style bit, required
  10598. for Control.GetNextControl()
  10599. 2005-01-09 Jackson Harper <[email protected]>
  10600. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  10601. 2005-01-09 Peter Bartok <[email protected]>
  10602. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10603. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  10604. an overload for ScrollWindow to allow only scrolling a rectangle
  10605. 2005-01-09 Peter Bartok <[email protected]>
  10606. * Form.cs:
  10607. - Implemented SetDesktopBounds method
  10608. - Implemented SetDesktopLocation method
  10609. 2005-01-08 Jackson Harper <[email protected]>
  10610. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  10611. the node count has changed, this removes to VScroll::Refresh calls
  10612. when drawing.
  10613. 2005-01-08 Geoff Norton <[email protected]>
  10614. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  10615. 2005-01-07 Jackson Harper <[email protected]>
  10616. * TreeNode.cs: Just update the single node when it is
  10617. checked. Don't refresh after toggling, the Expand/Collapse already
  10618. handles this.
  10619. * TreeView.cs: Respect clipping a little more when drawing. Try
  10620. not to redraw things that don't need to be redrawn. Just hide the
  10621. scrollbars when they are no longer needed instead of removing
  10622. them, so they don't have to be created again and again.
  10623. 2005-01-07 Geoff Norton <[email protected]>
  10624. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  10625. coordinates to window space to place the caret properly, FIXED.
  10626. Implement GetWindowState & SetWindowState
  10627. 2005-01-06 Peter Bartok <[email protected]>
  10628. * Form.cs:
  10629. - Implemented ClientSize property
  10630. - Implemented DesktopBounds property
  10631. - Implemented DesktopLocation property
  10632. - Implemented IsRestrictedWindow property
  10633. - Implemented Size property
  10634. - Implemented TopLevel property
  10635. - Implemented FormWindowState property
  10636. * Control.cs:
  10637. - Implemented GetTopLevel() method
  10638. - Implemented SetTopLevel() method
  10639. * X11Structs.cs (Atom):
  10640. - Added AnyPropertyType definition
  10641. - Added MapState definiton and updated XWindowAttribute struct
  10642. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  10643. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  10644. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  10645. * XplatUIWin32.cs:
  10646. - Implemented GetWindowState() and SetWindowState() methods
  10647. - Fixed Win32GetWindowLong return type
  10648. * XplatUIX11.cs:
  10649. - Introduced central function for sending NET_WM messages
  10650. - Implemented GetWindowState() and SetWindowState() methods
  10651. * TextBoxBase.cs (set_Lines):
  10652. - Now uses Foreground color for text added via Text property (Duh!)
  10653. - Added code to remember programmatically requested size (fixes
  10654. behaviour when Multiline is set after Size)
  10655. - Added AutoSize logic
  10656. 2005-01-06 Jackson Harper <[email protected]>
  10657. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  10658. 2005-01-06 Jackson Harper <[email protected]>
  10659. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  10660. set to less then 0.
  10661. 2005-01-06 Jackson Harper <[email protected]>
  10662. * ScrollableControl.cs: Lazy init the scrollbars.
  10663. 2005-01-06 Jackson Harper <[email protected]>
  10664. * Theme.cs: Speed up getting pens and solid brushes, by using
  10665. their ARGB as a hash instead of tostring and not calling Contains.
  10666. 2005-01-06 Peter Bartok <[email protected]>
  10667. * Form.cs:
  10668. - Implemented OnActivated and OnDeactivate event trigger
  10669. - Implemented Activate() method
  10670. - Fixed ShowDialog() to activate the form that was active before
  10671. the dialog was shown
  10672. * XplatUIX11.cs:
  10673. - Added global active_window var that tracks the currently active
  10674. X11 window
  10675. - Now always grabs Property changes from the root window to always
  10676. catch changes on the active window property
  10677. - Added code to PropertyNotify handler to send Active/Inactive
  10678. messages when state changes. This puts X11 and Win32 en par on
  10679. WM_ACTIVATE notifications (except for double notifications when
  10680. the user clicks away from our modal window to another one of our
  10681. windows)
  10682. 2005-01-05 Jackson Harper <[email protected]>
  10683. * ImageList.cs: Implment ctor
  10684. 2005-01-05 Geoff Norton <[email protected]>
  10685. * XplatUIOSX.cs: Implement Activate/SetTopmost
  10686. 2005-01-05 Geoff Norton <[email protected]>
  10687. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  10688. 2005-01-05 Geoff Norton <[email protected]>
  10689. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  10690. 2005-01-05 Peter Bartok <[email protected]>
  10691. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  10692. XplatUIOSX.cs: Added GetActive method to return the currently
  10693. active window for the application (or null, if none is active)
  10694. * Form.cs:
  10695. - Implemented ActiveForm
  10696. - Commented out owner assignment for modal dialogs (causes problems
  10697. on Win32, since the owner will be disabled)
  10698. - Reworked some Active/Focus handling (still incomplete)
  10699. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  10700. (causes problems on Win32, since the owner will be disabled)
  10701. * IWin32Window: Added ComVisible attribute
  10702. 2005-01-05 Peter Bartok <[email protected]>
  10703. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  10704. required XplatUI functions.
  10705. 2005-01-05 Peter Bartok <[email protected]>
  10706. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  10707. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  10708. to implement focus and activation handling; still incomplete and
  10709. with debug output
  10710. 2005-01-04 Peter Bartok <[email protected]>
  10711. * TextBoxBase.cs: Changed access level for Document property to
  10712. match switch to internal for TextControl
  10713. 2005-01-04 Peter Bartok <[email protected]>
  10714. * AccessibleObject: Added ComVisible attribute
  10715. 2005-01-04 Jackson Harper <[email protected]>
  10716. * X11Keyboard.cs: Remove unneeded var.
  10717. 2005-01-04 Jackson Harper <[email protected]>
  10718. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  10719. but PAINT.
  10720. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  10721. ClientMessage. This makes apps exit cleanly (more often).
  10722. 2005-01-04 Jackson Harper <[email protected]>
  10723. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  10724. handling focus, return correct colors and fonts,
  10725. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  10726. handle selection, horizontal scrolling, and mouse interaction.
  10727. 2005-01-04 Peter Bartok <[email protected]>
  10728. * ICommandExecutor.cs: Added
  10729. * IDataGridColumnStyleEditingNotificationService.cs: Added
  10730. * IFeatureSupport.cs: Added
  10731. * IFileReaderService.cs: Added
  10732. * IDataObject.cs: Added ComVisible attribute
  10733. * AmbientProperties.cs: Added
  10734. * BaseCollection.cs: Added missing attributes
  10735. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  10736. * BaseCollection.cs: Added missing attributes
  10737. * Binding.cs: Added TypeConverter attribute
  10738. * BindingContext.cs: Added DefaultEvent attribute
  10739. * BindingsCollection.cs: Added DefaultEvent attribute
  10740. * Button.cs: Added DefaultValue attribute
  10741. * DragEventArgs.cs: Added ComVisible attribute
  10742. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  10743. * KeyEventArgs.cs: Added ComVisible attribute
  10744. * KeyPressEventArgs.cs: Added ComVisible attribute
  10745. * MouseEventArgs.cs: Added ComVisible attribute
  10746. * NavigateEventArgs.cs: Added
  10747. * NavigateEventHandler.cs: Added
  10748. * FeatureSupport.cs: Added
  10749. * OSFeature.cs: Added
  10750. * Theme.cs: Added abstract Version property to support OSFeature
  10751. * ThemeWin32Classic.cs: Added Version property to
  10752. support OSFeature.Themes
  10753. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  10754. the proper styles to avoid background drawing are set, also doesn't
  10755. match MS signature
  10756. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  10757. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  10758. * ScrollEventArgs.cs: Added ComVisible attribute
  10759. * SplitterEventArgs.cs: Added ComVisible attribute
  10760. * AccessibleSelection.cs: Added Flags attribute
  10761. * Appearance.cs: Added ComVisible attribute
  10762. * Border3DSide.cs: Added ComVisible attribute
  10763. * Border3DStyle.cs: Added ComVisible attribute
  10764. * BorderStyle.cs: Added ComVisible attribute
  10765. * DragAction.cs: Added ComVisible attribute
  10766. * ErrorBlinkStyle.cs: Added
  10767. * ScrollEventType.cs: Added ComVisible attribute
  10768. * AnchorStyles.cs: Added Editor attribute
  10769. * DockStyle.cs: Added Editor attribute
  10770. * HorizontalAlignment.cs: Added ComVisible attribute
  10771. * HelpEventArgs.cs: Added ComVisible attribute
  10772. * PaintEventArgs.cs: Added IDisposable
  10773. 2005-01-04 Peter Bartok <[email protected]>
  10774. * TextControl.cs: Switched Line, LineTag and Document classes to
  10775. internal
  10776. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10777. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  10778. Simple mode, fixes, IntegralHeight, etc.
  10779. 2005-01-04 Peter Bartok <[email protected]>
  10780. * TextBoxBase.cs: Using proper font variable now
  10781. 2005-01-04 Peter Bartok <[email protected]>
  10782. * Form.cs (ShowDialog): Set parent to owner, if provided
  10783. * GroupBox.cs: Removed unused vars
  10784. * TextControl.cs:
  10785. - Added GetHashCode() for Document and LineTag classes
  10786. - Removed unused variables
  10787. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  10788. to allow translation between continuous char position and line/pos
  10789. * CheckBox.cs: Removed vars that are provided by base class
  10790. * RadioButton.cs: Removed vars that are provided by base class, added
  10791. new keyword where required
  10792. * LinkLabel.cs: Added new keyword where required
  10793. * Control.cs (WndProc): Removed unused variable
  10794. * TextBoxBase.cs:
  10795. - Finished SelectionLength property
  10796. - Implemented SelectionStart property
  10797. - Implemented Text property
  10798. - Removed unused vars
  10799. * MessageBox.cs: Added new keyword where required
  10800. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  10801. WndProc signature
  10802. * MenuAPI.cs: Added new keyword where required
  10803. * ButtonBase.cs: Removed vars that are provided by base class, added
  10804. new keyword where required
  10805. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  10806. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  10807. into this)
  10808. * Application.cs (Run): Now triggers the ThreadExit event
  10809. * CommonDialog.cs: Added new keyword where required; now properly sets
  10810. parent (owner) for dialog
  10811. * XplatUIX11.cs: Commented out unused vars
  10812. * StatusBar.cs: Fixed signature for Text property
  10813. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  10814. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10815. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  10816. TrackBar.cs, MonthCalendar.cs: remove unused vars
  10817. 2005-01-03 Jackson Harper <[email protected]>
  10818. * ThemeWin32Classic.cs:
  10819. * X11Keyboard.cs: Remove unused vars.
  10820. 2005-01-03 Peter Bartok <[email protected]>
  10821. * TextBox.cs:
  10822. - set_Text: Tied into TextControl
  10823. - set_TextAlignment: Tied into TextControl
  10824. * TextControl.cs:
  10825. - Added alignment properties and implemented alignment handling
  10826. and drawing (still has a bug, not generating proper expose events)
  10827. - Added new Line() constructor to allow passing the line alignment
  10828. - Fixed selection setting, properly handling end<start now
  10829. - Added aligment considerations to RecalculateDocument()
  10830. * TextBoxBase.cs:
  10831. - Now properly enforces control height for single line controls
  10832. - Added support for CharacterCasing
  10833. - Added IsInputKey override
  10834. - Fixed Keys.Enter logic
  10835. - Added SetBoundsCore override
  10836. - Fixed mouse selection handling
  10837. 2005-01-03 Jackson Harper <[email protected]>
  10838. * TreeView.cs:
  10839. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  10840. - Checkboxes are always aligned to the bottom of the node,
  10841. regardless of item height.
  10842. - Use the node bounds to draw the text so we can center it when
  10843. the item height is greater then the font height.
  10844. - Node::Bounds are only the text part of the node.
  10845. * TreeNode.cs: New method to combine collapsing and unchecking all
  10846. nodes recursively.
  10847. 2005-01-02 Jackson Harper <[email protected]>
  10848. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  10849. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  10850. tree when a check is changed. TODO: Only refresh the checked node.
  10851. 2004-12-30 Jackson Harper <[email protected]>
  10852. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  10853. * TreeNode.cs: When collapsing make sure to never collapse the
  10854. root node.
  10855. 2004-12-29 Jackson Harper <[email protected]>
  10856. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  10857. 2004-12-28 Zoltan Varga <[email protected]>
  10858. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  10859. 2004-12-28 Peter Bartok <[email protected]>
  10860. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  10861. not yet assigned
  10862. 2004-12-28 Peter Bartok <[email protected]>
  10863. * Control.cs (WndProc): Added WM_HELP handler, now generates
  10864. HelpRequested event
  10865. * Form.cs: Added HelpButton property and required support code
  10866. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  10867. 2004-12-28 Peter Bartok <[email protected]>
  10868. * CommonDialog.cs:
  10869. - Made DialogForm.owner variable internal
  10870. - Added check to ensure owner form is set before setting
  10871. owner properties in CreateParams
  10872. 2004-12-28 Geoff Norton <[email protected]>
  10873. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  10874. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  10875. GetCursorPos. Fix major visibility issues. Rework the windowing
  10876. system to support borderless/titleless windows (implements menus).
  10877. Fix GetWindowPos. Implement initial background color support for
  10878. views.
  10879. 2004-12-28 Peter Bartok <[email protected]>
  10880. * Form.cs (get_CreateParams): Make sure we have an owner before using
  10881. the owner variable. Implement proper default if no owner exists
  10882. 2004-12-28 Peter Bartok <[email protected]>
  10883. * In preparation for making Managed.Windows.Forms the default build target
  10884. for System.Windows.Forms, the following stubbed files were added.
  10885. Dialogs are currently being implemented by contributors and are only
  10886. short-term place holders.
  10887. * ColorDialog.cs: Initial check-in (minmal stub)
  10888. * DataGrid.cs: Initial check-in (minimal stub)
  10889. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  10890. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  10891. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  10892. * FontDialog.cs: Initial check-in (minimal stub)
  10893. * FileDialog.cs: Initial check-in (minimal stub)
  10894. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  10895. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  10896. * OpenFileDialog: Initial check-in (minimal stub)
  10897. * IComponentEditorPageSite.cs: Initial check-in
  10898. * Splitter.cs: Initial check-in (for Jackson)
  10899. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  10900. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  10901. * TextBox.cs: Initial check-in; still needs some wiring to
  10902. TextControl backend
  10903. * Form.cs: Implemented ControlBox property
  10904. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  10905. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  10906. * TextControl.cs: Added selection functionality; added todo header
  10907. * TextBoxBase.cs:
  10908. - Implemented Lines property
  10909. - Implemented TextHeight property
  10910. - Implemented SelectedText property
  10911. - Implemented SelectionLength property
  10912. - Implemented SelectAll method
  10913. - Implemented ToString method
  10914. - Removed and cleaned up some debug code
  10915. - Implemented (still buggy) mouse text selection
  10916. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  10917. * ComboBox.cs: Complete DropDownList implementation, fixes.
  10918. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  10919. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  10920. * ComboBoxStyle.cs: ComboBoxStyle enum
  10921. * ComboBox.cs: Initial work on ComboBox control
  10922. 2004-12-21 Peter Bartok <[email protected]>
  10923. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  10924. forward so that anything that creates a window gets the default,
  10925. also no longer uses Visible property in CreateParams to avoid
  10926. walking up the parent chain and possibly get the wrong visible
  10927. status. Fixed IsVisible to no longer walk up to the parent.
  10928. 2004-12-21 Peter Bartok <[email protected]>
  10929. * Form.cs (ShowDialog): Unset modality for the proper window
  10930. 2004-12-20 Peter Bartok <[email protected]>
  10931. * CommonDialog.cs: Initial check-in
  10932. 2004-12-20 Peter Bartok <[email protected]>
  10933. * Control.cs (Visible): Now uses the parent window instead of the
  10934. client area window for the property
  10935. * Form.cs
  10936. - ShowDialog(): Now uses the proper window for modality
  10937. - The default visibility state for the form parent is now false. This
  10938. will prevent the user from seeing all the changes to the form and
  10939. its controls before the application hits Application.Run()
  10940. - Removed some stale commented out code
  10941. * NativeWindow.cs:
  10942. - Added FindWindow() method to have a method to check for existence
  10943. of a window handle
  10944. - Added ability to override default exception handling (for example
  10945. when debugging with VS.Net; to do this the ExternalExceptionHandler
  10946. define must be set
  10947. - Removed some useless debug output
  10948. * XplatUIX11.cs:
  10949. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  10950. not working as expected
  10951. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  10952. property to allow switching back to the modal window if focus is
  10953. given to another one of our windows (Application Modal)
  10954. - Now only sets override_redirect if we create a window
  10955. without WS_CAPTION
  10956. - Moved EventMask selection before mapping of newly created window
  10957. so we can catch the map event as well
  10958. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  10959. - Added various Atom related DllImports
  10960. - Implemented Exit() method
  10961. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  10962. in the CreateParams
  10963. * MessageBox.cs: Now properly deals with the FormParent window by
  10964. providing an override the FormParent CreateParams property to
  10965. set as POPUP instead of OVERLAPPED window.
  10966. 2004-12-19 Geoff Norton <[email protected]>
  10967. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  10968. Minor code cleanup.
  10969. 2004-12-19 Geoff Norton <[email protected]>
  10970. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  10971. 2004-12-18 Peter Bartok <[email protected]>
  10972. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  10973. implementing SetModal() method
  10974. 2004-12-18 Peter Bartok <[email protected]>
  10975. * X11Structs.cs (XGCValues): Fixed type of function element
  10976. * XplatUI.cs: Added ScrollWindow() method
  10977. * XplatUIDriver.cs: Added ScrollWindow() abstract
  10978. * XplatUIWin32.cs: Implemented ScrollWindow() method
  10979. * XplatUIX11.cs: Implemented ScrollWindow() method
  10980. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  10981. 2004-12-17 Geoff Norton <[email protected]>
  10982. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  10983. Some more keyboard support (INCOMPLETE)
  10984. 2004-12-17 Peter Bartok <[email protected]>
  10985. * TextControl.cs:
  10986. - Added color attribute to line tags.
  10987. - Added color argument to all functions dealing with tags
  10988. - Added color argument support to various functions
  10989. - Fixed miss-calculation of baseline/shift in certain circumstances
  10990. * TextBoxBase.cs: Added new color option to test code
  10991. 2004-12-17 Jackson Harper <[email protected]>
  10992. * TreeNode.cs:
  10993. * MonthCalendar.cs: Signature fixes
  10994. 2004-12-17 Geoff Norton <[email protected]>
  10995. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  10996. keyboard event moved it. Create a new graphics context for each paint resolves this
  10997. 2004-12-17 Geoff Norton <[email protected]>
  10998. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  10999. Make caret exist and go blink blink. Initial keyboard support.
  11000. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11001. works.
  11002. 2004-12-17 Jackson Harper <[email protected]>
  11003. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11004. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11005. 2004-12-17 Jackson Harper <[email protected]>
  11006. * XplatUIX11.cs: Prune old keyboard code.
  11007. 2004-12-17 Jackson Harper <[email protected]>
  11008. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11009. keys from the ModifierKeys property.
  11010. 2004-12-17 Jackson Harper <[email protected]>
  11011. * X11Keyboard.cs: Send up/down input when generating
  11012. messages. Remove some unused vars.
  11013. 2004-12-17 Jackson Harper <[email protected]>
  11014. * TabControl.cs:
  11015. * TreeView.cs: get rid of warnings.
  11016. 2004-12-17 Jackson Harper <[email protected]>
  11017. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11018. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11019. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11020. CheckedListBox.cs: Implementation
  11021. 2004-12-17 Peter Bartok <[email protected]>
  11022. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11023. 2004-12-16 Peter Bartok <[email protected]>
  11024. * TextControl.cs:
  11025. - InsertCharAtCaret(): Fixed start pos fixup
  11026. - CaretLine_get: No longer derives the line from the tag, the tag
  11027. could be stale if lines in the document have been added or deleted
  11028. - RebalanceAfterDelete(): Fixed bug in balancing code
  11029. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11030. - Line.Streamline(): Now can also elminate leading empty tags
  11031. - DumpTree(): Added a few more tests and prevented exception on
  11032. uninitialized data
  11033. - Added Debug section for Combining lines
  11034. - Delete(): Now copies all remaining properties of a line
  11035. * TextBoxBase.cs:
  11036. - Left mousebutton now sets the caret (and middle button still acts
  11037. as formatting tester, which must go away soon)
  11038. - Added Debug section for Deleting/Combining lines
  11039. - Fixed calculations for UpdateView after Combining lines
  11040. 2004-12-16 Peter Bartok <[email protected]>
  11041. * TextControl.cs: Now properly aligns text on a baseline, using the
  11042. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11043. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11044. defined
  11045. 2004-12-16 Peter Bartok <[email protected]>
  11046. * XplatUI.cs: Added GetFontMetrics() method
  11047. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11048. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11049. into libgdiplus, our private GetFontMetrics function
  11050. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11051. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11052. 2004-12-16 Jackson Harper <[email protected]>
  11053. * XplatUIStruct.cs: Add enum for dead keys
  11054. * X11Keyboard.cs: Map and unmap dead keys.
  11055. 2004-12-16 Jackson Harper <[email protected]>
  11056. * X11Keyboard.cs: Detect and use the num lock mask.
  11057. 2004-12-16 Peter Bartok <[email protected]>
  11058. * Control.cs (CreateGraphics): Added check to make sure the
  11059. handle of the window exists before calling Graphics.FromHwnd()
  11060. 2004-12-16 Peter Bartok <[email protected]>
  11061. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11062. contains a lot of code that's not supposed to be there for the
  11063. real thing, but required for developing/testing the textbox
  11064. backend.
  11065. 2004-12-16 Peter Bartok <[email protected]>
  11066. * TextControl.cs:
  11067. - Fixed Streamline method
  11068. - Added FindTag method to Line
  11069. - Added DumpTree method for debugging
  11070. - Added DecrementLines() method for deleting lines
  11071. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11072. updates
  11073. - Added PositionCaret() method
  11074. - Fixed MoveCaret(LineDown) to move into the last line, too
  11075. - Added InsertChar overload
  11076. - Fixed InsertChar tag offset calculations
  11077. - Added DeleteChar() method
  11078. - Added Combine() method for folding lines
  11079. - Fixed Delete() method, no longer allocates wasted Line object and
  11080. now copies all properties when swapping nodes
  11081. - Delete() method now updates document line counter
  11082. 2004-12-15 Jackson Harper <[email protected]>
  11083. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11084. * X11Keyboard.cs: Expose the currently selected modifier keys
  11085. through a property.
  11086. 2004-12-15 Peter Bartok <[email protected]>
  11087. * TextControl.cs: Initial check-in. Still incomplete
  11088. 2004-12-15 Jackson Harper <[email protected]>
  11089. * TreeNode.cs:
  11090. * TreeView.cs: Fix build on csc (second time today ;-))
  11091. 2004-12-15 Jackson Harper <[email protected]>
  11092. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11093. is calculated and use this for click testing.
  11094. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11095. 2004-12-15 Jackson Harper <[email protected]>
  11096. * TreeView.cs: Pass the nodes image index to the image list when
  11097. drawing that image.
  11098. 2004-12-15 Jackson Harper <[email protected]>
  11099. * X11Keyboard.cs: Set messages hwnd.
  11100. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11101. post_message calls.
  11102. 2004-12-15 Jackson Harper <[email protected]>
  11103. * X11Keyboard.cs: Fix to compile with csc.
  11104. 2004-12-15 Jackson Harper <[email protected]>
  11105. * X11Structs.cs: Add key mask values
  11106. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11107. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11108. down/up foo into WM_CHAR foo
  11109. * KeyboardLayouts.cs: Common keyboard layouts
  11110. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11111. post messages into the main queue.
  11112. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11113. * Button.cs: implement ProcessMnemonic
  11114. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11115. brushes everytime
  11116. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11117. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11118. 2004-12-12 John BouAntoun <[email protected]>
  11119. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11120. and date selection
  11121. 2004-12-11 Peter Bartok <[email protected]>
  11122. * X11Structs.cs:
  11123. - Added XKeyboardState (moved from XplatUIX11.cs)
  11124. - Added XCreateGC related enums and structures
  11125. - Added GXFunction for XSetFunction
  11126. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11127. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11128. CaretVisible() calls
  11129. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11130. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11131. DestroyCaret, SetCaretPos and CaretVisible)
  11132. * XplatUIX11.cs:
  11133. - Added implementation for caret functions
  11134. - Moved hover variables into a struct, to make it a bit easier
  11135. on the eyes and to debug
  11136. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11137. - Moved Keyboard properties into the properties region
  11138. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11139. call to get a graphics context for our control
  11140. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11141. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11142. return SystemColors.Window
  11143. * XplatUIWin32.cs: Implemented caret overrides
  11144. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11145. * ListBox.cs: fire events, implement missing methods and properties,
  11146. sorting.
  11147. 2004-12-10 John BouAntoun <[email protected]>
  11148. * MonthCalendar.cs: invalidation bug fixing
  11149. * ThemeWin32Classic.cs: paint fixing
  11150. 2004-12-09 Geoff Norton <[email protected]>
  11151. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11152. prepare the CGContextRef there now.
  11153. 2004-12-09 John BouAntoun <[email protected]>
  11154. * MonthCalendar.cs:
  11155. - optimisationL only invalidate areas that have changed
  11156. * ThemeWin32Classic.cs:
  11157. - only paint parts that intersect with clip_area
  11158. 2004-12-09 Peter Bartok <[email protected]>
  11159. * Application.cs: Undid changes from r37004 which cause problems
  11160. on X11
  11161. 2004-12-09 Ravindra <[email protected]>
  11162. * ToolBar.cs: Added support for displaying ContextMenu
  11163. attached to a button on ToolBar.
  11164. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11165. property.
  11166. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11167. * Label.cs: autosize works in text change and removes unnecessary
  11168. invalidate
  11169. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11170. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11171. remove warnings
  11172. 2004-12-08 Geoff Norton <[email protected]>
  11173. * XplatUIOSX.cs: Added mouse move/click/grab support
  11174. Remove some debugging WriteLines not needed anymore.
  11175. Add window resizing/positioning.
  11176. Fix visibility on reparenting.
  11177. 2004-12-08 Peter Bartok <[email protected]>
  11178. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11179. 2004-12-07 Geoff Norton <[email protected]>
  11180. * XplatUIOSX.cs: Initial checkin
  11181. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11182. 2004-12-03 Ravindra <[email protected]>
  11183. * ListView.cs: Added some keybindings and fixed scrolling.
  11184. ScrollBars listen to ValueChanged event instead of Scroll
  11185. Event. This would let us take care of all changes being
  11186. done in the scrollbars' values programmatically or manually.
  11187. * ListView.cs (CanMultiselect): Added a check for shift key.
  11188. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11189. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11190. of ListViewSubItemCollection as well.
  11191. 2004-12-06 Peter Bartok <[email protected]>
  11192. * Control.cs (Parent): Added check and exception to prevent
  11193. circular parenting
  11194. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11195. * ListBox.cs: implemented clipping, selection single and multiple,
  11196. bug fixing
  11197. 2004-12-03 Ravindra <[email protected]>
  11198. * ListView.cs (ListView_KeyDown):
  11199. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11200. when CTRL key is pressed.
  11201. * ListViewItem.cs (Selected): Fixed setting the property.
  11202. 2004-12-03 Marek Safar <[email protected]>
  11203. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11204. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11205. MinimizeBox, ShowInTaskbar, TopMost properties.
  11206. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11207. will be implemented).
  11208. 2004-12-03 Marek Safar <[email protected]>
  11209. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11210. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11211. tests.
  11212. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11213. * TreeView.cs: BackColor is Colors.Window.
  11214. 2004-12-01 Jackson Harper <[email protected]>
  11215. * TreeView.cs: When resizing the tree if the user is making it
  11216. smaller we don't get expose events, so we need to handle adding
  11217. the horizontal scrollbar in the size changed handler as well as
  11218. the expose handler.
  11219. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11220. * DrawItemState.cs: fixes wrong enum values
  11221. 2004-12-01 Jackson Harper <[email protected]>
  11222. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11223. 2004-12-01 Jackson Harper <[email protected]>
  11224. * NodeLabelEditEventArgs.cs:
  11225. * NodeLabelEditEventHandler.cs:
  11226. * OpenTreeNodeEnumerator.cs:
  11227. * TreeNode.cs:
  11228. * TreeNodeCollection.cs:
  11229. * TreeView.cs:
  11230. * TreeViewAction.cs:
  11231. * TreeViewCancelEventArgs.cs:
  11232. * TreeViewCancelEventHandler.cs:
  11233. * TreeViewEventArgs.cs:
  11234. * TreeViewEventHandler.cs: Initial implementation.
  11235. 2004-12-01 Ravindra <[email protected]>
  11236. * ListView.cs (CalculateListView): Fixed scrolling related
  11237. calculations. Also, removed some debug statements from other
  11238. places.
  11239. * ListViewItem.cs: Changed access to 'selected' instance variable
  11240. from private to internal.
  11241. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11242. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11243. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11244. specific controls and use the global system, fixes scrollbutton
  11245. bugs (for small sizes, disabled, etc)
  11246. * ScrollBar.cs: does not show the thumb for very small controls
  11247. (as MS) and allow smaller buttons that the regular size
  11248. 2004-12-01 Miguel de Icaza <[email protected]>
  11249. * UpDownBase.cs: Add abstract methods for the interface.
  11250. Add new virtual methods (need to be hooked up to TextEntry when it
  11251. exists).
  11252. Add override methods for most features.
  11253. Computes the size, forces the height of the text entry.
  11254. * NumericUpDown.cs: Put here the current testing code.
  11255. * Set eol-style property on all files that do not have mixed line
  11256. endings, to minimize the future problems. There are still a few
  11257. files with mixed endings, and someone should choose whether they
  11258. want to move it or not.
  11259. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11260. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11261. System.Colors
  11262. 2004-11-30 Ravindra <[email protected]>
  11263. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11264. drawing and replaced use of SystemColors by theme colors.
  11265. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11266. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11267. same ListViewItem is being added more than once.
  11268. 2004-11-30 John BouAntoun <[email protected]>
  11269. * MonthCalendar.cs:
  11270. - ControlStyles love to make the control not flicker
  11271. 2004-11-30 Peter Bartok <[email protected]>
  11272. * CharacterCasing.cs: Added
  11273. 2004-11-29 Peter Bartok <[email protected]>
  11274. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11275. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11276. I am removing these files as they conflict with already completed
  11277. work. While it is fantastic to get contributions to MWF, I
  11278. respectfully ask that everyone please coordinate their contributions
  11279. through mono-winforms-list or #mono-winforms at this time. We're
  11280. explicitly avoiding stubbing and don't want controls that don't have
  11281. their basic functionality implemented in svn. Please also see
  11282. http://www.mono-project.com/contributing/winforms.html
  11283. 2004-11-29 Marek Safar <[email protected]>
  11284. * Application.cs (ModalRun): Don't hang after exit.
  11285. * Theme.cs: New TreeViewDefaultSize property.
  11286. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11287. with less hardcoded SystemColors constant.
  11288. Implemented TreeViewDefaultSize.
  11289. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11290. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11291. 2004-11-29 John BouAntoun <[email protected]>
  11292. * MonthCalendar.cs:
  11293. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11294. 2004-11-26 John BouAntoun <[email protected]>
  11295. * MonthCalendar.cs:
  11296. - Fix usage of ScrollChange Property when scrolling months
  11297. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11298. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11299. - Fixes menu destroying
  11300. - Support adding and removing items on already created menus
  11301. 2004-11-26 John BouAntoun <[email protected]>
  11302. * MonthCalendar.cs:
  11303. - Re-worked all bolded dates handling to match win32
  11304. * ThemeWin32Classic.cs:
  11305. - Fixed rendering with bolded dates
  11306. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11307. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11308. - Horizontal scroolbar
  11309. - Multicolumn
  11310. - Fixes
  11311. 2004-11-25 John BouAntoun <[email protected]>
  11312. * MonthCalendar.cs:
  11313. - Fix Usage of MaxSelectionCount from SelectionRange
  11314. - Fixed Shift + Cursor Selection
  11315. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  11316. - Fixed normal cursor selection to be compat with win32
  11317. - Fixed Shift + Mouse Click selection
  11318. 2004-11-24 Peter Bartok <[email protected]>
  11319. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  11320. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  11321. * XplatUIX11.cs:
  11322. - CreatedKeyBoardMsg now updates keystate with Alt key
  11323. - Added workaround for timer crash to CheckTimers, Jackson will
  11324. develop a proper fix and check in later
  11325. - Implemented DispatchMessage
  11326. - Removed calling the native window proc from GetMessage (call
  11327. now moved to DispatchMessage)
  11328. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  11329. the keydata (Fixes bug #69831)
  11330. * XplatUIWin32.cs:
  11331. - (DispatchMessage): Switched to return IntPtr
  11332. - Added DllImport for SetFocus
  11333. 2004-11-24 Ravindra <[email protected]>
  11334. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  11335. background drawing.
  11336. * ListViewItem.cs: Fixed various properties, calculations
  11337. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  11338. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  11339. and some internal properties. Fixed MouseDown handler and Paint
  11340. method.
  11341. 2004-11-24 John BouAntoun <[email protected]>
  11342. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  11343. 2004-11-24 John BouAntoun <[email protected]>
  11344. * ContainerControl.cs: correct accidental check in of local changes
  11345. 2004-11-24 John BouAntoun <[email protected]>
  11346. * ThemeWin32Classic.cs:
  11347. - Fixed Drawing Last month in grid (sometimes not showing)
  11348. * MonthCalendar.cs:
  11349. - Fixed title width calculation bug (makeing title small)
  11350. 2004-11-23 Peter Bartok <[email protected]>
  11351. * XplatUIX11.cs:
  11352. - Added generation of WM_MOUSEHOVER event
  11353. - Added missing assignment of async_method atom
  11354. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  11355. 2004-11-23 John BouAntoun <[email protected]>
  11356. * ThemeWin32Classic.cs:
  11357. - Fixed Drawing of today circle when showtodaycircle not set
  11358. - fixed drawing of first and last month in the grid (gay dates)
  11359. * MonthCalendar.cs:
  11360. - Fixed Drawing of today circle
  11361. - Fixed drawing of grady dates
  11362. - Fixed HitTest for today link when ShowToday set to false
  11363. - Fixed DefaultSize to obey ShowToday
  11364. 2004-11-23 John BouAntoun <[email protected]>
  11365. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  11366. * System.Windows.Forms/Theme.cs
  11367. * MonthCalendar.cs: added for MonthCalendar
  11368. * SelectionRange.cs: added for MonthCalendar
  11369. * Day.cs: added for MonthCalendar: added for MonthCalendar
  11370. * DateRangeEventArgs.cs: added for MonthCalendar
  11371. * DateRangeEventHandler.cs: added for MonthCalendar
  11372. 2004-11-22 Ravindra <[email protected]>
  11373. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  11374. property.
  11375. 2004-11-22 Miguel de Icaza <[email protected]>
  11376. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  11377. event handler.
  11378. * NumericUpDown.cs: Added new implementation.
  11379. * UpDownBase.cs: Added new implementation.
  11380. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  11381. implementations.
  11382. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  11383. implementations.
  11384. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  11385. methods.
  11386. 2004-11-21 Miguel de Icaza <[email protected]>
  11387. * Timer.cs (Dispose): Should call the base dispose when
  11388. overriding.
  11389. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11390. * ScrollBar.cs: updates thumb position when max, min or increment
  11391. is changed
  11392. 2004-11-21 Ravindra <[email protected]>
  11393. * ListView.cs: Implemented item selection, activation and
  11394. column header style. Fixed properties to do a redraw, if
  11395. required. Added support for MouseHover, DoubleClick, KeyDown
  11396. and KeyUp event handling and some minor fixes.
  11397. * ListViewItem.cs: Fixed constructor.
  11398. * ThemeWin32Classic.cs: Improved drawing for ListView.
  11399. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11400. * ThemeWin32Classic.cs: initial listbox drawing code
  11401. * DrawMode.cs: new enumerator
  11402. * ListControl.cs: stubbed class
  11403. * ListBox.cs: initial implementation
  11404. * Theme.cs: new methods definitions
  11405. * SelectionMode.cs: new enumerator
  11406. 2004-11-17 Peter Bartok <[email protected]>
  11407. * XplatUIWin32.cs: Added double-click events to the class style
  11408. * Control.cs (WndProc):
  11409. - Added handling of click-count to MouseDown/ MouseUp events.
  11410. - Added handling of middle and right mouse buttons
  11411. - Removed old debug code
  11412. 2004-11-17 Jackson Harper <[email protected]>
  11413. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  11414. 2004-11-17 Ravindra <[email protected]>
  11415. * ListView.cs: Added event handling for MouseMove/Up/Down.
  11416. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  11417. * ThemeWin32Classic.cs: We need to clear the graphics context and
  11418. draw column header in a proper state.
  11419. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  11420. * Menu.cs: fixes signature
  11421. 2004-11-16 Peter Bartok <[email protected]>
  11422. * XplatUIX11.cs (GetMessage): Implemented generation of
  11423. double click mouse messages
  11424. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  11425. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  11426. not by menu
  11427. 2004-11-11 Peter Bartok <[email protected]>
  11428. * HandleData.cs: Added Visible property
  11429. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  11430. HandleData
  11431. * XplatUIX11.cs: Removed old debug leftovers
  11432. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  11433. * Control.cs (WndProc): Removed old debug leftovers,
  11434. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  11435. needed WM_SIZE handling
  11436. 2004-11-11 Jackson Harper <[email protected]>
  11437. * OwnerDrawPropertyBag.cs:
  11438. * TreeViewImageIndexConverter.cs: Initial implementation
  11439. 2004-11-10 Jackson Harper <[email protected]>
  11440. * ThemeWin32Classic.cs:
  11441. * TabControl.cs: instead of moving tabs by the slider pos just
  11442. start drawing at the tab that is offset by the slider. This way
  11443. scrolling always moves by exactly one tab.
  11444. 2004-11-10 Jackson Harper <[email protected]>
  11445. * TabControl.cs: You can only scroll left when the slider has
  11446. already ben moved right.
  11447. 2004-11-10 Jackson Harper <[email protected]>
  11448. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  11449. the clip area.
  11450. 2004-11-10 Jackson Harper <[email protected]>
  11451. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  11452. clip area.
  11453. 2004-11-09 Jackson Harper <[email protected]>
  11454. * TabControl.cs (CalcXPos): New helper method so we can determine
  11455. the proper place to start drawing vertical tabs.
  11456. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  11457. 2004-11-09 Jackson Harper <[email protected]>
  11458. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  11459. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  11460. and Bottom, left and right are illegal values for this and
  11461. multiline is enabled when the alignment is set to left or right.
  11462. (DrawTab): Each alignment block should draw the text itself now
  11463. because Left requires special love. Also add rendering for Left
  11464. aligned tabs.
  11465. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  11466. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  11467. does not destroy the windows, removes debugging messages
  11468. 2004-11-09 jba <[email protected]>
  11469. * ThemeWin32Classic.cs
  11470. (DrawButtonBase): Fix verticle text rect clipping in windows
  11471. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11472. rendering and incorrect text rect clipping
  11473. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11474. rendering and incorrect text rect clipping
  11475. 2004-11-08 Jackson Harper <[email protected]>
  11476. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  11477. bottom when they are bottom aligned so the bottoms of the tabs get
  11478. displayed.
  11479. * TabControl.cs (DropRow): Move rows up instead of down when the
  11480. tab control is bottom aligned.
  11481. 2004-11-08 13:59 pbartok
  11482. * XplatUIX11.cs:
  11483. - Added handling for various window styles
  11484. - Added handling for popup windows
  11485. - Added SetTopmost handling
  11486. 2004-11-08 13:55 pbartok
  11487. * XplatUIWin32.cs:
  11488. - Added argument to SetTopmost method
  11489. - Fixed broken ClientToScreen function
  11490. 2004-11-08 13:53 pbartok
  11491. * XplatUIStructs.cs:
  11492. - Added missing WS_EX styles
  11493. 2004-11-08 13:53 pbartok
  11494. * XplatUI.cs, XplatUIDriver.cs:
  11495. - Added argument to SetTopmost
  11496. 2004-11-08 13:52 pbartok
  11497. * X11Structs.cs:
  11498. - Added XSetWindowAttributes structure
  11499. - Improved XWindowAttributes structure
  11500. - Added SetWindowValuemask enum
  11501. - Added window creation arguments enum
  11502. - Added gravity enum
  11503. - Added Motif hints structure
  11504. - Added various Motif flags and enums
  11505. - Added PropertyMode enum for property functions
  11506. 2004-11-08 13:50 pbartok
  11507. * Form.cs:
  11508. - Fixed arguments for updated SetTopmost method
  11509. 2004-11-08 13:49 pbartok
  11510. * ToolTip.cs:
  11511. - Fixed arguments for updated SetTopmost function
  11512. - Fixed usage of PointToClient
  11513. 2004-11-08 13:44 pbartok
  11514. * MenuAPI.cs:
  11515. - Added Clipping of children and siblings
  11516. 2004-11-08 13:41 pbartok
  11517. * MainMenu.cs:
  11518. - Removed SetMenuBarWindow call. We do this in Form.cs
  11519. 2004-11-08 13:40 jackson
  11520. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  11521. scrolling jimmi in the correct location with bottom aligned tabs
  11522. 2004-11-08 13:36 pbartok
  11523. * ContainerControl.cs:
  11524. - Implemented BindingContext
  11525. - Implemented ParentForm
  11526. 2004-11-08 12:46 jackson
  11527. * TabControl.cs: Put bottom rendered tabs in the right location
  11528. 2004-11-08 07:15 jordi
  11529. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  11530. removes dead code
  11531. 2004-11-05 17:30 jackson
  11532. * TabControl.cs: When selected tabs are expanded make sure they
  11533. don't go beyond the edges of the tab control
  11534. 2004-11-05 14:57 jackson
  11535. * TabControl.cs: Reset show_slider so if the control is resized to
  11536. a size where it is no longer needed it's not displayed anymore
  11537. 2004-11-05 13:16 jackson
  11538. * TabControl.cs: Make tab pages non visible when added to the
  11539. control
  11540. 2004-11-05 12:42 jackson
  11541. * TabControl.cs: Implement SizeMode.FillToRight
  11542. 2004-11-05 12:16 jackson
  11543. * Control.cs: Do not call CreateHandle if the handle is already
  11544. created
  11545. 2004-11-05 11:46 jackson
  11546. * TabControl.cs: Remove superflous call to CalcTabRows
  11547. 2004-11-05 09:07 jackson
  11548. * XplatUIX11.cs: Update for Mono.Posix changes
  11549. 2004-11-05 07:00 ravindra
  11550. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  11551. scrolling.
  11552. 2004-11-04 22:47 jba
  11553. * ThemeWin32Classic.cs:
  11554. - Fix Button rendering for FlatStyle = Flat or Popup
  11555. - Fix RadioButton and CheckBox rendering when Appearance = Button
  11556. (normal and flatstyle).
  11557. - Correct outer rectangle color when drawing focus rectangle
  11558. - Adjust button bounds to be 1 px smaller when focused
  11559. - Make button not draw sunken 3d border when pushed (windows compat)
  11560. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  11561. - Offset the text in RadioButton and Checkbox when being rendered as
  11562. a button.
  11563. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  11564. radiobuttons
  11565. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  11566. - Fixed disabled text rendering for normally rendered radiobuttons
  11567. 2004-11-04 10:26 jackson
  11568. * TabControl.cs: Recalculate tab rows when resizing
  11569. 2004-11-04 07:47 jordi
  11570. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  11571. collection completion, drawing issues, missing features
  11572. 2004-11-04 05:03 ravindra
  11573. * ScrollBar.cs:
  11574. - We need to recalculate the Thumb area when
  11575. LargeChange/maximum/minimum values are changed.
  11576. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  11577. than minimum. This is required to handle the case if large_change is
  11578. more than max, and use LargeChange property instead of large_change
  11579. variable.
  11580. - We return max+1 when large_change is more than max, like MS does.
  11581. 2004-11-04 04:29 ravindra
  11582. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  11583. - Changed default value signatures (prefixed all with ListView).
  11584. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  11585. ListView.
  11586. - Fixed calculations for ListViewItem and implemented Clone()
  11587. method.
  11588. 2004-11-04 04:26 ravindra
  11589. * Theme.cs, ThemeWin32Classic.cs:
  11590. - Changed default ListView values signatures (prefixed all with
  11591. ListView).
  11592. - Fixed default size values for VScrollBar and HScrollBar.
  11593. - Fixed DrawListViewItem method.
  11594. 2004-11-04 04:05 ravindra
  11595. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  11596. 2004-11-04 04:04 ravindra
  11597. * ImageList.cs: Implemented the missing overload for Draw method.
  11598. 2004-11-03 19:29 jackson
  11599. * TabControl.cs: Handle dropping rows on selection properly
  11600. 2004-11-03 11:59 jackson
  11601. * TabControl.cs: remove debug code
  11602. 2004-11-03 11:52 jackson
  11603. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  11604. the scrolly widgerywoo
  11605. 2004-11-02 13:52 jackson
  11606. * TabControl.cs: Resize the tab pages and tabs when the tab control
  11607. is resized
  11608. 2004-11-02 13:40 jackson
  11609. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  11610. selected tab to the bottom
  11611. 2004-11-02 13:39 jackson
  11612. * TabPage.cs: Store the tab pages row
  11613. 2004-11-02 12:33 jordi
  11614. * MenuItem.cs: fixes handle creation
  11615. 2004-11-02 11:42 jackson
  11616. * TabControl.cs: signature fix
  11617. 2004-11-02 08:56 jackson
  11618. * TabControl.cs: Calculate whether the tab is on an edge properly.
  11619. Remove top secret debugging code
  11620. 2004-11-01 19:57 jackson
  11621. * TabControl.cs: Add click handling, and proper sizing
  11622. 2004-11-01 19:47 jackson
  11623. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  11624. tab controls
  11625. 2004-11-01 19:39 jackson
  11626. * TabPage.cs: add internal property to store the bounds of a tab
  11627. page
  11628. 2004-10-30 04:23 ravindra
  11629. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  11630. values.
  11631. 2004-10-30 04:21 ravindra
  11632. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  11633. fixed calculations.
  11634. 2004-10-30 03:06 pbartok
  11635. * XplatUIX11.cs:
  11636. - Removed extension of DllImported libs
  11637. 2004-10-29 09:55 jordi
  11638. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  11639. navigation, itemcollection completion, menu fixes
  11640. 2004-10-27 22:58 pbartok
  11641. * XplatUIX11.cs:
  11642. - Now throws a nice error message when no X display could be opened
  11643. 2004-10-26 13:51 jordi
  11644. * ListView.cs: removes warning
  11645. 2004-10-26 03:55 ravindra
  11646. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  11647. ThemeWin32Classic.cs: Some formatting for my last checkins.
  11648. 2004-10-26 03:36 ravindra
  11649. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  11650. control and default values.
  11651. 2004-10-26 03:35 ravindra
  11652. * Theme.cs: Added some default values for ListView control.
  11653. 2004-10-26 03:33 ravindra
  11654. * ToolBar.cs: ToolBar should use the user specified button size, if
  11655. there is any. Added a size_specified flag for the same.
  11656. 2004-10-26 03:33 ravindra
  11657. * ColumnHeader.cs: Added some internal members and calculations for
  11658. ColumnHeader.
  11659. 2004-10-26 03:32 ravindra
  11660. * ListViewItem.cs: Calculations for ListViewItem.
  11661. 2004-10-26 03:31 ravindra
  11662. * ListView.cs: Added some internal members and calculations for
  11663. ListView.
  11664. 2004-10-22 13:31 jordi
  11665. * MenuAPI.cs: speedup menus drawing
  11666. 2004-10-22 13:16 jackson
  11667. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  11668. expose event
  11669. 2004-10-22 11:49 jackson
  11670. * Control.cs: oops
  11671. 2004-10-22 11:41 jackson
  11672. * Control.cs: Check to see if the window should have its background
  11673. repainted by X when drawing.
  11674. 2004-10-22 11:31 jackson
  11675. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  11676. clear is true, this way we do not get flicker from X repainting the
  11677. background
  11678. 2004-10-22 11:28 jackson
  11679. * XEventQueue.cs: Queue properly
  11680. 2004-10-21 09:38 jackson
  11681. * XEventQueue.cs: Fix access modifier
  11682. 2004-10-21 09:36 jackson
  11683. * XEventQueue.cs: Don't loose messages
  11684. 2004-10-21 09:22 jackson
  11685. * XEventQueue.cs: Don't loose messages
  11686. 2004-10-20 04:15 jordi
  11687. * BootMode.cs: enum need it by SystemInfo
  11688. 2004-10-19 21:58 pbartok
  11689. * XplatUIWin32.cs:
  11690. - Small sanity check
  11691. 2004-10-19 21:56 pbartok
  11692. * Form.cs:
  11693. - Added private FormParentWindow class which acts as the container
  11694. for our form and as the non-client area where menus are drawn
  11695. - Added/Moved required tie-ins to Jordi's menus
  11696. - Fixed/Implemented the FormStartPosition functionality
  11697. 2004-10-19 21:52 pbartok
  11698. * Control.cs:
  11699. - Removed unneeded locals
  11700. - Added code to all size and location properties to understand and
  11701. deal with the parent container of Form
  11702. 2004-10-19 21:33 pbartok
  11703. * Application.cs:
  11704. - Fixed to deal with new Form subclasses for menus
  11705. 2004-10-19 17:48 jackson
  11706. * XEventQueue.cs: commit correct version of file
  11707. 2004-10-19 16:50 jackson
  11708. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  11709. 2004-10-19 16:15 jordi
  11710. * MenuAPI.cs: MenuBarCalcSize returns the height
  11711. 2004-10-19 08:31 pbartok
  11712. * Control.cs:
  11713. - Added missing call to PreProcessMessage before calling OnXXXKey
  11714. methods
  11715. 2004-10-19 00:04 ravindra
  11716. * ToolTip.cs: Fixed constructor.
  11717. 2004-10-18 09:31 jordi
  11718. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  11719. 2004-10-18 09:26 jordi
  11720. * MenuItem.cs: fixes MenuItem class signature
  11721. 2004-10-18 08:56 jordi
  11722. * MenuAPI.cs: prevents windows from showing in the taskbar
  11723. 2004-10-18 00:28 ravindra
  11724. * ToolTip.cs: Suppressed a warning message.
  11725. 2004-10-18 00:27 ravindra
  11726. * Control.cs: Default value of visible property must be true.
  11727. 2004-10-17 23:19 pbartok
  11728. * ToolTip.cs:
  11729. - Complete implementation
  11730. 2004-10-17 23:19 pbartok
  11731. * XplatUIX11.cs:
  11732. - Added EnableWindow method
  11733. - Added SetModal stub
  11734. - Added generation of WM_ACTIVATE message (still needs testing)
  11735. - Added SetTopMost stub
  11736. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  11737. 2004-10-17 23:17 pbartok
  11738. * XplatUIWin32.cs:
  11739. - Removed VirtualKeys to XplatUIStructs
  11740. - Implemented SetTopMost method
  11741. - Implemented EnableWindow method
  11742. - Bugfix in ScreenToClient()
  11743. - Bugfixes in ClientToScreen()
  11744. 2004-10-17 22:51 pbartok
  11745. * XplatUIStructs.cs:
  11746. - Added WS_EX styles to WindowStyles enumeration
  11747. 2004-10-17 22:50 pbartok
  11748. * XplatUI.cs, XplatUIDriver.cs:
  11749. - Added method for enabling/disabling windows
  11750. - Added method for setting window modality
  11751. - Added method for setting topmost window
  11752. 2004-10-17 22:49 pbartok
  11753. * ThemeWin32Classic.cs:
  11754. - Added ToolTip drawing code
  11755. 2004-10-17 22:49 pbartok
  11756. * Theme.cs:
  11757. - Added ToolTip abstracts
  11758. 2004-10-17 22:47 pbartok
  11759. * Form.cs:
  11760. - Fixed Form.ControlCollection to handle owner relations
  11761. - Added Owner/OwnedForms handling
  11762. - Implemented Z-Ordering for owned forms
  11763. - Removed unneeded private overload of ShowDialog
  11764. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  11765. so I hope)
  11766. - Fixed Close(), had wrong default
  11767. - Added firing of OnLoad event
  11768. - Added some commented out debug code for Ownership handling
  11769. 2004-10-17 22:16 pbartok
  11770. * Control.cs:
  11771. - Fixed/implemented flat list of controls
  11772. 2004-10-17 22:14 pbartok
  11773. * Application.cs:
  11774. - Added code to simulate modal dialogs on Win32
  11775. 2004-10-17 16:11 jordi
  11776. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  11777. mouse event
  11778. 2004-10-17 13:39 jordi
  11779. * MenuAPI.cs: menu drawing fixes
  11780. 2004-10-15 09:10 ravindra
  11781. * StructFormat.cs: General Enum.
  11782. 2004-10-15 09:09 ravindra
  11783. * SizeGripStyle.cs: Enum for Form.
  11784. 2004-10-15 09:08 ravindra
  11785. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  11786. in Theme for ListView.
  11787. 2004-10-15 09:06 ravindra
  11788. * ColumnHeader.cs: Flushing some formatting changes.
  11789. 2004-10-15 09:05 ravindra
  11790. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  11791. style.
  11792. 2004-10-15 09:03 ravindra
  11793. * ListView.cs: Implemented Paint method and fixed coding style.
  11794. 2004-10-15 07:34 jordi
  11795. * MenuAPI.cs: fix for X11
  11796. 2004-10-15 07:32 ravindra
  11797. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  11798. - Renamed Paint() method to Draw() for clarity. Also, moved
  11799. DrawImage() to OnPaint().
  11800. 2004-10-15 07:25 ravindra
  11801. * CheckBox.cs, RadioButton.cs:
  11802. - Removed Redraw (), we get it from ButtonBase.
  11803. - Implemented Paint (), to do class specific painting.
  11804. 2004-10-15 07:16 ravindra
  11805. * ButtonBase.cs:
  11806. - Redraw () is not virtual now.
  11807. - Added an internal virtual method Paint (), so that
  11808. derived classes can do their painting on their own.
  11809. - Modified OnPaint () to call Paint ().
  11810. 2004-10-15 06:43 jordi
  11811. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  11812. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  11813. 2004-10-15 00:30 ravindra
  11814. * MessageBox.cs:
  11815. - MessageBox on windows does not have min/max buttons.
  11816. This change in CreateParams fixes this on Windows. We
  11817. still need to implement this windowstyle behavior in
  11818. our X11 driver.
  11819. 2004-10-14 05:14 ravindra
  11820. * ToolBar.cs:
  11821. - Changed Redraw () to do a Refresh () always.
  11822. - Fixed the MouseMove event handling when mouse is pressed,
  11823. ie drag event handling.
  11824. - Replaced the usage of ToolBarButton.Pressed property to
  11825. ToolBarButton.pressed internal variable.
  11826. 2004-10-14 05:10 ravindra
  11827. * ToolBarButton.cs:
  11828. - Added an internal member 'inside' to handle mouse move
  11829. with mouse pressed ie mouse drag event.
  11830. - Changed 'Pressed' property to return true only when
  11831. 'inside' and 'pressed' are both true.
  11832. - Some coding style love.
  11833. 2004-10-14 00:17 ravindra
  11834. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  11835. public method.
  11836. 2004-10-14 00:15 ravindra
  11837. * ButtonBase.cs: Redraw () related improvements.
  11838. 2004-10-14 00:14 ravindra
  11839. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  11840. removed unnecessary calls to Button.Show () method.
  11841. 2004-10-13 17:50 pbartok
  11842. * XplatUIX11.cs:
  11843. - Formatting fix
  11844. - Removed destroying of window until we solve the problem of X
  11845. destroying the window before us on shutdown
  11846. 2004-10-13 16:32 pbartok
  11847. * ButtonBase.cs:
  11848. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  11849. 2004-10-13 14:18 pbartok
  11850. * XplatUIX11.cs:
  11851. - Added code to destroy the X window
  11852. 2004-10-13 14:18 pbartok
  11853. * XplatUIWin32.cs:
  11854. - Added code to destroy a window
  11855. 2004-10-13 14:12 pbartok
  11856. * ButtonBase.cs:
  11857. - Added the Redraw on Resize that got dropped in the last rev
  11858. 2004-10-13 09:06 pbartok
  11859. * ThemeWin32Classic.cs:
  11860. - Path from John BouAntoun:
  11861. * Fix check rendering (centre correctly for normal style, offset
  11862. correctly for FlatStyle).
  11863. * Fix border color usage (use backcolor) for FlatStyle.Popup
  11864. * Use checkbox.Capture instead of checkbox.is_pressed when
  11865. rendering flatstyle states.
  11866. 2004-10-12 21:48 pbartok
  11867. * ThemeWin32Classic.cs:
  11868. - Removed all occurences of SystemColors and replaced them with the
  11869. matching theme color
  11870. 2004-10-12 21:41 pbartok
  11871. * ThemeWin32Classic.cs:
  11872. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  11873. him using the function for flatstyle drawing
  11874. - Changed functions to use the new version of CPDrawBorder3D
  11875. 2004-10-12 21:15 pbartok
  11876. * ControlPaint.cs:
  11877. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  11878. match MS documentation. They need to return defined colors if the
  11879. passed color matches the configured control color. Thanks to John
  11880. BouAntoun for pointing this out.
  11881. 2004-10-12 20:57 pbartok
  11882. * Control.cs:
  11883. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  11884. color is changed
  11885. 2004-10-12 20:46 pbartok
  11886. * CheckBox.cs:
  11887. - Fix from John BouAntoun: Now properly sets the Appearance property
  11888. 2004-10-12 20:45 pbartok
  11889. * ThemeWin32Classic.cs:
  11890. - Fixes from John BouAntoun: now handles forecolors and backcolors
  11891. for flatstyle rendered controls much better; It also fixes normal
  11892. checkbox rendering when pushed or disabled.
  11893. 2004-10-08 02:50 jordi
  11894. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  11895. work
  11896. 2004-10-07 08:56 jordi
  11897. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  11898. 2004-10-06 03:59 jordi
  11899. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  11900. XplatUIWin32.cs: removes warnings from compilation
  11901. 2004-10-05 12:23 jackson
  11902. * RadioButton.cs: Fix ctor
  11903. 2004-10-05 11:10 pbartok
  11904. * MessageBox.cs:
  11905. - Partial implementation by Benjamin Dasnois
  11906. 2004-10-05 10:15 jackson
  11907. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  11908. by John BouAntoun
  11909. 2004-10-05 03:07 ravindra
  11910. * ToolBar.cs:
  11911. - Removed a private method, Draw ().
  11912. - Fixed the ButtonDropDown event handling.
  11913. - Fixed MouseMove event handling.
  11914. 2004-10-05 03:04 ravindra
  11915. * ThemeWin32Classic.cs:
  11916. - Added DrawListView method and ListViewDefaultSize property.
  11917. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  11918. - Changed DOS style CRLF to Unix format (dos2unix).
  11919. 2004-10-05 03:03 ravindra
  11920. * Theme.cs:
  11921. - Added DrawListView method and ListViewDefaultSize property.
  11922. 2004-10-05 02:42 ravindra
  11923. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  11924. clicks on DropDown arrow.
  11925. 2004-10-04 22:56 jackson
  11926. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  11927. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  11928. Control handle the buffers, derived classes should not have to
  11929. CreateBuffers themselves.
  11930. 2004-10-04 21:20 jackson
  11931. * StatusBar.cs: The control handles resizing the buffers now.
  11932. 2004-10-04 21:18 jackson
  11933. * Control.cs: When resizing the buffers should be invalidated. This
  11934. should be handled in Control not in derived classes.
  11935. 2004-10-04 14:45 jackson
  11936. * TabPage.cs: oops
  11937. 2004-10-04 02:14 pbartok
  11938. * LeftRightAlignment.cs:
  11939. - Initial check-in
  11940. 2004-10-04 01:09 jordi
  11941. * ThemeWin32Classic.cs: fixes right button position causing right
  11942. button not showing on horizontal scrollbars
  11943. 2004-10-02 13:12 pbartok
  11944. * XplatUIX11.cs:
  11945. - Simplified the Invalidate method by using an X call instead of
  11946. generating the expose ourselves
  11947. - Added an expose when the window background is changed
  11948. - Implemented ClientToScreen method
  11949. 2004-10-02 13:08 pbartok
  11950. * XplatUIWin32.cs:
  11951. - Added Win32EnableWindow method (test for implementing modal
  11952. dialogs)
  11953. - Added ClientToScreen method and imports
  11954. 2004-10-02 13:07 pbartok
  11955. * XplatUI.cs, XplatUIDriver.cs:
  11956. - Added ClientToScreen coordinate translation method
  11957. 2004-10-02 13:06 pbartok
  11958. * KeyPressEventArgs.cs:
  11959. - Fixed access level for constructor
  11960. 2004-10-02 13:06 pbartok
  11961. * NativeWindow.cs:
  11962. - Changed access level for the window_collection hash table
  11963. 2004-10-02 13:05 pbartok
  11964. * Form.cs:
  11965. - Added KeyPreview property
  11966. - Added Menu property (still incomplete, pending Jordi's menu work)
  11967. - Implemented ProcessCmdKey
  11968. - Implemented ProcessDialogKey
  11969. - Implemented ProcessKeyPreview
  11970. 2004-10-02 13:02 pbartok
  11971. * Control.cs:
  11972. - Added private method to get the Control object from the window
  11973. handle
  11974. - Implemented ContextMenu property
  11975. - Implemented PointToScreen
  11976. - Implemented PreProcessMessage
  11977. - Implemented IsInputChar
  11978. - Implemented IsInputKey
  11979. - Implemented ProcessCmdKey
  11980. - Completed ProcessKeyEventArgs
  11981. - Fixed message loop to call the proper chain of functions on key
  11982. events
  11983. - Implemented ProcessDialogChar
  11984. - Implemented ProcessDialogKey
  11985. - Implemented ProcessKeyMessage
  11986. - Implemented ProcessKeyPreview
  11987. - Added RaiseDragEvent stub (MS internal method)
  11988. - Added RaiseKeyEvent stub (MS internal method)
  11989. - Added RaiseMouseEvent stub (MS Internal method)
  11990. - Added RaisePaintEvent stub (MS Internal method)
  11991. - Added ResetMouseEventArgs stub (MS Internal method)
  11992. - Implemented RtlTranslateAlignment
  11993. - Implemented RtlTranslateContent
  11994. - Implemented RtlTranslateHorizontal
  11995. - Implemented RtlTranslateLeftRight
  11996. - Added generation of KeyPress event
  11997. 2004-10-02 05:57 ravindra
  11998. * ListViewItem.cs: Added attributes.
  11999. 2004-10-02 05:32 ravindra
  12000. * ListView.cs: Added attributes.
  12001. 2004-10-01 11:53 jackson
  12002. * Form.cs: Implement the Close method so work on MessageBox can
  12003. continue.
  12004. 2004-09-30 14:06 pbartok
  12005. * XplatUIX11.cs:
  12006. - Bug fixes
  12007. 2004-09-30 11:34 jackson
  12008. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12009. 2004-09-30 07:26 ravindra
  12010. * ListViewItemConverter.cs: Converter for ListViewItem.
  12011. 2004-09-30 07:26 ravindra
  12012. * SortOrder.cs: Enum for ListView control.
  12013. 2004-09-30 07:25 ravindra
  12014. * ColumnHeader.cs: Supporting class for ListView control.
  12015. 2004-09-30 07:24 ravindra
  12016. * ListView.cs, ListViewItem.cs: Initial implementation.
  12017. 2004-09-30 07:20 ravindra
  12018. * ItemActivation.cs: Enum for ListView Control.
  12019. 2004-09-29 20:29 pbartok
  12020. * XplatUIX11.cs:
  12021. - Added lookup of pixel value for background color; tries to get a
  12022. color 'close' to the requested color, it avoids having to create a
  12023. colormap. Depending on the display this could mean the used color
  12024. is slightly off the desired color. Might have to change it to a more
  12025. resource intensive colormap approach, but it will work as a
  12026. workaround to avoid red screens.
  12027. 2004-09-29 14:27 jackson
  12028. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12029. 2004-09-28 12:44 pbartok
  12030. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12031. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12032. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12033. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12034. TrackBar.cs, VScrollBar.cs:
  12035. - Streamlined Theme interfaces:
  12036. * Each DrawXXX method for a control now is passed the object for
  12037. the control to be drawn in order to allow accessing any state the
  12038. theme might require
  12039. * ControlPaint methods for the theme now have a CP prefix to avoid
  12040. name clashes with the Draw methods for controls
  12041. * Every control now retrieves it's DefaultSize from the current
  12042. theme
  12043. 2004-09-28 12:17 jackson
  12044. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12045. drawing
  12046. 2004-09-24 14:57 jackson
  12047. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12048. Gives us a nice little performance boost.
  12049. 2004-09-24 12:02 jackson
  12050. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12051. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12052. Control and supporting classes. Initial checkin
  12053. 2004-09-23 13:08 jackson
  12054. * Form.cs: Temp build fixage
  12055. 2004-09-23 01:39 ravindra
  12056. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12057. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12058. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12059. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12060. EventHandlers needed by ListView Control.
  12061. 2004-09-22 14:12 pbartok
  12062. * ScrollableControl.cs:
  12063. - Implemented DockPadding property
  12064. - Implemented AutoScroll property
  12065. - Implemented AutoScrollMargin property
  12066. - Implemented AutoScrollMinSize property
  12067. - Implemented AutoScrollPosition property
  12068. - Implemented DisplayRectangle property (still incomplete)
  12069. - Implemented CreateParams property
  12070. - Implemented HScroll property
  12071. - Implemented VScroll property
  12072. - Implemented OnVisibleChanged property
  12073. 2004-09-22 14:09 pbartok
  12074. * Form.cs:
  12075. - Added Form.ControllCollection class
  12076. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12077. RemoveOwnedForm (still incomplete, missing on-top and common
  12078. minimize/maximize behaviour)
  12079. - Added StartPosition property (still incomplete, does not use when
  12080. creating the form)
  12081. - Added ShowDialog() methods (still incomplete, missing forcing the
  12082. dialog modal)
  12083. 2004-09-22 14:05 pbartok
  12084. * Application.cs:
  12085. - Added message loop for modal dialogs
  12086. 2004-09-22 14:02 pbartok
  12087. * GroupBox.cs:
  12088. - Fixed wrong types for events
  12089. 2004-09-22 14:00 pbartok
  12090. * Shortcut.cs, FormWindowState.cs:
  12091. - Fixed wrong values
  12092. 2004-09-22 12:01 jackson
  12093. * Control.cs: Text is never null
  12094. 2004-09-20 22:14 pbartok
  12095. * XplatUIWin32.cs:
  12096. - Fixed accessibility level for Idle handler
  12097. 2004-09-20 18:54 jackson
  12098. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12099. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12100. busy loop
  12101. 2004-09-17 10:43 pbartok
  12102. * ScrollBar.cs:
  12103. - Fixed behaviour of arrow buttons. Now properly behaves like
  12104. Buttons (and like Microsoft's scrollbar arrow buttons)
  12105. 2004-09-17 10:14 pbartok
  12106. * ScrollBar.cs:
  12107. - Added missing release of keyboard/mouse capture
  12108. 2004-09-17 06:18 jordi
  12109. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12110. Theme.cs: Very early menu support
  12111. 2004-09-16 17:45 pbartok
  12112. * XplatUIWin32.cs:
  12113. - Fixed sending a window to the front
  12114. - Added overload for SetWindowPos to avoid casting
  12115. 2004-09-16 17:44 pbartok
  12116. * Control.cs:
  12117. - Added SendToBack and BringToFront methods
  12118. 2004-09-16 07:00 ravindra
  12119. * Copyright: Added Novell URL.
  12120. 2004-09-16 07:00 ravindra
  12121. * ToolBar.cs: Invalidate should be done before redrawing.
  12122. 2004-09-15 21:19 ravindra
  12123. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12124. 2004-09-15 21:18 ravindra
  12125. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12126. ListView Control.
  12127. 2004-09-13 18:26 jackson
  12128. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12129. properly
  12130. 2004-09-13 18:13 jackson
  12131. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12132. a second thread and post messages into the main threads message
  12133. queue. This makes timing much more consistent. Both win2K and XP
  12134. have a minimum timer value of 15 milliseconds, so we now do this
  12135. too.
  12136. 2004-09-13 15:18 pbartok
  12137. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12138. XplatUIX11.cs:
  12139. - Added Z-Ordering methods
  12140. 2004-09-13 10:56 pbartok
  12141. * Form.cs:
  12142. - Fixed #region names
  12143. - Moved properties and methods into their proper #regions
  12144. 2004-09-13 10:51 pbartok
  12145. * Form.cs:
  12146. - Added Accept and CancelButton properties
  12147. - Added ProcessDialogKey() method
  12148. 2004-09-13 08:18 pbartok
  12149. * IWindowTarget.cs:
  12150. - Initial check-in
  12151. 2004-09-10 21:50 pbartok
  12152. * Control.cs:
  12153. - Added DoDragDrop() [incomplete]
  12154. - Properly implemented 'Visible' handling
  12155. - Added SetVisibleCore()
  12156. - Implemented FindChildAtPoint()
  12157. - Implemented GetContainerControl()
  12158. - Implemented Hide()
  12159. 2004-09-10 19:28 pbartok
  12160. * Control.cs:
  12161. - Moved methods into their appropriate #regions
  12162. - Reordered methods within regions alphabetically
  12163. 2004-09-10 18:57 pbartok
  12164. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12165. - Added method to retrieve text from window
  12166. 2004-09-10 18:56 pbartok
  12167. * Control.cs:
  12168. - Moved some internal functions into the internal region
  12169. - Implemented FontHeight
  12170. - Implemented RenderRightToLeft
  12171. - Implemented ResizeRedraw
  12172. - Implemented ShowFocusCues
  12173. - Implemented ShowKeyboardCues
  12174. - Implemented FromChildHandle
  12175. - Implemented FromHandle
  12176. - Implemented IsMnemonic
  12177. - Implemented ReflectMessage
  12178. - All public and protected Static Methods are now complete
  12179. 2004-09-10 16:54 pbartok
  12180. * Control.cs:
  12181. - Implemented remaining missing public instance properties
  12182. - Alphabetized some out of order properties
  12183. 2004-09-10 05:51 ravindra
  12184. * PictureBox.cs: Added a check for null image.
  12185. 2004-09-10 00:59 jordi
  12186. * GroupBox.cs: remove cvs tag
  12187. 2004-09-09 05:25 ravindra
  12188. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12189. 2004-09-09 05:23 ravindra
  12190. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12191. parent redraw.
  12192. 2004-09-09 02:28 pbartok
  12193. * ThemeWin32Classic.cs:
  12194. - Improve disabled string look
  12195. 2004-09-09 01:15 jordi
  12196. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12197. args and handler
  12198. 2004-09-08 23:56 ravindra
  12199. * ItemBoundsPortion.cs: It's enum, not a class!
  12200. 2004-09-08 23:47 ravindra
  12201. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12202. Enums for Form.
  12203. 2004-09-08 21:13 ravindra
  12204. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12205. ListView control.
  12206. 2004-09-08 21:03 ravindra
  12207. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12208. avoid crash.
  12209. 2004-09-08 21:01 ravindra
  12210. * ScrollableControl.cs: Removed unreachable code.
  12211. 2004-09-08 06:45 jordi
  12212. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12213. 2004-09-08 01:00 jackson
  12214. * XplatUIX11.cs: Only run the timers when updating the message
  12215. queue. This effectively gives X messages a higher priority then
  12216. timer messages. Timers still need love though
  12217. 2004-09-07 14:01 jackson
  12218. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12219. this for us and the handle is no longer valid.
  12220. 2004-09-07 13:59 jackson
  12221. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12222. loop that manages to not crash. TODO: Add poll and cleanup timers
  12223. 2004-09-07 11:12 jordi
  12224. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12225. 2004-09-07 03:40 jordi
  12226. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12227. fixes, methods, multiple links
  12228. 2004-09-06 06:55 jordi
  12229. * Control.cs: Caches ClientRectangle rectangle value
  12230. 2004-09-05 02:03 jordi
  12231. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12232. certain situations
  12233. 2004-09-04 11:10 jordi
  12234. * Label.cs: Refresh when font changed
  12235. 2004-09-02 16:24 pbartok
  12236. * Control.cs:
  12237. - Added sanity check to creation of double buffer bitmap
  12238. 2004-09-02 16:24 pbartok
  12239. * ButtonBase.cs:
  12240. - Fixed selection of text color
  12241. - Fixed handling of resize event; now properly recreates double
  12242. buffering bitmap
  12243. - Added missing assignment of TextAlignment
  12244. - Added proper default for TextAlignment
  12245. 2004-09-02 14:26 pbartok
  12246. * RadioButton.cs:
  12247. - Added missing RadioButton.RadioButtonAccessibleObject class
  12248. 2004-09-02 14:26 pbartok
  12249. * Control.cs:
  12250. - Added missing Control.ControlAccessibleObject class
  12251. - Started to implement Select()ion mechanisms, still very incomplete
  12252. 2004-09-02 14:25 pbartok
  12253. * AccessibleObject.cs:
  12254. - Added missing methods
  12255. 2004-09-02 14:23 pbartok
  12256. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12257. - Initial check-in
  12258. 2004-09-02 10:32 jordi
  12259. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12260. pool for pens, brushes, and hatchbruses
  12261. 2004-09-01 15:30 jackson
  12262. * StatusBar.cs: Fix typo
  12263. 2004-09-01 14:44 pbartok
  12264. * RadioButton.cs:
  12265. - Fixed state
  12266. 2004-09-01 14:39 pbartok
  12267. * Button.cs, RadioButton.cs:
  12268. - Functional initial check-in
  12269. 2004-09-01 14:01 pbartok
  12270. * CheckBox.cs:
  12271. - Added missing default
  12272. - Added missing region mark
  12273. 2004-09-01 09:10 jordi
  12274. * Label.cs: fixes method signatures, new methods, events, fixes
  12275. autosize
  12276. 2004-09-01 07:19 jordi
  12277. * Control.cs: Init string variables with an empty object
  12278. 2004-09-01 04:20 jordi
  12279. * Control.cs: fires OnFontChanged event
  12280. 2004-08-31 20:07 pbartok
  12281. * ButtonBase.cs:
  12282. - Enabled display of strings
  12283. 2004-08-31 20:05 pbartok
  12284. * Form.cs:
  12285. - Added (partial) implementation of DialogResult; rest needs to be
  12286. implemented when the modal loop code is done
  12287. 2004-08-31 19:55 pbartok
  12288. * CheckBox.cs:
  12289. - Fixed to match the removal of the needs_redraw concept
  12290. 2004-08-31 19:55 pbartok
  12291. * ButtonBase.cs:
  12292. - Removed the rather odd split between 'needs redraw' and redrawing
  12293. - Now handles the events that require regeneration (ambient
  12294. properties and size)
  12295. 2004-08-31 19:41 pbartok
  12296. * Control.cs:
  12297. - Added firing of BackColorChanged event
  12298. - Added TopLevelControl property
  12299. - Fixed handling of WM_ERASEBKGRND message
  12300. 2004-08-31 12:49 pbartok
  12301. * ButtonBase.cs:
  12302. - Removed debug
  12303. - Minor fixes
  12304. 2004-08-31 12:48 pbartok
  12305. * CheckBox.cs:
  12306. - Finished (famous last words)
  12307. 2004-08-31 04:35 jordi
  12308. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12309. scrolling bugs, adds new methods
  12310. 2004-08-30 14:42 pbartok
  12311. * CheckBox.cs:
  12312. - Implemented CheckBox drawing code
  12313. 2004-08-30 14:42 pbartok
  12314. * ButtonBase.cs:
  12315. - Made Redraw() and CheckRedraw() virtual
  12316. - Improved mouse up/down/move logic to properly track buttons
  12317. 2004-08-30 09:44 pbartok
  12318. * CheckBox.cs:
  12319. - Updated to fix broken build. Not complete yet.
  12320. 2004-08-30 09:28 pbartok
  12321. * CheckState.cs:
  12322. - Initial checkin
  12323. 2004-08-30 09:17 pbartok
  12324. * Appearance.cs:
  12325. - Initial check-in
  12326. 2004-08-27 16:12 ravindra
  12327. * ToolBarButton.cs: Added TypeConverter attribute.
  12328. 2004-08-27 16:07 ravindra
  12329. * ImageIndexConverter.cs: Implemented.
  12330. 2004-08-27 14:17 pbartok
  12331. * Control.cs:
  12332. - Removed unneeded stack vars
  12333. - First attempt to fix sizing issues when layout is suspended
  12334. 2004-08-25 15:35 jordi
  12335. * ScrollBar.cs: more fixes to scrollbar
  12336. 2004-08-25 14:04 ravindra
  12337. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  12338. Added the missing divider code and grip for ToolBar Control.
  12339. 2004-08-25 13:20 pbartok
  12340. * Control.cs:
  12341. - Control now properly passes the ambient background color to child
  12342. controls
  12343. 2004-08-25 13:20 jordi
  12344. * ScrollBar.cs: small bug fix regarding bar position
  12345. 2004-08-25 12:33 pbartok
  12346. * Timer.cs:
  12347. - Now only calls SetTimer or KillTimer if the enabled state has
  12348. changed
  12349. 2004-08-25 12:33 pbartok
  12350. * XplatUIWin32.cs:
  12351. - Fixed timer handling, now seems to work
  12352. - Improved error message for window creation
  12353. 2004-08-25 12:32 pbartok
  12354. * Control.cs:
  12355. - Fixed generation of MouseUp message
  12356. 2004-08-25 12:29 jordi
  12357. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  12358. and fixes for progressbar
  12359. 2004-08-24 18:43 ravindra
  12360. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  12361. in ToolBar control.
  12362. 2004-08-24 17:15 pbartok
  12363. * Panel.cs:
  12364. - Added #region
  12365. - Added missing events
  12366. - Alphabetized
  12367. 2004-08-24 17:14 pbartok
  12368. * StatusBar.cs, PictureBox.cs:
  12369. - Now uses Control's CreateParams
  12370. 2004-08-24 16:36 pbartok
  12371. * XplatUIX11.cs:
  12372. - Fixed background color handling
  12373. - Fixed sending of enter/leave events on a grab
  12374. 2004-08-24 16:35 pbartok
  12375. * X11Structs.cs:
  12376. - Refined definitions for CrossingEvent
  12377. 2004-08-24 12:37 jordi
  12378. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  12379. formmating, methods signature, and adds missing events
  12380. 2004-08-24 12:24 jordi
  12381. * Control.cs: fire OnEnabledChanged event
  12382. 2004-08-24 11:17 pbartok
  12383. * XplatUIWin32.cs:
  12384. - Implemented SetTimer() and KillTimer()
  12385. 2004-08-24 11:16 pbartok
  12386. * XplatUIX11.cs:
  12387. - Now uses Remove instead of Add to kill the timer
  12388. 2004-08-24 10:16 jackson
  12389. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  12390. picture boxes in the theme now. Draw picture box borders and obey
  12391. sizing modes
  12392. 2004-08-24 05:49 jackson
  12393. * Timer.cs: Remove top secret debugging code
  12394. 2004-08-24 05:34 jackson
  12395. * PictureBox.cs: Temp hack to make picture boxes draw their full
  12396. image
  12397. 2004-08-24 05:29 jackson
  12398. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12399. XplatUIX11.cs: Move timers to the driver level. On X they are
  12400. queued by the driver and checked on idle.
  12401. 2004-08-24 01:07 jackson
  12402. * XplatUIX11.cs: Use a queue for async messages instead of passing
  12403. them as ClientMessages since that was totally broken. Also simply
  12404. check for events and return an idle message if none are found. This
  12405. gives us an idle handler, and prevents deadlocking when no messages
  12406. are in the queue.
  12407. 2004-08-23 18:19 ravindra
  12408. * XplatUIWin32.cs: Removed the unwanted destructor.
  12409. 2004-08-23 17:27 pbartok
  12410. * ButtonBase.cs:
  12411. - Finishing touches. Works now, just needs some optimizations.
  12412. 2004-08-23 16:53 jordi
  12413. * ScrollBar.cs: small fix
  12414. 2004-08-23 16:45 pbartok
  12415. * Application.cs:
  12416. - Removed debug output
  12417. - Simplifications
  12418. 2004-08-23 16:43 jordi
  12419. * ScrollBar.cs: [no log message]
  12420. 2004-08-23 16:10 pbartok
  12421. * Form.cs:
  12422. - Fixed handling of WM_CLOSE message
  12423. - Removed debug output
  12424. 2004-08-23 16:09 pbartok
  12425. * Application.cs:
  12426. - Added handling of Idle event
  12427. - Added handling of form closing
  12428. - Fixed reporting of MessageLoop property
  12429. - Removed some unneeded code, should provide a bit of a speedup
  12430. 2004-08-23 15:22 pbartok
  12431. * Control.cs:
  12432. - Added InitLayout() method
  12433. - Added code to properly perform layout when Anchor or Dock property
  12434. is changed
  12435. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  12436. LAMESPEC, tried to do it in a way that makes sense
  12437. 2004-08-23 14:10 jordi
  12438. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  12439. properties and methods
  12440. 2004-08-23 13:55 pbartok
  12441. * Control.cs:
  12442. - Properly fixed Jordi's last fix
  12443. - Now uses Cursor's Position property instead of calling XplatUI
  12444. directly
  12445. 2004-08-23 13:44 jordi
  12446. * PaintEventHandler.cs: Adding missing attribute
  12447. 2004-08-23 13:39 pbartok
  12448. * Cursor.cs:
  12449. - Implemented Position property
  12450. 2004-08-23 13:39 pbartok
  12451. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12452. - Added method to move mouse cursor
  12453. 2004-08-23 13:39 pbartok
  12454. * XplatUIX11.cs:
  12455. - Fixed setting of background color
  12456. - Added method to move mouse cursor
  12457. 2004-08-23 13:16 jordi
  12458. * Control.cs: avoids null exception
  12459. 2004-08-22 17:46 jackson
  12460. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  12461. PictureBox
  12462. 2004-08-22 17:40 jackson
  12463. * XplatUIX11.cs: Add some missing locks
  12464. 2004-08-22 15:10 pbartok
  12465. * Control.cs, Form.cs:
  12466. - Removed OverlappedWindow style from Control, instead it's default
  12467. now is child
  12468. - Made form windows OverlappedWindow by default
  12469. 2004-08-22 13:34 jackson
  12470. * ScrollBar.cs: Update the position through the Value property so
  12471. the OnValueChanged event is raised.
  12472. 2004-08-22 12:04 pbartok
  12473. * SWF.csproj:
  12474. - Added Cursor.cs and UserControl.cs
  12475. 2004-08-22 12:03 pbartok
  12476. * Cursor.cs:
  12477. - Started implementation, not usable yet
  12478. 2004-08-22 12:00 pbartok
  12479. * UserControl.cs:
  12480. - Implemented UserControl (complete)
  12481. 2004-08-21 19:20 ravindra
  12482. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  12483. 2004-08-21 18:49 ravindra
  12484. * ToolBar.cs: Probably this completes the missing attributes in
  12485. toolbar control.
  12486. 2004-08-21 18:03 ravindra
  12487. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  12488. Fixed toolbar control signatures.
  12489. 2004-08-21 16:32 pbartok
  12490. * LinkLabel.cs:
  12491. - Signature Fixes
  12492. 2004-08-21 16:30 pbartok
  12493. * Label.cs:
  12494. - Signature fixes
  12495. 2004-08-21 16:19 pbartok
  12496. * Control.cs, Label.cs:
  12497. - Signature fixes
  12498. 2004-08-21 15:57 pbartok
  12499. * ButtonBase.cs:
  12500. - Added loads of debug output for development
  12501. - Fixed typo in method name
  12502. 2004-08-21 15:52 pbartok
  12503. * ToolBarButtonClickEventArgs.cs:
  12504. - Added missing base class
  12505. 2004-08-21 14:53 pbartok
  12506. * Control.cs:
  12507. - Updated to match new GrabWindow signature
  12508. 2004-08-21 14:51 pbartok
  12509. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12510. - Added method to get default display size
  12511. 2004-08-21 14:23 pbartok
  12512. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12513. - Added method to query current grab state
  12514. - Added argument to allow confining a grab to a window
  12515. 2004-08-21 14:22 pbartok
  12516. * Keys.cs:
  12517. - Added [Flags] attribute so that modifiers can be used in bitwise
  12518. ops
  12519. 2004-08-21 14:21 pbartok
  12520. * TrackBar.cs, ScrollBar.cs:
  12521. - Replaced direct XplatUI calls with their Control counterpart
  12522. 2004-08-21 13:32 pbartok
  12523. * Control.cs:
  12524. - Implemented Created property
  12525. 2004-08-21 13:28 pbartok
  12526. * Control.cs:
  12527. - Implemented ContainsFocus
  12528. 2004-08-21 13:26 pbartok
  12529. * Control.cs:
  12530. - Implemented CausesValidation
  12531. 2004-08-21 13:21 pbartok
  12532. * Control.cs:
  12533. - Implemented CanFocus
  12534. - Implemented CanSelect
  12535. - Implemented Capture
  12536. 2004-08-21 12:35 pbartok
  12537. * XplatUIWin32.cs:
  12538. - Fixed bug with Async message handling
  12539. - Implemented getting the ModifierKeys
  12540. 2004-08-21 12:32 jackson
  12541. * AsyncMethodResult.cs: Make sure we have the mutex before we
  12542. release it. Fixes BeginInvoke on windows
  12543. 2004-08-21 11:31 pbartok
  12544. * XplatUIWin32.cs, XplatUIX11.cs:
  12545. - Drivers now return proper mouse state
  12546. 2004-08-21 10:54 jackson
  12547. * Control.cs: Implement EndInvoke
  12548. 2004-08-21 10:48 jackson
  12549. * Timer.cs: Remove unneeded finalizer
  12550. 2004-08-20 19:52 ravindra
  12551. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  12552. in mouse event handling in the ToolBar control.
  12553. 2004-08-20 19:50 ravindra
  12554. * ImageList.cs: Changed draw method to use the arguments passed in
  12555. to draw the image.
  12556. 2004-08-20 18:58 pbartok
  12557. * XplatUIStructs.cs:
  12558. - Added private message for async communication
  12559. 2004-08-20 17:38 ravindra
  12560. * Control.cs: Made RightToLeft property virtual and removed a
  12561. Console.WriteLine.
  12562. 2004-08-20 14:39 jordi
  12563. * ThemeGtk.cs: use style_attach
  12564. 2004-08-20 14:39 pbartok
  12565. * XplatUIWin32.cs:
  12566. - Added jackson's Async code from X11 to Win32
  12567. 2004-08-20 14:09 pbartok
  12568. * SWF.csproj:
  12569. - Added all new files
  12570. 2004-08-20 14:09 pbartok
  12571. * Control.cs:
  12572. - Added call to set window background color
  12573. 2004-08-20 14:03 pbartok
  12574. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12575. - Added method for setting the window background
  12576. 2004-08-20 14:02 pbartok
  12577. * XplatUIWin32.cs:
  12578. - Added method for setting the background color
  12579. - Added handling for erasing the window background
  12580. 2004-08-20 13:45 jordi
  12581. * TrackBar.cs: fixes timer, new properties and methods
  12582. 2004-08-20 13:34 jackson
  12583. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  12584. correct thread
  12585. 2004-08-20 13:22 jackson
  12586. * Timer.cs: Timer Tick events are now handed through Controls Async
  12587. mechanism so the callbacks are executed in the same thread as X
  12588. 2004-08-20 13:19 jackson
  12589. * XplatUIDriver.cs: Expose functionality to send async messages
  12590. through the driver
  12591. 2004-08-20 13:18 jackson
  12592. * Control.cs: Implement Begininvoke
  12593. 2004-08-20 13:14 jackson
  12594. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  12595. messages through the driver
  12596. 2004-08-20 13:12 jackson
  12597. * XplatUIX11.cs: Lock before all X operations. Also added Async
  12598. method functionality through XSendEvent
  12599. 2004-08-20 13:11 jackson
  12600. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  12601. This will screw up on 64 bit systems)
  12602. 2004-08-20 13:10 jackson
  12603. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  12604. Async messages through X/Win32
  12605. 2004-08-19 19:39 pbartok
  12606. * XplatUIX11.cs:
  12607. - Updated code to match new HandleData.DeviceContext type
  12608. 2004-08-19 19:38 pbartok
  12609. * HandleData.cs:
  12610. - Made DeviceContext a generic object to allow usage from various
  12611. drivers
  12612. - Added support for queueing Windows messages
  12613. 2004-08-19 19:37 pbartok
  12614. * XplatUIWin32.cs:
  12615. - Added generation of MouseEnter, MouseLeave and MouseHover events
  12616. - Added cleanup on EndPaint
  12617. 2004-08-19 19:17 pbartok
  12618. * Control.cs:
  12619. - Added handling of WM_MOUSEHOVER
  12620. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  12621. code
  12622. 2004-08-19 18:55 jordi
  12623. * ThemeGtk.cs: fixes button order
  12624. 2004-08-19 18:12 jordi
  12625. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  12626. 2004-08-19 17:09 pbartok
  12627. * Control.cs:
  12628. - Added Right property
  12629. - Added RightToLeft property
  12630. 2004-08-19 16:27 jordi
  12631. * ThemeGtk.cs: experimental GTK theme support
  12632. 2004-08-19 16:26 jordi
  12633. * ITheme.cs, Theme.cs: move themes from an interface to a class
  12634. 2004-08-19 16:25 jordi
  12635. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  12636. theme enhancaments
  12637. 2004-08-19 16:04 pbartok
  12638. * XplatUIX11.cs:
  12639. - Added colormap basics
  12640. - Added a way to re-initialize with a different display handle
  12641. - Fixed setting of the window background color
  12642. - Added various X11 imports related to colors and colormaps
  12643. 2004-08-19 15:51 pbartok
  12644. * X11Structs.cs:
  12645. - Removed packing hints (Paolo suggested this a while back)
  12646. - fixed colormap type
  12647. - Added default Atom types
  12648. - Added Screen and color structs and enums
  12649. 2004-08-19 15:39 pbartok
  12650. * ImageList.cs:
  12651. - Added missing Draw() method
  12652. - Added missing RecreateHandle event
  12653. 2004-08-19 15:30 pbartok
  12654. * Form.cs:
  12655. - Added handling of WM_CLOSE
  12656. 2004-08-18 13:16 jordi
  12657. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  12658. a table
  12659. 2004-08-18 09:56 jordi
  12660. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  12661. 2004-08-17 15:31 ravindra
  12662. * SWF.csproj: Updated project.
  12663. 2004-08-17 15:25 pbartok
  12664. * Control.cs:
  12665. - Drawing improvement; don't call UpdateBounds if we are not visible
  12666. (or have been minimized)
  12667. 2004-08-17 15:24 pbartok
  12668. * XplatUIWin32.cs:
  12669. - Finished IsVisible
  12670. - Added Win32GetWindowPlacement
  12671. 2004-08-17 15:08 jackson
  12672. * Panel.cs: Initial checkin of the Panel
  12673. 2004-08-17 14:25 pbartok
  12674. * Control.cs:
  12675. - Fixed broken handling of default window sizes
  12676. 2004-08-17 13:29 jackson
  12677. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  12678. has a large startup time.
  12679. 2004-08-17 10:25 jackson
  12680. * HandleData.cs: union areas properly
  12681. 2004-08-17 10:12 jackson
  12682. * HandleData.cs: union areas properly
  12683. 2004-08-16 20:00 ravindra
  12684. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  12685. 2004-08-16 18:48 ravindra
  12686. * ToolBar.cs: Added attributes.
  12687. 2004-08-16 17:17 ravindra
  12688. * SWF.csproj: Updated project.
  12689. 2004-08-16 17:16 jackson
  12690. * XplatUIX11.cs: Check for more expose events before sending a
  12691. WM_PAINT so they can all be grouped together. This makes dragging a
  12692. window across another window redraw in a sane way.
  12693. 2004-08-16 15:47 pbartok
  12694. * Control.cs:
  12695. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  12696. support OnMouseEnter/Leave()
  12697. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  12698. exposure handling
  12699. 2004-08-16 15:46 pbartok
  12700. * XplatUIStructs.cs, XplatUIX11.cs:
  12701. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  12702. OnMouseEnter/Leave()
  12703. 2004-08-16 15:34 jackson
  12704. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  12705. sure messages get the message field set to WM_NULL if they are not
  12706. handled.
  12707. 2004-08-16 15:24 jackson
  12708. * HandleData.cs: HandleData is used for storing message information
  12709. for window handles
  12710. 2004-08-15 17:23 ravindra
  12711. * ColorDepth.cs: Added attribute.
  12712. 2004-08-15 17:23 ravindra
  12713. * SWF.csproj: Updated project for ToolBar Control.
  12714. 2004-08-15 17:20 ravindra
  12715. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  12716. control and also dos2unix format.
  12717. 2004-08-15 17:13 ravindra
  12718. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  12719. ToolBarButtonClickEventArgs.cs,
  12720. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  12721. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  12722. 2004-08-15 15:31 pbartok
  12723. * ButtonBase.cs:
  12724. - First (mostly) working version
  12725. 2004-08-13 16:15 pbartok
  12726. * Control.cs:
  12727. - Fixed Anchor default
  12728. 2004-08-13 15:43 pbartok
  12729. * Control.cs:
  12730. - Changed GetCursorPos signature
  12731. 2004-08-13 15:42 pbartok
  12732. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12733. - Changed signature for GetCursorPos
  12734. 2004-08-13 15:25 pbartok
  12735. * XplatUIX11.cs:
  12736. - Cleanup
  12737. - Fixed resizing/exposure handling
  12738. 2004-08-13 15:22 jordi
  12739. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  12740. with tickposition
  12741. 2004-08-13 14:55 jordi
  12742. * TrackBar.cs: change from wndproc to events
  12743. 2004-08-13 13:00 jordi
  12744. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12745. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  12746. 2004-08-13 12:53 pbartok
  12747. * XplatUIWin32.cs:
  12748. - Changed GetWindowPos to also provide client area size
  12749. - Fixed broken prototypes for several win32 functions
  12750. 2004-08-13 12:53 pbartok
  12751. * XplatUI.cs, XplatUIDriver.cs:
  12752. - Changed GetWindowPos to also provide client area size
  12753. 2004-08-13 12:52 pbartok
  12754. * XplatUIX11.cs:
  12755. - Added generation of WM_POSCHANGED
  12756. - Changed GetWindowPos to also provide client area size
  12757. 2004-08-13 12:52 pbartok
  12758. * Control.cs:
  12759. - Added Dispose() and destructor
  12760. - Fixed resizing and bounds calculation
  12761. - Fixed Layout
  12762. - Added memory savings for invisible windows
  12763. 2004-08-13 12:46 jordi
  12764. * TrackBar.cs: adds timer and grap window
  12765. 2004-08-13 10:25 jackson
  12766. * Timer.cs: SWF Timer
  12767. 2004-08-12 16:59 pbartok
  12768. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12769. - Implemented method to get current mouse position
  12770. 2004-08-12 14:29 jordi
  12771. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  12772. enhancement, fix mouse problems, highli thumb, etc
  12773. 2004-08-12 13:31 pbartok
  12774. * Control.cs:
  12775. - Fixed Anchoring bugs
  12776. 2004-08-12 13:01 jackson
  12777. * StatusBar.cs: Don't forget things
  12778. 2004-08-12 12:54 jackson
  12779. * ThemeWin32Classic.cs: Handle owner draw status bars
  12780. 2004-08-12 12:54 jackson
  12781. * StatusBar.cs: Implement missing properties, events, and methods.
  12782. Handle mouse clicking
  12783. 2004-08-12 10:19 jackson
  12784. * StatusBarPanelClickEventArgs.cs,
  12785. StatusBarPanelClickEventHandler.cs: Classes for handling status
  12786. bar panel click events
  12787. 2004-08-12 10:10 jackson
  12788. * Control.cs: Add missing properties
  12789. 2004-08-12 09:46 pbartok
  12790. * BindingsManagerBase.cs:
  12791. - Name changed to BindingManagerBase.cs
  12792. 2004-08-12 09:25 jordi
  12793. * ScrollableControl.cs: calls ctrlbase instead of exeception
  12794. 2004-08-11 16:28 pbartok
  12795. * InputLanguageChangingEventArgs.cs:
  12796. - Never check in before compiling. Fixes the last check-in
  12797. 2004-08-11 16:26 pbartok
  12798. * InputLanguageChangingEventArgs.cs:
  12799. - More signature fixes
  12800. 2004-08-11 16:20 pbartok
  12801. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  12802. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  12803. ImageListStreamer.cs, InputLanguage.cs,
  12804. InputLanguageChangedEventArgs.cs,
  12805. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  12806. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  12807. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  12808. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12809. - Signature fixes
  12810. 2004-08-11 16:16 pbartok
  12811. * Application.cs:
  12812. - Fixed Signature
  12813. - Added .Net 1.1 method
  12814. 2004-08-11 15:25 pbartok
  12815. * SWF.csproj:
  12816. - Fixed BindingManagerBase.cs filename
  12817. 2004-08-11 15:22 pbartok
  12818. * BindingManagerBase.cs:
  12819. - Was checked in with wrong filename
  12820. 2004-08-11 14:50 pbartok
  12821. * SWF.csproj:
  12822. - Updated
  12823. 2004-08-11 13:41 jordi
  12824. * XplatUIWin32.cs: Fixes ClientRect
  12825. 2004-08-11 13:19 pbartok
  12826. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12827. XplatUIX11.cs:
  12828. - We had SetWindowPos and MoveWindow to set window positions and
  12829. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  12830. keep SetWindowPos as matching counterpart
  12831. - Added some X11 sanity checking
  12832. 2004-08-11 12:59 pbartok
  12833. * Control.cs:
  12834. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  12835. (It seems that SetBounds is just a front for SetBoundsCore and
  12836. SetBoundsCore updates the underlying window system and
  12837. UpdateBounds is responsible for updating the variables associated
  12838. with the Control and sending the events)
  12839. - Major cleanup of Size handling; we now have two sizes, client_size
  12840. and bounds. Bounds defines the window with decorations, client_size
  12841. without them.
  12842. 2004-08-11 12:55 pbartok
  12843. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12844. - Added method to calculate difference between decorated window and
  12845. raw client area
  12846. 2004-08-11 12:54 pbartok
  12847. * Label.cs:
  12848. - Forcing redraw on resize
  12849. 2004-08-11 11:43 pbartok
  12850. * ImageList.cs:
  12851. - Removed disposing of the actual images when the list is disposed
  12852. 2004-08-11 09:13 pbartok
  12853. * Control.cs:
  12854. - Now properly reparents windows
  12855. 2004-08-11 08:37 pbartok
  12856. * Control.cs:
  12857. - Duh!
  12858. 2004-08-11 07:47 pbartok
  12859. * Control.cs:
  12860. - Rewrote the collection stuff. Might not be as fast now, not
  12861. keeping the number of children around and accessible directly, but
  12862. it's more straightforward
  12863. 2004-08-11 07:44 pbartok
  12864. * AccessibleObject.cs:
  12865. - Fixed to match ControlCollection rewrite
  12866. 2004-08-11 07:43 pbartok
  12867. * ImageList.cs:
  12868. - Added missing creation of the collection list
  12869. 2004-08-10 20:08 jackson
  12870. * StatusBar.cs: Get the paint message from WndProc
  12871. 2004-08-10 19:31 jackson
  12872. * ThemeWin32Classic.cs: Create Brushes as little as possible
  12873. 2004-08-10 19:20 jackson
  12874. * UICues.cs: Add Flags attribute
  12875. 2004-08-10 19:19 jackson
  12876. * StatusBarPanel.cs: Signature cleanup
  12877. 2004-08-10 19:10 jackson
  12878. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  12879. Initial implementation of status bar item drawing
  12880. 2004-08-10 17:27 jordi
  12881. * TrackBar.cs: add missing methods, properties, and restructure to
  12882. hide extra ones
  12883. 2004-08-10 16:24 jackson
  12884. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  12885. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  12886. attribute
  12887. 2004-08-10 13:21 jordi
  12888. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  12889. enhancements and standarize on win colors defaults
  12890. 2004-08-10 12:52 jackson
  12891. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  12892. ThemeWin32Classic.cs: Implement DrawItem functionality
  12893. 2004-08-10 12:47 jordi
  12894. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  12895. 2004-08-10 12:32 jordi
  12896. * Control.cs: throw ontextchange event
  12897. 2004-08-10 11:43 pbartok
  12898. * Control.cs:
  12899. - Added more to the still unfinished Dock/Anchor layout code
  12900. 2004-08-10 11:39 pbartok
  12901. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12902. - Added GetWindowPos method
  12903. 2004-08-10 11:36 pbartok
  12904. * XplatUIWin32.cs:
  12905. - Implemented several methods
  12906. 2004-08-10 09:47 jackson
  12907. * TrackBar.cs: Allow control to handle buffering
  12908. 2004-08-10 09:41 jackson
  12909. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  12910. 2004-08-10 09:24 jackson
  12911. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  12912. 2004-08-10 09:09 jackson
  12913. * StatusBar.cs: Let Control handle all the buffering.
  12914. 2004-08-10 09:08 jackson
  12915. * Control.cs: Control will now handle the buffering code, so each
  12916. control does not have to implement this.
  12917. 2004-08-10 08:34 jackson
  12918. * XplatUIDriver.cs: Use default colors from the theme
  12919. 2004-08-09 17:12 pbartok
  12920. * ImageList.cs:
  12921. - Fixed several bugs Ravindra pointed out
  12922. 2004-08-09 16:11 pbartok
  12923. * Control.cs:
  12924. - Added incomplete dock layout code
  12925. - Added support for mouse wheel
  12926. 2004-08-09 16:09 pbartok
  12927. * XplatUIX11.cs:
  12928. - Added handling for middle and right mousebutton
  12929. - Added handling for mouse wheel
  12930. - Added handling for key state and mouse state and position
  12931. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  12932. messages
  12933. 2004-08-09 15:40 jackson
  12934. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  12935. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  12936. checkin
  12937. 2004-08-09 15:37 jackson
  12938. * StatusBar.cs: Initial implementation of StatusBar
  12939. 2004-08-09 15:36 jackson
  12940. * ITheme.cs: Add support for drawing status bar and getting status
  12941. bar item sizes
  12942. 2004-08-09 15:35 pbartok
  12943. * MouseButtons.cs:
  12944. - Fixed values
  12945. 2004-08-09 15:34 jackson
  12946. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  12947. status bar item sizes
  12948. 2004-08-09 15:21 jackson
  12949. * ThemeWin32Classic.cs: Use known colors for default control
  12950. colours
  12951. 2004-08-09 15:12 jackson
  12952. * ThemeWin32Classic.cs: Make the default font static, it is static
  12953. in control so this doesn't change functionality and creating fonts
  12954. is sloooooow.
  12955. 2004-08-09 14:56 pbartok
  12956. * X11Structs.cs:
  12957. - Added GrabMode enum
  12958. 2004-08-09 14:55 pbartok
  12959. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12960. - Removed Run method, was only required for initial development
  12961. 2004-08-09 14:51 pbartok
  12962. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12963. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  12964. capture
  12965. 2004-08-09 13:48 pbartok
  12966. * XplatUIX11.cs:
  12967. - Fixed default sizing for child windows
  12968. 2004-08-09 12:56 pbartok
  12969. * XplatUIX11.cs:
  12970. - Added generation of WM_DESTROY message
  12971. - Added handling of window manager induced shutdown
  12972. 2004-08-09 11:31 jackson
  12973. * ThemeWin32Classic.cs: New names for control properties
  12974. 2004-08-09 11:25 jackson
  12975. * Control.cs: Use new color names
  12976. 2004-08-09 11:02 jackson
  12977. * XplatUI.cs: Get default window properties from the theme
  12978. 2004-08-09 11:01 jackson
  12979. * ITheme.cs: The theme engine now controls default window
  12980. properties
  12981. 2004-08-09 11:00 jackson
  12982. * ThemeWin32Classic.cs: Add default window color properties
  12983. 2004-08-09 10:17 jackson
  12984. * ThemeWin32Classic.cs: Use correct default back color
  12985. 2004-08-09 10:05 jackson
  12986. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  12987. the theme now.
  12988. 2004-08-09 09:56 jackson
  12989. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  12990. 2004-08-09 09:54 jackson
  12991. * Control.cs: Get default properties from the theme.
  12992. 2004-08-09 09:53 jackson
  12993. * ITheme.cs: Themes now handle default control properties
  12994. 2004-08-09 09:53 jackson
  12995. * ThemeWin32Classic.cs: Themes now handle default control
  12996. properties so coloring will be consistent
  12997. 2004-08-08 16:54 jordi
  12998. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  12999. 2004-08-08 15:08 jordi
  13000. * XplatUIX11.cs: fixes keyboard crash
  13001. 2004-08-08 13:47 jordi
  13002. * Label.cs: add cvs header info
  13003. 2004-08-08 12:09 jackson
  13004. * ThemeWin32Classic.cs: Add pen_buttonface
  13005. 2004-08-08 11:52 jordi
  13006. * Label.cs, LinkLabel.cs: [no log message]
  13007. 2004-08-08 11:34 jordi
  13008. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13009. 2004-08-07 17:32 jordi
  13010. * TrackBar.cs: throw exceptions of invalid enums values
  13011. 2004-08-07 17:31 jordi
  13012. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13013. draw method name
  13014. 2004-08-07 16:56 jackson
  13015. * HorizontalAlignment.cs: Initial checkin
  13016. 2004-08-07 13:16 jordi
  13017. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13018. methods
  13019. 2004-08-07 13:05 jordi
  13020. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13021. GetSysColor defines
  13022. 2004-08-06 18:01 pbartok
  13023. * ThemeWin32Classic.cs:
  13024. - Fixed some rounding issues with float/int
  13025. 2004-08-06 18:00 jackson
  13026. * DockStyle.cs, AnchorStyles.cs:
  13027. Add flags and serializable attributes.
  13028. 2004-08-06 17:46 pbartok
  13029. * XplatUIX11.cs:
  13030. - Implemented GetParent
  13031. 2004-08-06 17:18 pbartok
  13032. * TrackBar.cs:
  13033. - Fixed some rounding issues with float/int
  13034. 2004-08-06 17:17 pbartok
  13035. * X11Structs.cs, XplatUIX11.cs:
  13036. - Fixed Refresh and Invalidate
  13037. 2004-08-06 15:30 pbartok
  13038. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13039. - Fixed recursive loop when resizing
  13040. - Improved/fixed redrawing on expose messages
  13041. 2004-08-06 09:53 jordi
  13042. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13043. keyboard navigation
  13044. 2004-08-06 08:02 pbartok
  13045. * X11Structs.cs, XplatUIX11.cs:
  13046. - Fixed reparenting
  13047. - Fixed window border creation
  13048. 2004-08-05 15:38 pbartok
  13049. * XplatUIX11.cs:
  13050. - Attempted fix for reparenting problems
  13051. 2004-08-04 15:14 pbartok
  13052. * Control.cs:
  13053. - Fixed Invalidation bug (calculated wrong client area)
  13054. - Added ClientSize setter
  13055. 2004-08-04 15:13 pbartok
  13056. * Form.cs:
  13057. - Added AutoScale properties
  13058. 2004-08-04 15:13 pbartok
  13059. * SWF.csproj:
  13060. - Added latest files
  13061. 2004-08-04 14:11 pbartok
  13062. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13063. XplatUIX11.cs:
  13064. - Added Invalidate handling
  13065. 2004-08-03 17:09 jordi
  13066. * XplatUIDriver.cs: fixes spelling mistake
  13067. 2004-07-27 09:53 jordi
  13068. * TrackBar.cs: fixes trackbar events, def classname, methods
  13069. signature
  13070. 2004-07-27 09:29 jordi
  13071. * ScrollBar.cs: fixes scrollbar events
  13072. 2004-07-27 04:38 jordi
  13073. * Control.cs: changes to be able to run winforms samples
  13074. 2004-07-26 11:42 jordi
  13075. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13076. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13077. 2004-07-26 05:41 jordi
  13078. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13079. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13080. implementation
  13081. 2004-07-22 09:22 jordi
  13082. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13083. check link overlapping, implement events, and fixes
  13084. 2004-07-21 10:28 jordi
  13085. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13086. 2004-07-21 10:19 jordi
  13087. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13088. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13089. LinkLabelLinkClickedEventArgs.cs,
  13090. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13091. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13092. implementation
  13093. 2004-07-19 13:09 jordi
  13094. * Control.cs, Label.cs: label control re-written: added missing
  13095. functionlity, events, and properties
  13096. 2004-07-19 10:49 jordi
  13097. * Control.cs: fixes SetBounds logic
  13098. 2004-07-19 01:29 jordi
  13099. * Control.cs: Call RefreshWindow only if the window has created
  13100. 2004-07-15 14:05 pbartok
  13101. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13102. - Implemented ImageList and ImageList.ImageCollection classes
  13103. - Added ColorDepth enumeration
  13104. - Updated SWF VS.Net project
  13105. 2004-07-15 11:06 jordi
  13106. * XplatUIStructs.cs: added MsgButons enum
  13107. 2004-07-15 11:03 jordi
  13108. * Control.cs: added basic mouse handeling events
  13109. 2004-07-15 03:38 jordi
  13110. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13111. Vertical TrackBar control implementation
  13112. 2004-07-13 09:33 jordi
  13113. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13114. 2004-07-13 09:31 jordi
  13115. * Control.cs, Form.cs: commit: new properties and fixes form size
  13116. problems
  13117. 2004-07-09 14:13 miguel
  13118. * ProgressBar.cs: Spelling
  13119. 2004-07-09 11:25 pbartok
  13120. * ProgressBar.cs:
  13121. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13122. faster
  13123. 2004-07-09 11:17 miguel
  13124. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13125. * ProgressBar.cs: Fixed spelling for `block'
  13126. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13127. style guidelines.
  13128. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13129. 2004-07-08 23:21 pbartok
  13130. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13131. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13132. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13133. BindingMemberInfo.cs, BindingsCollection.cs,
  13134. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13135. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13136. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13137. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13138. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13139. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13140. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13141. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13142. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13143. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13144. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13145. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13146. InputLanguageChangedEventArgs.cs,
  13147. InputLanguageChangedEventHandler.cs,
  13148. InputLanguageChangingEventArgs.cs,
  13149. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13150. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13151. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13152. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13153. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13154. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13155. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13156. QueryAccessibilityHelpEventArgs.cs,
  13157. QueryAccessibilityHelpEventHandler.cs,
  13158. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13159. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13160. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13161. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13162. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13163. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13164. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13165. XplatUIX11.cs, lang.cs:
  13166. - Initial check-in