ChangeLog 530 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237
  1. 2006-07-15 Jackson Harper <[email protected]>
  2. * LabelEditTextBox.cs:
  3. * TreeView.cs: Use a new LabelEdit class for node editing, this
  4. class automatically 'closes' itself when it gets the enter key or
  5. loses focus.
  6. - Use the client rectangle when setting the trees scrollbars, so
  7. border style is taken into account.
  8. 2006-07-14 Jackson Harper <[email protected]>
  9. * TreeNode.cs:
  10. * TreeView.cs: Make the editing work similar to MSs, firing the
  11. events correctly and ending edits correctly.
  12. 2006-07-14 Mike Kestner <[email protected]>
  13. * ToolBarButton.cs:
  14. * ToolBar.cs: layout restructuring and redraw enhancements to support
  15. formatting changes gracefully, like setting TextAlign, ImageList,
  16. ButtonSize, and Appearance. Handles explicit button sizing quirks
  17. of the MS controls. Things like flat toolbars ignoring button size
  18. but becoming constant sized at the largest button's size. Normal
  19. toolbars with an image set cannot be shrunk smaller than the image,
  20. but text can be clipped/ignored.
  21. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  22. is zero. Seems like DrawString should be smart enough to not put
  23. anything on screen though. Also trim labels and ellipsize at the char
  24. boundary, not word.
  25. Fixes #78711 and #78483.
  26. 2006-07-14 Alexander Olk <[email protected]>
  27. * FolderBrowserDialog.cs: Disable "New Folder" button and
  28. "New Folder" contextmenu menuitem if a folder like "My Computer"
  29. is selected.
  30. 2006-07-14 Alexander Olk <[email protected]>
  31. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  32. * FolderBrowserDialog.cs:
  33. - Use MWFConfig to store and read size and position settings
  34. - Added code to create a new folder (button or context menu).
  35. Use TreeView labeledit to change the name of the new folder.
  36. 2006-07-14 Jackson Harper <[email protected]>
  37. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  38. when the tree is scrolled we end editing.
  39. 2006-07-14 Alexander Olk <[email protected]>
  40. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  41. Down arrows
  42. 2006-07-14 Jonathan Pobst <[email protected]>
  43. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  44. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  45. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  46. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  47. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  48. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  49. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  50. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  51. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  52. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  53. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  54. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  55. ListViewItemSelectionChangedEventHandler.cs,
  56. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  57. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  58. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  59. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  60. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  61. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  62. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  63. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  64. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  65. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  66. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  67. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  68. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  69. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  70. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  71. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  72. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  73. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  74. WebBrowserNavigatingEventHandler.cs,
  75. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  76. 2006-07-14 Jonathan Pobst <[email protected]>
  77. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  78. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  79. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  80. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  81. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  82. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  83. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  84. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  85. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  86. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  87. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  88. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  89. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  90. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  91. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  92. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  93. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  94. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  95. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  96. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  97. ListViewItemStates.cs, MaskFormat.cs: Added
  98. 2006-07-13 Jonathan Chambers <[email protected]>
  99. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  100. Patch from eno for bug 78558.
  101. 2006-07-13 Jackson Harper <[email protected]>
  102. * TreeView.cs: When an edit is finished make sure that the
  103. selected node is visible.
  104. - When setting the top/bottom use the scrollbars is_visible, so
  105. everything will be set correctly even if the tree isn't visible
  106. yet.
  107. 2006-07-13 Jackson Harper <[email protected]>
  108. * ComboBox.cs: Revert the item->index part of my previous patch.
  109. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  110. the edit box has lost focus (duh).
  111. - Just make the edit box not visible when we get return, that will
  112. take the focus, which will call EndEdit
  113. * TreeNode.cs When we start editing, notify the treeview.
  114. 2006-07-12 Jackson Harper <[email protected]>
  115. * ComboBox.cs: Clear out old items before setting the item list.
  116. This prevents databound controls from having their items added
  117. twice.
  118. - Switch the combobox to use indices whereever possible instead of
  119. using Item's. This allows usto navigate through lists that have
  120. more then one item with the same string value (ie a, b, b, a).
  121. - Scroll the listboxes scrollbar when a non visible item is
  122. highlighted
  123. - Allow keypress to cycle through all the possible values. For
  124. example if you have b1, b2, b3 and hold down the B key all the
  125. values will be cycled through.
  126. 2006-07-12 Jackson Harper <[email protected]>
  127. * TextBoxBase.cs:
  128. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  129. this using the internal methods.
  130. * Control.cs: Add OnGotFocusInternal. A new method that allows
  131. controls to "override" OnGotFocus and change focus behavior if
  132. needed.
  133. - Same thing for LostFocus
  134. * ComboBox.cs: Pass off focus to the text control properly.
  135. 2006-07-12 Alexander Olk <[email protected]>
  136. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  137. * FolderBrowserDialog.cs: Almost a complete rewrite.
  138. - Better support for Environment.Specialfolders
  139. - Added support for MWFVFS
  140. - Made setting SelectedPath work
  141. 2006-07-12 Jackson Harper <[email protected]>
  142. * Control.cs: Optimze getting all the controls.
  143. 2006-07-11 Jackson Harper <[email protected]>
  144. * ContainerControl.cs: Override SETFOCUS in the container control,
  145. so that it is not selected on mouse click.
  146. 2006-07-11 Peter Dennis Bartok <[email protected]>
  147. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  148. Hopefully we will have a better way once all of focus is complete.
  149. 2006-07-11 Peter Dennis Bartok <[email protected]>
  150. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  151. a compile error with csc.
  152. 2006-07-11 Jackson Harper <[email protected]>
  153. * Control.cs: When hiding a control only select the next control
  154. if the current control was focused.
  155. - Don't handle enter/leave when setting/killing focus, this is
  156. done by the container control.
  157. - Remove is_selected, it's not needed anymore.
  158. - Add utility methods for selecting a child control, and for
  159. firing the Enter/Leave events.
  160. * ContainerControl.cs: When a control is activated fire the
  161. enter/leave events.
  162. - Don't wrap when processing the tab key, so that focus can be
  163. moved outside of the container.
  164. - Use the correct active control
  165. 2006-07-11 Jackson Harper <[email protected]>
  166. * ComboBox.cs: Remove some debug code that was blinding me.
  167. * UpDownBase.cs: These controls actually aren't implicit, they are
  168. visible to the user.
  169. 2006-07-10 Chris Toshok <[email protected]>
  170. * DataGridTableStyle.cs: just check if the property type is bool.
  171. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  172. Don't use CanRenderType.
  173. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  174. if our text == NullText. Remove CanRenderType.
  175. * DataGridBoolColumn.cs: nuke CanRenderType.
  176. * DataGrid.cs: reenable some code to end the current edit inside
  177. of set_CurrentCell. This fixes the other 1.1.16 regression.
  178. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  179. Also, remove the visible_row_count arg from CalcRowHeaders, since
  180. we don't need to worry about the actual height of the area.
  181. 2006-07-10 Chris Toshok <[email protected]>
  182. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  183. mode, just return.
  184. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  185. the real sense of the IsInEditOrNavigateMode property (true =
  186. navigate, false = edit). Also, update OnKeyPress to reflect this.
  187. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  188. column style exists, we still need to set its property descriptor
  189. to match up with our list manager.
  190. 2006-07-10 Chris Toshok <[email protected]>
  191. * ThemeWin32Classic.cs: implement the new row/header painting
  192. approach. The parent row painting will likely go away and
  193. replaced with label controls, but the rest seems to work ok (and
  194. efficiently).
  195. * Theme.cs: change the way we draw datagrid rows. we don't draw
  196. the row headers as a block now. Instead we draw them in the
  197. normal draw-row loop. Add some calls for drawing parent rows and
  198. relation rows.
  199. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  200. a default table style. Set the defaults from ThemeEngine.Current,
  201. not SystemColors. Fix lots of misc issues with property setters.
  202. * DataGrid.cs: move loads of style information out of this class
  203. as it's being duplicated with DataGridTableStyle. keep track of a
  204. special DataGridTableStyle for the properties we used to mirror
  205. here. Switch all the style properties to access this table style
  206. instead of instance fields of this class. Also add a internal
  207. class to represent parent rows (more needs to be stored here, like
  208. the selection state from the parent table, as well as the
  209. expansion state.) Also, for datasources with relations, do the
  210. right thing for collapse/expand, and add support for the
  211. navigation/parent row buttons.
  212. Lastly, fix the crash in the 1.1.16 build.
  213. * GridTableStylesCollection.cs: make the explicit interface
  214. implementations call the class's methods as opposed to duplicating
  215. them.
  216. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  217. 0 so the text doesn't jump around when we move the cursor.
  218. 2006-07-10 Jackson Harper <[email protected]>
  219. * TextBoxBase.cs:
  220. * ListBox.cs: Match MS's ToString (this makes debugging focus
  221. stuff infinitely easier).
  222. 2006-07-10 Jackson Harper <[email protected]>
  223. * Control.cs (SelectNextControl): When checking the control's
  224. parent use this instead of ctrl.parent so that null can be passed
  225. to SelectNextControl. (I have unit tests for this).
  226. - Remove unused var.
  227. 2006-07-10 Chris Toshok <[email protected]>
  228. * CurrencyManager.cs: correct one regression, the removal of the
  229. finalType field. Also, add a MonoTODO on CanAddRows, implement
  230. Refresh() correctly, and fix some event emission in
  231. ListChangedHandler.
  232. 2006-07-07 Alexander Olk <[email protected]>
  233. * FileDialog.cs: Don't use brackets for new folders if they exist
  234. under *nix. Instead use -(number of existing folders +1).
  235. 2006-07-07 Alexander Olk <[email protected]>
  236. * FileDialog.cs:
  237. - Fixed really nasty bug #78771
  238. - Don't block the whole GUI when reading directories with a lot of
  239. entries. Use an other thread instead and call BeginInvoke to
  240. update the ListView in MWFFileView
  241. 2006-07-07 Chris Toshok <[email protected]>
  242. * Control.cs (Dispose): release any Capture when disposing.
  243. 2006-07-07 Chris Toshok <[email protected]>
  244. * LinkLabel.cs (Select): if we chain up to the parent, set
  245. focused_index to -1 so we'll search for the first available link
  246. the next time the user tabs into us. Also, if the direction is
  247. backward and focused_index == -1, start the search from the last
  248. element.
  249. 2006-07-07 Chris Toshok <[email protected]>
  250. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  251. is beyond the end of the text, don't do anything.
  252. (CreateLinkPieces): set our ControlStyles.Selectable based on
  253. whether or not we have any links.
  254. (Link.Invalidate): use a loop instead of foreach.
  255. (Link.set_Start): null out owner.sorted_links so it'll be
  256. recreated by CreateLinkPieces.
  257. 2006-07-06 Chris Toshok <[email protected]>
  258. * LinkLabel.cs: revert the SetStyle change.
  259. 2006-07-06 Chris Toshok <[email protected]>
  260. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  261. (OnEnableChanged): s/Refresh/Invalidate
  262. (OnGotFocus): if we have a focused index already, refocus it (so
  263. if we mouse out/in to the window it'll focus the right link).
  264. (OnKeyDown): move the tab handling out of here.
  265. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  266. when we lose focus.
  267. (OnMouseDown): don't Capture here - Control handles it. Also,
  268. focus the active link.
  269. (OnMouseUp): don't deal with Capture.
  270. (OnPaintBackgroundInternal): remove.
  271. (OnTextAlignChanged): CreateLinkPieces before calling the
  272. superclass's method.
  273. (OnTextChanged): call CreateLinkPieces before calling superclass's
  274. method.
  275. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  276. move around.
  277. (Select): implement this, moving the selection between different
  278. links, and call parent.SelectNextControl if we don't have another
  279. link to focus in the given direction.
  280. (CreateLinkPieces): call Invalidate instead of Refresh.
  281. 2006-07-06 Chris Toshok <[email protected]>
  282. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  283. new LinkLabel internals.
  284. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  285. over pieces looking for active/focused/etc links. also, deal with
  286. runs of text (and links) with embedded \n's in them, and use
  287. MeasureCharacterRanges instead of MeasureString to figure out the
  288. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  289. two-step.
  290. 2006-07-04 Jackson Harper <[email protected]>
  291. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  292. XKB or key auto repeat, do it manually. Without key auto repeat,
  293. when a key is held down we get key press, key release, key press,
  294. key release, ... with auto repeat we get key press, key press, key
  295. press ..., and then a release when the key is actually released.
  296. 2006-07-03 Jackson Harper <[email protected]>
  297. * TabControl.cs:
  298. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  299. rules, they are always control color regardless of the background
  300. color.
  301. 2006-07-02 Alexander Olk <[email protected]>
  302. * FileDialog.cs: Added internal class MWFConfig.
  303. Removed Registry support and replaced it with support for the new
  304. MWFConfig class. See MWFConfig comments for more information.
  305. 2006-06-30 Alexander Olk <[email protected]>
  306. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  307. rectangle. Added some patches from eno from bug #78490 and fixed
  308. the arrow position for small up and down CPDrawScrollButtons.
  309. 2006-06-30 Jackson Harper <[email protected]>
  310. * InternalWindowManager.cs: Remove some debug code.
  311. * Form.cs: When an MdiParent is set to null, the window is
  312. "detatched" and becomes a normal window.
  313. * MdiClient.cs: Don't bring the new child form to the front until
  314. it is activated (setting it as active does this), this makes the
  315. previously active forms titlebar get redrawn as inactive.
  316. 2006-06-29 Peter Dennis Bartok <[email protected]>
  317. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  318. with later controls
  319. 2006-06-29 Mike Kestner <[email protected]>
  320. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  321. arrow in keynav state. Fixes #78682.
  322. 2006-06-28 Atsushi Enomoto <[email protected]>
  323. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  324. order (fixes #78393)
  325. 2006-06-28 Jonathan Pobst <[email protected]>
  326. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  327. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  328. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  329. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  330. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  331. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  332. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  333. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  334. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  335. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  336. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  337. values)
  338. 2006-06-28 Mike Kestner <[email protected]>
  339. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  340. 2006-06-28 Atsushi Enomoto <[email protected]>
  341. * PropertyGrid.cs,
  342. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  343. item lines from other area (It also makes BackColor consistent and
  344. compatible with .NET). Fixed bug #78564.
  345. 2006-06-28 Jonathan Chambers <[email protected]>
  346. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  347. Patch from Eno for #78555.
  348. 2006-06-27 Chris Toshok <[email protected]>
  349. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  350. * DataGridColumnStyle.cs: same.
  351. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  352. * DataGridDrawingLogic.cs: nuke.
  353. 2006-06-27 Chris Toshok <[email protected]>
  354. * DataGridTableStyle.cs: clean up the constructors, and build the
  355. list of child relations for this table. I have no idea if this is
  356. where we should be doing it (it probably isn't), but since we're
  357. already iterating over the properties..
  358. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  359. struct and array for keeping track of row information, similar to
  360. what's shown in a hack on
  361. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  362. * Theme.cs: be consistent about the naming of DataGrid methods,
  363. prefering ColumnWidths and RowHeights over columnsWidths and
  364. RowsHeights.
  365. * ThemeWin32Classic.cs: same, and also add support for variable
  366. sized rows (and the +/- expansion icons for related rows).
  367. 2006-06-27 Peter Dennis Bartok <[email protected]>
  368. * TextBoxBase.cs: Applied Eno's patch from #78660
  369. 2006-06-27 Peter Dennis Bartok <[email protected]>
  370. * Form.cs (ScaleCore): We don't want to scale our form if it's
  371. state is minimized or maximized, but we still need to scale our
  372. child windows. Also, added try/finally block to ensure layout
  373. gets reset (Fixes #78697)
  374. 2006-06-27 Peter Dennis Bartok <[email protected]>
  375. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  376. 2006-06-27 Peter Dennis Bartok <[email protected]>
  377. * Form.cs: Fixed c+p error and added check to resize form if minimum
  378. size is bigger than current size (Fixes #78709)
  379. 2006-06-26 Peter Dennis Bartok <[email protected]>
  380. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  381. 2006-06-26 Mike Kestner <[email protected]>
  382. * ComboBox.cs: only do Keypress handling in the combo when there
  383. are items in the collection. Fixes #78710.
  384. 2006-06-26 Chris Toshok <[email protected]>
  385. * Binding.cs: make this work bi-directionally. also, clear up
  386. other mixups between Push/Pull Data (e.g. we're supposed to pull
  387. data when validating).
  388. * BindingManagerBase.cs: trim some fully qualified collection
  389. types.
  390. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  391. 2006-06-23 Chris Toshok <[email protected]>
  392. * PropertyManager.cs: It appears (according to the unit tests)
  393. that PropertyManager doesn't use
  394. PropertyDescriptor.AddValueChanged to track propery value changes
  395. in its datasource, but uses the same scheme as Binding, where it
  396. looks for a <Property>Changed event and binds to it.
  397. Also, according to the docs, IsSuspended always returns false for
  398. a property manager with a non-null datasource.
  399. 2006-06-22 Peter Dennis Bartok <[email protected]>
  400. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  401. need to update the actual DialogResult. (Fixes #78613)
  402. 2006-06-22 Peter Dennis Bartok <[email protected]>
  403. * Form.cs (ShowDialog): Release any captures before running the
  404. new message pump (fixes #78680)
  405. 2006-06-22 Mike Kestner <[email protected]>
  406. * ListView.cs: Layout column widths properly in details mode even
  407. if HeaderStyle.None is set. Fixes #78691.
  408. 2006-06-21 Peter Dennis Bartok <[email protected]>
  409. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  410. 2006-06-21 Peter Dennis Bartok <[email protected]>
  411. * Control.cs (ContainsFocus): Using new driver method to get focused
  412. window, instead of trying to use internal tracking var, which can
  413. recursion issues (Fixes #78685)
  414. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  415. XplatUIWin32.cs: Added GetFocus method to return focused window
  416. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  417. * ColorDialog.cs: when the mouse button is pressed inside the color
  418. matrix, don't let the cursor move out of it until the button is
  419. released, which is the behavior on windows. Changed 'colours' by
  420. 'colors' to use the same word consistently.
  421. 2006-06-21 Chris Toshok <[email protected]>
  422. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  423. child relation and back, using a stack). Also, remove
  424. GetDataSource and the code that calls it - it's not needed. Also,
  425. track CurrencyManager.ListName's removal.
  426. 2006-06-21 Chris Toshok <[email protected]>
  427. * CurrencyManager.cs: push some of the original type checking from
  428. BindingContext.CreateBindingManager to here, and remove some of
  429. the finalType stuff. Need more tests to make sure I've got the
  430. ListName part right, and we might need more in SetDataSource.
  431. * PropertyManager.cs: add a ctor that takes just the datasource,
  432. and no property name. Make SetDataSource work with a null
  433. property_name, and make Current return the data_source if the
  434. property descriptor is null. this makes 'string foo = "hi";
  435. BindingContext[foo].Current' return "hi" as it should.
  436. * RelatedCurrencyManager.cs: make this code more generic - there's
  437. no reason the parent manager has to be CurrencyManager, and
  438. there's no reason to pass the DataRelation. It suffices to use a
  439. BindingManagerBase and PropetyDescriptor.
  440. * RelatedPropertyManager.cs: make a similar change here.
  441. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  442. flower I knew it could be.
  443. 2006-06-20 Chris Toshok <[email protected]>
  444. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  445. data in the source has changed and we need to update the control,
  446. so s/PullData/PushData.
  447. * CurrencyManager.cs: Refresh is meant to update the control from
  448. data in the datasource. So, s/PullData/PushData.
  449. * BindingContext.cs: add more ugliness (we weren't handling the
  450. case where data_source = DataTable and data_member = column_name).
  451. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  452. from the perspective of the datasource. PullData pulls from the
  453. control, PushData pushes to the control.
  454. 2006-06-20 Chris Toshok <[email protected]>
  455. * BindingContext.cs: rewrite the CreateBindingManager code to
  456. handle navigation paths more or less properly. This could
  457. definitely stand some more work, in particular to push the
  458. recursion up to the toplevel. But that relies on fixes in other
  459. places (System.Data comes to mind).
  460. Also, move to a flat hashtable (and encode the twolevel nature of
  461. the dictionary into the hash key). This lets us implement the
  462. IEnumerable.GetEnumerator method.
  463. * RelatedCurrencyManager.cs: new class. Update our view based on
  464. our relation and our parent CurrencyManager's position.
  465. * CurrencyManager.cs: split out some logic from the ctor into
  466. SetView, so it can be called from the new RelatedCurrencyManager
  467. subclass.
  468. * RelatedPropertyManager.cs: new class. Update our datasource
  469. based on the position of our parent CurrencyManager.
  470. * PropertyManager.cs: split out some logic from the ctor into
  471. SetDataSource, so it can be called from the new RelatedDataSource
  472. subclass. Also, make the Current getter return the value
  473. of the PropertyDescriptor, not the data_source.
  474. * Binding.cs: no need to duplicate the string splitting code here.
  475. 2006-06-19 Peter Dennis Bartok <[email protected]>
  476. * Control.cs:
  477. - set_Enabled: OnEnabledChanged is not called if the inherited state
  478. of the control is not altered, even though we might be changing the
  479. internal state of the control (#78458)
  480. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  481. OnEnabledChanged, to allow easy altering of any child window state
  482. - OnEnabledChanged: Added code to enable/disable driver window state
  483. - OnParentEnabledChanged: Instead of firing the event, call
  484. OnEnabledChanged, which will fire the event and also a) set driver
  485. window state and pass the enabled state to any grandchildren (#78458)
  486. 2006-06-19 Jackson Harper <[email protected]>
  487. * InternalWindowManager.cs: We don't set the cursor explicitly
  488. thats done via the response to NCHITTESTs.
  489. - Don't need to adjust for titlebar heights anymore, the
  490. coordinates are coming in the correct coordinates now (see peters
  491. last patch).
  492. 2006-06-19 Peter Dennis Bartok <[email protected]>
  493. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  494. being translated relative to whole window, instead of client window.
  495. That caused broken offsets on mouseclick (and caused gas for our
  496. InternalWindowManager)
  497. 2006-06-15 Peter Dennis Bartok <[email protected]>
  498. * TextControl.cs:
  499. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  500. - Undo(): Added replay of cursor move on DeleteChars action; added
  501. calling Undo() again if a recorded cursor move is invalid (to
  502. ensure that some action is performed on Undo)
  503. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  504. 2006-06-16 Jackson Harper <[email protected]>
  505. * MdiClient.cs: Instead of just sizing maximized windows when
  506. there is a resize we also have to adjust the Y of minimized
  507. windows, so they stay pinned to the bottom of the mdi container.
  508. - Eliminate separate tracking of the active control, we can just
  509. get this from the controls collection.
  510. - Paint the decorations for the newly activated titlebar so we get
  511. a pretty blue bar.
  512. * InternalWindowManager.cs:
  513. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  514. even if they are a tool window.
  515. 2006-06-15 Peter Dennis Bartok <[email protected]>
  516. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  517. undo buffer, these can happen when text was deleted and the cursor
  518. was recorded first. Since we will also have a recorded cursor
  519. after the delete this is not an issue. (Fixes #78651)
  520. 2006-06-14 Peter Dennis Bartok <[email protected]>
  521. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  522. instead properly track control states internally (allows us to
  523. remove is_selected from Control)
  524. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  525. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  526. whose width is not a multiple of 8.
  527. 2006-06-13 Jackson Harper <[email protected]>
  528. * MdiClient.cs: Only maximize the next child if the current one
  529. is maximized.
  530. 2006-06-13 Chris Toshok <[email protected]>
  531. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  532. modified. Also, guard against grid or grid_drawing being null in
  533. Invalidate.
  534. * DataGrid.cs: Reformat tons of getters/setters. In the
  535. DataMember setter, just call SetNewDataSource instead of
  536. duplicating some of its functionality. In SetNewDataSource, don't
  537. check ListManager for null, since the property getter creates the
  538. object if needed.
  539. * DataGridTableStyle.cs: don't set TableStyle or call
  540. SetDataGridInternal on the column here, it's done in
  541. GridColumnStylesCollection.Add.
  542. * GridColumnStylesCollection.cs: fix all the explicit interface
  543. implementations to just call our methods. Nuke AddInternal() and
  544. move the body of it to Add(). Also, add a call to
  545. column.SetDataGridInternal to Add().
  546. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  547. base()+duplicate code. Also, use the Format property instead of
  548. format to generate an Invalidate ala MS. Lastly, create the
  549. textbox here, unconditionally.
  550. (set_Format): call Invalidate.
  551. (get_TextBox): no need to call EnsureTextBox.
  552. (Commit): remove the message box.
  553. (Edit) remove the call to EnsureTextBox.
  554. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  555. (EnterNullValue): no need to check textbox for null.
  556. (HideEditBox): no need to check textbox for null.
  557. (SetDataGridInColumn): add the textbox to the grid's controls.
  558. (EnsureTextBox): nuke.
  559. 2006-06-13 Jackson Harper <[email protected]>
  560. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  561. and redraw the buttons when needed. Unhook when the window is
  562. unmaximized.
  563. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  564. needs this so that it can redraw its buttons when the menu is
  565. repainted.
  566. * InternalWindowManager.cs:
  567. * Form.cs: The method order has changed for DrawMaximizedButtons,
  568. so that it can be a PaintEventHandler.
  569. 2006-06-13 Jackson Harper <[email protected]>
  570. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  571. window is activated and maximized, even if it wasn't before.
  572. - When a new window is activated repaint the decorations of the
  573. old one, so that it no longer has the Active "look" (the blue
  574. titlebar).
  575. * InternalWindowManager.cs: Open up CreateButtons to base classes
  576. so they can recreate the buttons on state changes.
  577. - If a window is maximized give it all three buttons
  578. * MdiWindowManager.cs: Create the titlebar buttons when the state
  579. is changed, this is needed because a toolwindow will not have all
  580. three buttons until it is maximized.
  581. 2006-06-13 Atsushi Enomoto <[email protected]>
  582. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  583. Fixed bug #78609.
  584. 2006-06-12 Jackson Harper <[email protected]>
  585. * KeysConverter.cs: Make sure we handle the Ctrl special case
  586. if its the only key.
  587. 2006-06-12 Jackson Harper <[email protected]>
  588. * Theme.cs: Add a method to get the size of a managed window
  589. toolbar button.
  590. * InternalWindowManager.cs: Remove the ButtonSize property, this
  591. should be retrieved from the theme.
  592. * MdiWindowManager.cs: Get the button size from the theme
  593. * ThemeWin32Classic.cs: Make the method to get the managed window
  594. titlebar button size public.
  595. - Handle the different button sizes of maximized toolwindows
  596. (should match any maximized window).
  597. - Get the titlebar height from the theme, not the WM (which gets
  598. it from the theme).
  599. 2006-06-12 Jackson Harper <[email protected]>
  600. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  601. event down to the mdi window manager.
  602. - Expose some extra stuff to base classes
  603. - Make sure to end the Capture on an NC Mouse up, so that we can
  604. get double clicks properly, and the sizing doens't stick.
  605. - When doing PointToClient contain it in the workable desktop
  606. area, this prevents windows from changing size when the cursor is
  607. pulled outside of the working area while sizing.
  608. * MdiWindowManager.cs: When we get a double click maximize the
  609. window.
  610. - Reset the cursor after handling mode changes.
  611. 2006-06-12 Peter Dennis Bartok <[email protected]>
  612. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  613. current desktop, instead of just assuming a 0, 0 origin. This
  614. is needed for our internal window manager, to know the top
  615. margin of the desktop
  616. 2006-06-12 Chris Toshok <[email protected]>
  617. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  618. we need this to get rid of the selected background in the bool
  619. column.
  620. (CancelEditing): move the ConcedeFocus call to above the Abort
  621. call. Also, set is_changing to false and invalidate the row
  622. header if we were changing before.
  623. (ProcessKeyPreviewInternal): remove, since noone outside this
  624. class calls it anymore. Roll the code into ProcessKeyPreview.
  625. (EndEdit): remove the internal version.
  626. (InvalidateCurrentRowHeader): make private.
  627. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  628. Keys.Escape handling (and with it the last call to
  629. DataGrid.EndEdit from outside the class.)
  630. 2006-06-12 Chris Toshok <[email protected]>
  631. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  632. (OnKeyPress): set isedit to true.
  633. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  634. already handled by the grid.
  635. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  636. right. ugh.
  637. (set_DataSource): SetDataSource always returns true, so stop
  638. putting it in an if statement.
  639. (EndEdit): get rid of some {}'s
  640. (ProcessGridKey): return true in case Keys.Escape.
  641. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  642. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  643. PositionChanged, stopped connecting to CurrentChanged.
  644. (GetDataSource): simplify this a bunch.
  645. (SetDataSource): change return type from bool to void.
  646. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  647. to this, and make sure we don't set ListManager.Position inside
  648. set_CurrentCell.
  649. (OnListManagerItemChanged): if we're passed an actual index,
  650. redraw that row.
  651. * CurrencyManager.cs (set_Position): don't call PullData here.
  652. 2006-06-09 Jackson Harper <[email protected]>
  653. * TreeNode.cs: Recalculate the visible order before doing the
  654. Expand/Collapse Below calls, because those calls generate an
  655. expose.
  656. - Reduce calls to the TreeView property, which is mildly expensive
  657. by using a local var.
  658. * Form.cs: Layout the MDI child windows when creating the parent
  659. form.
  660. - Don't use the internal constructor anymore
  661. * MdiClient.cs: use the parent form width/height (if available)
  662. when laying out the child windows, we do this because the
  663. mdiclient isn't docked yet when the initial layout is done.
  664. - Don't need an internal constructor anymore.
  665. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  666. * FileDialog.cs: handle access errors when trying to create a folder
  667. or changing to a directory. No need to initialize out parameters.
  668. 2006-06-08 Alexander Olk <[email protected]>
  669. * FileDialog.cs: Append a number when creating a new folder if the
  670. folder already exists (use parenthesis instead of square brackets)
  671. 2006-06-08 Alexander Olk <[email protected]>
  672. * FileDialog.cs:
  673. - Disabled registry support for windows and added better registry
  674. error checking for other systems (need to investigate why it
  675. works perfectly on my system)
  676. - If a folder already exist show an error MessageBox instead of
  677. trying to create an indexed name.
  678. - Fixed a non intentional typo.
  679. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  680. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  681. 2006-06-08 Alexander Olk <[email protected]>
  682. * FileDialog.cs: When creating a new folder don't crash if the
  683. folder already exists.
  684. 2006-06-08 Alexander Olk <[email protected]>
  685. * FileDialog.cs: Allmost a complete rewrite.
  686. - added a "virtual" file system that handles the differences
  687. between unix and windows file systems (especially the directory
  688. structure). Moved most of the directory and file handling code
  689. into the vfs.
  690. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  691. UnixFileSystem and FSEntry.
  692. - Recently used folder/directory, size, location and used file names
  693. (file name ComboBox) are now stored in the registry and get read
  694. before the dialog shows up (fixes part 6 of bug #78446).
  695. - Creation of new folders/directories is now possible (context menu
  696. or ToolBar). Added TextEntryDialog for this that fills in the gap
  697. until ListView.LabelEdit works.
  698. - Fixed cursor handling (bug #78527) and focus handling for
  699. PopupButtonPanel
  700. - Various "Search in" ComboBox enhancements. The content of the
  701. dropdown listbox now almost matches ms.
  702. - Changed the behaviour when the user switches to SpecialFolder
  703. Recent to show the ListView in View.Details.
  704. - Beside using the ToolBar to change the View property of the
  705. file ListView it is now possible to use the context menu too.
  706. 2006-06-08 Alexander Olk <[email protected]>
  707. * ComboBox.cs: Don't create a new ObjectCollection when an item
  708. gets inserted. Just insert the item in the existing object_items
  709. ArrayList.
  710. 2006-06-08 Jackson Harper <[email protected]>
  711. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  712. that the treeview and root node checks are done also, this fixes a
  713. regression i caused in the unit tests.
  714. 2006-06-07 Wade Berrier <[email protected]>
  715. * RichTextBox.cs: More ISO8859-1 -> unicode
  716. 2006-06-07 Mike Kestner <[email protected]>
  717. * ComboBox.cs : use items to hold highlight/selection so that
  718. collection insertions don't require synchronization.
  719. 2006-06-07 Jackson Harper <[email protected]>
  720. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  721. routine. We now always keep the sized edge at the cursor instead
  722. of computing movement and adjusting rects. There is one buglet
  723. with this method though when the cursor is moved over area that
  724. the window can not expand too (such as the toolbars on the desktop).
  725. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  726. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  727. here. Fixes crash on startup in AlbumSurfer.
  728. 2006-06-07 Peter Dennis Bartok <[email protected]>
  729. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  730. values
  731. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  732. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  733. statement to avoid calling XNextEvent which will block if another thread
  734. took the event that we were expecting. Fixes bug #78605.
  735. 2006-06-07 Mike Kestner <[email protected]>
  736. * ListView.cs : isolated checkbox clicking from the selection logic.
  737. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  738. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  739. * Form.cs: Check that the value passed to Form.DialogResult
  740. is a valid enum value.
  741. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  742. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  743. Computer'. Clicking it in the network view goes to 'My Computer'.
  744. Added CIFS filesystem type. Display the mount point of filesystems.
  745. Avoid duplicate mount points (happens for me with CIFS);
  746. 2006-06-06 Jackson Harper <[email protected]>
  747. * InternalWindowManager.cs: Draw the maximized windows buttons
  748. when resizing.
  749. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  750. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  751. all other dialogs. Fixes bug #78585.
  752. 2006-06-06 Mike Kestner <[email protected]>
  753. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  754. Only invalidate checkbox on checkstate changes to avoid flicker.
  755. * ListBox.cs : avoid unselect/select when clicking selected item.
  756. avoid reselection flicker for already multiselected items.
  757. Fixes #78382.
  758. 2006-06-06 Jackson Harper <[email protected]>
  759. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  760. the parent form so that the menu is removed if needed.
  761. 2006-06-06 Mike Kestner <[email protected]>
  762. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  763. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  764. 2006-06-06 Mike Kestner <[email protected]>
  765. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  766. 2006-06-06 Jackson Harper <[email protected]>
  767. * Control.cs: Use the property (instead of the field) to get the
  768. default cursor so it is instantiated correctly.
  769. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  770. resizes so we need to manually repaint the window decorations here.
  771. - Set the titlebar button locations as soon as they are created,
  772. otherwise they are not set correctly on win32.
  773. 2006-06-06 Chris Toshok <[email protected]>
  774. * CurrencyManager.cs (set_Position): call PullData before
  775. OnCurrentChanged.
  776. (AddNew): after calling IBindingList.AddNew, update our
  777. listposition, and call OnCurrentChanged/OnPositionChanged (without
  778. calling PullData).
  779. (OnCurrentChanged): remove the call to PullData from here.
  780. (OnItemChanged): remove the call to PushData from here.
  781. (OnPositionChanged): change the test from == null to != null to
  782. match the other methods.
  783. (ListChangedHandler): the grossest part of the patch. Implement
  784. this such that it passes the unit tests in CurrencyManagerTest and
  785. the output more or less matches that of MS's implementation.
  786. 2006-06-06 Mike Kestner <[email protected]>
  787. * ListView.cs : only update check state on single click.
  788. * ThemeWin32Classic.cs : fix focus drawing for details view without
  789. fullrowselect. Fixes #78454.
  790. * XplatUIX11.cs : fix for double click emission.
  791. 2006-06-05 Jonathan Chambers <[email protected]>
  792. * PropertyGridView.cs : Applied Atsushi's patch to fix
  793. font dialog bug (#78197).
  794. 2006-06-05 Jackson Harper <[email protected]>
  795. * TreeNode.cs: Compute the next node for expanding/collapsing
  796. correctly. We now factor in nodes without a NextNode
  797. correctly. (Fixes somes cases in nunit-gui).
  798. * InternalWindowManager.cs: Set the bounds when updating the
  799. virtual position of a tool window.
  800. 2006-06-05 Chris Toshok <[email protected]>
  801. * DataGrid.cs: rename cached_currencymgr to list_manager.
  802. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  803. some.
  804. (CurrentRow, CurrentColumn): single accessors so we can make the
  805. cursor movement code a lot easier to understand.
  806. (CurrentRowIndex): implement this in terms of CurrentRow.
  807. (BeginEdit): clean this up a bit.
  808. (CancelEditing): sort out the is_editing/is_changing/is_adding
  809. stuff a little.
  810. (EndEdit): minor changes.
  811. (OnKeyDown): add a comment about a (most likely) unnecessary
  812. check.
  813. (OnMouseDown): cancel editing when we click on a row header. And
  814. use the CurrentRow setter, not CurrentCell.
  815. (ProcessDialogKey): directly call ProcessGridKey.
  816. (UpdateSelectionAfterCursorMove): factor out this common block of
  817. code (it's used everywhere that we move the cursor by updating row
  818. or column).
  819. (ProcessGridKey): pretty substantial overhaul. Use the
  820. CurrentRow/CurrentColumn properties to make the code a lot more
  821. readable. Only use the CurrentCell property when we have to
  822. modify both row and column at once. Tab behavior is still broken,
  823. and Delete is untested.
  824. (Select): if we have no selected rows, set selection_start to
  825. @row.
  826. (EditCurrentCell): rename EditCell this. It was only ever invoked
  827. with CurrentCell as the arg, so drop the arg and rename it.
  828. * DataGridColumnStyle.cs: clean up the constructors a little, and
  829. drop CommonConstructor().
  830. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  831. actually get notified when the user hits it.
  832. (ProcessKeyMessage): *substantially* simplify this method.
  833. There's no reason (that I can see) for the textbox to be making
  834. calls into the datagrid at all. Remove all of them but the ones
  835. for Enter handling. those will take some more work.
  836. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  837. calling HideEditBox.
  838. (HideEditBox): if we have an active textbox, render it invisible
  839. without causing a re-layout of the datagrid.
  840. 2006-06-05 Mike Kestner <[email protected]>
  841. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  842. collection changes by resetting it to Items[0]. Fixes #78587.
  843. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  844. * MessageBox.cs: if the height of the text is larger than the icon_size,
  845. use that. Fixes bug #78575.
  846. 2006-06-05 Jackson Harper <[email protected]>
  847. * TreeView.cs: Fix line drawing when scrolling. To do this each
  848. node is basically responsible for drawing its entire horizontal
  849. area. When drawing a node it draws its parent node lines if
  850. needed.
  851. - Adjust the clip area to the viewport rectangle
  852. - Fix Left/Right key handling to match MS. (It expand/collapses
  853. and moves to parents/first child but does not move selection to
  854. sibling nodes).
  855. - Fix SetTop to work with new bound calculation code
  856. - When scrollbars are no longer needed we need to reset scrolling
  857. vars and recalculate the visible order so the redraw is correct
  858. * TreeNode.cs: We can't expand/collapse nodes with no children.
  859. 2006-06-03 John Luke <[email protected]>
  860. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  861. so the colors work without dev packages
  862. 2006-06-02 Peter Dennis Bartok <[email protected]>
  863. * Control.cs
  864. - Select: Implemented to just use activate. Seems to match MS
  865. behaviour closest. Documented to only do actual control walking
  866. based on it's parameters if in a container control so I moved
  867. the code there.
  868. - Removed selection check logic from our internal Select() method
  869. * ContainerControl.cs:
  870. - Select: Moved selection logic from Control here, since MS documents
  871. that containers obey the bool arguments. No longer calling base
  872. 2006-06-02 Jackson Harper <[email protected]>
  873. * TreeView.cs: If the selected node isn't changed when we get
  874. focus update the previously selected node so that we see the
  875. selection box.
  876. 2006-06-02 Mike Kestner <[email protected]>
  877. * ComboBox.cs: restructure grab and general mouse event handling.
  878. Make the composite control raise mouse events like it was a single
  879. control for leaves/enters/motion/up/down events. fix dropdown list
  880. coordinate mangling and refactor it into the scrollbar subclass to
  881. reduce code duplication. Fixes #78282 #78361 and #78457.
  882. 2006-06-02 Mike Kestner <[email protected]>
  883. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  884. automatically in the Control.WndProc.
  885. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  886. * FileDialog.cs: fix crash when running SharpChess, which sets the
  887. FilterIndex to 2 with only one Filter.
  888. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  889. * ToolBar.cs: add SizeSpecified property.
  890. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  891. try to figure out our real size, otherwise fallback to what the
  892. container says.
  893. 2006-06-01 Peter Dennis Bartok <[email protected]>
  894. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  895. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  896. up the event
  897. 2006-06-01 Mike Kestner <[email protected]>
  898. * ListView.cs: revamp the focus management in ListView. It still
  899. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  900. better than not handling focus at all. Will revisit when pdb feels
  901. the general focus handling is solid. Fixes #78526.
  902. 2006-06-01 Jackson Harper <[email protected]>
  903. * TreeView.cs: Set the default border style in the constructor.
  904. - Move painting to use OnPaintInternal instead of capturing
  905. WM_PAINT, this is the correct way of doing things
  906. - UpdateBelow shouldn't invalidate the scrollbar area
  907. - Cap the top on update below in case the node was above the top
  908. of the viewport rectangle.
  909. - ExpandBelow and Collapse below need to obey Begin/End Update.
  910. * TreeNode.cs: Make is_expanded internal so the treenode
  911. collection can change it without firing the whole event chain.
  912. * TreeNodeCollection.cs: When clearing all the child nodes make
  913. sure to recalc the visible order.
  914. - Improve algo for remove the top node
  915. 2006-06-01 Peter Dennis Bartok <[email protected]>
  916. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  917. SendMessage directly calling window procedures, which in turn might
  918. call SetFocus()
  919. 2006-06-01 Peter Dennis Bartok <[email protected]>
  920. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  921. has focus (works around X11 sending a FocusIn after our SetFocus)
  922. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  923. 2006-06-01 Alexander Olk <[email protected]>
  924. * Mime.cs: Fix for the NET_2_0 build.
  925. NameValueCollection needs StringComparer now.
  926. 2006-05-31 Chris Toshok <[email protected]>
  927. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  928. return (via an out parameter) the starting X of the column.
  929. (UpdateVisibleColumn): track change to FromPixelToColumn.
  930. (HitTest): add a ColumnResize case here.
  931. (DrawResizeLine): new function, probably poorly named.
  932. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  933. only need to keep one reference.
  934. (set_ListManager): same.
  935. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  936. Also, add support for HitTestType.ColumnResize.
  937. (OnMouseMove): add column resize behavior here, and change the
  938. cursor to the correct one as we move around the datagrid.
  939. (OnMouseUp): terminate the column resize if we're resizing.
  940. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  941. for the current cell.
  942. (ConnectListManagerEvents): use cached_currencymgr.
  943. (DisconnectListManagerEvents): fill this in, using
  944. cached_currencymgr.
  945. (SetCurrentCell): remove cached_currencymgr_events handling.
  946. (SetDataMember): only call DisconnectListManagerEvents if
  947. cached_currencymgr is != null.
  948. (SetDataSource): same.
  949. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  950. cached_currencymgr.
  951. 2006-05-31 Jackson Harper <[email protected]>
  952. * BindingManagerBase.cs: Remove somedebug code that creeped into
  953. SVN.
  954. * TreeNode.cs: We get the indent level dynamically right now, so
  955. don't track it as a member.
  956. * TreeNodeCollection.cs: Make sure all nodes added to the list
  957. have parents, treeviews/topnodes setup properly.
  958. - Don't attempt to track indent level.
  959. 2006-05-30 Jackson Harper <[email protected]>
  960. * BindingContext.cs: Create the currency manager tables here.
  961. This allows us to more easily create null tables (when bad data
  962. members are used), and more easily create related currency
  963. managers.
  964. * CurrencyManager.cs: All the table creation stuff is done by the
  965. binding context now.
  966. - Current should throw an exception if listposition is -1.
  967. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  968. been bound yet.
  969. 2006-05-30 Mike Kestner <[email protected]>
  970. * ListView.cs: allow reexpansion of zero-width column headers.
  971. Fixes #78528.
  972. 2006-05-28 Chris Toshok <[email protected]>
  973. * CurrencyManager.cs (get_Current): after the late binding
  974. listposition = -1 fix, we need to guard against it here and return
  975. null, otherwise we raise an exception (which is swallowed
  976. elsewhere, and breaks datagrid databinding.)
  977. 2006-05-26 Peter Dennis Bartok <[email protected]>
  978. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  979. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  980. 2006-05-26 Jackson Harper <[email protected]>
  981. * ControlPaint.cs:
  982. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  983. values, it's faster and it's all we care about (we don't care if
  984. the names aren't equal).
  985. * KeyboardLayouts.cs: Eliminate some dead code.
  986. - Lazy init things
  987. * X11Keyboard.cs: Lazy init keyboard detection.
  988. - Cleanup access modifiers a little.
  989. 2006-05-26 Peter Dennis Bartok <[email protected]>
  990. * XplatUIX11.cs: Once again, attempting to get layout just right.
  991. 2006-05-26 Peter Dennis Bartok <[email protected]>
  992. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  993. the sizes of each link section, that will result in sizes that
  994. match DrawString's layout (Fixes #78391)
  995. 2006-05-27 Alexander Olk <[email protected]>
  996. * FileDialog.cs: If AddExtension property is true autocomplete the
  997. extensions in SaveFileDialog correctly. Fixes bug #78453.
  998. Set MyNetwork and MyComputer to "C:\" for windows. This should
  999. fix part 8 of bug #78446 for now.
  1000. 2006-05-26 Chris Toshok <[email protected]>
  1001. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1002. invalidate the current row header if we need to, but presumably
  1003. we'll invalidate the row corrsponding to the bounds or
  1004. editingControl.
  1005. (GridHScrolled): switch back to this method, as it's part of the
  1006. public api. *sigh*.
  1007. (GridVScrolled): same.
  1008. (OnMouseWheel): hack up something that more or less works. Call
  1009. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1010. of their code here.
  1011. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1012. can't just set the scrollbar Value and expect to do all the work
  1013. in the ValueChanged handler. Also, Call Update() after scrolling
  1014. in one direction so the other XplatX11.ScrollWindow call has the
  1015. proper stuff in the proper places.
  1016. (EditCell): set is_editing to true before calling .Edit.
  1017. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1018. don't bother comparing first.
  1019. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1020. base.OnKeyPress. this will set is_changing and invalidate the row
  1021. header if necessary.
  1022. (ProcessKeyMessage): for WM_CHAR messages, call
  1023. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1024. and WM_KEYDOWN.
  1025. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1026. it's done in the DataGrid.
  1027. (NextState): call grid.ColumnStartedEditing, which takes care of
  1028. invalidating the row header (and setting is_changing).
  1029. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1030. here. it's done in the DataGrid.
  1031. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1032. * Control.cs: allow changing the cursor when the mouse position is
  1033. out of bounds but Capture is set.
  1034. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1035. linklabel but released somewhere else.
  1036. 2006-05-25 Jackson Harper <[email protected]>
  1037. * TreeView.cs: When we get focus if there is no selected node make
  1038. it the top node
  1039. - Remove some uneeded setup code from Draw.
  1040. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1041. a new node is inserted make the new node the top.
  1042. * XplatUIX11.cs:
  1043. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1044. be used (should be faster).
  1045. 2006-05-25 Chris Toshok <[email protected]>
  1046. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1047. problem with the last commit.
  1048. 2006-05-25 Chris Toshok <[email protected]>
  1049. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1050. need the invalidate call here, while scrolling right-to-left via
  1051. the left arrow key (i.e. moving the editing cell while scrolling).
  1052. * DataGrid.cs (.ctor): remove the initialization of
  1053. ctrl_pressed/shift_pressed. We no longer track them using key
  1054. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1055. to using ValueChanged handlers on the scrollbars instead of
  1056. Scrolled event handlers. This simplifies a bunch of the scrolling
  1057. code.
  1058. (GridHValueChanged): rename from GridHScrolled, and change it to
  1059. work with the new event args.
  1060. (GridVValueChanged): same.
  1061. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1062. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1063. selected cell.
  1064. (ProcessGridKey): correct all the keyboard navigation stuff I
  1065. could find. Ctrl up/down/left/right/home/end work now.
  1066. (EnsureCellVisibility): correct method name spelling. Also,
  1067. simplify this a touch by not explicitly calling the
  1068. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1069. scrollbar value.
  1070. (OnKeyUpDG): no need for this method now.
  1071. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1072. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1073. Fixes bug #78392.
  1074. 2006-05-25 Chris Toshok <[email protected]>
  1075. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1076. r61019.
  1077. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1078. * Application.cs: Moved setting of is_modal and closing to before
  1079. we create the control, to allow the event handlers called as a
  1080. result of creation affect closing. Also removed Gonzalo's previous
  1081. change to setting DialogResult, the behaviour has been moved to
  1082. Form.ShowDialog()
  1083. * Form.cs:
  1084. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1085. handle it instead
  1086. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1087. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1088. the close is cancelled
  1089. 2006-05-25 Jackson Harper <[email protected]>
  1090. * StatusBar.cs: We only need to update the sizes of the other
  1091. panels when we have auto size contents. Also we are only updating
  1092. the contents of the panel, not the borders, so compensate for the
  1093. border width (TODO: get this width from the theme somehow).
  1094. * TreeView.cs: Scrollable is true by default
  1095. - Use invalidate instead of refresh where needed
  1096. - Factor the scrollable value into scrollbar updating
  1097. - Update the scrollbars if the Scrollable property is altered
  1098. - Update the selected node if its ImageIndex is changed
  1099. - Handle null nodes in UpdateNode (mainly so we don't have to
  1100. check if selected is null when updating it
  1101. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1102. are factored into the visible count
  1103. - Use VisibleCount for clarity in the code
  1104. - When the font is changed we need to recurse through all the
  1105. nodes and invalidate their sizes
  1106. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1107. * Application.cs: set the DialogResult to fixed when the main form is
  1108. hidden or destroyed while being modal.
  1109. 2006-05-25 Miguel de Icaza <[email protected]>
  1110. * Theme.cs: Use Tangoified messagebox icons.
  1111. (GetSizedResourceImage): Also cope with width = 0 and do not
  1112. trigger a warning in that case (0 means "give me your icon from
  1113. the resouce, no special size needed).
  1114. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1115. * Application.cs: Leave runloop if the the main modal form is
  1116. hidden (fixes #78484)
  1117. 2006-05-25 Atsushi Enomoto <[email protected]>
  1118. * BindingContext.cs : reject null datasource in Contains() and
  1119. Item[].
  1120. * CurrencyManager.cs : check data_member validity when data_source
  1121. is dataset. When it is late binding, the initial position is -1.
  1122. 2006-05-24 Jackson Harper <[email protected]>
  1123. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1124. inserted nodes that aren't visible. This changes the
  1125. max_visible_order which confuses scrollbar settings.
  1126. - Use the enumerator to get the prev node instead of duplicating
  1127. code.
  1128. * TreeView.cs: Use new method for setting scrollbar values
  1129. - Don't set the bounds every time the scrollbar is updated
  1130. - When updating below the root node use an invalidate instead of a
  1131. refresh to prevent the child controls (scrollbars) from being
  1132. refreshed. (UpdateBelow still needs to be reworked anyways).
  1133. - Reenable SetBottom now that visible orders are set correctly,
  1134. added some debug code incase we ever get bad values there again.
  1135. - Set the scrollbar max to 2 less then the max value, this
  1136. compensates for the max value being one above the node count, and
  1137. for scrollbars adding one extra "notch".
  1138. - When drawing image nodes if there is an imagelist we draw the
  1139. first image in the list if the supplied image index is out of the
  1140. image list's bounds.
  1141. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1142. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1143. we receive a size change from the WM (Fixes #78503)
  1144. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1145. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1146. rectangle (Fixes #78501)
  1147. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1148. * ButtonBase.cs:
  1149. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1150. as a bitfield.
  1151. - Fixed MouseMove to no longer switch pressed state unless the left
  1152. mouse button is pressed. Atsushi provided the original patch (#78485)
  1153. 2006-05-24 Jackson Harper <[email protected]>
  1154. * ScrollBar.cs: New internal methods that allow us to change a
  1155. couple values on the scrollbar (the most common case is maximum
  1156. and large change) without getting multiple invalidates.
  1157. 2006-05-24 Chris Toshok <[email protected]>
  1158. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1159. (Edit): save off the original state in oldState, and set
  1160. grid.is_editing to true.
  1161. (OnKeyDown): abort editing if escape is pressed. also, call
  1162. NextState if space is pressed.
  1163. (OnMouseDown): call NextState.
  1164. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1165. here. Also, only invalidate the row header once (on the initial
  1166. is_changing switch) to save on redraws.
  1167. 2006-05-24 Chris Toshok <[email protected]>
  1168. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  1169. if the value in the cell is different than it was before. This
  1170. keeps us from triggering a layout when we move around a datarid
  1171. with a highlighted cell.
  1172. (Edit): suspend layout when creating/positining the text box, and
  1173. resume passing false so we don't ever actually re-layout.
  1174. (ReleaseHostedControl): same.
  1175. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  1176. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  1177. control-key sequences should go to the datagrid - remove that
  1178. lock. Also, modify the conditions under which we move between
  1179. cells when moving the cursor within a cell, and remove the "this"
  1180. and "base" from field accesses. We weren't even consistent, given
  1181. they all were in the base class.
  1182. 2006-05-24 Atsushi Enomoto <[email protected]>
  1183. * Binding.cs : (.ctor)
  1184. An obvious NRE fix for BindingTest.CtorNullTest().
  1185. 2006-05-23 Chris Toshok <[email protected]>
  1186. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  1187. them between lines. This fixes some quirks editing cells in the
  1188. datagrid.
  1189. 2006-05-23 Jackson Harper <[email protected]>
  1190. * TreeView.cs: Use begin/end update when doing expand/collapse all
  1191. so that we don't get flicker on the scrollbar.
  1192. 2006-05-23 Jackson Harper <[email protected]>
  1193. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  1194. treenode calculations to be independant of the painting code. To
  1195. do this nodes track a visible order which is calculated by the
  1196. treeview.
  1197. - Call new methods for expanding/collapsing nodes. These methods
  1198. use scrollwindow so we don't have to update everything below the
  1199. node.
  1200. * TreeView.cs: Refactored drawing and scrolling code. We don't
  1201. need to update nodes when drawing anymore or calculate scrollbar
  1202. stuff.
  1203. - Added new methods for expanding/collapsing nodes. These methods
  1204. use ScrollWindow so as to not have to redraw all the nodes below.
  1205. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  1206. we add/remove nodes or sort.
  1207. - Handle removing the selected and the top node properly.
  1208. 2006-05-23 Chris Toshok <[email protected]>
  1209. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  1210. maybe this should actually happen in the datagrid code?
  1211. (EndEdit): no need to invalidate anything, given that
  1212. ReleaseHostedControl causes the datagrid to relayout, which
  1213. invalidates everything anyway.
  1214. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  1215. in SetCurrentCell).
  1216. (set_SelectionBackColor): call InvalidateSelection instead of
  1217. Refresh.
  1218. (set_SelectionForeColor): same.
  1219. (BeginEdit): Flesh this out a bit.
  1220. (CancelEditing): only do any of this if we're editing/adding.
  1221. (EndEdit): same.
  1222. (OnMouseDown): there's no need to cancel editing here, it's done
  1223. in SetCurrentCell.
  1224. (SetCurrentCell): only invalidate the current row header if it's a
  1225. different row than the new one.
  1226. (ShiftSelection): fix this to work like MS does.
  1227. (ResetSelection): factor out the invalidation of selected_rows to
  1228. InvalidateSelection.
  1229. (SetDataSource): cancel any editing that's going on.
  1230. * DataGridColumnStyle.cs
  1231. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  1232. call the non-interface version.
  1233. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  1234. header rectangle with the clip rectangle so we don't redraw the
  1235. entire header for just a small area. Gets rid of the last flicker
  1236. when horizontally scrolling.
  1237. (DataGridPaintRow): same.
  1238. 2006-05-23 Mike Kestner <[email protected]>
  1239. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  1240. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  1241. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  1242. Critical bug report.
  1243. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1244. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  1245. and this fixes #78493
  1246. 2006-05-23 Miguel de Icaza <[email protected]>
  1247. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  1248. size is not found.
  1249. * FileDialog.cs: Do not change the background for the side bar as
  1250. it wont work nicely with the theme, and also reduces the artifacts
  1251. in rendering the icons (which I want to fix too).
  1252. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  1253. resources, not resgen resources.
  1254. (PlatformDefaultHandler): Pull images using the new API.
  1255. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1256. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  1257. a reference to the hwnd and will not remove it unless there are
  1258. no pending exposures (fixes #78341)
  1259. * XplatUI.cs: Improved debug
  1260. 2006-05-23 Atsushi Enomoto <[email protected]>
  1261. * MenuAPI.cs : don't handle OnClick event when it was not the left
  1262. button. Fixed bug #78487.
  1263. 2006-05-23 Mike Kestner <[email protected]>
  1264. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  1265. prefer submenus to the top menu for item lookup, to avoid popping down
  1266. top-row items.
  1267. 2006-05-23 Alexander Olk <[email protected]>
  1268. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  1269. Graphics.FillRectangle as the visual results are really bad (even
  1270. on win). We now draw perfect arrows (and perfect shadows when the
  1271. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  1272. Pen.DashPattern to draw the dots of each line.
  1273. 2006-05-22 Alexander Olk <[email protected]>
  1274. * FileDialog.cs: Update the filename combobox when navigating through
  1275. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  1276. 2006-05-22 Mike Kestner <[email protected]>
  1277. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  1278. Fixes #78463.
  1279. 2006-05-22 Mike Kestner <[email protected]>
  1280. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  1281. requests. Fix a misspelled parameter and a copy paste exception error
  1282. in Select.
  1283. 2006-05-22 Peter Dennis Bartok <[email protected]>
  1284. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  1285. to get the same width/height (5/13) on X11 as the default font has on
  1286. win32. This means that our DefaultFont emSize is smaller than the
  1287. the MS SWF equivalent (even thought the width/height stays the same)
  1288. 2006-05-20 Jackson Harper <[email protected]>
  1289. * MdiClient.cs:
  1290. * MdiWindowManager.cs:
  1291. * InternalWindowManager.cs: Make sure to use the border width from
  1292. the theme.
  1293. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  1294. * PrintDialog.cs: Implements printer details
  1295. 2006-05-19 Alexander Olk <[email protected]>
  1296. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  1297. Fixes part 1 and 2 of bug #78446
  1298. 2006-05-19 Peter Dennis Bartok <[email protected]>
  1299. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  1300. instead of sticking to the first ever calculated value
  1301. 2006-05-19 Mike Kestner <[email protected]>
  1302. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  1303. PointToClient, since Capture is set. Fixes #78344.
  1304. 2006-05-19 Mike Kestner <[email protected]>
  1305. * ListView.cs: match MS behavior in Details view where items are not
  1306. drawn if Columns.Count == 0.
  1307. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  1308. Use a separate pen to draw the check, since changing the width affects
  1309. the box as well. Fixes #78454.
  1310. 2006-05-18 Miguel de Icaza <[email protected]>
  1311. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  1312. exception should throw the name of the invalid argument.
  1313. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  1314. there are no files listed.
  1315. 2006-05-18 Jackson Harper <[email protected]>
  1316. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  1317. up.
  1318. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1319. * Control.cs: Brought back our old UpdateZOrder method as a private
  1320. function and switched our calls from UpdateZOrder to the new one.
  1321. This fixes the Paint.Net canvas disappearing bug.
  1322. 2006-05-18 Jackson Harper <[email protected]>
  1323. * Theme.cs:
  1324. * ThemeWin32Classic.cs:
  1325. * InternalWindowManager.cs: Move the drawing into the theme,
  1326. expose everything the theme should need from the window manager.
  1327. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1328. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  1329. from the call to NativeWindow to avoid walking up the parent chain
  1330. further than needed (speeds up setting cursors and avoids setting
  1331. the wrong cursor if a parent has another cursor defined)
  1332. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  1333. the icon as hotspot, not what's contained as hotspot in the icon
  1334. file. This fixes the perceived drawing offset seen with Paint.Net
  1335. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1336. * XplatUIX11.cs:
  1337. - Store the calculated rectangle in Hwnd object and use it when
  1338. setting the client size
  1339. - Force Toolwindows to always be type Dock, to ensure they're on top
  1340. 2006-05-18 Mike Kestner <[email protected]>
  1341. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  1342. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  1343. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  1344. Substantial refactoring to remove confusing nested classes. Coding
  1345. standard and Get+Set->property refactorings. Shift to index based
  1346. highlighting in ComboListBox instead of constantly using IndexOf and
  1347. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  1348. in FileDialog growth. Draw borders manually since Simple mode needs
  1349. to look like two independent controls. Make listbox border
  1350. conditional to DropDownStyle. Improved OwnerDraw support.
  1351. 2006-05-18 Sebastien Pouliot <[email protected]>
  1352. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  1353. Don't set the disposed graphics to null, so we can throw the "right"
  1354. exception if the graphics is reused later (added a flag to avoid
  1355. double disposing). Some behaviours are different under 2.0 and are
  1356. filled under bug #78448.
  1357. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1358. * Control.cs: When double-buffering is enabled, we need to reset
  1359. our graphics context between paint calls. Otherwise, any
  1360. transformations and other alterations on the context will
  1361. become cumulative (#77734)
  1362. 2006-05-18 Mike Kestner <[email protected]>
  1363. * ListView.cs: do focused item selection like MS on clicks.
  1364. Rework focus handling for ItemControl so LostFocus invalidates as
  1365. well.
  1366. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  1367. the ListView ItemControl has focus.
  1368. 2006-05-17 Peter Dennis Bartok <[email protected]>
  1369. * XplatUIX11.cs: If client_window ends up being width or height zero
  1370. due to border settings, move it off window inside whole_window (#78433)
  1371. 2006-05-17 Alexander Olk <[email protected]>
  1372. * Mime.cs: Shrink the mime file cache correctly.
  1373. 2006-05-17 Alexander Olk <[email protected]>
  1374. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  1375. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1376. * XplatUIX11.cs (AddExpose): More sanity checks
  1377. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1378. * XplatUIX11.cs:
  1379. - AddExpose: Don't add expose ranges outside the size of our
  1380. window
  1381. - Cast opacity values to Int32 to avoid crashes with certain
  1382. values
  1383. - Added disabled code paths that protect against illegal cross-
  1384. thread painting (Developers.exe)
  1385. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1386. * ProgressBar.cs: Invalidate the control when it's resized
  1387. since block size is based on control size. (#78388)
  1388. 2006-05-16 Miguel de Icaza <[email protected]>
  1389. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  1390. of setting the incoming argument to the "reset" value, we set the
  1391. this.datamember to string.empty (before we were invalidating the
  1392. incoming data).
  1393. Fixes 78420
  1394. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1395. * Form.cs: Only apply transparency settings after the form
  1396. is created. (Fixes #77800)
  1397. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1398. * ApplicationContext.cs: Grab the HandleDestroyed event so
  1399. we know when to fire OnMainFormClosed
  1400. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1401. * Application.cs: Introduced sub-class to allow tracking of
  1402. threads and centralized triggering of the event mess for
  1403. ThreadExit, AppExit, etc.. (#76156)
  1404. 2006-05-16 Alexander Olk <[email protected]>
  1405. * MimeIcon.cs:
  1406. - Do not return a null icon index value for a mime subclass.
  1407. Instead try the main mime type class too.
  1408. - Seems that some newer distributions don't have a link to some
  1409. gnome default icons anymore. So check the default gnome dir too.
  1410. 2006-05-16 Jackson Harper <[email protected]>
  1411. * MdiClient.cs: Don't paint the parent background image if we have
  1412. our own background image.
  1413. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1414. * Control.cs:
  1415. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  1416. controls, all filled controls are supposed to overlap (#78080)
  1417. - UpdateZOrder is supposed to update the control's z-order in the
  1418. parent's z-order chain. Fixed to behave like that
  1419. - BringToFront: Removed obsolete code
  1420. - SendToBack: Simplyfied
  1421. - SetChildIndex: Trigger layout calculations when Z-order changes
  1422. since layout is done by z-order
  1423. 2006-05-16 Chris Toshok <[email protected]>
  1424. [ fixes bug #78410 ]
  1425. * DataGrid.cs (set_AlternatingBackColor): use
  1426. grid_drawing.InvalidateCells instead of Refresh().
  1427. (set_BackColor): call grid_drawing.InvalidateCells.
  1428. (set_BackgroundColor): use Invalidate instead of Refresh.
  1429. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  1430. invalidate the cell area.
  1431. 2006-05-15 Chris Toshok <[email protected]>
  1432. [ fixes bug #78011 ]
  1433. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  1434. on to DataGridPaintRow.
  1435. (DataGridPaintRow): take a clip argument, and only draw the cells
  1436. which intersect it. same with the not_usedarea.
  1437. * Theme.cs (DataGridPaintRow) add @clip parameter.
  1438. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  1439. XplatUI.ScrollWindow.
  1440. (ScrollToRow): same.
  1441. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  1442. with last column which was causing a gray swath to appear with the
  1443. XplatUI.ScrollWindow code.
  1444. 2006-05-15 Chris Toshok <[email protected]>
  1445. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  1446. use XplatUI.ScrollWindow.
  1447. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  1448. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1449. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  1450. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1451. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  1452. file since there are no equivalent X11 cursors
  1453. 2006-05-15 Atsushi Enomoto <[email protected]>
  1454. * MonthCalendar.cs : DateTimePicker should reflect selected date
  1455. on mouse*up*, not mouse*down*. Fixed originally reported part of
  1456. bug #76474.
  1457. 2006-05-15 Atsushi Enomoto <[email protected]>
  1458. * TabControl.cs : When argument index is equal or more than tab
  1459. count, just ignore. Fixed bug #78395.
  1460. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1461. * Control.cs: Dispose all child controls when control is diposed (#78394)
  1462. 2006-05-14 Alexander Olk <[email protected]>
  1463. * ColorDialog.cs: Finally it is possible to select the color with
  1464. the text boxes
  1465. 2006-05-14 Alexander Olk <[email protected]>
  1466. * PrintDialog.cs: Fix typo
  1467. 2006-05-14 Alexander Olk <[email protected]>
  1468. * PrintDialog.cs: PrintDialog is not resizable
  1469. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  1470. color. Made some ToolBar drawing methods protected virtual.
  1471. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  1472. * PrintDialog.cs: Implementation of the PrintDialog
  1473. 2006-05-12 Chris Toshok <[email protected]>
  1474. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  1475. thumb, instead use MoveThumb. This has the side effect of making
  1476. most of the other thumb moving machinery use MoveThumb as well.
  1477. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  1478. need to actually invalidate the rectangle where the new thumb will
  1479. go.
  1480. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  1481. We force an Update() after, so it's not as fast as it could be,
  1482. but at least there's zero flicker and no droppings.
  1483. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  1484. (UpdateThumbPos): add another argument (dirty), which says whether
  1485. or not to calculate/add dirty regions which we later invalidate.
  1486. For cases where we know we're going to use MoveThumb, we pass
  1487. false for this. Otherwise, pass true.
  1488. 2006-05-12 Jackson Harper <[email protected]>
  1489. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  1490. the status bar.
  1491. 2006-05-12 Peter Dennis Bartok <[email protected]>
  1492. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  1493. and GetClipRegion methods and UserClipWontExposeParent property.
  1494. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  1495. overriding UserClipWontExposeParent property, setting to false, since
  1496. Win32 handles the required expose messages to draw our clipped parent
  1497. areas internally
  1498. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  1499. PaintEventStart to set the user clip region if set.
  1500. * Control.cs:
  1501. - Now internally tracking the Region for the control since we need to
  1502. store it if the handle is not yet created and only set it when it
  1503. becomes created. Before setting the region forced handle creation
  1504. - Added code to draw the parents underneath a user-clipped region
  1505. * Hwnd.cs: Added UserClip property
  1506. 2006-05-12 Chris Toshok <[email protected]>
  1507. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  1508. (set_Maximum): same.
  1509. (set_Minimum): same.
  1510. (set_SmallChange): same.
  1511. (OnMouseUpSB): remove the call to refresh when releasing the
  1512. thumb. We shouldn't need it.
  1513. 2006-05-12 Miguel de Icaza <[email protected]>
  1514. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  1515. AutoSize set to None, we do not need to relayout everything, we
  1516. just need to invalidate the current region.
  1517. (Draw): Do not draw the entire ClientArea, just redraw the
  1518. clip area being passed.
  1519. * MdiClient.cs: Make MdiClient constructor with the Form argument
  1520. internal.
  1521. 2006-05-12 Jackson Harper <[email protected]>
  1522. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  1523. parents background image, but strangely not their own.
  1524. - (DrawStatusBarPanel): Take into account horizontal alignment
  1525. when drawing the strings and icons.
  1526. 2006-05-12 Mike Kestner <[email protected]>
  1527. * ListBox.cs: avoid invalidations for focus when the collection is
  1528. empty.
  1529. 2006-05-12 Chris Toshok <[email protected]>
  1530. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  1531. invalidate the entire thumb area. Call InvalidateDirty which
  1532. limits the redraw to the thumb itself and surrounding pixels.
  1533. * XplatUIX11.cs (ScrollWindow): optimize copying.
  1534. 2006-05-12 Chris Toshok <[email protected]>
  1535. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  1536. Figure out the positioning/layout in a single pass instead of
  1537. multiple recursive invocations. Speeds up the initial display of
  1538. the data grid. Also, make many things private that were
  1539. originally public but unused outside this class.
  1540. 2006-05-11 Jackson Harper <[email protected]>
  1541. * MdiClient.cs: Improved layout code.
  1542. 2006-05-11 Jonathan Chambers <[email protected]>
  1543. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  1544. not SelectedObject.
  1545. 2006-05-11 Chris Toshok <[email protected]>
  1546. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  1547. union of that will always be {0,0,width,height}.
  1548. 2006-05-11 Jackson Harper <[email protected]>
  1549. * Form.cs: Match MS's DefaultSize for forms (they must have
  1550. changed the size in sp2).
  1551. 2006-05-11 Atsushi Enomoto <[email protected]>
  1552. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  1553. 2006-05-11 Atsushi Enomoto <[email protected]>
  1554. * TextControl.cs : Fixed bug #78109. This incorrect position
  1555. comparison caused crash on automatic line split.
  1556. * TextBoxBase.cs : reduce duplicate code.
  1557. 2006-05-10 Jackson Harper <[email protected]>
  1558. * MdiClient.cs: Active form is only sent to the back when using
  1559. the Next form functionality, when a form is clicked the current
  1560. active shouldn't be sent to the back.
  1561. - Layout the mdi windows when the container is first made visible.
  1562. * Form.cs: Give the MdiClient a ref to the containing form when we
  1563. create it.
  1564. 2006-05-10 Atsushi Enomoto <[email protected]>
  1565. * LinkLabel.cs : link_font could be uninitialized, so populate one
  1566. before actual use. Fixed bug #78340.
  1567. 2006-05-10 Atsushi Enomoto <[email protected]>
  1568. * XplatUIX11.cs : clipboard format native value is IntPtr.
  1569. Fixed bug #78283.
  1570. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1571. * Control.cs:
  1572. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  1573. which is passed up the parent chain by DefWndProc
  1574. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  1575. to DefWndProc (#77956)
  1576. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  1577. 2006-05-10 Jackson Harper <[email protected]>
  1578. * MdiClient.cs: We need to remove the controls from the mdi
  1579. collection, when we close the window.
  1580. * MdiWindowManager.cs: Special handling of closing mdi windows.
  1581. * InternalWindowManager.cs: Make the close method virtual so the
  1582. mdi window manager can handle it specially.
  1583. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  1584. * DataGrid.cs:
  1585. - Recalculate grid when the data source has changed
  1586. - Matches styles provided by user from all data sources types
  1587. * DataGridTableStyle.cs: For columns that provided by the user set the
  1588. with the preferred value is there was unassigned.
  1589. * CurrencyManager.cs: throw OnItemChanged event
  1590. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1591. * PictureBox.cs: Don't animate until handle is created. Start animation
  1592. when handle is created.
  1593. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1594. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  1595. current codebase.
  1596. * XEventQueue.cs: We don't need to provide the extra info
  1597. 2006-05-10 Jackson Harper <[email protected]>
  1598. * MdiClient.cs: If the mdi clients parent form has a background
  1599. image set, we draw that background image for the mdi area's
  1600. background.
  1601. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1602. * TextBoxBase.cs: Set IBeam cursor (#78347)
  1603. 2006-05-10 Mike Kestner <[email protected]>
  1604. * ToolBar.cs: fix some text padding issues with ButtonSize
  1605. calculation. Update the default size to match MS documentation.
  1606. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  1607. button size. Fixes #78296.
  1608. 2006-05-10 Mike Kestner <[email protected]>
  1609. * ListBox.cs: use is_visible for scrollbar positioning in case the
  1610. control isn't on screen yet. Fix off by one with Right vs Width
  1611. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  1612. 2006-05-10 Jackson Harper <[email protected]>
  1613. * X11Dnd.cs: Drop to a control with another control on top of it.
  1614. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  1615. be modified in click handlers. TODO: Look for similar problems in
  1616. other controls.
  1617. 2006-05-09 Jackson Harper <[email protected]>
  1618. * Form.cs: Window managers need the old window state when setting
  1619. window state now.
  1620. * InternalWindowManager.cs: Allow the base mdi window manager to
  1621. handle more of the MDI only stuff (like maximize buttons).
  1622. * MdiWindowManager.cs: Fix some snafus in changing the window
  1623. state. Add all the menu functionality, for both popup and
  1624. maximized menus.
  1625. * MdiClient.cs: When a new form is selected the currently
  1626. activated form is sent to the back, this matches MS.
  1627. - Implement a new method to activate the next mdi child window.
  1628. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1629. * Control.cs:
  1630. - Added new InternalCapture method to allow controls to prevent
  1631. the capture behaviour on the click handlers
  1632. - Switched to use InternalCapture
  1633. * ComboBox.cs:
  1634. - Using InternalCapture to prevent mouse captures from being released
  1635. on mouse button release (Fixes #78100)
  1636. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  1637. returns Form borders if a caption is present. (Fixes #78310)
  1638. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1639. * TreeNode.cs: Changed serialization .ctor to not require every field
  1640. to be present. (#78265)
  1641. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  1642. 2006-05-05 Alexander Olk <[email protected]>
  1643. * MimeIcon.cs: for is faster than foreach for strings.
  1644. 2006-05-05 Mike Kestner <[email protected]>
  1645. * CheckedListBox.cs: update check handling code to not use selected.
  1646. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  1647. behavior for visual feedback, motion response, shift/ctrl handling,
  1648. and properly deal with all 4 selection modes. Updates to bounds
  1649. handling logic. Add scroll wheel support. [Fixes #77842]
  1650. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1651. * ListView.cs:
  1652. - Moved adding of Implicit controls into .ctor. That way, subsequent
  1653. creation of the controls will not cause them to think they are
  1654. toplevel windows (fixes #78200 header problem)
  1655. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  1656. - Switched visibility setting of header control to use internal field
  1657. to avoid triggering handle creation
  1658. - Now checking if handle is created before causing a refresh when items
  1659. are added (This makes us now match handle creation time with MS)
  1660. * Splitter.cs: Removed loading of private splitter cursor, switched to
  1661. Cursors version now that that is loading the right ones
  1662. * Cursors.cs: Load proper splitter cursors from resources
  1663. * Cursor.cs: Added second method of loading resource cursors for the
  1664. VS.Net users amongst us
  1665. 2006-05-05 Mike Kestner <[email protected]>
  1666. * ListView.cs: give header_control a minimum size based on the
  1667. ListView size.
  1668. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1669. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  1670. window seems to do that with metacity, so set that type. (#78120)
  1671. 2006-05-05 Mike Kestner <[email protected]>
  1672. * ListViewItem.cs: fix Details mode checkbox layout bug.
  1673. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  1674. at the end of the header, if it exists. [Fixes for #78200]
  1675. 2006-05-04 Jackson Harper <[email protected]>
  1676. * MdiClient.cs: Add a helper property to get the container form.
  1677. * MdiWindowManager.cs: We have to make sure to use the menu origin
  1678. when drawing the icons and buttons, this fixes maximized window
  1679. icons/buttons on win32.
  1680. * InternalWindowManager.cs: Reset the restore captions when a
  1681. window goes from Maximized to Minimized and vice versa. Move the
  1682. DrawMaximizedButtons into the MdiWindowManager source, tool
  1683. windows can't be maximized. NOTE: This could use a little
  1684. refactoring if time ever permits.
  1685. 2006-05-03 Jonathan Chambers <[email protected]>
  1686. * TextBox.cs: Add MWFCategoryAttributes
  1687. * TextBoxBase.cs: Add MWFCategoryAttributes
  1688. * Form.cs: Add MWFCategoryAttributes
  1689. 2006-05-03 Jonathan Chambers <[email protected]>
  1690. * Control.cs: Add MWFCategoryAttributes
  1691. * ScrollableControl.cs: Add MWFCategoryAttributes
  1692. 2006-05-03 Alexander Olk <[email protected]>
  1693. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  1694. Divider is true. Fix a little glitch in PropertyToolBar
  1695. drawing code
  1696. 2006-05-02 Peter Dennis Bartok <[email protected]>
  1697. * Control.cs:
  1698. - Dispose: Call base.Dispose, this causes the disposed event
  1699. to be fired (and probably other, more important stuff)
  1700. - SetVisibleCore: Set is_visible to true after creating the
  1701. window so that the window still gets created invisible (if
  1702. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  1703. to generate a WM_ACTIVE message
  1704. * Form.cs: Call Dispose when we want to destroy the window, instead of
  1705. just destroying the handle (Dispose will do that for us)
  1706. * XplatUIX11.cs:
  1707. - RootWindow also needs a queue, so we can properly process the
  1708. property change events from RootWindow (like Activate)
  1709. - Generatic synthetic WM_ACTIVE message when the active window is
  1710. being destroyed
  1711. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1712. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  1713. bounds are changed
  1714. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1715. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  1716. for determining width and height (image might not be assigned if
  1717. we're drawing an imagelist)
  1718. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1719. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  1720. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  1721. height from system
  1722. * Theme.cs: No longer returns hardcoded menu height, instead calls
  1723. new driver method
  1724. * Form.cs (OnLoad): Scaling happens before triggering Load events
  1725. on MS (# 78257)
  1726. 2006-05-01 Mike Kestner <[email protected]>
  1727. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  1728. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1729. * TextBoxBase.cs: Removed Fixme
  1730. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  1731. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1732. * XplatUIX11.cs:
  1733. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  1734. the rectangle relative to the parent, considering borders. We
  1735. don't really want that.
  1736. - ScrollWindow: Fixed warning to be more understandable
  1737. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  1738. scrollbars and scroll only the visible area
  1739. * RichTextBox.cs: Removed debug output
  1740. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1741. * NumericUpDown.cs (Text): Just use base
  1742. * UpDownBase.cs: Ensure txtView is created before using it
  1743. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1744. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  1745. casting to IntPtr to avoid 64bit overflow errors
  1746. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1747. * Control.cs:
  1748. - AllowDrop: Don't force handle creation.
  1749. - CreateHandle: Added call to tell driver if we're allowed to drop
  1750. 2006-04-27 Alexander Olk <[email protected]>
  1751. * FileDialog.cs: Remember the last directory not only for the
  1752. current instance but also for new FileDialog instances.
  1753. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1754. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  1755. broke sending async messages
  1756. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1757. * XplatUIX11.cs:
  1758. - ScrollWindow: Fixed method. We finally generate expose events again
  1759. for scrolled areas. This was causing 'garbage' when scrolling
  1760. textbox and other controls that used ScrollWindow
  1761. - Switched from using the regular queue for paint events to the MS
  1762. model of 'generating' paint events when the queue is empty.
  1763. We use the new XQueueEvent.Paint subclass to store which windows
  1764. need painting.
  1765. - AddExpose now takes the x/y/width/height of the exposed area
  1766. and inserts the window into the paint queue if not already there
  1767. - InvalidateWholeWindow: Switched to use new AddExpose method
  1768. - UpdateMessageQueue: Added which queue to monitor for paint events
  1769. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  1770. the unlikely case nothing above handles it. We reset the expose
  1771. pending states to get them off the queue.
  1772. - GetMessage: Now pulls a paint event if no other events are in the
  1773. queue
  1774. - Invalidate: Switched to new AddExpose method
  1775. - PeekMessage: Updated to understand pending paint events
  1776. - UpdateWindow: Fixed logic bug. We were only updating if the window
  1777. didn't need updating. Also switched to sending WM_PAINT directly,
  1778. like MS does.
  1779. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  1780. and random access Remove(). The random access is needed to handle
  1781. UpdateWindow() where a WM_PAINT is sent directly without accessing
  1782. the queue.
  1783. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  1784. allow for better feedback when scrolling. Scrollbars are small and
  1785. the immediate update should make it 'feel' more responsive without
  1786. slowing things down. ScrollBar still needs it's invaliate logic
  1787. updated to not always invalidate the whole bar on certain changes.
  1788. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  1789. * Control.cs:
  1790. (BackColor): if the control does not support a transparent background,
  1791. return the default backcolor when the parent backcolor is transparent.
  1792. 2006-04-28 Peter Dennis Bartok <[email protected]>
  1793. * Application.cs: Updated to new StartLoop/GetMessage API
  1794. * RichTextBox.cs: Provide some output on RTF parsing errors
  1795. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  1796. new queue_id argument to GetMessage and PeekMessage to allow faster
  1797. handling of per-thread queues in drivers.
  1798. * Hwnd.cs: Added Queue tracking and property
  1799. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  1800. * XEventQueue.cs: Added thread trackingA
  1801. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  1802. * XplatUIX11.cs:
  1803. - Implemented new per-thread queue
  1804. - GetMessage: Fixed return/break behaviour on several cases. We were
  1805. returning stale messages in some cases, instead of just processing
  1806. the next message
  1807. 2006-04-27 Jonathan Chambers <[email protected]>
  1808. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  1809. 2006-04-27 Peter Dennis Bartok <[email protected]>
  1810. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  1811. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  1812. 2006-04-27 Jonathan Chambers <[email protected]>
  1813. * PropertyGridView.cs: Fix drop down width.
  1814. 2006-04-27 Alexander Olk <[email protected]>
  1815. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  1816. a mess in DrawToolBar, so I removed one of them.
  1817. 2006-04-27 Alexander Olk <[email protected]>
  1818. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  1819. needed (clip). Otherwise we get artifacts.
  1820. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1821. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  1822. dimension is fixed
  1823. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  1824. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  1825. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  1826. if it matches the scale base font (avoids unneeded scaling)
  1827. 2006-04-26 Alexander Olk <[email protected]>
  1828. * X11DesktopColors.cs: One gtk_init_check should be enough
  1829. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1830. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  1831. match MS behaviour
  1832. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1833. * TextBoxBase.cs:
  1834. - Generate OnTextChanged for Backspace even if we're only deleting
  1835. the current selection
  1836. - When setting the Text property, only select all text if the
  1837. control does not have focus when it is being set. Otherwise
  1838. just place the cursor at the beginning of the control
  1839. 2006-04-26 Alexander Olk <[email protected]>
  1840. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  1841. Added a little helper to draw PropertyGrid ToolBar with a different
  1842. border and a different BackColor.
  1843. * PropertyGrid.cs: Some background parts didn't get painted with the
  1844. correct background color. Added a class that helps us to draw the
  1845. correct border for PropertyGridView and a class that helps us to
  1846. draw ToolBars with a different backcolor
  1847. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  1848. 2006-04-25 Jonathan Chambers <[email protected]>
  1849. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  1850. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  1851. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1852. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  1853. into the palette entries. Also, since we're working on a copy
  1854. we needed to copy the palette back onto the bitmap.
  1855. * Cursor.cs: Same fix as XplatUIWin32.cs.
  1856. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1857. * ImageListStreamer.cs: Need to read the var (or we're off)
  1858. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1859. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  1860. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  1861. TextBoxBase.cs: Unused var fixes
  1862. * AxHost.cs: Small 2.0 fix
  1863. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  1864. as it seems that is what at least Metacity expects. This will make
  1865. icons show up on 64bit platforms. We still have some 64bit size
  1866. issues, though, since the startup app window size still won't match.
  1867. 2006-04-25 Mike Kestner <[email protected]>
  1868. * *.cs: cleanup newly reported exception var unused warnings.
  1869. 2006-04-25 Alexander Olk <[email protected]>
  1870. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  1871. ms
  1872. 2006-04-25 Alexander Olk <[email protected]>
  1873. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  1874. image. The image position is always the same, no matter if the
  1875. button is pressed or not.
  1876. 2006-04-25 Alexander Olk <[email protected]>
  1877. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  1878. selection and set the correct filename for SaveFileDialog.
  1879. Patch by Emery Conrad.
  1880. 2006-04-24 Mike Kestner <[email protected]>
  1881. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  1882. check for item.X outside the ClientRect instead of item.Y. Fixes
  1883. #78151.
  1884. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  1885. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  1886. trust that value blindly and do some sanity check. Fixes bug #77814.
  1887. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  1888. * ImageListStreamer.cs: save the mask as a 1bpp image.
  1889. 2006-04-21 Mike Kestner <[email protected]>
  1890. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  1891. pass Checked and Indeterminate to the Theme Engine. Improve
  1892. encapsulation with ListBox.
  1893. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  1894. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  1895. nested types. Move all CheckState functionality to CheckedListBox.
  1896. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  1897. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  1898. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  1899. single base list. Fix scrollbar sizing and placement to mirror MS.
  1900. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  1901. used.
  1902. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  1903. for CheckedListBox by using new DrawItemState info. Center the
  1904. checkboxes on the items. Use new StringFormat property.
  1905. 2006-04-18 Jackson Harper <[email protected]>
  1906. * Form.cs: MdiChildren don't do default locations the same way as
  1907. regular forms. This prevents a crash when trying to position the
  1908. mdi windows.
  1909. 2006-04-17 Jonathan Chambers <[email protected]>
  1910. * PropertyGridTextBox.cs: Formatting, copyright
  1911. * PropertiesTab.cs: Formatting
  1912. * PropertyGrid.cs: Formatting
  1913. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  1914. click toggling of values
  1915. 2006-04-17 Peter Dennis Bartok <[email protected]>
  1916. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  1917. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  1918. every time a control is created
  1919. * Application.cs: Removed obsolete EnableRTLMirroring method
  1920. 2006-04-18 Gert Driesen <[email protected]>
  1921. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  1922. SelectedIndex to -1. Fixes bug #78121.
  1923. 2006-04-17 Jackson Harper <[email protected]>
  1924. * Binding.cs: Handle null values for Current and BindingContext.
  1925. This occurs when binding is a little delayed.
  1926. * CurrencyManager.cs: return null for Current when there are no
  1927. items in the list.
  1928. - Hookup to the listchanged event on the DataView and update
  1929. bindings when the list is changed. This fixes late binding of
  1930. controls.
  1931. 2006-04-17 Jackson Harper <[email protected]>
  1932. * X11Dnd.cs:
  1933. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  1934. Ringenbach.
  1935. 2006-04-15 Alexander Olk <[email protected]>
  1936. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  1937. place
  1938. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  1939. with the correct ButtonState
  1940. 2006-04-14 Peter Dennis Bartok <[email protected]>
  1941. * XplatUIX11.cs: Improved distinguishing between window types to
  1942. tell the WM a type closer to what the app wants (Fixes #78107)
  1943. 2006-04-14 Alexander Olk <[email protected]>
  1944. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  1945. GrabHandle
  1946. 2006-04-14 Alexander Olk <[email protected]>
  1947. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  1948. drawing code to reflect the size grip changes
  1949. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  1950. * ImageListStreamer.cs: fix handling of the mask that follows the main
  1951. bitmap when deserializing and serialize it properly. The generated mask
  1952. should better be a 1bpp image, but I'll do that later.
  1953. 2006-04-13 Alexander Olk <[email protected]>
  1954. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  1955. path doesn't fit into some of our Current.Places
  1956. 2006-04-13 Jackson Harper <[email protected]>
  1957. * ComboBox.cs: Use borders instead of drawing our own decorations,
  1958. try to obey correct rules for heights.
  1959. * Theme.cs:
  1960. * ThemeNice.cs:
  1961. * ThemeClearLooks.cs:
  1962. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  1963. this is now handled by borders.
  1964. - Remove unused DrawListBoxDecorationSize method.
  1965. 2006-04-13 Mike Kestner <[email protected]>
  1966. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  1967. reported by Alex.
  1968. 2006-04-13 Alexander Olk <[email protected]>
  1969. * ThemeWin32Classic.cs:
  1970. - Fixed CPDrawStringDisabled
  1971. - Corrected drawing of disabled menu items
  1972. - Fixed drawing of disabled radio buttons (bug #78095)
  1973. - Draw check in a disabled CheckBox with color ControlDark
  1974. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1975. * Form.cs: Use the provided width when calculating the menu size;
  1976. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  1977. and ClientSize.Width won't be updated yet
  1978. * Application.cs: Use Visible instead of Show() to make form visible,
  1979. this way we create the handle later and menusize is considered
  1980. 2006-04-12 Mike Kestner <[email protected]>
  1981. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  1982. reporting.
  1983. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1984. * TextBox.cs: Implemented context menu
  1985. 2006-04-12 Mike Kestner <[email protected]>
  1986. * ListView.cs: implement box selection. fixes #77838.
  1987. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  1988. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1989. * XplatUIX11.cs: Added setting of window type when transient window
  1990. is created (metacity would move it otherwise)
  1991. * X11Structs.cs: Added WINDOW_TYPE atoms
  1992. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  1993. background (the control is Opaque but still wants transparent
  1994. backgrounds)
  1995. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1996. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  1997. that set Opaque but don't mean it (like all ButtonBase-derived
  1998. controls) to still draw their background
  1999. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  2000. the background
  2001. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2002. * Control.cs (PaintControlBackground): Set the graphics object
  2003. on our PaintEvent to null to prevent it from being disposed
  2004. when the PaintEvent gets disposed
  2005. 2006-04-12 Alexander Olk <[email protected]>
  2006. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2007. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2008. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2009. * Control.cs:
  2010. - Added transparency check to BackColor property. Transparent
  2011. backgrounds are only allowed if the control styles permit it
  2012. - Added recursive painting of parent control background and
  2013. foreground if a control with a transparent backcolor is drawn
  2014. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2015. for this patch) Fixes #77985 and #78026.
  2016. - Added Opaque style check before calling OnPaintBackground, no
  2017. need to draw the background if the control is opaque
  2018. - Removed ControlAccessibleObject owner variable (inherited from
  2019. base, no need to define again)
  2020. - Added some documentation links explaining the drawing events
  2021. and styles
  2022. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2023. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2024. that the affected control is the located at the left border of our
  2025. parent (Fixes #77936)
  2026. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2027. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2028. draw the background with 'Control' instead of 'Window' color as
  2029. long as the user hasn't specifically set a color
  2030. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2031. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2032. since that won't be updated if the user types text (only if it's
  2033. programatically set)
  2034. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2035. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2036. layout changes do to app-triggered resizes will have the proper
  2037. display rectangle for layout
  2038. 2006-04-11 Alexander Olk <[email protected]>
  2039. * ThemeWin32Classic.cs:
  2040. - Make use of the SystemBrushes and SystemPens wherever possible
  2041. - Corrected some highlight colors
  2042. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2043. drawing
  2044. * Theme.cs: Added Empty field to CPColor struct
  2045. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2046. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2047. is displayed when calculating the display rectangle. Thanks to Mike
  2048. for teaching me the err of my ways.
  2049. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2050. * ScrollableControl.cs:
  2051. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2052. (instead of 0,0) and we now return the real width/height instead of
  2053. just the clientrectangle, adjusted for padding. The rectangle is
  2054. now cached and created by the new CalculateDisplayRectangle method.
  2055. - Created new CalculateDisplayRectange method, which basically does
  2056. what get_DisplayRectangle() did originally, but now using the
  2057. right edge instead of DisplayRectangle to determine the size of
  2058. our scrollbars
  2059. - get_Canvas(): Fixed it to properly calculate canvas for
  2060. right/bottom controls which seem to be placed to the right/bottom
  2061. of any controls that have a fixed location
  2062. - Removed TODO that's taken care of
  2063. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2064. and SetDisplayRectLocation according to new MSDN2 docs
  2065. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2066. event when that is called, this is added for compatibility
  2067. - ScrollControlIntoView(): Implemented.
  2068. - Switched scrollbars to be implicit, they shouldn't be selectable
  2069. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2070. call it when the active control is set/changed
  2071. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2072. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2073. implicit_control variable (used for native Win32 message generation)
  2074. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2075. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2076. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2077. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2078. 2006-04-10 Jackson Harper <[email protected]>
  2079. * ButtonBase.cs:
  2080. * CheckedListBox.cs:
  2081. * ComboBox.cs:
  2082. * DataGrid.cs:
  2083. * DataGridView.cs:
  2084. * Form.cs:
  2085. * GroupBox.cs:
  2086. * ListBox.cs:
  2087. * PrintPreviewControl.cs:
  2088. * ProgressBar.cs:
  2089. * PropertyGrid.cs:
  2090. * Splitter.cs:
  2091. * StatusBar.cs:
  2092. * TrackBar.cs:
  2093. * UpDownBase.cs: Fixup base event overrides.
  2094. 2006-04-06 Mike Kestner <[email protected]>
  2095. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2096. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2097. (set_Value): check for vert/horiz when calculating new thumb position.
  2098. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2099. like MS does.
  2100. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2101. invalidation logic to reduce flicker.
  2102. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2103. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2104. (UpdateThumbPosition): small code readability cleanup
  2105. 2006-04-10 Alexander Olk <[email protected]>
  2106. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2107. different
  2108. 2006-04-08 Alexander Olk <[email protected]>
  2109. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2110. 2006-04-08 Alexander Olk <[email protected]>
  2111. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2112. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2113. This dramatically reduces the number of Pen.Dispose calls.
  2114. Where possible call ResPool methods only once instead of calling it
  2115. over and over again (for example for the same color).
  2116. 2006-04-06 Mike Kestner <[email protected]>
  2117. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2118. Also remove an unused private field on the collection. Fixes #77972.
  2119. 2006-04-06 Alexander Olk <[email protected]>
  2120. * ThemeNice.cs: Added ToolBar drawing code
  2121. 2006-04-06 Mike Kestner <[email protected]>
  2122. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2123. I'm assuming that means we need to look up the toplevel for the
  2124. provided control. Fixes the crash trace in #77911 but exposes another
  2125. crash in some strange reflection usage in NDocGui.
  2126. 2006-04-06 Alexander Olk <[email protected]>
  2127. * ThemeNice.cs: Gave it a little silver touch and added Images
  2128. method
  2129. * FontDialog.cs: FontDialog is not resizable
  2130. * FileDialg.cs: Added SizeGripStyle.Show
  2131. 2006-04-05 Jackson Harper <[email protected]>
  2132. * KeyboardLayouts.cs: Remove warning.
  2133. 2006-04-05 Jackson Harper <[email protected]>
  2134. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2135. all of our controls instead of Paint +=.
  2136. * ListBox.cs:
  2137. * ListView.cs:
  2138. * MenuAPI.cs:
  2139. * MessageBox.cs:
  2140. * NotifyIcon.cs:
  2141. * ProgressBar.cs:
  2142. * ScrollBar.cs:
  2143. * Splitter.cs:
  2144. * StatusBar.cs:
  2145. * TabControl.cs:
  2146. * TextBoxBase.cs:
  2147. * ToolBar.cs:
  2148. * TrackBar.cs:
  2149. * UpDownBase.cs:
  2150. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2151. use OnPaintInternal. Remove Width/Height and Visible checks in
  2152. paint handler, this is done at a higher level now.
  2153. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2154. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2155. want anymore painting after OnPaintInternal can make sure OnPaint
  2156. isn't called.
  2157. 2006-04-05 Mike Kestner <[email protected]>
  2158. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2159. state of the form, so that we don't process events when Modal dialogs
  2160. are up. Fixes #77922.
  2161. 2006-04-05 Alexander Olk <[email protected]>
  2162. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2163. checking is done.
  2164. 2006-04-05 Mike Kestner <[email protected]>
  2165. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2166. 2006-04-05 Mike Kestner <[email protected]>
  2167. * ListView.cs (HeaderMouseMove): null guarding for the over column
  2168. when setting up the drag_to_index. Fixes #78015.
  2169. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2170. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  2171. in the taskbar. Transient windows seem to accomplish that.
  2172. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2173. * Form.cs:
  2174. - Re-enabled CreateParams.X/Y code for FormStartPosition
  2175. - Added code for manual placement when creating the Control
  2176. - Incomplete patch to treat MDI forms differently when
  2177. setting the ClientSizeCore. (Still need to figure out handling
  2178. x/y coords there)
  2179. * XplatUIX11.cs:
  2180. - When we're explicitly setting the X/Y position of a non-Child
  2181. window, let the WM know. Metacity really wants this.
  2182. 2006-04-04 Alexander Olk <[email protected]>
  2183. * ThemeNice.cs: Added CPDrawButton
  2184. 2006-04-04 Alexander Olk <[email protected]>
  2185. * ThemeNice.cs: Changed the color for focused buttons and activated
  2186. the arrows for small scroll buttons.
  2187. 2006-04-04 Alexander Olk <[email protected]>
  2188. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  2189. anymore. Changed some method modifiers to protected (virtual)
  2190. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  2191. changes
  2192. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  2193. Updated drawing of menus, buttons and progressbars; added
  2194. CPDrawBorder3D
  2195. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  2196. * ImageListStreamer.cs: implemented serialization/deserialization
  2197. of the images.
  2198. 2006-04-03 Alexander Olk <[email protected]>
  2199. * ThemeWin32Classic.cs:
  2200. - Removed all the DrawFrameControl stuff; CPDrawButton,
  2201. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  2202. inside the methods
  2203. - Updated and corrected the drawing code of CPDrawButton,
  2204. CPDrawCheckBox and CPDrawRadioButton to better match ms
  2205. - Updated theme checkbox and radiobutton code to use the CP*
  2206. methods
  2207. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2208. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  2209. bug is fixed
  2210. 2006-03-31 Jackson Harper <[email protected]>
  2211. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  2212. sometimes.
  2213. * UpDownBase.cs: Don't CreateGraphics manually, use a
  2214. Refresh. Ideally we would invalidate the correct areas here.
  2215. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2216. * XplatUIX11.cs:
  2217. - We now track the mapping state of windows. If a window (or
  2218. one of it's parents) is not mapped we no longer permit
  2219. WM_PAINT messages to be generated since we'd otherwise get
  2220. lots of BadMatch X errors. Jackson did all the work figuring
  2221. out the problem.
  2222. - Destroying the caret if the window it's contained in is
  2223. destroyed. Can't use regular DestroyCaret method since it
  2224. might fall into a drawing function (trying to remove the
  2225. caret) and with that generate new BadMatch errors. Again,
  2226. Jackson tracked this down.
  2227. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  2228. make sure we send the messages to all windows. (The old code
  2229. would send the WM_DESTROY to the window, and then all child
  2230. windows would be 'gone' because the WM_DESTROY handle lookup
  2231. would no longer find the destroyed window)
  2232. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  2233. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  2234. 2006-03-31 Jackson Harper <[email protected]>
  2235. * ScrollableControl.cs: Dont recalc if we are not visible.
  2236. 2006-03-31 Mike Kestner <[email protected]>
  2237. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  2238. the visibility branch.
  2239. 2006-03-31 Jackson Harper <[email protected]>
  2240. * ScrollBar.cs: Cap values when incrementing/decrementing.
  2241. 2006-03-31 Mike Kestner <[email protected]>
  2242. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  2243. * ToolTip.cs: guard against timer expirations with no active control.
  2244. Not sure why it happened.
  2245. 2006-03-31 Mike Kestner <[email protected]>
  2246. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  2247. text.
  2248. * ToolTip.cs: Position the tooltip based on where the cursor is at
  2249. popup time, not at MouseEnter time. Add a Down state so that we don't
  2250. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  2251. positioning offset. Lookup DisplaySize at positioning time, since it
  2252. can theoretically change during invocation.
  2253. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  2254. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  2255. 2006-03-31 Alexander Olk <[email protected]>
  2256. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  2257. Fixes behaviour when the Text property of the box is String.Empty
  2258. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2259. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  2260. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  2261. a window)
  2262. 2006-03-31 Alexander Olk <[email protected]>
  2263. * FileDialog.cs: Visual enhancement for the popup buttons in
  2264. PopupButtonPanel
  2265. 2006-03-31 Alexander Olk <[email protected]>
  2266. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  2267. code
  2268. 2006-03-30 Alexander Olk <[email protected]>
  2269. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  2270. highlighted menu items to match ms
  2271. 2006-03-30 Peter Dennis Bartok <[email protected]>
  2272. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  2273. 2006-03-30 Mike Kestner <[email protected]>
  2274. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  2275. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  2276. go active to account for HotLight to Selected transition.
  2277. * MenuItem.cs: add internal Selected prop. Fill out the Status
  2278. property by calculating it from item info. Add HotLight,
  2279. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  2280. 2006-03-30 Mike Kestner <[email protected]>
  2281. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  2282. 2006-03-29 Jackson Harper <[email protected]>
  2283. * Form.cs: Implement TODO.
  2284. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2285. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  2286. missing proper dialog setup in the constructor
  2287. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2288. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  2289. * Control.cs:
  2290. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  2291. - Fixed ResetBindings and removed TODO
  2292. - Added check for cross-thread calls to get_Handle()
  2293. - Added Marshaller attribute for set_Font to satisfy class status
  2294. * FontDialog.cs: Removed TODOs that seemed implemented
  2295. * UpDownBase.cs: Removed unneeded TODO and Fixme
  2296. * MessageBox.cs: Implemented support for Default button and removed TODO
  2297. * FileDialog.cs: Removed obsolete TODO
  2298. * DomainUpDown.cs: Removed obsolete TODO
  2299. * ButtonBase.cs: Removed obsolete TODO
  2300. * XplatUIWin32.cs: Removed obsolete TODO
  2301. * Form.cs:
  2302. - Removed obsolete TODO
  2303. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  2304. internal status updates
  2305. - Making sure the active control is selected when the control is created
  2306. * CurrencyManager.cs: Removed obsolete TODO
  2307. 2006-03-29 Mike Kestner <[email protected]>
  2308. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  2309. of PrintPreviewDialog and RichTextBox.
  2310. 2006-03-29 Alexander Olk <[email protected]>
  2311. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  2312. DarkDark, Light and LightLight colors for a specific color
  2313. * ThemeWin32Classic.cs:
  2314. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  2315. Appearance = Button
  2316. - Make use of the new ResPool helper CPColor
  2317. - Draw ProgressBar and StatusBar with correct 3D borders
  2318. 2006-03-29 Alexander Olk <[email protected]>
  2319. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  2320. 2006-03-28 Mike Kestner <[email protected]>
  2321. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  2322. calculating col/row counts.
  2323. 2006-03-28 Mike Kestner <[email protected]>
  2324. * ColumnHeader.cs:
  2325. * ListView.cs:
  2326. * ListViewItem.cs:
  2327. * Menu.cs:
  2328. switch to explicit interface method implementation for some methods
  2329. corcompare identifies as inconsistent with MS.
  2330. 2006-03-28 Mike Kestner <[email protected]>
  2331. * MainMenu.cs:
  2332. * Menu.cs:
  2333. add a few missing methods from the class status output.
  2334. 2006-03-28 Alexander Olk <[email protected]>
  2335. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  2336. correct.
  2337. 2006-03-28 Mike Kestner <[email protected]>
  2338. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  2339. 2006-03-27 Mike Kestner <[email protected]>
  2340. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  2341. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  2342. 2006-03-27 Alexander Olk <[email protected]>
  2343. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  2344. 2006-03-25 Alexander Olk <[email protected]>
  2345. * ThemeWin32Classic.cs:
  2346. - GroupBox: Inserted a little gap between the text and the lines
  2347. on the right side
  2348. - Made the code in CPDrawBorder3D more readable
  2349. - Corrected the drawing location of the up and down arrows in
  2350. CPDrawScrollButton
  2351. 2006-03-25 Alexander Olk <[email protected]>
  2352. * ControlPaint.cs: Corrected line widths in DrawBorder for
  2353. ButtonBorderStyle Inset and Outset
  2354. 2006-03-25 Alexander Olk <[email protected]>
  2355. * ThemeWin32Classic.cs:
  2356. - Rewrote the totally broken CPDrawBorder3D method. That was
  2357. one of the main problems for the terrific ThemeWin32Classic
  2358. look
  2359. - Updated and corrected Button drawing
  2360. - Correct the dimensions of the SizeGrip to match ms ones
  2361. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  2362. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  2363. Border3DStyle.Sunken to match ms.
  2364. 2006-03-25 Alexander Olk <[email protected]>
  2365. * ThemeWin32Classic.cs: First small part of the "de-uglify
  2366. ThemeWin32Classic" effort, SizeGrip
  2367. 2006-03-24 Jackson Harper <[email protected]>
  2368. * XplatUIX11.cs: Give a max idle time of one second, this matches
  2369. MS and forces an Idle event every second when there are no other
  2370. events in the queue.
  2371. 2006-03-24 Mike Kestner <[email protected]>
  2372. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  2373. * ListView.Item.cs: fix layout issues with null image lists and images
  2374. smaller than checkbox size.
  2375. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  2376. mode like MS does. It's weird, but consistent. ;-)
  2377. Fixes #77890.
  2378. 2006-03-24 Mike Kestner <[email protected]>
  2379. * ListView.cs: Scroll wheel support for the item control. Fixes
  2380. #77839.
  2381. 2006-03-23 Jackson Harper <[email protected]>
  2382. * ScrollableControl.cs: Special case negative sized areas, not
  2383. zero.
  2384. * MonthCalendar.cs: Save the rect of the clicked date so we can
  2385. use it for invalidation.
  2386. - Try to cut down on the number of invalidates
  2387. - Invalidate the rect the mouse is over and was over when moving
  2388. the mouse, so we get the focus box following the cursor.
  2389. 2006-03-23 Mike Kestner <[email protected]>
  2390. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  2391. focus rectangle drawing. Fixes #77835.
  2392. 2006-03-23 Mike Kestner <[email protected]>
  2393. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  2394. the if and else if and reverting back to the original == check on the
  2395. None conditional.
  2396. 2006-03-23 Alexander Olk <[email protected]>
  2397. * FontDialog.cs: Update the example panel if the selected index of
  2398. the fontListBox changes.
  2399. 2006-03-23 Alexander Olk <[email protected]>
  2400. * FileDialog.cs: Make FileDialog remember which directory it was in
  2401. last in the same execution.
  2402. 2006-03-22 Mike Kestner <[email protected]>
  2403. * FileDialog.cs: make the DropDownMenu on the toolbar display
  2404. RadioChecks since they are mutually exclusive and that's what MS does.
  2405. 2006-03-22 Mike Kestner <[email protected]>
  2406. * Theme.cs: add Color param to CPDrawMenuGlyph.
  2407. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  2408. checks and radio marks and arrows are visible on highlighted items.
  2409. * ControlPaint.cs: update to use new Theme signature.
  2410. 2006-03-22 Mike Kestner <[email protected]>
  2411. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  2412. is active. Fixes #77870.
  2413. 2006-03-22 Alexander Olk <[email protected]>
  2414. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  2415. to be focused/selected after startup
  2416. 2006-03-22 Alexander Olk <[email protected]>
  2417. * ColorDialog.cs:
  2418. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  2419. CustomColors and ShowHelp properties
  2420. - Some internal rewrites to get better results when using the
  2421. ColorMatrix
  2422. 2006-03-22 Mike Kestner <[email protected]>
  2423. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  2424. HoverSelection. Fixes #77836.
  2425. 2006-03-22 Mike Kestner <[email protected]>
  2426. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  2427. ToggleButtons. (De)Sensitize the Back button around a stack count of
  2428. 1, not 0. Update ButtonSize based on a pixel count of the win32
  2429. control. Adjust the toolbar size/location for new button size.
  2430. 2006-03-22 Jackson Harper <[email protected]>
  2431. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  2432. true.
  2433. * ScrollBar.cs: When doing increments and decrements we need to
  2434. set the Value property so that ValueChanged gets raised. A
  2435. possible optimization here would be to make an internal SetValue
  2436. that doesn't invalidate immediately.
  2437. * ToolTip.cs: Tooltips get added to their container (when
  2438. supplied) so they get disposed when the container is disposed.
  2439. - Don't create tooltips for String.Empty. This prevents all these
  2440. little 2-3 pixel windows from showing up when running nunit-gui
  2441. and driving me mad.
  2442. * Form.cs: Don't set topmost when setting the owner if the handles
  2443. haven't been created yet. The topmost set will happen when the
  2444. handles are created.
  2445. 2006-03-22 Peter Dennis Bartok <[email protected]>
  2446. * XplatUIX11.cs:
  2447. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  2448. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  2449. visible (to allow them to recalculate their sizes)
  2450. 2006-03-21 Mike Kestner <[email protected]>
  2451. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  2452. methods. Removed a ton of redundant code. Still not really happy with
  2453. the border rendering, but I think that's mainly because of the
  2454. ControlDarkDark being black instead of a dark grey. Depending on how
  2455. close we want to be, we might want to revisit those color choices.
  2456. Among the new features added during the refactor were DropDownArrow
  2457. pressed rendering, Disabled image rendering. Proper flat appearance
  2458. boundary rendering. Removed the Divider and Wrapping dividers since I
  2459. can't figure out any combination of themes and conditions to make the
  2460. MS control draw a horizontal line on a toolbar despite what the
  2461. Divider property docs indicate.
  2462. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  2463. conditions and incorrect layout. Updated to coding standard.
  2464. * ToolBarButton.cs: refactored layout and positioning code from
  2465. ToolBar to here. Invalidate wherever possible instead of forcing
  2466. redraws of the whole toolbar.
  2467. (Known remaining issues: explicit ButtonSize smaller than provided
  2468. images.)
  2469. 2006-03-21 Mike Kestner <[email protected]>
  2470. * ContextMenu.cs (Show): use the position parameter instead of just
  2471. showing at the MousePosition.
  2472. 2006-03-21 Jackson Harper <[email protected]>
  2473. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  2474. control handle this.
  2475. * TreeNodeCollection.cs: If we are clearing the root node we need
  2476. to reset top_node so calcs can still happen.
  2477. * ThemeWin32Classic.cs: This is a Flags so we need to check
  2478. properly.
  2479. 2006-03-21 Jackson Harper <[email protected]>
  2480. * DataGrid.cs: Create columns when the binding context has been
  2481. changed.
  2482. * X11Structs.cs: Keysyms are uints.
  2483. - Add size to fix build.
  2484. 2006-03-21 Peter Dennis Bartok <[email protected]>
  2485. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2486. XplatUIOSX.cs:
  2487. - Added ResetMouseHover method to allow controls to retrigger
  2488. hovering if they need it more than once
  2489. - Implemented MouseHoverTime and MouseHoverSize properties
  2490. * Timer.cs: Start() must reset the interval
  2491. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  2492. properties
  2493. 2006-03-21 Jackson Harper <[email protected]>
  2494. * X11Keyboard.cs: improved layout detection. Move the nonchar
  2495. tables into this file.
  2496. * KeyboardLayouts.cs: Move the tables into resource files.
  2497. 2006-03-21 Mike Kestner <[email protected]>
  2498. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  2499. 2006-03-21 Alexander Olk <[email protected]>
  2500. * Mime.cs: Various speed optimizations. Looking up mime types
  2501. is now 2 times faster than before
  2502. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2503. * CreateParams.cs: Added internal menu field
  2504. * Control.cs:
  2505. - Switched call order for UpdateBounds; now we always call
  2506. the one that also takes ClientSize, and we're calculating the
  2507. client size via driver method in the others. The previous
  2508. method of tracking client size by difference wasn't working
  2509. for forms where even the starting client size wouldn't match
  2510. the overall form size (due to borders) (Part of fix for #77729)
  2511. - CreateParams(): Do not use parent.Handle unless the handle is
  2512. already created. Causes havoc with Nexxia and throws off our
  2513. creation of controls
  2514. * XplatUIX11.cs:
  2515. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  2516. - Switched handling of ConfigureNotify over to new PerformNCCalc
  2517. method (consolidates code)
  2518. - Changed RequestNCRecalc to use new PerformNCCalc method
  2519. - Added calls to RequestNCRecalc when menus and borders are changed
  2520. to allow app to set NC size. (Part of fix for #77729) This matches
  2521. when MS send a WM_NCRECALC on Win32 windows.
  2522. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  2523. (Part of fix for #77729). This matches what MS does, they also
  2524. send that message when the form is made visible.
  2525. - XException.GetMessage: Improved usability of X errors by including
  2526. a translation of the window into Hwnd and Control class
  2527. - Improved debug info for window creation, reparenting and destruction
  2528. - Created helper method WindowIsMapped() [Currently not used]
  2529. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  2530. * Form.cs:
  2531. - CreateParams: Now setting our menu on the new internal menu field
  2532. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  2533. avoid calculating the same property twice
  2534. * Hwnd.cs:
  2535. - Improved usability of ToString() for debugging purposes
  2536. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  2537. determine the height of the menu, instead of just the font. This
  2538. required to also create a graphics context and to keep a bmp
  2539. around (for performance reasons)
  2540. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2541. * MenuAPI.cs: Added OnMouseUp method
  2542. * Form.cs:
  2543. - Now remembering the requested client size, avoids size errors
  2544. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  2545. instead of base if the menu is active. This is required due to
  2546. control now capturing and releasing on down/up and it would
  2547. prematurely release our menu capture
  2548. 2006-03-17 Jackson Harper <[email protected]>
  2549. * KeyboardLayouts.cs: Add the czech layouts.
  2550. 2006-03-16 Jackson Harper <[email protected]>
  2551. * Control.cs: Use the viewport space when sizing not the controls
  2552. client size, so things like ScrollableControl that effect the
  2553. viewport size (when scrollbars are added) are computed correctly.
  2554. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  2555. of ManagerEntrys.
  2556. - Handle creating BindingManagers for null data sources.
  2557. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  2558. source, otherwise when rows are added they are added to the 'fake'
  2559. datasource and we will crash when trying to set the position in
  2560. those rows.
  2561. - Use Implicit scrollbars on the datagrid so they arent
  2562. selectable.
  2563. 2006-03-16 Jackson Harper <[email protected]>
  2564. * Binding.cs:
  2565. * InternalWindowManager.cs:
  2566. * MdiWindowManager.cs:
  2567. * X11Keyboard.cs: I really want Mike to love me again (fix
  2568. compiler warnings).
  2569. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2570. * DataGrid.cs:
  2571. - OnMouseDown: Switch to editing mode when clicking on the cell
  2572. even if we're clicking on the cell that's currently
  2573. selected
  2574. - ProcessGridKey: Left/Right now wrap like MS.Net does
  2575. - ProcessGridKey: Tab now knows to add a new row when tab is
  2576. pressed in the cell of the last column of the
  2577. last row
  2578. - ProcessGridKey: Enter now adds another row if pressed in the last
  2579. row and selectes the new row, same column cell
  2580. - ProcessGridKey: Home/End navigate columns, not rows, like
  2581. originally implemented
  2582. - Broke ProcessKeyPreview code out into an extra Internal method
  2583. so it can be called from the edit code
  2584. * DataGridTextBox.cs (ProcessKeyMessage):
  2585. - Switched to accept Tab keypresses
  2586. - Added F2 handling to allow jumping to the end of the edited cell
  2587. - Added logic to allow moving caret left/right inside edited cell
  2588. and making the edited cell jump when the caret hits cell borders
  2589. - Tab and Enter are now passed to the datagrid after being handled
  2590. * TextBoxBase.cs:
  2591. - Removed capture code now that Control handles it
  2592. - set_SelectionStart now ensures caret is visible
  2593. 2006-03-16 Jackson Harper <[email protected]>
  2594. * TrackBar.cs: Debackwards the increment/decrement for handling
  2595. mouse clicks on the bar with vertical trackbars.
  2596. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  2597. bottom to match MS.
  2598. 2006-03-16 Mike Kestner <[email protected]>
  2599. * ListView.cs: make shift/ctrl keyboard and mouse selection
  2600. consistent with the MS control. Fix a bug in
  2601. SelectedListViewItemCollection.Clear that was pissing me off for the
  2602. better part of a day because the collection was being altered
  2603. underneath us as we walked the list.
  2604. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2605. * Control.cs: Not sure how we could miss this so long, but it seems
  2606. that MS.Net has Capture set all the way from before calling
  2607. OnMouseDown through sending the mouse events until after
  2608. OnMouseUp. This will fix DataGrid's selection being set to end
  2609. at the location of the MouseUp.
  2610. 2006-03-15 Jackson Harper <[email protected]>
  2611. * BindingContext.cs: Check the binding after its added so that it
  2612. can initialize the binding managers and hookup to events.
  2613. * Binding.cs: Data members seem to sometimes include rows/cols in
  2614. the format Row.Column we now take this into account.
  2615. - Hookup to the position changed event so we can update the
  2616. control when the position has changed in the data set.
  2617. * CurrencyManager.cs: Take into account the row/col naming
  2618. convention when creating dataset tables.
  2619. * BindingContext.cs: Using a newer better way of storing
  2620. datasource/datamember pairs. Hopefully this better matches MS for
  2621. looking up binding managers.
  2622. 2006-03-15 Jackson Harper <[email protected]>
  2623. * BindingContext.cs: The currency manager needs the data member
  2624. name, if the member is a data set we use the name to find the
  2625. correct table.
  2626. * CurrencyManager.cs: When creating the list prefer an IList over
  2627. an IListSource.
  2628. - Attempt to create a DataTable from a DataSet (TODO: might need
  2629. some better error checking here, although MS doesn't seem to have much)
  2630. - If we have a DataTable create a view and use it as our list.
  2631. 2006-03-15 Mike Kestner <[email protected]>
  2632. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  2633. keyboard navigation. Support Up/Down/Left/Right selection correctly
  2634. for all 4 View modes.
  2635. * ListViewItem.cs: add internal row/col fields for icon layouts.
  2636. 2006-03-15 Jackson Harper <[email protected]>
  2637. * TabControl.cs: Redraw the tabs when we resize so their newly
  2638. calculated sizes are drawn on screen.
  2639. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  2640. composite characters.
  2641. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  2642. - filter events so that composite characters can be created
  2643. patches by peter
  2644. * X11Structs.cs: Add XIMProperties enum.
  2645. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2646. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  2647. unless it's created
  2648. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2649. * Control.cs (PerformLayout): We don't need to consider visiblity
  2650. for anchoring, only for docking. This fixes 'whacky' alignment
  2651. in listbox and other controls that use implicit scrollbars after
  2652. the previous PerformLayout patch
  2653. * ListBox.cs: Switched to use implicit scrollbars
  2654. 2006-03-14 Mike Kestner <[email protected]>
  2655. * ToolBar.cs:
  2656. * VScrollBar.cs:
  2657. - chain up the "new event" overrides to base and use
  2658. OnEvent to raise them. Part of fix for bug #76509.
  2659. 2006-03-14 Alexander Olk <[email protected]>
  2660. * FileDialog.cs: Do not select an item in the parent directory
  2661. on backspace
  2662. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2663. * Control.cs (PerformLayout): It would seem that we considered
  2664. invisible windows for our layout. Not quite the right thing
  2665. to do. Now we don't any longer, thereby fixing bug #76889.
  2666. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2667. * Control.cs (CanFocus): I goofed. A control can have focus
  2668. even though it's not selectable. Made it match MS docs.
  2669. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2670. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  2671. center by default (fixes #76895)
  2672. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  2673. all uses of Border3DSides.All with the explicit ORd together
  2674. Left|Right|Top|Bottom because I assume that nobody was aware
  2675. that All also implies a center fill. Most places I checked had
  2676. a fill right above.
  2677. * ProgressBarStyle.cs: Added
  2678. 2006-03-13 Mike Kestner <[email protected]>
  2679. * ListView.cs: fix breakage in drag shadow header positioning
  2680. from Peter's csc compilation fix.
  2681. 2006-03-13 Mike Kestner <[email protected]>
  2682. * ListView.cs: fix NRE produced by backspacing twice in a focused
  2683. FileDialog.
  2684. 2006-03-13 Mike Kestner <[email protected]>
  2685. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  2686. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2687. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  2688. be changed
  2689. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  2690. the allowed size before making programmatic size changes
  2691. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2692. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  2693. set, metacity is broken and will still use the emty sizes in
  2694. the struct. (Fix for #77089)
  2695. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2696. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  2697. WindowExStyles and marked both enums as Flags
  2698. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  2699. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  2700. to match WindowStyles split
  2701. * XplatUIX11.cs:
  2702. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  2703. - Updated to match WindowStyles split
  2704. * XplatUIWin32.cs:
  2705. - Fixed FosterParent creation, was using ExStyle on the Style field
  2706. (This should help with Popup focus issues)
  2707. - Updated to match WindowStyles split
  2708. 2006-03-13 Jackson Harper <[email protected]>
  2709. * MdiWindowManager.cs: Use the system menu height. Fixes some
  2710. strange sizing issues.
  2711. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2712. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  2713. * TextBoxBase.cs:
  2714. - Scroll to caret after inserting text (#77672)
  2715. - Make scroll range one pixel higher, fixes off-by-one error (and
  2716. makes underlines visible on the last line)
  2717. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2718. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  2719. the keyboard state from being stuck with keys in 'pressed' state when
  2720. focus is switched away via keyboard
  2721. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  2722. reset the keyboard if no X11 KeyUp events are expected to come
  2723. * X11Structs.cs: Switched type of Visible to bool to match driver
  2724. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2725. * TextControl.cs:
  2726. - Switched caret to be just 1 pixel wide, matches MS and looks less
  2727. clunky
  2728. - Moved caret display 1 pixel down from the top of the control
  2729. to improve view
  2730. - InsertCharAtCharet: Update the selection start if moving the caret
  2731. (fixes bug #77696; based on patch suggested by [email protected])
  2732. - No longer always creating the caret when the caret methods are
  2733. called. Only the actual ShowCaret/HideCaret will do that now
  2734. - Only setting caret visible if the owner control has focus
  2735. - UpdateView: Added invalidation-shortcut logic for center and right
  2736. aligned text. Previously we'd update all according to the left
  2737. logic which caused drawing errors. Also fixed height of invalidated
  2738. areas, now properly invalidating the whole area (was off-by-one)
  2739. - owner_HandleCreated: Always generate the document when the
  2740. handle is created; this ensures that
  2741. * TextBoxBase.cs:
  2742. - Fixed situation where caret would disappear under the right
  2743. window border, also improved scrolling behaviour on left-
  2744. aligned textboxes
  2745. - Fixed right-aligned textboxes to have a border to the
  2746. right instead of the caret being under the right border
  2747. * XplatUIX11.cs:
  2748. - Switched from 'nested' to simple visible/not visible tracking
  2749. for caret (part of fix for #77671)
  2750. - No longer passing through translated FocusIn/FocusOut messages
  2751. since we were notifying too often and the wrong windows. Instead
  2752. we just notify our focussed window of receiving or loosing focus
  2753. * XplatUIWin32.cs: Switched from 'nested' show/hide
  2754. counting for caret to simple visible yes/no behaviour (part of
  2755. fix for #77671)
  2756. 2006-03-11 Alexander Olk <[email protected]>
  2757. * Mime.cs: Remove debug code...
  2758. 2006-03-11 Alexander Olk <[email protected]>
  2759. * MimeGenerated.cs: Removed
  2760. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  2761. and subclasses) from /usr/(local/)share/mime and
  2762. $HOME/.local/share/mime.
  2763. 2006-03-10 Jackson Harper <[email protected]>
  2764. * MdiWindowManager.cs: Recalc the NC area when a window is
  2765. maximized/restored so that the menu area is drawn on forms that
  2766. don't have a menu.
  2767. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2768. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2769. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  2770. us to force a WM_NCCALCRESIZE message being sent. This is needed
  2771. for MDI maximizing.
  2772. 2006-03-10 Jackson Harper <[email protected]>
  2773. * Form.cs: We need to use the ActiveMenu when calculating menu
  2774. height.
  2775. - Fix nullref when the window manager hasn't been created yet.
  2776. * Control.cs: Fix nullref when we try to bring a control to the
  2777. front that has no parent.
  2778. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  2779. height.
  2780. - Add a dummy item to the maximized menu so it always has the
  2781. correct height. Otherwise when there are no menus we don't get our
  2782. icon and buttons.
  2783. 2006-03-10 Jackson Harper <[email protected]>
  2784. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  2785. stuff.
  2786. * Form.cs: Make the window_state internal so the window managers
  2787. can track it.
  2788. - When an MDI child is maximized let its window manager create the
  2789. main menu (so it can add its icon).
  2790. - Notify the window managers of state changes
  2791. - Let the window manager paint its buttons and handle button
  2792. clicks on the menu when it is maximized.
  2793. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  2794. window manager, since tool windows don't use it, only mdi windows.
  2795. - Tell the main form that we don't want it to handle NCPAINT
  2796. itself to avoid extra painting.
  2797. - Handle clicks on a maximized windows menu.
  2798. - Handle window state changes
  2799. - Handle minimize/maximize clicks correctly by setting the window state.
  2800. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  2801. when clicking on the forms icon).
  2802. - New method to create a forms maximized menu. This is its normal
  2803. menu + an icon.
  2804. - Handle window state changes.
  2805. - Handle sizing of maximized windows. Maximized windows are just
  2806. drawn bigger then the parent visible area. All controls are still
  2807. there, they are just outside the visible area (this matches windows).
  2808. * MdiClient.cs: No scrollbars when a child window is maximized.
  2809. - Let the children windows figure out how big they should be when
  2810. sizing maximized windows.
  2811. - Implement a version of ArrangeIconicWindows somewhat similar to
  2812. Windows version. There are some little differences, but I don't
  2813. think any app will rely on the layout of minimized mdi windows.
  2814. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2815. * Padding.cs: Several fixes to allow compiling with csc 2.0
  2816. 2006-03-09 Jackson Harper <[email protected]>
  2817. * Menu.cs:
  2818. * MenuItem.cs: Cheap hack so we can add items to the list without
  2819. the events being raised. This allows adding mdi items during
  2820. drawing. TODO: Should probably find a better time to add the items.
  2821. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2822. * ThemeWin32Classic.cs:
  2823. - CheckBox_DrawText: Added logic to not wrap if not enough space
  2824. is available (Fix for bug #77727)
  2825. - RadioButton_DrawText: Added logic not to wrap if not enough
  2826. space is available (Fix for bug #77727). Also removed some
  2827. duplicate code, DrawString always drawing the regular text
  2828. before hitting the if statement.
  2829. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2830. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  2831. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2832. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  2833. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  2834. methods. Moved the new 2.0 properties into alphabetical order with
  2835. other properties and added MonoTODO tags
  2836. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2837. * AutoScaleMode.cs: Added. Fix build.
  2838. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2839. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2840. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  2841. and was requiring premature handle creation for calls from above
  2842. * Form.cs, Control.cs: Removed handle arguments from calls to
  2843. CalculateClientRect()
  2844. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2845. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  2846. drag_column.column_rect is MarshalByRef and can't be used that way
  2847. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2848. * AxHost.cs: Added deserialization constructor for
  2849. AxHost+State (fixes 77743)
  2850. 2006-03-09 Mike Kestner <[email protected]>
  2851. * ListView.cs:
  2852. - Added column drag reordering for details view.
  2853. - fixed behavior when mouse is dragged off column and
  2854. AllowColumnReorder is false.
  2855. * ColumnHeader.cs: clone the format too in Clone.
  2856. * Theme.cs: add DrawListViewHeaderDragDetails method.
  2857. * ThemeWin32Classic.cs:
  2858. - impl new method for drawing drag column shadows and targets.
  2859. - support column offset for details mode in DrawListViewItem.
  2860. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2861. * TextControl.cs: Reset the char_count when the document is cleared
  2862. (Fixes bug reported on mono-winforms mailing list)
  2863. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2864. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  2865. of calling base we simply process the key ourselves, since both
  2866. DefWindowProc and the handled method would set m.Result.
  2867. (Fixes #77732)
  2868. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2869. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  2870. method also moves the window; instead implemented a copy of
  2871. Control.ScaleCore (Part of fix for #77456)
  2872. * TextBoxBase.cs:
  2873. - Created new CreateGraphicsInternal method to allow providing
  2874. a graphics context when no handle is created without triggering
  2875. handle creation. (Part of fix for #77456)
  2876. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  2877. * TextControl.cs:
  2878. - Switched Constructor to require TextBoxBase instead of Control (to
  2879. allow uncast access to CreateGraphicsInternal)
  2880. - Safeguarded use of owner.Handle property. No longer accessing it
  2881. unless the handle is already created.
  2882. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  2883. - Now triggering a recalc when owning control becomes visible
  2884. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  2885. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  2886. premature handle creation (Part of fix for #77456)
  2887. * Control.cs:
  2888. - We now only destroy our double-buffering buffers when the
  2889. control is resized or disposed, but not when visibility
  2890. changes. (The code even re-created them twice every time)
  2891. - Now requiring a redraw of the buffer on visibility changes
  2892. (fixes bug 77654 part 2)
  2893. - Not passing OnParentVisibleChanged up unless the control
  2894. is visible
  2895. - CanFocus: Fixed to match MS documentation
  2896. - Focus: Fixed to return actual focus state and to check if
  2897. setting focus is legal before setting it
  2898. 2006-03-08 Peter Dennis Bartok <[email protected]>
  2899. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  2900. when to draw focus rectangle by looking at parent focus and
  2901. selected state instead. This fixes TabPages on Linux sometimes
  2902. having none or multiple focus rectangles.
  2903. * XplatUIX11.cs (SetFocus):
  2904. - Don't set the focus if the same window already has focus
  2905. - Use SendMessage instead of PostMessage (like it's Win32
  2906. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  2907. to match MS behaviour
  2908. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  2909. are not selectable.
  2910. 2006-03-07 Jackson Harper <[email protected]>
  2911. * PictureBox.cs: Revert line I accidently committed last week.
  2912. 2006-03-07 Peter Dennis Bartok <[email protected]>
  2913. * Control.cs:
  2914. - Added new IsRecreating and ParentIsRecreating properties to
  2915. allow testing if RecreateHandle has been called on ourselves
  2916. or one of our parents
  2917. - WndProc(WM_DESTROY): If our control handle is being recreated
  2918. we immediately need to create the handle when receiving the
  2919. destroy, that way our child windows find a valid parent handle
  2920. when they themselves are being recreated upon WM_DESTROY receipt
  2921. (fix for bug #77654 part 1)
  2922. * XplatUIX11.cs:
  2923. - DestroyWindow: WM_DESTROY must be sent to our own window before
  2924. notifying any child windows. MS documents that child windows
  2925. are still valid when WM_DESTROY is received. (Control now relies on
  2926. this behaviour)
  2927. - Added some fine-grain debug options
  2928. 2006-03-06 Jackson Harper <[email protected]>
  2929. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  2930. box and base calculations off this.
  2931. * MdiChildContext.cs:
  2932. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  2933. anymore.
  2934. 2006-03-06 Peter Dennis Bartok <[email protected]>
  2935. * Splitter.cs: In situations where the affected control is added
  2936. to the parent's control list after the splitter, we would not
  2937. populate affected. Now we try populating it on mousedown, if
  2938. it's not already set, and force it to be re-set whenever our
  2939. parent changes.
  2940. 2006-03-03 Matt Hargett <[email protected]>
  2941. * Control.cs: implement Control.Padding
  2942. * Padding.cs: -Padding.All returns -1 when constructing with the
  2943. implicit default ctor
  2944. -Padding.ToString() matches MS.NET
  2945. * ContainerControl.cs: implement
  2946. ContainerControl.AutoScaleDimensions
  2947. * ListControl.cs: implement ListControl.FormattingEnabled
  2948. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  2949. * ButtonBase.cs:
  2950. * TabPage.cs: Implement UseVisualStyleBackColor.
  2951. * PictureBox.cs: Implement PictureBox.InitialImage.
  2952. 2006-03-03 Mike Kestner <[email protected]>
  2953. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  2954. event declarations to proxy to base event.
  2955. * ListViewItem.cs: update to use ItemControl.
  2956. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  2957. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  2958. column header label rendering for 0 width columns.
  2959. 2006-03-03 Peter Dennis Bartok <[email protected]>
  2960. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  2961. that causes the control to be created. Fixes #77476.
  2962. 2006-03-02 Jackson Harper <[email protected]>
  2963. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  2964. expose_pending.
  2965. 2006-03-02 Peter Dennis Bartok <[email protected]>
  2966. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  2967. passed in for the EventArgs (fixes #77690)
  2968. 2006-03-01 Jackson Harper <[email protected]>
  2969. * ScrollBar.cs: Refresh afterbeing resized.
  2970. 2006-02-28 Mike Kestner <[email protected]>
  2971. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  2972. Clean up a tracker compile warning.
  2973. * MenuItem.cs: add internal PerformPopup method.
  2974. [Fixes #77457]
  2975. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2976. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  2977. implicit expose) when the text is set to null
  2978. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2979. * RichTextBox.cs (FlushText): When newline is true, we always
  2980. need to split the line, even if no text is on it and we may
  2981. never eat newlines. (Fixes #77669)
  2982. 2006-02-28 Mike Kestner <[email protected]>
  2983. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  2984. and set Selected instead.
  2985. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  2986. collections.
  2987. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2988. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  2989. 2006-02-28 Alexander Olk <[email protected]>
  2990. * FontDialog.cs:
  2991. - Got rid of the panel. All controls are now directly added to
  2992. the dialog form
  2993. - It is now possible to set a font with the Font property
  2994. - MinSize and MaxSize property do now what they should
  2995. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  2996. - Searching and selecting a font with the font textbox works now,
  2997. the same applies to the style and size textbox
  2998. - Draw the correct 3D border in the example panel
  2999. - Fixed a little mem leak (unused fonts didn't get disposed)
  3000. - Many other internal updates/rewrites...
  3001. - Fix typo
  3002. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3003. * TextControl.cs:
  3004. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3005. - set_SelectedRTF: Now using the number of characters to calculate
  3006. the new location for the selection and cursor (x/y cannot be used
  3007. due to potentially already wrapped text)
  3008. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3009. * TextControl.cs: Added property and implemented means to allow
  3010. disabling recalculation of a document (can be used to speed up
  3011. multiple inserts and is needed to make RTF inserts predictable, see
  3012. bug #77659)
  3013. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3014. keep x/y insert locations predictable. Also makes it faster inserting
  3015. large chunks of RTF
  3016. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3017. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3018. it's easier for a child control to handle the other messages without
  3019. having to duplicate the special functionality
  3020. * TextBoxBase.cs
  3021. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3022. code to handle processing the key ourselves, in order to get
  3023. access to the result of KeyEventArgs.Handled. We now only call
  3024. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3025. - set_Text: If null or empty string is given, just clear the
  3026. document. Fixes part of #77526
  3027. 2006-02-27 Jackson Harper <[email protected]>
  3028. * SizeGrip.cs: Paint the background color before painting the grip
  3029. so things look right.
  3030. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3031. 2006-02-27 Mike Kestner <[email protected]>
  3032. * ListView.cs:
  3033. - Restructure layout and invalidation model to remove a ton of
  3034. flicker from the control and speed up performance in general.
  3035. - Add manual column resize, flickers like crazy, but I already have
  3036. some ideas on how I'll fix that. (#76822)
  3037. - Merge the three Icon-based views into a single layout method.
  3038. - Move item selection interaction logic from the item since
  3039. interaction with the collections is more appropriate to the view.
  3040. - Deselection on non-item clicks.
  3041. * ListViewItem.cs:
  3042. - Encapsulate most of the layout. Add some internal props to trigger
  3043. layout. Move to a model where Items invalidate themselves instead
  3044. of just invalidating the whole control every time something changes.
  3045. - Invalidate on Text/Caption changes.
  3046. - switch to an offset based layout model to avoid having to absolute
  3047. position every element on item moves.
  3048. - correct checkbox layout to conform to MS layout.
  3049. * ThemeWin32Classic.cs:
  3050. - refactor some column header drawing code.
  3051. - fix string justification for column headers (#76821)
  3052. - make SmallIcon labels top justified for compat with MS impl.
  3053. * ThemeClearlooks.cs:
  3054. - adjust to new ListViewItem internal checkbox bounds api.
  3055. 2006-02-27 Jackson Harper <[email protected]>
  3056. * Control.cs: Change where implicit controls fall in the zorder.
  3057. They are now on top of all children.
  3058. - Synced AddImplicit code with Add
  3059. - Removed unused enumerator.
  3060. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3061. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3062. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3063. string ends with \n\n, otherwise we leave one line too many (Fixes
  3064. something I noticed with the testapp for #77526; the bug itself was
  3065. already fixed in the previous checkin)
  3066. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3067. * RichTextBox.cs:
  3068. - SelectionColor and SelectionFont methods no longer set absolute
  3069. styles. Instead, the keep font or color respectively (This
  3070. resolves a long-standing FIXME in the code)
  3071. - When flushing RTF text, the insert code now considers text trailing
  3072. behind the insertion point (Fixes the bug where when replacing
  3073. the selected text via SelectedRTF the remainder of the line behind
  3074. the selection would stay on the first insertion line)
  3075. * TextBoxBase.cs:
  3076. - AppendText now updates the selection points after inserting text
  3077. - AppendText now ensures that the last tag (sometimes 0-length) of
  3078. the document is used for the style information (Fixes part of
  3079. bug #77220)
  3080. * TextControl.cs:
  3081. - Created new FontDefiniton class to allow describing partial style
  3082. changes
  3083. - StreamLine() now takes a lines argument, to allow it to decide
  3084. whether an encountered zero-length tag is the last in the document
  3085. (which must be kept to not loose the font/color contained in it,
  3086. for later appends)
  3087. - Created Combine() and Split() methods for Marker structs, to
  3088. support marker updates due to reformatted documents (soft line
  3089. wraps)
  3090. - Implemented Document.CaretTag setter
  3091. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3092. of the last line (Not the cause, but also exposed by bug #77220)
  3093. - Added LineTag argument to InsertString method, to allow callers
  3094. to force a certain tag to be used (required to force use of the
  3095. trailing zero-length tag of a document)
  3096. - Now updating markers in Combine(), to avoid stale tag markers
  3097. - Added some method descriptions to aid maintenance
  3098. - Implemented new FormatText concept, allowing additive/subtractive
  3099. formatting by only specifying the components that are to be
  3100. changed. This was needed for resolving the RTB.SelectedColor/
  3101. RTB.SelectedFont fixmes
  3102. - Added Break() support method to allow breaking up linetags (used
  3103. for partial formatting)
  3104. - Added GenerateTextFormat() method. It is used for partial
  3105. formatting and allows to generate a full font/color from given
  3106. attributes and an existing tag.
  3107. 2006-02-26 Jackson Harper <[email protected]>
  3108. * XplatUIX11.cs: Use the correct caption height.
  3109. - Translate hittest coordinates to screen coords to match MS.
  3110. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3111. some of the style flags, so we get a nice blank window, and can
  3112. draw all the decorations ourselves.
  3113. - Set a clipping rectangle on the non client paint event, the
  3114. window manager drawing code needs one.
  3115. * Form.cs: The window manager needs to know when the window state
  3116. has been updated.
  3117. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3118. don't need to factor in border and title sizes in these
  3119. methods. TODO: Remove the args and fix the call points.
  3120. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3121. properly.
  3122. - Let the driver set the cursors.
  3123. - Improve active window handling
  3124. - Correct sizes for title bars and buttons.
  3125. - Match MS drawing better
  3126. * MdiWindowManager.cs: We don't need to handle border style
  3127. updates specially anymore.
  3128. - Check for scrollbars when windows are done moving
  3129. - Handle Active properly.
  3130. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3131. correctly. I am spewing the exception though, so we don't hide the
  3132. bugs.
  3133. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3134. * DataGridViewRowPostPaintEventArgs.cs,
  3135. DataGridViewCellPaintingEventArgs.cs,
  3136. DataGridViewRowCollection.cs,
  3137. DataGridViewRowPrePaintEventArgs.cs,
  3138. DataGridViewCell.cs: Clear a few warnings and implement a few
  3139. exceptions that should be thrown.
  3140. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3141. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3142. 'inheriting' our parent's (non-default) cursor. (Part of
  3143. the fix for #77479)
  3144. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3145. * XplatUIX11.cs: Fixed cast to make csc happy
  3146. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3147. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3148. it's for the client area (part of fix for #77479 and needed
  3149. for MDI window cursor handling)
  3150. * XplatUIX11.cs
  3151. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3152. the appropriate default cursors and also passing the message
  3153. up the parent chain
  3154. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3155. for non-client areas
  3156. 2006-02-15 Jackson Harper <[email protected]>
  3157. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3158. is a real MDI window
  3159. 2006-02-14 Alexander Olk <[email protected]>
  3160. * X11DesktopColors.cs: Instead of checking the desktop session
  3161. string for "KDE" check if it starts with "KDE"
  3162. 2006-02-10 Jackson Harper <[email protected]>
  3163. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3164. systems).
  3165. 2006-02-10 Alexander Olk <[email protected]>
  3166. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  3167. errors
  3168. * ColorDialog.cs:
  3169. - Got rid of the panel. All controls are now directly added to
  3170. the dialog form
  3171. - Changed to mono coding style
  3172. 2006-02-10 Jackson Harper <[email protected]>
  3173. * InternalWindowManager.cs: We don't need the set visibility to
  3174. false hack anymore now that peter has written beautiful shutdown
  3175. code.
  3176. 2006-02-10 Peter Dennis Bartok <[email protected]>
  3177. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  3178. where already explicitly destroyed
  3179. 2006-02-10 Jackson Harper <[email protected]>
  3180. * MdiClient.cs: Handle the case where windows are too high or to
  3181. the left and we need scrollbars.
  3182. 2006-02-10 Alexander Olk <[email protected]>
  3183. * MimeIcon.cs: Added some icons
  3184. * FileDialog.cs:
  3185. - Fixed bug #77477
  3186. - Got rid of the panel. All controls are now directly added to
  3187. the dialog form
  3188. - Changed to mono coding style
  3189. - On Linux "My Computer" and "My Network" will now show some
  3190. more usefull information. A new class, MasterMount, gathers
  3191. this information from /proc/mount. Updated MWFFileView to make
  3192. use of this information
  3193. - Fixed a bug that caused FileDialog to crash when
  3194. ".recently_used" file had a zero size
  3195. - FilterIndex does now what it should
  3196. - Some Refactoring
  3197. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  3198. FileDialog changes
  3199. 2006-02-09 Jackson Harper <[email protected]>
  3200. * ComboBox.cs: Don't touch if null.
  3201. 2006-02-09 Peter Dennis Bartok <[email protected]>
  3202. * Cursor.cs: 64bit safeness fix
  3203. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  3204. 2006-02-09 Jackson Harper <[email protected]>
  3205. * Form.cs: If a form is made into an MDI form update the styles so
  3206. all the props can get set correctly.
  3207. - Kill the mdi_container when we dont need it anymore.
  3208. * InternalWindowManager.cs: Add missing NOT
  3209. 2006-02-08 Jackson Harper <[email protected]>
  3210. * InternalWindowManager.cs: Respek clipping when drawing MDi
  3211. decorations.
  3212. 2006-02-08 Jackson Harper <[email protected]>
  3213. * Hwnd.cs: Add bits to track non client expose events.
  3214. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  3215. gives us a proper invalid rect and will allow for some nice
  3216. optimizations with NC client drawing
  3217. - MDI windows are children windows, so move their style handling
  3218. into the child window block.
  3219. * InternalWindowManager.cs: Remove a state reset that was
  3220. getting invoked at the wrong time. Fixes managed windows getting
  3221. into a 'stuck' captured state.
  3222. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3223. * TextControl.cs (Document.ctor): Now initializing
  3224. selection_anchor. Fixes #77493
  3225. 2006-02-07 Jackson Harper <[email protected]>
  3226. * TrackBar.cs: The increment/decrements were backwards.
  3227. 2006-02-07 Mike Kestner <[email protected]>
  3228. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  3229. to the instance itself.
  3230. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3231. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  3232. on ulongs and pointers, the size differs between 32bit and 64bit
  3233. systems.
  3234. 2006-02-07 Mike Kestner <[email protected]>
  3235. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  3236. for 64 bit platforms to work around a metacity bug.
  3237. 2006-02-07 Jackson Harper <[email protected]>
  3238. * TrackBar.cs: Process the input keys we need, and hookup to
  3239. KeyDown instead of using WndProc, so we get key messages.
  3240. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3241. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  3242. machine we're on.
  3243. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  3244. we need to translate the XdndVersion atoms array before sending it
  3245. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3246. * XplatUIX11.cs:
  3247. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  3248. number of bits for the property, not the number of bytes. The
  3249. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  3250. but would not crash since it specified 8 bits instead of 4 bits)
  3251. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  3252. defined as XID -> long in the C headers)
  3253. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  3254. references since those are now IntPtr to begin with
  3255. - Switched all Atom.XXX 'int' casts to IntPtr casts
  3256. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  3257. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  3258. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  3259. * X11Structs.cs:
  3260. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  3261. - Changed atom in HoverStruct to be IntPtr
  3262. * X11DnD.cs:
  3263. - Removed local DllImports, switched code to use those from XplatUIX11
  3264. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  3265. 2006-02-06 Mike Kestner <[email protected]>
  3266. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  3267. method signatures in the import region. There may still be some
  3268. lingering struct marshaling issues, as I didn't drill down into those.
  3269. Yet.
  3270. 2006-02-06 Jackson Harper <[email protected]>
  3271. * ComboBox.cs: Dont manually set the top_item, this is computed
  3272. when the scrollbar position is set.
  3273. 2006-02-06 Mike Kestner <[email protected]>
  3274. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  3275. startup crashes on amd64. There's other fixes needed. All pinvoke
  3276. usage of Atom needs to be mapped to IntPtr for example. And there are
  3277. likely other int/long issues to be addressed.
  3278. 2006-02-04 Alexander Olk <[email protected]>
  3279. * FileDialog.cs: One more...
  3280. 2006-02-03 Alexander Olk <[email protected]>
  3281. * FileDialog.cs: Next try
  3282. 2006-02-03 Alexander Olk <[email protected]>
  3283. * FileDialog.cs: First part of fix for #77464
  3284. 2006-02-03 Alexander Olk <[email protected]>
  3285. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  3286. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  3287. AcceptButton border drawing.
  3288. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3289. * Form.cs: Moved positioning of form after auto scaling is applied,
  3290. otherwise it would possibly use wrong form size.
  3291. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3292. * Control.cs (RecreateHandle): No need to re-create any child
  3293. controls, the child windows will get destroyed automatically by
  3294. the windowing system or driver, and re-created when the handle
  3295. is being accessed the first time. Fixes #77456
  3296. * Form.cs: No longer setting the form to closing if the handle is
  3297. being recreated. This seems like the right thing to do, don't
  3298. have a bug or testcase for this, though.
  3299. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3300. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  3301. controls to avoid unwanted side effects
  3302. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3303. * Control.cs:
  3304. - ScaleCore needs to scale the bounds, not the ClientSize of the
  3305. control. Fixes #77416.
  3306. - DefaultSize is 0,0 for control
  3307. * TextBoxBase.cs:
  3308. - DefaultSize is 100, 20
  3309. - SetBoundsCore: Now enforcing the height, no matter if the provided
  3310. height is more or less than the preferred one, as long as AutoSize
  3311. is on
  3312. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  3313. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3314. * Control.cs:
  3315. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  3316. call unless both performLayout is true *and* we have a pending
  3317. layout change
  3318. - ResumeLayout: MS does not completely nest Suspend and Resume,
  3319. they bottom out at 0, fixed our code to match that.
  3320. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  3321. SetBoundsCore, we were updating even when we shouldn't. This fixes
  3322. swf-anchors mis-anchoring when resizing the app fast and lots.
  3323. - UpdateDistances: Now only setting the left and top distance if
  3324. we have a parent and are not suspended, this is based on
  3325. a suggestion by Don Edvaldson in bug #77355.
  3326. - OnVisibleChanged: Fixed logic when to create the control. We may
  3327. not create the control if we have no parent or if it's not visible;
  3328. switched to using Visible property instead of is_visible field
  3329. since the property also considers parent states. This fixes a bug
  3330. when starting Paint.Net
  3331. 2006-02-02 Jackson Harper <[email protected]>
  3332. * Form.cs: If the forms handle hasn't been created yet don't call
  3333. into xplatui to make it top most, just set the topmost flag on the
  3334. form in CreateParams
  3335. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  3336. 2006-02-01 Jackson Harper <[email protected]>
  3337. * ScrollableControl.cs: Refactored the Recalculate method a
  3338. little, this wasn't handling all the variants of bottom and right
  3339. bars needed to be added and added/removed based on their
  3340. counterparts being added/removed (which changes the drawable
  3341. size). Also we special case client widths and heights of 0 and
  3342. don't add the scrollbar for those.
  3343. 2006-02-01 Peter Dennis Bartok <[email protected]>
  3344. * XplatUIX11.cs:
  3345. - Added method to get AbsoluteGeometry(); currently unused, but might
  3346. be used in the future, if we try again to figure out toplevel
  3347. coordinates with some more crappy window managers
  3348. - Added FrameExtents() method to retrieve the WM set decoration size
  3349. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  3350. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  3351. * Hwnd.cs:
  3352. - Added whacky_wm tracking var for metacity
  3353. - Added logic to have default menu height if the actual menu height
  3354. has not yet been calculated (part of fix for #77426)
  3355. * Form.cs: Keep track whether client size has been set and re-set
  3356. it if a menu is added/removed afterwards (Fixes #77426)
  3357. 2006-01-31 Jackson Harper <[email protected]>
  3358. * Control.cs: When a new Site is set on the component attempt to
  3359. pull the AmbientProperties from it.
  3360. 2006-01-31 Peter Dennis Bartok <[email protected]>
  3361. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  3362. in the background of the owning form. Fixes #77332
  3363. 2006-01-31 Alexander Olk <[email protected]>
  3364. * MimeIcon.cs: Fix for #77409
  3365. 2006-01-31 Alexander Olk <[email protected]>
  3366. * XplatUIX11GTK.cs: Initial import
  3367. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  3368. * FixedSizeTextBox: fixes class signature
  3369. 2006-01-30 Jackson Harper <[email protected]>
  3370. * FixedSizeTextBox.cs: New internal class that represents a
  3371. textBox that will not be scaled.
  3372. * TreeView.cs:
  3373. * ComboBox.cs:
  3374. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  3375. standard TextBox.
  3376. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3377. * XplatUIX11.cs: Retrieve default screen number instead of
  3378. assuming 0. Attempted fix for #77318
  3379. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3380. * XplatUIWin32.cs:
  3381. - GetWindowPos: When a window is parented by FosterParent, use
  3382. the desktop instead of FosterParent as the base to get coordinates
  3383. - CreateWindow: Don't make FosterParent the parent window for Popups
  3384. if we don't want a taskbar entry, Popups automatically don't get one
  3385. * Hwnd.cs: Need to call remove to actually remove the key from the
  3386. hash table
  3387. 2006-01-30 Mike Kestner <[email protected]>
  3388. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  3389. 2006-01-30 Jackson Harper <[email protected]>
  3390. * TreeView.cs:
  3391. * TreeNode.cs: Raise events no matter how the treenode is
  3392. checked. Patch by Don Edvalson.
  3393. 2006-01-30 Jackson Harper <[email protected]>
  3394. * TreeNode.cs: Signature fix.
  3395. 2006-01-29 Alexander Olk <[email protected]>
  3396. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  3397. 2006-01-20 Mike Kestner <[email protected]>
  3398. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  3399. event forwarding when menus are active.
  3400. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  3401. Most of the patch is pdb's with a little rework.
  3402. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3403. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  3404. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  3405. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  3406. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  3407. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  3408. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  3409. the PaintWindowDecorations method
  3410. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  3411. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  3412. * MenuAPI.cs: Made tracker window invisible
  3413. * XplatUIWin32.cs:
  3414. - Removed GetMenuDC and ReleaseMenuDC methods
  3415. - Implemented the client=false path for PaintEventStart and
  3416. PaintEventEnd
  3417. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3418. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  3419. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  3420. styles
  3421. * Form.cs:
  3422. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  3423. the style
  3424. - CreateParams: Reworked the styles to match MS look'n'feel,
  3425. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  3426. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  3427. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3428. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  3429. window is not mapped, since otherwise every form that's being
  3430. created is considered minimized, which is wrong.
  3431. * Form.cs: Catching the exception and returning our internal value
  3432. instead
  3433. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3434. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  3435. SetWindowMinMax() to have means to tell the driver about the minimum,
  3436. maximum and maximized state window sizes. (Part of the fix for #76485)
  3437. * Form.cs:
  3438. - Implemented tracking of minimum and maximum window size, now calling
  3439. new SetWindowMinMax() driver method to tell the driver (Part of the
  3440. fix for #76485)
  3441. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  3442. (Completes fix for #76485)
  3443. - Calling new SetWindowMinMax driver method when the handle for a
  3444. form is created, to make sure the driver knows about it even if
  3445. the values have been set before the window was created
  3446. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  3447. to avoid messing up our anchoring calculations (partial fix
  3448. for #77355)
  3449. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  3450. * XplatUIX11.cs:
  3451. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  3452. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  3453. (and presumably other freedesktop.org compliant WMs). Left the
  3454. assumption unmapped=minimized, needed for SetVisible to work.
  3455. - Now setting the window state when creating windows
  3456. - Fixed SetVisible to consider/set the window state when mapping
  3457. a Form. We cannot set the state before it's mapped, and we cannot
  3458. use Form.WindowState once it's mapped (since it would ask the
  3459. driver and get 'normal'. Therefore, we grab the state before
  3460. mapping, map, and then set state.
  3461. - Implmemented SetWindowMinMax method; Metacity does not seem to
  3462. honor the ZoomHints, though.
  3463. * XplatUIWin32.cs:
  3464. - Removed MINMAXINFO (moved to XplatUIStructs)
  3465. - Added SetWindowMinMax stub (on Win32 the only way to set that
  3466. information is in response to the WM_GETMINMAXINFO message, which
  3467. is handled in Form.cs)
  3468. - Added logic to SetVisible to set the proper window state when a
  3469. form is made visible (fixes #75720)
  3470. 2006-01-26 Jackson Harper <[email protected]>
  3471. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  3472. same way we handle them with Invoke.
  3473. 2006-01-25 Peter Dennis Bartok <[email protected]>
  3474. * Form.cs:
  3475. - Added tracking of window state so CreateParams can return
  3476. the appropriate style
  3477. - Moved setting of WS_CAPTION style in CreateParams to allow
  3478. styles without caption
  3479. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  3480. control if the TextBox property is accessed. Fixes #77345
  3481. * Control.cs:
  3482. - get_Created: now uses is_disposed and is_created to determine
  3483. return value (suggested by Jackson)
  3484. - CreateHandle: No longer exits if the handle is being recreated
  3485. - RecreateHandle: If the handle is not yet created call the
  3486. appropriate method to create either control or handle. If the
  3487. control is already created CreateHandle will simply exit instead
  3488. of just creating the handle
  3489. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  3490. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  3491. is called.
  3492. * XplatUIX11.cs:
  3493. - When DestroyWindow is called, instead of waiting for the
  3494. DestroyNotification from X11, we directly post it to the WndProc
  3495. and immediately dispose the hwnd object.
  3496. Same applies to DestroyChildWindows, and this obsoletes the
  3497. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  3498. child windows before our own, to avoid X11 errors.
  3499. - Removed the direct sending of WM_PAINT on UpdateWindow
  3500. * XplatUIWin32.cs:
  3501. - Reworked DoEvents and GetMessage to allow access to internal queue
  3502. even when trying non-blocking access to the queue. Fixes #77335.
  3503. Based on a patch suggestion by Don Edvalson. The new private
  3504. GetMessage can now also be used as a backend for a PeekMessage
  3505. frontend version.
  3506. * XplatUI.cs: Improved debug output for CreateWindow
  3507. 2006-01-25 Jackson Harper <[email protected]>
  3508. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  3509. 2006-01-24 Jackson Harper <[email protected]>
  3510. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  3511. when we have a MaxDropItems lower then the selected index.
  3512. 2006-01-24 Jackson Harper <[email protected]>
  3513. * Control.cs: Don't allow selection of non visible controls, allow
  3514. selection of controls without parents.
  3515. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3516. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  3517. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  3518. 2006-01-23 Jackson Harper <[email protected]>
  3519. * UpDownBase.cs: Make the textbox handle all the selection and
  3520. tabbing. This fixes tabing to updown controls.
  3521. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3522. * TextBoxBase.cs: fixes exception thown the object was null
  3523. 2006-01-23 Jackson Harper <[email protected]>
  3524. * ButtonBase.cs: Just use the base CreateParams. They set
  3525. visibility and enabled correctly.
  3526. * ComboBox.cs:
  3527. * TrackBar.cs:
  3528. * MonthCalendar.cs: Lets let the base set as much of the
  3529. createparams as possible so we don't have duplicate code all over
  3530. the place.
  3531. 2006-01-22 Alexander Olk <[email protected]>
  3532. * ThemeGtk.cs: Added TrackBar and some experimental code to
  3533. get double buffering back
  3534. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  3535. * DataGrid.cs: Allows row number set internally higher than the last
  3536. when creating a new row. Restores the editing functionality.
  3537. 2006-01-20 Mike Kestner <[email protected]>
  3538. * MimeIcon.cs: delay Image creation until the icons are accessed
  3539. instead of creating 190 scaled images on GnomeHandler startup.
  3540. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3541. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  3542. first call base before processing the event. Fixes #77279
  3543. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3544. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  3545. that the stride for the GDI bitmap would match the stride of
  3546. a DIB or a Cursor.
  3547. 2006-01-19 Alexander Olk <[email protected]>
  3548. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  3549. 2006-01-19 Jackson Harper <[email protected]>
  3550. * ComboBox.cs: Hookup the text controls keydown event so we get
  3551. those when the text control has the focus.
  3552. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3553. * Label.cs: Now using the base events instead of defining new ones;
  3554. this allows us to just call the base properties without having to
  3555. duplicate all base property logic
  3556. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3557. * Label.cs: A label by default is not a tabstop (Fixes one of our
  3558. failing nunit tests)
  3559. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3560. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  3561. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  3562. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3563. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  3564. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  3565. This fixes #77218
  3566. * XplatUIWin32.cs:
  3567. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  3568. constructor creates images that can't be saved. Part of the fix
  3569. for #76103
  3570. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  3571. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  3572. bug fix for handling window state in forms properly)
  3573. 2006-01-18 Alexander Olk <[email protected]>
  3574. * ThemeGtk.cs: Simplify ScrollBar drawing
  3575. 2006-01-18 Jackson Harper <[email protected]>
  3576. * Splitter.cs: Set the default dock style for the splitter control
  3577. in the constructor.
  3578. 2006-01-18 Alexander Olk <[email protected]>
  3579. * ThemeGtk.cs: Corrected StateType and ShadowType for
  3580. gtk_paint_box
  3581. 2006-01-18 Alexander Olk <[email protected]>
  3582. * Control.cs: Make use of Theme.DoubleBufferingSupported
  3583. * ThemeGtk.cs:
  3584. - Added drawing for flat style buttons
  3585. - Added ScrollBar drawing
  3586. 2006-01-18 Alexander Olk <[email protected]>
  3587. * ThemeClearlooks.cs: Removed some unneeded code.
  3588. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  3589. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3590. * LinkLabel.cs: We need to update the hover drawing when
  3591. leaving the control as well.
  3592. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  3593. * DataGrid.cs: Clicking on non empty areas in the columns
  3594. area was giving an exception
  3595. 2006-01-17 Jackson Harper <[email protected]>
  3596. * ThemeWin32Classic.cs:
  3597. * ListView.cs: Do not draw/clip the headers when the header style
  3598. is None.
  3599. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3600. * DataGrid.cs: Fixes 77260
  3601. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3602. * DataGrid.cs: Clicking on a column on a empty grid was giving
  3603. an exception
  3604. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3605. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  3606. or any keypress will crash the grid.
  3607. 2006-01-17 Mike Kestner <[email protected]>
  3608. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  3609. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  3610. invisible/previously-visible items.
  3611. [Fixes #76909]
  3612. 2006-01-17 Alexander Olk <[email protected]>
  3613. * ThemeClearlooks.cs:
  3614. - Added CL_Draw_Button method; now other theme controls that are
  3615. not derived from button or do not have a button can draw buttons
  3616. too
  3617. - Updated ComboBox drawing
  3618. - Beautified RadioButton drawing
  3619. - Corrected drawing of bottom and left tabs
  3620. - Beautified DateTimePicker and MonthCalendar
  3621. - Added CPDrawButton and CPDrawRadioButton
  3622. 2006-01-16 Jackson Harper <[email protected]>
  3623. * ComboBox.cs: Set the initial value of the scrollbar to the
  3624. current index. Reduce the numbers of refreshs and IndexOfs called.
  3625. 2006-01-14 Alexander Olk <[email protected]>
  3626. * FileDialog.cs: When the file listview is focused hitting the
  3627. backspace key moves the fileview to the parent directory
  3628. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3629. * Form.cs:
  3630. - Added RecreateHandle call when changing taskbar visibility to
  3631. trigger reparenting in Win32 driver (Fixes #75719)
  3632. - If a window has minimize or maximize buttons, it cannot have
  3633. a help button
  3634. * XplatUIWin32.cs:
  3635. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  3636. the toplevel form with FosterParent (A toolwindow not on the
  3637. taskbar) (Fixes #75719)
  3638. - Made FosterParent a toolwindow
  3639. 2006-01-13 Alexander Olk <[email protected]>
  3640. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  3641. 2006-01-13 Alexander Olk <[email protected]>
  3642. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  3643. is currently over that control, make sure that tooltip_window.Text
  3644. gets updated
  3645. 2006-01-13 Mike Kestner <[email protected]>
  3646. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  3647. 2006-01-13 Jackson Harper <[email protected]>
  3648. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  3649. value passed. Also redraw the selected node when we recieve
  3650. focus, so tabbing between trees works correctly.
  3651. 2006-01-13 Alexander Olk <[email protected]>
  3652. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  3653. ~/.gconf/%gconf-tree.xml, so use
  3654. .gconf/desktop/gnome/interface/%gconf.xml
  3655. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3656. * TextControl.cs: Draw text in gray if control is disabled
  3657. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3658. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  3659. make sure it's always visible. Fixes #76680.
  3660. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3661. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  3662. 2006-01-13 Jonathan Chambers <[email protected]>
  3663. * PageSetupDialog.cs: Added.
  3664. * PrintDialog.cs: Attributes.
  3665. * PrintPreviewControl.cs: Updates.
  3666. * PrintPreviewDialog.cs: Updates.
  3667. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3668. * Control.cs: Undid my selection check fix, since it's not needed
  3669. * TextBoxBase.cs:
  3670. - Now considering the presence of hscroll/vscroll when sizing
  3671. vscroll/hscroll respectively. Fixed bug #77077
  3672. - Added Left/Up/Down/Right to IsInputKey list to prevent
  3673. ContainerControl from stealing them. This fixes what I broke
  3674. with my last checkin.
  3675. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3676. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  3677. I finally understand how the property can be set without a setter :-)
  3678. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3679. * Application.cs:
  3680. - Switched RunLoop to use static Message.Create to create a
  3681. Message object
  3682. - Added PreProcessMessage call in runloop for keyboard events; this
  3683. is part of the fix for #77219, I overlooked this originally in the
  3684. MSDN doc for PreProcessMessage
  3685. * Control.cs:
  3686. - Removed call to PreProcessMessage from handling of keyboard
  3687. messages; it's supposed to be done in the message pump
  3688. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  3689. per MSDN documentation.
  3690. - IsInputChar: All chars are input chars by default; removed the
  3691. parent calling chain, MS does not document that
  3692. - PreProcessMessage: If IsInputChar is true, we want to return false
  3693. to allow dispatching of the message
  3694. - When selecting the next control, now also check that we're not
  3695. selecting ourselves again and therefore return a false positive.
  3696. * TextBoxBase.cs:
  3697. - Tried to match return values for IsInputKey and ProcessDialogKey
  3698. to what MS returns; moved processing of our special keys outside
  3699. ProcessDialogKey since MS does not seem to return true on those.
  3700. - Moved code that previously was in ProcessDialogKey into new private
  3701. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  3702. - Reworked handling of WM_CHAR to not have to duplicate code from
  3703. Control.cs anymore, instead we simply call down to base.
  3704. 2006-01-12 Jackson Harper <[email protected]>
  3705. * ComboBox.cs: We always need to refresh the text area when
  3706. EndUpdate is called. Fixes the combobox in the file dialog.
  3707. * Control.cs: Don't create the creator_thread until the controls
  3708. handle is created. Also in InvokeRequired we check if the
  3709. creator_thread is null. This gives the effect of InvokeRequired
  3710. returning true if the controls handle is not created yet, and
  3711. matches MS.
  3712. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3713. * XplatUI.cs:
  3714. - Added StartLoop() driver method. This is used to allow drivers to
  3715. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  3716. loop for a particular thread
  3717. - Added EndLoop() driver method. This is called once the message
  3718. pump for the thread is shut down
  3719. - Added SupportsTransparency method to allow the driver to indicate
  3720. opacity support for windows
  3721. * Form.cs:
  3722. - Removed TODO attribute, completed AllowTransparency property
  3723. - Added documented logic to Opacity
  3724. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  3725. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  3726. versions of CompatibleTextRendering
  3727. * X11Structs.cs: Added opacity atom to our atom enumeration
  3728. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  3729. of a form might be set before it's reparented by the WM, and we need
  3730. the opacity value without calling up to Form)
  3731. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  3732. SupportsTransparency() driver methods
  3733. * Application.cs: Now calling StartLoop and EndLoop driver methods
  3734. * XplatUIX11.cs:
  3735. - Added opacity atom registration
  3736. - Added StartLoop()/EndLoop() methods. They're empty right now but
  3737. will need to get implemented when we switch to a per-thread queue
  3738. - Implemented SupportsTransparency() method
  3739. - Implemented SetWindowTransparency() method
  3740. - Added support for setting the opacity value when a window is
  3741. reparented (since the opacity needs to be set on the WM frame)
  3742. * XplatUIOSX.cs, XplatUIWin32.cs:
  3743. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  3744. 2006-01-12 Alexander Olk <[email protected]>
  3745. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  3746. 2006-01-12 Alexander Olk <[email protected]>
  3747. * FileDialog.cs: Added ToolTip for MWFFileView
  3748. * MimeIcon.cs: Rewrote GnomeHandler.
  3749. - Get currently used gnome icon theme from
  3750. ($HOME)/.gconf/%gconf-tree.xml
  3751. - Make use of inherited icon themes
  3752. - Support SVG icon themes like Tango via librsvg
  3753. 2006-01-12 Miguel de Icaza <[email protected]>
  3754. Revert's Jackson's revert which broke 2.0 builds. Fix both
  3755. builds.
  3756. * Application.cs: Move the use_compatible_text_rendering outside
  3757. the NET_2_0 define. If we ever need to use the
  3758. use_compatible_text_rendering on the individual controls they will
  3759. access the variable from the common shared code paths.
  3760. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3761. * XplatUI.cs:
  3762. - Added more granular debug options
  3763. - Added method to print both window text and id
  3764. - Switched debug output to use new Window() debug method
  3765. - Added IsEnabled() driver method
  3766. - Added EnableWindow() driver method
  3767. * Form.cs:
  3768. - Removed end_modal; no longer needed, new loop handles termination
  3769. via 'closing' variable
  3770. - If form is modal, setting DialogResult will now initiate loop
  3771. termination via 'closing' variable
  3772. - Added support for is_enabled/WS_DISABLED to CreateParams
  3773. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  3774. does all the work
  3775. - Removed code that's now in RunLoop from ShowDialog()
  3776. - Added various documented sanity checks to ShowDialog()
  3777. - Added handling of WM_DESTROY message; we set 'closing' on getting
  3778. the message to indicate the message pump to terminate
  3779. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  3780. send by the Application.ExitThread method. (We send the message
  3781. to destroy the window after all other events have been
  3782. processed through the queue, instead of destroying the handle
  3783. directly)
  3784. - Moved code from Close() method to WM_CLOSE handler; added logic
  3785. to only send close-related events if the form is not displayed
  3786. modal
  3787. * Splitter.cs (..ctor): Fixed typo in resource name
  3788. * Control.cs:
  3789. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  3790. brush now
  3791. - set_Cursor: Now only setting calling into XplatUI if the handle for
  3792. the control is already created; this avoids implict handle creation
  3793. or crashes if it's not created
  3794. - set_Enabled: Now setting the enabled state via the new driver method
  3795. instead of just tracking it
  3796. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  3797. - CreateControl: Reordered event firing and method calls to more
  3798. closely fire events in the order MS does. Now setting the
  3799. enabled state in the driver when creating the control.
  3800. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  3801. match MS order
  3802. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  3803. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  3804. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  3805. * Hwnd.cs:
  3806. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  3807. - Added EnabledHwnd property to easily allow a driver to find the
  3808. handle of the first enabled window in the parent chain (this is
  3809. used by drivers to pass up input events of disabled windows)
  3810. * XplatUIDriver.cs: Added IsEnabled() method
  3811. * Application.cs:
  3812. - Removed crude and obsolete exiting tracking variable
  3813. - Removed internal ModalRun(); replaced by RunLoop()
  3814. - Implemented private CloseForms() method to allow closing all
  3815. windows owned by a particular (or all) threads
  3816. - Exit() now properly closes all windows without forcing the message
  3817. pump to quit
  3818. - Removed obsolete InternalExit() method
  3819. - Changed Run() methods to use new RunLoop() message pump
  3820. - Implemented new RunLoop() method for both modal and non-modal forms
  3821. * CommonDialog.cs:
  3822. - get_CreateParams: Added setting of WS_DISABLED
  3823. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  3824. invoked via Form.ShowDialog()
  3825. * NativeWindow.cs: We don't remove the window from the collection when
  3826. the handle is destroyed; there might still be messages for it in the
  3827. queue (mainly the resulting WM_DESTROY); instead it will be removed
  3828. when Control calls InvalidateHandle in the WM_DESTROY handler
  3829. * XplatUIX11.cs:
  3830. - CreateWindow: Added logic to handle the WS_DISABLED window style
  3831. - EnableWindow: Implemented based on Hwnd.Enabled
  3832. - GetMessage: Reset PostQuitState so the method can be called again
  3833. - Implemented support for disabled windows (passing messages to the
  3834. first enabled parent) in handling all input messages
  3835. - Added optimizations for handling Expose events
  3836. - Implemeted new driver method IsEnabled()
  3837. - Now always resetting paint pending tracking vars when we start paint
  3838. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  3839. * XplatUIOSX.cs: Added IsEnabled method stub
  3840. * XplatUIWin32.cs: Implemented new IsEnabled() method
  3841. 2006-01-11 Jackson Harper <[email protected]>
  3842. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  3843. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  3844. variables a little.
  3845. * ColorDialog.cs: Clear out the old form before adding the new
  3846. panel.
  3847. 2006-01-11 Jackson Harper <[email protected]>
  3848. * X11Dnd.cs: Make sure to add all the text formats when adding
  3849. strings to the data object.
  3850. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  3851. do some redrawing too. Also change the UpdateNode to an
  3852. UpdateBelow so the newly added node gets painted.
  3853. 2006-01-11 Miguel de Icaza <[email protected]>
  3854. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  3855. LinkLabel.cs, PropertyGrid.cs: Implement the
  3856. UseCompatibleTextRendering property for 2.x
  3857. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  3858. 2006-01-11 Jackson Harper <[email protected]>
  3859. * TreeView.cs: Use the property for setting the selected node so
  3860. the correct events get raised.
  3861. * TreeNode.cs: Update the tree when the fore/back colours of a
  3862. node are set.
  3863. 2006-01-10 Jackson Harper <[email protected]>
  3864. * TreeView.cs: Allow setting SelectedNode to null.
  3865. 2006-01-9 Jonathan Chambers <[email protected]>
  3866. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  3867. 2006-01-9 Jonathan Chambers <[email protected]>
  3868. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  3869. 2006-01-9 Jonathan Chambers <[email protected]>
  3870. * PrintDialog.cs: Added attributes and set default property values.
  3871. 2006-01-9 Jonathan Chambers <[email protected]>
  3872. * PrintControllerWithStatusDialog.cs:
  3873. Added PrintControllerWithStatusDialog.
  3874. 2006-01-9 Jonathan Chambers <[email protected]>
  3875. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  3876. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  3877. 2006-01-9 Jonathan Chambers <[email protected]>
  3878. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  3879. 2006-01-09 Jonathan Chambers <[email protected]>
  3880. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  3881. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  3882. 2006-01-08 Alexander Olk <[email protected]>
  3883. * MimeIcon.cs: Added internal class SVGUtil.
  3884. 2006-01-08 Alexander Olk <[email protected]>
  3885. * FileDialog.cs: Don't crash if there are two files with the
  3886. same name but different locations.
  3887. 2006-01-08 John BouAntoun <[email protected]>
  3888. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  3889. dates across multiple month grids. Used to not highlight entire
  3890. month, but does now.
  3891. 2006-01-06 Jackson Harper <[email protected]>
  3892. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  3893. message loop. Change timer intervals to numbers that seem more
  3894. natural.
  3895. 2006-01-06 John BouAntoun <[email protected]>
  3896. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  3897. object for location info since screen object is now implemented.
  3898. 2006-01-05 Jackson Harper <[email protected]>
  3899. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  3900. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  3901. AsyncMethodResult, this is because we ALWAYS want the
  3902. ManualResetEvent to get set.
  3903. * Control.cs: When disposing use an async invoke to call shutdown
  3904. code, so that thigns don't block on the finalizer thread. Also
  3905. check if we even have a message loop before trying to send
  3906. messages, if we don't then don't bother sending messages.
  3907. - No more weak references for async methods
  3908. * XplatUIDriver.cs: No more weak references for async methods.
  3909. 2006-01-04 Alexander Olk <[email protected]>
  3910. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  3911. returns two FontFamily with the same name
  3912. 2006-01-04 Peter Dennis Bartok <[email protected]>
  3913. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  3914. drawing disabled text. Instead using the ColorGrayText color
  3915. 2006-01-04 Jackson Harper <[email protected]>
  3916. * TreeNode.cs: redraw the node when its image index is changed.
  3917. 2006-01-04 Peter Dennis Bartok <[email protected]>
  3918. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  3919. time I checked there are no others like it.
  3920. 2006-01-04 Jackson Harper <[email protected]>
  3921. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  3922. this gives the behavoir I was looking for.
  3923. * Control.cs: Special case Invoking EventHandlers, this matches MS
  3924. and fixes part of bug #76326.
  3925. 2006-01-04 Alexander Olk <[email protected]>
  3926. * ThemeClearlooks.cs, FileDialog.cs:
  3927. - Reflect the latest Theme class changes
  3928. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  3929. with DateTime
  3930. 2006-01-04 Alexander Olk <[email protected]>
  3931. * Theme.cs: Cache UI resource images and resize them if needed
  3932. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3933. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  3934. is called. This fixes the crash in Nexxia when setting the font
  3935. attributes in the chat. [However, RTF needs a look-over to make sure
  3936. that all SelectionXXX methods handle the special case that selection
  3937. is empty and therefore the change must be applied to all text starting
  3938. at the cursor/selection start]
  3939. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3940. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3941. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  3942. * X11Keyboard.cs: Switched to new way of calling PostMessage
  3943. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3944. * Theme.cs: Added theme interface for images to allow the theme to
  3945. control what images are used for things like FileDialog, MessageBox
  3946. icons, etc.
  3947. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  3948. 2006-01-03 Alexander Olk <[email protected]>
  3949. * FileDialog.cs:
  3950. - Removed some dead code
  3951. - Opening a recently used file does work now
  3952. - Small UI enhancements
  3953. - Refactoring
  3954. 2006-01-02 Alexander Olk <[email protected]>
  3955. * FileDialog.cs: Forgot too add __MonoCS__
  3956. 2006-01-02 Alexander Olk <[email protected]>
  3957. * FileDialog.cs: We are able to read recently used files now let's
  3958. go on and write them.
  3959. 2006-01-01 Alexander Olk <[email protected]>
  3960. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  3961. button
  3962. * MimeIcon.cs: Do a check for the top level media type also
  3963. 2005-12-31 Alexander Olk <[email protected]>
  3964. * ThemeClearlooks.cs:
  3965. - Added CPDrawStringDisabled
  3966. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  3967. some chars if the text doesn't fit into text_rect
  3968. - DrawListViewItem: If View = View.LargeIcon center the image;
  3969. rewrote the drawing of ListViewItem.Text if View =
  3970. View.LargeIcon
  3971. 2005-12-31 Alexander Olk <[email protected]>
  3972. * MimeIcon.cs: Use default KDE icon theme if there is no
  3973. "48x48" directory for the current icon theme, fixes #77114
  3974. * Mime.cs: Disable not working and actually not used code.
  3975. * ThemeWin32Classic.cs:
  3976. - Replace "new SolidBrush" in GetControlBackBrush and
  3977. GetControlForeBrush with ResPool.GetSolidBrush
  3978. - Changed DrawListViewItem from private to protected virtual
  3979. * FileDialog.cs:
  3980. - Added form.MaximizeBox = true
  3981. - Don't throw an exception if there is a broken symbolic link
  3982. 2005-12-23 Jackson Harper <[email protected]>
  3983. * TabControl.cs: Give the panels focus, keyboard navigation is
  3984. fixed so this works correctly now.
  3985. - We need these key events also.
  3986. * ToolBar.cs: Remove some of the poor mans double buffering.
  3987. 2005-12-24 Alexander Olk <[email protected]>
  3988. * ComboBox.cs: The internal TextBox now returns the focus.
  3989. 2005-12-23 Jackson Harper <[email protected]>
  3990. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  3991. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3992. * Control.cs: Removed debug code
  3993. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  3994. implicit children
  3995. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3996. * Control.cs: When creating the control, update the Z-order after
  3997. all it's children are created, too. (Fixes nexxia not showing
  3998. picturebox bug)
  3999. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4000. * Control.cs: Do not update the anchoring distances if layout is
  4001. suspended, instead do it once layout is resumed
  4002. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4003. * Control.cs:
  4004. - After many hours of debugging, for both Jackson and
  4005. myself, it turns out that it helps to set the parent of a control
  4006. if you want to actually see it onscreen. In the spirit of that
  4007. discovery, we're now setting the parent of the control and
  4008. it's children when the control's handle is created. This fix
  4009. will make Lutz Roeder's Reflector run happily.
  4010. - now just creating the handle instead of the whole control when
  4011. getting a graphics context for the control.
  4012. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4013. * ScrollableControl.cs: When calculating the canvas, don't consider
  4014. the scrollbar widths. Instead, predict if horizontal scrollbar
  4015. will affect canvas when deciding on vertical display and vice versa.
  4016. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4017. * RichTextBox.cs: Set default RTF font for documents that don't
  4018. have a font table (Fixes #77076)
  4019. 2005-12-22 Jackson Harper <[email protected]>
  4020. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4021. clipboard. This prevents a NullRef in that case.
  4022. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4023. clipboard. PRIMARY is for the currently selected text only. (We
  4024. should implement PRIMARY at some point.
  4025. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4026. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4027. a Unicode function with a structure that was defined in Ansi way.
  4028. This fixes #76942.
  4029. 2005-12-21 Jackson Harper <[email protected]>
  4030. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4031. on. Because thats how it rolls. (and this avoids it using ambient
  4032. colours).
  4033. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4034. * Menu.cs: Use the system menu bar color for drawing menu
  4035. bars. Using the window back color will bring ambient colours into
  4036. the picture.
  4037. 2005-12-21 Alexander Olk <[email protected]>
  4038. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4039. Bitmaps were created and not disposed.
  4040. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4041. * Control.cs (CreateControl): Don't do anything if the control is
  4042. already created, otherwise we'd fire the OnCreated event more than
  4043. once
  4044. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4045. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4046. will always match. Instead return -1. Fixes #76464.
  4047. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4048. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4049. neither the beginning nor the end of the line (Fixes bug #76479)
  4050. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4051. * Control.cs:
  4052. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4053. where handle is invalid
  4054. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4055. instead of slower linear search
  4056. * NativeWindow.cs: Don't remove the window from the hashtable until
  4057. after the driver has destroyed it (since the driver might use
  4058. Control.FromHandle to lookup the control object
  4059. * Hwnd.cs: Added DestroyPending property to track if a window is
  4060. already destroyed as far as the driver is concerned and only hasn't
  4061. yet notified the control
  4062. * XplatUIX11.cs:
  4063. - Activate(): Check if the window is still valid before using the
  4064. handle
  4065. - Implemented DestroyChildWindow() method to mark child windows as
  4066. destroyed when a window is destroyed. This prevents situations
  4067. where we might call an X method based on queued events for a
  4068. window that already has been destroyed but we haven't yet pulled
  4069. the destroy method from the queue.
  4070. - Added a call to the new DestroyChildWindow() method to the drivers
  4071. DestroyWindow code. Also now marking the destroyed window itself
  4072. as pending
  4073. 2005-12-20 Jackson Harper <[email protected]>
  4074. * StatusBar.cs:
  4075. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4076. anymore. Just do them when needed, also track the rects of panels
  4077. so that we can optimize refreshing more in the future.
  4078. 2005-12-20 Alexander Olk <[email protected]>
  4079. * ColorDialog.cs: Fixed focus drawing in small color controls
  4080. 2005-12-19 Jackson Harper <[email protected]>
  4081. * InternalWindowManager.cs:
  4082. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4083. moving windows works properly.
  4084. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4085. * Control.cs:
  4086. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4087. it's only called when a control is added to a container
  4088. - Split InitLayout logic, moved to separate UpdateDistances() method
  4089. since we need to perform those calculations more often than just
  4090. when adding the control to a container. (Needed to fix #77022)
  4091. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4092. - Reduced the OnBindingContextChanged events count, don't send them
  4093. unless the control is created, we still aren't totally matching
  4094. MS, but I can't quite figure out some of their rules
  4095. 2005-12-18 Alexander Olk <[email protected]>
  4096. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4097. stripes
  4098. 2005-12-18 Alexander Olk <[email protected]>
  4099. * ThemeClearlooks.cs:
  4100. - Updated ProgressBar drawing
  4101. - Corrected drawing of ScrollBars and scroll buttons
  4102. - Some temporary fixes for minor pixel artefacts
  4103. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4104. * Control.cs:
  4105. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4106. cause events to be sent in the same order as MS does.
  4107. - Added ChangeParent() method to trigger various OnXXXChanged events
  4108. that need to be fired when a parent changes (This is a reworking
  4109. of the patch from r54254, with the X11 errors fixed)
  4110. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4111. since on MS we get OnLayoutChanged events when calling Clear()
  4112. - Changed Enabled property to consider parent state as well, if a
  4113. parent is not enabled, the control will not be either
  4114. - Changed Parent property to simply call Controls.Add() since that
  4115. now does all the work required, this way we avoid code duplication
  4116. - Threw in a few OnBindingsContextChanged calls to try and match
  4117. when MS sends them. We seem to send a few too many, though.
  4118. - Added call to CreateControl when adding the control to a parent.
  4119. We were never calling CreateControl. Still needs some work, in
  4120. some places we treat HandleCreated and ControlCreated as equal,
  4121. which is wrong
  4122. - Removed obsolete commented out code from UpdateZOrder()
  4123. 2005-12-18 Alexander Olk <[email protected]>
  4124. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4125. 2005-12-17 Alexander Olk <[email protected]>
  4126. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4127. 2005-12-17 Alexander Olk <[email protected]>
  4128. * FileDialog.cs: Add the Help button and the open readonly
  4129. checkbox only if needed
  4130. 2005-12-16 Jackson Harper <[email protected]>
  4131. * Control.cs: Make sure we have an active menu before trying to
  4132. process commands on it. Prevents menu-less forms from crashing
  4133. when Alt is pressed.
  4134. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4135. Dieter Bremes.
  4136. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4137. 2.0 build.
  4138. 2005-12-16 Jackson Harper <[email protected]>
  4139. * InternalWindowManager.cs: Don't translate tool windows screen
  4140. coordinates. This fixes windows 'bouncing' around when being moved.
  4141. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4142. * TextBoxBase.cs:
  4143. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4144. not quite MS compatible, MS uses that number only for single line
  4145. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4146. the limit at 2GB)
  4147. - Now enforcing the MaxLength limit when entering characters
  4148. - Added argument to internal Paste() method to track if it's called
  4149. from programatically or via keyboard, since keyboard driven pastes
  4150. need to enforce max-length
  4151. - Added logic to Paste to only paste as many chars as MaxLength
  4152. allows
  4153. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4154. * TextControl.cs:
  4155. - Added Length property to return number of characters in document
  4156. - Added private CharCount property which only tracks actual chars
  4157. in the document (no linefeeds) and fires event when CharCount
  4158. changes
  4159. - Added tracking of character count to all methods that alter it
  4160. - Added LengthChanged event to allow applications to subscribe
  4161. to any changes to the document
  4162. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4163. * TextBox.cs:
  4164. - Removed local password_char field (moved to TextBoxBase)
  4165. - Now setting the document's password var when password is
  4166. set
  4167. * TextBoxBase.cs:
  4168. - Added password_char field (needed here so MultiLine can
  4169. access it)
  4170. - Added logic to MultiLine property setter to set the document's
  4171. variable when password display is allowed
  4172. - Removed debug code and made some debug code conditional
  4173. * TextControl.cs:
  4174. - Added RecalculatePasswordLine() method to handle special password
  4175. char only lines
  4176. - Added PasswordChar property, also added related tracking vars
  4177. - Draw() method now uses local text var for grabbing text to draw,
  4178. this var is set to line.text unless we're doing password display,
  4179. then it is set to the pre-generated all-password-chars line
  4180. - Added calling RecalculatePasswordLine() method for password lines
  4181. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4182. * Hwnd.cs:
  4183. - Added Reparented property to allow tracking of Window Manager
  4184. reparenting actions (which affect X/Y calculations of toplevel
  4185. windows)
  4186. - Made ToString() print window handles in hex
  4187. * XplatUIX11.cs:
  4188. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  4189. determine if X/Y needs offsetting
  4190. - AddConfigureNotify(): Fixed offset calculations
  4191. - Now adds ReparentNotify messages into the queue
  4192. - Now processes ReparentNotify messages and causes a
  4193. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  4194. is reparented (as most likely it's X/Y coordinates are changed
  4195. due to that)
  4196. 2005-12-14 Jackson Harper <[email protected]>
  4197. * XplatUIX11.cs: Tool windows still need to respek focus.
  4198. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4199. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  4200. have a working release
  4201. 2005-12-13 Jackson Harper <[email protected]>
  4202. * Form.cs: Update styles after setting the border style regardless
  4203. of whether or not the window is using a window manager.
  4204. 2005-12-13 Jackson Harper <[email protected]>
  4205. * Form.cs: We now hook into an internal window manager instead of just an
  4206. MDI subsystem, this is so we can have properly behaving tool windows.
  4207. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  4208. * InternalWindowManager.cs: New internal class that acts as a
  4209. window manager for tool windows and as a base for mdi windows.
  4210. * MdiWindowManager.cs: New class that acts as a window manager for
  4211. mdi windows.
  4212. 2005-12-12 Jackson Harper <[email protected]>
  4213. * Control.cs: Updates so we match behavoir for for implicit
  4214. controls. Fixes explosions in MDI.
  4215. 2005-12-12 Jackson Harper <[email protected]>
  4216. * Control.cs: Implement Invalidate (Region).
  4217. 2005-12-12 Peter Dennis Bartok <[email protected]>
  4218. * Control.cs:
  4219. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  4220. the same events as MS does. MS fires events for each property
  4221. except, for unknown reasons, Cursor, when the control is reparented.
  4222. I can't seem to totally match add/remove since MS also fires some
  4223. VisibleChanged events, which makes no sense. Consolidated the
  4224. parenting code into a separate method so it can be called from
  4225. both Add and Remove. set_Parent no longer needs any special logic
  4226. as it calls the parent's add method which implicitly fires
  4227. all events
  4228. - Removed some obsolete code and debug output
  4229. - Enabled state is inherited from parents, if this is enabled
  4230. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4231. * Form.cs: Removed commented out code
  4232. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4233. * Control.cs:
  4234. - Added internal version of Invoke, with additional argument
  4235. indicating if we're calling it from a Dispose() handler. That
  4236. way we can avoid BeginInvoke throwing an exception if we're
  4237. calling for an already destroyed window.
  4238. - Added a dispose argument to BeginInvokeInternal, and made the
  4239. check if a valid window handle chain exists conditional on
  4240. it not being a dispose call
  4241. - Removed code in DestroyHandle to destroy our children. Since we
  4242. now handle the WM_DESTROY message we will catch all our children
  4243. being destroyed.
  4244. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  4245. * Form.cs:
  4246. - Added a field to track the application context of the form.
  4247. - No need to set closing variable as response to WM_CLOSE, instead
  4248. we destroy the window. We also call PostQuitMessage if the form
  4249. has an application context (which makes it the main app form,
  4250. which, when closed terminates the app)
  4251. * XplatUI.cs:
  4252. - Dropped Exit() method, it's naming was confusing
  4253. - Added PostQuitMessage() which causes GetMessage to return false
  4254. once the message queue is empty
  4255. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  4256. PostQuitMessage()
  4257. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  4258. no longer a valid XplatUI method, but left it in since it's used
  4259. internally. Added empty PostQuitMessage() method.
  4260. * MenuAPI.cs: Replaced call to Exit() with call to
  4261. PostQuitMessage, even though this is probably no longer needed.
  4262. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  4263. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  4264. * Application.cs:
  4265. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  4266. - Removed old debug code that would call XplatUI for exception
  4267. display, enabled standard exception handling (Still not enabled
  4268. though, until NativeWindow's ExternalExceptionHandler define
  4269. is removed
  4270. * NativeWindow.cs:
  4271. - Added internal method to allow control to update NativeWindow
  4272. after a window has been destroyed
  4273. - Added handling of already destroyed windows when calling i
  4274. DestroyWindow
  4275. - Added removal of handle from list on ReleaseHandle
  4276. * XplatUIX11.cs:
  4277. - Dropped GetMessageResult var and related code
  4278. - Added PostQuitState to field to track if PostQuitMessage has been
  4279. called
  4280. - Dropped Exit() method
  4281. - Added PostQuitMessage() method
  4282. - GetMessage now will return false if PostQuitState is set and no
  4283. more messages are in the queue.
  4284. - Expose handler will no longer generate WM_PAINT messages if we are
  4285. in PostQuitState since it's very likely any windows have already
  4286. been destroyed, and since Hwnd won't get updated until we have
  4287. processed the DestroyNotify we'd be causing X errors.
  4288. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4289. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  4290. Thanks to Mike for pointing out the err of my ways.
  4291. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4292. * Control.cs(PreProcessMessage): Moved menu handling back, but
  4293. after all other key handling, to match MS (who handles Menu in
  4294. DefWndProc)
  4295. * Menu.cs (WndProc): Removed my brainfart
  4296. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4297. * Control.cs(PreProcessMessage): Removed special menu handling
  4298. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  4299. 2005-12-07 Mike Kestner <[email protected]>
  4300. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  4301. state according in tracker.
  4302. * Menu.cs : promote tracker field to base class and provide a tracker
  4303. lookup capability. Add/Remove shortcuts dynamically if the top menu
  4304. has a tracker. Unparent items that are removed from the collection.
  4305. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  4306. * Theme*.cs: add always_show_hotkeys field to support configurability
  4307. of mnemonic display. win32 doesn't show mnemonics until Alt is
  4308. pressed.
  4309. 2005-12-07 Jackson Harper <[email protected]>
  4310. * MdiChildContext.cs: Use Control.ResetCursor.
  4311. * Control.cs: ResetCursor needs to set the property so that the
  4312. correct XplatUI call gets made.
  4313. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4314. * Control.cs: More fixes to make our key events match MS. We
  4315. were not setting the modifier state on KeyData, and we were
  4316. not generating any events when Alt was pressed with a key
  4317. since handling of WM_SYSxxx was missing for the OnKey methods.
  4318. 2005-12-07 Jackson Harper <[email protected]>
  4319. * MdiChildContext.cs: reenable the sizing code.
  4320. - When the mouse leaves a window reset its cursor.
  4321. 2005-12-07 Alexander Olk <[email protected]>
  4322. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  4323. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4324. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  4325. widths of Fixed3D borders
  4326. 2005-12-07 Jackson Harper <[email protected]>
  4327. * MdiClient.cs: Fix warnings. Earn Mike's love.
  4328. 2005-12-07 Alexander Olk <[email protected]>
  4329. * ThemeClearlooks.cs:
  4330. - Adjusted mouse over button color
  4331. - Added first parts of CheckBox drawing
  4332. - Added correct color for selected text background
  4333. - Fixed ComboBox drawing
  4334. - Added CPDrawBorder3D and CPDrawBorder
  4335. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4336. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  4337. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4338. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4339. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  4340. alert users via sound. We could add an enum arg with different
  4341. types of alerts in the future
  4342. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4343. * Control.cs: Fix behaviour problems pointed out by Mike
  4344. 2005-12-05 Mike Kestner <[email protected]>
  4345. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  4346. prop setters. Calls parent.Refresh for now, but could be maybe be
  4347. optimized with an internal method on StatusBar at some point.
  4348. [Fixes #76513]
  4349. 2005-12-05 Peter Dennis Bartok <[email protected]>
  4350. * RichTextBox.cs: Implemented get_SelectionColor
  4351. 2005-12-05 Alexander Olk <[email protected]>
  4352. * ThemeClearlooks.cs:
  4353. - Removed dead code
  4354. - Draw black button border only if button is Form.AcceptButton
  4355. - Draw correct button color for pressed RadioButton if the mouse
  4356. has entered the button
  4357. - Updated ProgressBar drawing!
  4358. - Updated CPDrawSizeGrip drawing
  4359. - Updated StatusBarPanel drawing
  4360. 2005-12-05 Mike Kestner <[email protected]>
  4361. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  4362. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  4363. 2005-12-04 Alexander Olk <[email protected]>
  4364. * ThemeClearlooks.cs: Initial check-in, activate with
  4365. export MONO_THEME=clearlooks
  4366. * ThemeEngine.cs: Added ThemeClearlooks
  4367. 2005-12-03 Mike Kestner <[email protected]>
  4368. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  4369. [Fixes #76897]
  4370. 2005-12-02 Jackson Harper <[email protected]>
  4371. * Form.cs: If the child form has no menu the default main menu is
  4372. used as the active menu.
  4373. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4374. * ListBox.cs: Check if any items exist before trying to resolve
  4375. coordinates into items
  4376. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4377. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  4378. as the second color for the background hatch
  4379. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4380. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  4381. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  4382. sure that what we pass to FormatText is always 1-based. Fixes #76885
  4383. 2005-11-29 Miguel de Icaza <[email protected]>
  4384. * NumericUpDown.cs (EndInit): When we are done initializing,
  4385. reflect any updates on the UI.
  4386. 2005-12-02 Jackson Harper <[email protected]>
  4387. * ImplicitHScrollBar.cs:
  4388. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  4389. their container controls.
  4390. * TreeView.cs: Use the new implicit scrollbars.
  4391. 2005-12-02 Jackson Harper <[email protected]>
  4392. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  4393. can play with it.
  4394. * TreeNodeCollection.cs: If we remove the topnode we need to
  4395. update topnode to the next node in line.
  4396. - When clearing nodes go through the same process as removing
  4397. them, so they get depareneted and checked if they are top node.
  4398. 2005-12-01 Jackson Harper <[email protected]>
  4399. * TreeView.cs: When imagelists are used the image area is
  4400. selectable as well as the text.
  4401. - If there are no selected nodes select the first one.
  4402. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  4403. so don't do it more then we need to.
  4404. 2005-12-01 Jackson Harper <[email protected]>
  4405. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  4406. that arrows can be scaled.
  4407. 2005-12-01 Jackson Harper <[email protected]>
  4408. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  4409. fail. Patch by Dieter Bremes
  4410. 2005-11-30 Jackson Harper <[email protected]>
  4411. * Form.cs: Property is 2.0 only
  4412. * PrintDialog.cs: Signature fix.
  4413. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4414. * TextControl.cs:
  4415. - No longer artificially moves text 2 pixels down (now that we have
  4416. borders this is no longer needed)
  4417. - Added calcs for left, hanging and right indent
  4418. 2005-11-23 Mike Kestner <[email protected]>
  4419. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  4420. 2005-11-30 Jackson Harper <[email protected]>
  4421. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  4422. get cloned as part of CloneMenu ().
  4423. * Menu.cs: Make sure the parent of the items get set correctly
  4424. when they are added. And the owners are notified of the changes.
  4425. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  4426. we can change the menu being displayed/handled by the form without
  4427. changing the menu assosciated with the form.
  4428. - Don't let Mdi children draw/handle menus.
  4429. 2005-11-30 Jackson Harper <[email protected]>
  4430. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  4431. a MenuChanged event. Just to make the API a little more
  4432. consistent.
  4433. * MainMenu.cs:
  4434. * MenuItem.cs: Use the new OnMenuChanged
  4435. * MdiChildContext.cs: Handle menu merging.
  4436. * Form.cs: Implement MergedMenu.
  4437. 2005-11-30 Jackson Harper <[email protected]>
  4438. * Menu.cs: We were misusing Add. Add goes behind the specified
  4439. index according to the docs, and does not replace the specified
  4440. index. So I added an Insert method.
  4441. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4442. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  4443. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  4444. is for Jackson
  4445. * RichTextBox.cs: Added calls to base for DnD events
  4446. 2005-11-28 Peter Dennis Bartok <[email protected]>
  4447. * TextControl.cs:
  4448. - Fixed drag-selection related crash; style fixes
  4449. - Implemented undo class
  4450. o Implemented method to capture document state for specified
  4451. range in document tree
  4452. o Implemented method to restore captured document state
  4453. o Implemented cursor tracking
  4454. o Implemented basic undo stack
  4455. - Added undo cursor tracking to methods altering cursor location
  4456. - Added undo tracking to selection deletion (still missing
  4457. other text-altering hookups)
  4458. * RichTextBox.cs:
  4459. - Added SelectionLength property
  4460. - Implemented CanPaste()
  4461. - Implemented Paste()
  4462. - Added missing protected methods
  4463. - Fixed RTF->Document conversion; now uses font index 0 and color
  4464. index 0 as the default font for the parsed text
  4465. - Fixed RTF<->Document font size translation
  4466. - Fixed RTF generation, now properly handles cross-tag boundaries
  4467. for single line selection
  4468. - No longer always appends blank line to generated RTF
  4469. - Removed TODOs
  4470. - Added missing attributes
  4471. - Hooked up undo-related methods
  4472. * TextBoxBase.cs:
  4473. - Implemented Copy()
  4474. - Implemented Paste()
  4475. - Implemented Cut()
  4476. - Fixed caret mis-behaviour on backspace across line-boundaries
  4477. 2005-11-29 Jackson Harper <[email protected]>
  4478. * MdiClient.cs: Add a method for activating mdi children. Very
  4479. basic right now. I imagine someday it might need more girth.
  4480. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  4481. children windows names are added to the menu item.
  4482. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  4483. mdilist. This happens regardless of whether or not there are any
  4484. mdi windows to see in the list, and according to my tests happens
  4485. before the items are even added. Also happens if there isn't even
  4486. an mdi client to get windows from.
  4487. 2005-11-29 Alexander Olk <[email protected]>
  4488. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  4489. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  4490. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  4491. * DataGridTableStyle.cs:
  4492. - Create always the styles for the missing columns even if they are
  4493. provided by the user (not default table style)
  4494. * DataGrid.cs:
  4495. - Fixes bug 76770
  4496. - Fixes SetDataBinding (always re-attach source)
  4497. - Fixes SetNewDataSource (only clear styles if they are not for
  4498. this source)
  4499. - Expands OnTableStylesCollectionChanged to handle style refresh
  4500. and remove properly
  4501. 2005-11-29 Jackson Harper <[email protected]>
  4502. * FileDialog.cs: Implement missing bits, remove some dead
  4503. code.
  4504. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  4505. creation of the panel so that the options set on the dialog are
  4506. seen when the panel is created.
  4507. * TreeView.cs: raise a click when items are clicked.
  4508. 2005-11-29 Jackson Harper <[email protected]>
  4509. * MdiClient.cs: Pass some signature methods through to base.
  4510. 2005-11-28 Jackson Harper <[email protected]>
  4511. * ListView.cs: Raise the click event when items are clicked.
  4512. 2005-11-28 Jackson Harper <[email protected]>
  4513. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  4514. a nullref.
  4515. 2005-11-27 Alexander Olk <[email protected]>
  4516. * ThemeNice.cs: - Removed 1 pixel bitmaps
  4517. - Use SmoothingMode.AntiAlias where it makes sense
  4518. (ScrollButton arrow for example)
  4519. - Enhanced Button focus drawing
  4520. - Fixed ComboBox drawing (no artefacts anymore, focus
  4521. rectangle is back again, reduced size of ComboButton, etc.)
  4522. - Fixed RadioButton focus drawing for Appearence.Button
  4523. - Slight ScrollButton redesign
  4524. - Some LinearGradientBrush size fixes
  4525. - GroupBoxes have now rounded edges
  4526. - Fixed StatusBar drawing
  4527. 2005-11-25 Alexander Olk <[email protected]>
  4528. * ThemeNice.cs: - Remove dead code
  4529. - use correct background colors for menus, etc.
  4530. - Fake pixel drawing with 1 pixel bitmaps
  4531. 2005-11-24 Jackson Harper <[email protected]>
  4532. * MdiClient.cs: Size the scrollbars when resizing the window.
  4533. - Resize the maximized windows when the client is resized
  4534. * Form.cs: Make the child context available
  4535. 2005-11-23 Jackson Harper <[email protected]>
  4536. * MdiChildContext.cs: Don't size windows if they are maximized.
  4537. 2005-11-23 Mike Kestner <[email protected]>
  4538. * ContextMenu.cs: use MenuTracker.
  4539. * Control.cs: remove menu handle usage.
  4540. * Form.cs: remove menu handle usage.
  4541. * Hwnd.cs: remove menu handle usage.
  4542. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  4543. motion and clicks to the new Tracker handlers.
  4544. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  4545. and handle usage.
  4546. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  4547. Killed the MENU and MENUITEM data types and associated collections
  4548. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  4549. MenuTracker class that exposes the leftovers from the old MenuAPI
  4550. static methods. Restructured Capture handling so that only one grab is
  4551. done for the entire menu hierarchy instead of handing off grabs to
  4552. submenus. Tracker now has an invisible control to Capture when active.
  4553. * MenuItem.cs: add sizing accessors, kill Create
  4554. and handle usage.
  4555. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  4556. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  4557. MENU(ITEM). remove menu handle usage, use Menu directly.
  4558. * XplatUIDriver.cs: remove menu handle usage.
  4559. * XplatUIOSX.cs: remove menu handle usage.
  4560. * XplatUIWin32.cs: remove menu handle usage.
  4561. * XplatUIX11.cs: remove menu handle usage.
  4562. 2005-11-22 Jackson Harper <[email protected]>
  4563. * Hwnd.cs: Don't compute the menu size for
  4564. DefaultClientRectangle.
  4565. - Reenable menu sizes being computed for GetClienRectangle.
  4566. * Form.cs: Remove comment of trechery
  4567. 2005-11-22 Jackson Harper <[email protected]>
  4568. * Hwnd.cs: The adjustments for the menu bar are made when it is
  4569. attached to the form.
  4570. 2005-11-19 Jackson Harper <[email protected]>
  4571. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  4572. (just like on windows).
  4573. 2005-11-19 Jackson Harper <[email protected]>
  4574. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  4575. use real buttons anymore because they are in non client area. The
  4576. one TODO here is that I need to somehow invalidate a section of
  4577. the non client area.
  4578. 2005-11-18 Jackson Harper <[email protected]>
  4579. * Control.cs: Put the enum check back in now that MDI doesnt have
  4580. to use this to set border styles.
  4581. * Form.cs: Only set mdi child windows borders if the handle has
  4582. been created.
  4583. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  4584. this directly on to the driver.
  4585. - Get the move start position before adjusting for the titlebar
  4586. height, this fixes the windows "skipping" when they are first
  4587. moved.
  4588. 2005-11-18 Jackson Harper <[email protected]>
  4589. * XplatUIX11.cs: Just compute the mdi borders separately as they
  4590. don't totally match up with normal form borders.
  4591. 2005-11-18 Jackson Harper <[email protected]>
  4592. * Control.cs: Set WS_ styles for borders, so that the driver does
  4593. not have to retrieve the control instance to figure out what kind
  4594. of borders it should have.
  4595. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  4596. driver can know its an mdi child easily.
  4597. * XplatUIX11.cs: Get the border styles and whether the window is
  4598. MDI from the Styles and ExStyles params instead of having to get a
  4599. control. This prevents a chicken and egg problem.
  4600. 2005-11-18 Jackson Harper <[email protected]>
  4601. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  4602. 2005-11-18 Jackson Harper <[email protected]>
  4603. * MdiClient.cs: Calculate when to add and remove scrollbars
  4604. correctly.
  4605. * MdiChildContext.cs: Adjust the y position to take the titlebar
  4606. into account.
  4607. - No height for FormBorderStyle.None
  4608. 2005-11-18 Jackson Harper <[email protected]>
  4609. * Control.cs: Allow non enum values to be used for
  4610. InternalBorderStyle. MDI does this to set a special border style.
  4611. - New utility methods for converting points to/from client coords
  4612. - Add the newly created control to the Controls collection before
  4613. updating its style. This way UpdateStyle can walk the control
  4614. heirarchy to find the control if needed.
  4615. so I don't need to create a new Point object all the time.
  4616. * Form.cs: Let MDI windows handle their border styles.
  4617. - Set styles on MDI windows so the correct title style is derived.
  4618. * MdiChildContext.cs: Move all the painting and window handling
  4619. into the non client area.
  4620. - Use correct sizing and put correct buttons on frames based on
  4621. the FormBorderStyle.
  4622. - Notify the mdi client about scrolling
  4623. - Need to handle the buttons ourselves now, because they are all
  4624. in non client areas and we can't add controls there.
  4625. * MdiClient.cs: Halfway to scrolling, this implementation is
  4626. somewhat broken though, we need to check to make sure other
  4627. windows aren't causing scrolling before removing the bars. Also
  4628. the bars need to be drawn on top, maybe I can switch implicit
  4629. controls to be on top.
  4630. * Hwnd.cs: caption_height and tool_caption_height are now
  4631. properties of an hwnd, this way they can be set by the driver
  4632. based on the type of window they are. In X11 the window manager
  4633. handles the decorations so caption_height is zero unless its an
  4634. MDI window.
  4635. - Add 3 pixel borders for MDI windows (0xFFFF).
  4636. - Get rid of some code duplication, have DefaultClientRectanle
  4637. just call GetClientRectangle.
  4638. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  4639. Hwnd now.
  4640. - Set border styles differently for mdi windows.
  4641. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  4642. Hwnd now.
  4643. 2005-11-15 Mike Kestner <[email protected]>
  4644. * Menu.cs: when adding an item to the collection, if item is already
  4645. parented, remove it from the parent.
  4646. 2005-11-13 Alexander Olk <[email protected]>
  4647. * X11DesktopColors.cs: Added KDE support
  4648. 2005-11-11 Peter Dennis Bartok <[email protected]>
  4649. * XplatUIWin32.cs:
  4650. - Clipboard methods now can translate Rtf format
  4651. - No longer removes clipboard contents whenever a new format is added
  4652. to allow placing multiple formats on the clipboard
  4653. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  4654. will place all formats contained in it onto the clipboard. Also
  4655. now cleans the clipboard before placing a new object onto it
  4656. * RichTextBox.cs:
  4657. - Implemented set_Rtf
  4658. - Implemented set_SelectedRtf
  4659. - Created InsertRTFFromStream() method to allow single code base
  4660. for all properties and methods that insert RTF into document
  4661. - Removed debug output
  4662. * TextControl.cs:
  4663. - Fixed Delete(int) to fix up line numbers
  4664. - Fixed ReplaceSelection to combine start and end line
  4665. - Fixed serious DeleteChars bug that would leave the document tree
  4666. broken
  4667. - Improved DumpTree with several logic checks to detect broken
  4668. document trees
  4669. - Removed debug lines
  4670. - Fixed Caret.WordForward/WordBack moving code, now always also
  4671. updates caret.tag (fixes crash when word-selecting across tag
  4672. boundaries via keyboard)
  4673. - Added Insert() method for inserting multiline text into documents
  4674. - Fixed DeleteChars() calculation errors that would cause a broken
  4675. tag chain with multiple tag lines
  4676. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  4677. - Split() no longer moves caret if split is at caret location
  4678. - ReplaceSelection() now updates the cursor and re-displays it
  4679. - ReplaceSelection() now uses new Insert() method to avoid code
  4680. duplication
  4681. - FormatText() can now handle formatting partial lines
  4682. * TextBoxBase.cs:
  4683. - Append now uses new TextControl.Insert() method (this avoids
  4684. duplicate code)
  4685. - Implemented Ctrl-X (Cut) (
  4686. - Implemented Ctrl-C (Copy)
  4687. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  4688. regeneration when pasting text; roundtripping Copy&Paste within
  4689. edit control still fails due to some calculation bugs in GenerateRTF)
  4690. - The Delete key will now remove the current selection if it is visible
  4691. * TextBox.cs: Removed debug lines
  4692. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  4693. driver to be initialized and can't therefore be done via a static ctor)
  4694. 2005-11-10 Peter Dennis Bartok <[email protected]>
  4695. * TextControl.cs: Added backend code for finding char arrays and strings
  4696. * TextBoxBase.cs:
  4697. - Added mouse wheel scroll support
  4698. - Added support for VScroll and HScroll events
  4699. * RichTextBox.cs:
  4700. - Implemented all seven Find() variants
  4701. - Implemented GetCharFromPosition()
  4702. - Implemented GetCharIndexFromPosition()
  4703. - Implemented GetLineFromIndex()
  4704. - Implemented GetPositionFromCharIndex();
  4705. - Implemented SaveFile for PlainText and UnicodeText
  4706. - Fixed set_Font, now setting a new font applies that font to
  4707. the whole document
  4708. - Implemented generic Document to RTF converter
  4709. - Implemented SaveFile for RichText format (still missing unicode
  4710. conversion for non-ansi chars)
  4711. - Implemented get_Rtf
  4712. - Implemented get_SelectedRtf
  4713. 2005-11-09 Peter Dennis Bartok <[email protected]>
  4714. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  4715. to allow any captures to be released before triggering OnClick. This
  4716. way a click handler may capture the mouse without interference.
  4717. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  4718. This way we send them even though X may not allow a grab (if the window
  4719. isn't visible, for example)
  4720. 2005-11-08 Pedro Martinez Julia <[email protected]>
  4721. * DataGridViewRowEventArgs.cs: DataGridView implementation
  4722. * DataGridViewElement.cs: DataGridView implementation
  4723. * DataGridViewComboBoxCell.cs: DataGridView implementation
  4724. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  4725. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  4726. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  4727. * ImageLayout.cs: DataGridView implementation
  4728. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  4729. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  4730. * DataGridViewSelectionMode.cs: DataGridView implementation
  4731. * IDataGridViewEditingControl.cs: DataGridView implementation
  4732. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  4733. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  4734. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  4735. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  4736. * DataGridViewColumnSortMode.cs: DataGridView implementation
  4737. * DataGridView.cs: DataGridView implementation
  4738. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  4739. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  4740. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  4741. * Padding.cs: DataGridView implementation
  4742. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  4743. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  4744. * DataGridViewRowEventHandler.cs: DataGridView implementation
  4745. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  4746. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  4747. * DataGridViewButtonCell.cs: DataGridView implementation
  4748. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  4749. * DataGridViewEditMode.cs: DataGridView implementation
  4750. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  4751. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  4752. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  4753. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  4754. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  4755. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  4756. * DataGridViewCellEventHandler.cs: DataGridView implementation
  4757. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  4758. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  4759. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  4760. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  4761. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  4762. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  4763. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  4764. * QuestionEventArgs.cs: DataGridView implementation
  4765. * IDataGridViewEditingCell.cs: DataGridView implementation
  4766. * DataGridViewTriState.cs: DataGridView implementation
  4767. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  4768. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  4769. * DataGridViewColumnCollection.cs: DataGridView implementation
  4770. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  4771. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  4772. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  4773. * DataGridViewColumn.cs: DataGridView implementation
  4774. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  4775. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  4776. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  4777. * DataGridViewRow.cs: DataGridView implementation
  4778. * DataGridViewImageCellLayout.cs: DataGridView implementation
  4779. * DataGridViewImageCell.cs: DataGridView implementation
  4780. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  4781. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  4782. * DataGridViewHeaderCell.cs: DataGridView implementation
  4783. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  4784. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  4785. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  4786. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  4787. * QuestionEventHandler.cs: DataGridView implementation
  4788. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  4789. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  4790. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  4791. * DataGridViewCell.cs: DataGridView implementation
  4792. * DataGridViewCellEventArgs.cs: DataGridView implementation
  4793. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  4794. * DataGridViewCellStyle.cs: DataGridView implementation
  4795. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  4796. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  4797. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  4798. * TextFormatFlags.cs: DataGridView implementation
  4799. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  4800. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  4801. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  4802. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  4803. * DataGridViewButtonColumn.cs: DataGridView implementation
  4804. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  4805. * HandledMouseEventArgs.cs: DataGridView implementation
  4806. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  4807. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  4808. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  4809. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  4810. * DataGridViewRowCollection.cs: DataGridView implementation
  4811. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  4812. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  4813. * DataGridViewHitTestType.cs: DataGridView implementation
  4814. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  4815. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  4816. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  4817. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  4818. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  4819. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  4820. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  4821. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  4822. * DataGridViewContentAlignment.cs: DataGridView implementation
  4823. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  4824. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  4825. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  4826. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  4827. * DataGridViewPaintParts.cs: DataGridView implementation
  4828. * DataGridViewCellCollection.cs: DataGridView implementation
  4829. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  4830. * DataGridViewImageColumn.cs: DataGridView implementation
  4831. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  4832. * DataGridViewElementStates.cs: DataGridView implementation
  4833. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  4834. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  4835. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  4836. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  4837. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  4838. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  4839. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  4840. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  4841. * DataGridViewTextBoxCell.cs: DataGridView implementation
  4842. * DataGridViewBand.cs: DataGridView implementation
  4843. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  4844. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  4845. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  4846. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  4847. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  4848. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  4849. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  4850. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  4851. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  4852. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  4853. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  4854. 2005-11-08 Peter Dennis Bartok <[email protected]>
  4855. * ThemeWin32Classic.cs:
  4856. - Draw the outside focus rectangle around buttons
  4857. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  4858. doesn't use end caps for every dash of a line anymore. This
  4859. workaround ignores the forecolor.
  4860. 2005-11-08 Kornél Pál <[email protected]>
  4861. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  4862. endian safe.
  4863. 2005-11-07 Jackson Harper <[email protected]>
  4864. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  4865. 2005-11-07 Jackson Harper <[email protected]>
  4866. * ScrollableControl.cs: Calculate the maximum and change vars
  4867. (more) correctly so that scrollbars appear as a sensible size.
  4868. 2005-11-04 Jackson Harper <[email protected]>
  4869. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  4870. collection.
  4871. * TreeView.cs: When the tree is sorted null out the top_node so
  4872. that it is recalculated.
  4873. - Use dotted lines instead of dashed lines to match MS better.
  4874. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  4875. * ListView.cs:
  4876. - Implements key search for items. Useful when browsing files with FileDialog
  4877. - When changing view mode or when clear the items reset scrollbar positions
  4878. 2005-11-04 Jackson Harper <[email protected]>
  4879. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  4880. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  4881. as to what the method may do as there is no real way of creating a
  4882. derived CurrencyManager and calling the method.
  4883. 2005-11-03 Jackson Harper <[email protected]>
  4884. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  4885. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  4886. method which seems to just be used internally to refresh the tabs.
  4887. 2005-11-03 Jackson Harper <[email protected]>
  4888. * TabControl.cs: Implement the remove method. Fix some broken
  4889. comments.
  4890. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4891. * DateTimePicker.cs:
  4892. - Added missing DateTimePickerAccessibleObject class
  4893. - Added missing events
  4894. - Added OnFontChanged method
  4895. * Form.cs: Added missing attributes
  4896. * TreeView.cs: Added missing attributes
  4897. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4898. * GridItemCollection.cs: Fix signatures
  4899. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4900. * XplatUI.cs: Updated build rev/date
  4901. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  4902. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  4903. * Application.cs: Trigger context-specific ExitThread events
  4904. 2005-11-03 Jackson Harper <[email protected]>
  4905. * Menu.cs:
  4906. * MainMenu.cs:
  4907. * GridTableStylesCollection.cs:
  4908. * Timer.cs:
  4909. * TabPage.cs:
  4910. * HelpProvider.cs:
  4911. * StatusBar.cs:
  4912. * MonthCalendar.cs: Signature fixes
  4913. 2005-11-03 Jackson Harper <[email protected]>
  4914. * TreeNodeCollection.cs: Remove should not be virtual.
  4915. * TreeView.cs: Implement the last of the missing methods.
  4916. 2005-11-03 Jackson Harper <[email protected]>
  4917. * TreeNodeConverter.cs: Implement to get off my class-status back.
  4918. 2005-11-03 Jackson Harper <[email protected]>
  4919. * TreeView.cs: Hookup the bits for drag and drop.
  4920. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  4921. that nodes can be moved from tree to tree easily this just causes
  4922. all sorts of problems.
  4923. * TreeNodeCollection: Don't need to give treenodes an index and
  4924. treeview anymore when they are added, these are computed on the
  4925. fly. Also make sure to remove a node before its added.
  4926. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4927. * TextControl.cs:
  4928. - Added CaretSelection enum
  4929. - Added comparison methods to Marker struct, makes selection code
  4930. more readable
  4931. - Added SelectionStart and SelectionEnd as 'moveable' location for
  4932. the CaretDirection enum and handler
  4933. - Added selection_prev variable to track optimized invalidation for
  4934. word and line selection
  4935. - Added SelectionVisible property (returns true if there is a valid
  4936. selection)
  4937. - Switched CaretHasFocus to only display the caret if there is no
  4938. visible selection
  4939. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  4940. using the direct character index; should be much faster
  4941. - Added various conditional debug statements
  4942. - Fixed invalidation calculation for selection ranges
  4943. - Added ExpandSelection() method to support word and line selection
  4944. - Switched SetSelectionToCaret to use new Marker compare overloads
  4945. - Added central IsWordSeparator() method to determine word
  4946. separators/whitespace and FindWordSeparator() to streamline common
  4947. usage of IsWordSeparator()
  4948. * TextBoxBase.cs:
  4949. - Removed unneeded grabbed variable, it was just mirroring
  4950. Control.Capture
  4951. - No longer firing OnTextChanged event when Text setter is called,
  4952. since the base will fire the event for us
  4953. - Added handling of Ctrl-Up/Down selection
  4954. - Added handling of Shift-Cursorkey selection
  4955. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  4956. words
  4957. - Added handling of Shift and Ctrl-Shift-Home/End selection
  4958. - Removed some debug output
  4959. - Added handling for single/double/tripple-click to place caret/
  4960. select word/select line respectively (Fixes bug #76031)
  4961. - Added support for drag expansion of word/line selection
  4962. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  4963. current selection
  4964. 2005-11-02 Jackson Harper <[email protected]>
  4965. * X11Dnd.cs: If the drag is going to and from a MWF window just
  4966. copy the data instead of sending it out through the X Selection
  4967. mechanism.
  4968. 2005-11-02 Jackson Harper <[email protected]>
  4969. * X11Dnd.cs:
  4970. * XplatUIX11.cs: When in a drag we don't want motion notify
  4971. messages to get passed on to the other controls. This prevents
  4972. mouse move messages from showing up in the drag source.
  4973. 2005-11-02 Jackson Harper <[email protected]>
  4974. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  4975. the correct button is release to end a drag.
  4976. * XplatUIX11.cs: Make the button state internal so the drag system
  4977. can access it. Dragging needs to know about all button releases,
  4978. not just left button.
  4979. 2005-11-02 Miguel de Icaza <[email protected]>
  4980. * Form.cs (Icon): If the icon is null, reset the icon to the
  4981. default value.
  4982. * Cursor.cs: When writing the AND-mask bitmap do not include the
  4983. number of colors, but hardcode those to two (black and white),
  4984. fixes the loading of color cursors (Paint Dot Net).
  4985. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  4986. turn off autoscaling.
  4987. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  4988. 2005-11-02 Jackson Harper <[email protected]>
  4989. * X11Dnd.cs: Make sure to send a status message if the pointer
  4990. enters a control that can not accept a drop, otherwise the cursor
  4991. isn't updated correctly. Also tried to compress the lines of code
  4992. a bit.
  4993. 2005-11-02 Jackson Harper <[email protected]>
  4994. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  4995. set actions correctly. This isn't perfect as XDND and win32 have
  4996. some differences on how you allow actions. I'll clear this up by
  4997. adding a path for drag from MWF to MWF windows.
  4998. * XplatUIX11.cs: Hook into the dnd system.
  4999. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  5000. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  5001. previously shown but they are no longer need it. Very obvious when
  5002. browsing files with FileDialog.
  5003. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5004. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5005. ignore AllPaintingInWmPaint and always do the painting there, whether
  5006. it's set or not, since we always ignore the WM_ERASEBKGND message
  5007. (which we don't generate on X11). This fixes #76616.
  5008. * Panel.cs: Removed unneeded background painting. This happens properly
  5009. in Control.cs already
  5010. 2005-10-31 Mike Kestner <[email protected]>
  5011. * Menu.cs: Add items to collection before setting their index.
  5012. * MenuItem.cs : add range checking with ArgumentException like MS.
  5013. [Fixes #76510]
  5014. 2005-10-31 Jackson Harper <[email protected]>
  5015. * ListBox.cs: Invalidate if the area is visible at all not just
  5016. contained in the visible rect. Fixes unselection of semi visible
  5017. items.
  5018. 2005-10-31 Jackson Harper <[email protected]>
  5019. * Control.cs: Consistently name the dnd methods. Make them
  5020. internal so we can override them to match some MS behavoir
  5021. internally.
  5022. * Win32DnD.cs: Use the new consistent names.
  5023. 2005-10-31 Jackson Harper <[email protected]>
  5024. * TreeView.cs: Don't draw the selected node when we lose focus.
  5025. 2005-10-31 Jackson Harper <[email protected]>
  5026. * X11Dnd.cs: We still need to reset the state even though a full
  5027. reset isn't being done, otherwise status's still get sent all over
  5028. the place.
  5029. 2005-10-31 Jackson Harper <[email protected]>
  5030. * Control.cs: Make the dnd_aware flag internal so the dnd
  5031. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5032. match MS behavoir.
  5033. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5034. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5035. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5036. flags to reduce the number of dnd enters/status's sent.
  5037. 2005-10-31 Jackson Harper <[email protected]>
  5038. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5039. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5040. * PictureBox.cs: Fixes 76512
  5041. 2005-10-28 Jackson Harper <[email protected]>
  5042. * X11Dnd.cs: Early implementation to support winforms being a drag
  5043. source for data on X11. Also restructured the converters so they
  5044. can go both ways now.
  5045. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5046. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5047. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5048. clipboard requests
  5049. 2005-10-27 Jackson Harper <[email protected]>
  5050. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5051. 2005-10-24 Kornél Pál <[email protected]>
  5052. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5053. TreeView.cs: Don't dispose objects that are not owned.
  5054. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5055. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5056. should retrieve the current cursor and report that, but XplatUI
  5057. doesn't (yet) have an interface for that (and I'm not sure I even
  5058. can, on X11)
  5059. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5060. until any message loop processing is done (and the WM_SETCURSOR
  5061. replaces the cursor to the proper one)
  5062. * XplatUIX11.cs:
  5063. - Fixed override behaviour, we can't set the cursor globally on X11,
  5064. just for our windows.
  5065. - Invalidating the System.Drawing X11 display handle when we are
  5066. shutting down
  5067. * Control.cs: Fix to make csc happy
  5068. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5069. * TextBoxBase.cs:
  5070. - get_Text: Add last line (without trailing newline) to returned
  5071. value (Fixes 76212)
  5072. - get_TextLength: Count last line in returned length
  5073. - ToString: Call Text property instead of duplicating code
  5074. 2005-10-23 Kornél Pál <[email protected]>
  5075. * ImageList.cs: Dispose ImageAttributes objects.
  5076. 2005-10-22 Kornél Pál <[email protected]>
  5077. * ImageList.cs: Use attribute constructors with less arguments where
  5078. possible.
  5079. 2005-10-22 Kornél Pál <[email protected]>
  5080. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5081. Use typeof instead of strings when assembly is referenced. Added
  5082. some more comments.
  5083. 2005-10-21 Jackson Harper <[email protected]>
  5084. * ListView.cs: Raise a double click event. Also tried to somewhat
  5085. fix when the selectedindexchanged event is raised. Its still
  5086. broken though.
  5087. 2005-10-21 Jackson Harper <[email protected]>
  5088. * TreeView.cs: New method to invalidate the plus minus area of a
  5089. node without invalidating the whole node (maybe this can be used
  5090. in some more places).
  5091. * TreeNodeCollection.cs: When adding to an empty node we need to
  5092. invalidate its plus minus area so the little block shows up.
  5093. 2005-10-21 Jackson Harper <[email protected]>
  5094. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5095. are big enough to cover the selected box and the focus
  5096. rectangle. Use a different colour for the lines connecting nodes
  5097. so they show up with all themes.
  5098. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5099. * NativeWindow.cs: Don't call anything that could call into the driver,
  5100. we might be on a different thread.
  5101. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5102. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5103. make sure that we call methods that could call into the driver via
  5104. invoke, to avoid thread issues
  5105. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5106. * XplatUI.cs: Removed finalizer
  5107. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5108. not allowing to be called on the finalizer thread.
  5109. 2005-10-21 Kornél Pál <[email protected]>
  5110. * ImageList.cs:
  5111. - Reverted r51889 and r51891.
  5112. - Added ImageListItem class that stores unmodified image items and image
  5113. properties required to create list images until handle is created.
  5114. - Added AddItem and moved image creation logic to AddItemInternal.
  5115. - Added CreateHandle method that creates images based on unmodified items.
  5116. - Added DestroyHandle that changes state to store unmodified items.
  5117. - Add and AddStrip methods no more create handle.
  5118. - ReduceColorDepth has no return value.
  5119. - Dispose destroys handle.
  5120. - Modified other methods to reflect the above changes.
  5121. - Implemented key support.
  5122. - Added profile 2.0 members and attributes.
  5123. - Added private Reset and ShouldSerialize methods that provide the same
  5124. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5125. them as they are private.
  5126. - Added some more comments about implementation details.
  5127. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5128. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5129. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5130. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5131. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5132. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5133. * DataGridColumnStyle.cs: Remove debug message
  5134. 2005-10-20 Jackson Harper <[email protected]>
  5135. * TreeView.cs: We can always get input keys regardless of whether
  5136. or not editing is enabled. They are used for navigation.
  5137. 2005-10-20 Jackson Harper <[email protected]>
  5138. * TreeNode.cs: Use the viewport rect for determining if a node
  5139. needs to be moved for visibility. Don't use Begin/End edit. This
  5140. calls a full refresh when its done.
  5141. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5142. rect property internal so the treenodes can see it. When clicking
  5143. on a node we need to ensure that its visible because it might just
  5144. be partly visible when clicked.
  5145. 2005-10-20 Jackson Harper <[email protected]>
  5146. * TreeNodeCollection.cs: Remove debug code.
  5147. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5148. * Datagrid.cs: Implements column sorting in Datagrid
  5149. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5150. 2005-10-20 Jackson Harper <[email protected]>
  5151. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5152. area after removing them.
  5153. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5154. * Datagrid.cs: Should not call base.OnPaintBackground
  5155. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5156. * XplatUIX11.cs (GetMessage):
  5157. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5158. window instead of client window
  5159. - Now properly calculates NC_xBUTTONUP message coordinates
  5160. - ScreenToMenu now properly calculates it's coordinates of whole
  5161. window, since menus are in the whole window, not in the client
  5162. window
  5163. - Added WholeToScreen coordinate translation method
  5164. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5165. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5166. want to return a message, loop back to the beginning of the function
  5167. and grab the next real message to process instead.
  5168. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5169. * Splitter.cs: Properly set limits if no filler control is used
  5170. 2005-10-19 Jackson Harper <[email protected]>
  5171. * ColorDialog.cs: Don't show the help button if it is not enabled
  5172. instead of disabling it (this is what MS does). Don't create the
  5173. panel until the dialog is run, otherwise the vars (such as
  5174. ShowHelp) are not set yet.
  5175. 2005-10-19 Jackson Harper <[email protected]>
  5176. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  5177. are reduced when adding nodes.
  5178. * TreeNode.cs:
  5179. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  5180. tree.
  5181. 2005-10-19 Jackson Harper <[email protected]>
  5182. * FolderBrowserDialog.cs: End editing our treeview so the window
  5183. actually gets refreshed.
  5184. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5185. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  5186. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  5187. inside of WM_PAINT
  5188. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5189. * MenuAPI.cs: Returns after Hidding window
  5190. * XplatUIX11.cs: Added TODO found while debugging menu issues
  5191. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5192. * XplatUIX11.cs: Do not re-map the whole window when it's size
  5193. becomes non-zero unless it's supposed to be actually visible
  5194. 2005-10-18 Jackson Harper <[email protected]>
  5195. * TreeView.cs: We don't need to keep a count anymore.
  5196. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  5197. use the Grow method.
  5198. 2005-10-18 Jackson Harper <[email protected]>
  5199. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  5200. implement it manually here.
  5201. 2005-10-18 Jackson Harper <[email protected]>
  5202. * ImageList.cs: Dont kill the list when the colour depth is
  5203. changed, just change the colour depth of all the images.
  5204. - Same goes for setting the image size. Just resize them all
  5205. instead of killing the list softly.
  5206. 2005-10-18 Jackson Harper <[email protected]>
  5207. * Control.cs: Don't invalidate empty rectangles.
  5208. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5209. * ListViewItem.cs:
  5210. - Adds checked item to the Checked/Item lists (where empty before)
  5211. - Do not add items to the Selected lists if they are already present
  5212. * ListView.cs:
  5213. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  5214. - When deleting items make sure that we delete them for the Selected
  5215. and Checked list also.
  5216. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5217. * Label.cs: Dispose objects no longer used
  5218. * ThemeWin32Classic.cs: Dispose objects no longer used
  5219. 2005-10-18 Jackson Harper <[email protected]>
  5220. * TabControl.cs: Don't refresh the whole control when the tabs are
  5221. scrolled, we just need to refresh the tab area.
  5222. 2005-10-17 Jackson Harper <[email protected]>
  5223. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  5224. after handle when we need it.
  5225. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5226. * Control.cs: When the parent size changes, recalculate anchor
  5227. positions. Partial fix for #76462
  5228. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5229. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  5230. drawn. Fixes #76462
  5231. 2005-10-17 Jackson Harper <[email protected]>
  5232. * MonthCalendar.cs: Don't create the numeric up down until our
  5233. handle is created. Otherwise our handle is created in the
  5234. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  5235. yet.
  5236. 2005-10-17 Jackson Harper <[email protected]>
  5237. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  5238. correctly.
  5239. 2005-10-17 Rafael Teixeira <[email protected]>
  5240. * TreeNode.cs : small logical fix (was using local var instead of field)
  5241. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5242. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  5243. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5244. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  5245. 2005-10-16 Peter Dennis Bartok <[email protected]>
  5246. * Control.cs:
  5247. - Re-implemented anchoring code. My first version was really broken.
  5248. This fixes bug #76033. Unlike the previous implementation we will
  5249. no longer have round errors since all numbers are calculated from
  5250. scratch every time. Removed various anchor-related obsolete vars.
  5251. - InitLayout no longer causes layout event firing and layout to be
  5252. performed
  5253. 2005-10-16 Jackson Harper <[email protected]>
  5254. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  5255. which was broken).
  5256. 2005-10-16 Jackson Harper <[email protected]>
  5257. * TabControl.cs: Remove debug code.
  5258. 2005-10-16 Jackson Harper <[email protected]>
  5259. * XEventQueue.cs: Increase the default queue size (very simple
  5260. apps needed to grow the queue).
  5261. * Hwnd.cs: No finalizer so we don't need to suppress
  5262. finalization. Compute the invalid area manually so a new rectangle
  5263. does not newto be created.
  5264. * ScrollableControl.cs: Don't set any params (otherwise visibility
  5265. isn't set correctly).
  5266. * MdiChildContext.cs: New constructor takes the mdi parent so it
  5267. doesn't have to be computed and avoids a crash on windows. Draw
  5268. the window icon properly, and allow the text to be seen.
  5269. * Form.cs: Use new MdiChildContext constructor. Make sure the
  5270. child context isn't null in wndproc.
  5271. * TabControl.cs: Don't set focus, this is muddling keyboard
  5272. behavoir. Expand the tab rows when a window size increase will
  5273. allow extra tabs to be seen. Don't allow tabs smaller than the
  5274. width of a window to be scrolled out of view.
  5275. * TreeNode.cs:
  5276. * TreeView.cs: Use measure string to calculate a nodes width, the
  5277. width is cached and only updated when the text or the font is
  5278. changed. Don't check for expand/collapse clicks on the first level
  5279. nodes if root lines are disabled.
  5280. 2005-10-16 Ritvik Mayank <[email protected]>
  5281. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  5282. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5283. * DataGridBoolColumn.cs: fixes warning
  5284. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5285. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  5286. to match more to match more precisely the MS Net behavior
  5287. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5288. * Hwnd.cs: Added field to track if window is mapped
  5289. * XplatUIX11.cs:
  5290. - Unmap windows if they become 0-size, re-map when
  5291. they are >0 again; fixes #76035
  5292. - Re-set our error handler after initializing X11Desktop
  5293. to override any error handlers Gtk or whatever was called
  5294. may have set.
  5295. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5296. * CheckedListBox.cs: Removed unused vars
  5297. * ListView.cs: Fixed signatures
  5298. * RichTextBox.cs: Removed unused vars
  5299. * TextBoxBase.cs: Removed unused vars
  5300. * XplatUIWin32.cs: Removed unused vars
  5301. * XplatUIX11.cs: Removed unused vars
  5302. * XplatUI.cs: Updated version and date to latest published
  5303. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5304. * Cursor.cs: Added private .ctor to work around a bug in
  5305. resourceset (Thanks to Geoff Norton for the help on this)
  5306. * SplitterEventArgs.cs: Made fields accessible so we don't
  5307. waste boatloads of objects and can reuse the same one
  5308. in Splitter
  5309. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  5310. any captions and borders when generating screen coordinates
  5311. * Splitter.cs: Reimplemented control, now fully complete, uses
  5312. rubberband drawing, supports and obeys all properties, has
  5313. proper cursors
  5314. 2005-10-13 Miguel de Icaza <[email protected]>
  5315. * Form.cs (Form): Setup default values for autoscale and
  5316. autoscale_base_size; Make these instance variables, not static
  5317. variables.
  5318. (OnLoad): on the first load, adjust the size of the form.
  5319. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5320. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  5321. width argument to DrawReversibleRectangle()
  5322. * XplatUIWin32.cs, XplatUIX11.cs:
  5323. - Implemented width for DrawReversibleRectangle()
  5324. - Added logic to DrawReversibleRectangle that recognizes a zero
  5325. width or height and only draws a line in that situation
  5326. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5327. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  5328. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  5329. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  5330. method (it uses our FosterParent window to get a graphics context)
  5331. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5332. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  5333. and SetWindowBackground methods
  5334. * Control.cs:
  5335. - Setting proper ControlStyles
  5336. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  5337. EraseWindowBackground, instead we draw the window background
  5338. ourselves in PaintControlBackground. This behaviour is
  5339. required to match MS, where, when OnPaintBackground is not
  5340. called, the background is not drawn.
  5341. - Removed unneeded Refresh() in set_Text
  5342. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  5343. * XplatUIX11.cs:
  5344. - Created DeriveStyles method to translate from CreateParams to
  5345. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  5346. matches FormBorderStyle enum values)
  5347. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  5348. style calculations into single DeriveStyles method
  5349. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  5350. from redrawing the whole window on any resize or expose.
  5351. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  5352. all styles were applied to our whole/client window appropriately
  5353. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5354. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  5355. no longer clear/redraw the background through X
  5356. - Removed handling of erase_pending bit, we have no use for it (or
  5357. so it seems)
  5358. * XplatUIOSX.cs:
  5359. - Removed generation and handling of WM_ERASEBKGND message
  5360. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5361. - Removed handling of hwnd.ErasePending flag
  5362. * XplatUIWin32.cs:
  5363. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5364. - We no longer call EraseWindowBackground on PaintEventStart, we
  5365. ignore the fErase flag, erasing is handled in Control in the
  5366. background handler
  5367. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  5368. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  5369. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  5370. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  5371. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  5372. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  5373. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  5374. 2005-10-12 Jonathan Chambers <[email protected]>
  5375. * PropertyGrids.cs: Get sub properties
  5376. * PropertyGridView.cs: Fix drawing code
  5377. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5378. * ListBox.cs: Fixes 76383
  5379. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5380. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  5381. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  5382. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  5383. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5384. * ComboBox.cs: Fixes border drawing
  5385. 2005-10-10 Miguel de Icaza <[email protected]>
  5386. * MimeIcon.cs: Ignore errors if the file can not be read.
  5387. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5388. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  5389. - Fixed border calculations
  5390. - Fixed horizontal scrolling in single column listboxes
  5391. - Fixed drawing issues
  5392. 2005-10-10 Peter Dennis Bartok <[email protected]>
  5393. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  5394. FormBorderStyle enum
  5395. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  5396. code to determine FormBorderStyles from CreateParams
  5397. * Form.cs:
  5398. - Fixed bug where we'd set the wrong window styles if we were
  5399. not creating an MDI window
  5400. - Added call to XplatUI.SetBorderStyle when form borders are set
  5401. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  5402. * Hwnd.cs:
  5403. - Removed obsolete edge style
  5404. - Switched from BorderStyle to FormBorderStyle
  5405. 2005-10-10 Jackson Harper <[email protected]>
  5406. * Form.cs: Use the property to get the window handle instead of
  5407. accessing it directly. Prevents a null reference exception.
  5408. 2005-10-10 Jackson Harper <[email protected]>
  5409. * TreeView.cs: Don't adjust the rect given to DrawString now that
  5410. our libgdiplus draws correctly.
  5411. 2005-10-08 Jackson Harper <[email protected]>
  5412. * TreeView.cs: Don't try to find the clicked on node if there are
  5413. no nodes in the tree.
  5414. 2005-10-08 Alexander Olk <[email protected]>
  5415. * RichTextBox.cs:
  5416. restore
  5417. 2005-10-08 Alexander Olk <[email protected]>
  5418. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  5419. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  5420. ErrorProvider.cs:
  5421. Use ResPool for brushes and dispose System.Drawing objects that
  5422. are not used anymore.
  5423. 2005-10-07 Jackson Harper <[email protected]>
  5424. * MdiChildContext.cs: Use the new borders instead of drawing them
  5425. ourselves.
  5426. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5427. * Calling UpdateBounds after changing the window's BorderStyle
  5428. since the style can change the ClientSize
  5429. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5430. * Control.cs: Made PaintControlBackground virtual
  5431. * Panel.cs: Overriding PaintControlBackground instead of using paint
  5432. event; paint event method was interfering with 'real' users of the
  5433. event.
  5434. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5435. * ThemeWin32Classic.cs: remove border drawing since it is handled
  5436. by the base control class now and was causing double border drawing.
  5437. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5438. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  5439. but it does seem to match MS behaviour. This fixes bug #75324
  5440. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5441. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  5442. somewhat hackish looking
  5443. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5444. * TextBoxBase.cs:
  5445. - We now accept Enter even if AcceptEnter is false, if the containing
  5446. form does not have an AcceptButton configured (fixes bug #76355)
  5447. - Calculations are now fixed to no longer use Width/Height, but
  5448. ClientSize.Width/Height, since we now support borders (this was
  5449. a result of fixing borders and therefore bug #76166)
  5450. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  5451. true (fixes bug #76354)
  5452. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5453. * Control.cs:
  5454. - Defaulting BorderStyle and setting it in XplatUI when our window
  5455. is created
  5456. - Added enum check to InternalBorderStyle setter
  5457. * XplatUIX11.cs:
  5458. - Added drawing of window borders
  5459. - Now properly calculates WM decorations offset for toplevel
  5460. windows (fixes bug #74763)
  5461. * XplatUIWin32.cs:
  5462. - Implemented BorderStyles for windows (we're letting win32 draw
  5463. the border for us)
  5464. - Fixed the signature for SetWindowLong
  5465. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  5466. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  5467. setting borders
  5468. * UpDownBase.cs: Remove drawing of borders, this is handled by
  5469. the driver, outside the client area
  5470. * ListView.cs: Removed bogus border calculations. The control should
  5471. be oblivious to borders, since those are not part of the client
  5472. area.
  5473. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  5474. * ThemeWin32Classic.cs: Removed border calculations from ListView
  5475. drawing code
  5476. 2005-10-06 Jackson Harper <[email protected]>
  5477. * MdiChildContext.cs: Clear out the old virtual position remove
  5478. all the unneeded calls to CreateGraphics.
  5479. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5480. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  5481. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5482. * Form.cs:
  5483. - Added loading and setting of our new default icon
  5484. - Only set icon if window is already created
  5485. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5486. * Label.cs:
  5487. - Do not explicitly set the foreground and background colors, to
  5488. allow inheriting from parents (fixes #76302)
  5489. - Use Control's InternalBorderStyle property to deal with borders
  5490. 2005-10-06 Jackson Harper <[email protected]>
  5491. * MdiChildContext.cs: Use the new xplatui function to draw a
  5492. reversible rect.
  5493. 2005-10-06 Jackson Harper <[email protected]>
  5494. * Form.cs: Add the parent before creating the child context cause
  5495. we need the parent when setting up the child.
  5496. 2005-10-06 Jackson Harper <[email protected]>
  5497. * FolderBrowserDialog.cs: redo the tree population code so a
  5498. second thread isn't used. Should be a lot faster and more stable
  5499. now.
  5500. 2005-10-05 Jackson Harper <[email protected]>
  5501. * TreeView.cs: There are no expand/collapse boxes if the node has
  5502. no children.
  5503. 2005-10-05 Jackson Harper <[email protected]>
  5504. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  5505. 2005-10-05 Alexander Olk <[email protected]>
  5506. * FileDialog.cs: Fix InitialDirectory
  5507. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5508. * ComboBox.cs:
  5509. - Fixes changing between styles
  5510. - Fixes simple mode
  5511. - Fixes last item crashing when navigating with keyboard
  5512. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5513. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  5514. 2005-10-05 Jackson Harper <[email protected]>
  5515. * TreeView.cs: If updating the root node do a full refresh.
  5516. * TreeNode.cs: The root node should be expanded by default. Also
  5517. added a utility prop to tell if we are the root node.
  5518. * TreeNodeCollection.cs: Only refresh if the node we are being
  5519. added to is expanded. Also added a comment on a potential
  5520. optimization.
  5521. 2005-10-04 Peter Dennis Bartok <[email protected]>
  5522. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  5523. in dispose method. Fixes #76330
  5524. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  5525. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  5526. - Implements vertical and horizontal scrolling using XplatUI
  5527. - Fixes keyboard navagation
  5528. - Fixes EnsureVisible
  5529. - Drawing fixes
  5530. - Handles and draws focus properly
  5531. 2005-10-04 Kornél Pál <[email protected]>
  5532. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  5533. Create handle. NET_2_0: Destroy handle when value is null.
  5534. 2005-10-03 Jackson Harper <[email protected]>
  5535. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  5536. revert and a new patch to prevent the thumb from refreshing so
  5537. much.
  5538. 2005-10-02 Jackson Harper <[email protected]>
  5539. * ScrollBar.cs: Don't update position if it hasn't actually
  5540. changed. This occurs when you hold down the increment/decrement
  5541. buttons and the thumb gets to the max/min.
  5542. 2005-10-01 Jackson Harper <[email protected]>
  5543. * Form.cs:
  5544. * MdiChildContext.cs:
  5545. * MdiClient.cs: Implement ActiveMdiChild in Form.
  5546. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  5547. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  5548. 2005-10-01 Peter Dennis Bartok <[email protected]>
  5549. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  5550. be found
  5551. 2005-09-30 Jackson Harper <[email protected]>
  5552. * ListBox.cs: Don't do a full refresh unless some data has
  5553. actually changed.
  5554. 2005-09-30 Jackson Harper <[email protected]>
  5555. * TreeView.cs: Make sure that the checkboxes size is factored in
  5556. even when not visible.
  5557. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5558. * FileDialog.cs: Fix Jordi's build break
  5559. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5560. * FileDialog.cs:
  5561. - Use standard the Windows colours for the combobox as espected
  5562. - Dispose objects that use resouces when no longer need them
  5563. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5564. * X11DesktopColors.cs: Initial incomplete implementation
  5565. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  5566. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5567. * Theme.cs:
  5568. - Switched Theme color names to match the names defined in
  5569. System.Drawing.KnownColors. Life's hard enough, no need to make
  5570. it harder.
  5571. - Added setters to all theme color properties so themes can set
  5572. their color schemes. The setters also propagate the color changes
  5573. to System.Drawing.KnownColors via reflection
  5574. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  5575. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  5576. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  5577. use the new, more logical theme color names
  5578. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  5579. post-NT colors
  5580. * ThemeWin32Classic.cs:
  5581. - Removed code to set the old classic Windows colors. Instead it
  5582. now relies on the colors returned by System.Drawing.KnownColors
  5583. which will be either modern static colors (Unix) or colors
  5584. read from the user's configuration (Win32)
  5585. - Updated to use the new, more logical theme color names
  5586. - Switched DataGrid drawing code to use only Theme colors instead of
  5587. a mix of System.Drawing.KnownColors and Theme colors
  5588. - DrawFrameControl(): Removed code that fills the button area, the
  5589. fill would overwrite any previous fill done by a control. This
  5590. fixes bug #75338
  5591. - Added DrawReversibleRectangle() stub
  5592. * ScrollableControl.cs: Set visible state to false when scrollbars
  5593. are removed (pdn fix)
  5594. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  5595. DrawReversibleRectangle() method to allow drawing primitive
  5596. 'rubber bands'
  5597. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  5598. 2005-09-30 Kornél Pál <[email protected]>
  5599. * ImageList.cs: Add(Icon): Create handle.
  5600. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5601. * ListView.cs:
  5602. * ThemeWin32Classic.cs:
  5603. - Fixes detail mode
  5604. - Sets clippings
  5605. - Issues with drawing
  5606. 2005-09-30 Kornél Pál <[email protected]>
  5607. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  5608. source has to be the ImageList.
  5609. 2005-09-30 Kornél Pál <[email protected]>
  5610. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  5611. 2005-09-30 Kornél Pál <[email protected]>
  5612. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  5613. 2005-09-30 Kornél Pál <[email protected]>
  5614. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  5615. 2005-09-29 Jonathan Chambers <[email protected]>
  5616. * GridItem.cs: Fixed TODOs
  5617. * GridItemCollection.cs: Added ICollection interface
  5618. 2005-09-30 Kornél Pál <[email protected]>
  5619. * ImageList.cs: Resize icons when needed.
  5620. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  5621. * ListViewItem.cs
  5622. - Fixes GetBounds and returns on screen rects
  5623. * ListView.cs:
  5624. - Fixes vertical and horzintal scrolling of items
  5625. * ThemeWin32Classic.cs:
  5626. - Fixes drawing
  5627. 2005-09-29 Raja R Harinath <[email protected]>
  5628. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  5629. 2005-09-29 Kornél Pál <[email protected]>
  5630. * ImageList.cs: Added comments about handle creation. Moved Handle,
  5631. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  5632. Handle is created in Add methods.
  5633. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5634. * DataGridDrawingLogic.cs:
  5635. - Takes rows into account on Colum calculations
  5636. - Returns the column when clickig
  5637. * DataGrid.cs:
  5638. - Fixes default HitTestInfo values
  5639. - Fixes HitTestInfo.ToString
  5640. - Fixes ResetBackColor
  5641. 2005-09-28 Jackson Harper <[email protected]>
  5642. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  5643. sizing or cursor changes). Also added some temp code to draw the
  5644. titlebars text (Makes dev a little easier).
  5645. 2005-09-28 Kornél Pál <[email protected]>
  5646. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  5647. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5648. * ListBox.cs: Fixes bug 76253
  5649. 2005-09-28 Kornél Pál <[email protected]>
  5650. * ImageList.cs: Added comments about the current implementation. Added
  5651. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  5652. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  5653. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  5654. with Bitmap.LockBits for better performance. Revised the whole file to
  5655. match MS.NET behaviour and provide better performance. Non-public
  5656. interface members are calling public members even when they throw
  5657. NotSupportedException for better maintainability. Moved ColorDepth,
  5658. ImageSize, ImageStream and TransparentColor implementations to
  5659. ImageCollection for better performance as these properties are not used
  5660. by ImageList.
  5661. * ImageListStreamer.cs: Added a new internal constructor that takes an
  5662. ImageList.ImageCollection and serializes Images based on
  5663. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  5664. match ImageList property name.
  5665. 2005-09-28 Kazuki Oikawa <[email protected]>
  5666. * ListBox.cs: Fixes IndexFromPoint for last item
  5667. 2005-09-27 Jackson Harper <[email protected]>
  5668. * Form.cs: Set the position of new mdi children correctly.
  5669. 2005-09-27 Jackson Harper <[email protected]>
  5670. * MdiClient.cs: New mdi children need to be added to the back of
  5671. the controls collection so the zorder is set correctly. Also add a
  5672. count of all the child windows that have been created.
  5673. 2005-09-27 Jackson Harper <[email protected]>
  5674. * Form.cs (CreateParams): Setup MDI forms correctly.
  5675. 2005-09-27 Jackson Harper <[email protected]>
  5676. * MdiChildContext.cs:
  5677. * MonthCalendar.cs:
  5678. * UpDownBase.cs:
  5679. * ListBox.cs:
  5680. * ListView.cs:
  5681. * TextBoxBase.cs:
  5682. * TreeView.cs:
  5683. * ScrollableControl.cs:
  5684. * ComboBox.cs: Add implicit controls using the new implict control
  5685. functionality in ControlCollection. Also try to block multiple
  5686. control add in a suspend/resume layout to save some cycles.
  5687. 2005-09-27 Jackson Harper <[email protected]>
  5688. * Control.cs: Add functionality to the controls collection to add
  5689. 'implicit controls' these are controls that are created by the
  5690. containing control but should not be exposed to the user. Such as
  5691. scrollbars in the treeview.
  5692. * Form.cs: The list var of the ControlsCollection is no longer
  5693. available because of the potential of implicit controls getting
  5694. ignored by someone accessing the list directly.
  5695. 2005-09-26 Peter Dennis Bartok <[email protected]>
  5696. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  5697. loose it's parent. (Fixed bug introduced in r49103 when we added
  5698. setting the child parent to null on Remove)
  5699. 2005-09-26 Gert Driesen <[email protected]>
  5700. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  5701. * Splitter.cs: Added missing attributes for BorderStyle property.
  5702. * TextBoxBase.cs: Marked Calculate* methods internal.
  5703. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  5704. MS.NET.
  5705. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  5706. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  5707. 2005-09-25 Jackson Harper <[email protected]>
  5708. * TreeView.cs: Update the node bounds correctly regardless of
  5709. whether the node is visible.
  5710. 2005-09-25 Jackson Harper <[email protected]>
  5711. * ImageList.cs: Don't dispose the image after it is added to the
  5712. image list. Only reformat images that need to be resized.
  5713. 2005-09-25 Jackson Harper <[email protected]>
  5714. * ImageList.cs: Don't set the format when changing the image.
  5715. 2005-09-25 Jackson Harper <[email protected]>
  5716. * TreeView.cs: We can't just assume the node has a font. Use the
  5717. treeviews font if no node font is available.
  5718. 2005-09-25 Jackson Harper <[email protected]>
  5719. * TreeView.cs: Allow the scrollbars to be reset with negative
  5720. values.
  5721. - Don't add scrollbars to negative sized windows.
  5722. 2005-09-23 Jackson Harper <[email protected]>
  5723. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  5724. old Mono.Posix. Also remove some stray code that shouldn't have
  5725. been committed.
  5726. 2005-09-23 Jackson Harper <[email protected]>
  5727. * TreeView.cs: Attempt at proper sizing of the horizontal
  5728. scrollbar. Also don't resize the scrollbars unless they are
  5729. visible.
  5730. 2005-09-23 Jackson Harper <[email protected]>
  5731. * TreeView.cs: We don't need to expand the invalid area when the
  5732. selection changes, as this is all drawn in the node's bounding
  5733. box. The area needs to be expanded (previous typo was contracting
  5734. it) when the focus rect moves.
  5735. 2005-09-23 Jackson Harper <[email protected]>
  5736. * TreeView.cs: Display the selection box under the correct
  5737. circumstances. We were rendering white text with no selection box
  5738. before.
  5739. 2005-09-23 Peter Dennis Bartok <[email protected]>
  5740. * TextControl.cs(Split): Now updates selection start/end if it points
  5741. into a line that's being split. Fixes a FIXME and bug #75258
  5742. 2005-09-23 Jackson Harper <[email protected]>
  5743. * Binding.cs:
  5744. * ListControl.cs: Don't use the path when retrieving binding
  5745. managers from the binding context. My bat sense tells me that the
  5746. path is only used on insertion.
  5747. 2005-09-22 Jackson Harper <[email protected]>
  5748. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  5749. 2005-09-22 Jackson Harper <[email protected]>
  5750. * Splitter.cs: There are special cursors used for splitting.
  5751. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  5752. 2005-09-22 Jackson Harper <[email protected]>
  5753. * Splitter.cs: Change the cursor appropriately when the splitter
  5754. is moused over, so the user actually knows there is a splitter
  5755. there.
  5756. 2005-09-22 Hisham Mardam Bey <[email protected]>
  5757. * Label.cs : Fix ToString method to give same output as MS.NET
  5758. 2005-09-22 Jackson Harper <[email protected]>
  5759. * TreeView.cs: Create the scrollbars when the handle is created
  5760. and add them right away, just make them invisble. Also account for
  5761. the window being shrunk vertically to the point that the vert
  5762. scrollbar needs to be added.
  5763. - Remove some 0.5 adjustments to get around anti aliasing issues.
  5764. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  5765. * MainMenu.cs: Fixes default value
  5766. * MenuItem.cs: Fixes default value
  5767. 2005-09-22 Kazuki Oikawa <[email protected]>
  5768. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  5769. 2005-09-21 Jackson Harper <[email protected]>
  5770. * Control.cs: Don't try to set the border style on the window if
  5771. it hasn't been created. When the window is created the border
  5772. style will be used.
  5773. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5774. * Control.cs (Update): Don't call XplatUI if we don't have a
  5775. window handle yet
  5776. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5777. * ContainerControl.cs: Instead of throwing an exception, print
  5778. a one-time warning about Validate not being implemented
  5779. * XplatUIWin32.cs: Removed debug output
  5780. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5781. * Control.cs: Only set XplatUI background if we expect the windowing
  5782. system to handle the background. This stops controls that draw their
  5783. own background from flickering
  5784. * XplatUIX11.cs: Support custom visuals and colormaps for window
  5785. creation. This allows, amongst other things, using MWF X11 windows
  5786. with OpenGL.
  5787. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5788. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  5789. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  5790. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  5791. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  5792. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  5793. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  5794. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  5795. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  5796. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  5797. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  5798. GridColumnStylesCollection.cs,
  5799. IDataGridColumnStyleEditingNotificationService.cs,
  5800. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  5801. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  5802. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  5803. TreeNodeCollection.cs, AmbientProperties.cs,
  5804. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  5805. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  5806. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  5807. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  5808. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  5809. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  5810. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  5811. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  5812. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  5813. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  5814. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  5815. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  5816. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  5817. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  5818. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  5819. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  5820. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  5821. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  5822. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  5823. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  5824. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  5825. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  5826. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  5827. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  5828. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  5829. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  5830. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  5831. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  5832. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  5833. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  5834. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  5835. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  5836. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  5837. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  5838. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  5839. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  5840. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  5841. 2005-09-21 Jackson Harper <[email protected]>
  5842. * TreeNode.cs: Call Before/After Expand not Collapse when
  5843. expanding.
  5844. 2005-09-20 Jackson Harper <[email protected]>
  5845. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  5846. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  5847. * ListViewItem.cs:
  5848. - Fixes bug 76120
  5849. - Fixes proper storing of subitems
  5850. - Fixes not updated items
  5851. 2005-09-20 Peter Dennis Bartok <[email protected]>
  5852. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  5853. things if our window handle isn't created yet. Also disabled
  5854. debug for TextBoxBase
  5855. 2005-09-20 Peter Dennis Bartok <[email protected]>
  5856. * MenuAPI.cs: Remove filtering of events to allow menu usage
  5857. 2005-09-20 Miguel de Icaza <[email protected]>
  5858. * Cursor.cs: Allow null to be passed to Cursor.Current.
  5859. 2005-09-20 Alexander Olk <[email protected]>
  5860. * ThemeWin32Classic.cs:
  5861. - Change some private methods/fields to protected virtual so that
  5862. they can be accessed and overriden in derived classes
  5863. - First refactoring of some methods. Derived themes now don't
  5864. need to duplicate the complete code from ThemeWin32Classic
  5865. * ThemeNice.cs:
  5866. - Added nice StatusBar
  5867. - Derive from ThemeWin32Classic and not Theme
  5868. - Removed duplicate ThemeWin32Classic code
  5869. 2005-09-20 Miguel de Icaza <[email protected]>
  5870. * Control.cs (ControlCollection.Add): If the value null is passed
  5871. the control is ignored.
  5872. Optimize this loop.
  5873. 2005-09-19 Peter Dennis Bartok <[email protected]>
  5874. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  5875. PostQuitMessage state.
  5876. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  5877. 2005-09-19 Peter Dennis Bartok <[email protected]>
  5878. * Application.cs: Our constructor will never get called, move
  5879. initialization to fields; fixes bug #75933
  5880. 2005-09-19 Hisham Mardam Bey <[email protected]>
  5881. * FileDialog.cs :
  5882. - Allow files to be selected properly using file name
  5883. combo box.
  5884. - Add ability to change diretory (absolute / relative)
  5885. using file name combo box.
  5886. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  5887. * ListBox.cs:
  5888. - Fixes Multicolumn listboxes item wrong calculations
  5889. - Allows to click when only one item is in the listbox
  5890. - Fixes crash when no items using keyboard navigation
  5891. 2005-09-16 Alexander Olk <[email protected]>
  5892. * ComboBox.cs: Reverted almost everything from the latest patch which
  5893. broke ComboBox
  5894. 2005-09-16 Kazuki Oikawa <[email protected]>
  5895. * ToolTip.cs:
  5896. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  5897. * ComboBox.cs:
  5898. - When DropDownStyle is Simple, it does not show scrollbar
  5899. to the last item of the list.
  5900. - When DropDownStyle is Simple, it crashed when the list was
  5901. scrolled down with the down cursor key.
  5902. - Fixed a bug that when DropDownStyle is DropDownList, the
  5903. selected item was not shown.
  5904. - The position of the selected item was not preserved when
  5905. the next dropdown happened.
  5906. * ThemeWin32Classic.cs:
  5907. - Items were wrapped at the right end.
  5908. * CheckedListBox.cs:
  5909. - Fixed Add method
  5910. * ListBox.cs:
  5911. - Items should be fully shown.
  5912. - When resizing and vertical scrollbar disappeared, the item
  5913. of index 0 should be on the top of the list.
  5914. - GetItemRectangle should consider the size of ver. scrollbar
  5915. * StatusBar.cs:
  5916. - SizingGrip area should not be allocated when it is not
  5917. displayed.
  5918. - Now it reflects MinWidth of the containing panel and
  5919. fixed a crash that happens when its width becomes so small.
  5920. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  5921. * CheckedListBox.cs: Fixes bug 76028
  5922. * ListBox.cs: Fixes bug 76028
  5923. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  5924. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  5925. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  5926. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  5927. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  5928. 2005-09-09 Jonathan Chambers <[email protected]>
  5929. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  5930. 2005-09-09 Jonathan Chambers <[email protected]>
  5931. * IRootGridEntry.cs: Added
  5932. * PropertyGridCommands.cs: Added
  5933. * PropertiesTab.cs: Added missing methods and property
  5934. * PropertyGridView.cs: Made class internal
  5935. * PropertyGridTextBox.cs: Made class internal
  5936. 2005-09-09 Alexander Olk <[email protected]>
  5937. * MimeIcon.cs: Try to check some other environment variables
  5938. if "DESKTOP_SESSION" returns "default"
  5939. 2005-09-09 Alexander Olk <[email protected]>
  5940. * ThemeNice.cs: Corrected background colors (e.g. menus)
  5941. * ColorDialog.cs: Use correct background colors for controls
  5942. 2005-09-09 Alexander Olk <[email protected]>
  5943. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  5944. 2005-09-08 Peter Dennis Bartok <[email protected]>
  5945. * RichTextBox.cs: Added initial implementation
  5946. * lang.cs: Removed. Was accidentally checked in long time ago
  5947. * TODO: Removed. Contents were obsolete
  5948. 2005-09-06 Jonathan Chambers <[email protected]>
  5949. * PropertiesTab.cs : Added
  5950. 2005-09-06 Jonathan Chambers <[email protected]>
  5951. * PropertyGrid.cs : Update
  5952. * PropertyGridView.cs : Update
  5953. * System.Windows.Forms.resx : Added images and strings
  5954. 2005-09-06 Peter Dennis Bartok <[email protected]>
  5955. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  5956. 2005-09-06 Peter Dennis Bartok <[email protected]>
  5957. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  5958. a busy loop right after the Ungrab the X11 display is otherwise
  5959. blocked
  5960. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  5961. * ThemeWin32Classic.cs: Optimise the use of clipping
  5962. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  5963. * DataGrid.cs: fixes recursion bug
  5964. 2005-09-03 Alexander Olk <[email protected]>
  5965. * ThemeNice.cs:
  5966. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  5967. - Cleanup
  5968. 2005-09-02 Alexander Olk <[email protected]>
  5969. * ThemeNice.cs: Draw nice ProgressBars
  5970. 2005-09-01 Miguel de Icaza <[email protected]>
  5971. * VScrollBar.cs: Another buglet found by Aaron's tool.
  5972. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  5973. bug finder.
  5974. 2005-08-30 Alexander Olk <[email protected]>
  5975. * ThemeNice.cs:
  5976. - Added nicer menu drawing
  5977. - Updated DrawTab
  5978. - some refactoring
  5979. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5980. * CreateParams.cs (ToString): Made output match MS
  5981. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  5982. handle is already created (to avoid forcing window creation)
  5983. * XplatUIX11.cs: Set window text to caption after creating window,
  5984. in case Text was set before window was created
  5985. * Form.cs: Use this.Text instead of a static string as caption
  5986. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5987. * NotifyIcon.cs: Don't set the window to visible; this screws
  5988. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  5989. OnPaint without a bitmap)
  5990. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  5991. happen very often anyway; we could add the check to the WM_PAINT
  5992. event generation code
  5993. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5994. * NotifyIcon.cs: Fill the icon area with a background color, to
  5995. avoid 'residue' when transparent icons are drawn
  5996. * XplatUIX11.cs:
  5997. - Handle whole_window == client_window when destroying windows
  5998. - SystrayAdd(): Set client_window to whole_window value to
  5999. get mouse and other events passed to NotifyIcon
  6000. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6001. * Form.cs: Set proper default for Opacity property
  6002. * NotifyIcon.cs:
  6003. - ShowSystray(): Don't bother creating telling the OS
  6004. about the systray item if no icon is provided
  6005. - Now handles WM_NCPAINT message to deal with whole/client window
  6006. split
  6007. - Create window as visible to not get caught by Expose optimization
  6008. * Hwnd.cs: Removed debug message
  6009. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6010. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6011. PaintEventStart/End to use new client argument
  6012. * TextBoxBase.cs:
  6013. - Commented out debug messages
  6014. - Switched PaintEventStart/End to use new client argument
  6015. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6016. PaintEventEnd() calls, to support drawing in non-client areas
  6017. * XplatUIDriver.cs:
  6018. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6019. calls, to support drawing in non-client areas
  6020. - Added conditional compile to allow using MWF BeginInvoke
  6021. on MS runtime
  6022. * XplatUIX11.cs:
  6023. - Added some conditional debug output
  6024. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6025. whole/client window split
  6026. - Implemented handling of client argument to PaintEventStart()/End()
  6027. * Control.cs:
  6028. - Throw exception if BeginInvoke() is called and the window handle
  6029. or one of the window's parent handles is not created
  6030. - Added conditional compile to allow using MWF BeginInvoke on
  6031. MS runtime
  6032. - get_Parent(): Only sets parent if handle is created. This avoids
  6033. forcing window handle creation when parent is set.
  6034. - Now fires Layout and Parent changed events in proper order
  6035. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6036. the get_Parent() patch above causes us to possibly get null for 'window'
  6037. - Implemented handling of client argument to PaintEventStart()/End()
  6038. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6039. default handling)
  6040. - Now sends a Refresh() to all child windows when Refresh() is called
  6041. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6042. * Form.cs: Added (non-functional) Opacity property
  6043. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6044. 2005-08-29 Alexander Olk <[email protected]>
  6045. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6046. use export MONO_THEME=nice to activate it.
  6047. Currently supported controls:
  6048. - Button
  6049. - ComboBox
  6050. - ScrollBar
  6051. - TabControl (TabAlignment.Top only, other will follow)
  6052. * ThemeEngine.cs: Add theme nice
  6053. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6054. if enabled
  6055. 2005-08-25 Jonathan Chambers <[email protected]>
  6056. * Splitter.cs: Resize docked control and its neighbor.
  6057. 2005-08-24 Rafael Teixeira <[email protected]>
  6058. -- Making Windows with Menus layout correctly --
  6059. * Form.cs : The first leg of the fix
  6060. Menu setter - adjust Client Size as needed to make space for the menu
  6061. SetClientSizeCore - doesn't call base version to be able to pass the
  6062. menu handle to XplatUI.CalculateWindowRect
  6063. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6064. * XplatUIX11.cs: The critical second leg of the fix
  6065. GetWindowPos needs to use a recalculated client_rect
  6066. so that resizing the window doesn't break layout of child controls.
  6067. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6068. Lots of \t\n killed
  6069. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6070. * Label.cs: Now properly recalculates width and height on Font and Text
  6071. changes if AutoSize is set
  6072. 2005-08-19 Rafael Teixeira <[email protected]>
  6073. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6074. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6075. * ImageList.cs: Makes ToString method compatible with MS
  6076. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6077. * MenuAPI.cs: fixes bug 75716
  6078. 2005-08-11 Umadevi S <[email protected]>
  6079. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6080. 2005-08-11 Umadevi S <[email protected]>
  6081. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6082. 2005-08-10 Umadevi S <[email protected]>
  6083. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6084. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6085. * Menu.cs: fixes bug 75700
  6086. * MenuAPI.cs: fixes navigation issues
  6087. 2005-08-09 Umadevi S <[email protected]>
  6088. * CheckedListBox.cs - simple fix for GetItemChecked.
  6089. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6090. * ComboBox.cs: Serveral fixes
  6091. * ListBox.cs: Serveral fixes
  6092. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6093. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6094. * ListBox.cs: Fixes FindString methods
  6095. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6096. * DataGrid.cs: fixes bugs exposed by new tests
  6097. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6098. * Mime.cs: Compile Mono assembly references only if compiling
  6099. with Mono (Allows to build with VS.Net again)
  6100. 2005-07-28 Marek Safar <[email protected]>
  6101. * Control.cs (PaintControlBackground): Draw background image
  6102. corrrectly.
  6103. (CheckForIllegalCrossThreadCalls): Stubbed.
  6104. * Form.cs (OnCreateControl): Center when should be centered.
  6105. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6106. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6107. * Binding.cs: Binding to properties should be case unsensitive
  6108. 2005-07-18 [email protected]
  6109. * DataGrid.cs: fixes setmember order
  6110. 2005-07-07 Alexander Olk <[email protected]>
  6111. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6112. * FileDialog.cs: FileDialog is now resizable and uses the new
  6113. MimeIconEngine
  6114. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6115. * DataGridTextBoxColumn.cs: default value
  6116. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6117. * GridTableStylesCollection.cs: fixes checking MappingName
  6118. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6119. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6120. * DataGrid.cs: fixes
  6121. 2005-07-06 Alexander Olk <[email protected]>
  6122. * MimeGenerated.cs: Use case sensitive comparer for
  6123. NameValueCollections
  6124. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6125. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6126. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6127. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6128. * DataGrid.cs: bug fixes, code refactoring
  6129. * DataGridTextBox.cs: bug fixes, code refactoring
  6130. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6131. * Theme.cs: bug fixes, code refactoring
  6132. 2005-07-01 Peter Bartok <[email protected]>
  6133. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6134. and other text box usage
  6135. 2005-07-01 Jackson Harper <[email protected]>
  6136. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6137. border.
  6138. 2005-06-30 Peter Bartok <[email protected]>
  6139. * Form.cs (ShowDialog): Assign owner of the dialog
  6140. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6141. might have been moved to a tag with different height
  6142. 2005-06-30 Jackson Harper <[email protected]>
  6143. * Form.cs: Don't create an infinite loop when setting focus
  6144. * MenuItem.cs: Don't dirty the parents if we don't have any
  6145. 2005-06-29 Ben Maurer <[email protected]>
  6146. * LibSupport.cs: Rename
  6147. 2005-06-29 Peter Bartok <[email protected]>
  6148. * TextBoxBase.cs: Re-align caret after deleting a character
  6149. * TextControl.cs:
  6150. - DeleteChars(): Ensure that tag covers the provided position
  6151. - StreamLine(): Drop reference for dropped tag
  6152. 2005-06-29 Peter Bartok <[email protected]>
  6153. * TextControl.cs:
  6154. - Selections now work properly, anchoring at the initial location
  6155. and properly extending in either direction (SetSelectionToCaret(),
  6156. SetSelectionStart() and SetSelectionEnd())
  6157. - No longer redraws the whole control on selection change, now
  6158. calculates delta between previous and new selection and only
  6159. invalidates/redraws that area
  6160. - Fixed FindPos() math off-by-one errors
  6161. - Changed DeleteChars() to verify the provided tag covers the
  6162. provided position, selections may have a tag that doesn't cover
  6163. the position if the selection is at a tag border
  6164. - Fixed off-by-one errors in DeleteChars()
  6165. - Added missing streamlining check in DeleteChars() to remove
  6166. zero-length tags
  6167. - Implemented Invalidate() method, now properly calculates exposures
  6168. between two given lines/positions
  6169. - Implemented SetSelection()
  6170. - Obsoleted and removed FixupSelection()
  6171. - Improved RecalculateDocument() logic, removing code duplication
  6172. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6173. * LibSupport.cs: changes to match different input/output arguments.
  6174. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6175. * LibSupport.cs: added libsupport.so init routine.
  6176. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  6177. * ControlBindingsCollection.cs
  6178. - Throws an exception on null datasource when adding
  6179. - Checks for duplicated bindings when adding
  6180. 2005-06-28 Jackson Harper <[email protected]>
  6181. * TreeView.cs (OnKeyDown): Support left and right properly
  6182. (navigates as well as expanding and collapsing.
  6183. - Add support for Multiply, this expands all the selected nodes
  6184. children.
  6185. - Fix some tabbing.
  6186. 2005-06-28 Jackson Harper <[email protected]>
  6187. * TreeView.cs: Implement keyboard navigation, currently supports,
  6188. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  6189. support for toggling checkboxes with the space bar.
  6190. 2005-06-28 Jackson Harper <[email protected]>
  6191. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  6192. tree.
  6193. 2005-06-28 Jackson Harper <[email protected]>
  6194. * TreeView.cs: Add missing event.
  6195. 2005-06-27 Peter Bartok <[email protected]>
  6196. * TextControl.cs:
  6197. - Made line ending size configurable (now allows for counting
  6198. lineendings as \n or \r\n)
  6199. - Added margin to viewport to keep caret visible on right side
  6200. - Fixed translation routines for line/pos to documentpos to consider
  6201. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  6202. - Fixed some line-endings to be unix style
  6203. - Fixed Document.FormatText to perform it's calculations 1-based
  6204. - Added descriptions for a few methods that might otherwise get
  6205. used wrong
  6206. - Added NOTE section with some basic conventions to remember at
  6207. the top of the file
  6208. - Major fixup for RichTextBox selection drawing:
  6209. * Fixed crashes when multiple tags on a single line were selected
  6210. * fixed selection box drawing not overlaying text
  6211. * fixed bogus offset calculation for tags not starting at index 1
  6212. * Switched behaviour from using multiple Substrings of a
  6213. StringBuilder.ToString() to using multiple
  6214. StringBuilder.ToString(start, length) statements, hoping this is
  6215. faster (kept original version commented out in the code, in case
  6216. original version was faster)
  6217. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  6218. alignment != Left
  6219. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  6220. call it as well
  6221. 2005-06-27 Jackson Harper <[email protected]>
  6222. * TabControl.cs: Move to the left and right with the arrow
  6223. keys. These keys don't cycle beyond first and last like
  6224. tab. Refresh all the tabs when scrolling them to the left or
  6225. right.
  6226. 2005-06-27 Jackson Harper <[email protected]>
  6227. * TabControl.cs:
  6228. - ToString: Added method
  6229. - CreateParams: Remove TODO and comment
  6230. - OnKeyDown: Cycle through bounds properly.
  6231. - SelectedIndex: Scroll to the right or left if we need to
  6232. display the newly selected tab.
  6233. 2005-06-23 Jackson Harper <[email protected]>
  6234. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  6235. set.
  6236. 2005-06-23 Jackson Harper <[email protected]>
  6237. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  6238. CTRL-SHIFT-TAB, and HOME, END are there any others?
  6239. 2005-06-23 Jackson Harper <[email protected]>
  6240. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  6241. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6242. * DataGridTextBoxColumn.cs: fixes and enhancements
  6243. * ThemeWin32Classic.cs: fixes and enhancements
  6244. * DataGridBoolColumn.cs: fixes and enhancements
  6245. * DataGridDrawingLogic.cs: fixes and enhancements
  6246. * CurrencyManager.cs: fixes and enhancements
  6247. * DataGrid.cs: fixes and enhancements
  6248. * DataGridColumnStyle.cs: fixes and enhancements
  6249. 2005-06-22 Jackson Harper <[email protected]>
  6250. * TabControl.cs: Add some missing methods that just call into the
  6251. base. Make the TabPageCollection's IList interface behave in the
  6252. same manner as the MS implementation.
  6253. 2005-06-22 Peter Bartok <[email protected]>
  6254. * TextControl.cs: Added sanity check
  6255. * TextBoxBase.cs:
  6256. - Fixed wrapping behaviour, don't set wrap on single line controls
  6257. (this fixes the breakage of colordialog introduced in an earlier
  6258. checkin)
  6259. - Added rudimentary support for autoscrolling right-aligned controls
  6260. (still needs fixing, also, center alignment scroll is missing)
  6261. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6262. * ScrollBar.cs: Fixes thumbpos on Maximum values
  6263. 2005-06-21 Jonathan Chambers <[email protected]>
  6264. * PropertyGridView.cs: Pass context information to UITypeEditors
  6265. 2005-06-21 Peter Bartok <[email protected]>
  6266. * TextBoxBase.cs:
  6267. - Now calling PositionCaret with absolute space coordinates
  6268. - Enabled vertical scrolling
  6269. - Better tracking of scrollbar changes, tied into WidthChange
  6270. event
  6271. - Improved cursor tracking
  6272. - Removed debug output
  6273. * TextControl.cs:
  6274. - PositionCaret coordinates are now works in absolute space, not
  6275. the canvas
  6276. - Improved tracking of document size
  6277. - Added events for width and height changes
  6278. 2005-06-21 Peter Bartok <[email protected]>
  6279. * Form.cs: Set focus to active control when form is activated
  6280. * TextControl.cs:
  6281. - Added word-wrap functionality to RecalculateLine()
  6282. - Added some short function descriptions for VS.Net to aid in
  6283. writing dependent controls
  6284. - Added Caret property, returning the current coords of the caret
  6285. - Added ViewPortWidth and ViewPortHeight properties
  6286. - Added Wrap property
  6287. - Added CaretMoved event
  6288. - Removed some old debug code
  6289. - Split() can now create soft splits
  6290. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  6291. - Added method to format existing text
  6292. - Fixed size/alignment calculations to use viewport
  6293. - RecalculateDocument now can handle changing line-numbers while
  6294. calculating lines
  6295. * TextBox.cs:
  6296. - Added some wrap logic, we don't wrap if alignment is not left
  6297. - Added casts for scrollbar var, base class switched types to
  6298. also support RichTextBoxA
  6299. - Implemented handling of scrollbar visibility flags
  6300. * TextBoxBase.cs:
  6301. - Switched scrollbars type to RichTextBoxScrollBars to support
  6302. RichTextBox
  6303. - Added tracking of canvas width/height
  6304. - Switched scrollbars to be not selectable (to keep focus on text)
  6305. - Added central CalculateDocument() method to handle all redraw
  6306. requirements
  6307. - Added ReadOnly support
  6308. - Added WordWrap support
  6309. - Fixed handling of Enter key (we now treat it as a DialogKey)
  6310. - Fixed caret positioning when h or v scroll is not zero
  6311. - Fixed placing/generation of vertical scrollbar
  6312. - Added CalculateScrollBars() method to allow updating scrollbar
  6313. limits and visibility
  6314. - Fixed handling of horizontal scroll
  6315. - Added handling of vertical scroll
  6316. - Implemented auto-'jump' when caret moves to close to a left or
  6317. right border and there is text to be scrolled into view (currently
  6318. there's the potential for a stack overflow, until a bug in
  6319. scrollbar is fixed)
  6320. 2005-06-21 Geoff Norton <[email protected]>
  6321. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  6322. 2005-06-19 Alexander Olk <[email protected]>
  6323. * Mime.cs:
  6324. - added inodes.
  6325. - return application/x-zerosize for files with size zero
  6326. (if no extension pattern matches).
  6327. - check matches collection for strings too.
  6328. - return only the first mime type if the name value
  6329. collection has more than one mime type.
  6330. 2005-06-18 Jonathan Chambers <[email protected]>
  6331. * PropertyGrid.cs: Cleaned up some TODOs
  6332. * PropertyGridView.cs: Added support for UITypeEditors
  6333. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6334. * DataGrid.cs: clears cached value
  6335. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6336. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  6337. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  6338. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  6339. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  6340. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  6341. * ThemeWin32Classic.cs: fixes colour
  6342. 2005-06-15 Peter Bartok <[email protected]>
  6343. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  6344. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  6345. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  6346. * Control.cs: Added some MWFCategory and MWFDescription attributes
  6347. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  6348. 2005-06-15 Alexander Olk <[email protected]>
  6349. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  6350. usage
  6351. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  6352. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  6353. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  6354. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  6355. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  6356. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  6357. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  6358. 2005-06-13 Jackson Harper <[email protected]>
  6359. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  6360. isn't printed when the user enables dropping. (X11 does accept
  6361. drops).
  6362. 2005-06-13 Jackson Harper <[email protected]>
  6363. * TreeView.cs: Remove some TODOS.
  6364. 2005-06-13 Jackson Harper <[email protected]>
  6365. * Form.cs: Hook into the mdi framework.
  6366. * MdiClient.cs: Use the base control collections add method so
  6367. parents get setup correctly. Set the default back colour and dock
  6368. style.
  6369. * MdiChildContext.cs: New class, this bad actor handles an
  6370. instance of an MDI window. Right now there is only basic
  6371. support. You can drag, close, and resize windows. Minimize and
  6372. Maximize are partially implemented.
  6373. 2005-06-13 Jackson Harper <[email protected]>
  6374. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  6375. freaky when both vals are negative. NOTE: There are probably other
  6376. places in XplatUIX11 that this needs to be done.
  6377. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  6378. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  6379. * DataGridColumnStyle.cs: fixes signature
  6380. 2005-06-12 Jackson Harper <[email protected]>
  6381. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  6382. windows.
  6383. 2005-06-11 Jackson Harper <[email protected]>
  6384. * StatusBarPanel.cs: Signature cleanups. Implement
  6385. BeginInit/EndInit.
  6386. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  6387. * DataGridTextBoxColumn.cs: Honors aligment
  6388. * GridColumnStylesCollection.cs: Contains is case unsensitive
  6389. * GridTableStylesCollection.cs: several fixes
  6390. * DataGridTableStyle.cs: default column creation
  6391. * DataGridDrawingLogic.cs: fixes
  6392. * CurrencyManager.cs: ListName property
  6393. * DataGrid.cs: multiple styles support
  6394. * DataGridColumnStyle.cs: fixes
  6395. 2005-06-10 Peter Bartok <[email protected]>
  6396. * Control.cs(Select): Moved SetFocus call to avoid potential
  6397. loops if controls change the active control when getting focus
  6398. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  6399. the up/down buttons
  6400. 2005-06-10 Matthias Felgner <[email protected]>
  6401. * ImageListConverter.cs: Implemented
  6402. 2005-06-10 John BouAntoun <[email protected]>
  6403. * MonthCalendar.cs: Wired in NumericUpDown control for year
  6404. 2005-06-10 John BouAntoun <[email protected]>
  6405. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  6406. DoubleClick events, since they are not meant to be fired.
  6407. 2005-06-09 Peter Bartok <[email protected]>
  6408. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  6409. Jonathan's standalone controls into MWF, implemented missing
  6410. events, attributes and methods; added xxxAccessible classes
  6411. * AccessibleObject.cs: Made fields internal so other classes
  6412. can change them if needed
  6413. 2005-06-09 Jonathan Gilbert <[email protected]>
  6414. * UpDownBase.cs: Complete implementation
  6415. * NumericUpDown.cs: Complete implementation
  6416. * DomainUpDown.cs: Complete implementation
  6417. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  6418. * DataGridTextBoxColumn.cs: drawing fixes
  6419. * DataGridCell.cs: fixes ToString method to match MSNet
  6420. * DataGridTableStyle.cs: fixes
  6421. * DataGridBoolColumn.cs: fixes, drawing
  6422. * DataGridDrawingLogic.cs: fixes, new methods
  6423. * DataGridTextBox.cs: Keyboard and fixes
  6424. * DataGrid.cs:
  6425. - Keyboard navigation
  6426. - Scrolling fixes
  6427. - Row selection (single, multiple, deletion, etc)
  6428. - Lots of fixes
  6429. 2005-06-07 Jackson Harper <[email protected]>
  6430. * ThemeWin32Classic.cs: Clear the background area when drawing
  6431. buttons.
  6432. 2005-06-06 Peter Bartok <[email protected]>
  6433. * ImageListStreamer.cs: Fixed signature for GetData
  6434. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  6435. * ComboBox.cs:
  6436. - Added missing ChildAccessibleObject class
  6437. - Added missing OnXXXFocus overrides, switched to using those
  6438. instead of the event handler
  6439. * Control.cs:
  6440. - Added Parent property for ControlAccessibleObject
  6441. - Fixed signatures
  6442. - Fixed attributes
  6443. - Added ResetBindings()
  6444. * ListBindingConverter.cs: Implemented some methods
  6445. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  6446. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  6447. * ContainerControl.cs: Fixed signature, now subscribing to the
  6448. ControlRemoved event instead of overriding the handler, LAMESPEC
  6449. * CurrencyManager.cs: Added missing attribute
  6450. * MonthCalendar.cs: Added missing properties
  6451. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6452. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  6453. 2005-06-06 Gaurav Vaish and Ankit Jain
  6454. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6455. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6456. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6457. * Control.cs: fixes CreateParams Width / Height.
  6458. 2005-06-05 Peter Bartok <[email protected]>
  6459. * Win32DnD.cs: Removed compilation warnings
  6460. 2005-06-05 Peter Bartok <[email protected]>
  6461. * Control.cs (CreateParams): Since we don't know if one of the
  6462. properties we use is overridden, lets make sure if we fail accessing
  6463. we continue with a backup plan
  6464. 2005-06-05 Peter Bartok <[email protected]>
  6465. * Win32DnD.cs:
  6466. - Removed debug output
  6467. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  6468. struct
  6469. - Plugged resource leak
  6470. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  6471. MS size
  6472. 2005-06-05 Peter Bartok <[email protected]>
  6473. * XplatUIWin32.cs: Removed DnD code
  6474. * Win32DnD.cs: Implemented drop source and drop target functionality
  6475. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  6476. * UpDownBase.cs: remove duplicate addition of event, enable some code
  6477. that was commented out.
  6478. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  6479. Validate input when a key is pressed. It works fine now for every
  6480. combination of Hexadecimal. Only missing some drawing love when sharing
  6481. space with other controls.
  6482. 2005-06-04 Peter Bartok <[email protected]>
  6483. * Control.cs:
  6484. - We need to pass a window for DragDrop, so enable callback events
  6485. - Added DnD callback events when being a DragSource
  6486. * XplatUI.cs (StartDrag): Added window handle argument
  6487. * XplatUIDriver.cs (StartDrag): Added window handle argument
  6488. * QueryContinueDragEventArgs: Made fields internally accessible so
  6489. drivers can set them
  6490. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  6491. can set them
  6492. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  6493. * DataGridTextBoxColumn.cs: column text editing
  6494. * DataGridTableStyle.cs: Respect columns styles created by the user
  6495. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  6496. * DataGridBoolColumn.cs: bool column editing
  6497. * DataGrid.cs: fixes to scrolling, properties, etc
  6498. * DataGridTextBox.cs: handle keyboard
  6499. * DataGridColumnStyle.cs: fixes
  6500. 2005-06-02 Jackson Harper <[email protected]>
  6501. * ImageListStreamer.cs: Somewhat broken implementation of
  6502. GetObjectData. The RLE needs some work to match MS properly.
  6503. 2005-06-02 Jackson Harper <[email protected]>
  6504. * X11Dnd.cs: Attempting to keep at least one file in MWF
  6505. monostyled.
  6506. 2005-06-02 Peter Bartok <[email protected]>
  6507. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  6508. that way
  6509. 2005-06-02 Peter Bartok <[email protected]>
  6510. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  6511. * XplatUI.cs: Added DoDragDrop() method
  6512. * XplatUIDriver.cs: Added DoDragDrop() method
  6513. 2005-06-02 Jackson Harper <[email protected]>
  6514. * Splitter.cs: Implement BorderStyle.
  6515. 2005-06-02 Jackson Harper <[email protected]>
  6516. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  6517. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  6518. X11 using XDND.
  6519. 2005-06-02 Peter Bartok <[email protected]>
  6520. * DataObject.cs:
  6521. - Added Data setter
  6522. - Fixed broken insertion code for SetData, now also
  6523. overwrites any existing entry of the same format name
  6524. * Hwnd.cs: Added list of pointers that automatically gets
  6525. freed when the window is disposed
  6526. * XplatUI.cs: Call driver initialization method when loading
  6527. a driver
  6528. * Control.cs:
  6529. - OnDragLeave takes EventArgs, not DragEventArgs
  6530. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  6531. supported
  6532. - Forces style update when drop state changes
  6533. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  6534. not perfect since we cannot (yet) call the IDataObject.GetData()
  6535. method, we keep getting 0x80004005 error, dunno why)
  6536. 2005-06-02 Peter Bartok <[email protected]>
  6537. * DragEventArgs.cs: Make fields internal so we can cache the
  6538. object and re-set the fields from XplatUI
  6539. 2005-06-02 Jackson Harper <[email protected]>
  6540. * Control.cs: Add some internal methods so the DnD subsystem can
  6541. raise DnD events. Also call into the driver when AllowDrop is set.
  6542. * XplatUI.cs:
  6543. * XplatUIDriver.cs: New method for setting whether or not a window
  6544. is allowed to accept drag and drop messages.
  6545. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  6546. * ScrollBar.cs: Make sure that values sent in Scroll events
  6547. are always between Maximum and Minimum.
  6548. 2005-06-01 Marek Safar <[email protected]>
  6549. * Menu.cs: Call MenuChanged when menuitem visibility has been
  6550. changed.
  6551. * MenuItem.cs: Rebuild menu when item is (not) visible.
  6552. * MainMenu.cs: MainMenu has special MenuChanged.
  6553. * Theme.cs: Caption and FrameBorderSize are not fixed.
  6554. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  6555. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  6556. * XplatUIX11.cs,
  6557. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  6558. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  6559. 2005-05-30 Jackson Harper <[email protected]>
  6560. * DataFormat.cs: We can't statically initialize this stuff because
  6561. it calls into the xplatui and could create a loop. So we lazy init
  6562. it.
  6563. 2005-05-28 Jackson Harper <[email protected]>
  6564. * Control.cs: Proper implementation of Product(Name/Version).
  6565. 2005-05-27 Jackson Harper <[email protected]>
  6566. * DataObject.cs: Dont crash if no data is found.
  6567. 2005-05-26 Rafael Teixeira <[email protected]>
  6568. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  6569. as per status page, guessing it should be set to true
  6570. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  6571. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  6572. * DataGridTableStyle.cs: set proper formatting text, def header text
  6573. * ThemeWin32Classic.cs: new themable paramaters
  6574. * DataGridBoolColumn.cs: paint check box, get data, fixes
  6575. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  6576. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  6577. * DataGridColumnStyle.cs: fixes
  6578. * Theme.cs: new themable paramaters
  6579. 2005-05-26 Peter Bartok <[email protected]>
  6580. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  6581. 2005-05-24 Jonathan S. Chambers <[email protected]>
  6582. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  6583. 2005-05-24 Peter Bartok <[email protected]>
  6584. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  6585. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  6586. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  6587. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  6588. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  6589. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  6590. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  6591. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  6592. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  6593. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  6594. missing attributes, etc
  6595. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  6596. 2005-05-24 Peter Bartok <[email protected]>
  6597. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  6598. when user tries to get help
  6599. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  6600. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  6601. to suppress warnings
  6602. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  6603. avoid unreachable code warning
  6604. 2005-05-20 Peter Bartok <[email protected]>
  6605. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  6606. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6607. * DataGridTextBoxColumn.cs: Basic painting methods
  6608. * DataGridTableStyle.cs: Set table style in the column
  6609. * ThemeWin32Classic.cs: Use Theme for colors
  6610. * DataGridDrawingLogic.cs: Implement more drawing
  6611. * DataGrid.cs: drawing, theming, enhacements, fixes
  6612. * DataGridColumnStyle.cs: fixes, drawing
  6613. * Theme.cs: theming for Datagrid
  6614. 2005-05-20 Peter Bartok <[email protected]>
  6615. * Cursor.cs: Implemented GetObjectData() method
  6616. 2005-05-20 Peter Bartok <[email protected]>
  6617. * Cursors.cs: Added setting of cursor name
  6618. * Cursor.cs:
  6619. - Implemented constructors
  6620. - Implemented Draw and DrawStretched
  6621. - Implemented Current property
  6622. - Implemented == and != operators
  6623. - Implemented Dispose()
  6624. - Implemented ToString
  6625. - Added missing attributes
  6626. * XplatUIX11.cs:
  6627. - Added missing reset for OverrideCursor when DoEvents is called
  6628. - Fixed creation of cursor, logic was wrong
  6629. * XplatUIWin32.cs:
  6630. - Added missing reset for OverrideCursor when DoEvents is called
  6631. - Fixed creation of cursor, bit arrays were swapped
  6632. * Clipboard.cs: Removed obsolete MonoTODO attribute
  6633. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6634. * ComboBox.cs: fixes OnSelectedItemChanged
  6635. * ControlBindingsCollection.cs: fixes item range check
  6636. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6637. * UpDownBase.cs:
  6638. - Calc preferred height properly
  6639. - Implement missing properties
  6640. * NumericUpDown.cs: Implement missing events
  6641. 2005-05-19 Jackson Harper <[email protected]>
  6642. * TabControl.cs: New method that resizes the tab pages before
  6643. redrawing them. This as needed as the control is double buffered
  6644. and sizing will not be recalculated unless ResizeTabPages is
  6645. called.
  6646. * TabPage.cs: Set base.Text instead of Text in the constructor so
  6647. that UpdateOwner does not get called. Use the new Redraw method of
  6648. TabControl instead of Refresh so the sizing is recalculated.
  6649. * ThemeWin32Classic.cs: Draw the text for button tabs.
  6650. 2005-05-19 Jackson Harper <[email protected]>
  6651. * Control.cs: Paint control background images. Fix typo where
  6652. PaintControlBackground was not getting called correctly.
  6653. 2005-05-19 Peter Bartok <[email protected]>
  6654. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  6655. I can investigate, apparently I broke FileDialog
  6656. 2005-05-19 Marek Safar <[email protected]>
  6657. * AxHost.cs: Some simple properties.
  6658. * Control.cs: window must be accessible after ctor.
  6659. * Form.cs: Added TransparencyKey property.
  6660. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  6661. * XplatUIWin32.cs: SetBorderStyle implemented.
  6662. 2005-05-18 Peter Bartok <[email protected]>
  6663. * DataObject.cs: Entries are not global but particular to the
  6664. DataObject, now it behaves that way
  6665. * XplatUIWin32.cs: Implemented Clipboard methods
  6666. * Clipboard.cs: Implemented
  6667. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  6668. * XplatUIOSX.cs: Updated to final clipboard prototypes
  6669. * XplatUIX11.cs: Implemented Clipboard methods
  6670. * XplatUIDriver.cs: Updated to final clipboard prototypes
  6671. * XplatUIStructs.cs:
  6672. - Added BITMAPINFOHEADER struct
  6673. - Added ClipboardFormats enum
  6674. * X11Structs.cs:
  6675. - Added ClipboardStruct
  6676. - Added Atom enum items for clipboard types
  6677. - Fixed atom types for Selection event structures
  6678. * DataFormats.cs:
  6679. - Added internal properties and methods for drivers to enumerate
  6680. all known formats
  6681. - Switched initialization method to allow drivers to assign their
  6682. own IDs even for the MS predefined clipboard IDs
  6683. * XplatUI.cs: Updated to final clipboard interface
  6684. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6685. * PropertyGridView.cs: Fixed compiler warnings.
  6686. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6687. * PropertyGrid.cs: Added some event calls
  6688. * PropertyGridView.cs: Change drawing code to use double buffering
  6689. * PropertyGridTextBox.cs: Changed Text property name
  6690. * GridItem.cs: Added Bounds property.
  6691. * GridEntry.cs: Added Bounds property.
  6692. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  6693. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  6694. since GetType() may not return the correct type if the object is
  6695. a remoting proxy.
  6696. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  6697. * TreeNodeCollection.cs: fixes get/set item ranges
  6698. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6699. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  6700. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6701. * ComboBox.cs: Fix item range comparation
  6702. * ListView.cs: Fix item range comparation
  6703. 2005-05-03 Alexander Olk <[email protected]>
  6704. * FontDialog.cs:
  6705. - Clear example panel when OnPaint is called
  6706. - Better solution for displaying the example panel text
  6707. - Select default indexes in the ListBoxes
  6708. 2005-05-11 Geoff Norton <[email protected]>
  6709. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  6710. 2005-05-11 Peter Bartok <[email protected]>
  6711. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  6712. * SelectionRangeConverter.cs: Implemented
  6713. * PropertyGrid.cs: Fixed attribute value
  6714. * Control.cs:
  6715. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  6716. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  6717. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  6718. that's common to all drivers. First methods to go there are
  6719. Sebastien Pouliot's CAS Stack Propagation helper methods
  6720. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  6721. Sebastien Pouliot for CAS Stack Propagation
  6722. 2005-05-11 Geoff Norton <[email protected]>
  6723. * OSXStructs.cs:
  6724. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  6725. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  6726. * DataGridTextBoxColumn.cs: fixed some members
  6727. * GridColumnStylesCollection.cs: indexed column is case insensitive
  6728. * DataGridTableStyle.cs: fixes
  6729. * ThemeWin32Classic.cs: add new theme parameter
  6730. * Theme.cs: add new theme parameter
  6731. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  6732. * DataGrid.cs: fixes, new internal properties, etc.
  6733. * DataGridColumnStyle.cs: allows to set grid value
  6734. *
  6735. 2005-05-10 Peter Bartok <[email protected]>
  6736. * AccessibleObject.cs:
  6737. - Removed MonoTODO attribute on help, method is correct
  6738. - Fixed Bounds property
  6739. * AxHost.cs: Moved MonoTODO
  6740. * ButtonBase.cs: Now setting AccessibleObject properties
  6741. * RadioButton.cs: Setting proper AccessibleObject role
  6742. * CheckBox.cs: Setting proper AccessibleObject role
  6743. * ControlBindingsCollection.cs: Added properties, methods and attributes
  6744. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  6745. userdefined DataFormats.Format items as well
  6746. * ListControl.cs: Removed data_member from the public eye
  6747. * OpenFileDialog.cs:
  6748. - Made class sealed
  6749. - Added missing attributes
  6750. * SaveFileDialog.cs: Added missing attributes
  6751. * ImageListStreamer.cs: Fixed code that caused warnings
  6752. * LinkLabel.cs: Removed unreachable code
  6753. * TreeView.cs: Fixed code that caused warnings
  6754. * PropertyGridView.cs: Fixed code that caused warnings
  6755. * GridColumnStylesCollection.cs: Added missing attributes
  6756. * GridTableStylesCollection: Added missing attribute
  6757. * PropertyManager: Added .ctor
  6758. * SecurityIDType: Added
  6759. * DataObject.cs: Implemented class
  6760. * LinkArea.cs: Added missing attribute
  6761. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  6762. * RadioButton.cs: call base method to allow to fire OnClick event
  6763. * UpDownBase.cs: OnMouseUp call base method
  6764. * CheckedListBox.cs: call base method before returning
  6765. * TrackBar.cs: call base method before returning
  6766. 2005-05-10 Peter Bartok <[email protected]>
  6767. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  6768. for messages
  6769. 2005-05-10 Peter Bartok <[email protected]>
  6770. * DataFormats.cs: Implemented
  6771. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  6772. XplatUIX11.cs: Added Clipboard APIs
  6773. * XplatUIWin32.cs: Implemented Clipboard APIs
  6774. * FolderBrowserDialog.cs: Added missing event, attributes
  6775. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  6776. * CheckBox.cs: call base method to allow to fire OnClick event
  6777. 2005-05-09 Sebastien Pouliot <[email protected]>
  6778. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  6779. 2005-05-06 Peter Bartok <[email protected]>
  6780. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  6781. * Screen.cs: Implemented
  6782. * HelpNavigator.cs: Added
  6783. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  6784. property
  6785. * HelpProvider.cs: Implemented all we can do until we have a CHM
  6786. help library (which means that "What's This" does work now)
  6787. 2005-05-06 Jackson Harper <[email protected]>
  6788. * XplatUIX11.cs: Fix waking up the main loop.
  6789. 2005-05-05 Peter Bartok <[email protected]>
  6790. * XplatUI.cs: Updated revision
  6791. * Form.cs: Removed enless loop
  6792. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  6793. * Label.cs (OnPaint): Added call to base.OnPaint()
  6794. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  6795. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  6796. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  6797. * AxHost.cs: Added
  6798. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  6799. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  6800. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  6801. reuse of ToolTipWindow by other controls
  6802. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  6803. * XplatUIX11.cs: Now clipping drawing area (experimental)
  6804. * PictureBox.cs: Moved base.OnPaint() call to end of method
  6805. * Theme.cs: Fixed ToolTip abstracts to match new format
  6806. * ErrorProvider.cs: Implemented
  6807. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  6808. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  6809. * LinkLabel.cs:
  6810. - Adds cursors
  6811. - Handles focus
  6812. - Implements LinkBehavior
  6813. - Fixes many issues
  6814. 2005-05-03 Jackson Harper <[email protected]>
  6815. * ListView.cs: Calculate the scrollbar positioning on resize and
  6816. paint, so they get put in the correct place.
  6817. 2005-05-03 Alexander Olk <[email protected]>
  6818. * ColorDialogs.cs: The small color panels are now handled by
  6819. SmallColorControl. This fixes drawing of the focus rectangle
  6820. and adds a 3D border.
  6821. 2005-05-03 Peter Bartok <[email protected]>
  6822. * Control.cs: Modified version of Jonathan Chamber's fix for
  6823. double-buffering
  6824. 2005-05-03 Jackson Harper <[email protected]>
  6825. * ListView.cs: Remove redraw variable. Control now handles whether
  6826. or not a redraw needs to be done, and will only raise the paint
  6827. event if redrawing is needed.
  6828. 2005-05-03 Jackson Harper <[email protected]>
  6829. * Splitter.cs: No decorations for the splitter form. Cache the
  6830. hatch brush.
  6831. 2005-05-03 Jackson Harper <[email protected]>
  6832. * TreeView.cs: Use dashed lines to connect nodes. Use the
  6833. ControlPaint method for drawing the focus rect instead of doing
  6834. that in treeview.
  6835. 2005-05-02 Peter Bartok <[email protected]>
  6836. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  6837. 2005-04-29 Jackson Harper <[email protected]>
  6838. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  6839. entire image buffer. Just clear the clipping rectangle.
  6840. 2005-04-29 Jackson Harper <[email protected]>
  6841. * ThemeWin32Classic.cs: Don't draw list view items that are
  6842. outside the clipping rectangle.
  6843. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  6844. * ListBox.cs: added horizontal item scroll
  6845. 2005-04-29 Jackson Harper <[email protected]>
  6846. * ThemeWin32Classic.cs: Remove some old debug code that was
  6847. causing flicker with the new double buffering code.
  6848. 2005-04-29 John BouAntoun <[email protected]>
  6849. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  6850. behave like combobox and comboboxlist (still not sure if this is
  6851. correct though).
  6852. 2005-04-28 Jackson Harper <[email protected]>
  6853. * ThemeWin32Classic.cs: Don't fill the middle of progress
  6854. bars. This fills areas outside of the clip bounds that don't need
  6855. to be filled.
  6856. 2005-04-28 Jackson Harper <[email protected]>
  6857. * Control.cs: Don't expose functionality to touch the image buffers.
  6858. * ProgressBar.cs:
  6859. * ListView.cs: We do not need to (and no longer can) manipulate
  6860. the image buffers directly. All of this is handled by Control.
  6861. 2005-04-28 Peter Bartok <[email protected]>
  6862. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6863. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  6864. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  6865. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  6866. * Combobox:
  6867. - Adjust control's height for non-simple comboboxes (bug fix)
  6868. - Remove dead code
  6869. * MenuAPI.cs: remove unused var
  6870. * ScrollBar.cs: remove unsed var
  6871. * ListBox.cs: unselect items when clearing
  6872. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  6873. * ListControl.cs: honors OnPositionChanged and default Selected Item
  6874. * ListBox.cs: unselect items when clearing
  6875. 2005-04-27 Jackson Harper <[email protected]>
  6876. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  6877. if a "correct" keyboard is not found. This will make us not crash,
  6878. but might give some users bad keyboard layouts...seems to be the
  6879. same thing rewind does.
  6880. 2005-04-27 Jackson Harper <[email protected]>
  6881. * BindingManagerBase.cs: Attach the current/position changed
  6882. handlers to their respective events.
  6883. 2005-04-27 Jackson Harper <[email protected]>
  6884. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  6885. not just a blit.
  6886. * ThemeWin32Classic.cs: Don't fill the background for picture
  6887. boxes. This could overright user drawing.
  6888. * ComboBox.cs: Just fill the clipping rect not the entire client
  6889. rect when drawing the background. This prevents pieces of the
  6890. image buffer from getting overwritten and is theoretically faster.
  6891. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  6892. * ComboBox.cs: Databinding support fixes, fire missing events
  6893. * ListControl.cs: implement missing methods and properties, fixes
  6894. * ThemeWin32Classic.cs: Databiding support on Drawing
  6895. * CheckedListBox.cs: Databinding support fixes, fire missing events
  6896. * ListBox.cs: Databinding support fixes, fire missing events
  6897. 2005-04-25 Peter Bartok <[email protected]>
  6898. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  6899. 2005-04-25 Jackson Harper <[email protected]>
  6900. * TreeView.cs: Use the horizontal scrollbars height not width when
  6901. determining how much of the client area is available.
  6902. 2005-04-25 Jackson Harper <[email protected]>
  6903. * Control.cs: Double buffering is handled differently now. As per
  6904. the spec, the extra buffer is created in the WM_PAINT message and
  6905. passed down to the control's drawing code.
  6906. * GroupBox.cs:
  6907. * Label.cs:
  6908. * CheckBox.cs:
  6909. * ProgressBar.cs:
  6910. * RadioButton.cs:
  6911. * ColorDialog.cs:
  6912. * ComboBox.cs:
  6913. * PropertyGridView.cs:
  6914. * UpDownBase.cs:
  6915. * MessageBox.cs:
  6916. * MenuAPI.cs:
  6917. * ListView.cs:
  6918. * ButtonBase.cs:
  6919. * SizeGrip.cs:
  6920. * ScrollBar.cs:
  6921. * ListBox.cs:
  6922. * TrackBar.cs:
  6923. * ToolBar.cs:
  6924. * PictureBox.cs:
  6925. * DateTimePicker.cs:
  6926. * StatusBar.cs:
  6927. * TreeView.cs: Update to new double buffering system.
  6928. * MonthCalendar.cs: Uncomment block, as Capture is now
  6929. working. Update to new double buffering
  6930. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  6931. * PaintEventArgs.cs: New internal method allows us to set the
  6932. graphics object. This is used for double buffering.
  6933. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  6934. rectangle. The internal paint_area var has been removed from
  6935. StatusBar. The clipping rect should be used instead.
  6936. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  6937. * TabPage.cs: The RefreshTabs method was removed, so just call the
  6938. tab controls Refresh method now.
  6939. * TabControl.cs: Update to new double buffering. Make sure the
  6940. handle is created before sizing the tab pages, otherwise we will
  6941. get stuck in a loop.
  6942. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  6943. * LinkLabel.cs: Fix typo, bug #74719; patch
  6944. from Borja Sanchez Zamorano
  6945. 2005-04-22 Jackson Harper <[email protected]>
  6946. * TreeNode.cs: Implement Handle stuff.
  6947. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  6948. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  6949. * DataGridTextBoxColumn.cs: call base constructors, fixes
  6950. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  6951. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  6952. * DataGridTableStyle.cs: implements create default column styles
  6953. * DataGridBoolColumn.cs: which types can handle
  6954. * DataGrid.cs: missing methods, fixes, new functionality
  6955. * DataGridColumnStyle.cs: fixes
  6956. 2005-04-20 Alexander Olk <[email protected]>
  6957. * FolderBrowserDialog.cs:
  6958. - Use a thread to fill the TreeView
  6959. - Adjusted some sizes
  6960. 2005-04-19 Peter Bartok <[email protected]>
  6961. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  6962. property. Fixes #74360.
  6963. 2005-04-19 Jackson Harper <[email protected]>
  6964. * XEventQueue.cs: Lock when getting the lockqueue size.
  6965. * PictureBox.cs: Call base OnPaint
  6966. 2005-04-19 Peter Bartok <[email protected]>
  6967. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  6968. messages were no longer being processed (this broke BeginInvoke)
  6969. 2005-04-18 Jackson Harper <[email protected]>
  6970. * TreeView.cs: buglet that caused node images to get drawn
  6971. regardless of whether or not they were in the clipping rectangle.
  6972. 2005-04-18 Jackson Harper <[email protected]>
  6973. * CurrencyManager.cs: There are four rules for GetItemProperties:
  6974. - If the type is an array use the element type of the array
  6975. - If the type is a typed list, use the type
  6976. - If the list contains an Item property that is not an object, use
  6977. that property
  6978. - use the first element of the list if there are any elements in
  6979. the list.
  6980. 2005-04-17 Jackson Harper <[email protected]>
  6981. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  6982. click. This handles offsets for scrolling properly and reduces
  6983. memory. Also fixed GetNode to not offset now that TopNode works
  6984. properly.
  6985. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  6986. 2005-04-17 Jackson Harper <[email protected]>
  6987. * CursorConverter.cs: Initial implementation.
  6988. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6989. * ListControl.cs: work towards complex data binding support on ListControl
  6990. * CurrencyManager.cs: work towards complex data binding support on ListControl
  6991. * ListBox.cs: work towards complex data binding support on ListControl
  6992. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6993. * GridTableStylesCollection.cs: fixes name and constructor
  6994. * DataGridTableStyle.cs: fixes
  6995. * DataGridBoolColumn.cs: fixes names and constructors
  6996. * DataGrid.cs: define methods and properties. Some init implementations
  6997. * DataGridCell.cs: define methods and properties. Some init implementations
  6998. * GridTablesFactory.cs: Define methods and properties
  6999. 2005-04-15 Geoff Norton <[email protected]>
  7000. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  7001. graphics port changes. We still want the coordinates in global screen
  7002. coordinates.
  7003. 2005-04-14 Jackson Harper <[email protected]>
  7004. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7005. check plus minus or checkbox clicks unless those features are enabled.
  7006. 2005-04-14 Jackson Harper <[email protected]>
  7007. * TreeView.cs: Add methods for setting the top and bottom visible
  7008. nodes. TreeNode::EnsureVisible uses these methods.
  7009. * TreeNode.cs: Implement EnsureVisible
  7010. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7011. * Form.cs: Pospone menu assignation if the window has not been created yet
  7012. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7013. size and position
  7014. 2005-04-12 Jackson Harper <[email protected]>
  7015. * TreeView.cs: Set the TopNode properly when scrolling
  7016. occurs. This has the added benifit of reducing the amount of
  7017. walking that needs to be done when drawing. Also removed an old
  7018. misleading TODO.
  7019. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7020. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7021. * Timer.cs: fixes interval setting when the timer is already enabled
  7022. 2005-04-10 Alexander Olk <[email protected]>
  7023. * FolderBrowserDialog.cs: First approach
  7024. 2005-04-09 Peter Bartok <[email protected]>
  7025. * FolderBrowserDialog: Added
  7026. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7027. * LinkLabel.cs: move drawing code into the theme
  7028. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7029. * Theme.cs: define DrawLinkLabel method
  7030. 2005-04-05 Jackson Harper <[email protected]>
  7031. * BindingContext.cs: Use weak references so these bad actors don't
  7032. stay alive longer then they need to.
  7033. 2005-04-05 Jackson Harper <[email protected]>
  7034. * ListControl.cs: Basic implementation of complex databinding.
  7035. * ComboBox.cs:
  7036. * ListBox.cs: Add calls to ListControl databinding methods.
  7037. 2005-04-05 Alexander Olk <[email protected]>
  7038. * FileDialog.cs:
  7039. - Don't change PopupButtonState to Normal when the
  7040. PopupButton gets pressed several times.
  7041. - Renamed ButtonPanel to PopupButtonPanel
  7042. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7043. * ColorDialog.cs: Use cached objects instead of creating them
  7044. * LinkLabel.cs: Use cached objects instead of creating them
  7045. * Splitter.cs: Use cached objects instead of creating them
  7046. * FontDialog.cs: Use cached objects instead of creating them
  7047. * PropertyGridView.cs: Use cached objects instead of creating them
  7048. * MessageBox.cs: Use cached objects instead of creating them
  7049. * FileDialog.cs: Use cached objects instead of creating them
  7050. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7051. * TreeView.cs: Use cached objects instead of creating them
  7052. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7053. * Control.cs: use Equals to compare the font since no == op
  7054. * ScrollBar.cs: use Equals to compare the font since no == op
  7055. 2005-04-04 Alexander Olk <[email protected]>
  7056. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7057. 2005-04-01 Jackson Harper <[email protected]>
  7058. * Binding.cs: Implement IsBinding.
  7059. * BindingManagerBase.cs:
  7060. * PropertyManager.cs:
  7061. * CurrencyManager.cs: Add IsSuspended property.
  7062. 2005-04-01 Jackson Harper <[email protected]>
  7063. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7064. 2005-04-01 Jackson Harper <[email protected]>
  7065. * Binding.cs: Handle null data members when pulling data.
  7066. * PropertyManager.cs: Handle the data member being a property that
  7067. does not exist.
  7068. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7069. * DataGridTextBoxColumn.cs: fixes signature
  7070. * DataGrid.cs: calls right constructor
  7071. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7072. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7073. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7074. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7075. * DataGridTableStyle.cs: implements DataGridTableStyle
  7076. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7077. * DataGridTextBox.cs: implements DataGridTextBox
  7078. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7079. 2005-03-31 Alexander Olk <[email protected]>
  7080. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7081. 2005-03-29 Peter Bartok <[email protected]>
  7082. * Application.cs:
  7083. - Properly implemented CompanyName property
  7084. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7085. returns a path that includes CompanyName, ProductName and
  7086. Version (fixes bug #70330)
  7087. 2005-03-29 Stefan Buehler <[email protected]>
  7088. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7089. fixes bug #72588.
  7090. 2005-03-28 Alexander Olk <[email protected]>
  7091. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7092. - Added ReadOnly CheckBox
  7093. - Further refactoring: moved some code from Open-/SaveFileDialog
  7094. to FileDialog
  7095. 2005-03-28 Alexander Olk <[email protected]>
  7096. * OpenFileDialog.cs: Fixed CheckFileExists
  7097. * FileDialog.cs:
  7098. Moved FileView and DirComboBox outside FileDialog class.
  7099. They can now be used outside FileDialog
  7100. 2005-03-27 Alexander Olk <[email protected]>
  7101. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7102. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7103. 2005-03-27 Alexander Olk <[email protected]>
  7104. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7105. - Added missing CreatePrompt property in SaveDialog
  7106. - Overall SaveDialog handling should be better now
  7107. - Added non standard ShowHiddenFiles property
  7108. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7109. - Added InitialDirectory and RestoreDirectory support
  7110. 2005-03-26 Alexander Olk <[email protected]>
  7111. * FileDialog.cs: Made dirComboBox usable
  7112. 2005-03-24 Alexander Olk <[email protected]>
  7113. * FileDialog.cs: Added Filter support (case sensitiv)
  7114. 2005-03-24 Jackson Harper <[email protected]>
  7115. * TabControl.cs: Need a couple more pixels for the lines.
  7116. 2005-03-23 Jackson Harper <[email protected]>
  7117. * TabControl.cs: Give the tab page focus when it is selected.
  7118. 2005-03-23 Jackson Harper <[email protected]>
  7119. * TabControl.cs: Account for the drawing of tabs borders when
  7120. invalidating. If the slider was clicked dont do click detection on
  7121. the tabs.
  7122. 2005-03-23 Jackson Harper <[email protected]>
  7123. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7124. 2005-03-22 Jonathan Chambers <[email protected]>
  7125. * CategoryGridEntry.cs: Added
  7126. * GridItem.cs: Added helper properties
  7127. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7128. * GridEntry.cs: Updated code for collection
  7129. * PropertyGrid.cs: Cleaned up some formatting
  7130. * PropertyGridView.cs: Added drop down functionality for enums.
  7131. * GridItemCollection.cs: Added enumerator logic
  7132. * PropertyGridEntry.cs: Added
  7133. 2005-03-19 Alexander Olk <[email protected]>
  7134. * FileDialog.cs:
  7135. - Removed unnecessary commented code
  7136. - Fixed handling for entering the filename manually in the combobox
  7137. 2005-03-19 Alexander Olk <[email protected]>
  7138. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7139. 2005-03-18 Peter Bartok <[email protected]>
  7140. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7141. them being touching the border
  7142. 2005-03-18 Peter Bartok <[email protected]>
  7143. * TextControl.cs: Quick hack to center text better
  7144. 2005-03-18 Peter Bartok <[email protected]>
  7145. * ControlPaint.cs:
  7146. - Don't throw NotImplemented exceptions, just print a notice once
  7147. instead (requested by Miguel). This makes running existing SWF
  7148. apps a bit easier
  7149. * Control.cs:
  7150. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7151. - Added context menu trigger on right click
  7152. * Panel.cs: Trigger invalidate on resize
  7153. * StatusBar.cs:
  7154. - Removed old double-buffer drawing
  7155. - Added ResizeRedraw style to force proper update of statusbar
  7156. * ListView.cs:
  7157. - Removed debug output
  7158. * ThemeWin32Classic.cs:
  7159. - Fixed drawing of status bar, now draws Text property if there
  7160. are no defined panels
  7161. 2005-03-18 Jackson Harper <[email protected]>
  7162. * ImageList.cs: When the image stream is set pull all the images
  7163. from it.
  7164. * ImageListStreamer.cs: Implement reading image list streams.
  7165. 2005-03-18 Peter Bartok <[email protected]>
  7166. * ThemeWin32Classic.cs (DrawPictureBox):
  7167. - Fixed calculations for centered drawing
  7168. - Fixed drawing for normal mode, not scaling the image on normal
  7169. 2005-03-18 Peter Bartok <[email protected]>
  7170. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  7171. textbox
  7172. * FileDialog.cs:
  7173. - Made Open/Save button the accept button for FileDialog
  7174. - Tied the cancel button to the IButtonControl cancel button
  7175. - Save/Open now properly builds the pathname
  7176. - Now handles user-entered text
  7177. - Preventing crash on right-click if no item is selected
  7178. - Fixed Text property, now uses contents of textbox
  7179. - Fixed SelectedText property, now just returns the text part that
  7180. is selected in the text box
  7181. 2005-03-18 Jackson Harper <[email protected]>
  7182. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  7183. rect, make sure to de-adjust the interior rect after drawing the
  7184. tab text.
  7185. 2005-03-18 Peter Bartok <[email protected]>
  7186. * MenuAPI.cs: Remove menu *before* executing selected action to
  7187. prevent the menu from 'hanging around'
  7188. 2005-03-17 Geoff Norton <[email protected]>
  7189. * XplatUIOSX.cs: Implemented WorkingArea property
  7190. 2005-03-17 Peter Bartok <[email protected]>
  7191. * XplatUIX11.cs: Fixed menu coord calculations
  7192. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  7193. for calculating offsets
  7194. 2005-03-17 Peter Bartok <[email protected]>
  7195. * Hwnd.cs: Do not consider menu presence for default client
  7196. rectangle location/size
  7197. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7198. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  7199. translation functions
  7200. * FileDialog.cs: Fixed (what I presume is a) typo
  7201. 2005-03-17 Jonathan Gilbert <[email protected]>
  7202. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  7203. X access (avoids X-Async errors)
  7204. 2005-03-16 Jackson Harper <[email protected]>
  7205. * TabControl.cs: Raise the SelectedIndexChanged event.
  7206. 2005-03-16 Alexander Olk <[email protected]>
  7207. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7208. - Removed vertical ToolBar and replaced it with a custom panel
  7209. (desktop and home button already work)
  7210. - Added Help button (some controls get resized or relocated then)
  7211. - Draw correct text depending on Open or Save.
  7212. - Fixed some typos...
  7213. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  7214. * ScrollBar.cs:
  7215. - Only change Maximum and Minimum when need it (bug fix)
  7216. 2005-03-15 Peter Bartok <[email protected]>
  7217. * Form.cs: Use Handle for icon, to trigger creation if
  7218. the window does not yet exist
  7219. * Control.cs:
  7220. - CanSelect: Slight performance improvement
  7221. - Focus(): Preventing possible recursion
  7222. - Invalidate(): Removed ControlStyle based clear flag setting
  7223. - WM_PAINT: fixed logic for calling OnPaintBackground
  7224. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  7225. EraseWindowBackground if the control doesn't paint background
  7226. * XplatUIWin32.cs:
  7227. - Moved EraseWindowBackground() method to internal methods
  7228. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  7229. is sent via SendMessage on BeginPaint call on Win32
  7230. * XplatUIX11.cs:
  7231. - Added EraseWindowBackground() method
  7232. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  7233. PaintEventStart, which more closely matches Win32 behaviour
  7234. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  7235. - Fixed SetFocus() to properly deal with client and whole windows
  7236. * Hwnd.cs: Added ErasePending property
  7237. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  7238. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  7239. 2005-03-12 Geoff Norton <[email protected]>
  7240. * XplatUIOSX.cs:
  7241. - Fix hard loop when timers exist.
  7242. - Fix bugs with middle and right click for 3 button mice.
  7243. 2005-03-11 Peter Bartok <[email protected]>
  7244. * XplatUIX11.cs:
  7245. - get_WorkingArea: Need to call X directly, GetWindowPos only
  7246. returns cached data now
  7247. - Added sanity check to GetWindowPos hwnd usage
  7248. 2005-03-11 Jackson Harper <[email protected]>
  7249. * BindingManagerBase.cs: This method isn't used anymore as
  7250. PullData now updates the data in the control.
  7251. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  7252. * Form.cs: fixes menu drawing on X11
  7253. * MenuAPI.cs: fixes menu drawing on X11
  7254. 2005-03-11 Peter Bartok <[email protected]>
  7255. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  7256. from Jonathan Gilbert; should fix bug #73606
  7257. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  7258. in Screen coordinates. Thanks, Jordi.
  7259. * Form.cs: Added missing attribute
  7260. 2005-03-11 Peter Bartok <[email protected]>
  7261. * Form.cs:
  7262. - Rudimentary Mdi support
  7263. - Removed outdated FormParent code
  7264. - Implemented lots of missing properties and methods, still missing
  7265. transparency support
  7266. - Added missing attributes
  7267. - Implemented support for MaximumBounds
  7268. - Added firing of various events
  7269. * XplatUI.cs: Added SetIcon() method
  7270. * XplatUIDriver.cs: Added SetIcon() abstract
  7271. * XplatUIOSX.cs: Stubbed out SetIcon() method
  7272. * XplatUIX11.cs:
  7273. - Implemented SetIcon() support
  7274. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  7275. - Switched to unix line endings
  7276. * XplatUIWin32.cs:
  7277. - Made POINT internal so for can access it as part of MINMAX
  7278. - Implemented SetIcon() support
  7279. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  7280. native Mdi support again, might have to go managed)
  7281. * Control.cs: Now fires the StyleChanged event
  7282. * MdiClient.cs: Added; still mostly empty
  7283. 2005-03-10 Peter Bartok <[email protected]>
  7284. * SaveFileDialog.cs: Added emtpy file
  7285. 2005-03-08 Peter Bartok <[email protected]>
  7286. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  7287. in turn triggers OnCreateContro) when creating a handle for the
  7288. first time.
  7289. * TextControl.cs: Fixed endless loop in certain cases when
  7290. replacing the current selection
  7291. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  7292. * ScrollBar.cs:
  7293. - Honors NewValue changes in Scroll events allowing apps to change it
  7294. - Adds First and Last Scroll events
  7295. - Fixes Thumb events
  7296. 2005-03-07 Peter Bartok <[email protected]>
  7297. * Hwnd.cs: Added DefaultClientRectangle property
  7298. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  7299. more detailed debug information
  7300. * XplatUIX11.cs:
  7301. - Fixed size-change feedback loop, where we would pull an old size
  7302. off the queue and mistakenly change our window's size to an
  7303. earlier value
  7304. - Now compressing ConfigureNotify events, to reduce looping and
  7305. redraw issues
  7306. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  7307. is called
  7308. 2005-03-07 Jackson Harper <[email protected]>
  7309. * Binding.cs: Push data pushes from data -> property. Check if the
  7310. property is readonly when attempting to set it.
  7311. 2005-03-07 Jackson Harper <[email protected]>
  7312. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  7313. instead of IsSubclassOf. Pulling data now sets the value on the
  7314. control.
  7315. * PropertyManager.cs:
  7316. * CurrencyManager.cs: Just need to pull data when updating now,
  7317. because PullData will set the value on the control.
  7318. 2005-03-04 Jackson Harper <[email protected]>
  7319. * Binding.cs: Implement data type parsing and converting on pulled
  7320. data. TODO: Are there more ways the data can be converted?
  7321. 2005-03-04 Jackson Harper <[email protected]>
  7322. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  7323. controls Validating method so we can repull the data when the
  7324. control loses focus.
  7325. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  7326. * ColumnHeader.cs:
  7327. - Fixes null string format
  7328. * ListView.cs:
  7329. - Adds enum type checks
  7330. - Fixes redrawing and recalc need after changing some properties
  7331. - Fixes on focus_item set after the event
  7332. - Fixes adding columns after the control has been created
  7333. * ThemeWin32Classic.cs:
  7334. - Fixes CheckBox focus rectangle
  7335. - Fixes ColumnHeader drawing
  7336. 2005-03-03 Jackson Harper <[email protected]>
  7337. * Binding.cs: Bind to <Property>Changed events so we can detect
  7338. when properties are changed and update the data.
  7339. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  7340. * ImageList.cs:
  7341. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  7342. - Fixes ImageList constructor with ImageList container
  7343. - Fixes image scaling (wrong parameters at DrawImage)
  7344. 2005-02-02 Jackson Harper <[email protected]>
  7345. * Binding.cs: Make property searches case-insensitive. Eliminate
  7346. some duplicated code.
  7347. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  7348. * ComboBox.cs:
  7349. - Handle focus event
  7350. - Fix scrollbar events
  7351. - Discard highlighted item if remove it
  7352. - Fixes SelectedItem with strings
  7353. 2005-03-01 Peter Bartok <[email protected]>
  7354. * Control.cs:
  7355. - Fixed Visible property, now follows (once again) parent chain
  7356. to return false if any control in the chain is visible=false
  7357. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  7358. - Fixed several places where is_visible instead of Visible was used
  7359. - Implemented FIXME related to focus selection when setting focused
  7360. control to be invisible
  7361. * XplatUIWin32.cs: Now using proper method to find out if window is
  7362. visible. Thanks to Jordi for pointing it out
  7363. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  7364. * ComboBox.cs: show/hide scrollbar instead of creating it
  7365. 2005-02-27 Jackson Harper <[email protected]>
  7366. * CurrencyManager.cs: Add PositionChanged stuff.
  7367. 2005-02-27 Peter Bartok <[email protected]>
  7368. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  7369. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  7370. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  7371. * XplatUIX11.cs:
  7372. - Implemented GetMenuDC()
  7373. - Implemented GetMenuOrigin()
  7374. - Implemented ReleaseMenuDC()
  7375. - Implemented generation of WM_NCPAINT message
  7376. - Implemented generation and handling of WM_NCCALCSIZE message
  7377. * Form.cs: Added debug helper message for Jordi's menu work
  7378. * Hwnd.cs:
  7379. - Modified ClientRect property; added setter, fixed getter to handle
  7380. setting of ClientRect
  7381. - Added MenuOrigin property
  7382. 2005-02-26 Peter Bartok <[email protected]>
  7383. * XplatUIX11.cs:
  7384. - Destroys the caret if a window that's being destroyed contains it
  7385. - Ignores expose events coming from the X11 queue for windows that
  7386. already are destroyed
  7387. - Now uses the proper variable for handling DestroyNotify, before we
  7388. marked the wrong window as destroyed
  7389. - Improved/added some debug output
  7390. 2005-02-26 Peter Bartok <[email protected]>
  7391. * X11Keyboard.cs: Fixes to work on 64bit systems
  7392. 2005-02-26 Peter Bartok <[email protected]>
  7393. * Control.cs:
  7394. - Now calling OnHandleDestroyed from DestroyHandle()
  7395. instead of Dispose()
  7396. - Removed bogus call to controls.Remove() from DestroyHandle()
  7397. 2005-02-26 Peter Bartok <[email protected]>
  7398. * Control.cs: Properly destroy child windows when our handle is
  7399. destroyed
  7400. 2005-02-25 Peter Bartok <[email protected]>
  7401. * XplatUI.cs:
  7402. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  7403. - Alphabetized Static Methods and Subclasses
  7404. * XplatUIX11.cs:
  7405. - Added XException class to allow custom handling of X11 exceptions
  7406. - Created custom X11 error handler, tied into XException class
  7407. - Added support for MONO_XEXCEPTIONS env var to allow the user
  7408. to either throw an exception on X errors or continue running
  7409. after displaying the error
  7410. - Added handling of DestroyNotify message
  7411. - Added handler for CreateNotify message (still disabled)
  7412. - Improved (tried to at least) Where method to provide file and lineno
  7413. * X11Structs.cs:
  7414. - Added XErrorHandler delegate
  7415. - Added XRequest enumeration (to suppor translation of errors)
  7416. 2005-02-25 Jackson Harper <[email protected]>
  7417. * PropertyManager.cs: Implement editing features
  7418. * CurrencyManager.cs:
  7419. * Binding.cs: First attempt at UpdateIsBinding
  7420. * BindingManagerBase.cs: Call UpdateIsBinding before
  7421. pushing/pulling data.
  7422. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  7423. * MenuAPI.cs: Respect disabled items
  7424. * ThemeWin32Classic.cs
  7425. - Caches ImageAttributes creation for DrawImageDisabled
  7426. - Fixes vertical menu line drawing
  7427. - Draws disabled arrows in disable menu items
  7428. 2005-02-24 Peter Bartok <[email protected]>
  7429. * Hwnd.cs:
  7430. - Added UserData property to allow associating arbitrary objects
  7431. with the handle
  7432. - Fixed leak; now removing Hwnd references from static windows array
  7433. * XplatUIWin32.cs:
  7434. - Fixed Graphics leak in PaintEventEnd
  7435. - Removed usage of HandleData, switched over to Hwnd class
  7436. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  7437. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7438. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  7439. * ScrollBar.cs: Fixes bug
  7440. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  7441. keyboard navigation enhancements
  7442. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7443. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  7444. * GroupBox.cs: Add control styles
  7445. * Label.cs: Add control styles
  7446. * UpDownBase.cs: Add control styles
  7447. * ListBox.cs: Add control styles
  7448. * XplatUIWin32.cs: Fixes wrong parameter order
  7449. 2005-02-23 Chris Bacon <[email protected]>
  7450. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  7451. 2005-02-23 Jackson Harper <[email protected]>
  7452. * PropertyManager.cs: Implement property binding. This doesn't
  7453. seem to work yet though as (I think) there are some bugs in
  7454. System.ComponentModel.PropertyDescriptor.
  7455. * BindingContext.cs: Use new PropertyManager constructor.
  7456. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  7457. * ProgressBar.cs: use clip region in ProgressBar
  7458. * ThemeWin32Classic.cs: use clip region in ProgressBar
  7459. 2004-02-22 Jackson Harper <[email protected]>
  7460. * BindingsCollection.cs: Remove some debug code.
  7461. 2005-02-22 Jackson Harper <[email protected]>
  7462. * BindingContext.cs:
  7463. * ControlBindingsCollection.cs:
  7464. * CurrencyManager.cs:
  7465. * Binding.cs:
  7466. * BindingManagerBase.cs: Initial implementation
  7467. * BindingsCollection.cs: Add an internal contains method that the
  7468. BindingManagerBase uses to ensure bindings aren't added twice to
  7469. the collection.
  7470. * PropertyManager.cs: Stubbed out.
  7471. * Control.cs:
  7472. * ContainerControl.cs: Hook up databinding
  7473. 2005-02-22 Geoff Norton <[email protected]>
  7474. * XplatUIOSX.cs:
  7475. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  7476. Fixed Invalidate/Update chain.
  7477. Fixed tons of other minor bugs (this is almost a complete rewrite).
  7478. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  7479. * ComboBox.cs: do subcontrol creation when the control is created
  7480. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7481. * Label.cs: fixes image drawing (image and imagelist)
  7482. * ThemeWin32Classic.cs: cache brushes
  7483. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7484. * Form.cs: Move menu drawing code to Theme class
  7485. * ComboBox.cs: Move ComboBox drawing code to Theme class
  7486. * MenuItem.cs: Move menu drawing code to Theme class
  7487. * MenuAPI.cs: Move menu drawing code to Theme class
  7488. * ThemeWin32Classic.cs: New methods
  7489. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  7490. * ListBox.cs: Move Listbox drawing code to Theme class
  7491. * Theme.cs: New methods
  7492. 2005-02-20 Peter Bartok <[email protected]>
  7493. * Control.cs:
  7494. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  7495. only process mnemonics on those)
  7496. - Fixed event sequence for key handling; first calling
  7497. ProcessKeyEventArgs now
  7498. * TextBoxBase.cs:
  7499. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  7500. for processing non-character keys
  7501. - Fixed WM_CHAR to generate proper event sequence before processing
  7502. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  7503. generation
  7504. 2005-02-19 Peter Bartok <[email protected]>
  7505. * UserControl.cs: Added TextChanged event; added attributes
  7506. * SizeGrip.cs: Implemented resizing and optional display of grip
  7507. * Form.cs: Fixed attribute
  7508. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7509. Changed meaning of ScrollWindow bool argument; instead of the
  7510. clear attribute (which will be true usually anyway), it gives the
  7511. option of moving child controls as well.
  7512. * XplatUIX11.cs:
  7513. - Changed to match new ScrollWindow argument
  7514. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  7515. now handles the implicit parent window a WM puts around us
  7516. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  7517. to work)
  7518. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  7519. * TreeView.cs: Adjusted to new ScrollWindow arguments
  7520. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7521. * Form.cs: Menu integration with non-client area
  7522. * MenuItem.cs: Menu integration with non-client area
  7523. * MenuAPI.cs: Menu integration with non-client area
  7524. 2005-02-18 Peter Bartok <[email protected]>
  7525. * MethodInvoker.cs: Added
  7526. * MdiLayout.cs: Added
  7527. * SendKeys.cs: Started implementation
  7528. * ErrorIconAlignment.cs: Added
  7529. 2005-02-18 Peter Bartok <[email protected]>
  7530. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  7531. * Form.cs: Added handling for Menu-related Non-client messages
  7532. 2005-02-17 Peter Bartok <[email protected]>
  7533. * UpDownBase.cs: Fixed typo, compilation errors
  7534. * DomainUpDown.cs: Fixed attribute value
  7535. 2005-02-16 Miguel de Icaza <[email protected]>
  7536. * UpDownBase.cs: Attach entry events.
  7537. Propagate events.
  7538. Add ForeColor property, Focused, InterceptArrowKeys (interception
  7539. does not work yet).
  7540. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  7541. * Form.cs:
  7542. - Redraw non client are on Setmenu
  7543. - Calc proper menu starting point
  7544. 2005-02-17 Peter Bartok <[email protected]>
  7545. * Application.cs: Fixed message_filter check
  7546. 2005-02-17 Peter Bartok <[email protected]>
  7547. * Application.cs: Now calls registered message filters
  7548. * DockStyle.cs: Fixed attribute
  7549. * Form.cs: Fixed attribute
  7550. * Menu.cs: Fixed attribute
  7551. * ToolTip.cs: Fixed attribute
  7552. * TreeNode.cs: Added missing attributes and arranged in regions
  7553. * PropertyGrid.cs: Fixed signatures
  7554. * TreeNodeCollection.cs: Added attributes
  7555. * Splitter.cs: Added missing attributes; arranged into regions
  7556. * TabPage.cs: Added missing attributes; arranged into regions
  7557. * TextBoxBase.cs: Added missing attributes
  7558. * TextBox.cs: Added missing attributes
  7559. * ArrangeDirection.cs: Added missing attributes
  7560. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  7561. * ToolBarButton.cs: Fixed attributes
  7562. * AnchorStyles.cs: Fixed attribute
  7563. * TrackBar.cs: Fixed attributes
  7564. * TabControl.cs: Added missing attributes and arranged into regions
  7565. * ToolBar.cs: Fixed attribute
  7566. * StatusBar.cs: Fixed signature, organized into regions and added
  7567. attributes
  7568. * StatusBarPanel.cs: Fixed attributes
  7569. * ContentsResizedEventArgs.cs: Implemented
  7570. * ContentsResizedEventHandler.cs: Implemented
  7571. * DateBoldEventArgs.cs: Implemented
  7572. * DateBoldEventHandler.cs: Implemented
  7573. * UpDownEventArgs.cs: Implemented
  7574. * UpDownEventHandler.cs: Implemented
  7575. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  7576. * Form.cs: first Menu NC refactoring
  7577. * MenuAPI.cs: first Menu NC refactoring
  7578. 2005-02-16 Peter Bartok <[email protected]>
  7579. * ImeMode.cs: Added missing attributes
  7580. * Menu.cs: Fixed attribute
  7581. * GroupBox.cs: Fixed attribute
  7582. * Label.cs: Fixed attribute
  7583. * ColorDialog.cs (RunDialog): Removed TODO attribute
  7584. * ComboBox.cs: Fixed attributes
  7585. * ListControl.cs: Added missing attributes
  7586. * PropertyGrid.cs: Fixed attributes
  7587. * Control.cs: Fixed attributes
  7588. * ListViewItem.cs: Added TypeConverter attribute
  7589. * NotifyIcon.cs: Fixed attributes
  7590. * ListView.cs: Fixed attributes
  7591. * ButtonBase.cs: Fixed attribute
  7592. * ImageList.cs: Added missing attributes
  7593. * ContainerControl.cs: Fixed signature
  7594. * CheckedListBox.cs: Fixed attribute; added missing attributes
  7595. * Panel.cs: Fixed attributes
  7596. * PropertyTabChangedEventArgs.cs: Added missing attribute
  7597. * PropertyValueChangedEventArgs.cs: Added missing attribute
  7598. * Binding.cs: Fixed attribute
  7599. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  7600. * ListBox.cs: Fixed attribute; added missing attributes;
  7601. * ScrollableControl.cs: Added missing attributes
  7602. * PictureBox.cs: Added missing attributes; implemented missing property
  7603. * DateTimePicker.cs: Added missing attributes
  7604. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  7605. * MonthCalendar.cs: Fixed attributes
  7606. * StatusBarPanel.cs: Added missing attributes
  7607. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  7608. 2005-02-16 Peter Bartok <[email protected]>
  7609. * TextBoxBase.cs: The previous method to enforce height yet remember
  7610. the requested high was less than ideal, this is an attempt to do
  7611. it better.
  7612. * Control.cs: Added comment about possible problem
  7613. * Copyright: Updated format
  7614. * GridItemType.cs: Fixed swapped values
  7615. 2005-02-15 Jackson Harper <[email protected]>
  7616. * BaseCollection.cs: Use property so we never access an
  7617. uninitialized list. Also initialize the list in the property.
  7618. 2005-02-15 Peter Bartok <[email protected]>
  7619. * GroupBox.cs (ProcessMnemonic): Implemented
  7620. * Label.cs (ProcessMnemonic): Implemented
  7621. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  7622. hotkeys
  7623. 2005-02-15 Peter Bartok <[email protected]>
  7624. * RadioButton.cs (ProcessMnemonic): Implemented
  7625. * CheckBox.cs (ProcessMnemonic): Implemented
  7626. * Control.cs:
  7627. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  7628. handling
  7629. - Added internal method to allow calling ProcessMnemonic from other
  7630. controls
  7631. * ContainerControl.cs:
  7632. - Started support for handling validation chain handling
  7633. - Implemented ProcessMnemonic support
  7634. - Added Select() call to Active, to make sure the active control
  7635. receives focus
  7636. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  7637. FormParent rewrite)
  7638. * ThemeWin32Classic.cs:
  7639. - DrawCheckBox(): Fixed stringformat to show hotkeys
  7640. - DrawRadioButton(): Fixed stringformat to show hotkeys
  7641. * CommonDialog.cs: Removed WndProc override, not needed
  7642. 2005-02-14 Peter Bartok <[email protected]>
  7643. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  7644. missed those in the rewrite
  7645. 2005-02-14 Miguel de Icaza <[email protected]>
  7646. * NumericUpDown.cs (Increment, ToString): Add.
  7647. (DecimalPlaces): implement.
  7648. Add attributes.
  7649. * UpDownBase.cs: Add the designer attributes.
  7650. 2005-02-13 Peter Bartok <[email protected]>
  7651. * Panel.cs: Removed border_style, now in Control
  7652. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  7653. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  7654. 2005-02-13 Peter Bartok <[email protected]>
  7655. * MouseButtons.cs: Added missing attributes
  7656. * XplatUIStructs.cs: Added enumeration for title styles
  7657. * LeftRightAlignment.cs: Added missing attributes
  7658. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  7659. it compatible with Graphics.FromHwnd()
  7660. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  7661. * Keys.cs: Added missing attributes
  7662. * SelectionRange.cs: Added missing attributes
  7663. * SelectionRangeConverter.cs: Added
  7664. * XplatUI.cs:
  7665. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  7666. ReleaseMenuDC methods
  7667. - Renamed ReleaseWindow to UngrabWindow
  7668. - Added proper startup notice to allow version identification
  7669. * Form.cs:
  7670. - Added missing attributes
  7671. - Removed FormParent concept
  7672. * Label.cs: Removed border_style field, now in Control
  7673. * RadioButton.cs: Now properly selects RadioButton when focus is
  7674. received
  7675. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  7676. * Control.cs:
  7677. - Added missing attributes
  7678. - Added borderstyle handling
  7679. - Removed FormParent concept support
  7680. - Fixed calls to XplatUI to match changed APIs
  7681. - Fixed bug that would case us to use disposed Graphics objects
  7682. - Removed unneeded internal methods
  7683. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  7684. - SelectNextControl(): Fixed to properly check common parents
  7685. * TextBoxBase.cs: Removed border_style field (now in Control)
  7686. * MessageBox.cs:
  7687. - Patch by Robert Thompson ([email protected]): Added icon support,
  7688. fixed calculations for form size
  7689. - Added support for localized strings and icons
  7690. - Improved form size calculations, added border
  7691. * ListView.cs: Removed border_style field (now in Control)
  7692. * X11Structs.cs: Moved several structs from X11 driver here
  7693. * X11Keyboard.cs: Changed debug message
  7694. * Application.cs: Removed FormParent concept support
  7695. * CommonDialog.cs:
  7696. - Resetting end_modal flag
  7697. - Removed FormParent concept support
  7698. * NativeWindow.cs: Removed FormParent concept support
  7699. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  7700. Client area and Non-Client whole window to allow support for WM_NC
  7701. messages
  7702. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  7703. prevent using it until it supports Hwnd as per Geoff Norton's request
  7704. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  7705. * PictureBox.cs: Removed border_style field, now in Control
  7706. * XplatUIWin32.cs: Added new driver methods
  7707. 2005-02-12 Peter Bartok <[email protected]>
  7708. * OpacityConverter.cs: Implemented
  7709. * Hwnd.cs: Internal class to support drivers that need to emulate
  7710. client area/non-client area window behaviour
  7711. 2005-02-11 Peter Bartok <[email protected]>
  7712. * KeysConverter.cs: Implemented
  7713. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  7714. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  7715. * LinkLabel: Added missing attributes
  7716. * MainMenu.cs: fixes ToString
  7717. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  7718. * ListBox.cs: fixes event position
  7719. * TrackBar.cs: adds missing attributes and events
  7720. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  7721. * MenuItem.cs: Use SystemInformation and bug fixes
  7722. * MenuAPI.cs: Use SystemInformation and bug fixes
  7723. 2005-02-09 Jackson Harper <[email protected]>
  7724. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  7725. their keystate otherwise things like VK_MENU get stuck "on".
  7726. 2005-02-09 Kazuki Oikawa <[email protected]>
  7727. * ListBox.cs: Fixes AddRange bug
  7728. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  7729. * ProgressBar.cs
  7730. - Add missing attributes
  7731. - Add missing method
  7732. * CheckedListBox.cs: Added missing attributes
  7733. - Add missing attributes
  7734. - Remove extra method
  7735. * ComboBox.cs: Added missing attributes
  7736. * VScrollBar.cs: Added missing attributes
  7737. * ScrollBar.cs: Added missing attributes
  7738. * ListBox.cs: Fixes signature, add missing consts
  7739. * LinkArea.cs: Added missing attributes
  7740. 2005-02-08 Peter Bartok <[email protected]>
  7741. * Menu.cs: Added missing attributes
  7742. * MainMenu.cs: Added missing attributes
  7743. * GroupBox.cs: Added missing attributes
  7744. * Label.cs: Added missing attributes
  7745. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  7746. * ColorDialog.cs:
  7747. - Added Instance and Options properties
  7748. - Added missing attributes
  7749. * Cursor.cs: Made Serializable
  7750. * NotifyIcon: Added missing attributes
  7751. * MenuItem.cs: Added missing attributes
  7752. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  7753. * Panel.cs: Added Missing attributes
  7754. * MonthCalendar.cs: Fixed CreateParams
  7755. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7756. * LinkLabel.cs:
  7757. - Fixes signature
  7758. - Fixes issues with links
  7759. - Adds the class attributes
  7760. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7761. * ComboBox.cs:
  7762. - Fixes button when no items available in dropdown
  7763. - Fixes repainting problems
  7764. - Adds the class attributes
  7765. 2005-02-07 Geoff Norton <[email protected]>
  7766. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  7767. the current theme. Cache these on startup.
  7768. 2005-02-07 Jackson Harper <[email protected]>
  7769. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  7770. the scrollbar buttons when they are depressed.
  7771. 2005-02-07 Geoff Norton <[email protected]>
  7772. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  7773. Get the display size from the main displayid. We currently dont
  7774. support multiple display configurations.
  7775. 2005-02-07 Geoff Norton <[email protected]>
  7776. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  7777. 2005-02-07 Miguel de Icaza <[email protected]>
  7778. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  7779. 2005-02-05 Jonathan Chambers <[email protected]>
  7780. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  7781. 2005-02-04 Jackson Harper <[email protected]>
  7782. * ThemeWin32Classic.cs: Respect the clipping rect when
  7783. drawing. Only fill the intersection of clips and rects so there
  7784. isn't a lot of large fills.
  7785. * ScrollBar.cs: Pass the correct clipping rect to the theme
  7786. engine. Remove some debug code.
  7787. 2005-02-05 John BouAntoun <[email protected]>
  7788. * DateTimePicker.cs:
  7789. - Fixed crash on DateTime.Parse, use Constructor instead
  7790. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  7791. * MenuItem.cs:
  7792. * MenuAPI.cs:
  7793. - Owner draw support (MeasureItem and DrawItem)
  7794. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  7795. * Menu.cs:
  7796. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  7797. - Fixes MenuItems.Add range
  7798. * MenuItem.cs:
  7799. - MergeMenu and Clone and CloneMenu functions
  7800. 2005-02-03 Jackson Harper <[email protected]>
  7801. * ScrollBar.cs: Make abstract
  7802. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  7803. is abstract.
  7804. 2005-02-03 Jackson Harper <[email protected]>
  7805. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  7806. all the unneeded refreshes and uses invalidates with properly
  7807. computed rects.
  7808. 2005-02-03 Peter Bartok <[email protected]>
  7809. * ComponentModel.cs: Added
  7810. * IDataGridEditingService.cs: Added
  7811. * Timer.cs: Added missing attributes
  7812. * ToolTip.cs: Added missing attributes
  7813. 2005-02-03 Jonathan Chambers <[email protected]>
  7814. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  7815. 2005-02-03 Peter Bartok <[email protected]>
  7816. * ListBox.cs: Added missing attributes
  7817. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  7818. * ListBox.cs:
  7819. - Fixes font height after font change
  7820. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  7821. 2005-02-02 Peter Bartok <[email protected]>
  7822. * HandleData.cs: Introduced static methods to allow class
  7823. to be more self-contained and track it's own HandleData objects
  7824. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  7825. HandleData to use new static methods
  7826. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  7827. * Combobox.cs:
  7828. - Fixes default size and PreferredHeight
  7829. - Missing events
  7830. - ObjectCollection.Insert implementation
  7831. * ListControl.cs
  7832. - Fixes signature
  7833. * ListBox.cs:
  7834. - Several fixes
  7835. - ObjectCollection.Insert implementation
  7836. - No selection after clean
  7837. - Small fixes
  7838. 2005-01-31 John BouAntoun <[email protected]>
  7839. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  7840. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  7841. * Combobox.cs:
  7842. - Caches ItemHeight calculation for OwnerDrawVariable
  7843. - Handles dropdown properly
  7844. - Fixes several minor bugs
  7845. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  7846. * ListBox.cs:
  7847. - Fixes 71946 and 71950
  7848. - Fixes changing Multicolumn on the fly
  7849. - Fixes keyboard navigation on Multicolumn listboxes
  7850. 2005-01-31 Geoff Norton <[email protected]>
  7851. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  7852. crash reporter log.
  7853. 2005-01-31 Geoff Norton <[email protected]>
  7854. * XplatUIOSX.cs: Allow applications to actually exit.
  7855. 2005-01-31 Geoff Norton <[email protected]>
  7856. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  7857. their parent at creation time rather than lazily later. Fixes a major
  7858. regression we were experiencing.
  7859. 2005-01-31 John BouAntoun <[email protected]>
  7860. * ThemeWin32Classic.cs: more date time picker painting fixes
  7861. * DateTimePicker.cs: more monthcalendar drop down fixes
  7862. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  7863. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  7864. * ScrollBar.cs:
  7865. - When moving the thumb going outside the control should stop the moving
  7866. - Adds the firing of missing events
  7867. - Fixes no button show if Size is not specified
  7868. - End / Home keys for keyboard navigation
  7869. 2005-01-30 Peter Bartok <[email protected]>
  7870. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  7871. sanity check to prevent theoretical loop
  7872. * XplatUIWin32.cs (SetVisible): Removed debug output
  7873. * XplatUIX11.cs (SystrayChange): Added sanity check
  7874. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  7875. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  7876. behaviour, valid until the X11 client window rewrite is done
  7877. * TextBox.cs (ctor): Setting proper default foreground and background
  7878. colors
  7879. 2005-01-30 John BouAntoun <[email protected]>
  7880. * Theme: Added DrawDateTimePicker to interface
  7881. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  7882. * DateTimePicker.cs: Created (still needs keys and painting code)
  7883. * DateTimePickerFormat.cs: added
  7884. * MonthCalendar.cs: fixed CreateParams for popup window mode
  7885. 2005-01-29 Peter Bartok <[email protected]>
  7886. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  7887. this should also the calculations for ligher/darker
  7888. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  7889. 2005-01-29 Peter Bartok <[email protected]>
  7890. * ArrangeDirection.cs: Added
  7891. * ArrangeStartingPositon.cs: Added
  7892. * SystemInformation.cs: Implemented
  7893. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7894. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  7895. used by SystemInformation class
  7896. * X11Strucs.cs: Added XSizeHints structure
  7897. * MenuAPI.cs:
  7898. - Fixed CreateParams to make sure the menu window is always visible
  7899. - TrackPopupMenu: Added check to make sure we don't draw the
  7900. menu offscreen
  7901. 2005-01-29 Peter Bartok <[email protected]>
  7902. * HandleData.cs: Added method for altering invalid area
  7903. * TextBoxBase.cs: Implemented TextLength
  7904. 2005-01-28 Peter Bartok <[email protected]>
  7905. * XplatUIX11.cs: Improvement over last patch, not sending
  7906. the WM_PAINT directly anymore, instead we scroll any pending
  7907. exposed areas and let the system pick out the WM_PAINT later
  7908. 2005-01-28 Peter Bartok <[email protected]>
  7909. * SWF.csproj: Deleted, no longer used. Instead,
  7910. Managed.Windows.Forms/SWF.csproj should be used
  7911. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  7912. directly, to avoid a potential race condition with the next
  7913. scroll
  7914. 2005-01-28 Peter Bartok <[email protected]>
  7915. * XplatUI.cs: Made class internal
  7916. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  7917. * CheckedListBox.cs:
  7918. - Draw focus
  7919. - Fixed Drawing
  7920. - Missing methods and events
  7921. 2005-01-27 Peter Bartok <[email protected]>
  7922. * Application.cs (Run): Don't use form if we don't have one
  7923. 2005-01-27 Peter Bartok <[email protected]>
  7924. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  7925. 2005-01-27 Peter Bartok <[email protected]>
  7926. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  7927. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  7928. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  7929. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  7930. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  7931. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  7932. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7933. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  7934. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7935. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7936. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7937. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  7938. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  7939. * Combobox.cs:
  7940. - Draw focus on Simple Combobox
  7941. - Fixes drawing issues
  7942. - fixes 71834
  7943. 2005-01-27 Peter Bartok <[email protected]>
  7944. * Form.cs:
  7945. - Place window in default location, instead of hardcoded 0/0
  7946. - Send initial LocationChanged event
  7947. * Control.cs:
  7948. - UpdateBounds after creation to find out where the WM placed us
  7949. - Make sure that if the ParentForm changes location the Form
  7950. is notified
  7951. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  7952. to the root, but to whatever the WM placed around us.
  7953. Translate to root coordinates before returning toplevel
  7954. coordinates
  7955. * XplatUIWin32.cs: Removed debug output
  7956. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  7957. flag to GetWindowPos, to allow translation of coordinates on X11
  7958. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  7959. * ListBox.cs: connect LostFocus Event
  7960. 2005-01-27 Peter Bartok <[email protected]>
  7961. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  7962. XplatUIX11.cs: Extended the Systray API
  7963. * Form.cs: Removed debug output
  7964. * Application.cs: Fixed focus assignment, always need to call
  7965. XplatUI.Activate() since Form.Activate() has rules that may
  7966. prevent activation
  7967. * NotifyIcon.cs: Should be complete now
  7968. * ToolTip.cs: Worked around possible timer bug
  7969. 2005-01-27 Jackson Harper <[email protected]>
  7970. * TabControl.cs:
  7971. - Only invalidate the effected tabs when the
  7972. selected index changes. This reduces drawing and gets rid of some
  7973. flicker.
  7974. - Only refresh if the tabs need to be shifted, otherwise only
  7975. invalidate the slider button.
  7976. - On windows the tabs are not filled to right if the slider is
  7977. visible.
  7978. 2005-01-27 Jackson Harper <[email protected]>
  7979. * TabControl.cs: Only refresh on mouseup if we are showing the
  7980. slider. Also only invalidate the button whose state has changed.
  7981. 2005-01-26 Peter Bartok <[email protected]>
  7982. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  7983. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  7984. and SystrayRemove() methods
  7985. * XplatUIOSX.cs: Stubbed Systray methods
  7986. * XplatUIX11.cs:
  7987. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  7988. methods
  7989. - Fixed broken XChangeProperty calls (marshalling messed up things)
  7990. * X11Structs.cs: Added enums and structs required for Size hinting
  7991. * NotifyIcon.cs: Added & implemented
  7992. 2005-01-26 Jackson Harper <[email protected]>
  7993. * TabControl.cs: Space vertically layed out tabs properly.
  7994. 2005-01-26 Peter Bartok <[email protected]>
  7995. * Form.cs (CreateClientParams): Always set the location to 0,0
  7996. since we're a child window.
  7997. * Control.cs (SetVisibleCore): Always explicitly setting the location
  7998. of a toplevel window, apparently X11 doesn't like to move windows
  7999. while they're not mapped.
  8000. 2005-01-26 Jackson Harper <[email protected]>
  8001. * TabControl.cs: Implement FillToRight size mode with vertically
  8002. rendered tabs.
  8003. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8004. * ControlPaint.cs, ThemeWin32Classic.cs
  8005. - Fixes DrawFocusRectangle
  8006. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8007. * MenuAPI.cs:
  8008. - MenuBar tracking only starts when item is first clicked
  8009. - Fixes menu hidding for multiple subitems
  8010. - Unselect item in MenuBar when item Executed
  8011. - Fixes bug 71495
  8012. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8013. * ListControl.cs:
  8014. - IsInputKey for ListBox
  8015. * ListBox.cs:
  8016. - Focus item
  8017. - Shift and Control item selection
  8018. - Implement SelectionMode.MultiExtended
  8019. - Fixes RightToLeft
  8020. * ComboBox.cs:
  8021. - IsInputKey implemented
  8022. - Do not generate OnTextChangedEdit on internal txt changes
  8023. 2005-01-23 Peter Bartok <[email protected]>
  8024. * AccessibleObject.cs: Partially implemented Select()
  8025. * MonthCalendar.cs: Added missing attributes and events
  8026. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8027. form can properly override CreateParams.
  8028. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8029. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8030. Control performs Invalidate & Update
  8031. * NativeWindow (CreateHandle): Added special handling for Form
  8032. and Form.FormParent classes to allow overriding of From.CreateParams
  8033. * Control.cs:
  8034. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8035. name 'owner'
  8036. - ControlNativeWindow: Added Owner property
  8037. - Removed usage of Refresh() on property changes, changed into
  8038. Invalidate(), we need to wait until the queue is processed for
  8039. updates, direct calls might cause problems if not all vars for
  8040. Paint are initialized
  8041. - Added call to UpdateStyles() when creating the window, to set any
  8042. styles that CreateWindow might have ignored.
  8043. - Added support for Form CreateParent overrides to UpdateStyles()
  8044. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8045. CreateParams are now properly overridable
  8046. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8047. CreateParams are now properly overridable
  8048. 2005-01-23 Miguel de Icaza <[email protected]>
  8049. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8050. OnTextBoxChanged.
  8051. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8052. recursive invocation that I have not figured out yet.
  8053. Reset the timer when not using (it was accumulating).
  8054. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8055. user has made changes that require validation.
  8056. Reset changing to avoid loops.
  8057. 2005-01-22 Miguel de Icaza <[email protected]>
  8058. * NumericUpDown.cs: Display value at startup.
  8059. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8060. ValidateEditText.
  8061. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8062. filled in. Added some basic parsing of text.
  8063. Still missing the OnXXX method overrides, and figuring out the
  8064. events that must be emitted.
  8065. * UpDownBase.cs: Handle UserEdit on the Text property.
  8066. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8067. * ComboBox.cs:
  8068. - Fixes IntegralHeight
  8069. - ToString method
  8070. 2005-01-21 Jackson Harper <[email protected]>
  8071. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8072. is set so that the page visibility is updated and the tabs are
  8073. sized correctly.
  8074. 2005-01-21 Jackson Harper <[email protected]>
  8075. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8076. theme the clipping rect so we can do clipping while
  8077. drawing. Remove some debug code.
  8078. 2005-01-21 Jackson Harper <[email protected]>
  8079. * TabPage.cs: Add a new method so tab pages can force the tab
  8080. control to recalculate the tab page sizes.
  8081. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8082. sizes.
  8083. 2005-01-20 Jackson Harper <[email protected]>
  8084. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8085. 2005-01-20 Jackson Harper <[email protected]>
  8086. * TreeView.cs: Set the bounds for nodes properly. They were
  8087. getting screwed up when checkboxes were not enabled, but images
  8088. were.
  8089. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8090. * ListBox.cs:
  8091. - Owner draw support
  8092. - Fixes
  8093. 2005-01-20 Jackson Harper <[email protected]>
  8094. * XplatUIStructs.cs: More misc keys
  8095. * X11Keyboard.cs: Ignore some control keys.
  8096. 2005-01-20 Jackson Harper <[email protected]>
  8097. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8098. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8099. 2005-01-19 Peter Bartok <[email protected]>
  8100. * Control.cs: Un-selecting the control when it is loosing focus
  8101. 2005-01-19 Jackson Harper <[email protected]>
  8102. * TreeView.cs: Hook up to the text controls leave event so we can
  8103. end editing when the users clicks outside the text box.
  8104. 2005-01-19 Jackson Harper <[email protected]>
  8105. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8106. get set in the conversion array.
  8107. 2005-01-19 Peter Bartok <[email protected]>
  8108. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8109. focus is properly set
  8110. * Button.cs:
  8111. - Added missing attributes
  8112. - removed styles, those are already set in the base class
  8113. * ButtonBase.cs:
  8114. - Added missing attributes
  8115. - Added clip window styles
  8116. * CheckBox.cs: Added missing attributes
  8117. * CommonDialog.cs:
  8118. - FormParentWindow.CreateParams: Added required clip styles
  8119. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8120. also filters modifier keys
  8121. * MessageBox.cs:
  8122. - Added assignment of Accept and Cancel button to enable Enter
  8123. and Esc keys in MessageBox dialogs
  8124. - FormParentWindow.CreateParams: Added required clip styles
  8125. * RadioButton.cs: Added missing attributes
  8126. * TextControl.cs: No longer draws selection if control does not
  8127. have focus
  8128. * TextBoxBase.cs:
  8129. - Now draws simple rectangle around test area to make it obvious
  8130. there's a control. This is a hack until we properly support borders
  8131. - A few simple fixes to support selections better, now erases selected
  8132. text when typing, and resets selection when using movement keys
  8133. 2005-01-19 Miguel de Icaza <[email protected]>
  8134. * UpDownBase.cs: Added some new properties.
  8135. * DomainUpDown.cs: Implement a lot to get my test working.
  8136. 2005-01-19 Geoff Norton <[email protected]>
  8137. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8138. 2005-01-19 Geoff Norton <[email protected]>
  8139. * OSXStructs (WindowAttributes): Fixed csc complaints
  8140. 2005-01-19 Geoff Norton <[email protected]>
  8141. * XplayUIOSX.cs:
  8142. OSXStructs.cs: Initial refactor to move enums and consts into
  8143. OSXStructs and use them in the driver for greater readability.
  8144. 2005-01-19 Geoff Norton <[email protected]>
  8145. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8146. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8147. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8148. * ComboBox.cs: ability to change style when the ctrl is already
  8149. created, missing methods and events, bug fixes, signature fixes
  8150. 2005-01-19 Peter Bartok <[email protected]>
  8151. * Cursors.cs (ctor): Added ctor to fix signature
  8152. 2005-01-18 Peter Bartok <[email protected]>
  8153. * Button.cs: Implemented DoubleClick event
  8154. * ButtonBase.cs:
  8155. - Fixed keyboard handling to behave like MS, where the press of
  8156. Spacebar is equivalent to a mousedown, and the key release is
  8157. equivalent to mouseup. Now a spacebar push will give the same
  8158. visual feedback like a mouse click.
  8159. - Added missing attributes
  8160. - Added ImeModeChanged event
  8161. - Added support for generating DoubleClick event for derived classes
  8162. * CheckBox.cs:
  8163. - Implemented DoubleClick event
  8164. - Added missing attributes
  8165. * CommonDialog.cs: Added missing attribute
  8166. * ContextMenu.cs: Added missing attributes
  8167. * RadioButton.cs:
  8168. - AutoChecked buttons do not allow to be unselected when clicked
  8169. (otherwise we might end up with no selected buttons in a group)
  8170. - Added missing attributes
  8171. - Implemented DoubleClickEvent
  8172. * ThreadExceptionDialog.cs: Enabled TextBox code
  8173. 2005-01-18 Peter Bartok <[email protected]>
  8174. * Form.cs: Removed debug output
  8175. * Button.cs: Added support for DoubleClick method
  8176. 2005-01-18 Peter Bartok <[email protected]>
  8177. * Form.cs:
  8178. - Added method to parent window that allows triggering size
  8179. calculations when a menu is added/removed
  8180. - set_Menu: Cleaned up mess from early days of Form and Control,
  8181. now properly triggers a recalc when a menu is added/removed
  8182. - Added case to select form itself as focused form if no child
  8183. controls exist
  8184. - Added PerformLayout call when showing dialog, to ensure properly
  8185. placed controls
  8186. * Control.cs:
  8187. - Select(): Made internal so Form can access it
  8188. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  8189. status
  8190. * Application.cs (Run): Removed hack and calls PerformLayout instead
  8191. to trigger calculation when Form becomes visible
  8192. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  8193. * ComboBox.cs: fixes for ownerdraw
  8194. 2005-01-18 Peter Bartok <[email protected]>
  8195. * TextControl.cs:
  8196. - Sentinel is no longer static, each Document gets it's own, this
  8197. avoids locking or alternatively overwrite problems when more
  8198. than one text control is used simultaneously.
  8199. - Switched to use Hilight and HilightText brushes for text selection
  8200. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  8201. 2005-01-18 Peter Bartok <[email protected]>
  8202. * Control.cs:
  8203. - Hooked up the following events:
  8204. o ControlAdded
  8205. o ControlRemoved
  8206. o HandleDestroyed
  8207. o ImeModeChanged
  8208. o ParentChanged
  8209. o TabStopChanged
  8210. o Invalidated
  8211. o SystemColorsChanged
  8212. o ParentFontChanged
  8213. o Move
  8214. - Removed debug output
  8215. - Added a call to the current theme's ResetDefaults when a color change
  8216. is detected
  8217. * Form.cs: Now setting the proper ImeMode
  8218. * Theme.cs: Defined a method to force recreation of cached resources
  8219. and rereading of system defaults (ResetDefaults())
  8220. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  8221. 2005-01-17 Peter Bartok <[email protected]>
  8222. * Control.cs: Added missing attributes
  8223. 2005-01-17 Jackson Harper <[email protected]>
  8224. * TreeNode.cs: Implement editing. Add missing properties selected
  8225. and visible.
  8226. * TreeView.cs: Implement node editing. Also some fixes to use
  8227. Invalidate (invalid area) instead of Refresh when selecting.
  8228. 2005-01-17 Peter Bartok <[email protected]>
  8229. * Control.cs:
  8230. - Implemented InvokeGotFocus() method
  8231. - Implemented InvokeLostFocus() method
  8232. - Implemented InvokePaint() method
  8233. - Implemented InvokePaintBackground() method
  8234. - Implemented InvokeClick() method
  8235. - Implemented FindForm() method
  8236. - Implemented RectangleToClient() method
  8237. - Implemented ClientToRectangle() method
  8238. - Implemented ResetBackColor() method
  8239. - Implemented ResetCursor() method
  8240. - Implemented ResetFont() method
  8241. - Implemented ResteForeColor() method
  8242. - Implemented ResetImeMode() method
  8243. - Implemented ResetLeftToRight() method
  8244. - Implemented ResetText() method
  8245. - Implemented Scale() methods
  8246. - Implemented ScaleCore() method
  8247. - Implemented Update() method
  8248. - Removed unused variables
  8249. - Stubbed AccessibilityNotifyClients and
  8250. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  8251. with those yet)
  8252. - Now setting proper default for RightToLeft property
  8253. - Fixed bug in SetClientSizeCore that would cause windows to get
  8254. really big
  8255. - Now sending Click/DoubleClick events
  8256. - Now selecting controls when left mouse button is clicked on
  8257. selectable control
  8258. * AccessibleEvents.cs: Added
  8259. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  8260. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  8261. * XplatUIWin32.cs: Implemented UpdateWindow() method
  8262. * XplatUIX11.cs: Implemented UpdateWindow() method
  8263. * Form.cs: Removed stray semicolon causing CS0162 warning
  8264. * ThemeWin32Classic.cs: Fixed unused variable warnings
  8265. * ScrollableControl.cs: Now calls base method for ScaleCore
  8266. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  8267. style to avoid interference with internal click handler (which is
  8268. different than standard Control click handling)
  8269. * RadioButton.cs:
  8270. - Now unchecks all sibling radio buttons when control is
  8271. selected (Fixes #68756)
  8272. - Removed internal tabstop variable, using the one inherited from
  8273. Control
  8274. 2005-01-17 Jackson Harper <[email protected]>
  8275. * NavigateEventArgs.cs: Fix base type.
  8276. * LinkLabel.cs: Sig fix
  8277. 2005-01-17 Jackson Harper <[email protected]>
  8278. * TreeView.cs: Only invalidate the effected nodes bounds when
  8279. selecting nodes.
  8280. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8281. * XplatUIWin32.cs: fixes Win32 marshaling
  8282. * XplatUIX11.cs: fixes method signature
  8283. 2005-01-17 Peter Bartok <[email protected]>
  8284. * XplatUIX11.cs: Clean up resources when we no longer need them
  8285. 2005-01-17 Peter Bartok <[email protected]>
  8286. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  8287. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  8288. and DestroyCursor() methods.
  8289. * Cursor.cs: Partially implemented, now supports standard cursors;
  8290. still contains some debug code
  8291. * Cursors.cs: Implemented class
  8292. * Control.cs:
  8293. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  8294. appropriate cursor
  8295. - Implemented Cursor property
  8296. - Replaced break; with return; more straightforwar and possibly
  8297. faster
  8298. - Now properly setting the result for WM_HELP
  8299. * X11Structs.cs: Added CursorFontShape enum
  8300. * XplatUIStructs.cs:
  8301. - Added StdCursor enum (to support DefineStdCursor() method)
  8302. - Added HitTest enum (to support sending WM_SETCURSOR message)
  8303. * XplatUIX11.cs:
  8304. - Now sends the WM_SETCURSOR message
  8305. - Implemented new cursor methods
  8306. * XplatUIOSX.cs: Stubbed new cursor methods
  8307. * XplatUIWin32.cs:
  8308. - Implemented new cursor methods
  8309. - Added GetSystemMetrics function and associated enumeration
  8310. 2005-01-15 Peter Bartok <[email protected]>
  8311. * Control.cs:
  8312. - WndProc(): Now handles EnableNotifyMessage
  8313. - SelectNextControl(): Fixed bug where if no child or sibling
  8314. controls exist we looped endlessly
  8315. 2005-01-14 Jackson Harper <[email protected]>
  8316. * TreeView.cs: Recalculate the tab pages when a new one is added
  8317. so that the proper bounding rects are created.
  8318. 2005-01-14 Jackson Harper <[email protected]>
  8319. * TreeView.cs: Draw a gray box instead of a grip in the lower
  8320. right hand corner when there are both horizontal and vertical
  8321. scroll bars.
  8322. 2005-01-14 Jackson Harper <[email protected]>
  8323. * Control.cs: When erasing backgrounds use FromHwnd instead of
  8324. FromHdc when there is a NULL wparam. This occurs on the X driver.
  8325. * XplatUIX11.cs: Set the wparam to NULL.
  8326. 2005-01-13 Jackson Harper <[email protected]>
  8327. * PictureBox.cs: Implement missing methods (except ToString, need
  8328. to test that on windows) and events. When visibility is changed we
  8329. need to redraw the image because the buffers are killed. When size
  8330. is changed refresh if the sizemode needs it.
  8331. 2005-01-13 Peter Bartok <[email protected]>
  8332. * Control.cs (SelectNextControl): Was using wrong method to select
  8333. a control
  8334. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8335. * ComboBox.cs: fixes dropstyle
  8336. 2005-01-13 Peter Bartok <[email protected]>
  8337. * Form.cs:
  8338. - Implemented Select() override
  8339. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  8340. - Now sets keyboard focus on startup
  8341. * Control.cs (SelectNextControl): Now properly handles directed=true
  8342. * TextBoxBase.cs:
  8343. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  8344. - Added (really bad) focus rectangle (mostly for testing)
  8345. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  8346. to enforce redraw on focus changes
  8347. * ContainerControl.cs:
  8348. - Fixed detection of Shift-Tab key presses
  8349. - Fixed traversal with arrow keys
  8350. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  8351. gonna keep this or if it's complete yet
  8352. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8353. * ComboBox.cs: missing properties, fixes
  8354. 2005-01-13 Peter Bartok <[email protected]>
  8355. * Panel.cs (ctor): Setting Selectable window style to off
  8356. * Splitter.cs (ctor): Setting Selectable window style to off
  8357. * GroupBox.cs (ctor): Setting Selectable window style to off
  8358. * Label.cs (ctor): Setting Selectable window style to off
  8359. 2005-01-12 Miguel de Icaza <[email protected]>
  8360. * UpDownBase.cs (InitTimer): If the timer has been already
  8361. created, enable it.
  8362. Use a TextBox instead of a Label.
  8363. 2005-01-12 Jackson Harper <[email protected]>
  8364. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  8365. draw the connecting node lines (when ShowLines is true).
  8366. * TreeNode.cs: The nodes index can now be updated. This is used
  8367. when a node collection is sorted.
  8368. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  8369. insert or an existing unsorted node collection can be sorted.
  8370. 2005-01-12 Peter Bartok <[email protected]>
  8371. * ContainerControl.cs: Implemented ProcessDialogKeys()
  8372. 2005-01-12 Peter Bartok <[email protected]>
  8373. * Control.cs:
  8374. - Implemented SelectNextControl() method
  8375. - Several focus related bug fixes
  8376. - Fixed Docking calculations to match MS documentation and
  8377. behaviour
  8378. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  8379. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  8380. bug fixes
  8381. 2005-01-12 Peter Bartok <[email protected]>
  8382. * Control.cs:
  8383. - Fixed broken Contains() method
  8384. - Implemented GetNextControl() method. Finally. This is the pre-
  8385. requisite for focus handling.
  8386. 2005-01-12 Peter Bartok <[email protected]>
  8387. * OSXStrucs.cs: Added
  8388. 2005-01-12 Peter Bartok <[email protected]>
  8389. * XplatUIWin32.cs:
  8390. - Removed PeekMessageFlags
  8391. - Implemented SetWindowStyle() method
  8392. * XplatUIStructs.cs: Added PeekMessageFlags
  8393. * X11Structs: Added missing border_width field to XWindowChanges struct
  8394. * XplatUIX11.cs:
  8395. - PeekMessage: Now throws exception if flags which are not yet
  8396. supported are passed
  8397. - Implemented SetWindowStyle() method
  8398. - Fixed SetZOrder to handle AfterHwnd properly
  8399. * XplatUI.cs: Added SetWindowStyle() method
  8400. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  8401. * Control.cs:
  8402. - Implemented UpdateStyles() method
  8403. - Implemented UpdateZOrder() method
  8404. * XplatUIOSX.cs: Added SetWindowStyle() stub
  8405. 2005-01-12 Geoff Norton <[email protected]>
  8406. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  8407. button mouse).
  8408. 2005-01-11 Jackson Harper <[email protected]>
  8409. * TreeView.cs: Still need to draw lines to siblings even if out of
  8410. the current node is out of the clip.
  8411. 2005-01-11 Jackson Harper <[email protected]>
  8412. * TreeView.cs: When setting the hbar/vbar/grip position use
  8413. SetBounds so that perform layout is only called once. Also suspend
  8414. and resume layout so layout is only done once for all controls.
  8415. - Removed some debug fluff
  8416. * SizeGrip.cs: Call base implmentation in overriding methods.
  8417. - When visibility is changed the drawing buffers are killed so we
  8418. need to redraw.
  8419. 2005-01-11 Jackson Harper <[email protected]>
  8420. * TreeView.cs: Calculate the open node count while drawing. This
  8421. saves us an entire tree traversal for every paint operation. Use
  8422. a member var for the open node count so less vars are passed around.
  8423. 2005-01-11 John BouAntoun <[email protected]>
  8424. * MonthCalendar.cs:
  8425. - fixed selection to use mousemove, not mouse polling on timer
  8426. * ThemeWin32Classic.cs
  8427. - removed redundant unused variable "no_more_content"
  8428. 2005-01-11 Peter Bartok <[email protected]>
  8429. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  8430. are pending, so it now calls PeekMessage instead of GetMessage;
  8431. implemented a incomplete version of PeekMessage
  8432. 2005-01-11 Peter Bartok <[email protected]>
  8433. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  8434. I18n issues
  8435. * TextBoxBase.cs: Added sending of TextChanged event
  8436. 2005-01-10 Jackson Harper <[email protected]>
  8437. * TreeView.cs: Try not to draw outside the clipping rectangle on
  8438. each node element.
  8439. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  8440. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  8441. 2005-01-10 Jackson Harper <[email protected]>
  8442. * TreeView.cs:
  8443. - Implement fast scrolling. Now only the newly
  8444. exposed nodes are drawn and the old image is moved using the
  8445. XplatUI::ScrollWindow method.
  8446. - Factor in height of nodes when calculating whether or not the
  8447. node is in the clipping rect.
  8448. 2005-01-10 Jackson Harper <[email protected]>
  8449. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  8450. 2005-01-10 Peter Bartok <[email protected]>
  8451. * Application.cs: Added temporary hack to resolve all our resize
  8452. required issues on startup. This will get fixed properly at
  8453. some point in the future
  8454. 2005-01-10 Jackson Harper <[email protected]>
  8455. * SizeGrip.cs: New internal class that is used as a sizing
  8456. grip control...hence the name.
  8457. 2005-01-10 Peter Bartok <[email protected]>
  8458. * Control.cs: Implemented proper TabIndex handling, now assigning
  8459. a tabindex when a control is added to a container
  8460. * GroupBox.cs (ctor): Now sets the Container style bit, required
  8461. for Control.GetNextControl()
  8462. 2005-01-09 Jackson Harper <[email protected]>
  8463. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  8464. 2005-01-09 Peter Bartok <[email protected]>
  8465. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8466. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  8467. an overload for ScrollWindow to allow only scrolling a rectangle
  8468. 2005-01-09 Peter Bartok <[email protected]>
  8469. * Form.cs:
  8470. - Implemented SetDesktopBounds method
  8471. - Implemented SetDesktopLocation method
  8472. 2005-01-08 Jackson Harper <[email protected]>
  8473. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  8474. the node count has changed, this removes to VScroll::Refresh calls
  8475. when drawing.
  8476. 2005-01-08 Geoff Norton <[email protected]>
  8477. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  8478. 2005-01-07 Jackson Harper <[email protected]>
  8479. * TreeNode.cs: Just update the single node when it is
  8480. checked. Don't refresh after toggling, the Expand/Collapse already
  8481. handles this.
  8482. * TreeView.cs: Respect clipping a little more when drawing. Try
  8483. not to redraw things that don't need to be redrawn. Just hide the
  8484. scrollbars when they are no longer needed instead of removing
  8485. them, so they don't have to be created again and again.
  8486. 2005-01-07 Geoff Norton <[email protected]>
  8487. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  8488. coordinates to window space to place the caret properly, FIXED.
  8489. Implement GetWindowState & SetWindowState
  8490. 2005-01-06 Peter Bartok <[email protected]>
  8491. * Form.cs:
  8492. - Implemented ClientSize property
  8493. - Implemented DesktopBounds property
  8494. - Implemented DesktopLocation property
  8495. - Implemented IsRestrictedWindow property
  8496. - Implemented Size property
  8497. - Implemented TopLevel property
  8498. - Implemented FormWindowState property
  8499. * Control.cs:
  8500. - Implemented GetTopLevel() method
  8501. - Implemented SetTopLevel() method
  8502. * X11Structs.cs (Atom):
  8503. - Added AnyPropertyType definition
  8504. - Added MapState definiton and updated XWindowAttribute struct
  8505. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  8506. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  8507. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  8508. * XplatUIWin32.cs:
  8509. - Implemented GetWindowState() and SetWindowState() methods
  8510. - Fixed Win32GetWindowLong return type
  8511. * XplatUIX11.cs:
  8512. - Introduced central function for sending NET_WM messages
  8513. - Implemented GetWindowState() and SetWindowState() methods
  8514. * TextBoxBase.cs (set_Lines):
  8515. - Now uses Foreground color for text added via Text property (Duh!)
  8516. - Added code to remember programmatically requested size (fixes
  8517. behaviour when Multiline is set after Size)
  8518. - Added AutoSize logic
  8519. 2005-01-06 Jackson Harper <[email protected]>
  8520. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  8521. 2005-01-06 Jackson Harper <[email protected]>
  8522. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  8523. set to less then 0.
  8524. 2005-01-06 Jackson Harper <[email protected]>
  8525. * ScrollableControl.cs: Lazy init the scrollbars.
  8526. 2005-01-06 Jackson Harper <[email protected]>
  8527. * Theme.cs: Speed up getting pens and solid brushes, by using
  8528. their ARGB as a hash instead of tostring and not calling Contains.
  8529. 2005-01-06 Peter Bartok <[email protected]>
  8530. * Form.cs:
  8531. - Implemented OnActivated and OnDeactivate event trigger
  8532. - Implemented Activate() method
  8533. - Fixed ShowDialog() to activate the form that was active before
  8534. the dialog was shown
  8535. * XplatUIX11.cs:
  8536. - Added global active_window var that tracks the currently active
  8537. X11 window
  8538. - Now always grabs Property changes from the root window to always
  8539. catch changes on the active window property
  8540. - Added code to PropertyNotify handler to send Active/Inactive
  8541. messages when state changes. This puts X11 and Win32 en par on
  8542. WM_ACTIVATE notifications (except for double notifications when
  8543. the user clicks away from our modal window to another one of our
  8544. windows)
  8545. 2005-01-05 Jackson Harper <[email protected]>
  8546. * ImageList.cs: Implment ctor
  8547. 2005-01-05 Geoff Norton <[email protected]>
  8548. * XplatUIOSX.cs: Implement Activate/SetTopmost
  8549. 2005-01-05 Geoff Norton <[email protected]>
  8550. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  8551. 2005-01-05 Geoff Norton <[email protected]>
  8552. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  8553. 2005-01-05 Peter Bartok <[email protected]>
  8554. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  8555. XplatUIOSX.cs: Added GetActive method to return the currently
  8556. active window for the application (or null, if none is active)
  8557. * Form.cs:
  8558. - Implemented ActiveForm
  8559. - Commented out owner assignment for modal dialogs (causes problems
  8560. on Win32, since the owner will be disabled)
  8561. - Reworked some Active/Focus handling (still incomplete)
  8562. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  8563. (causes problems on Win32, since the owner will be disabled)
  8564. * IWin32Window: Added ComVisible attribute
  8565. 2005-01-05 Peter Bartok <[email protected]>
  8566. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  8567. required XplatUI functions.
  8568. 2005-01-05 Peter Bartok <[email protected]>
  8569. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  8570. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  8571. to implement focus and activation handling; still incomplete and
  8572. with debug output
  8573. 2005-01-04 Peter Bartok <[email protected]>
  8574. * TextBoxBase.cs: Changed access level for Document property to
  8575. match switch to internal for TextControl
  8576. 2005-01-04 Peter Bartok <[email protected]>
  8577. * AccessibleObject: Added ComVisible attribute
  8578. 2005-01-04 Jackson Harper <[email protected]>
  8579. * X11Keyboard.cs: Remove unneeded var.
  8580. 2005-01-04 Jackson Harper <[email protected]>
  8581. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  8582. but PAINT.
  8583. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  8584. ClientMessage. This makes apps exit cleanly (more often).
  8585. 2005-01-04 Jackson Harper <[email protected]>
  8586. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  8587. handling focus, return correct colors and fonts,
  8588. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  8589. handle selection, horizontal scrolling, and mouse interaction.
  8590. 2005-01-04 Peter Bartok <[email protected]>
  8591. * ICommandExecutor.cs: Added
  8592. * IDataGridColumnStyleEditingNotificationService.cs: Added
  8593. * IFeatureSupport.cs: Added
  8594. * IFileReaderService.cs: Added
  8595. * IDataObject.cs: Added ComVisible attribute
  8596. * AmbientProperties.cs: Added
  8597. * BaseCollection.cs: Added missing attributes
  8598. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  8599. * BaseCollection.cs: Added missing attributes
  8600. * Binding.cs: Added TypeConverter attribute
  8601. * BindingContext.cs: Added DefaultEvent attribute
  8602. * BindingsCollection.cs: Added DefaultEvent attribute
  8603. * Button.cs: Added DefaultValue attribute
  8604. * DragEventArgs.cs: Added ComVisible attribute
  8605. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  8606. * KeyEventArgs.cs: Added ComVisible attribute
  8607. * KeyPressEventArgs.cs: Added ComVisible attribute
  8608. * MouseEventArgs.cs: Added ComVisible attribute
  8609. * NavigateEventArgs.cs: Added
  8610. * NavigateEventHandler.cs: Added
  8611. * FeatureSupport.cs: Added
  8612. * OSFeature.cs: Added
  8613. * Theme.cs: Added abstract Version property to support OSFeature
  8614. * ThemeWin32Classic.cs: Added Version property to
  8615. support OSFeature.Themes
  8616. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  8617. the proper styles to avoid background drawing are set, also doesn't
  8618. match MS signature
  8619. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  8620. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  8621. * ScrollEventArgs.cs: Added ComVisible attribute
  8622. * SplitterEventArgs.cs: Added ComVisible attribute
  8623. * AccessibleSelection.cs: Added Flags attribute
  8624. * Appearance.cs: Added ComVisible attribute
  8625. * Border3DSide.cs: Added ComVisible attribute
  8626. * Border3DStyle.cs: Added ComVisible attribute
  8627. * BorderStyle.cs: Added ComVisible attribute
  8628. * DragAction.cs: Added ComVisible attribute
  8629. * ErrorBlinkStyle.cs: Added
  8630. * ScrollEventType.cs: Added ComVisible attribute
  8631. * AnchorStyles.cs: Added Editor attribute
  8632. * DockStyle.cs: Added Editor attribute
  8633. * HorizontalAlignment.cs: Added ComVisible attribute
  8634. * HelpEventArgs.cs: Added ComVisible attribute
  8635. * PaintEventArgs.cs: Added IDisposable
  8636. 2005-01-04 Peter Bartok <[email protected]>
  8637. * TextControl.cs: Switched Line, LineTag and Document classes to
  8638. internal
  8639. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8640. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  8641. Simple mode, fixes, IntegralHeight, etc.
  8642. 2005-01-04 Peter Bartok <[email protected]>
  8643. * TextBoxBase.cs: Using proper font variable now
  8644. 2005-01-04 Peter Bartok <[email protected]>
  8645. * Form.cs (ShowDialog): Set parent to owner, if provided
  8646. * GroupBox.cs: Removed unused vars
  8647. * TextControl.cs:
  8648. - Added GetHashCode() for Document and LineTag classes
  8649. - Removed unused variables
  8650. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  8651. to allow translation between continuous char position and line/pos
  8652. * CheckBox.cs: Removed vars that are provided by base class
  8653. * RadioButton.cs: Removed vars that are provided by base class, added
  8654. new keyword where required
  8655. * LinkLabel.cs: Added new keyword where required
  8656. * Control.cs (WndProc): Removed unused variable
  8657. * TextBoxBase.cs:
  8658. - Finished SelectionLength property
  8659. - Implemented SelectionStart property
  8660. - Implemented Text property
  8661. - Removed unused vars
  8662. * MessageBox.cs: Added new keyword where required
  8663. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  8664. WndProc signature
  8665. * MenuAPI.cs: Added new keyword where required
  8666. * ButtonBase.cs: Removed vars that are provided by base class, added
  8667. new keyword where required
  8668. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  8669. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  8670. into this)
  8671. * Application.cs (Run): Now triggers the ThreadExit event
  8672. * CommonDialog.cs: Added new keyword where required; now properly sets
  8673. parent (owner) for dialog
  8674. * XplatUIX11.cs: Commented out unused vars
  8675. * StatusBar.cs: Fixed signature for Text property
  8676. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  8677. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8678. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  8679. TrackBar.cs, MonthCalendar.cs: remove unused vars
  8680. 2005-01-03 Jackson Harper <[email protected]>
  8681. * ThemeWin32Classic.cs:
  8682. * X11Keyboard.cs: Remove unused vars.
  8683. 2005-01-03 Peter Bartok <[email protected]>
  8684. * TextBox.cs:
  8685. - set_Text: Tied into TextControl
  8686. - set_TextAlignment: Tied into TextControl
  8687. * TextControl.cs:
  8688. - Added alignment properties and implemented alignment handling
  8689. and drawing (still has a bug, not generating proper expose events)
  8690. - Added new Line() constructor to allow passing the line alignment
  8691. - Fixed selection setting, properly handling end<start now
  8692. - Added aligment considerations to RecalculateDocument()
  8693. * TextBoxBase.cs:
  8694. - Now properly enforces control height for single line controls
  8695. - Added support for CharacterCasing
  8696. - Added IsInputKey override
  8697. - Fixed Keys.Enter logic
  8698. - Added SetBoundsCore override
  8699. - Fixed mouse selection handling
  8700. 2005-01-03 Jackson Harper <[email protected]>
  8701. * TreeView.cs:
  8702. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  8703. - Checkboxes are always aligned to the bottom of the node,
  8704. regardless of item height.
  8705. - Use the node bounds to draw the text so we can center it when
  8706. the item height is greater then the font height.
  8707. - Node::Bounds are only the text part of the node.
  8708. * TreeNode.cs: New method to combine collapsing and unchecking all
  8709. nodes recursively.
  8710. 2005-01-02 Jackson Harper <[email protected]>
  8711. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  8712. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  8713. tree when a check is changed. TODO: Only refresh the checked node.
  8714. 2004-12-30 Jackson Harper <[email protected]>
  8715. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  8716. * TreeNode.cs: When collapsing make sure to never collapse the
  8717. root node.
  8718. 2004-12-29 Jackson Harper <[email protected]>
  8719. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  8720. 2004-12-28 Zoltan Varga <[email protected]>
  8721. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  8722. 2004-12-28 Peter Bartok <[email protected]>
  8723. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  8724. not yet assigned
  8725. 2004-12-28 Peter Bartok <[email protected]>
  8726. * Control.cs (WndProc): Added WM_HELP handler, now generates
  8727. HelpRequested event
  8728. * Form.cs: Added HelpButton property and required support code
  8729. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  8730. 2004-12-28 Peter Bartok <[email protected]>
  8731. * CommonDialog.cs:
  8732. - Made DialogForm.owner variable internal
  8733. - Added check to ensure owner form is set before setting
  8734. owner properties in CreateParams
  8735. 2004-12-28 Geoff Norton <[email protected]>
  8736. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  8737. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  8738. GetCursorPos. Fix major visibility issues. Rework the windowing
  8739. system to support borderless/titleless windows (implements menus).
  8740. Fix GetWindowPos. Implement initial background color support for
  8741. views.
  8742. 2004-12-28 Peter Bartok <[email protected]>
  8743. * Form.cs (get_CreateParams): Make sure we have an owner before using
  8744. the owner variable. Implement proper default if no owner exists
  8745. 2004-12-28 Peter Bartok <[email protected]>
  8746. * In preparation for making Managed.Windows.Forms the default build target
  8747. for System.Windows.Forms, the following stubbed files were added.
  8748. Dialogs are currently being implemented by contributors and are only
  8749. short-term place holders.
  8750. * ColorDialog.cs: Initial check-in (minmal stub)
  8751. * DataGrid.cs: Initial check-in (minimal stub)
  8752. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  8753. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  8754. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  8755. * FontDialog.cs: Initial check-in (minimal stub)
  8756. * FileDialog.cs: Initial check-in (minimal stub)
  8757. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  8758. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  8759. * OpenFileDialog: Initial check-in (minimal stub)
  8760. * IComponentEditorPageSite.cs: Initial check-in
  8761. * Splitter.cs: Initial check-in (for Jackson)
  8762. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  8763. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  8764. * TextBox.cs: Initial check-in; still needs some wiring to
  8765. TextControl backend
  8766. * Form.cs: Implemented ControlBox property
  8767. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  8768. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  8769. * TextControl.cs: Added selection functionality; added todo header
  8770. * TextBoxBase.cs:
  8771. - Implemented Lines property
  8772. - Implemented TextHeight property
  8773. - Implemented SelectedText property
  8774. - Implemented SelectionLength property
  8775. - Implemented SelectAll method
  8776. - Implemented ToString method
  8777. - Removed and cleaned up some debug code
  8778. - Implemented (still buggy) mouse text selection
  8779. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  8780. * ComboBox.cs: Complete DropDownList implementation, fixes.
  8781. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  8782. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  8783. * ComboBoxStyle.cs: ComboBoxStyle enum
  8784. * ComboBox.cs: Initial work on ComboBox control
  8785. 2004-12-21 Peter Bartok <[email protected]>
  8786. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  8787. forward so that anything that creates a window gets the default,
  8788. also no longer uses Visible property in CreateParams to avoid
  8789. walking up the parent chain and possibly get the wrong visible
  8790. status. Fixed IsVisible to no longer walk up to the parent.
  8791. 2004-12-21 Peter Bartok <[email protected]>
  8792. * Form.cs (ShowDialog): Unset modality for the proper window
  8793. 2004-12-20 Peter Bartok <[email protected]>
  8794. * CommonDialog.cs: Initial check-in
  8795. 2004-12-20 Peter Bartok <[email protected]>
  8796. * Control.cs (Visible): Now uses the parent window instead of the
  8797. client area window for the property
  8798. * Form.cs
  8799. - ShowDialog(): Now uses the proper window for modality
  8800. - The default visibility state for the form parent is now false. This
  8801. will prevent the user from seeing all the changes to the form and
  8802. its controls before the application hits Application.Run()
  8803. - Removed some stale commented out code
  8804. * NativeWindow.cs:
  8805. - Added FindWindow() method to have a method to check for existence
  8806. of a window handle
  8807. - Added ability to override default exception handling (for example
  8808. when debugging with VS.Net; to do this the ExternalExceptionHandler
  8809. define must be set
  8810. - Removed some useless debug output
  8811. * XplatUIX11.cs:
  8812. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  8813. not working as expected
  8814. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  8815. property to allow switching back to the modal window if focus is
  8816. given to another one of our windows (Application Modal)
  8817. - Now only sets override_redirect if we create a window
  8818. without WS_CAPTION
  8819. - Moved EventMask selection before mapping of newly created window
  8820. so we can catch the map event as well
  8821. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  8822. - Added various Atom related DllImports
  8823. - Implemented Exit() method
  8824. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  8825. in the CreateParams
  8826. * MessageBox.cs: Now properly deals with the FormParent window by
  8827. providing an override the FormParent CreateParams property to
  8828. set as POPUP instead of OVERLAPPED window.
  8829. 2004-12-19 Geoff Norton <[email protected]>
  8830. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  8831. Minor code cleanup.
  8832. 2004-12-19 Geoff Norton <[email protected]>
  8833. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  8834. 2004-12-18 Peter Bartok <[email protected]>
  8835. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  8836. implementing SetModal() method
  8837. 2004-12-18 Peter Bartok <[email protected]>
  8838. * X11Structs.cs (XGCValues): Fixed type of function element
  8839. * XplatUI.cs: Added ScrollWindow() method
  8840. * XplatUIDriver.cs: Added ScrollWindow() abstract
  8841. * XplatUIWin32.cs: Implemented ScrollWindow() method
  8842. * XplatUIX11.cs: Implemented ScrollWindow() method
  8843. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  8844. 2004-12-17 Geoff Norton <[email protected]>
  8845. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  8846. Some more keyboard support (INCOMPLETE)
  8847. 2004-12-17 Peter Bartok <[email protected]>
  8848. * TextControl.cs:
  8849. - Added color attribute to line tags.
  8850. - Added color argument to all functions dealing with tags
  8851. - Added color argument support to various functions
  8852. - Fixed miss-calculation of baseline/shift in certain circumstances
  8853. * TextBoxBase.cs: Added new color option to test code
  8854. 2004-12-17 Jackson Harper <[email protected]>
  8855. * TreeNode.cs:
  8856. * MonthCalendar.cs: Signature fixes
  8857. 2004-12-17 Geoff Norton <[email protected]>
  8858. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  8859. keyboard event moved it. Create a new graphics context for each paint resolves this
  8860. 2004-12-17 Geoff Norton <[email protected]>
  8861. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  8862. Make caret exist and go blink blink. Initial keyboard support.
  8863. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  8864. works.
  8865. 2004-12-17 Jackson Harper <[email protected]>
  8866. * XplatUIStructs.cs: Updated set of virtual keycodes.
  8867. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  8868. 2004-12-17 Jackson Harper <[email protected]>
  8869. * XplatUIX11.cs: Prune old keyboard code.
  8870. 2004-12-17 Jackson Harper <[email protected]>
  8871. * XplatUIX11.cs: When generating mouse wparams get the modifier
  8872. keys from the ModifierKeys property.
  8873. 2004-12-17 Jackson Harper <[email protected]>
  8874. * X11Keyboard.cs: Send up/down input when generating
  8875. messages. Remove some unused vars.
  8876. 2004-12-17 Jackson Harper <[email protected]>
  8877. * TabControl.cs:
  8878. * TreeView.cs: get rid of warnings.
  8879. 2004-12-17 Jackson Harper <[email protected]>
  8880. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  8881. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  8882. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  8883. CheckedListBox.cs: Implementation
  8884. 2004-12-17 Peter Bartok <[email protected]>
  8885. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  8886. 2004-12-16 Peter Bartok <[email protected]>
  8887. * TextControl.cs:
  8888. - InsertCharAtCaret(): Fixed start pos fixup
  8889. - CaretLine_get: No longer derives the line from the tag, the tag
  8890. could be stale if lines in the document have been added or deleted
  8891. - RebalanceAfterDelete(): Fixed bug in balancing code
  8892. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  8893. - Line.Streamline(): Now can also elminate leading empty tags
  8894. - DumpTree(): Added a few more tests and prevented exception on
  8895. uninitialized data
  8896. - Added Debug section for Combining lines
  8897. - Delete(): Now copies all remaining properties of a line
  8898. * TextBoxBase.cs:
  8899. - Left mousebutton now sets the caret (and middle button still acts
  8900. as formatting tester, which must go away soon)
  8901. - Added Debug section for Deleting/Combining lines
  8902. - Fixed calculations for UpdateView after Combining lines
  8903. 2004-12-16 Peter Bartok <[email protected]>
  8904. * TextControl.cs: Now properly aligns text on a baseline, using the
  8905. new XplatUI.GetFontMetrics() method. Simplified several calculations
  8906. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  8907. defined
  8908. 2004-12-16 Peter Bartok <[email protected]>
  8909. * XplatUI.cs: Added GetFontMetrics() method
  8910. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  8911. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  8912. into libgdiplus, our private GetFontMetrics function
  8913. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  8914. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  8915. 2004-12-16 Jackson Harper <[email protected]>
  8916. * XplatUIStruct.cs: Add enum for dead keys
  8917. * X11Keyboard.cs: Map and unmap dead keys.
  8918. 2004-12-16 Jackson Harper <[email protected]>
  8919. * X11Keyboard.cs: Detect and use the num lock mask.
  8920. 2004-12-16 Peter Bartok <[email protected]>
  8921. * Control.cs (CreateGraphics): Added check to make sure the
  8922. handle of the window exists before calling Graphics.FromHwnd()
  8923. 2004-12-16 Peter Bartok <[email protected]>
  8924. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  8925. contains a lot of code that's not supposed to be there for the
  8926. real thing, but required for developing/testing the textbox
  8927. backend.
  8928. 2004-12-16 Peter Bartok <[email protected]>
  8929. * TextControl.cs:
  8930. - Fixed Streamline method
  8931. - Added FindTag method to Line
  8932. - Added DumpTree method for debugging
  8933. - Added DecrementLines() method for deleting lines
  8934. - Fixed UpdateView to update the cursor to end-of-line on single-line
  8935. updates
  8936. - Added PositionCaret() method
  8937. - Fixed MoveCaret(LineDown) to move into the last line, too
  8938. - Added InsertChar overload
  8939. - Fixed InsertChar tag offset calculations
  8940. - Added DeleteChar() method
  8941. - Added Combine() method for folding lines
  8942. - Fixed Delete() method, no longer allocates wasted Line object and
  8943. now copies all properties when swapping nodes
  8944. - Delete() method now updates document line counter
  8945. 2004-12-15 Jackson Harper <[email protected]>
  8946. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  8947. * X11Keyboard.cs: Expose the currently selected modifier keys
  8948. through a property.
  8949. 2004-12-15 Peter Bartok <[email protected]>
  8950. * TextControl.cs: Initial check-in. Still incomplete
  8951. 2004-12-15 Jackson Harper <[email protected]>
  8952. * TreeNode.cs:
  8953. * TreeView.cs: Fix build on csc (second time today ;-))
  8954. 2004-12-15 Jackson Harper <[email protected]>
  8955. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  8956. is calculated and use this for click testing.
  8957. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  8958. 2004-12-15 Jackson Harper <[email protected]>
  8959. * TreeView.cs: Pass the nodes image index to the image list when
  8960. drawing that image.
  8961. 2004-12-15 Jackson Harper <[email protected]>
  8962. * X11Keyboard.cs: Set messages hwnd.
  8963. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  8964. post_message calls.
  8965. 2004-12-15 Jackson Harper <[email protected]>
  8966. * X11Keyboard.cs: Fix to compile with csc.
  8967. 2004-12-15 Jackson Harper <[email protected]>
  8968. * X11Structs.cs: Add key mask values
  8969. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  8970. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  8971. down/up foo into WM_CHAR foo
  8972. * KeyboardLayouts.cs: Common keyboard layouts
  8973. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  8974. post messages into the main queue.
  8975. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  8976. * Button.cs: implement ProcessMnemonic
  8977. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  8978. brushes everytime
  8979. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  8980. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  8981. 2004-12-12 John BouAntoun <[email protected]>
  8982. * MonthCalendar.cs: Implemented click-hold for next/previous month
  8983. and date selection
  8984. 2004-12-11 Peter Bartok <[email protected]>
  8985. * X11Structs.cs:
  8986. - Added XKeyboardState (moved from XplatUIX11.cs)
  8987. - Added XCreateGC related enums and structures
  8988. - Added GXFunction for XSetFunction
  8989. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  8990. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  8991. CaretVisible() calls
  8992. * ToolTip.cs: Added code to prevent stealing focus from app windows
  8993. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  8994. DestroyCaret, SetCaretPos and CaretVisible)
  8995. * XplatUIX11.cs:
  8996. - Added implementation for caret functions
  8997. - Moved hover variables into a struct, to make it a bit easier
  8998. on the eyes and to debug
  8999. - Removed XKeyboardState (moved to XplatUIX11.cs)
  9000. - Moved Keyboard properties into the properties region
  9001. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9002. call to get a graphics context for our control
  9003. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9004. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9005. return SystemColors.Window
  9006. * XplatUIWin32.cs: Implemented caret overrides
  9007. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9008. * ListBox.cs: fire events, implement missing methods and properties,
  9009. sorting.
  9010. 2004-12-10 John BouAntoun <[email protected]>
  9011. * MonthCalendar.cs: invalidation bug fixing
  9012. * ThemeWin32Classic.cs: paint fixing
  9013. 2004-12-09 Geoff Norton <[email protected]>
  9014. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9015. prepare the CGContextRef there now.
  9016. 2004-12-09 John BouAntoun <[email protected]>
  9017. * MonthCalendar.cs:
  9018. - optimisationL only invalidate areas that have changed
  9019. * ThemeWin32Classic.cs:
  9020. - only paint parts that intersect with clip_area
  9021. 2004-12-09 Peter Bartok <[email protected]>
  9022. * Application.cs: Undid changes from r37004 which cause problems
  9023. on X11
  9024. 2004-12-09 Ravindra <[email protected]>
  9025. * ToolBar.cs: Added support for displaying ContextMenu
  9026. attached to a button on ToolBar.
  9027. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9028. property.
  9029. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9030. * Label.cs: autosize works in text change and removes unnecessary
  9031. invalidate
  9032. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9033. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9034. remove warnings
  9035. 2004-12-08 Geoff Norton <[email protected]>
  9036. * XplatUIOSX.cs: Added mouse move/click/grab support
  9037. Remove some debugging WriteLines not needed anymore.
  9038. Add window resizing/positioning.
  9039. Fix visibility on reparenting.
  9040. 2004-12-08 Peter Bartok <[email protected]>
  9041. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9042. 2004-12-07 Geoff Norton <[email protected]>
  9043. * XplatUIOSX.cs: Initial checkin
  9044. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9045. 2004-12-03 Ravindra <[email protected]>
  9046. * ListView.cs: Added some keybindings and fixed scrolling.
  9047. ScrollBars listen to ValueChanged event instead of Scroll
  9048. Event. This would let us take care of all changes being
  9049. done in the scrollbars' values programmatically or manually.
  9050. * ListView.cs (CanMultiselect): Added a check for shift key.
  9051. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9052. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9053. of ListViewSubItemCollection as well.
  9054. 2004-12-06 Peter Bartok <[email protected]>
  9055. * Control.cs (Parent): Added check and exception to prevent
  9056. circular parenting
  9057. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9058. * ListBox.cs: implemented clipping, selection single and multiple,
  9059. bug fixing
  9060. 2004-12-03 Ravindra <[email protected]>
  9061. * ListView.cs (ListView_KeyDown):
  9062. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9063. when CTRL key is pressed.
  9064. * ListViewItem.cs (Selected): Fixed setting the property.
  9065. 2004-12-03 Marek Safar <[email protected]>
  9066. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9067. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9068. MinimizeBox, ShowInTaskbar, TopMost properties.
  9069. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9070. will be implemented).
  9071. 2004-12-03 Marek Safar <[email protected]>
  9072. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9073. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9074. tests.
  9075. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9076. * TreeView.cs: BackColor is Colors.Window.
  9077. 2004-12-01 Jackson Harper <[email protected]>
  9078. * TreeView.cs: When resizing the tree if the user is making it
  9079. smaller we don't get expose events, so we need to handle adding
  9080. the horizontal scrollbar in the size changed handler as well as
  9081. the expose handler.
  9082. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9083. * DrawItemState.cs: fixes wrong enum values
  9084. 2004-12-01 Jackson Harper <[email protected]>
  9085. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9086. 2004-12-01 Jackson Harper <[email protected]>
  9087. * NodeLabelEditEventArgs.cs:
  9088. * NodeLabelEditEventHandler.cs:
  9089. * OpenTreeNodeEnumerator.cs:
  9090. * TreeNode.cs:
  9091. * TreeNodeCollection.cs:
  9092. * TreeView.cs:
  9093. * TreeViewAction.cs:
  9094. * TreeViewCancelEventArgs.cs:
  9095. * TreeViewCancelEventHandler.cs:
  9096. * TreeViewEventArgs.cs:
  9097. * TreeViewEventHandler.cs: Initial implementation.
  9098. 2004-12-01 Ravindra <[email protected]>
  9099. * ListView.cs (CalculateListView): Fixed scrolling related
  9100. calculations. Also, removed some debug statements from other
  9101. places.
  9102. * ListViewItem.cs: Changed access to 'selected' instance variable
  9103. from private to internal.
  9104. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9105. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9106. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9107. specific controls and use the global system, fixes scrollbutton
  9108. bugs (for small sizes, disabled, etc)
  9109. * ScrollBar.cs: does not show the thumb for very small controls
  9110. (as MS) and allow smaller buttons that the regular size
  9111. 2004-12-01 Miguel de Icaza <[email protected]>
  9112. * UpDownBase.cs: Add abstract methods for the interface.
  9113. Add new virtual methods (need to be hooked up to TextEntry when it
  9114. exists).
  9115. Add override methods for most features.
  9116. Computes the size, forces the height of the text entry.
  9117. * NumericUpDown.cs: Put here the current testing code.
  9118. * Set eol-style property on all files that do not have mixed line
  9119. endings, to minimize the future problems. There are still a few
  9120. files with mixed endings, and someone should choose whether they
  9121. want to move it or not.
  9122. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9123. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9124. System.Colors
  9125. 2004-11-30 Ravindra <[email protected]>
  9126. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9127. drawing and replaced use of SystemColors by theme colors.
  9128. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9129. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9130. same ListViewItem is being added more than once.
  9131. 2004-11-30 John BouAntoun <[email protected]>
  9132. * MonthCalendar.cs:
  9133. - ControlStyles love to make the control not flicker
  9134. 2004-11-30 Peter Bartok <[email protected]>
  9135. * CharacterCasing.cs: Added
  9136. 2004-11-29 Peter Bartok <[email protected]>
  9137. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9138. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9139. I am removing these files as they conflict with already completed
  9140. work. While it is fantastic to get contributions to MWF, I
  9141. respectfully ask that everyone please coordinate their contributions
  9142. through mono-winforms-list or #mono-winforms at this time. We're
  9143. explicitly avoiding stubbing and don't want controls that don't have
  9144. their basic functionality implemented in svn. Please also see
  9145. http://www.mono-project.com/contributing/winforms.html
  9146. 2004-11-29 Marek Safar <[email protected]>
  9147. * Application.cs (ModalRun): Don't hang after exit.
  9148. * Theme.cs: New TreeViewDefaultSize property.
  9149. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9150. with less hardcoded SystemColors constant.
  9151. Implemented TreeViewDefaultSize.
  9152. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9153. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9154. 2004-11-29 John BouAntoun <[email protected]>
  9155. * MonthCalendar.cs:
  9156. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9157. 2004-11-26 John BouAntoun <[email protected]>
  9158. * MonthCalendar.cs:
  9159. - Fix usage of ScrollChange Property when scrolling months
  9160. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9161. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9162. - Fixes menu destroying
  9163. - Support adding and removing items on already created menus
  9164. 2004-11-26 John BouAntoun <[email protected]>
  9165. * MonthCalendar.cs:
  9166. - Re-worked all bolded dates handling to match win32
  9167. * ThemeWin32Classic.cs:
  9168. - Fixed rendering with bolded dates
  9169. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  9170. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  9171. - Horizontal scroolbar
  9172. - Multicolumn
  9173. - Fixes
  9174. 2004-11-25 John BouAntoun <[email protected]>
  9175. * MonthCalendar.cs:
  9176. - Fix Usage of MaxSelectionCount from SelectionRange
  9177. - Fixed Shift + Cursor Selection
  9178. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  9179. - Fixed normal cursor selection to be compat with win32
  9180. - Fixed Shift + Mouse Click selection
  9181. 2004-11-24 Peter Bartok <[email protected]>
  9182. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  9183. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  9184. * XplatUIX11.cs:
  9185. - CreatedKeyBoardMsg now updates keystate with Alt key
  9186. - Added workaround for timer crash to CheckTimers, Jackson will
  9187. develop a proper fix and check in later
  9188. - Implemented DispatchMessage
  9189. - Removed calling the native window proc from GetMessage (call
  9190. now moved to DispatchMessage)
  9191. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  9192. the keydata (Fixes bug #69831)
  9193. * XplatUIWin32.cs:
  9194. - (DispatchMessage): Switched to return IntPtr
  9195. - Added DllImport for SetFocus
  9196. 2004-11-24 Ravindra <[email protected]>
  9197. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  9198. background drawing.
  9199. * ListViewItem.cs: Fixed various properties, calculations
  9200. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  9201. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  9202. and some internal properties. Fixed MouseDown handler and Paint
  9203. method.
  9204. 2004-11-24 John BouAntoun <[email protected]>
  9205. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  9206. 2004-11-24 John BouAntoun <[email protected]>
  9207. * ContainerControl.cs: correct accidental check in of local changes
  9208. 2004-11-24 John BouAntoun <[email protected]>
  9209. * ThemeWin32Classic.cs:
  9210. - Fixed Drawing Last month in grid (sometimes not showing)
  9211. * MonthCalendar.cs:
  9212. - Fixed title width calculation bug (makeing title small)
  9213. 2004-11-23 Peter Bartok <[email protected]>
  9214. * XplatUIX11.cs:
  9215. - Added generation of WM_MOUSEHOVER event
  9216. - Added missing assignment of async_method atom
  9217. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  9218. 2004-11-23 John BouAntoun <[email protected]>
  9219. * ThemeWin32Classic.cs:
  9220. - Fixed Drawing of today circle when showtodaycircle not set
  9221. - fixed drawing of first and last month in the grid (gay dates)
  9222. * MonthCalendar.cs:
  9223. - Fixed Drawing of today circle
  9224. - Fixed drawing of grady dates
  9225. - Fixed HitTest for today link when ShowToday set to false
  9226. - Fixed DefaultSize to obey ShowToday
  9227. 2004-11-23 John BouAntoun <[email protected]>
  9228. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  9229. * System.Windows.Forms/Theme.cs
  9230. * MonthCalendar.cs: added for MonthCalendar
  9231. * SelectionRange.cs: added for MonthCalendar
  9232. * Day.cs: added for MonthCalendar: added for MonthCalendar
  9233. * DateRangeEventArgs.cs: added for MonthCalendar
  9234. * DateRangeEventHandler.cs: added for MonthCalendar
  9235. 2004-11-22 Ravindra <[email protected]>
  9236. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  9237. property.
  9238. 2004-11-22 Miguel de Icaza <[email protected]>
  9239. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  9240. event handler.
  9241. * NumericUpDown.cs: Added new implementation.
  9242. * UpDownBase.cs: Added new implementation.
  9243. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  9244. implementations.
  9245. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  9246. implementations.
  9247. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  9248. methods.
  9249. 2004-11-21 Miguel de Icaza <[email protected]>
  9250. * Timer.cs (Dispose): Should call the base dispose when
  9251. overriding.
  9252. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9253. * ScrollBar.cs: updates thumb position when max, min or increment
  9254. is changed
  9255. 2004-11-21 Ravindra <[email protected]>
  9256. * ListView.cs: Implemented item selection, activation and
  9257. column header style. Fixed properties to do a redraw, if
  9258. required. Added support for MouseHover, DoubleClick, KeyDown
  9259. and KeyUp event handling and some minor fixes.
  9260. * ListViewItem.cs: Fixed constructor.
  9261. * ThemeWin32Classic.cs: Improved drawing for ListView.
  9262. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9263. * ThemeWin32Classic.cs: initial listbox drawing code
  9264. * DrawMode.cs: new enumerator
  9265. * ListControl.cs: stubbed class
  9266. * ListBox.cs: initial implementation
  9267. * Theme.cs: new methods definitions
  9268. * SelectionMode.cs: new enumerator
  9269. 2004-11-17 Peter Bartok <[email protected]>
  9270. * XplatUIWin32.cs: Added double-click events to the class style
  9271. * Control.cs (WndProc):
  9272. - Added handling of click-count to MouseDown/ MouseUp events.
  9273. - Added handling of middle and right mouse buttons
  9274. - Removed old debug code
  9275. 2004-11-17 Jackson Harper <[email protected]>
  9276. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  9277. 2004-11-17 Ravindra <[email protected]>
  9278. * ListView.cs: Added event handling for MouseMove/Up/Down.
  9279. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  9280. * ThemeWin32Classic.cs: We need to clear the graphics context and
  9281. draw column header in a proper state.
  9282. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  9283. * Menu.cs: fixes signature
  9284. 2004-11-16 Peter Bartok <[email protected]>
  9285. * XplatUIX11.cs (GetMessage): Implemented generation of
  9286. double click mouse messages
  9287. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  9288. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  9289. not by menu
  9290. 2004-11-11 Peter Bartok <[email protected]>
  9291. * HandleData.cs: Added Visible property
  9292. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  9293. HandleData
  9294. * XplatUIX11.cs: Removed old debug leftovers
  9295. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  9296. * Control.cs (WndProc): Removed old debug leftovers,
  9297. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  9298. needed WM_SIZE handling
  9299. 2004-11-11 Jackson Harper <[email protected]>
  9300. * OwnerDrawPropertyBag.cs:
  9301. * TreeViewImageIndexConverter.cs: Initial implementation
  9302. 2004-11-10 Jackson Harper <[email protected]>
  9303. * ThemeWin32Classic.cs:
  9304. * TabControl.cs: instead of moving tabs by the slider pos just
  9305. start drawing at the tab that is offset by the slider. This way
  9306. scrolling always moves by exactly one tab.
  9307. 2004-11-10 Jackson Harper <[email protected]>
  9308. * TabControl.cs: You can only scroll left when the slider has
  9309. already ben moved right.
  9310. 2004-11-10 Jackson Harper <[email protected]>
  9311. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  9312. the clip area.
  9313. 2004-11-10 Jackson Harper <[email protected]>
  9314. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  9315. clip area.
  9316. 2004-11-09 Jackson Harper <[email protected]>
  9317. * TabControl.cs (CalcXPos): New helper method so we can determine
  9318. the proper place to start drawing vertical tabs.
  9319. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  9320. 2004-11-09 Jackson Harper <[email protected]>
  9321. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  9322. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  9323. and Bottom, left and right are illegal values for this and
  9324. multiline is enabled when the alignment is set to left or right.
  9325. (DrawTab): Each alignment block should draw the text itself now
  9326. because Left requires special love. Also add rendering for Left
  9327. aligned tabs.
  9328. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  9329. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  9330. does not destroy the windows, removes debugging messages
  9331. 2004-11-09 jba <[email protected]>
  9332. * ThemeWin32Classic.cs
  9333. (DrawButtonBase): Fix verticle text rect clipping in windows
  9334. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9335. rendering and incorrect text rect clipping
  9336. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9337. rendering and incorrect text rect clipping
  9338. 2004-11-08 Jackson Harper <[email protected]>
  9339. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  9340. bottom when they are bottom aligned so the bottoms of the tabs get
  9341. displayed.
  9342. * TabControl.cs (DropRow): Move rows up instead of down when the
  9343. tab control is bottom aligned.
  9344. 2004-11-08 13:59 pbartok
  9345. * XplatUIX11.cs:
  9346. - Added handling for various window styles
  9347. - Added handling for popup windows
  9348. - Added SetTopmost handling
  9349. 2004-11-08 13:55 pbartok
  9350. * XplatUIWin32.cs:
  9351. - Added argument to SetTopmost method
  9352. - Fixed broken ClientToScreen function
  9353. 2004-11-08 13:53 pbartok
  9354. * XplatUIStructs.cs:
  9355. - Added missing WS_EX styles
  9356. 2004-11-08 13:53 pbartok
  9357. * XplatUI.cs, XplatUIDriver.cs:
  9358. - Added argument to SetTopmost
  9359. 2004-11-08 13:52 pbartok
  9360. * X11Structs.cs:
  9361. - Added XSetWindowAttributes structure
  9362. - Improved XWindowAttributes structure
  9363. - Added SetWindowValuemask enum
  9364. - Added window creation arguments enum
  9365. - Added gravity enum
  9366. - Added Motif hints structure
  9367. - Added various Motif flags and enums
  9368. - Added PropertyMode enum for property functions
  9369. 2004-11-08 13:50 pbartok
  9370. * Form.cs:
  9371. - Fixed arguments for updated SetTopmost method
  9372. 2004-11-08 13:49 pbartok
  9373. * ToolTip.cs:
  9374. - Fixed arguments for updated SetTopmost function
  9375. - Fixed usage of PointToClient
  9376. 2004-11-08 13:44 pbartok
  9377. * MenuAPI.cs:
  9378. - Added Clipping of children and siblings
  9379. 2004-11-08 13:41 pbartok
  9380. * MainMenu.cs:
  9381. - Removed SetMenuBarWindow call. We do this in Form.cs
  9382. 2004-11-08 13:40 jackson
  9383. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  9384. scrolling jimmi in the correct location with bottom aligned tabs
  9385. 2004-11-08 13:36 pbartok
  9386. * ContainerControl.cs:
  9387. - Implemented BindingContext
  9388. - Implemented ParentForm
  9389. 2004-11-08 12:46 jackson
  9390. * TabControl.cs: Put bottom rendered tabs in the right location
  9391. 2004-11-08 07:15 jordi
  9392. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  9393. removes dead code
  9394. 2004-11-05 17:30 jackson
  9395. * TabControl.cs: When selected tabs are expanded make sure they
  9396. don't go beyond the edges of the tab control
  9397. 2004-11-05 14:57 jackson
  9398. * TabControl.cs: Reset show_slider so if the control is resized to
  9399. a size where it is no longer needed it's not displayed anymore
  9400. 2004-11-05 13:16 jackson
  9401. * TabControl.cs: Make tab pages non visible when added to the
  9402. control
  9403. 2004-11-05 12:42 jackson
  9404. * TabControl.cs: Implement SizeMode.FillToRight
  9405. 2004-11-05 12:16 jackson
  9406. * Control.cs: Do not call CreateHandle if the handle is already
  9407. created
  9408. 2004-11-05 11:46 jackson
  9409. * TabControl.cs: Remove superflous call to CalcTabRows
  9410. 2004-11-05 09:07 jackson
  9411. * XplatUIX11.cs: Update for Mono.Posix changes
  9412. 2004-11-05 07:00 ravindra
  9413. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  9414. scrolling.
  9415. 2004-11-04 22:47 jba
  9416. * ThemeWin32Classic.cs:
  9417. - Fix Button rendering for FlatStyle = Flat or Popup
  9418. - Fix RadioButton and CheckBox rendering when Appearance = Button
  9419. (normal and flatstyle).
  9420. - Correct outer rectangle color when drawing focus rectangle
  9421. - Adjust button bounds to be 1 px smaller when focused
  9422. - Make button not draw sunken 3d border when pushed (windows compat)
  9423. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  9424. - Offset the text in RadioButton and Checkbox when being rendered as
  9425. a button.
  9426. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  9427. radiobuttons
  9428. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  9429. - Fixed disabled text rendering for normally rendered radiobuttons
  9430. 2004-11-04 10:26 jackson
  9431. * TabControl.cs: Recalculate tab rows when resizing
  9432. 2004-11-04 07:47 jordi
  9433. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  9434. collection completion, drawing issues, missing features
  9435. 2004-11-04 05:03 ravindra
  9436. * ScrollBar.cs:
  9437. - We need to recalculate the Thumb area when
  9438. LargeChange/maximum/minimum values are changed.
  9439. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  9440. than minimum. This is required to handle the case if large_change is
  9441. more than max, and use LargeChange property instead of large_change
  9442. variable.
  9443. - We return max+1 when large_change is more than max, like MS does.
  9444. 2004-11-04 04:29 ravindra
  9445. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  9446. - Changed default value signatures (prefixed all with ListView).
  9447. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  9448. ListView.
  9449. - Fixed calculations for ListViewItem and implemented Clone()
  9450. method.
  9451. 2004-11-04 04:26 ravindra
  9452. * Theme.cs, ThemeWin32Classic.cs:
  9453. - Changed default ListView values signatures (prefixed all with
  9454. ListView).
  9455. - Fixed default size values for VScrollBar and HScrollBar.
  9456. - Fixed DrawListViewItem method.
  9457. 2004-11-04 04:05 ravindra
  9458. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  9459. 2004-11-04 04:04 ravindra
  9460. * ImageList.cs: Implemented the missing overload for Draw method.
  9461. 2004-11-03 19:29 jackson
  9462. * TabControl.cs: Handle dropping rows on selection properly
  9463. 2004-11-03 11:59 jackson
  9464. * TabControl.cs: remove debug code
  9465. 2004-11-03 11:52 jackson
  9466. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  9467. the scrolly widgerywoo
  9468. 2004-11-02 13:52 jackson
  9469. * TabControl.cs: Resize the tab pages and tabs when the tab control
  9470. is resized
  9471. 2004-11-02 13:40 jackson
  9472. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  9473. selected tab to the bottom
  9474. 2004-11-02 13:39 jackson
  9475. * TabPage.cs: Store the tab pages row
  9476. 2004-11-02 12:33 jordi
  9477. * MenuItem.cs: fixes handle creation
  9478. 2004-11-02 11:42 jackson
  9479. * TabControl.cs: signature fix
  9480. 2004-11-02 08:56 jackson
  9481. * TabControl.cs: Calculate whether the tab is on an edge properly.
  9482. Remove top secret debugging code
  9483. 2004-11-01 19:57 jackson
  9484. * TabControl.cs: Add click handling, and proper sizing
  9485. 2004-11-01 19:47 jackson
  9486. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  9487. tab controls
  9488. 2004-11-01 19:39 jackson
  9489. * TabPage.cs: add internal property to store the bounds of a tab
  9490. page
  9491. 2004-10-30 04:23 ravindra
  9492. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  9493. values.
  9494. 2004-10-30 04:21 ravindra
  9495. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  9496. fixed calculations.
  9497. 2004-10-30 03:06 pbartok
  9498. * XplatUIX11.cs:
  9499. - Removed extension of DllImported libs
  9500. 2004-10-29 09:55 jordi
  9501. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  9502. navigation, itemcollection completion, menu fixes
  9503. 2004-10-27 22:58 pbartok
  9504. * XplatUIX11.cs:
  9505. - Now throws a nice error message when no X display could be opened
  9506. 2004-10-26 13:51 jordi
  9507. * ListView.cs: removes warning
  9508. 2004-10-26 03:55 ravindra
  9509. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  9510. ThemeWin32Classic.cs: Some formatting for my last checkins.
  9511. 2004-10-26 03:36 ravindra
  9512. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  9513. control and default values.
  9514. 2004-10-26 03:35 ravindra
  9515. * Theme.cs: Added some default values for ListView control.
  9516. 2004-10-26 03:33 ravindra
  9517. * ToolBar.cs: ToolBar should use the user specified button size, if
  9518. there is any. Added a size_specified flag for the same.
  9519. 2004-10-26 03:33 ravindra
  9520. * ColumnHeader.cs: Added some internal members and calculations for
  9521. ColumnHeader.
  9522. 2004-10-26 03:32 ravindra
  9523. * ListViewItem.cs: Calculations for ListViewItem.
  9524. 2004-10-26 03:31 ravindra
  9525. * ListView.cs: Added some internal members and calculations for
  9526. ListView.
  9527. 2004-10-22 13:31 jordi
  9528. * MenuAPI.cs: speedup menus drawing
  9529. 2004-10-22 13:16 jackson
  9530. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  9531. expose event
  9532. 2004-10-22 11:49 jackson
  9533. * Control.cs: oops
  9534. 2004-10-22 11:41 jackson
  9535. * Control.cs: Check to see if the window should have its background
  9536. repainted by X when drawing.
  9537. 2004-10-22 11:31 jackson
  9538. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  9539. clear is true, this way we do not get flicker from X repainting the
  9540. background
  9541. 2004-10-22 11:28 jackson
  9542. * XEventQueue.cs: Queue properly
  9543. 2004-10-21 09:38 jackson
  9544. * XEventQueue.cs: Fix access modifier
  9545. 2004-10-21 09:36 jackson
  9546. * XEventQueue.cs: Don't loose messages
  9547. 2004-10-21 09:22 jackson
  9548. * XEventQueue.cs: Don't loose messages
  9549. 2004-10-20 04:15 jordi
  9550. * BootMode.cs: enum need it by SystemInfo
  9551. 2004-10-19 21:58 pbartok
  9552. * XplatUIWin32.cs:
  9553. - Small sanity check
  9554. 2004-10-19 21:56 pbartok
  9555. * Form.cs:
  9556. - Added private FormParentWindow class which acts as the container
  9557. for our form and as the non-client area where menus are drawn
  9558. - Added/Moved required tie-ins to Jordi's menus
  9559. - Fixed/Implemented the FormStartPosition functionality
  9560. 2004-10-19 21:52 pbartok
  9561. * Control.cs:
  9562. - Removed unneeded locals
  9563. - Added code to all size and location properties to understand and
  9564. deal with the parent container of Form
  9565. 2004-10-19 21:33 pbartok
  9566. * Application.cs:
  9567. - Fixed to deal with new Form subclasses for menus
  9568. 2004-10-19 17:48 jackson
  9569. * XEventQueue.cs: commit correct version of file
  9570. 2004-10-19 16:50 jackson
  9571. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  9572. 2004-10-19 16:15 jordi
  9573. * MenuAPI.cs: MenuBarCalcSize returns the height
  9574. 2004-10-19 08:31 pbartok
  9575. * Control.cs:
  9576. - Added missing call to PreProcessMessage before calling OnXXXKey
  9577. methods
  9578. 2004-10-19 00:04 ravindra
  9579. * ToolTip.cs: Fixed constructor.
  9580. 2004-10-18 09:31 jordi
  9581. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  9582. 2004-10-18 09:26 jordi
  9583. * MenuItem.cs: fixes MenuItem class signature
  9584. 2004-10-18 08:56 jordi
  9585. * MenuAPI.cs: prevents windows from showing in the taskbar
  9586. 2004-10-18 00:28 ravindra
  9587. * ToolTip.cs: Suppressed a warning message.
  9588. 2004-10-18 00:27 ravindra
  9589. * Control.cs: Default value of visible property must be true.
  9590. 2004-10-17 23:19 pbartok
  9591. * ToolTip.cs:
  9592. - Complete implementation
  9593. 2004-10-17 23:19 pbartok
  9594. * XplatUIX11.cs:
  9595. - Added EnableWindow method
  9596. - Added SetModal stub
  9597. - Added generation of WM_ACTIVATE message (still needs testing)
  9598. - Added SetTopMost stub
  9599. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  9600. 2004-10-17 23:17 pbartok
  9601. * XplatUIWin32.cs:
  9602. - Removed VirtualKeys to XplatUIStructs
  9603. - Implemented SetTopMost method
  9604. - Implemented EnableWindow method
  9605. - Bugfix in ScreenToClient()
  9606. - Bugfixes in ClientToScreen()
  9607. 2004-10-17 22:51 pbartok
  9608. * XplatUIStructs.cs:
  9609. - Added WS_EX styles to WindowStyles enumeration
  9610. 2004-10-17 22:50 pbartok
  9611. * XplatUI.cs, XplatUIDriver.cs:
  9612. - Added method for enabling/disabling windows
  9613. - Added method for setting window modality
  9614. - Added method for setting topmost window
  9615. 2004-10-17 22:49 pbartok
  9616. * ThemeWin32Classic.cs:
  9617. - Added ToolTip drawing code
  9618. 2004-10-17 22:49 pbartok
  9619. * Theme.cs:
  9620. - Added ToolTip abstracts
  9621. 2004-10-17 22:47 pbartok
  9622. * Form.cs:
  9623. - Fixed Form.ControlCollection to handle owner relations
  9624. - Added Owner/OwnedForms handling
  9625. - Implemented Z-Ordering for owned forms
  9626. - Removed unneeded private overload of ShowDialog
  9627. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  9628. so I hope)
  9629. - Fixed Close(), had wrong default
  9630. - Added firing of OnLoad event
  9631. - Added some commented out debug code for Ownership handling
  9632. 2004-10-17 22:16 pbartok
  9633. * Control.cs:
  9634. - Fixed/implemented flat list of controls
  9635. 2004-10-17 22:14 pbartok
  9636. * Application.cs:
  9637. - Added code to simulate modal dialogs on Win32
  9638. 2004-10-17 16:11 jordi
  9639. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  9640. mouse event
  9641. 2004-10-17 13:39 jordi
  9642. * MenuAPI.cs: menu drawing fixes
  9643. 2004-10-15 09:10 ravindra
  9644. * StructFormat.cs: General Enum.
  9645. 2004-10-15 09:09 ravindra
  9646. * SizeGripStyle.cs: Enum for Form.
  9647. 2004-10-15 09:08 ravindra
  9648. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  9649. in Theme for ListView.
  9650. 2004-10-15 09:06 ravindra
  9651. * ColumnHeader.cs: Flushing some formatting changes.
  9652. 2004-10-15 09:05 ravindra
  9653. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  9654. style.
  9655. 2004-10-15 09:03 ravindra
  9656. * ListView.cs: Implemented Paint method and fixed coding style.
  9657. 2004-10-15 07:34 jordi
  9658. * MenuAPI.cs: fix for X11
  9659. 2004-10-15 07:32 ravindra
  9660. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  9661. - Renamed Paint() method to Draw() for clarity. Also, moved
  9662. DrawImage() to OnPaint().
  9663. 2004-10-15 07:25 ravindra
  9664. * CheckBox.cs, RadioButton.cs:
  9665. - Removed Redraw (), we get it from ButtonBase.
  9666. - Implemented Paint (), to do class specific painting.
  9667. 2004-10-15 07:16 ravindra
  9668. * ButtonBase.cs:
  9669. - Redraw () is not virtual now.
  9670. - Added an internal virtual method Paint (), so that
  9671. derived classes can do their painting on their own.
  9672. - Modified OnPaint () to call Paint ().
  9673. 2004-10-15 06:43 jordi
  9674. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  9675. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  9676. 2004-10-15 00:30 ravindra
  9677. * MessageBox.cs:
  9678. - MessageBox on windows does not have min/max buttons.
  9679. This change in CreateParams fixes this on Windows. We
  9680. still need to implement this windowstyle behavior in
  9681. our X11 driver.
  9682. 2004-10-14 05:14 ravindra
  9683. * ToolBar.cs:
  9684. - Changed Redraw () to do a Refresh () always.
  9685. - Fixed the MouseMove event handling when mouse is pressed,
  9686. ie drag event handling.
  9687. - Replaced the usage of ToolBarButton.Pressed property to
  9688. ToolBarButton.pressed internal variable.
  9689. 2004-10-14 05:10 ravindra
  9690. * ToolBarButton.cs:
  9691. - Added an internal member 'inside' to handle mouse move
  9692. with mouse pressed ie mouse drag event.
  9693. - Changed 'Pressed' property to return true only when
  9694. 'inside' and 'pressed' are both true.
  9695. - Some coding style love.
  9696. 2004-10-14 00:17 ravindra
  9697. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  9698. public method.
  9699. 2004-10-14 00:15 ravindra
  9700. * ButtonBase.cs: Redraw () related improvements.
  9701. 2004-10-14 00:14 ravindra
  9702. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  9703. removed unnecessary calls to Button.Show () method.
  9704. 2004-10-13 17:50 pbartok
  9705. * XplatUIX11.cs:
  9706. - Formatting fix
  9707. - Removed destroying of window until we solve the problem of X
  9708. destroying the window before us on shutdown
  9709. 2004-10-13 16:32 pbartok
  9710. * ButtonBase.cs:
  9711. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  9712. 2004-10-13 14:18 pbartok
  9713. * XplatUIX11.cs:
  9714. - Added code to destroy the X window
  9715. 2004-10-13 14:18 pbartok
  9716. * XplatUIWin32.cs:
  9717. - Added code to destroy a window
  9718. 2004-10-13 14:12 pbartok
  9719. * ButtonBase.cs:
  9720. - Added the Redraw on Resize that got dropped in the last rev
  9721. 2004-10-13 09:06 pbartok
  9722. * ThemeWin32Classic.cs:
  9723. - Path from John BouAntoun:
  9724. * Fix check rendering (centre correctly for normal style, offset
  9725. correctly for FlatStyle).
  9726. * Fix border color usage (use backcolor) for FlatStyle.Popup
  9727. * Use checkbox.Capture instead of checkbox.is_pressed when
  9728. rendering flatstyle states.
  9729. 2004-10-12 21:48 pbartok
  9730. * ThemeWin32Classic.cs:
  9731. - Removed all occurences of SystemColors and replaced them with the
  9732. matching theme color
  9733. 2004-10-12 21:41 pbartok
  9734. * ThemeWin32Classic.cs:
  9735. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  9736. him using the function for flatstyle drawing
  9737. - Changed functions to use the new version of CPDrawBorder3D
  9738. 2004-10-12 21:15 pbartok
  9739. * ControlPaint.cs:
  9740. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  9741. match MS documentation. They need to return defined colors if the
  9742. passed color matches the configured control color. Thanks to John
  9743. BouAntoun for pointing this out.
  9744. 2004-10-12 20:57 pbartok
  9745. * Control.cs:
  9746. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  9747. color is changed
  9748. 2004-10-12 20:46 pbartok
  9749. * CheckBox.cs:
  9750. - Fix from John BouAntoun: Now properly sets the Appearance property
  9751. 2004-10-12 20:45 pbartok
  9752. * ThemeWin32Classic.cs:
  9753. - Fixes from John BouAntoun: now handles forecolors and backcolors
  9754. for flatstyle rendered controls much better; It also fixes normal
  9755. checkbox rendering when pushed or disabled.
  9756. 2004-10-08 02:50 jordi
  9757. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  9758. work
  9759. 2004-10-07 08:56 jordi
  9760. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  9761. 2004-10-06 03:59 jordi
  9762. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  9763. XplatUIWin32.cs: removes warnings from compilation
  9764. 2004-10-05 12:23 jackson
  9765. * RadioButton.cs: Fix ctor
  9766. 2004-10-05 11:10 pbartok
  9767. * MessageBox.cs:
  9768. - Partial implementation by Benjamin Dasnois
  9769. 2004-10-05 10:15 jackson
  9770. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  9771. by John BouAntoun
  9772. 2004-10-05 03:07 ravindra
  9773. * ToolBar.cs:
  9774. - Removed a private method, Draw ().
  9775. - Fixed the ButtonDropDown event handling.
  9776. - Fixed MouseMove event handling.
  9777. 2004-10-05 03:04 ravindra
  9778. * ThemeWin32Classic.cs:
  9779. - Added DrawListView method and ListViewDefaultSize property.
  9780. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  9781. - Changed DOS style CRLF to Unix format (dos2unix).
  9782. 2004-10-05 03:03 ravindra
  9783. * Theme.cs:
  9784. - Added DrawListView method and ListViewDefaultSize property.
  9785. 2004-10-05 02:42 ravindra
  9786. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  9787. clicks on DropDown arrow.
  9788. 2004-10-04 22:56 jackson
  9789. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  9790. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  9791. Control handle the buffers, derived classes should not have to
  9792. CreateBuffers themselves.
  9793. 2004-10-04 21:20 jackson
  9794. * StatusBar.cs: The control handles resizing the buffers now.
  9795. 2004-10-04 21:18 jackson
  9796. * Control.cs: When resizing the buffers should be invalidated. This
  9797. should be handled in Control not in derived classes.
  9798. 2004-10-04 14:45 jackson
  9799. * TabPage.cs: oops
  9800. 2004-10-04 02:14 pbartok
  9801. * LeftRightAlignment.cs:
  9802. - Initial check-in
  9803. 2004-10-04 01:09 jordi
  9804. * ThemeWin32Classic.cs: fixes right button position causing right
  9805. button not showing on horizontal scrollbars
  9806. 2004-10-02 13:12 pbartok
  9807. * XplatUIX11.cs:
  9808. - Simplified the Invalidate method by using an X call instead of
  9809. generating the expose ourselves
  9810. - Added an expose when the window background is changed
  9811. - Implemented ClientToScreen method
  9812. 2004-10-02 13:08 pbartok
  9813. * XplatUIWin32.cs:
  9814. - Added Win32EnableWindow method (test for implementing modal
  9815. dialogs)
  9816. - Added ClientToScreen method and imports
  9817. 2004-10-02 13:07 pbartok
  9818. * XplatUI.cs, XplatUIDriver.cs:
  9819. - Added ClientToScreen coordinate translation method
  9820. 2004-10-02 13:06 pbartok
  9821. * KeyPressEventArgs.cs:
  9822. - Fixed access level for constructor
  9823. 2004-10-02 13:06 pbartok
  9824. * NativeWindow.cs:
  9825. - Changed access level for the window_collection hash table
  9826. 2004-10-02 13:05 pbartok
  9827. * Form.cs:
  9828. - Added KeyPreview property
  9829. - Added Menu property (still incomplete, pending Jordi's menu work)
  9830. - Implemented ProcessCmdKey
  9831. - Implemented ProcessDialogKey
  9832. - Implemented ProcessKeyPreview
  9833. 2004-10-02 13:02 pbartok
  9834. * Control.cs:
  9835. - Added private method to get the Control object from the window
  9836. handle
  9837. - Implemented ContextMenu property
  9838. - Implemented PointToScreen
  9839. - Implemented PreProcessMessage
  9840. - Implemented IsInputChar
  9841. - Implemented IsInputKey
  9842. - Implemented ProcessCmdKey
  9843. - Completed ProcessKeyEventArgs
  9844. - Fixed message loop to call the proper chain of functions on key
  9845. events
  9846. - Implemented ProcessDialogChar
  9847. - Implemented ProcessDialogKey
  9848. - Implemented ProcessKeyMessage
  9849. - Implemented ProcessKeyPreview
  9850. - Added RaiseDragEvent stub (MS internal method)
  9851. - Added RaiseKeyEvent stub (MS internal method)
  9852. - Added RaiseMouseEvent stub (MS Internal method)
  9853. - Added RaisePaintEvent stub (MS Internal method)
  9854. - Added ResetMouseEventArgs stub (MS Internal method)
  9855. - Implemented RtlTranslateAlignment
  9856. - Implemented RtlTranslateContent
  9857. - Implemented RtlTranslateHorizontal
  9858. - Implemented RtlTranslateLeftRight
  9859. - Added generation of KeyPress event
  9860. 2004-10-02 05:57 ravindra
  9861. * ListViewItem.cs: Added attributes.
  9862. 2004-10-02 05:32 ravindra
  9863. * ListView.cs: Added attributes.
  9864. 2004-10-01 11:53 jackson
  9865. * Form.cs: Implement the Close method so work on MessageBox can
  9866. continue.
  9867. 2004-09-30 14:06 pbartok
  9868. * XplatUIX11.cs:
  9869. - Bug fixes
  9870. 2004-09-30 11:34 jackson
  9871. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  9872. 2004-09-30 07:26 ravindra
  9873. * ListViewItemConverter.cs: Converter for ListViewItem.
  9874. 2004-09-30 07:26 ravindra
  9875. * SortOrder.cs: Enum for ListView control.
  9876. 2004-09-30 07:25 ravindra
  9877. * ColumnHeader.cs: Supporting class for ListView control.
  9878. 2004-09-30 07:24 ravindra
  9879. * ListView.cs, ListViewItem.cs: Initial implementation.
  9880. 2004-09-30 07:20 ravindra
  9881. * ItemActivation.cs: Enum for ListView Control.
  9882. 2004-09-29 20:29 pbartok
  9883. * XplatUIX11.cs:
  9884. - Added lookup of pixel value for background color; tries to get a
  9885. color 'close' to the requested color, it avoids having to create a
  9886. colormap. Depending on the display this could mean the used color
  9887. is slightly off the desired color. Might have to change it to a more
  9888. resource intensive colormap approach, but it will work as a
  9889. workaround to avoid red screens.
  9890. 2004-09-29 14:27 jackson
  9891. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  9892. 2004-09-28 12:44 pbartok
  9893. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  9894. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  9895. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  9896. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  9897. TrackBar.cs, VScrollBar.cs:
  9898. - Streamlined Theme interfaces:
  9899. * Each DrawXXX method for a control now is passed the object for
  9900. the control to be drawn in order to allow accessing any state the
  9901. theme might require
  9902. * ControlPaint methods for the theme now have a CP prefix to avoid
  9903. name clashes with the Draw methods for controls
  9904. * Every control now retrieves it's DefaultSize from the current
  9905. theme
  9906. 2004-09-28 12:17 jackson
  9907. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  9908. drawing
  9909. 2004-09-24 14:57 jackson
  9910. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  9911. Gives us a nice little performance boost.
  9912. 2004-09-24 12:02 jackson
  9913. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  9914. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  9915. Control and supporting classes. Initial checkin
  9916. 2004-09-23 13:08 jackson
  9917. * Form.cs: Temp build fixage
  9918. 2004-09-23 01:39 ravindra
  9919. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  9920. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  9921. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  9922. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  9923. EventHandlers needed by ListView Control.
  9924. 2004-09-22 14:12 pbartok
  9925. * ScrollableControl.cs:
  9926. - Implemented DockPadding property
  9927. - Implemented AutoScroll property
  9928. - Implemented AutoScrollMargin property
  9929. - Implemented AutoScrollMinSize property
  9930. - Implemented AutoScrollPosition property
  9931. - Implemented DisplayRectangle property (still incomplete)
  9932. - Implemented CreateParams property
  9933. - Implemented HScroll property
  9934. - Implemented VScroll property
  9935. - Implemented OnVisibleChanged property
  9936. 2004-09-22 14:09 pbartok
  9937. * Form.cs:
  9938. - Added Form.ControllCollection class
  9939. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  9940. RemoveOwnedForm (still incomplete, missing on-top and common
  9941. minimize/maximize behaviour)
  9942. - Added StartPosition property (still incomplete, does not use when
  9943. creating the form)
  9944. - Added ShowDialog() methods (still incomplete, missing forcing the
  9945. dialog modal)
  9946. 2004-09-22 14:05 pbartok
  9947. * Application.cs:
  9948. - Added message loop for modal dialogs
  9949. 2004-09-22 14:02 pbartok
  9950. * GroupBox.cs:
  9951. - Fixed wrong types for events
  9952. 2004-09-22 14:00 pbartok
  9953. * Shortcut.cs, FormWindowState.cs:
  9954. - Fixed wrong values
  9955. 2004-09-22 12:01 jackson
  9956. * Control.cs: Text is never null
  9957. 2004-09-20 22:14 pbartok
  9958. * XplatUIWin32.cs:
  9959. - Fixed accessibility level for Idle handler
  9960. 2004-09-20 18:54 jackson
  9961. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9962. XplatUIX11.cs: New message loop that uses poll so we don't get a
  9963. busy loop
  9964. 2004-09-17 10:43 pbartok
  9965. * ScrollBar.cs:
  9966. - Fixed behaviour of arrow buttons. Now properly behaves like
  9967. Buttons (and like Microsoft's scrollbar arrow buttons)
  9968. 2004-09-17 10:14 pbartok
  9969. * ScrollBar.cs:
  9970. - Added missing release of keyboard/mouse capture
  9971. 2004-09-17 06:18 jordi
  9972. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  9973. Theme.cs: Very early menu support
  9974. 2004-09-16 17:45 pbartok
  9975. * XplatUIWin32.cs:
  9976. - Fixed sending a window to the front
  9977. - Added overload for SetWindowPos to avoid casting
  9978. 2004-09-16 17:44 pbartok
  9979. * Control.cs:
  9980. - Added SendToBack and BringToFront methods
  9981. 2004-09-16 07:00 ravindra
  9982. * Copyright: Added Novell URL.
  9983. 2004-09-16 07:00 ravindra
  9984. * ToolBar.cs: Invalidate should be done before redrawing.
  9985. 2004-09-15 21:19 ravindra
  9986. * ColumnHeaderStyle.cs: Enum for ListView Control.
  9987. 2004-09-15 21:18 ravindra
  9988. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  9989. ListView Control.
  9990. 2004-09-13 18:26 jackson
  9991. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  9992. properly
  9993. 2004-09-13 18:13 jackson
  9994. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  9995. a second thread and post messages into the main threads message
  9996. queue. This makes timing much more consistent. Both win2K and XP
  9997. have a minimum timer value of 15 milliseconds, so we now do this
  9998. too.
  9999. 2004-09-13 15:18 pbartok
  10000. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10001. XplatUIX11.cs:
  10002. - Added Z-Ordering methods
  10003. 2004-09-13 10:56 pbartok
  10004. * Form.cs:
  10005. - Fixed #region names
  10006. - Moved properties and methods into their proper #regions
  10007. 2004-09-13 10:51 pbartok
  10008. * Form.cs:
  10009. - Added Accept and CancelButton properties
  10010. - Added ProcessDialogKey() method
  10011. 2004-09-13 08:18 pbartok
  10012. * IWindowTarget.cs:
  10013. - Initial check-in
  10014. 2004-09-10 21:50 pbartok
  10015. * Control.cs:
  10016. - Added DoDragDrop() [incomplete]
  10017. - Properly implemented 'Visible' handling
  10018. - Added SetVisibleCore()
  10019. - Implemented FindChildAtPoint()
  10020. - Implemented GetContainerControl()
  10021. - Implemented Hide()
  10022. 2004-09-10 19:28 pbartok
  10023. * Control.cs:
  10024. - Moved methods into their appropriate #regions
  10025. - Reordered methods within regions alphabetically
  10026. 2004-09-10 18:57 pbartok
  10027. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10028. - Added method to retrieve text from window
  10029. 2004-09-10 18:56 pbartok
  10030. * Control.cs:
  10031. - Moved some internal functions into the internal region
  10032. - Implemented FontHeight
  10033. - Implemented RenderRightToLeft
  10034. - Implemented ResizeRedraw
  10035. - Implemented ShowFocusCues
  10036. - Implemented ShowKeyboardCues
  10037. - Implemented FromChildHandle
  10038. - Implemented FromHandle
  10039. - Implemented IsMnemonic
  10040. - Implemented ReflectMessage
  10041. - All public and protected Static Methods are now complete
  10042. 2004-09-10 16:54 pbartok
  10043. * Control.cs:
  10044. - Implemented remaining missing public instance properties
  10045. - Alphabetized some out of order properties
  10046. 2004-09-10 05:51 ravindra
  10047. * PictureBox.cs: Added a check for null image.
  10048. 2004-09-10 00:59 jordi
  10049. * GroupBox.cs: remove cvs tag
  10050. 2004-09-09 05:25 ravindra
  10051. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10052. 2004-09-09 05:23 ravindra
  10053. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10054. parent redraw.
  10055. 2004-09-09 02:28 pbartok
  10056. * ThemeWin32Classic.cs:
  10057. - Improve disabled string look
  10058. 2004-09-09 01:15 jordi
  10059. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10060. args and handler
  10061. 2004-09-08 23:56 ravindra
  10062. * ItemBoundsPortion.cs: It's enum, not a class!
  10063. 2004-09-08 23:47 ravindra
  10064. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10065. Enums for Form.
  10066. 2004-09-08 21:13 ravindra
  10067. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10068. ListView control.
  10069. 2004-09-08 21:03 ravindra
  10070. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10071. avoid crash.
  10072. 2004-09-08 21:01 ravindra
  10073. * ScrollableControl.cs: Removed unreachable code.
  10074. 2004-09-08 06:45 jordi
  10075. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10076. 2004-09-08 01:00 jackson
  10077. * XplatUIX11.cs: Only run the timers when updating the message
  10078. queue. This effectively gives X messages a higher priority then
  10079. timer messages. Timers still need love though
  10080. 2004-09-07 14:01 jackson
  10081. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10082. this for us and the handle is no longer valid.
  10083. 2004-09-07 13:59 jackson
  10084. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10085. loop that manages to not crash. TODO: Add poll and cleanup timers
  10086. 2004-09-07 11:12 jordi
  10087. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10088. 2004-09-07 03:40 jordi
  10089. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10090. fixes, methods, multiple links
  10091. 2004-09-06 06:55 jordi
  10092. * Control.cs: Caches ClientRectangle rectangle value
  10093. 2004-09-05 02:03 jordi
  10094. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10095. certain situations
  10096. 2004-09-04 11:10 jordi
  10097. * Label.cs: Refresh when font changed
  10098. 2004-09-02 16:24 pbartok
  10099. * Control.cs:
  10100. - Added sanity check to creation of double buffer bitmap
  10101. 2004-09-02 16:24 pbartok
  10102. * ButtonBase.cs:
  10103. - Fixed selection of text color
  10104. - Fixed handling of resize event; now properly recreates double
  10105. buffering bitmap
  10106. - Added missing assignment of TextAlignment
  10107. - Added proper default for TextAlignment
  10108. 2004-09-02 14:26 pbartok
  10109. * RadioButton.cs:
  10110. - Added missing RadioButton.RadioButtonAccessibleObject class
  10111. 2004-09-02 14:26 pbartok
  10112. * Control.cs:
  10113. - Added missing Control.ControlAccessibleObject class
  10114. - Started to implement Select()ion mechanisms, still very incomplete
  10115. 2004-09-02 14:25 pbartok
  10116. * AccessibleObject.cs:
  10117. - Added missing methods
  10118. 2004-09-02 14:23 pbartok
  10119. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10120. - Initial check-in
  10121. 2004-09-02 10:32 jordi
  10122. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10123. pool for pens, brushes, and hatchbruses
  10124. 2004-09-01 15:30 jackson
  10125. * StatusBar.cs: Fix typo
  10126. 2004-09-01 14:44 pbartok
  10127. * RadioButton.cs:
  10128. - Fixed state
  10129. 2004-09-01 14:39 pbartok
  10130. * Button.cs, RadioButton.cs:
  10131. - Functional initial check-in
  10132. 2004-09-01 14:01 pbartok
  10133. * CheckBox.cs:
  10134. - Added missing default
  10135. - Added missing region mark
  10136. 2004-09-01 09:10 jordi
  10137. * Label.cs: fixes method signatures, new methods, events, fixes
  10138. autosize
  10139. 2004-09-01 07:19 jordi
  10140. * Control.cs: Init string variables with an empty object
  10141. 2004-09-01 04:20 jordi
  10142. * Control.cs: fires OnFontChanged event
  10143. 2004-08-31 20:07 pbartok
  10144. * ButtonBase.cs:
  10145. - Enabled display of strings
  10146. 2004-08-31 20:05 pbartok
  10147. * Form.cs:
  10148. - Added (partial) implementation of DialogResult; rest needs to be
  10149. implemented when the modal loop code is done
  10150. 2004-08-31 19:55 pbartok
  10151. * CheckBox.cs:
  10152. - Fixed to match the removal of the needs_redraw concept
  10153. 2004-08-31 19:55 pbartok
  10154. * ButtonBase.cs:
  10155. - Removed the rather odd split between 'needs redraw' and redrawing
  10156. - Now handles the events that require regeneration (ambient
  10157. properties and size)
  10158. 2004-08-31 19:41 pbartok
  10159. * Control.cs:
  10160. - Added firing of BackColorChanged event
  10161. - Added TopLevelControl property
  10162. - Fixed handling of WM_ERASEBKGRND message
  10163. 2004-08-31 12:49 pbartok
  10164. * ButtonBase.cs:
  10165. - Removed debug
  10166. - Minor fixes
  10167. 2004-08-31 12:48 pbartok
  10168. * CheckBox.cs:
  10169. - Finished (famous last words)
  10170. 2004-08-31 04:35 jordi
  10171. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  10172. scrolling bugs, adds new methods
  10173. 2004-08-30 14:42 pbartok
  10174. * CheckBox.cs:
  10175. - Implemented CheckBox drawing code
  10176. 2004-08-30 14:42 pbartok
  10177. * ButtonBase.cs:
  10178. - Made Redraw() and CheckRedraw() virtual
  10179. - Improved mouse up/down/move logic to properly track buttons
  10180. 2004-08-30 09:44 pbartok
  10181. * CheckBox.cs:
  10182. - Updated to fix broken build. Not complete yet.
  10183. 2004-08-30 09:28 pbartok
  10184. * CheckState.cs:
  10185. - Initial checkin
  10186. 2004-08-30 09:17 pbartok
  10187. * Appearance.cs:
  10188. - Initial check-in
  10189. 2004-08-27 16:12 ravindra
  10190. * ToolBarButton.cs: Added TypeConverter attribute.
  10191. 2004-08-27 16:07 ravindra
  10192. * ImageIndexConverter.cs: Implemented.
  10193. 2004-08-27 14:17 pbartok
  10194. * Control.cs:
  10195. - Removed unneeded stack vars
  10196. - First attempt to fix sizing issues when layout is suspended
  10197. 2004-08-25 15:35 jordi
  10198. * ScrollBar.cs: more fixes to scrollbar
  10199. 2004-08-25 14:04 ravindra
  10200. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  10201. Added the missing divider code and grip for ToolBar Control.
  10202. 2004-08-25 13:20 pbartok
  10203. * Control.cs:
  10204. - Control now properly passes the ambient background color to child
  10205. controls
  10206. 2004-08-25 13:20 jordi
  10207. * ScrollBar.cs: small bug fix regarding bar position
  10208. 2004-08-25 12:33 pbartok
  10209. * Timer.cs:
  10210. - Now only calls SetTimer or KillTimer if the enabled state has
  10211. changed
  10212. 2004-08-25 12:33 pbartok
  10213. * XplatUIWin32.cs:
  10214. - Fixed timer handling, now seems to work
  10215. - Improved error message for window creation
  10216. 2004-08-25 12:32 pbartok
  10217. * Control.cs:
  10218. - Fixed generation of MouseUp message
  10219. 2004-08-25 12:29 jordi
  10220. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  10221. and fixes for progressbar
  10222. 2004-08-24 18:43 ravindra
  10223. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  10224. in ToolBar control.
  10225. 2004-08-24 17:15 pbartok
  10226. * Panel.cs:
  10227. - Added #region
  10228. - Added missing events
  10229. - Alphabetized
  10230. 2004-08-24 17:14 pbartok
  10231. * StatusBar.cs, PictureBox.cs:
  10232. - Now uses Control's CreateParams
  10233. 2004-08-24 16:36 pbartok
  10234. * XplatUIX11.cs:
  10235. - Fixed background color handling
  10236. - Fixed sending of enter/leave events on a grab
  10237. 2004-08-24 16:35 pbartok
  10238. * X11Structs.cs:
  10239. - Refined definitions for CrossingEvent
  10240. 2004-08-24 12:37 jordi
  10241. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  10242. formmating, methods signature, and adds missing events
  10243. 2004-08-24 12:24 jordi
  10244. * Control.cs: fire OnEnabledChanged event
  10245. 2004-08-24 11:17 pbartok
  10246. * XplatUIWin32.cs:
  10247. - Implemented SetTimer() and KillTimer()
  10248. 2004-08-24 11:16 pbartok
  10249. * XplatUIX11.cs:
  10250. - Now uses Remove instead of Add to kill the timer
  10251. 2004-08-24 10:16 jackson
  10252. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  10253. picture boxes in the theme now. Draw picture box borders and obey
  10254. sizing modes
  10255. 2004-08-24 05:49 jackson
  10256. * Timer.cs: Remove top secret debugging code
  10257. 2004-08-24 05:34 jackson
  10258. * PictureBox.cs: Temp hack to make picture boxes draw their full
  10259. image
  10260. 2004-08-24 05:29 jackson
  10261. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10262. XplatUIX11.cs: Move timers to the driver level. On X they are
  10263. queued by the driver and checked on idle.
  10264. 2004-08-24 01:07 jackson
  10265. * XplatUIX11.cs: Use a queue for async messages instead of passing
  10266. them as ClientMessages since that was totally broken. Also simply
  10267. check for events and return an idle message if none are found. This
  10268. gives us an idle handler, and prevents deadlocking when no messages
  10269. are in the queue.
  10270. 2004-08-23 18:19 ravindra
  10271. * XplatUIWin32.cs: Removed the unwanted destructor.
  10272. 2004-08-23 17:27 pbartok
  10273. * ButtonBase.cs:
  10274. - Finishing touches. Works now, just needs some optimizations.
  10275. 2004-08-23 16:53 jordi
  10276. * ScrollBar.cs: small fix
  10277. 2004-08-23 16:45 pbartok
  10278. * Application.cs:
  10279. - Removed debug output
  10280. - Simplifications
  10281. 2004-08-23 16:43 jordi
  10282. * ScrollBar.cs: [no log message]
  10283. 2004-08-23 16:10 pbartok
  10284. * Form.cs:
  10285. - Fixed handling of WM_CLOSE message
  10286. - Removed debug output
  10287. 2004-08-23 16:09 pbartok
  10288. * Application.cs:
  10289. - Added handling of Idle event
  10290. - Added handling of form closing
  10291. - Fixed reporting of MessageLoop property
  10292. - Removed some unneeded code, should provide a bit of a speedup
  10293. 2004-08-23 15:22 pbartok
  10294. * Control.cs:
  10295. - Added InitLayout() method
  10296. - Added code to properly perform layout when Anchor or Dock property
  10297. is changed
  10298. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  10299. LAMESPEC, tried to do it in a way that makes sense
  10300. 2004-08-23 14:10 jordi
  10301. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  10302. properties and methods
  10303. 2004-08-23 13:55 pbartok
  10304. * Control.cs:
  10305. - Properly fixed Jordi's last fix
  10306. - Now uses Cursor's Position property instead of calling XplatUI
  10307. directly
  10308. 2004-08-23 13:44 jordi
  10309. * PaintEventHandler.cs: Adding missing attribute
  10310. 2004-08-23 13:39 pbartok
  10311. * Cursor.cs:
  10312. - Implemented Position property
  10313. 2004-08-23 13:39 pbartok
  10314. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10315. - Added method to move mouse cursor
  10316. 2004-08-23 13:39 pbartok
  10317. * XplatUIX11.cs:
  10318. - Fixed setting of background color
  10319. - Added method to move mouse cursor
  10320. 2004-08-23 13:16 jordi
  10321. * Control.cs: avoids null exception
  10322. 2004-08-22 17:46 jackson
  10323. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  10324. PictureBox
  10325. 2004-08-22 17:40 jackson
  10326. * XplatUIX11.cs: Add some missing locks
  10327. 2004-08-22 15:10 pbartok
  10328. * Control.cs, Form.cs:
  10329. - Removed OverlappedWindow style from Control, instead it's default
  10330. now is child
  10331. - Made form windows OverlappedWindow by default
  10332. 2004-08-22 13:34 jackson
  10333. * ScrollBar.cs: Update the position through the Value property so
  10334. the OnValueChanged event is raised.
  10335. 2004-08-22 12:04 pbartok
  10336. * SWF.csproj:
  10337. - Added Cursor.cs and UserControl.cs
  10338. 2004-08-22 12:03 pbartok
  10339. * Cursor.cs:
  10340. - Started implementation, not usable yet
  10341. 2004-08-22 12:00 pbartok
  10342. * UserControl.cs:
  10343. - Implemented UserControl (complete)
  10344. 2004-08-21 19:20 ravindra
  10345. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  10346. 2004-08-21 18:49 ravindra
  10347. * ToolBar.cs: Probably this completes the missing attributes in
  10348. toolbar control.
  10349. 2004-08-21 18:03 ravindra
  10350. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  10351. Fixed toolbar control signatures.
  10352. 2004-08-21 16:32 pbartok
  10353. * LinkLabel.cs:
  10354. - Signature Fixes
  10355. 2004-08-21 16:30 pbartok
  10356. * Label.cs:
  10357. - Signature fixes
  10358. 2004-08-21 16:19 pbartok
  10359. * Control.cs, Label.cs:
  10360. - Signature fixes
  10361. 2004-08-21 15:57 pbartok
  10362. * ButtonBase.cs:
  10363. - Added loads of debug output for development
  10364. - Fixed typo in method name
  10365. 2004-08-21 15:52 pbartok
  10366. * ToolBarButtonClickEventArgs.cs:
  10367. - Added missing base class
  10368. 2004-08-21 14:53 pbartok
  10369. * Control.cs:
  10370. - Updated to match new GrabWindow signature
  10371. 2004-08-21 14:51 pbartok
  10372. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10373. - Added method to get default display size
  10374. 2004-08-21 14:23 pbartok
  10375. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10376. - Added method to query current grab state
  10377. - Added argument to allow confining a grab to a window
  10378. 2004-08-21 14:22 pbartok
  10379. * Keys.cs:
  10380. - Added [Flags] attribute so that modifiers can be used in bitwise
  10381. ops
  10382. 2004-08-21 14:21 pbartok
  10383. * TrackBar.cs, ScrollBar.cs:
  10384. - Replaced direct XplatUI calls with their Control counterpart
  10385. 2004-08-21 13:32 pbartok
  10386. * Control.cs:
  10387. - Implemented Created property
  10388. 2004-08-21 13:28 pbartok
  10389. * Control.cs:
  10390. - Implemented ContainsFocus
  10391. 2004-08-21 13:26 pbartok
  10392. * Control.cs:
  10393. - Implemented CausesValidation
  10394. 2004-08-21 13:21 pbartok
  10395. * Control.cs:
  10396. - Implemented CanFocus
  10397. - Implemented CanSelect
  10398. - Implemented Capture
  10399. 2004-08-21 12:35 pbartok
  10400. * XplatUIWin32.cs:
  10401. - Fixed bug with Async message handling
  10402. - Implemented getting the ModifierKeys
  10403. 2004-08-21 12:32 jackson
  10404. * AsyncMethodResult.cs: Make sure we have the mutex before we
  10405. release it. Fixes BeginInvoke on windows
  10406. 2004-08-21 11:31 pbartok
  10407. * XplatUIWin32.cs, XplatUIX11.cs:
  10408. - Drivers now return proper mouse state
  10409. 2004-08-21 10:54 jackson
  10410. * Control.cs: Implement EndInvoke
  10411. 2004-08-21 10:48 jackson
  10412. * Timer.cs: Remove unneeded finalizer
  10413. 2004-08-20 19:52 ravindra
  10414. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  10415. in mouse event handling in the ToolBar control.
  10416. 2004-08-20 19:50 ravindra
  10417. * ImageList.cs: Changed draw method to use the arguments passed in
  10418. to draw the image.
  10419. 2004-08-20 18:58 pbartok
  10420. * XplatUIStructs.cs:
  10421. - Added private message for async communication
  10422. 2004-08-20 17:38 ravindra
  10423. * Control.cs: Made RightToLeft property virtual and removed a
  10424. Console.WriteLine.
  10425. 2004-08-20 14:39 jordi
  10426. * ThemeGtk.cs: use style_attach
  10427. 2004-08-20 14:39 pbartok
  10428. * XplatUIWin32.cs:
  10429. - Added jackson's Async code from X11 to Win32
  10430. 2004-08-20 14:09 pbartok
  10431. * SWF.csproj:
  10432. - Added all new files
  10433. 2004-08-20 14:09 pbartok
  10434. * Control.cs:
  10435. - Added call to set window background color
  10436. 2004-08-20 14:03 pbartok
  10437. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10438. - Added method for setting the window background
  10439. 2004-08-20 14:02 pbartok
  10440. * XplatUIWin32.cs:
  10441. - Added method for setting the background color
  10442. - Added handling for erasing the window background
  10443. 2004-08-20 13:45 jordi
  10444. * TrackBar.cs: fixes timer, new properties and methods
  10445. 2004-08-20 13:34 jackson
  10446. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  10447. correct thread
  10448. 2004-08-20 13:22 jackson
  10449. * Timer.cs: Timer Tick events are now handed through Controls Async
  10450. mechanism so the callbacks are executed in the same thread as X
  10451. 2004-08-20 13:19 jackson
  10452. * XplatUIDriver.cs: Expose functionality to send async messages
  10453. through the driver
  10454. 2004-08-20 13:18 jackson
  10455. * Control.cs: Implement Begininvoke
  10456. 2004-08-20 13:14 jackson
  10457. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  10458. messages through the driver
  10459. 2004-08-20 13:12 jackson
  10460. * XplatUIX11.cs: Lock before all X operations. Also added Async
  10461. method functionality through XSendEvent
  10462. 2004-08-20 13:11 jackson
  10463. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  10464. This will screw up on 64 bit systems)
  10465. 2004-08-20 13:10 jackson
  10466. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  10467. Async messages through X/Win32
  10468. 2004-08-19 19:39 pbartok
  10469. * XplatUIX11.cs:
  10470. - Updated code to match new HandleData.DeviceContext type
  10471. 2004-08-19 19:38 pbartok
  10472. * HandleData.cs:
  10473. - Made DeviceContext a generic object to allow usage from various
  10474. drivers
  10475. - Added support for queueing Windows messages
  10476. 2004-08-19 19:37 pbartok
  10477. * XplatUIWin32.cs:
  10478. - Added generation of MouseEnter, MouseLeave and MouseHover events
  10479. - Added cleanup on EndPaint
  10480. 2004-08-19 19:17 pbartok
  10481. * Control.cs:
  10482. - Added handling of WM_MOUSEHOVER
  10483. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  10484. code
  10485. 2004-08-19 18:55 jordi
  10486. * ThemeGtk.cs: fixes button order
  10487. 2004-08-19 18:12 jordi
  10488. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  10489. 2004-08-19 17:09 pbartok
  10490. * Control.cs:
  10491. - Added Right property
  10492. - Added RightToLeft property
  10493. 2004-08-19 16:27 jordi
  10494. * ThemeGtk.cs: experimental GTK theme support
  10495. 2004-08-19 16:26 jordi
  10496. * ITheme.cs, Theme.cs: move themes from an interface to a class
  10497. 2004-08-19 16:25 jordi
  10498. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  10499. theme enhancaments
  10500. 2004-08-19 16:04 pbartok
  10501. * XplatUIX11.cs:
  10502. - Added colormap basics
  10503. - Added a way to re-initialize with a different display handle
  10504. - Fixed setting of the window background color
  10505. - Added various X11 imports related to colors and colormaps
  10506. 2004-08-19 15:51 pbartok
  10507. * X11Structs.cs:
  10508. - Removed packing hints (Paolo suggested this a while back)
  10509. - fixed colormap type
  10510. - Added default Atom types
  10511. - Added Screen and color structs and enums
  10512. 2004-08-19 15:39 pbartok
  10513. * ImageList.cs:
  10514. - Added missing Draw() method
  10515. - Added missing RecreateHandle event
  10516. 2004-08-19 15:30 pbartok
  10517. * Form.cs:
  10518. - Added handling of WM_CLOSE
  10519. 2004-08-18 13:16 jordi
  10520. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  10521. a table
  10522. 2004-08-18 09:56 jordi
  10523. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  10524. 2004-08-17 15:31 ravindra
  10525. * SWF.csproj: Updated project.
  10526. 2004-08-17 15:25 pbartok
  10527. * Control.cs:
  10528. - Drawing improvement; don't call UpdateBounds if we are not visible
  10529. (or have been minimized)
  10530. 2004-08-17 15:24 pbartok
  10531. * XplatUIWin32.cs:
  10532. - Finished IsVisible
  10533. - Added Win32GetWindowPlacement
  10534. 2004-08-17 15:08 jackson
  10535. * Panel.cs: Initial checkin of the Panel
  10536. 2004-08-17 14:25 pbartok
  10537. * Control.cs:
  10538. - Fixed broken handling of default window sizes
  10539. 2004-08-17 13:29 jackson
  10540. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  10541. has a large startup time.
  10542. 2004-08-17 10:25 jackson
  10543. * HandleData.cs: union areas properly
  10544. 2004-08-17 10:12 jackson
  10545. * HandleData.cs: union areas properly
  10546. 2004-08-16 20:00 ravindra
  10547. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  10548. 2004-08-16 18:48 ravindra
  10549. * ToolBar.cs: Added attributes.
  10550. 2004-08-16 17:17 ravindra
  10551. * SWF.csproj: Updated project.
  10552. 2004-08-16 17:16 jackson
  10553. * XplatUIX11.cs: Check for more expose events before sending a
  10554. WM_PAINT so they can all be grouped together. This makes dragging a
  10555. window across another window redraw in a sane way.
  10556. 2004-08-16 15:47 pbartok
  10557. * Control.cs:
  10558. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  10559. support OnMouseEnter/Leave()
  10560. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  10561. exposure handling
  10562. 2004-08-16 15:46 pbartok
  10563. * XplatUIStructs.cs, XplatUIX11.cs:
  10564. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  10565. OnMouseEnter/Leave()
  10566. 2004-08-16 15:34 jackson
  10567. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  10568. sure messages get the message field set to WM_NULL if they are not
  10569. handled.
  10570. 2004-08-16 15:24 jackson
  10571. * HandleData.cs: HandleData is used for storing message information
  10572. for window handles
  10573. 2004-08-15 17:23 ravindra
  10574. * ColorDepth.cs: Added attribute.
  10575. 2004-08-15 17:23 ravindra
  10576. * SWF.csproj: Updated project for ToolBar Control.
  10577. 2004-08-15 17:20 ravindra
  10578. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  10579. control and also dos2unix format.
  10580. 2004-08-15 17:13 ravindra
  10581. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  10582. ToolBarButtonClickEventArgs.cs,
  10583. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  10584. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  10585. 2004-08-15 15:31 pbartok
  10586. * ButtonBase.cs:
  10587. - First (mostly) working version
  10588. 2004-08-13 16:15 pbartok
  10589. * Control.cs:
  10590. - Fixed Anchor default
  10591. 2004-08-13 15:43 pbartok
  10592. * Control.cs:
  10593. - Changed GetCursorPos signature
  10594. 2004-08-13 15:42 pbartok
  10595. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10596. - Changed signature for GetCursorPos
  10597. 2004-08-13 15:25 pbartok
  10598. * XplatUIX11.cs:
  10599. - Cleanup
  10600. - Fixed resizing/exposure handling
  10601. 2004-08-13 15:22 jordi
  10602. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  10603. with tickposition
  10604. 2004-08-13 14:55 jordi
  10605. * TrackBar.cs: change from wndproc to events
  10606. 2004-08-13 13:00 jordi
  10607. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10608. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  10609. 2004-08-13 12:53 pbartok
  10610. * XplatUIWin32.cs:
  10611. - Changed GetWindowPos to also provide client area size
  10612. - Fixed broken prototypes for several win32 functions
  10613. 2004-08-13 12:53 pbartok
  10614. * XplatUI.cs, XplatUIDriver.cs:
  10615. - Changed GetWindowPos to also provide client area size
  10616. 2004-08-13 12:52 pbartok
  10617. * XplatUIX11.cs:
  10618. - Added generation of WM_POSCHANGED
  10619. - Changed GetWindowPos to also provide client area size
  10620. 2004-08-13 12:52 pbartok
  10621. * Control.cs:
  10622. - Added Dispose() and destructor
  10623. - Fixed resizing and bounds calculation
  10624. - Fixed Layout
  10625. - Added memory savings for invisible windows
  10626. 2004-08-13 12:46 jordi
  10627. * TrackBar.cs: adds timer and grap window
  10628. 2004-08-13 10:25 jackson
  10629. * Timer.cs: SWF Timer
  10630. 2004-08-12 16:59 pbartok
  10631. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10632. - Implemented method to get current mouse position
  10633. 2004-08-12 14:29 jordi
  10634. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  10635. enhancement, fix mouse problems, highli thumb, etc
  10636. 2004-08-12 13:31 pbartok
  10637. * Control.cs:
  10638. - Fixed Anchoring bugs
  10639. 2004-08-12 13:01 jackson
  10640. * StatusBar.cs: Don't forget things
  10641. 2004-08-12 12:54 jackson
  10642. * ThemeWin32Classic.cs: Handle owner draw status bars
  10643. 2004-08-12 12:54 jackson
  10644. * StatusBar.cs: Implement missing properties, events, and methods.
  10645. Handle mouse clicking
  10646. 2004-08-12 10:19 jackson
  10647. * StatusBarPanelClickEventArgs.cs,
  10648. StatusBarPanelClickEventHandler.cs: Classes for handling status
  10649. bar panel click events
  10650. 2004-08-12 10:10 jackson
  10651. * Control.cs: Add missing properties
  10652. 2004-08-12 09:46 pbartok
  10653. * BindingsManagerBase.cs:
  10654. - Name changed to BindingManagerBase.cs
  10655. 2004-08-12 09:25 jordi
  10656. * ScrollableControl.cs: calls ctrlbase instead of exeception
  10657. 2004-08-11 16:28 pbartok
  10658. * InputLanguageChangingEventArgs.cs:
  10659. - Never check in before compiling. Fixes the last check-in
  10660. 2004-08-11 16:26 pbartok
  10661. * InputLanguageChangingEventArgs.cs:
  10662. - More signature fixes
  10663. 2004-08-11 16:20 pbartok
  10664. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  10665. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  10666. ImageListStreamer.cs, InputLanguage.cs,
  10667. InputLanguageChangedEventArgs.cs,
  10668. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  10669. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  10670. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  10671. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10672. - Signature fixes
  10673. 2004-08-11 16:16 pbartok
  10674. * Application.cs:
  10675. - Fixed Signature
  10676. - Added .Net 1.1 method
  10677. 2004-08-11 15:25 pbartok
  10678. * SWF.csproj:
  10679. - Fixed BindingManagerBase.cs filename
  10680. 2004-08-11 15:22 pbartok
  10681. * BindingManagerBase.cs:
  10682. - Was checked in with wrong filename
  10683. 2004-08-11 14:50 pbartok
  10684. * SWF.csproj:
  10685. - Updated
  10686. 2004-08-11 13:41 jordi
  10687. * XplatUIWin32.cs: Fixes ClientRect
  10688. 2004-08-11 13:19 pbartok
  10689. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10690. XplatUIX11.cs:
  10691. - We had SetWindowPos and MoveWindow to set window positions and
  10692. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  10693. keep SetWindowPos as matching counterpart
  10694. - Added some X11 sanity checking
  10695. 2004-08-11 12:59 pbartok
  10696. * Control.cs:
  10697. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  10698. (It seems that SetBounds is just a front for SetBoundsCore and
  10699. SetBoundsCore updates the underlying window system and
  10700. UpdateBounds is responsible for updating the variables associated
  10701. with the Control and sending the events)
  10702. - Major cleanup of Size handling; we now have two sizes, client_size
  10703. and bounds. Bounds defines the window with decorations, client_size
  10704. without them.
  10705. 2004-08-11 12:55 pbartok
  10706. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10707. - Added method to calculate difference between decorated window and
  10708. raw client area
  10709. 2004-08-11 12:54 pbartok
  10710. * Label.cs:
  10711. - Forcing redraw on resize
  10712. 2004-08-11 11:43 pbartok
  10713. * ImageList.cs:
  10714. - Removed disposing of the actual images when the list is disposed
  10715. 2004-08-11 09:13 pbartok
  10716. * Control.cs:
  10717. - Now properly reparents windows
  10718. 2004-08-11 08:37 pbartok
  10719. * Control.cs:
  10720. - Duh!
  10721. 2004-08-11 07:47 pbartok
  10722. * Control.cs:
  10723. - Rewrote the collection stuff. Might not be as fast now, not
  10724. keeping the number of children around and accessible directly, but
  10725. it's more straightforward
  10726. 2004-08-11 07:44 pbartok
  10727. * AccessibleObject.cs:
  10728. - Fixed to match ControlCollection rewrite
  10729. 2004-08-11 07:43 pbartok
  10730. * ImageList.cs:
  10731. - Added missing creation of the collection list
  10732. 2004-08-10 20:08 jackson
  10733. * StatusBar.cs: Get the paint message from WndProc
  10734. 2004-08-10 19:31 jackson
  10735. * ThemeWin32Classic.cs: Create Brushes as little as possible
  10736. 2004-08-10 19:20 jackson
  10737. * UICues.cs: Add Flags attribute
  10738. 2004-08-10 19:19 jackson
  10739. * StatusBarPanel.cs: Signature cleanup
  10740. 2004-08-10 19:10 jackson
  10741. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  10742. Initial implementation of status bar item drawing
  10743. 2004-08-10 17:27 jordi
  10744. * TrackBar.cs: add missing methods, properties, and restructure to
  10745. hide extra ones
  10746. 2004-08-10 16:24 jackson
  10747. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  10748. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  10749. attribute
  10750. 2004-08-10 13:21 jordi
  10751. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  10752. enhancements and standarize on win colors defaults
  10753. 2004-08-10 12:52 jackson
  10754. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  10755. ThemeWin32Classic.cs: Implement DrawItem functionality
  10756. 2004-08-10 12:47 jordi
  10757. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  10758. 2004-08-10 12:32 jordi
  10759. * Control.cs: throw ontextchange event
  10760. 2004-08-10 11:43 pbartok
  10761. * Control.cs:
  10762. - Added more to the still unfinished Dock/Anchor layout code
  10763. 2004-08-10 11:39 pbartok
  10764. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10765. - Added GetWindowPos method
  10766. 2004-08-10 11:36 pbartok
  10767. * XplatUIWin32.cs:
  10768. - Implemented several methods
  10769. 2004-08-10 09:47 jackson
  10770. * TrackBar.cs: Allow control to handle buffering
  10771. 2004-08-10 09:41 jackson
  10772. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  10773. 2004-08-10 09:24 jackson
  10774. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  10775. 2004-08-10 09:09 jackson
  10776. * StatusBar.cs: Let Control handle all the buffering.
  10777. 2004-08-10 09:08 jackson
  10778. * Control.cs: Control will now handle the buffering code, so each
  10779. control does not have to implement this.
  10780. 2004-08-10 08:34 jackson
  10781. * XplatUIDriver.cs: Use default colors from the theme
  10782. 2004-08-09 17:12 pbartok
  10783. * ImageList.cs:
  10784. - Fixed several bugs Ravindra pointed out
  10785. 2004-08-09 16:11 pbartok
  10786. * Control.cs:
  10787. - Added incomplete dock layout code
  10788. - Added support for mouse wheel
  10789. 2004-08-09 16:09 pbartok
  10790. * XplatUIX11.cs:
  10791. - Added handling for middle and right mousebutton
  10792. - Added handling for mouse wheel
  10793. - Added handling for key state and mouse state and position
  10794. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  10795. messages
  10796. 2004-08-09 15:40 jackson
  10797. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  10798. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  10799. checkin
  10800. 2004-08-09 15:37 jackson
  10801. * StatusBar.cs: Initial implementation of StatusBar
  10802. 2004-08-09 15:36 jackson
  10803. * ITheme.cs: Add support for drawing status bar and getting status
  10804. bar item sizes
  10805. 2004-08-09 15:35 pbartok
  10806. * MouseButtons.cs:
  10807. - Fixed values
  10808. 2004-08-09 15:34 jackson
  10809. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  10810. status bar item sizes
  10811. 2004-08-09 15:21 jackson
  10812. * ThemeWin32Classic.cs: Use known colors for default control
  10813. colours
  10814. 2004-08-09 15:12 jackson
  10815. * ThemeWin32Classic.cs: Make the default font static, it is static
  10816. in control so this doesn't change functionality and creating fonts
  10817. is sloooooow.
  10818. 2004-08-09 14:56 pbartok
  10819. * X11Structs.cs:
  10820. - Added GrabMode enum
  10821. 2004-08-09 14:55 pbartok
  10822. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10823. - Removed Run method, was only required for initial development
  10824. 2004-08-09 14:51 pbartok
  10825. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10826. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  10827. capture
  10828. 2004-08-09 13:48 pbartok
  10829. * XplatUIX11.cs:
  10830. - Fixed default sizing for child windows
  10831. 2004-08-09 12:56 pbartok
  10832. * XplatUIX11.cs:
  10833. - Added generation of WM_DESTROY message
  10834. - Added handling of window manager induced shutdown
  10835. 2004-08-09 11:31 jackson
  10836. * ThemeWin32Classic.cs: New names for control properties
  10837. 2004-08-09 11:25 jackson
  10838. * Control.cs: Use new color names
  10839. 2004-08-09 11:02 jackson
  10840. * XplatUI.cs: Get default window properties from the theme
  10841. 2004-08-09 11:01 jackson
  10842. * ITheme.cs: The theme engine now controls default window
  10843. properties
  10844. 2004-08-09 11:00 jackson
  10845. * ThemeWin32Classic.cs: Add default window color properties
  10846. 2004-08-09 10:17 jackson
  10847. * ThemeWin32Classic.cs: Use correct default back color
  10848. 2004-08-09 10:05 jackson
  10849. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  10850. the theme now.
  10851. 2004-08-09 09:56 jackson
  10852. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  10853. 2004-08-09 09:54 jackson
  10854. * Control.cs: Get default properties from the theme.
  10855. 2004-08-09 09:53 jackson
  10856. * ITheme.cs: Themes now handle default control properties
  10857. 2004-08-09 09:53 jackson
  10858. * ThemeWin32Classic.cs: Themes now handle default control
  10859. properties so coloring will be consistent
  10860. 2004-08-08 16:54 jordi
  10861. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  10862. 2004-08-08 15:08 jordi
  10863. * XplatUIX11.cs: fixes keyboard crash
  10864. 2004-08-08 13:47 jordi
  10865. * Label.cs: add cvs header info
  10866. 2004-08-08 12:09 jackson
  10867. * ThemeWin32Classic.cs: Add pen_buttonface
  10868. 2004-08-08 11:52 jordi
  10869. * Label.cs, LinkLabel.cs: [no log message]
  10870. 2004-08-08 11:34 jordi
  10871. * ThemeWin32Classic.cs: Use Windows Standard Colours
  10872. 2004-08-07 17:32 jordi
  10873. * TrackBar.cs: throw exceptions of invalid enums values
  10874. 2004-08-07 17:31 jordi
  10875. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  10876. draw method name
  10877. 2004-08-07 16:56 jackson
  10878. * HorizontalAlignment.cs: Initial checkin
  10879. 2004-08-07 13:16 jordi
  10880. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  10881. methods
  10882. 2004-08-07 13:05 jordi
  10883. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  10884. GetSysColor defines
  10885. 2004-08-06 18:01 pbartok
  10886. * ThemeWin32Classic.cs:
  10887. - Fixed some rounding issues with float/int
  10888. 2004-08-06 18:00 jackson
  10889. * DockStyle.cs, AnchorStyles.cs:
  10890. Add flags and serializable attributes.
  10891. 2004-08-06 17:46 pbartok
  10892. * XplatUIX11.cs:
  10893. - Implemented GetParent
  10894. 2004-08-06 17:18 pbartok
  10895. * TrackBar.cs:
  10896. - Fixed some rounding issues with float/int
  10897. 2004-08-06 17:17 pbartok
  10898. * X11Structs.cs, XplatUIX11.cs:
  10899. - Fixed Refresh and Invalidate
  10900. 2004-08-06 15:30 pbartok
  10901. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  10902. - Fixed recursive loop when resizing
  10903. - Improved/fixed redrawing on expose messages
  10904. 2004-08-06 09:53 jordi
  10905. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  10906. keyboard navigation
  10907. 2004-08-06 08:02 pbartok
  10908. * X11Structs.cs, XplatUIX11.cs:
  10909. - Fixed reparenting
  10910. - Fixed window border creation
  10911. 2004-08-05 15:38 pbartok
  10912. * XplatUIX11.cs:
  10913. - Attempted fix for reparenting problems
  10914. 2004-08-04 15:14 pbartok
  10915. * Control.cs:
  10916. - Fixed Invalidation bug (calculated wrong client area)
  10917. - Added ClientSize setter
  10918. 2004-08-04 15:13 pbartok
  10919. * Form.cs:
  10920. - Added AutoScale properties
  10921. 2004-08-04 15:13 pbartok
  10922. * SWF.csproj:
  10923. - Added latest files
  10924. 2004-08-04 14:11 pbartok
  10925. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10926. XplatUIX11.cs:
  10927. - Added Invalidate handling
  10928. 2004-08-03 17:09 jordi
  10929. * XplatUIDriver.cs: fixes spelling mistake
  10930. 2004-07-27 09:53 jordi
  10931. * TrackBar.cs: fixes trackbar events, def classname, methods
  10932. signature
  10933. 2004-07-27 09:29 jordi
  10934. * ScrollBar.cs: fixes scrollbar events
  10935. 2004-07-27 04:38 jordi
  10936. * Control.cs: changes to be able to run winforms samples
  10937. 2004-07-26 11:42 jordi
  10938. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  10939. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  10940. 2004-07-26 05:41 jordi
  10941. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  10942. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  10943. implementation
  10944. 2004-07-22 09:22 jordi
  10945. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  10946. check link overlapping, implement events, and fixes
  10947. 2004-07-21 10:28 jordi
  10948. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  10949. 2004-07-21 10:19 jordi
  10950. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  10951. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  10952. LinkLabelLinkClickedEventArgs.cs,
  10953. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  10954. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  10955. implementation
  10956. 2004-07-19 13:09 jordi
  10957. * Control.cs, Label.cs: label control re-written: added missing
  10958. functionlity, events, and properties
  10959. 2004-07-19 10:49 jordi
  10960. * Control.cs: fixes SetBounds logic
  10961. 2004-07-19 01:29 jordi
  10962. * Control.cs: Call RefreshWindow only if the window has created
  10963. 2004-07-15 14:05 pbartok
  10964. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  10965. - Implemented ImageList and ImageList.ImageCollection classes
  10966. - Added ColorDepth enumeration
  10967. - Updated SWF VS.Net project
  10968. 2004-07-15 11:06 jordi
  10969. * XplatUIStructs.cs: added MsgButons enum
  10970. 2004-07-15 11:03 jordi
  10971. * Control.cs: added basic mouse handeling events
  10972. 2004-07-15 03:38 jordi
  10973. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  10974. Vertical TrackBar control implementation
  10975. 2004-07-13 09:33 jordi
  10976. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  10977. 2004-07-13 09:31 jordi
  10978. * Control.cs, Form.cs: commit: new properties and fixes form size
  10979. problems
  10980. 2004-07-09 14:13 miguel
  10981. * ProgressBar.cs: Spelling
  10982. 2004-07-09 11:25 pbartok
  10983. * ProgressBar.cs:
  10984. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  10985. faster
  10986. 2004-07-09 11:17 miguel
  10987. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  10988. * ProgressBar.cs: Fixed spelling for `block'
  10989. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  10990. style guidelines.
  10991. Avoid using the += on rect.X, that exposed a bug in the compiler.
  10992. 2004-07-08 23:21 pbartok
  10993. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  10994. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  10995. BaseCollection.cs, Binding.cs, BindingContext.cs,
  10996. BindingMemberInfo.cs, BindingsCollection.cs,
  10997. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  10998. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  10999. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  11000. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  11001. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11002. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11003. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11004. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11005. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11006. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11007. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11008. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11009. InputLanguageChangedEventArgs.cs,
  11010. InputLanguageChangedEventHandler.cs,
  11011. InputLanguageChangingEventArgs.cs,
  11012. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11013. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11014. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11015. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11016. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11017. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11018. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11019. QueryAccessibilityHelpEventArgs.cs,
  11020. QueryAccessibilityHelpEventHandler.cs,
  11021. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11022. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11023. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11024. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11025. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11026. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11027. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11028. XplatUIX11.cs, lang.cs:
  11029. - Initial check-in